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