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