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