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