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.69.
      4 #
      5 #
      6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      7 #
      8 #
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in #(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 as_myself=
     91 case $0 in #((
     92   *[\\/]* ) as_myself=$0 ;;
     93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94 for as_dir in $PATH
     95 do
     96   IFS=$as_save_IFS
     97   test -z "$as_dir" && as_dir=.
     98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99   done
    100 IFS=$as_save_IFS
    101 
    102      ;;
    103 esac
    104 # We did not find ourselves, most probably we were run as `sh COMMAND'
    105 # in which case we are not to be found in the path.
    106 if test "x$as_myself" = x; then
    107   as_myself=$0
    108 fi
    109 if test ! -f "$as_myself"; then
    110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111   exit 1
    112 fi
    113 
    114 # Unset variables that we do not need and which cause bugs (e.g. in
    115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    116 # suppresses any "Segmentation fault" message there.  '((' could
    117 # trigger a bug in pdksh 5.2.14.
    118 for as_var in BASH_ENV ENV MAIL MAILPATH
    119 do eval test x\${$as_var+set} = xset \
    120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    121 done
    122 PS1='$ '
    123 PS2='> '
    124 PS4='+ '
    125 
    126 # NLS nuisances.
    127 LC_ALL=C
    128 export LC_ALL
    129 LANGUAGE=C
    130 export LANGUAGE
    131 
    132 # CDPATH.
    133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    134 
    135 # Use a proper internal environment variable to ensure we don't fall
    136   # into an infinite loop, continuously re-executing ourselves.
    137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    138     _as_can_reexec=no; export _as_can_reexec;
    139     # We cannot yet assume a decent shell, so we have to provide a
    140 # neutralization value for shells without unset; and this also
    141 # works around shells that cannot unset nonexistent variables.
    142 # Preserve -v and -x to the replacement shell.
    143 BASH_ENV=/dev/null
    144 ENV=/dev/null
    145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    146 case $- in # ((((
    147   *v*x* | *x*v* ) as_opts=-vx ;;
    148   *v* ) as_opts=-v ;;
    149   *x* ) as_opts=-x ;;
    150   * ) as_opts= ;;
    151 esac
    152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    153 # Admittedly, this is quite paranoid, since all the known shells bail
    154 # out after a failed `exec'.
    155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    156 as_fn_exit 255
    157   fi
    158   # We don't want this to propagate to other subprocesses.
    159           { _as_can_reexec=; unset _as_can_reexec;}
    160 if test "x$CONFIG_SHELL" = x; then
    161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    162   emulate sh
    163   NULLCMD=:
    164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    165   # is contrary to our usage.  Disable this feature.
    166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    167   setopt NO_GLOB_SUBST
    168 else
    169   case \`(set -o) 2>/dev/null\` in #(
    170   *posix*) :
    171     set -o posix ;; #(
    172   *) :
    173      ;;
    174 esac
    175 fi
    176 "
    177   as_required="as_fn_return () { (exit \$1); }
    178 as_fn_success () { as_fn_return 0; }
    179 as_fn_failure () { as_fn_return 1; }
    180 as_fn_ret_success () { return 0; }
    181 as_fn_ret_failure () { return 1; }
    182 
    183 exitcode=0
    184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    189 
    190 else
    191   exitcode=1; echo positional parameters were not saved.
    192 fi
    193 test x\$exitcode = x0 || exit 1
    194 test -x / || exit 1"
    195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    199 test \$(( 1 + 1 )) = 2 || exit 1"
    200   if (eval "$as_required") 2>/dev/null; then :
    201   as_have_required=yes
    202 else
    203   as_have_required=no
    204 fi
    205   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    206 
    207 else
    208   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    209 as_found=false
    210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    211 do
    212   IFS=$as_save_IFS
    213   test -z "$as_dir" && as_dir=.
    214   as_found=:
    215   case $as_dir in #(
    216 	 /*)
    217 	   for as_base in sh bash ksh sh5; do
    218 	     # Try only shells that exist, to save several forks.
    219 	     as_shell=$as_dir/$as_base
    220 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    221 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    222   CONFIG_SHELL=$as_shell as_have_required=yes
    223 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   break 2
    225 fi
    226 fi
    227 	   done;;
    228        esac
    229   as_found=false
    230 done
    231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    233   CONFIG_SHELL=$SHELL as_have_required=yes
    234 fi; }
    235 IFS=$as_save_IFS
    236 
    237 
    238       if test "x$CONFIG_SHELL" != x; then :
    239   export CONFIG_SHELL
    240              # We cannot yet assume a decent shell, so we have to provide a
    241 # neutralization value for shells without unset; and this also
    242 # works around shells that cannot unset nonexistent variables.
    243 # Preserve -v and -x to the replacement shell.
    244 BASH_ENV=/dev/null
    245 ENV=/dev/null
    246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    247 case $- in # ((((
    248   *v*x* | *x*v* ) as_opts=-vx ;;
    249   *v* ) as_opts=-v ;;
    250   *x* ) as_opts=-x ;;
    251   * ) as_opts= ;;
    252 esac
    253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    254 # Admittedly, this is quite paranoid, since all the known shells bail
    255 # out after a failed `exec'.
    256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    257 exit 255
    258 fi
    259 
    260     if test x$as_have_required = xno; then :
    261   $as_echo "$0: This script requires a shell more modern than all"
    262   $as_echo "$0: the shells that I found on your system."
    263   if test x${ZSH_VERSION+set} = xset ; then
    264     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    265     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    266   else
    267     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    268 $0: including any error possibly output before this
    269 $0: message. Then install a modern shell, or manually run
    270 $0: the script under such a shell if you do have one."
    271   fi
    272   exit 1
    273 fi
    274 fi
    275 fi
    276 SHELL=${CONFIG_SHELL-/bin/sh}
    277 export SHELL
    278 # Unset more variables known to interfere with behavior of common tools.
    279 CLICOLOR_FORCE= GREP_OPTIONS=
    280 unset CLICOLOR_FORCE GREP_OPTIONS
    281 
    282 ## --------------------- ##
    283 ## M4sh Shell Functions. ##
    284 ## --------------------- ##
    285 # as_fn_unset VAR
    286 # ---------------
    287 # Portably unset VAR.
    288 as_fn_unset ()
    289 {
    290   { eval $1=; unset $1;}
    291 }
    292 as_unset=as_fn_unset
    293 
    294 # as_fn_set_status STATUS
    295 # -----------------------
    296 # Set $? to STATUS, without forking.
    297 as_fn_set_status ()
    298 {
    299   return $1
    300 } # as_fn_set_status
    301 
    302 # as_fn_exit STATUS
    303 # -----------------
    304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    305 as_fn_exit ()
    306 {
    307   set +e
    308   as_fn_set_status $1
    309   exit $1
    310 } # as_fn_exit
    311 
    312 # as_fn_mkdir_p
    313 # -------------
    314 # Create "$as_dir" as a directory, including parents if necessary.
    315 as_fn_mkdir_p ()
    316 {
    317 
    318   case $as_dir in #(
    319   -*) as_dir=./$as_dir;;
    320   esac
    321   test -d "$as_dir" || eval $as_mkdir_p || {
    322     as_dirs=
    323     while :; do
    324       case $as_dir in #(
    325       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    326       *) as_qdir=$as_dir;;
    327       esac
    328       as_dirs="'$as_qdir' $as_dirs"
    329       as_dir=`$as_dirname -- "$as_dir" ||
    330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    331 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    332 	 X"$as_dir" : 'X\(//\)$' \| \
    333 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    334 $as_echo X"$as_dir" |
    335     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    336 	    s//\1/
    337 	    q
    338 	  }
    339 	  /^X\(\/\/\)[^/].*/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)$/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\).*/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  s/.*/./; q'`
    352       test -d "$as_dir" && break
    353     done
    354     test -z "$as_dirs" || eval "mkdir $as_dirs"
    355   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    356 
    357 
    358 } # as_fn_mkdir_p
    359 
    360 # as_fn_executable_p FILE
    361 # -----------------------
    362 # Test if FILE is an executable regular file.
    363 as_fn_executable_p ()
    364 {
    365   test -f "$1" && test -x "$1"
    366 } # as_fn_executable_p
    367 # as_fn_append VAR VALUE
    368 # ----------------------
    369 # Append the text in VALUE to the end of the definition contained in VAR. Take
    370 # advantage of any shell optimizations that allow amortized linear growth over
    371 # repeated appends, instead of the typical quadratic growth present in naive
    372 # implementations.
    373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    374   eval 'as_fn_append ()
    375   {
    376     eval $1+=\$2
    377   }'
    378 else
    379   as_fn_append ()
    380   {
    381     eval $1=\$$1\$2
    382   }
    383 fi # as_fn_append
    384 
    385 # as_fn_arith ARG...
    386 # ------------------
    387 # Perform arithmetic evaluation on the ARGs, and store the result in the
    388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    389 # must be portable across $(()) and expr.
    390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    391   eval 'as_fn_arith ()
    392   {
    393     as_val=$(( $* ))
    394   }'
    395 else
    396   as_fn_arith ()
    397   {
    398     as_val=`expr "$@" || test $? -eq 1`
    399   }
    400 fi # as_fn_arith
    401 
    402 
    403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    404 # ----------------------------------------
    405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    407 # script with STATUS, using 1 if that was 0.
    408 as_fn_error ()
    409 {
    410   as_status=$1; test $as_status -eq 0 && as_status=1
    411   if test "$4"; then
    412     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    413     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    414   fi
    415   $as_echo "$as_me: error: $2" >&2
    416   as_fn_exit $as_status
    417 } # as_fn_error
    418 
    419 if expr a : '\(a\)' >/dev/null 2>&1 &&
    420    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    421   as_expr=expr
    422 else
    423   as_expr=false
    424 fi
    425 
    426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    427   as_basename=basename
    428 else
    429   as_basename=false
    430 fi
    431 
    432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    433   as_dirname=dirname
    434 else
    435   as_dirname=false
    436 fi
    437 
    438 as_me=`$as_basename -- "$0" ||
    439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    440 	 X"$0" : 'X\(//\)$' \| \
    441 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    442 $as_echo X/"$0" |
    443     sed '/^.*\/\([^/][^/]*\)\/*$/{
    444 	    s//\1/
    445 	    q
    446 	  }
    447 	  /^X\/\(\/\/\)$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\).*/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  s/.*/./; q'`
    456 
    457 # Avoid depending upon Character Ranges.
    458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    461 as_cr_digits='0123456789'
    462 as_cr_alnum=$as_cr_Letters$as_cr_digits
    463 
    464 
    465   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    466   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    467   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    468   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    469   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    470   sed -n '
    471     p
    472     /[$]LINENO/=
    473   ' <$as_myself |
    474     sed '
    475       s/[$]LINENO.*/&-/
    476       t lineno
    477       b
    478       :lineno
    479       N
    480       :loop
    481       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    482       t loop
    483       s/-\n.*//
    484     ' >$as_me.lineno &&
    485   chmod +x "$as_me.lineno" ||
    486     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    487 
    488   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    489   # already done that, so ensure we don't try to do so again and fall
    490   # in an infinite loop.  This has already happened in practice.
    491   _as_can_reexec=no; export _as_can_reexec
    492   # Don't try to exec as it changes $[0], causing all sort of problems
    493   # (the dirname of $[0] is not the place where we might find the
    494   # original and so on.  Autoconf is especially sensitive to this).
    495   . "./$as_me.lineno"
    496   # Exit status is that of the last command.
    497   exit
    498 }
    499 
    500 ECHO_C= ECHO_N= ECHO_T=
    501 case `echo -n x` in #(((((
    502 -n*)
    503   case `echo 'xy\c'` in
    504   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    505   xy)  ECHO_C='\c';;
    506   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    507        ECHO_T='	';;
    508   esac;;
    509 *)
    510   ECHO_N='-n';;
    511 esac
    512 
    513 rm -f conf$$ conf$$.exe conf$$.file
    514 if test -d conf$$.dir; then
    515   rm -f conf$$.dir/conf$$.file
    516 else
    517   rm -f conf$$.dir
    518   mkdir conf$$.dir 2>/dev/null
    519 fi
    520 if (echo >conf$$.file) 2>/dev/null; then
    521   if ln -s conf$$.file conf$$ 2>/dev/null; then
    522     as_ln_s='ln -s'
    523     # ... but there are two gotchas:
    524     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    525     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    526     # In both cases, we have to default to `cp -pR'.
    527     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    528       as_ln_s='cp -pR'
    529   elif ln conf$$.file conf$$ 2>/dev/null; then
    530     as_ln_s=ln
    531   else
    532     as_ln_s='cp -pR'
    533   fi
    534 else
    535   as_ln_s='cp -pR'
    536 fi
    537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    538 rmdir conf$$.dir 2>/dev/null
    539 
    540 if mkdir -p . 2>/dev/null; then
    541   as_mkdir_p='mkdir -p "$as_dir"'
    542 else
    543   test -d ./-p && rmdir ./-p
    544   as_mkdir_p=false
    545 fi
    546 
    547 as_test_x='test -x'
    548 as_executable_p=as_fn_executable_p
    549 
    550 # Sed expression to map a string onto a valid CPP name.
    551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    552 
    553 # Sed expression to map a string onto a valid variable name.
    554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    555 
    556 
    557 test -n "$DJDIR" || exec 7<&0 </dev/null
    558 exec 6>&1
    559 
    560 # Name of the host.
    561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    562 # so uname gets run too.
    563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    564 
    565 #
    566 # Initializations.
    567 #
    568 ac_default_prefix=/usr/local
    569 ac_clean_files=
    570 ac_config_libobj_dir=.
    571 LIBOBJS=
    572 cross_compiling=no
    573 subdirs=
    574 MFLAGS=
    575 MAKEFLAGS=
    576 
    577 # Identity of this package.
    578 PACKAGE_NAME=
    579 PACKAGE_TARNAME=
    580 PACKAGE_VERSION=
    581 PACKAGE_STRING=
    582 PACKAGE_BUGREPORT=
    583 PACKAGE_URL=
    584 
    585 ac_unique_file="version.h"
    586 # Factoring default headers for most tests.
    587 ac_includes_default="\
    588 #include <stdio.h>
    589 #ifdef HAVE_SYS_TYPES_H
    590 # include <sys/types.h>
    591 #endif
    592 #ifdef HAVE_SYS_STAT_H
    593 # include <sys/stat.h>
    594 #endif
    595 #ifdef STDC_HEADERS
    596 # include <stdlib.h>
    597 # include <stddef.h>
    598 #else
    599 # ifdef HAVE_STDLIB_H
    600 #  include <stdlib.h>
    601 # endif
    602 #endif
    603 #ifdef HAVE_STRING_H
    604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    605 #  include <memory.h>
    606 # endif
    607 # include <string.h>
    608 #endif
    609 #ifdef HAVE_STRINGS_H
    610 # include <strings.h>
    611 #endif
    612 #ifdef HAVE_INTTYPES_H
    613 # include <inttypes.h>
    614 #endif
    615 #ifdef HAVE_STDINT_H
    616 # include <stdint.h>
    617 #endif
    618 #ifdef HAVE_UNISTD_H
    619 # include <unistd.h>
    620 #endif"
    621 
    622 gt_needs=
    623 ac_header_list=
    624 gl_use_threads_default=
    625 ac_func_list=
    626 ac_subst_vars='LTLIBOBJS
    627 LIBOBJS
    628 LDFLAGS_SHLIB
    629 CFLAGS_STLIB
    630 CFLAGS_SHLIB
    631 BUILD_LDFLAGS
    632 BUILD_CFLAGS
    633 MKINSTALLDIRS
    634 INCLUDES
    635 DO_TEST_SUITE
    636 LDFLAGS_STATIC
    637 root_sysconfdir
    638 root_libdir
    639 root_sbindir
    640 root_bindir
    641 root_prefix
    642 UNIX_CMT
    643 CYGWIN_CMT
    644 LINUX_CMT
    645 UNI_DIFF_OPTS
    646 SEM_INIT_LIB
    647 FUSE_CMT
    648 FUSE_LIB
    649 CLOCK_GETTIME_LIB
    650 MAGIC_LIB
    651 SOCKET_LIB
    652 SIZEOF_TIME_T
    653 SIZEOF_OFF_T
    654 SIZEOF_LONG_LONG
    655 SIZEOF_LONG
    656 SIZEOF_INT
    657 SIZEOF_SHORT
    658 BUILD_CC
    659 MAKEINFO
    660 STRIP
    661 AR
    662 LDCONFIG
    663 PERL
    664 AWK
    665 CHMOD
    666 RM
    667 CP
    668 MV
    669 LN_S
    670 LN
    671 ifNotGNUmake
    672 ifGNUmake
    673 BINARY_TYPE
    674 POSUB
    675 LTLIBINTL
    676 LIBINTL
    677 INTLLIBS
    678 INTL_LIBTOOL_SUFFIX_PREFIX
    679 INTLOBJS
    680 GENCAT
    681 INSTOBJEXT
    682 DATADIRNAME
    683 CATOBJEXT
    684 USE_INCLUDED_LIBINTL
    685 BUILD_INCLUDED_LIBINTL
    686 LTLIBC
    687 WINDRES
    688 WOE32
    689 WOE32DLL
    690 HAVE_WPRINTF
    691 HAVE_NEWLOCALE
    692 HAVE_SNPRINTF
    693 HAVE_ASPRINTF
    694 HAVE_POSIX_PRINTF
    695 INTL_DEFAULT_VERBOSITY
    696 INTL_MACOSX_LIBS
    697 GLIBC21
    698 INTLBISON
    699 LTLIBICONV
    700 LIBICONV
    701 LTLIBMULTITHREAD
    702 LIBMULTITHREAD
    703 LTLIBTHREAD
    704 LIBTHREAD
    705 LIBPTH_PREFIX
    706 LTLIBPTH
    707 LIBPTH
    708 PRI_MACROS_BROKEN
    709 ALLOCA
    710 HAVE_VISIBILITY
    711 CFLAG_VISIBILITY
    712 RANLIB
    713 GLIBC2
    714 XGETTEXT_EXTRA_OPTIONS
    715 MSGMERGE
    716 XGETTEXT_015
    717 XGETTEXT
    718 GMSGFMT_015
    719 MSGFMT_015
    720 GMSGFMT
    721 MSGFMT
    722 GETTEXT_MACRO_VERSION
    723 USE_NLS
    724 SED
    725 MKDIR_P
    726 INSTALL_DATA
    727 INSTALL_SCRIPT
    728 INSTALL_PROGRAM
    729 SET_MAKE
    730 VERSION
    731 PACKAGE
    732 GETTEXT_PACKAGE
    733 TDB_MAN_COMMENT
    734 TDB_CMT
    735 UUIDD_CMT
    736 E2INITRD_MAN
    737 E2INITRD_PROG
    738 FSCK_MAN
    739 FSCK_PROG
    740 DEFRAG_CMT
    741 RESIZER_CMT
    742 IMAGER_CMT
    743 DEBUGFS_CMT
    744 BLKID_CMT
    745 DEPPROFILED_LIBBLKID
    746 PROFILED_LIBBLKID
    747 DEPSTATIC_LIBBLKID
    748 STATIC_LIBBLKID
    749 DEPLIBBLKID
    750 LIBBLKID
    751 UUID_CMT
    752 DEPPROFILED_LIBUUID
    753 PROFILED_LIBUUID
    754 DEPSTATIC_LIBUUID
    755 STATIC_LIBUUID
    756 DEPLIBUUID
    757 LIBUUID
    758 PKG_CONFIG_LIBDIR
    759 PKG_CONFIG_PATH
    760 PKG_CONFIG
    761 TEST_IO_CMT
    762 PRIVATE_LIBS_CMT
    763 LDFLAG_DYNAMIC
    764 PROFILED_LIB_EXT
    765 STATIC_LIB_EXT
    766 LIB_EXT
    767 PROFILE_CMT
    768 BSDLIB_CMT
    769 ELF_CMT
    770 Q
    771 ES
    772 E
    773 LINK_BUILD_FLAGS
    774 SYMLINK_RELATIVE
    775 LINK_INSTALL_FLAGS
    776 MAINTAINER_CMT
    777 EGREP
    778 GREP
    779 CPP
    780 RDYNAMIC
    781 DLOPEN_LIB
    782 OBJEXT
    783 EXEEXT
    784 ac_ct_CC
    785 CPPFLAGS
    786 LDFLAGS
    787 CFLAGS
    788 CC
    789 host_os
    790 host_vendor
    791 host_cpu
    792 host
    793 build_os
    794 build_vendor
    795 build_cpu
    796 build
    797 E2FSPROGS_PKGVER
    798 E2FSPROGS_VERSION
    799 E2FSPROGS_DAY
    800 E2FSPROGS_MONTH
    801 E2FSPROGS_YEAR
    802 target_alias
    803 host_alias
    804 build_alias
    805 LIBS
    806 ECHO_T
    807 ECHO_N
    808 ECHO_C
    809 DEFS
    810 mandir
    811 localedir
    812 libdir
    813 psdir
    814 pdfdir
    815 dvidir
    816 htmldir
    817 infodir
    818 docdir
    819 oldincludedir
    820 includedir
    821 runstatedir
    822 localstatedir
    823 sharedstatedir
    824 sysconfdir
    825 datadir
    826 datarootdir
    827 libexecdir
    828 sbindir
    829 bindir
    830 program_transform_name
    831 prefix
    832 exec_prefix
    833 PACKAGE_URL
    834 PACKAGE_BUGREPORT
    835 PACKAGE_STRING
    836 PACKAGE_VERSION
    837 PACKAGE_TARNAME
    838 PACKAGE_NAME
    839 PATH_SEPARATOR
    840 SHELL'
    841 ac_subst_files='MCONFIG
    842 MAKEFILE_ELF
    843 MAKEFILE_BSDLIB
    844 MAKEFILE_PROFILE
    845 MAKEFILE_LIBRARY
    846 ASM_TYPES_HEADER
    847 PUBLIC_CONFIG_HEADER'
    848 ac_user_opts='
    849 enable_option_checking
    850 with_diet_libc
    851 with_cc
    852 with_ccopts
    853 with_ldopts
    854 with_root_prefix
    855 enable_maintainer_mode
    856 enable_symlink_install
    857 enable_relative_symlinks
    858 enable_symlink_relative_symlinks
    859 enable_symlink_build
    860 enable_verbose_makecmds
    861 enable_elf_shlibs
    862 enable_bsd_shlibs
    863 enable_profile
    864 enable_gcov
    865 enable_hardening
    866 enable_jbd_debug
    867 enable_blkid_debug
    868 enable_testio_debug
    869 enable_libuuid
    870 enable_libblkid
    871 enable_backtrace
    872 enable_debugfs
    873 enable_imager
    874 enable_resizer
    875 enable_defrag
    876 enable_fsck
    877 enable_e2initrd_helper
    878 enable_tls
    879 enable_uuidd
    880 enable_mmp
    881 enable_tdb
    882 enable_bmap_stats
    883 enable_bmap_stats_ops
    884 enable_nls
    885 enable_threads
    886 with_gnu_ld
    887 enable_rpath
    888 with_libpth_prefix
    889 with_libiconv_prefix
    890 with_included_gettext
    891 with_libintl_prefix
    892 enable_fuse2fs
    893 with_multiarch
    894 '
    895       ac_precious_vars='build_alias
    896 host_alias
    897 target_alias
    898 CC
    899 CFLAGS
    900 LDFLAGS
    901 LIBS
    902 CPPFLAGS
    903 CPP
    904 PKG_CONFIG
    905 PKG_CONFIG_PATH
    906 PKG_CONFIG_LIBDIR'
    907 
    908 
    909 # Initialize some variables set by options.
    910 ac_init_help=
    911 ac_init_version=false
    912 ac_unrecognized_opts=
    913 ac_unrecognized_sep=
    914 # The variables have the same names as the options, with
    915 # dashes changed to underlines.
    916 cache_file=/dev/null
    917 exec_prefix=NONE
    918 no_create=
    919 no_recursion=
    920 prefix=NONE
    921 program_prefix=NONE
    922 program_suffix=NONE
    923 program_transform_name=s,x,x,
    924 silent=
    925 site=
    926 srcdir=
    927 verbose=
    928 x_includes=NONE
    929 x_libraries=NONE
    930 
    931 # Installation directory options.
    932 # These are left unexpanded so users can "make install exec_prefix=/foo"
    933 # and all the variables that are supposed to be based on exec_prefix
    934 # by default will actually change.
    935 # Use braces instead of parens because sh, perl, etc. also accept them.
    936 # (The list follows the same order as the GNU Coding Standards.)
    937 bindir='${exec_prefix}/bin'
    938 sbindir='${exec_prefix}/sbin'
    939 libexecdir='${exec_prefix}/libexec'
    940 datarootdir='${prefix}/share'
    941 datadir='${datarootdir}'
    942 sysconfdir='${prefix}/etc'
    943 sharedstatedir='${prefix}/com'
    944 localstatedir='${prefix}/var'
    945 runstatedir='${localstatedir}/run'
    946 includedir='${prefix}/include'
    947 oldincludedir='/usr/include'
    948 docdir='${datarootdir}/doc/${PACKAGE}'
    949 infodir='${datarootdir}/info'
    950 htmldir='${docdir}'
    951 dvidir='${docdir}'
    952 pdfdir='${docdir}'
    953 psdir='${docdir}'
    954 libdir='${exec_prefix}/lib'
    955 localedir='${datarootdir}/locale'
    956 mandir='${datarootdir}/man'
    957 
    958 ac_prev=
    959 ac_dashdash=
    960 for ac_option
    961 do
    962   # If the previous option needs an argument, assign it.
    963   if test -n "$ac_prev"; then
    964     eval $ac_prev=\$ac_option
    965     ac_prev=
    966     continue
    967   fi
    968 
    969   case $ac_option in
    970   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    971   *=)   ac_optarg= ;;
    972   *)    ac_optarg=yes ;;
    973   esac
    974 
    975   # Accept the important Cygnus configure options, so we can diagnose typos.
    976 
    977   case $ac_dashdash$ac_option in
    978   --)
    979     ac_dashdash=yes ;;
    980 
    981   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    982     ac_prev=bindir ;;
    983   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    984     bindir=$ac_optarg ;;
    985 
    986   -build | --build | --buil | --bui | --bu)
    987     ac_prev=build_alias ;;
    988   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    989     build_alias=$ac_optarg ;;
    990 
    991   -cache-file | --cache-file | --cache-fil | --cache-fi \
    992   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    993     ac_prev=cache_file ;;
    994   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    995   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    996     cache_file=$ac_optarg ;;
    997 
    998   --config-cache | -C)
    999     cache_file=config.cache ;;
   1000 
   1001   -datadir | --datadir | --datadi | --datad)
   1002     ac_prev=datadir ;;
   1003   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1004     datadir=$ac_optarg ;;
   1005 
   1006   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1007   | --dataroo | --dataro | --datar)
   1008     ac_prev=datarootdir ;;
   1009   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1010   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1011     datarootdir=$ac_optarg ;;
   1012 
   1013   -disable-* | --disable-*)
   1014     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1015     # Reject names that are not valid shell variable names.
   1016     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1017       as_fn_error $? "invalid feature name: $ac_useropt"
   1018     ac_useropt_orig=$ac_useropt
   1019     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1020     case $ac_user_opts in
   1021       *"
   1022 "enable_$ac_useropt"
   1023 "*) ;;
   1024       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1025 	 ac_unrecognized_sep=', ';;
   1026     esac
   1027     eval enable_$ac_useropt=no ;;
   1028 
   1029   -docdir | --docdir | --docdi | --doc | --do)
   1030     ac_prev=docdir ;;
   1031   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1032     docdir=$ac_optarg ;;
   1033 
   1034   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1035     ac_prev=dvidir ;;
   1036   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1037     dvidir=$ac_optarg ;;
   1038 
   1039   -enable-* | --enable-*)
   1040     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1041     # Reject names that are not valid shell variable names.
   1042     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1043       as_fn_error $? "invalid feature name: $ac_useropt"
   1044     ac_useropt_orig=$ac_useropt
   1045     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1046     case $ac_user_opts in
   1047       *"
   1048 "enable_$ac_useropt"
   1049 "*) ;;
   1050       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1051 	 ac_unrecognized_sep=', ';;
   1052     esac
   1053     eval enable_$ac_useropt=\$ac_optarg ;;
   1054 
   1055   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1056   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1057   | --exec | --exe | --ex)
   1058     ac_prev=exec_prefix ;;
   1059   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1060   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1061   | --exec=* | --exe=* | --ex=*)
   1062     exec_prefix=$ac_optarg ;;
   1063 
   1064   -gas | --gas | --ga | --g)
   1065     # Obsolete; use --with-gas.
   1066     with_gas=yes ;;
   1067 
   1068   -help | --help | --hel | --he | -h)
   1069     ac_init_help=long ;;
   1070   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1071     ac_init_help=recursive ;;
   1072   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1073     ac_init_help=short ;;
   1074 
   1075   -host | --host | --hos | --ho)
   1076     ac_prev=host_alias ;;
   1077   -host=* | --host=* | --hos=* | --ho=*)
   1078     host_alias=$ac_optarg ;;
   1079 
   1080   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1081     ac_prev=htmldir ;;
   1082   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1083   | --ht=*)
   1084     htmldir=$ac_optarg ;;
   1085 
   1086   -includedir | --includedir | --includedi | --included | --include \
   1087   | --includ | --inclu | --incl | --inc)
   1088     ac_prev=includedir ;;
   1089   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1090   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1091     includedir=$ac_optarg ;;
   1092 
   1093   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1094     ac_prev=infodir ;;
   1095   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1096     infodir=$ac_optarg ;;
   1097 
   1098   -libdir | --libdir | --libdi | --libd)
   1099     ac_prev=libdir ;;
   1100   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1101     libdir=$ac_optarg ;;
   1102 
   1103   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1104   | --libexe | --libex | --libe)
   1105     ac_prev=libexecdir ;;
   1106   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1107   | --libexe=* | --libex=* | --libe=*)
   1108     libexecdir=$ac_optarg ;;
   1109 
   1110   -localedir | --localedir | --localedi | --localed | --locale)
   1111     ac_prev=localedir ;;
   1112   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1113     localedir=$ac_optarg ;;
   1114 
   1115   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1116   | --localstate | --localstat | --localsta | --localst | --locals)
   1117     ac_prev=localstatedir ;;
   1118   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1119   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1120     localstatedir=$ac_optarg ;;
   1121 
   1122   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1123     ac_prev=mandir ;;
   1124   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1125     mandir=$ac_optarg ;;
   1126 
   1127   -nfp | --nfp | --nf)
   1128     # Obsolete; use --without-fp.
   1129     with_fp=no ;;
   1130 
   1131   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1132   | --no-cr | --no-c | -n)
   1133     no_create=yes ;;
   1134 
   1135   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1136   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1137     no_recursion=yes ;;
   1138 
   1139   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1140   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1141   | --oldin | --oldi | --old | --ol | --o)
   1142     ac_prev=oldincludedir ;;
   1143   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1144   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1145   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1146     oldincludedir=$ac_optarg ;;
   1147 
   1148   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1149     ac_prev=prefix ;;
   1150   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1151     prefix=$ac_optarg ;;
   1152 
   1153   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1154   | --program-pre | --program-pr | --program-p)
   1155     ac_prev=program_prefix ;;
   1156   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1157   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1158     program_prefix=$ac_optarg ;;
   1159 
   1160   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1161   | --program-suf | --program-su | --program-s)
   1162     ac_prev=program_suffix ;;
   1163   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1164   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1165     program_suffix=$ac_optarg ;;
   1166 
   1167   -program-transform-name | --program-transform-name \
   1168   | --program-transform-nam | --program-transform-na \
   1169   | --program-transform-n | --program-transform- \
   1170   | --program-transform | --program-transfor \
   1171   | --program-transfo | --program-transf \
   1172   | --program-trans | --program-tran \
   1173   | --progr-tra | --program-tr | --program-t)
   1174     ac_prev=program_transform_name ;;
   1175   -program-transform-name=* | --program-transform-name=* \
   1176   | --program-transform-nam=* | --program-transform-na=* \
   1177   | --program-transform-n=* | --program-transform-=* \
   1178   | --program-transform=* | --program-transfor=* \
   1179   | --program-transfo=* | --program-transf=* \
   1180   | --program-trans=* | --program-tran=* \
   1181   | --progr-tra=* | --program-tr=* | --program-t=*)
   1182     program_transform_name=$ac_optarg ;;
   1183 
   1184   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1185     ac_prev=pdfdir ;;
   1186   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1187     pdfdir=$ac_optarg ;;
   1188 
   1189   -psdir | --psdir | --psdi | --psd | --ps)
   1190     ac_prev=psdir ;;
   1191   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1192     psdir=$ac_optarg ;;
   1193 
   1194   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1195   | -silent | --silent | --silen | --sile | --sil)
   1196     silent=yes ;;
   1197 
   1198   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1199   | --runstate | --runstat | --runsta | --runst | --runs \
   1200   | --run | --ru | --r)
   1201     ac_prev=runstatedir ;;
   1202   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1203   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1204   | --run=* | --ru=* | --r=*)
   1205     runstatedir=$ac_optarg ;;
   1206 
   1207   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1208     ac_prev=sbindir ;;
   1209   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1210   | --sbi=* | --sb=*)
   1211     sbindir=$ac_optarg ;;
   1212 
   1213   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1214   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1215   | --sharedst | --shareds | --shared | --share | --shar \
   1216   | --sha | --sh)
   1217     ac_prev=sharedstatedir ;;
   1218   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1219   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1220   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1221   | --sha=* | --sh=*)
   1222     sharedstatedir=$ac_optarg ;;
   1223 
   1224   -site | --site | --sit)
   1225     ac_prev=site ;;
   1226   -site=* | --site=* | --sit=*)
   1227     site=$ac_optarg ;;
   1228 
   1229   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1230     ac_prev=srcdir ;;
   1231   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1232     srcdir=$ac_optarg ;;
   1233 
   1234   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1235   | --syscon | --sysco | --sysc | --sys | --sy)
   1236     ac_prev=sysconfdir ;;
   1237   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1238   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1239     sysconfdir=$ac_optarg ;;
   1240 
   1241   -target | --target | --targe | --targ | --tar | --ta | --t)
   1242     ac_prev=target_alias ;;
   1243   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1244     target_alias=$ac_optarg ;;
   1245 
   1246   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1247     verbose=yes ;;
   1248 
   1249   -version | --version | --versio | --versi | --vers | -V)
   1250     ac_init_version=: ;;
   1251 
   1252   -with-* | --with-*)
   1253     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1254     # Reject names that are not valid shell variable names.
   1255     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1256       as_fn_error $? "invalid package name: $ac_useropt"
   1257     ac_useropt_orig=$ac_useropt
   1258     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1259     case $ac_user_opts in
   1260       *"
   1261 "with_$ac_useropt"
   1262 "*) ;;
   1263       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1264 	 ac_unrecognized_sep=', ';;
   1265     esac
   1266     eval with_$ac_useropt=\$ac_optarg ;;
   1267 
   1268   -without-* | --without-*)
   1269     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1270     # Reject names that are not valid shell variable names.
   1271     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1272       as_fn_error $? "invalid package name: $ac_useropt"
   1273     ac_useropt_orig=$ac_useropt
   1274     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1275     case $ac_user_opts in
   1276       *"
   1277 "with_$ac_useropt"
   1278 "*) ;;
   1279       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1280 	 ac_unrecognized_sep=', ';;
   1281     esac
   1282     eval with_$ac_useropt=no ;;
   1283 
   1284   --x)
   1285     # Obsolete; use --with-x.
   1286     with_x=yes ;;
   1287 
   1288   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1289   | --x-incl | --x-inc | --x-in | --x-i)
   1290     ac_prev=x_includes ;;
   1291   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1292   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1293     x_includes=$ac_optarg ;;
   1294 
   1295   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1296   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1297     ac_prev=x_libraries ;;
   1298   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1299   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1300     x_libraries=$ac_optarg ;;
   1301 
   1302   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1303 Try \`$0 --help' for more information"
   1304     ;;
   1305 
   1306   *=*)
   1307     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1308     # Reject names that are not valid shell variable names.
   1309     case $ac_envvar in #(
   1310       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1311       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1312     esac
   1313     eval $ac_envvar=\$ac_optarg
   1314     export $ac_envvar ;;
   1315 
   1316   *)
   1317     # FIXME: should be removed in autoconf 3.0.
   1318     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1319     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1320       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1321     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1322     ;;
   1323 
   1324   esac
   1325 done
   1326 
   1327 if test -n "$ac_prev"; then
   1328   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1329   as_fn_error $? "missing argument to $ac_option"
   1330 fi
   1331 
   1332 if test -n "$ac_unrecognized_opts"; then
   1333   case $enable_option_checking in
   1334     no) ;;
   1335     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1336     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1337   esac
   1338 fi
   1339 
   1340 # Check all directory arguments for consistency.
   1341 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1342 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1343 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1344 		libdir localedir mandir runstatedir
   1345 do
   1346   eval ac_val=\$$ac_var
   1347   # Remove trailing slashes.
   1348   case $ac_val in
   1349     */ )
   1350       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1351       eval $ac_var=\$ac_val;;
   1352   esac
   1353   # Be sure to have absolute directory names.
   1354   case $ac_val in
   1355     [\\/$]* | ?:[\\/]* )  continue;;
   1356     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1357   esac
   1358   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1359 done
   1360 
   1361 # There might be people who depend on the old broken behavior: `$host'
   1362 # used to hold the argument of --host etc.
   1363 # FIXME: To remove some day.
   1364 build=$build_alias
   1365 host=$host_alias
   1366 target=$target_alias
   1367 
   1368 # FIXME: To remove some day.
   1369 if test "x$host_alias" != x; then
   1370   if test "x$build_alias" = x; then
   1371     cross_compiling=maybe
   1372   elif test "x$build_alias" != "x$host_alias"; then
   1373     cross_compiling=yes
   1374   fi
   1375 fi
   1376 
   1377 ac_tool_prefix=
   1378 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1379 
   1380 test "$silent" = yes && exec 6>/dev/null
   1381 
   1382 
   1383 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1384 ac_ls_di=`ls -di .` &&
   1385 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1386   as_fn_error $? "working directory cannot be determined"
   1387 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1388   as_fn_error $? "pwd does not report name of working directory"
   1389 
   1390 
   1391 # Find the source files, if location was not specified.
   1392 if test -z "$srcdir"; then
   1393   ac_srcdir_defaulted=yes
   1394   # Try the directory containing this script, then the parent directory.
   1395   ac_confdir=`$as_dirname -- "$as_myself" ||
   1396 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1397 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1398 	 X"$as_myself" : 'X\(//\)$' \| \
   1399 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1400 $as_echo X"$as_myself" |
   1401     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1402 	    s//\1/
   1403 	    q
   1404 	  }
   1405 	  /^X\(\/\/\)[^/].*/{
   1406 	    s//\1/
   1407 	    q
   1408 	  }
   1409 	  /^X\(\/\/\)$/{
   1410 	    s//\1/
   1411 	    q
   1412 	  }
   1413 	  /^X\(\/\).*/{
   1414 	    s//\1/
   1415 	    q
   1416 	  }
   1417 	  s/.*/./; q'`
   1418   srcdir=$ac_confdir
   1419   if test ! -r "$srcdir/$ac_unique_file"; then
   1420     srcdir=..
   1421   fi
   1422 else
   1423   ac_srcdir_defaulted=no
   1424 fi
   1425 if test ! -r "$srcdir/$ac_unique_file"; then
   1426   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1427   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1428 fi
   1429 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1430 ac_abs_confdir=`(
   1431 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1432 	pwd)`
   1433 # When building in place, set srcdir=.
   1434 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1435   srcdir=.
   1436 fi
   1437 # Remove unnecessary trailing slashes from srcdir.
   1438 # Double slashes in file names in object file debugging info
   1439 # mess up M-x gdb in Emacs.
   1440 case $srcdir in
   1441 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1442 esac
   1443 for ac_var in $ac_precious_vars; do
   1444   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1445   eval ac_env_${ac_var}_value=\$${ac_var}
   1446   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1447   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1448 done
   1449 
   1450 #
   1451 # Report the --help message.
   1452 #
   1453 if test "$ac_init_help" = "long"; then
   1454   # Omit some internal or obsolete options to make the list less imposing.
   1455   # This message is too long to be a string in the A/UX 3.1 sh.
   1456   cat <<_ACEOF
   1457 \`configure' configures this package to adapt to many kinds of systems.
   1458 
   1459 Usage: $0 [OPTION]... [VAR=VALUE]...
   1460 
   1461 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1462 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1463 
   1464 Defaults for the options are specified in brackets.
   1465 
   1466 Configuration:
   1467   -h, --help              display this help and exit
   1468       --help=short        display options specific to this package
   1469       --help=recursive    display the short help of all the included packages
   1470   -V, --version           display version information and exit
   1471   -q, --quiet, --silent   do not print \`checking ...' messages
   1472       --cache-file=FILE   cache test results in FILE [disabled]
   1473   -C, --config-cache      alias for \`--cache-file=config.cache'
   1474   -n, --no-create         do not create output files
   1475       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1476 
   1477 Installation directories:
   1478   --prefix=PREFIX         install architecture-independent files in PREFIX
   1479                           [$ac_default_prefix]
   1480   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1481                           [PREFIX]
   1482 
   1483 By default, \`make install' will install all the files in
   1484 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1485 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1486 for instance \`--prefix=\$HOME'.
   1487 
   1488 For better control, use the options below.
   1489 
   1490 Fine tuning of the installation directories:
   1491   --bindir=DIR            user executables [EPREFIX/bin]
   1492   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1493   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1494   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1495   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1496   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1497   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1498   --libdir=DIR            object code libraries [EPREFIX/lib]
   1499   --includedir=DIR        C header files [PREFIX/include]
   1500   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1501   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1502   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1503   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1504   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1505   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1506   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1507   --htmldir=DIR           html documentation [DOCDIR]
   1508   --dvidir=DIR            dvi documentation [DOCDIR]
   1509   --pdfdir=DIR            pdf documentation [DOCDIR]
   1510   --psdir=DIR             ps documentation [DOCDIR]
   1511 _ACEOF
   1512 
   1513   cat <<\_ACEOF
   1514 
   1515 System types:
   1516   --build=BUILD     configure for building on BUILD [guessed]
   1517   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1518 _ACEOF
   1519 fi
   1520 
   1521 if test -n "$ac_init_help"; then
   1522 
   1523   cat <<\_ACEOF
   1524 
   1525 Optional Features:
   1526   --disable-option-checking  ignore unrecognized --enable/--with options
   1527   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1528   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1529   --enable-maintainer-mode enable makefile rules useful for maintainers
   1530   --enable-symlink-install use symlinks when installing instead of hard links
   1531   --enable-relative-symlinks use relative symlinks when installing
   1532 
   1533   --enable-symlink-build  use symlinks while building instead of hard links
   1534   --enable-verbose-makecmds enable verbose make command output
   1535   --enable-elf-shlibs	  select ELF shared libraries
   1536   --enable-bsd-shlibs	  select BSD shared libraries
   1537   --enable-profile	  build profiling libraries
   1538   --enable-gcov	  	  build for coverage testing using gcov
   1539   --enable-hardening	  	  build for coverage testing using gcov
   1540   --enable-jbd-debug  	  enable journal debugging
   1541   --enable-blkid-debug    enable blkid debugging
   1542   --disable-testio-debug  disable the use of the test I/O manager for debugging
   1543   --enable-libuuid	  build and use private uuid library
   1544   --enable-libblkid	  build and use private blkid library
   1545   --disable-backtrace	  disable use backtrace
   1546   --disable-debugfs   	  disable support of debugfs program
   1547   --disable-imager   	  disable support of e2image program
   1548   --disable-resizer   	  disable support of e2resize program
   1549   --disable-defrag   	  disable support of e4defrag program
   1550   --enable-fsck           build fsck wrapper program
   1551   --enable-e2initrd-helper build e2initrd-helper program
   1552   --disable-tls           disable use of thread local support
   1553   --disable-uuidd         disable building the uuid daemon
   1554   --disable-mmp           disable support mmp, Multi Mount Protection
   1555   --disable-tdb           disable tdb support
   1556   --disable-bmap-stats    disable collection of bitmap stats.
   1557   --enable-bmap-stats-ops enable collection of additional bitmap stats
   1558   --disable-nls           do not use Native Language Support
   1559   --enable-threads={posix|solaris|pth|windows}
   1560                           specify multithreading API
   1561   --disable-threads       build without multithread safety
   1562   --disable-rpath         do not hardcode runtime library paths
   1563   --disable-fuse2fs	  do not build fuse2fs
   1564 
   1565 Optional Packages:
   1566   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1567   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1568   --with-diet-libc        use diet libc
   1569   --with-cc               no longer supported, use CC= instead
   1570   --with-ccopts           no longer supported, use CFLAGS= instead
   1571   --with-ldopts           no longer supported, use LDFLAGS= instead
   1572   --with-root-prefix=PREFIX override prefix variable for files to be placed in the root
   1573   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1574   --with-libpth-prefix[=DIR]  search for libpth in DIR/include and DIR/lib
   1575   --without-libpth-prefix     don't search for libpth in includedir and libdir
   1576   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1577   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1578   --with-included-gettext use the GNU gettext library included here
   1579   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1580   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1581   --with-multiarch=ARCH specify the multiarch triplet
   1582 
   1583 Some influential environment variables:
   1584   CC          C compiler command
   1585   CFLAGS      C compiler flags
   1586   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1587               nonstandard directory <lib dir>
   1588   LIBS        libraries to pass to the linker, e.g. -l<library>
   1589   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1590               you have headers in a nonstandard directory <include dir>
   1591   CPP         C preprocessor
   1592   PKG_CONFIG  path to pkg-config utility
   1593   PKG_CONFIG_PATH
   1594               directories to add to pkg-config's search path
   1595   PKG_CONFIG_LIBDIR
   1596               path overriding pkg-config's built-in search path
   1597 
   1598 Use these variables to override the choices made by `configure' or to help
   1599 it to find libraries and programs with nonstandard names/locations.
   1600 
   1601 Report bugs to the package provider.
   1602 _ACEOF
   1603 ac_status=$?
   1604 fi
   1605 
   1606 if test "$ac_init_help" = "recursive"; then
   1607   # If there are subdirs, report their specific --help.
   1608   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1609     test -d "$ac_dir" ||
   1610       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1611       continue
   1612     ac_builddir=.
   1613 
   1614 case "$ac_dir" in
   1615 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1616 *)
   1617   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1618   # A ".." for each directory in $ac_dir_suffix.
   1619   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1620   case $ac_top_builddir_sub in
   1621   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1622   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1623   esac ;;
   1624 esac
   1625 ac_abs_top_builddir=$ac_pwd
   1626 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1627 # for backward compatibility:
   1628 ac_top_builddir=$ac_top_build_prefix
   1629 
   1630 case $srcdir in
   1631   .)  # We are building in place.
   1632     ac_srcdir=.
   1633     ac_top_srcdir=$ac_top_builddir_sub
   1634     ac_abs_top_srcdir=$ac_pwd ;;
   1635   [\\/]* | ?:[\\/]* )  # Absolute name.
   1636     ac_srcdir=$srcdir$ac_dir_suffix;
   1637     ac_top_srcdir=$srcdir
   1638     ac_abs_top_srcdir=$srcdir ;;
   1639   *) # Relative name.
   1640     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1641     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1642     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1643 esac
   1644 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1645 
   1646     cd "$ac_dir" || { ac_status=$?; continue; }
   1647     # Check for guested configure.
   1648     if test -f "$ac_srcdir/configure.gnu"; then
   1649       echo &&
   1650       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1651     elif test -f "$ac_srcdir/configure"; then
   1652       echo &&
   1653       $SHELL "$ac_srcdir/configure" --help=recursive
   1654     else
   1655       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1656     fi || ac_status=$?
   1657     cd "$ac_pwd" || { ac_status=$?; break; }
   1658   done
   1659 fi
   1660 
   1661 test -n "$ac_init_help" && exit $ac_status
   1662 if $ac_init_version; then
   1663   cat <<\_ACEOF
   1664 configure
   1665 generated by GNU Autoconf 2.69
   1666 
   1667 Copyright (C) 2012 Free Software Foundation, Inc.
   1668 This configure script is free software; the Free Software Foundation
   1669 gives unlimited permission to copy, distribute and modify it.
   1670 _ACEOF
   1671   exit
   1672 fi
   1673 
   1674 ## ------------------------ ##
   1675 ## Autoconf initialization. ##
   1676 ## ------------------------ ##
   1677 
   1678 # ac_fn_c_try_compile LINENO
   1679 # --------------------------
   1680 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1681 ac_fn_c_try_compile ()
   1682 {
   1683   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1684   rm -f conftest.$ac_objext
   1685   if { { ac_try="$ac_compile"
   1686 case "(($ac_try" in
   1687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1688   *) ac_try_echo=$ac_try;;
   1689 esac
   1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1691 $as_echo "$ac_try_echo"; } >&5
   1692   (eval "$ac_compile") 2>conftest.err
   1693   ac_status=$?
   1694   if test -s conftest.err; then
   1695     grep -v '^ *+' conftest.err >conftest.er1
   1696     cat conftest.er1 >&5
   1697     mv -f conftest.er1 conftest.err
   1698   fi
   1699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1700   test $ac_status = 0; } && {
   1701 	 test -z "$ac_c_werror_flag" ||
   1702 	 test ! -s conftest.err
   1703        } && test -s conftest.$ac_objext; then :
   1704   ac_retval=0
   1705 else
   1706   $as_echo "$as_me: failed program was:" >&5
   1707 sed 's/^/| /' conftest.$ac_ext >&5
   1708 
   1709 	ac_retval=1
   1710 fi
   1711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1712   as_fn_set_status $ac_retval
   1713 
   1714 } # ac_fn_c_try_compile
   1715 
   1716 # ac_fn_c_try_link LINENO
   1717 # -----------------------
   1718 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1719 ac_fn_c_try_link ()
   1720 {
   1721   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1722   rm -f conftest.$ac_objext conftest$ac_exeext
   1723   if { { ac_try="$ac_link"
   1724 case "(($ac_try" in
   1725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1726   *) ac_try_echo=$ac_try;;
   1727 esac
   1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1729 $as_echo "$ac_try_echo"; } >&5
   1730   (eval "$ac_link") 2>conftest.err
   1731   ac_status=$?
   1732   if test -s conftest.err; then
   1733     grep -v '^ *+' conftest.err >conftest.er1
   1734     cat conftest.er1 >&5
   1735     mv -f conftest.er1 conftest.err
   1736   fi
   1737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1738   test $ac_status = 0; } && {
   1739 	 test -z "$ac_c_werror_flag" ||
   1740 	 test ! -s conftest.err
   1741        } && test -s conftest$ac_exeext && {
   1742 	 test "$cross_compiling" = yes ||
   1743 	 test -x conftest$ac_exeext
   1744        }; then :
   1745   ac_retval=0
   1746 else
   1747   $as_echo "$as_me: failed program was:" >&5
   1748 sed 's/^/| /' conftest.$ac_ext >&5
   1749 
   1750 	ac_retval=1
   1751 fi
   1752   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1753   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1754   # interfere with the next link command; also delete a directory that is
   1755   # left behind by Apple's compiler.  We do this before executing the actions.
   1756   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1757   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1758   as_fn_set_status $ac_retval
   1759 
   1760 } # ac_fn_c_try_link
   1761 
   1762 # ac_fn_c_try_cpp LINENO
   1763 # ----------------------
   1764 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1765 ac_fn_c_try_cpp ()
   1766 {
   1767   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1768   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1769 case "(($ac_try" in
   1770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1771   *) ac_try_echo=$ac_try;;
   1772 esac
   1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1774 $as_echo "$ac_try_echo"; } >&5
   1775   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1776   ac_status=$?
   1777   if test -s conftest.err; then
   1778     grep -v '^ *+' conftest.err >conftest.er1
   1779     cat conftest.er1 >&5
   1780     mv -f conftest.er1 conftest.err
   1781   fi
   1782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1783   test $ac_status = 0; } > conftest.i && {
   1784 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1785 	 test ! -s conftest.err
   1786        }; then :
   1787   ac_retval=0
   1788 else
   1789   $as_echo "$as_me: failed program was:" >&5
   1790 sed 's/^/| /' conftest.$ac_ext >&5
   1791 
   1792     ac_retval=1
   1793 fi
   1794   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1795   as_fn_set_status $ac_retval
   1796 
   1797 } # ac_fn_c_try_cpp
   1798 
   1799 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1800 # -------------------------------------------------------
   1801 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1802 # the include files in INCLUDES and setting the cache variable VAR
   1803 # accordingly.
   1804 ac_fn_c_check_header_mongrel ()
   1805 {
   1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1807   if eval \${$3+:} false; then :
   1808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1809 $as_echo_n "checking for $2... " >&6; }
   1810 if eval \${$3+:} false; then :
   1811   $as_echo_n "(cached) " >&6
   1812 fi
   1813 eval ac_res=\$$3
   1814 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1815 $as_echo "$ac_res" >&6; }
   1816 else
   1817   # Is the header compilable?
   1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1819 $as_echo_n "checking $2 usability... " >&6; }
   1820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1821 /* end confdefs.h.  */
   1822 $4
   1823 #include <$2>
   1824 _ACEOF
   1825 if ac_fn_c_try_compile "$LINENO"; then :
   1826   ac_header_compiler=yes
   1827 else
   1828   ac_header_compiler=no
   1829 fi
   1830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1832 $as_echo "$ac_header_compiler" >&6; }
   1833 
   1834 # Is the header present?
   1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1836 $as_echo_n "checking $2 presence... " >&6; }
   1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1838 /* end confdefs.h.  */
   1839 #include <$2>
   1840 _ACEOF
   1841 if ac_fn_c_try_cpp "$LINENO"; then :
   1842   ac_header_preproc=yes
   1843 else
   1844   ac_header_preproc=no
   1845 fi
   1846 rm -f conftest.err conftest.i conftest.$ac_ext
   1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1848 $as_echo "$ac_header_preproc" >&6; }
   1849 
   1850 # So?  What about this header?
   1851 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1852   yes:no: )
   1853     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1854 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1855     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1856 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1857     ;;
   1858   no:yes:* )
   1859     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1860 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1861     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1862 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1863     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1864 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1865     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1866 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1867     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1868 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1869     ;;
   1870 esac
   1871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1872 $as_echo_n "checking for $2... " >&6; }
   1873 if eval \${$3+:} false; then :
   1874   $as_echo_n "(cached) " >&6
   1875 else
   1876   eval "$3=\$ac_header_compiler"
   1877 fi
   1878 eval ac_res=\$$3
   1879 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1880 $as_echo "$ac_res" >&6; }
   1881 fi
   1882   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1883 
   1884 } # ac_fn_c_check_header_mongrel
   1885 
   1886 # ac_fn_c_try_run LINENO
   1887 # ----------------------
   1888 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1889 # that executables *can* be run.
   1890 ac_fn_c_try_run ()
   1891 {
   1892   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1893   if { { ac_try="$ac_link"
   1894 case "(($ac_try" in
   1895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1896   *) ac_try_echo=$ac_try;;
   1897 esac
   1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1899 $as_echo "$ac_try_echo"; } >&5
   1900   (eval "$ac_link") 2>&5
   1901   ac_status=$?
   1902   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1903   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1904   { { case "(($ac_try" in
   1905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1906   *) ac_try_echo=$ac_try;;
   1907 esac
   1908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1909 $as_echo "$ac_try_echo"; } >&5
   1910   (eval "$ac_try") 2>&5
   1911   ac_status=$?
   1912   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1913   test $ac_status = 0; }; }; then :
   1914   ac_retval=0
   1915 else
   1916   $as_echo "$as_me: program exited with status $ac_status" >&5
   1917        $as_echo "$as_me: failed program was:" >&5
   1918 sed 's/^/| /' conftest.$ac_ext >&5
   1919 
   1920        ac_retval=$ac_status
   1921 fi
   1922   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1923   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1924   as_fn_set_status $ac_retval
   1925 
   1926 } # ac_fn_c_try_run
   1927 
   1928 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1929 # -------------------------------------------------------
   1930 # Tests whether HEADER exists and can be compiled using the include files in
   1931 # INCLUDES, setting the cache variable VAR accordingly.
   1932 ac_fn_c_check_header_compile ()
   1933 {
   1934   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1936 $as_echo_n "checking for $2... " >&6; }
   1937 if eval \${$3+:} false; then :
   1938   $as_echo_n "(cached) " >&6
   1939 else
   1940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1941 /* end confdefs.h.  */
   1942 $4
   1943 #include <$2>
   1944 _ACEOF
   1945 if ac_fn_c_try_compile "$LINENO"; then :
   1946   eval "$3=yes"
   1947 else
   1948   eval "$3=no"
   1949 fi
   1950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1951 fi
   1952 eval ac_res=\$$3
   1953 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1954 $as_echo "$ac_res" >&6; }
   1955   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1956 
   1957 } # ac_fn_c_check_header_compile
   1958 
   1959 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1960 # -------------------------------------------
   1961 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1962 # variable VAR accordingly.
   1963 ac_fn_c_check_type ()
   1964 {
   1965   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1967 $as_echo_n "checking for $2... " >&6; }
   1968 if eval \${$3+:} false; then :
   1969   $as_echo_n "(cached) " >&6
   1970 else
   1971   eval "$3=no"
   1972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1973 /* end confdefs.h.  */
   1974 $4
   1975 int
   1976 main ()
   1977 {
   1978 if (sizeof ($2))
   1979 	 return 0;
   1980   ;
   1981   return 0;
   1982 }
   1983 _ACEOF
   1984 if ac_fn_c_try_compile "$LINENO"; then :
   1985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1986 /* end confdefs.h.  */
   1987 $4
   1988 int
   1989 main ()
   1990 {
   1991 if (sizeof (($2)))
   1992 	    return 0;
   1993   ;
   1994   return 0;
   1995 }
   1996 _ACEOF
   1997 if ac_fn_c_try_compile "$LINENO"; then :
   1998 
   1999 else
   2000   eval "$3=yes"
   2001 fi
   2002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2003 fi
   2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2005 fi
   2006 eval ac_res=\$$3
   2007 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2008 $as_echo "$ac_res" >&6; }
   2009   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2010 
   2011 } # ac_fn_c_check_type
   2012 
   2013 # ac_fn_c_check_func LINENO FUNC VAR
   2014 # ----------------------------------
   2015 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2016 ac_fn_c_check_func ()
   2017 {
   2018   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2020 $as_echo_n "checking for $2... " >&6; }
   2021 if eval \${$3+:} false; then :
   2022   $as_echo_n "(cached) " >&6
   2023 else
   2024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2025 /* end confdefs.h.  */
   2026 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2028 #define $2 innocuous_$2
   2029 
   2030 /* System header to define __stub macros and hopefully few prototypes,
   2031     which can conflict with char $2 (); below.
   2032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2033     <limits.h> exists even on freestanding compilers.  */
   2034 
   2035 #ifdef __STDC__
   2036 # include <limits.h>
   2037 #else
   2038 # include <assert.h>
   2039 #endif
   2040 
   2041 #undef $2
   2042 
   2043 /* Override any GCC internal prototype to avoid an error.
   2044    Use char because int might match the return type of a GCC
   2045    builtin and then its argument prototype would still apply.  */
   2046 #ifdef __cplusplus
   2047 extern "C"
   2048 #endif
   2049 char $2 ();
   2050 /* The GNU C library defines this for functions which it implements
   2051     to always fail with ENOSYS.  Some functions are actually named
   2052     something starting with __ and the normal name is an alias.  */
   2053 #if defined __stub_$2 || defined __stub___$2
   2054 choke me
   2055 #endif
   2056 
   2057 int
   2058 main ()
   2059 {
   2060 return $2 ();
   2061   ;
   2062   return 0;
   2063 }
   2064 _ACEOF
   2065 if ac_fn_c_try_link "$LINENO"; then :
   2066   eval "$3=yes"
   2067 else
   2068   eval "$3=no"
   2069 fi
   2070 rm -f core conftest.err conftest.$ac_objext \
   2071     conftest$ac_exeext conftest.$ac_ext
   2072 fi
   2073 eval ac_res=\$$3
   2074 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2075 $as_echo "$ac_res" >&6; }
   2076   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2077 
   2078 } # ac_fn_c_check_func
   2079 
   2080 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2081 # ---------------------------------------------
   2082 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2083 # accordingly.
   2084 ac_fn_c_check_decl ()
   2085 {
   2086   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2087   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2088   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2090 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2091 if eval \${$3+:} false; then :
   2092   $as_echo_n "(cached) " >&6
   2093 else
   2094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2095 /* end confdefs.h.  */
   2096 $4
   2097 int
   2098 main ()
   2099 {
   2100 #ifndef $as_decl_name
   2101 #ifdef __cplusplus
   2102   (void) $as_decl_use;
   2103 #else
   2104   (void) $as_decl_name;
   2105 #endif
   2106 #endif
   2107 
   2108   ;
   2109   return 0;
   2110 }
   2111 _ACEOF
   2112 if ac_fn_c_try_compile "$LINENO"; then :
   2113   eval "$3=yes"
   2114 else
   2115   eval "$3=no"
   2116 fi
   2117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2118 fi
   2119 eval ac_res=\$$3
   2120 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2121 $as_echo "$ac_res" >&6; }
   2122   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2123 
   2124 } # ac_fn_c_check_decl
   2125 
   2126 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2127 # --------------------------------------------
   2128 # Tries to find the compile-time value of EXPR in a program that includes
   2129 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2130 # computed
   2131 ac_fn_c_compute_int ()
   2132 {
   2133   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2134   if test "$cross_compiling" = yes; then
   2135     # Depending upon the size, compute the lo and hi bounds.
   2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2137 /* end confdefs.h.  */
   2138 $4
   2139 int
   2140 main ()
   2141 {
   2142 static int test_array [1 - 2 * !(($2) >= 0)];
   2143 test_array [0] = 0;
   2144 return test_array [0];
   2145 
   2146   ;
   2147   return 0;
   2148 }
   2149 _ACEOF
   2150 if ac_fn_c_try_compile "$LINENO"; then :
   2151   ac_lo=0 ac_mid=0
   2152   while :; do
   2153     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2154 /* end confdefs.h.  */
   2155 $4
   2156 int
   2157 main ()
   2158 {
   2159 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2160 test_array [0] = 0;
   2161 return test_array [0];
   2162 
   2163   ;
   2164   return 0;
   2165 }
   2166 _ACEOF
   2167 if ac_fn_c_try_compile "$LINENO"; then :
   2168   ac_hi=$ac_mid; break
   2169 else
   2170   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2171 			if test $ac_lo -le $ac_mid; then
   2172 			  ac_lo= ac_hi=
   2173 			  break
   2174 			fi
   2175 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2176 fi
   2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2178   done
   2179 else
   2180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2181 /* end confdefs.h.  */
   2182 $4
   2183 int
   2184 main ()
   2185 {
   2186 static int test_array [1 - 2 * !(($2) < 0)];
   2187 test_array [0] = 0;
   2188 return test_array [0];
   2189 
   2190   ;
   2191   return 0;
   2192 }
   2193 _ACEOF
   2194 if ac_fn_c_try_compile "$LINENO"; then :
   2195   ac_hi=-1 ac_mid=-1
   2196   while :; do
   2197     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2198 /* end confdefs.h.  */
   2199 $4
   2200 int
   2201 main ()
   2202 {
   2203 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2204 test_array [0] = 0;
   2205 return test_array [0];
   2206 
   2207   ;
   2208   return 0;
   2209 }
   2210 _ACEOF
   2211 if ac_fn_c_try_compile "$LINENO"; then :
   2212   ac_lo=$ac_mid; break
   2213 else
   2214   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2215 			if test $ac_mid -le $ac_hi; then
   2216 			  ac_lo= ac_hi=
   2217 			  break
   2218 			fi
   2219 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2220 fi
   2221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2222   done
   2223 else
   2224   ac_lo= ac_hi=
   2225 fi
   2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2227 fi
   2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2229 # Binary search between lo and hi bounds.
   2230 while test "x$ac_lo" != "x$ac_hi"; do
   2231   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2233 /* end confdefs.h.  */
   2234 $4
   2235 int
   2236 main ()
   2237 {
   2238 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2239 test_array [0] = 0;
   2240 return test_array [0];
   2241 
   2242   ;
   2243   return 0;
   2244 }
   2245 _ACEOF
   2246 if ac_fn_c_try_compile "$LINENO"; then :
   2247   ac_hi=$ac_mid
   2248 else
   2249   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2250 fi
   2251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2252 done
   2253 case $ac_lo in #((
   2254 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2255 '') ac_retval=1 ;;
   2256 esac
   2257   else
   2258     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2259 /* end confdefs.h.  */
   2260 $4
   2261 static long int longval () { return $2; }
   2262 static unsigned long int ulongval () { return $2; }
   2263 #include <stdio.h>
   2264 #include <stdlib.h>
   2265 int
   2266 main ()
   2267 {
   2268 
   2269   FILE *f = fopen ("conftest.val", "w");
   2270   if (! f)
   2271     return 1;
   2272   if (($2) < 0)
   2273     {
   2274       long int i = longval ();
   2275       if (i != ($2))
   2276 	return 1;
   2277       fprintf (f, "%ld", i);
   2278     }
   2279   else
   2280     {
   2281       unsigned long int i = ulongval ();
   2282       if (i != ($2))
   2283 	return 1;
   2284       fprintf (f, "%lu", i);
   2285     }
   2286   /* Do not output a trailing newline, as this causes \r\n confusion
   2287      on some platforms.  */
   2288   return ferror (f) || fclose (f) != 0;
   2289 
   2290   ;
   2291   return 0;
   2292 }
   2293 _ACEOF
   2294 if ac_fn_c_try_run "$LINENO"; then :
   2295   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2296 else
   2297   ac_retval=1
   2298 fi
   2299 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2300   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2301 rm -f conftest.val
   2302 
   2303   fi
   2304   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2305   as_fn_set_status $ac_retval
   2306 
   2307 } # ac_fn_c_compute_int
   2308 
   2309 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2310 # ----------------------------------------------------
   2311 # Tries to find if the field MEMBER exists in type AGGR, after including
   2312 # INCLUDES, setting cache variable VAR accordingly.
   2313 ac_fn_c_check_member ()
   2314 {
   2315   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2317 $as_echo_n "checking for $2.$3... " >&6; }
   2318 if eval \${$4+:} false; then :
   2319   $as_echo_n "(cached) " >&6
   2320 else
   2321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2322 /* end confdefs.h.  */
   2323 $5
   2324 int
   2325 main ()
   2326 {
   2327 static $2 ac_aggr;
   2328 if (ac_aggr.$3)
   2329 return 0;
   2330   ;
   2331   return 0;
   2332 }
   2333 _ACEOF
   2334 if ac_fn_c_try_compile "$LINENO"; then :
   2335   eval "$4=yes"
   2336 else
   2337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2338 /* end confdefs.h.  */
   2339 $5
   2340 int
   2341 main ()
   2342 {
   2343 static $2 ac_aggr;
   2344 if (sizeof ac_aggr.$3)
   2345 return 0;
   2346   ;
   2347   return 0;
   2348 }
   2349 _ACEOF
   2350 if ac_fn_c_try_compile "$LINENO"; then :
   2351   eval "$4=yes"
   2352 else
   2353   eval "$4=no"
   2354 fi
   2355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2356 fi
   2357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2358 fi
   2359 eval ac_res=\$$4
   2360 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2361 $as_echo "$ac_res" >&6; }
   2362   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2363 
   2364 } # ac_fn_c_check_member
   2365 cat >config.log <<_ACEOF
   2366 This file contains any messages produced by compilers while
   2367 running configure, to aid debugging if configure makes a mistake.
   2368 
   2369 It was created by $as_me, which was
   2370 generated by GNU Autoconf 2.69.  Invocation command line was
   2371 
   2372   $ $0 $@
   2373 
   2374 _ACEOF
   2375 exec 5>>config.log
   2376 {
   2377 cat <<_ASUNAME
   2378 ## --------- ##
   2379 ## Platform. ##
   2380 ## --------- ##
   2381 
   2382 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2383 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2384 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2385 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2386 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2387 
   2388 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2389 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2390 
   2391 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2392 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2393 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2394 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2395 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2396 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2397 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2398 
   2399 _ASUNAME
   2400 
   2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2402 for as_dir in $PATH
   2403 do
   2404   IFS=$as_save_IFS
   2405   test -z "$as_dir" && as_dir=.
   2406     $as_echo "PATH: $as_dir"
   2407   done
   2408 IFS=$as_save_IFS
   2409 
   2410 } >&5
   2411 
   2412 cat >&5 <<_ACEOF
   2413 
   2414 
   2415 ## ----------- ##
   2416 ## Core tests. ##
   2417 ## ----------- ##
   2418 
   2419 _ACEOF
   2420 
   2421 
   2422 # Keep a trace of the command line.
   2423 # Strip out --no-create and --no-recursion so they do not pile up.
   2424 # Strip out --silent because we don't want to record it for future runs.
   2425 # Also quote any args containing shell meta-characters.
   2426 # Make two passes to allow for proper duplicate-argument suppression.
   2427 ac_configure_args=
   2428 ac_configure_args0=
   2429 ac_configure_args1=
   2430 ac_must_keep_next=false
   2431 for ac_pass in 1 2
   2432 do
   2433   for ac_arg
   2434   do
   2435     case $ac_arg in
   2436     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2437     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2438     | -silent | --silent | --silen | --sile | --sil)
   2439       continue ;;
   2440     *\'*)
   2441       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2442     esac
   2443     case $ac_pass in
   2444     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2445     2)
   2446       as_fn_append ac_configure_args1 " '$ac_arg'"
   2447       if test $ac_must_keep_next = true; then
   2448 	ac_must_keep_next=false # Got value, back to normal.
   2449       else
   2450 	case $ac_arg in
   2451 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2452 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2453 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2454 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2455 	    case "$ac_configure_args0 " in
   2456 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2457 	    esac
   2458 	    ;;
   2459 	  -* ) ac_must_keep_next=true ;;
   2460 	esac
   2461       fi
   2462       as_fn_append ac_configure_args " '$ac_arg'"
   2463       ;;
   2464     esac
   2465   done
   2466 done
   2467 { ac_configure_args0=; unset ac_configure_args0;}
   2468 { ac_configure_args1=; unset ac_configure_args1;}
   2469 
   2470 # When interrupted or exit'd, cleanup temporary files, and complete
   2471 # config.log.  We remove comments because anyway the quotes in there
   2472 # would cause problems or look ugly.
   2473 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2474 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2475 trap 'exit_status=$?
   2476   # Save into config.log some information that might help in debugging.
   2477   {
   2478     echo
   2479 
   2480     $as_echo "## ---------------- ##
   2481 ## Cache variables. ##
   2482 ## ---------------- ##"
   2483     echo
   2484     # The following way of writing the cache mishandles newlines in values,
   2485 (
   2486   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2487     eval ac_val=\$$ac_var
   2488     case $ac_val in #(
   2489     *${as_nl}*)
   2490       case $ac_var in #(
   2491       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2492 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2493       esac
   2494       case $ac_var in #(
   2495       _ | IFS | as_nl) ;; #(
   2496       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2497       *) { eval $ac_var=; unset $ac_var;} ;;
   2498       esac ;;
   2499     esac
   2500   done
   2501   (set) 2>&1 |
   2502     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2503     *${as_nl}ac_space=\ *)
   2504       sed -n \
   2505 	"s/'\''/'\''\\\\'\'''\''/g;
   2506 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2507       ;; #(
   2508     *)
   2509       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2510       ;;
   2511     esac |
   2512     sort
   2513 )
   2514     echo
   2515 
   2516     $as_echo "## ----------------- ##
   2517 ## Output variables. ##
   2518 ## ----------------- ##"
   2519     echo
   2520     for ac_var in $ac_subst_vars
   2521     do
   2522       eval ac_val=\$$ac_var
   2523       case $ac_val in
   2524       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2525       esac
   2526       $as_echo "$ac_var='\''$ac_val'\''"
   2527     done | sort
   2528     echo
   2529 
   2530     if test -n "$ac_subst_files"; then
   2531       $as_echo "## ------------------- ##
   2532 ## File substitutions. ##
   2533 ## ------------------- ##"
   2534       echo
   2535       for ac_var in $ac_subst_files
   2536       do
   2537 	eval ac_val=\$$ac_var
   2538 	case $ac_val in
   2539 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2540 	esac
   2541 	$as_echo "$ac_var='\''$ac_val'\''"
   2542       done | sort
   2543       echo
   2544     fi
   2545 
   2546     if test -s confdefs.h; then
   2547       $as_echo "## ----------- ##
   2548 ## confdefs.h. ##
   2549 ## ----------- ##"
   2550       echo
   2551       cat confdefs.h
   2552       echo
   2553     fi
   2554     test "$ac_signal" != 0 &&
   2555       $as_echo "$as_me: caught signal $ac_signal"
   2556     $as_echo "$as_me: exit $exit_status"
   2557   } >&5
   2558   rm -f core *.core core.conftest.* &&
   2559     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2560     exit $exit_status
   2561 ' 0
   2562 for ac_signal in 1 2 13 15; do
   2563   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2564 done
   2565 ac_signal=0
   2566 
   2567 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2568 rm -f -r conftest* confdefs.h
   2569 
   2570 $as_echo "/* confdefs.h */" > confdefs.h
   2571 
   2572 # Predefined preprocessor variables.
   2573 
   2574 cat >>confdefs.h <<_ACEOF
   2575 #define PACKAGE_NAME "$PACKAGE_NAME"
   2576 _ACEOF
   2577 
   2578 cat >>confdefs.h <<_ACEOF
   2579 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2580 _ACEOF
   2581 
   2582 cat >>confdefs.h <<_ACEOF
   2583 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2584 _ACEOF
   2585 
   2586 cat >>confdefs.h <<_ACEOF
   2587 #define PACKAGE_STRING "$PACKAGE_STRING"
   2588 _ACEOF
   2589 
   2590 cat >>confdefs.h <<_ACEOF
   2591 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2592 _ACEOF
   2593 
   2594 cat >>confdefs.h <<_ACEOF
   2595 #define PACKAGE_URL "$PACKAGE_URL"
   2596 _ACEOF
   2597 
   2598 
   2599 # Let the site file select an alternate cache file if it wants to.
   2600 # Prefer an explicitly selected file to automatically selected ones.
   2601 ac_site_file1=NONE
   2602 ac_site_file2=NONE
   2603 if test -n "$CONFIG_SITE"; then
   2604   # We do not want a PATH search for config.site.
   2605   case $CONFIG_SITE in #((
   2606     -*)  ac_site_file1=./$CONFIG_SITE;;
   2607     */*) ac_site_file1=$CONFIG_SITE;;
   2608     *)   ac_site_file1=./$CONFIG_SITE;;
   2609   esac
   2610 elif test "x$prefix" != xNONE; then
   2611   ac_site_file1=$prefix/share/config.site
   2612   ac_site_file2=$prefix/etc/config.site
   2613 else
   2614   ac_site_file1=$ac_default_prefix/share/config.site
   2615   ac_site_file2=$ac_default_prefix/etc/config.site
   2616 fi
   2617 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2618 do
   2619   test "x$ac_site_file" = xNONE && continue
   2620   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2621     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2622 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2623     sed 's/^/| /' "$ac_site_file" >&5
   2624     . "$ac_site_file" \
   2625       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2627 as_fn_error $? "failed to load site script $ac_site_file
   2628 See \`config.log' for more details" "$LINENO" 5; }
   2629   fi
   2630 done
   2631 
   2632 if test -r "$cache_file"; then
   2633   # Some versions of bash will fail to source /dev/null (special files
   2634   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2635   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2636     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2637 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2638     case $cache_file in
   2639       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2640       *)                      . "./$cache_file";;
   2641     esac
   2642   fi
   2643 else
   2644   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2645 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2646   >$cache_file
   2647 fi
   2648 
   2649 gt_needs="$gt_needs "
   2650 as_fn_append ac_header_list " stdlib.h"
   2651 as_fn_append ac_header_list " unistd.h"
   2652 as_fn_append ac_header_list " sys/param.h"
   2653 as_fn_append ac_func_list " symlink"
   2654 # Check that the precious variables saved in the cache have kept the same
   2655 # value.
   2656 ac_cache_corrupted=false
   2657 for ac_var in $ac_precious_vars; do
   2658   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2659   eval ac_new_set=\$ac_env_${ac_var}_set
   2660   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2661   eval ac_new_val=\$ac_env_${ac_var}_value
   2662   case $ac_old_set,$ac_new_set in
   2663     set,)
   2664       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2665 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2666       ac_cache_corrupted=: ;;
   2667     ,set)
   2668       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2669 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2670       ac_cache_corrupted=: ;;
   2671     ,);;
   2672     *)
   2673       if test "x$ac_old_val" != "x$ac_new_val"; then
   2674 	# differences in whitespace do not lead to failure.
   2675 	ac_old_val_w=`echo x $ac_old_val`
   2676 	ac_new_val_w=`echo x $ac_new_val`
   2677 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2678 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2679 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2680 	  ac_cache_corrupted=:
   2681 	else
   2682 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2683 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2684 	  eval $ac_var=\$ac_old_val
   2685 	fi
   2686 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2687 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2688 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2689 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2690       fi;;
   2691   esac
   2692   # Pass precious variables to config.status.
   2693   if test "$ac_new_set" = set; then
   2694     case $ac_new_val in
   2695     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2696     *) ac_arg=$ac_var=$ac_new_val ;;
   2697     esac
   2698     case " $ac_configure_args " in
   2699       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2700       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2701     esac
   2702   fi
   2703 done
   2704 if $ac_cache_corrupted; then
   2705   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2707   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2708 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2709   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2710 fi
   2711 ## -------------------- ##
   2712 ## Main body of script. ##
   2713 ## -------------------- ##
   2714 
   2715 ac_ext=c
   2716 ac_cpp='$CPP $CPPFLAGS'
   2717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2720 
   2721 
   2722 
   2723 ac_aux_dir=
   2724 for ac_dir in config "$srcdir"/config; do
   2725   if test -f "$ac_dir/install-sh"; then
   2726     ac_aux_dir=$ac_dir
   2727     ac_install_sh="$ac_aux_dir/install-sh -c"
   2728     break
   2729   elif test -f "$ac_dir/install.sh"; then
   2730     ac_aux_dir=$ac_dir
   2731     ac_install_sh="$ac_aux_dir/install.sh -c"
   2732     break
   2733   elif test -f "$ac_dir/shtool"; then
   2734     ac_aux_dir=$ac_dir
   2735     ac_install_sh="$ac_aux_dir/shtool install -c"
   2736     break
   2737   fi
   2738 done
   2739 if test -z "$ac_aux_dir"; then
   2740   as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
   2741 fi
   2742 
   2743 # These three variables are undocumented and unsupported,
   2744 # and are intended to be withdrawn in a future Autoconf release.
   2745 # They can cause serious problems if a builder's source tree is in a directory
   2746 # whose full name contains unusual characters.
   2747 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2748 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2749 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2750 
   2751 
   2752 ac_config_headers="$ac_config_headers lib/config.h"
   2753 
   2754 
   2755 MCONFIG=./MCONFIG
   2756 
   2757 BINARY_TYPE=bin
   2758 E2FSPROGS_VERSION=`grep E2FSPROGS_VERSION ${srcdir}/version.h  \
   2759 	| awk '{print $3}' | tr \" " " | awk '{print $1}'`
   2760 DATE=`grep E2FSPROGS_DATE ${srcdir}/version.h | awk '{print $3}' \
   2761 	| tr \" " "`
   2762 E2FSPROGS_DAY=$(echo $DATE | awk -F- '{print $1}' | sed -e '/^[1-9]$/s/^/0/')
   2763 MONTH=`echo $DATE | awk -F- '{print $2}'`
   2764 YEAR=`echo $DATE | awk -F- '{print $3}'`
   2765 
   2766 if expr $YEAR ">" 1900 > /dev/null ; then
   2767 	E2FSPROGS_YEAR=$YEAR
   2768 elif expr $YEAR ">" 90 >/dev/null ; then
   2769 	E2FSPROGS_YEAR=19$YEAR
   2770 else
   2771 	E2FSPROGS_YEAR=20$YEAR
   2772 fi
   2773 
   2774 case $MONTH in
   2775 Jan)	MONTH_NUM=01; E2FSPROGS_MONTH="January" ;;
   2776 Feb)	MONTH_NUM=02; E2FSPROGS_MONTH="February" ;;
   2777 Mar)	MONTH_NUM=03; E2FSPROGS_MONTH="March" ;;
   2778 Apr)	MONTH_NUM=04; E2FSPROGS_MONTH="April" ;;
   2779 May)	MONTH_NUM=05; E2FSPROGS_MONTH="May" ;;
   2780 Jun)	MONTH_NUM=06; E2FSPROGS_MONTH="June" ;;
   2781 Jul)	MONTH_NUM=07; E2FSPROGS_MONTH="July" ;;
   2782 Aug)	MONTH_NUM=08; E2FSPROGS_MONTH="August" ;;
   2783 Sep)	MONTH_NUM=09; E2FSPROGS_MONTH="September" ;;
   2784 Oct)	MONTH_NUM=10; E2FSPROGS_MONTH="October" ;;
   2785 Nov)	MONTH_NUM=11; E2FSPROGS_MONTH="November" ;;
   2786 Dec)	MONTH_NUM=12; E2FSPROGS_MONTH="December" ;;
   2787 *)	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown month $MONTH??" >&5
   2788 $as_echo "$as_me: WARNING: Unknown month $MONTH??" >&2;} ;;
   2789 esac
   2790 
   2791 base_ver=`echo $E2FSPROGS_VERSION | \
   2792 	       sed -e 's/-WIP//' -e 's/pre-//' -e 's/-PLUS//'`
   2793 
   2794 date_spec=${E2FSPROGS_YEAR}.${MONTH_NUM}.${E2FSPROGS_DAY}
   2795 
   2796 case $E2FSPROGS_VERSION in
   2797 *-WIP|pre-*)
   2798 	E2FSPROGS_PKGVER="$base_ver~WIP.$date_spec"
   2799 	;;
   2800 *)
   2801 	E2FSPROGS_PKGVER="$base_ver"
   2802 	;;
   2803 esac
   2804 
   2805 unset DATE MONTH YEAR base_ver pre_vers date_spec
   2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&5
   2807 $as_echo "Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&6; }
   2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&5
   2809 $as_echo "Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&6; }
   2810 
   2811 
   2812 
   2813 
   2814 
   2815 WITH_DIET_LIBC=
   2816 
   2817 # Check whether --with-diet-libc was given.
   2818 if test "${with_diet_libc+set}" = set; then :
   2819   withval=$with_diet_libc; CC="diet cc -nostdinc"
   2820 WITH_DIET_LIBC=yes
   2821 if test -z "$LIBS"
   2822 then
   2823 	LIBS="-lcompat"
   2824 else
   2825 	LIBS="$LIBS -lcompat"
   2826 fi
   2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: CC=$CC" >&5
   2828 $as_echo "CC=$CC" >&6; }
   2829 fi
   2830 # Make sure we can run config.sub.
   2831 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2832   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2833 
   2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2835 $as_echo_n "checking build system type... " >&6; }
   2836 if ${ac_cv_build+:} false; then :
   2837   $as_echo_n "(cached) " >&6
   2838 else
   2839   ac_build_alias=$build_alias
   2840 test "x$ac_build_alias" = x &&
   2841   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2842 test "x$ac_build_alias" = x &&
   2843   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2844 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2845   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2846 
   2847 fi
   2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2849 $as_echo "$ac_cv_build" >&6; }
   2850 case $ac_cv_build in
   2851 *-*-*) ;;
   2852 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2853 esac
   2854 build=$ac_cv_build
   2855 ac_save_IFS=$IFS; IFS='-'
   2856 set x $ac_cv_build
   2857 shift
   2858 build_cpu=$1
   2859 build_vendor=$2
   2860 shift; shift
   2861 # Remember, the first character of IFS is used to create $*,
   2862 # except with old shells:
   2863 build_os=$*
   2864 IFS=$ac_save_IFS
   2865 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2866 
   2867 
   2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2869 $as_echo_n "checking host system type... " >&6; }
   2870 if ${ac_cv_host+:} false; then :
   2871   $as_echo_n "(cached) " >&6
   2872 else
   2873   if test "x$host_alias" = x; then
   2874   ac_cv_host=$ac_cv_build
   2875 else
   2876   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2877     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2878 fi
   2879 
   2880 fi
   2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2882 $as_echo "$ac_cv_host" >&6; }
   2883 case $ac_cv_host in
   2884 *-*-*) ;;
   2885 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2886 esac
   2887 host=$ac_cv_host
   2888 ac_save_IFS=$IFS; IFS='-'
   2889 set x $ac_cv_host
   2890 shift
   2891 host_cpu=$1
   2892 host_vendor=$2
   2893 shift; shift
   2894 # Remember, the first character of IFS is used to create $*,
   2895 # except with old shells:
   2896 host_os=$*
   2897 IFS=$ac_save_IFS
   2898 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2899 
   2900 
   2901 DLOPEN_LIB=''
   2902 ac_ext=c
   2903 ac_cpp='$CPP $CPPFLAGS'
   2904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2907 if test -n "$ac_tool_prefix"; then
   2908   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2909 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2911 $as_echo_n "checking for $ac_word... " >&6; }
   2912 if ${ac_cv_prog_CC+:} false; then :
   2913   $as_echo_n "(cached) " >&6
   2914 else
   2915   if test -n "$CC"; then
   2916   ac_cv_prog_CC="$CC" # Let the user override the test.
   2917 else
   2918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2919 for as_dir in $PATH
   2920 do
   2921   IFS=$as_save_IFS
   2922   test -z "$as_dir" && as_dir=.
   2923     for ac_exec_ext in '' $ac_executable_extensions; do
   2924   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2925     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2927     break 2
   2928   fi
   2929 done
   2930   done
   2931 IFS=$as_save_IFS
   2932 
   2933 fi
   2934 fi
   2935 CC=$ac_cv_prog_CC
   2936 if test -n "$CC"; then
   2937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2938 $as_echo "$CC" >&6; }
   2939 else
   2940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2941 $as_echo "no" >&6; }
   2942 fi
   2943 
   2944 
   2945 fi
   2946 if test -z "$ac_cv_prog_CC"; then
   2947   ac_ct_CC=$CC
   2948   # Extract the first word of "gcc", so it can be a program name with args.
   2949 set dummy gcc; ac_word=$2
   2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2951 $as_echo_n "checking for $ac_word... " >&6; }
   2952 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2953   $as_echo_n "(cached) " >&6
   2954 else
   2955   if test -n "$ac_ct_CC"; then
   2956   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2957 else
   2958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2959 for as_dir in $PATH
   2960 do
   2961   IFS=$as_save_IFS
   2962   test -z "$as_dir" && as_dir=.
   2963     for ac_exec_ext in '' $ac_executable_extensions; do
   2964   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2965     ac_cv_prog_ac_ct_CC="gcc"
   2966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2967     break 2
   2968   fi
   2969 done
   2970   done
   2971 IFS=$as_save_IFS
   2972 
   2973 fi
   2974 fi
   2975 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2976 if test -n "$ac_ct_CC"; then
   2977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2978 $as_echo "$ac_ct_CC" >&6; }
   2979 else
   2980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2981 $as_echo "no" >&6; }
   2982 fi
   2983 
   2984   if test "x$ac_ct_CC" = x; then
   2985     CC=""
   2986   else
   2987     case $cross_compiling:$ac_tool_warned in
   2988 yes:)
   2989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2991 ac_tool_warned=yes ;;
   2992 esac
   2993     CC=$ac_ct_CC
   2994   fi
   2995 else
   2996   CC="$ac_cv_prog_CC"
   2997 fi
   2998 
   2999 if test -z "$CC"; then
   3000           if test -n "$ac_tool_prefix"; then
   3001     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3002 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3004 $as_echo_n "checking for $ac_word... " >&6; }
   3005 if ${ac_cv_prog_CC+:} false; then :
   3006   $as_echo_n "(cached) " >&6
   3007 else
   3008   if test -n "$CC"; then
   3009   ac_cv_prog_CC="$CC" # Let the user override the test.
   3010 else
   3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3012 for as_dir in $PATH
   3013 do
   3014   IFS=$as_save_IFS
   3015   test -z "$as_dir" && as_dir=.
   3016     for ac_exec_ext in '' $ac_executable_extensions; do
   3017   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3018     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3020     break 2
   3021   fi
   3022 done
   3023   done
   3024 IFS=$as_save_IFS
   3025 
   3026 fi
   3027 fi
   3028 CC=$ac_cv_prog_CC
   3029 if test -n "$CC"; then
   3030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3031 $as_echo "$CC" >&6; }
   3032 else
   3033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3034 $as_echo "no" >&6; }
   3035 fi
   3036 
   3037 
   3038   fi
   3039 fi
   3040 if test -z "$CC"; then
   3041   # Extract the first word of "cc", so it can be a program name with args.
   3042 set dummy cc; ac_word=$2
   3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3044 $as_echo_n "checking for $ac_word... " >&6; }
   3045 if ${ac_cv_prog_CC+:} false; then :
   3046   $as_echo_n "(cached) " >&6
   3047 else
   3048   if test -n "$CC"; then
   3049   ac_cv_prog_CC="$CC" # Let the user override the test.
   3050 else
   3051   ac_prog_rejected=no
   3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3053 for as_dir in $PATH
   3054 do
   3055   IFS=$as_save_IFS
   3056   test -z "$as_dir" && as_dir=.
   3057     for ac_exec_ext in '' $ac_executable_extensions; do
   3058   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3059     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3060        ac_prog_rejected=yes
   3061        continue
   3062      fi
   3063     ac_cv_prog_CC="cc"
   3064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3065     break 2
   3066   fi
   3067 done
   3068   done
   3069 IFS=$as_save_IFS
   3070 
   3071 if test $ac_prog_rejected = yes; then
   3072   # We found a bogon in the path, so make sure we never use it.
   3073   set dummy $ac_cv_prog_CC
   3074   shift
   3075   if test $# != 0; then
   3076     # We chose a different compiler from the bogus one.
   3077     # However, it has the same basename, so the bogon will be chosen
   3078     # first if we set CC to just the basename; use the full file name.
   3079     shift
   3080     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3081   fi
   3082 fi
   3083 fi
   3084 fi
   3085 CC=$ac_cv_prog_CC
   3086 if test -n "$CC"; then
   3087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3088 $as_echo "$CC" >&6; }
   3089 else
   3090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3091 $as_echo "no" >&6; }
   3092 fi
   3093 
   3094 
   3095 fi
   3096 if test -z "$CC"; then
   3097   if test -n "$ac_tool_prefix"; then
   3098   for ac_prog in cl.exe
   3099   do
   3100     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3103 $as_echo_n "checking for $ac_word... " >&6; }
   3104 if ${ac_cv_prog_CC+:} false; then :
   3105   $as_echo_n "(cached) " >&6
   3106 else
   3107   if test -n "$CC"; then
   3108   ac_cv_prog_CC="$CC" # Let the user override the test.
   3109 else
   3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3111 for as_dir in $PATH
   3112 do
   3113   IFS=$as_save_IFS
   3114   test -z "$as_dir" && as_dir=.
   3115     for ac_exec_ext in '' $ac_executable_extensions; do
   3116   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3117     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3118     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3119     break 2
   3120   fi
   3121 done
   3122   done
   3123 IFS=$as_save_IFS
   3124 
   3125 fi
   3126 fi
   3127 CC=$ac_cv_prog_CC
   3128 if test -n "$CC"; then
   3129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3130 $as_echo "$CC" >&6; }
   3131 else
   3132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3133 $as_echo "no" >&6; }
   3134 fi
   3135 
   3136 
   3137     test -n "$CC" && break
   3138   done
   3139 fi
   3140 if test -z "$CC"; then
   3141   ac_ct_CC=$CC
   3142   for ac_prog in cl.exe
   3143 do
   3144   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3145 set dummy $ac_prog; ac_word=$2
   3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3147 $as_echo_n "checking for $ac_word... " >&6; }
   3148 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3149   $as_echo_n "(cached) " >&6
   3150 else
   3151   if test -n "$ac_ct_CC"; then
   3152   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3153 else
   3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3155 for as_dir in $PATH
   3156 do
   3157   IFS=$as_save_IFS
   3158   test -z "$as_dir" && as_dir=.
   3159     for ac_exec_ext in '' $ac_executable_extensions; do
   3160   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3161     ac_cv_prog_ac_ct_CC="$ac_prog"
   3162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3163     break 2
   3164   fi
   3165 done
   3166   done
   3167 IFS=$as_save_IFS
   3168 
   3169 fi
   3170 fi
   3171 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3172 if test -n "$ac_ct_CC"; then
   3173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3174 $as_echo "$ac_ct_CC" >&6; }
   3175 else
   3176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3177 $as_echo "no" >&6; }
   3178 fi
   3179 
   3180 
   3181   test -n "$ac_ct_CC" && break
   3182 done
   3183 
   3184   if test "x$ac_ct_CC" = x; then
   3185     CC=""
   3186   else
   3187     case $cross_compiling:$ac_tool_warned in
   3188 yes:)
   3189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3191 ac_tool_warned=yes ;;
   3192 esac
   3193     CC=$ac_ct_CC
   3194   fi
   3195 fi
   3196 
   3197 fi
   3198 
   3199 
   3200 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3202 as_fn_error $? "no acceptable C compiler found in \$PATH
   3203 See \`config.log' for more details" "$LINENO" 5; }
   3204 
   3205 # Provide some information about the compiler.
   3206 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3207 set X $ac_compile
   3208 ac_compiler=$2
   3209 for ac_option in --version -v -V -qversion; do
   3210   { { ac_try="$ac_compiler $ac_option >&5"
   3211 case "(($ac_try" in
   3212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3213   *) ac_try_echo=$ac_try;;
   3214 esac
   3215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3216 $as_echo "$ac_try_echo"; } >&5
   3217   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3218   ac_status=$?
   3219   if test -s conftest.err; then
   3220     sed '10a\
   3221 ... rest of stderr output deleted ...
   3222          10q' conftest.err >conftest.er1
   3223     cat conftest.er1 >&5
   3224   fi
   3225   rm -f conftest.er1 conftest.err
   3226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3227   test $ac_status = 0; }
   3228 done
   3229 
   3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3231 /* end confdefs.h.  */
   3232 
   3233 int
   3234 main ()
   3235 {
   3236 
   3237   ;
   3238   return 0;
   3239 }
   3240 _ACEOF
   3241 ac_clean_files_save=$ac_clean_files
   3242 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3243 # Try to create an executable without -o first, disregard a.out.
   3244 # It will help us diagnose broken compilers, and finding out an intuition
   3245 # of exeext.
   3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3247 $as_echo_n "checking whether the C compiler works... " >&6; }
   3248 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3249 
   3250 # The possible output files:
   3251 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3252 
   3253 ac_rmfiles=
   3254 for ac_file in $ac_files
   3255 do
   3256   case $ac_file in
   3257     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3258     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3259   esac
   3260 done
   3261 rm -f $ac_rmfiles
   3262 
   3263 if { { ac_try="$ac_link_default"
   3264 case "(($ac_try" in
   3265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3266   *) ac_try_echo=$ac_try;;
   3267 esac
   3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3269 $as_echo "$ac_try_echo"; } >&5
   3270   (eval "$ac_link_default") 2>&5
   3271   ac_status=$?
   3272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3273   test $ac_status = 0; }; then :
   3274   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3275 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3276 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3277 # so that the user can short-circuit this test for compilers unknown to
   3278 # Autoconf.
   3279 for ac_file in $ac_files ''
   3280 do
   3281   test -f "$ac_file" || continue
   3282   case $ac_file in
   3283     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3284 	;;
   3285     [ab].out )
   3286 	# We found the default executable, but exeext='' is most
   3287 	# certainly right.
   3288 	break;;
   3289     *.* )
   3290 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3291 	then :; else
   3292 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3293 	fi
   3294 	# We set ac_cv_exeext here because the later test for it is not
   3295 	# safe: cross compilers may not add the suffix if given an `-o'
   3296 	# argument, so we may need to know it at that point already.
   3297 	# Even if this section looks crufty: it has the advantage of
   3298 	# actually working.
   3299 	break;;
   3300     * )
   3301 	break;;
   3302   esac
   3303 done
   3304 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3305 
   3306 else
   3307   ac_file=''
   3308 fi
   3309 if test -z "$ac_file"; then :
   3310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3311 $as_echo "no" >&6; }
   3312 $as_echo "$as_me: failed program was:" >&5
   3313 sed 's/^/| /' conftest.$ac_ext >&5
   3314 
   3315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3317 as_fn_error 77 "C compiler cannot create executables
   3318 See \`config.log' for more details" "$LINENO" 5; }
   3319 else
   3320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3321 $as_echo "yes" >&6; }
   3322 fi
   3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3324 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3326 $as_echo "$ac_file" >&6; }
   3327 ac_exeext=$ac_cv_exeext
   3328 
   3329 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3330 ac_clean_files=$ac_clean_files_save
   3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3332 $as_echo_n "checking for suffix of executables... " >&6; }
   3333 if { { ac_try="$ac_link"
   3334 case "(($ac_try" in
   3335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3336   *) ac_try_echo=$ac_try;;
   3337 esac
   3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3339 $as_echo "$ac_try_echo"; } >&5
   3340   (eval "$ac_link") 2>&5
   3341   ac_status=$?
   3342   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3343   test $ac_status = 0; }; then :
   3344   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3345 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3346 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3347 # `rm'.
   3348 for ac_file in conftest.exe conftest conftest.*; do
   3349   test -f "$ac_file" || continue
   3350   case $ac_file in
   3351     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3352     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3353 	  break;;
   3354     * ) break;;
   3355   esac
   3356 done
   3357 else
   3358   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3360 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3361 See \`config.log' for more details" "$LINENO" 5; }
   3362 fi
   3363 rm -f conftest conftest$ac_cv_exeext
   3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3365 $as_echo "$ac_cv_exeext" >&6; }
   3366 
   3367 rm -f conftest.$ac_ext
   3368 EXEEXT=$ac_cv_exeext
   3369 ac_exeext=$EXEEXT
   3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3371 /* end confdefs.h.  */
   3372 #include <stdio.h>
   3373 int
   3374 main ()
   3375 {
   3376 FILE *f = fopen ("conftest.out", "w");
   3377  return ferror (f) || fclose (f) != 0;
   3378 
   3379   ;
   3380   return 0;
   3381 }
   3382 _ACEOF
   3383 ac_clean_files="$ac_clean_files conftest.out"
   3384 # Check that the compiler produces executables we can run.  If not, either
   3385 # the compiler is broken, or we cross compile.
   3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3387 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3388 if test "$cross_compiling" != yes; then
   3389   { { ac_try="$ac_link"
   3390 case "(($ac_try" in
   3391   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3392   *) ac_try_echo=$ac_try;;
   3393 esac
   3394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3395 $as_echo "$ac_try_echo"; } >&5
   3396   (eval "$ac_link") 2>&5
   3397   ac_status=$?
   3398   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3399   test $ac_status = 0; }
   3400   if { ac_try='./conftest$ac_cv_exeext'
   3401   { { case "(($ac_try" in
   3402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3403   *) ac_try_echo=$ac_try;;
   3404 esac
   3405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3406 $as_echo "$ac_try_echo"; } >&5
   3407   (eval "$ac_try") 2>&5
   3408   ac_status=$?
   3409   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3410   test $ac_status = 0; }; }; then
   3411     cross_compiling=no
   3412   else
   3413     if test "$cross_compiling" = maybe; then
   3414 	cross_compiling=yes
   3415     else
   3416 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3418 as_fn_error $? "cannot run C compiled programs.
   3419 If you meant to cross compile, use \`--host'.
   3420 See \`config.log' for more details" "$LINENO" 5; }
   3421     fi
   3422   fi
   3423 fi
   3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3425 $as_echo "$cross_compiling" >&6; }
   3426 
   3427 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3428 ac_clean_files=$ac_clean_files_save
   3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3430 $as_echo_n "checking for suffix of object files... " >&6; }
   3431 if ${ac_cv_objext+:} false; then :
   3432   $as_echo_n "(cached) " >&6
   3433 else
   3434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3435 /* end confdefs.h.  */
   3436 
   3437 int
   3438 main ()
   3439 {
   3440 
   3441   ;
   3442   return 0;
   3443 }
   3444 _ACEOF
   3445 rm -f conftest.o conftest.obj
   3446 if { { ac_try="$ac_compile"
   3447 case "(($ac_try" in
   3448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3449   *) ac_try_echo=$ac_try;;
   3450 esac
   3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3452 $as_echo "$ac_try_echo"; } >&5
   3453   (eval "$ac_compile") 2>&5
   3454   ac_status=$?
   3455   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3456   test $ac_status = 0; }; then :
   3457   for ac_file in conftest.o conftest.obj conftest.*; do
   3458   test -f "$ac_file" || continue;
   3459   case $ac_file in
   3460     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3461     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3462        break;;
   3463   esac
   3464 done
   3465 else
   3466   $as_echo "$as_me: failed program was:" >&5
   3467 sed 's/^/| /' conftest.$ac_ext >&5
   3468 
   3469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3471 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3472 See \`config.log' for more details" "$LINENO" 5; }
   3473 fi
   3474 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3475 fi
   3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3477 $as_echo "$ac_cv_objext" >&6; }
   3478 OBJEXT=$ac_cv_objext
   3479 ac_objext=$OBJEXT
   3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3481 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3482 if ${ac_cv_c_compiler_gnu+:} false; then :
   3483   $as_echo_n "(cached) " >&6
   3484 else
   3485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3486 /* end confdefs.h.  */
   3487 
   3488 int
   3489 main ()
   3490 {
   3491 #ifndef __GNUC__
   3492        choke me
   3493 #endif
   3494 
   3495   ;
   3496   return 0;
   3497 }
   3498 _ACEOF
   3499 if ac_fn_c_try_compile "$LINENO"; then :
   3500   ac_compiler_gnu=yes
   3501 else
   3502   ac_compiler_gnu=no
   3503 fi
   3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3505 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3506 
   3507 fi
   3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3509 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3510 if test $ac_compiler_gnu = yes; then
   3511   GCC=yes
   3512 else
   3513   GCC=
   3514 fi
   3515 ac_test_CFLAGS=${CFLAGS+set}
   3516 ac_save_CFLAGS=$CFLAGS
   3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3518 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3519 if ${ac_cv_prog_cc_g+:} false; then :
   3520   $as_echo_n "(cached) " >&6
   3521 else
   3522   ac_save_c_werror_flag=$ac_c_werror_flag
   3523    ac_c_werror_flag=yes
   3524    ac_cv_prog_cc_g=no
   3525    CFLAGS="-g"
   3526    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3527 /* end confdefs.h.  */
   3528 
   3529 int
   3530 main ()
   3531 {
   3532 
   3533   ;
   3534   return 0;
   3535 }
   3536 _ACEOF
   3537 if ac_fn_c_try_compile "$LINENO"; then :
   3538   ac_cv_prog_cc_g=yes
   3539 else
   3540   CFLAGS=""
   3541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3542 /* end confdefs.h.  */
   3543 
   3544 int
   3545 main ()
   3546 {
   3547 
   3548   ;
   3549   return 0;
   3550 }
   3551 _ACEOF
   3552 if ac_fn_c_try_compile "$LINENO"; then :
   3553 
   3554 else
   3555   ac_c_werror_flag=$ac_save_c_werror_flag
   3556 	 CFLAGS="-g"
   3557 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3558 /* end confdefs.h.  */
   3559 
   3560 int
   3561 main ()
   3562 {
   3563 
   3564   ;
   3565   return 0;
   3566 }
   3567 _ACEOF
   3568 if ac_fn_c_try_compile "$LINENO"; then :
   3569   ac_cv_prog_cc_g=yes
   3570 fi
   3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3572 fi
   3573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3574 fi
   3575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3576    ac_c_werror_flag=$ac_save_c_werror_flag
   3577 fi
   3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3579 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3580 if test "$ac_test_CFLAGS" = set; then
   3581   CFLAGS=$ac_save_CFLAGS
   3582 elif test $ac_cv_prog_cc_g = yes; then
   3583   if test "$GCC" = yes; then
   3584     CFLAGS="-g -O2"
   3585   else
   3586     CFLAGS="-g"
   3587   fi
   3588 else
   3589   if test "$GCC" = yes; then
   3590     CFLAGS="-O2"
   3591   else
   3592     CFLAGS=
   3593   fi
   3594 fi
   3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3596 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3597 if ${ac_cv_prog_cc_c89+:} false; then :
   3598   $as_echo_n "(cached) " >&6
   3599 else
   3600   ac_cv_prog_cc_c89=no
   3601 ac_save_CC=$CC
   3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3603 /* end confdefs.h.  */
   3604 #include <stdarg.h>
   3605 #include <stdio.h>
   3606 struct stat;
   3607 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3608 struct buf { int x; };
   3609 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3610 static char *e (p, i)
   3611      char **p;
   3612      int i;
   3613 {
   3614   return p[i];
   3615 }
   3616 static char *f (char * (*g) (char **, int), char **p, ...)
   3617 {
   3618   char *s;
   3619   va_list v;
   3620   va_start (v,p);
   3621   s = g (p, va_arg (v,int));
   3622   va_end (v);
   3623   return s;
   3624 }
   3625 
   3626 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3627    function prototypes and stuff, but not '\xHH' hex character constants.
   3628    These don't provoke an error unfortunately, instead are silently treated
   3629    as 'x'.  The following induces an error, until -std is added to get
   3630    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3631    array size at least.  It's necessary to write '\x00'==0 to get something
   3632    that's true only with -std.  */
   3633 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3634 
   3635 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3636    inside strings and character constants.  */
   3637 #define FOO(x) 'x'
   3638 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3639 
   3640 int test (int i, double x);
   3641 struct s1 {int (*f) (int a);};
   3642 struct s2 {int (*f) (double a);};
   3643 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3644 int argc;
   3645 char **argv;
   3646 int
   3647 main ()
   3648 {
   3649 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3650   ;
   3651   return 0;
   3652 }
   3653 _ACEOF
   3654 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3655 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3656 do
   3657   CC="$ac_save_CC $ac_arg"
   3658   if ac_fn_c_try_compile "$LINENO"; then :
   3659   ac_cv_prog_cc_c89=$ac_arg
   3660 fi
   3661 rm -f core conftest.err conftest.$ac_objext
   3662   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3663 done
   3664 rm -f conftest.$ac_ext
   3665 CC=$ac_save_CC
   3666 
   3667 fi
   3668 # AC_CACHE_VAL
   3669 case "x$ac_cv_prog_cc_c89" in
   3670   x)
   3671     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3672 $as_echo "none needed" >&6; } ;;
   3673   xno)
   3674     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3675 $as_echo "unsupported" >&6; } ;;
   3676   *)
   3677     CC="$CC $ac_cv_prog_cc_c89"
   3678     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3679 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3680 esac
   3681 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3682 
   3683 fi
   3684 
   3685 ac_ext=c
   3686 ac_cpp='$CPP $CPPFLAGS'
   3687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3690 
   3691 
   3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   3693 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   3694 if ${ac_cv_lib_dl_dlopen+:} false; then :
   3695   $as_echo_n "(cached) " >&6
   3696 else
   3697   ac_check_lib_save_LIBS=$LIBS
   3698 LIBS="-ldl  $LIBS"
   3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3700 /* end confdefs.h.  */
   3701 
   3702 /* Override any GCC internal prototype to avoid an error.
   3703    Use char because int might match the return type of a GCC
   3704    builtin and then its argument prototype would still apply.  */
   3705 #ifdef __cplusplus
   3706 extern "C"
   3707 #endif
   3708 char dlopen ();
   3709 int
   3710 main ()
   3711 {
   3712 return dlopen ();
   3713   ;
   3714   return 0;
   3715 }
   3716 _ACEOF
   3717 if ac_fn_c_try_link "$LINENO"; then :
   3718   ac_cv_lib_dl_dlopen=yes
   3719 else
   3720   ac_cv_lib_dl_dlopen=no
   3721 fi
   3722 rm -f core conftest.err conftest.$ac_objext \
   3723     conftest$ac_exeext conftest.$ac_ext
   3724 LIBS=$ac_check_lib_save_LIBS
   3725 fi
   3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   3727 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   3728 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   3729   DLOPEN_LIB=-ldl
   3730 fi
   3731 
   3732 
   3733 
   3734 # Check whether --with-cc was given.
   3735 if test "${with_cc+set}" = set; then :
   3736   withval=$with_cc; as_fn_error $? "--with-cc no longer supported; use CC= instead" "$LINENO" 5
   3737 fi
   3738 
   3739 
   3740 # Check whether --with-ccopts was given.
   3741 if test "${with_ccopts+set}" = set; then :
   3742   withval=$with_ccopts; as_fn_error $? "--with-ccopts no longer supported; use CFLAGS= instead" "$LINENO" 5
   3743 fi
   3744 
   3745 
   3746 # Check whether --with-ldopts was given.
   3747 if test "${with_ldopts+set}" = set; then :
   3748   withval=$with_ldopts; as_fn_error $? "--with-ldopts no longer supported; use LDFLAGS= instead" "$LINENO" 5
   3749 fi
   3750 
   3751 ac_ext=c
   3752 ac_cpp='$CPP $CPPFLAGS'
   3753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3756 if test -n "$ac_tool_prefix"; then
   3757   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3758 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3760 $as_echo_n "checking for $ac_word... " >&6; }
   3761 if ${ac_cv_prog_CC+:} false; then :
   3762   $as_echo_n "(cached) " >&6
   3763 else
   3764   if test -n "$CC"; then
   3765   ac_cv_prog_CC="$CC" # Let the user override the test.
   3766 else
   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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3774     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3776     break 2
   3777   fi
   3778 done
   3779   done
   3780 IFS=$as_save_IFS
   3781 
   3782 fi
   3783 fi
   3784 CC=$ac_cv_prog_CC
   3785 if test -n "$CC"; then
   3786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3787 $as_echo "$CC" >&6; }
   3788 else
   3789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3790 $as_echo "no" >&6; }
   3791 fi
   3792 
   3793 
   3794 fi
   3795 if test -z "$ac_cv_prog_CC"; then
   3796   ac_ct_CC=$CC
   3797   # Extract the first word of "gcc", so it can be a program name with args.
   3798 set dummy gcc; ac_word=$2
   3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3800 $as_echo_n "checking for $ac_word... " >&6; }
   3801 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3802   $as_echo_n "(cached) " >&6
   3803 else
   3804   if test -n "$ac_ct_CC"; then
   3805   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3806 else
   3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3808 for as_dir in $PATH
   3809 do
   3810   IFS=$as_save_IFS
   3811   test -z "$as_dir" && as_dir=.
   3812     for ac_exec_ext in '' $ac_executable_extensions; do
   3813   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3814     ac_cv_prog_ac_ct_CC="gcc"
   3815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3816     break 2
   3817   fi
   3818 done
   3819   done
   3820 IFS=$as_save_IFS
   3821 
   3822 fi
   3823 fi
   3824 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3825 if test -n "$ac_ct_CC"; then
   3826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3827 $as_echo "$ac_ct_CC" >&6; }
   3828 else
   3829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3830 $as_echo "no" >&6; }
   3831 fi
   3832 
   3833   if test "x$ac_ct_CC" = x; then
   3834     CC=""
   3835   else
   3836     case $cross_compiling:$ac_tool_warned in
   3837 yes:)
   3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3840 ac_tool_warned=yes ;;
   3841 esac
   3842     CC=$ac_ct_CC
   3843   fi
   3844 else
   3845   CC="$ac_cv_prog_CC"
   3846 fi
   3847 
   3848 if test -z "$CC"; then
   3849           if test -n "$ac_tool_prefix"; then
   3850     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3851 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3853 $as_echo_n "checking for $ac_word... " >&6; }
   3854 if ${ac_cv_prog_CC+:} false; then :
   3855   $as_echo_n "(cached) " >&6
   3856 else
   3857   if test -n "$CC"; then
   3858   ac_cv_prog_CC="$CC" # Let the user override the test.
   3859 else
   3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3861 for as_dir in $PATH
   3862 do
   3863   IFS=$as_save_IFS
   3864   test -z "$as_dir" && as_dir=.
   3865     for ac_exec_ext in '' $ac_executable_extensions; do
   3866   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3867     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3869     break 2
   3870   fi
   3871 done
   3872   done
   3873 IFS=$as_save_IFS
   3874 
   3875 fi
   3876 fi
   3877 CC=$ac_cv_prog_CC
   3878 if test -n "$CC"; then
   3879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3880 $as_echo "$CC" >&6; }
   3881 else
   3882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3883 $as_echo "no" >&6; }
   3884 fi
   3885 
   3886 
   3887   fi
   3888 fi
   3889 if test -z "$CC"; then
   3890   # Extract the first word of "cc", so it can be a program name with args.
   3891 set dummy cc; ac_word=$2
   3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3893 $as_echo_n "checking for $ac_word... " >&6; }
   3894 if ${ac_cv_prog_CC+:} false; then :
   3895   $as_echo_n "(cached) " >&6
   3896 else
   3897   if test -n "$CC"; then
   3898   ac_cv_prog_CC="$CC" # Let the user override the test.
   3899 else
   3900   ac_prog_rejected=no
   3901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3902 for as_dir in $PATH
   3903 do
   3904   IFS=$as_save_IFS
   3905   test -z "$as_dir" && as_dir=.
   3906     for ac_exec_ext in '' $ac_executable_extensions; do
   3907   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3908     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3909        ac_prog_rejected=yes
   3910        continue
   3911      fi
   3912     ac_cv_prog_CC="cc"
   3913     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3914     break 2
   3915   fi
   3916 done
   3917   done
   3918 IFS=$as_save_IFS
   3919 
   3920 if test $ac_prog_rejected = yes; then
   3921   # We found a bogon in the path, so make sure we never use it.
   3922   set dummy $ac_cv_prog_CC
   3923   shift
   3924   if test $# != 0; then
   3925     # We chose a different compiler from the bogus one.
   3926     # However, it has the same basename, so the bogon will be chosen
   3927     # first if we set CC to just the basename; use the full file name.
   3928     shift
   3929     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3930   fi
   3931 fi
   3932 fi
   3933 fi
   3934 CC=$ac_cv_prog_CC
   3935 if test -n "$CC"; then
   3936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3937 $as_echo "$CC" >&6; }
   3938 else
   3939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3940 $as_echo "no" >&6; }
   3941 fi
   3942 
   3943 
   3944 fi
   3945 if test -z "$CC"; then
   3946   if test -n "$ac_tool_prefix"; then
   3947   for ac_prog in cl.exe
   3948   do
   3949     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3950 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3952 $as_echo_n "checking for $ac_word... " >&6; }
   3953 if ${ac_cv_prog_CC+:} false; then :
   3954   $as_echo_n "(cached) " >&6
   3955 else
   3956   if test -n "$CC"; then
   3957   ac_cv_prog_CC="$CC" # Let the user override the test.
   3958 else
   3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3960 for as_dir in $PATH
   3961 do
   3962   IFS=$as_save_IFS
   3963   test -z "$as_dir" && as_dir=.
   3964     for ac_exec_ext in '' $ac_executable_extensions; do
   3965   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3966     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3968     break 2
   3969   fi
   3970 done
   3971   done
   3972 IFS=$as_save_IFS
   3973 
   3974 fi
   3975 fi
   3976 CC=$ac_cv_prog_CC
   3977 if test -n "$CC"; then
   3978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3979 $as_echo "$CC" >&6; }
   3980 else
   3981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3982 $as_echo "no" >&6; }
   3983 fi
   3984 
   3985 
   3986     test -n "$CC" && break
   3987   done
   3988 fi
   3989 if test -z "$CC"; then
   3990   ac_ct_CC=$CC
   3991   for ac_prog in cl.exe
   3992 do
   3993   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3994 set dummy $ac_prog; ac_word=$2
   3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3996 $as_echo_n "checking for $ac_word... " >&6; }
   3997 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3998   $as_echo_n "(cached) " >&6
   3999 else
   4000   if test -n "$ac_ct_CC"; then
   4001   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4002 else
   4003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4004 for as_dir in $PATH
   4005 do
   4006   IFS=$as_save_IFS
   4007   test -z "$as_dir" && as_dir=.
   4008     for ac_exec_ext in '' $ac_executable_extensions; do
   4009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4010     ac_cv_prog_ac_ct_CC="$ac_prog"
   4011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4012     break 2
   4013   fi
   4014 done
   4015   done
   4016 IFS=$as_save_IFS
   4017 
   4018 fi
   4019 fi
   4020 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4021 if test -n "$ac_ct_CC"; then
   4022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4023 $as_echo "$ac_ct_CC" >&6; }
   4024 else
   4025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4026 $as_echo "no" >&6; }
   4027 fi
   4028 
   4029 
   4030   test -n "$ac_ct_CC" && break
   4031 done
   4032 
   4033   if test "x$ac_ct_CC" = x; then
   4034     CC=""
   4035   else
   4036     case $cross_compiling:$ac_tool_warned in
   4037 yes:)
   4038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4040 ac_tool_warned=yes ;;
   4041 esac
   4042     CC=$ac_ct_CC
   4043   fi
   4044 fi
   4045 
   4046 fi
   4047 
   4048 
   4049 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4051 as_fn_error $? "no acceptable C compiler found in \$PATH
   4052 See \`config.log' for more details" "$LINENO" 5; }
   4053 
   4054 # Provide some information about the compiler.
   4055 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4056 set X $ac_compile
   4057 ac_compiler=$2
   4058 for ac_option in --version -v -V -qversion; do
   4059   { { ac_try="$ac_compiler $ac_option >&5"
   4060 case "(($ac_try" in
   4061   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4062   *) ac_try_echo=$ac_try;;
   4063 esac
   4064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4065 $as_echo "$ac_try_echo"; } >&5
   4066   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4067   ac_status=$?
   4068   if test -s conftest.err; then
   4069     sed '10a\
   4070 ... rest of stderr output deleted ...
   4071          10q' conftest.err >conftest.er1
   4072     cat conftest.er1 >&5
   4073   fi
   4074   rm -f conftest.er1 conftest.err
   4075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4076   test $ac_status = 0; }
   4077 done
   4078 
   4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4080 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4081 if ${ac_cv_c_compiler_gnu+:} false; then :
   4082   $as_echo_n "(cached) " >&6
   4083 else
   4084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4085 /* end confdefs.h.  */
   4086 
   4087 int
   4088 main ()
   4089 {
   4090 #ifndef __GNUC__
   4091        choke me
   4092 #endif
   4093 
   4094   ;
   4095   return 0;
   4096 }
   4097 _ACEOF
   4098 if ac_fn_c_try_compile "$LINENO"; then :
   4099   ac_compiler_gnu=yes
   4100 else
   4101   ac_compiler_gnu=no
   4102 fi
   4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4104 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4105 
   4106 fi
   4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4108 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4109 if test $ac_compiler_gnu = yes; then
   4110   GCC=yes
   4111 else
   4112   GCC=
   4113 fi
   4114 ac_test_CFLAGS=${CFLAGS+set}
   4115 ac_save_CFLAGS=$CFLAGS
   4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4117 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4118 if ${ac_cv_prog_cc_g+:} false; then :
   4119   $as_echo_n "(cached) " >&6
   4120 else
   4121   ac_save_c_werror_flag=$ac_c_werror_flag
   4122    ac_c_werror_flag=yes
   4123    ac_cv_prog_cc_g=no
   4124    CFLAGS="-g"
   4125    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4126 /* end confdefs.h.  */
   4127 
   4128 int
   4129 main ()
   4130 {
   4131 
   4132   ;
   4133   return 0;
   4134 }
   4135 _ACEOF
   4136 if ac_fn_c_try_compile "$LINENO"; then :
   4137   ac_cv_prog_cc_g=yes
   4138 else
   4139   CFLAGS=""
   4140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4141 /* end confdefs.h.  */
   4142 
   4143 int
   4144 main ()
   4145 {
   4146 
   4147   ;
   4148   return 0;
   4149 }
   4150 _ACEOF
   4151 if ac_fn_c_try_compile "$LINENO"; then :
   4152 
   4153 else
   4154   ac_c_werror_flag=$ac_save_c_werror_flag
   4155 	 CFLAGS="-g"
   4156 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4157 /* end confdefs.h.  */
   4158 
   4159 int
   4160 main ()
   4161 {
   4162 
   4163   ;
   4164   return 0;
   4165 }
   4166 _ACEOF
   4167 if ac_fn_c_try_compile "$LINENO"; then :
   4168   ac_cv_prog_cc_g=yes
   4169 fi
   4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4171 fi
   4172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4173 fi
   4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4175    ac_c_werror_flag=$ac_save_c_werror_flag
   4176 fi
   4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4178 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4179 if test "$ac_test_CFLAGS" = set; then
   4180   CFLAGS=$ac_save_CFLAGS
   4181 elif test $ac_cv_prog_cc_g = yes; then
   4182   if test "$GCC" = yes; then
   4183     CFLAGS="-g -O2"
   4184   else
   4185     CFLAGS="-g"
   4186   fi
   4187 else
   4188   if test "$GCC" = yes; then
   4189     CFLAGS="-O2"
   4190   else
   4191     CFLAGS=
   4192   fi
   4193 fi
   4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4195 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4196 if ${ac_cv_prog_cc_c89+:} false; then :
   4197   $as_echo_n "(cached) " >&6
   4198 else
   4199   ac_cv_prog_cc_c89=no
   4200 ac_save_CC=$CC
   4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4202 /* end confdefs.h.  */
   4203 #include <stdarg.h>
   4204 #include <stdio.h>
   4205 struct stat;
   4206 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4207 struct buf { int x; };
   4208 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4209 static char *e (p, i)
   4210      char **p;
   4211      int i;
   4212 {
   4213   return p[i];
   4214 }
   4215 static char *f (char * (*g) (char **, int), char **p, ...)
   4216 {
   4217   char *s;
   4218   va_list v;
   4219   va_start (v,p);
   4220   s = g (p, va_arg (v,int));
   4221   va_end (v);
   4222   return s;
   4223 }
   4224 
   4225 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4226    function prototypes and stuff, but not '\xHH' hex character constants.
   4227    These don't provoke an error unfortunately, instead are silently treated
   4228    as 'x'.  The following induces an error, until -std is added to get
   4229    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4230    array size at least.  It's necessary to write '\x00'==0 to get something
   4231    that's true only with -std.  */
   4232 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4233 
   4234 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4235    inside strings and character constants.  */
   4236 #define FOO(x) 'x'
   4237 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4238 
   4239 int test (int i, double x);
   4240 struct s1 {int (*f) (int a);};
   4241 struct s2 {int (*f) (double a);};
   4242 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4243 int argc;
   4244 char **argv;
   4245 int
   4246 main ()
   4247 {
   4248 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4249   ;
   4250   return 0;
   4251 }
   4252 _ACEOF
   4253 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4254 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4255 do
   4256   CC="$ac_save_CC $ac_arg"
   4257   if ac_fn_c_try_compile "$LINENO"; then :
   4258   ac_cv_prog_cc_c89=$ac_arg
   4259 fi
   4260 rm -f core conftest.err conftest.$ac_objext
   4261   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4262 done
   4263 rm -f conftest.$ac_ext
   4264 CC=$ac_save_CC
   4265 
   4266 fi
   4267 # AC_CACHE_VAL
   4268 case "x$ac_cv_prog_cc_c89" in
   4269   x)
   4270     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4271 $as_echo "none needed" >&6; } ;;
   4272   xno)
   4273     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4274 $as_echo "unsupported" >&6; } ;;
   4275   *)
   4276     CC="$CC $ac_cv_prog_cc_c89"
   4277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4278 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4279 esac
   4280 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4281 
   4282 fi
   4283 
   4284 ac_ext=c
   4285 ac_cpp='$CPP $CPPFLAGS'
   4286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4289 
   4290 if test "$GCC" = yes; then
   4291    RDYNAMIC="-rdynamic"
   4292 
   4293 fi
   4294 ac_ext=c
   4295 ac_cpp='$CPP $CPPFLAGS'
   4296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4300 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4301 # On Suns, sometimes $CPP names a directory.
   4302 if test -n "$CPP" && test -d "$CPP"; then
   4303   CPP=
   4304 fi
   4305 if test -z "$CPP"; then
   4306   if ${ac_cv_prog_CPP+:} false; then :
   4307   $as_echo_n "(cached) " >&6
   4308 else
   4309       # Double quotes because CPP needs to be expanded
   4310     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4311     do
   4312       ac_preproc_ok=false
   4313 for ac_c_preproc_warn_flag in '' yes
   4314 do
   4315   # Use a header file that comes with gcc, so configuring glibc
   4316   # with a fresh cross-compiler works.
   4317   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4318   # <limits.h> exists even on freestanding compilers.
   4319   # On the NeXT, cc -E runs the code through the compiler's parser,
   4320   # not just through cpp. "Syntax error" is here to catch this case.
   4321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4322 /* end confdefs.h.  */
   4323 #ifdef __STDC__
   4324 # include <limits.h>
   4325 #else
   4326 # include <assert.h>
   4327 #endif
   4328 		     Syntax error
   4329 _ACEOF
   4330 if ac_fn_c_try_cpp "$LINENO"; then :
   4331 
   4332 else
   4333   # Broken: fails on valid input.
   4334 continue
   4335 fi
   4336 rm -f conftest.err conftest.i conftest.$ac_ext
   4337 
   4338   # OK, works on sane cases.  Now check whether nonexistent headers
   4339   # can be detected and how.
   4340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4341 /* end confdefs.h.  */
   4342 #include <ac_nonexistent.h>
   4343 _ACEOF
   4344 if ac_fn_c_try_cpp "$LINENO"; then :
   4345   # Broken: success on invalid input.
   4346 continue
   4347 else
   4348   # Passes both tests.
   4349 ac_preproc_ok=:
   4350 break
   4351 fi
   4352 rm -f conftest.err conftest.i conftest.$ac_ext
   4353 
   4354 done
   4355 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4356 rm -f conftest.i conftest.err conftest.$ac_ext
   4357 if $ac_preproc_ok; then :
   4358   break
   4359 fi
   4360 
   4361     done
   4362     ac_cv_prog_CPP=$CPP
   4363 
   4364 fi
   4365   CPP=$ac_cv_prog_CPP
   4366 else
   4367   ac_cv_prog_CPP=$CPP
   4368 fi
   4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4370 $as_echo "$CPP" >&6; }
   4371 ac_preproc_ok=false
   4372 for ac_c_preproc_warn_flag in '' yes
   4373 do
   4374   # Use a header file that comes with gcc, so configuring glibc
   4375   # with a fresh cross-compiler works.
   4376   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4377   # <limits.h> exists even on freestanding compilers.
   4378   # On the NeXT, cc -E runs the code through the compiler's parser,
   4379   # not just through cpp. "Syntax error" is here to catch this case.
   4380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4381 /* end confdefs.h.  */
   4382 #ifdef __STDC__
   4383 # include <limits.h>
   4384 #else
   4385 # include <assert.h>
   4386 #endif
   4387 		     Syntax error
   4388 _ACEOF
   4389 if ac_fn_c_try_cpp "$LINENO"; then :
   4390 
   4391 else
   4392   # Broken: fails on valid input.
   4393 continue
   4394 fi
   4395 rm -f conftest.err conftest.i conftest.$ac_ext
   4396 
   4397   # OK, works on sane cases.  Now check whether nonexistent headers
   4398   # can be detected and how.
   4399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4400 /* end confdefs.h.  */
   4401 #include <ac_nonexistent.h>
   4402 _ACEOF
   4403 if ac_fn_c_try_cpp "$LINENO"; then :
   4404   # Broken: success on invalid input.
   4405 continue
   4406 else
   4407   # Passes both tests.
   4408 ac_preproc_ok=:
   4409 break
   4410 fi
   4411 rm -f conftest.err conftest.i conftest.$ac_ext
   4412 
   4413 done
   4414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4415 rm -f conftest.i conftest.err conftest.$ac_ext
   4416 if $ac_preproc_ok; then :
   4417 
   4418 else
   4419   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4421 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4422 See \`config.log' for more details" "$LINENO" 5; }
   4423 fi
   4424 
   4425 ac_ext=c
   4426 ac_cpp='$CPP $CPPFLAGS'
   4427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4430 
   4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional special compiler flags" >&5
   4432 $as_echo_n "checking for additional special compiler flags... " >&6; }
   4433 if test "$GCC" = yes
   4434 then
   4435     case "$host_cpu" in
   4436 	alpha)		addcflags="-mieee" ;;
   4437     esac
   4438 fi
   4439 if test "x$addcflags" != x
   4440 then
   4441     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $addcflags" >&5
   4442 $as_echo "$addcflags" >&6; }
   4443     CFLAGS="$addcflags $CFLAGS"
   4444 else
   4445     { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
   4446 $as_echo "(none)" >&6; }
   4447 fi
   4448 
   4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4450 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4451 if ${ac_cv_path_GREP+:} false; then :
   4452   $as_echo_n "(cached) " >&6
   4453 else
   4454   if test -z "$GREP"; then
   4455   ac_path_GREP_found=false
   4456   # Loop through the user's path and test for each of PROGNAME-LIST
   4457   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4458 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4459 do
   4460   IFS=$as_save_IFS
   4461   test -z "$as_dir" && as_dir=.
   4462     for ac_prog in grep ggrep; do
   4463     for ac_exec_ext in '' $ac_executable_extensions; do
   4464       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4465       as_fn_executable_p "$ac_path_GREP" || continue
   4466 # Check for GNU ac_path_GREP and select it if it is found.
   4467   # Check for GNU $ac_path_GREP
   4468 case `"$ac_path_GREP" --version 2>&1` in
   4469 *GNU*)
   4470   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4471 *)
   4472   ac_count=0
   4473   $as_echo_n 0123456789 >"conftest.in"
   4474   while :
   4475   do
   4476     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4477     mv "conftest.tmp" "conftest.in"
   4478     cp "conftest.in" "conftest.nl"
   4479     $as_echo 'GREP' >> "conftest.nl"
   4480     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4481     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4482     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4483     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4484       # Best one so far, save it but keep looking for a better one
   4485       ac_cv_path_GREP="$ac_path_GREP"
   4486       ac_path_GREP_max=$ac_count
   4487     fi
   4488     # 10*(2^10) chars as input seems more than enough
   4489     test $ac_count -gt 10 && break
   4490   done
   4491   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4492 esac
   4493 
   4494       $ac_path_GREP_found && break 3
   4495     done
   4496   done
   4497   done
   4498 IFS=$as_save_IFS
   4499   if test -z "$ac_cv_path_GREP"; then
   4500     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4501   fi
   4502 else
   4503   ac_cv_path_GREP=$GREP
   4504 fi
   4505 
   4506 fi
   4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4508 $as_echo "$ac_cv_path_GREP" >&6; }
   4509  GREP="$ac_cv_path_GREP"
   4510 
   4511 
   4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4513 $as_echo_n "checking for egrep... " >&6; }
   4514 if ${ac_cv_path_EGREP+:} false; then :
   4515   $as_echo_n "(cached) " >&6
   4516 else
   4517   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4518    then ac_cv_path_EGREP="$GREP -E"
   4519    else
   4520      if test -z "$EGREP"; then
   4521   ac_path_EGREP_found=false
   4522   # Loop through the user's path and test for each of PROGNAME-LIST
   4523   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4524 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4525 do
   4526   IFS=$as_save_IFS
   4527   test -z "$as_dir" && as_dir=.
   4528     for ac_prog in egrep; do
   4529     for ac_exec_ext in '' $ac_executable_extensions; do
   4530       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4531       as_fn_executable_p "$ac_path_EGREP" || continue
   4532 # Check for GNU ac_path_EGREP and select it if it is found.
   4533   # Check for GNU $ac_path_EGREP
   4534 case `"$ac_path_EGREP" --version 2>&1` in
   4535 *GNU*)
   4536   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4537 *)
   4538   ac_count=0
   4539   $as_echo_n 0123456789 >"conftest.in"
   4540   while :
   4541   do
   4542     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4543     mv "conftest.tmp" "conftest.in"
   4544     cp "conftest.in" "conftest.nl"
   4545     $as_echo 'EGREP' >> "conftest.nl"
   4546     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4547     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4548     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4549     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4550       # Best one so far, save it but keep looking for a better one
   4551       ac_cv_path_EGREP="$ac_path_EGREP"
   4552       ac_path_EGREP_max=$ac_count
   4553     fi
   4554     # 10*(2^10) chars as input seems more than enough
   4555     test $ac_count -gt 10 && break
   4556   done
   4557   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4558 esac
   4559 
   4560       $ac_path_EGREP_found && break 3
   4561     done
   4562   done
   4563   done
   4564 IFS=$as_save_IFS
   4565   if test -z "$ac_cv_path_EGREP"; then
   4566     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4567   fi
   4568 else
   4569   ac_cv_path_EGREP=$EGREP
   4570 fi
   4571 
   4572    fi
   4573 fi
   4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4575 $as_echo "$ac_cv_path_EGREP" >&6; }
   4576  EGREP="$ac_cv_path_EGREP"
   4577 
   4578 
   4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4580 $as_echo_n "checking for ANSI C header files... " >&6; }
   4581 if ${ac_cv_header_stdc+:} false; then :
   4582   $as_echo_n "(cached) " >&6
   4583 else
   4584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4585 /* end confdefs.h.  */
   4586 #include <stdlib.h>
   4587 #include <stdarg.h>
   4588 #include <string.h>
   4589 #include <float.h>
   4590 
   4591 int
   4592 main ()
   4593 {
   4594 
   4595   ;
   4596   return 0;
   4597 }
   4598 _ACEOF
   4599 if ac_fn_c_try_compile "$LINENO"; then :
   4600   ac_cv_header_stdc=yes
   4601 else
   4602   ac_cv_header_stdc=no
   4603 fi
   4604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4605 
   4606 if test $ac_cv_header_stdc = yes; then
   4607   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4609 /* end confdefs.h.  */
   4610 #include <string.h>
   4611 
   4612 _ACEOF
   4613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4614   $EGREP "memchr" >/dev/null 2>&1; then :
   4615 
   4616 else
   4617   ac_cv_header_stdc=no
   4618 fi
   4619 rm -f conftest*
   4620 
   4621 fi
   4622 
   4623 if test $ac_cv_header_stdc = yes; then
   4624   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4626 /* end confdefs.h.  */
   4627 #include <stdlib.h>
   4628 
   4629 _ACEOF
   4630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4631   $EGREP "free" >/dev/null 2>&1; then :
   4632 
   4633 else
   4634   ac_cv_header_stdc=no
   4635 fi
   4636 rm -f conftest*
   4637 
   4638 fi
   4639 
   4640 if test $ac_cv_header_stdc = yes; then
   4641   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4642   if test "$cross_compiling" = yes; then :
   4643   :
   4644 else
   4645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4646 /* end confdefs.h.  */
   4647 #include <ctype.h>
   4648 #include <stdlib.h>
   4649 #if ((' ' & 0x0FF) == 0x020)
   4650 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4651 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4652 #else
   4653 # define ISLOWER(c) \
   4654 		   (('a' <= (c) && (c) <= 'i') \
   4655 		     || ('j' <= (c) && (c) <= 'r') \
   4656 		     || ('s' <= (c) && (c) <= 'z'))
   4657 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4658 #endif
   4659 
   4660 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4661 int
   4662 main ()
   4663 {
   4664   int i;
   4665   for (i = 0; i < 256; i++)
   4666     if (XOR (islower (i), ISLOWER (i))
   4667 	|| toupper (i) != TOUPPER (i))
   4668       return 2;
   4669   return 0;
   4670 }
   4671 _ACEOF
   4672 if ac_fn_c_try_run "$LINENO"; then :
   4673 
   4674 else
   4675   ac_cv_header_stdc=no
   4676 fi
   4677 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4678   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4679 fi
   4680 
   4681 fi
   4682 fi
   4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4684 $as_echo "$ac_cv_header_stdc" >&6; }
   4685 if test $ac_cv_header_stdc = yes; then
   4686 
   4687 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4688 
   4689 fi
   4690 
   4691 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4692 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4693 		  inttypes.h stdint.h unistd.h
   4694 do :
   4695   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4696 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4697 "
   4698 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4699   cat >>confdefs.h <<_ACEOF
   4700 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4701 _ACEOF
   4702 
   4703 fi
   4704 
   4705 done
   4706 
   4707 
   4708 
   4709   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4710 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4711   MINIX=yes
   4712 else
   4713   MINIX=
   4714 fi
   4715 
   4716 
   4717   if test "$MINIX" = yes; then
   4718 
   4719 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4720 
   4721 
   4722 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4723 
   4724 
   4725 $as_echo "#define _MINIX 1" >>confdefs.h
   4726 
   4727   fi
   4728 
   4729 
   4730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4731 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4732 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4733   $as_echo_n "(cached) " >&6
   4734 else
   4735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4736 /* end confdefs.h.  */
   4737 
   4738 #         define __EXTENSIONS__ 1
   4739           $ac_includes_default
   4740 int
   4741 main ()
   4742 {
   4743 
   4744   ;
   4745   return 0;
   4746 }
   4747 _ACEOF
   4748 if ac_fn_c_try_compile "$LINENO"; then :
   4749   ac_cv_safe_to_define___extensions__=yes
   4750 else
   4751   ac_cv_safe_to_define___extensions__=no
   4752 fi
   4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4754 fi
   4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4756 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4757   test $ac_cv_safe_to_define___extensions__ = yes &&
   4758     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4759 
   4760   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4761 
   4762   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4763 
   4764   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4765 
   4766   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4767 
   4768 
   4769 LIB_EXT=.a
   4770 STATIC_LIB_EXT=.a
   4771 PROFILED_LIB_EXT=.a
   4772 
   4773 # Check whether --with-root-prefix was given.
   4774 if test "${with_root_prefix+set}" = set; then :
   4775   withval=$with_root_prefix; root_prefix=$withval
   4776 else
   4777   root_prefix=NONE
   4778 fi
   4779 # Check whether --enable-maintainer-mode was given.
   4780 if test "${enable_maintainer_mode+set}" = set; then :
   4781   enableval=$enable_maintainer_mode; if test "$enableval" = "no"
   4782 then
   4783 	MAINTAINER_CMT=#
   4784 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode" >&5
   4785 $as_echo "Disabling maintainer mode" >&6; }
   4786 else
   4787 	MAINTAINER_CMT=
   4788 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling maintainer mode" >&5
   4789 $as_echo "Enabling maintainer mode" >&6; }
   4790 fi
   4791 
   4792 else
   4793   MAINTAINER_CMT=#
   4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode by default" >&5
   4795 $as_echo "Disabling maintainer mode by default" >&6; }
   4796 
   4797 fi
   4798 
   4799 
   4800 # Check whether --enable-symlink-install was given.
   4801 if test "${enable_symlink_install+set}" = set; then :
   4802   enableval=$enable_symlink_install; if test "$enableval" = "no"
   4803 then
   4804 	LINK_INSTALL_FLAGS=-f
   4805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install" >&5
   4806 $as_echo "Disabling symlinks for install" >&6; }
   4807 else
   4808 	LINK_INSTALL_FLAGS=-sf
   4809 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for install" >&5
   4810 $as_echo "Enabling symlinks for install" >&6; }
   4811 fi
   4812 
   4813 else
   4814   LINK_INSTALL_FLAGS=-f
   4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install by default" >&5
   4816 $as_echo "Disabling symlinks for install by default" >&6; }
   4817 
   4818 fi
   4819 
   4820 
   4821 relative_symlink_defined=
   4822 # Check whether --enable-relative-symlinks was given.
   4823 if test "${enable_relative_symlinks+set}" = set; then :
   4824   enableval=$enable_relative_symlinks; if test "$enableval" = "no"
   4825 then
   4826 	SYMLINK_RELATIVE=
   4827 	relative_symlink_defined=yes
   4828 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install" >&5
   4829 $as_echo "Disabling relative symlinks for install" >&6; }
   4830 else
   4831 	SYMLINK_RELATIVE=--relative
   4832 	relative_symlink_defined=yes
   4833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling relative symlinks for install" >&5
   4834 $as_echo "Enabling relative symlinks for install" >&6; }
   4835 fi
   4836 fi
   4837 
   4838 # Check whether --enable-symlink-relative-symlinks was given.
   4839 if test "${enable_symlink_relative_symlinks+set}" = set; then :
   4840   enableval=$enable_symlink_relative_symlinks; if test "$enableval" = "no"
   4841 then
   4842 	SYMLINK_RELATIVE=yes
   4843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install" >&5
   4844 $as_echo "Disabling relative symlinks for install" >&6; }
   4845 else
   4846 	SYMLINK_RELATIVE=--relative
   4847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling relative symlinks for install" >&5
   4848 $as_echo "Enabling relative symlinks for install" >&6; }
   4849 fi
   4850 
   4851 else
   4852   if test -z "$relative_symlink_defined"
   4853 then
   4854 	SYMLINK_RELATIVE=
   4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install by default" >&5
   4856 $as_echo "Disabling relative symlinks for install by default" >&6; }
   4857 fi
   4858 
   4859 fi
   4860 
   4861 
   4862 # Check whether --enable-symlink-build was given.
   4863 if test "${enable_symlink_build+set}" = set; then :
   4864   enableval=$enable_symlink_build; if test "$enableval" = "no"
   4865 then
   4866 	LINK_BUILD_FLAGS=
   4867 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build" >&5
   4868 $as_echo "Disabling symlinks for build" >&6; }
   4869 else
   4870 	LINK_BUILD_FLAGS=-s
   4871 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for build" >&5
   4872 $as_echo "Enabling symlinks for build" >&6; }
   4873 fi
   4874 
   4875 else
   4876   LINK_BUILD_FLAGS=
   4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build by default" >&5
   4878 $as_echo "Disabling symlinks for build by default" >&6; }
   4879 
   4880 fi
   4881 
   4882 
   4883 # Check whether --enable-verbose-makecmds was given.
   4884 if test "${enable_verbose_makecmds+set}" = set; then :
   4885   enableval=$enable_verbose_makecmds; if test "$enableval" = "no"
   4886 then
   4887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
   4888 $as_echo "Disabling verbose make commands" >&6; }
   4889 	E=@echo
   4890 	ES=echo
   4891 	Q=@
   4892 else
   4893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling verbose make commands" >&5
   4894 $as_echo "Enabling verbose make commands" >&6; }
   4895 	E=@\\#
   4896 	ES=\\#
   4897 	Q=
   4898 fi
   4899 
   4900 else
   4901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
   4902 $as_echo "Disabling verbose make commands" >&6; }
   4903 E=@echo
   4904 ES=echo
   4905 Q=@
   4906 
   4907 fi
   4908 
   4909 
   4910 
   4911 
   4912 E2_PKG_CONFIG_STATIC=--static
   4913 LDFLAG_DYNAMIC=
   4914 PRIVATE_LIBS_CMT=
   4915 # Check whether --enable-elf-shlibs was given.
   4916 if test "${enable_elf_shlibs+set}" = set; then :
   4917   enableval=$enable_elf_shlibs; if test "$enableval" = "no"
   4918 then
   4919 	ELF_CMT=#
   4920 	MAKEFILE_ELF=/dev/null
   4921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries" >&5
   4922 $as_echo "Disabling ELF shared libraries" >&6; }
   4923 else
   4924 	E2_PKG_CONFIG_STATIC=
   4925 	ELF_CMT=
   4926 	MAKEFILE_ELF=$srcdir/lib/Makefile.elf-lib
   4927 	case "$host_os" in
   4928 	solaris2.*)
   4929 		MAKEFILE_ELF=$srcdir/lib/Makefile.solaris-lib
   4930 	;;
   4931 	esac
   4932 	BINARY_TYPE=elfbin
   4933 	LIB_EXT=.so
   4934 	PRIVATE_LIBS_CMT=#
   4935 	LDFLAG_DYNAMIC='-Wl,-rpath-link,$(top_builddir)/lib'
   4936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling ELF shared libraries" >&5
   4937 $as_echo "Enabling ELF shared libraries" >&6; }
   4938 fi
   4939 
   4940 else
   4941   MAKEFILE_ELF=/dev/null
   4942 ELF_CMT=#
   4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries by default" >&5
   4944 $as_echo "Disabling ELF shared libraries by default" >&6; }
   4945 
   4946 fi
   4947 
   4948 
   4949 
   4950 # Check whether --enable-bsd-shlibs was given.
   4951 if test "${enable_bsd_shlibs+set}" = set; then :
   4952   enableval=$enable_bsd_shlibs; if test "$enableval" = "no"
   4953 then
   4954 	BSDLIB_CMT=#
   4955 	MAKEFILE_BSDLIB=/dev/null
   4956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries" >&5
   4957 $as_echo "Disabling BSD shared libraries" >&6; }
   4958 else
   4959 	E2_PKG_CONFIG_STATIC=
   4960 	BSDLIB_CMT=
   4961 	MAKEFILE_BSDLIB=$srcdir/lib/Makefile.bsd-lib
   4962 	LIB_EXT=.so
   4963 	case "$host_os" in
   4964 	darwin*)
   4965 		MAKEFILE_BSDLIB=$srcdir/lib/Makefile.darwin-lib
   4966 		LIB_EXT=.dylib
   4967 	;;
   4968 	esac
   4969 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling BSD shared libraries" >&5
   4970 $as_echo "Enabling BSD shared libraries" >&6; }
   4971 fi
   4972 
   4973 else
   4974   MAKEFILE_BSDLIB=/dev/null
   4975 BSDLIB_CMT=#
   4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries by default" >&5
   4977 $as_echo "Disabling BSD shared libraries by default" >&6; }
   4978 
   4979 fi
   4980 
   4981 
   4982 
   4983 # Check whether --enable-profile was given.
   4984 if test "${enable_profile+set}" = set; then :
   4985   enableval=$enable_profile; if test "$enableval" = "no"
   4986 then
   4987 	PROFILE_CMT=#
   4988 	MAKEFILE_PROFILE=/dev/null
   4989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries" >&5
   4990 $as_echo "Disabling profiling libraries" >&6; }
   4991 else
   4992 	PROFILE_CMT=
   4993 	MAKEFILE_PROFILE=$srcdir/lib/Makefile.profile
   4994 	PROFILED_LIB_EXT=_p.a
   4995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building profiling libraries" >&5
   4996 $as_echo "Building profiling libraries" >&6; }
   4997 fi
   4998 
   4999 else
   5000   PROFILE_CMT=#
   5001 MAKEFILE_PROFILE=/dev/null
   5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries by default" >&5
   5003 $as_echo "Disabling profiling libraries by default" >&6; }
   5004 
   5005 fi
   5006 
   5007 
   5008 
   5009 # Check whether --enable-gcov was given.
   5010 if test "${enable_gcov+set}" = set; then :
   5011   enableval=$enable_gcov; if test "$enableval" = "yes"
   5012 then
   5013 	CFLAGS="-g -fprofile-arcs -ftest-coverage"
   5014 	LDFLAGS="-fprofile-arcs -ftest-coverage"
   5015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling gcov support" >&5
   5016 $as_echo "Enabling gcov support" >&6; }
   5017 fi
   5018 
   5019 fi
   5020 
   5021 CFLAGS_SHLIB="${CFLAGS_SHLIB:-$CFLAGS}"
   5022 CFLAGS_STLIB="${CFLAGS_STLIB:-$CFLAGS}"
   5023 LDFLAGS_SHLIB=${LDFLAGS_SHLIB:-$LDFLAGS}
   5024 LDFLAGS_STATIC=${LDFLAGS_STATIC:-$LDFLAGS}
   5025 # Check whether --enable-hardening was given.
   5026 if test "${enable_hardening+set}" = set; then :
   5027   enableval=$enable_hardening; if test "$enableval" = "yes"
   5028 then
   5029 	HARDEN_CFLAGS="-D_FORTIFY_SOURCE=2 -fstack-protector-strong"
   5030 	HARDEN_LDFLAGS="-Wl,-z,relro -Wl,-z,now"
   5031 	CFLAGS="$CFLAGS $HARDEN_CFLAGS -fPIE"
   5032 	CFLAGS_SHLIB="$CFLAGS_SHLIB $HARDEN_CFLAGS"
   5033 	CFLAGS_STLIB="$CFLAGS_STLIB $HARDEN_CFLAGS -fPIE"
   5034 	LDFLAGS="$LDFLAGS $HARDEN_LDFLAGS -fPIE -pie"
   5035 	LDFLAGS_STATIC="$LDFLAGS_STATIC $HARDEN_LDFLAGS"
   5036 	LDFLAGS_SHLIB="$LDFLAGS_SHLIB $HARDEN_LDFLAGS"
   5037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling hardening support" >&5
   5038 $as_echo "Enabling hardening support" >&6; }
   5039 fi
   5040 
   5041 fi
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 # Check whether --enable-jbd-debug was given.
   5049 if test "${enable_jbd_debug+set}" = set; then :
   5050   enableval=$enable_jbd_debug; if test "$enableval" = "no"
   5051 then
   5052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging" >&5
   5053 $as_echo "Disabling journal debugging" >&6; }
   5054 else
   5055 
   5056 $as_echo "#define CONFIG_JBD_DEBUG 1" >>confdefs.h
   5057 
   5058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling journal debugging" >&5
   5059 $as_echo "Enabling journal debugging" >&6; }
   5060 fi
   5061 
   5062 else
   5063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging by default" >&5
   5064 $as_echo "Disabling journal debugging by default" >&6; }
   5065 
   5066 fi
   5067 
   5068 # Check whether --enable-blkid-debug was given.
   5069 if test "${enable_blkid_debug+set}" = set; then :
   5070   enableval=$enable_blkid_debug; if test "$enableval" = "no"
   5071 then
   5072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging" >&5
   5073 $as_echo "Disabling blkid debugging" >&6; }
   5074 else
   5075 
   5076 $as_echo "#define CONFIG_BLKID_DEBUG 1" >>confdefs.h
   5077 
   5078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling blkid debugging" >&5
   5079 $as_echo "Enabling blkid debugging" >&6; }
   5080 fi
   5081 
   5082 else
   5083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging by default" >&5
   5084 $as_echo "Disabling blkid debugging by default" >&6; }
   5085 
   5086 fi
   5087 
   5088 # Check whether --enable-testio-debug was given.
   5089 if test "${enable_testio_debug+set}" = set; then :
   5090   enableval=$enable_testio_debug;
   5091 if test "$enableval" = "no"
   5092 then
   5093 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling testio debugging" >&5
   5094 $as_echo "Disabling testio debugging" >&6; }
   5095 	TEST_IO_CMT="#"
   5096 else
   5097 	TEST_IO_CMT=
   5098 	$as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
   5099 
   5100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging" >&5
   5101 $as_echo "Enabling testio debugging" >&6; }
   5102 fi
   5103 
   5104 else
   5105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging by default" >&5
   5106 $as_echo "Enabling testio debugging by default" >&6; }
   5107 $as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
   5108 
   5109 TEST_IO_CMT=
   5110 
   5111 fi
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5122 	if test -n "$ac_tool_prefix"; then
   5123   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5124 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5126 $as_echo_n "checking for $ac_word... " >&6; }
   5127 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   5128   $as_echo_n "(cached) " >&6
   5129 else
   5130   case $PKG_CONFIG in
   5131   [\\/]* | ?:[\\/]*)
   5132   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5133   ;;
   5134   *)
   5135   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5136 for as_dir in $PATH
   5137 do
   5138   IFS=$as_save_IFS
   5139   test -z "$as_dir" && as_dir=.
   5140     for ac_exec_ext in '' $ac_executable_extensions; do
   5141   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5142     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5144     break 2
   5145   fi
   5146 done
   5147   done
   5148 IFS=$as_save_IFS
   5149 
   5150   ;;
   5151 esac
   5152 fi
   5153 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5154 if test -n "$PKG_CONFIG"; then
   5155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5156 $as_echo "$PKG_CONFIG" >&6; }
   5157 else
   5158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5159 $as_echo "no" >&6; }
   5160 fi
   5161 
   5162 
   5163 fi
   5164 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5165   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5166   # Extract the first word of "pkg-config", so it can be a program name with args.
   5167 set dummy pkg-config; ac_word=$2
   5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5169 $as_echo_n "checking for $ac_word... " >&6; }
   5170 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   5171   $as_echo_n "(cached) " >&6
   5172 else
   5173   case $ac_pt_PKG_CONFIG in
   5174   [\\/]* | ?:[\\/]*)
   5175   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5176   ;;
   5177   *)
   5178   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5179 for as_dir in $PATH
   5180 do
   5181   IFS=$as_save_IFS
   5182   test -z "$as_dir" && as_dir=.
   5183     for ac_exec_ext in '' $ac_executable_extensions; do
   5184   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5185     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5187     break 2
   5188   fi
   5189 done
   5190   done
   5191 IFS=$as_save_IFS
   5192 
   5193   ;;
   5194 esac
   5195 fi
   5196 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5197 if test -n "$ac_pt_PKG_CONFIG"; then
   5198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5199 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   5200 else
   5201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5202 $as_echo "no" >&6; }
   5203 fi
   5204 
   5205   if test "x$ac_pt_PKG_CONFIG" = x; then
   5206     PKG_CONFIG=""
   5207   else
   5208     case $cross_compiling:$ac_tool_warned in
   5209 yes:)
   5210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5212 ac_tool_warned=yes ;;
   5213 esac
   5214     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5215   fi
   5216 else
   5217   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5218 fi
   5219 
   5220 fi
   5221 if test -n "$PKG_CONFIG"; then
   5222 	_pkg_min_version=0.9.0
   5223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5224 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5225 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5227 $as_echo "yes" >&6; }
   5228 	else
   5229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5230 $as_echo "no" >&6; }
   5231 		PKG_CONFIG=""
   5232 	fi
   5233 fi
   5234 LIBUUID=
   5235 DEPLIBUUID=
   5236 STATIC_LIBUUID=
   5237 DEPSTATIC_LIBUUID=
   5238 PROFILED_LIBUUID=
   5239 DEPPROFILED_LIBUUID=
   5240 UUID_CMT=
   5241 # Check whether --enable-libuuid was given.
   5242 if test "${enable_libuuid+set}" = set; then :
   5243   enableval=$enable_libuuid; if test "$enableval" = "no"
   5244 then
   5245 	if test -z "$PKG_CONFIG"; then
   5246 		as_fn_error $? "pkg-config not installed; please install it." "$LINENO" 5
   5247 	fi
   5248 
   5249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
   5250 $as_echo_n "checking for uuid_generate in -luuid... " >&6; }
   5251 if ${ac_cv_lib_uuid_uuid_generate+:} false; then :
   5252   $as_echo_n "(cached) " >&6
   5253 else
   5254   ac_check_lib_save_LIBS=$LIBS
   5255 LIBS="-luuid  $LIBS"
   5256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5257 /* end confdefs.h.  */
   5258 
   5259 /* Override any GCC internal prototype to avoid an error.
   5260    Use char because int might match the return type of a GCC
   5261    builtin and then its argument prototype would still apply.  */
   5262 #ifdef __cplusplus
   5263 extern "C"
   5264 #endif
   5265 char uuid_generate ();
   5266 int
   5267 main ()
   5268 {
   5269 return uuid_generate ();
   5270   ;
   5271   return 0;
   5272 }
   5273 _ACEOF
   5274 if ac_fn_c_try_link "$LINENO"; then :
   5275   ac_cv_lib_uuid_uuid_generate=yes
   5276 else
   5277   ac_cv_lib_uuid_uuid_generate=no
   5278 fi
   5279 rm -f core conftest.err conftest.$ac_objext \
   5280     conftest$ac_exeext conftest.$ac_ext
   5281 LIBS=$ac_check_lib_save_LIBS
   5282 fi
   5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
   5284 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
   5285 if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then :
   5286   LIBUUID=`$PKG_CONFIG --libs uuid`;
   5287 		 STATIC_LIBUUID=`$PKG_CONFIG --static --libs uuid`
   5288 else
   5289   as_fn_error $? "external uuid library not found" "$LINENO" 5
   5290 fi
   5291 
   5292 	PROFILED_LIBUUID=$LIBUUID
   5293 	UUID_CMT=#
   5294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private uuid library" >&5
   5295 $as_echo "Disabling private uuid library" >&6; }
   5296 else
   5297 	LIBUUID='$(LIB)/libuuid'$LIB_EXT
   5298 	DEPLIBUUID=$LIBUUID
   5299 	STATIC_LIBUUID='$(LIB)/libuuid'$STATIC_LIB_EXT
   5300 	DEPSTATIC_LIBUUID=$STATIC_LIBUUID
   5301 	PROFILED_LIBUUID='$(LIB)/libuuid'$PROFILED_LIB_EXT
   5302 	DEPPROFILED_LIBUUID=$PROFILED_LIBUUID
   5303 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library" >&5
   5304 $as_echo "Enabling private uuid library" >&6; }
   5305 fi
   5306 
   5307 else
   5308   if test -n "$PKG_CONFIG"; then
   5309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
   5310 $as_echo_n "checking for uuid_generate in -luuid... " >&6; }
   5311 if ${ac_cv_lib_uuid_uuid_generate+:} false; then :
   5312   $as_echo_n "(cached) " >&6
   5313 else
   5314   ac_check_lib_save_LIBS=$LIBS
   5315 LIBS="-luuid  $LIBS"
   5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5317 /* end confdefs.h.  */
   5318 
   5319 /* Override any GCC internal prototype to avoid an error.
   5320    Use char because int might match the return type of a GCC
   5321    builtin and then its argument prototype would still apply.  */
   5322 #ifdef __cplusplus
   5323 extern "C"
   5324 #endif
   5325 char uuid_generate ();
   5326 int
   5327 main ()
   5328 {
   5329 return uuid_generate ();
   5330   ;
   5331   return 0;
   5332 }
   5333 _ACEOF
   5334 if ac_fn_c_try_link "$LINENO"; then :
   5335   ac_cv_lib_uuid_uuid_generate=yes
   5336 else
   5337   ac_cv_lib_uuid_uuid_generate=no
   5338 fi
   5339 rm -f core conftest.err conftest.$ac_objext \
   5340     conftest$ac_exeext conftest.$ac_ext
   5341 LIBS=$ac_check_lib_save_LIBS
   5342 fi
   5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
   5344 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
   5345 if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then :
   5346   LIBUUID=`$PKG_CONFIG --libs uuid`;
   5347 		 STATIC_LIBUUID=`$PKG_CONFIG --static --libs uuid`
   5348 fi
   5349 
   5350 fi
   5351 if test -n "$LIBUUID"; then
   5352 	PROFILED_LIBUUID=$LIBUUID
   5353 	UUID_CMT=#
   5354 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using system uuid by default" >&5
   5355 $as_echo "Using system uuid by default" >&6; }
   5356 else
   5357 	LIBUUID='$(LIB)/libuuid'$LIB_EXT
   5358 	DEPLIBUUID=$LIBUUID
   5359 	STATIC_LIBUUID='$(LIB)/libuuid'$STATIC_LIB_EXT
   5360 	DEPSTATIC_LIBUUID=$STATIC_LIBUUID
   5361 	PROFILED_LIBUUID='$(LIB)/libuuid'$PROFILED_LIB_EXT
   5362 	DEPPROFILED_LIBUUID=$PROFILED_LIBUUID
   5363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library by default" >&5
   5364 $as_echo "Enabling private uuid library by default" >&6; }
   5365 fi
   5366 
   5367 fi
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5384 	if test -n "$ac_tool_prefix"; then
   5385   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5386 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5388 $as_echo_n "checking for $ac_word... " >&6; }
   5389 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   5390   $as_echo_n "(cached) " >&6
   5391 else
   5392   case $PKG_CONFIG in
   5393   [\\/]* | ?:[\\/]*)
   5394   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5395   ;;
   5396   *)
   5397   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5398 for as_dir in $PATH
   5399 do
   5400   IFS=$as_save_IFS
   5401   test -z "$as_dir" && as_dir=.
   5402     for ac_exec_ext in '' $ac_executable_extensions; do
   5403   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5404     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5406     break 2
   5407   fi
   5408 done
   5409   done
   5410 IFS=$as_save_IFS
   5411 
   5412   ;;
   5413 esac
   5414 fi
   5415 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5416 if test -n "$PKG_CONFIG"; then
   5417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5418 $as_echo "$PKG_CONFIG" >&6; }
   5419 else
   5420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5421 $as_echo "no" >&6; }
   5422 fi
   5423 
   5424 
   5425 fi
   5426 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5427   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5428   # Extract the first word of "pkg-config", so it can be a program name with args.
   5429 set dummy pkg-config; ac_word=$2
   5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5431 $as_echo_n "checking for $ac_word... " >&6; }
   5432 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   5433   $as_echo_n "(cached) " >&6
   5434 else
   5435   case $ac_pt_PKG_CONFIG in
   5436   [\\/]* | ?:[\\/]*)
   5437   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5438   ;;
   5439   *)
   5440   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5441 for as_dir in $PATH
   5442 do
   5443   IFS=$as_save_IFS
   5444   test -z "$as_dir" && as_dir=.
   5445     for ac_exec_ext in '' $ac_executable_extensions; do
   5446   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5447     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5449     break 2
   5450   fi
   5451 done
   5452   done
   5453 IFS=$as_save_IFS
   5454 
   5455   ;;
   5456 esac
   5457 fi
   5458 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5459 if test -n "$ac_pt_PKG_CONFIG"; then
   5460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5461 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   5462 else
   5463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5464 $as_echo "no" >&6; }
   5465 fi
   5466 
   5467   if test "x$ac_pt_PKG_CONFIG" = x; then
   5468     PKG_CONFIG=""
   5469   else
   5470     case $cross_compiling:$ac_tool_warned in
   5471 yes:)
   5472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5474 ac_tool_warned=yes ;;
   5475 esac
   5476     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5477   fi
   5478 else
   5479   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5480 fi
   5481 
   5482 fi
   5483 if test -n "$PKG_CONFIG"; then
   5484 	_pkg_min_version=0.9.0
   5485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5486 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5487 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5489 $as_echo "yes" >&6; }
   5490 	else
   5491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5492 $as_echo "no" >&6; }
   5493 		PKG_CONFIG=""
   5494 	fi
   5495 fi
   5496 LIBBLKID=
   5497 DEPLIBBLKID=
   5498 STATIC_LIBBLKID=
   5499 DEPSTATIC_LIBBLKID=
   5500 PROFILED_LIBBLKID=
   5501 DEPPROFILED_LIBBLKID=
   5502 BLKID_CMT=
   5503 
   5504 # Check whether --enable-libblkid was given.
   5505 if test "${enable_libblkid+set}" = set; then :
   5506   enableval=$enable_libblkid; if test "$enableval" = "no"
   5507 then
   5508 	if test -z "$PKG_CONFIG"; then
   5509 		as_fn_error $? "pkg-config not installed; please install it." "$LINENO" 5
   5510 	fi
   5511 
   5512 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
   5513 $as_echo_n "checking for blkid_get_cache in -lblkid... " >&6; }
   5514 if ${ac_cv_lib_blkid_blkid_get_cache+:} false; then :
   5515   $as_echo_n "(cached) " >&6
   5516 else
   5517   ac_check_lib_save_LIBS=$LIBS
   5518 LIBS="-lblkid -luuid $LIBS"
   5519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5520 /* end confdefs.h.  */
   5521 
   5522 /* Override any GCC internal prototype to avoid an error.
   5523    Use char because int might match the return type of a GCC
   5524    builtin and then its argument prototype would still apply.  */
   5525 #ifdef __cplusplus
   5526 extern "C"
   5527 #endif
   5528 char blkid_get_cache ();
   5529 int
   5530 main ()
   5531 {
   5532 return blkid_get_cache ();
   5533   ;
   5534   return 0;
   5535 }
   5536 _ACEOF
   5537 if ac_fn_c_try_link "$LINENO"; then :
   5538   ac_cv_lib_blkid_blkid_get_cache=yes
   5539 else
   5540   ac_cv_lib_blkid_blkid_get_cache=no
   5541 fi
   5542 rm -f core conftest.err conftest.$ac_objext \
   5543     conftest$ac_exeext conftest.$ac_ext
   5544 LIBS=$ac_check_lib_save_LIBS
   5545 fi
   5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
   5547 $as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
   5548 if test "x$ac_cv_lib_blkid_blkid_get_cache" = xyes; then :
   5549   LIBBLKID=`$PKG_CONFIG --libs blkid`;
   5550 		 STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid`
   5551 else
   5552   as_fn_error $? "external blkid library not found" "$LINENO" 5
   5553 fi
   5554 
   5555 	BLKID_CMT=#
   5556 	PROFILED_LIBBLKID=$LIBBLKID
   5557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private blkid library" >&5
   5558 $as_echo "Disabling private blkid library" >&6; }
   5559 else
   5560 	LIBBLKID='$(LIB)/libblkid'$LIB_EXT
   5561 	DEPLIBBLKID=$LIBBLKID
   5562 	STATIC_LIBBLKID='$(LIB)/libblkid'$STATIC_LIB_EXT
   5563 	DEPSTATIC_LIBBLKID=$STATIC_LIBBLKID
   5564 	PROFILED_LIBBLKID='$(LIB)/libblkid'$PROFILED_LIB_EXT
   5565 	DEPPROFILED_LIBBLKID=$PROFILED_LIBBLKID
   5566 	$as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
   5567 
   5568 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library" >&5
   5569 $as_echo "Enabling private blkid library" >&6; }
   5570 fi
   5571 
   5572 else
   5573   if test -n "$PKG_CONFIG"; then
   5574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
   5575 $as_echo_n "checking for blkid_get_cache in -lblkid... " >&6; }
   5576 if ${ac_cv_lib_blkid_blkid_get_cache+:} false; then :
   5577   $as_echo_n "(cached) " >&6
   5578 else
   5579   ac_check_lib_save_LIBS=$LIBS
   5580 LIBS="-lblkid  $LIBS"
   5581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5582 /* end confdefs.h.  */
   5583 
   5584 /* Override any GCC internal prototype to avoid an error.
   5585    Use char because int might match the return type of a GCC
   5586    builtin and then its argument prototype would still apply.  */
   5587 #ifdef __cplusplus
   5588 extern "C"
   5589 #endif
   5590 char blkid_get_cache ();
   5591 int
   5592 main ()
   5593 {
   5594 return blkid_get_cache ();
   5595   ;
   5596   return 0;
   5597 }
   5598 _ACEOF
   5599 if ac_fn_c_try_link "$LINENO"; then :
   5600   ac_cv_lib_blkid_blkid_get_cache=yes
   5601 else
   5602   ac_cv_lib_blkid_blkid_get_cache=no
   5603 fi
   5604 rm -f core conftest.err conftest.$ac_objext \
   5605     conftest$ac_exeext conftest.$ac_ext
   5606 LIBS=$ac_check_lib_save_LIBS
   5607 fi
   5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
   5609 $as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
   5610 if test "x$ac_cv_lib_blkid_blkid_get_cache" = xyes; then :
   5611   LIBBLKID=`$PKG_CONFIG --libs blkid`;
   5612 		 STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid`
   5613 fi
   5614 
   5615 fi
   5616 if test -n "$LIBBLKID"; then
   5617 	BLKID_CMT=#
   5618 	PROFILED_LIBBLKID=$LIBBLKID
   5619 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using system blkid library by default" >&5
   5620 $as_echo "Using system blkid library by default" >&6; }
   5621 else
   5622 	LIBBLKID='$(LIB)/libblkid'$LIB_EXT
   5623 	DEPLIBBLKID=$LIBBLKID
   5624 	STATIC_LIBBLKID='$(LIB)/libblkid'$STATIC_LIB_EXT
   5625 	DEPSTATIC_LIBBLKID=$STATIC_LIBBLKID
   5626 	PROFILED_LIBBLKID='$(LIB)/libblkid'$PROFILED_LIB_EXT
   5627 	DEPPROFILED_LIBBLKID=$PROFILED_LIBBLKID
   5628 	$as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
   5629 
   5630 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library by default" >&5
   5631 $as_echo "Enabling private blkid library by default" >&6; }
   5632 fi
   5633 
   5634 fi
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 # Check whether --enable-backtrace was given.
   5645 if test "${enable_backtrace+set}" = set; then :
   5646   enableval=$enable_backtrace; if test "$enableval" = "no"
   5647 then
   5648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling use of backtrace" >&5
   5649 $as_echo "Disabling use of backtrace" >&6; }
   5650 	$as_echo "#define DISABLE_BACKTRACE 1" >>confdefs.h
   5651 
   5652 else
   5653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling use of backtrace" >&5
   5654 $as_echo "Enabling use of backtrace" >&6; }
   5655 fi
   5656 
   5657 else
   5658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling use of backtrace by default" >&5
   5659 $as_echo "Enabling use of backtrace by default" >&6; }
   5660 
   5661 fi
   5662 
   5663 # Check whether --enable-debugfs was given.
   5664 if test "${enable_debugfs+set}" = set; then :
   5665   enableval=$enable_debugfs; if test "$enableval" = "no"
   5666 then
   5667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling debugfs support" >&5
   5668 $as_echo "Disabling debugfs support" >&6; }
   5669 	DEBUGFS_CMT="#"
   5670 else
   5671 	DEBUGFS_CMT=
   5672 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support" >&5
   5673 $as_echo "Enabling debugfs support" >&6; }
   5674 fi
   5675 
   5676 else
   5677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support by default" >&5
   5678 $as_echo "Enabling debugfs support by default" >&6; }
   5679 DEBUGFS_CMT=
   5680 
   5681 fi
   5682 
   5683 
   5684 # Check whether --enable-imager was given.
   5685 if test "${enable_imager+set}" = set; then :
   5686   enableval=$enable_imager; if test "$enableval" = "no"
   5687 then
   5688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2image support" >&5
   5689 $as_echo "Disabling e2image support" >&6; }
   5690 	IMAGER_CMT="#"
   5691 else
   5692 	IMAGER_CMT=
   5693 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support" >&5
   5694 $as_echo "Enabling e2image support" >&6; }
   5695 fi
   5696 
   5697 else
   5698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support by default" >&5
   5699 $as_echo "Enabling e2image support by default" >&6; }
   5700 IMAGER_CMT=
   5701 
   5702 fi
   5703 
   5704 
   5705 # Check whether --enable-resizer was given.
   5706 if test "${enable_resizer+set}" = set; then :
   5707   enableval=$enable_resizer; if test "$enableval" = "no"
   5708 then
   5709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2resize support" >&5
   5710 $as_echo "Disabling e2resize support" >&6; }
   5711 	RESIZER_CMT="#"
   5712 else
   5713 	RESIZER_CMT=
   5714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support" >&5
   5715 $as_echo "Enabling e2resize support" >&6; }
   5716 fi
   5717 
   5718 else
   5719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support by default" >&5
   5720 $as_echo "Enabling e2resize support by default" >&6; }
   5721 RESIZER_CMT=
   5722 
   5723 fi
   5724 
   5725 
   5726 # Check whether --enable-defrag was given.
   5727 if test "${enable_defrag+set}" = set; then :
   5728   enableval=$enable_defrag; if test "$enableval" = "no"
   5729 then
   5730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support" >&5
   5731 $as_echo "Disabling e4defrag support" >&6; }
   5732 	DEFRAG_CMT="#"
   5733 else
   5734 	DEFRAG_CMT=
   5735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support" >&5
   5736 $as_echo "Enabling e4defrag support" >&6; }
   5737 fi
   5738 
   5739 else
   5740   if test -z "$WITH_DIET_LIBC"
   5741 then
   5742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support by default" >&5
   5743 $as_echo "Enabling e4defrag support by default" >&6; }
   5744 	DEFRAG_CMT=
   5745 else
   5746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support by default" >&5
   5747 $as_echo "Disabling e4defrag support by default" >&6; }
   5748 	DEFRAG_CMT="#"
   5749 fi
   5750 
   5751 fi
   5752 
   5753 
   5754 # Check whether --enable-fsck was given.
   5755 if test "${enable_fsck+set}" = set; then :
   5756   enableval=$enable_fsck; if test "$enableval" = "no"
   5757 then
   5758 	FSCK_PROG='' FSCK_MAN=''
   5759 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper" >&5
   5760 $as_echo "Not building fsck wrapper" >&6; }
   5761 else
   5762 	FSCK_PROG=fsck FSCK_MAN=fsck.8
   5763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper" >&5
   5764 $as_echo "Building fsck wrapper" >&6; }
   5765 fi
   5766 
   5767 else
   5768   case "$host_os" in
   5769   gnu*)
   5770     FSCK_PROG='' FSCK_MAN=''
   5771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper by default" >&5
   5772 $as_echo "Not building fsck wrapper by default" >&6; }
   5773     ;;
   5774   *)
   5775     FSCK_PROG=fsck FSCK_MAN=fsck.8
   5776     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper by default" >&5
   5777 $as_echo "Building fsck wrapper by default" >&6; }
   5778 esac
   5779 
   5780 fi
   5781 
   5782 
   5783 
   5784 # Check whether --enable-e2initrd-helper was given.
   5785 if test "${enable_e2initrd_helper+set}" = set; then :
   5786   enableval=$enable_e2initrd_helper; if test "$enableval" = "no"
   5787 then
   5788 	E2INITRD_PROG='' E2INITRD_MAN=''
   5789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building e2initrd helper" >&5
   5790 $as_echo "Not building e2initrd helper" >&6; }
   5791 else
   5792 	E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
   5793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper" >&5
   5794 $as_echo "Building e2initrd helper" >&6; }
   5795 fi
   5796 
   5797 else
   5798   E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
   5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper by default" >&5
   5800 $as_echo "Building e2initrd helper by default" >&6; }
   5801 
   5802 fi
   5803 
   5804 
   5805 
   5806 # Check whether --enable-tls was given.
   5807 if test "${enable_tls+set}" = set; then :
   5808   enableval=$enable_tls; if test "$enableval" = "no"
   5809 then
   5810 	try_tls=""
   5811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling thread local support" >&5
   5812 $as_echo "Disabling thread local support" >&6; }
   5813 else
   5814 	try_tls="yes"
   5815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling thread local support" >&5
   5816 $as_echo "Enabling thread local support" >&6; }
   5817 fi
   5818 
   5819 else
   5820   if test -n "$WITH_DIET_LIBC"
   5821 then
   5822 	try_tls=""
   5823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Diet libc does not support thread local support" >&5
   5824 $as_echo "Diet libc does not support thread local support" >&6; }
   5825 else
   5826 	try_tls="yes"
   5827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Try using thread local support by default" >&5
   5828 $as_echo "Try using thread local support by default" >&6; }
   5829 fi
   5830 
   5831 fi
   5832 
   5833 if test "$try_tls" = "yes"
   5834 then
   5835 
   5836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
   5837 $as_echo_n "checking for thread local storage (TLS) class... " >&6; }
   5838   if ${ac_cv_tls+:} false; then :
   5839   $as_echo_n "(cached) " >&6
   5840 else
   5841 
   5842     ax_tls_keywords="__thread __declspec(thread) none"
   5843     for ax_tls_keyword in $ax_tls_keywords; do
   5844        case $ax_tls_keyword in
   5845           none) ac_cv_tls=none ; break ;;
   5846           *)
   5847              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5848 /* end confdefs.h.  */
   5849 #include <stdlib.h>
   5850                  static void
   5851                  foo(void) {
   5852                  static  $ax_tls_keyword  int bar;
   5853                  exit(1);
   5854                  }
   5855 int
   5856 main ()
   5857 {
   5858 
   5859   ;
   5860   return 0;
   5861 }
   5862 _ACEOF
   5863 if ac_fn_c_try_compile "$LINENO"; then :
   5864   ac_cv_tls=$ax_tls_keyword ; break
   5865 else
   5866   ac_cv_tls=none
   5867 
   5868 fi
   5869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5870           esac
   5871     done
   5872 
   5873 fi
   5874 
   5875 
   5876   if test "$ac_cv_tls" != "none"; then
   5877 
   5878 cat >>confdefs.h <<_ACEOF
   5879 #define TLS $ac_cv_tls
   5880 _ACEOF
   5881 
   5882   fi
   5883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
   5884 $as_echo "$ac_cv_tls" >&6; }
   5885 
   5886 fi
   5887 
   5888 # Check whether --enable-uuidd was given.
   5889 if test "${enable_uuidd+set}" = set; then :
   5890   enableval=$enable_uuidd; if test "$enableval" = "no"
   5891 then
   5892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building uuidd" >&5
   5893 $as_echo "Not building uuidd" >&6; }
   5894 	UUIDD_CMT="#"
   5895 else
   5896 	$as_echo "#define USE_UUIDD 1" >>confdefs.h
   5897 
   5898 	UUIDD_CMT=""
   5899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd" >&5
   5900 $as_echo "Building uuidd" >&6; }
   5901 fi
   5902 
   5903 else
   5904   $as_echo "#define USE_UUIDD 1" >>confdefs.h
   5905 
   5906 if test -z "$UUID_CMT"
   5907 then
   5908 	UUIDD_CMT=""
   5909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd by default" >&5
   5910 $as_echo "Building uuidd by default" >&6; }
   5911 else
   5912 	UUIDD_CMT="#"
   5913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling uuidd by default" >&5
   5914 $as_echo "Disabling uuidd by default" >&6; }
   5915 fi
   5916 
   5917 fi
   5918 
   5919 
   5920 
   5921 # Check whether --enable-mmp was given.
   5922 if test "${enable_mmp+set}" = set; then :
   5923   enableval=$enable_mmp; if test "$enableval" = "no"
   5924 then
   5925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling mmp support" >&5
   5926 $as_echo "Disabling mmp support" >&6; }
   5927 else
   5928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support" >&5
   5929 $as_echo "Enabling mmp support" >&6; }
   5930 	$as_echo "#define CONFIG_MMP 1" >>confdefs.h
   5931 
   5932 fi
   5933 
   5934 else
   5935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support by default" >&5
   5936 $as_echo "Enabling mmp support by default" >&6; }
   5937 $as_echo "#define CONFIG_MMP 1" >>confdefs.h
   5938 
   5939 
   5940 fi
   5941 
   5942 
   5943 # Check whether --enable-tdb was given.
   5944 if test "${enable_tdb+set}" = set; then :
   5945   enableval=$enable_tdb; if test "$enableval" = "no"
   5946 then
   5947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling tdb support" >&5
   5948 $as_echo "Disabling tdb support" >&6; }
   5949 	TDB_CMT="#"
   5950 	TDB_MAN_COMMENT='.\"'
   5951 else
   5952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling tdb support" >&5
   5953 $as_echo "Enabling tdb support" >&6; }
   5954 	$as_echo "#define CONFIG_TDB 1" >>confdefs.h
   5955 
   5956 	TDB_CMT=""
   5957 	TDB_MAN_COMMENT=""
   5958 fi
   5959 
   5960 else
   5961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support by default" >&5
   5962 $as_echo "Enabling mmp support by default" >&6; }
   5963 $as_echo "#define CONFIG_TDB 1" >>confdefs.h
   5964 
   5965 TDB_CMT=""
   5966 TDB_MAN_COMMENT=""
   5967 
   5968 fi
   5969 
   5970 
   5971 
   5972 
   5973 # Check whether --enable-bmap-stats was given.
   5974 if test "${enable_bmap_stats+set}" = set; then :
   5975   enableval=$enable_bmap_stats; if test "$enableval" = "no"
   5976 then
   5977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling bitmap statistics support" >&5
   5978 $as_echo "Disabling bitmap statistics support" >&6; }
   5979 else
   5980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling bitmap statistics support" >&5
   5981 $as_echo "Enabling bitmap statistics support" >&6; }
   5982 	$as_echo "#define ENABLE_BMAP_STATS 1" >>confdefs.h
   5983 
   5984 fi
   5985 
   5986 else
   5987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling bitmap statistics support by default" >&5
   5988 $as_echo "Enabling bitmap statistics support by default" >&6; }
   5989 $as_echo "#define ENABLE_BMAP_STATS 1" >>confdefs.h
   5990 
   5991 
   5992 fi
   5993 
   5994 
   5995 # Check whether --enable-bmap-stats-ops was given.
   5996 if test "${enable_bmap_stats_ops+set}" = set; then :
   5997   enableval=$enable_bmap_stats_ops; if test "$enableval" = "no"
   5998 then
   5999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling additional bitmap statistics" >&5
   6000 $as_echo "Disabling additional bitmap statistics" >&6; }
   6001 else
   6002 		if test "x${enable_bmap_stats}" = "xno"; then :
   6003   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   6004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6005 as_fn_error $? "Error --enable-bmap-stats-ops requires bmap-stats
   6006 See \`config.log' for more details" "$LINENO" 5; }
   6007 fi
   6008 
   6009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling additional bitmap statistics" >&5
   6010 $as_echo "Enabling additional bitmap statistics" >&6; }
   6011 	$as_echo "#define ENABLE_BMAP_STATS_OPS 1" >>confdefs.h
   6012 
   6013 fi
   6014 
   6015 else
   6016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling additional bitmap statistics by default" >&5
   6017 $as_echo "Disabling additional bitmap statistics by default" >&6; }
   6018 
   6019 fi
   6020 
   6021 MAKEFILE_LIBRARY=$srcdir/lib/Makefile.library
   6022 
   6023 GETTEXT_PACKAGE=e2fsprogs
   6024 PACKAGE=e2fsprogs
   6025 VERSION="$E2FSPROGS_VERSION"
   6026 VERSION=0.14.1
   6027 
   6028 cat >>confdefs.h <<_ACEOF
   6029 #define PACKAGE "$PACKAGE"
   6030 _ACEOF
   6031 
   6032 
   6033 cat >>confdefs.h <<_ACEOF
   6034 #define VERSION "$VERSION"
   6035 _ACEOF
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   6042 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   6043 set x ${MAKE-make}
   6044 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   6045 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   6046   $as_echo_n "(cached) " >&6
   6047 else
   6048   cat >conftest.make <<\_ACEOF
   6049 SHELL = /bin/sh
   6050 all:
   6051 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   6052 _ACEOF
   6053 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   6054 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   6055   *@@@%%%=?*=@@@%%%*)
   6056     eval ac_cv_prog_make_${ac_make}_set=yes;;
   6057   *)
   6058     eval ac_cv_prog_make_${ac_make}_set=no;;
   6059 esac
   6060 rm -f conftest.make
   6061 fi
   6062 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   6063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6064 $as_echo "yes" >&6; }
   6065   SET_MAKE=
   6066 else
   6067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6068 $as_echo "no" >&6; }
   6069   SET_MAKE="MAKE=${MAKE-make}"
   6070 fi
   6071 
   6072 # Find a good install program.  We prefer a C program (faster),
   6073 # so one script is as good as another.  But avoid the broken or
   6074 # incompatible versions:
   6075 # SysV /etc/install, /usr/sbin/install
   6076 # SunOS /usr/etc/install
   6077 # IRIX /sbin/install
   6078 # AIX /bin/install
   6079 # AmigaOS /C/install, which installs bootblocks on floppy discs
   6080 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   6081 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   6082 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   6083 # OS/2's system install, which has a completely different semantic
   6084 # ./install, which can be erroneously created by make from ./install.sh.
   6085 # Reject install programs that cannot install multiple files.
   6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   6087 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   6088 if test -z "$INSTALL"; then
   6089 if ${ac_cv_path_install+:} false; then :
   6090   $as_echo_n "(cached) " >&6
   6091 else
   6092   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6093 for as_dir in $PATH
   6094 do
   6095   IFS=$as_save_IFS
   6096   test -z "$as_dir" && as_dir=.
   6097     # Account for people who put trailing slashes in PATH elements.
   6098 case $as_dir/ in #((
   6099   ./ | .// | /[cC]/* | \
   6100   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   6101   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   6102   /usr/ucb/* ) ;;
   6103   *)
   6104     # OSF1 and SCO ODT 3.0 have their own names for install.
   6105     # Don't use installbsd from OSF since it installs stuff as root
   6106     # by default.
   6107     for ac_prog in ginstall scoinst install; do
   6108       for ac_exec_ext in '' $ac_executable_extensions; do
   6109 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   6110 	  if test $ac_prog = install &&
   6111 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   6112 	    # AIX install.  It has an incompatible calling convention.
   6113 	    :
   6114 	  elif test $ac_prog = install &&
   6115 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   6116 	    # program-specific install script used by HP pwplus--don't use.
   6117 	    :
   6118 	  else
   6119 	    rm -rf conftest.one conftest.two conftest.dir
   6120 	    echo one > conftest.one
   6121 	    echo two > conftest.two
   6122 	    mkdir conftest.dir
   6123 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   6124 	      test -s conftest.one && test -s conftest.two &&
   6125 	      test -s conftest.dir/conftest.one &&
   6126 	      test -s conftest.dir/conftest.two
   6127 	    then
   6128 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   6129 	      break 3
   6130 	    fi
   6131 	  fi
   6132 	fi
   6133       done
   6134     done
   6135     ;;
   6136 esac
   6137 
   6138   done
   6139 IFS=$as_save_IFS
   6140 
   6141 rm -rf conftest.one conftest.two conftest.dir
   6142 
   6143 fi
   6144   if test "${ac_cv_path_install+set}" = set; then
   6145     INSTALL=$ac_cv_path_install
   6146   else
   6147     # As a last resort, use the slow shell script.  Don't cache a
   6148     # value for INSTALL within a source directory, because that will
   6149     # break other packages using the cache if that directory is
   6150     # removed, or if the value is a relative name.
   6151     INSTALL=$ac_install_sh
   6152   fi
   6153 fi
   6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   6155 $as_echo "$INSTALL" >&6; }
   6156 
   6157 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   6158 # It thinks the first close brace ends the variable substitution.
   6159 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   6160 
   6161 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   6162 
   6163 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   6164 
   6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   6166 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   6167 if test -z "$MKDIR_P"; then
   6168   if ${ac_cv_path_mkdir+:} false; then :
   6169   $as_echo_n "(cached) " >&6
   6170 else
   6171   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6172 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   6173 do
   6174   IFS=$as_save_IFS
   6175   test -z "$as_dir" && as_dir=.
   6176     for ac_prog in mkdir gmkdir; do
   6177 	 for ac_exec_ext in '' $ac_executable_extensions; do
   6178 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   6179 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   6180 	     'mkdir (GNU coreutils) '* | \
   6181 	     'mkdir (coreutils) '* | \
   6182 	     'mkdir (fileutils) '4.1*)
   6183 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   6184 	       break 3;;
   6185 	   esac
   6186 	 done
   6187        done
   6188   done
   6189 IFS=$as_save_IFS
   6190 
   6191 fi
   6192 
   6193   test -d ./--version && rmdir ./--version
   6194   if test "${ac_cv_path_mkdir+set}" = set; then
   6195     MKDIR_P="$ac_cv_path_mkdir -p"
   6196   else
   6197     # As a last resort, use the slow shell script.  Don't cache a
   6198     # value for MKDIR_P within a source directory, because that will
   6199     # break other packages using the cache if that directory is
   6200     # removed, or if the value is a relative name.
   6201     MKDIR_P="$ac_install_sh -d"
   6202   fi
   6203 fi
   6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   6205 $as_echo "$MKDIR_P" >&6; }
   6206 
   6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6208 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   6209 if ${ac_cv_path_SED+:} false; then :
   6210   $as_echo_n "(cached) " >&6
   6211 else
   6212             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6213      for ac_i in 1 2 3 4 5 6 7; do
   6214        ac_script="$ac_script$as_nl$ac_script"
   6215      done
   6216      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6217      { ac_script=; unset ac_script;}
   6218      if test -z "$SED"; then
   6219   ac_path_SED_found=false
   6220   # Loop through the user's path and test for each of PROGNAME-LIST
   6221   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6222 for as_dir in $PATH
   6223 do
   6224   IFS=$as_save_IFS
   6225   test -z "$as_dir" && as_dir=.
   6226     for ac_prog in sed gsed; do
   6227     for ac_exec_ext in '' $ac_executable_extensions; do
   6228       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6229       as_fn_executable_p "$ac_path_SED" || continue
   6230 # Check for GNU ac_path_SED and select it if it is found.
   6231   # Check for GNU $ac_path_SED
   6232 case `"$ac_path_SED" --version 2>&1` in
   6233 *GNU*)
   6234   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6235 *)
   6236   ac_count=0
   6237   $as_echo_n 0123456789 >"conftest.in"
   6238   while :
   6239   do
   6240     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6241     mv "conftest.tmp" "conftest.in"
   6242     cp "conftest.in" "conftest.nl"
   6243     $as_echo '' >> "conftest.nl"
   6244     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6245     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6246     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6247     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6248       # Best one so far, save it but keep looking for a better one
   6249       ac_cv_path_SED="$ac_path_SED"
   6250       ac_path_SED_max=$ac_count
   6251     fi
   6252     # 10*(2^10) chars as input seems more than enough
   6253     test $ac_count -gt 10 && break
   6254   done
   6255   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6256 esac
   6257 
   6258       $ac_path_SED_found && break 3
   6259     done
   6260   done
   6261   done
   6262 IFS=$as_save_IFS
   6263   if test -z "$ac_cv_path_SED"; then
   6264     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6265   fi
   6266 else
   6267   ac_cv_path_SED=$SED
   6268 fi
   6269 
   6270 fi
   6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6272 $as_echo "$ac_cv_path_SED" >&6; }
   6273  SED="$ac_cv_path_SED"
   6274   rm -f conftest.sed
   6275 
   6276 
   6277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   6278 $as_echo_n "checking whether NLS is requested... " >&6; }
   6279     # Check whether --enable-nls was given.
   6280 if test "${enable_nls+set}" = set; then :
   6281   enableval=$enable_nls; USE_NLS=$enableval
   6282 else
   6283   USE_NLS=yes
   6284 fi
   6285 
   6286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   6287 $as_echo "$USE_NLS" >&6; }
   6288 
   6289 
   6290 
   6291 
   6292       GETTEXT_MACRO_VERSION=0.18
   6293 
   6294 
   6295 
   6296 
   6297 # Prepare PATH_SEPARATOR.
   6298 # The user is always right.
   6299 if test "${PATH_SEPARATOR+set}" != set; then
   6300   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   6301   # contains only /bin. Note that ksh looks also at the FPATH variable,
   6302   # so we have to set that as well for the test.
   6303   PATH_SEPARATOR=:
   6304   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   6305     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   6306            || PATH_SEPARATOR=';'
   6307        }
   6308 fi
   6309 
   6310 # Find out how to test for executable files. Don't use a zero-byte file,
   6311 # as systems may use methods other than mode bits to determine executability.
   6312 cat >conf$$.file <<_ASEOF
   6313 #! /bin/sh
   6314 exit 0
   6315 _ASEOF
   6316 chmod +x conf$$.file
   6317 if test -x conf$$.file >/dev/null 2>&1; then
   6318   ac_executable_p="test -x"
   6319 else
   6320   ac_executable_p="test -f"
   6321 fi
   6322 rm -f conf$$.file
   6323 
   6324 # Extract the first word of "msgfmt", so it can be a program name with args.
   6325 set dummy msgfmt; ac_word=$2
   6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6327 $as_echo_n "checking for $ac_word... " >&6; }
   6328 if ${ac_cv_path_MSGFMT+:} false; then :
   6329   $as_echo_n "(cached) " >&6
   6330 else
   6331   case "$MSGFMT" in
   6332   [\\/]* | ?:[\\/]*)
   6333     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   6334     ;;
   6335   *)
   6336     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   6337     for ac_dir in $PATH; do
   6338       IFS="$ac_save_IFS"
   6339       test -z "$ac_dir" && ac_dir=.
   6340       for ac_exec_ext in '' $ac_executable_extensions; do
   6341         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   6342           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   6343           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
   6344      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   6345             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   6346             break 2
   6347           fi
   6348         fi
   6349       done
   6350     done
   6351     IFS="$ac_save_IFS"
   6352   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   6353     ;;
   6354 esac
   6355 fi
   6356 MSGFMT="$ac_cv_path_MSGFMT"
   6357 if test "$MSGFMT" != ":"; then
   6358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   6359 $as_echo "$MSGFMT" >&6; }
   6360 else
   6361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6362 $as_echo "no" >&6; }
   6363 fi
   6364 
   6365   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   6366 set dummy gmsgfmt; ac_word=$2
   6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6368 $as_echo_n "checking for $ac_word... " >&6; }
   6369 if ${ac_cv_path_GMSGFMT+:} false; then :
   6370   $as_echo_n "(cached) " >&6
   6371 else
   6372   case $GMSGFMT in
   6373   [\\/]* | ?:[\\/]*)
   6374   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   6375   ;;
   6376   *)
   6377   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6378 for as_dir in $PATH
   6379 do
   6380   IFS=$as_save_IFS
   6381   test -z "$as_dir" && as_dir=.
   6382     for ac_exec_ext in '' $ac_executable_extensions; do
   6383   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6384     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   6385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6386     break 2
   6387   fi
   6388 done
   6389   done
   6390 IFS=$as_save_IFS
   6391 
   6392   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   6393   ;;
   6394 esac
   6395 fi
   6396 GMSGFMT=$ac_cv_path_GMSGFMT
   6397 if test -n "$GMSGFMT"; then
   6398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   6399 $as_echo "$GMSGFMT" >&6; }
   6400 else
   6401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6402 $as_echo "no" >&6; }
   6403 fi
   6404 
   6405 
   6406 
   6407     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   6408     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
   6409     *) MSGFMT_015=$MSGFMT ;;
   6410   esac
   6411 
   6412   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   6413     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
   6414     *) GMSGFMT_015=$GMSGFMT ;;
   6415   esac
   6416 
   6417 
   6418 
   6419 # Prepare PATH_SEPARATOR.
   6420 # The user is always right.
   6421 if test "${PATH_SEPARATOR+set}" != set; then
   6422   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   6423   # contains only /bin. Note that ksh looks also at the FPATH variable,
   6424   # so we have to set that as well for the test.
   6425   PATH_SEPARATOR=:
   6426   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   6427     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   6428            || PATH_SEPARATOR=';'
   6429        }
   6430 fi
   6431 
   6432 # Find out how to test for executable files. Don't use a zero-byte file,
   6433 # as systems may use methods other than mode bits to determine executability.
   6434 cat >conf$$.file <<_ASEOF
   6435 #! /bin/sh
   6436 exit 0
   6437 _ASEOF
   6438 chmod +x conf$$.file
   6439 if test -x conf$$.file >/dev/null 2>&1; then
   6440   ac_executable_p="test -x"
   6441 else
   6442   ac_executable_p="test -f"
   6443 fi
   6444 rm -f conf$$.file
   6445 
   6446 # Extract the first word of "xgettext", so it can be a program name with args.
   6447 set dummy xgettext; ac_word=$2
   6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6449 $as_echo_n "checking for $ac_word... " >&6; }
   6450 if ${ac_cv_path_XGETTEXT+:} false; then :
   6451   $as_echo_n "(cached) " >&6
   6452 else
   6453   case "$XGETTEXT" in
   6454   [\\/]* | ?:[\\/]*)
   6455     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   6456     ;;
   6457   *)
   6458     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   6459     for ac_dir in $PATH; do
   6460       IFS="$ac_save_IFS"
   6461       test -z "$ac_dir" && ac_dir=.
   6462       for ac_exec_ext in '' $ac_executable_extensions; do
   6463         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   6464           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   6465           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
   6466      (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
   6467             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   6468             break 2
   6469           fi
   6470         fi
   6471       done
   6472     done
   6473     IFS="$ac_save_IFS"
   6474   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   6475     ;;
   6476 esac
   6477 fi
   6478 XGETTEXT="$ac_cv_path_XGETTEXT"
   6479 if test "$XGETTEXT" != ":"; then
   6480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   6481 $as_echo "$XGETTEXT" >&6; }
   6482 else
   6483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6484 $as_echo "no" >&6; }
   6485 fi
   6486 
   6487     rm -f messages.po
   6488 
   6489     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   6490     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
   6491     *) XGETTEXT_015=$XGETTEXT ;;
   6492   esac
   6493 
   6494 
   6495 
   6496 # Prepare PATH_SEPARATOR.
   6497 # The user is always right.
   6498 if test "${PATH_SEPARATOR+set}" != set; then
   6499   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   6500   # contains only /bin. Note that ksh looks also at the FPATH variable,
   6501   # so we have to set that as well for the test.
   6502   PATH_SEPARATOR=:
   6503   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   6504     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   6505            || PATH_SEPARATOR=';'
   6506        }
   6507 fi
   6508 
   6509 # Find out how to test for executable files. Don't use a zero-byte file,
   6510 # as systems may use methods other than mode bits to determine executability.
   6511 cat >conf$$.file <<_ASEOF
   6512 #! /bin/sh
   6513 exit 0
   6514 _ASEOF
   6515 chmod +x conf$$.file
   6516 if test -x conf$$.file >/dev/null 2>&1; then
   6517   ac_executable_p="test -x"
   6518 else
   6519   ac_executable_p="test -f"
   6520 fi
   6521 rm -f conf$$.file
   6522 
   6523 # Extract the first word of "msgmerge", so it can be a program name with args.
   6524 set dummy msgmerge; ac_word=$2
   6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6526 $as_echo_n "checking for $ac_word... " >&6; }
   6527 if ${ac_cv_path_MSGMERGE+:} false; then :
   6528   $as_echo_n "(cached) " >&6
   6529 else
   6530   case "$MSGMERGE" in
   6531   [\\/]* | ?:[\\/]*)
   6532     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   6533     ;;
   6534   *)
   6535     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   6536     for ac_dir in $PATH; do
   6537       IFS="$ac_save_IFS"
   6538       test -z "$ac_dir" && ac_dir=.
   6539       for ac_exec_ext in '' $ac_executable_extensions; do
   6540         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   6541           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   6542           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
   6543             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   6544             break 2
   6545           fi
   6546         fi
   6547       done
   6548     done
   6549     IFS="$ac_save_IFS"
   6550   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   6551     ;;
   6552 esac
   6553 fi
   6554 MSGMERGE="$ac_cv_path_MSGMERGE"
   6555 if test "$MSGMERGE" != ":"; then
   6556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   6557 $as_echo "$MSGMERGE" >&6; }
   6558 else
   6559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6560 $as_echo "no" >&6; }
   6561 fi
   6562 
   6563 
   6564         test -n "$localedir" || localedir='${datadir}/locale'
   6565 
   6566 
   6567     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
   6568 
   6569 
   6570   ac_config_commands="$ac_config_commands po-directories"
   6571 
   6572 
   6573 
   6574     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2 or newer" >&5
   6575 $as_echo_n "checking whether we are using the GNU C Library 2 or newer... " >&6; }
   6576 if ${ac_cv_gnu_library_2+:} false; then :
   6577   $as_echo_n "(cached) " >&6
   6578 else
   6579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6580 /* end confdefs.h.  */
   6581 
   6582 #include <features.h>
   6583 #ifdef __GNU_LIBRARY__
   6584  #if (__GLIBC__ >= 2) && !defined __UCLIBC__
   6585   Lucky GNU user
   6586  #endif
   6587 #endif
   6588 
   6589 _ACEOF
   6590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6591   $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
   6592   ac_cv_gnu_library_2=yes
   6593 else
   6594   ac_cv_gnu_library_2=no
   6595 fi
   6596 rm -f conftest*
   6597 
   6598 
   6599 
   6600 fi
   6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2" >&5
   6602 $as_echo "$ac_cv_gnu_library_2" >&6; }
   6603 
   6604     GLIBC2="$ac_cv_gnu_library_2"
   6605 
   6606 
   6607 if test -n "$ac_tool_prefix"; then
   6608   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6609 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6611 $as_echo_n "checking for $ac_word... " >&6; }
   6612 if ${ac_cv_prog_RANLIB+:} false; then :
   6613   $as_echo_n "(cached) " >&6
   6614 else
   6615   if test -n "$RANLIB"; then
   6616   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6617 else
   6618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6619 for as_dir in $PATH
   6620 do
   6621   IFS=$as_save_IFS
   6622   test -z "$as_dir" && as_dir=.
   6623     for ac_exec_ext in '' $ac_executable_extensions; do
   6624   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6625     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6627     break 2
   6628   fi
   6629 done
   6630   done
   6631 IFS=$as_save_IFS
   6632 
   6633 fi
   6634 fi
   6635 RANLIB=$ac_cv_prog_RANLIB
   6636 if test -n "$RANLIB"; then
   6637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6638 $as_echo "$RANLIB" >&6; }
   6639 else
   6640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6641 $as_echo "no" >&6; }
   6642 fi
   6643 
   6644 
   6645 fi
   6646 if test -z "$ac_cv_prog_RANLIB"; then
   6647   ac_ct_RANLIB=$RANLIB
   6648   # Extract the first word of "ranlib", so it can be a program name with args.
   6649 set dummy ranlib; ac_word=$2
   6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6651 $as_echo_n "checking for $ac_word... " >&6; }
   6652 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6653   $as_echo_n "(cached) " >&6
   6654 else
   6655   if test -n "$ac_ct_RANLIB"; then
   6656   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6657 else
   6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6659 for as_dir in $PATH
   6660 do
   6661   IFS=$as_save_IFS
   6662   test -z "$as_dir" && as_dir=.
   6663     for ac_exec_ext in '' $ac_executable_extensions; do
   6664   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6665     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6667     break 2
   6668   fi
   6669 done
   6670   done
   6671 IFS=$as_save_IFS
   6672 
   6673 fi
   6674 fi
   6675 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6676 if test -n "$ac_ct_RANLIB"; then
   6677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6678 $as_echo "$ac_ct_RANLIB" >&6; }
   6679 else
   6680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6681 $as_echo "no" >&6; }
   6682 fi
   6683 
   6684   if test "x$ac_ct_RANLIB" = x; then
   6685     RANLIB=":"
   6686   else
   6687     case $cross_compiling:$ac_tool_warned in
   6688 yes:)
   6689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6691 ac_tool_warned=yes ;;
   6692 esac
   6693     RANLIB=$ac_ct_RANLIB
   6694   fi
   6695 else
   6696   RANLIB="$ac_cv_prog_RANLIB"
   6697 fi
   6698 
   6699 
   6700 
   6701   CFLAG_VISIBILITY=
   6702   HAVE_VISIBILITY=0
   6703   if test -n "$GCC"; then
   6704                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
   6705 $as_echo_n "checking whether the -Werror option is usable... " >&6; }
   6706     if ${gl_cv_cc_vis_werror+:} false; then :
   6707   $as_echo_n "(cached) " >&6
   6708 else
   6709 
   6710       gl_save_CFLAGS="$CFLAGS"
   6711       CFLAGS="$CFLAGS -Werror"
   6712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6713 /* end confdefs.h.  */
   6714 
   6715 int
   6716 main ()
   6717 {
   6718 
   6719   ;
   6720   return 0;
   6721 }
   6722 _ACEOF
   6723 if ac_fn_c_try_compile "$LINENO"; then :
   6724   gl_cv_cc_vis_werror=yes
   6725 else
   6726   gl_cv_cc_vis_werror=no
   6727 fi
   6728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6729       CFLAGS="$gl_save_CFLAGS"
   6730 fi
   6731 
   6732     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
   6733 $as_echo "$gl_cv_cc_vis_werror" >&6; }
   6734         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
   6735 $as_echo_n "checking for simple visibility declarations... " >&6; }
   6736     if ${gl_cv_cc_visibility+:} false; then :
   6737   $as_echo_n "(cached) " >&6
   6738 else
   6739 
   6740       gl_save_CFLAGS="$CFLAGS"
   6741       CFLAGS="$CFLAGS -fvisibility=hidden"
   6742                                     if test $gl_cv_cc_vis_werror = yes; then
   6743         CFLAGS="$CFLAGS -Werror"
   6744       fi
   6745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6746 /* end confdefs.h.  */
   6747 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
   6748              extern __attribute__((__visibility__("default"))) int exportedvar;
   6749              extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
   6750              extern __attribute__((__visibility__("default"))) int exportedfunc (void);
   6751              void dummyfunc (void) {}
   6752 
   6753 int
   6754 main ()
   6755 {
   6756 
   6757   ;
   6758   return 0;
   6759 }
   6760 _ACEOF
   6761 if ac_fn_c_try_compile "$LINENO"; then :
   6762   gl_cv_cc_visibility=yes
   6763 else
   6764   gl_cv_cc_visibility=no
   6765 fi
   6766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6767       CFLAGS="$gl_save_CFLAGS"
   6768 fi
   6769 
   6770     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
   6771 $as_echo "$gl_cv_cc_visibility" >&6; }
   6772     if test $gl_cv_cc_visibility = yes; then
   6773       CFLAG_VISIBILITY="-fvisibility=hidden"
   6774       HAVE_VISIBILITY=1
   6775     fi
   6776   fi
   6777 
   6778 
   6779 
   6780 cat >>confdefs.h <<_ACEOF
   6781 #define HAVE_VISIBILITY $HAVE_VISIBILITY
   6782 _ACEOF
   6783 
   6784 
   6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   6786 $as_echo_n "checking for inline... " >&6; }
   6787 if ${ac_cv_c_inline+:} false; then :
   6788   $as_echo_n "(cached) " >&6
   6789 else
   6790   ac_cv_c_inline=no
   6791 for ac_kw in inline __inline__ __inline; do
   6792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6793 /* end confdefs.h.  */
   6794 #ifndef __cplusplus
   6795 typedef int foo_t;
   6796 static $ac_kw foo_t static_foo () {return 0; }
   6797 $ac_kw foo_t foo () {return 0; }
   6798 #endif
   6799 
   6800 _ACEOF
   6801 if ac_fn_c_try_compile "$LINENO"; then :
   6802   ac_cv_c_inline=$ac_kw
   6803 fi
   6804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6805   test "$ac_cv_c_inline" != no && break
   6806 done
   6807 
   6808 fi
   6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   6810 $as_echo "$ac_cv_c_inline" >&6; }
   6811 
   6812 case $ac_cv_c_inline in
   6813   inline | yes) ;;
   6814   *)
   6815     case $ac_cv_c_inline in
   6816       no) ac_val=;;
   6817       *) ac_val=$ac_cv_c_inline;;
   6818     esac
   6819     cat >>confdefs.h <<_ACEOF
   6820 #ifndef __cplusplus
   6821 #define inline $ac_val
   6822 #endif
   6823 _ACEOF
   6824     ;;
   6825 esac
   6826 
   6827 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   6828 if test "x$ac_cv_type_size_t" = xyes; then :
   6829 
   6830 else
   6831 
   6832 cat >>confdefs.h <<_ACEOF
   6833 #define size_t unsigned int
   6834 _ACEOF
   6835 
   6836 fi
   6837 
   6838 
   6839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
   6840 $as_echo_n "checking for stdint.h... " >&6; }
   6841 if ${gl_cv_header_stdint_h+:} false; then :
   6842   $as_echo_n "(cached) " >&6
   6843 else
   6844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6845 /* end confdefs.h.  */
   6846 #include <sys/types.h>
   6847             #include <stdint.h>
   6848 int
   6849 main ()
   6850 {
   6851 uintmax_t i = (uintmax_t) -1; return !i;
   6852   ;
   6853   return 0;
   6854 }
   6855 _ACEOF
   6856 if ac_fn_c_try_compile "$LINENO"; then :
   6857   gl_cv_header_stdint_h=yes
   6858 else
   6859   gl_cv_header_stdint_h=no
   6860 fi
   6861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6862 fi
   6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5
   6864 $as_echo "$gl_cv_header_stdint_h" >&6; }
   6865   if test $gl_cv_header_stdint_h = yes; then
   6866 
   6867 cat >>confdefs.h <<_ACEOF
   6868 #define HAVE_STDINT_H_WITH_UINTMAX 1
   6869 _ACEOF
   6870 
   6871   fi
   6872 
   6873 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   6874 # for constant arguments.  Useless!
   6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
   6876 $as_echo_n "checking for working alloca.h... " >&6; }
   6877 if ${ac_cv_working_alloca_h+:} false; then :
   6878   $as_echo_n "(cached) " >&6
   6879 else
   6880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6881 /* end confdefs.h.  */
   6882 #include <alloca.h>
   6883 int
   6884 main ()
   6885 {
   6886 char *p = (char *) alloca (2 * sizeof (int));
   6887 			  if (p) return 0;
   6888   ;
   6889   return 0;
   6890 }
   6891 _ACEOF
   6892 if ac_fn_c_try_link "$LINENO"; then :
   6893   ac_cv_working_alloca_h=yes
   6894 else
   6895   ac_cv_working_alloca_h=no
   6896 fi
   6897 rm -f core conftest.err conftest.$ac_objext \
   6898     conftest$ac_exeext conftest.$ac_ext
   6899 fi
   6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
   6901 $as_echo "$ac_cv_working_alloca_h" >&6; }
   6902 if test $ac_cv_working_alloca_h = yes; then
   6903 
   6904 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
   6905 
   6906 fi
   6907 
   6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
   6909 $as_echo_n "checking for alloca... " >&6; }
   6910 if ${ac_cv_func_alloca_works+:} false; then :
   6911   $as_echo_n "(cached) " >&6
   6912 else
   6913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6914 /* end confdefs.h.  */
   6915 #ifdef __GNUC__
   6916 # define alloca __builtin_alloca
   6917 #else
   6918 # ifdef _MSC_VER
   6919 #  include <malloc.h>
   6920 #  define alloca _alloca
   6921 # else
   6922 #  ifdef HAVE_ALLOCA_H
   6923 #   include <alloca.h>
   6924 #  else
   6925 #   ifdef _AIX
   6926  #pragma alloca
   6927 #   else
   6928 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   6929 void *alloca (size_t);
   6930 #    endif
   6931 #   endif
   6932 #  endif
   6933 # endif
   6934 #endif
   6935 
   6936 int
   6937 main ()
   6938 {
   6939 char *p = (char *) alloca (1);
   6940 				    if (p) return 0;
   6941   ;
   6942   return 0;
   6943 }
   6944 _ACEOF
   6945 if ac_fn_c_try_link "$LINENO"; then :
   6946   ac_cv_func_alloca_works=yes
   6947 else
   6948   ac_cv_func_alloca_works=no
   6949 fi
   6950 rm -f core conftest.err conftest.$ac_objext \
   6951     conftest$ac_exeext conftest.$ac_ext
   6952 fi
   6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
   6954 $as_echo "$ac_cv_func_alloca_works" >&6; }
   6955 
   6956 if test $ac_cv_func_alloca_works = yes; then
   6957 
   6958 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
   6959 
   6960 else
   6961   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   6962 # that cause trouble.  Some versions do not even contain alloca or
   6963 # contain a buggy version.  If you still want to use their alloca,
   6964 # use ar to extract alloca.o from them instead of compiling alloca.c.
   6965 
   6966 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
   6967 
   6968 $as_echo "#define C_ALLOCA 1" >>confdefs.h
   6969 
   6970 
   6971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
   6972 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
   6973 if ${ac_cv_os_cray+:} false; then :
   6974   $as_echo_n "(cached) " >&6
   6975 else
   6976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6977 /* end confdefs.h.  */
   6978 #if defined CRAY && ! defined CRAY2
   6979 webecray
   6980 #else
   6981 wenotbecray
   6982 #endif
   6983 
   6984 _ACEOF
   6985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6986   $EGREP "webecray" >/dev/null 2>&1; then :
   6987   ac_cv_os_cray=yes
   6988 else
   6989   ac_cv_os_cray=no
   6990 fi
   6991 rm -f conftest*
   6992 
   6993 fi
   6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
   6995 $as_echo "$ac_cv_os_cray" >&6; }
   6996 if test $ac_cv_os_cray = yes; then
   6997   for ac_func in _getb67 GETB67 getb67; do
   6998     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   6999 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   7000 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   7001 
   7002 cat >>confdefs.h <<_ACEOF
   7003 #define CRAY_STACKSEG_END $ac_func
   7004 _ACEOF
   7005 
   7006     break
   7007 fi
   7008 
   7009   done
   7010 fi
   7011 
   7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
   7013 $as_echo_n "checking stack direction for C alloca... " >&6; }
   7014 if ${ac_cv_c_stack_direction+:} false; then :
   7015   $as_echo_n "(cached) " >&6
   7016 else
   7017   if test "$cross_compiling" = yes; then :
   7018   ac_cv_c_stack_direction=0
   7019 else
   7020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7021 /* end confdefs.h.  */
   7022 $ac_includes_default
   7023 int
   7024 find_stack_direction (int *addr, int depth)
   7025 {
   7026   int dir, dummy = 0;
   7027   if (! addr)
   7028     addr = &dummy;
   7029   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
   7030   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
   7031   return dir + dummy;
   7032 }
   7033 
   7034 int
   7035 main (int argc, char **argv)
   7036 {
   7037   return find_stack_direction (0, argc + !argv + 20) < 0;
   7038 }
   7039 _ACEOF
   7040 if ac_fn_c_try_run "$LINENO"; then :
   7041   ac_cv_c_stack_direction=1
   7042 else
   7043   ac_cv_c_stack_direction=-1
   7044 fi
   7045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7046   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7047 fi
   7048 
   7049 fi
   7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
   7051 $as_echo "$ac_cv_c_stack_direction" >&6; }
   7052 cat >>confdefs.h <<_ACEOF
   7053 #define STACK_DIRECTION $ac_cv_c_stack_direction
   7054 _ACEOF
   7055 
   7056 
   7057 fi
   7058 
   7059 
   7060 
   7061 
   7062   for ac_header in $ac_header_list
   7063 do :
   7064   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7065 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7066 "
   7067 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7068   cat >>confdefs.h <<_ACEOF
   7069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7070 _ACEOF
   7071 
   7072 fi
   7073 
   7074 done
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 for ac_func in getpagesize
   7084 do :
   7085   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   7086 if test "x$ac_cv_func_getpagesize" = xyes; then :
   7087   cat >>confdefs.h <<_ACEOF
   7088 #define HAVE_GETPAGESIZE 1
   7089 _ACEOF
   7090 
   7091 fi
   7092 done
   7093 
   7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   7095 $as_echo_n "checking for working mmap... " >&6; }
   7096 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   7097   $as_echo_n "(cached) " >&6
   7098 else
   7099   if test "$cross_compiling" = yes; then :
   7100   ac_cv_func_mmap_fixed_mapped=no
   7101 else
   7102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7103 /* end confdefs.h.  */
   7104 $ac_includes_default
   7105 /* malloc might have been renamed as rpl_malloc. */
   7106 #undef malloc
   7107 
   7108 /* Thanks to Mike Haertel and Jim Avera for this test.
   7109    Here is a matrix of mmap possibilities:
   7110 	mmap private not fixed
   7111 	mmap private fixed at somewhere currently unmapped
   7112 	mmap private fixed at somewhere already mapped
   7113 	mmap shared not fixed
   7114 	mmap shared fixed at somewhere currently unmapped
   7115 	mmap shared fixed at somewhere already mapped
   7116    For private mappings, we should verify that changes cannot be read()
   7117    back from the file, nor mmap's back from the file at a different
   7118    address.  (There have been systems where private was not correctly
   7119    implemented like the infamous i386 svr4.0, and systems where the
   7120    VM page cache was not coherent with the file system buffer cache
   7121    like early versions of FreeBSD and possibly contemporary NetBSD.)
   7122    For shared mappings, we should conversely verify that changes get
   7123    propagated back to all the places they're supposed to be.
   7124 
   7125    Grep wants private fixed already mapped.
   7126    The main things grep needs to know about mmap are:
   7127    * does it exist and is it safe to write into the mmap'd area
   7128    * how to use it (BSD variants)  */
   7129 
   7130 #include <fcntl.h>
   7131 #include <sys/mman.h>
   7132 
   7133 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   7134 char *malloc ();
   7135 #endif
   7136 
   7137 /* This mess was copied from the GNU getpagesize.h.  */
   7138 #ifndef HAVE_GETPAGESIZE
   7139 # ifdef _SC_PAGESIZE
   7140 #  define getpagesize() sysconf(_SC_PAGESIZE)
   7141 # else /* no _SC_PAGESIZE */
   7142 #  ifdef HAVE_SYS_PARAM_H
   7143 #   include <sys/param.h>
   7144 #   ifdef EXEC_PAGESIZE
   7145 #    define getpagesize() EXEC_PAGESIZE
   7146 #   else /* no EXEC_PAGESIZE */
   7147 #    ifdef NBPG
   7148 #     define getpagesize() NBPG * CLSIZE
   7149 #     ifndef CLSIZE
   7150 #      define CLSIZE 1
   7151 #     endif /* no CLSIZE */
   7152 #    else /* no NBPG */
   7153 #     ifdef NBPC
   7154 #      define getpagesize() NBPC
   7155 #     else /* no NBPC */
   7156 #      ifdef PAGESIZE
   7157 #       define getpagesize() PAGESIZE
   7158 #      endif /* PAGESIZE */
   7159 #     endif /* no NBPC */
   7160 #    endif /* no NBPG */
   7161 #   endif /* no EXEC_PAGESIZE */
   7162 #  else /* no HAVE_SYS_PARAM_H */
   7163 #   define getpagesize() 8192	/* punt totally */
   7164 #  endif /* no HAVE_SYS_PARAM_H */
   7165 # endif /* no _SC_PAGESIZE */
   7166 
   7167 #endif /* no HAVE_GETPAGESIZE */
   7168 
   7169 int
   7170 main ()
   7171 {
   7172   char *data, *data2, *data3;
   7173   const char *cdata2;
   7174   int i, pagesize;
   7175   int fd, fd2;
   7176 
   7177   pagesize = getpagesize ();
   7178 
   7179   /* First, make a file with some known garbage in it. */
   7180   data = (char *) malloc (pagesize);
   7181   if (!data)
   7182     return 1;
   7183   for (i = 0; i < pagesize; ++i)
   7184     *(data + i) = rand ();
   7185   umask (0);
   7186   fd = creat ("conftest.mmap", 0600);
   7187   if (fd < 0)
   7188     return 2;
   7189   if (write (fd, data, pagesize) != pagesize)
   7190     return 3;
   7191   close (fd);
   7192 
   7193   /* Next, check that the tail of a page is zero-filled.  File must have
   7194      non-zero length, otherwise we risk SIGBUS for entire page.  */
   7195   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   7196   if (fd2 < 0)
   7197     return 4;
   7198   cdata2 = "";
   7199   if (write (fd2, cdata2, 1) != 1)
   7200     return 5;
   7201   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   7202   if (data2 == MAP_FAILED)
   7203     return 6;
   7204   for (i = 0; i < pagesize; ++i)
   7205     if (*(data2 + i))
   7206       return 7;
   7207   close (fd2);
   7208   if (munmap (data2, pagesize))
   7209     return 8;
   7210 
   7211   /* Next, try to mmap the file at a fixed address which already has
   7212      something else allocated at it.  If we can, also make sure that
   7213      we see the same garbage.  */
   7214   fd = open ("conftest.mmap", O_RDWR);
   7215   if (fd < 0)
   7216     return 9;
   7217   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   7218 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   7219     return 10;
   7220   for (i = 0; i < pagesize; ++i)
   7221     if (*(data + i) != *(data2 + i))
   7222       return 11;
   7223 
   7224   /* Finally, make sure that changes to the mapped area do not
   7225      percolate back to the file as seen by read().  (This is a bug on
   7226      some variants of i386 svr4.0.)  */
   7227   for (i = 0; i < pagesize; ++i)
   7228     *(data2 + i) = *(data2 + i) + 1;
   7229   data3 = (char *) malloc (pagesize);
   7230   if (!data3)
   7231     return 12;
   7232   if (read (fd, data3, pagesize) != pagesize)
   7233     return 13;
   7234   for (i = 0; i < pagesize; ++i)
   7235     if (*(data + i) != *(data3 + i))
   7236       return 14;
   7237   close (fd);
   7238   return 0;
   7239 }
   7240 _ACEOF
   7241 if ac_fn_c_try_run "$LINENO"; then :
   7242   ac_cv_func_mmap_fixed_mapped=yes
   7243 else
   7244   ac_cv_func_mmap_fixed_mapped=no
   7245 fi
   7246 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7247   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7248 fi
   7249 
   7250 fi
   7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   7252 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   7253 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   7254 
   7255 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   7256 
   7257 fi
   7258 rm -f conftest.mmap conftest.txt
   7259 
   7260 
   7261 
   7262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
   7263 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
   7264 if ${gt_cv_int_divbyzero_sigfpe+:} false; then :
   7265   $as_echo_n "(cached) " >&6
   7266 else
   7267 
   7268       gt_cv_int_divbyzero_sigfpe=
   7269       case "$host_os" in
   7270         macos* | darwin[6-9]* | darwin[1-9][0-9]*)
   7271           # On Mac OS X 10.2 or newer, just assume the same as when cross-
   7272           # compiling. If we were to perform the real test, 1 Crash Report
   7273           # dialog window would pop up.
   7274           case "$host_cpu" in
   7275             i[34567]86 | x86_64)
   7276               gt_cv_int_divbyzero_sigfpe="guessing yes" ;;
   7277           esac
   7278           ;;
   7279       esac
   7280       if test -z "$gt_cv_int_divbyzero_sigfpe"; then
   7281         if test "$cross_compiling" = yes; then :
   7282 
   7283             # Guess based on the CPU.
   7284             case "$host_cpu" in
   7285               alpha* | i[34567]86 | x86_64 | m68k | s390*)
   7286                 gt_cv_int_divbyzero_sigfpe="guessing yes";;
   7287               *)
   7288                 gt_cv_int_divbyzero_sigfpe="guessing no";;
   7289             esac
   7290 
   7291 else
   7292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7293 /* end confdefs.h.  */
   7294 
   7295 #include <stdlib.h>
   7296 #include <signal.h>
   7297 
   7298 static void
   7299 sigfpe_handler (int sig)
   7300 {
   7301   /* Exit with code 0 if SIGFPE, with code 1 if any other signal.  */
   7302   exit (sig != SIGFPE);
   7303 }
   7304 
   7305 int x = 1;
   7306 int y = 0;
   7307 int z;
   7308 int nan;
   7309 
   7310 int main ()
   7311 {
   7312   signal (SIGFPE, sigfpe_handler);
   7313 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP.  */
   7314 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
   7315   signal (SIGTRAP, sigfpe_handler);
   7316 #endif
   7317 /* Linux/SPARC yields signal SIGILL.  */
   7318 #if defined (__sparc__) && defined (__linux__)
   7319   signal (SIGILL, sigfpe_handler);
   7320 #endif
   7321 
   7322   z = x / y;
   7323   nan = y / y;
   7324   exit (2);
   7325 }
   7326 
   7327 _ACEOF
   7328 if ac_fn_c_try_run "$LINENO"; then :
   7329   gt_cv_int_divbyzero_sigfpe=yes
   7330 else
   7331   gt_cv_int_divbyzero_sigfpe=no
   7332 fi
   7333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7334   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7335 fi
   7336 
   7337       fi
   7338 
   7339 fi
   7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
   7341 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
   7342   case "$gt_cv_int_divbyzero_sigfpe" in
   7343     *yes) value=1;;
   7344     *) value=0;;
   7345   esac
   7346 
   7347 cat >>confdefs.h <<_ACEOF
   7348 #define INTDIV0_RAISES_SIGFPE $value
   7349 _ACEOF
   7350 
   7351 
   7352 
   7353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
   7354 $as_echo_n "checking for inttypes.h... " >&6; }
   7355 if ${gl_cv_header_inttypes_h+:} false; then :
   7356   $as_echo_n "(cached) " >&6
   7357 else
   7358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7359 /* end confdefs.h.  */
   7360 
   7361 #include <sys/types.h>
   7362 #include <inttypes.h>
   7363 
   7364 int
   7365 main ()
   7366 {
   7367 uintmax_t i = (uintmax_t) -1; return !i;
   7368   ;
   7369   return 0;
   7370 }
   7371 _ACEOF
   7372 if ac_fn_c_try_compile "$LINENO"; then :
   7373   gl_cv_header_inttypes_h=yes
   7374 else
   7375   gl_cv_header_inttypes_h=no
   7376 fi
   7377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7378 fi
   7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5
   7380 $as_echo "$gl_cv_header_inttypes_h" >&6; }
   7381   if test $gl_cv_header_inttypes_h = yes; then
   7382 
   7383 cat >>confdefs.h <<_ACEOF
   7384 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
   7385 _ACEOF
   7386 
   7387   fi
   7388 
   7389 
   7390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
   7391 $as_echo_n "checking for unsigned long long int... " >&6; }
   7392 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
   7393   $as_echo_n "(cached) " >&6
   7394 else
   7395   ac_cv_type_unsigned_long_long_int=yes
   7396      if test "x${ac_cv_prog_cc_c99-no}" = xno; then
   7397        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7398 /* end confdefs.h.  */
   7399 
   7400   /* For now, do not test the preprocessor; as of 2007 there are too many
   7401          implementations with broken preprocessors.  Perhaps this can
   7402          be revisited in 2012.  In the meantime, code should not expect
   7403          #if to work with literals wider than 32 bits.  */
   7404       /* Test literals.  */
   7405       long long int ll = 9223372036854775807ll;
   7406       long long int nll = -9223372036854775807LL;
   7407       unsigned long long int ull = 18446744073709551615ULL;
   7408       /* Test constant expressions.   */
   7409       typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
   7410                      ? 1 : -1)];
   7411       typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
   7412                      ? 1 : -1)];
   7413       int i = 63;
   7414 int
   7415 main ()
   7416 {
   7417 /* Test availability of runtime routines for shift and division.  */
   7418       long long int llmax = 9223372036854775807ll;
   7419       unsigned long long int ullmax = 18446744073709551615ull;
   7420       return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
   7421               | (llmax / ll) | (llmax % ll)
   7422               | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
   7423               | (ullmax / ull) | (ullmax % ull));
   7424   ;
   7425   return 0;
   7426 }
   7427 
   7428 _ACEOF
   7429 if ac_fn_c_try_link "$LINENO"; then :
   7430 
   7431 else
   7432   ac_cv_type_unsigned_long_long_int=no
   7433 fi
   7434 rm -f core conftest.err conftest.$ac_objext \
   7435     conftest$ac_exeext conftest.$ac_ext
   7436      fi
   7437 fi
   7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
   7439 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
   7440   if test $ac_cv_type_unsigned_long_long_int = yes; then
   7441 
   7442 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
   7443 
   7444   fi
   7445 
   7446 
   7447 
   7448 
   7449   if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
   7450 
   7451     test $ac_cv_type_unsigned_long_long_int = yes \
   7452       && ac_type='unsigned long long' \
   7453       || ac_type='unsigned long'
   7454 
   7455 cat >>confdefs.h <<_ACEOF
   7456 #define uintmax_t $ac_type
   7457 _ACEOF
   7458 
   7459   else
   7460 
   7461 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
   7462 
   7463   fi
   7464 
   7465 
   7466   for ac_header in inttypes.h
   7467 do :
   7468   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
   7469 if test "x$ac_cv_header_inttypes_h" = xyes; then :
   7470   cat >>confdefs.h <<_ACEOF
   7471 #define HAVE_INTTYPES_H 1
   7472 _ACEOF
   7473 
   7474 fi
   7475 
   7476 done
   7477 
   7478   if test $ac_cv_header_inttypes_h = yes; then
   7479     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
   7480 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
   7481 if ${gt_cv_inttypes_pri_broken+:} false; then :
   7482   $as_echo_n "(cached) " >&6
   7483 else
   7484 
   7485         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7486 /* end confdefs.h.  */
   7487 
   7488 #include <inttypes.h>
   7489 #ifdef PRId32
   7490 char *p = PRId32;
   7491 #endif
   7492 
   7493 int
   7494 main ()
   7495 {
   7496 
   7497   ;
   7498   return 0;
   7499 }
   7500 _ACEOF
   7501 if ac_fn_c_try_compile "$LINENO"; then :
   7502   gt_cv_inttypes_pri_broken=no
   7503 else
   7504   gt_cv_inttypes_pri_broken=yes
   7505 fi
   7506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7507 
   7508 fi
   7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
   7510 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
   7511   fi
   7512   if test "$gt_cv_inttypes_pri_broken" = yes; then
   7513 
   7514 cat >>confdefs.h <<_ACEOF
   7515 #define PRI_MACROS_BROKEN 1
   7516 _ACEOF
   7517 
   7518     PRI_MACROS_BROKEN=1
   7519   else
   7520     PRI_MACROS_BROKEN=0
   7521   fi
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529   # Check whether --enable-threads was given.
   7530 if test "${enable_threads+set}" = set; then :
   7531   enableval=$enable_threads; gl_use_threads=$enableval
   7532 else
   7533   if test -n "$gl_use_threads_default"; then
   7534        gl_use_threads="$gl_use_threads_default"
   7535      else
   7536        case "$host_os" in
   7537                                                                osf*) gl_use_threads=no ;;
   7538          cygwin*)
   7539                case `uname -r` in
   7540                  1.[0-5].*) gl_use_threads=no ;;
   7541                  *)         gl_use_threads=yes ;;
   7542                esac
   7543                ;;
   7544          *)    gl_use_threads=yes ;;
   7545        esac
   7546      fi
   7547 
   7548 fi
   7549 
   7550   if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
   7551     # For using <pthread.h>:
   7552     case "$host_os" in
   7553       osf*)
   7554         # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
   7555         # groks <pthread.h>. cc also understands the flag -pthread, but
   7556         # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
   7557         # 2. putting a flag into CPPFLAGS that has an effect on the linker
   7558         # causes the AC_LINK_IFELSE test below to succeed unexpectedly,
   7559         # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
   7560         CPPFLAGS="$CPPFLAGS -D_REENTRANT"
   7561         ;;
   7562     esac
   7563     # Some systems optimize for single-threaded programs by default, and
   7564     # need special flags to disable these optimizations. For example, the
   7565     # definition of 'errno' in <errno.h>.
   7566     case "$host_os" in
   7567       aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
   7568       solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
   7569     esac
   7570   fi
   7571 
   7572 
   7573 
   7574 
   7575 
   7576       if test "X$prefix" = "XNONE"; then
   7577     acl_final_prefix="$ac_default_prefix"
   7578   else
   7579     acl_final_prefix="$prefix"
   7580   fi
   7581   if test "X$exec_prefix" = "XNONE"; then
   7582     acl_final_exec_prefix='${prefix}'
   7583   else
   7584     acl_final_exec_prefix="$exec_prefix"
   7585   fi
   7586   acl_save_prefix="$prefix"
   7587   prefix="$acl_final_prefix"
   7588   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   7589   prefix="$acl_save_prefix"
   7590 
   7591 
   7592 
   7593 # Check whether --with-gnu-ld was given.
   7594 if test "${with_gnu_ld+set}" = set; then :
   7595   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   7596 else
   7597   with_gnu_ld=no
   7598 fi
   7599 
   7600 # Prepare PATH_SEPARATOR.
   7601 # The user is always right.
   7602 if test "${PATH_SEPARATOR+set}" != set; then
   7603   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   7604   # contains only /bin. Note that ksh looks also at the FPATH variable,
   7605   # so we have to set that as well for the test.
   7606   PATH_SEPARATOR=:
   7607   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   7608     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   7609            || PATH_SEPARATOR=';'
   7610        }
   7611 fi
   7612 
   7613 ac_prog=ld
   7614 if test "$GCC" = yes; then
   7615   # Check if gcc -print-prog-name=ld gives a path.
   7616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   7617 $as_echo_n "checking for ld used by $CC... " >&6; }
   7618   case $host in
   7619   *-*-mingw*)
   7620     # gcc leaves a trailing carriage return which upsets mingw
   7621     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   7622   *)
   7623     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   7624   esac
   7625   case $ac_prog in
   7626     # Accept absolute paths.
   7627     [\\/]* | ?:[\\/]*)
   7628       re_direlt='/[^/][^/]*/\.\./'
   7629       # Canonicalize the pathname of ld
   7630       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
   7631       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
   7632         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   7633       done
   7634       test -z "$LD" && LD="$ac_prog"
   7635       ;;
   7636   "")
   7637     # If it fails, then pretend we aren't using GCC.
   7638     ac_prog=ld
   7639     ;;
   7640   *)
   7641     # If it is relative, then search for the first ld in PATH.
   7642     with_gnu_ld=unknown
   7643     ;;
   7644   esac
   7645 elif test "$with_gnu_ld" = yes; then
   7646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   7647 $as_echo_n "checking for GNU ld... " >&6; }
   7648 else
   7649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   7650 $as_echo_n "checking for non-GNU ld... " >&6; }
   7651 fi
   7652 if ${acl_cv_path_LD+:} false; then :
   7653   $as_echo_n "(cached) " >&6
   7654 else
   7655   if test -z "$LD"; then
   7656   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7657   for ac_dir in $PATH; do
   7658     IFS="$acl_save_ifs"
   7659     test -z "$ac_dir" && ac_dir=.
   7660     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   7661       acl_cv_path_LD="$ac_dir/$ac_prog"
   7662       # Check to see if the program is GNU ld.  I'd rather use --version,
   7663       # but apparently some variants of GNU ld only accept -v.
   7664       # Break only if it was the GNU/non-GNU ld that we prefer.
   7665       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
   7666       *GNU* | *'with BFD'*)
   7667         test "$with_gnu_ld" != no && break
   7668         ;;
   7669       *)
   7670         test "$with_gnu_ld" != yes && break
   7671         ;;
   7672       esac
   7673     fi
   7674   done
   7675   IFS="$acl_save_ifs"
   7676 else
   7677   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   7678 fi
   7679 fi
   7680 
   7681 LD="$acl_cv_path_LD"
   7682 if test -n "$LD"; then
   7683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   7684 $as_echo "$LD" >&6; }
   7685 else
   7686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7687 $as_echo "no" >&6; }
   7688 fi
   7689 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   7691 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   7692 if ${acl_cv_prog_gnu_ld+:} false; then :
   7693   $as_echo_n "(cached) " >&6
   7694 else
   7695   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   7696 case `$LD -v 2>&1 </dev/null` in
   7697 *GNU* | *'with BFD'*)
   7698   acl_cv_prog_gnu_ld=yes
   7699   ;;
   7700 *)
   7701   acl_cv_prog_gnu_ld=no
   7702   ;;
   7703 esac
   7704 fi
   7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   7706 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   7707 with_gnu_ld=$acl_cv_prog_gnu_ld
   7708 
   7709 
   7710 
   7711 
   7712                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   7713 $as_echo_n "checking for shared library run path origin... " >&6; }
   7714 if ${acl_cv_rpath+:} false; then :
   7715   $as_echo_n "(cached) " >&6
   7716 else
   7717 
   7718     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   7719     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   7720     . ./conftest.sh
   7721     rm -f ./conftest.sh
   7722     acl_cv_rpath=done
   7723 
   7724 fi
   7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   7726 $as_echo "$acl_cv_rpath" >&6; }
   7727   wl="$acl_cv_wl"
   7728   acl_libext="$acl_cv_libext"
   7729   acl_shlibext="$acl_cv_shlibext"
   7730   acl_libname_spec="$acl_cv_libname_spec"
   7731   acl_library_names_spec="$acl_cv_library_names_spec"
   7732   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   7733   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   7734   acl_hardcode_direct="$acl_cv_hardcode_direct"
   7735   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
   7736     # Check whether --enable-rpath was given.
   7737 if test "${enable_rpath+set}" = set; then :
   7738   enableval=$enable_rpath; :
   7739 else
   7740   enable_rpath=yes
   7741 fi
   7742 
   7743 
   7744 
   7745 
   7746   acl_libdirstem=lib
   7747   acl_libdirstem2=
   7748   case "$host_os" in
   7749     solaris*)
   7750                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
   7751 $as_echo_n "checking for 64-bit host... " >&6; }
   7752 if ${gl_cv_solaris_64bit+:} false; then :
   7753   $as_echo_n "(cached) " >&6
   7754 else
   7755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7756 /* end confdefs.h.  */
   7757 
   7758 #ifdef _LP64
   7759 sixtyfour bits
   7760 #endif
   7761 
   7762 _ACEOF
   7763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7764   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
   7765   gl_cv_solaris_64bit=yes
   7766 else
   7767   gl_cv_solaris_64bit=no
   7768 fi
   7769 rm -f conftest*
   7770 
   7771 
   7772 fi
   7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
   7774 $as_echo "$gl_cv_solaris_64bit" >&6; }
   7775       if test $gl_cv_solaris_64bit = yes; then
   7776         acl_libdirstem=lib/64
   7777         case "$host_cpu" in
   7778           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
   7779           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
   7780         esac
   7781       fi
   7782       ;;
   7783     *)
   7784       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   7785       if test -n "$searchpath"; then
   7786         acl_save_IFS="${IFS= 	}"; IFS=":"
   7787         for searchdir in $searchpath; do
   7788           if test -d "$searchdir"; then
   7789             case "$searchdir" in
   7790               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
   7791               */../ | */.. )
   7792                 # Better ignore directories of this form. They are misleading.
   7793                 ;;
   7794               *) searchdir=`cd "$searchdir" && pwd`
   7795                  case "$searchdir" in
   7796                    */lib64 ) acl_libdirstem=lib64 ;;
   7797                  esac ;;
   7798             esac
   7799           fi
   7800         done
   7801         IFS="$acl_save_IFS"
   7802       fi
   7803       ;;
   7804   esac
   7805   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
   7806 
   7807 
   7808 
   7809   gl_threads_api=none
   7810   LIBTHREAD=
   7811   LTLIBTHREAD=
   7812   LIBMULTITHREAD=
   7813   LTLIBMULTITHREAD=
   7814   if test "$gl_use_threads" != no; then
   7815         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
   7816 $as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
   7817 if ${gl_cv_have_weak+:} false; then :
   7818   $as_echo_n "(cached) " >&6
   7819 else
   7820   gl_cv_have_weak=no
   7821               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7822 /* end confdefs.h.  */
   7823 extern void xyzzy ();
   7824 #pragma weak xyzzy
   7825 int
   7826 main ()
   7827 {
   7828 xyzzy();
   7829   ;
   7830   return 0;
   7831 }
   7832 _ACEOF
   7833 if ac_fn_c_try_link "$LINENO"; then :
   7834   gl_cv_have_weak=maybe
   7835 fi
   7836 rm -f core conftest.err conftest.$ac_objext \
   7837     conftest$ac_exeext conftest.$ac_ext
   7838        if test $gl_cv_have_weak = maybe; then
   7839                            if test "$cross_compiling" = yes; then :
   7840                           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7841 /* end confdefs.h.  */
   7842 #ifdef __ELF__
   7843                Extensible Linking Format
   7844                #endif
   7845 
   7846 _ACEOF
   7847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7848   $EGREP "Extensible Linking Format" >/dev/null 2>&1; then :
   7849   gl_cv_have_weak="guessing yes"
   7850 else
   7851   gl_cv_have_weak="guessing no"
   7852 fi
   7853 rm -f conftest*
   7854 
   7855 
   7856 else
   7857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7858 /* end confdefs.h.  */
   7859 
   7860 #include <stdio.h>
   7861 #pragma weak fputs
   7862 int main ()
   7863 {
   7864   return (fputs == NULL);
   7865 }
   7866 _ACEOF
   7867 if ac_fn_c_try_run "$LINENO"; then :
   7868   gl_cv_have_weak=yes
   7869 else
   7870   gl_cv_have_weak=no
   7871 fi
   7872 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7873   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7874 fi
   7875 
   7876        fi
   7877 
   7878 fi
   7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5
   7880 $as_echo "$gl_cv_have_weak" >&6; }
   7881     if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
   7882       # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
   7883       # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
   7884       ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
   7885 if test "x$ac_cv_header_pthread_h" = xyes; then :
   7886   gl_have_pthread_h=yes
   7887 else
   7888   gl_have_pthread_h=no
   7889 fi
   7890 
   7891 
   7892       if test "$gl_have_pthread_h" = yes; then
   7893         # Other possible tests:
   7894         #   -lpthreads (FSU threads, PCthreads)
   7895         #   -lgthreads
   7896         gl_have_pthread=
   7897         # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
   7898         # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
   7899         # the second one only in libpthread, and lock.c needs it.
   7900         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7901 /* end confdefs.h.  */
   7902 #include <pthread.h>
   7903 int
   7904 main ()
   7905 {
   7906 pthread_mutex_lock((pthread_mutex_t*)0);
   7907                pthread_mutexattr_init((pthread_mutexattr_t*)0);
   7908   ;
   7909   return 0;
   7910 }
   7911 _ACEOF
   7912 if ac_fn_c_try_link "$LINENO"; then :
   7913   gl_have_pthread=yes
   7914 fi
   7915 rm -f core conftest.err conftest.$ac_objext \
   7916     conftest$ac_exeext conftest.$ac_ext
   7917         # Test for libpthread by looking for pthread_kill. (Not pthread_self,
   7918         # since it is defined as a macro on OSF/1.)
   7919         if test -n "$gl_have_pthread"; then
   7920           # The program links fine without libpthread. But it may actually
   7921           # need to link with libpthread in order to create multiple threads.
   7922           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
   7923 $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
   7924 if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
   7925   $as_echo_n "(cached) " >&6
   7926 else
   7927   ac_check_lib_save_LIBS=$LIBS
   7928 LIBS="-lpthread  $LIBS"
   7929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7930 /* end confdefs.h.  */
   7931 
   7932 /* Override any GCC internal prototype to avoid an error.
   7933    Use char because int might match the return type of a GCC
   7934    builtin and then its argument prototype would still apply.  */
   7935 #ifdef __cplusplus
   7936 extern "C"
   7937 #endif
   7938 char pthread_kill ();
   7939 int
   7940 main ()
   7941 {
   7942 return pthread_kill ();
   7943   ;
   7944   return 0;
   7945 }
   7946 _ACEOF
   7947 if ac_fn_c_try_link "$LINENO"; then :
   7948   ac_cv_lib_pthread_pthread_kill=yes
   7949 else
   7950   ac_cv_lib_pthread_pthread_kill=no
   7951 fi
   7952 rm -f core conftest.err conftest.$ac_objext \
   7953     conftest$ac_exeext conftest.$ac_ext
   7954 LIBS=$ac_check_lib_save_LIBS
   7955 fi
   7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
   7957 $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
   7958 if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
   7959   LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
   7960              # On Solaris and HP-UX, most pthread functions exist also in libc.
   7961              # Therefore pthread_in_use() needs to actually try to create a
   7962              # thread: pthread_create from libc will fail, whereas
   7963              # pthread_create will actually create a thread.
   7964              case "$host_os" in
   7965                solaris* | hpux*)
   7966 
   7967 $as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
   7968 
   7969              esac
   7970 
   7971 fi
   7972 
   7973         else
   7974           # Some library is needed. Try libpthread and libc_r.
   7975           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
   7976 $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
   7977 if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
   7978   $as_echo_n "(cached) " >&6
   7979 else
   7980   ac_check_lib_save_LIBS=$LIBS
   7981 LIBS="-lpthread  $LIBS"
   7982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7983 /* end confdefs.h.  */
   7984 
   7985 /* Override any GCC internal prototype to avoid an error.
   7986    Use char because int might match the return type of a GCC
   7987    builtin and then its argument prototype would still apply.  */
   7988 #ifdef __cplusplus
   7989 extern "C"
   7990 #endif
   7991 char pthread_kill ();
   7992 int
   7993 main ()
   7994 {
   7995 return pthread_kill ();
   7996   ;
   7997   return 0;
   7998 }
   7999 _ACEOF
   8000 if ac_fn_c_try_link "$LINENO"; then :
   8001   ac_cv_lib_pthread_pthread_kill=yes
   8002 else
   8003   ac_cv_lib_pthread_pthread_kill=no
   8004 fi
   8005 rm -f core conftest.err conftest.$ac_objext \
   8006     conftest$ac_exeext conftest.$ac_ext
   8007 LIBS=$ac_check_lib_save_LIBS
   8008 fi
   8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
   8010 $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
   8011 if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
   8012   gl_have_pthread=yes
   8013              LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
   8014              LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
   8015 fi
   8016 
   8017           if test -z "$gl_have_pthread"; then
   8018             # For FreeBSD 4.
   8019             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
   8020 $as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
   8021 if ${ac_cv_lib_c_r_pthread_kill+:} false; then :
   8022   $as_echo_n "(cached) " >&6
   8023 else
   8024   ac_check_lib_save_LIBS=$LIBS
   8025 LIBS="-lc_r  $LIBS"
   8026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8027 /* end confdefs.h.  */
   8028 
   8029 /* Override any GCC internal prototype to avoid an error.
   8030    Use char because int might match the return type of a GCC
   8031    builtin and then its argument prototype would still apply.  */
   8032 #ifdef __cplusplus
   8033 extern "C"
   8034 #endif
   8035 char pthread_kill ();
   8036 int
   8037 main ()
   8038 {
   8039 return pthread_kill ();
   8040   ;
   8041   return 0;
   8042 }
   8043 _ACEOF
   8044 if ac_fn_c_try_link "$LINENO"; then :
   8045   ac_cv_lib_c_r_pthread_kill=yes
   8046 else
   8047   ac_cv_lib_c_r_pthread_kill=no
   8048 fi
   8049 rm -f core conftest.err conftest.$ac_objext \
   8050     conftest$ac_exeext conftest.$ac_ext
   8051 LIBS=$ac_check_lib_save_LIBS
   8052 fi
   8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
   8054 $as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
   8055 if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
   8056   gl_have_pthread=yes
   8057                LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
   8058                LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
   8059 fi
   8060 
   8061           fi
   8062         fi
   8063         if test -n "$gl_have_pthread"; then
   8064           gl_threads_api=posix
   8065 
   8066 $as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h
   8067 
   8068           if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
   8069             if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
   8070 
   8071 $as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
   8072 
   8073               LIBTHREAD=
   8074               LTLIBTHREAD=
   8075             fi
   8076           fi
   8077         fi
   8078       fi
   8079     fi
   8080     if test -z "$gl_have_pthread"; then
   8081       if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
   8082         gl_have_solaristhread=
   8083         gl_save_LIBS="$LIBS"
   8084         LIBS="$LIBS -lthread"
   8085         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8086 /* end confdefs.h.  */
   8087 
   8088 #include <thread.h>
   8089 #include <synch.h>
   8090 
   8091 int
   8092 main ()
   8093 {
   8094 thr_self();
   8095   ;
   8096   return 0;
   8097 }
   8098 _ACEOF
   8099 if ac_fn_c_try_link "$LINENO"; then :
   8100   gl_have_solaristhread=yes
   8101 fi
   8102 rm -f core conftest.err conftest.$ac_objext \
   8103     conftest$ac_exeext conftest.$ac_ext
   8104         LIBS="$gl_save_LIBS"
   8105         if test -n "$gl_have_solaristhread"; then
   8106           gl_threads_api=solaris
   8107           LIBTHREAD=-lthread
   8108           LTLIBTHREAD=-lthread
   8109           LIBMULTITHREAD="$LIBTHREAD"
   8110           LTLIBMULTITHREAD="$LTLIBTHREAD"
   8111 
   8112 $as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h
   8113 
   8114           if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
   8115 
   8116 $as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
   8117 
   8118             LIBTHREAD=
   8119             LTLIBTHREAD=
   8120           fi
   8121         fi
   8122       fi
   8123     fi
   8124     if test "$gl_use_threads" = pth; then
   8125       gl_save_CPPFLAGS="$CPPFLAGS"
   8126 
   8127 
   8128 
   8129 
   8130 
   8131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
   8132 $as_echo_n "checking how to link with libpth... " >&6; }
   8133 if ${ac_cv_libpth_libs+:} false; then :
   8134   $as_echo_n "(cached) " >&6
   8135 else
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144     use_additional=yes
   8145 
   8146   acl_save_prefix="$prefix"
   8147   prefix="$acl_final_prefix"
   8148   acl_save_exec_prefix="$exec_prefix"
   8149   exec_prefix="$acl_final_exec_prefix"
   8150 
   8151     eval additional_includedir=\"$includedir\"
   8152     eval additional_libdir=\"$libdir\"
   8153 
   8154   exec_prefix="$acl_save_exec_prefix"
   8155   prefix="$acl_save_prefix"
   8156 
   8157 
   8158 # Check whether --with-libpth-prefix was given.
   8159 if test "${with_libpth_prefix+set}" = set; then :
   8160   withval=$with_libpth_prefix;
   8161     if test "X$withval" = "Xno"; then
   8162       use_additional=no
   8163     else
   8164       if test "X$withval" = "X"; then
   8165 
   8166   acl_save_prefix="$prefix"
   8167   prefix="$acl_final_prefix"
   8168   acl_save_exec_prefix="$exec_prefix"
   8169   exec_prefix="$acl_final_exec_prefix"
   8170 
   8171           eval additional_includedir=\"$includedir\"
   8172           eval additional_libdir=\"$libdir\"
   8173 
   8174   exec_prefix="$acl_save_exec_prefix"
   8175   prefix="$acl_save_prefix"
   8176 
   8177       else
   8178         additional_includedir="$withval/include"
   8179         additional_libdir="$withval/$acl_libdirstem"
   8180         if test "$acl_libdirstem2" != "$acl_libdirstem" \
   8181            && ! test -d "$withval/$acl_libdirstem"; then
   8182           additional_libdir="$withval/$acl_libdirstem2"
   8183         fi
   8184       fi
   8185     fi
   8186 
   8187 fi
   8188 
   8189       LIBPTH=
   8190   LTLIBPTH=
   8191   INCPTH=
   8192   LIBPTH_PREFIX=
   8193       HAVE_LIBPTH=
   8194   rpathdirs=
   8195   ltrpathdirs=
   8196   names_already_handled=
   8197   names_next_round='pth '
   8198   while test -n "$names_next_round"; do
   8199     names_this_round="$names_next_round"
   8200     names_next_round=
   8201     for name in $names_this_round; do
   8202       already_handled=
   8203       for n in $names_already_handled; do
   8204         if test "$n" = "$name"; then
   8205           already_handled=yes
   8206           break
   8207         fi
   8208       done
   8209       if test -z "$already_handled"; then
   8210         names_already_handled="$names_already_handled $name"
   8211                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   8212         eval value=\"\$HAVE_LIB$uppername\"
   8213         if test -n "$value"; then
   8214           if test "$value" = yes; then
   8215             eval value=\"\$LIB$uppername\"
   8216             test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
   8217             eval value=\"\$LTLIB$uppername\"
   8218             test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
   8219           else
   8220                                     :
   8221           fi
   8222         else
   8223                               found_dir=
   8224           found_la=
   8225           found_so=
   8226           found_a=
   8227           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   8228           if test -n "$acl_shlibext"; then
   8229             shrext=".$acl_shlibext"             # typically: shrext=.so
   8230           else
   8231             shrext=
   8232           fi
   8233           if test $use_additional = yes; then
   8234             dir="$additional_libdir"
   8235                                     if test -n "$acl_shlibext"; then
   8236               if test -f "$dir/$libname$shrext"; then
   8237                 found_dir="$dir"
   8238                 found_so="$dir/$libname$shrext"
   8239               else
   8240                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   8241                   ver=`(cd "$dir" && \
   8242                         for f in "$libname$shrext".*; do echo "$f"; done \
   8243                         | sed -e "s,^$libname$shrext\\\\.,," \
   8244                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   8245                         | sed 1q ) 2>/dev/null`
   8246                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   8247                     found_dir="$dir"
   8248                     found_so="$dir/$libname$shrext.$ver"
   8249                   fi
   8250                 else
   8251                   eval library_names=\"$acl_library_names_spec\"
   8252                   for f in $library_names; do
   8253                     if test -f "$dir/$f"; then
   8254                       found_dir="$dir"
   8255                       found_so="$dir/$f"
   8256                       break
   8257                     fi
   8258                   done
   8259                 fi
   8260               fi
   8261             fi
   8262                         if test "X$found_dir" = "X"; then
   8263               if test -f "$dir/$libname.$acl_libext"; then
   8264                 found_dir="$dir"
   8265                 found_a="$dir/$libname.$acl_libext"
   8266               fi
   8267             fi
   8268             if test "X$found_dir" != "X"; then
   8269               if test -f "$dir/$libname.la"; then
   8270                 found_la="$dir/$libname.la"
   8271               fi
   8272             fi
   8273           fi
   8274           if test "X$found_dir" = "X"; then
   8275             for x in $LDFLAGS $LTLIBPTH; do
   8276 
   8277   acl_save_prefix="$prefix"
   8278   prefix="$acl_final_prefix"
   8279   acl_save_exec_prefix="$exec_prefix"
   8280   exec_prefix="$acl_final_exec_prefix"
   8281   eval x=\"$x\"
   8282   exec_prefix="$acl_save_exec_prefix"
   8283   prefix="$acl_save_prefix"
   8284 
   8285               case "$x" in
   8286                 -L*)
   8287                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   8288                                     if test -n "$acl_shlibext"; then
   8289                     if test -f "$dir/$libname$shrext"; then
   8290                       found_dir="$dir"
   8291                       found_so="$dir/$libname$shrext"
   8292                     else
   8293                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   8294                         ver=`(cd "$dir" && \
   8295                               for f in "$libname$shrext".*; do echo "$f"; done \
   8296                               | sed -e "s,^$libname$shrext\\\\.,," \
   8297                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   8298                               | sed 1q ) 2>/dev/null`
   8299                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   8300                           found_dir="$dir"
   8301                           found_so="$dir/$libname$shrext.$ver"
   8302                         fi
   8303                       else
   8304                         eval library_names=\"$acl_library_names_spec\"
   8305                         for f in $library_names; do
   8306                           if test -f "$dir/$f"; then
   8307                             found_dir="$dir"
   8308                             found_so="$dir/$f"
   8309                             break
   8310                           fi
   8311                         done
   8312                       fi
   8313                     fi
   8314                   fi
   8315                                     if test "X$found_dir" = "X"; then
   8316                     if test -f "$dir/$libname.$acl_libext"; then
   8317                       found_dir="$dir"
   8318                       found_a="$dir/$libname.$acl_libext"
   8319                     fi
   8320                   fi
   8321                   if test "X$found_dir" != "X"; then
   8322                     if test -f "$dir/$libname.la"; then
   8323                       found_la="$dir/$libname.la"
   8324                     fi
   8325                   fi
   8326                   ;;
   8327               esac
   8328               if test "X$found_dir" != "X"; then
   8329                 break
   8330               fi
   8331             done
   8332           fi
   8333           if test "X$found_dir" != "X"; then
   8334                         LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
   8335             if test "X$found_so" != "X"; then
   8336                                                         if test "$enable_rpath" = no \
   8337                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   8338                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
   8339                                 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
   8340               else
   8341                                                                                 haveit=
   8342                 for x in $ltrpathdirs; do
   8343                   if test "X$x" = "X$found_dir"; then
   8344                     haveit=yes
   8345                     break
   8346                   fi
   8347                 done
   8348                 if test -z "$haveit"; then
   8349                   ltrpathdirs="$ltrpathdirs $found_dir"
   8350                 fi
   8351                                 if test "$acl_hardcode_direct" = yes; then
   8352                                                       LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
   8353                 else
   8354                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   8355                                                             LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
   8356                                                             haveit=
   8357                     for x in $rpathdirs; do
   8358                       if test "X$x" = "X$found_dir"; then
   8359                         haveit=yes
   8360                         break
   8361                       fi
   8362                     done
   8363                     if test -z "$haveit"; then
   8364                       rpathdirs="$rpathdirs $found_dir"
   8365                     fi
   8366                   else
   8367                                                                                 haveit=
   8368                     for x in $LDFLAGS $LIBPTH; do
   8369 
   8370   acl_save_prefix="$prefix"
   8371   prefix="$acl_final_prefix"
   8372   acl_save_exec_prefix="$exec_prefix"
   8373   exec_prefix="$acl_final_exec_prefix"
   8374   eval x=\"$x\"
   8375   exec_prefix="$acl_save_exec_prefix"
   8376   prefix="$acl_save_prefix"
   8377 
   8378                       if test "X$x" = "X-L$found_dir"; then
   8379                         haveit=yes
   8380                         break
   8381                       fi
   8382                     done
   8383                     if test -z "$haveit"; then
   8384                       LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
   8385                     fi
   8386                     if test "$acl_hardcode_minus_L" != no; then
   8387                                                                                         LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
   8388                     else
   8389                                                                                                                                                                                 LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
   8390                     fi
   8391                   fi
   8392                 fi
   8393               fi
   8394             else
   8395               if test "X$found_a" != "X"; then
   8396                                 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
   8397               else
   8398                                                 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
   8399               fi
   8400             fi
   8401                         additional_includedir=
   8402             case "$found_dir" in
   8403               */$acl_libdirstem | */$acl_libdirstem/)
   8404                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   8405                 if test "$name" = 'pth'; then
   8406                   LIBPTH_PREFIX="$basedir"
   8407                 fi
   8408                 additional_includedir="$basedir/include"
   8409                 ;;
   8410               */$acl_libdirstem2 | */$acl_libdirstem2/)
   8411                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   8412                 if test "$name" = 'pth'; then
   8413                   LIBPTH_PREFIX="$basedir"
   8414                 fi
   8415                 additional_includedir="$basedir/include"
   8416                 ;;
   8417             esac
   8418             if test "X$additional_includedir" != "X"; then
   8419                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   8420                 haveit=
   8421                 if test "X$additional_includedir" = "X/usr/local/include"; then
   8422                   if test -n "$GCC"; then
   8423                     case $host_os in
   8424                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   8425                     esac
   8426                   fi
   8427                 fi
   8428                 if test -z "$haveit"; then
   8429                   for x in $CPPFLAGS $INCPTH; do
   8430 
   8431   acl_save_prefix="$prefix"
   8432   prefix="$acl_final_prefix"
   8433   acl_save_exec_prefix="$exec_prefix"
   8434   exec_prefix="$acl_final_exec_prefix"
   8435   eval x=\"$x\"
   8436   exec_prefix="$acl_save_exec_prefix"
   8437   prefix="$acl_save_prefix"
   8438 
   8439                     if test "X$x" = "X-I$additional_includedir"; then
   8440                       haveit=yes
   8441                       break
   8442                     fi
   8443                   done
   8444                   if test -z "$haveit"; then
   8445                     if test -d "$additional_includedir"; then
   8446                                             INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir"
   8447                     fi
   8448                   fi
   8449                 fi
   8450               fi
   8451             fi
   8452                         if test -n "$found_la"; then
   8453                                                         save_libdir="$libdir"
   8454               case "$found_la" in
   8455                 */* | *\\*) . "$found_la" ;;
   8456                 *) . "./$found_la" ;;
   8457               esac
   8458               libdir="$save_libdir"
   8459                             for dep in $dependency_libs; do
   8460                 case "$dep" in
   8461                   -L*)
   8462                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   8463                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
   8464                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
   8465                       haveit=
   8466                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
   8467                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
   8468                         if test -n "$GCC"; then
   8469                           case $host_os in
   8470                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   8471                           esac
   8472                         fi
   8473                       fi
   8474                       if test -z "$haveit"; then
   8475                         haveit=
   8476                         for x in $LDFLAGS $LIBPTH; do
   8477 
   8478   acl_save_prefix="$prefix"
   8479   prefix="$acl_final_prefix"
   8480   acl_save_exec_prefix="$exec_prefix"
   8481   exec_prefix="$acl_final_exec_prefix"
   8482   eval x=\"$x\"
   8483   exec_prefix="$acl_save_exec_prefix"
   8484   prefix="$acl_save_prefix"
   8485 
   8486                           if test "X$x" = "X-L$additional_libdir"; then
   8487                             haveit=yes
   8488                             break
   8489                           fi
   8490                         done
   8491                         if test -z "$haveit"; then
   8492                           if test -d "$additional_libdir"; then
   8493                                                         LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
   8494                           fi
   8495                         fi
   8496                         haveit=
   8497                         for x in $LDFLAGS $LTLIBPTH; do
   8498 
   8499   acl_save_prefix="$prefix"
   8500   prefix="$acl_final_prefix"
   8501   acl_save_exec_prefix="$exec_prefix"
   8502   exec_prefix="$acl_final_exec_prefix"
   8503   eval x=\"$x\"
   8504   exec_prefix="$acl_save_exec_prefix"
   8505   prefix="$acl_save_prefix"
   8506 
   8507                           if test "X$x" = "X-L$additional_libdir"; then
   8508                             haveit=yes
   8509                             break
   8510                           fi
   8511                         done
   8512                         if test -z "$haveit"; then
   8513                           if test -d "$additional_libdir"; then
   8514                                                         LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
   8515                           fi
   8516                         fi
   8517                       fi
   8518                     fi
   8519                     ;;
   8520                   -R*)
   8521                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   8522                     if test "$enable_rpath" != no; then
   8523                                                                   haveit=
   8524                       for x in $rpathdirs; do
   8525                         if test "X$x" = "X$dir"; then
   8526                           haveit=yes
   8527                           break
   8528                         fi
   8529                       done
   8530                       if test -z "$haveit"; then
   8531                         rpathdirs="$rpathdirs $dir"
   8532                       fi
   8533                                                                   haveit=
   8534                       for x in $ltrpathdirs; do
   8535                         if test "X$x" = "X$dir"; then
   8536                           haveit=yes
   8537                           break
   8538                         fi
   8539                       done
   8540                       if test -z "$haveit"; then
   8541                         ltrpathdirs="$ltrpathdirs $dir"
   8542                       fi
   8543                     fi
   8544                     ;;
   8545                   -l*)
   8546                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   8547                     ;;
   8548                   *.la)
   8549                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   8550                     ;;
   8551                   *)
   8552                                         LIBPTH="${LIBPTH}${LIBPTH:+ }$dep"
   8553                     LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep"
   8554                     ;;
   8555                 esac
   8556               done
   8557             fi
   8558           else
   8559                                                             LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
   8560             LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
   8561           fi
   8562         fi
   8563       fi
   8564     done
   8565   done
   8566   if test "X$rpathdirs" != "X"; then
   8567     if test -n "$acl_hardcode_libdir_separator"; then
   8568                         alldirs=
   8569       for found_dir in $rpathdirs; do
   8570         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   8571       done
   8572             acl_save_libdir="$libdir"
   8573       libdir="$alldirs"
   8574       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   8575       libdir="$acl_save_libdir"
   8576       LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
   8577     else
   8578             for found_dir in $rpathdirs; do
   8579         acl_save_libdir="$libdir"
   8580         libdir="$found_dir"
   8581         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   8582         libdir="$acl_save_libdir"
   8583         LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
   8584       done
   8585     fi
   8586   fi
   8587   if test "X$ltrpathdirs" != "X"; then
   8588             for found_dir in $ltrpathdirs; do
   8589       LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
   8590     done
   8591   fi
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598     ac_cv_libpth_libs="$LIBPTH"
   8599     ac_cv_libpth_ltlibs="$LTLIBPTH"
   8600     ac_cv_libpth_cppflags="$INCPTH"
   8601     ac_cv_libpth_prefix="$LIBPTH_PREFIX"
   8602 
   8603 fi
   8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
   8605 $as_echo "$ac_cv_libpth_libs" >&6; }
   8606   LIBPTH="$ac_cv_libpth_libs"
   8607   LTLIBPTH="$ac_cv_libpth_ltlibs"
   8608   INCPTH="$ac_cv_libpth_cppflags"
   8609   LIBPTH_PREFIX="$ac_cv_libpth_prefix"
   8610 
   8611   for element in $INCPTH; do
   8612     haveit=
   8613     for x in $CPPFLAGS; do
   8614 
   8615   acl_save_prefix="$prefix"
   8616   prefix="$acl_final_prefix"
   8617   acl_save_exec_prefix="$exec_prefix"
   8618   exec_prefix="$acl_final_exec_prefix"
   8619   eval x=\"$x\"
   8620   exec_prefix="$acl_save_exec_prefix"
   8621   prefix="$acl_save_prefix"
   8622 
   8623       if test "X$x" = "X$element"; then
   8624         haveit=yes
   8625         break
   8626       fi
   8627     done
   8628     if test -z "$haveit"; then
   8629       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   8630     fi
   8631   done
   8632 
   8633 
   8634 
   8635 
   8636       HAVE_LIBPTH=yes
   8637 
   8638 
   8639 
   8640       gl_have_pth=
   8641       gl_save_LIBS="$LIBS"
   8642       LIBS="$LIBS $LIBPTH"
   8643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8644 /* end confdefs.h.  */
   8645 #include <pth.h>
   8646 int
   8647 main ()
   8648 {
   8649 pth_self();
   8650   ;
   8651   return 0;
   8652 }
   8653 _ACEOF
   8654 if ac_fn_c_try_link "$LINENO"; then :
   8655   gl_have_pth=yes
   8656 fi
   8657 rm -f core conftest.err conftest.$ac_objext \
   8658     conftest$ac_exeext conftest.$ac_ext
   8659       LIBS="$gl_save_LIBS"
   8660       if test -n "$gl_have_pth"; then
   8661         gl_threads_api=pth
   8662         LIBTHREAD="$LIBPTH"
   8663         LTLIBTHREAD="$LTLIBPTH"
   8664         LIBMULTITHREAD="$LIBTHREAD"
   8665         LTLIBMULTITHREAD="$LTLIBTHREAD"
   8666 
   8667 $as_echo "#define USE_PTH_THREADS 1" >>confdefs.h
   8668 
   8669         if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
   8670           if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
   8671 
   8672 $as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h
   8673 
   8674             LIBTHREAD=
   8675             LTLIBTHREAD=
   8676           fi
   8677         fi
   8678       else
   8679         CPPFLAGS="$gl_save_CPPFLAGS"
   8680       fi
   8681     fi
   8682     if test -z "$gl_have_pthread"; then
   8683       case "$gl_use_threads" in
   8684         yes | windows | win32) # The 'win32' is for backward compatibility.
   8685           if { case "$host_os" in
   8686                  mingw*) true;;
   8687                  *) false;;
   8688                esac
   8689              }; then
   8690             gl_threads_api=windows
   8691 
   8692 $as_echo "#define USE_WINDOWS_THREADS 1" >>confdefs.h
   8693 
   8694           fi
   8695           ;;
   8696       esac
   8697     fi
   8698   fi
   8699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
   8700 $as_echo_n "checking for multithread API to use... " >&6; }
   8701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
   8702 $as_echo "$gl_threads_api" >&6; }
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714   if test "$gl_threads_api" = posix; then
   8715     # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the
   8716     # pthread_rwlock_* functions.
   8717     ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
   8718 "
   8719 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
   8720 
   8721 $as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
   8722 
   8723 fi
   8724 
   8725     # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
   8726     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8727 /* end confdefs.h.  */
   8728 
   8729       #include <pthread.h>
   8730 int
   8731 main ()
   8732 {
   8733 
   8734 #if __FreeBSD__ == 4
   8735 error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
   8736 #elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \
   8737        && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070)
   8738 error "No, in Mac OS X < 10.7 recursive mutexes actually don't work."
   8739 #else
   8740 int x = (int)PTHREAD_MUTEX_RECURSIVE;
   8741 return !x;
   8742 #endif
   8743 
   8744   ;
   8745   return 0;
   8746 }
   8747 _ACEOF
   8748 if ac_fn_c_try_compile "$LINENO"; then :
   8749 
   8750 $as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
   8751 
   8752 fi
   8753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8754   fi
   8755   :
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768     use_additional=yes
   8769 
   8770   acl_save_prefix="$prefix"
   8771   prefix="$acl_final_prefix"
   8772   acl_save_exec_prefix="$exec_prefix"
   8773   exec_prefix="$acl_final_exec_prefix"
   8774 
   8775     eval additional_includedir=\"$includedir\"
   8776     eval additional_libdir=\"$libdir\"
   8777 
   8778   exec_prefix="$acl_save_exec_prefix"
   8779   prefix="$acl_save_prefix"
   8780 
   8781 
   8782 # Check whether --with-libiconv-prefix was given.
   8783 if test "${with_libiconv_prefix+set}" = set; then :
   8784   withval=$with_libiconv_prefix;
   8785     if test "X$withval" = "Xno"; then
   8786       use_additional=no
   8787     else
   8788       if test "X$withval" = "X"; then
   8789 
   8790   acl_save_prefix="$prefix"
   8791   prefix="$acl_final_prefix"
   8792   acl_save_exec_prefix="$exec_prefix"
   8793   exec_prefix="$acl_final_exec_prefix"
   8794 
   8795           eval additional_includedir=\"$includedir\"
   8796           eval additional_libdir=\"$libdir\"
   8797 
   8798   exec_prefix="$acl_save_exec_prefix"
   8799   prefix="$acl_save_prefix"
   8800 
   8801       else
   8802         additional_includedir="$withval/include"
   8803         additional_libdir="$withval/$acl_libdirstem"
   8804         if test "$acl_libdirstem2" != "$acl_libdirstem" \
   8805            && ! test -d "$withval/$acl_libdirstem"; then
   8806           additional_libdir="$withval/$acl_libdirstem2"
   8807         fi
   8808       fi
   8809     fi
   8810 
   8811 fi
   8812 
   8813       LIBICONV=
   8814   LTLIBICONV=
   8815   INCICONV=
   8816   LIBICONV_PREFIX=
   8817       HAVE_LIBICONV=
   8818   rpathdirs=
   8819   ltrpathdirs=
   8820   names_already_handled=
   8821   names_next_round='iconv '
   8822   while test -n "$names_next_round"; do
   8823     names_this_round="$names_next_round"
   8824     names_next_round=
   8825     for name in $names_this_round; do
   8826       already_handled=
   8827       for n in $names_already_handled; do
   8828         if test "$n" = "$name"; then
   8829           already_handled=yes
   8830           break
   8831         fi
   8832       done
   8833       if test -z "$already_handled"; then
   8834         names_already_handled="$names_already_handled $name"
   8835                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   8836         eval value=\"\$HAVE_LIB$uppername\"
   8837         if test -n "$value"; then
   8838           if test "$value" = yes; then
   8839             eval value=\"\$LIB$uppername\"
   8840             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   8841             eval value=\"\$LTLIB$uppername\"
   8842             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   8843           else
   8844                                     :
   8845           fi
   8846         else
   8847                               found_dir=
   8848           found_la=
   8849           found_so=
   8850           found_a=
   8851           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   8852           if test -n "$acl_shlibext"; then
   8853             shrext=".$acl_shlibext"             # typically: shrext=.so
   8854           else
   8855             shrext=
   8856           fi
   8857           if test $use_additional = yes; then
   8858             dir="$additional_libdir"
   8859                                     if test -n "$acl_shlibext"; then
   8860               if test -f "$dir/$libname$shrext"; then
   8861                 found_dir="$dir"
   8862                 found_so="$dir/$libname$shrext"
   8863               else
   8864                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   8865                   ver=`(cd "$dir" && \
   8866                         for f in "$libname$shrext".*; do echo "$f"; done \
   8867                         | sed -e "s,^$libname$shrext\\\\.,," \
   8868                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   8869                         | sed 1q ) 2>/dev/null`
   8870                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   8871                     found_dir="$dir"
   8872                     found_so="$dir/$libname$shrext.$ver"
   8873                   fi
   8874                 else
   8875                   eval library_names=\"$acl_library_names_spec\"
   8876                   for f in $library_names; do
   8877                     if test -f "$dir/$f"; then
   8878                       found_dir="$dir"
   8879                       found_so="$dir/$f"
   8880                       break
   8881                     fi
   8882                   done
   8883                 fi
   8884               fi
   8885             fi
   8886                         if test "X$found_dir" = "X"; then
   8887               if test -f "$dir/$libname.$acl_libext"; then
   8888                 found_dir="$dir"
   8889                 found_a="$dir/$libname.$acl_libext"
   8890               fi
   8891             fi
   8892             if test "X$found_dir" != "X"; then
   8893               if test -f "$dir/$libname.la"; then
   8894                 found_la="$dir/$libname.la"
   8895               fi
   8896             fi
   8897           fi
   8898           if test "X$found_dir" = "X"; then
   8899             for x in $LDFLAGS $LTLIBICONV; do
   8900 
   8901   acl_save_prefix="$prefix"
   8902   prefix="$acl_final_prefix"
   8903   acl_save_exec_prefix="$exec_prefix"
   8904   exec_prefix="$acl_final_exec_prefix"
   8905   eval x=\"$x\"
   8906   exec_prefix="$acl_save_exec_prefix"
   8907   prefix="$acl_save_prefix"
   8908 
   8909               case "$x" in
   8910                 -L*)
   8911                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   8912                                     if test -n "$acl_shlibext"; then
   8913                     if test -f "$dir/$libname$shrext"; then
   8914                       found_dir="$dir"
   8915                       found_so="$dir/$libname$shrext"
   8916                     else
   8917                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   8918                         ver=`(cd "$dir" && \
   8919                               for f in "$libname$shrext".*; do echo "$f"; done \
   8920                               | sed -e "s,^$libname$shrext\\\\.,," \
   8921                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   8922                               | sed 1q ) 2>/dev/null`
   8923                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   8924                           found_dir="$dir"
   8925                           found_so="$dir/$libname$shrext.$ver"
   8926                         fi
   8927                       else
   8928                         eval library_names=\"$acl_library_names_spec\"
   8929                         for f in $library_names; do
   8930                           if test -f "$dir/$f"; then
   8931                             found_dir="$dir"
   8932                             found_so="$dir/$f"
   8933                             break
   8934                           fi
   8935                         done
   8936                       fi
   8937                     fi
   8938                   fi
   8939                                     if test "X$found_dir" = "X"; then
   8940                     if test -f "$dir/$libname.$acl_libext"; then
   8941                       found_dir="$dir"
   8942                       found_a="$dir/$libname.$acl_libext"
   8943                     fi
   8944                   fi
   8945                   if test "X$found_dir" != "X"; then
   8946                     if test -f "$dir/$libname.la"; then
   8947                       found_la="$dir/$libname.la"
   8948                     fi
   8949                   fi
   8950                   ;;
   8951               esac
   8952               if test "X$found_dir" != "X"; then
   8953                 break
   8954               fi
   8955             done
   8956           fi
   8957           if test "X$found_dir" != "X"; then
   8958                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   8959             if test "X$found_so" != "X"; then
   8960                                                         if test "$enable_rpath" = no \
   8961                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   8962                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
   8963                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   8964               else
   8965                                                                                 haveit=
   8966                 for x in $ltrpathdirs; do
   8967                   if test "X$x" = "X$found_dir"; then
   8968                     haveit=yes
   8969                     break
   8970                   fi
   8971                 done
   8972                 if test -z "$haveit"; then
   8973                   ltrpathdirs="$ltrpathdirs $found_dir"
   8974                 fi
   8975                                 if test "$acl_hardcode_direct" = yes; then
   8976                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   8977                 else
   8978                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   8979                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   8980                                                             haveit=
   8981                     for x in $rpathdirs; do
   8982                       if test "X$x" = "X$found_dir"; then
   8983                         haveit=yes
   8984                         break
   8985                       fi
   8986                     done
   8987                     if test -z "$haveit"; then
   8988                       rpathdirs="$rpathdirs $found_dir"
   8989                     fi
   8990                   else
   8991                                                                                 haveit=
   8992                     for x in $LDFLAGS $LIBICONV; do
   8993 
   8994   acl_save_prefix="$prefix"
   8995   prefix="$acl_final_prefix"
   8996   acl_save_exec_prefix="$exec_prefix"
   8997   exec_prefix="$acl_final_exec_prefix"
   8998   eval x=\"$x\"
   8999   exec_prefix="$acl_save_exec_prefix"
   9000   prefix="$acl_save_prefix"
   9001 
   9002                       if test "X$x" = "X-L$found_dir"; then
   9003                         haveit=yes
   9004                         break
   9005                       fi
   9006                     done
   9007                     if test -z "$haveit"; then
   9008                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   9009                     fi
   9010                     if test "$acl_hardcode_minus_L" != no; then
   9011                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   9012                     else
   9013                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   9014                     fi
   9015                   fi
   9016                 fi
   9017               fi
   9018             else
   9019               if test "X$found_a" != "X"; then
   9020                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   9021               else
   9022                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   9023               fi
   9024             fi
   9025                         additional_includedir=
   9026             case "$found_dir" in
   9027               */$acl_libdirstem | */$acl_libdirstem/)
   9028                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   9029                 if test "$name" = 'iconv'; then
   9030                   LIBICONV_PREFIX="$basedir"
   9031                 fi
   9032                 additional_includedir="$basedir/include"
   9033                 ;;
   9034               */$acl_libdirstem2 | */$acl_libdirstem2/)
   9035                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   9036                 if test "$name" = 'iconv'; then
   9037                   LIBICONV_PREFIX="$basedir"
   9038                 fi
   9039                 additional_includedir="$basedir/include"
   9040                 ;;
   9041             esac
   9042             if test "X$additional_includedir" != "X"; then
   9043                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   9044                 haveit=
   9045                 if test "X$additional_includedir" = "X/usr/local/include"; then
   9046                   if test -n "$GCC"; then
   9047                     case $host_os in
   9048                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   9049                     esac
   9050                   fi
   9051                 fi
   9052                 if test -z "$haveit"; then
   9053                   for x in $CPPFLAGS $INCICONV; do
   9054 
   9055   acl_save_prefix="$prefix"
   9056   prefix="$acl_final_prefix"
   9057   acl_save_exec_prefix="$exec_prefix"
   9058   exec_prefix="$acl_final_exec_prefix"
   9059   eval x=\"$x\"
   9060   exec_prefix="$acl_save_exec_prefix"
   9061   prefix="$acl_save_prefix"
   9062 
   9063                     if test "X$x" = "X-I$additional_includedir"; then
   9064                       haveit=yes
   9065                       break
   9066                     fi
   9067                   done
   9068                   if test -z "$haveit"; then
   9069                     if test -d "$additional_includedir"; then
   9070                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   9071                     fi
   9072                   fi
   9073                 fi
   9074               fi
   9075             fi
   9076                         if test -n "$found_la"; then
   9077                                                         save_libdir="$libdir"
   9078               case "$found_la" in
   9079                 */* | *\\*) . "$found_la" ;;
   9080                 *) . "./$found_la" ;;
   9081               esac
   9082               libdir="$save_libdir"
   9083                             for dep in $dependency_libs; do
   9084                 case "$dep" in
   9085                   -L*)
   9086                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   9087                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
   9088                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
   9089                       haveit=
   9090                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
   9091                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
   9092                         if test -n "$GCC"; then
   9093                           case $host_os in
   9094                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   9095                           esac
   9096                         fi
   9097                       fi
   9098                       if test -z "$haveit"; then
   9099                         haveit=
   9100                         for x in $LDFLAGS $LIBICONV; do
   9101 
   9102   acl_save_prefix="$prefix"
   9103   prefix="$acl_final_prefix"
   9104   acl_save_exec_prefix="$exec_prefix"
   9105   exec_prefix="$acl_final_exec_prefix"
   9106   eval x=\"$x\"
   9107   exec_prefix="$acl_save_exec_prefix"
   9108   prefix="$acl_save_prefix"
   9109 
   9110                           if test "X$x" = "X-L$additional_libdir"; then
   9111                             haveit=yes
   9112                             break
   9113                           fi
   9114                         done
   9115                         if test -z "$haveit"; then
   9116                           if test -d "$additional_libdir"; then
   9117                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   9118                           fi
   9119                         fi
   9120                         haveit=
   9121                         for x in $LDFLAGS $LTLIBICONV; do
   9122 
   9123   acl_save_prefix="$prefix"
   9124   prefix="$acl_final_prefix"
   9125   acl_save_exec_prefix="$exec_prefix"
   9126   exec_prefix="$acl_final_exec_prefix"
   9127   eval x=\"$x\"
   9128   exec_prefix="$acl_save_exec_prefix"
   9129   prefix="$acl_save_prefix"
   9130 
   9131                           if test "X$x" = "X-L$additional_libdir"; then
   9132                             haveit=yes
   9133                             break
   9134                           fi
   9135                         done
   9136                         if test -z "$haveit"; then
   9137                           if test -d "$additional_libdir"; then
   9138                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   9139                           fi
   9140                         fi
   9141                       fi
   9142                     fi
   9143                     ;;
   9144                   -R*)
   9145                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   9146                     if test "$enable_rpath" != no; then
   9147                                                                   haveit=
   9148                       for x in $rpathdirs; do
   9149                         if test "X$x" = "X$dir"; then
   9150                           haveit=yes
   9151                           break
   9152                         fi
   9153                       done
   9154                       if test -z "$haveit"; then
   9155                         rpathdirs="$rpathdirs $dir"
   9156                       fi
   9157                                                                   haveit=
   9158                       for x in $ltrpathdirs; do
   9159                         if test "X$x" = "X$dir"; then
   9160                           haveit=yes
   9161                           break
   9162                         fi
   9163                       done
   9164                       if test -z "$haveit"; then
   9165                         ltrpathdirs="$ltrpathdirs $dir"
   9166                       fi
   9167                     fi
   9168                     ;;
   9169                   -l*)
   9170                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   9171                     ;;
   9172                   *.la)
   9173                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   9174                     ;;
   9175                   *)
   9176                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   9177                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   9178                     ;;
   9179                 esac
   9180               done
   9181             fi
   9182           else
   9183                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   9184             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   9185           fi
   9186         fi
   9187       fi
   9188     done
   9189   done
   9190   if test "X$rpathdirs" != "X"; then
   9191     if test -n "$acl_hardcode_libdir_separator"; then
   9192                         alldirs=
   9193       for found_dir in $rpathdirs; do
   9194         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   9195       done
   9196             acl_save_libdir="$libdir"
   9197       libdir="$alldirs"
   9198       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   9199       libdir="$acl_save_libdir"
   9200       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   9201     else
   9202             for found_dir in $rpathdirs; do
   9203         acl_save_libdir="$libdir"
   9204         libdir="$found_dir"
   9205         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   9206         libdir="$acl_save_libdir"
   9207         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   9208       done
   9209     fi
   9210   fi
   9211   if test "X$ltrpathdirs" != "X"; then
   9212             for found_dir in $ltrpathdirs; do
   9213       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   9214     done
   9215   fi
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228           am_save_CPPFLAGS="$CPPFLAGS"
   9229 
   9230   for element in $INCICONV; do
   9231     haveit=
   9232     for x in $CPPFLAGS; do
   9233 
   9234   acl_save_prefix="$prefix"
   9235   prefix="$acl_final_prefix"
   9236   acl_save_exec_prefix="$exec_prefix"
   9237   exec_prefix="$acl_final_exec_prefix"
   9238   eval x=\"$x\"
   9239   exec_prefix="$acl_save_exec_prefix"
   9240   prefix="$acl_save_prefix"
   9241 
   9242       if test "X$x" = "X$element"; then
   9243         haveit=yes
   9244         break
   9245       fi
   9246     done
   9247     if test -z "$haveit"; then
   9248       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   9249     fi
   9250   done
   9251 
   9252 
   9253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   9254 $as_echo_n "checking for iconv... " >&6; }
   9255 if ${am_cv_func_iconv+:} false; then :
   9256   $as_echo_n "(cached) " >&6
   9257 else
   9258 
   9259     am_cv_func_iconv="no, consider installing GNU libiconv"
   9260     am_cv_lib_iconv=no
   9261     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9262 /* end confdefs.h.  */
   9263 
   9264 #include <stdlib.h>
   9265 #include <iconv.h>
   9266 
   9267 int
   9268 main ()
   9269 {
   9270 iconv_t cd = iconv_open("","");
   9271            iconv(cd,NULL,NULL,NULL,NULL);
   9272            iconv_close(cd);
   9273   ;
   9274   return 0;
   9275 }
   9276 _ACEOF
   9277 if ac_fn_c_try_link "$LINENO"; then :
   9278   am_cv_func_iconv=yes
   9279 fi
   9280 rm -f core conftest.err conftest.$ac_objext \
   9281     conftest$ac_exeext conftest.$ac_ext
   9282     if test "$am_cv_func_iconv" != yes; then
   9283       am_save_LIBS="$LIBS"
   9284       LIBS="$LIBS $LIBICONV"
   9285       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9286 /* end confdefs.h.  */
   9287 
   9288 #include <stdlib.h>
   9289 #include <iconv.h>
   9290 
   9291 int
   9292 main ()
   9293 {
   9294 iconv_t cd = iconv_open("","");
   9295              iconv(cd,NULL,NULL,NULL,NULL);
   9296              iconv_close(cd);
   9297   ;
   9298   return 0;
   9299 }
   9300 _ACEOF
   9301 if ac_fn_c_try_link "$LINENO"; then :
   9302   am_cv_lib_iconv=yes
   9303         am_cv_func_iconv=yes
   9304 fi
   9305 rm -f core conftest.err conftest.$ac_objext \
   9306     conftest$ac_exeext conftest.$ac_ext
   9307       LIBS="$am_save_LIBS"
   9308     fi
   9309 
   9310 fi
   9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   9312 $as_echo "$am_cv_func_iconv" >&6; }
   9313   if test "$am_cv_func_iconv" = yes; then
   9314     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   9315 $as_echo_n "checking for working iconv... " >&6; }
   9316 if ${am_cv_func_iconv_works+:} false; then :
   9317   $as_echo_n "(cached) " >&6
   9318 else
   9319 
   9320                   am_save_LIBS="$LIBS"
   9321       if test $am_cv_lib_iconv = yes; then
   9322         LIBS="$LIBS $LIBICONV"
   9323       fi
   9324       if test "$cross_compiling" = yes; then :
   9325 
   9326          case "$host_os" in
   9327            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   9328            *)            am_cv_func_iconv_works="guessing yes" ;;
   9329          esac
   9330 
   9331 else
   9332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9333 /* end confdefs.h.  */
   9334 
   9335 #include <iconv.h>
   9336 #include <string.h>
   9337 int main ()
   9338 {
   9339   int result = 0;
   9340   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
   9341      returns.  */
   9342   {
   9343     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   9344     if (cd_utf8_to_88591 != (iconv_t)(-1))
   9345       {
   9346         static const char input[] = "\342\202\254"; /* EURO SIGN */
   9347         char buf[10];
   9348         const char *inptr = input;
   9349         size_t inbytesleft = strlen (input);
   9350         char *outptr = buf;
   9351         size_t outbytesleft = sizeof (buf);
   9352         size_t res = iconv (cd_utf8_to_88591,
   9353                             (char **) &inptr, &inbytesleft,
   9354                             &outptr, &outbytesleft);
   9355         if (res == 0)
   9356           result |= 1;
   9357         iconv_close (cd_utf8_to_88591);
   9358       }
   9359   }
   9360   /* Test against Solaris 10 bug: Failures are not distinguishable from
   9361      successful returns.  */
   9362   {
   9363     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   9364     if (cd_ascii_to_88591 != (iconv_t)(-1))
   9365       {
   9366         static const char input[] = "\263";
   9367         char buf[10];
   9368         const char *inptr = input;
   9369         size_t inbytesleft = strlen (input);
   9370         char *outptr = buf;
   9371         size_t outbytesleft = sizeof (buf);
   9372         size_t res = iconv (cd_ascii_to_88591,
   9373                             (char **) &inptr, &inbytesleft,
   9374                             &outptr, &outbytesleft);
   9375         if (res == 0)
   9376           result |= 2;
   9377         iconv_close (cd_ascii_to_88591);
   9378       }
   9379   }
   9380   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   9381   {
   9382     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   9383     if (cd_88591_to_utf8 != (iconv_t)(-1))
   9384       {
   9385         static const char input[] = "\304";
   9386         static char buf[2] = { (char)0xDE, (char)0xAD };
   9387         const char *inptr = input;
   9388         size_t inbytesleft = 1;
   9389         char *outptr = buf;
   9390         size_t outbytesleft = 1;
   9391         size_t res = iconv (cd_88591_to_utf8,
   9392                             (char **) &inptr, &inbytesleft,
   9393                             &outptr, &outbytesleft);
   9394         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   9395           result |= 4;
   9396         iconv_close (cd_88591_to_utf8);
   9397       }
   9398   }
   9399 #if 0 /* This bug could be worked around by the caller.  */
   9400   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   9401   {
   9402     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   9403     if (cd_88591_to_utf8 != (iconv_t)(-1))
   9404       {
   9405         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   9406         char buf[50];
   9407         const char *inptr = input;
   9408         size_t inbytesleft = strlen (input);
   9409         char *outptr = buf;
   9410         size_t outbytesleft = sizeof (buf);
   9411         size_t res = iconv (cd_88591_to_utf8,
   9412                             (char **) &inptr, &inbytesleft,
   9413                             &outptr, &outbytesleft);
   9414         if ((int)res > 0)
   9415           result |= 8;
   9416         iconv_close (cd_88591_to_utf8);
   9417       }
   9418   }
   9419 #endif
   9420   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   9421      provided.  */
   9422   if (/* Try standardized names.  */
   9423       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
   9424       /* Try IRIX, OSF/1 names.  */
   9425       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
   9426       /* Try AIX names.  */
   9427       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
   9428       /* Try HP-UX names.  */
   9429       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
   9430     result |= 16;
   9431   return result;
   9432 }
   9433 _ACEOF
   9434 if ac_fn_c_try_run "$LINENO"; then :
   9435   am_cv_func_iconv_works=yes
   9436 else
   9437   am_cv_func_iconv_works=no
   9438 fi
   9439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   9440   conftest.$ac_objext conftest.beam conftest.$ac_ext
   9441 fi
   9442 
   9443       LIBS="$am_save_LIBS"
   9444 
   9445 fi
   9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   9447 $as_echo "$am_cv_func_iconv_works" >&6; }
   9448     case "$am_cv_func_iconv_works" in
   9449       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   9450       *)   am_func_iconv=yes ;;
   9451     esac
   9452   else
   9453     am_func_iconv=no am_cv_lib_iconv=no
   9454   fi
   9455   if test "$am_func_iconv" = yes; then
   9456 
   9457 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   9458 
   9459   fi
   9460   if test "$am_cv_lib_iconv" = yes; then
   9461     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   9462 $as_echo_n "checking how to link with libiconv... " >&6; }
   9463     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   9464 $as_echo "$LIBICONV" >&6; }
   9465   else
   9466             CPPFLAGS="$am_save_CPPFLAGS"
   9467     LIBICONV=
   9468     LTLIBICONV=
   9469   fi
   9470 
   9471 
   9472 
   9473   if test "$am_cv_func_iconv" = yes; then
   9474     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
   9475 $as_echo_n "checking for iconv declaration... " >&6; }
   9476     if ${am_cv_proto_iconv+:} false; then :
   9477   $as_echo_n "(cached) " >&6
   9478 else
   9479 
   9480       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9481 /* end confdefs.h.  */
   9482 
   9483 #include <stdlib.h>
   9484 #include <iconv.h>
   9485 extern
   9486 #ifdef __cplusplus
   9487 "C"
   9488 #endif
   9489 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
   9490 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
   9491 #else
   9492 size_t iconv();
   9493 #endif
   9494 
   9495 int
   9496 main ()
   9497 {
   9498 
   9499   ;
   9500   return 0;
   9501 }
   9502 _ACEOF
   9503 if ac_fn_c_try_compile "$LINENO"; then :
   9504   am_cv_proto_iconv_arg1=""
   9505 else
   9506   am_cv_proto_iconv_arg1="const"
   9507 fi
   9508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9509       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);"
   9510 fi
   9511 
   9512     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
   9513     { $as_echo "$as_me:${as_lineno-$LINENO}: result:
   9514          $am_cv_proto_iconv" >&5
   9515 $as_echo "
   9516          $am_cv_proto_iconv" >&6; }
   9517 
   9518 cat >>confdefs.h <<_ACEOF
   9519 #define ICONV_CONST $am_cv_proto_iconv_arg1
   9520 _ACEOF
   9521 
   9522 
   9523   fi
   9524 
   9525 
   9526 
   9527 
   9528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9529 /* end confdefs.h.  */
   9530 int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }
   9531 int
   9532 main ()
   9533 {
   9534 
   9535   ;
   9536   return 0;
   9537 }
   9538 _ACEOF
   9539 if ac_fn_c_try_link "$LINENO"; then :
   9540 
   9541 $as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h
   9542 
   9543 fi
   9544 rm -f core conftest.err conftest.$ac_objext \
   9545     conftest$ac_exeext conftest.$ac_ext
   9546 
   9547   for ac_header in argz.h inttypes.h limits.h unistd.h sys/param.h
   9548 do :
   9549   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   9550 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   9551 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   9552   cat >>confdefs.h <<_ACEOF
   9553 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   9554 _ACEOF
   9555 
   9556 fi
   9557 
   9558 done
   9559 
   9560   for ac_func in getcwd getegid geteuid getgid getuid mempcpy munmap \
   9561     stpcpy strcasecmp strdup strtoul tsearch uselocale argz_count \
   9562     argz_stringify argz_next __fsetlocking
   9563 do :
   9564   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   9565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   9566 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   9567   cat >>confdefs.h <<_ACEOF
   9568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   9569 _ACEOF
   9570 
   9571 fi
   9572 done
   9573 
   9574 
   9575           ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "#include <stdio.h>
   9576 "
   9577 if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
   9578   ac_have_decl=1
   9579 else
   9580   ac_have_decl=0
   9581 fi
   9582 
   9583 cat >>confdefs.h <<_ACEOF
   9584 #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
   9585 _ACEOF
   9586 ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "#include <stdio.h>
   9587 "
   9588 if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
   9589   ac_have_decl=1
   9590 else
   9591   ac_have_decl=0
   9592 fi
   9593 
   9594 cat >>confdefs.h <<_ACEOF
   9595 #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
   9596 _ACEOF
   9597 
   9598 
   9599 
   9600 
   9601                       for ac_prog in bison
   9602 do
   9603   # Extract the first word of "$ac_prog", so it can be a program name with args.
   9604 set dummy $ac_prog; ac_word=$2
   9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9606 $as_echo_n "checking for $ac_word... " >&6; }
   9607 if ${ac_cv_prog_INTLBISON+:} false; then :
   9608   $as_echo_n "(cached) " >&6
   9609 else
   9610   if test -n "$INTLBISON"; then
   9611   ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
   9612 else
   9613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9614 for as_dir in $PATH
   9615 do
   9616   IFS=$as_save_IFS
   9617   test -z "$as_dir" && as_dir=.
   9618     for ac_exec_ext in '' $ac_executable_extensions; do
   9619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9620     ac_cv_prog_INTLBISON="$ac_prog"
   9621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9622     break 2
   9623   fi
   9624 done
   9625   done
   9626 IFS=$as_save_IFS
   9627 
   9628 fi
   9629 fi
   9630 INTLBISON=$ac_cv_prog_INTLBISON
   9631 if test -n "$INTLBISON"; then
   9632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
   9633 $as_echo "$INTLBISON" >&6; }
   9634 else
   9635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9636 $as_echo "no" >&6; }
   9637 fi
   9638 
   9639 
   9640   test -n "$INTLBISON" && break
   9641 done
   9642 
   9643   if test -z "$INTLBISON"; then
   9644     ac_verc_fail=yes
   9645   else
   9646         { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
   9647 $as_echo_n "checking version of bison... " >&6; }
   9648     ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
   9649     case $ac_prog_version in
   9650       '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
   9651       1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
   9652          ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
   9653       *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
   9654     esac
   9655     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
   9656 $as_echo "$ac_prog_version" >&6; }
   9657   fi
   9658   if test $ac_verc_fail = yes; then
   9659     INTLBISON=:
   9660   fi
   9661 
   9662 
   9663 
   9664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
   9665 $as_echo_n "checking for long long int... " >&6; }
   9666 if ${ac_cv_type_long_long_int+:} false; then :
   9667   $as_echo_n "(cached) " >&6
   9668 else
   9669   ac_cv_type_long_long_int=yes
   9670       if test "x${ac_cv_prog_cc_c99-no}" = xno; then
   9671         ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
   9672         if test $ac_cv_type_long_long_int = yes; then
   9673                                         if test "$cross_compiling" = yes; then :
   9674   :
   9675 else
   9676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9677 /* end confdefs.h.  */
   9678 #include <limits.h>
   9679                  #ifndef LLONG_MAX
   9680                  # define HALF \
   9681                           (1LL << (sizeof (long long int) * CHAR_BIT - 2))
   9682                  # define LLONG_MAX (HALF - 1 + HALF)
   9683                  #endif
   9684 int
   9685 main ()
   9686 {
   9687 long long int n = 1;
   9688                  int i;
   9689                  for (i = 0; ; i++)
   9690                    {
   9691                      long long int m = n << i;
   9692                      if (m >> i != n)
   9693                        return 1;
   9694                      if (LLONG_MAX / 2 < m)
   9695                        break;
   9696                    }
   9697                  return 0;
   9698   ;
   9699   return 0;
   9700 }
   9701 _ACEOF
   9702 if ac_fn_c_try_run "$LINENO"; then :
   9703 
   9704 else
   9705   ac_cv_type_long_long_int=no
   9706 fi
   9707 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   9708   conftest.$ac_objext conftest.beam conftest.$ac_ext
   9709 fi
   9710 
   9711         fi
   9712       fi
   9713 fi
   9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
   9715 $as_echo "$ac_cv_type_long_long_int" >&6; }
   9716   if test $ac_cv_type_long_long_int = yes; then
   9717 
   9718 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
   9719 
   9720   fi
   9721 
   9722 
   9723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
   9724 $as_echo_n "checking for wchar_t... " >&6; }
   9725 if ${gt_cv_c_wchar_t+:} false; then :
   9726   $as_echo_n "(cached) " >&6
   9727 else
   9728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9729 /* end confdefs.h.  */
   9730 #include <stddef.h>
   9731             wchar_t foo = (wchar_t)'\0';
   9732 int
   9733 main ()
   9734 {
   9735 
   9736   ;
   9737   return 0;
   9738 }
   9739 _ACEOF
   9740 if ac_fn_c_try_compile "$LINENO"; then :
   9741   gt_cv_c_wchar_t=yes
   9742 else
   9743   gt_cv_c_wchar_t=no
   9744 fi
   9745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9746 fi
   9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
   9748 $as_echo "$gt_cv_c_wchar_t" >&6; }
   9749   if test $gt_cv_c_wchar_t = yes; then
   9750 
   9751 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
   9752 
   9753   fi
   9754 
   9755 
   9756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
   9757 $as_echo_n "checking for wint_t... " >&6; }
   9758 if ${gt_cv_c_wint_t+:} false; then :
   9759   $as_echo_n "(cached) " >&6
   9760 else
   9761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9762 /* end confdefs.h.  */
   9763 
   9764 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
   9765    <wchar.h>.
   9766    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
   9767    before <wchar.h>.  */
   9768 #include <stddef.h>
   9769 #include <stdio.h>
   9770 #include <time.h>
   9771 #include <wchar.h>
   9772             wint_t foo = (wchar_t)'\0';
   9773 int
   9774 main ()
   9775 {
   9776 
   9777   ;
   9778   return 0;
   9779 }
   9780 _ACEOF
   9781 if ac_fn_c_try_compile "$LINENO"; then :
   9782   gt_cv_c_wint_t=yes
   9783 else
   9784   gt_cv_c_wint_t=no
   9785 fi
   9786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9787 fi
   9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
   9789 $as_echo "$gt_cv_c_wint_t" >&6; }
   9790   if test $gt_cv_c_wint_t = yes; then
   9791 
   9792 $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
   9793 
   9794   fi
   9795 
   9796 
   9797 
   9798 
   9799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
   9800 $as_echo_n "checking for intmax_t... " >&6; }
   9801 if ${gt_cv_c_intmax_t+:} false; then :
   9802   $as_echo_n "(cached) " >&6
   9803 else
   9804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9805 /* end confdefs.h.  */
   9806 
   9807 #include <stddef.h>
   9808 #include <stdlib.h>
   9809 #if HAVE_STDINT_H_WITH_UINTMAX
   9810 #include <stdint.h>
   9811 #endif
   9812 #if HAVE_INTTYPES_H_WITH_UINTMAX
   9813 #include <inttypes.h>
   9814 #endif
   9815 
   9816 int
   9817 main ()
   9818 {
   9819 intmax_t x = -1;
   9820             return !x;
   9821   ;
   9822   return 0;
   9823 }
   9824 _ACEOF
   9825 if ac_fn_c_try_compile "$LINENO"; then :
   9826   gt_cv_c_intmax_t=yes
   9827 else
   9828   gt_cv_c_intmax_t=no
   9829 fi
   9830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9831 fi
   9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
   9833 $as_echo "$gt_cv_c_intmax_t" >&6; }
   9834   if test $gt_cv_c_intmax_t = yes; then
   9835 
   9836 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
   9837 
   9838   fi
   9839 
   9840 
   9841 
   9842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
   9843 $as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
   9844 if ${gt_cv_func_printf_posix+:} false; then :
   9845   $as_echo_n "(cached) " >&6
   9846 else
   9847 
   9848       if test "$cross_compiling" = yes; then :
   9849 
   9850           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9851 /* end confdefs.h.  */
   9852 
   9853 #if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
   9854   notposix
   9855 #endif
   9856 
   9857 _ACEOF
   9858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   9859   $EGREP "notposix" >/dev/null 2>&1; then :
   9860   gt_cv_func_printf_posix="guessing no"
   9861 else
   9862   gt_cv_func_printf_posix="guessing yes"
   9863 fi
   9864 rm -f conftest*
   9865 
   9866 
   9867 else
   9868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9869 /* end confdefs.h.  */
   9870 
   9871 #include <stdio.h>
   9872 #include <string.h>
   9873 /* The string "%2$d %1$d", with dollar characters protected from the shell's
   9874    dollar expansion (possibly an autoconf bug).  */
   9875 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
   9876 static char buf[100];
   9877 int main ()
   9878 {
   9879   sprintf (buf, format, 33, 55);
   9880   return (strcmp (buf, "55 33") != 0);
   9881 }
   9882 _ACEOF
   9883 if ac_fn_c_try_run "$LINENO"; then :
   9884   gt_cv_func_printf_posix=yes
   9885 else
   9886   gt_cv_func_printf_posix=no
   9887 fi
   9888 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   9889   conftest.$ac_objext conftest.beam conftest.$ac_ext
   9890 fi
   9891 
   9892 
   9893 fi
   9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
   9895 $as_echo "$gt_cv_func_printf_posix" >&6; }
   9896   case $gt_cv_func_printf_posix in
   9897     *yes)
   9898 
   9899 $as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
   9900 
   9901       ;;
   9902   esac
   9903 
   9904 
   9905     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5
   9906 $as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; }
   9907 if ${ac_cv_gnu_library_2_1+:} false; then :
   9908   $as_echo_n "(cached) " >&6
   9909 else
   9910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9911 /* end confdefs.h.  */
   9912 
   9913 #include <features.h>
   9914 #ifdef __GNU_LIBRARY__
   9915  #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
   9916   Lucky GNU user
   9917  #endif
   9918 #endif
   9919 #ifdef __UCLIBC__
   9920  Lucky user
   9921 #endif
   9922 
   9923 _ACEOF
   9924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   9925   $EGREP "Lucky" >/dev/null 2>&1; then :
   9926   ac_cv_gnu_library_2_1=yes
   9927 else
   9928   ac_cv_gnu_library_2_1=no
   9929 fi
   9930 rm -f conftest*
   9931 
   9932 
   9933 
   9934 fi
   9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
   9936 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
   9937 
   9938     GLIBC21="$ac_cv_gnu_library_2_1"
   9939 
   9940 
   9941 
   9942   for ac_header in stdint.h
   9943 do :
   9944   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
   9945 if test "x$ac_cv_header_stdint_h" = xyes; then :
   9946   cat >>confdefs.h <<_ACEOF
   9947 #define HAVE_STDINT_H 1
   9948 _ACEOF
   9949 
   9950 fi
   9951 
   9952 done
   9953 
   9954     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
   9955 $as_echo_n "checking for SIZE_MAX... " >&6; }
   9956 if ${gl_cv_size_max+:} false; then :
   9957   $as_echo_n "(cached) " >&6
   9958 else
   9959 
   9960     gl_cv_size_max=
   9961     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9962 /* end confdefs.h.  */
   9963 
   9964 #include <limits.h>
   9965 #if HAVE_STDINT_H
   9966 #include <stdint.h>
   9967 #endif
   9968 #ifdef SIZE_MAX
   9969 Found it
   9970 #endif
   9971 
   9972 _ACEOF
   9973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   9974   $EGREP "Found it" >/dev/null 2>&1; then :
   9975   gl_cv_size_max=yes
   9976 fi
   9977 rm -f conftest*
   9978 
   9979     if test -z "$gl_cv_size_max"; then
   9980                         if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1"        "#include <stddef.h>
   9981 #include <limits.h>"; then :
   9982 
   9983 else
   9984   size_t_bits_minus_1=
   9985 fi
   9986 
   9987       if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint"        "#include <stddef.h>"; then :
   9988 
   9989 else
   9990   fits_in_uint=
   9991 fi
   9992 
   9993       if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
   9994         if test $fits_in_uint = 1; then
   9995                               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9996 /* end confdefs.h.  */
   9997 #include <stddef.h>
   9998                  extern size_t foo;
   9999                  extern unsigned long foo;
   10000 
   10001 int
   10002 main ()
   10003 {
   10004 
   10005   ;
   10006   return 0;
   10007 }
   10008 _ACEOF
   10009 if ac_fn_c_try_compile "$LINENO"; then :
   10010   fits_in_uint=0
   10011 fi
   10012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10013         fi
   10014                                 if test $fits_in_uint = 1; then
   10015           gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
   10016         else
   10017           gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
   10018         fi
   10019       else
   10020                 gl_cv_size_max='((size_t)~(size_t)0)'
   10021       fi
   10022     fi
   10023 
   10024 fi
   10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
   10026 $as_echo "$gl_cv_size_max" >&6; }
   10027   if test "$gl_cv_size_max" != yes; then
   10028 
   10029 cat >>confdefs.h <<_ACEOF
   10030 #define SIZE_MAX $gl_cv_size_max
   10031 _ACEOF
   10032 
   10033   fi
   10034 
   10035 
   10036 
   10037 
   10038   for ac_header in stdint.h
   10039 do :
   10040   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
   10041 if test "x$ac_cv_header_stdint_h" = xyes; then :
   10042   cat >>confdefs.h <<_ACEOF
   10043 #define HAVE_STDINT_H 1
   10044 _ACEOF
   10045 
   10046 fi
   10047 
   10048 done
   10049 
   10050 
   10051 
   10052 
   10053 
   10054   for ac_func in $ac_func_list
   10055 do :
   10056   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10058 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   10059   cat >>confdefs.h <<_ACEOF
   10060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10061 _ACEOF
   10062 
   10063 fi
   10064 done
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
   10074 $as_echo_n "checking for working fcntl.h... " >&6; }
   10075 if ${gl_cv_header_working_fcntl_h+:} false; then :
   10076   $as_echo_n "(cached) " >&6
   10077 else
   10078   if test "$cross_compiling" = yes; then :
   10079   gl_cv_header_working_fcntl_h=cross-compiling
   10080 else
   10081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10082 /* end confdefs.h.  */
   10083 #include <sys/types.h>
   10084            #include <sys/stat.h>
   10085            #if HAVE_UNISTD_H
   10086            # include <unistd.h>
   10087            #else /* on Windows with MSVC */
   10088            # include <io.h>
   10089            # include <stdlib.h>
   10090            # defined sleep(n) _sleep ((n) * 1000)
   10091            #endif
   10092            #include <fcntl.h>
   10093            #ifndef O_NOATIME
   10094             #define O_NOATIME 0
   10095            #endif
   10096            #ifndef O_NOFOLLOW
   10097             #define O_NOFOLLOW 0
   10098            #endif
   10099            static int const constants[] =
   10100             {
   10101               O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
   10102               O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
   10103             };
   10104 
   10105 int
   10106 main ()
   10107 {
   10108 
   10109             int result = !constants;
   10110             #if HAVE_SYMLINK
   10111             {
   10112               static char const sym[] = "conftest.sym";
   10113               if (symlink ("/dev/null", sym) != 0)
   10114                 result |= 2;
   10115               else
   10116                 {
   10117                   int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
   10118                   if (fd >= 0)
   10119                     {
   10120                       close (fd);
   10121                       result |= 4;
   10122                     }
   10123                 }
   10124               if (unlink (sym) != 0 || symlink (".", sym) != 0)
   10125                 result |= 2;
   10126               else
   10127                 {
   10128                   int fd = open (sym, O_RDONLY | O_NOFOLLOW);
   10129                   if (fd >= 0)
   10130                     {
   10131                       close (fd);
   10132                       result |= 4;
   10133                     }
   10134                 }
   10135               unlink (sym);
   10136             }
   10137             #endif
   10138             {
   10139               static char const file[] = "confdefs.h";
   10140               int fd = open (file, O_RDONLY | O_NOATIME);
   10141               if (fd < 0)
   10142                 result |= 8;
   10143               else
   10144                 {
   10145                   struct stat st0;
   10146                   if (fstat (fd, &st0) != 0)
   10147                     result |= 16;
   10148                   else
   10149                     {
   10150                       char c;
   10151                       sleep (1);
   10152                       if (read (fd, &c, 1) != 1)
   10153                         result |= 24;
   10154                       else
   10155                         {
   10156                           if (close (fd) != 0)
   10157                             result |= 32;
   10158                           else
   10159                             {
   10160                               struct stat st1;
   10161                               if (stat (file, &st1) != 0)
   10162                                 result |= 40;
   10163                               else
   10164                                 if (st0.st_atime != st1.st_atime)
   10165                                   result |= 64;
   10166                             }
   10167                         }
   10168                     }
   10169                 }
   10170             }
   10171             return result;
   10172   ;
   10173   return 0;
   10174 }
   10175 _ACEOF
   10176 if ac_fn_c_try_run "$LINENO"; then :
   10177   gl_cv_header_working_fcntl_h=yes
   10178 else
   10179   case $? in #(
   10180         4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
   10181         64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
   10182         68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
   10183          *) gl_cv_header_working_fcntl_h='no';;
   10184         esac
   10185 fi
   10186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   10187   conftest.$ac_objext conftest.beam conftest.$ac_ext
   10188 fi
   10189 
   10190 fi
   10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5
   10192 $as_echo "$gl_cv_header_working_fcntl_h" >&6; }
   10193 
   10194   case $gl_cv_header_working_fcntl_h in #(
   10195   *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
   10196   *) ac_val=1;;
   10197   esac
   10198 
   10199 cat >>confdefs.h <<_ACEOF
   10200 #define HAVE_WORKING_O_NOATIME $ac_val
   10201 _ACEOF
   10202 
   10203 
   10204   case $gl_cv_header_working_fcntl_h in #(
   10205   *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
   10206   *) ac_val=1;;
   10207   esac
   10208 
   10209 cat >>confdefs.h <<_ACEOF
   10210 #define HAVE_WORKING_O_NOFOLLOW $ac_val
   10211 _ACEOF
   10212 
   10213 
   10214 
   10215     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   10216 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
   10217 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
   10218   $as_echo_n "(cached) " >&6
   10219 else
   10220   gt_save_LIBS="$LIBS"
   10221      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   10222      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10223 /* end confdefs.h.  */
   10224 #include <CoreFoundation/CFPreferences.h>
   10225 int
   10226 main ()
   10227 {
   10228 CFPreferencesCopyAppValue(NULL, NULL)
   10229   ;
   10230   return 0;
   10231 }
   10232 _ACEOF
   10233 if ac_fn_c_try_link "$LINENO"; then :
   10234   gt_cv_func_CFPreferencesCopyAppValue=yes
   10235 else
   10236   gt_cv_func_CFPreferencesCopyAppValue=no
   10237 fi
   10238 rm -f core conftest.err conftest.$ac_objext \
   10239     conftest$ac_exeext conftest.$ac_ext
   10240      LIBS="$gt_save_LIBS"
   10241 fi
   10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   10243 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   10244   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   10245 
   10246 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   10247 
   10248   fi
   10249     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
   10250 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
   10251 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
   10252   $as_echo_n "(cached) " >&6
   10253 else
   10254   gt_save_LIBS="$LIBS"
   10255      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   10256      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10257 /* end confdefs.h.  */
   10258 #include <CoreFoundation/CFLocale.h>
   10259 int
   10260 main ()
   10261 {
   10262 CFLocaleCopyCurrent();
   10263   ;
   10264   return 0;
   10265 }
   10266 _ACEOF
   10267 if ac_fn_c_try_link "$LINENO"; then :
   10268   gt_cv_func_CFLocaleCopyCurrent=yes
   10269 else
   10270   gt_cv_func_CFLocaleCopyCurrent=no
   10271 fi
   10272 rm -f core conftest.err conftest.$ac_objext \
   10273     conftest$ac_exeext conftest.$ac_ext
   10274      LIBS="$gt_save_LIBS"
   10275 fi
   10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
   10277 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
   10278   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   10279 
   10280 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
   10281 
   10282   fi
   10283   INTL_MACOSX_LIBS=
   10284   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   10285     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
   10286   fi
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297     case "$enable_silent_rules" in
   10298     yes) INTL_DEFAULT_VERBOSITY=0;;
   10299     no)  INTL_DEFAULT_VERBOSITY=1;;
   10300     *)   INTL_DEFAULT_VERBOSITY=1;;
   10301   esac
   10302 
   10303 
   10304   ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
   10305 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
   10306 
   10307 else
   10308 
   10309 $as_echo "#define ptrdiff_t long" >>confdefs.h
   10310 
   10311 
   10312 fi
   10313 
   10314   for ac_header in features.h stddef.h stdlib.h string.h
   10315 do :
   10316   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   10317 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   10318 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   10319   cat >>confdefs.h <<_ACEOF
   10320 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   10321 _ACEOF
   10322 
   10323 fi
   10324 
   10325 done
   10326 
   10327   for ac_func in asprintf fwprintf newlocale putenv setenv setlocale \
   10328     snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb
   10329 do :
   10330   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10331 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10332 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   10333   cat >>confdefs.h <<_ACEOF
   10334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10335 _ACEOF
   10336 
   10337 fi
   10338 done
   10339 
   10340 
   10341       ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
   10342 "
   10343 if test "x$ac_cv_have_decl__snprintf" = xyes; then :
   10344   ac_have_decl=1
   10345 else
   10346   ac_have_decl=0
   10347 fi
   10348 
   10349 cat >>confdefs.h <<_ACEOF
   10350 #define HAVE_DECL__SNPRINTF $ac_have_decl
   10351 _ACEOF
   10352 ac_fn_c_check_decl "$LINENO" "_snwprintf" "ac_cv_have_decl__snwprintf" "#include <stdio.h>
   10353 "
   10354 if test "x$ac_cv_have_decl__snwprintf" = xyes; then :
   10355   ac_have_decl=1
   10356 else
   10357   ac_have_decl=0
   10358 fi
   10359 
   10360 cat >>confdefs.h <<_ACEOF
   10361 #define HAVE_DECL__SNWPRINTF $ac_have_decl
   10362 _ACEOF
   10363 
   10364 
   10365           ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "#include <stdio.h>
   10366 "
   10367 if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
   10368   ac_have_decl=1
   10369 else
   10370   ac_have_decl=0
   10371 fi
   10372 
   10373 cat >>confdefs.h <<_ACEOF
   10374 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
   10375 _ACEOF
   10376 
   10377 
   10378   case $gt_cv_func_printf_posix in
   10379     *yes) HAVE_POSIX_PRINTF=1 ;;
   10380     *) HAVE_POSIX_PRINTF=0 ;;
   10381   esac
   10382 
   10383   if test "$ac_cv_func_asprintf" = yes; then
   10384     HAVE_ASPRINTF=1
   10385   else
   10386     HAVE_ASPRINTF=0
   10387   fi
   10388 
   10389   if test "$ac_cv_func_snprintf" = yes; then
   10390     HAVE_SNPRINTF=1
   10391   else
   10392     HAVE_SNPRINTF=0
   10393   fi
   10394 
   10395   if test "$ac_cv_func_newlocale" = yes; then
   10396     HAVE_NEWLOCALE=1
   10397   else
   10398     HAVE_NEWLOCALE=0
   10399   fi
   10400 
   10401   if test "$ac_cv_func_wprintf" = yes; then
   10402     HAVE_WPRINTF=1
   10403   else
   10404     HAVE_WPRINTF=0
   10405   fi
   10406 
   10407 
   10408 
   10409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
   10410 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
   10411 if ${am_cv_langinfo_codeset+:} false; then :
   10412   $as_echo_n "(cached) " >&6
   10413 else
   10414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10415 /* end confdefs.h.  */
   10416 #include <langinfo.h>
   10417 int
   10418 main ()
   10419 {
   10420 char* cs = nl_langinfo(CODESET); return !cs;
   10421   ;
   10422   return 0;
   10423 }
   10424 _ACEOF
   10425 if ac_fn_c_try_link "$LINENO"; then :
   10426   am_cv_langinfo_codeset=yes
   10427 else
   10428   am_cv_langinfo_codeset=no
   10429 fi
   10430 rm -f core conftest.err conftest.$ac_objext \
   10431     conftest$ac_exeext conftest.$ac_ext
   10432 
   10433 fi
   10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
   10435 $as_echo "$am_cv_langinfo_codeset" >&6; }
   10436   if test $am_cv_langinfo_codeset = yes; then
   10437 
   10438 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
   10439 
   10440   fi
   10441 
   10442 
   10443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
   10444 $as_echo_n "checking for LC_MESSAGES... " >&6; }
   10445 if ${gt_cv_val_LC_MESSAGES+:} false; then :
   10446   $as_echo_n "(cached) " >&6
   10447 else
   10448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10449 /* end confdefs.h.  */
   10450 #include <locale.h>
   10451 int
   10452 main ()
   10453 {
   10454 return LC_MESSAGES
   10455   ;
   10456   return 0;
   10457 }
   10458 _ACEOF
   10459 if ac_fn_c_try_link "$LINENO"; then :
   10460   gt_cv_val_LC_MESSAGES=yes
   10461 else
   10462   gt_cv_val_LC_MESSAGES=no
   10463 fi
   10464 rm -f core conftest.err conftest.$ac_objext \
   10465     conftest$ac_exeext conftest.$ac_ext
   10466 fi
   10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5
   10468 $as_echo "$gt_cv_val_LC_MESSAGES" >&6; }
   10469   if test $gt_cv_val_LC_MESSAGES = yes; then
   10470 
   10471 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
   10472 
   10473   fi
   10474 
   10475 
   10476                 if test "$enable_shared" = yes; then
   10477     case "$host_os" in
   10478       mingw* | cygwin*) is_woe32dll=yes ;;
   10479       *) is_woe32dll=no ;;
   10480     esac
   10481   else
   10482     is_woe32dll=no
   10483   fi
   10484   WOE32DLL=$is_woe32dll
   10485 
   10486 
   10487       case "$host_os" in
   10488     mingw* | cygwin*) is_woe32=yes ;;
   10489     *) is_woe32=no ;;
   10490   esac
   10491   WOE32=$is_woe32
   10492 
   10493   if test $WOE32 = yes; then
   10494         if test -n "$ac_tool_prefix"; then
   10495   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
   10496 set dummy ${ac_tool_prefix}windres; ac_word=$2
   10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10498 $as_echo_n "checking for $ac_word... " >&6; }
   10499 if ${ac_cv_prog_WINDRES+:} false; then :
   10500   $as_echo_n "(cached) " >&6
   10501 else
   10502   if test -n "$WINDRES"; then
   10503   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   10504 else
   10505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10506 for as_dir in $PATH
   10507 do
   10508   IFS=$as_save_IFS
   10509   test -z "$as_dir" && as_dir=.
   10510     for ac_exec_ext in '' $ac_executable_extensions; do
   10511   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10512     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
   10513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10514     break 2
   10515   fi
   10516 done
   10517   done
   10518 IFS=$as_save_IFS
   10519 
   10520 fi
   10521 fi
   10522 WINDRES=$ac_cv_prog_WINDRES
   10523 if test -n "$WINDRES"; then
   10524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   10525 $as_echo "$WINDRES" >&6; }
   10526 else
   10527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10528 $as_echo "no" >&6; }
   10529 fi
   10530 
   10531 
   10532 fi
   10533 if test -z "$ac_cv_prog_WINDRES"; then
   10534   ac_ct_WINDRES=$WINDRES
   10535   # Extract the first word of "windres", so it can be a program name with args.
   10536 set dummy windres; ac_word=$2
   10537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10538 $as_echo_n "checking for $ac_word... " >&6; }
   10539 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
   10540   $as_echo_n "(cached) " >&6
   10541 else
   10542   if test -n "$ac_ct_WINDRES"; then
   10543   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
   10544 else
   10545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10546 for as_dir in $PATH
   10547 do
   10548   IFS=$as_save_IFS
   10549   test -z "$as_dir" && as_dir=.
   10550     for ac_exec_ext in '' $ac_executable_extensions; do
   10551   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10552     ac_cv_prog_ac_ct_WINDRES="windres"
   10553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10554     break 2
   10555   fi
   10556 done
   10557   done
   10558 IFS=$as_save_IFS
   10559 
   10560 fi
   10561 fi
   10562 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
   10563 if test -n "$ac_ct_WINDRES"; then
   10564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
   10565 $as_echo "$ac_ct_WINDRES" >&6; }
   10566 else
   10567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10568 $as_echo "no" >&6; }
   10569 fi
   10570 
   10571   if test "x$ac_ct_WINDRES" = x; then
   10572     WINDRES=""
   10573   else
   10574     case $cross_compiling:$ac_tool_warned in
   10575 yes:)
   10576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10578 ac_tool_warned=yes ;;
   10579 esac
   10580     WINDRES=$ac_ct_WINDRES
   10581   fi
   10582 else
   10583   WINDRES="$ac_cv_prog_WINDRES"
   10584 fi
   10585 
   10586   fi
   10587 
   10588               case "$host_os" in
   10589     hpux*) LTLIBC="" ;;
   10590     *)     LTLIBC="-lc" ;;
   10591   esac
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   10620 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
   10621 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
   10622   $as_echo_n "(cached) " >&6
   10623 else
   10624   gt_save_LIBS="$LIBS"
   10625      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   10626      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10627 /* end confdefs.h.  */
   10628 #include <CoreFoundation/CFPreferences.h>
   10629 int
   10630 main ()
   10631 {
   10632 CFPreferencesCopyAppValue(NULL, NULL)
   10633   ;
   10634   return 0;
   10635 }
   10636 _ACEOF
   10637 if ac_fn_c_try_link "$LINENO"; then :
   10638   gt_cv_func_CFPreferencesCopyAppValue=yes
   10639 else
   10640   gt_cv_func_CFPreferencesCopyAppValue=no
   10641 fi
   10642 rm -f core conftest.err conftest.$ac_objext \
   10643     conftest$ac_exeext conftest.$ac_ext
   10644      LIBS="$gt_save_LIBS"
   10645 fi
   10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   10647 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   10648   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   10649 
   10650 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   10651 
   10652   fi
   10653     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
   10654 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
   10655 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
   10656   $as_echo_n "(cached) " >&6
   10657 else
   10658   gt_save_LIBS="$LIBS"
   10659      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   10660      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10661 /* end confdefs.h.  */
   10662 #include <CoreFoundation/CFLocale.h>
   10663 int
   10664 main ()
   10665 {
   10666 CFLocaleCopyCurrent();
   10667   ;
   10668   return 0;
   10669 }
   10670 _ACEOF
   10671 if ac_fn_c_try_link "$LINENO"; then :
   10672   gt_cv_func_CFLocaleCopyCurrent=yes
   10673 else
   10674   gt_cv_func_CFLocaleCopyCurrent=no
   10675 fi
   10676 rm -f core conftest.err conftest.$ac_objext \
   10677     conftest$ac_exeext conftest.$ac_ext
   10678      LIBS="$gt_save_LIBS"
   10679 fi
   10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
   10681 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
   10682   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   10683 
   10684 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
   10685 
   10686   fi
   10687   INTL_MACOSX_LIBS=
   10688   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   10689     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
   10690   fi
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697     BUILD_INCLUDED_LIBINTL=no
   10698     USE_INCLUDED_LIBINTL=no
   10699 
   10700   LIBINTL=
   10701   LTLIBINTL=
   10702   POSUB=
   10703 
   10704     case " $gt_needs " in
   10705     *" need-formatstring-macros "*) gt_api_version=3 ;;
   10706     *" need-ngettext "*) gt_api_version=2 ;;
   10707     *) gt_api_version=1 ;;
   10708   esac
   10709   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
   10710   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
   10711 
   10712     if test "$USE_NLS" = "yes"; then
   10713     gt_use_preinstalled_gnugettext=no
   10714 
   10715       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
   10716 $as_echo_n "checking whether included gettext is requested... " >&6; }
   10717 
   10718 # Check whether --with-included-gettext was given.
   10719 if test "${with_included_gettext+set}" = set; then :
   10720   withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
   10721 else
   10722   nls_cv_force_use_gnu_gettext=no
   10723 fi
   10724 
   10725       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
   10726 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
   10727 
   10728       nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
   10729       if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
   10730 
   10731 
   10732         if test $gt_api_version -ge 3; then
   10733           gt_revision_test_code='
   10734 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   10735 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
   10736 #endif
   10737 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
   10738 '
   10739         else
   10740           gt_revision_test_code=
   10741         fi
   10742         if test $gt_api_version -ge 2; then
   10743           gt_expression_test_code=' + * ngettext ("", "", 0)'
   10744         else
   10745           gt_expression_test_code=
   10746         fi
   10747 
   10748         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   10749 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   10750 if eval \${$gt_func_gnugettext_libc+:} false; then :
   10751   $as_echo_n "(cached) " >&6
   10752 else
   10753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10754 /* end confdefs.h.  */
   10755 
   10756 #include <libintl.h>
   10757 $gt_revision_test_code
   10758 extern int _nl_msg_cat_cntr;
   10759 extern int *_nl_domain_bindings;
   10760 
   10761 int
   10762 main ()
   10763 {
   10764 
   10765 bindtextdomain ("", "");
   10766 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
   10767 
   10768   ;
   10769   return 0;
   10770 }
   10771 _ACEOF
   10772 if ac_fn_c_try_link "$LINENO"; then :
   10773   eval "$gt_func_gnugettext_libc=yes"
   10774 else
   10775   eval "$gt_func_gnugettext_libc=no"
   10776 fi
   10777 rm -f core conftest.err conftest.$ac_objext \
   10778     conftest$ac_exeext conftest.$ac_ext
   10779 fi
   10780 eval ac_res=\$$gt_func_gnugettext_libc
   10781 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   10782 $as_echo "$ac_res" >&6; }
   10783 
   10784         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793     use_additional=yes
   10794 
   10795   acl_save_prefix="$prefix"
   10796   prefix="$acl_final_prefix"
   10797   acl_save_exec_prefix="$exec_prefix"
   10798   exec_prefix="$acl_final_exec_prefix"
   10799 
   10800     eval additional_includedir=\"$includedir\"
   10801     eval additional_libdir=\"$libdir\"
   10802 
   10803   exec_prefix="$acl_save_exec_prefix"
   10804   prefix="$acl_save_prefix"
   10805 
   10806 
   10807 # Check whether --with-libintl-prefix was given.
   10808 if test "${with_libintl_prefix+set}" = set; then :
   10809   withval=$with_libintl_prefix;
   10810     if test "X$withval" = "Xno"; then
   10811       use_additional=no
   10812     else
   10813       if test "X$withval" = "X"; then
   10814 
   10815   acl_save_prefix="$prefix"
   10816   prefix="$acl_final_prefix"
   10817   acl_save_exec_prefix="$exec_prefix"
   10818   exec_prefix="$acl_final_exec_prefix"
   10819 
   10820           eval additional_includedir=\"$includedir\"
   10821           eval additional_libdir=\"$libdir\"
   10822 
   10823   exec_prefix="$acl_save_exec_prefix"
   10824   prefix="$acl_save_prefix"
   10825 
   10826       else
   10827         additional_includedir="$withval/include"
   10828         additional_libdir="$withval/$acl_libdirstem"
   10829         if test "$acl_libdirstem2" != "$acl_libdirstem" \
   10830            && ! test -d "$withval/$acl_libdirstem"; then
   10831           additional_libdir="$withval/$acl_libdirstem2"
   10832         fi
   10833       fi
   10834     fi
   10835 
   10836 fi
   10837 
   10838       LIBINTL=
   10839   LTLIBINTL=
   10840   INCINTL=
   10841   LIBINTL_PREFIX=
   10842       HAVE_LIBINTL=
   10843   rpathdirs=
   10844   ltrpathdirs=
   10845   names_already_handled=
   10846   names_next_round='intl '
   10847   while test -n "$names_next_round"; do
   10848     names_this_round="$names_next_round"
   10849     names_next_round=
   10850     for name in $names_this_round; do
   10851       already_handled=
   10852       for n in $names_already_handled; do
   10853         if test "$n" = "$name"; then
   10854           already_handled=yes
   10855           break
   10856         fi
   10857       done
   10858       if test -z "$already_handled"; then
   10859         names_already_handled="$names_already_handled $name"
   10860                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   10861         eval value=\"\$HAVE_LIB$uppername\"
   10862         if test -n "$value"; then
   10863           if test "$value" = yes; then
   10864             eval value=\"\$LIB$uppername\"
   10865             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   10866             eval value=\"\$LTLIB$uppername\"
   10867             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   10868           else
   10869                                     :
   10870           fi
   10871         else
   10872                               found_dir=
   10873           found_la=
   10874           found_so=
   10875           found_a=
   10876           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   10877           if test -n "$acl_shlibext"; then
   10878             shrext=".$acl_shlibext"             # typically: shrext=.so
   10879           else
   10880             shrext=
   10881           fi
   10882           if test $use_additional = yes; then
   10883             dir="$additional_libdir"
   10884                                     if test -n "$acl_shlibext"; then
   10885               if test -f "$dir/$libname$shrext"; then
   10886                 found_dir="$dir"
   10887                 found_so="$dir/$libname$shrext"
   10888               else
   10889                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   10890                   ver=`(cd "$dir" && \
   10891                         for f in "$libname$shrext".*; do echo "$f"; done \
   10892                         | sed -e "s,^$libname$shrext\\\\.,," \
   10893                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   10894                         | sed 1q ) 2>/dev/null`
   10895                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   10896                     found_dir="$dir"
   10897                     found_so="$dir/$libname$shrext.$ver"
   10898                   fi
   10899                 else
   10900                   eval library_names=\"$acl_library_names_spec\"
   10901                   for f in $library_names; do
   10902                     if test -f "$dir/$f"; then
   10903                       found_dir="$dir"
   10904                       found_so="$dir/$f"
   10905                       break
   10906                     fi
   10907                   done
   10908                 fi
   10909               fi
   10910             fi
   10911                         if test "X$found_dir" = "X"; then
   10912               if test -f "$dir/$libname.$acl_libext"; then
   10913                 found_dir="$dir"
   10914                 found_a="$dir/$libname.$acl_libext"
   10915               fi
   10916             fi
   10917             if test "X$found_dir" != "X"; then
   10918               if test -f "$dir/$libname.la"; then
   10919                 found_la="$dir/$libname.la"
   10920               fi
   10921             fi
   10922           fi
   10923           if test "X$found_dir" = "X"; then
   10924             for x in $LDFLAGS $LTLIBINTL; do
   10925 
   10926   acl_save_prefix="$prefix"
   10927   prefix="$acl_final_prefix"
   10928   acl_save_exec_prefix="$exec_prefix"
   10929   exec_prefix="$acl_final_exec_prefix"
   10930   eval x=\"$x\"
   10931   exec_prefix="$acl_save_exec_prefix"
   10932   prefix="$acl_save_prefix"
   10933 
   10934               case "$x" in
   10935                 -L*)
   10936                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   10937                                     if test -n "$acl_shlibext"; then
   10938                     if test -f "$dir/$libname$shrext"; then
   10939                       found_dir="$dir"
   10940                       found_so="$dir/$libname$shrext"
   10941                     else
   10942                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   10943                         ver=`(cd "$dir" && \
   10944                               for f in "$libname$shrext".*; do echo "$f"; done \
   10945                               | sed -e "s,^$libname$shrext\\\\.,," \
   10946                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   10947                               | sed 1q ) 2>/dev/null`
   10948                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   10949                           found_dir="$dir"
   10950                           found_so="$dir/$libname$shrext.$ver"
   10951                         fi
   10952                       else
   10953                         eval library_names=\"$acl_library_names_spec\"
   10954                         for f in $library_names; do
   10955                           if test -f "$dir/$f"; then
   10956                             found_dir="$dir"
   10957                             found_so="$dir/$f"
   10958                             break
   10959                           fi
   10960                         done
   10961                       fi
   10962                     fi
   10963                   fi
   10964                                     if test "X$found_dir" = "X"; then
   10965                     if test -f "$dir/$libname.$acl_libext"; then
   10966                       found_dir="$dir"
   10967                       found_a="$dir/$libname.$acl_libext"
   10968                     fi
   10969                   fi
   10970                   if test "X$found_dir" != "X"; then
   10971                     if test -f "$dir/$libname.la"; then
   10972                       found_la="$dir/$libname.la"
   10973                     fi
   10974                   fi
   10975                   ;;
   10976               esac
   10977               if test "X$found_dir" != "X"; then
   10978                 break
   10979               fi
   10980             done
   10981           fi
   10982           if test "X$found_dir" != "X"; then
   10983                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   10984             if test "X$found_so" != "X"; then
   10985                                                         if test "$enable_rpath" = no \
   10986                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   10987                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
   10988                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   10989               else
   10990                                                                                 haveit=
   10991                 for x in $ltrpathdirs; do
   10992                   if test "X$x" = "X$found_dir"; then
   10993                     haveit=yes
   10994                     break
   10995                   fi
   10996                 done
   10997                 if test -z "$haveit"; then
   10998                   ltrpathdirs="$ltrpathdirs $found_dir"
   10999                 fi
   11000                                 if test "$acl_hardcode_direct" = yes; then
   11001                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   11002                 else
   11003                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   11004                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   11005                                                             haveit=
   11006                     for x in $rpathdirs; do
   11007                       if test "X$x" = "X$found_dir"; then
   11008                         haveit=yes
   11009                         break
   11010                       fi
   11011                     done
   11012                     if test -z "$haveit"; then
   11013                       rpathdirs="$rpathdirs $found_dir"
   11014                     fi
   11015                   else
   11016                                                                                 haveit=
   11017                     for x in $LDFLAGS $LIBINTL; do
   11018 
   11019   acl_save_prefix="$prefix"
   11020   prefix="$acl_final_prefix"
   11021   acl_save_exec_prefix="$exec_prefix"
   11022   exec_prefix="$acl_final_exec_prefix"
   11023   eval x=\"$x\"
   11024   exec_prefix="$acl_save_exec_prefix"
   11025   prefix="$acl_save_prefix"
   11026 
   11027                       if test "X$x" = "X-L$found_dir"; then
   11028                         haveit=yes
   11029                         break
   11030                       fi
   11031                     done
   11032                     if test -z "$haveit"; then
   11033                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   11034                     fi
   11035                     if test "$acl_hardcode_minus_L" != no; then
   11036                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   11037                     else
   11038                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   11039                     fi
   11040                   fi
   11041                 fi
   11042               fi
   11043             else
   11044               if test "X$found_a" != "X"; then
   11045                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   11046               else
   11047                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   11048               fi
   11049             fi
   11050                         additional_includedir=
   11051             case "$found_dir" in
   11052               */$acl_libdirstem | */$acl_libdirstem/)
   11053                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   11054                 if test "$name" = 'intl'; then
   11055                   LIBINTL_PREFIX="$basedir"
   11056                 fi
   11057                 additional_includedir="$basedir/include"
   11058                 ;;
   11059               */$acl_libdirstem2 | */$acl_libdirstem2/)
   11060                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   11061                 if test "$name" = 'intl'; then
   11062                   LIBINTL_PREFIX="$basedir"
   11063                 fi
   11064                 additional_includedir="$basedir/include"
   11065                 ;;
   11066             esac
   11067             if test "X$additional_includedir" != "X"; then
   11068                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   11069                 haveit=
   11070                 if test "X$additional_includedir" = "X/usr/local/include"; then
   11071                   if test -n "$GCC"; then
   11072                     case $host_os in
   11073                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   11074                     esac
   11075                   fi
   11076                 fi
   11077                 if test -z "$haveit"; then
   11078                   for x in $CPPFLAGS $INCINTL; do
   11079 
   11080   acl_save_prefix="$prefix"
   11081   prefix="$acl_final_prefix"
   11082   acl_save_exec_prefix="$exec_prefix"
   11083   exec_prefix="$acl_final_exec_prefix"
   11084   eval x=\"$x\"
   11085   exec_prefix="$acl_save_exec_prefix"
   11086   prefix="$acl_save_prefix"
   11087 
   11088                     if test "X$x" = "X-I$additional_includedir"; then
   11089                       haveit=yes
   11090                       break
   11091                     fi
   11092                   done
   11093                   if test -z "$haveit"; then
   11094                     if test -d "$additional_includedir"; then
   11095                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   11096                     fi
   11097                   fi
   11098                 fi
   11099               fi
   11100             fi
   11101                         if test -n "$found_la"; then
   11102                                                         save_libdir="$libdir"
   11103               case "$found_la" in
   11104                 */* | *\\*) . "$found_la" ;;
   11105                 *) . "./$found_la" ;;
   11106               esac
   11107               libdir="$save_libdir"
   11108                             for dep in $dependency_libs; do
   11109                 case "$dep" in
   11110                   -L*)
   11111                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   11112                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
   11113                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
   11114                       haveit=
   11115                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
   11116                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
   11117                         if test -n "$GCC"; then
   11118                           case $host_os in
   11119                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   11120                           esac
   11121                         fi
   11122                       fi
   11123                       if test -z "$haveit"; then
   11124                         haveit=
   11125                         for x in $LDFLAGS $LIBINTL; do
   11126 
   11127   acl_save_prefix="$prefix"
   11128   prefix="$acl_final_prefix"
   11129   acl_save_exec_prefix="$exec_prefix"
   11130   exec_prefix="$acl_final_exec_prefix"
   11131   eval x=\"$x\"
   11132   exec_prefix="$acl_save_exec_prefix"
   11133   prefix="$acl_save_prefix"
   11134 
   11135                           if test "X$x" = "X-L$additional_libdir"; then
   11136                             haveit=yes
   11137                             break
   11138                           fi
   11139                         done
   11140                         if test -z "$haveit"; then
   11141                           if test -d "$additional_libdir"; then
   11142                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   11143                           fi
   11144                         fi
   11145                         haveit=
   11146                         for x in $LDFLAGS $LTLIBINTL; do
   11147 
   11148   acl_save_prefix="$prefix"
   11149   prefix="$acl_final_prefix"
   11150   acl_save_exec_prefix="$exec_prefix"
   11151   exec_prefix="$acl_final_exec_prefix"
   11152   eval x=\"$x\"
   11153   exec_prefix="$acl_save_exec_prefix"
   11154   prefix="$acl_save_prefix"
   11155 
   11156                           if test "X$x" = "X-L$additional_libdir"; then
   11157                             haveit=yes
   11158                             break
   11159                           fi
   11160                         done
   11161                         if test -z "$haveit"; then
   11162                           if test -d "$additional_libdir"; then
   11163                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   11164                           fi
   11165                         fi
   11166                       fi
   11167                     fi
   11168                     ;;
   11169                   -R*)
   11170                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   11171                     if test "$enable_rpath" != no; then
   11172                                                                   haveit=
   11173                       for x in $rpathdirs; do
   11174                         if test "X$x" = "X$dir"; then
   11175                           haveit=yes
   11176                           break
   11177                         fi
   11178                       done
   11179                       if test -z "$haveit"; then
   11180                         rpathdirs="$rpathdirs $dir"
   11181                       fi
   11182                                                                   haveit=
   11183                       for x in $ltrpathdirs; do
   11184                         if test "X$x" = "X$dir"; then
   11185                           haveit=yes
   11186                           break
   11187                         fi
   11188                       done
   11189                       if test -z "$haveit"; then
   11190                         ltrpathdirs="$ltrpathdirs $dir"
   11191                       fi
   11192                     fi
   11193                     ;;
   11194                   -l*)
   11195                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   11196                     ;;
   11197                   *.la)
   11198                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   11199                     ;;
   11200                   *)
   11201                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   11202                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   11203                     ;;
   11204                 esac
   11205               done
   11206             fi
   11207           else
   11208                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   11209             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   11210           fi
   11211         fi
   11212       fi
   11213     done
   11214   done
   11215   if test "X$rpathdirs" != "X"; then
   11216     if test -n "$acl_hardcode_libdir_separator"; then
   11217                         alldirs=
   11218       for found_dir in $rpathdirs; do
   11219         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   11220       done
   11221             acl_save_libdir="$libdir"
   11222       libdir="$alldirs"
   11223       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   11224       libdir="$acl_save_libdir"
   11225       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   11226     else
   11227             for found_dir in $rpathdirs; do
   11228         acl_save_libdir="$libdir"
   11229         libdir="$found_dir"
   11230         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   11231         libdir="$acl_save_libdir"
   11232         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   11233       done
   11234     fi
   11235   fi
   11236   if test "X$ltrpathdirs" != "X"; then
   11237             for found_dir in $ltrpathdirs; do
   11238       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   11239     done
   11240   fi
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   11248 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   11249 if eval \${$gt_func_gnugettext_libintl+:} false; then :
   11250   $as_echo_n "(cached) " >&6
   11251 else
   11252   gt_save_CPPFLAGS="$CPPFLAGS"
   11253             CPPFLAGS="$CPPFLAGS $INCINTL"
   11254             gt_save_LIBS="$LIBS"
   11255             LIBS="$LIBS $LIBINTL"
   11256                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11257 /* end confdefs.h.  */
   11258 
   11259 #include <libintl.h>
   11260 $gt_revision_test_code
   11261 extern int _nl_msg_cat_cntr;
   11262 extern
   11263 #ifdef __cplusplus
   11264 "C"
   11265 #endif
   11266 const char *_nl_expand_alias (const char *);
   11267 
   11268 int
   11269 main ()
   11270 {
   11271 
   11272 bindtextdomain ("", "");
   11273 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
   11274 
   11275   ;
   11276   return 0;
   11277 }
   11278 _ACEOF
   11279 if ac_fn_c_try_link "$LINENO"; then :
   11280   eval "$gt_func_gnugettext_libintl=yes"
   11281 else
   11282   eval "$gt_func_gnugettext_libintl=no"
   11283 fi
   11284 rm -f core conftest.err conftest.$ac_objext \
   11285     conftest$ac_exeext conftest.$ac_ext
   11286                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
   11287               LIBS="$LIBS $LIBICONV"
   11288               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11289 /* end confdefs.h.  */
   11290 
   11291 #include <libintl.h>
   11292 $gt_revision_test_code
   11293 extern int _nl_msg_cat_cntr;
   11294 extern
   11295 #ifdef __cplusplus
   11296 "C"
   11297 #endif
   11298 const char *_nl_expand_alias (const char *);
   11299 
   11300 int
   11301 main ()
   11302 {
   11303 
   11304 bindtextdomain ("", "");
   11305 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
   11306 
   11307   ;
   11308   return 0;
   11309 }
   11310 _ACEOF
   11311 if ac_fn_c_try_link "$LINENO"; then :
   11312   LIBINTL="$LIBINTL $LIBICONV"
   11313                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   11314                  eval "$gt_func_gnugettext_libintl=yes"
   11315 
   11316 fi
   11317 rm -f core conftest.err conftest.$ac_objext \
   11318     conftest$ac_exeext conftest.$ac_ext
   11319             fi
   11320             CPPFLAGS="$gt_save_CPPFLAGS"
   11321             LIBS="$gt_save_LIBS"
   11322 fi
   11323 eval ac_res=\$$gt_func_gnugettext_libintl
   11324 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   11325 $as_echo "$ac_res" >&6; }
   11326         fi
   11327 
   11328                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
   11329            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
   11330                 && test "$PACKAGE" != gettext-runtime \
   11331                 && test "$PACKAGE" != gettext-tools; }; then
   11332           gt_use_preinstalled_gnugettext=yes
   11333         else
   11334                     LIBINTL=
   11335           LTLIBINTL=
   11336           INCINTL=
   11337         fi
   11338 
   11339 
   11340         if test "$gt_use_preinstalled_gnugettext" != "yes"; then
   11341                               nls_cv_use_gnu_gettext=yes
   11342         fi
   11343       fi
   11344 
   11345       if test "$nls_cv_use_gnu_gettext" = "yes"; then
   11346                 BUILD_INCLUDED_LIBINTL=yes
   11347         USE_INCLUDED_LIBINTL=yes
   11348         LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV $LIBTHREAD"
   11349         LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV $LTLIBTHREAD"
   11350         LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
   11351       fi
   11352 
   11353       CATOBJEXT=
   11354       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   11355          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   11356                 CATOBJEXT=.gmo
   11357       fi
   11358 
   11359 
   11360     if test -n "$INTL_MACOSX_LIBS"; then
   11361       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   11362          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   11363                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   11364         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   11365       fi
   11366     fi
   11367 
   11368     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   11369        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   11370 
   11371 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   11372 
   11373     else
   11374       USE_NLS=no
   11375     fi
   11376   fi
   11377 
   11378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   11379 $as_echo_n "checking whether to use NLS... " >&6; }
   11380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   11381 $as_echo "$USE_NLS" >&6; }
   11382   if test "$USE_NLS" = "yes"; then
   11383     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   11384 $as_echo_n "checking where the gettext function comes from... " >&6; }
   11385     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   11386       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   11387         gt_source="external libintl"
   11388       else
   11389         gt_source="libc"
   11390       fi
   11391     else
   11392       gt_source="included intl directory"
   11393     fi
   11394     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   11395 $as_echo "$gt_source" >&6; }
   11396   fi
   11397 
   11398   if test "$USE_NLS" = "yes"; then
   11399 
   11400     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   11401       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   11402         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   11403 $as_echo_n "checking how to link with libintl... " >&6; }
   11404         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   11405 $as_echo "$LIBINTL" >&6; }
   11406 
   11407   for element in $INCINTL; do
   11408     haveit=
   11409     for x in $CPPFLAGS; do
   11410 
   11411   acl_save_prefix="$prefix"
   11412   prefix="$acl_final_prefix"
   11413   acl_save_exec_prefix="$exec_prefix"
   11414   exec_prefix="$acl_final_exec_prefix"
   11415   eval x=\"$x\"
   11416   exec_prefix="$acl_save_exec_prefix"
   11417   prefix="$acl_save_prefix"
   11418 
   11419       if test "X$x" = "X$element"; then
   11420         haveit=yes
   11421         break
   11422       fi
   11423     done
   11424     if test -z "$haveit"; then
   11425       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   11426     fi
   11427   done
   11428 
   11429       fi
   11430 
   11431 
   11432 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   11433 
   11434 
   11435 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   11436 
   11437     fi
   11438 
   11439         POSUB=po
   11440   fi
   11441 
   11442 
   11443             if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
   11444       BUILD_INCLUDED_LIBINTL=yes
   11445     fi
   11446 
   11447 
   11448 
   11449 
   11450 
   11451         nls_cv_header_intl=
   11452     nls_cv_header_libgt=
   11453 
   11454         DATADIRNAME=share
   11455 
   11456 
   11457         INSTOBJEXT=.mo
   11458 
   11459 
   11460         GENCAT=gencat
   11461 
   11462 
   11463         INTLOBJS=
   11464     if test "$USE_INCLUDED_LIBINTL" = yes; then
   11465       INTLOBJS="\$(GETTOBJS)"
   11466     fi
   11467 
   11468 
   11469         INTL_LIBTOOL_SUFFIX_PREFIX=
   11470 
   11471 
   11472 
   11473     INTLLIBS="$LIBINTL"
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   11482 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   11483 set x ${MAKE-make}
   11484 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   11485 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   11486   $as_echo_n "(cached) " >&6
   11487 else
   11488   cat >conftest.make <<\_ACEOF
   11489 SHELL = /bin/sh
   11490 all:
   11491 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   11492 _ACEOF
   11493 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   11494 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   11495   *@@@%%%=?*=@@@%%%*)
   11496     eval ac_cv_prog_make_${ac_make}_set=yes;;
   11497   *)
   11498     eval ac_cv_prog_make_${ac_make}_set=no;;
   11499 esac
   11500 rm -f conftest.make
   11501 fi
   11502 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   11503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11504 $as_echo "yes" >&6; }
   11505   SET_MAKE=
   11506 else
   11507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11508 $as_echo "no" >&6; }
   11509   SET_MAKE="MAKE=${MAKE-make}"
   11510 fi
   11511 
   11512  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
   11513 $as_echo_n "checking for GNU make... " >&6; }
   11514 if ${_cv_gnu_make_command+:} false; then :
   11515   $as_echo_n "(cached) " >&6
   11516 else
   11517   _cv_gnu_make_command='' ;
   11518                 if test -z "$FORCE_NATIVE_MAKE" ; then
   11519                    MAKES="make"
   11520                 else
   11521                    MAKES="make gmake gnumake"
   11522                 fi
   11523                 for a in "$MAKE" $MAKES ; do
   11524                         if test -z "$a" ; then continue ; fi ;
   11525                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then
   11526                                 _cv_gnu_make_command=$a ;
   11527                                 break;
   11528                         fi
   11529                 done ;
   11530 
   11531 fi
   11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
   11533 $as_echo "$_cv_gnu_make_command" >&6; } ;
   11534         if test  "x$_cv_gnu_make_command" != "x"  ; then
   11535                 ifGNUmake='' ;
   11536                 ifNotGNUmake='#' ;
   11537         else
   11538                 ifGNUmake='#' ;
   11539                 ifNotGNUmake='' ;
   11540                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
   11541 $as_echo "\"Not found\"" >&6; };
   11542         fi
   11543 
   11544 
   11545 
   11546 # Extract the first word of "ln", so it can be a program name with args.
   11547 set dummy ln; ac_word=$2
   11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11549 $as_echo_n "checking for $ac_word... " >&6; }
   11550 if ${ac_cv_path_LN+:} false; then :
   11551   $as_echo_n "(cached) " >&6
   11552 else
   11553   case $LN in
   11554   [\\/]* | ?:[\\/]*)
   11555   ac_cv_path_LN="$LN" # Let the user override the test with a path.
   11556   ;;
   11557   *)
   11558   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11559 for as_dir in $PATH
   11560 do
   11561   IFS=$as_save_IFS
   11562   test -z "$as_dir" && as_dir=.
   11563     for ac_exec_ext in '' $ac_executable_extensions; do
   11564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11565     ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
   11566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11567     break 2
   11568   fi
   11569 done
   11570   done
   11571 IFS=$as_save_IFS
   11572 
   11573   test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
   11574   ;;
   11575 esac
   11576 fi
   11577 LN=$ac_cv_path_LN
   11578 if test -n "$LN"; then
   11579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
   11580 $as_echo "$LN" >&6; }
   11581 else
   11582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11583 $as_echo "no" >&6; }
   11584 fi
   11585 
   11586 
   11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11588 $as_echo_n "checking whether ln -s works... " >&6; }
   11589 LN_S=$as_ln_s
   11590 if test "$LN_S" = "ln -s"; then
   11591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11592 $as_echo "yes" >&6; }
   11593 else
   11594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11595 $as_echo "no, using $LN_S" >&6; }
   11596 fi
   11597 
   11598 # Extract the first word of "mv", so it can be a program name with args.
   11599 set dummy mv; ac_word=$2
   11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11601 $as_echo_n "checking for $ac_word... " >&6; }
   11602 if ${ac_cv_path_MV+:} false; then :
   11603   $as_echo_n "(cached) " >&6
   11604 else
   11605   case $MV in
   11606   [\\/]* | ?:[\\/]*)
   11607   ac_cv_path_MV="$MV" # Let the user override the test with a path.
   11608   ;;
   11609   *)
   11610   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11611 for as_dir in $PATH
   11612 do
   11613   IFS=$as_save_IFS
   11614   test -z "$as_dir" && as_dir=.
   11615     for ac_exec_ext in '' $ac_executable_extensions; do
   11616   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11617     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
   11618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11619     break 2
   11620   fi
   11621 done
   11622   done
   11623 IFS=$as_save_IFS
   11624 
   11625   test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
   11626   ;;
   11627 esac
   11628 fi
   11629 MV=$ac_cv_path_MV
   11630 if test -n "$MV"; then
   11631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
   11632 $as_echo "$MV" >&6; }
   11633 else
   11634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11635 $as_echo "no" >&6; }
   11636 fi
   11637 
   11638 
   11639 # Extract the first word of "cp", so it can be a program name with args.
   11640 set dummy cp; ac_word=$2
   11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11642 $as_echo_n "checking for $ac_word... " >&6; }
   11643 if ${ac_cv_path_CP+:} false; then :
   11644   $as_echo_n "(cached) " >&6
   11645 else
   11646   case $CP in
   11647   [\\/]* | ?:[\\/]*)
   11648   ac_cv_path_CP="$CP" # Let the user override the test with a path.
   11649   ;;
   11650   *)
   11651   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11652 for as_dir in $PATH
   11653 do
   11654   IFS=$as_save_IFS
   11655   test -z "$as_dir" && as_dir=.
   11656     for ac_exec_ext in '' $ac_executable_extensions; do
   11657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11658     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
   11659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11660     break 2
   11661   fi
   11662 done
   11663   done
   11664 IFS=$as_save_IFS
   11665 
   11666   test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
   11667   ;;
   11668 esac
   11669 fi
   11670 CP=$ac_cv_path_CP
   11671 if test -n "$CP"; then
   11672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
   11673 $as_echo "$CP" >&6; }
   11674 else
   11675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11676 $as_echo "no" >&6; }
   11677 fi
   11678 
   11679 
   11680 # Extract the first word of "rm", so it can be a program name with args.
   11681 set dummy rm; ac_word=$2
   11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11683 $as_echo_n "checking for $ac_word... " >&6; }
   11684 if ${ac_cv_path_RM+:} false; then :
   11685   $as_echo_n "(cached) " >&6
   11686 else
   11687   case $RM in
   11688   [\\/]* | ?:[\\/]*)
   11689   ac_cv_path_RM="$RM" # Let the user override the test with a path.
   11690   ;;
   11691   *)
   11692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11693 for as_dir in $PATH
   11694 do
   11695   IFS=$as_save_IFS
   11696   test -z "$as_dir" && as_dir=.
   11697     for ac_exec_ext in '' $ac_executable_extensions; do
   11698   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11699     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
   11700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11701     break 2
   11702   fi
   11703 done
   11704   done
   11705 IFS=$as_save_IFS
   11706 
   11707   test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
   11708   ;;
   11709 esac
   11710 fi
   11711 RM=$ac_cv_path_RM
   11712 if test -n "$RM"; then
   11713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
   11714 $as_echo "$RM" >&6; }
   11715 else
   11716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11717 $as_echo "no" >&6; }
   11718 fi
   11719 
   11720 
   11721 # Extract the first word of "chmod", so it can be a program name with args.
   11722 set dummy chmod; ac_word=$2
   11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11724 $as_echo_n "checking for $ac_word... " >&6; }
   11725 if ${ac_cv_path_CHMOD+:} false; then :
   11726   $as_echo_n "(cached) " >&6
   11727 else
   11728   case $CHMOD in
   11729   [\\/]* | ?:[\\/]*)
   11730   ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
   11731   ;;
   11732   *)
   11733   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11734 for as_dir in $PATH
   11735 do
   11736   IFS=$as_save_IFS
   11737   test -z "$as_dir" && as_dir=.
   11738     for ac_exec_ext in '' $ac_executable_extensions; do
   11739   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11740     ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
   11741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11742     break 2
   11743   fi
   11744 done
   11745   done
   11746 IFS=$as_save_IFS
   11747 
   11748   test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD=":"
   11749   ;;
   11750 esac
   11751 fi
   11752 CHMOD=$ac_cv_path_CHMOD
   11753 if test -n "$CHMOD"; then
   11754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
   11755 $as_echo "$CHMOD" >&6; }
   11756 else
   11757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11758 $as_echo "no" >&6; }
   11759 fi
   11760 
   11761 
   11762 for ac_prog in gawk mawk nawk awk
   11763 do
   11764   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11765 set dummy $ac_prog; ac_word=$2
   11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11767 $as_echo_n "checking for $ac_word... " >&6; }
   11768 if ${ac_cv_prog_AWK+:} false; then :
   11769   $as_echo_n "(cached) " >&6
   11770 else
   11771   if test -n "$AWK"; then
   11772   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   11773 else
   11774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11775 for as_dir in $PATH
   11776 do
   11777   IFS=$as_save_IFS
   11778   test -z "$as_dir" && as_dir=.
   11779     for ac_exec_ext in '' $ac_executable_extensions; do
   11780   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11781     ac_cv_prog_AWK="$ac_prog"
   11782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11783     break 2
   11784   fi
   11785 done
   11786   done
   11787 IFS=$as_save_IFS
   11788 
   11789 fi
   11790 fi
   11791 AWK=$ac_cv_prog_AWK
   11792 if test -n "$AWK"; then
   11793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   11794 $as_echo "$AWK" >&6; }
   11795 else
   11796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11797 $as_echo "no" >&6; }
   11798 fi
   11799 
   11800 
   11801   test -n "$AWK" && break
   11802 done
   11803 
   11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   11805 $as_echo_n "checking for egrep... " >&6; }
   11806 if ${ac_cv_path_EGREP+:} false; then :
   11807   $as_echo_n "(cached) " >&6
   11808 else
   11809   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   11810    then ac_cv_path_EGREP="$GREP -E"
   11811    else
   11812      if test -z "$EGREP"; then
   11813   ac_path_EGREP_found=false
   11814   # Loop through the user's path and test for each of PROGNAME-LIST
   11815   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11816 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11817 do
   11818   IFS=$as_save_IFS
   11819   test -z "$as_dir" && as_dir=.
   11820     for ac_prog in egrep; do
   11821     for ac_exec_ext in '' $ac_executable_extensions; do
   11822       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   11823       as_fn_executable_p "$ac_path_EGREP" || continue
   11824 # Check for GNU ac_path_EGREP and select it if it is found.
   11825   # Check for GNU $ac_path_EGREP
   11826 case `"$ac_path_EGREP" --version 2>&1` in
   11827 *GNU*)
   11828   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   11829 *)
   11830   ac_count=0
   11831   $as_echo_n 0123456789 >"conftest.in"
   11832   while :
   11833   do
   11834     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11835     mv "conftest.tmp" "conftest.in"
   11836     cp "conftest.in" "conftest.nl"
   11837     $as_echo 'EGREP' >> "conftest.nl"
   11838     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11839     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11840     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11841     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   11842       # Best one so far, save it but keep looking for a better one
   11843       ac_cv_path_EGREP="$ac_path_EGREP"
   11844       ac_path_EGREP_max=$ac_count
   11845     fi
   11846     # 10*(2^10) chars as input seems more than enough
   11847     test $ac_count -gt 10 && break
   11848   done
   11849   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11850 esac
   11851 
   11852       $ac_path_EGREP_found && break 3
   11853     done
   11854   done
   11855   done
   11856 IFS=$as_save_IFS
   11857   if test -z "$ac_cv_path_EGREP"; then
   11858     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11859   fi
   11860 else
   11861   ac_cv_path_EGREP=$EGREP
   11862 fi
   11863 
   11864    fi
   11865 fi
   11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   11867 $as_echo "$ac_cv_path_EGREP" >&6; }
   11868  EGREP="$ac_cv_path_EGREP"
   11869 
   11870 
   11871 # Extract the first word of "sed", so it can be a program name with args.
   11872 set dummy sed; ac_word=$2
   11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11874 $as_echo_n "checking for $ac_word... " >&6; }
   11875 if ${ac_cv_path_SED+:} false; then :
   11876   $as_echo_n "(cached) " >&6
   11877 else
   11878   case $SED in
   11879   [\\/]* | ?:[\\/]*)
   11880   ac_cv_path_SED="$SED" # Let the user override the test with a path.
   11881   ;;
   11882   *)
   11883   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11884 for as_dir in $PATH
   11885 do
   11886   IFS=$as_save_IFS
   11887   test -z "$as_dir" && as_dir=.
   11888     for ac_exec_ext in '' $ac_executable_extensions; do
   11889   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11890     ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
   11891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11892     break 2
   11893   fi
   11894 done
   11895   done
   11896 IFS=$as_save_IFS
   11897 
   11898   test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
   11899   ;;
   11900 esac
   11901 fi
   11902 SED=$ac_cv_path_SED
   11903 if test -n "$SED"; then
   11904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
   11905 $as_echo "$SED" >&6; }
   11906 else
   11907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11908 $as_echo "no" >&6; }
   11909 fi
   11910 
   11911 
   11912 # Extract the first word of "perl", so it can be a program name with args.
   11913 set dummy perl; ac_word=$2
   11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11915 $as_echo_n "checking for $ac_word... " >&6; }
   11916 if ${ac_cv_path_PERL+:} false; then :
   11917   $as_echo_n "(cached) " >&6
   11918 else
   11919   case $PERL in
   11920   [\\/]* | ?:[\\/]*)
   11921   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   11922   ;;
   11923   *)
   11924   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11925 for as_dir in $PATH
   11926 do
   11927   IFS=$as_save_IFS
   11928   test -z "$as_dir" && as_dir=.
   11929     for ac_exec_ext in '' $ac_executable_extensions; do
   11930   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11931     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   11932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11933     break 2
   11934   fi
   11935 done
   11936   done
   11937 IFS=$as_save_IFS
   11938 
   11939   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
   11940   ;;
   11941 esac
   11942 fi
   11943 PERL=$ac_cv_path_PERL
   11944 if test -n "$PERL"; then
   11945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   11946 $as_echo "$PERL" >&6; }
   11947 else
   11948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11949 $as_echo "no" >&6; }
   11950 fi
   11951 
   11952 
   11953 # Extract the first word of "ldconfig", so it can be a program name with args.
   11954 set dummy ldconfig; ac_word=$2
   11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11956 $as_echo_n "checking for $ac_word... " >&6; }
   11957 if ${ac_cv_path_LDCONFIG+:} false; then :
   11958   $as_echo_n "(cached) " >&6
   11959 else
   11960   case $LDCONFIG in
   11961   [\\/]* | ?:[\\/]*)
   11962   ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
   11963   ;;
   11964   *)
   11965   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11966 for as_dir in $PATH
   11967 do
   11968   IFS=$as_save_IFS
   11969   test -z "$as_dir" && as_dir=.
   11970     for ac_exec_ext in '' $ac_executable_extensions; do
   11971   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11972     ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
   11973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11974     break 2
   11975   fi
   11976 done
   11977   done
   11978 IFS=$as_save_IFS
   11979 
   11980   test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG=":"
   11981   ;;
   11982 esac
   11983 fi
   11984 LDCONFIG=$ac_cv_path_LDCONFIG
   11985 if test -n "$LDCONFIG"; then
   11986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
   11987 $as_echo "$LDCONFIG" >&6; }
   11988 else
   11989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11990 $as_echo "no" >&6; }
   11991 fi
   11992 
   11993 
   11994 if test -n "$ac_tool_prefix"; then
   11995   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   11996 set dummy ${ac_tool_prefix}ar; ac_word=$2
   11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11998 $as_echo_n "checking for $ac_word... " >&6; }
   11999 if ${ac_cv_prog_AR+:} false; then :
   12000   $as_echo_n "(cached) " >&6
   12001 else
   12002   if test -n "$AR"; then
   12003   ac_cv_prog_AR="$AR" # Let the user override the test.
   12004 else
   12005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12006 for as_dir in $PATH
   12007 do
   12008   IFS=$as_save_IFS
   12009   test -z "$as_dir" && as_dir=.
   12010     for ac_exec_ext in '' $ac_executable_extensions; do
   12011   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12012     ac_cv_prog_AR="${ac_tool_prefix}ar"
   12013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12014     break 2
   12015   fi
   12016 done
   12017   done
   12018 IFS=$as_save_IFS
   12019 
   12020 fi
   12021 fi
   12022 AR=$ac_cv_prog_AR
   12023 if test -n "$AR"; then
   12024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12025 $as_echo "$AR" >&6; }
   12026 else
   12027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12028 $as_echo "no" >&6; }
   12029 fi
   12030 
   12031 
   12032 fi
   12033 if test -z "$ac_cv_prog_AR"; then
   12034   ac_ct_AR=$AR
   12035   # Extract the first word of "ar", so it can be a program name with args.
   12036 set dummy ar; ac_word=$2
   12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12038 $as_echo_n "checking for $ac_word... " >&6; }
   12039 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12040   $as_echo_n "(cached) " >&6
   12041 else
   12042   if test -n "$ac_ct_AR"; then
   12043   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12044 else
   12045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12046 for as_dir in $PATH
   12047 do
   12048   IFS=$as_save_IFS
   12049   test -z "$as_dir" && as_dir=.
   12050     for ac_exec_ext in '' $ac_executable_extensions; do
   12051   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12052     ac_cv_prog_ac_ct_AR="ar"
   12053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12054     break 2
   12055   fi
   12056 done
   12057   done
   12058 IFS=$as_save_IFS
   12059 
   12060 fi
   12061 fi
   12062 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12063 if test -n "$ac_ct_AR"; then
   12064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12065 $as_echo "$ac_ct_AR" >&6; }
   12066 else
   12067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12068 $as_echo "no" >&6; }
   12069 fi
   12070 
   12071   if test "x$ac_ct_AR" = x; then
   12072     AR="ar"
   12073   else
   12074     case $cross_compiling:$ac_tool_warned in
   12075 yes:)
   12076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12078 ac_tool_warned=yes ;;
   12079 esac
   12080     AR=$ac_ct_AR
   12081   fi
   12082 else
   12083   AR="$ac_cv_prog_AR"
   12084 fi
   12085 
   12086 if test -n "$ac_tool_prefix"; then
   12087   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12088 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12090 $as_echo_n "checking for $ac_word... " >&6; }
   12091 if ${ac_cv_prog_RANLIB+:} false; then :
   12092   $as_echo_n "(cached) " >&6
   12093 else
   12094   if test -n "$RANLIB"; then
   12095   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12096 else
   12097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12098 for as_dir in $PATH
   12099 do
   12100   IFS=$as_save_IFS
   12101   test -z "$as_dir" && as_dir=.
   12102     for ac_exec_ext in '' $ac_executable_extensions; do
   12103   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12104     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12106     break 2
   12107   fi
   12108 done
   12109   done
   12110 IFS=$as_save_IFS
   12111 
   12112 fi
   12113 fi
   12114 RANLIB=$ac_cv_prog_RANLIB
   12115 if test -n "$RANLIB"; then
   12116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12117 $as_echo "$RANLIB" >&6; }
   12118 else
   12119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12120 $as_echo "no" >&6; }
   12121 fi
   12122 
   12123 
   12124 fi
   12125 if test -z "$ac_cv_prog_RANLIB"; then
   12126   ac_ct_RANLIB=$RANLIB
   12127   # Extract the first word of "ranlib", so it can be a program name with args.
   12128 set dummy ranlib; ac_word=$2
   12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12130 $as_echo_n "checking for $ac_word... " >&6; }
   12131 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12132   $as_echo_n "(cached) " >&6
   12133 else
   12134   if test -n "$ac_ct_RANLIB"; then
   12135   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12136 else
   12137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12138 for as_dir in $PATH
   12139 do
   12140   IFS=$as_save_IFS
   12141   test -z "$as_dir" && as_dir=.
   12142     for ac_exec_ext in '' $ac_executable_extensions; do
   12143   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12144     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12146     break 2
   12147   fi
   12148 done
   12149   done
   12150 IFS=$as_save_IFS
   12151 
   12152 fi
   12153 fi
   12154 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12155 if test -n "$ac_ct_RANLIB"; then
   12156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12157 $as_echo "$ac_ct_RANLIB" >&6; }
   12158 else
   12159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12160 $as_echo "no" >&6; }
   12161 fi
   12162 
   12163   if test "x$ac_ct_RANLIB" = x; then
   12164     RANLIB=":"
   12165   else
   12166     case $cross_compiling:$ac_tool_warned in
   12167 yes:)
   12168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12170 ac_tool_warned=yes ;;
   12171 esac
   12172     RANLIB=$ac_ct_RANLIB
   12173   fi
   12174 else
   12175   RANLIB="$ac_cv_prog_RANLIB"
   12176 fi
   12177 
   12178 if test -n "$ac_tool_prefix"; then
   12179   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12180 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12182 $as_echo_n "checking for $ac_word... " >&6; }
   12183 if ${ac_cv_prog_STRIP+:} false; then :
   12184   $as_echo_n "(cached) " >&6
   12185 else
   12186   if test -n "$STRIP"; then
   12187   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12188 else
   12189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12190 for as_dir in $PATH
   12191 do
   12192   IFS=$as_save_IFS
   12193   test -z "$as_dir" && as_dir=.
   12194     for ac_exec_ext in '' $ac_executable_extensions; do
   12195   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12196     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12198     break 2
   12199   fi
   12200 done
   12201   done
   12202 IFS=$as_save_IFS
   12203 
   12204 fi
   12205 fi
   12206 STRIP=$ac_cv_prog_STRIP
   12207 if test -n "$STRIP"; then
   12208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12209 $as_echo "$STRIP" >&6; }
   12210 else
   12211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12212 $as_echo "no" >&6; }
   12213 fi
   12214 
   12215 
   12216 fi
   12217 if test -z "$ac_cv_prog_STRIP"; then
   12218   ac_ct_STRIP=$STRIP
   12219   # Extract the first word of "strip", so it can be a program name with args.
   12220 set dummy strip; ac_word=$2
   12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12222 $as_echo_n "checking for $ac_word... " >&6; }
   12223 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12224   $as_echo_n "(cached) " >&6
   12225 else
   12226   if test -n "$ac_ct_STRIP"; then
   12227   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12228 else
   12229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12230 for as_dir in $PATH
   12231 do
   12232   IFS=$as_save_IFS
   12233   test -z "$as_dir" && as_dir=.
   12234     for ac_exec_ext in '' $ac_executable_extensions; do
   12235   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12236     ac_cv_prog_ac_ct_STRIP="strip"
   12237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12238     break 2
   12239   fi
   12240 done
   12241   done
   12242 IFS=$as_save_IFS
   12243 
   12244 fi
   12245 fi
   12246 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12247 if test -n "$ac_ct_STRIP"; then
   12248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12249 $as_echo "$ac_ct_STRIP" >&6; }
   12250 else
   12251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12252 $as_echo "no" >&6; }
   12253 fi
   12254 
   12255   if test "x$ac_ct_STRIP" = x; then
   12256     STRIP=":"
   12257   else
   12258     case $cross_compiling:$ac_tool_warned in
   12259 yes:)
   12260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12262 ac_tool_warned=yes ;;
   12263 esac
   12264     STRIP=$ac_ct_STRIP
   12265   fi
   12266 else
   12267   STRIP="$ac_cv_prog_STRIP"
   12268 fi
   12269 
   12270 # Extract the first word of "makeinfo", so it can be a program name with args.
   12271 set dummy makeinfo; ac_word=$2
   12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12273 $as_echo_n "checking for $ac_word... " >&6; }
   12274 if ${ac_cv_prog_MAKEINFO+:} false; then :
   12275   $as_echo_n "(cached) " >&6
   12276 else
   12277   if test -n "$MAKEINFO"; then
   12278   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
   12279 else
   12280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12281 for as_dir in $PATH
   12282 do
   12283   IFS=$as_save_IFS
   12284   test -z "$as_dir" && as_dir=.
   12285     for ac_exec_ext in '' $ac_executable_extensions; do
   12286   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12287     ac_cv_prog_MAKEINFO="makeinfo"
   12288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12289     break 2
   12290   fi
   12291 done
   12292   done
   12293 IFS=$as_save_IFS
   12294 
   12295 fi
   12296 fi
   12297 MAKEINFO=$ac_cv_prog_MAKEINFO
   12298 if test -n "$MAKEINFO"; then
   12299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
   12300 $as_echo "$MAKEINFO" >&6; }
   12301 else
   12302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12303 $as_echo "no" >&6; }
   12304 fi
   12305 
   12306 
   12307 if test "_$MAKEINFO" = "_"; then
   12308     MAKEINFO="@echo Makeinfo is missing. Info documentation will not be built.;true"
   12309 else
   12310     case "$MAKEINFO" in
   12311       */missing.*)
   12312         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
   12313 *** Makeinfo is missing. Info documentation will not be built." >&5
   12314 $as_echo "$as_me: WARNING:
   12315 *** Makeinfo is missing. Info documentation will not be built." >&2;}
   12316         ;;
   12317       *)
   12318         ;;
   12319     esac
   12320 fi
   12321 
   12322 
   12323 # See if we need a separate native compiler.
   12324 if test $cross_compiling = no; then
   12325   BUILD_CC="$CC"
   12326 
   12327 else
   12328   for ac_prog in gcc cc
   12329 do
   12330   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12331 set dummy $ac_prog; ac_word=$2
   12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12333 $as_echo_n "checking for $ac_word... " >&6; }
   12334 if ${ac_cv_prog_BUILD_CC+:} false; then :
   12335   $as_echo_n "(cached) " >&6
   12336 else
   12337   if test -n "$BUILD_CC"; then
   12338   ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
   12339 else
   12340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12341 for as_dir in $PATH
   12342 do
   12343   IFS=$as_save_IFS
   12344   test -z "$as_dir" && as_dir=.
   12345     for ac_exec_ext in '' $ac_executable_extensions; do
   12346   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12347     ac_cv_prog_BUILD_CC="$ac_prog"
   12348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12349     break 2
   12350   fi
   12351 done
   12352   done
   12353 IFS=$as_save_IFS
   12354 
   12355 fi
   12356 fi
   12357 BUILD_CC=$ac_cv_prog_BUILD_CC
   12358 if test -n "$BUILD_CC"; then
   12359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
   12360 $as_echo "$BUILD_CC" >&6; }
   12361 else
   12362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12363 $as_echo "no" >&6; }
   12364 fi
   12365 
   12366 
   12367   test -n "$BUILD_CC" && break
   12368 done
   12369 
   12370 fi
   12371 for ac_header in  	dirent.h 	errno.h 	execinfo.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 	attr/xattr.h 	linux/falloc.h 	linux/fd.h 	linux/major.h 	linux/loop.h 	net/if_dl.h 	netinet/in.h 	sys/acl.h 	sys/disklabel.h 	sys/disk.h 	sys/file.h 	sys/ioctl.h 	sys/key.h 	sys/mkdev.h 	sys/mman.h 	sys/mount.h 	sys/prctl.h 	sys/resource.h 	sys/select.h 	sys/socket.h 	sys/sockio.h 	sys/stat.h 	sys/syscall.h 	sys/sysctl.h 	sys/sysmacros.h 	sys/time.h 	sys/types.h 	sys/un.h 	sys/wait.h
   12372 do :
   12373   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   12374 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   12375 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   12376   cat >>confdefs.h <<_ACEOF
   12377 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   12378 _ACEOF
   12379 
   12380 fi
   12381 
   12382 done
   12383 
   12384 for ac_header in net/if.h
   12385 do :
   12386   ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
   12387 #if HAVE_SYS_TYPES_H
   12388 #include <sys/types.h>
   12389 #endif
   12390 #if HAVE_SYS_SOCKET
   12391 #include <sys/socket.h>
   12392 #endif
   12393 
   12394 "
   12395 if test "x$ac_cv_header_net_if_h" = xyes; then :
   12396   cat >>confdefs.h <<_ACEOF
   12397 #define HAVE_NET_IF_H 1
   12398 _ACEOF
   12399 
   12400 fi
   12401 
   12402 done
   12403 
   12404 for ac_func in vprintf
   12405 do :
   12406   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
   12407 if test "x$ac_cv_func_vprintf" = xyes; then :
   12408   cat >>confdefs.h <<_ACEOF
   12409 #define HAVE_VPRINTF 1
   12410 _ACEOF
   12411 
   12412 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
   12413 if test "x$ac_cv_func__doprnt" = xyes; then :
   12414 
   12415 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
   12416 
   12417 fi
   12418 
   12419 fi
   12420 done
   12421 
   12422 
   12423 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#include <dirent.h>
   12424 "
   12425 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
   12426 
   12427 $as_echo "#define HAVE_RECLEN_DIRENT 1" >>confdefs.h
   12428 
   12429 fi
   12430 
   12431 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
   12432 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
   12433 
   12434 cat >>confdefs.h <<_ACEOF
   12435 #define HAVE_STRUCT_STAT_ST_ATIM 1
   12436 _ACEOF
   12437 
   12438 
   12439 fi
   12440 
   12441 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
   12442 "
   12443 if test "x$ac_cv_type_ssize_t" = xyes; then :
   12444 
   12445 $as_echo "#define HAVE_TYPE_SSIZE_T 1" >>confdefs.h
   12446 
   12447 fi
   12448 
   12449 ac_fn_c_check_decl "$LINENO" "llseek" "ac_cv_have_decl_llseek" "#include <unistd.h>
   12450 "
   12451 if test "x$ac_cv_have_decl_llseek" = xyes; then :
   12452 
   12453 $as_echo "#define HAVE_LLSEEK_PROTOTYPE 1" >>confdefs.h
   12454 
   12455 fi
   12456 
   12457 ac_fn_c_check_decl "$LINENO" "lseek64" "ac_cv_have_decl_lseek64" "#define _LARGEFILE_SOURCE
   12458 		 #define _LARGEFILE64_SOURCE
   12459 		 #include <unistd.h>
   12460 "
   12461 if test "x$ac_cv_have_decl_lseek64" = xyes; then :
   12462 
   12463 $as_echo "#define HAVE_LSEEK64_PROTOTYPE 1" >>confdefs.h
   12464 
   12465 fi
   12466 
   12467 # The cast to long int works around a bug in the HP C Compiler
   12468 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12469 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12470 # This bug is HP SR number 8606223364.
   12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   12472 $as_echo_n "checking size of short... " >&6; }
   12473 if ${ac_cv_sizeof_short+:} false; then :
   12474   $as_echo_n "(cached) " >&6
   12475 else
   12476   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
   12477 
   12478 else
   12479   if test "$ac_cv_type_short" = yes; then
   12480      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12482 as_fn_error 77 "cannot compute sizeof (short)
   12483 See \`config.log' for more details" "$LINENO" 5; }
   12484    else
   12485      ac_cv_sizeof_short=0
   12486    fi
   12487 fi
   12488 
   12489 fi
   12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   12491 $as_echo "$ac_cv_sizeof_short" >&6; }
   12492 
   12493 
   12494 
   12495 cat >>confdefs.h <<_ACEOF
   12496 #define SIZEOF_SHORT $ac_cv_sizeof_short
   12497 _ACEOF
   12498 
   12499 
   12500 # The cast to long int works around a bug in the HP C Compiler
   12501 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12502 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12503 # This bug is HP SR number 8606223364.
   12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   12505 $as_echo_n "checking size of int... " >&6; }
   12506 if ${ac_cv_sizeof_int+:} false; then :
   12507   $as_echo_n "(cached) " >&6
   12508 else
   12509   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   12510 
   12511 else
   12512   if test "$ac_cv_type_int" = yes; then
   12513      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12515 as_fn_error 77 "cannot compute sizeof (int)
   12516 See \`config.log' for more details" "$LINENO" 5; }
   12517    else
   12518      ac_cv_sizeof_int=0
   12519    fi
   12520 fi
   12521 
   12522 fi
   12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   12524 $as_echo "$ac_cv_sizeof_int" >&6; }
   12525 
   12526 
   12527 
   12528 cat >>confdefs.h <<_ACEOF
   12529 #define SIZEOF_INT $ac_cv_sizeof_int
   12530 _ACEOF
   12531 
   12532 
   12533 # The cast to long int works around a bug in the HP C Compiler
   12534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12536 # This bug is HP SR number 8606223364.
   12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   12538 $as_echo_n "checking size of long... " >&6; }
   12539 if ${ac_cv_sizeof_long+:} false; then :
   12540   $as_echo_n "(cached) " >&6
   12541 else
   12542   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   12543 
   12544 else
   12545   if test "$ac_cv_type_long" = yes; then
   12546      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12548 as_fn_error 77 "cannot compute sizeof (long)
   12549 See \`config.log' for more details" "$LINENO" 5; }
   12550    else
   12551      ac_cv_sizeof_long=0
   12552    fi
   12553 fi
   12554 
   12555 fi
   12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   12557 $as_echo "$ac_cv_sizeof_long" >&6; }
   12558 
   12559 
   12560 
   12561 cat >>confdefs.h <<_ACEOF
   12562 #define SIZEOF_LONG $ac_cv_sizeof_long
   12563 _ACEOF
   12564 
   12565 
   12566 # The cast to long int works around a bug in the HP C Compiler
   12567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12568 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12569 # This bug is HP SR number 8606223364.
   12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
   12571 $as_echo_n "checking size of long long... " >&6; }
   12572 if ${ac_cv_sizeof_long_long+:} false; then :
   12573   $as_echo_n "(cached) " >&6
   12574 else
   12575   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
   12576 
   12577 else
   12578   if test "$ac_cv_type_long_long" = yes; then
   12579      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12581 as_fn_error 77 "cannot compute sizeof (long long)
   12582 See \`config.log' for more details" "$LINENO" 5; }
   12583    else
   12584      ac_cv_sizeof_long_long=0
   12585    fi
   12586 fi
   12587 
   12588 fi
   12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
   12590 $as_echo "$ac_cv_sizeof_long_long" >&6; }
   12591 
   12592 
   12593 
   12594 cat >>confdefs.h <<_ACEOF
   12595 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
   12596 _ACEOF
   12597 
   12598 
   12599 # The cast to long int works around a bug in the HP C Compiler
   12600 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12601 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12602 # This bug is HP SR number 8606223364.
   12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
   12604 $as_echo_n "checking size of off_t... " >&6; }
   12605 if ${ac_cv_sizeof_off_t+:} false; then :
   12606   $as_echo_n "(cached) " >&6
   12607 else
   12608   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
   12609 
   12610 else
   12611   if test "$ac_cv_type_off_t" = yes; then
   12612      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12614 as_fn_error 77 "cannot compute sizeof (off_t)
   12615 See \`config.log' for more details" "$LINENO" 5; }
   12616    else
   12617      ac_cv_sizeof_off_t=0
   12618    fi
   12619 fi
   12620 
   12621 fi
   12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
   12623 $as_echo "$ac_cv_sizeof_off_t" >&6; }
   12624 
   12625 
   12626 
   12627 cat >>confdefs.h <<_ACEOF
   12628 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
   12629 _ACEOF
   12630 
   12631 
   12632 # The cast to long int works around a bug in the HP C Compiler
   12633 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12634 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12635 # This bug is HP SR number 8606223364.
   12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
   12637 $as_echo_n "checking size of time_t... " >&6; }
   12638 if ${ac_cv_sizeof_time_t+:} false; then :
   12639   $as_echo_n "(cached) " >&6
   12640 else
   12641   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t"        "$ac_includes_default"; then :
   12642 
   12643 else
   12644   if test "$ac_cv_type_time_t" = yes; then
   12645      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12647 as_fn_error 77 "cannot compute sizeof (time_t)
   12648 See \`config.log' for more details" "$LINENO" 5; }
   12649    else
   12650      ac_cv_sizeof_time_t=0
   12651    fi
   12652 fi
   12653 
   12654 fi
   12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
   12656 $as_echo "$ac_cv_sizeof_time_t" >&6; }
   12657 
   12658 
   12659 
   12660 cat >>confdefs.h <<_ACEOF
   12661 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
   12662 _ACEOF
   12663 
   12664 
   12665 SIZEOF_SHORT=$ac_cv_sizeof_short
   12666 SIZEOF_INT=$ac_cv_sizeof_int
   12667 SIZEOF_LONG=$ac_cv_sizeof_long
   12668 SIZEOF_LONG_LONG=$ac_cv_sizeof_long_long
   12669 SIZEOF_OFF_T=$ac_cv_sizeof_off_t
   12670 SIZEOF_TIME_T=$ac_cv_sizeof_time_t
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   12678 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   12679 if ${ac_cv_c_bigendian+:} false; then :
   12680   $as_echo_n "(cached) " >&6
   12681 else
   12682   ac_cv_c_bigendian=unknown
   12683     # See if we're dealing with a universal compiler.
   12684     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12685 /* end confdefs.h.  */
   12686 #ifndef __APPLE_CC__
   12687 	       not a universal capable compiler
   12688 	     #endif
   12689 	     typedef int dummy;
   12690 
   12691 _ACEOF
   12692 if ac_fn_c_try_compile "$LINENO"; then :
   12693 
   12694 	# Check for potential -arch flags.  It is not universal unless
   12695 	# there are at least two -arch flags with different values.
   12696 	ac_arch=
   12697 	ac_prev=
   12698 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   12699 	 if test -n "$ac_prev"; then
   12700 	   case $ac_word in
   12701 	     i?86 | x86_64 | ppc | ppc64)
   12702 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   12703 		 ac_arch=$ac_word
   12704 	       else
   12705 		 ac_cv_c_bigendian=universal
   12706 		 break
   12707 	       fi
   12708 	       ;;
   12709 	   esac
   12710 	   ac_prev=
   12711 	 elif test "x$ac_word" = "x-arch"; then
   12712 	   ac_prev=arch
   12713 	 fi
   12714        done
   12715 fi
   12716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12717     if test $ac_cv_c_bigendian = unknown; then
   12718       # See if sys/param.h defines the BYTE_ORDER macro.
   12719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12720 /* end confdefs.h.  */
   12721 #include <sys/types.h>
   12722 	     #include <sys/param.h>
   12723 
   12724 int
   12725 main ()
   12726 {
   12727 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   12728 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   12729 		     && LITTLE_ENDIAN)
   12730 	      bogus endian macros
   12731 	     #endif
   12732 
   12733   ;
   12734   return 0;
   12735 }
   12736 _ACEOF
   12737 if ac_fn_c_try_compile "$LINENO"; then :
   12738   # It does; now see whether it defined to BIG_ENDIAN or not.
   12739 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12740 /* end confdefs.h.  */
   12741 #include <sys/types.h>
   12742 		#include <sys/param.h>
   12743 
   12744 int
   12745 main ()
   12746 {
   12747 #if BYTE_ORDER != BIG_ENDIAN
   12748 		 not big endian
   12749 		#endif
   12750 
   12751   ;
   12752   return 0;
   12753 }
   12754 _ACEOF
   12755 if ac_fn_c_try_compile "$LINENO"; then :
   12756   ac_cv_c_bigendian=yes
   12757 else
   12758   ac_cv_c_bigendian=no
   12759 fi
   12760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12761 fi
   12762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12763     fi
   12764     if test $ac_cv_c_bigendian = unknown; then
   12765       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   12766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12767 /* end confdefs.h.  */
   12768 #include <limits.h>
   12769 
   12770 int
   12771 main ()
   12772 {
   12773 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   12774 	      bogus endian macros
   12775 	     #endif
   12776 
   12777   ;
   12778   return 0;
   12779 }
   12780 _ACEOF
   12781 if ac_fn_c_try_compile "$LINENO"; then :
   12782   # It does; now see whether it defined to _BIG_ENDIAN or not.
   12783 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12784 /* end confdefs.h.  */
   12785 #include <limits.h>
   12786 
   12787 int
   12788 main ()
   12789 {
   12790 #ifndef _BIG_ENDIAN
   12791 		 not big endian
   12792 		#endif
   12793 
   12794   ;
   12795   return 0;
   12796 }
   12797 _ACEOF
   12798 if ac_fn_c_try_compile "$LINENO"; then :
   12799   ac_cv_c_bigendian=yes
   12800 else
   12801   ac_cv_c_bigendian=no
   12802 fi
   12803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12804 fi
   12805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12806     fi
   12807     if test $ac_cv_c_bigendian = unknown; then
   12808       # Compile a test program.
   12809       if test "$cross_compiling" = yes; then :
   12810   # Try to guess by grepping values from an object file.
   12811 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12812 /* end confdefs.h.  */
   12813 short int ascii_mm[] =
   12814 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   12815 		short int ascii_ii[] =
   12816 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   12817 		int use_ascii (int i) {
   12818 		  return ascii_mm[i] + ascii_ii[i];
   12819 		}
   12820 		short int ebcdic_ii[] =
   12821 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   12822 		short int ebcdic_mm[] =
   12823 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   12824 		int use_ebcdic (int i) {
   12825 		  return ebcdic_mm[i] + ebcdic_ii[i];
   12826 		}
   12827 		extern int foo;
   12828 
   12829 int
   12830 main ()
   12831 {
   12832 return use_ascii (foo) == use_ebcdic (foo);
   12833   ;
   12834   return 0;
   12835 }
   12836 _ACEOF
   12837 if ac_fn_c_try_compile "$LINENO"; then :
   12838   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   12839 	      ac_cv_c_bigendian=yes
   12840 	    fi
   12841 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   12842 	      if test "$ac_cv_c_bigendian" = unknown; then
   12843 		ac_cv_c_bigendian=no
   12844 	      else
   12845 		# finding both strings is unlikely to happen, but who knows?
   12846 		ac_cv_c_bigendian=unknown
   12847 	      fi
   12848 	    fi
   12849 fi
   12850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12851 else
   12852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12853 /* end confdefs.h.  */
   12854 $ac_includes_default
   12855 int
   12856 main ()
   12857 {
   12858 
   12859 	     /* Are we little or big endian?  From Harbison&Steele.  */
   12860 	     union
   12861 	     {
   12862 	       long int l;
   12863 	       char c[sizeof (long int)];
   12864 	     } u;
   12865 	     u.l = 1;
   12866 	     return u.c[sizeof (long int) - 1] == 1;
   12867 
   12868   ;
   12869   return 0;
   12870 }
   12871 _ACEOF
   12872 if ac_fn_c_try_run "$LINENO"; then :
   12873   ac_cv_c_bigendian=no
   12874 else
   12875   ac_cv_c_bigendian=yes
   12876 fi
   12877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12878   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12879 fi
   12880 
   12881     fi
   12882 fi
   12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   12884 $as_echo "$ac_cv_c_bigendian" >&6; }
   12885  case $ac_cv_c_bigendian in #(
   12886    yes)
   12887      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   12888 ;; #(
   12889    no)
   12890       ;; #(
   12891    universal)
   12892 
   12893 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   12894 
   12895      ;; #(
   12896    *)
   12897      as_fn_error $? "unknown endianness
   12898  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   12899  esac
   12900 
   12901 if test $cross_compiling = no; then
   12902   BUILD_CC="$BUILD_CC" CPP="$CPP" /bin/sh $ac_aux_dir/parse-types.sh
   12903 else
   12904   CROSS_COMPILE="1" BUILD_CC="$BUILD_CC" CPP="$CPP" /bin/sh $ac_aux_dir/parse-types.sh
   12905 fi
   12906 ASM_TYPES_HEADER=./asm_types.h
   12907 
   12908 echo "/* These defines are needed for the public ext2fs.h header file */" \
   12909      > public_config.h
   12910 if grep HAVE_SYS_TYPES_H confdefs.h > tmp_config.$$; then
   12911   uniq tmp_config.$$ >> public_config.h
   12912 else
   12913   echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
   12914 fi
   12915 if grep WORDS_BIGENDIAN confdefs.h > tmp_config.$$; then
   12916   uniq tmp_config.$$ >> public_config.h
   12917 else
   12918   echo "#undef WORDS_BIGENDIAN" >> public_config.h
   12919 fi
   12920 rm -f tmp_config.$$
   12921 PUBLIC_CONFIG_HEADER=./public_config.h
   12922 
   12923 for ac_header in inttypes.h
   12924 do :
   12925   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
   12926 if test "x$ac_cv_header_inttypes_h" = xyes; then :
   12927   cat >>confdefs.h <<_ACEOF
   12928 #define HAVE_INTTYPES_H 1
   12929 _ACEOF
   12930 
   12931 fi
   12932 
   12933 done
   12934 
   12935 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
   12936 if test "x$ac_cv_type_intptr_t" = xyes; then :
   12937 
   12938 cat >>confdefs.h <<_ACEOF
   12939 #define HAVE_INTPTR_T 1
   12940 _ACEOF
   12941 
   12942 
   12943 fi
   12944 
   12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat has a st_flags field" >&5
   12946 $as_echo_n "checking whether struct stat has a st_flags field... " >&6; }
   12947 if ${e2fsprogs_cv_struct_st_flags+:} false; then :
   12948   $as_echo_n "(cached) " >&6
   12949 else
   12950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12951 /* end confdefs.h.  */
   12952 #include <sys/stat.h>
   12953 int
   12954 main ()
   12955 {
   12956 struct stat stat; stat.st_flags = 0;
   12957   ;
   12958   return 0;
   12959 }
   12960 _ACEOF
   12961 if ac_fn_c_try_compile "$LINENO"; then :
   12962   e2fsprogs_cv_struct_st_flags=yes
   12963 else
   12964   e2fsprogs_cv_struct_st_flags=no
   12965 fi
   12966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12967 fi
   12968 
   12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags" >&5
   12970 $as_echo "$e2fsprogs_cv_struct_st_flags" >&6; }
   12971 if test "$e2fsprogs_cv_struct_st_flags" = yes; then
   12972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether st_flags field is useful" >&5
   12973 $as_echo_n "checking whether st_flags field is useful... " >&6; }
   12974   if ${e2fsprogs_cv_struct_st_flags_immut+:} false; then :
   12975   $as_echo_n "(cached) " >&6
   12976 else
   12977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12978 /* end confdefs.h.  */
   12979 #include <sys/stat.h>
   12980 int
   12981 main ()
   12982 {
   12983 struct stat stat; stat.st_flags |= UF_IMMUTABLE;
   12984   ;
   12985   return 0;
   12986 }
   12987 _ACEOF
   12988 if ac_fn_c_try_compile "$LINENO"; then :
   12989   e2fsprogs_cv_struct_st_flags_immut=yes
   12990 else
   12991   e2fsprogs_cv_struct_st_flags_immut=no
   12992 fi
   12993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12994 fi
   12995 
   12996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags_immut" >&5
   12997 $as_echo "$e2fsprogs_cv_struct_st_flags_immut" >&6; }
   12998   if test "$e2fsprogs_cv_struct_st_flags_immut" = yes; then
   12999 
   13000 $as_echo "#define HAVE_STAT_FLAGS 1" >>confdefs.h
   13001 
   13002   fi
   13003 fi
   13004 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
   13005 	 #include <sys/socket.h>
   13006 "
   13007 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
   13008 
   13009 cat >>confdefs.h <<_ACEOF
   13010 #define HAVE_SA_LEN 1
   13011 _ACEOF
   13012 
   13013 fi
   13014 
   13015 if test -n "$BLKID_CMT"; then
   13016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing blkid_probe_all" >&5
   13017 $as_echo_n "checking for library containing blkid_probe_all... " >&6; }
   13018 if ${ac_cv_search_blkid_probe_all+:} false; then :
   13019   $as_echo_n "(cached) " >&6
   13020 else
   13021   ac_func_search_save_LIBS=$LIBS
   13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13023 /* end confdefs.h.  */
   13024 
   13025 /* Override any GCC internal prototype to avoid an error.
   13026    Use char because int might match the return type of a GCC
   13027    builtin and then its argument prototype would still apply.  */
   13028 #ifdef __cplusplus
   13029 extern "C"
   13030 #endif
   13031 char blkid_probe_all ();
   13032 int
   13033 main ()
   13034 {
   13035 return blkid_probe_all ();
   13036   ;
   13037   return 0;
   13038 }
   13039 _ACEOF
   13040 for ac_lib in '' blkid; do
   13041   if test -z "$ac_lib"; then
   13042     ac_res="none required"
   13043   else
   13044     ac_res=-l$ac_lib
   13045     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13046   fi
   13047   if ac_fn_c_try_link "$LINENO"; then :
   13048   ac_cv_search_blkid_probe_all=$ac_res
   13049 fi
   13050 rm -f core conftest.err conftest.$ac_objext \
   13051     conftest$ac_exeext
   13052   if ${ac_cv_search_blkid_probe_all+:} false; then :
   13053   break
   13054 fi
   13055 done
   13056 if ${ac_cv_search_blkid_probe_all+:} false; then :
   13057 
   13058 else
   13059   ac_cv_search_blkid_probe_all=no
   13060 fi
   13061 rm conftest.$ac_ext
   13062 LIBS=$ac_func_search_save_LIBS
   13063 fi
   13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_blkid_probe_all" >&5
   13065 $as_echo "$ac_cv_search_blkid_probe_all" >&6; }
   13066 ac_res=$ac_cv_search_blkid_probe_all
   13067 if test "$ac_res" != no; then :
   13068   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13069 
   13070 fi
   13071 
   13072 fi
   13073 if test -n "$DLOPEN_LIB" ; then
   13074    ac_cv_func_dlopen=yes
   13075 fi
   13076 for ac_func in  	__secure_getenv 	add_key 	backtrace 	blkid_probe_get_topology 	blkid_probe_enable_partitions 	chflags 	dlopen 	fadvise64 	fallocate 	fallocate64 	fchown 	fdatasync 	fstat64 	ftruncate64 	futimes 	getcwd 	getdtablesize 	getmntinfo 	getpwuid_r 	getrlimit 	getrusage 	jrand48 	keyctl 	llistxattr 	llseek 	lseek64 	mallinfo 	mbstowcs 	memalign 	mempcpy 	mmap 	msync 	nanosleep 	open64 	pathconf 	posix_fadvise 	posix_fadvise64 	posix_memalign 	prctl 	pread 	pwrite 	pread64 	pwrite64 	secure_getenv 	setmntent 	setresgid 	setresuid 	snprintf 	srandom 	stpcpy 	strcasecmp 	strdup 	strnlen 	strptime 	strtoull 	sync_file_range 	sysconf 	usleep 	utime 	utimes 	valloc
   13077 do :
   13078   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   13079 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   13080 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   13081   cat >>confdefs.h <<_ACEOF
   13082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   13083 _ACEOF
   13084 
   13085 fi
   13086 done
   13087 
   13088 SOCKET_LIB=''
   13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
   13090 $as_echo_n "checking for socket in -lsocket... " >&6; }
   13091 if ${ac_cv_lib_socket_socket+:} false; then :
   13092   $as_echo_n "(cached) " >&6
   13093 else
   13094   ac_check_lib_save_LIBS=$LIBS
   13095 LIBS="-lsocket  $LIBS"
   13096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13097 /* end confdefs.h.  */
   13098 
   13099 /* Override any GCC internal prototype to avoid an error.
   13100    Use char because int might match the return type of a GCC
   13101    builtin and then its argument prototype would still apply.  */
   13102 #ifdef __cplusplus
   13103 extern "C"
   13104 #endif
   13105 char socket ();
   13106 int
   13107 main ()
   13108 {
   13109 return socket ();
   13110   ;
   13111   return 0;
   13112 }
   13113 _ACEOF
   13114 if ac_fn_c_try_link "$LINENO"; then :
   13115   ac_cv_lib_socket_socket=yes
   13116 else
   13117   ac_cv_lib_socket_socket=no
   13118 fi
   13119 rm -f core conftest.err conftest.$ac_objext \
   13120     conftest$ac_exeext conftest.$ac_ext
   13121 LIBS=$ac_check_lib_save_LIBS
   13122 fi
   13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
   13124 $as_echo "$ac_cv_lib_socket_socket" >&6; }
   13125 if test "x$ac_cv_lib_socket_socket" = xyes; then :
   13126   SOCKET_LIB=-lsocket
   13127 fi
   13128 
   13129 
   13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_file in -lmagic" >&5
   13131 $as_echo_n "checking for magic_file in -lmagic... " >&6; }
   13132 if ${ac_cv_lib_magic_magic_file+:} false; then :
   13133   $as_echo_n "(cached) " >&6
   13134 else
   13135   ac_check_lib_save_LIBS=$LIBS
   13136 LIBS="-lmagic  $LIBS"
   13137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13138 /* end confdefs.h.  */
   13139 
   13140 /* Override any GCC internal prototype to avoid an error.
   13141    Use char because int might match the return type of a GCC
   13142    builtin and then its argument prototype would still apply.  */
   13143 #ifdef __cplusplus
   13144 extern "C"
   13145 #endif
   13146 char magic_file ();
   13147 int
   13148 main ()
   13149 {
   13150 return magic_file ();
   13151   ;
   13152   return 0;
   13153 }
   13154 _ACEOF
   13155 if ac_fn_c_try_link "$LINENO"; then :
   13156   ac_cv_lib_magic_magic_file=yes
   13157 else
   13158   ac_cv_lib_magic_magic_file=no
   13159 fi
   13160 rm -f core conftest.err conftest.$ac_objext \
   13161     conftest$ac_exeext conftest.$ac_ext
   13162 LIBS=$ac_check_lib_save_LIBS
   13163 fi
   13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_file" >&5
   13165 $as_echo "$ac_cv_lib_magic_magic_file" >&6; }
   13166 if test "x$ac_cv_lib_magic_magic_file" = xyes; then :
   13167   MAGIC_LIB=-lmagic
   13168 for ac_header in magic.h
   13169 do :
   13170   ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
   13171 if test "x$ac_cv_header_magic_h" = xyes; then :
   13172   cat >>confdefs.h <<_ACEOF
   13173 #define HAVE_MAGIC_H 1
   13174 _ACEOF
   13175 
   13176 fi
   13177 
   13178 done
   13179 
   13180 fi
   13181 
   13182 if test "$ac_cv_func_dlopen" = yes ; then
   13183    MAGIC_LIB=$DLOPEN_LIB
   13184 fi
   13185 
   13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
   13187 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   13188 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
   13189   $as_echo_n "(cached) " >&6
   13190 else
   13191   ac_check_lib_save_LIBS=$LIBS
   13192 LIBS="-lrt  $LIBS"
   13193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13194 /* end confdefs.h.  */
   13195 
   13196 /* Override any GCC internal prototype to avoid an error.
   13197    Use char because int might match the return type of a GCC
   13198    builtin and then its argument prototype would still apply.  */
   13199 #ifdef __cplusplus
   13200 extern "C"
   13201 #endif
   13202 char clock_gettime ();
   13203 int
   13204 main ()
   13205 {
   13206 return clock_gettime ();
   13207   ;
   13208   return 0;
   13209 }
   13210 _ACEOF
   13211 if ac_fn_c_try_link "$LINENO"; then :
   13212   ac_cv_lib_rt_clock_gettime=yes
   13213 else
   13214   ac_cv_lib_rt_clock_gettime=no
   13215 fi
   13216 rm -f core conftest.err conftest.$ac_objext \
   13217     conftest$ac_exeext conftest.$ac_ext
   13218 LIBS=$ac_check_lib_save_LIBS
   13219 fi
   13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
   13221 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   13222 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
   13223   CLOCK_GETTIME_LIB=-lrt
   13224 fi
   13225 
   13226 
   13227 FUSE_CMT=
   13228 FUSE_LIB=
   13229 # Check whether --enable-fuse2fs was given.
   13230 if test "${enable_fuse2fs+set}" = set; then :
   13231   enableval=$enable_fuse2fs; if test "$enableval" = "no"
   13232 then
   13233 	FUSE_CMT="#"
   13234 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling fuse2fs" >&5
   13235 $as_echo "Disabling fuse2fs" >&6; }
   13236 else
   13237 	for ac_header in pthread.h fuse.h
   13238 do :
   13239   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   13240 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS	64
   13241 #define FUSE_USE_VERSION 29
   13242 "
   13243 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   13244   cat >>confdefs.h <<_ACEOF
   13245 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   13246 _ACEOF
   13247 
   13248 else
   13249   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13251 as_fn_error $? "Cannot find fuse2fs headers.
   13252 See \`config.log' for more details" "$LINENO" 5; }
   13253 fi
   13254 
   13255 done
   13256 
   13257 
   13258 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13259 /* end confdefs.h.  */
   13260 #define FUSE_USE_VERSION 29
   13261 #ifdef __linux__
   13262 #include <linux/fs.h>
   13263 #include <linux/falloc.h>
   13264 #include <linux/xattr.h>
   13265 #endif
   13266 
   13267 int
   13268 main ()
   13269 {
   13270 
   13271   ;
   13272   return 0;
   13273 }
   13274 _ACEOF
   13275 if ac_fn_c_try_cpp "$LINENO"; then :
   13276 
   13277 else
   13278   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13280 as_fn_error $? "Cannot find fuse2fs Linux headers.
   13281 See \`config.log' for more details" "$LINENO" 5; }
   13282 fi
   13283 rm -f conftest.err conftest.i conftest.$ac_ext
   13284 
   13285 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -losxfuse" >&5
   13286 $as_echo_n "checking for fuse_main in -losxfuse... " >&6; }
   13287 if ${ac_cv_lib_osxfuse_fuse_main+:} false; then :
   13288   $as_echo_n "(cached) " >&6
   13289 else
   13290   ac_check_lib_save_LIBS=$LIBS
   13291 LIBS="-losxfuse  $LIBS"
   13292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13293 /* end confdefs.h.  */
   13294 
   13295 /* Override any GCC internal prototype to avoid an error.
   13296    Use char because int might match the return type of a GCC
   13297    builtin and then its argument prototype would still apply.  */
   13298 #ifdef __cplusplus
   13299 extern "C"
   13300 #endif
   13301 char fuse_main ();
   13302 int
   13303 main ()
   13304 {
   13305 return fuse_main ();
   13306   ;
   13307   return 0;
   13308 }
   13309 _ACEOF
   13310 if ac_fn_c_try_link "$LINENO"; then :
   13311   ac_cv_lib_osxfuse_fuse_main=yes
   13312 else
   13313   ac_cv_lib_osxfuse_fuse_main=no
   13314 fi
   13315 rm -f core conftest.err conftest.$ac_objext \
   13316     conftest$ac_exeext conftest.$ac_ext
   13317 LIBS=$ac_check_lib_save_LIBS
   13318 fi
   13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_main" >&5
   13320 $as_echo "$ac_cv_lib_osxfuse_fuse_main" >&6; }
   13321 if test "x$ac_cv_lib_osxfuse_fuse_main" = xyes; then :
   13322   FUSE_LIB=-losxfuse
   13323 else
   13324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
   13325 $as_echo_n "checking for fuse_main in -lfuse... " >&6; }
   13326 if ${ac_cv_lib_fuse_fuse_main+:} false; then :
   13327   $as_echo_n "(cached) " >&6
   13328 else
   13329   ac_check_lib_save_LIBS=$LIBS
   13330 LIBS="-lfuse  $LIBS"
   13331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13332 /* end confdefs.h.  */
   13333 
   13334 /* Override any GCC internal prototype to avoid an error.
   13335    Use char because int might match the return type of a GCC
   13336    builtin and then its argument prototype would still apply.  */
   13337 #ifdef __cplusplus
   13338 extern "C"
   13339 #endif
   13340 char fuse_main ();
   13341 int
   13342 main ()
   13343 {
   13344 return fuse_main ();
   13345   ;
   13346   return 0;
   13347 }
   13348 _ACEOF
   13349 if ac_fn_c_try_link "$LINENO"; then :
   13350   ac_cv_lib_fuse_fuse_main=yes
   13351 else
   13352   ac_cv_lib_fuse_fuse_main=no
   13353 fi
   13354 rm -f core conftest.err conftest.$ac_objext \
   13355     conftest$ac_exeext conftest.$ac_ext
   13356 LIBS=$ac_check_lib_save_LIBS
   13357 fi
   13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
   13359 $as_echo "$ac_cv_lib_fuse_fuse_main" >&6; }
   13360 if test "x$ac_cv_lib_fuse_fuse_main" = xyes; then :
   13361   FUSE_LIB=-lfuse
   13362 else
   13363   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13365 as_fn_error $? "Cannot find fuse library.
   13366 See \`config.log' for more details" "$LINENO" 5; }
   13367 fi
   13368 
   13369 fi
   13370 
   13371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling fuse2fs" >&5
   13372 $as_echo "Enabling fuse2fs" >&6; }
   13373 fi
   13374 
   13375 else
   13376   for ac_header in pthread.h fuse.h
   13377 do :
   13378   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   13379 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS	64
   13380 #define FUSE_USE_VERSION 29
   13381 #ifdef __linux__
   13382 # include <linux/fs.h>
   13383 # include <linux/falloc.h>
   13384 # include <linux/xattr.h>
   13385 #endif
   13386 "
   13387 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   13388   cat >>confdefs.h <<_ACEOF
   13389 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   13390 _ACEOF
   13391 
   13392 else
   13393   FUSE_CMT="#"
   13394 fi
   13395 
   13396 done
   13397 
   13398 if test -z "$FUSE_CMT"
   13399 then
   13400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -losxfuse" >&5
   13401 $as_echo_n "checking for fuse_main in -losxfuse... " >&6; }
   13402 if ${ac_cv_lib_osxfuse_fuse_main+:} false; then :
   13403   $as_echo_n "(cached) " >&6
   13404 else
   13405   ac_check_lib_save_LIBS=$LIBS
   13406 LIBS="-losxfuse  $LIBS"
   13407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13408 /* end confdefs.h.  */
   13409 
   13410 /* Override any GCC internal prototype to avoid an error.
   13411    Use char because int might match the return type of a GCC
   13412    builtin and then its argument prototype would still apply.  */
   13413 #ifdef __cplusplus
   13414 extern "C"
   13415 #endif
   13416 char fuse_main ();
   13417 int
   13418 main ()
   13419 {
   13420 return fuse_main ();
   13421   ;
   13422   return 0;
   13423 }
   13424 _ACEOF
   13425 if ac_fn_c_try_link "$LINENO"; then :
   13426   ac_cv_lib_osxfuse_fuse_main=yes
   13427 else
   13428   ac_cv_lib_osxfuse_fuse_main=no
   13429 fi
   13430 rm -f core conftest.err conftest.$ac_objext \
   13431     conftest$ac_exeext conftest.$ac_ext
   13432 LIBS=$ac_check_lib_save_LIBS
   13433 fi
   13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_main" >&5
   13435 $as_echo "$ac_cv_lib_osxfuse_fuse_main" >&6; }
   13436 if test "x$ac_cv_lib_osxfuse_fuse_main" = xyes; then :
   13437   FUSE_LIB=-losxfuse
   13438 else
   13439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
   13440 $as_echo_n "checking for fuse_main in -lfuse... " >&6; }
   13441 if ${ac_cv_lib_fuse_fuse_main+:} false; then :
   13442   $as_echo_n "(cached) " >&6
   13443 else
   13444   ac_check_lib_save_LIBS=$LIBS
   13445 LIBS="-lfuse  $LIBS"
   13446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13447 /* end confdefs.h.  */
   13448 
   13449 /* Override any GCC internal prototype to avoid an error.
   13450    Use char because int might match the return type of a GCC
   13451    builtin and then its argument prototype would still apply.  */
   13452 #ifdef __cplusplus
   13453 extern "C"
   13454 #endif
   13455 char fuse_main ();
   13456 int
   13457 main ()
   13458 {
   13459 return fuse_main ();
   13460   ;
   13461   return 0;
   13462 }
   13463 _ACEOF
   13464 if ac_fn_c_try_link "$LINENO"; then :
   13465   ac_cv_lib_fuse_fuse_main=yes
   13466 else
   13467   ac_cv_lib_fuse_fuse_main=no
   13468 fi
   13469 rm -f core conftest.err conftest.$ac_objext \
   13470     conftest$ac_exeext conftest.$ac_ext
   13471 LIBS=$ac_check_lib_save_LIBS
   13472 fi
   13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
   13474 $as_echo "$ac_cv_lib_fuse_fuse_main" >&6; }
   13475 if test "x$ac_cv_lib_fuse_fuse_main" = xyes; then :
   13476   FUSE_LIB=-lfuse
   13477 else
   13478   FUSE_CMT="#"
   13479 fi
   13480 
   13481 fi
   13482 
   13483 fi
   13484 if test -z "$FUSE_CMT"
   13485 then
   13486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling fuse2fs by default." >&5
   13487 $as_echo "Enabling fuse2fs by default." >&6; }
   13488 fi
   13489 
   13490 fi
   13491 
   13492 
   13493 
   13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optreset" >&5
   13495 $as_echo_n "checking for optreset... " >&6; }
   13496 if ${ac_cv_have_optreset+:} false; then :
   13497   $as_echo_n "(cached) " >&6
   13498 else
   13499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13500 /* end confdefs.h.  */
   13501 #include <unistd.h>
   13502 
   13503 _ACEOF
   13504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13505   $EGREP "optreset" >/dev/null 2>&1; then :
   13506   ac_cv_have_optreset=yes
   13507 else
   13508   ac_cv_have_optreset=no
   13509 fi
   13510 rm -f conftest*
   13511 
   13512 fi
   13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_optreset" >&5
   13514 $as_echo "$ac_cv_have_optreset" >&6; }
   13515 if test $ac_cv_have_optreset = yes; then
   13516 
   13517 $as_echo "#define HAVE_OPTRESET 1" >>confdefs.h
   13518 
   13519 fi
   13520 
   13521 SEM_INIT_LIB=''
   13522 ac_fn_c_check_func "$LINENO" "sem_init" "ac_cv_func_sem_init"
   13523 if test "x$ac_cv_func_sem_init" = xyes; then :
   13524 
   13525 else
   13526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lpthread" >&5
   13527 $as_echo_n "checking for sem_init in -lpthread... " >&6; }
   13528 if ${ac_cv_lib_pthread_sem_init+:} false; then :
   13529   $as_echo_n "(cached) " >&6
   13530 else
   13531   ac_check_lib_save_LIBS=$LIBS
   13532 LIBS="-lpthread  $LIBS"
   13533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13534 /* end confdefs.h.  */
   13535 
   13536 /* Override any GCC internal prototype to avoid an error.
   13537    Use char because int might match the return type of a GCC
   13538    builtin and then its argument prototype would still apply.  */
   13539 #ifdef __cplusplus
   13540 extern "C"
   13541 #endif
   13542 char sem_init ();
   13543 int
   13544 main ()
   13545 {
   13546 return sem_init ();
   13547   ;
   13548   return 0;
   13549 }
   13550 _ACEOF
   13551 if ac_fn_c_try_link "$LINENO"; then :
   13552   ac_cv_lib_pthread_sem_init=yes
   13553 else
   13554   ac_cv_lib_pthread_sem_init=no
   13555 fi
   13556 rm -f core conftest.err conftest.$ac_objext \
   13557     conftest$ac_exeext conftest.$ac_ext
   13558 LIBS=$ac_check_lib_save_LIBS
   13559 fi
   13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_sem_init" >&5
   13561 $as_echo "$ac_cv_lib_pthread_sem_init" >&6; }
   13562 if test "x$ac_cv_lib_pthread_sem_init" = xyes; then :
   13563   $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
   13564 
   13565   	SEM_INIT_LIB=-lpthread
   13566 else
   13567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lrt" >&5
   13568 $as_echo_n "checking for sem_init in -lrt... " >&6; }
   13569 if ${ac_cv_lib_rt_sem_init+:} false; then :
   13570   $as_echo_n "(cached) " >&6
   13571 else
   13572   ac_check_lib_save_LIBS=$LIBS
   13573 LIBS="-lrt  $LIBS"
   13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13575 /* end confdefs.h.  */
   13576 
   13577 /* Override any GCC internal prototype to avoid an error.
   13578    Use char because int might match the return type of a GCC
   13579    builtin and then its argument prototype would still apply.  */
   13580 #ifdef __cplusplus
   13581 extern "C"
   13582 #endif
   13583 char sem_init ();
   13584 int
   13585 main ()
   13586 {
   13587 return sem_init ();
   13588   ;
   13589   return 0;
   13590 }
   13591 _ACEOF
   13592 if ac_fn_c_try_link "$LINENO"; then :
   13593   ac_cv_lib_rt_sem_init=yes
   13594 else
   13595   ac_cv_lib_rt_sem_init=no
   13596 fi
   13597 rm -f core conftest.err conftest.$ac_objext \
   13598     conftest$ac_exeext conftest.$ac_ext
   13599 LIBS=$ac_check_lib_save_LIBS
   13600 fi
   13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sem_init" >&5
   13602 $as_echo "$ac_cv_lib_rt_sem_init" >&6; }
   13603 if test "x$ac_cv_lib_rt_sem_init" = xyes; then :
   13604   $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
   13605 
   13606   	SEM_INIT_LIB=-lrt
   13607 else
   13608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lposix4" >&5
   13609 $as_echo_n "checking for sem_init in -lposix4... " >&6; }
   13610 if ${ac_cv_lib_posix4_sem_init+:} false; then :
   13611   $as_echo_n "(cached) " >&6
   13612 else
   13613   ac_check_lib_save_LIBS=$LIBS
   13614 LIBS="-lposix4  $LIBS"
   13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13616 /* end confdefs.h.  */
   13617 
   13618 /* Override any GCC internal prototype to avoid an error.
   13619    Use char because int might match the return type of a GCC
   13620    builtin and then its argument prototype would still apply.  */
   13621 #ifdef __cplusplus
   13622 extern "C"
   13623 #endif
   13624 char sem_init ();
   13625 int
   13626 main ()
   13627 {
   13628 return sem_init ();
   13629   ;
   13630   return 0;
   13631 }
   13632 _ACEOF
   13633 if ac_fn_c_try_link "$LINENO"; then :
   13634   ac_cv_lib_posix4_sem_init=yes
   13635 else
   13636   ac_cv_lib_posix4_sem_init=no
   13637 fi
   13638 rm -f core conftest.err conftest.$ac_objext \
   13639     conftest$ac_exeext conftest.$ac_ext
   13640 LIBS=$ac_check_lib_save_LIBS
   13641 fi
   13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sem_init" >&5
   13643 $as_echo "$ac_cv_lib_posix4_sem_init" >&6; }
   13644 if test "x$ac_cv_lib_posix4_sem_init" = xyes; then :
   13645   $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
   13646 
   13647   	SEM_INIT_LIB=-lposix4
   13648 fi
   13649 
   13650 fi
   13651 
   13652 fi
   13653 
   13654 fi
   13655 
   13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unified diff option" >&5
   13657 $as_echo_n "checking for unified diff option... " >&6; }
   13658 if diff -u $0 $0 > /dev/null 2>&1 ; then
   13659    UNI_DIFF_OPTS=-u
   13660 else
   13661    UNI_DIFF_OPTS=-c
   13662 fi
   13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNI_DIFF_OPTS" >&5
   13664 $as_echo "$UNI_DIFF_OPTS" >&6; }
   13665 
   13666 case "$host_os" in
   13667 linux*)
   13668 
   13669 $as_echo "#define HAVE_EXT2_IOCTLS 1" >>confdefs.h
   13670 
   13671 	;;
   13672 esac
   13673 LINUX_CMT="#"
   13674 CYGWIN_CMT="#"
   13675 UNIX_CMT=
   13676 case "$host_os" in
   13677 linux*)
   13678 	LINUX_CMT=
   13679 	;;
   13680 cygwin)
   13681 	CYGWIN_CMT=
   13682 	UNIX_CMT="#"
   13683 	;;
   13684 esac
   13685 
   13686 
   13687 
   13688 case "$host_os" in
   13689 linux* | gnu* | k*bsd*-gnu)
   13690 	if test "$prefix" = NONE -a "$root_prefix" = NONE ; then
   13691 		root_prefix="";
   13692 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, root_prefix defaults to ''" >&5
   13693 $as_echo "On $host_os systems, root_prefix defaults to ''" >&6; }
   13694 	fi
   13695 	;;
   13696 esac
   13697 case "$host_os" in
   13698 linux* | gnu* | k*bsd*-gnu)
   13699 	if test "$prefix" = NONE ; then
   13700 		prefix="/usr";
   13701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, prefix defaults to /usr" >&5
   13702 $as_echo "On $host_os systems, prefix defaults to /usr" >&6; }
   13703 		if test "$mandir" = '${prefix}/man' ; then
   13704 			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ...and mandir defaults to /usr/share/man" >&5
   13705 $as_echo "...and mandir defaults to /usr/share/man" >&6; }
   13706 			mandir=/usr/share/man
   13707 		fi
   13708 	fi
   13709 ;;
   13710 esac
   13711 if test "$root_prefix" = NONE ; then
   13712 	if test "$prefix" = NONE ; then
   13713 		root_prefix="$ac_default_prefix"
   13714 	else
   13715 		root_prefix="$prefix"
   13716 	fi
   13717 	root_bindir=$bindir
   13718 	root_sbindir=$sbindir
   13719 	root_libdir=$libdir
   13720 	root_sysconfdir=$sysconfdir
   13721 else
   13722 	root_bindir='${root_prefix}/bin'
   13723 	root_sbindir='${root_prefix}/sbin'
   13724 	root_libdir='${root_prefix}/lib'
   13725 	root_sysconfdir='${root_prefix}/etc'
   13726 fi
   13727 if test "$bindir" != '${exec_prefix}/bin'; then
   13728     root_bindir=$bindir
   13729     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_bindir to $root_bindir" >&5
   13730 $as_echo "Setting root_bindir to $root_bindir" >&6; }
   13731 fi
   13732 if test "$sbindir" != '${exec_prefix}/sbin'; then
   13733     root_sbindir=$sbindir
   13734     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sbindir to $root_sbindir" >&5
   13735 $as_echo "Setting root_sbindir to $root_sbindir" >&6; }
   13736 fi
   13737 if test "$libdir" != '${exec_prefix}/lib'; then
   13738     root_libdir=$libdir
   13739     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_libdir to $root_libdir" >&5
   13740 $as_echo "Setting root_libdir to $root_libdir" >&6; }
   13741 fi
   13742 if test "$sysconfdir" != '${prefix}/etc'; then
   13743     root_sysconfdir=$sysconfdir
   13744     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sysconfdir to $root_sysconfdir" >&5
   13745 $as_echo "Setting root_sysconfdir to $root_sysconfdir" >&6; }
   13746 fi
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 # Check whether --with-multiarch was given.
   13754 if test "${with_multiarch+set}" = set; then :
   13755   withval=$with_multiarch; if test "$withval" = "lib64"; then
   13756     libdir=/usr/lib64
   13757     root_libdir=/lib64
   13758 else
   13759     libdir=$libdir/$withval
   13760     root_libdir=$root_libdir/$withval
   13761 fi
   13762 
   13763 fi
   13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can link with -static" >&5
   13765 $as_echo_n "checking whether we can link with -static... " >&6; }
   13766 if ${ac_cv_e2fsprogs_use_static+:} false; then :
   13767   $as_echo_n "(cached) " >&6
   13768 else
   13769   SAVE_LDFLAGS=$LDFLAGS; LDFLAGS="$LDFLAGS_STATIC -static"
   13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13771 /* end confdefs.h.  */
   13772 #include <stdio.h>
   13773 int
   13774 main ()
   13775 {
   13776 fflush(stdout);
   13777   ;
   13778   return 0;
   13779 }
   13780 _ACEOF
   13781 if ac_fn_c_try_link "$LINENO"; then :
   13782   ac_cv_e2fsprogs_use_static=yes
   13783 else
   13784   ac_cv_e2fsprogs_use_static=no
   13785 fi
   13786 rm -f core conftest.err conftest.$ac_objext \
   13787     conftest$ac_exeext conftest.$ac_ext
   13788 LDFLAGS=$SAVE_LDFLAGS
   13789 fi
   13790 
   13791 case "$host_os" in
   13792 solaris2.*)
   13793 	ac_cv_e2fsprogs_use_static=no
   13794 ;;
   13795 esac
   13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_e2fsprogs_use_static" >&5
   13797 $as_echo "$ac_cv_e2fsprogs_use_static" >&6; }
   13798 if test $ac_cv_e2fsprogs_use_static = yes; then
   13799 	LDFLAGS_STATIC="$LDFLAGS_STATIC -static"
   13800 fi
   13801 
   13802 case "$host_os" in
   13803 darwin*)
   13804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Apple Darwin / GNU libintl workaround" >&5
   13805 $as_echo "Using Apple Darwin / GNU libintl workaround" >&6; }
   13806 
   13807 $as_echo "#define _INTL_REDIRECT_MACROS 1" >>confdefs.h
   13808 
   13809 	;;
   13810 esac
   13811 if test "$cross_compiling" = yes ; then
   13812   DO_TEST_SUITE=
   13813 else
   13814   DO_TEST_SUITE=check
   13815 fi
   13816 
   13817 INCLUDES='-I. -I$(top_builddir)/lib -I$(top_srcdir)/lib'
   13818 if test -n "$CPPFLAGS" ; then
   13819 	INCLUDES="$INCLUDES $CPPFLAGS"
   13820 fi
   13821 if test "$USE_INCLUDED_LIBINTL" = "yes" ; then
   13822 	INCLUDES=$INCLUDES' -I$(top_builddir)/intl -I$(top_srcdir)/intl'
   13823 fi
   13824 if test -n "$WITH_DIET_LIBC" ; then
   13825 	INCLUDES="$INCLUDES -D_REENTRANT"
   13826 fi
   13827 
   13828 
   13829         MKINSTALLDIRS=
   13830   if test -n "$ac_aux_dir"; then
   13831     case "$ac_aux_dir" in
   13832       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   13833       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   13834     esac
   13835   fi
   13836   if test -z "$MKINSTALLDIRS"; then
   13837     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   13838   fi
   13839 
   13840 
   13841 if test $cross_compiling = no; then
   13842    BUILD_CFLAGS="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H"
   13843    BUILD_LDFLAGS="$LDFLAGS"
   13844 fi
   13845 
   13846 
   13847 CFLAGS_SHLIB=${CFLAGS_SHLIB:-$CFLAGS}
   13848 CFLAGS_STLIB=${CFLAGS_STLIB:-$CFLAGS}
   13849 LDFLAGS_SHLIB=${LDFLAGS_SHLIB:-$LDFLAGS}
   13850 
   13851 
   13852 
   13853 test -d lib || mkdir lib
   13854 test -d include || mkdir include
   13855 test -d include/linux || mkdir include/linux
   13856 test -d include/asm || mkdir include/asm
   13857 if test -z "$UUID_CMT" ; then
   13858 	uuid_out_list="lib/uuid/Makefile lib/uuid/uuid.pc \
   13859 		lib/uuid/uuid_types.h"
   13860 fi
   13861 if test -z "$BLKID_CMT" ; then
   13862 	blkid_out_list="lib/blkid/Makefile lib/blkid/blkid.pc \
   13863 		lib/blkid/blkid_types.h"
   13864 fi
   13865 for i in MCONFIG Makefile e2fsprogs.spec \
   13866 	util/Makefile util/subst.conf util/gen-tarball util/install-symlink \
   13867 	lib/et/Makefile lib/ss/Makefile lib/e2p/Makefile \
   13868 	lib/ext2fs/Makefile lib/ext2fs/ext2_types.h \
   13869 	$uuid_out_list $blkid_out_list lib/support/Makefile \
   13870 	lib/ss/ss.pc lib/et/com_err.pc lib/e2p/e2p.pc lib/ext2fs/ext2fs.pc \
   13871 	misc/Makefile ext2ed/Makefile e2fsck/Makefile \
   13872 	debugfs/Makefile tests/Makefile tests/progs/Makefile \
   13873 	resize/Makefile doc/Makefile intl/Makefile \
   13874 	intl/libgnuintl.h po/Makefile.in ; do
   13875 	if test -d `dirname ${srcdir}/$i` ; then
   13876 		outlist="$outlist $i"
   13877 	fi
   13878 done
   13879 ac_config_files="$ac_config_files $outlist"
   13880 
   13881 cat >confcache <<\_ACEOF
   13882 # This file is a shell script that caches the results of configure
   13883 # tests run on this system so they can be shared between configure
   13884 # scripts and configure runs, see configure's option --config-cache.
   13885 # It is not useful on other systems.  If it contains results you don't
   13886 # want to keep, you may remove or edit it.
   13887 #
   13888 # config.status only pays attention to the cache file if you give it
   13889 # the --recheck option to rerun configure.
   13890 #
   13891 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13892 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13893 # following values.
   13894 
   13895 _ACEOF
   13896 
   13897 # The following way of writing the cache mishandles newlines in values,
   13898 # but we know of no workaround that is simple, portable, and efficient.
   13899 # So, we kill variables containing newlines.
   13900 # Ultrix sh set writes to stderr and can't be redirected directly,
   13901 # and sets the high bit in the cache file unless we assign to the vars.
   13902 (
   13903   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13904     eval ac_val=\$$ac_var
   13905     case $ac_val in #(
   13906     *${as_nl}*)
   13907       case $ac_var in #(
   13908       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   13909 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13910       esac
   13911       case $ac_var in #(
   13912       _ | IFS | as_nl) ;; #(
   13913       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   13914       *) { eval $ac_var=; unset $ac_var;} ;;
   13915       esac ;;
   13916     esac
   13917   done
   13918 
   13919   (set) 2>&1 |
   13920     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   13921     *${as_nl}ac_space=\ *)
   13922       # `set' does not quote correctly, so add quotes: double-quote
   13923       # substitution turns \\\\ into \\, and sed turns \\ into \.
   13924       sed -n \
   13925 	"s/'/'\\\\''/g;
   13926 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13927       ;; #(
   13928     *)
   13929       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13930       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   13931       ;;
   13932     esac |
   13933     sort
   13934 ) |
   13935   sed '
   13936      /^ac_cv_env_/b end
   13937      t clear
   13938      :clear
   13939      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13940      t end
   13941      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13942      :end' >>confcache
   13943 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   13944   if test -w "$cache_file"; then
   13945     if test "x$cache_file" != "x/dev/null"; then
   13946       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   13947 $as_echo "$as_me: updating cache $cache_file" >&6;}
   13948       if test ! -f "$cache_file" || test -h "$cache_file"; then
   13949 	cat confcache >"$cache_file"
   13950       else
   13951         case $cache_file in #(
   13952         */* | ?:*)
   13953 	  mv -f confcache "$cache_file"$$ &&
   13954 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   13955         *)
   13956 	  mv -f confcache "$cache_file" ;;
   13957 	esac
   13958       fi
   13959     fi
   13960   else
   13961     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   13962 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   13963   fi
   13964 fi
   13965 rm -f confcache
   13966 
   13967 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13968 # Let make expand exec_prefix.
   13969 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13970 
   13971 DEFS=-DHAVE_CONFIG_H
   13972 
   13973 ac_libobjs=
   13974 ac_ltlibobjs=
   13975 U=
   13976 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13977   # 1. Remove the extension, and $U if already installed.
   13978   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   13979   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   13980   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   13981   #    will be set to the directory where LIBOBJS objects are built.
   13982   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   13983   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   13984 done
   13985 LIBOBJS=$ac_libobjs
   13986 
   13987 LTLIBOBJS=$ac_ltlibobjs
   13988 
   13989 
   13990 
   13991 
   13992 : "${CONFIG_STATUS=./config.status}"
   13993 ac_write_fail=0
   13994 ac_clean_files_save=$ac_clean_files
   13995 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13996 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   13997 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13998 as_write_fail=0
   13999 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   14000 #! $SHELL
   14001 # Generated by $as_me.
   14002 # Run this file to recreate the current configuration.
   14003 # Compiler output produced by configure, useful for debugging
   14004 # configure, is in config.log if it exists.
   14005 
   14006 debug=false
   14007 ac_cs_recheck=false
   14008 ac_cs_silent=false
   14009 
   14010 SHELL=\${CONFIG_SHELL-$SHELL}
   14011 export SHELL
   14012 _ASEOF
   14013 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   14014 ## -------------------- ##
   14015 ## M4sh Initialization. ##
   14016 ## -------------------- ##
   14017 
   14018 # Be more Bourne compatible
   14019 DUALCASE=1; export DUALCASE # for MKS sh
   14020 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   14021   emulate sh
   14022   NULLCMD=:
   14023   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14024   # is contrary to our usage.  Disable this feature.
   14025   alias -g '${1+"$@"}'='"$@"'
   14026   setopt NO_GLOB_SUBST
   14027 else
   14028   case `(set -o) 2>/dev/null` in #(
   14029   *posix*) :
   14030     set -o posix ;; #(
   14031   *) :
   14032      ;;
   14033 esac
   14034 fi
   14035 
   14036 
   14037 as_nl='
   14038 '
   14039 export as_nl
   14040 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14041 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14042 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14043 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14044 # Prefer a ksh shell builtin over an external printf program on Solaris,
   14045 # but without wasting forks for bash or zsh.
   14046 if test -z "$BASH_VERSION$ZSH_VERSION" \
   14047     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   14048   as_echo='print -r --'
   14049   as_echo_n='print -rn --'
   14050 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14051   as_echo='printf %s\n'
   14052   as_echo_n='printf %s'
   14053 else
   14054   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14055     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14056     as_echo_n='/usr/ucb/echo -n'
   14057   else
   14058     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14059     as_echo_n_body='eval
   14060       arg=$1;
   14061       case $arg in #(
   14062       *"$as_nl"*)
   14063 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14064 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14065       esac;
   14066       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14067     '
   14068     export as_echo_n_body
   14069     as_echo_n='sh -c $as_echo_n_body as_echo'
   14070   fi
   14071   export as_echo_body
   14072   as_echo='sh -c $as_echo_body as_echo'
   14073 fi
   14074 
   14075 # The user is always right.
   14076 if test "${PATH_SEPARATOR+set}" != set; then
   14077   PATH_SEPARATOR=:
   14078   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14079     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14080       PATH_SEPARATOR=';'
   14081   }
   14082 fi
   14083 
   14084 
   14085 # IFS
   14086 # We need space, tab and new line, in precisely that order.  Quoting is
   14087 # there to prevent editors from complaining about space-tab.
   14088 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14089 # splitting by setting IFS to empty value.)
   14090 IFS=" ""	$as_nl"
   14091 
   14092 # Find who we are.  Look in the path if we contain no directory separator.
   14093 as_myself=
   14094 case $0 in #((
   14095   *[\\/]* ) as_myself=$0 ;;
   14096   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14097 for as_dir in $PATH
   14098 do
   14099   IFS=$as_save_IFS
   14100   test -z "$as_dir" && as_dir=.
   14101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14102   done
   14103 IFS=$as_save_IFS
   14104 
   14105      ;;
   14106 esac
   14107 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14108 # in which case we are not to be found in the path.
   14109 if test "x$as_myself" = x; then
   14110   as_myself=$0
   14111 fi
   14112 if test ! -f "$as_myself"; then
   14113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14114   exit 1
   14115 fi
   14116 
   14117 # Unset variables that we do not need and which cause bugs (e.g. in
   14118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   14119 # suppresses any "Segmentation fault" message there.  '((' could
   14120 # trigger a bug in pdksh 5.2.14.
   14121 for as_var in BASH_ENV ENV MAIL MAILPATH
   14122 do eval test x\${$as_var+set} = xset \
   14123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14124 done
   14125 PS1='$ '
   14126 PS2='> '
   14127 PS4='+ '
   14128 
   14129 # NLS nuisances.
   14130 LC_ALL=C
   14131 export LC_ALL
   14132 LANGUAGE=C
   14133 export LANGUAGE
   14134 
   14135 # CDPATH.
   14136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14137 
   14138 
   14139 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   14140 # ----------------------------------------
   14141 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14142 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14143 # script with STATUS, using 1 if that was 0.
   14144 as_fn_error ()
   14145 {
   14146   as_status=$1; test $as_status -eq 0 && as_status=1
   14147   if test "$4"; then
   14148     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14149     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   14150   fi
   14151   $as_echo "$as_me: error: $2" >&2
   14152   as_fn_exit $as_status
   14153 } # as_fn_error
   14154 
   14155 
   14156 # as_fn_set_status STATUS
   14157 # -----------------------
   14158 # Set $? to STATUS, without forking.
   14159 as_fn_set_status ()
   14160 {
   14161   return $1
   14162 } # as_fn_set_status
   14163 
   14164 # as_fn_exit STATUS
   14165 # -----------------
   14166 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14167 as_fn_exit ()
   14168 {
   14169   set +e
   14170   as_fn_set_status $1
   14171   exit $1
   14172 } # as_fn_exit
   14173 
   14174 # as_fn_unset VAR
   14175 # ---------------
   14176 # Portably unset VAR.
   14177 as_fn_unset ()
   14178 {
   14179   { eval $1=; unset $1;}
   14180 }
   14181 as_unset=as_fn_unset
   14182 # as_fn_append VAR VALUE
   14183 # ----------------------
   14184 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14185 # advantage of any shell optimizations that allow amortized linear growth over
   14186 # repeated appends, instead of the typical quadratic growth present in naive
   14187 # implementations.
   14188 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   14189   eval 'as_fn_append ()
   14190   {
   14191     eval $1+=\$2
   14192   }'
   14193 else
   14194   as_fn_append ()
   14195   {
   14196     eval $1=\$$1\$2
   14197   }
   14198 fi # as_fn_append
   14199 
   14200 # as_fn_arith ARG...
   14201 # ------------------
   14202 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14203 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14204 # must be portable across $(()) and expr.
   14205 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   14206   eval 'as_fn_arith ()
   14207   {
   14208     as_val=$(( $* ))
   14209   }'
   14210 else
   14211   as_fn_arith ()
   14212   {
   14213     as_val=`expr "$@" || test $? -eq 1`
   14214   }
   14215 fi # as_fn_arith
   14216 
   14217 
   14218 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14219    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14220   as_expr=expr
   14221 else
   14222   as_expr=false
   14223 fi
   14224 
   14225 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14226   as_basename=basename
   14227 else
   14228   as_basename=false
   14229 fi
   14230 
   14231 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14232   as_dirname=dirname
   14233 else
   14234   as_dirname=false
   14235 fi
   14236 
   14237 as_me=`$as_basename -- "$0" ||
   14238 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14239 	 X"$0" : 'X\(//\)$' \| \
   14240 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14241 $as_echo X/"$0" |
   14242     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14243 	    s//\1/
   14244 	    q
   14245 	  }
   14246 	  /^X\/\(\/\/\)$/{
   14247 	    s//\1/
   14248 	    q
   14249 	  }
   14250 	  /^X\/\(\/\).*/{
   14251 	    s//\1/
   14252 	    q
   14253 	  }
   14254 	  s/.*/./; q'`
   14255 
   14256 # Avoid depending upon Character Ranges.
   14257 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14258 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14259 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14260 as_cr_digits='0123456789'
   14261 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14262 
   14263 ECHO_C= ECHO_N= ECHO_T=
   14264 case `echo -n x` in #(((((
   14265 -n*)
   14266   case `echo 'xy\c'` in
   14267   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   14268   xy)  ECHO_C='\c';;
   14269   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   14270        ECHO_T='	';;
   14271   esac;;
   14272 *)
   14273   ECHO_N='-n';;
   14274 esac
   14275 
   14276 rm -f conf$$ conf$$.exe conf$$.file
   14277 if test -d conf$$.dir; then
   14278   rm -f conf$$.dir/conf$$.file
   14279 else
   14280   rm -f conf$$.dir
   14281   mkdir conf$$.dir 2>/dev/null
   14282 fi
   14283 if (echo >conf$$.file) 2>/dev/null; then
   14284   if ln -s conf$$.file conf$$ 2>/dev/null; then
   14285     as_ln_s='ln -s'
   14286     # ... but there are two gotchas:
   14287     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   14288     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   14289     # In both cases, we have to default to `cp -pR'.
   14290     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   14291       as_ln_s='cp -pR'
   14292   elif ln conf$$.file conf$$ 2>/dev/null; then
   14293     as_ln_s=ln
   14294   else
   14295     as_ln_s='cp -pR'
   14296   fi
   14297 else
   14298   as_ln_s='cp -pR'
   14299 fi
   14300 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   14301 rmdir conf$$.dir 2>/dev/null
   14302 
   14303 
   14304 # as_fn_mkdir_p
   14305 # -------------
   14306 # Create "$as_dir" as a directory, including parents if necessary.
   14307 as_fn_mkdir_p ()
   14308 {
   14309 
   14310   case $as_dir in #(
   14311   -*) as_dir=./$as_dir;;
   14312   esac
   14313   test -d "$as_dir" || eval $as_mkdir_p || {
   14314     as_dirs=
   14315     while :; do
   14316       case $as_dir in #(
   14317       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14318       *) as_qdir=$as_dir;;
   14319       esac
   14320       as_dirs="'$as_qdir' $as_dirs"
   14321       as_dir=`$as_dirname -- "$as_dir" ||
   14322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14323 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14324 	 X"$as_dir" : 'X\(//\)$' \| \
   14325 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14326 $as_echo X"$as_dir" |
   14327     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14328 	    s//\1/
   14329 	    q
   14330 	  }
   14331 	  /^X\(\/\/\)[^/].*/{
   14332 	    s//\1/
   14333 	    q
   14334 	  }
   14335 	  /^X\(\/\/\)$/{
   14336 	    s//\1/
   14337 	    q
   14338 	  }
   14339 	  /^X\(\/\).*/{
   14340 	    s//\1/
   14341 	    q
   14342 	  }
   14343 	  s/.*/./; q'`
   14344       test -d "$as_dir" && break
   14345     done
   14346     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14347   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   14348 
   14349 
   14350 } # as_fn_mkdir_p
   14351 if mkdir -p . 2>/dev/null; then
   14352   as_mkdir_p='mkdir -p "$as_dir"'
   14353 else
   14354   test -d ./-p && rmdir ./-p
   14355   as_mkdir_p=false
   14356 fi
   14357 
   14358 
   14359 # as_fn_executable_p FILE
   14360 # -----------------------
   14361 # Test if FILE is an executable regular file.
   14362 as_fn_executable_p ()
   14363 {
   14364   test -f "$1" && test -x "$1"
   14365 } # as_fn_executable_p
   14366 as_test_x='test -x'
   14367 as_executable_p=as_fn_executable_p
   14368 
   14369 # Sed expression to map a string onto a valid CPP name.
   14370 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   14371 
   14372 # Sed expression to map a string onto a valid variable name.
   14373 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   14374 
   14375 
   14376 exec 6>&1
   14377 ## ----------------------------------- ##
   14378 ## Main body of $CONFIG_STATUS script. ##
   14379 ## ----------------------------------- ##
   14380 _ASEOF
   14381 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   14382 
   14383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14384 # Save the log message, to keep $0 and so on meaningful, and to
   14385 # report actual input values of CONFIG_FILES etc. instead of their
   14386 # values after options handling.
   14387 ac_log="
   14388 This file was extended by $as_me, which was
   14389 generated by GNU Autoconf 2.69.  Invocation command line was
   14390 
   14391   CONFIG_FILES    = $CONFIG_FILES
   14392   CONFIG_HEADERS  = $CONFIG_HEADERS
   14393   CONFIG_LINKS    = $CONFIG_LINKS
   14394   CONFIG_COMMANDS = $CONFIG_COMMANDS
   14395   $ $0 $@
   14396 
   14397 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   14398 "
   14399 
   14400 _ACEOF
   14401 
   14402 case $ac_config_files in *"
   14403 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   14404 esac
   14405 
   14406 case $ac_config_headers in *"
   14407 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   14408 esac
   14409 
   14410 
   14411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14412 # Files that config.status was made for.
   14413 config_files="$ac_config_files"
   14414 config_headers="$ac_config_headers"
   14415 config_commands="$ac_config_commands"
   14416 
   14417 _ACEOF
   14418 
   14419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14420 ac_cs_usage="\
   14421 \`$as_me' instantiates files and other configuration actions
   14422 from templates according to the current configuration.  Unless the files
   14423 and actions are specified as TAGs, all are instantiated by default.
   14424 
   14425 Usage: $0 [OPTION]... [TAG]...
   14426 
   14427   -h, --help       print this help, then exit
   14428   -V, --version    print version number and configuration settings, then exit
   14429       --config     print configuration, then exit
   14430   -q, --quiet, --silent
   14431                    do not print progress messages
   14432   -d, --debug      don't remove temporary files
   14433       --recheck    update $as_me by reconfiguring in the same conditions
   14434       --file=FILE[:TEMPLATE]
   14435                    instantiate the configuration file FILE
   14436       --header=FILE[:TEMPLATE]
   14437                    instantiate the configuration header FILE
   14438 
   14439 Configuration files:
   14440 $config_files
   14441 
   14442 Configuration headers:
   14443 $config_headers
   14444 
   14445 Configuration commands:
   14446 $config_commands
   14447 
   14448 Report bugs to the package provider."
   14449 
   14450 _ACEOF
   14451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14452 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   14453 ac_cs_version="\\
   14454 config.status
   14455 configured by $0, generated by GNU Autoconf 2.69,
   14456   with options \\"\$ac_cs_config\\"
   14457 
   14458 Copyright (C) 2012 Free Software Foundation, Inc.
   14459 This config.status script is free software; the Free Software Foundation
   14460 gives unlimited permission to copy, distribute and modify it."
   14461 
   14462 ac_pwd='$ac_pwd'
   14463 srcdir='$srcdir'
   14464 INSTALL='$INSTALL'
   14465 MKDIR_P='$MKDIR_P'
   14466 AWK='$AWK'
   14467 test -n "\$AWK" || AWK=awk
   14468 _ACEOF
   14469 
   14470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14471 # The default lists apply if the user does not specify any file.
   14472 ac_need_defaults=:
   14473 while test $# != 0
   14474 do
   14475   case $1 in
   14476   --*=?*)
   14477     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14478     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   14479     ac_shift=:
   14480     ;;
   14481   --*=)
   14482     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14483     ac_optarg=
   14484     ac_shift=:
   14485     ;;
   14486   *)
   14487     ac_option=$1
   14488     ac_optarg=$2
   14489     ac_shift=shift
   14490     ;;
   14491   esac
   14492 
   14493   case $ac_option in
   14494   # Handling of the options.
   14495   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   14496     ac_cs_recheck=: ;;
   14497   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   14498     $as_echo "$ac_cs_version"; exit ;;
   14499   --config | --confi | --conf | --con | --co | --c )
   14500     $as_echo "$ac_cs_config"; exit ;;
   14501   --debug | --debu | --deb | --de | --d | -d )
   14502     debug=: ;;
   14503   --file | --fil | --fi | --f )
   14504     $ac_shift
   14505     case $ac_optarg in
   14506     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14507     '') as_fn_error $? "missing file argument" ;;
   14508     esac
   14509     as_fn_append CONFIG_FILES " '$ac_optarg'"
   14510     ac_need_defaults=false;;
   14511   --header | --heade | --head | --hea )
   14512     $ac_shift
   14513     case $ac_optarg in
   14514     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14515     esac
   14516     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   14517     ac_need_defaults=false;;
   14518   --he | --h)
   14519     # Conflict between --help and --header
   14520     as_fn_error $? "ambiguous option: \`$1'
   14521 Try \`$0 --help' for more information.";;
   14522   --help | --hel | -h )
   14523     $as_echo "$ac_cs_usage"; exit ;;
   14524   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14525   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14526     ac_cs_silent=: ;;
   14527 
   14528   # This is an error.
   14529   -*) as_fn_error $? "unrecognized option: \`$1'
   14530 Try \`$0 --help' for more information." ;;
   14531 
   14532   *) as_fn_append ac_config_targets " $1"
   14533      ac_need_defaults=false ;;
   14534 
   14535   esac
   14536   shift
   14537 done
   14538 
   14539 ac_configure_extra_args=
   14540 
   14541 if $ac_cs_silent; then
   14542   exec 6>/dev/null
   14543   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14544 fi
   14545 
   14546 _ACEOF
   14547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14548 if \$ac_cs_recheck; then
   14549   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14550   shift
   14551   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   14552   CONFIG_SHELL='$SHELL'
   14553   export CONFIG_SHELL
   14554   exec "\$@"
   14555 fi
   14556 
   14557 _ACEOF
   14558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14559 exec 5>>config.log
   14560 {
   14561   echo
   14562   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   14563 ## Running $as_me. ##
   14564 _ASBOX
   14565   $as_echo "$ac_log"
   14566 } >&5
   14567 
   14568 _ACEOF
   14569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14570 #
   14571 # INIT-COMMANDS
   14572 #
   14573 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   14574     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
   14575     # from automake < 1.5.
   14576     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   14577     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   14578     LINGUAS="${LINGUAS-%UNSET%}"
   14579 
   14580 
   14581 _ACEOF
   14582 
   14583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14584 
   14585 # Handling of arguments.
   14586 for ac_config_target in $ac_config_targets
   14587 do
   14588   case $ac_config_target in
   14589     "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h" ;;
   14590     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
   14591     "$outlist") CONFIG_FILES="$CONFIG_FILES $outlist" ;;
   14592 
   14593   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   14594   esac
   14595 done
   14596 
   14597 
   14598 # If the user did not use the arguments to specify the items to instantiate,
   14599 # then the envvar interface is used.  Set only those that are not.
   14600 # We use the long form for the default assignment because of an extremely
   14601 # bizarre bug on SunOS 4.1.3.
   14602 if $ac_need_defaults; then
   14603   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14604   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14605   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14606 fi
   14607 
   14608 # Have a temporary directory for convenience.  Make it in the build tree
   14609 # simply because there is no reason against having it here, and in addition,
   14610 # creating and moving files from /tmp can sometimes cause problems.
   14611 # Hook for its removal unless debugging.
   14612 # Note that there is a small window in which the directory will not be cleaned:
   14613 # after its creation but before its name has been assigned to `$tmp'.
   14614 $debug ||
   14615 {
   14616   tmp= ac_tmp=
   14617   trap 'exit_status=$?
   14618   : "${ac_tmp:=$tmp}"
   14619   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   14620 ' 0
   14621   trap 'as_fn_exit 1' 1 2 13 15
   14622 }
   14623 # Create a (secure) tmp directory for tmp files.
   14624 
   14625 {
   14626   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14627   test -d "$tmp"
   14628 }  ||
   14629 {
   14630   tmp=./conf$$-$RANDOM
   14631   (umask 077 && mkdir "$tmp")
   14632 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   14633 ac_tmp=$tmp
   14634 
   14635 # Set up the scripts for CONFIG_FILES section.
   14636 # No need to generate them if there are no CONFIG_FILES.
   14637 # This happens for instance with `./config.status config.h'.
   14638 if test -n "$CONFIG_FILES"; then
   14639 
   14640 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
   14641   ac_cs_awk_getline=:
   14642   ac_cs_awk_pipe_init=
   14643   ac_cs_awk_read_file='
   14644       while ((getline aline < (F[key])) > 0)
   14645 	print(aline)
   14646       close(F[key])'
   14647   ac_cs_awk_pipe_fini=
   14648 else
   14649   ac_cs_awk_getline=false
   14650   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
   14651   ac_cs_awk_read_file='
   14652       print "|#_!!_#|"
   14653       print "cat " F[key] " &&"
   14654       '$ac_cs_awk_pipe_init
   14655   # The final `:' finishes the AND list.
   14656   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
   14657 fi
   14658 ac_cr=`echo X | tr X '\015'`
   14659 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   14660 # But we know of no other shell where ac_cr would be empty at this
   14661 # point, so we can use a bashism as a fallback.
   14662 if test "x$ac_cr" = x; then
   14663   eval ac_cr=\$\'\\r\'
   14664 fi
   14665 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14666 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14667   ac_cs_awk_cr='\\r'
   14668 else
   14669   ac_cs_awk_cr=$ac_cr
   14670 fi
   14671 
   14672 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   14673 _ACEOF
   14674 
   14675 # Create commands to substitute file output variables.
   14676 {
   14677   echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
   14678   echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
   14679   echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
   14680   echo "_ACAWK" &&
   14681   echo "_ACEOF"
   14682 } >conf$$files.sh &&
   14683 . ./conf$$files.sh ||
   14684   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14685 rm -f conf$$files.sh
   14686 
   14687 {
   14688   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14689   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14690   echo "_ACEOF"
   14691 } >conf$$subs.sh ||
   14692   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14693 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   14694 ac_delim='%!_!# '
   14695 for ac_last_try in false false false false false :; do
   14696   . ./conf$$subs.sh ||
   14697     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14698 
   14699   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   14700   if test $ac_delim_n = $ac_delim_num; then
   14701     break
   14702   elif $ac_last_try; then
   14703     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14704   else
   14705     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14706   fi
   14707 done
   14708 rm -f conf$$subs.sh
   14709 
   14710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14711 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   14712 _ACEOF
   14713 sed -n '
   14714 h
   14715 s/^/S["/; s/!.*/"]=/
   14716 p
   14717 g
   14718 s/^[^!]*!//
   14719 :repl
   14720 t repl
   14721 s/'"$ac_delim"'$//
   14722 t delim
   14723 :nl
   14724 h
   14725 s/\(.\{148\}\)..*/\1/
   14726 t more1
   14727 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14728 p
   14729 n
   14730 b repl
   14731 :more1
   14732 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14733 p
   14734 g
   14735 s/.\{148\}//
   14736 t nl
   14737 :delim
   14738 h
   14739 s/\(.\{148\}\)..*/\1/
   14740 t more2
   14741 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14742 p
   14743 b
   14744 :more2
   14745 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14746 p
   14747 g
   14748 s/.\{148\}//
   14749 t delim
   14750 ' <conf$$subs.awk | sed '
   14751 /^[^""]/{
   14752   N
   14753   s/\n//
   14754 }
   14755 ' >>$CONFIG_STATUS || ac_write_fail=1
   14756 rm -f conf$$subs.awk
   14757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14758 _ACAWK
   14759 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   14760   for (key in S) S_is_set[key] = 1
   14761   FS = ""
   14762   \$ac_cs_awk_pipe_init
   14763 }
   14764 {
   14765   line = $ 0
   14766   nfields = split(line, field, "@")
   14767   substed = 0
   14768   len = length(field[1])
   14769   for (i = 2; i < nfields; i++) {
   14770     key = field[i]
   14771     keylen = length(key)
   14772     if (S_is_set[key]) {
   14773       value = S[key]
   14774       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   14775       len += length(value) + length(field[++i])
   14776       substed = 1
   14777     } else
   14778       len += 1 + keylen
   14779   }
   14780   if (nfields == 3 && !substed) {
   14781     key = field[2]
   14782     if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
   14783       \$ac_cs_awk_read_file
   14784       next
   14785     }
   14786   }
   14787   print line
   14788 }
   14789 \$ac_cs_awk_pipe_fini
   14790 _ACAWK
   14791 _ACEOF
   14792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14793 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   14794   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   14795 else
   14796   cat
   14797 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   14798   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   14799 _ACEOF
   14800 
   14801 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   14802 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   14803 # trailing colons and then remove the whole line if VPATH becomes empty
   14804 # (actually we leave an empty line to preserve line numbers).
   14805 if test "x$srcdir" = x.; then
   14806   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   14807 h
   14808 s///
   14809 s/^/:/
   14810 s/[	 ]*$/:/
   14811 s/:\$(srcdir):/:/g
   14812 s/:\${srcdir}:/:/g
   14813 s/:@srcdir@:/:/g
   14814 s/^:*//
   14815 s/:*$//
   14816 x
   14817 s/\(=[	 ]*\).*/\1/
   14818 G
   14819 s/\n//
   14820 s/^[^=]*=[	 ]*$//
   14821 }'
   14822 fi
   14823 
   14824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14825 fi # test -n "$CONFIG_FILES"
   14826 
   14827 # Set up the scripts for CONFIG_HEADERS section.
   14828 # No need to generate them if there are no CONFIG_HEADERS.
   14829 # This happens for instance with `./config.status Makefile'.
   14830 if test -n "$CONFIG_HEADERS"; then
   14831 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   14832 BEGIN {
   14833 _ACEOF
   14834 
   14835 # Transform confdefs.h into an awk script `defines.awk', embedded as
   14836 # here-document in config.status, that substitutes the proper values into
   14837 # config.h.in to produce config.h.
   14838 
   14839 # Create a delimiter string that does not exist in confdefs.h, to ease
   14840 # handling of long lines.
   14841 ac_delim='%!_!# '
   14842 for ac_last_try in false false :; do
   14843   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   14844   if test -z "$ac_tt"; then
   14845     break
   14846   elif $ac_last_try; then
   14847     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   14848   else
   14849     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14850   fi
   14851 done
   14852 
   14853 # For the awk script, D is an array of macro values keyed by name,
   14854 # likewise P contains macro parameters if any.  Preserve backslash
   14855 # newline sequences.
   14856 
   14857 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   14858 sed -n '
   14859 s/.\{148\}/&'"$ac_delim"'/g
   14860 t rset
   14861 :rset
   14862 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   14863 t def
   14864 d
   14865 :def
   14866 s/\\$//
   14867 t bsnl
   14868 s/["\\]/\\&/g
   14869 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14870 D["\1"]=" \3"/p
   14871 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   14872 d
   14873 :bsnl
   14874 s/["\\]/\\&/g
   14875 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14876 D["\1"]=" \3\\\\\\n"\\/p
   14877 t cont
   14878 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   14879 t cont
   14880 d
   14881 :cont
   14882 n
   14883 s/.\{148\}/&'"$ac_delim"'/g
   14884 t clear
   14885 :clear
   14886 s/\\$//
   14887 t bsnlc
   14888 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   14889 d
   14890 :bsnlc
   14891 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   14892 b cont
   14893 ' <confdefs.h | sed '
   14894 s/'"$ac_delim"'/"\\\
   14895 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   14896 
   14897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14898   for (key in D) D_is_set[key] = 1
   14899   FS = ""
   14900 }
   14901 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   14902   line = \$ 0
   14903   split(line, arg, " ")
   14904   if (arg[1] == "#") {
   14905     defundef = arg[2]
   14906     mac1 = arg[3]
   14907   } else {
   14908     defundef = substr(arg[1], 2)
   14909     mac1 = arg[2]
   14910   }
   14911   split(mac1, mac2, "(") #)
   14912   macro = mac2[1]
   14913   prefix = substr(line, 1, index(line, defundef) - 1)
   14914   if (D_is_set[macro]) {
   14915     # Preserve the white space surrounding the "#".
   14916     print prefix "define", macro P[macro] D[macro]
   14917     next
   14918   } else {
   14919     # Replace #undef with comments.  This is necessary, for example,
   14920     # in the case of _POSIX_SOURCE, which is predefined and required
   14921     # on some systems where configure will not decide to define it.
   14922     if (defundef == "undef") {
   14923       print "/*", prefix defundef, macro, "*/"
   14924       next
   14925     }
   14926   }
   14927 }
   14928 { print }
   14929 _ACAWK
   14930 _ACEOF
   14931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14932   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   14933 fi # test -n "$CONFIG_HEADERS"
   14934 
   14935 
   14936 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   14937 shift
   14938 for ac_tag
   14939 do
   14940   case $ac_tag in
   14941   :[FHLC]) ac_mode=$ac_tag; continue;;
   14942   esac
   14943   case $ac_mode$ac_tag in
   14944   :[FHL]*:*);;
   14945   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   14946   :[FH]-) ac_tag=-:-;;
   14947   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   14948   esac
   14949   ac_save_IFS=$IFS
   14950   IFS=:
   14951   set x $ac_tag
   14952   IFS=$ac_save_IFS
   14953   shift
   14954   ac_file=$1
   14955   shift
   14956 
   14957   case $ac_mode in
   14958   :L) ac_source=$1;;
   14959   :[FH])
   14960     ac_file_inputs=
   14961     for ac_f
   14962     do
   14963       case $ac_f in
   14964       -) ac_f="$ac_tmp/stdin";;
   14965       *) # Look for the file first in the build tree, then in the source tree
   14966 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   14967 	 # because $ac_f cannot contain `:'.
   14968 	 test -f "$ac_f" ||
   14969 	   case $ac_f in
   14970 	   [\\/$]*) false;;
   14971 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   14972 	   esac ||
   14973 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   14974       esac
   14975       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   14976       as_fn_append ac_file_inputs " '$ac_f'"
   14977     done
   14978 
   14979     # Let's still pretend it is `configure' which instantiates (i.e., don't
   14980     # use $as_me), people would be surprised to read:
   14981     #    /* config.h.  Generated by config.status.  */
   14982     configure_input='Generated from '`
   14983 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   14984 	`' by configure.'
   14985     if test x"$ac_file" != x-; then
   14986       configure_input="$ac_file.  $configure_input"
   14987       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   14988 $as_echo "$as_me: creating $ac_file" >&6;}
   14989     fi
   14990     # Neutralize special characters interpreted by sed in replacement strings.
   14991     case $configure_input in #(
   14992     *\&* | *\|* | *\\* )
   14993        ac_sed_conf_input=`$as_echo "$configure_input" |
   14994        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   14995     *) ac_sed_conf_input=$configure_input;;
   14996     esac
   14997 
   14998     case $ac_tag in
   14999     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15000       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15001     esac
   15002     ;;
   15003   esac
   15004 
   15005   ac_dir=`$as_dirname -- "$ac_file" ||
   15006 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15007 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15008 	 X"$ac_file" : 'X\(//\)$' \| \
   15009 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15010 $as_echo X"$ac_file" |
   15011     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15012 	    s//\1/
   15013 	    q
   15014 	  }
   15015 	  /^X\(\/\/\)[^/].*/{
   15016 	    s//\1/
   15017 	    q
   15018 	  }
   15019 	  /^X\(\/\/\)$/{
   15020 	    s//\1/
   15021 	    q
   15022 	  }
   15023 	  /^X\(\/\).*/{
   15024 	    s//\1/
   15025 	    q
   15026 	  }
   15027 	  s/.*/./; q'`
   15028   as_dir="$ac_dir"; as_fn_mkdir_p
   15029   ac_builddir=.
   15030 
   15031 case "$ac_dir" in
   15032 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15033 *)
   15034   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15035   # A ".." for each directory in $ac_dir_suffix.
   15036   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15037   case $ac_top_builddir_sub in
   15038   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15039   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15040   esac ;;
   15041 esac
   15042 ac_abs_top_builddir=$ac_pwd
   15043 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15044 # for backward compatibility:
   15045 ac_top_builddir=$ac_top_build_prefix
   15046 
   15047 case $srcdir in
   15048   .)  # We are building in place.
   15049     ac_srcdir=.
   15050     ac_top_srcdir=$ac_top_builddir_sub
   15051     ac_abs_top_srcdir=$ac_pwd ;;
   15052   [\\/]* | ?:[\\/]* )  # Absolute name.
   15053     ac_srcdir=$srcdir$ac_dir_suffix;
   15054     ac_top_srcdir=$srcdir
   15055     ac_abs_top_srcdir=$srcdir ;;
   15056   *) # Relative name.
   15057     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15058     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15059     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15060 esac
   15061 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15062 
   15063 
   15064   case $ac_mode in
   15065   :F)
   15066   #
   15067   # CONFIG_FILE
   15068   #
   15069 
   15070   case $INSTALL in
   15071   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15072   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15073   esac
   15074   ac_MKDIR_P=$MKDIR_P
   15075   case $MKDIR_P in
   15076   [\\/$]* | ?:[\\/]* ) ;;
   15077   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   15078   esac
   15079 _ACEOF
   15080 
   15081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15082 # If the template does not know about datarootdir, expand it.
   15083 # FIXME: This hack should be removed a few years after 2.60.
   15084 ac_datarootdir_hack=; ac_datarootdir_seen=
   15085 ac_sed_dataroot='
   15086 /datarootdir/ {
   15087   p
   15088   q
   15089 }
   15090 /@datadir@/p
   15091 /@docdir@/p
   15092 /@infodir@/p
   15093 /@localedir@/p
   15094 /@mandir@/p'
   15095 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15096 *datarootdir*) ac_datarootdir_seen=yes;;
   15097 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15098   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15099 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15100 _ACEOF
   15101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15102   ac_datarootdir_hack='
   15103   s&@datadir@&$datadir&g
   15104   s&@docdir@&$docdir&g
   15105   s&@infodir@&$infodir&g
   15106   s&@localedir@&$localedir&g
   15107   s&@mandir@&$mandir&g
   15108   s&\\\${datarootdir}&$datarootdir&g' ;;
   15109 esac
   15110 _ACEOF
   15111 
   15112 # Neutralize VPATH when `$srcdir' = `.'.
   15113 # Shell code in configure.ac might set extrasub.
   15114 # FIXME: do we really want to maintain this feature?
   15115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15116 ac_sed_extra="$ac_vpsub
   15117 $extrasub
   15118 _ACEOF
   15119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15120 :t
   15121 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   15122 s|@configure_input@|$ac_sed_conf_input|;t t
   15123 s&@top_builddir@&$ac_top_builddir_sub&;t t
   15124 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   15125 s&@srcdir@&$ac_srcdir&;t t
   15126 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   15127 s&@top_srcdir@&$ac_top_srcdir&;t t
   15128 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   15129 s&@builddir@&$ac_builddir&;t t
   15130 s&@abs_builddir@&$ac_abs_builddir&;t t
   15131 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   15132 s&@INSTALL@&$ac_INSTALL&;t t
   15133 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   15134 $ac_datarootdir_hack
   15135 "
   15136 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
   15137 if $ac_cs_awk_getline; then
   15138   $AWK -f "$ac_tmp/subs.awk"
   15139 else
   15140   $AWK -f "$ac_tmp/subs.awk" | $SHELL
   15141 fi \
   15142   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15143 
   15144 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   15145   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   15146   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   15147       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   15148   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15149 which seems to be undefined.  Please make sure it is defined" >&5
   15150 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15151 which seems to be undefined.  Please make sure it is defined" >&2;}
   15152 
   15153   rm -f "$ac_tmp/stdin"
   15154   case $ac_file in
   15155   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   15156   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   15157   esac \
   15158   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15159  ;;
   15160   :H)
   15161   #
   15162   # CONFIG_HEADER
   15163   #
   15164   if test x"$ac_file" != x-; then
   15165     {
   15166       $as_echo "/* $configure_input  */" \
   15167       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   15168     } >"$ac_tmp/config.h" \
   15169       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15170     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   15171       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   15172 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   15173     else
   15174       rm -f "$ac_file"
   15175       mv "$ac_tmp/config.h" "$ac_file" \
   15176 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15177     fi
   15178   else
   15179     $as_echo "/* $configure_input  */" \
   15180       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   15181       || as_fn_error $? "could not create -" "$LINENO" 5
   15182   fi
   15183  ;;
   15184 
   15185   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   15186 $as_echo "$as_me: executing $ac_file commands" >&6;}
   15187  ;;
   15188   esac
   15189 
   15190 
   15191   case $ac_file$ac_mode in
   15192     "po-directories":C)
   15193     for ac_file in $CONFIG_FILES; do
   15194       # Support "outfile[:infile[:infile...]]"
   15195       case "$ac_file" in
   15196         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   15197       esac
   15198       # PO directories have a Makefile.in generated from Makefile.in.in.
   15199       case "$ac_file" in */Makefile.in)
   15200         # Adjust a relative srcdir.
   15201         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   15202         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   15203         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   15204         # In autoconf-2.13 it is called $ac_given_srcdir.
   15205         # In autoconf-2.50 it is called $srcdir.
   15206         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   15207         case "$ac_given_srcdir" in
   15208           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   15209           /*) top_srcdir="$ac_given_srcdir" ;;
   15210           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   15211         esac
   15212         # Treat a directory as a PO directory if and only if it has a
   15213         # POTFILES.in file. This allows packages to have multiple PO
   15214         # directories under different names or in different locations.
   15215         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   15216           rm -f "$ac_dir/POTFILES"
   15217           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   15218           gt_tab=`printf '\t'`
   15219           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   15220           POMAKEFILEDEPS="POTFILES.in"
   15221           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
   15222           # on $ac_dir but don't depend on user-specified configuration
   15223           # parameters.
   15224           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   15225             # The LINGUAS file contains the set of available languages.
   15226             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   15227               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   15228             fi
   15229             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   15230             # Hide the ALL_LINGUAS assignment from automake < 1.5.
   15231             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   15232             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   15233           else
   15234             # The set of available languages was given in configure.in.
   15235             # Hide the ALL_LINGUAS assignment from automake < 1.5.
   15236             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   15237           fi
   15238           # Compute POFILES
   15239           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
   15240           # Compute UPDATEPOFILES
   15241           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
   15242           # Compute DUMMYPOFILES
   15243           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
   15244           # Compute GMOFILES
   15245           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
   15246           case "$ac_given_srcdir" in
   15247             .) srcdirpre= ;;
   15248             *) srcdirpre='$(srcdir)/' ;;
   15249           esac
   15250           POFILES=
   15251           UPDATEPOFILES=
   15252           DUMMYPOFILES=
   15253           GMOFILES=
   15254           for lang in $ALL_LINGUAS; do
   15255             POFILES="$POFILES $srcdirpre$lang.po"
   15256             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   15257             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   15258             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   15259           done
   15260           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   15261           # environment variable.
   15262           INST_LINGUAS=
   15263           if test -n "$ALL_LINGUAS"; then
   15264             for presentlang in $ALL_LINGUAS; do
   15265               useit=no
   15266               if test "%UNSET%" != "$LINGUAS"; then
   15267                 desiredlanguages="$LINGUAS"
   15268               else
   15269                 desiredlanguages="$ALL_LINGUAS"
   15270               fi
   15271               for desiredlang in $desiredlanguages; do
   15272                 # Use the presentlang catalog if desiredlang is
   15273                 #   a. equal to presentlang, or
   15274                 #   b. a variant of presentlang (because in this case,
   15275                 #      presentlang can be used as a fallback for messages
   15276                 #      which are not translated in the desiredlang catalog).
   15277                 case "$desiredlang" in
   15278                   "$presentlang"*) useit=yes;;
   15279                 esac
   15280               done
   15281               if test $useit = yes; then
   15282                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   15283               fi
   15284             done
   15285           fi
   15286           CATALOGS=
   15287           if test -n "$INST_LINGUAS"; then
   15288             for lang in $INST_LINGUAS; do
   15289               CATALOGS="$CATALOGS $lang.gmo"
   15290             done
   15291           fi
   15292           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   15293           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"
   15294           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   15295             if test -f "$f"; then
   15296               case "$f" in
   15297                 *.orig | *.bak | *~) ;;
   15298                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   15299               esac
   15300             fi
   15301           done
   15302         fi
   15303         ;;
   15304       esac
   15305     done ;;
   15306 
   15307   esac
   15308 done # for ac_tag
   15309 
   15310 
   15311 as_fn_exit 0
   15312 _ACEOF
   15313 ac_clean_files=$ac_clean_files_save
   15314 
   15315 test $ac_write_fail = 0 ||
   15316   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   15317 
   15318 
   15319 # configure is writing to config.log, and then calls config.status.
   15320 # config.status does its own redirection, appending to config.log.
   15321 # Unfortunately, on DOS this fails, as config.log is still kept open
   15322 # by configure, so config.status won't be able to write to it; its
   15323 # output is simply discarded.  So we exec the FD to /dev/null,
   15324 # effectively closing config.log, so it can be properly (re)opened and
   15325 # appended to by config.status.  When coming back to configure, we
   15326 # need to make the FD available again.
   15327 if test "$no_create" != yes; then
   15328   ac_cs_success=:
   15329   ac_config_status_args=
   15330   test "$silent" = yes &&
   15331     ac_config_status_args="$ac_config_status_args --quiet"
   15332   exec 5>/dev/null
   15333   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15334   exec 5>>config.log
   15335   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15336   # would make configure fail if this is the last instruction.
   15337   $ac_cs_success || as_fn_exit 1
   15338 fi
   15339 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15340   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15341 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15342 fi
   15343 
   15344 if test -f util/gen-tarball; then chmod +x util/gen-tarball; fi
   15345