Home | History | Annotate | Line # | Download | only in compat
configure revision 1.105.2.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libnbcompat noversion.
      4 #
      5 # Report bugs to <lib-bug-people (at] NetBSD.org>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: lib-bug-people (at] NetBSD.org about your system, including
    271 $0: any error possibly output before this message. Then
    272 $0: install a modern shell, or manually run the script
    273 $0: under such a shell if you do have one."
    274   fi
    275   exit 1
    276 fi
    277 fi
    278 fi
    279 SHELL=${CONFIG_SHELL-/bin/sh}
    280 export SHELL
    281 # Unset more variables known to interfere with behavior of common tools.
    282 CLICOLOR_FORCE= GREP_OPTIONS=
    283 unset CLICOLOR_FORCE GREP_OPTIONS
    284 
    285 ## --------------------- ##
    286 ## M4sh Shell Functions. ##
    287 ## --------------------- ##
    288 # as_fn_unset VAR
    289 # ---------------
    290 # Portably unset VAR.
    291 as_fn_unset ()
    292 {
    293   { eval $1=; unset $1;}
    294 }
    295 as_unset=as_fn_unset
    296 
    297 # as_fn_set_status STATUS
    298 # -----------------------
    299 # Set $? to STATUS, without forking.
    300 as_fn_set_status ()
    301 {
    302   return $1
    303 } # as_fn_set_status
    304 
    305 # as_fn_exit STATUS
    306 # -----------------
    307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    308 as_fn_exit ()
    309 {
    310   set +e
    311   as_fn_set_status $1
    312   exit $1
    313 } # as_fn_exit
    314 
    315 # as_fn_mkdir_p
    316 # -------------
    317 # Create "$as_dir" as a directory, including parents if necessary.
    318 as_fn_mkdir_p ()
    319 {
    320 
    321   case $as_dir in #(
    322   -*) as_dir=./$as_dir;;
    323   esac
    324   test -d "$as_dir" || eval $as_mkdir_p || {
    325     as_dirs=
    326     while :; do
    327       case $as_dir in #(
    328       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    329       *) as_qdir=$as_dir;;
    330       esac
    331       as_dirs="'$as_qdir' $as_dirs"
    332       as_dir=`$as_dirname -- "$as_dir" ||
    333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    334 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    335 	 X"$as_dir" : 'X\(//\)$' \| \
    336 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    337 $as_echo X"$as_dir" |
    338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    339 	    s//\1/
    340 	    q
    341 	  }
    342 	  /^X\(\/\/\)[^/].*/{
    343 	    s//\1/
    344 	    q
    345 	  }
    346 	  /^X\(\/\/\)$/{
    347 	    s//\1/
    348 	    q
    349 	  }
    350 	  /^X\(\/\).*/{
    351 	    s//\1/
    352 	    q
    353 	  }
    354 	  s/.*/./; q'`
    355       test -d "$as_dir" && break
    356     done
    357     test -z "$as_dirs" || eval "mkdir $as_dirs"
    358   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    359 
    360 
    361 } # as_fn_mkdir_p
    362 
    363 # as_fn_executable_p FILE
    364 # -----------------------
    365 # Test if FILE is an executable regular file.
    366 as_fn_executable_p ()
    367 {
    368   test -f "$1" && test -x "$1"
    369 } # as_fn_executable_p
    370 # as_fn_append VAR VALUE
    371 # ----------------------
    372 # Append the text in VALUE to the end of the definition contained in VAR. Take
    373 # advantage of any shell optimizations that allow amortized linear growth over
    374 # repeated appends, instead of the typical quadratic growth present in naive
    375 # implementations.
    376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    377   eval 'as_fn_append ()
    378   {
    379     eval $1+=\$2
    380   }'
    381 else
    382   as_fn_append ()
    383   {
    384     eval $1=\$$1\$2
    385   }
    386 fi # as_fn_append
    387 
    388 # as_fn_arith ARG...
    389 # ------------------
    390 # Perform arithmetic evaluation on the ARGs, and store the result in the
    391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    392 # must be portable across $(()) and expr.
    393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    394   eval 'as_fn_arith ()
    395   {
    396     as_val=$(( $* ))
    397   }'
    398 else
    399   as_fn_arith ()
    400   {
    401     as_val=`expr "$@" || test $? -eq 1`
    402   }
    403 fi # as_fn_arith
    404 
    405 
    406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    407 # ----------------------------------------
    408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    410 # script with STATUS, using 1 if that was 0.
    411 as_fn_error ()
    412 {
    413   as_status=$1; test $as_status -eq 0 && as_status=1
    414   if test "$4"; then
    415     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    416     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    417   fi
    418   $as_echo "$as_me: error: $2" >&2
    419   as_fn_exit $as_status
    420 } # as_fn_error
    421 
    422 if expr a : '\(a\)' >/dev/null 2>&1 &&
    423    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    424   as_expr=expr
    425 else
    426   as_expr=false
    427 fi
    428 
    429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    430   as_basename=basename
    431 else
    432   as_basename=false
    433 fi
    434 
    435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    436   as_dirname=dirname
    437 else
    438   as_dirname=false
    439 fi
    440 
    441 as_me=`$as_basename -- "$0" ||
    442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    443 	 X"$0" : 'X\(//\)$' \| \
    444 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    445 $as_echo X/"$0" |
    446     sed '/^.*\/\([^/][^/]*\)\/*$/{
    447 	    s//\1/
    448 	    q
    449 	  }
    450 	  /^X\/\(\/\/\)$/{
    451 	    s//\1/
    452 	    q
    453 	  }
    454 	  /^X\/\(\/\).*/{
    455 	    s//\1/
    456 	    q
    457 	  }
    458 	  s/.*/./; q'`
    459 
    460 # Avoid depending upon Character Ranges.
    461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    464 as_cr_digits='0123456789'
    465 as_cr_alnum=$as_cr_Letters$as_cr_digits
    466 
    467 
    468   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    469   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    470   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    471   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    472   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    473   sed -n '
    474     p
    475     /[$]LINENO/=
    476   ' <$as_myself |
    477     sed '
    478       s/[$]LINENO.*/&-/
    479       t lineno
    480       b
    481       :lineno
    482       N
    483       :loop
    484       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    485       t loop
    486       s/-\n.*//
    487     ' >$as_me.lineno &&
    488   chmod +x "$as_me.lineno" ||
    489     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    490 
    491   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    492   # already done that, so ensure we don't try to do so again and fall
    493   # in an infinite loop.  This has already happened in practice.
    494   _as_can_reexec=no; export _as_can_reexec
    495   # Don't try to exec as it changes $[0], causing all sort of problems
    496   # (the dirname of $[0] is not the place where we might find the
    497   # original and so on.  Autoconf is especially sensitive to this).
    498   . "./$as_me.lineno"
    499   # Exit status is that of the last command.
    500   exit
    501 }
    502 
    503 ECHO_C= ECHO_N= ECHO_T=
    504 case `echo -n x` in #(((((
    505 -n*)
    506   case `echo 'xy\c'` in
    507   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    508   xy)  ECHO_C='\c';;
    509   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    510        ECHO_T='	';;
    511   esac;;
    512 *)
    513   ECHO_N='-n';;
    514 esac
    515 
    516 rm -f conf$$ conf$$.exe conf$$.file
    517 if test -d conf$$.dir; then
    518   rm -f conf$$.dir/conf$$.file
    519 else
    520   rm -f conf$$.dir
    521   mkdir conf$$.dir 2>/dev/null
    522 fi
    523 if (echo >conf$$.file) 2>/dev/null; then
    524   if ln -s conf$$.file conf$$ 2>/dev/null; then
    525     as_ln_s='ln -s'
    526     # ... but there are two gotchas:
    527     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    528     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    529     # In both cases, we have to default to `cp -pR'.
    530     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    531       as_ln_s='cp -pR'
    532   elif ln conf$$.file conf$$ 2>/dev/null; then
    533     as_ln_s=ln
    534   else
    535     as_ln_s='cp -pR'
    536   fi
    537 else
    538   as_ln_s='cp -pR'
    539 fi
    540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    541 rmdir conf$$.dir 2>/dev/null
    542 
    543 if mkdir -p . 2>/dev/null; then
    544   as_mkdir_p='mkdir -p "$as_dir"'
    545 else
    546   test -d ./-p && rmdir ./-p
    547   as_mkdir_p=false
    548 fi
    549 
    550 as_test_x='test -x'
    551 as_executable_p=as_fn_executable_p
    552 
    553 # Sed expression to map a string onto a valid CPP name.
    554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    555 
    556 # Sed expression to map a string onto a valid variable name.
    557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    558 
    559 
    560 test -n "$DJDIR" || exec 7<&0 </dev/null
    561 exec 6>&1
    562 
    563 # Name of the host.
    564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    565 # so uname gets run too.
    566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    567 
    568 #
    569 # Initializations.
    570 #
    571 ac_default_prefix=/usr/local
    572 ac_clean_files=
    573 ac_config_libobj_dir=.
    574 LIBOBJS=
    575 cross_compiling=no
    576 subdirs=
    577 MFLAGS=
    578 MAKEFLAGS=
    579 
    580 # Identity of this package.
    581 PACKAGE_NAME='libnbcompat'
    582 PACKAGE_TARNAME='libnbcompat'
    583 PACKAGE_VERSION='noversion'
    584 PACKAGE_STRING='libnbcompat noversion'
    585 PACKAGE_BUGREPORT='lib-bug-people (at] NetBSD.org'
    586 PACKAGE_URL=''
    587 
    588 # Factoring default headers for most tests.
    589 ac_includes_default="\
    590 #include <stdio.h>
    591 #ifdef HAVE_SYS_TYPES_H
    592 # include <sys/types.h>
    593 #endif
    594 #ifdef HAVE_SYS_STAT_H
    595 # include <sys/stat.h>
    596 #endif
    597 #ifdef STDC_HEADERS
    598 # include <stdlib.h>
    599 # include <stddef.h>
    600 #else
    601 # ifdef HAVE_STDLIB_H
    602 #  include <stdlib.h>
    603 # endif
    604 #endif
    605 #ifdef HAVE_STRING_H
    606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    607 #  include <memory.h>
    608 # endif
    609 # include <string.h>
    610 #endif
    611 #ifdef HAVE_STRINGS_H
    612 # include <strings.h>
    613 #endif
    614 #ifdef HAVE_INTTYPES_H
    615 # include <inttypes.h>
    616 #endif
    617 #ifdef HAVE_STDINT_H
    618 # include <stdint.h>
    619 #endif
    620 #ifdef HAVE_UNISTD_H
    621 # include <unistd.h>
    622 #endif"
    623 
    624 ac_subst_vars='LTLIBOBJS
    625 LIBOBJS
    626 CC_WNO_STRINGOP_TRUNCATION
    627 CC_WNO_STRINGOP_OVERFLOW
    628 CC_WNO_RETURN_LOCAL_ADDR
    629 CC_WNO_MAYBE_UNINITIALIZED
    630 CC_WNO_IMPLICIT_FALLTHROUGH
    631 CC_WNO_FORMAT_TRUNCATION
    632 CC_WNO_FORMAT_OVERFLOW
    633 CC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER
    634 CC_WNO_CAST_FUNCTION_TYPE
    635 CC_WNO_ADDRESS_OF_PACKED_MEMBER
    636 CC_NO_CPP_PRECOMP
    637 ALLOCA
    638 BSHELL
    639 EGREP
    640 GREP
    641 CPP
    642 OBJEXT
    643 EXEEXT
    644 ac_ct_CC
    645 CPPFLAGS
    646 LDFLAGS
    647 CFLAGS
    648 CC
    649 target_alias
    650 host_alias
    651 build_alias
    652 LIBS
    653 ECHO_T
    654 ECHO_N
    655 ECHO_C
    656 DEFS
    657 mandir
    658 localedir
    659 libdir
    660 psdir
    661 pdfdir
    662 dvidir
    663 htmldir
    664 infodir
    665 docdir
    666 oldincludedir
    667 includedir
    668 localstatedir
    669 sharedstatedir
    670 sysconfdir
    671 datadir
    672 datarootdir
    673 libexecdir
    674 sbindir
    675 bindir
    676 program_transform_name
    677 prefix
    678 exec_prefix
    679 PACKAGE_URL
    680 PACKAGE_BUGREPORT
    681 PACKAGE_STRING
    682 PACKAGE_VERSION
    683 PACKAGE_TARNAME
    684 PACKAGE_NAME
    685 PATH_SEPARATOR
    686 SHELL'
    687 ac_subst_files=''
    688 ac_user_opts='
    689 enable_option_checking
    690 '
    691       ac_precious_vars='build_alias
    692 host_alias
    693 target_alias
    694 CC
    695 CFLAGS
    696 LDFLAGS
    697 LIBS
    698 CPPFLAGS
    699 CPP'
    700 
    701 
    702 # Initialize some variables set by options.
    703 ac_init_help=
    704 ac_init_version=false
    705 ac_unrecognized_opts=
    706 ac_unrecognized_sep=
    707 # The variables have the same names as the options, with
    708 # dashes changed to underlines.
    709 cache_file=/dev/null
    710 exec_prefix=NONE
    711 no_create=
    712 no_recursion=
    713 prefix=NONE
    714 program_prefix=NONE
    715 program_suffix=NONE
    716 program_transform_name=s,x,x,
    717 silent=
    718 site=
    719 srcdir=
    720 verbose=
    721 x_includes=NONE
    722 x_libraries=NONE
    723 
    724 # Installation directory options.
    725 # These are left unexpanded so users can "make install exec_prefix=/foo"
    726 # and all the variables that are supposed to be based on exec_prefix
    727 # by default will actually change.
    728 # Use braces instead of parens because sh, perl, etc. also accept them.
    729 # (The list follows the same order as the GNU Coding Standards.)
    730 bindir='${exec_prefix}/bin'
    731 sbindir='${exec_prefix}/sbin'
    732 libexecdir='${exec_prefix}/libexec'
    733 datarootdir='${prefix}/share'
    734 datadir='${datarootdir}'
    735 sysconfdir='${prefix}/etc'
    736 sharedstatedir='${prefix}/com'
    737 localstatedir='${prefix}/var'
    738 includedir='${prefix}/include'
    739 oldincludedir='/usr/include'
    740 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    741 infodir='${datarootdir}/info'
    742 htmldir='${docdir}'
    743 dvidir='${docdir}'
    744 pdfdir='${docdir}'
    745 psdir='${docdir}'
    746 libdir='${exec_prefix}/lib'
    747 localedir='${datarootdir}/locale'
    748 mandir='${datarootdir}/man'
    749 
    750 ac_prev=
    751 ac_dashdash=
    752 for ac_option
    753 do
    754   # If the previous option needs an argument, assign it.
    755   if test -n "$ac_prev"; then
    756     eval $ac_prev=\$ac_option
    757     ac_prev=
    758     continue
    759   fi
    760 
    761   case $ac_option in
    762   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    763   *=)   ac_optarg= ;;
    764   *)    ac_optarg=yes ;;
    765   esac
    766 
    767   # Accept the important Cygnus configure options, so we can diagnose typos.
    768 
    769   case $ac_dashdash$ac_option in
    770   --)
    771     ac_dashdash=yes ;;
    772 
    773   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    774     ac_prev=bindir ;;
    775   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    776     bindir=$ac_optarg ;;
    777 
    778   -build | --build | --buil | --bui | --bu)
    779     ac_prev=build_alias ;;
    780   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    781     build_alias=$ac_optarg ;;
    782 
    783   -cache-file | --cache-file | --cache-fil | --cache-fi \
    784   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    785     ac_prev=cache_file ;;
    786   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    787   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    788     cache_file=$ac_optarg ;;
    789 
    790   --config-cache | -C)
    791     cache_file=config.cache ;;
    792 
    793   -datadir | --datadir | --datadi | --datad)
    794     ac_prev=datadir ;;
    795   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    796     datadir=$ac_optarg ;;
    797 
    798   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    799   | --dataroo | --dataro | --datar)
    800     ac_prev=datarootdir ;;
    801   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    802   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    803     datarootdir=$ac_optarg ;;
    804 
    805   -disable-* | --disable-*)
    806     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    807     # Reject names that are not valid shell variable names.
    808     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    809       as_fn_error $? "invalid feature name: $ac_useropt"
    810     ac_useropt_orig=$ac_useropt
    811     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    812     case $ac_user_opts in
    813       *"
    814 "enable_$ac_useropt"
    815 "*) ;;
    816       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    817 	 ac_unrecognized_sep=', ';;
    818     esac
    819     eval enable_$ac_useropt=no ;;
    820 
    821   -docdir | --docdir | --docdi | --doc | --do)
    822     ac_prev=docdir ;;
    823   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    824     docdir=$ac_optarg ;;
    825 
    826   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    827     ac_prev=dvidir ;;
    828   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    829     dvidir=$ac_optarg ;;
    830 
    831   -enable-* | --enable-*)
    832     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    833     # Reject names that are not valid shell variable names.
    834     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    835       as_fn_error $? "invalid feature name: $ac_useropt"
    836     ac_useropt_orig=$ac_useropt
    837     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    838     case $ac_user_opts in
    839       *"
    840 "enable_$ac_useropt"
    841 "*) ;;
    842       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    843 	 ac_unrecognized_sep=', ';;
    844     esac
    845     eval enable_$ac_useropt=\$ac_optarg ;;
    846 
    847   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    848   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    849   | --exec | --exe | --ex)
    850     ac_prev=exec_prefix ;;
    851   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    852   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    853   | --exec=* | --exe=* | --ex=*)
    854     exec_prefix=$ac_optarg ;;
    855 
    856   -gas | --gas | --ga | --g)
    857     # Obsolete; use --with-gas.
    858     with_gas=yes ;;
    859 
    860   -help | --help | --hel | --he | -h)
    861     ac_init_help=long ;;
    862   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    863     ac_init_help=recursive ;;
    864   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    865     ac_init_help=short ;;
    866 
    867   -host | --host | --hos | --ho)
    868     ac_prev=host_alias ;;
    869   -host=* | --host=* | --hos=* | --ho=*)
    870     host_alias=$ac_optarg ;;
    871 
    872   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    873     ac_prev=htmldir ;;
    874   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    875   | --ht=*)
    876     htmldir=$ac_optarg ;;
    877 
    878   -includedir | --includedir | --includedi | --included | --include \
    879   | --includ | --inclu | --incl | --inc)
    880     ac_prev=includedir ;;
    881   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    882   | --includ=* | --inclu=* | --incl=* | --inc=*)
    883     includedir=$ac_optarg ;;
    884 
    885   -infodir | --infodir | --infodi | --infod | --info | --inf)
    886     ac_prev=infodir ;;
    887   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    888     infodir=$ac_optarg ;;
    889 
    890   -libdir | --libdir | --libdi | --libd)
    891     ac_prev=libdir ;;
    892   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    893     libdir=$ac_optarg ;;
    894 
    895   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    896   | --libexe | --libex | --libe)
    897     ac_prev=libexecdir ;;
    898   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    899   | --libexe=* | --libex=* | --libe=*)
    900     libexecdir=$ac_optarg ;;
    901 
    902   -localedir | --localedir | --localedi | --localed | --locale)
    903     ac_prev=localedir ;;
    904   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    905     localedir=$ac_optarg ;;
    906 
    907   -localstatedir | --localstatedir | --localstatedi | --localstated \
    908   | --localstate | --localstat | --localsta | --localst | --locals)
    909     ac_prev=localstatedir ;;
    910   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    911   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    912     localstatedir=$ac_optarg ;;
    913 
    914   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    915     ac_prev=mandir ;;
    916   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    917     mandir=$ac_optarg ;;
    918 
    919   -nfp | --nfp | --nf)
    920     # Obsolete; use --without-fp.
    921     with_fp=no ;;
    922 
    923   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    924   | --no-cr | --no-c | -n)
    925     no_create=yes ;;
    926 
    927   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    928   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    929     no_recursion=yes ;;
    930 
    931   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    932   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    933   | --oldin | --oldi | --old | --ol | --o)
    934     ac_prev=oldincludedir ;;
    935   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    936   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    937   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    938     oldincludedir=$ac_optarg ;;
    939 
    940   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    941     ac_prev=prefix ;;
    942   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    943     prefix=$ac_optarg ;;
    944 
    945   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    946   | --program-pre | --program-pr | --program-p)
    947     ac_prev=program_prefix ;;
    948   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    949   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    950     program_prefix=$ac_optarg ;;
    951 
    952   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    953   | --program-suf | --program-su | --program-s)
    954     ac_prev=program_suffix ;;
    955   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    956   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    957     program_suffix=$ac_optarg ;;
    958 
    959   -program-transform-name | --program-transform-name \
    960   | --program-transform-nam | --program-transform-na \
    961   | --program-transform-n | --program-transform- \
    962   | --program-transform | --program-transfor \
    963   | --program-transfo | --program-transf \
    964   | --program-trans | --program-tran \
    965   | --progr-tra | --program-tr | --program-t)
    966     ac_prev=program_transform_name ;;
    967   -program-transform-name=* | --program-transform-name=* \
    968   | --program-transform-nam=* | --program-transform-na=* \
    969   | --program-transform-n=* | --program-transform-=* \
    970   | --program-transform=* | --program-transfor=* \
    971   | --program-transfo=* | --program-transf=* \
    972   | --program-trans=* | --program-tran=* \
    973   | --progr-tra=* | --program-tr=* | --program-t=*)
    974     program_transform_name=$ac_optarg ;;
    975 
    976   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    977     ac_prev=pdfdir ;;
    978   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    979     pdfdir=$ac_optarg ;;
    980 
    981   -psdir | --psdir | --psdi | --psd | --ps)
    982     ac_prev=psdir ;;
    983   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    984     psdir=$ac_optarg ;;
    985 
    986   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    987   | -silent | --silent | --silen | --sile | --sil)
    988     silent=yes ;;
    989 
    990   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    991     ac_prev=sbindir ;;
    992   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    993   | --sbi=* | --sb=*)
    994     sbindir=$ac_optarg ;;
    995 
    996   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    997   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    998   | --sharedst | --shareds | --shared | --share | --shar \
    999   | --sha | --sh)
   1000     ac_prev=sharedstatedir ;;
   1001   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1002   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1003   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1004   | --sha=* | --sh=*)
   1005     sharedstatedir=$ac_optarg ;;
   1006 
   1007   -site | --site | --sit)
   1008     ac_prev=site ;;
   1009   -site=* | --site=* | --sit=*)
   1010     site=$ac_optarg ;;
   1011 
   1012   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1013     ac_prev=srcdir ;;
   1014   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1015     srcdir=$ac_optarg ;;
   1016 
   1017   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1018   | --syscon | --sysco | --sysc | --sys | --sy)
   1019     ac_prev=sysconfdir ;;
   1020   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1021   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1022     sysconfdir=$ac_optarg ;;
   1023 
   1024   -target | --target | --targe | --targ | --tar | --ta | --t)
   1025     ac_prev=target_alias ;;
   1026   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1027     target_alias=$ac_optarg ;;
   1028 
   1029   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1030     verbose=yes ;;
   1031 
   1032   -version | --version | --versio | --versi | --vers | -V)
   1033     ac_init_version=: ;;
   1034 
   1035   -with-* | --with-*)
   1036     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1037     # Reject names that are not valid shell variable names.
   1038     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1039       as_fn_error $? "invalid package name: $ac_useropt"
   1040     ac_useropt_orig=$ac_useropt
   1041     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1042     case $ac_user_opts in
   1043       *"
   1044 "with_$ac_useropt"
   1045 "*) ;;
   1046       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1047 	 ac_unrecognized_sep=', ';;
   1048     esac
   1049     eval with_$ac_useropt=\$ac_optarg ;;
   1050 
   1051   -without-* | --without-*)
   1052     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1053     # Reject names that are not valid shell variable names.
   1054     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1055       as_fn_error $? "invalid package name: $ac_useropt"
   1056     ac_useropt_orig=$ac_useropt
   1057     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1058     case $ac_user_opts in
   1059       *"
   1060 "with_$ac_useropt"
   1061 "*) ;;
   1062       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1063 	 ac_unrecognized_sep=', ';;
   1064     esac
   1065     eval with_$ac_useropt=no ;;
   1066 
   1067   --x)
   1068     # Obsolete; use --with-x.
   1069     with_x=yes ;;
   1070 
   1071   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1072   | --x-incl | --x-inc | --x-in | --x-i)
   1073     ac_prev=x_includes ;;
   1074   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1075   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1076     x_includes=$ac_optarg ;;
   1077 
   1078   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1079   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1080     ac_prev=x_libraries ;;
   1081   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1082   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1083     x_libraries=$ac_optarg ;;
   1084 
   1085   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1086 Try \`$0 --help' for more information"
   1087     ;;
   1088 
   1089   *=*)
   1090     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1091     # Reject names that are not valid shell variable names.
   1092     case $ac_envvar in #(
   1093       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1094       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1095     esac
   1096     eval $ac_envvar=\$ac_optarg
   1097     export $ac_envvar ;;
   1098 
   1099   *)
   1100     # FIXME: should be removed in autoconf 3.0.
   1101     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1102     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1103       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1104     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1105     ;;
   1106 
   1107   esac
   1108 done
   1109 
   1110 if test -n "$ac_prev"; then
   1111   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1112   as_fn_error $? "missing argument to $ac_option"
   1113 fi
   1114 
   1115 if test -n "$ac_unrecognized_opts"; then
   1116   case $enable_option_checking in
   1117     no) ;;
   1118     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1119     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1120   esac
   1121 fi
   1122 
   1123 # Check all directory arguments for consistency.
   1124 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1125 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1126 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1127 		libdir localedir mandir
   1128 do
   1129   eval ac_val=\$$ac_var
   1130   # Remove trailing slashes.
   1131   case $ac_val in
   1132     */ )
   1133       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1134       eval $ac_var=\$ac_val;;
   1135   esac
   1136   # Be sure to have absolute directory names.
   1137   case $ac_val in
   1138     [\\/$]* | ?:[\\/]* )  continue;;
   1139     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1140   esac
   1141   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1142 done
   1143 
   1144 # There might be people who depend on the old broken behavior: `$host'
   1145 # used to hold the argument of --host etc.
   1146 # FIXME: To remove some day.
   1147 build=$build_alias
   1148 host=$host_alias
   1149 target=$target_alias
   1150 
   1151 # FIXME: To remove some day.
   1152 if test "x$host_alias" != x; then
   1153   if test "x$build_alias" = x; then
   1154     cross_compiling=maybe
   1155   elif test "x$build_alias" != "x$host_alias"; then
   1156     cross_compiling=yes
   1157   fi
   1158 fi
   1159 
   1160 ac_tool_prefix=
   1161 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1162 
   1163 test "$silent" = yes && exec 6>/dev/null
   1164 
   1165 
   1166 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1167 ac_ls_di=`ls -di .` &&
   1168 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1169   as_fn_error $? "working directory cannot be determined"
   1170 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1171   as_fn_error $? "pwd does not report name of working directory"
   1172 
   1173 
   1174 # Find the source files, if location was not specified.
   1175 if test -z "$srcdir"; then
   1176   ac_srcdir_defaulted=yes
   1177   # Try the directory containing this script, then the parent directory.
   1178   ac_confdir=`$as_dirname -- "$as_myself" ||
   1179 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1180 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1181 	 X"$as_myself" : 'X\(//\)$' \| \
   1182 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1183 $as_echo X"$as_myself" |
   1184     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1185 	    s//\1/
   1186 	    q
   1187 	  }
   1188 	  /^X\(\/\/\)[^/].*/{
   1189 	    s//\1/
   1190 	    q
   1191 	  }
   1192 	  /^X\(\/\/\)$/{
   1193 	    s//\1/
   1194 	    q
   1195 	  }
   1196 	  /^X\(\/\).*/{
   1197 	    s//\1/
   1198 	    q
   1199 	  }
   1200 	  s/.*/./; q'`
   1201   srcdir=$ac_confdir
   1202   if test ! -r "$srcdir/$ac_unique_file"; then
   1203     srcdir=..
   1204   fi
   1205 else
   1206   ac_srcdir_defaulted=no
   1207 fi
   1208 if test ! -r "$srcdir/$ac_unique_file"; then
   1209   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1210   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1211 fi
   1212 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1213 ac_abs_confdir=`(
   1214 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1215 	pwd)`
   1216 # When building in place, set srcdir=.
   1217 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1218   srcdir=.
   1219 fi
   1220 # Remove unnecessary trailing slashes from srcdir.
   1221 # Double slashes in file names in object file debugging info
   1222 # mess up M-x gdb in Emacs.
   1223 case $srcdir in
   1224 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1225 esac
   1226 for ac_var in $ac_precious_vars; do
   1227   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1228   eval ac_env_${ac_var}_value=\$${ac_var}
   1229   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1230   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1231 done
   1232 
   1233 #
   1234 # Report the --help message.
   1235 #
   1236 if test "$ac_init_help" = "long"; then
   1237   # Omit some internal or obsolete options to make the list less imposing.
   1238   # This message is too long to be a string in the A/UX 3.1 sh.
   1239   cat <<_ACEOF
   1240 \`configure' configures libnbcompat noversion to adapt to many kinds of systems.
   1241 
   1242 Usage: $0 [OPTION]... [VAR=VALUE]...
   1243 
   1244 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1245 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1246 
   1247 Defaults for the options are specified in brackets.
   1248 
   1249 Configuration:
   1250   -h, --help              display this help and exit
   1251       --help=short        display options specific to this package
   1252       --help=recursive    display the short help of all the included packages
   1253   -V, --version           display version information and exit
   1254   -q, --quiet, --silent   do not print \`checking ...' messages
   1255       --cache-file=FILE   cache test results in FILE [disabled]
   1256   -C, --config-cache      alias for \`--cache-file=config.cache'
   1257   -n, --no-create         do not create output files
   1258       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1259 
   1260 Installation directories:
   1261   --prefix=PREFIX         install architecture-independent files in PREFIX
   1262                           [$ac_default_prefix]
   1263   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1264                           [PREFIX]
   1265 
   1266 By default, \`make install' will install all the files in
   1267 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1268 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1269 for instance \`--prefix=\$HOME'.
   1270 
   1271 For better control, use the options below.
   1272 
   1273 Fine tuning of the installation directories:
   1274   --bindir=DIR            user executables [EPREFIX/bin]
   1275   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1276   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1277   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1278   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1279   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1280   --libdir=DIR            object code libraries [EPREFIX/lib]
   1281   --includedir=DIR        C header files [PREFIX/include]
   1282   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1283   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1284   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1285   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1286   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1287   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1288   --docdir=DIR            documentation root [DATAROOTDIR/doc/libnbcompat]
   1289   --htmldir=DIR           html documentation [DOCDIR]
   1290   --dvidir=DIR            dvi documentation [DOCDIR]
   1291   --pdfdir=DIR            pdf documentation [DOCDIR]
   1292   --psdir=DIR             ps documentation [DOCDIR]
   1293 _ACEOF
   1294 
   1295   cat <<\_ACEOF
   1296 _ACEOF
   1297 fi
   1298 
   1299 if test -n "$ac_init_help"; then
   1300   case $ac_init_help in
   1301      short | recursive ) echo "Configuration of libnbcompat noversion:";;
   1302    esac
   1303   cat <<\_ACEOF
   1304 
   1305 Some influential environment variables:
   1306   CC          C compiler command
   1307   CFLAGS      C compiler flags
   1308   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1309               nonstandard directory <lib dir>
   1310   LIBS        libraries to pass to the linker, e.g. -l<library>
   1311   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1312               you have headers in a nonstandard directory <include dir>
   1313   CPP         C preprocessor
   1314 
   1315 Use these variables to override the choices made by `configure' or to help
   1316 it to find libraries and programs with nonstandard names/locations.
   1317 
   1318 Report bugs to <lib-bug-people@NetBSD.org>.
   1319 _ACEOF
   1320 ac_status=$?
   1321 fi
   1322 
   1323 if test "$ac_init_help" = "recursive"; then
   1324   # If there are subdirs, report their specific --help.
   1325   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1326     test -d "$ac_dir" ||
   1327       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1328       continue
   1329     ac_builddir=.
   1330 
   1331 case "$ac_dir" in
   1332 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1333 *)
   1334   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1335   # A ".." for each directory in $ac_dir_suffix.
   1336   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1337   case $ac_top_builddir_sub in
   1338   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1339   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1340   esac ;;
   1341 esac
   1342 ac_abs_top_builddir=$ac_pwd
   1343 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1344 # for backward compatibility:
   1345 ac_top_builddir=$ac_top_build_prefix
   1346 
   1347 case $srcdir in
   1348   .)  # We are building in place.
   1349     ac_srcdir=.
   1350     ac_top_srcdir=$ac_top_builddir_sub
   1351     ac_abs_top_srcdir=$ac_pwd ;;
   1352   [\\/]* | ?:[\\/]* )  # Absolute name.
   1353     ac_srcdir=$srcdir$ac_dir_suffix;
   1354     ac_top_srcdir=$srcdir
   1355     ac_abs_top_srcdir=$srcdir ;;
   1356   *) # Relative name.
   1357     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1358     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1359     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1360 esac
   1361 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1362 
   1363     cd "$ac_dir" || { ac_status=$?; continue; }
   1364     # Check for guested configure.
   1365     if test -f "$ac_srcdir/configure.gnu"; then
   1366       echo &&
   1367       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1368     elif test -f "$ac_srcdir/configure"; then
   1369       echo &&
   1370       $SHELL "$ac_srcdir/configure" --help=recursive
   1371     else
   1372       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1373     fi || ac_status=$?
   1374     cd "$ac_pwd" || { ac_status=$?; break; }
   1375   done
   1376 fi
   1377 
   1378 test -n "$ac_init_help" && exit $ac_status
   1379 if $ac_init_version; then
   1380   cat <<\_ACEOF
   1381 libnbcompat configure noversion
   1382 generated by GNU Autoconf 2.69
   1383 
   1384 Copyright (C) 2012 Free Software Foundation, Inc.
   1385 This configure script is free software; the Free Software Foundation
   1386 gives unlimited permission to copy, distribute and modify it.
   1387 _ACEOF
   1388   exit
   1389 fi
   1390 
   1391 ## ------------------------ ##
   1392 ## Autoconf initialization. ##
   1393 ## ------------------------ ##
   1394 
   1395 # ac_fn_c_try_compile LINENO
   1396 # --------------------------
   1397 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1398 ac_fn_c_try_compile ()
   1399 {
   1400   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1401   rm -f conftest.$ac_objext
   1402   if { { ac_try="$ac_compile"
   1403 case "(($ac_try" in
   1404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1405   *) ac_try_echo=$ac_try;;
   1406 esac
   1407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1408 $as_echo "$ac_try_echo"; } >&5
   1409   (eval "$ac_compile") 2>conftest.err
   1410   ac_status=$?
   1411   if test -s conftest.err; then
   1412     grep -v '^ *+' conftest.err >conftest.er1
   1413     cat conftest.er1 >&5
   1414     mv -f conftest.er1 conftest.err
   1415   fi
   1416   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1417   test $ac_status = 0; } && {
   1418 	 test -z "$ac_c_werror_flag" ||
   1419 	 test ! -s conftest.err
   1420        } && test -s conftest.$ac_objext; then :
   1421   ac_retval=0
   1422 else
   1423   $as_echo "$as_me: failed program was:" >&5
   1424 sed 's/^/| /' conftest.$ac_ext >&5
   1425 
   1426 	ac_retval=1
   1427 fi
   1428   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1429   as_fn_set_status $ac_retval
   1430 
   1431 } # ac_fn_c_try_compile
   1432 
   1433 # ac_fn_c_try_cpp LINENO
   1434 # ----------------------
   1435 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1436 ac_fn_c_try_cpp ()
   1437 {
   1438   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1439   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1440 case "(($ac_try" in
   1441   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1442   *) ac_try_echo=$ac_try;;
   1443 esac
   1444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1445 $as_echo "$ac_try_echo"; } >&5
   1446   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1447   ac_status=$?
   1448   if test -s conftest.err; then
   1449     grep -v '^ *+' conftest.err >conftest.er1
   1450     cat conftest.er1 >&5
   1451     mv -f conftest.er1 conftest.err
   1452   fi
   1453   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1454   test $ac_status = 0; } > conftest.i && {
   1455 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1456 	 test ! -s conftest.err
   1457        }; then :
   1458   ac_retval=0
   1459 else
   1460   $as_echo "$as_me: failed program was:" >&5
   1461 sed 's/^/| /' conftest.$ac_ext >&5
   1462 
   1463     ac_retval=1
   1464 fi
   1465   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1466   as_fn_set_status $ac_retval
   1467 
   1468 } # ac_fn_c_try_cpp
   1469 
   1470 # ac_fn_c_try_run LINENO
   1471 # ----------------------
   1472 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1473 # that executables *can* be run.
   1474 ac_fn_c_try_run ()
   1475 {
   1476   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1477   if { { ac_try="$ac_link"
   1478 case "(($ac_try" in
   1479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1480   *) ac_try_echo=$ac_try;;
   1481 esac
   1482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1483 $as_echo "$ac_try_echo"; } >&5
   1484   (eval "$ac_link") 2>&5
   1485   ac_status=$?
   1486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1487   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1488   { { case "(($ac_try" in
   1489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1490   *) ac_try_echo=$ac_try;;
   1491 esac
   1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1493 $as_echo "$ac_try_echo"; } >&5
   1494   (eval "$ac_try") 2>&5
   1495   ac_status=$?
   1496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1497   test $ac_status = 0; }; }; then :
   1498   ac_retval=0
   1499 else
   1500   $as_echo "$as_me: program exited with status $ac_status" >&5
   1501        $as_echo "$as_me: failed program was:" >&5
   1502 sed 's/^/| /' conftest.$ac_ext >&5
   1503 
   1504        ac_retval=$ac_status
   1505 fi
   1506   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1507   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1508   as_fn_set_status $ac_retval
   1509 
   1510 } # ac_fn_c_try_run
   1511 
   1512 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1513 # -------------------------------------------------------
   1514 # Tests whether HEADER exists and can be compiled using the include files in
   1515 # INCLUDES, setting the cache variable VAR accordingly.
   1516 ac_fn_c_check_header_compile ()
   1517 {
   1518   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1520 $as_echo_n "checking for $2... " >&6; }
   1521 if eval \${$3+:} false; then :
   1522   $as_echo_n "(cached) " >&6
   1523 else
   1524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1525 /* end confdefs.h.  */
   1526 $4
   1527 #include <$2>
   1528 _ACEOF
   1529 if ac_fn_c_try_compile "$LINENO"; then :
   1530   eval "$3=yes"
   1531 else
   1532   eval "$3=no"
   1533 fi
   1534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1535 fi
   1536 eval ac_res=\$$3
   1537 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1538 $as_echo "$ac_res" >&6; }
   1539   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1540 
   1541 } # ac_fn_c_check_header_compile
   1542 
   1543 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1544 # -------------------------------------------------------
   1545 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1546 # the include files in INCLUDES and setting the cache variable VAR
   1547 # accordingly.
   1548 ac_fn_c_check_header_mongrel ()
   1549 {
   1550   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1551   if eval \${$3+:} false; then :
   1552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1553 $as_echo_n "checking for $2... " >&6; }
   1554 if eval \${$3+:} false; then :
   1555   $as_echo_n "(cached) " >&6
   1556 fi
   1557 eval ac_res=\$$3
   1558 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1559 $as_echo "$ac_res" >&6; }
   1560 else
   1561   # Is the header compilable?
   1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1563 $as_echo_n "checking $2 usability... " >&6; }
   1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1565 /* end confdefs.h.  */
   1566 $4
   1567 #include <$2>
   1568 _ACEOF
   1569 if ac_fn_c_try_compile "$LINENO"; then :
   1570   ac_header_compiler=yes
   1571 else
   1572   ac_header_compiler=no
   1573 fi
   1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1576 $as_echo "$ac_header_compiler" >&6; }
   1577 
   1578 # Is the header present?
   1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1580 $as_echo_n "checking $2 presence... " >&6; }
   1581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1582 /* end confdefs.h.  */
   1583 #include <$2>
   1584 _ACEOF
   1585 if ac_fn_c_try_cpp "$LINENO"; then :
   1586   ac_header_preproc=yes
   1587 else
   1588   ac_header_preproc=no
   1589 fi
   1590 rm -f conftest.err conftest.i conftest.$ac_ext
   1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1592 $as_echo "$ac_header_preproc" >&6; }
   1593 
   1594 # So?  What about this header?
   1595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1596   yes:no: )
   1597     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1598 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1599     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1600 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1601     ;;
   1602   no:yes:* )
   1603     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1604 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1605     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1606 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1607     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1608 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1609     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1610 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1611     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1613 ( $as_echo "## ---------------------------------------- ##
   1614 ## Report this to lib-bug-people (at] NetBSD.org ##
   1615 ## ---------------------------------------- ##"
   1616      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1617     ;;
   1618 esac
   1619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1620 $as_echo_n "checking for $2... " >&6; }
   1621 if eval \${$3+:} false; then :
   1622   $as_echo_n "(cached) " >&6
   1623 else
   1624   eval "$3=\$ac_header_compiler"
   1625 fi
   1626 eval ac_res=\$$3
   1627 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1628 $as_echo "$ac_res" >&6; }
   1629 fi
   1630   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1631 
   1632 } # ac_fn_c_check_header_mongrel
   1633 
   1634 # ac_fn_c_try_link LINENO
   1635 # -----------------------
   1636 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1637 ac_fn_c_try_link ()
   1638 {
   1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1640   rm -f conftest.$ac_objext conftest$ac_exeext
   1641   if { { ac_try="$ac_link"
   1642 case "(($ac_try" in
   1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1644   *) ac_try_echo=$ac_try;;
   1645 esac
   1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1647 $as_echo "$ac_try_echo"; } >&5
   1648   (eval "$ac_link") 2>conftest.err
   1649   ac_status=$?
   1650   if test -s conftest.err; then
   1651     grep -v '^ *+' conftest.err >conftest.er1
   1652     cat conftest.er1 >&5
   1653     mv -f conftest.er1 conftest.err
   1654   fi
   1655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1656   test $ac_status = 0; } && {
   1657 	 test -z "$ac_c_werror_flag" ||
   1658 	 test ! -s conftest.err
   1659        } && test -s conftest$ac_exeext && {
   1660 	 test "$cross_compiling" = yes ||
   1661 	 test -x conftest$ac_exeext
   1662        }; then :
   1663   ac_retval=0
   1664 else
   1665   $as_echo "$as_me: failed program was:" >&5
   1666 sed 's/^/| /' conftest.$ac_ext >&5
   1667 
   1668 	ac_retval=1
   1669 fi
   1670   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1671   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1672   # interfere with the next link command; also delete a directory that is
   1673   # left behind by Apple's compiler.  We do this before executing the actions.
   1674   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1675   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1676   as_fn_set_status $ac_retval
   1677 
   1678 } # ac_fn_c_try_link
   1679 
   1680 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1681 # -------------------------------------------
   1682 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1683 # variable VAR accordingly.
   1684 ac_fn_c_check_type ()
   1685 {
   1686   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1688 $as_echo_n "checking for $2... " >&6; }
   1689 if eval \${$3+:} false; then :
   1690   $as_echo_n "(cached) " >&6
   1691 else
   1692   eval "$3=no"
   1693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1694 /* end confdefs.h.  */
   1695 $4
   1696 int
   1697 main ()
   1698 {
   1699 if (sizeof ($2))
   1700 	 return 0;
   1701   ;
   1702   return 0;
   1703 }
   1704 _ACEOF
   1705 if ac_fn_c_try_compile "$LINENO"; then :
   1706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1707 /* end confdefs.h.  */
   1708 $4
   1709 int
   1710 main ()
   1711 {
   1712 if (sizeof (($2)))
   1713 	    return 0;
   1714   ;
   1715   return 0;
   1716 }
   1717 _ACEOF
   1718 if ac_fn_c_try_compile "$LINENO"; then :
   1719 
   1720 else
   1721   eval "$3=yes"
   1722 fi
   1723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1724 fi
   1725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1726 fi
   1727 eval ac_res=\$$3
   1728 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1729 $as_echo "$ac_res" >&6; }
   1730   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1731 
   1732 } # ac_fn_c_check_type
   1733 
   1734 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1735 # ----------------------------------------------------
   1736 # Tries to find if the field MEMBER exists in type AGGR, after including
   1737 # INCLUDES, setting cache variable VAR accordingly.
   1738 ac_fn_c_check_member ()
   1739 {
   1740   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1742 $as_echo_n "checking for $2.$3... " >&6; }
   1743 if eval \${$4+:} false; then :
   1744   $as_echo_n "(cached) " >&6
   1745 else
   1746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1747 /* end confdefs.h.  */
   1748 $5
   1749 int
   1750 main ()
   1751 {
   1752 static $2 ac_aggr;
   1753 if (ac_aggr.$3)
   1754 return 0;
   1755   ;
   1756   return 0;
   1757 }
   1758 _ACEOF
   1759 if ac_fn_c_try_compile "$LINENO"; then :
   1760   eval "$4=yes"
   1761 else
   1762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1763 /* end confdefs.h.  */
   1764 $5
   1765 int
   1766 main ()
   1767 {
   1768 static $2 ac_aggr;
   1769 if (sizeof ac_aggr.$3)
   1770 return 0;
   1771   ;
   1772   return 0;
   1773 }
   1774 _ACEOF
   1775 if ac_fn_c_try_compile "$LINENO"; then :
   1776   eval "$4=yes"
   1777 else
   1778   eval "$4=no"
   1779 fi
   1780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1781 fi
   1782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1783 fi
   1784 eval ac_res=\$$4
   1785 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1786 $as_echo "$ac_res" >&6; }
   1787   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1788 
   1789 } # ac_fn_c_check_member
   1790 
   1791 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1792 # ---------------------------------------------
   1793 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1794 # accordingly.
   1795 ac_fn_c_check_decl ()
   1796 {
   1797   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1798   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1799   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1801 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1802 if eval \${$3+:} false; then :
   1803   $as_echo_n "(cached) " >&6
   1804 else
   1805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1806 /* end confdefs.h.  */
   1807 $4
   1808 int
   1809 main ()
   1810 {
   1811 #ifndef $as_decl_name
   1812 #ifdef __cplusplus
   1813   (void) $as_decl_use;
   1814 #else
   1815   (void) $as_decl_name;
   1816 #endif
   1817 #endif
   1818 
   1819   ;
   1820   return 0;
   1821 }
   1822 _ACEOF
   1823 if ac_fn_c_try_compile "$LINENO"; then :
   1824   eval "$3=yes"
   1825 else
   1826   eval "$3=no"
   1827 fi
   1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1829 fi
   1830 eval ac_res=\$$3
   1831 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1832 $as_echo "$ac_res" >&6; }
   1833   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1834 
   1835 } # ac_fn_c_check_decl
   1836 
   1837 # ac_fn_c_check_func LINENO FUNC VAR
   1838 # ----------------------------------
   1839 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1840 ac_fn_c_check_func ()
   1841 {
   1842   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1844 $as_echo_n "checking for $2... " >&6; }
   1845 if eval \${$3+:} false; then :
   1846   $as_echo_n "(cached) " >&6
   1847 else
   1848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1849 /* end confdefs.h.  */
   1850 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1851    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1852 #define $2 innocuous_$2
   1853 
   1854 /* System header to define __stub macros and hopefully few prototypes,
   1855     which can conflict with char $2 (); below.
   1856     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1857     <limits.h> exists even on freestanding compilers.  */
   1858 
   1859 #ifdef __STDC__
   1860 # include <limits.h>
   1861 #else
   1862 # include <assert.h>
   1863 #endif
   1864 
   1865 #undef $2
   1866 
   1867 /* Override any GCC internal prototype to avoid an error.
   1868    Use char because int might match the return type of a GCC
   1869    builtin and then its argument prototype would still apply.  */
   1870 #ifdef __cplusplus
   1871 extern "C"
   1872 #endif
   1873 char $2 ();
   1874 /* The GNU C library defines this for functions which it implements
   1875     to always fail with ENOSYS.  Some functions are actually named
   1876     something starting with __ and the normal name is an alias.  */
   1877 #if defined __stub_$2 || defined __stub___$2
   1878 choke me
   1879 #endif
   1880 
   1881 int
   1882 main ()
   1883 {
   1884 return $2 ();
   1885   ;
   1886   return 0;
   1887 }
   1888 _ACEOF
   1889 if ac_fn_c_try_link "$LINENO"; then :
   1890   eval "$3=yes"
   1891 else
   1892   eval "$3=no"
   1893 fi
   1894 rm -f core conftest.err conftest.$ac_objext \
   1895     conftest$ac_exeext conftest.$ac_ext
   1896 fi
   1897 eval ac_res=\$$3
   1898 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1899 $as_echo "$ac_res" >&6; }
   1900   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1901 
   1902 } # ac_fn_c_check_func
   1903 cat >config.log <<_ACEOF
   1904 This file contains any messages produced by compilers while
   1905 running configure, to aid debugging if configure makes a mistake.
   1906 
   1907 It was created by libnbcompat $as_me noversion, which was
   1908 generated by GNU Autoconf 2.69.  Invocation command line was
   1909 
   1910   $ $0 $@
   1911 
   1912 _ACEOF
   1913 exec 5>>config.log
   1914 {
   1915 cat <<_ASUNAME
   1916 ## --------- ##
   1917 ## Platform. ##
   1918 ## --------- ##
   1919 
   1920 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1921 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1922 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1923 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1924 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1925 
   1926 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1927 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1928 
   1929 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1930 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1931 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1932 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1933 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1934 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1935 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1936 
   1937 _ASUNAME
   1938 
   1939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1940 for as_dir in $PATH
   1941 do
   1942   IFS=$as_save_IFS
   1943   test -z "$as_dir" && as_dir=.
   1944     $as_echo "PATH: $as_dir"
   1945   done
   1946 IFS=$as_save_IFS
   1947 
   1948 } >&5
   1949 
   1950 cat >&5 <<_ACEOF
   1951 
   1952 
   1953 ## ----------- ##
   1954 ## Core tests. ##
   1955 ## ----------- ##
   1956 
   1957 _ACEOF
   1958 
   1959 
   1960 # Keep a trace of the command line.
   1961 # Strip out --no-create and --no-recursion so they do not pile up.
   1962 # Strip out --silent because we don't want to record it for future runs.
   1963 # Also quote any args containing shell meta-characters.
   1964 # Make two passes to allow for proper duplicate-argument suppression.
   1965 ac_configure_args=
   1966 ac_configure_args0=
   1967 ac_configure_args1=
   1968 ac_must_keep_next=false
   1969 for ac_pass in 1 2
   1970 do
   1971   for ac_arg
   1972   do
   1973     case $ac_arg in
   1974     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1975     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1976     | -silent | --silent | --silen | --sile | --sil)
   1977       continue ;;
   1978     *\'*)
   1979       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1980     esac
   1981     case $ac_pass in
   1982     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1983     2)
   1984       as_fn_append ac_configure_args1 " '$ac_arg'"
   1985       if test $ac_must_keep_next = true; then
   1986 	ac_must_keep_next=false # Got value, back to normal.
   1987       else
   1988 	case $ac_arg in
   1989 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1990 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1991 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1992 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1993 	    case "$ac_configure_args0 " in
   1994 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1995 	    esac
   1996 	    ;;
   1997 	  -* ) ac_must_keep_next=true ;;
   1998 	esac
   1999       fi
   2000       as_fn_append ac_configure_args " '$ac_arg'"
   2001       ;;
   2002     esac
   2003   done
   2004 done
   2005 { ac_configure_args0=; unset ac_configure_args0;}
   2006 { ac_configure_args1=; unset ac_configure_args1;}
   2007 
   2008 # When interrupted or exit'd, cleanup temporary files, and complete
   2009 # config.log.  We remove comments because anyway the quotes in there
   2010 # would cause problems or look ugly.
   2011 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2012 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2013 trap 'exit_status=$?
   2014   # Save into config.log some information that might help in debugging.
   2015   {
   2016     echo
   2017 
   2018     $as_echo "## ---------------- ##
   2019 ## Cache variables. ##
   2020 ## ---------------- ##"
   2021     echo
   2022     # The following way of writing the cache mishandles newlines in values,
   2023 (
   2024   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2025     eval ac_val=\$$ac_var
   2026     case $ac_val in #(
   2027     *${as_nl}*)
   2028       case $ac_var in #(
   2029       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2030 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2031       esac
   2032       case $ac_var in #(
   2033       _ | IFS | as_nl) ;; #(
   2034       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2035       *) { eval $ac_var=; unset $ac_var;} ;;
   2036       esac ;;
   2037     esac
   2038   done
   2039   (set) 2>&1 |
   2040     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2041     *${as_nl}ac_space=\ *)
   2042       sed -n \
   2043 	"s/'\''/'\''\\\\'\'''\''/g;
   2044 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2045       ;; #(
   2046     *)
   2047       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2048       ;;
   2049     esac |
   2050     sort
   2051 )
   2052     echo
   2053 
   2054     $as_echo "## ----------------- ##
   2055 ## Output variables. ##
   2056 ## ----------------- ##"
   2057     echo
   2058     for ac_var in $ac_subst_vars
   2059     do
   2060       eval ac_val=\$$ac_var
   2061       case $ac_val in
   2062       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2063       esac
   2064       $as_echo "$ac_var='\''$ac_val'\''"
   2065     done | sort
   2066     echo
   2067 
   2068     if test -n "$ac_subst_files"; then
   2069       $as_echo "## ------------------- ##
   2070 ## File substitutions. ##
   2071 ## ------------------- ##"
   2072       echo
   2073       for ac_var in $ac_subst_files
   2074       do
   2075 	eval ac_val=\$$ac_var
   2076 	case $ac_val in
   2077 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2078 	esac
   2079 	$as_echo "$ac_var='\''$ac_val'\''"
   2080       done | sort
   2081       echo
   2082     fi
   2083 
   2084     if test -s confdefs.h; then
   2085       $as_echo "## ----------- ##
   2086 ## confdefs.h. ##
   2087 ## ----------- ##"
   2088       echo
   2089       cat confdefs.h
   2090       echo
   2091     fi
   2092     test "$ac_signal" != 0 &&
   2093       $as_echo "$as_me: caught signal $ac_signal"
   2094     $as_echo "$as_me: exit $exit_status"
   2095   } >&5
   2096   rm -f core *.core core.conftest.* &&
   2097     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2098     exit $exit_status
   2099 ' 0
   2100 for ac_signal in 1 2 13 15; do
   2101   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2102 done
   2103 ac_signal=0
   2104 
   2105 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2106 rm -f -r conftest* confdefs.h
   2107 
   2108 $as_echo "/* confdefs.h */" > confdefs.h
   2109 
   2110 # Predefined preprocessor variables.
   2111 
   2112 cat >>confdefs.h <<_ACEOF
   2113 #define PACKAGE_NAME "$PACKAGE_NAME"
   2114 _ACEOF
   2115 
   2116 cat >>confdefs.h <<_ACEOF
   2117 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2118 _ACEOF
   2119 
   2120 cat >>confdefs.h <<_ACEOF
   2121 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2122 _ACEOF
   2123 
   2124 cat >>confdefs.h <<_ACEOF
   2125 #define PACKAGE_STRING "$PACKAGE_STRING"
   2126 _ACEOF
   2127 
   2128 cat >>confdefs.h <<_ACEOF
   2129 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2130 _ACEOF
   2131 
   2132 cat >>confdefs.h <<_ACEOF
   2133 #define PACKAGE_URL "$PACKAGE_URL"
   2134 _ACEOF
   2135 
   2136 
   2137 # Let the site file select an alternate cache file if it wants to.
   2138 # Prefer an explicitly selected file to automatically selected ones.
   2139 ac_site_file1=NONE
   2140 ac_site_file2=NONE
   2141 if test -n "$CONFIG_SITE"; then
   2142   # We do not want a PATH search for config.site.
   2143   case $CONFIG_SITE in #((
   2144     -*)  ac_site_file1=./$CONFIG_SITE;;
   2145     */*) ac_site_file1=$CONFIG_SITE;;
   2146     *)   ac_site_file1=./$CONFIG_SITE;;
   2147   esac
   2148 elif test "x$prefix" != xNONE; then
   2149   ac_site_file1=$prefix/share/config.site
   2150   ac_site_file2=$prefix/etc/config.site
   2151 else
   2152   ac_site_file1=$ac_default_prefix/share/config.site
   2153   ac_site_file2=$ac_default_prefix/etc/config.site
   2154 fi
   2155 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2156 do
   2157   test "x$ac_site_file" = xNONE && continue
   2158   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2159     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2160 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2161     sed 's/^/| /' "$ac_site_file" >&5
   2162     . "$ac_site_file" \
   2163       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2165 as_fn_error $? "failed to load site script $ac_site_file
   2166 See \`config.log' for more details" "$LINENO" 5; }
   2167   fi
   2168 done
   2169 
   2170 if test -r "$cache_file"; then
   2171   # Some versions of bash will fail to source /dev/null (special files
   2172   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2173   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2174     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2175 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2176     case $cache_file in
   2177       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2178       *)                      . "./$cache_file";;
   2179     esac
   2180   fi
   2181 else
   2182   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2183 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2184   >$cache_file
   2185 fi
   2186 
   2187 # Check that the precious variables saved in the cache have kept the same
   2188 # value.
   2189 ac_cache_corrupted=false
   2190 for ac_var in $ac_precious_vars; do
   2191   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2192   eval ac_new_set=\$ac_env_${ac_var}_set
   2193   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2194   eval ac_new_val=\$ac_env_${ac_var}_value
   2195   case $ac_old_set,$ac_new_set in
   2196     set,)
   2197       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2198 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2199       ac_cache_corrupted=: ;;
   2200     ,set)
   2201       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2202 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2203       ac_cache_corrupted=: ;;
   2204     ,);;
   2205     *)
   2206       if test "x$ac_old_val" != "x$ac_new_val"; then
   2207 	# differences in whitespace do not lead to failure.
   2208 	ac_old_val_w=`echo x $ac_old_val`
   2209 	ac_new_val_w=`echo x $ac_new_val`
   2210 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2211 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2212 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2213 	  ac_cache_corrupted=:
   2214 	else
   2215 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2216 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2217 	  eval $ac_var=\$ac_old_val
   2218 	fi
   2219 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2220 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2221 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2222 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2223       fi;;
   2224   esac
   2225   # Pass precious variables to config.status.
   2226   if test "$ac_new_set" = set; then
   2227     case $ac_new_val in
   2228     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2229     *) ac_arg=$ac_var=$ac_new_val ;;
   2230     esac
   2231     case " $ac_configure_args " in
   2232       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2233       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2234     esac
   2235   fi
   2236 done
   2237 if $ac_cache_corrupted; then
   2238   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2240   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2241 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2242   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2243 fi
   2244 ## -------------------- ##
   2245 ## Main body of script. ##
   2246 ## -------------------- ##
   2247 
   2248 ac_ext=c
   2249 ac_cpp='$CPP $CPPFLAGS'
   2250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2253 
   2254 
   2255 ac_config_headers="$ac_config_headers nbtool_config.h"
   2256 
   2257 ac_config_files="$ac_config_files defs.mk"
   2258 
   2259 
   2260 
   2261 
   2262 
   2263 
   2264 # Autoheader header and footer
   2265 
   2266 
   2267 
   2268 
   2269 
   2270 ac_ext=c
   2271 ac_cpp='$CPP $CPPFLAGS'
   2272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2275 if test -n "$ac_tool_prefix"; then
   2276   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2277 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2279 $as_echo_n "checking for $ac_word... " >&6; }
   2280 if ${ac_cv_prog_CC+:} false; then :
   2281   $as_echo_n "(cached) " >&6
   2282 else
   2283   if test -n "$CC"; then
   2284   ac_cv_prog_CC="$CC" # Let the user override the test.
   2285 else
   2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2287 for as_dir in $PATH
   2288 do
   2289   IFS=$as_save_IFS
   2290   test -z "$as_dir" && as_dir=.
   2291     for ac_exec_ext in '' $ac_executable_extensions; do
   2292   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2293     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2294     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2295     break 2
   2296   fi
   2297 done
   2298   done
   2299 IFS=$as_save_IFS
   2300 
   2301 fi
   2302 fi
   2303 CC=$ac_cv_prog_CC
   2304 if test -n "$CC"; then
   2305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2306 $as_echo "$CC" >&6; }
   2307 else
   2308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2309 $as_echo "no" >&6; }
   2310 fi
   2311 
   2312 
   2313 fi
   2314 if test -z "$ac_cv_prog_CC"; then
   2315   ac_ct_CC=$CC
   2316   # Extract the first word of "gcc", so it can be a program name with args.
   2317 set dummy gcc; ac_word=$2
   2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2319 $as_echo_n "checking for $ac_word... " >&6; }
   2320 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2321   $as_echo_n "(cached) " >&6
   2322 else
   2323   if test -n "$ac_ct_CC"; then
   2324   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2325 else
   2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2327 for as_dir in $PATH
   2328 do
   2329   IFS=$as_save_IFS
   2330   test -z "$as_dir" && as_dir=.
   2331     for ac_exec_ext in '' $ac_executable_extensions; do
   2332   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2333     ac_cv_prog_ac_ct_CC="gcc"
   2334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2335     break 2
   2336   fi
   2337 done
   2338   done
   2339 IFS=$as_save_IFS
   2340 
   2341 fi
   2342 fi
   2343 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2344 if test -n "$ac_ct_CC"; then
   2345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2346 $as_echo "$ac_ct_CC" >&6; }
   2347 else
   2348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2349 $as_echo "no" >&6; }
   2350 fi
   2351 
   2352   if test "x$ac_ct_CC" = x; then
   2353     CC=""
   2354   else
   2355     case $cross_compiling:$ac_tool_warned in
   2356 yes:)
   2357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2359 ac_tool_warned=yes ;;
   2360 esac
   2361     CC=$ac_ct_CC
   2362   fi
   2363 else
   2364   CC="$ac_cv_prog_CC"
   2365 fi
   2366 
   2367 if test -z "$CC"; then
   2368           if test -n "$ac_tool_prefix"; then
   2369     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2370 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2372 $as_echo_n "checking for $ac_word... " >&6; }
   2373 if ${ac_cv_prog_CC+:} false; then :
   2374   $as_echo_n "(cached) " >&6
   2375 else
   2376   if test -n "$CC"; then
   2377   ac_cv_prog_CC="$CC" # Let the user override the test.
   2378 else
   2379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2380 for as_dir in $PATH
   2381 do
   2382   IFS=$as_save_IFS
   2383   test -z "$as_dir" && as_dir=.
   2384     for ac_exec_ext in '' $ac_executable_extensions; do
   2385   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2386     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2388     break 2
   2389   fi
   2390 done
   2391   done
   2392 IFS=$as_save_IFS
   2393 
   2394 fi
   2395 fi
   2396 CC=$ac_cv_prog_CC
   2397 if test -n "$CC"; then
   2398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2399 $as_echo "$CC" >&6; }
   2400 else
   2401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2402 $as_echo "no" >&6; }
   2403 fi
   2404 
   2405 
   2406   fi
   2407 fi
   2408 if test -z "$CC"; then
   2409   # Extract the first word of "cc", so it can be a program name with args.
   2410 set dummy cc; ac_word=$2
   2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2412 $as_echo_n "checking for $ac_word... " >&6; }
   2413 if ${ac_cv_prog_CC+:} false; then :
   2414   $as_echo_n "(cached) " >&6
   2415 else
   2416   if test -n "$CC"; then
   2417   ac_cv_prog_CC="$CC" # Let the user override the test.
   2418 else
   2419   ac_prog_rejected=no
   2420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2421 for as_dir in $PATH
   2422 do
   2423   IFS=$as_save_IFS
   2424   test -z "$as_dir" && as_dir=.
   2425     for ac_exec_ext in '' $ac_executable_extensions; do
   2426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2427     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2428        ac_prog_rejected=yes
   2429        continue
   2430      fi
   2431     ac_cv_prog_CC="cc"
   2432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2433     break 2
   2434   fi
   2435 done
   2436   done
   2437 IFS=$as_save_IFS
   2438 
   2439 if test $ac_prog_rejected = yes; then
   2440   # We found a bogon in the path, so make sure we never use it.
   2441   set dummy $ac_cv_prog_CC
   2442   shift
   2443   if test $# != 0; then
   2444     # We chose a different compiler from the bogus one.
   2445     # However, it has the same basename, so the bogon will be chosen
   2446     # first if we set CC to just the basename; use the full file name.
   2447     shift
   2448     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2449   fi
   2450 fi
   2451 fi
   2452 fi
   2453 CC=$ac_cv_prog_CC
   2454 if test -n "$CC"; then
   2455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2456 $as_echo "$CC" >&6; }
   2457 else
   2458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2459 $as_echo "no" >&6; }
   2460 fi
   2461 
   2462 
   2463 fi
   2464 if test -z "$CC"; then
   2465   if test -n "$ac_tool_prefix"; then
   2466   for ac_prog in cl.exe
   2467   do
   2468     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2469 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2471 $as_echo_n "checking for $ac_word... " >&6; }
   2472 if ${ac_cv_prog_CC+:} false; then :
   2473   $as_echo_n "(cached) " >&6
   2474 else
   2475   if test -n "$CC"; then
   2476   ac_cv_prog_CC="$CC" # Let the user override the test.
   2477 else
   2478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2479 for as_dir in $PATH
   2480 do
   2481   IFS=$as_save_IFS
   2482   test -z "$as_dir" && as_dir=.
   2483     for ac_exec_ext in '' $ac_executable_extensions; do
   2484   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2485     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2487     break 2
   2488   fi
   2489 done
   2490   done
   2491 IFS=$as_save_IFS
   2492 
   2493 fi
   2494 fi
   2495 CC=$ac_cv_prog_CC
   2496 if test -n "$CC"; then
   2497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2498 $as_echo "$CC" >&6; }
   2499 else
   2500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2501 $as_echo "no" >&6; }
   2502 fi
   2503 
   2504 
   2505     test -n "$CC" && break
   2506   done
   2507 fi
   2508 if test -z "$CC"; then
   2509   ac_ct_CC=$CC
   2510   for ac_prog in cl.exe
   2511 do
   2512   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2513 set dummy $ac_prog; ac_word=$2
   2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2515 $as_echo_n "checking for $ac_word... " >&6; }
   2516 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2517   $as_echo_n "(cached) " >&6
   2518 else
   2519   if test -n "$ac_ct_CC"; then
   2520   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2521 else
   2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2523 for as_dir in $PATH
   2524 do
   2525   IFS=$as_save_IFS
   2526   test -z "$as_dir" && as_dir=.
   2527     for ac_exec_ext in '' $ac_executable_extensions; do
   2528   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2529     ac_cv_prog_ac_ct_CC="$ac_prog"
   2530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2531     break 2
   2532   fi
   2533 done
   2534   done
   2535 IFS=$as_save_IFS
   2536 
   2537 fi
   2538 fi
   2539 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2540 if test -n "$ac_ct_CC"; then
   2541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2542 $as_echo "$ac_ct_CC" >&6; }
   2543 else
   2544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2545 $as_echo "no" >&6; }
   2546 fi
   2547 
   2548 
   2549   test -n "$ac_ct_CC" && break
   2550 done
   2551 
   2552   if test "x$ac_ct_CC" = x; then
   2553     CC=""
   2554   else
   2555     case $cross_compiling:$ac_tool_warned in
   2556 yes:)
   2557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2559 ac_tool_warned=yes ;;
   2560 esac
   2561     CC=$ac_ct_CC
   2562   fi
   2563 fi
   2564 
   2565 fi
   2566 
   2567 
   2568 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2570 as_fn_error $? "no acceptable C compiler found in \$PATH
   2571 See \`config.log' for more details" "$LINENO" 5; }
   2572 
   2573 # Provide some information about the compiler.
   2574 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2575 set X $ac_compile
   2576 ac_compiler=$2
   2577 for ac_option in --version -v -V -qversion; do
   2578   { { ac_try="$ac_compiler $ac_option >&5"
   2579 case "(($ac_try" in
   2580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2581   *) ac_try_echo=$ac_try;;
   2582 esac
   2583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2584 $as_echo "$ac_try_echo"; } >&5
   2585   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2586   ac_status=$?
   2587   if test -s conftest.err; then
   2588     sed '10a\
   2589 ... rest of stderr output deleted ...
   2590          10q' conftest.err >conftest.er1
   2591     cat conftest.er1 >&5
   2592   fi
   2593   rm -f conftest.er1 conftest.err
   2594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2595   test $ac_status = 0; }
   2596 done
   2597 
   2598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2599 /* end confdefs.h.  */
   2600 
   2601 int
   2602 main ()
   2603 {
   2604 
   2605   ;
   2606   return 0;
   2607 }
   2608 _ACEOF
   2609 ac_clean_files_save=$ac_clean_files
   2610 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2611 # Try to create an executable without -o first, disregard a.out.
   2612 # It will help us diagnose broken compilers, and finding out an intuition
   2613 # of exeext.
   2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2615 $as_echo_n "checking whether the C compiler works... " >&6; }
   2616 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2617 
   2618 # The possible output files:
   2619 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2620 
   2621 ac_rmfiles=
   2622 for ac_file in $ac_files
   2623 do
   2624   case $ac_file in
   2625     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2626     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2627   esac
   2628 done
   2629 rm -f $ac_rmfiles
   2630 
   2631 if { { ac_try="$ac_link_default"
   2632 case "(($ac_try" in
   2633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2634   *) ac_try_echo=$ac_try;;
   2635 esac
   2636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2637 $as_echo "$ac_try_echo"; } >&5
   2638   (eval "$ac_link_default") 2>&5
   2639   ac_status=$?
   2640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2641   test $ac_status = 0; }; then :
   2642   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2643 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2644 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2645 # so that the user can short-circuit this test for compilers unknown to
   2646 # Autoconf.
   2647 for ac_file in $ac_files ''
   2648 do
   2649   test -f "$ac_file" || continue
   2650   case $ac_file in
   2651     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2652 	;;
   2653     [ab].out )
   2654 	# We found the default executable, but exeext='' is most
   2655 	# certainly right.
   2656 	break;;
   2657     *.* )
   2658 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2659 	then :; else
   2660 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2661 	fi
   2662 	# We set ac_cv_exeext here because the later test for it is not
   2663 	# safe: cross compilers may not add the suffix if given an `-o'
   2664 	# argument, so we may need to know it at that point already.
   2665 	# Even if this section looks crufty: it has the advantage of
   2666 	# actually working.
   2667 	break;;
   2668     * )
   2669 	break;;
   2670   esac
   2671 done
   2672 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2673 
   2674 else
   2675   ac_file=''
   2676 fi
   2677 if test -z "$ac_file"; then :
   2678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2679 $as_echo "no" >&6; }
   2680 $as_echo "$as_me: failed program was:" >&5
   2681 sed 's/^/| /' conftest.$ac_ext >&5
   2682 
   2683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2685 as_fn_error 77 "C compiler cannot create executables
   2686 See \`config.log' for more details" "$LINENO" 5; }
   2687 else
   2688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2689 $as_echo "yes" >&6; }
   2690 fi
   2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2692 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2694 $as_echo "$ac_file" >&6; }
   2695 ac_exeext=$ac_cv_exeext
   2696 
   2697 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2698 ac_clean_files=$ac_clean_files_save
   2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2700 $as_echo_n "checking for suffix of executables... " >&6; }
   2701 if { { ac_try="$ac_link"
   2702 case "(($ac_try" in
   2703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2704   *) ac_try_echo=$ac_try;;
   2705 esac
   2706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2707 $as_echo "$ac_try_echo"; } >&5
   2708   (eval "$ac_link") 2>&5
   2709   ac_status=$?
   2710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2711   test $ac_status = 0; }; then :
   2712   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2713 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2714 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2715 # `rm'.
   2716 for ac_file in conftest.exe conftest conftest.*; do
   2717   test -f "$ac_file" || continue
   2718   case $ac_file in
   2719     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2720     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2721 	  break;;
   2722     * ) break;;
   2723   esac
   2724 done
   2725 else
   2726   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2728 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2729 See \`config.log' for more details" "$LINENO" 5; }
   2730 fi
   2731 rm -f conftest conftest$ac_cv_exeext
   2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2733 $as_echo "$ac_cv_exeext" >&6; }
   2734 
   2735 rm -f conftest.$ac_ext
   2736 EXEEXT=$ac_cv_exeext
   2737 ac_exeext=$EXEEXT
   2738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2739 /* end confdefs.h.  */
   2740 #include <stdio.h>
   2741 int
   2742 main ()
   2743 {
   2744 FILE *f = fopen ("conftest.out", "w");
   2745  return ferror (f) || fclose (f) != 0;
   2746 
   2747   ;
   2748   return 0;
   2749 }
   2750 _ACEOF
   2751 ac_clean_files="$ac_clean_files conftest.out"
   2752 # Check that the compiler produces executables we can run.  If not, either
   2753 # the compiler is broken, or we cross compile.
   2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2755 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2756 if test "$cross_compiling" != yes; then
   2757   { { ac_try="$ac_link"
   2758 case "(($ac_try" in
   2759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2760   *) ac_try_echo=$ac_try;;
   2761 esac
   2762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2763 $as_echo "$ac_try_echo"; } >&5
   2764   (eval "$ac_link") 2>&5
   2765   ac_status=$?
   2766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2767   test $ac_status = 0; }
   2768   if { ac_try='./conftest$ac_cv_exeext'
   2769   { { case "(($ac_try" in
   2770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2771   *) ac_try_echo=$ac_try;;
   2772 esac
   2773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2774 $as_echo "$ac_try_echo"; } >&5
   2775   (eval "$ac_try") 2>&5
   2776   ac_status=$?
   2777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2778   test $ac_status = 0; }; }; then
   2779     cross_compiling=no
   2780   else
   2781     if test "$cross_compiling" = maybe; then
   2782 	cross_compiling=yes
   2783     else
   2784 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2786 as_fn_error $? "cannot run C compiled programs.
   2787 If you meant to cross compile, use \`--host'.
   2788 See \`config.log' for more details" "$LINENO" 5; }
   2789     fi
   2790   fi
   2791 fi
   2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2793 $as_echo "$cross_compiling" >&6; }
   2794 
   2795 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2796 ac_clean_files=$ac_clean_files_save
   2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2798 $as_echo_n "checking for suffix of object files... " >&6; }
   2799 if ${ac_cv_objext+:} false; then :
   2800   $as_echo_n "(cached) " >&6
   2801 else
   2802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2803 /* end confdefs.h.  */
   2804 
   2805 int
   2806 main ()
   2807 {
   2808 
   2809   ;
   2810   return 0;
   2811 }
   2812 _ACEOF
   2813 rm -f conftest.o conftest.obj
   2814 if { { ac_try="$ac_compile"
   2815 case "(($ac_try" in
   2816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2817   *) ac_try_echo=$ac_try;;
   2818 esac
   2819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2820 $as_echo "$ac_try_echo"; } >&5
   2821   (eval "$ac_compile") 2>&5
   2822   ac_status=$?
   2823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2824   test $ac_status = 0; }; then :
   2825   for ac_file in conftest.o conftest.obj conftest.*; do
   2826   test -f "$ac_file" || continue;
   2827   case $ac_file in
   2828     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2829     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2830        break;;
   2831   esac
   2832 done
   2833 else
   2834   $as_echo "$as_me: failed program was:" >&5
   2835 sed 's/^/| /' conftest.$ac_ext >&5
   2836 
   2837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2839 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2840 See \`config.log' for more details" "$LINENO" 5; }
   2841 fi
   2842 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2843 fi
   2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2845 $as_echo "$ac_cv_objext" >&6; }
   2846 OBJEXT=$ac_cv_objext
   2847 ac_objext=$OBJEXT
   2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2849 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2850 if ${ac_cv_c_compiler_gnu+:} false; then :
   2851   $as_echo_n "(cached) " >&6
   2852 else
   2853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2854 /* end confdefs.h.  */
   2855 
   2856 int
   2857 main ()
   2858 {
   2859 #ifndef __GNUC__
   2860        choke me
   2861 #endif
   2862 
   2863   ;
   2864   return 0;
   2865 }
   2866 _ACEOF
   2867 if ac_fn_c_try_compile "$LINENO"; then :
   2868   ac_compiler_gnu=yes
   2869 else
   2870   ac_compiler_gnu=no
   2871 fi
   2872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2873 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2874 
   2875 fi
   2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2877 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2878 if test $ac_compiler_gnu = yes; then
   2879   GCC=yes
   2880 else
   2881   GCC=
   2882 fi
   2883 ac_test_CFLAGS=${CFLAGS+set}
   2884 ac_save_CFLAGS=$CFLAGS
   2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2886 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2887 if ${ac_cv_prog_cc_g+:} false; then :
   2888   $as_echo_n "(cached) " >&6
   2889 else
   2890   ac_save_c_werror_flag=$ac_c_werror_flag
   2891    ac_c_werror_flag=yes
   2892    ac_cv_prog_cc_g=no
   2893    CFLAGS="-g"
   2894    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2895 /* end confdefs.h.  */
   2896 
   2897 int
   2898 main ()
   2899 {
   2900 
   2901   ;
   2902   return 0;
   2903 }
   2904 _ACEOF
   2905 if ac_fn_c_try_compile "$LINENO"; then :
   2906   ac_cv_prog_cc_g=yes
   2907 else
   2908   CFLAGS=""
   2909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2910 /* end confdefs.h.  */
   2911 
   2912 int
   2913 main ()
   2914 {
   2915 
   2916   ;
   2917   return 0;
   2918 }
   2919 _ACEOF
   2920 if ac_fn_c_try_compile "$LINENO"; then :
   2921 
   2922 else
   2923   ac_c_werror_flag=$ac_save_c_werror_flag
   2924 	 CFLAGS="-g"
   2925 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2926 /* end confdefs.h.  */
   2927 
   2928 int
   2929 main ()
   2930 {
   2931 
   2932   ;
   2933   return 0;
   2934 }
   2935 _ACEOF
   2936 if ac_fn_c_try_compile "$LINENO"; then :
   2937   ac_cv_prog_cc_g=yes
   2938 fi
   2939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2940 fi
   2941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2942 fi
   2943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2944    ac_c_werror_flag=$ac_save_c_werror_flag
   2945 fi
   2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2947 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2948 if test "$ac_test_CFLAGS" = set; then
   2949   CFLAGS=$ac_save_CFLAGS
   2950 elif test $ac_cv_prog_cc_g = yes; then
   2951   if test "$GCC" = yes; then
   2952     CFLAGS="-g -O2"
   2953   else
   2954     CFLAGS="-g"
   2955   fi
   2956 else
   2957   if test "$GCC" = yes; then
   2958     CFLAGS="-O2"
   2959   else
   2960     CFLAGS=
   2961   fi
   2962 fi
   2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2964 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2965 if ${ac_cv_prog_cc_c89+:} false; then :
   2966   $as_echo_n "(cached) " >&6
   2967 else
   2968   ac_cv_prog_cc_c89=no
   2969 ac_save_CC=$CC
   2970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2971 /* end confdefs.h.  */
   2972 #include <stdarg.h>
   2973 #include <stdio.h>
   2974 struct stat;
   2975 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2976 struct buf { int x; };
   2977 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2978 static char *e (p, i)
   2979      char **p;
   2980      int i;
   2981 {
   2982   return p[i];
   2983 }
   2984 static char *f (char * (*g) (char **, int), char **p, ...)
   2985 {
   2986   char *s;
   2987   va_list v;
   2988   va_start (v,p);
   2989   s = g (p, va_arg (v,int));
   2990   va_end (v);
   2991   return s;
   2992 }
   2993 
   2994 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2995    function prototypes and stuff, but not '\xHH' hex character constants.
   2996    These don't provoke an error unfortunately, instead are silently treated
   2997    as 'x'.  The following induces an error, until -std is added to get
   2998    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2999    array size at least.  It's necessary to write '\x00'==0 to get something
   3000    that's true only with -std.  */
   3001 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3002 
   3003 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3004    inside strings and character constants.  */
   3005 #define FOO(x) 'x'
   3006 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3007 
   3008 int test (int i, double x);
   3009 struct s1 {int (*f) (int a);};
   3010 struct s2 {int (*f) (double a);};
   3011 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3012 int argc;
   3013 char **argv;
   3014 int
   3015 main ()
   3016 {
   3017 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3018   ;
   3019   return 0;
   3020 }
   3021 _ACEOF
   3022 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3023 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3024 do
   3025   CC="$ac_save_CC $ac_arg"
   3026   if ac_fn_c_try_compile "$LINENO"; then :
   3027   ac_cv_prog_cc_c89=$ac_arg
   3028 fi
   3029 rm -f core conftest.err conftest.$ac_objext
   3030   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3031 done
   3032 rm -f conftest.$ac_ext
   3033 CC=$ac_save_CC
   3034 
   3035 fi
   3036 # AC_CACHE_VAL
   3037 case "x$ac_cv_prog_cc_c89" in
   3038   x)
   3039     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3040 $as_echo "none needed" >&6; } ;;
   3041   xno)
   3042     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3043 $as_echo "unsupported" >&6; } ;;
   3044   *)
   3045     CC="$CC $ac_cv_prog_cc_c89"
   3046     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3047 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3048 esac
   3049 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3050 
   3051 fi
   3052 
   3053 ac_ext=c
   3054 ac_cpp='$CPP $CPPFLAGS'
   3055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3058 
   3059 
   3060 ac_ext=c
   3061 ac_cpp='$CPP $CPPFLAGS'
   3062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3066 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3067 # On Suns, sometimes $CPP names a directory.
   3068 if test -n "$CPP" && test -d "$CPP"; then
   3069   CPP=
   3070 fi
   3071 if test -z "$CPP"; then
   3072   if ${ac_cv_prog_CPP+:} false; then :
   3073   $as_echo_n "(cached) " >&6
   3074 else
   3075       # Double quotes because CPP needs to be expanded
   3076     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3077     do
   3078       ac_preproc_ok=false
   3079 for ac_c_preproc_warn_flag in '' yes
   3080 do
   3081   # Use a header file that comes with gcc, so configuring glibc
   3082   # with a fresh cross-compiler works.
   3083   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3084   # <limits.h> exists even on freestanding compilers.
   3085   # On the NeXT, cc -E runs the code through the compiler's parser,
   3086   # not just through cpp. "Syntax error" is here to catch this case.
   3087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3088 /* end confdefs.h.  */
   3089 #ifdef __STDC__
   3090 # include <limits.h>
   3091 #else
   3092 # include <assert.h>
   3093 #endif
   3094 		     Syntax error
   3095 _ACEOF
   3096 if ac_fn_c_try_cpp "$LINENO"; then :
   3097 
   3098 else
   3099   # Broken: fails on valid input.
   3100 continue
   3101 fi
   3102 rm -f conftest.err conftest.i conftest.$ac_ext
   3103 
   3104   # OK, works on sane cases.  Now check whether nonexistent headers
   3105   # can be detected and how.
   3106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3107 /* end confdefs.h.  */
   3108 #include <ac_nonexistent.h>
   3109 _ACEOF
   3110 if ac_fn_c_try_cpp "$LINENO"; then :
   3111   # Broken: success on invalid input.
   3112 continue
   3113 else
   3114   # Passes both tests.
   3115 ac_preproc_ok=:
   3116 break
   3117 fi
   3118 rm -f conftest.err conftest.i conftest.$ac_ext
   3119 
   3120 done
   3121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3122 rm -f conftest.i conftest.err conftest.$ac_ext
   3123 if $ac_preproc_ok; then :
   3124   break
   3125 fi
   3126 
   3127     done
   3128     ac_cv_prog_CPP=$CPP
   3129 
   3130 fi
   3131   CPP=$ac_cv_prog_CPP
   3132 else
   3133   ac_cv_prog_CPP=$CPP
   3134 fi
   3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3136 $as_echo "$CPP" >&6; }
   3137 ac_preproc_ok=false
   3138 for ac_c_preproc_warn_flag in '' yes
   3139 do
   3140   # Use a header file that comes with gcc, so configuring glibc
   3141   # with a fresh cross-compiler works.
   3142   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3143   # <limits.h> exists even on freestanding compilers.
   3144   # On the NeXT, cc -E runs the code through the compiler's parser,
   3145   # not just through cpp. "Syntax error" is here to catch this case.
   3146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3147 /* end confdefs.h.  */
   3148 #ifdef __STDC__
   3149 # include <limits.h>
   3150 #else
   3151 # include <assert.h>
   3152 #endif
   3153 		     Syntax error
   3154 _ACEOF
   3155 if ac_fn_c_try_cpp "$LINENO"; then :
   3156 
   3157 else
   3158   # Broken: fails on valid input.
   3159 continue
   3160 fi
   3161 rm -f conftest.err conftest.i conftest.$ac_ext
   3162 
   3163   # OK, works on sane cases.  Now check whether nonexistent headers
   3164   # can be detected and how.
   3165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3166 /* end confdefs.h.  */
   3167 #include <ac_nonexistent.h>
   3168 _ACEOF
   3169 if ac_fn_c_try_cpp "$LINENO"; then :
   3170   # Broken: success on invalid input.
   3171 continue
   3172 else
   3173   # Passes both tests.
   3174 ac_preproc_ok=:
   3175 break
   3176 fi
   3177 rm -f conftest.err conftest.i conftest.$ac_ext
   3178 
   3179 done
   3180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3181 rm -f conftest.i conftest.err conftest.$ac_ext
   3182 if $ac_preproc_ok; then :
   3183 
   3184 else
   3185   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3187 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3188 See \`config.log' for more details" "$LINENO" 5; }
   3189 fi
   3190 
   3191 ac_ext=c
   3192 ac_cpp='$CPP $CPPFLAGS'
   3193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3196 
   3197 
   3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3199 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3200 if ${ac_cv_path_GREP+:} false; then :
   3201   $as_echo_n "(cached) " >&6
   3202 else
   3203   if test -z "$GREP"; then
   3204   ac_path_GREP_found=false
   3205   # Loop through the user's path and test for each of PROGNAME-LIST
   3206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3207 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3208 do
   3209   IFS=$as_save_IFS
   3210   test -z "$as_dir" && as_dir=.
   3211     for ac_prog in grep ggrep; do
   3212     for ac_exec_ext in '' $ac_executable_extensions; do
   3213       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3214       as_fn_executable_p "$ac_path_GREP" || continue
   3215 # Check for GNU ac_path_GREP and select it if it is found.
   3216   # Check for GNU $ac_path_GREP
   3217 case `"$ac_path_GREP" --version 2>&1` in
   3218 *GNU*)
   3219   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3220 *)
   3221   ac_count=0
   3222   $as_echo_n 0123456789 >"conftest.in"
   3223   while :
   3224   do
   3225     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3226     mv "conftest.tmp" "conftest.in"
   3227     cp "conftest.in" "conftest.nl"
   3228     $as_echo 'GREP' >> "conftest.nl"
   3229     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3230     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3231     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3232     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3233       # Best one so far, save it but keep looking for a better one
   3234       ac_cv_path_GREP="$ac_path_GREP"
   3235       ac_path_GREP_max=$ac_count
   3236     fi
   3237     # 10*(2^10) chars as input seems more than enough
   3238     test $ac_count -gt 10 && break
   3239   done
   3240   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3241 esac
   3242 
   3243       $ac_path_GREP_found && break 3
   3244     done
   3245   done
   3246   done
   3247 IFS=$as_save_IFS
   3248   if test -z "$ac_cv_path_GREP"; then
   3249     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3250   fi
   3251 else
   3252   ac_cv_path_GREP=$GREP
   3253 fi
   3254 
   3255 fi
   3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3257 $as_echo "$ac_cv_path_GREP" >&6; }
   3258  GREP="$ac_cv_path_GREP"
   3259 
   3260 
   3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3262 $as_echo_n "checking for egrep... " >&6; }
   3263 if ${ac_cv_path_EGREP+:} false; then :
   3264   $as_echo_n "(cached) " >&6
   3265 else
   3266   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3267    then ac_cv_path_EGREP="$GREP -E"
   3268    else
   3269      if test -z "$EGREP"; then
   3270   ac_path_EGREP_found=false
   3271   # Loop through the user's path and test for each of PROGNAME-LIST
   3272   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3273 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3274 do
   3275   IFS=$as_save_IFS
   3276   test -z "$as_dir" && as_dir=.
   3277     for ac_prog in egrep; do
   3278     for ac_exec_ext in '' $ac_executable_extensions; do
   3279       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3280       as_fn_executable_p "$ac_path_EGREP" || continue
   3281 # Check for GNU ac_path_EGREP and select it if it is found.
   3282   # Check for GNU $ac_path_EGREP
   3283 case `"$ac_path_EGREP" --version 2>&1` in
   3284 *GNU*)
   3285   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3286 *)
   3287   ac_count=0
   3288   $as_echo_n 0123456789 >"conftest.in"
   3289   while :
   3290   do
   3291     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3292     mv "conftest.tmp" "conftest.in"
   3293     cp "conftest.in" "conftest.nl"
   3294     $as_echo 'EGREP' >> "conftest.nl"
   3295     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3296     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3297     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3298     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3299       # Best one so far, save it but keep looking for a better one
   3300       ac_cv_path_EGREP="$ac_path_EGREP"
   3301       ac_path_EGREP_max=$ac_count
   3302     fi
   3303     # 10*(2^10) chars as input seems more than enough
   3304     test $ac_count -gt 10 && break
   3305   done
   3306   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3307 esac
   3308 
   3309       $ac_path_EGREP_found && break 3
   3310     done
   3311   done
   3312   done
   3313 IFS=$as_save_IFS
   3314   if test -z "$ac_cv_path_EGREP"; then
   3315     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3316   fi
   3317 else
   3318   ac_cv_path_EGREP=$EGREP
   3319 fi
   3320 
   3321    fi
   3322 fi
   3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3324 $as_echo "$ac_cv_path_EGREP" >&6; }
   3325  EGREP="$ac_cv_path_EGREP"
   3326 
   3327 
   3328                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NetBSD" >&5
   3329 $as_echo_n "checking for NetBSD... " >&6; }
   3330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3331 /* end confdefs.h.  */
   3332 #ifdef __NetBSD__
   3333 	yes
   3334 	#endif
   3335 
   3336 _ACEOF
   3337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3338   $EGREP "yes" >/dev/null 2>&1; then :
   3339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3340 $as_echo "yes" >&6; }
   3341 
   3342 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3343 
   3344 
   3345 $as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h
   3346 
   3347 
   3348 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   3349 
   3350 else
   3351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3352 $as_echo "no" >&6; }
   3353 fi
   3354 rm -f conftest*
   3355 
   3356 
   3357 # Extract the first word of "sh", so it can be a program name with args.
   3358 set dummy sh; ac_word=$2
   3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3360 $as_echo_n "checking for $ac_word... " >&6; }
   3361 if ${ac_cv_path_BSHELL+:} false; then :
   3362   $as_echo_n "(cached) " >&6
   3363 else
   3364   case $BSHELL in
   3365   [\\/]* | ?:[\\/]*)
   3366   ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
   3367   ;;
   3368   *)
   3369   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3370 for as_dir in $PATH
   3371 do
   3372   IFS=$as_save_IFS
   3373   test -z "$as_dir" && as_dir=.
   3374     for ac_exec_ext in '' $ac_executable_extensions; do
   3375   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3376     ac_cv_path_BSHELL="$as_dir/$ac_word$ac_exec_ext"
   3377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3378     break 2
   3379   fi
   3380 done
   3381   done
   3382 IFS=$as_save_IFS
   3383 
   3384   ;;
   3385 esac
   3386 fi
   3387 BSHELL=$ac_cv_path_BSHELL
   3388 if test -n "$BSHELL"; then
   3389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BSHELL" >&5
   3390 $as_echo "$BSHELL" >&6; }
   3391 else
   3392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3393 $as_echo "no" >&6; }
   3394 fi
   3395 
   3396 
   3397 if test x"$BSHELL" = x; then
   3398 	as_fn_error $? "sh must be somewhere on \$PATH" "$LINENO" 5
   3399 fi
   3400 
   3401 cat >>confdefs.h <<_ACEOF
   3402 #define PATH_BSHELL "$BSHELL"
   3403 _ACEOF
   3404 
   3405 
   3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3407 $as_echo_n "checking for ANSI C header files... " >&6; }
   3408 if ${ac_cv_header_stdc+:} false; then :
   3409   $as_echo_n "(cached) " >&6
   3410 else
   3411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3412 /* end confdefs.h.  */
   3413 #include <stdlib.h>
   3414 #include <stdarg.h>
   3415 #include <string.h>
   3416 #include <float.h>
   3417 
   3418 int
   3419 main ()
   3420 {
   3421 
   3422   ;
   3423   return 0;
   3424 }
   3425 _ACEOF
   3426 if ac_fn_c_try_compile "$LINENO"; then :
   3427   ac_cv_header_stdc=yes
   3428 else
   3429   ac_cv_header_stdc=no
   3430 fi
   3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3432 
   3433 if test $ac_cv_header_stdc = yes; then
   3434   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3436 /* end confdefs.h.  */
   3437 #include <string.h>
   3438 
   3439 _ACEOF
   3440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3441   $EGREP "memchr" >/dev/null 2>&1; then :
   3442 
   3443 else
   3444   ac_cv_header_stdc=no
   3445 fi
   3446 rm -f conftest*
   3447 
   3448 fi
   3449 
   3450 if test $ac_cv_header_stdc = yes; then
   3451   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3453 /* end confdefs.h.  */
   3454 #include <stdlib.h>
   3455 
   3456 _ACEOF
   3457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3458   $EGREP "free" >/dev/null 2>&1; then :
   3459 
   3460 else
   3461   ac_cv_header_stdc=no
   3462 fi
   3463 rm -f conftest*
   3464 
   3465 fi
   3466 
   3467 if test $ac_cv_header_stdc = yes; then
   3468   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3469   if test "$cross_compiling" = yes; then :
   3470   :
   3471 else
   3472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3473 /* end confdefs.h.  */
   3474 #include <ctype.h>
   3475 #include <stdlib.h>
   3476 #if ((' ' & 0x0FF) == 0x020)
   3477 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3478 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3479 #else
   3480 # define ISLOWER(c) \
   3481 		   (('a' <= (c) && (c) <= 'i') \
   3482 		     || ('j' <= (c) && (c) <= 'r') \
   3483 		     || ('s' <= (c) && (c) <= 'z'))
   3484 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3485 #endif
   3486 
   3487 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3488 int
   3489 main ()
   3490 {
   3491   int i;
   3492   for (i = 0; i < 256; i++)
   3493     if (XOR (islower (i), ISLOWER (i))
   3494 	|| toupper (i) != TOUPPER (i))
   3495       return 2;
   3496   return 0;
   3497 }
   3498 _ACEOF
   3499 if ac_fn_c_try_run "$LINENO"; then :
   3500 
   3501 else
   3502   ac_cv_header_stdc=no
   3503 fi
   3504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3505   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3506 fi
   3507 
   3508 fi
   3509 fi
   3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3511 $as_echo "$ac_cv_header_stdc" >&6; }
   3512 if test $ac_cv_header_stdc = yes; then
   3513 
   3514 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3515 
   3516 fi
   3517 
   3518 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3519 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3520 		  inttypes.h stdint.h unistd.h
   3521 do :
   3522   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3523 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3524 "
   3525 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3526   cat >>confdefs.h <<_ACEOF
   3527 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3528 _ACEOF
   3529 
   3530 fi
   3531 
   3532 done
   3533 
   3534 
   3535  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   3536 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   3537 if ${ac_cv_c_bigendian+:} false; then :
   3538   $as_echo_n "(cached) " >&6
   3539 else
   3540   ac_cv_c_bigendian=unknown
   3541     # See if we're dealing with a universal compiler.
   3542     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3543 /* end confdefs.h.  */
   3544 #ifndef __APPLE_CC__
   3545 	       not a universal capable compiler
   3546 	     #endif
   3547 	     typedef int dummy;
   3548 
   3549 _ACEOF
   3550 if ac_fn_c_try_compile "$LINENO"; then :
   3551 
   3552 	# Check for potential -arch flags.  It is not universal unless
   3553 	# there are at least two -arch flags with different values.
   3554 	ac_arch=
   3555 	ac_prev=
   3556 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   3557 	 if test -n "$ac_prev"; then
   3558 	   case $ac_word in
   3559 	     i?86 | x86_64 | ppc | ppc64)
   3560 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   3561 		 ac_arch=$ac_word
   3562 	       else
   3563 		 ac_cv_c_bigendian=universal
   3564 		 break
   3565 	       fi
   3566 	       ;;
   3567 	   esac
   3568 	   ac_prev=
   3569 	 elif test "x$ac_word" = "x-arch"; then
   3570 	   ac_prev=arch
   3571 	 fi
   3572        done
   3573 fi
   3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3575     if test $ac_cv_c_bigendian = unknown; then
   3576       # See if sys/param.h defines the BYTE_ORDER macro.
   3577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3578 /* end confdefs.h.  */
   3579 #include <sys/types.h>
   3580 	     #include <sys/param.h>
   3581 
   3582 int
   3583 main ()
   3584 {
   3585 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   3586 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   3587 		     && LITTLE_ENDIAN)
   3588 	      bogus endian macros
   3589 	     #endif
   3590 
   3591   ;
   3592   return 0;
   3593 }
   3594 _ACEOF
   3595 if ac_fn_c_try_compile "$LINENO"; then :
   3596   # It does; now see whether it defined to BIG_ENDIAN or not.
   3597 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3598 /* end confdefs.h.  */
   3599 #include <sys/types.h>
   3600 		#include <sys/param.h>
   3601 
   3602 int
   3603 main ()
   3604 {
   3605 #if BYTE_ORDER != BIG_ENDIAN
   3606 		 not big endian
   3607 		#endif
   3608 
   3609   ;
   3610   return 0;
   3611 }
   3612 _ACEOF
   3613 if ac_fn_c_try_compile "$LINENO"; then :
   3614   ac_cv_c_bigendian=yes
   3615 else
   3616   ac_cv_c_bigendian=no
   3617 fi
   3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3619 fi
   3620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3621     fi
   3622     if test $ac_cv_c_bigendian = unknown; then
   3623       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   3624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3625 /* end confdefs.h.  */
   3626 #include <limits.h>
   3627 
   3628 int
   3629 main ()
   3630 {
   3631 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   3632 	      bogus endian macros
   3633 	     #endif
   3634 
   3635   ;
   3636   return 0;
   3637 }
   3638 _ACEOF
   3639 if ac_fn_c_try_compile "$LINENO"; then :
   3640   # It does; now see whether it defined to _BIG_ENDIAN or not.
   3641 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3642 /* end confdefs.h.  */
   3643 #include <limits.h>
   3644 
   3645 int
   3646 main ()
   3647 {
   3648 #ifndef _BIG_ENDIAN
   3649 		 not big endian
   3650 		#endif
   3651 
   3652   ;
   3653   return 0;
   3654 }
   3655 _ACEOF
   3656 if ac_fn_c_try_compile "$LINENO"; then :
   3657   ac_cv_c_bigendian=yes
   3658 else
   3659   ac_cv_c_bigendian=no
   3660 fi
   3661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3662 fi
   3663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3664     fi
   3665     if test $ac_cv_c_bigendian = unknown; then
   3666       # Compile a test program.
   3667       if test "$cross_compiling" = yes; then :
   3668   # Try to guess by grepping values from an object file.
   3669 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3670 /* end confdefs.h.  */
   3671 short int ascii_mm[] =
   3672 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   3673 		short int ascii_ii[] =
   3674 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   3675 		int use_ascii (int i) {
   3676 		  return ascii_mm[i] + ascii_ii[i];
   3677 		}
   3678 		short int ebcdic_ii[] =
   3679 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   3680 		short int ebcdic_mm[] =
   3681 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   3682 		int use_ebcdic (int i) {
   3683 		  return ebcdic_mm[i] + ebcdic_ii[i];
   3684 		}
   3685 		extern int foo;
   3686 
   3687 int
   3688 main ()
   3689 {
   3690 return use_ascii (foo) == use_ebcdic (foo);
   3691   ;
   3692   return 0;
   3693 }
   3694 _ACEOF
   3695 if ac_fn_c_try_compile "$LINENO"; then :
   3696   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   3697 	      ac_cv_c_bigendian=yes
   3698 	    fi
   3699 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   3700 	      if test "$ac_cv_c_bigendian" = unknown; then
   3701 		ac_cv_c_bigendian=no
   3702 	      else
   3703 		# finding both strings is unlikely to happen, but who knows?
   3704 		ac_cv_c_bigendian=unknown
   3705 	      fi
   3706 	    fi
   3707 fi
   3708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3709 else
   3710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3711 /* end confdefs.h.  */
   3712 $ac_includes_default
   3713 int
   3714 main ()
   3715 {
   3716 
   3717 	     /* Are we little or big endian?  From Harbison&Steele.  */
   3718 	     union
   3719 	     {
   3720 	       long int l;
   3721 	       char c[sizeof (long int)];
   3722 	     } u;
   3723 	     u.l = 1;
   3724 	     return u.c[sizeof (long int) - 1] == 1;
   3725 
   3726   ;
   3727   return 0;
   3728 }
   3729 _ACEOF
   3730 if ac_fn_c_try_run "$LINENO"; then :
   3731   ac_cv_c_bigendian=no
   3732 else
   3733   ac_cv_c_bigendian=yes
   3734 fi
   3735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3736   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3737 fi
   3738 
   3739     fi
   3740 fi
   3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   3742 $as_echo "$ac_cv_c_bigendian" >&6; }
   3743  case $ac_cv_c_bigendian in #(
   3744    yes)
   3745      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   3746 ;; #(
   3747    no)
   3748       ;; #(
   3749    universal)
   3750 
   3751 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   3752 
   3753      ;; #(
   3754    *)
   3755      as_fn_error $? "unknown endianness
   3756  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   3757  esac
   3758 
   3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3760 $as_echo_n "checking for ANSI C header files... " >&6; }
   3761 if ${ac_cv_header_stdc+:} false; then :
   3762   $as_echo_n "(cached) " >&6
   3763 else
   3764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3765 /* end confdefs.h.  */
   3766 #include <stdlib.h>
   3767 #include <stdarg.h>
   3768 #include <string.h>
   3769 #include <float.h>
   3770 
   3771 int
   3772 main ()
   3773 {
   3774 
   3775   ;
   3776   return 0;
   3777 }
   3778 _ACEOF
   3779 if ac_fn_c_try_compile "$LINENO"; then :
   3780   ac_cv_header_stdc=yes
   3781 else
   3782   ac_cv_header_stdc=no
   3783 fi
   3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3785 
   3786 if test $ac_cv_header_stdc = yes; then
   3787   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3789 /* end confdefs.h.  */
   3790 #include <string.h>
   3791 
   3792 _ACEOF
   3793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3794   $EGREP "memchr" >/dev/null 2>&1; then :
   3795 
   3796 else
   3797   ac_cv_header_stdc=no
   3798 fi
   3799 rm -f conftest*
   3800 
   3801 fi
   3802 
   3803 if test $ac_cv_header_stdc = yes; then
   3804   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3806 /* end confdefs.h.  */
   3807 #include <stdlib.h>
   3808 
   3809 _ACEOF
   3810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3811   $EGREP "free" >/dev/null 2>&1; then :
   3812 
   3813 else
   3814   ac_cv_header_stdc=no
   3815 fi
   3816 rm -f conftest*
   3817 
   3818 fi
   3819 
   3820 if test $ac_cv_header_stdc = yes; then
   3821   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3822   if test "$cross_compiling" = yes; then :
   3823   :
   3824 else
   3825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3826 /* end confdefs.h.  */
   3827 #include <ctype.h>
   3828 #include <stdlib.h>
   3829 #if ((' ' & 0x0FF) == 0x020)
   3830 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3831 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3832 #else
   3833 # define ISLOWER(c) \
   3834 		   (('a' <= (c) && (c) <= 'i') \
   3835 		     || ('j' <= (c) && (c) <= 'r') \
   3836 		     || ('s' <= (c) && (c) <= 'z'))
   3837 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3838 #endif
   3839 
   3840 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3841 int
   3842 main ()
   3843 {
   3844   int i;
   3845   for (i = 0; i < 256; i++)
   3846     if (XOR (islower (i), ISLOWER (i))
   3847 	|| toupper (i) != TOUPPER (i))
   3848       return 2;
   3849   return 0;
   3850 }
   3851 _ACEOF
   3852 if ac_fn_c_try_run "$LINENO"; then :
   3853 
   3854 else
   3855   ac_cv_header_stdc=no
   3856 fi
   3857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3858   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3859 fi
   3860 
   3861 fi
   3862 fi
   3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3864 $as_echo "$ac_cv_header_stdc" >&6; }
   3865 if test $ac_cv_header_stdc = yes; then
   3866 
   3867 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3868 
   3869 fi
   3870 
   3871 
   3872 # Confirm existence of zlib.  (This is available as a default install
   3873 # option on many OS's; this could be added as a reachover build in the
   3874 # future.)
   3875 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
   3876 if test "x$ac_cv_header_zlib_h" = xyes; then :
   3877 
   3878 else
   3879   as_fn_error $? "zlib must be installed in a compiler-visible path" "$LINENO" 5
   3880 fi
   3881 
   3882 
   3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5
   3884 $as_echo_n "checking for gzdopen in -lz... " >&6; }
   3885 if ${ac_cv_lib_z_gzdopen+:} false; then :
   3886   $as_echo_n "(cached) " >&6
   3887 else
   3888   ac_check_lib_save_LIBS=$LIBS
   3889 LIBS="-lz  $LIBS"
   3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3891 /* end confdefs.h.  */
   3892 
   3893 /* Override any GCC internal prototype to avoid an error.
   3894    Use char because int might match the return type of a GCC
   3895    builtin and then its argument prototype would still apply.  */
   3896 #ifdef __cplusplus
   3897 extern "C"
   3898 #endif
   3899 char gzdopen ();
   3900 int
   3901 main ()
   3902 {
   3903 return gzdopen ();
   3904   ;
   3905   return 0;
   3906 }
   3907 _ACEOF
   3908 if ac_fn_c_try_link "$LINENO"; then :
   3909   ac_cv_lib_z_gzdopen=yes
   3910 else
   3911   ac_cv_lib_z_gzdopen=no
   3912 fi
   3913 rm -f core conftest.err conftest.$ac_objext \
   3914     conftest$ac_exeext conftest.$ac_ext
   3915 LIBS=$ac_check_lib_save_LIBS
   3916 fi
   3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5
   3918 $as_echo "$ac_cv_lib_z_gzdopen" >&6; }
   3919 if test "x$ac_cv_lib_z_gzdopen" = xyes; then :
   3920   cat >>confdefs.h <<_ACEOF
   3921 #define HAVE_LIBZ 1
   3922 _ACEOF
   3923 
   3924   LIBS="-lz $LIBS"
   3925 
   3926 else
   3927   as_fn_error $? "zlib must be installed in a compiler-visible path" "$LINENO" 5
   3928 fi
   3929 
   3930 
   3931 # Make sure certain required headers are available.
   3932 # These are not necessarily required by the code, but they are not
   3933 # currently conditionalized.
   3934 for ac_header in sys/ioctl.h sys/mman.h sys/param.h \
   3935 	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
   3936 	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
   3937 	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
   3938 	termios.h unistd.h
   3939 do :
   3940   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3941 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   3942 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3943   cat >>confdefs.h <<_ACEOF
   3944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3945 _ACEOF
   3946 
   3947 else
   3948   as_fn_error $? "standard system header file not found" "$LINENO" 5
   3949 fi
   3950 
   3951 done
   3952 
   3953 
   3954 # Find headers that may not be available.
   3955 ac_header_dirent=no
   3956 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   3957   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
   3959 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
   3960 if eval \${$as_ac_Header+:} false; then :
   3961   $as_echo_n "(cached) " >&6
   3962 else
   3963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3964 /* end confdefs.h.  */
   3965 #include <sys/types.h>
   3966 #include <$ac_hdr>
   3967 
   3968 int
   3969 main ()
   3970 {
   3971 if ((DIR *) 0)
   3972 return 0;
   3973   ;
   3974   return 0;
   3975 }
   3976 _ACEOF
   3977 if ac_fn_c_try_compile "$LINENO"; then :
   3978   eval "$as_ac_Header=yes"
   3979 else
   3980   eval "$as_ac_Header=no"
   3981 fi
   3982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3983 fi
   3984 eval ac_res=\$$as_ac_Header
   3985 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   3986 $as_echo "$ac_res" >&6; }
   3987 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3988   cat >>confdefs.h <<_ACEOF
   3989 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   3990 _ACEOF
   3991 
   3992 ac_header_dirent=$ac_hdr; break
   3993 fi
   3994 
   3995 done
   3996 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   3997 if test $ac_header_dirent = dirent.h; then
   3998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   3999 $as_echo_n "checking for library containing opendir... " >&6; }
   4000 if ${ac_cv_search_opendir+:} false; then :
   4001   $as_echo_n "(cached) " >&6
   4002 else
   4003   ac_func_search_save_LIBS=$LIBS
   4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4005 /* end confdefs.h.  */
   4006 
   4007 /* Override any GCC internal prototype to avoid an error.
   4008    Use char because int might match the return type of a GCC
   4009    builtin and then its argument prototype would still apply.  */
   4010 #ifdef __cplusplus
   4011 extern "C"
   4012 #endif
   4013 char opendir ();
   4014 int
   4015 main ()
   4016 {
   4017 return opendir ();
   4018   ;
   4019   return 0;
   4020 }
   4021 _ACEOF
   4022 for ac_lib in '' dir; do
   4023   if test -z "$ac_lib"; then
   4024     ac_res="none required"
   4025   else
   4026     ac_res=-l$ac_lib
   4027     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   4028   fi
   4029   if ac_fn_c_try_link "$LINENO"; then :
   4030   ac_cv_search_opendir=$ac_res
   4031 fi
   4032 rm -f core conftest.err conftest.$ac_objext \
   4033     conftest$ac_exeext
   4034   if ${ac_cv_search_opendir+:} false; then :
   4035   break
   4036 fi
   4037 done
   4038 if ${ac_cv_search_opendir+:} false; then :
   4039 
   4040 else
   4041   ac_cv_search_opendir=no
   4042 fi
   4043 rm conftest.$ac_ext
   4044 LIBS=$ac_func_search_save_LIBS
   4045 fi
   4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   4047 $as_echo "$ac_cv_search_opendir" >&6; }
   4048 ac_res=$ac_cv_search_opendir
   4049 if test "$ac_res" != no; then :
   4050   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   4051 
   4052 fi
   4053 
   4054 else
   4055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   4056 $as_echo_n "checking for library containing opendir... " >&6; }
   4057 if ${ac_cv_search_opendir+:} false; then :
   4058   $as_echo_n "(cached) " >&6
   4059 else
   4060   ac_func_search_save_LIBS=$LIBS
   4061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4062 /* end confdefs.h.  */
   4063 
   4064 /* Override any GCC internal prototype to avoid an error.
   4065    Use char because int might match the return type of a GCC
   4066    builtin and then its argument prototype would still apply.  */
   4067 #ifdef __cplusplus
   4068 extern "C"
   4069 #endif
   4070 char opendir ();
   4071 int
   4072 main ()
   4073 {
   4074 return opendir ();
   4075   ;
   4076   return 0;
   4077 }
   4078 _ACEOF
   4079 for ac_lib in '' x; do
   4080   if test -z "$ac_lib"; then
   4081     ac_res="none required"
   4082   else
   4083     ac_res=-l$ac_lib
   4084     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   4085   fi
   4086   if ac_fn_c_try_link "$LINENO"; then :
   4087   ac_cv_search_opendir=$ac_res
   4088 fi
   4089 rm -f core conftest.err conftest.$ac_objext \
   4090     conftest$ac_exeext
   4091   if ${ac_cv_search_opendir+:} false; then :
   4092   break
   4093 fi
   4094 done
   4095 if ${ac_cv_search_opendir+:} false; then :
   4096 
   4097 else
   4098   ac_cv_search_opendir=no
   4099 fi
   4100 rm conftest.$ac_ext
   4101 LIBS=$ac_func_search_save_LIBS
   4102 fi
   4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   4104 $as_echo "$ac_cv_search_opendir" >&6; }
   4105 ac_res=$ac_cv_search_opendir
   4106 if test "$ac_res" != no; then :
   4107   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   4108 
   4109 fi
   4110 
   4111 fi
   4112 
   4113 for ac_header in sys/mtio.h sys/sysmacros.h sys/syslimits.h stdio_ext.h \
   4114 	getopt.h features.h malloc.h sys/poll.h pthread.h stddef.h sys/uio.h
   4115 do :
   4116   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4117 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   4118 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4119   cat >>confdefs.h <<_ACEOF
   4120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4121 _ACEOF
   4122 
   4123 fi
   4124 
   4125 done
   4126 
   4127 for ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \
   4128 	sys/endian.h sys/featuretest.h err.h inttypes.h libgen.h paths.h \
   4129 	libgen.h stdint.h util.h resolv.h arpa/nameser.h
   4130 do :
   4131   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4132 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   4133 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4134   cat >>confdefs.h <<_ACEOF
   4135 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4136 _ACEOF
   4137 
   4138 else
   4139   test -f include/$ac_header || touch include/$ac_header
   4140 fi
   4141 
   4142 done
   4143 
   4144 for ac_header in rpc/types.h
   4145 do :
   4146   ac_fn_c_check_header_mongrel "$LINENO" "rpc/types.h" "ac_cv_header_rpc_types_h" "$ac_includes_default"
   4147 if test "x$ac_cv_header_rpc_types_h" = xyes; then :
   4148   cat >>confdefs.h <<_ACEOF
   4149 #define HAVE_RPC_TYPES_H 1
   4150 _ACEOF
   4151 
   4152 else
   4153   echo '#include "nbtool_config.h"' >include/$ac_header.new
   4154 	echo '#include "'$srcdir/../../common/include/$ac_header'"' \
   4155 		>>include/$ac_header.new
   4156 	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
   4157 		rm -f include/$ac_header.new
   4158 	else
   4159 		mv -f include/$ac_header.new include/$ac_header
   4160 	fi
   4161 fi
   4162 
   4163 done
   4164 
   4165 for ac_header in netconfig.h
   4166 do :
   4167   ac_fn_c_check_header_mongrel "$LINENO" "netconfig.h" "ac_cv_header_netconfig_h" "$ac_includes_default"
   4168 if test "x$ac_cv_header_netconfig_h" = xyes; then :
   4169   cat >>confdefs.h <<_ACEOF
   4170 #define HAVE_NETCONFIG_H 1
   4171 _ACEOF
   4172 
   4173 else
   4174   echo '#include "nbtool_config.h"' >include/$ac_header.new
   4175 	echo '#include "'$srcdir/../../include/$ac_header'"' \
   4176 		>>include/$ac_header.new
   4177 	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
   4178 		rm -f include/$ac_header.new
   4179 	else
   4180 		mv -f include/$ac_header.new include/$ac_header
   4181 	fi
   4182 fi
   4183 
   4184 done
   4185 
   4186 
   4187 # Typedefs.
   4188 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   4189 if test "x$ac_cv_type_size_t" = xyes; then :
   4190 
   4191 else
   4192 
   4193 cat >>confdefs.h <<_ACEOF
   4194 #define size_t unsigned int
   4195 _ACEOF
   4196 
   4197 fi
   4198 
   4199 ac_fn_c_check_type "$LINENO" "id_t" "ac_cv_type_id_t" "$ac_includes_default"
   4200 if test "x$ac_cv_type_id_t" = xyes; then :
   4201 
   4202 cat >>confdefs.h <<_ACEOF
   4203 #define HAVE_ID_T 1
   4204 _ACEOF
   4205 
   4206 
   4207 fi
   4208 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
   4209 if test "x$ac_cv_type_long_long" = xyes; then :
   4210 
   4211 cat >>confdefs.h <<_ACEOF
   4212 #define HAVE_LONG_LONG 1
   4213 _ACEOF
   4214 
   4215 
   4216 fi
   4217 ac_fn_c_check_type "$LINENO" "u_long" "ac_cv_type_u_long" "$ac_includes_default"
   4218 if test "x$ac_cv_type_u_long" = xyes; then :
   4219 
   4220 cat >>confdefs.h <<_ACEOF
   4221 #define HAVE_U_LONG 1
   4222 _ACEOF
   4223 
   4224 
   4225 fi
   4226 ac_fn_c_check_type "$LINENO" "u_char" "ac_cv_type_u_char" "$ac_includes_default"
   4227 if test "x$ac_cv_type_u_char" = xyes; then :
   4228 
   4229 cat >>confdefs.h <<_ACEOF
   4230 #define HAVE_U_CHAR 1
   4231 _ACEOF
   4232 
   4233 
   4234 fi
   4235 ac_fn_c_check_type "$LINENO" "u_short" "ac_cv_type_u_short" "$ac_includes_default"
   4236 if test "x$ac_cv_type_u_short" = xyes; then :
   4237 
   4238 cat >>confdefs.h <<_ACEOF
   4239 #define HAVE_U_SHORT 1
   4240 _ACEOF
   4241 
   4242 
   4243 fi
   4244 ac_fn_c_check_type "$LINENO" "u_int" "ac_cv_type_u_int" "$ac_includes_default"
   4245 if test "x$ac_cv_type_u_int" = xyes; then :
   4246 
   4247 cat >>confdefs.h <<_ACEOF
   4248 #define HAVE_U_INT 1
   4249 _ACEOF
   4250 
   4251 
   4252 fi
   4253 ac_fn_c_check_type "$LINENO" "u_quad_t" "ac_cv_type_u_quad_t" "$ac_includes_default"
   4254 if test "x$ac_cv_type_u_quad_t" = xyes; then :
   4255 
   4256 cat >>confdefs.h <<_ACEOF
   4257 #define HAVE_U_QUAD_T 1
   4258 _ACEOF
   4259 
   4260 
   4261 fi
   4262 
   4263 ac_fn_c_check_type "$LINENO" "uchar_t" "ac_cv_type_uchar_t" "$ac_includes_default"
   4264 if test "x$ac_cv_type_uchar_t" = xyes; then :
   4265 
   4266 cat >>confdefs.h <<_ACEOF
   4267 #define HAVE_UCHAR_T 1
   4268 _ACEOF
   4269 
   4270 
   4271 fi
   4272 ac_fn_c_check_type "$LINENO" "ushort_t" "ac_cv_type_ushort_t" "$ac_includes_default"
   4273 if test "x$ac_cv_type_ushort_t" = xyes; then :
   4274 
   4275 cat >>confdefs.h <<_ACEOF
   4276 #define HAVE_USHORT_T 1
   4277 _ACEOF
   4278 
   4279 
   4280 fi
   4281 ac_fn_c_check_type "$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default"
   4282 if test "x$ac_cv_type_uint_t" = xyes; then :
   4283 
   4284 cat >>confdefs.h <<_ACEOF
   4285 #define HAVE_UINT_T 1
   4286 _ACEOF
   4287 
   4288 
   4289 fi
   4290 ac_fn_c_check_type "$LINENO" "ulong_t" "ac_cv_type_ulong_t" "$ac_includes_default"
   4291 if test "x$ac_cv_type_ulong_t" = xyes; then :
   4292 
   4293 cat >>confdefs.h <<_ACEOF
   4294 #define HAVE_ULONG_T 1
   4295 _ACEOF
   4296 
   4297 
   4298 fi
   4299 
   4300 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
   4301 #ifdef HAVE_RPC_TYPES_H
   4302 #include <rpc/types.h>
   4303 #endif
   4304 #include <sys/socket.h>
   4305 "
   4306 if test "x$ac_cv_type_socklen_t" = xyes; then :
   4307 
   4308 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   4309 
   4310 fi
   4311 
   4312 
   4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enum uio_rw" >&5
   4314 $as_echo_n "checking for enum uio_rw... " >&6; }
   4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4316 /* end confdefs.h.  */
   4317 
   4318 #include <sys/types.h>
   4319 #ifdef HAVE_SYS_UIO_H
   4320 #include <sys/uio.h>
   4321 #endif
   4322 int
   4323 main ()
   4324 {
   4325 enum uio_rw rw;
   4326   ;
   4327   return 0;
   4328 }
   4329 _ACEOF
   4330 if ac_fn_c_try_compile "$LINENO"; then :
   4331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4332 $as_echo "yes" >&6; }
   4333 
   4334 $as_echo "#define HAVE_ENUM_UIO_RW 1" >>confdefs.h
   4335 
   4336 else
   4337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4338 $as_echo "no" >&6; }
   4339 fi
   4340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4341 
   4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enum uio_seg" >&5
   4343 $as_echo_n "checking for enum uio_seg... " >&6; }
   4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4345 /* end confdefs.h.  */
   4346 
   4347 #include <sys/types.h>
   4348 #ifdef HAVE_SYS_UIO_H
   4349 #include <sys/uio.h>
   4350 #endif
   4351 int
   4352 main ()
   4353 {
   4354 enum uio_seg seg;
   4355   ;
   4356   return 0;
   4357 }
   4358 _ACEOF
   4359 if ac_fn_c_try_compile "$LINENO"; then :
   4360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4361 $as_echo "yes" >&6; }
   4362 
   4363 $as_echo "#define HAVE_ENUM_UIO_SEG 1" >>confdefs.h
   4364 
   4365 else
   4366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4367 $as_echo "no" >&6; }
   4368 fi
   4369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4370 
   4371 
   4372 	ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
   4373 if test "x$ac_cv_type_uint8_t" = xyes; then :
   4374 
   4375 else
   4376 
   4377 		ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
   4378 if test "x$ac_cv_type_u_int8_t" = xyes; then :
   4379 
   4380 $as_echo "#define uint8_t u_int8_t" >>confdefs.h
   4381 
   4382 else
   4383   as_fn_error $? "cannot find a suitable type for uint8_t" "$LINENO" 5
   4384 fi
   4385 
   4386 
   4387 fi
   4388 
   4389 	ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
   4390 if test "x$ac_cv_type_u_int8_t" = xyes; then :
   4391 
   4392 else
   4393 
   4394 		ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
   4395 if test "x$ac_cv_type_uint8_t" = xyes; then :
   4396 
   4397 $as_echo "#define u_int8_t uint8_t" >>confdefs.h
   4398 
   4399 else
   4400   as_fn_error $? "cannot find a suitable type for u_int8_t" "$LINENO" 5
   4401 fi
   4402 
   4403 
   4404 fi
   4405 
   4406 	ac_fn_c_check_type "$LINENO" "__uint8_t" "ac_cv_type___uint8_t" "$ac_includes_default"
   4407 if test "x$ac_cv_type___uint8_t" = xyes; then :
   4408 
   4409 else
   4410 
   4411 		ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
   4412 if test "x$ac_cv_type_uint8_t" = xyes; then :
   4413 
   4414 $as_echo "#define __uint8_t uint8_t" >>confdefs.h
   4415 
   4416 else
   4417   ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
   4418 if test "x$ac_cv_type_u_int8_t" = xyes; then :
   4419 
   4420 $as_echo "#define uint8_t u_int8_t" >>confdefs.h
   4421 
   4422 else
   4423   as_fn_error $? "cannot find a suitable type for __uint8_t" "$LINENO" 5
   4424 fi
   4425 
   4426 fi
   4427 
   4428 
   4429 fi
   4430 
   4431 	ac_fn_c_check_type "$LINENO" "__int8_t" "ac_cv_type___int8_t" "$ac_includes_default"
   4432 if test "x$ac_cv_type___int8_t" = xyes; then :
   4433 
   4434 else
   4435 
   4436 		ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
   4437 if test "x$ac_cv_type_int8_t" = xyes; then :
   4438 
   4439 $as_echo "#define __int8_t int8_t" >>confdefs.h
   4440 
   4441 else
   4442   as_fn_error $? "cannot find a suitable type for __int8_t" "$LINENO" 5
   4443 fi
   4444 
   4445 
   4446 fi
   4447 
   4448 
   4449 	ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
   4450 if test "x$ac_cv_type_uint16_t" = xyes; then :
   4451 
   4452 else
   4453 
   4454 		ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
   4455 if test "x$ac_cv_type_u_int16_t" = xyes; then :
   4456 
   4457 $as_echo "#define uint16_t u_int16_t" >>confdefs.h
   4458 
   4459 else
   4460   as_fn_error $? "cannot find a suitable type for uint16_t" "$LINENO" 5
   4461 fi
   4462 
   4463 
   4464 fi
   4465 
   4466 	ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
   4467 if test "x$ac_cv_type_u_int16_t" = xyes; then :
   4468 
   4469 else
   4470 
   4471 		ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
   4472 if test "x$ac_cv_type_uint16_t" = xyes; then :
   4473 
   4474 $as_echo "#define u_int16_t uint16_t" >>confdefs.h
   4475 
   4476 else
   4477   as_fn_error $? "cannot find a suitable type for u_int16_t" "$LINENO" 5
   4478 fi
   4479 
   4480 
   4481 fi
   4482 
   4483 	ac_fn_c_check_type "$LINENO" "__uint16_t" "ac_cv_type___uint16_t" "$ac_includes_default"
   4484 if test "x$ac_cv_type___uint16_t" = xyes; then :
   4485 
   4486 else
   4487 
   4488 		ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
   4489 if test "x$ac_cv_type_uint16_t" = xyes; then :
   4490 
   4491 $as_echo "#define __uint16_t uint16_t" >>confdefs.h
   4492 
   4493 else
   4494   ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
   4495 if test "x$ac_cv_type_u_int16_t" = xyes; then :
   4496 
   4497 $as_echo "#define uint16_t u_int16_t" >>confdefs.h
   4498 
   4499 else
   4500   as_fn_error $? "cannot find a suitable type for __uint16_t" "$LINENO" 5
   4501 fi
   4502 
   4503 fi
   4504 
   4505 
   4506 fi
   4507 
   4508 	ac_fn_c_check_type "$LINENO" "__int16_t" "ac_cv_type___int16_t" "$ac_includes_default"
   4509 if test "x$ac_cv_type___int16_t" = xyes; then :
   4510 
   4511 else
   4512 
   4513 		ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
   4514 if test "x$ac_cv_type_int16_t" = xyes; then :
   4515 
   4516 $as_echo "#define __int16_t int16_t" >>confdefs.h
   4517 
   4518 else
   4519   as_fn_error $? "cannot find a suitable type for __int16_t" "$LINENO" 5
   4520 fi
   4521 
   4522 
   4523 fi
   4524 
   4525 
   4526 	ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
   4527 if test "x$ac_cv_type_uint32_t" = xyes; then :
   4528 
   4529 else
   4530 
   4531 		ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
   4532 if test "x$ac_cv_type_u_int32_t" = xyes; then :
   4533 
   4534 $as_echo "#define uint32_t u_int32_t" >>confdefs.h
   4535 
   4536 else
   4537   as_fn_error $? "cannot find a suitable type for uint32_t" "$LINENO" 5
   4538 fi
   4539 
   4540 
   4541 fi
   4542 
   4543 	ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
   4544 if test "x$ac_cv_type_u_int32_t" = xyes; then :
   4545 
   4546 else
   4547 
   4548 		ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
   4549 if test "x$ac_cv_type_uint32_t" = xyes; then :
   4550 
   4551 $as_echo "#define u_int32_t uint32_t" >>confdefs.h
   4552 
   4553 else
   4554   as_fn_error $? "cannot find a suitable type for u_int32_t" "$LINENO" 5
   4555 fi
   4556 
   4557 
   4558 fi
   4559 
   4560 	ac_fn_c_check_type "$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default"
   4561 if test "x$ac_cv_type___uint32_t" = xyes; then :
   4562 
   4563 else
   4564 
   4565 		ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
   4566 if test "x$ac_cv_type_uint32_t" = xyes; then :
   4567 
   4568 $as_echo "#define __uint32_t uint32_t" >>confdefs.h
   4569 
   4570 else
   4571   ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
   4572 if test "x$ac_cv_type_u_int32_t" = xyes; then :
   4573 
   4574 $as_echo "#define uint32_t u_int32_t" >>confdefs.h
   4575 
   4576 else
   4577   as_fn_error $? "cannot find a suitable type for __uint32_t" "$LINENO" 5
   4578 fi
   4579 
   4580 fi
   4581 
   4582 
   4583 fi
   4584 
   4585 	ac_fn_c_check_type "$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default"
   4586 if test "x$ac_cv_type___int32_t" = xyes; then :
   4587 
   4588 else
   4589 
   4590 		ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
   4591 if test "x$ac_cv_type_int32_t" = xyes; then :
   4592 
   4593 $as_echo "#define __int32_t int32_t" >>confdefs.h
   4594 
   4595 else
   4596   as_fn_error $? "cannot find a suitable type for __int32_t" "$LINENO" 5
   4597 fi
   4598 
   4599 
   4600 fi
   4601 
   4602 
   4603 	ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
   4604 if test "x$ac_cv_type_uint64_t" = xyes; then :
   4605 
   4606 else
   4607 
   4608 		ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default"
   4609 if test "x$ac_cv_type_u_int64_t" = xyes; then :
   4610 
   4611 $as_echo "#define uint64_t u_int64_t" >>confdefs.h
   4612 
   4613 else
   4614   as_fn_error $? "cannot find a suitable type for uint64_t" "$LINENO" 5
   4615 fi
   4616 
   4617 
   4618 fi
   4619 
   4620 	ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default"
   4621 if test "x$ac_cv_type_u_int64_t" = xyes; then :
   4622 
   4623 else
   4624 
   4625 		ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
   4626 if test "x$ac_cv_type_uint64_t" = xyes; then :
   4627 
   4628 $as_echo "#define u_int64_t uint64_t" >>confdefs.h
   4629 
   4630 else
   4631   as_fn_error $? "cannot find a suitable type for u_int64_t" "$LINENO" 5
   4632 fi
   4633 
   4634 
   4635 fi
   4636 
   4637 	ac_fn_c_check_type "$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default"
   4638 if test "x$ac_cv_type___uint64_t" = xyes; then :
   4639 
   4640 else
   4641 
   4642 		ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
   4643 if test "x$ac_cv_type_uint64_t" = xyes; then :
   4644 
   4645 $as_echo "#define __uint64_t uint64_t" >>confdefs.h
   4646 
   4647 else
   4648   ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default"
   4649 if test "x$ac_cv_type_u_int64_t" = xyes; then :
   4650 
   4651 $as_echo "#define uint64_t u_int64_t" >>confdefs.h
   4652 
   4653 else
   4654   as_fn_error $? "cannot find a suitable type for __uint64_t" "$LINENO" 5
   4655 fi
   4656 
   4657 fi
   4658 
   4659 
   4660 fi
   4661 
   4662 	ac_fn_c_check_type "$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default"
   4663 if test "x$ac_cv_type___int64_t" = xyes; then :
   4664 
   4665 else
   4666 
   4667 		ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
   4668 if test "x$ac_cv_type_int64_t" = xyes; then :
   4669 
   4670 $as_echo "#define __int64_t int64_t" >>confdefs.h
   4671 
   4672 else
   4673   as_fn_error $? "cannot find a suitable type for __int64_t" "$LINENO" 5
   4674 fi
   4675 
   4676 
   4677 fi
   4678 
   4679 
   4680 
   4681 # Struct members.
   4682 ac_fn_c_check_member "$LINENO" "DIR" "dd_fd" "ac_cv_member_DIR_dd_fd" "#include <sys/types.h>
   4683 #include <dirent.h>
   4684 "
   4685 if test "x$ac_cv_member_DIR_dd_fd" = xyes; then :
   4686 
   4687 cat >>confdefs.h <<_ACEOF
   4688 #define HAVE_DIR_DD_FD 1
   4689 _ACEOF
   4690 
   4691 
   4692 fi
   4693 ac_fn_c_check_member "$LINENO" "DIR" "__dd_fd" "ac_cv_member_DIR___dd_fd" "#include <sys/types.h>
   4694 #include <dirent.h>
   4695 "
   4696 if test "x$ac_cv_member_DIR___dd_fd" = xyes; then :
   4697 
   4698 cat >>confdefs.h <<_ACEOF
   4699 #define HAVE_DIR___DD_FD 1
   4700 _ACEOF
   4701 
   4702 
   4703 fi
   4704 ac_fn_c_check_member "$LINENO" "struct dirent" "d_namlen" "ac_cv_member_struct_dirent_d_namlen" "#include <sys/types.h>
   4705 #include <dirent.h>
   4706 "
   4707 if test "x$ac_cv_member_struct_dirent_d_namlen" = xyes; then :
   4708 
   4709 cat >>confdefs.h <<_ACEOF
   4710 #define HAVE_STRUCT_DIRENT_D_NAMLEN 1
   4711 _ACEOF
   4712 
   4713 
   4714 fi
   4715 
   4716 ac_fn_c_check_member "$LINENO" "struct stat" "st_flags" "ac_cv_member_struct_stat_st_flags" "#include <sys/stat.h>
   4717 "
   4718 if test "x$ac_cv_member_struct_stat_st_flags" = xyes; then :
   4719 
   4720 cat >>confdefs.h <<_ACEOF
   4721 #define HAVE_STRUCT_STAT_ST_FLAGS 1
   4722 _ACEOF
   4723 
   4724 
   4725 fi
   4726 ac_fn_c_check_member "$LINENO" "struct stat" "st_gen" "ac_cv_member_struct_stat_st_gen" "#include <sys/stat.h>
   4727 "
   4728 if test "x$ac_cv_member_struct_stat_st_gen" = xyes; then :
   4729 
   4730 cat >>confdefs.h <<_ACEOF
   4731 #define HAVE_STRUCT_STAT_ST_GEN 1
   4732 _ACEOF
   4733 
   4734 
   4735 fi
   4736 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "#include <sys/stat.h>
   4737 "
   4738 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
   4739 
   4740 cat >>confdefs.h <<_ACEOF
   4741 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
   4742 _ACEOF
   4743 
   4744 
   4745 fi
   4746 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimensec" "ac_cv_member_struct_stat_st_birthtimensec" "#include <sys/stat.h>
   4747 "
   4748 if test "x$ac_cv_member_struct_stat_st_birthtimensec" = xyes; then :
   4749 
   4750 cat >>confdefs.h <<_ACEOF
   4751 #define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
   4752 _ACEOF
   4753 
   4754 
   4755 fi
   4756 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "#include <sys/stat.h>
   4757 "
   4758 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
   4759 
   4760 cat >>confdefs.h <<_ACEOF
   4761 #define HAVE_STRUCT_STAT_ST_ATIM 1
   4762 _ACEOF
   4763 
   4764 
   4765 fi
   4766 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimensec" "ac_cv_member_struct_stat_st_mtimensec" "#include <sys/stat.h>
   4767 "
   4768 if test "x$ac_cv_member_struct_stat_st_mtimensec" = xyes; then :
   4769 
   4770 cat >>confdefs.h <<_ACEOF
   4771 #define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
   4772 _ACEOF
   4773 
   4774 
   4775 fi
   4776 
   4777 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_iosize" "ac_cv_member_struct_statvfs_f_iosize" "#include <sys/statvfs.h>
   4778 "
   4779 if test "x$ac_cv_member_struct_statvfs_f_iosize" = xyes; then :
   4780 
   4781 cat >>confdefs.h <<_ACEOF
   4782 #define HAVE_STRUCT_STATVFS_F_IOSIZE 1
   4783 _ACEOF
   4784 
   4785 
   4786 fi
   4787 
   4788 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
   4789 "
   4790 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
   4791 
   4792 cat >>confdefs.h <<_ACEOF
   4793 #define HAVE_STRUCT_TM_TM_GMTOFF 1
   4794 _ACEOF
   4795 
   4796 
   4797 fi
   4798 
   4799 
   4800 # Global variable decls.
   4801 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "
   4802 #include <stdio.h>
   4803 
   4804 "
   4805 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
   4806   ac_have_decl=1
   4807 else
   4808   ac_have_decl=0
   4809 fi
   4810 
   4811 cat >>confdefs.h <<_ACEOF
   4812 #define HAVE_DECL_ASPRINTF $ac_have_decl
   4813 _ACEOF
   4814 ac_fn_c_check_decl "$LINENO" "asnprintf" "ac_cv_have_decl_asnprintf" "
   4815 #include <stdio.h>
   4816 
   4817 "
   4818 if test "x$ac_cv_have_decl_asnprintf" = xyes; then :
   4819   ac_have_decl=1
   4820 else
   4821   ac_have_decl=0
   4822 fi
   4823 
   4824 cat >>confdefs.h <<_ACEOF
   4825 #define HAVE_DECL_ASNPRINTF $ac_have_decl
   4826 _ACEOF
   4827 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "
   4828 #include <stdio.h>
   4829 
   4830 "
   4831 if test "x$ac_cv_have_decl_vasprintf" = xyes; then :
   4832   ac_have_decl=1
   4833 else
   4834   ac_have_decl=0
   4835 fi
   4836 
   4837 cat >>confdefs.h <<_ACEOF
   4838 #define HAVE_DECL_VASPRINTF $ac_have_decl
   4839 _ACEOF
   4840 ac_fn_c_check_decl "$LINENO" "vasnprintf" "ac_cv_have_decl_vasnprintf" "
   4841 #include <stdio.h>
   4842 
   4843 "
   4844 if test "x$ac_cv_have_decl_vasnprintf" = xyes; then :
   4845   ac_have_decl=1
   4846 else
   4847   ac_have_decl=0
   4848 fi
   4849 
   4850 cat >>confdefs.h <<_ACEOF
   4851 #define HAVE_DECL_VASNPRINTF $ac_have_decl
   4852 _ACEOF
   4853 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "
   4854 #include <stdio.h>
   4855 
   4856 "
   4857 if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
   4858   ac_have_decl=1
   4859 else
   4860   ac_have_decl=0
   4861 fi
   4862 
   4863 cat >>confdefs.h <<_ACEOF
   4864 #define HAVE_DECL_VSNPRINTF $ac_have_decl
   4865 _ACEOF
   4866 ac_fn_c_check_decl "$LINENO" "fgetln" "ac_cv_have_decl_fgetln" "
   4867 #include <stdio.h>
   4868 
   4869 "
   4870 if test "x$ac_cv_have_decl_fgetln" = xyes; then :
   4871   ac_have_decl=1
   4872 else
   4873   ac_have_decl=0
   4874 fi
   4875 
   4876 cat >>confdefs.h <<_ACEOF
   4877 #define HAVE_DECL_FGETLN $ac_have_decl
   4878 _ACEOF
   4879 ac_fn_c_check_decl "$LINENO" "fparseln" "ac_cv_have_decl_fparseln" "
   4880 #include <stdio.h>
   4881 
   4882 "
   4883 if test "x$ac_cv_have_decl_fparseln" = xyes; then :
   4884   ac_have_decl=1
   4885 else
   4886   ac_have_decl=0
   4887 fi
   4888 
   4889 cat >>confdefs.h <<_ACEOF
   4890 #define HAVE_DECL_FPARSELN $ac_have_decl
   4891 _ACEOF
   4892 ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "
   4893 #include <stdio.h>
   4894 
   4895 "
   4896 if test "x$ac_cv_have_decl_fpurge" = xyes; then :
   4897   ac_have_decl=1
   4898 else
   4899   ac_have_decl=0
   4900 fi
   4901 
   4902 cat >>confdefs.h <<_ACEOF
   4903 #define HAVE_DECL_FPURGE $ac_have_decl
   4904 _ACEOF
   4905 ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "
   4906 #include <stdio.h>
   4907 
   4908 "
   4909 if test "x$ac_cv_have_decl_getdelim" = xyes; then :
   4910   ac_have_decl=1
   4911 else
   4912   ac_have_decl=0
   4913 fi
   4914 
   4915 cat >>confdefs.h <<_ACEOF
   4916 #define HAVE_DECL_GETDELIM $ac_have_decl
   4917 _ACEOF
   4918 ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "
   4919 #include <stdio.h>
   4920 
   4921 "
   4922 if test "x$ac_cv_have_decl_getline" = xyes; then :
   4923   ac_have_decl=1
   4924 else
   4925   ac_have_decl=0
   4926 fi
   4927 
   4928 cat >>confdefs.h <<_ACEOF
   4929 #define HAVE_DECL_GETLINE $ac_have_decl
   4930 _ACEOF
   4931 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "
   4932 #include <stdio.h>
   4933 
   4934 "
   4935 if test "x$ac_cv_have_decl_snprintf" = xyes; then :
   4936   ac_have_decl=1
   4937 else
   4938   ac_have_decl=0
   4939 fi
   4940 
   4941 cat >>confdefs.h <<_ACEOF
   4942 #define HAVE_DECL_SNPRINTF $ac_have_decl
   4943 _ACEOF
   4944 
   4945 
   4946 ac_fn_c_check_decl "$LINENO" "atoll" "ac_cv_have_decl_atoll" "
   4947 #include <stdlib.h>
   4948 
   4949 "
   4950 if test "x$ac_cv_have_decl_atoll" = xyes; then :
   4951   ac_have_decl=1
   4952 else
   4953   ac_have_decl=0
   4954 fi
   4955 
   4956 cat >>confdefs.h <<_ACEOF
   4957 #define HAVE_DECL_ATOLL $ac_have_decl
   4958 _ACEOF
   4959 ac_fn_c_check_decl "$LINENO" "heapsort" "ac_cv_have_decl_heapsort" "
   4960 #include <stdlib.h>
   4961 
   4962 "
   4963 if test "x$ac_cv_have_decl_heapsort" = xyes; then :
   4964   ac_have_decl=1
   4965 else
   4966   ac_have_decl=0
   4967 fi
   4968 
   4969 cat >>confdefs.h <<_ACEOF
   4970 #define HAVE_DECL_HEAPSORT $ac_have_decl
   4971 _ACEOF
   4972 ac_fn_c_check_decl "$LINENO" "mkdtemp" "ac_cv_have_decl_mkdtemp" "
   4973 #include <stdlib.h>
   4974 
   4975 "
   4976 if test "x$ac_cv_have_decl_mkdtemp" = xyes; then :
   4977   ac_have_decl=1
   4978 else
   4979   ac_have_decl=0
   4980 fi
   4981 
   4982 cat >>confdefs.h <<_ACEOF
   4983 #define HAVE_DECL_MKDTEMP $ac_have_decl
   4984 _ACEOF
   4985 ac_fn_c_check_decl "$LINENO" "mkstemp" "ac_cv_have_decl_mkstemp" "
   4986 #include <stdlib.h>
   4987 
   4988 "
   4989 if test "x$ac_cv_have_decl_mkstemp" = xyes; then :
   4990   ac_have_decl=1
   4991 else
   4992   ac_have_decl=0
   4993 fi
   4994 
   4995 cat >>confdefs.h <<_ACEOF
   4996 #define HAVE_DECL_MKSTEMP $ac_have_decl
   4997 _ACEOF
   4998 ac_fn_c_check_decl "$LINENO" "reallocarr" "ac_cv_have_decl_reallocarr" "
   4999 #include <stdlib.h>
   5000 
   5001 "
   5002 if test "x$ac_cv_have_decl_reallocarr" = xyes; then :
   5003   ac_have_decl=1
   5004 else
   5005   ac_have_decl=0
   5006 fi
   5007 
   5008 cat >>confdefs.h <<_ACEOF
   5009 #define HAVE_DECL_REALLOCARR $ac_have_decl
   5010 _ACEOF
   5011 ac_fn_c_check_decl "$LINENO" "reallocarray" "ac_cv_have_decl_reallocarray" "
   5012 #include <stdlib.h>
   5013 
   5014 "
   5015 if test "x$ac_cv_have_decl_reallocarray" = xyes; then :
   5016   ac_have_decl=1
   5017 else
   5018   ac_have_decl=0
   5019 fi
   5020 
   5021 cat >>confdefs.h <<_ACEOF
   5022 #define HAVE_DECL_REALLOCARRAY $ac_have_decl
   5023 _ACEOF
   5024 ac_fn_c_check_decl "$LINENO" "getsubopt" "ac_cv_have_decl_getsubopt" "
   5025 #include <stdlib.h>
   5026 
   5027 "
   5028 if test "x$ac_cv_have_decl_getsubopt" = xyes; then :
   5029   ac_have_decl=1
   5030 else
   5031   ac_have_decl=0
   5032 fi
   5033 
   5034 cat >>confdefs.h <<_ACEOF
   5035 #define HAVE_DECL_GETSUBOPT $ac_have_decl
   5036 _ACEOF
   5037 ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "
   5038 #include <stdlib.h>
   5039 
   5040 "
   5041 if test "x$ac_cv_have_decl_setenv" = xyes; then :
   5042   ac_have_decl=1
   5043 else
   5044   ac_have_decl=0
   5045 fi
   5046 
   5047 cat >>confdefs.h <<_ACEOF
   5048 #define HAVE_DECL_SETENV $ac_have_decl
   5049 _ACEOF
   5050 ac_fn_c_check_decl "$LINENO" "strtoi" "ac_cv_have_decl_strtoi" "
   5051 #include <stdlib.h>
   5052 
   5053 "
   5054 if test "x$ac_cv_have_decl_strtoi" = xyes; then :
   5055   ac_have_decl=1
   5056 else
   5057   ac_have_decl=0
   5058 fi
   5059 
   5060 cat >>confdefs.h <<_ACEOF
   5061 #define HAVE_DECL_STRTOI $ac_have_decl
   5062 _ACEOF
   5063 ac_fn_c_check_decl "$LINENO" "strtoll" "ac_cv_have_decl_strtoll" "
   5064 #include <stdlib.h>
   5065 
   5066 "
   5067 if test "x$ac_cv_have_decl_strtoll" = xyes; then :
   5068   ac_have_decl=1
   5069 else
   5070   ac_have_decl=0
   5071 fi
   5072 
   5073 cat >>confdefs.h <<_ACEOF
   5074 #define HAVE_DECL_STRTOLL $ac_have_decl
   5075 _ACEOF
   5076 ac_fn_c_check_decl "$LINENO" "strtou" "ac_cv_have_decl_strtou" "
   5077 #include <stdlib.h>
   5078 
   5079 "
   5080 if test "x$ac_cv_have_decl_strtou" = xyes; then :
   5081   ac_have_decl=1
   5082 else
   5083   ac_have_decl=0
   5084 fi
   5085 
   5086 cat >>confdefs.h <<_ACEOF
   5087 #define HAVE_DECL_STRTOU $ac_have_decl
   5088 _ACEOF
   5089 ac_fn_c_check_decl "$LINENO" "setprogname" "ac_cv_have_decl_setprogname" "
   5090 #include <stdlib.h>
   5091 
   5092 "
   5093 if test "x$ac_cv_have_decl_setprogname" = xyes; then :
   5094   ac_have_decl=1
   5095 else
   5096   ac_have_decl=0
   5097 fi
   5098 
   5099 cat >>confdefs.h <<_ACEOF
   5100 #define HAVE_DECL_SETPROGNAME $ac_have_decl
   5101 _ACEOF
   5102 ac_fn_c_check_decl "$LINENO" "shquote" "ac_cv_have_decl_shquote" "
   5103 #include <stdlib.h>
   5104 
   5105 "
   5106 if test "x$ac_cv_have_decl_shquote" = xyes; then :
   5107   ac_have_decl=1
   5108 else
   5109   ac_have_decl=0
   5110 fi
   5111 
   5112 cat >>confdefs.h <<_ACEOF
   5113 #define HAVE_DECL_SHQUOTE $ac_have_decl
   5114 _ACEOF
   5115 ac_fn_c_check_decl "$LINENO" "getprogname" "ac_cv_have_decl_getprogname" "
   5116 #include <stdlib.h>
   5117 
   5118 "
   5119 if test "x$ac_cv_have_decl_getprogname" = xyes; then :
   5120   ac_have_decl=1
   5121 else
   5122   ac_have_decl=0
   5123 fi
   5124 
   5125 cat >>confdefs.h <<_ACEOF
   5126 #define HAVE_DECL_GETPROGNAME $ac_have_decl
   5127 _ACEOF
   5128 
   5129 
   5130 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "
   5131 #include <libgen.h>
   5132 
   5133 "
   5134 if test "x$ac_cv_have_decl_basename" = xyes; then :
   5135   ac_have_decl=1
   5136 else
   5137   ac_have_decl=0
   5138 fi
   5139 
   5140 cat >>confdefs.h <<_ACEOF
   5141 #define HAVE_DECL_BASENAME $ac_have_decl
   5142 _ACEOF
   5143 ac_fn_c_check_decl "$LINENO" "dirname" "ac_cv_have_decl_dirname" "
   5144 #include <libgen.h>
   5145 
   5146 "
   5147 if test "x$ac_cv_have_decl_dirname" = xyes; then :
   5148   ac_have_decl=1
   5149 else
   5150   ac_have_decl=0
   5151 fi
   5152 
   5153 cat >>confdefs.h <<_ACEOF
   5154 #define HAVE_DECL_DIRNAME $ac_have_decl
   5155 _ACEOF
   5156 
   5157 
   5158 ac_fn_c_check_decl "$LINENO" "raise_default_signal" "ac_cv_have_decl_raise_default_signal" "
   5159 #include <util.h>
   5160 
   5161 "
   5162 if test "x$ac_cv_have_decl_raise_default_signal" = xyes; then :
   5163   ac_have_decl=1
   5164 else
   5165   ac_have_decl=0
   5166 fi
   5167 
   5168 cat >>confdefs.h <<_ACEOF
   5169 #define HAVE_DECL_RAISE_DEFAULT_SIGNAL $ac_have_decl
   5170 _ACEOF
   5171 
   5172 
   5173 ac_fn_c_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" "
   5174 #include <unistd.h>
   5175 
   5176 "
   5177 if test "x$ac_cv_have_decl_issetugid" = xyes; then :
   5178   ac_have_decl=1
   5179 else
   5180   ac_have_decl=0
   5181 fi
   5182 
   5183 cat >>confdefs.h <<_ACEOF
   5184 #define HAVE_DECL_ISSETUGID $ac_have_decl
   5185 _ACEOF
   5186 ac_fn_c_check_decl "$LINENO" "pread" "ac_cv_have_decl_pread" "
   5187 #include <unistd.h>
   5188 
   5189 "
   5190 if test "x$ac_cv_have_decl_pread" = xyes; then :
   5191   ac_have_decl=1
   5192 else
   5193   ac_have_decl=0
   5194 fi
   5195 
   5196 cat >>confdefs.h <<_ACEOF
   5197 #define HAVE_DECL_PREAD $ac_have_decl
   5198 _ACEOF
   5199 ac_fn_c_check_decl "$LINENO" "pwrite" "ac_cv_have_decl_pwrite" "
   5200 #include <unistd.h>
   5201 
   5202 "
   5203 if test "x$ac_cv_have_decl_pwrite" = xyes; then :
   5204   ac_have_decl=1
   5205 else
   5206   ac_have_decl=0
   5207 fi
   5208 
   5209 cat >>confdefs.h <<_ACEOF
   5210 #define HAVE_DECL_PWRITE $ac_have_decl
   5211 _ACEOF
   5212 
   5213 
   5214 ac_fn_c_check_decl "$LINENO" "strmode" "ac_cv_have_decl_strmode" "
   5215 #include <unistd.h>
   5216 #include <string.h>
   5217 
   5218 "
   5219 if test "x$ac_cv_have_decl_strmode" = xyes; then :
   5220   ac_have_decl=1
   5221 else
   5222   ac_have_decl=0
   5223 fi
   5224 
   5225 cat >>confdefs.h <<_ACEOF
   5226 #define HAVE_DECL_STRMODE $ac_have_decl
   5227 _ACEOF
   5228 
   5229 
   5230 ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "
   5231 #include <ctype.h>
   5232 
   5233 "
   5234 if test "x$ac_cv_have_decl_isblank" = xyes; then :
   5235   ac_have_decl=1
   5236 else
   5237   ac_have_decl=0
   5238 fi
   5239 
   5240 cat >>confdefs.h <<_ACEOF
   5241 #define HAVE_DECL_ISBLANK $ac_have_decl
   5242 _ACEOF
   5243 
   5244 
   5245 
   5246 ac_fn_c_check_decl "$LINENO" "optind" "ac_cv_have_decl_optind" "
   5247 #include <stdio.h>
   5248 #include <stdlib.h>
   5249 #include <unistd.h>
   5250 #ifdef HAVE_GETOPT_H
   5251 #include <getopt.h>
   5252 #endif
   5253 
   5254 "
   5255 if test "x$ac_cv_have_decl_optind" = xyes; then :
   5256   ac_have_decl=1
   5257 else
   5258   ac_have_decl=0
   5259 fi
   5260 
   5261 cat >>confdefs.h <<_ACEOF
   5262 #define HAVE_DECL_OPTIND $ac_have_decl
   5263 _ACEOF
   5264 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "
   5265 #include <stdio.h>
   5266 #include <stdlib.h>
   5267 #include <unistd.h>
   5268 #ifdef HAVE_GETOPT_H
   5269 #include <getopt.h>
   5270 #endif
   5271 
   5272 "
   5273 if test "x$ac_cv_have_decl_optreset" = xyes; then :
   5274   ac_have_decl=1
   5275 else
   5276   ac_have_decl=0
   5277 fi
   5278 
   5279 cat >>confdefs.h <<_ACEOF
   5280 #define HAVE_DECL_OPTRESET $ac_have_decl
   5281 _ACEOF
   5282 
   5283 ac_fn_c_check_decl "$LINENO" "sys_signame" "ac_cv_have_decl_sys_signame" "#include <signal.h>
   5284 "
   5285 if test "x$ac_cv_have_decl_sys_signame" = xyes; then :
   5286   ac_have_decl=1
   5287 else
   5288   ac_have_decl=0
   5289 fi
   5290 
   5291 cat >>confdefs.h <<_ACEOF
   5292 #define HAVE_DECL_SYS_SIGNAME $ac_have_decl
   5293 _ACEOF
   5294 
   5295 
   5296 # Library functions (where a .h check isn't enough).
   5297 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   5298 # for constant arguments.  Useless!
   5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
   5300 $as_echo_n "checking for working alloca.h... " >&6; }
   5301 if ${ac_cv_working_alloca_h+:} false; then :
   5302   $as_echo_n "(cached) " >&6
   5303 else
   5304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5305 /* end confdefs.h.  */
   5306 #include <alloca.h>
   5307 int
   5308 main ()
   5309 {
   5310 char *p = (char *) alloca (2 * sizeof (int));
   5311 			  if (p) return 0;
   5312   ;
   5313   return 0;
   5314 }
   5315 _ACEOF
   5316 if ac_fn_c_try_link "$LINENO"; then :
   5317   ac_cv_working_alloca_h=yes
   5318 else
   5319   ac_cv_working_alloca_h=no
   5320 fi
   5321 rm -f core conftest.err conftest.$ac_objext \
   5322     conftest$ac_exeext conftest.$ac_ext
   5323 fi
   5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
   5325 $as_echo "$ac_cv_working_alloca_h" >&6; }
   5326 if test $ac_cv_working_alloca_h = yes; then
   5327 
   5328 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
   5329 
   5330 fi
   5331 
   5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
   5333 $as_echo_n "checking for alloca... " >&6; }
   5334 if ${ac_cv_func_alloca_works+:} false; then :
   5335   $as_echo_n "(cached) " >&6
   5336 else
   5337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5338 /* end confdefs.h.  */
   5339 #ifdef __GNUC__
   5340 # define alloca __builtin_alloca
   5341 #else
   5342 # ifdef _MSC_VER
   5343 #  include <malloc.h>
   5344 #  define alloca _alloca
   5345 # elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
   5346 #   include <stdlib.h>
   5347 # else
   5348 #  ifdef HAVE_ALLOCA_H
   5349 #   include <alloca.h>
   5350 #  else
   5351 #   ifdef _AIX
   5352  #pragma alloca
   5353 #   else
   5354 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   5355 void *alloca (size_t);
   5356 #    endif
   5357 #   endif
   5358 #  endif
   5359 # endif
   5360 #endif
   5361 
   5362 int
   5363 main ()
   5364 {
   5365 char *p = (char *) alloca (1);
   5366 				    if (p) return 0;
   5367   ;
   5368   return 0;
   5369 }
   5370 _ACEOF
   5371 if ac_fn_c_try_link "$LINENO"; then :
   5372   ac_cv_func_alloca_works=yes
   5373 else
   5374   ac_cv_func_alloca_works=no
   5375 fi
   5376 rm -f core conftest.err conftest.$ac_objext \
   5377     conftest$ac_exeext conftest.$ac_ext
   5378 fi
   5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
   5380 $as_echo "$ac_cv_func_alloca_works" >&6; }
   5381 
   5382 if test $ac_cv_func_alloca_works = yes; then
   5383 
   5384 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
   5385 
   5386 else
   5387   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   5388 # that cause trouble.  Some versions do not even contain alloca or
   5389 # contain a buggy version.  If you still want to use their alloca,
   5390 # use ar to extract alloca.o from them instead of compiling alloca.c.
   5391 
   5392 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
   5393 
   5394 $as_echo "#define C_ALLOCA 1" >>confdefs.h
   5395 
   5396 
   5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
   5398 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
   5399 if ${ac_cv_os_cray+:} false; then :
   5400   $as_echo_n "(cached) " >&6
   5401 else
   5402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5403 /* end confdefs.h.  */
   5404 #if defined CRAY && ! defined CRAY2
   5405 webecray
   5406 #else
   5407 wenotbecray
   5408 #endif
   5409 
   5410 _ACEOF
   5411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5412   $EGREP "webecray" >/dev/null 2>&1; then :
   5413   ac_cv_os_cray=yes
   5414 else
   5415   ac_cv_os_cray=no
   5416 fi
   5417 rm -f conftest*
   5418 
   5419 fi
   5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
   5421 $as_echo "$ac_cv_os_cray" >&6; }
   5422 if test $ac_cv_os_cray = yes; then
   5423   for ac_func in _getb67 GETB67 getb67; do
   5424     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   5426 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   5427 
   5428 cat >>confdefs.h <<_ACEOF
   5429 #define CRAY_STACKSEG_END $ac_func
   5430 _ACEOF
   5431 
   5432     break
   5433 fi
   5434 
   5435   done
   5436 fi
   5437 
   5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
   5439 $as_echo_n "checking stack direction for C alloca... " >&6; }
   5440 if ${ac_cv_c_stack_direction+:} false; then :
   5441   $as_echo_n "(cached) " >&6
   5442 else
   5443   if test "$cross_compiling" = yes; then :
   5444   ac_cv_c_stack_direction=0
   5445 else
   5446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5447 /* end confdefs.h.  */
   5448 $ac_includes_default
   5449 int
   5450 find_stack_direction (int *addr, int depth)
   5451 {
   5452   int dir, dummy = 0;
   5453   if (! addr)
   5454     addr = &dummy;
   5455   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
   5456   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
   5457   return dir + dummy;
   5458 }
   5459 
   5460 int
   5461 main (int argc, char **argv)
   5462 {
   5463   return find_stack_direction (0, argc + !argv + 20) < 0;
   5464 }
   5465 _ACEOF
   5466 if ac_fn_c_try_run "$LINENO"; then :
   5467   ac_cv_c_stack_direction=1
   5468 else
   5469   ac_cv_c_stack_direction=-1
   5470 fi
   5471 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5472   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5473 fi
   5474 
   5475 fi
   5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
   5477 $as_echo "$ac_cv_c_stack_direction" >&6; }
   5478 cat >>confdefs.h <<_ACEOF
   5479 #define STACK_DIRECTION $ac_cv_c_stack_direction
   5480 _ACEOF
   5481 
   5482 
   5483 fi
   5484 
   5485 for ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
   5486 	dispatch_semaphore_create \
   5487 	dprintf esetfunc fgetln flock fpurge __fpurge futimes getline \
   5488 	getopt getopt_long group_from_gid gid_from_group \
   5489 	heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \
   5490 	mkdtemp poll posix_spawn pread putc_unlocked pwcache_userdb pwcache_groupdb \
   5491 	pwrite raise_default_signal random reallocarr reallocarray setenv \
   5492 	setgroupent setprogname setpassent \
   5493 	snprintb_m snprintf strlcat strlcpy strmode \
   5494 	strcasecmp strncasecmp strndup strnlen strsep strsuftoll strtoi \
   5495 	strtoll strtou \
   5496 	user_from_uid uid_from_user vasprintf vasnprintf vsnprintf
   5497 do :
   5498   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   5500 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   5501   cat >>confdefs.h <<_ACEOF
   5502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5503 _ACEOF
   5504 
   5505 fi
   5506 done
   5507 
   5508 
   5509 ac_fn_c_check_decl "$LINENO" "user_from_uid" "ac_cv_have_decl_user_from_uid" "
   5510 #include <pwd.h>
   5511 
   5512 "
   5513 if test "x$ac_cv_have_decl_user_from_uid" = xyes; then :
   5514   ac_have_decl=1
   5515 else
   5516   ac_have_decl=0
   5517 fi
   5518 
   5519 cat >>confdefs.h <<_ACEOF
   5520 #define HAVE_DECL_USER_FROM_UID $ac_have_decl
   5521 _ACEOF
   5522 ac_fn_c_check_decl "$LINENO" "uid_from_user" "ac_cv_have_decl_uid_from_user" "
   5523 #include <pwd.h>
   5524 
   5525 "
   5526 if test "x$ac_cv_have_decl_uid_from_user" = xyes; then :
   5527   ac_have_decl=1
   5528 else
   5529   ac_have_decl=0
   5530 fi
   5531 
   5532 cat >>confdefs.h <<_ACEOF
   5533 #define HAVE_DECL_UID_FROM_USER $ac_have_decl
   5534 _ACEOF
   5535 ac_fn_c_check_decl "$LINENO" "pwcache_userdb" "ac_cv_have_decl_pwcache_userdb" "
   5536 #include <pwd.h>
   5537 
   5538 "
   5539 if test "x$ac_cv_have_decl_pwcache_userdb" = xyes; then :
   5540   ac_have_decl=1
   5541 else
   5542   ac_have_decl=0
   5543 fi
   5544 
   5545 cat >>confdefs.h <<_ACEOF
   5546 #define HAVE_DECL_PWCACHE_USERDB $ac_have_decl
   5547 _ACEOF
   5548 
   5549 ac_fn_c_check_decl "$LINENO" "group_from_gid" "ac_cv_have_decl_group_from_gid" "
   5550 #include <grp.h>
   5551 
   5552 "
   5553 if test "x$ac_cv_have_decl_group_from_gid" = xyes; then :
   5554   ac_have_decl=1
   5555 else
   5556   ac_have_decl=0
   5557 fi
   5558 
   5559 cat >>confdefs.h <<_ACEOF
   5560 #define HAVE_DECL_GROUP_FROM_GID $ac_have_decl
   5561 _ACEOF
   5562 ac_fn_c_check_decl "$LINENO" "gid_from_group" "ac_cv_have_decl_gid_from_group" "
   5563 #include <grp.h>
   5564 
   5565 "
   5566 if test "x$ac_cv_have_decl_gid_from_group" = xyes; then :
   5567   ac_have_decl=1
   5568 else
   5569   ac_have_decl=0
   5570 fi
   5571 
   5572 cat >>confdefs.h <<_ACEOF
   5573 #define HAVE_DECL_GID_FROM_GROUP $ac_have_decl
   5574 _ACEOF
   5575 ac_fn_c_check_decl "$LINENO" "pwcache_groupdb" "ac_cv_have_decl_pwcache_groupdb" "
   5576 #include <grp.h>
   5577 
   5578 "
   5579 if test "x$ac_cv_have_decl_pwcache_groupdb" = xyes; then :
   5580   ac_have_decl=1
   5581 else
   5582   ac_have_decl=0
   5583 fi
   5584 
   5585 cat >>confdefs.h <<_ACEOF
   5586 #define HAVE_DECL_PWCACHE_GROUPDB $ac_have_decl
   5587 _ACEOF
   5588 
   5589 ac_fn_c_check_decl "$LINENO" "strcasecmp" "ac_cv_have_decl_strcasecmp" "
   5590 #include <string.h>
   5591 
   5592 "
   5593 if test "x$ac_cv_have_decl_strcasecmp" = xyes; then :
   5594   ac_have_decl=1
   5595 else
   5596   ac_have_decl=0
   5597 fi
   5598 
   5599 cat >>confdefs.h <<_ACEOF
   5600 #define HAVE_DECL_STRCASECMP $ac_have_decl
   5601 _ACEOF
   5602 ac_fn_c_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "
   5603 #include <string.h>
   5604 
   5605 "
   5606 if test "x$ac_cv_have_decl_strncasecmp" = xyes; then :
   5607   ac_have_decl=1
   5608 else
   5609   ac_have_decl=0
   5610 fi
   5611 
   5612 cat >>confdefs.h <<_ACEOF
   5613 #define HAVE_DECL_STRNCASECMP $ac_have_decl
   5614 _ACEOF
   5615 ac_fn_c_check_decl "$LINENO" "strlcpy" "ac_cv_have_decl_strlcpy" "
   5616 #include <string.h>
   5617 
   5618 "
   5619 if test "x$ac_cv_have_decl_strlcpy" = xyes; then :
   5620   ac_have_decl=1
   5621 else
   5622   ac_have_decl=0
   5623 fi
   5624 
   5625 cat >>confdefs.h <<_ACEOF
   5626 #define HAVE_DECL_STRLCPY $ac_have_decl
   5627 _ACEOF
   5628 ac_fn_c_check_decl "$LINENO" "strlcat" "ac_cv_have_decl_strlcat" "
   5629 #include <string.h>
   5630 
   5631 "
   5632 if test "x$ac_cv_have_decl_strlcat" = xyes; then :
   5633   ac_have_decl=1
   5634 else
   5635   ac_have_decl=0
   5636 fi
   5637 
   5638 cat >>confdefs.h <<_ACEOF
   5639 #define HAVE_DECL_STRLCAT $ac_have_decl
   5640 _ACEOF
   5641 ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "
   5642 #include <string.h>
   5643 
   5644 "
   5645 if test "x$ac_cv_have_decl_strndup" = xyes; then :
   5646   ac_have_decl=1
   5647 else
   5648   ac_have_decl=0
   5649 fi
   5650 
   5651 cat >>confdefs.h <<_ACEOF
   5652 #define HAVE_DECL_STRNDUP $ac_have_decl
   5653 _ACEOF
   5654 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "
   5655 #include <string.h>
   5656 
   5657 "
   5658 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
   5659   ac_have_decl=1
   5660 else
   5661   ac_have_decl=0
   5662 fi
   5663 
   5664 cat >>confdefs.h <<_ACEOF
   5665 #define HAVE_DECL_STRNLEN $ac_have_decl
   5666 _ACEOF
   5667 ac_fn_c_check_decl "$LINENO" "strsep" "ac_cv_have_decl_strsep" "
   5668 #include <string.h>
   5669 
   5670 "
   5671 if test "x$ac_cv_have_decl_strsep" = xyes; then :
   5672   ac_have_decl=1
   5673 else
   5674   ac_have_decl=0
   5675 fi
   5676 
   5677 cat >>confdefs.h <<_ACEOF
   5678 #define HAVE_DECL_STRSEP $ac_have_decl
   5679 _ACEOF
   5680 
   5681 ac_fn_c_check_decl "$LINENO" "strsuftoll" "ac_cv_have_decl_strsuftoll" "#include <stdlib.h>
   5682 "
   5683 if test "x$ac_cv_have_decl_strsuftoll" = xyes; then :
   5684   ac_have_decl=1
   5685 else
   5686   ac_have_decl=0
   5687 fi
   5688 
   5689 cat >>confdefs.h <<_ACEOF
   5690 #define HAVE_DECL_STRSUFTOLL $ac_have_decl
   5691 _ACEOF
   5692 ac_fn_c_check_decl "$LINENO" "mi_vector_hash" "ac_cv_have_decl_mi_vector_hash" "#include <stdlib.h>
   5693 "
   5694 if test "x$ac_cv_have_decl_mi_vector_hash" = xyes; then :
   5695   ac_have_decl=1
   5696 else
   5697   ac_have_decl=0
   5698 fi
   5699 
   5700 cat >>confdefs.h <<_ACEOF
   5701 #define HAVE_DECL_MI_VECTOR_HASH $ac_have_decl
   5702 _ACEOF
   5703 
   5704 ac_fn_c_check_decl "$LINENO" "lchflags" "ac_cv_have_decl_lchflags" "
   5705 #include <sys/stat.h>
   5706 #include <unistd.h>
   5707 
   5708 "
   5709 if test "x$ac_cv_have_decl_lchflags" = xyes; then :
   5710   ac_have_decl=1
   5711 else
   5712   ac_have_decl=0
   5713 fi
   5714 
   5715 cat >>confdefs.h <<_ACEOF
   5716 #define HAVE_DECL_LCHFLAGS $ac_have_decl
   5717 _ACEOF
   5718 ac_fn_c_check_decl "$LINENO" "lchmod" "ac_cv_have_decl_lchmod" "
   5719 #include <sys/stat.h>
   5720 #include <unistd.h>
   5721 
   5722 "
   5723 if test "x$ac_cv_have_decl_lchmod" = xyes; then :
   5724   ac_have_decl=1
   5725 else
   5726   ac_have_decl=0
   5727 fi
   5728 
   5729 cat >>confdefs.h <<_ACEOF
   5730 #define HAVE_DECL_LCHMOD $ac_have_decl
   5731 _ACEOF
   5732 ac_fn_c_check_decl "$LINENO" "lchown" "ac_cv_have_decl_lchown" "
   5733 #include <sys/stat.h>
   5734 #include <unistd.h>
   5735 
   5736 "
   5737 if test "x$ac_cv_have_decl_lchown" = xyes; then :
   5738   ac_have_decl=1
   5739 else
   5740   ac_have_decl=0
   5741 fi
   5742 
   5743 cat >>confdefs.h <<_ACEOF
   5744 #define HAVE_DECL_LCHOWN $ac_have_decl
   5745 _ACEOF
   5746 
   5747 
   5748 ac_fn_c_check_decl "$LINENO" "err" "ac_cv_have_decl_err" "
   5749 #ifdef HAVE_ERR_H
   5750 #include <err.h>
   5751 #endif
   5752 
   5753 "
   5754 if test "x$ac_cv_have_decl_err" = xyes; then :
   5755   ac_have_decl=1
   5756 else
   5757   ac_have_decl=0
   5758 fi
   5759 
   5760 cat >>confdefs.h <<_ACEOF
   5761 #define HAVE_DECL_ERR $ac_have_decl
   5762 _ACEOF
   5763 ac_fn_c_check_decl "$LINENO" "errc" "ac_cv_have_decl_errc" "
   5764 #ifdef HAVE_ERR_H
   5765 #include <err.h>
   5766 #endif
   5767 
   5768 "
   5769 if test "x$ac_cv_have_decl_errc" = xyes; then :
   5770   ac_have_decl=1
   5771 else
   5772   ac_have_decl=0
   5773 fi
   5774 
   5775 cat >>confdefs.h <<_ACEOF
   5776 #define HAVE_DECL_ERRC $ac_have_decl
   5777 _ACEOF
   5778 ac_fn_c_check_decl "$LINENO" "errx" "ac_cv_have_decl_errx" "
   5779 #ifdef HAVE_ERR_H
   5780 #include <err.h>
   5781 #endif
   5782 
   5783 "
   5784 if test "x$ac_cv_have_decl_errx" = xyes; then :
   5785   ac_have_decl=1
   5786 else
   5787   ac_have_decl=0
   5788 fi
   5789 
   5790 cat >>confdefs.h <<_ACEOF
   5791 #define HAVE_DECL_ERRX $ac_have_decl
   5792 _ACEOF
   5793 ac_fn_c_check_decl "$LINENO" "verrc" "ac_cv_have_decl_verrc" "
   5794 #ifdef HAVE_ERR_H
   5795 #include <err.h>
   5796 #endif
   5797 
   5798 "
   5799 if test "x$ac_cv_have_decl_verrc" = xyes; then :
   5800   ac_have_decl=1
   5801 else
   5802   ac_have_decl=0
   5803 fi
   5804 
   5805 cat >>confdefs.h <<_ACEOF
   5806 #define HAVE_DECL_VERRC $ac_have_decl
   5807 _ACEOF
   5808 ac_fn_c_check_decl "$LINENO" "verrx" "ac_cv_have_decl_verrx" "
   5809 #ifdef HAVE_ERR_H
   5810 #include <err.h>
   5811 #endif
   5812 
   5813 "
   5814 if test "x$ac_cv_have_decl_verrx" = xyes; then :
   5815   ac_have_decl=1
   5816 else
   5817   ac_have_decl=0
   5818 fi
   5819 
   5820 cat >>confdefs.h <<_ACEOF
   5821 #define HAVE_DECL_VERRX $ac_have_decl
   5822 _ACEOF
   5823 ac_fn_c_check_decl "$LINENO" "warn" "ac_cv_have_decl_warn" "
   5824 #ifdef HAVE_ERR_H
   5825 #include <err.h>
   5826 #endif
   5827 
   5828 "
   5829 if test "x$ac_cv_have_decl_warn" = xyes; then :
   5830   ac_have_decl=1
   5831 else
   5832   ac_have_decl=0
   5833 fi
   5834 
   5835 cat >>confdefs.h <<_ACEOF
   5836 #define HAVE_DECL_WARN $ac_have_decl
   5837 _ACEOF
   5838 ac_fn_c_check_decl "$LINENO" "warnc" "ac_cv_have_decl_warnc" "
   5839 #ifdef HAVE_ERR_H
   5840 #include <err.h>
   5841 #endif
   5842 
   5843 "
   5844 if test "x$ac_cv_have_decl_warnc" = xyes; then :
   5845   ac_have_decl=1
   5846 else
   5847   ac_have_decl=0
   5848 fi
   5849 
   5850 cat >>confdefs.h <<_ACEOF
   5851 #define HAVE_DECL_WARNC $ac_have_decl
   5852 _ACEOF
   5853 ac_fn_c_check_decl "$LINENO" "warnx" "ac_cv_have_decl_warnx" "
   5854 #ifdef HAVE_ERR_H
   5855 #include <err.h>
   5856 #endif
   5857 
   5858 "
   5859 if test "x$ac_cv_have_decl_warnx" = xyes; then :
   5860   ac_have_decl=1
   5861 else
   5862   ac_have_decl=0
   5863 fi
   5864 
   5865 cat >>confdefs.h <<_ACEOF
   5866 #define HAVE_DECL_WARNX $ac_have_decl
   5867 _ACEOF
   5868 ac_fn_c_check_decl "$LINENO" "vwarnc" "ac_cv_have_decl_vwarnc" "
   5869 #ifdef HAVE_ERR_H
   5870 #include <err.h>
   5871 #endif
   5872 
   5873 "
   5874 if test "x$ac_cv_have_decl_vwarnc" = xyes; then :
   5875   ac_have_decl=1
   5876 else
   5877   ac_have_decl=0
   5878 fi
   5879 
   5880 cat >>confdefs.h <<_ACEOF
   5881 #define HAVE_DECL_VWARNC $ac_have_decl
   5882 _ACEOF
   5883 ac_fn_c_check_decl "$LINENO" "vwarnx" "ac_cv_have_decl_vwarnx" "
   5884 #ifdef HAVE_ERR_H
   5885 #include <err.h>
   5886 #endif
   5887 
   5888 "
   5889 if test "x$ac_cv_have_decl_vwarnx" = xyes; then :
   5890   ac_have_decl=1
   5891 else
   5892   ac_have_decl=0
   5893 fi
   5894 
   5895 cat >>confdefs.h <<_ACEOF
   5896 #define HAVE_DECL_VWARNX $ac_have_decl
   5897 _ACEOF
   5898 
   5899 
   5900 ac_fn_c_check_decl "$LINENO" "htobe16" "ac_cv_have_decl_htobe16" "#include <sys/types.h>
   5901 "
   5902 if test "x$ac_cv_have_decl_htobe16" = xyes; then :
   5903   ac_have_decl=1
   5904 else
   5905   ac_have_decl=0
   5906 fi
   5907 
   5908 cat >>confdefs.h <<_ACEOF
   5909 #define HAVE_DECL_HTOBE16 $ac_have_decl
   5910 _ACEOF
   5911 ac_fn_c_check_decl "$LINENO" "htobe32" "ac_cv_have_decl_htobe32" "#include <sys/types.h>
   5912 "
   5913 if test "x$ac_cv_have_decl_htobe32" = xyes; then :
   5914   ac_have_decl=1
   5915 else
   5916   ac_have_decl=0
   5917 fi
   5918 
   5919 cat >>confdefs.h <<_ACEOF
   5920 #define HAVE_DECL_HTOBE32 $ac_have_decl
   5921 _ACEOF
   5922 ac_fn_c_check_decl "$LINENO" "htobe64" "ac_cv_have_decl_htobe64" "#include <sys/types.h>
   5923 "
   5924 if test "x$ac_cv_have_decl_htobe64" = xyes; then :
   5925   ac_have_decl=1
   5926 else
   5927   ac_have_decl=0
   5928 fi
   5929 
   5930 cat >>confdefs.h <<_ACEOF
   5931 #define HAVE_DECL_HTOBE64 $ac_have_decl
   5932 _ACEOF
   5933 ac_fn_c_check_decl "$LINENO" "htole16" "ac_cv_have_decl_htole16" "#include <sys/types.h>
   5934 "
   5935 if test "x$ac_cv_have_decl_htole16" = xyes; then :
   5936   ac_have_decl=1
   5937 else
   5938   ac_have_decl=0
   5939 fi
   5940 
   5941 cat >>confdefs.h <<_ACEOF
   5942 #define HAVE_DECL_HTOLE16 $ac_have_decl
   5943 _ACEOF
   5944 ac_fn_c_check_decl "$LINENO" "htole32" "ac_cv_have_decl_htole32" "#include <sys/types.h>
   5945 "
   5946 if test "x$ac_cv_have_decl_htole32" = xyes; then :
   5947   ac_have_decl=1
   5948 else
   5949   ac_have_decl=0
   5950 fi
   5951 
   5952 cat >>confdefs.h <<_ACEOF
   5953 #define HAVE_DECL_HTOLE32 $ac_have_decl
   5954 _ACEOF
   5955 ac_fn_c_check_decl "$LINENO" "htole64" "ac_cv_have_decl_htole64" "#include <sys/types.h>
   5956 "
   5957 if test "x$ac_cv_have_decl_htole64" = xyes; then :
   5958   ac_have_decl=1
   5959 else
   5960   ac_have_decl=0
   5961 fi
   5962 
   5963 cat >>confdefs.h <<_ACEOF
   5964 #define HAVE_DECL_HTOLE64 $ac_have_decl
   5965 _ACEOF
   5966 ac_fn_c_check_decl "$LINENO" "be16toh" "ac_cv_have_decl_be16toh" "#include <sys/types.h>
   5967 "
   5968 if test "x$ac_cv_have_decl_be16toh" = xyes; then :
   5969   ac_have_decl=1
   5970 else
   5971   ac_have_decl=0
   5972 fi
   5973 
   5974 cat >>confdefs.h <<_ACEOF
   5975 #define HAVE_DECL_BE16TOH $ac_have_decl
   5976 _ACEOF
   5977 ac_fn_c_check_decl "$LINENO" "be32toh" "ac_cv_have_decl_be32toh" "#include <sys/types.h>
   5978 "
   5979 if test "x$ac_cv_have_decl_be32toh" = xyes; then :
   5980   ac_have_decl=1
   5981 else
   5982   ac_have_decl=0
   5983 fi
   5984 
   5985 cat >>confdefs.h <<_ACEOF
   5986 #define HAVE_DECL_BE32TOH $ac_have_decl
   5987 _ACEOF
   5988 ac_fn_c_check_decl "$LINENO" "be64toh" "ac_cv_have_decl_be64toh" "#include <sys/types.h>
   5989 "
   5990 if test "x$ac_cv_have_decl_be64toh" = xyes; then :
   5991   ac_have_decl=1
   5992 else
   5993   ac_have_decl=0
   5994 fi
   5995 
   5996 cat >>confdefs.h <<_ACEOF
   5997 #define HAVE_DECL_BE64TOH $ac_have_decl
   5998 _ACEOF
   5999 ac_fn_c_check_decl "$LINENO" "le16toh" "ac_cv_have_decl_le16toh" "#include <sys/types.h>
   6000 "
   6001 if test "x$ac_cv_have_decl_le16toh" = xyes; then :
   6002   ac_have_decl=1
   6003 else
   6004   ac_have_decl=0
   6005 fi
   6006 
   6007 cat >>confdefs.h <<_ACEOF
   6008 #define HAVE_DECL_LE16TOH $ac_have_decl
   6009 _ACEOF
   6010 ac_fn_c_check_decl "$LINENO" "le32toh" "ac_cv_have_decl_le32toh" "#include <sys/types.h>
   6011 "
   6012 if test "x$ac_cv_have_decl_le32toh" = xyes; then :
   6013   ac_have_decl=1
   6014 else
   6015   ac_have_decl=0
   6016 fi
   6017 
   6018 cat >>confdefs.h <<_ACEOF
   6019 #define HAVE_DECL_LE32TOH $ac_have_decl
   6020 _ACEOF
   6021 ac_fn_c_check_decl "$LINENO" "le64toh" "ac_cv_have_decl_le64toh" "#include <sys/types.h>
   6022 "
   6023 if test "x$ac_cv_have_decl_le64toh" = xyes; then :
   6024   ac_have_decl=1
   6025 else
   6026   ac_have_decl=0
   6027 fi
   6028 
   6029 cat >>confdefs.h <<_ACEOF
   6030 #define HAVE_DECL_LE64TOH $ac_have_decl
   6031 _ACEOF
   6032 
   6033 
   6034 ac_fn_c_check_decl "$LINENO" "bswap16" "ac_cv_have_decl_bswap16" "#include <machine/bswap.h>
   6035 "
   6036 if test "x$ac_cv_have_decl_bswap16" = xyes; then :
   6037   ac_have_decl=1
   6038 else
   6039   ac_have_decl=0
   6040 fi
   6041 
   6042 cat >>confdefs.h <<_ACEOF
   6043 #define HAVE_DECL_BSWAP16 $ac_have_decl
   6044 _ACEOF
   6045 ac_fn_c_check_decl "$LINENO" "bswap32" "ac_cv_have_decl_bswap32" "#include <machine/bswap.h>
   6046 "
   6047 if test "x$ac_cv_have_decl_bswap32" = xyes; then :
   6048   ac_have_decl=1
   6049 else
   6050   ac_have_decl=0
   6051 fi
   6052 
   6053 cat >>confdefs.h <<_ACEOF
   6054 #define HAVE_DECL_BSWAP32 $ac_have_decl
   6055 _ACEOF
   6056 ac_fn_c_check_decl "$LINENO" "bswap64" "ac_cv_have_decl_bswap64" "#include <machine/bswap.h>
   6057 "
   6058 if test "x$ac_cv_have_decl_bswap64" = xyes; then :
   6059   ac_have_decl=1
   6060 else
   6061   ac_have_decl=0
   6062 fi
   6063 
   6064 cat >>confdefs.h <<_ACEOF
   6065 #define HAVE_DECL_BSWAP64 $ac_have_decl
   6066 _ACEOF
   6067 
   6068 
   6069 ac_fn_c_check_decl "$LINENO" "be16enc" "ac_cv_have_decl_be16enc" "#include <sys/endian.h>
   6070 "
   6071 if test "x$ac_cv_have_decl_be16enc" = xyes; then :
   6072   ac_have_decl=1
   6073 else
   6074   ac_have_decl=0
   6075 fi
   6076 
   6077 cat >>confdefs.h <<_ACEOF
   6078 #define HAVE_DECL_BE16ENC $ac_have_decl
   6079 _ACEOF
   6080 ac_fn_c_check_decl "$LINENO" "le16enc" "ac_cv_have_decl_le16enc" "#include <sys/endian.h>
   6081 "
   6082 if test "x$ac_cv_have_decl_le16enc" = xyes; then :
   6083   ac_have_decl=1
   6084 else
   6085   ac_have_decl=0
   6086 fi
   6087 
   6088 cat >>confdefs.h <<_ACEOF
   6089 #define HAVE_DECL_LE16ENC $ac_have_decl
   6090 _ACEOF
   6091 ac_fn_c_check_decl "$LINENO" "be16dec" "ac_cv_have_decl_be16dec" "#include <sys/endian.h>
   6092 "
   6093 if test "x$ac_cv_have_decl_be16dec" = xyes; then :
   6094   ac_have_decl=1
   6095 else
   6096   ac_have_decl=0
   6097 fi
   6098 
   6099 cat >>confdefs.h <<_ACEOF
   6100 #define HAVE_DECL_BE16DEC $ac_have_decl
   6101 _ACEOF
   6102 ac_fn_c_check_decl "$LINENO" "le16dec" "ac_cv_have_decl_le16dec" "#include <sys/endian.h>
   6103 "
   6104 if test "x$ac_cv_have_decl_le16dec" = xyes; then :
   6105   ac_have_decl=1
   6106 else
   6107   ac_have_decl=0
   6108 fi
   6109 
   6110 cat >>confdefs.h <<_ACEOF
   6111 #define HAVE_DECL_LE16DEC $ac_have_decl
   6112 _ACEOF
   6113 ac_fn_c_check_decl "$LINENO" "be32enc" "ac_cv_have_decl_be32enc" "#include <sys/endian.h>
   6114 "
   6115 if test "x$ac_cv_have_decl_be32enc" = xyes; then :
   6116   ac_have_decl=1
   6117 else
   6118   ac_have_decl=0
   6119 fi
   6120 
   6121 cat >>confdefs.h <<_ACEOF
   6122 #define HAVE_DECL_BE32ENC $ac_have_decl
   6123 _ACEOF
   6124 ac_fn_c_check_decl "$LINENO" "le32enc" "ac_cv_have_decl_le32enc" "#include <sys/endian.h>
   6125 "
   6126 if test "x$ac_cv_have_decl_le32enc" = xyes; then :
   6127   ac_have_decl=1
   6128 else
   6129   ac_have_decl=0
   6130 fi
   6131 
   6132 cat >>confdefs.h <<_ACEOF
   6133 #define HAVE_DECL_LE32ENC $ac_have_decl
   6134 _ACEOF
   6135 ac_fn_c_check_decl "$LINENO" "be32dec" "ac_cv_have_decl_be32dec" "#include <sys/endian.h>
   6136 "
   6137 if test "x$ac_cv_have_decl_be32dec" = xyes; then :
   6138   ac_have_decl=1
   6139 else
   6140   ac_have_decl=0
   6141 fi
   6142 
   6143 cat >>confdefs.h <<_ACEOF
   6144 #define HAVE_DECL_BE32DEC $ac_have_decl
   6145 _ACEOF
   6146 ac_fn_c_check_decl "$LINENO" "le32dec" "ac_cv_have_decl_le32dec" "#include <sys/endian.h>
   6147 "
   6148 if test "x$ac_cv_have_decl_le32dec" = xyes; then :
   6149   ac_have_decl=1
   6150 else
   6151   ac_have_decl=0
   6152 fi
   6153 
   6154 cat >>confdefs.h <<_ACEOF
   6155 #define HAVE_DECL_LE32DEC $ac_have_decl
   6156 _ACEOF
   6157 ac_fn_c_check_decl "$LINENO" "be64enc" "ac_cv_have_decl_be64enc" "#include <sys/endian.h>
   6158 "
   6159 if test "x$ac_cv_have_decl_be64enc" = xyes; then :
   6160   ac_have_decl=1
   6161 else
   6162   ac_have_decl=0
   6163 fi
   6164 
   6165 cat >>confdefs.h <<_ACEOF
   6166 #define HAVE_DECL_BE64ENC $ac_have_decl
   6167 _ACEOF
   6168 ac_fn_c_check_decl "$LINENO" "le64enc" "ac_cv_have_decl_le64enc" "#include <sys/endian.h>
   6169 "
   6170 if test "x$ac_cv_have_decl_le64enc" = xyes; then :
   6171   ac_have_decl=1
   6172 else
   6173   ac_have_decl=0
   6174 fi
   6175 
   6176 cat >>confdefs.h <<_ACEOF
   6177 #define HAVE_DECL_LE64ENC $ac_have_decl
   6178 _ACEOF
   6179 ac_fn_c_check_decl "$LINENO" "be64dec" "ac_cv_have_decl_be64dec" "#include <sys/endian.h>
   6180 "
   6181 if test "x$ac_cv_have_decl_be64dec" = xyes; then :
   6182   ac_have_decl=1
   6183 else
   6184   ac_have_decl=0
   6185 fi
   6186 
   6187 cat >>confdefs.h <<_ACEOF
   6188 #define HAVE_DECL_BE64DEC $ac_have_decl
   6189 _ACEOF
   6190 ac_fn_c_check_decl "$LINENO" "le64dec" "ac_cv_have_decl_le64dec" "#include <sys/endian.h>
   6191 "
   6192 if test "x$ac_cv_have_decl_le64dec" = xyes; then :
   6193   ac_have_decl=1
   6194 else
   6195   ac_have_decl=0
   6196 fi
   6197 
   6198 cat >>confdefs.h <<_ACEOF
   6199 #define HAVE_DECL_LE64DEC $ac_have_decl
   6200 _ACEOF
   6201 
   6202 
   6203 ac_fn_c_check_decl "$LINENO" "fstatvfs" "ac_cv_have_decl_fstatvfs" "#include <sys/statvfs.h>
   6204 "
   6205 if test "x$ac_cv_have_decl_fstatvfs" = xyes; then :
   6206   ac_have_decl=1
   6207 else
   6208   ac_have_decl=0
   6209 fi
   6210 
   6211 cat >>confdefs.h <<_ACEOF
   6212 #define HAVE_DECL_FSTATVFS $ac_have_decl
   6213 _ACEOF
   6214 
   6215 
   6216 ac_fn_c_check_decl "$LINENO" "setgroupent" "ac_cv_have_decl_setgroupent" "
   6217 #include <sys/types.h>
   6218 #include <grp.h>
   6219 #include <pwd.h>
   6220 
   6221 "
   6222 if test "x$ac_cv_have_decl_setgroupent" = xyes; then :
   6223   ac_have_decl=1
   6224 else
   6225   ac_have_decl=0
   6226 fi
   6227 
   6228 cat >>confdefs.h <<_ACEOF
   6229 #define HAVE_DECL_SETGROUPENT $ac_have_decl
   6230 _ACEOF
   6231 ac_fn_c_check_decl "$LINENO" "setpassent" "ac_cv_have_decl_setpassent" "
   6232 #include <sys/types.h>
   6233 #include <grp.h>
   6234 #include <pwd.h>
   6235 
   6236 "
   6237 if test "x$ac_cv_have_decl_setpassent" = xyes; then :
   6238   ac_have_decl=1
   6239 else
   6240   ac_have_decl=0
   6241 fi
   6242 
   6243 cat >>confdefs.h <<_ACEOF
   6244 #define HAVE_DECL_SETPASSENT $ac_have_decl
   6245 _ACEOF
   6246 
   6247 
   6248 # regcomp() and regexec() are also names of functions in the old V8
   6249 # regexp package.  To avoid them, we need to find out who has regfree().
   6250 
   6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regfree in -lregex" >&5
   6252 $as_echo_n "checking for regfree in -lregex... " >&6; }
   6253 if ${ac_cv_lib_regex_regfree+:} false; then :
   6254   $as_echo_n "(cached) " >&6
   6255 else
   6256   ac_check_lib_save_LIBS=$LIBS
   6257 LIBS="-lregex  $LIBS"
   6258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6259 /* end confdefs.h.  */
   6260 
   6261 /* Override any GCC internal prototype to avoid an error.
   6262    Use char because int might match the return type of a GCC
   6263    builtin and then its argument prototype would still apply.  */
   6264 #ifdef __cplusplus
   6265 extern "C"
   6266 #endif
   6267 char regfree ();
   6268 int
   6269 main ()
   6270 {
   6271 return regfree ();
   6272   ;
   6273   return 0;
   6274 }
   6275 _ACEOF
   6276 if ac_fn_c_try_link "$LINENO"; then :
   6277   ac_cv_lib_regex_regfree=yes
   6278 else
   6279   ac_cv_lib_regex_regfree=no
   6280 fi
   6281 rm -f core conftest.err conftest.$ac_objext \
   6282     conftest$ac_exeext conftest.$ac_ext
   6283 LIBS=$ac_check_lib_save_LIBS
   6284 fi
   6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regfree" >&5
   6286 $as_echo "$ac_cv_lib_regex_regfree" >&6; }
   6287 if test "x$ac_cv_lib_regex_regfree" = xyes; then :
   6288   cat >>confdefs.h <<_ACEOF
   6289 #define HAVE_LIBREGEX 1
   6290 _ACEOF
   6291 
   6292   LIBS="-lregex $LIBS"
   6293 
   6294 fi
   6295 
   6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regfree" >&5
   6297 $as_echo_n "checking for library containing regfree... " >&6; }
   6298 if ${ac_cv_search_regfree+:} false; then :
   6299   $as_echo_n "(cached) " >&6
   6300 else
   6301   ac_func_search_save_LIBS=$LIBS
   6302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6303 /* end confdefs.h.  */
   6304 
   6305 /* Override any GCC internal prototype to avoid an error.
   6306    Use char because int might match the return type of a GCC
   6307    builtin and then its argument prototype would still apply.  */
   6308 #ifdef __cplusplus
   6309 extern "C"
   6310 #endif
   6311 char regfree ();
   6312 int
   6313 main ()
   6314 {
   6315 return regfree ();
   6316   ;
   6317   return 0;
   6318 }
   6319 _ACEOF
   6320 for ac_lib in '' rx posix; do
   6321   if test -z "$ac_lib"; then
   6322     ac_res="none required"
   6323   else
   6324     ac_res=-l$ac_lib
   6325     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6326   fi
   6327   if ac_fn_c_try_link "$LINENO"; then :
   6328   ac_cv_search_regfree=$ac_res
   6329 fi
   6330 rm -f core conftest.err conftest.$ac_objext \
   6331     conftest$ac_exeext
   6332   if ${ac_cv_search_regfree+:} false; then :
   6333   break
   6334 fi
   6335 done
   6336 if ${ac_cv_search_regfree+:} false; then :
   6337 
   6338 else
   6339   ac_cv_search_regfree=no
   6340 fi
   6341 rm conftest.$ac_ext
   6342 LIBS=$ac_func_search_save_LIBS
   6343 fi
   6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regfree" >&5
   6345 $as_echo "$ac_cv_search_regfree" >&6; }
   6346 ac_res=$ac_cv_search_regfree
   6347 if test "$ac_res" != no; then :
   6348   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   6349 
   6350 fi
   6351 
   6352 
   6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
   6354 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   6355 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
   6356   $as_echo_n "(cached) " >&6
   6357 else
   6358   ac_check_lib_save_LIBS=$LIBS
   6359 LIBS="-lrt  $LIBS"
   6360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6361 /* end confdefs.h.  */
   6362 
   6363 /* Override any GCC internal prototype to avoid an error.
   6364    Use char because int might match the return type of a GCC
   6365    builtin and then its argument prototype would still apply.  */
   6366 #ifdef __cplusplus
   6367 extern "C"
   6368 #endif
   6369 char clock_gettime ();
   6370 int
   6371 main ()
   6372 {
   6373 return clock_gettime ();
   6374   ;
   6375   return 0;
   6376 }
   6377 _ACEOF
   6378 if ac_fn_c_try_link "$LINENO"; then :
   6379   ac_cv_lib_rt_clock_gettime=yes
   6380 else
   6381   ac_cv_lib_rt_clock_gettime=no
   6382 fi
   6383 rm -f core conftest.err conftest.$ac_objext \
   6384     conftest$ac_exeext conftest.$ac_ext
   6385 LIBS=$ac_check_lib_save_LIBS
   6386 fi
   6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
   6388 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   6389 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
   6390   cat >>confdefs.h <<_ACEOF
   6391 #define HAVE_LIBRT 1
   6392 _ACEOF
   6393 
   6394   LIBS="-lrt $LIBS"
   6395 
   6396 fi
   6397 
   6398 
   6399 for ac_func in fparseln
   6400 do :
   6401   ac_fn_c_check_func "$LINENO" "fparseln" "ac_cv_func_fparseln"
   6402 if test "x$ac_cv_func_fparseln" = xyes; then :
   6403   cat >>confdefs.h <<_ACEOF
   6404 #define HAVE_FPARSELN 1
   6405 _ACEOF
   6406 
   6407     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fparseln seems to work" >&5
   6408 $as_echo_n "checking if fparseln seems to work... " >&6; }
   6409     if test "$cross_compiling" = yes; then :
   6410   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking farseln" >&5
   6411 $as_echo "$as_me: WARNING: cross compiling: not checking farseln" >&2;}
   6412 
   6413 else
   6414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6415 /* end confdefs.h.  */
   6416 
   6417 #define _NETBSD_SOURCE
   6418 #include <stdio.h>
   6419 #include <stdlib.h>
   6420 #define CONFTEST	"conftest.fparseln"
   6421 #define COMMENT		'#'
   6422 int
   6423 main(void)
   6424 {
   6425 	static const char delim[3] = { '\0', '\0', COMMENT };
   6426 	FILE *fp;
   6427 	char *ptr;
   6428 	fp = fopen(CONFTEST, "w+");
   6429 	if (fp != NULL) {
   6430 		unlink(CONFTEST);
   6431 		ungetc(COMMENT, fp);
   6432 		ptr = fparseln(fp, NULL, NULL, delim,
   6433 		    FPARSELN_UNESCALL);
   6434 		fclose(fp);
   6435 		if (ptr == NULL)
   6436 			exit(0);
   6437 	}
   6438 	exit(1);
   6439 }
   6440 
   6441 _ACEOF
   6442 if ac_fn_c_try_run "$LINENO"; then :
   6443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6444 $as_echo "yes" >&6; }
   6445 else
   6446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6447 $as_echo "no" >&6; }
   6448 
   6449 $as_echo "#define BROKEN_FPARSELN 1" >>confdefs.h
   6450 
   6451 fi
   6452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6453   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6454 fi
   6455 
   6456 
   6457 fi
   6458 done
   6459 
   6460 
   6461 
   6462 nb_cv_check_cc_flags=
   6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
   6464 $as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
   6465 if ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then :
   6466   $as_echo_n "(cached) " >&6
   6467 else
   6468 
   6469   ax_check_save_flags=$CFLAGS
   6470   CFLAGS="$CFLAGS  -Werror=unknown-warning-option"
   6471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6472 /* end confdefs.h.  */
   6473 
   6474 int
   6475 main ()
   6476 {
   6477 
   6478   ;
   6479   return 0;
   6480 }
   6481 _ACEOF
   6482 if ac_fn_c_try_compile "$LINENO"; then :
   6483   ax_cv_check_cflags___Werror_unknown_warning_option=yes
   6484 else
   6485   ax_cv_check_cflags___Werror_unknown_warning_option=no
   6486 fi
   6487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6488   CFLAGS=$ax_check_save_flags
   6489 fi
   6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
   6491 $as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
   6492 if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then :
   6493   nb_cv_check_cc_flags=-Werror=unknown-warning-option
   6494 else
   6495   :
   6496 fi
   6497 
   6498 
   6499 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-no-cpp-precomp" | $as_tr_sh`
   6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -no-cpp-precomp" >&5
   6501 $as_echo_n "checking whether C compiler accepts -no-cpp-precomp... " >&6; }
   6502 if eval \${$as_CACHEVAR+:} false; then :
   6503   $as_echo_n "(cached) " >&6
   6504 else
   6505 
   6506   ax_check_save_flags=$CFLAGS
   6507   CFLAGS="$CFLAGS $nb_cv_check_cc_flags -no-cpp-precomp"
   6508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6509 /* end confdefs.h.  */
   6510 
   6511 int
   6512 main ()
   6513 {
   6514 
   6515   ;
   6516   return 0;
   6517 }
   6518 _ACEOF
   6519 if ac_fn_c_try_compile "$LINENO"; then :
   6520   eval "$as_CACHEVAR=yes"
   6521 else
   6522   eval "$as_CACHEVAR=no"
   6523 fi
   6524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6525   CFLAGS=$ax_check_save_flags
   6526 fi
   6527 eval ac_res=\$$as_CACHEVAR
   6528 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6529 $as_echo "$ac_res" >&6; }
   6530 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   6531   CC_NO_CPP_PRECOMP=-no-cpp-precomp
   6532 else
   6533   :
   6534 fi
   6535 
   6536 
   6537 
   6538 
   6539 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Waddress-of-packed-member" | $as_tr_sh`
   6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Waddress-of-packed-member" >&5
   6541 $as_echo_n "checking whether C compiler accepts -Waddress-of-packed-member... " >&6; }
   6542 if eval \${$as_CACHEVAR+:} false; then :
   6543   $as_echo_n "(cached) " >&6
   6544 else
   6545 
   6546   ax_check_save_flags=$CFLAGS
   6547   CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Waddress-of-packed-member"
   6548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6549 /* end confdefs.h.  */
   6550 
   6551 int
   6552 main ()
   6553 {
   6554 
   6555   ;
   6556   return 0;
   6557 }
   6558 _ACEOF
   6559 if ac_fn_c_try_compile "$LINENO"; then :
   6560   eval "$as_CACHEVAR=yes"
   6561 else
   6562   eval "$as_CACHEVAR=no"
   6563 fi
   6564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6565   CFLAGS=$ax_check_save_flags
   6566 fi
   6567 eval ac_res=\$$as_CACHEVAR
   6568 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6569 $as_echo "$ac_res" >&6; }
   6570 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   6571   CC_WNO_ADDRESS_OF_PACKED_MEMBER=-Wno-address-of-packed-member
   6572 else
   6573   :
   6574 fi
   6575 
   6576 
   6577 
   6578 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wcast-function-type" | $as_tr_sh`
   6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wcast-function-type" >&5
   6580 $as_echo_n "checking whether C compiler accepts -Wcast-function-type... " >&6; }
   6581 if eval \${$as_CACHEVAR+:} false; then :
   6582   $as_echo_n "(cached) " >&6
   6583 else
   6584 
   6585   ax_check_save_flags=$CFLAGS
   6586   CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wcast-function-type"
   6587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6588 /* end confdefs.h.  */
   6589 
   6590 int
   6591 main ()
   6592 {
   6593 
   6594   ;
   6595   return 0;
   6596 }
   6597 _ACEOF
   6598 if ac_fn_c_try_compile "$LINENO"; then :
   6599   eval "$as_CACHEVAR=yes"
   6600 else
   6601   eval "$as_CACHEVAR=no"
   6602 fi
   6603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6604   CFLAGS=$ax_check_save_flags
   6605 fi
   6606 eval ac_res=\$$as_CACHEVAR
   6607 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6608 $as_echo "$ac_res" >&6; }
   6609 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   6610   CC_WNO_CAST_FUNCTION_TYPE=-Wno-cast-function-type
   6611 else
   6612   :
   6613 fi
   6614 
   6615 
   6616 
   6617 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Werror=address-of-packed-member" | $as_tr_sh`
   6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=address-of-packed-member" >&5
   6619 $as_echo_n "checking whether C compiler accepts -Werror=address-of-packed-member... " >&6; }
   6620 if eval \${$as_CACHEVAR+:} false; then :
   6621   $as_echo_n "(cached) " >&6
   6622 else
   6623 
   6624   ax_check_save_flags=$CFLAGS
   6625   CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Werror=address-of-packed-member"
   6626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6627 /* end confdefs.h.  */
   6628 
   6629 int
   6630 main ()
   6631 {
   6632 
   6633   ;
   6634   return 0;
   6635 }
   6636 _ACEOF
   6637 if ac_fn_c_try_compile "$LINENO"; then :
   6638   eval "$as_CACHEVAR=yes"
   6639 else
   6640   eval "$as_CACHEVAR=no"
   6641 fi
   6642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6643   CFLAGS=$ax_check_save_flags
   6644 fi
   6645 eval ac_res=\$$as_CACHEVAR
   6646 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6647 $as_echo "$ac_res" >&6; }
   6648 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   6649   CC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER=-Wno-error=address-of-packed-member
   6650 else
   6651   :
   6652 fi
   6653 
   6654 
   6655 
   6656 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wformat-overflow" | $as_tr_sh`
   6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wformat-overflow" >&5
   6658 $as_echo_n "checking whether C compiler accepts -Wformat-overflow... " >&6; }
   6659 if eval \${$as_CACHEVAR+:} false; then :
   6660   $as_echo_n "(cached) " >&6
   6661 else
   6662 
   6663   ax_check_save_flags=$CFLAGS
   6664   CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wformat-overflow"
   6665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6666 /* end confdefs.h.  */
   6667 
   6668 int
   6669 main ()
   6670 {
   6671 
   6672   ;
   6673   return 0;
   6674 }
   6675 _ACEOF
   6676 if ac_fn_c_try_compile "$LINENO"; then :
   6677   eval "$as_CACHEVAR=yes"
   6678 else
   6679   eval "$as_CACHEVAR=no"
   6680 fi
   6681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6682   CFLAGS=$ax_check_save_flags
   6683 fi
   6684 eval ac_res=\$$as_CACHEVAR
   6685 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6686 $as_echo "$ac_res" >&6; }
   6687 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   6688   CC_WNO_FORMAT_OVERFLOW=-Wno-format-overflow
   6689 else
   6690   :
   6691 fi
   6692 
   6693 
   6694 
   6695 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wformat-truncation" | $as_tr_sh`
   6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wformat-truncation" >&5
   6697 $as_echo_n "checking whether C compiler accepts -Wformat-truncation... " >&6; }
   6698 if eval \${$as_CACHEVAR+:} false; then :
   6699   $as_echo_n "(cached) " >&6
   6700 else
   6701 
   6702   ax_check_save_flags=$CFLAGS
   6703   CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wformat-truncation"
   6704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6705 /* end confdefs.h.  */
   6706 
   6707 int
   6708 main ()
   6709 {
   6710 
   6711   ;
   6712   return 0;
   6713 }
   6714 _ACEOF
   6715 if ac_fn_c_try_compile "$LINENO"; then :
   6716   eval "$as_CACHEVAR=yes"
   6717 else
   6718   eval "$as_CACHEVAR=no"
   6719 fi
   6720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6721   CFLAGS=$ax_check_save_flags
   6722 fi
   6723 eval ac_res=\$$as_CACHEVAR
   6724 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6725 $as_echo "$ac_res" >&6; }
   6726 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   6727   CC_WNO_FORMAT_TRUNCATION=-Wno-format-truncation
   6728 else
   6729   :
   6730 fi
   6731 
   6732 
   6733 
   6734 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wimplicit-fallthrough" | $as_tr_sh`
   6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wimplicit-fallthrough" >&5
   6736 $as_echo_n "checking whether C compiler accepts -Wimplicit-fallthrough... " >&6; }
   6737 if eval \${$as_CACHEVAR+:} false; then :
   6738   $as_echo_n "(cached) " >&6
   6739 else
   6740 
   6741   ax_check_save_flags=$CFLAGS
   6742   CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wimplicit-fallthrough"
   6743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6744 /* end confdefs.h.  */
   6745 
   6746 int
   6747 main ()
   6748 {
   6749 
   6750   ;
   6751   return 0;
   6752 }
   6753 _ACEOF
   6754 if ac_fn_c_try_compile "$LINENO"; then :
   6755   eval "$as_CACHEVAR=yes"
   6756 else
   6757   eval "$as_CACHEVAR=no"
   6758 fi
   6759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6760   CFLAGS=$ax_check_save_flags
   6761 fi
   6762 eval ac_res=\$$as_CACHEVAR
   6763 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6764 $as_echo "$ac_res" >&6; }
   6765 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   6766   CC_WNO_IMPLICIT_FALLTHROUGH=-Wno-implicit-fallthrough
   6767 else
   6768   :
   6769 fi
   6770 
   6771 
   6772 
   6773 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wmaybe-uninitialized" | $as_tr_sh`
   6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wmaybe-uninitialized" >&5
   6775 $as_echo_n "checking whether C compiler accepts -Wmaybe-uninitialized... " >&6; }
   6776 if eval \${$as_CACHEVAR+:} false; then :
   6777   $as_echo_n "(cached) " >&6
   6778 else
   6779 
   6780   ax_check_save_flags=$CFLAGS
   6781   CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wmaybe-uninitialized"
   6782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6783 /* end confdefs.h.  */
   6784 
   6785 int
   6786 main ()
   6787 {
   6788 
   6789   ;
   6790   return 0;
   6791 }
   6792 _ACEOF
   6793 if ac_fn_c_try_compile "$LINENO"; then :
   6794   eval "$as_CACHEVAR=yes"
   6795 else
   6796   eval "$as_CACHEVAR=no"
   6797 fi
   6798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6799   CFLAGS=$ax_check_save_flags
   6800 fi
   6801 eval ac_res=\$$as_CACHEVAR
   6802 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6803 $as_echo "$ac_res" >&6; }
   6804 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   6805   CC_WNO_MAYBE_UNINITIALIZED=-Wno-maybe-uninitialized
   6806 else
   6807   :
   6808 fi
   6809 
   6810 
   6811 
   6812 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wreturn-local-addr" | $as_tr_sh`
   6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wreturn-local-addr" >&5
   6814 $as_echo_n "checking whether C compiler accepts -Wreturn-local-addr... " >&6; }
   6815 if eval \${$as_CACHEVAR+:} false; then :
   6816   $as_echo_n "(cached) " >&6
   6817 else
   6818 
   6819   ax_check_save_flags=$CFLAGS
   6820   CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wreturn-local-addr"
   6821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6822 /* end confdefs.h.  */
   6823 
   6824 int
   6825 main ()
   6826 {
   6827 
   6828   ;
   6829   return 0;
   6830 }
   6831 _ACEOF
   6832 if ac_fn_c_try_compile "$LINENO"; then :
   6833   eval "$as_CACHEVAR=yes"
   6834 else
   6835   eval "$as_CACHEVAR=no"
   6836 fi
   6837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6838   CFLAGS=$ax_check_save_flags
   6839 fi
   6840 eval ac_res=\$$as_CACHEVAR
   6841 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6842 $as_echo "$ac_res" >&6; }
   6843 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   6844   CC_WNO_RETURN_LOCAL_ADDR=-Wno-return-local-addr
   6845 else
   6846   :
   6847 fi
   6848 
   6849 
   6850 
   6851 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wstringop-overflow" | $as_tr_sh`
   6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wstringop-overflow" >&5
   6853 $as_echo_n "checking whether C compiler accepts -Wstringop-overflow... " >&6; }
   6854 if eval \${$as_CACHEVAR+:} false; then :
   6855   $as_echo_n "(cached) " >&6
   6856 else
   6857 
   6858   ax_check_save_flags=$CFLAGS
   6859   CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wstringop-overflow"
   6860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6861 /* end confdefs.h.  */
   6862 
   6863 int
   6864 main ()
   6865 {
   6866 
   6867   ;
   6868   return 0;
   6869 }
   6870 _ACEOF
   6871 if ac_fn_c_try_compile "$LINENO"; then :
   6872   eval "$as_CACHEVAR=yes"
   6873 else
   6874   eval "$as_CACHEVAR=no"
   6875 fi
   6876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6877   CFLAGS=$ax_check_save_flags
   6878 fi
   6879 eval ac_res=\$$as_CACHEVAR
   6880 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6881 $as_echo "$ac_res" >&6; }
   6882 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   6883   CC_WNO_STRINGOP_OVERFLOW=-Wno-stringop-overflow
   6884 else
   6885   :
   6886 fi
   6887 
   6888 
   6889 
   6890 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wstringop-truncation" | $as_tr_sh`
   6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wstringop-truncation" >&5
   6892 $as_echo_n "checking whether C compiler accepts -Wstringop-truncation... " >&6; }
   6893 if eval \${$as_CACHEVAR+:} false; then :
   6894   $as_echo_n "(cached) " >&6
   6895 else
   6896 
   6897   ax_check_save_flags=$CFLAGS
   6898   CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wstringop-truncation"
   6899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6900 /* end confdefs.h.  */
   6901 
   6902 int
   6903 main ()
   6904 {
   6905 
   6906   ;
   6907   return 0;
   6908 }
   6909 _ACEOF
   6910 if ac_fn_c_try_compile "$LINENO"; then :
   6911   eval "$as_CACHEVAR=yes"
   6912 else
   6913   eval "$as_CACHEVAR=no"
   6914 fi
   6915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6916   CFLAGS=$ax_check_save_flags
   6917 fi
   6918 eval ac_res=\$$as_CACHEVAR
   6919 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6920 $as_echo "$ac_res" >&6; }
   6921 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   6922   CC_WNO_STRINGOP_TRUNCATION=-Wno-stringop-truncation
   6923 else
   6924   :
   6925 fi
   6926 
   6927 
   6928 
   6929 
   6930 cat >confcache <<\_ACEOF
   6931 # This file is a shell script that caches the results of configure
   6932 # tests run on this system so they can be shared between configure
   6933 # scripts and configure runs, see configure's option --config-cache.
   6934 # It is not useful on other systems.  If it contains results you don't
   6935 # want to keep, you may remove or edit it.
   6936 #
   6937 # config.status only pays attention to the cache file if you give it
   6938 # the --recheck option to rerun configure.
   6939 #
   6940 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   6941 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   6942 # following values.
   6943 
   6944 _ACEOF
   6945 
   6946 # The following way of writing the cache mishandles newlines in values,
   6947 # but we know of no workaround that is simple, portable, and efficient.
   6948 # So, we kill variables containing newlines.
   6949 # Ultrix sh set writes to stderr and can't be redirected directly,
   6950 # and sets the high bit in the cache file unless we assign to the vars.
   6951 (
   6952   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   6953     eval ac_val=\$$ac_var
   6954     case $ac_val in #(
   6955     *${as_nl}*)
   6956       case $ac_var in #(
   6957       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   6958 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   6959       esac
   6960       case $ac_var in #(
   6961       _ | IFS | as_nl) ;; #(
   6962       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   6963       *) { eval $ac_var=; unset $ac_var;} ;;
   6964       esac ;;
   6965     esac
   6966   done
   6967 
   6968   (set) 2>&1 |
   6969     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   6970     *${as_nl}ac_space=\ *)
   6971       # `set' does not quote correctly, so add quotes: double-quote
   6972       # substitution turns \\\\ into \\, and sed turns \\ into \.
   6973       sed -n \
   6974 	"s/'/'\\\\''/g;
   6975 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   6976       ;; #(
   6977     *)
   6978       # `set' quotes correctly as required by POSIX, so do not add quotes.
   6979       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   6980       ;;
   6981     esac |
   6982     sort
   6983 ) |
   6984   sed '
   6985      /^ac_cv_env_/b end
   6986      t clear
   6987      :clear
   6988      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   6989      t end
   6990      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   6991      :end' >>confcache
   6992 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   6993   if test -w "$cache_file"; then
   6994     if test "x$cache_file" != "x/dev/null"; then
   6995       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   6996 $as_echo "$as_me: updating cache $cache_file" >&6;}
   6997       if test ! -f "$cache_file" || test -h "$cache_file"; then
   6998 	cat confcache >"$cache_file"
   6999       else
   7000         case $cache_file in #(
   7001         */* | ?:*)
   7002 	  mv -f confcache "$cache_file"$$ &&
   7003 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   7004         *)
   7005 	  mv -f confcache "$cache_file" ;;
   7006 	esac
   7007       fi
   7008     fi
   7009   else
   7010     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   7011 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   7012   fi
   7013 fi
   7014 rm -f confcache
   7015 
   7016 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   7017 # Let make expand exec_prefix.
   7018 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   7019 
   7020 DEFS=-DHAVE_CONFIG_H
   7021 
   7022 ac_libobjs=
   7023 ac_ltlibobjs=
   7024 U=
   7025 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   7026   # 1. Remove the extension, and $U if already installed.
   7027   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   7028   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   7029   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   7030   #    will be set to the directory where LIBOBJS objects are built.
   7031   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   7032   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   7033 done
   7034 LIBOBJS=$ac_libobjs
   7035 
   7036 LTLIBOBJS=$ac_ltlibobjs
   7037 
   7038 
   7039 
   7040 
   7041 : "${CONFIG_STATUS=./config.status}"
   7042 ac_write_fail=0
   7043 ac_clean_files_save=$ac_clean_files
   7044 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   7045 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   7046 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   7047 as_write_fail=0
   7048 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   7049 #! $SHELL
   7050 # Generated by $as_me.
   7051 # Run this file to recreate the current configuration.
   7052 # Compiler output produced by configure, useful for debugging
   7053 # configure, is in config.log if it exists.
   7054 
   7055 debug=false
   7056 ac_cs_recheck=false
   7057 ac_cs_silent=false
   7058 
   7059 SHELL=\${CONFIG_SHELL-$SHELL}
   7060 export SHELL
   7061 _ASEOF
   7062 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   7063 ## -------------------- ##
   7064 ## M4sh Initialization. ##
   7065 ## -------------------- ##
   7066 
   7067 # Be more Bourne compatible
   7068 DUALCASE=1; export DUALCASE # for MKS sh
   7069 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   7070   emulate sh
   7071   NULLCMD=:
   7072   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   7073   # is contrary to our usage.  Disable this feature.
   7074   alias -g '${1+"$@"}'='"$@"'
   7075   setopt NO_GLOB_SUBST
   7076 else
   7077   case `(set -o) 2>/dev/null` in #(
   7078   *posix*) :
   7079     set -o posix ;; #(
   7080   *) :
   7081      ;;
   7082 esac
   7083 fi
   7084 
   7085 
   7086 as_nl='
   7087 '
   7088 export as_nl
   7089 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   7090 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   7091 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   7092 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   7093 # Prefer a ksh shell builtin over an external printf program on Solaris,
   7094 # but without wasting forks for bash or zsh.
   7095 if test -z "$BASH_VERSION$ZSH_VERSION" \
   7096     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   7097   as_echo='print -r --'
   7098   as_echo_n='print -rn --'
   7099 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   7100   as_echo='printf %s\n'
   7101   as_echo_n='printf %s'
   7102 else
   7103   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   7104     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   7105     as_echo_n='/usr/ucb/echo -n'
   7106   else
   7107     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   7108     as_echo_n_body='eval
   7109       arg=$1;
   7110       case $arg in #(
   7111       *"$as_nl"*)
   7112 	expr "X$arg" : "X\\(.*\\)$as_nl";
   7113 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   7114       esac;
   7115       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   7116     '
   7117     export as_echo_n_body
   7118     as_echo_n='sh -c $as_echo_n_body as_echo'
   7119   fi
   7120   export as_echo_body
   7121   as_echo='sh -c $as_echo_body as_echo'
   7122 fi
   7123 
   7124 # The user is always right.
   7125 if test "${PATH_SEPARATOR+set}" != set; then
   7126   PATH_SEPARATOR=:
   7127   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   7128     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   7129       PATH_SEPARATOR=';'
   7130   }
   7131 fi
   7132 
   7133 
   7134 # IFS
   7135 # We need space, tab and new line, in precisely that order.  Quoting is
   7136 # there to prevent editors from complaining about space-tab.
   7137 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   7138 # splitting by setting IFS to empty value.)
   7139 IFS=" ""	$as_nl"
   7140 
   7141 # Find who we are.  Look in the path if we contain no directory separator.
   7142 as_myself=
   7143 case $0 in #((
   7144   *[\\/]* ) as_myself=$0 ;;
   7145   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7146 for as_dir in $PATH
   7147 do
   7148   IFS=$as_save_IFS
   7149   test -z "$as_dir" && as_dir=.
   7150     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   7151   done
   7152 IFS=$as_save_IFS
   7153 
   7154      ;;
   7155 esac
   7156 # We did not find ourselves, most probably we were run as `sh COMMAND'
   7157 # in which case we are not to be found in the path.
   7158 if test "x$as_myself" = x; then
   7159   as_myself=$0
   7160 fi
   7161 if test ! -f "$as_myself"; then
   7162   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   7163   exit 1
   7164 fi
   7165 
   7166 # Unset variables that we do not need and which cause bugs (e.g. in
   7167 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   7168 # suppresses any "Segmentation fault" message there.  '((' could
   7169 # trigger a bug in pdksh 5.2.14.
   7170 for as_var in BASH_ENV ENV MAIL MAILPATH
   7171 do eval test x\${$as_var+set} = xset \
   7172   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   7173 done
   7174 PS1='$ '
   7175 PS2='> '
   7176 PS4='+ '
   7177 
   7178 # NLS nuisances.
   7179 LC_ALL=C
   7180 export LC_ALL
   7181 LANGUAGE=C
   7182 export LANGUAGE
   7183 
   7184 # CDPATH.
   7185 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   7186 
   7187 
   7188 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   7189 # ----------------------------------------
   7190 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   7191 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   7192 # script with STATUS, using 1 if that was 0.
   7193 as_fn_error ()
   7194 {
   7195   as_status=$1; test $as_status -eq 0 && as_status=1
   7196   if test "$4"; then
   7197     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   7198     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   7199   fi
   7200   $as_echo "$as_me: error: $2" >&2
   7201   as_fn_exit $as_status
   7202 } # as_fn_error
   7203 
   7204 
   7205 # as_fn_set_status STATUS
   7206 # -----------------------
   7207 # Set $? to STATUS, without forking.
   7208 as_fn_set_status ()
   7209 {
   7210   return $1
   7211 } # as_fn_set_status
   7212 
   7213 # as_fn_exit STATUS
   7214 # -----------------
   7215 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   7216 as_fn_exit ()
   7217 {
   7218   set +e
   7219   as_fn_set_status $1
   7220   exit $1
   7221 } # as_fn_exit
   7222 
   7223 # as_fn_unset VAR
   7224 # ---------------
   7225 # Portably unset VAR.
   7226 as_fn_unset ()
   7227 {
   7228   { eval $1=; unset $1;}
   7229 }
   7230 as_unset=as_fn_unset
   7231 # as_fn_append VAR VALUE
   7232 # ----------------------
   7233 # Append the text in VALUE to the end of the definition contained in VAR. Take
   7234 # advantage of any shell optimizations that allow amortized linear growth over
   7235 # repeated appends, instead of the typical quadratic growth present in naive
   7236 # implementations.
   7237 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   7238   eval 'as_fn_append ()
   7239   {
   7240     eval $1+=\$2
   7241   }'
   7242 else
   7243   as_fn_append ()
   7244   {
   7245     eval $1=\$$1\$2
   7246   }
   7247 fi # as_fn_append
   7248 
   7249 # as_fn_arith ARG...
   7250 # ------------------
   7251 # Perform arithmetic evaluation on the ARGs, and store the result in the
   7252 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   7253 # must be portable across $(()) and expr.
   7254 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   7255   eval 'as_fn_arith ()
   7256   {
   7257     as_val=$(( $* ))
   7258   }'
   7259 else
   7260   as_fn_arith ()
   7261   {
   7262     as_val=`expr "$@" || test $? -eq 1`
   7263   }
   7264 fi # as_fn_arith
   7265 
   7266 
   7267 if expr a : '\(a\)' >/dev/null 2>&1 &&
   7268    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   7269   as_expr=expr
   7270 else
   7271   as_expr=false
   7272 fi
   7273 
   7274 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   7275   as_basename=basename
   7276 else
   7277   as_basename=false
   7278 fi
   7279 
   7280 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   7281   as_dirname=dirname
   7282 else
   7283   as_dirname=false
   7284 fi
   7285 
   7286 as_me=`$as_basename -- "$0" ||
   7287 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   7288 	 X"$0" : 'X\(//\)$' \| \
   7289 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   7290 $as_echo X/"$0" |
   7291     sed '/^.*\/\([^/][^/]*\)\/*$/{
   7292 	    s//\1/
   7293 	    q
   7294 	  }
   7295 	  /^X\/\(\/\/\)$/{
   7296 	    s//\1/
   7297 	    q
   7298 	  }
   7299 	  /^X\/\(\/\).*/{
   7300 	    s//\1/
   7301 	    q
   7302 	  }
   7303 	  s/.*/./; q'`
   7304 
   7305 # Avoid depending upon Character Ranges.
   7306 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   7307 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   7308 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   7309 as_cr_digits='0123456789'
   7310 as_cr_alnum=$as_cr_Letters$as_cr_digits
   7311 
   7312 ECHO_C= ECHO_N= ECHO_T=
   7313 case `echo -n x` in #(((((
   7314 -n*)
   7315   case `echo 'xy\c'` in
   7316   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   7317   xy)  ECHO_C='\c';;
   7318   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   7319        ECHO_T='	';;
   7320   esac;;
   7321 *)
   7322   ECHO_N='-n';;
   7323 esac
   7324 
   7325 rm -f conf$$ conf$$.exe conf$$.file
   7326 if test -d conf$$.dir; then
   7327   rm -f conf$$.dir/conf$$.file
   7328 else
   7329   rm -f conf$$.dir
   7330   mkdir conf$$.dir 2>/dev/null
   7331 fi
   7332 if (echo >conf$$.file) 2>/dev/null; then
   7333   if ln -s conf$$.file conf$$ 2>/dev/null; then
   7334     as_ln_s='ln -s'
   7335     # ... but there are two gotchas:
   7336     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   7337     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   7338     # In both cases, we have to default to `cp -pR'.
   7339     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   7340       as_ln_s='cp -pR'
   7341   elif ln conf$$.file conf$$ 2>/dev/null; then
   7342     as_ln_s=ln
   7343   else
   7344     as_ln_s='cp -pR'
   7345   fi
   7346 else
   7347   as_ln_s='cp -pR'
   7348 fi
   7349 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   7350 rmdir conf$$.dir 2>/dev/null
   7351 
   7352 
   7353 # as_fn_mkdir_p
   7354 # -------------
   7355 # Create "$as_dir" as a directory, including parents if necessary.
   7356 as_fn_mkdir_p ()
   7357 {
   7358 
   7359   case $as_dir in #(
   7360   -*) as_dir=./$as_dir;;
   7361   esac
   7362   test -d "$as_dir" || eval $as_mkdir_p || {
   7363     as_dirs=
   7364     while :; do
   7365       case $as_dir in #(
   7366       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   7367       *) as_qdir=$as_dir;;
   7368       esac
   7369       as_dirs="'$as_qdir' $as_dirs"
   7370       as_dir=`$as_dirname -- "$as_dir" ||
   7371 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7372 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   7373 	 X"$as_dir" : 'X\(//\)$' \| \
   7374 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   7375 $as_echo X"$as_dir" |
   7376     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7377 	    s//\1/
   7378 	    q
   7379 	  }
   7380 	  /^X\(\/\/\)[^/].*/{
   7381 	    s//\1/
   7382 	    q
   7383 	  }
   7384 	  /^X\(\/\/\)$/{
   7385 	    s//\1/
   7386 	    q
   7387 	  }
   7388 	  /^X\(\/\).*/{
   7389 	    s//\1/
   7390 	    q
   7391 	  }
   7392 	  s/.*/./; q'`
   7393       test -d "$as_dir" && break
   7394     done
   7395     test -z "$as_dirs" || eval "mkdir $as_dirs"
   7396   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   7397 
   7398 
   7399 } # as_fn_mkdir_p
   7400 if mkdir -p . 2>/dev/null; then
   7401   as_mkdir_p='mkdir -p "$as_dir"'
   7402 else
   7403   test -d ./-p && rmdir ./-p
   7404   as_mkdir_p=false
   7405 fi
   7406 
   7407 
   7408 # as_fn_executable_p FILE
   7409 # -----------------------
   7410 # Test if FILE is an executable regular file.
   7411 as_fn_executable_p ()
   7412 {
   7413   test -f "$1" && test -x "$1"
   7414 } # as_fn_executable_p
   7415 as_test_x='test -x'
   7416 as_executable_p=as_fn_executable_p
   7417 
   7418 # Sed expression to map a string onto a valid CPP name.
   7419 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   7420 
   7421 # Sed expression to map a string onto a valid variable name.
   7422 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   7423 
   7424 
   7425 exec 6>&1
   7426 ## ----------------------------------- ##
   7427 ## Main body of $CONFIG_STATUS script. ##
   7428 ## ----------------------------------- ##
   7429 _ASEOF
   7430 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   7431 
   7432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7433 # Save the log message, to keep $0 and so on meaningful, and to
   7434 # report actual input values of CONFIG_FILES etc. instead of their
   7435 # values after options handling.
   7436 ac_log="
   7437 This file was extended by libnbcompat $as_me noversion, which was
   7438 generated by GNU Autoconf 2.69.  Invocation command line was
   7439 
   7440   CONFIG_FILES    = $CONFIG_FILES
   7441   CONFIG_HEADERS  = $CONFIG_HEADERS
   7442   CONFIG_LINKS    = $CONFIG_LINKS
   7443   CONFIG_COMMANDS = $CONFIG_COMMANDS
   7444   $ $0 $@
   7445 
   7446 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   7447 "
   7448 
   7449 _ACEOF
   7450 
   7451 case $ac_config_files in *"
   7452 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   7453 esac
   7454 
   7455 case $ac_config_headers in *"
   7456 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   7457 esac
   7458 
   7459 
   7460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7461 # Files that config.status was made for.
   7462 config_files="$ac_config_files"
   7463 config_headers="$ac_config_headers"
   7464 
   7465 _ACEOF
   7466 
   7467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7468 ac_cs_usage="\
   7469 \`$as_me' instantiates files and other configuration actions
   7470 from templates according to the current configuration.  Unless the files
   7471 and actions are specified as TAGs, all are instantiated by default.
   7472 
   7473 Usage: $0 [OPTION]... [TAG]...
   7474 
   7475   -h, --help       print this help, then exit
   7476   -V, --version    print version number and configuration settings, then exit
   7477       --config     print configuration, then exit
   7478   -q, --quiet, --silent
   7479                    do not print progress messages
   7480   -d, --debug      don't remove temporary files
   7481       --recheck    update $as_me by reconfiguring in the same conditions
   7482       --file=FILE[:TEMPLATE]
   7483                    instantiate the configuration file FILE
   7484       --header=FILE[:TEMPLATE]
   7485                    instantiate the configuration header FILE
   7486 
   7487 Configuration files:
   7488 $config_files
   7489 
   7490 Configuration headers:
   7491 $config_headers
   7492 
   7493 Report bugs to <lib-bug-people@NetBSD.org>."
   7494 
   7495 _ACEOF
   7496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7497 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   7498 ac_cs_version="\\
   7499 libnbcompat config.status noversion
   7500 configured by $0, generated by GNU Autoconf 2.69,
   7501   with options \\"\$ac_cs_config\\"
   7502 
   7503 Copyright (C) 2012 Free Software Foundation, Inc.
   7504 This config.status script is free software; the Free Software Foundation
   7505 gives unlimited permission to copy, distribute and modify it."
   7506 
   7507 ac_pwd='$ac_pwd'
   7508 srcdir='$srcdir'
   7509 test -n "\$AWK" || AWK=awk
   7510 _ACEOF
   7511 
   7512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7513 # The default lists apply if the user does not specify any file.
   7514 ac_need_defaults=:
   7515 while test $# != 0
   7516 do
   7517   case $1 in
   7518   --*=?*)
   7519     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   7520     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   7521     ac_shift=:
   7522     ;;
   7523   --*=)
   7524     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   7525     ac_optarg=
   7526     ac_shift=:
   7527     ;;
   7528   *)
   7529     ac_option=$1
   7530     ac_optarg=$2
   7531     ac_shift=shift
   7532     ;;
   7533   esac
   7534 
   7535   case $ac_option in
   7536   # Handling of the options.
   7537   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   7538     ac_cs_recheck=: ;;
   7539   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   7540     $as_echo "$ac_cs_version"; exit ;;
   7541   --config | --confi | --conf | --con | --co | --c )
   7542     $as_echo "$ac_cs_config"; exit ;;
   7543   --debug | --debu | --deb | --de | --d | -d )
   7544     debug=: ;;
   7545   --file | --fil | --fi | --f )
   7546     $ac_shift
   7547     case $ac_optarg in
   7548     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   7549     '') as_fn_error $? "missing file argument" ;;
   7550     esac
   7551     as_fn_append CONFIG_FILES " '$ac_optarg'"
   7552     ac_need_defaults=false;;
   7553   --header | --heade | --head | --hea )
   7554     $ac_shift
   7555     case $ac_optarg in
   7556     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   7557     esac
   7558     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   7559     ac_need_defaults=false;;
   7560   --he | --h)
   7561     # Conflict between --help and --header
   7562     as_fn_error $? "ambiguous option: \`$1'
   7563 Try \`$0 --help' for more information.";;
   7564   --help | --hel | -h )
   7565     $as_echo "$ac_cs_usage"; exit ;;
   7566   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   7567   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   7568     ac_cs_silent=: ;;
   7569 
   7570   # This is an error.
   7571   -*) as_fn_error $? "unrecognized option: \`$1'
   7572 Try \`$0 --help' for more information." ;;
   7573 
   7574   *) as_fn_append ac_config_targets " $1"
   7575      ac_need_defaults=false ;;
   7576 
   7577   esac
   7578   shift
   7579 done
   7580 
   7581 ac_configure_extra_args=
   7582 
   7583 if $ac_cs_silent; then
   7584   exec 6>/dev/null
   7585   ac_configure_extra_args="$ac_configure_extra_args --silent"
   7586 fi
   7587 
   7588 _ACEOF
   7589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7590 if \$ac_cs_recheck; then
   7591   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   7592   shift
   7593   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   7594   CONFIG_SHELL='$SHELL'
   7595   export CONFIG_SHELL
   7596   exec "\$@"
   7597 fi
   7598 
   7599 _ACEOF
   7600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7601 exec 5>>config.log
   7602 {
   7603   echo
   7604   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   7605 ## Running $as_me. ##
   7606 _ASBOX
   7607   $as_echo "$ac_log"
   7608 } >&5
   7609 
   7610 _ACEOF
   7611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7612 _ACEOF
   7613 
   7614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7615 
   7616 # Handling of arguments.
   7617 for ac_config_target in $ac_config_targets
   7618 do
   7619   case $ac_config_target in
   7620     "nbtool_config.h") CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
   7621     "defs.mk") CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
   7622 
   7623   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   7624   esac
   7625 done
   7626 
   7627 
   7628 # If the user did not use the arguments to specify the items to instantiate,
   7629 # then the envvar interface is used.  Set only those that are not.
   7630 # We use the long form for the default assignment because of an extremely
   7631 # bizarre bug on SunOS 4.1.3.
   7632 if $ac_need_defaults; then
   7633   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   7634   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   7635 fi
   7636 
   7637 # Have a temporary directory for convenience.  Make it in the build tree
   7638 # simply because there is no reason against having it here, and in addition,
   7639 # creating and moving files from /tmp can sometimes cause problems.
   7640 # Hook for its removal unless debugging.
   7641 # Note that there is a small window in which the directory will not be cleaned:
   7642 # after its creation but before its name has been assigned to `$tmp'.
   7643 $debug ||
   7644 {
   7645   tmp= ac_tmp=
   7646   trap 'exit_status=$?
   7647   : "${ac_tmp:=$tmp}"
   7648   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   7649 ' 0
   7650   trap 'as_fn_exit 1' 1 2 13 15
   7651 }
   7652 # Create a (secure) tmp directory for tmp files.
   7653 
   7654 {
   7655   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   7656   test -d "$tmp"
   7657 }  ||
   7658 {
   7659   tmp=./conf$$-$RANDOM
   7660   (umask 077 && mkdir "$tmp")
   7661 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   7662 ac_tmp=$tmp
   7663 
   7664 # Set up the scripts for CONFIG_FILES section.
   7665 # No need to generate them if there are no CONFIG_FILES.
   7666 # This happens for instance with `./config.status config.h'.
   7667 if test -n "$CONFIG_FILES"; then
   7668 
   7669 
   7670 ac_cr=`echo X | tr X '\015'`
   7671 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   7672 # But we know of no other shell where ac_cr would be empty at this
   7673 # point, so we can use a bashism as a fallback.
   7674 if test "x$ac_cr" = x; then
   7675   eval ac_cr=\$\'\\r\'
   7676 fi
   7677 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   7678 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   7679   ac_cs_awk_cr='\\r'
   7680 else
   7681   ac_cs_awk_cr=$ac_cr
   7682 fi
   7683 
   7684 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   7685 _ACEOF
   7686 
   7687 
   7688 {
   7689   echo "cat >conf$$subs.awk <<_ACEOF" &&
   7690   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   7691   echo "_ACEOF"
   7692 } >conf$$subs.sh ||
   7693   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   7694 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   7695 ac_delim='%!_!# '
   7696 for ac_last_try in false false false false false :; do
   7697   . ./conf$$subs.sh ||
   7698     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   7699 
   7700   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   7701   if test $ac_delim_n = $ac_delim_num; then
   7702     break
   7703   elif $ac_last_try; then
   7704     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   7705   else
   7706     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   7707   fi
   7708 done
   7709 rm -f conf$$subs.sh
   7710 
   7711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7712 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   7713 _ACEOF
   7714 sed -n '
   7715 h
   7716 s/^/S["/; s/!.*/"]=/
   7717 p
   7718 g
   7719 s/^[^!]*!//
   7720 :repl
   7721 t repl
   7722 s/'"$ac_delim"'$//
   7723 t delim
   7724 :nl
   7725 h
   7726 s/\(.\{148\}\)..*/\1/
   7727 t more1
   7728 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   7729 p
   7730 n
   7731 b repl
   7732 :more1
   7733 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   7734 p
   7735 g
   7736 s/.\{148\}//
   7737 t nl
   7738 :delim
   7739 h
   7740 s/\(.\{148\}\)..*/\1/
   7741 t more2
   7742 s/["\\]/\\&/g; s/^/"/; s/$/"/
   7743 p
   7744 b
   7745 :more2
   7746 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   7747 p
   7748 g
   7749 s/.\{148\}//
   7750 t delim
   7751 ' <conf$$subs.awk | sed '
   7752 /^[^""]/{
   7753   N
   7754   s/\n//
   7755 }
   7756 ' >>$CONFIG_STATUS || ac_write_fail=1
   7757 rm -f conf$$subs.awk
   7758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7759 _ACAWK
   7760 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   7761   for (key in S) S_is_set[key] = 1
   7762   FS = ""
   7763 
   7764 }
   7765 {
   7766   line = $ 0
   7767   nfields = split(line, field, "@")
   7768   substed = 0
   7769   len = length(field[1])
   7770   for (i = 2; i < nfields; i++) {
   7771     key = field[i]
   7772     keylen = length(key)
   7773     if (S_is_set[key]) {
   7774       value = S[key]
   7775       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   7776       len += length(value) + length(field[++i])
   7777       substed = 1
   7778     } else
   7779       len += 1 + keylen
   7780   }
   7781 
   7782   print line
   7783 }
   7784 
   7785 _ACAWK
   7786 _ACEOF
   7787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7788 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   7789   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   7790 else
   7791   cat
   7792 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   7793   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   7794 _ACEOF
   7795 
   7796 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   7797 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   7798 # trailing colons and then remove the whole line if VPATH becomes empty
   7799 # (actually we leave an empty line to preserve line numbers).
   7800 if test "x$srcdir" = x.; then
   7801   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   7802 h
   7803 s///
   7804 s/^/:/
   7805 s/[	 ]*$/:/
   7806 s/:\$(srcdir):/:/g
   7807 s/:\${srcdir}:/:/g
   7808 s/:@srcdir@:/:/g
   7809 s/^:*//
   7810 s/:*$//
   7811 x
   7812 s/\(=[	 ]*\).*/\1/
   7813 G
   7814 s/\n//
   7815 s/^[^=]*=[	 ]*$//
   7816 }'
   7817 fi
   7818 
   7819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7820 fi # test -n "$CONFIG_FILES"
   7821 
   7822 # Set up the scripts for CONFIG_HEADERS section.
   7823 # No need to generate them if there are no CONFIG_HEADERS.
   7824 # This happens for instance with `./config.status Makefile'.
   7825 if test -n "$CONFIG_HEADERS"; then
   7826 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   7827 BEGIN {
   7828 _ACEOF
   7829 
   7830 # Transform confdefs.h into an awk script `defines.awk', embedded as
   7831 # here-document in config.status, that substitutes the proper values into
   7832 # config.h.in to produce config.h.
   7833 
   7834 # Create a delimiter string that does not exist in confdefs.h, to ease
   7835 # handling of long lines.
   7836 ac_delim='%!_!# '
   7837 for ac_last_try in false false :; do
   7838   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   7839   if test -z "$ac_tt"; then
   7840     break
   7841   elif $ac_last_try; then
   7842     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   7843   else
   7844     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   7845   fi
   7846 done
   7847 
   7848 # For the awk script, D is an array of macro values keyed by name,
   7849 # likewise P contains macro parameters if any.  Preserve backslash
   7850 # newline sequences.
   7851 
   7852 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   7853 sed -n '
   7854 s/.\{148\}/&'"$ac_delim"'/g
   7855 t rset
   7856 :rset
   7857 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   7858 t def
   7859 d
   7860 :def
   7861 s/\\$//
   7862 t bsnl
   7863 s/["\\]/\\&/g
   7864 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   7865 D["\1"]=" \3"/p
   7866 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   7867 d
   7868 :bsnl
   7869 s/["\\]/\\&/g
   7870 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   7871 D["\1"]=" \3\\\\\\n"\\/p
   7872 t cont
   7873 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   7874 t cont
   7875 d
   7876 :cont
   7877 n
   7878 s/.\{148\}/&'"$ac_delim"'/g
   7879 t clear
   7880 :clear
   7881 s/\\$//
   7882 t bsnlc
   7883 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   7884 d
   7885 :bsnlc
   7886 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   7887 b cont
   7888 ' <confdefs.h | sed '
   7889 s/'"$ac_delim"'/"\\\
   7890 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   7891 
   7892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7893   for (key in D) D_is_set[key] = 1
   7894   FS = ""
   7895 }
   7896 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   7897   line = \$ 0
   7898   split(line, arg, " ")
   7899   if (arg[1] == "#") {
   7900     defundef = arg[2]
   7901     mac1 = arg[3]
   7902   } else {
   7903     defundef = substr(arg[1], 2)
   7904     mac1 = arg[2]
   7905   }
   7906   split(mac1, mac2, "(") #)
   7907   macro = mac2[1]
   7908   prefix = substr(line, 1, index(line, defundef) - 1)
   7909   if (D_is_set[macro]) {
   7910     # Preserve the white space surrounding the "#".
   7911     print prefix "define", macro P[macro] D[macro]
   7912     next
   7913   } else {
   7914     # Replace #undef with comments.  This is necessary, for example,
   7915     # in the case of _POSIX_SOURCE, which is predefined and required
   7916     # on some systems where configure will not decide to define it.
   7917     if (defundef == "undef") {
   7918       print "/*", prefix defundef, macro, "*/"
   7919       next
   7920     }
   7921   }
   7922 }
   7923 { print }
   7924 _ACAWK
   7925 _ACEOF
   7926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7927   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   7928 fi # test -n "$CONFIG_HEADERS"
   7929 
   7930 
   7931 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
   7932 shift
   7933 for ac_tag
   7934 do
   7935   case $ac_tag in
   7936   :[FHLC]) ac_mode=$ac_tag; continue;;
   7937   esac
   7938   case $ac_mode$ac_tag in
   7939   :[FHL]*:*);;
   7940   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   7941   :[FH]-) ac_tag=-:-;;
   7942   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   7943   esac
   7944   ac_save_IFS=$IFS
   7945   IFS=:
   7946   set x $ac_tag
   7947   IFS=$ac_save_IFS
   7948   shift
   7949   ac_file=$1
   7950   shift
   7951 
   7952   case $ac_mode in
   7953   :L) ac_source=$1;;
   7954   :[FH])
   7955     ac_file_inputs=
   7956     for ac_f
   7957     do
   7958       case $ac_f in
   7959       -) ac_f="$ac_tmp/stdin";;
   7960       *) # Look for the file first in the build tree, then in the source tree
   7961 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   7962 	 # because $ac_f cannot contain `:'.
   7963 	 test -f "$ac_f" ||
   7964 	   case $ac_f in
   7965 	   [\\/$]*) false;;
   7966 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   7967 	   esac ||
   7968 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   7969       esac
   7970       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   7971       as_fn_append ac_file_inputs " '$ac_f'"
   7972     done
   7973 
   7974     # Let's still pretend it is `configure' which instantiates (i.e., don't
   7975     # use $as_me), people would be surprised to read:
   7976     #    /* config.h.  Generated by config.status.  */
   7977     configure_input='Generated from '`
   7978 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   7979 	`' by configure.'
   7980     if test x"$ac_file" != x-; then
   7981       configure_input="$ac_file.  $configure_input"
   7982       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   7983 $as_echo "$as_me: creating $ac_file" >&6;}
   7984     fi
   7985     # Neutralize special characters interpreted by sed in replacement strings.
   7986     case $configure_input in #(
   7987     *\&* | *\|* | *\\* )
   7988        ac_sed_conf_input=`$as_echo "$configure_input" |
   7989        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   7990     *) ac_sed_conf_input=$configure_input;;
   7991     esac
   7992 
   7993     case $ac_tag in
   7994     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   7995       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   7996     esac
   7997     ;;
   7998   esac
   7999 
   8000   ac_dir=`$as_dirname -- "$ac_file" ||
   8001 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   8002 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   8003 	 X"$ac_file" : 'X\(//\)$' \| \
   8004 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   8005 $as_echo X"$ac_file" |
   8006     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   8007 	    s//\1/
   8008 	    q
   8009 	  }
   8010 	  /^X\(\/\/\)[^/].*/{
   8011 	    s//\1/
   8012 	    q
   8013 	  }
   8014 	  /^X\(\/\/\)$/{
   8015 	    s//\1/
   8016 	    q
   8017 	  }
   8018 	  /^X\(\/\).*/{
   8019 	    s//\1/
   8020 	    q
   8021 	  }
   8022 	  s/.*/./; q'`
   8023   as_dir="$ac_dir"; as_fn_mkdir_p
   8024   ac_builddir=.
   8025 
   8026 case "$ac_dir" in
   8027 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   8028 *)
   8029   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   8030   # A ".." for each directory in $ac_dir_suffix.
   8031   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   8032   case $ac_top_builddir_sub in
   8033   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   8034   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   8035   esac ;;
   8036 esac
   8037 ac_abs_top_builddir=$ac_pwd
   8038 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   8039 # for backward compatibility:
   8040 ac_top_builddir=$ac_top_build_prefix
   8041 
   8042 case $srcdir in
   8043   .)  # We are building in place.
   8044     ac_srcdir=.
   8045     ac_top_srcdir=$ac_top_builddir_sub
   8046     ac_abs_top_srcdir=$ac_pwd ;;
   8047   [\\/]* | ?:[\\/]* )  # Absolute name.
   8048     ac_srcdir=$srcdir$ac_dir_suffix;
   8049     ac_top_srcdir=$srcdir
   8050     ac_abs_top_srcdir=$srcdir ;;
   8051   *) # Relative name.
   8052     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   8053     ac_top_srcdir=$ac_top_build_prefix$srcdir
   8054     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   8055 esac
   8056 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   8057 
   8058 
   8059   case $ac_mode in
   8060   :F)
   8061   #
   8062   # CONFIG_FILE
   8063   #
   8064 
   8065 _ACEOF
   8066 
   8067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8068 # If the template does not know about datarootdir, expand it.
   8069 # FIXME: This hack should be removed a few years after 2.60.
   8070 ac_datarootdir_hack=; ac_datarootdir_seen=
   8071 ac_sed_dataroot='
   8072 /datarootdir/ {
   8073   p
   8074   q
   8075 }
   8076 /@datadir@/p
   8077 /@docdir@/p
   8078 /@infodir@/p
   8079 /@localedir@/p
   8080 /@mandir@/p'
   8081 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   8082 *datarootdir*) ac_datarootdir_seen=yes;;
   8083 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   8084   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   8085 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   8086 _ACEOF
   8087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8088   ac_datarootdir_hack='
   8089   s&@datadir@&$datadir&g
   8090   s&@docdir@&$docdir&g
   8091   s&@infodir@&$infodir&g
   8092   s&@localedir@&$localedir&g
   8093   s&@mandir@&$mandir&g
   8094   s&\\\${datarootdir}&$datarootdir&g' ;;
   8095 esac
   8096 _ACEOF
   8097 
   8098 # Neutralize VPATH when `$srcdir' = `.'.
   8099 # Shell code in configure.ac might set extrasub.
   8100 # FIXME: do we really want to maintain this feature?
   8101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8102 ac_sed_extra="$ac_vpsub
   8103 $extrasub
   8104 _ACEOF
   8105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8106 :t
   8107 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   8108 s|@configure_input@|$ac_sed_conf_input|;t t
   8109 s&@top_builddir@&$ac_top_builddir_sub&;t t
   8110 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   8111 s&@srcdir@&$ac_srcdir&;t t
   8112 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   8113 s&@top_srcdir@&$ac_top_srcdir&;t t
   8114 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   8115 s&@builddir@&$ac_builddir&;t t
   8116 s&@abs_builddir@&$ac_abs_builddir&;t t
   8117 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   8118 $ac_datarootdir_hack
   8119 "
   8120 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   8121   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8122 
   8123 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   8124   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   8125   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   8126       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   8127   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   8128 which seems to be undefined.  Please make sure it is defined" >&5
   8129 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   8130 which seems to be undefined.  Please make sure it is defined" >&2;}
   8131 
   8132   rm -f "$ac_tmp/stdin"
   8133   case $ac_file in
   8134   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   8135   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   8136   esac \
   8137   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8138  ;;
   8139   :H)
   8140   #
   8141   # CONFIG_HEADER
   8142   #
   8143   if test x"$ac_file" != x-; then
   8144     {
   8145       $as_echo "/* $configure_input  */" \
   8146       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   8147     } >"$ac_tmp/config.h" \
   8148       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8149     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   8150       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   8151 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   8152     else
   8153       rm -f "$ac_file"
   8154       mv "$ac_tmp/config.h" "$ac_file" \
   8155 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8156     fi
   8157   else
   8158     $as_echo "/* $configure_input  */" \
   8159       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   8160       || as_fn_error $? "could not create -" "$LINENO" 5
   8161   fi
   8162  ;;
   8163 
   8164 
   8165   esac
   8166 
   8167 done # for ac_tag
   8168 
   8169 
   8170 as_fn_exit 0
   8171 _ACEOF
   8172 ac_clean_files=$ac_clean_files_save
   8173 
   8174 test $ac_write_fail = 0 ||
   8175   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   8176 
   8177 
   8178 # configure is writing to config.log, and then calls config.status.
   8179 # config.status does its own redirection, appending to config.log.
   8180 # Unfortunately, on DOS this fails, as config.log is still kept open
   8181 # by configure, so config.status won't be able to write to it; its
   8182 # output is simply discarded.  So we exec the FD to /dev/null,
   8183 # effectively closing config.log, so it can be properly (re)opened and
   8184 # appended to by config.status.  When coming back to configure, we
   8185 # need to make the FD available again.
   8186 if test "$no_create" != yes; then
   8187   ac_cs_success=:
   8188   ac_config_status_args=
   8189   test "$silent" = yes &&
   8190     ac_config_status_args="$ac_config_status_args --quiet"
   8191   exec 5>/dev/null
   8192   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   8193   exec 5>>config.log
   8194   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   8195   # would make configure fail if this is the last instruction.
   8196   $ac_cs_success || as_fn_exit 1
   8197 fi
   8198 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   8199   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   8200 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   8201 fi
   8202 
   8203 
   8204 { $as_echo "$as_me:${as_lineno-$LINENO}: ========= configure results for compat ==========" >&5
   8205 $as_echo "$as_me: ========= configure results for compat ==========" >&6;}
   8206 { $as_echo "$as_me:${as_lineno-$LINENO}: CC                                      $CC" >&5
   8207 $as_echo "$as_me: CC                                      $CC" >&6;}
   8208 { $as_echo "$as_me:${as_lineno-$LINENO}: LIBS                                    $LIBS" >&5
   8209 $as_echo "$as_me: LIBS                                    $LIBS" >&6;}
   8210 { $as_echo "$as_me:${as_lineno-$LINENO}: CC_NO_CPP_PRECOMP                       $CC_NO_CPP_PRECOMP" >&5
   8211 $as_echo "$as_me: CC_NO_CPP_PRECOMP                       $CC_NO_CPP_PRECOMP" >&6;}
   8212 { $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_ADDRESS_OF_PACKED_MEMBER         $CC_WNO_ADDRESS_OF_PACKED_MEMBER" >&5
   8213 $as_echo "$as_me: CC_WNO_ADDRESS_OF_PACKED_MEMBER         $CC_WNO_ADDRESS_OF_PACKED_MEMBER" >&6;}
   8214 { $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_CAST_FUNCTION_TYPE               $CC_WNO_CAST_FUNCTION_TYPE" >&5
   8215 $as_echo "$as_me: CC_WNO_CAST_FUNCTION_TYPE               $CC_WNO_CAST_FUNCTION_TYPE" >&6;}
   8216 { $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER   $CC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER" >&5
   8217 $as_echo "$as_me: CC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER   $CC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER" >&6;}
   8218 { $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_FORMAT_OVERFLOW                  $CC_WNO_FORMAT_OVERFLOW" >&5
   8219 $as_echo "$as_me: CC_WNO_FORMAT_OVERFLOW                  $CC_WNO_FORMAT_OVERFLOW" >&6;}
   8220 { $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_FORMAT_TRUNCATION                $CC_WNO_FORMAT_TRUNCATION" >&5
   8221 $as_echo "$as_me: CC_WNO_FORMAT_TRUNCATION                $CC_WNO_FORMAT_TRUNCATION" >&6;}
   8222 { $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_IMPLICIT_FALLTHROUGH             $CC_WNO_IMPLICIT_FALLTHROUGH" >&5
   8223 $as_echo "$as_me: CC_WNO_IMPLICIT_FALLTHROUGH             $CC_WNO_IMPLICIT_FALLTHROUGH" >&6;}
   8224 { $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_MAYBE_UNINITIALIZED              $CC_WNO_MAYBE_UNINITIALIZED" >&5
   8225 $as_echo "$as_me: CC_WNO_MAYBE_UNINITIALIZED              $CC_WNO_MAYBE_UNINITIALIZED" >&6;}
   8226 { $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_RETURN_LOCAL_ADDR                $CC_WNO_RETURN_LOCAL_ADDR" >&5
   8227 $as_echo "$as_me: CC_WNO_RETURN_LOCAL_ADDR                $CC_WNO_RETURN_LOCAL_ADDR" >&6;}
   8228 { $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_STRINGOP_OVERFLOW                $CC_WNO_STRINGOP_OVERFLOW" >&5
   8229 $as_echo "$as_me: CC_WNO_STRINGOP_OVERFLOW                $CC_WNO_STRINGOP_OVERFLOW" >&6;}
   8230 { $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_STRINGOP_TRUNCATION              $CC_WNO_STRINGOP_TRUNCATION" >&5
   8231 $as_echo "$as_me: CC_WNO_STRINGOP_TRUNCATION              $CC_WNO_STRINGOP_TRUNCATION" >&6;}
   8232 
   8233 { $as_echo "$as_me:${as_lineno-$LINENO}: ================================================" >&5
   8234 $as_echo "$as_me: ================================================" >&6;}
   8235