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