1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.59. 4@%:@ 5@%:@ Copyright (C) 2003 Free Software Foundation, Inc. 6@%:@ This configure script is free software; the Free Software Foundation 7@%:@ gives unlimited permission to copy, distribute and modify it. 8## --------------------- ## 9## M4sh Initialization. ## 10## --------------------- ## 11 12# Be Bourne compatible 13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21fi 22DUALCASE=1; export DUALCASE # for MKS sh 23 24# Support unset when possible. 25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27else 28 as_unset=false 29fi 30 31 32# Work around bugs in pre-3.0 UWIN ksh. 33$as_unset ENV MAIL MAILPATH 34PS1='$ ' 35PS2='> ' 36PS4='+ ' 37 38# NLS nuisances. 39for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49done 50 51# Required to use basename. 52if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54else 55 as_expr=false 56fi 57 58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60else 61 as_basename=false 62fi 63 64 65# Name of the executable. 66as_me=`$as_basename "$0" || 67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78# PATH needs CR, and LINENO needs CR and PATH. 79# Avoid depending upon Character Ranges. 80as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83as_cr_digits='0123456789' 84as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86# The user is always right. 87if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110for as_dir in $PATH 111do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152done 153;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184} 185 186 187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192esac 193 194if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196else 197 as_expr=false 198fi 199 200rm -f conf$$ conf$$.exe conf$$.file 201echo >conf$$.file 202if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 211elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213else 214 as_ln_s='cp -p' 215fi 216rm -f conf$$ conf$$.exe conf$$.file 217 218if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223fi 224 225as_executable_p="test -f" 226 227# Sed expression to map a string onto a valid CPP name. 228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230# Sed expression to map a string onto a valid variable name. 231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234# IFS 235# We need space, tab and new line, in precisely that order. 236as_nl=' 237' 238IFS=" $as_nl" 239 240# CDPATH. 241$as_unset CDPATH 242 243 244# Name of the host. 245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246# so uname gets run too. 247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249exec 6>&1 250 251# 252# Initializations. 253# 254ac_default_prefix=/usr/local 255ac_config_libobj_dir=. 256cross_compiling=no 257subdirs= 258MFLAGS= 259MAKEFLAGS= 260SHELL=${CONFIG_SHELL-/bin/sh} 261 262# Maximum number of lines to put in a shell here document. 263# This variable seems obsolete. It should probably be removed, and 264# only ac_max_sed_lines should be used. 265: ${ac_max_here_lines=38} 266 267# Identity of this package. 268PACKAGE_NAME= 269PACKAGE_TARNAME= 270PACKAGE_VERSION= 271PACKAGE_STRING= 272PACKAGE_BUGREPORT= 273 274ac_unique_file="src/Update.cpp" 275ac_default_prefix=/usr 276# Factoring default headers for most tests. 277ac_includes_default="\ 278#include <stdio.h> 279#if HAVE_SYS_TYPES_H 280# include <sys/types.h> 281#endif 282#if HAVE_SYS_STAT_H 283# include <sys/stat.h> 284#endif 285#if STDC_HEADERS 286# include <stdlib.h> 287# include <stddef.h> 288#else 289# if HAVE_STDLIB_H 290# include <stdlib.h> 291# endif 292#endif 293#if HAVE_STRING_H 294# if !STDC_HEADERS && HAVE_MEMORY_H 295# include <memory.h> 296# endif 297# include <string.h> 298#endif 299#if HAVE_STRINGS_H 300# include <strings.h> 301#endif 302#if HAVE_INTTYPES_H 303# include <inttypes.h> 304#else 305# if HAVE_STDINT_H 306# include <stdint.h> 307# endif 308#endif 309#if HAVE_UNISTD_H 310# include <unistd.h> 311#endif" 312 313ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP CXXCPP EGREP LIBIOS MAKE MAKE2 MAKEDEP CP RM LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIB@&t@OBJS LTLIBOBJS' 314ac_subst_files='' 315 316# Initialize some variables set by options. 317ac_init_help= 318ac_init_version=false 319# The variables have the same names as the options, with 320# dashes changed to underlines. 321cache_file=/dev/null 322exec_prefix=NONE 323no_create= 324no_recursion= 325prefix=NONE 326program_prefix=NONE 327program_suffix=NONE 328program_transform_name=s,x,x, 329silent= 330site= 331srcdir= 332verbose= 333x_includes=NONE 334x_libraries=NONE 335 336# Installation directory options. 337# These are left unexpanded so users can "make install exec_prefix=/foo" 338# and all the variables that are supposed to be based on exec_prefix 339# by default will actually change. 340# Use braces instead of parens because sh, perl, etc. also accept them. 341bindir='${exec_prefix}/bin' 342sbindir='${exec_prefix}/sbin' 343libexecdir='${exec_prefix}/libexec' 344datadir='${prefix}/share' 345sysconfdir='${prefix}/etc' 346sharedstatedir='${prefix}/com' 347localstatedir='${prefix}/var' 348libdir='${exec_prefix}/lib' 349includedir='${prefix}/include' 350oldincludedir='/usr/include' 351infodir='${prefix}/info' 352mandir='${prefix}/man' 353 354ac_prev= 355for ac_option 356do 357 # If the previous option needs an argument, assign it. 358 if test -n "$ac_prev"; then 359 eval "$ac_prev=\$ac_option" 360 ac_prev= 361 continue 362 fi 363 364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 365 366 # Accept the important Cygnus configure options, so we can diagnose typos. 367 368 case $ac_option in 369 370 -bindir | --bindir | --bindi | --bind | --bin | --bi) 371 ac_prev=bindir ;; 372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 373 bindir=$ac_optarg ;; 374 375 -build | --build | --buil | --bui | --bu) 376 ac_prev=build_alias ;; 377 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 378 build_alias=$ac_optarg ;; 379 380 -cache-file | --cache-file | --cache-fil | --cache-fi \ 381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 382 ac_prev=cache_file ;; 383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 385 cache_file=$ac_optarg ;; 386 387 --config-cache | -C) 388 cache_file=config.cache ;; 389 390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 391 ac_prev=datadir ;; 392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 393 | --da=*) 394 datadir=$ac_optarg ;; 395 396 -disable-* | --disable-*) 397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 398 # Reject names that are not valid shell variable names. 399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 401 { (exit 1); exit 1; }; } 402 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 403 eval "enable_$ac_feature=no" ;; 404 405 -enable-* | --enable-*) 406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 407 # Reject names that are not valid shell variable names. 408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 410 { (exit 1); exit 1; }; } 411 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 412 case $ac_option in 413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 414 *) ac_optarg=yes ;; 415 esac 416 eval "enable_$ac_feature='$ac_optarg'" ;; 417 418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 420 | --exec | --exe | --ex) 421 ac_prev=exec_prefix ;; 422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 424 | --exec=* | --exe=* | --ex=*) 425 exec_prefix=$ac_optarg ;; 426 427 -gas | --gas | --ga | --g) 428 # Obsolete; use --with-gas. 429 with_gas=yes ;; 430 431 -help | --help | --hel | --he | -h) 432 ac_init_help=long ;; 433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 434 ac_init_help=recursive ;; 435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 436 ac_init_help=short ;; 437 438 -host | --host | --hos | --ho) 439 ac_prev=host_alias ;; 440 -host=* | --host=* | --hos=* | --ho=*) 441 host_alias=$ac_optarg ;; 442 443 -includedir | --includedir | --includedi | --included | --include \ 444 | --includ | --inclu | --incl | --inc) 445 ac_prev=includedir ;; 446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 447 | --includ=* | --inclu=* | --incl=* | --inc=*) 448 includedir=$ac_optarg ;; 449 450 -infodir | --infodir | --infodi | --infod | --info | --inf) 451 ac_prev=infodir ;; 452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 453 infodir=$ac_optarg ;; 454 455 -libdir | --libdir | --libdi | --libd) 456 ac_prev=libdir ;; 457 -libdir=* | --libdir=* | --libdi=* | --libd=*) 458 libdir=$ac_optarg ;; 459 460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 461 | --libexe | --libex | --libe) 462 ac_prev=libexecdir ;; 463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 464 | --libexe=* | --libex=* | --libe=*) 465 libexecdir=$ac_optarg ;; 466 467 -localstatedir | --localstatedir | --localstatedi | --localstated \ 468 | --localstate | --localstat | --localsta | --localst \ 469 | --locals | --local | --loca | --loc | --lo) 470 ac_prev=localstatedir ;; 471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 474 localstatedir=$ac_optarg ;; 475 476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 477 ac_prev=mandir ;; 478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 479 mandir=$ac_optarg ;; 480 481 -nfp | --nfp | --nf) 482 # Obsolete; use --without-fp. 483 with_fp=no ;; 484 485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 486 | --no-cr | --no-c | -n) 487 no_create=yes ;; 488 489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 491 no_recursion=yes ;; 492 493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 495 | --oldin | --oldi | --old | --ol | --o) 496 ac_prev=oldincludedir ;; 497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 500 oldincludedir=$ac_optarg ;; 501 502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 503 ac_prev=prefix ;; 504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 505 prefix=$ac_optarg ;; 506 507 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 508 | --program-pre | --program-pr | --program-p) 509 ac_prev=program_prefix ;; 510 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 512 program_prefix=$ac_optarg ;; 513 514 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 515 | --program-suf | --program-su | --program-s) 516 ac_prev=program_suffix ;; 517 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 519 program_suffix=$ac_optarg ;; 520 521 -program-transform-name | --program-transform-name \ 522 | --program-transform-nam | --program-transform-na \ 523 | --program-transform-n | --program-transform- \ 524 | --program-transform | --program-transfor \ 525 | --program-transfo | --program-transf \ 526 | --program-trans | --program-tran \ 527 | --progr-tra | --program-tr | --program-t) 528 ac_prev=program_transform_name ;; 529 -program-transform-name=* | --program-transform-name=* \ 530 | --program-transform-nam=* | --program-transform-na=* \ 531 | --program-transform-n=* | --program-transform-=* \ 532 | --program-transform=* | --program-transfor=* \ 533 | --program-transfo=* | --program-transf=* \ 534 | --program-trans=* | --program-tran=* \ 535 | --progr-tra=* | --program-tr=* | --program-t=*) 536 program_transform_name=$ac_optarg ;; 537 538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 539 | -silent | --silent | --silen | --sile | --sil) 540 silent=yes ;; 541 542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 543 ac_prev=sbindir ;; 544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 545 | --sbi=* | --sb=*) 546 sbindir=$ac_optarg ;; 547 548 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 550 | --sharedst | --shareds | --shared | --share | --shar \ 551 | --sha | --sh) 552 ac_prev=sharedstatedir ;; 553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 556 | --sha=* | --sh=*) 557 sharedstatedir=$ac_optarg ;; 558 559 -site | --site | --sit) 560 ac_prev=site ;; 561 -site=* | --site=* | --sit=*) 562 site=$ac_optarg ;; 563 564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 565 ac_prev=srcdir ;; 566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 567 srcdir=$ac_optarg ;; 568 569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 570 | --syscon | --sysco | --sysc | --sys | --sy) 571 ac_prev=sysconfdir ;; 572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 574 sysconfdir=$ac_optarg ;; 575 576 -target | --target | --targe | --targ | --tar | --ta | --t) 577 ac_prev=target_alias ;; 578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 579 target_alias=$ac_optarg ;; 580 581 -v | -verbose | --verbose | --verbos | --verbo | --verb) 582 verbose=yes ;; 583 584 -version | --version | --versio | --versi | --vers | -V) 585 ac_init_version=: ;; 586 587 -with-* | --with-*) 588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 589 # Reject names that are not valid shell variable names. 590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 591 { echo "$as_me: error: invalid package name: $ac_package" >&2 592 { (exit 1); exit 1; }; } 593 ac_package=`echo $ac_package| sed 's/-/_/g'` 594 case $ac_option in 595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 596 *) ac_optarg=yes ;; 597 esac 598 eval "with_$ac_package='$ac_optarg'" ;; 599 600 -without-* | --without-*) 601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 602 # Reject names that are not valid shell variable names. 603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 604 { echo "$as_me: error: invalid package name: $ac_package" >&2 605 { (exit 1); exit 1; }; } 606 ac_package=`echo $ac_package | sed 's/-/_/g'` 607 eval "with_$ac_package=no" ;; 608 609 --x) 610 # Obsolete; use --with-x. 611 with_x=yes ;; 612 613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 614 | --x-incl | --x-inc | --x-in | --x-i) 615 ac_prev=x_includes ;; 616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 618 x_includes=$ac_optarg ;; 619 620 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 622 ac_prev=x_libraries ;; 623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 625 x_libraries=$ac_optarg ;; 626 627 -*) { echo "$as_me: error: unrecognized option: $ac_option 628Try \`$0 --help' for more information." >&2 629 { (exit 1); exit 1; }; } 630 ;; 631 632 *=*) 633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 634 # Reject names that are not valid shell variable names. 635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 637 { (exit 1); exit 1; }; } 638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 639 eval "$ac_envvar='$ac_optarg'" 640 export $ac_envvar ;; 641 642 *) 643 # FIXME: should be removed in autoconf 3.0. 644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 648 ;; 649 650 esac 651done 652 653if test -n "$ac_prev"; then 654 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 655 { echo "$as_me: error: missing argument to $ac_option" >&2 656 { (exit 1); exit 1; }; } 657fi 658 659# Be sure to have absolute paths. 660for ac_var in exec_prefix prefix 661do 662 eval ac_val=$`echo $ac_var` 663 case $ac_val in 664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 666 { (exit 1); exit 1; }; };; 667 esac 668done 669 670# Be sure to have absolute paths. 671for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 672 localstatedir libdir includedir oldincludedir infodir mandir 673do 674 eval ac_val=$`echo $ac_var` 675 case $ac_val in 676 [\\/$]* | ?:[\\/]* ) ;; 677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 678 { (exit 1); exit 1; }; };; 679 esac 680done 681 682# There might be people who depend on the old broken behavior: `$host' 683# used to hold the argument of --host etc. 684# FIXME: To remove some day. 685build=$build_alias 686host=$host_alias 687target=$target_alias 688 689# FIXME: To remove some day. 690if test "x$host_alias" != x; then 691 if test "x$build_alias" = x; then 692 cross_compiling=maybe 693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 694 If a cross compiler is detected then cross compile mode will be used." >&2 695 elif test "x$build_alias" != "x$host_alias"; then 696 cross_compiling=yes 697 fi 698fi 699 700ac_tool_prefix= 701test -n "$host_alias" && ac_tool_prefix=$host_alias- 702 703test "$silent" = yes && exec 6>/dev/null 704 705 706# Find the source files, if location was not specified. 707if test -z "$srcdir"; then 708 ac_srcdir_defaulted=yes 709 # Try the directory containing this script, then its parent. 710 ac_confdir=`(dirname "$0") 2>/dev/null || 711$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 712 X"$0" : 'X\(//\)[^/]' \| \ 713 X"$0" : 'X\(//\)$' \| \ 714 X"$0" : 'X\(/\)' \| \ 715 . : '\(.\)' 2>/dev/null || 716echo X"$0" | 717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 718 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 719 /^X\(\/\/\)$/{ s//\1/; q; } 720 /^X\(\/\).*/{ s//\1/; q; } 721 s/.*/./; q'` 722 srcdir=$ac_confdir 723 if test ! -r $srcdir/$ac_unique_file; then 724 srcdir=.. 725 fi 726else 727 ac_srcdir_defaulted=no 728fi 729if test ! -r $srcdir/$ac_unique_file; then 730 if test "$ac_srcdir_defaulted" = yes; then 731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 732 { (exit 1); exit 1; }; } 733 else 734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 735 { (exit 1); exit 1; }; } 736 fi 737fi 738(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 740 { (exit 1); exit 1; }; } 741srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 742ac_env_build_alias_set=${build_alias+set} 743ac_env_build_alias_value=$build_alias 744ac_cv_env_build_alias_set=${build_alias+set} 745ac_cv_env_build_alias_value=$build_alias 746ac_env_host_alias_set=${host_alias+set} 747ac_env_host_alias_value=$host_alias 748ac_cv_env_host_alias_set=${host_alias+set} 749ac_cv_env_host_alias_value=$host_alias 750ac_env_target_alias_set=${target_alias+set} 751ac_env_target_alias_value=$target_alias 752ac_cv_env_target_alias_set=${target_alias+set} 753ac_cv_env_target_alias_value=$target_alias 754ac_env_CXX_set=${CXX+set} 755ac_env_CXX_value=$CXX 756ac_cv_env_CXX_set=${CXX+set} 757ac_cv_env_CXX_value=$CXX 758ac_env_CXXFLAGS_set=${CXXFLAGS+set} 759ac_env_CXXFLAGS_value=$CXXFLAGS 760ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 761ac_cv_env_CXXFLAGS_value=$CXXFLAGS 762ac_env_LDFLAGS_set=${LDFLAGS+set} 763ac_env_LDFLAGS_value=$LDFLAGS 764ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 765ac_cv_env_LDFLAGS_value=$LDFLAGS 766ac_env_CPPFLAGS_set=${CPPFLAGS+set} 767ac_env_CPPFLAGS_value=$CPPFLAGS 768ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 769ac_cv_env_CPPFLAGS_value=$CPPFLAGS 770ac_env_CC_set=${CC+set} 771ac_env_CC_value=$CC 772ac_cv_env_CC_set=${CC+set} 773ac_cv_env_CC_value=$CC 774ac_env_CFLAGS_set=${CFLAGS+set} 775ac_env_CFLAGS_value=$CFLAGS 776ac_cv_env_CFLAGS_set=${CFLAGS+set} 777ac_cv_env_CFLAGS_value=$CFLAGS 778ac_env_CPP_set=${CPP+set} 779ac_env_CPP_value=$CPP 780ac_cv_env_CPP_set=${CPP+set} 781ac_cv_env_CPP_value=$CPP 782ac_env_CXXCPP_set=${CXXCPP+set} 783ac_env_CXXCPP_value=$CXXCPP 784ac_cv_env_CXXCPP_set=${CXXCPP+set} 785ac_cv_env_CXXCPP_value=$CXXCPP 786 787# 788# Report the --help message. 789# 790if test "$ac_init_help" = "long"; then 791 # Omit some internal or obsolete options to make the list less imposing. 792 # This message is too long to be a string in the A/UX 3.1 sh. 793 cat <<_ACEOF 794\`configure' configures this package to adapt to many kinds of systems. 795 796Usage: $0 [OPTION]... [VAR=VALUE]... 797 798To assign environment variables (e.g., CC, CFLAGS...), specify them as 799VAR=VALUE. See below for descriptions of some of the useful variables. 800 801Defaults for the options are specified in brackets. 802 803Configuration: 804 -h, --help display this help and exit 805 --help=short display options specific to this package 806 --help=recursive display the short help of all the included packages 807 -V, --version display version information and exit 808 -q, --quiet, --silent do not print \`checking...' messages 809 --cache-file=FILE cache test results in FILE [disabled] 810 -C, --config-cache alias for \`--cache-file=config.cache' 811 -n, --no-create do not create output files 812 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 813 814_ACEOF 815 816 cat <<_ACEOF 817Installation directories: 818 --prefix=PREFIX install architecture-independent files in PREFIX 819 [$ac_default_prefix] 820 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 821 [PREFIX] 822 823By default, \`make install' will install all the files in 824\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 825an installation prefix other than \`$ac_default_prefix' using \`--prefix', 826for instance \`--prefix=\$HOME'. 827 828For better control, use the options below. 829 830Fine tuning of the installation directories: 831 --bindir=DIR user executables [EPREFIX/bin] 832 --sbindir=DIR system admin executables [EPREFIX/sbin] 833 --libexecdir=DIR program executables [EPREFIX/libexec] 834 --datadir=DIR read-only architecture-independent data [PREFIX/share] 835 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 836 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 837 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 838 --libdir=DIR object code libraries [EPREFIX/lib] 839 --includedir=DIR C header files [PREFIX/include] 840 --oldincludedir=DIR C header files for non-gcc [/usr/include] 841 --infodir=DIR info documentation [PREFIX/info] 842 --mandir=DIR man documentation [PREFIX/man] 843_ACEOF 844 845 cat <<\_ACEOF 846 847System types: 848 --build=BUILD configure for building on BUILD [guessed] 849 --host=HOST cross-compile to build programs to run on HOST [BUILD] 850 --target=TARGET configure for building compilers for TARGET [HOST] 851_ACEOF 852fi 853 854if test -n "$ac_init_help"; then 855 856 cat <<\_ACEOF 857 858Some influential environment variables: 859 CXX C++ compiler command 860 CXXFLAGS C++ compiler flags 861 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 862 nonstandard directory <lib dir> 863 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 864 headers in a nonstandard directory <include dir> 865 CC C compiler command 866 CFLAGS C compiler flags 867 CPP C preprocessor 868 CXXCPP C++ preprocessor 869 870Use these variables to override the choices made by `configure' or to help 871it to find libraries and programs with nonstandard names/locations. 872 873_ACEOF 874fi 875 876if test "$ac_init_help" = "recursive"; then 877 # If there are subdirs, report their specific --help. 878 ac_popdir=`pwd` 879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 880 test -d $ac_dir || continue 881 ac_builddir=. 882 883if test "$ac_dir" != .; then 884 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 885 # A "../" for each directory in $ac_dir_suffix. 886 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 887else 888 ac_dir_suffix= ac_top_builddir= 889fi 890 891case $srcdir in 892 .) # No --srcdir option. We are building in place. 893 ac_srcdir=. 894 if test -z "$ac_top_builddir"; then 895 ac_top_srcdir=. 896 else 897 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 898 fi ;; 899 [\\/]* | ?:[\\/]* ) # Absolute path. 900 ac_srcdir=$srcdir$ac_dir_suffix; 901 ac_top_srcdir=$srcdir ;; 902 *) # Relative path. 903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 904 ac_top_srcdir=$ac_top_builddir$srcdir ;; 905esac 906 907# Do not use `cd foo && pwd` to compute absolute paths, because 908# the directories may not exist. 909case `pwd` in 910.) ac_abs_builddir="$ac_dir";; 911*) 912 case "$ac_dir" in 913 .) ac_abs_builddir=`pwd`;; 914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 915 *) ac_abs_builddir=`pwd`/"$ac_dir";; 916 esac;; 917esac 918case $ac_abs_builddir in 919.) ac_abs_top_builddir=${ac_top_builddir}.;; 920*) 921 case ${ac_top_builddir}. in 922 .) ac_abs_top_builddir=$ac_abs_builddir;; 923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 925 esac;; 926esac 927case $ac_abs_builddir in 928.) ac_abs_srcdir=$ac_srcdir;; 929*) 930 case $ac_srcdir in 931 .) ac_abs_srcdir=$ac_abs_builddir;; 932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 934 esac;; 935esac 936case $ac_abs_builddir in 937.) ac_abs_top_srcdir=$ac_top_srcdir;; 938*) 939 case $ac_top_srcdir in 940 .) ac_abs_top_srcdir=$ac_abs_builddir;; 941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 943 esac;; 944esac 945 946 cd $ac_dir 947 # Check for guested configure; otherwise get Cygnus style configure. 948 if test -f $ac_srcdir/configure.gnu; then 949 echo 950 $SHELL $ac_srcdir/configure.gnu --help=recursive 951 elif test -f $ac_srcdir/configure; then 952 echo 953 $SHELL $ac_srcdir/configure --help=recursive 954 elif test -f $ac_srcdir/configure.ac || 955 test -f $ac_srcdir/configure.in; then 956 echo 957 $ac_configure --help 958 else 959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 960 fi 961 cd $ac_popdir 962 done 963fi 964 965test -n "$ac_init_help" && exit 0 966if $ac_init_version; then 967 cat <<\_ACEOF 968 969Copyright (C) 2003 Free Software Foundation, Inc. 970This configure script is free software; the Free Software Foundation 971gives unlimited permission to copy, distribute and modify it. 972_ACEOF 973 exit 0 974fi 975exec 5>config.log 976cat >&5 <<_ACEOF 977This file contains any messages produced by compilers while 978running configure, to aid debugging if configure makes a mistake. 979 980It was created by $as_me, which was 981generated by GNU Autoconf 2.59. Invocation command line was 982 983 $ $0 $@ 984 985_ACEOF 986{ 987cat <<_ASUNAME 988@%:@@%:@ --------- @%:@@%:@ 989@%:@@%:@ Platform. @%:@@%:@ 990@%:@@%:@ --------- @%:@@%:@ 991 992hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 993uname -m = `(uname -m) 2>/dev/null || echo unknown` 994uname -r = `(uname -r) 2>/dev/null || echo unknown` 995uname -s = `(uname -s) 2>/dev/null || echo unknown` 996uname -v = `(uname -v) 2>/dev/null || echo unknown` 997 998/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 999/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1000 1001/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1002/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1003/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1004hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1005/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1006/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1007/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1008 1009_ASUNAME 1010 1011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1012for as_dir in $PATH 1013do 1014 IFS=$as_save_IFS 1015 test -z "$as_dir" && as_dir=. 1016 echo "PATH: $as_dir" 1017done 1018 1019} >&5 1020 1021cat >&5 <<_ACEOF 1022 1023 1024@%:@@%:@ ----------- @%:@@%:@ 1025@%:@@%:@ Core tests. @%:@@%:@ 1026@%:@@%:@ ----------- @%:@@%:@ 1027 1028_ACEOF 1029 1030 1031# Keep a trace of the command line. 1032# Strip out --no-create and --no-recursion so they do not pile up. 1033# Strip out --silent because we don't want to record it for future runs. 1034# Also quote any args containing shell meta-characters. 1035# Make two passes to allow for proper duplicate-argument suppression. 1036ac_configure_args= 1037ac_configure_args0= 1038ac_configure_args1= 1039ac_sep= 1040ac_must_keep_next=false 1041for ac_pass in 1 2 1042do 1043 for ac_arg 1044 do 1045 case $ac_arg in 1046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1048 | -silent | --silent | --silen | --sile | --sil) 1049 continue ;; 1050 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1051 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1052 esac 1053 case $ac_pass in 1054 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1055 2) 1056 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1057 if test $ac_must_keep_next = true; then 1058 ac_must_keep_next=false # Got value, back to normal. 1059 else 1060 case $ac_arg in 1061 *=* | --config-cache | -C | -disable-* | --disable-* \ 1062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1064 | -with-* | --with-* | -without-* | --without-* | --x) 1065 case "$ac_configure_args0 " in 1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1067 esac 1068 ;; 1069 -* ) ac_must_keep_next=true ;; 1070 esac 1071 fi 1072 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1073 # Get rid of the leading space. 1074 ac_sep=" " 1075 ;; 1076 esac 1077 done 1078done 1079$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1080$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1081 1082# When interrupted or exit'd, cleanup temporary files, and complete 1083# config.log. We remove comments because anyway the quotes in there 1084# would cause problems or look ugly. 1085# WARNING: Be sure not to use single quotes in there, as some shells, 1086# such as our DU 5.0 friend, will then `close' the trap. 1087trap 'exit_status=$? 1088 # Save into config.log some information that might help in debugging. 1089 { 1090 echo 1091 1092 cat <<\_ASBOX 1093@%:@@%:@ ---------------- @%:@@%:@ 1094@%:@@%:@ Cache variables. @%:@@%:@ 1095@%:@@%:@ ---------------- @%:@@%:@ 1096_ASBOX 1097 echo 1098 # The following way of writing the cache mishandles newlines in values, 1099{ 1100 (set) 2>&1 | 1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1102 *ac_space=\ *) 1103 sed -n \ 1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1106 ;; 1107 *) 1108 sed -n \ 1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1110 ;; 1111 esac; 1112} 1113 echo 1114 1115 cat <<\_ASBOX 1116@%:@@%:@ ----------------- @%:@@%:@ 1117@%:@@%:@ Output variables. @%:@@%:@ 1118@%:@@%:@ ----------------- @%:@@%:@ 1119_ASBOX 1120 echo 1121 for ac_var in $ac_subst_vars 1122 do 1123 eval ac_val=$`echo $ac_var` 1124 echo "$ac_var='"'"'$ac_val'"'"'" 1125 done | sort 1126 echo 1127 1128 if test -n "$ac_subst_files"; then 1129 cat <<\_ASBOX 1130@%:@@%:@ ------------- @%:@@%:@ 1131@%:@@%:@ Output files. @%:@@%:@ 1132@%:@@%:@ ------------- @%:@@%:@ 1133_ASBOX 1134 echo 1135 for ac_var in $ac_subst_files 1136 do 1137 eval ac_val=$`echo $ac_var` 1138 echo "$ac_var='"'"'$ac_val'"'"'" 1139 done | sort 1140 echo 1141 fi 1142 1143 if test -s confdefs.h; then 1144 cat <<\_ASBOX 1145@%:@@%:@ ----------- @%:@@%:@ 1146@%:@@%:@ confdefs.h. @%:@@%:@ 1147@%:@@%:@ ----------- @%:@@%:@ 1148_ASBOX 1149 echo 1150 sed "/^$/d" confdefs.h | sort 1151 echo 1152 fi 1153 test "$ac_signal" != 0 && 1154 echo "$as_me: caught signal $ac_signal" 1155 echo "$as_me: exit $exit_status" 1156 } >&5 1157 rm -f core *.core && 1158 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1159 exit $exit_status 1160 ' 0 1161for ac_signal in 1 2 13 15; do 1162 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1163done 1164ac_signal=0 1165 1166# confdefs.h avoids OS command line length limits that DEFS can exceed. 1167rm -rf conftest* confdefs.h 1168# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1169echo >confdefs.h 1170 1171# Predefined preprocessor variables. 1172 1173cat >>confdefs.h <<_ACEOF 1174@%:@define PACKAGE_NAME "$PACKAGE_NAME" 1175_ACEOF 1176 1177 1178cat >>confdefs.h <<_ACEOF 1179@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1180_ACEOF 1181 1182 1183cat >>confdefs.h <<_ACEOF 1184@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 1185_ACEOF 1186 1187 1188cat >>confdefs.h <<_ACEOF 1189@%:@define PACKAGE_STRING "$PACKAGE_STRING" 1190_ACEOF 1191 1192 1193cat >>confdefs.h <<_ACEOF 1194@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1195_ACEOF 1196 1197 1198# Let the site file select an alternate cache file if it wants to. 1199# Prefer explicitly selected file to automatically selected ones. 1200if test -z "$CONFIG_SITE"; then 1201 if test "x$prefix" != xNONE; then 1202 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1203 else 1204 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1205 fi 1206fi 1207for ac_site_file in $CONFIG_SITE; do 1208 if test -r "$ac_site_file"; then 1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1210echo "$as_me: loading site script $ac_site_file" >&6;} 1211 sed 's/^/| /' "$ac_site_file" >&5 1212 . "$ac_site_file" 1213 fi 1214done 1215 1216if test -r "$cache_file"; then 1217 # Some versions of bash will fail to source /dev/null (special 1218 # files actually), so we avoid doing that. 1219 if test -f "$cache_file"; then 1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1221echo "$as_me: loading cache $cache_file" >&6;} 1222 case $cache_file in 1223 [\\/]* | ?:[\\/]* ) . $cache_file;; 1224 *) . ./$cache_file;; 1225 esac 1226 fi 1227else 1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1229echo "$as_me: creating cache $cache_file" >&6;} 1230 >$cache_file 1231fi 1232 1233# Check that the precious variables saved in the cache have kept the same 1234# value. 1235ac_cache_corrupted=false 1236for ac_var in `(set) 2>&1 | 1237 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1238 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1239 eval ac_new_set=\$ac_env_${ac_var}_set 1240 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1241 eval ac_new_val="\$ac_env_${ac_var}_value" 1242 case $ac_old_set,$ac_new_set in 1243 set,) 1244 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1245echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1246 ac_cache_corrupted=: ;; 1247 ,set) 1248 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1249echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1250 ac_cache_corrupted=: ;; 1251 ,);; 1252 *) 1253 if test "x$ac_old_val" != "x$ac_new_val"; then 1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1255echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1256 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1257echo "$as_me: former value: $ac_old_val" >&2;} 1258 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1259echo "$as_me: current value: $ac_new_val" >&2;} 1260 ac_cache_corrupted=: 1261 fi;; 1262 esac 1263 # Pass precious variables to config.status. 1264 if test "$ac_new_set" = set; then 1265 case $ac_new_val in 1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1267 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1268 *) ac_arg=$ac_var=$ac_new_val ;; 1269 esac 1270 case " $ac_configure_args " in 1271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1272 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1273 esac 1274 fi 1275done 1276if $ac_cache_corrupted; then 1277 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1278echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1279 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1280echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1281 { (exit 1); exit 1; }; } 1282fi 1283 1284ac_ext=c 1285ac_cpp='$CPP $CPPFLAGS' 1286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1288ac_compiler_gnu=$ac_cv_c_compiler_gnu 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 ac_config_headers="$ac_config_headers src/include/config.h" 1309 1310ac_aux_dir= 1311for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1312 if test -f $ac_dir/install-sh; then 1313 ac_aux_dir=$ac_dir 1314 ac_install_sh="$ac_aux_dir/install-sh -c" 1315 break 1316 elif test -f $ac_dir/install.sh; then 1317 ac_aux_dir=$ac_dir 1318 ac_install_sh="$ac_aux_dir/install.sh -c" 1319 break 1320 elif test -f $ac_dir/shtool; then 1321 ac_aux_dir=$ac_dir 1322 ac_install_sh="$ac_aux_dir/shtool install -c" 1323 break 1324 fi 1325done 1326if test -z "$ac_aux_dir"; then 1327 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1328echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1329 { (exit 1); exit 1; }; } 1330fi 1331ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1332ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1333ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1334 1335# Make sure we can run config.sub. 1336$ac_config_sub sun4 >/dev/null 2>&1 || 1337 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1338echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1339 { (exit 1); exit 1; }; } 1340 1341echo "$as_me:$LINENO: checking build system type" >&5 1342echo $ECHO_N "checking build system type... $ECHO_C" >&6 1343if test "${ac_cv_build+set}" = set; then 1344 echo $ECHO_N "(cached) $ECHO_C" >&6 1345else 1346 ac_cv_build_alias=$build_alias 1347test -z "$ac_cv_build_alias" && 1348 ac_cv_build_alias=`$ac_config_guess` 1349test -z "$ac_cv_build_alias" && 1350 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1351echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1352 { (exit 1); exit 1; }; } 1353ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1354 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1355echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1356 { (exit 1); exit 1; }; } 1357 1358fi 1359echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1360echo "${ECHO_T}$ac_cv_build" >&6 1361build=$ac_cv_build 1362build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1363build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1364build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1365 1366 1367echo "$as_me:$LINENO: checking host system type" >&5 1368echo $ECHO_N "checking host system type... $ECHO_C" >&6 1369if test "${ac_cv_host+set}" = set; then 1370 echo $ECHO_N "(cached) $ECHO_C" >&6 1371else 1372 ac_cv_host_alias=$host_alias 1373test -z "$ac_cv_host_alias" && 1374 ac_cv_host_alias=$ac_cv_build_alias 1375ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1376 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1377echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1378 { (exit 1); exit 1; }; } 1379 1380fi 1381echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1382echo "${ECHO_T}$ac_cv_host" >&6 1383host=$ac_cv_host 1384host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1385host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1386host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1387 1388 1389echo "$as_me:$LINENO: checking target system type" >&5 1390echo $ECHO_N "checking target system type... $ECHO_C" >&6 1391if test "${ac_cv_target+set}" = set; then 1392 echo $ECHO_N "(cached) $ECHO_C" >&6 1393else 1394 ac_cv_target_alias=$target_alias 1395test "x$ac_cv_target_alias" = "x" && 1396 ac_cv_target_alias=$ac_cv_host_alias 1397ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1398 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1399echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1400 { (exit 1); exit 1; }; } 1401 1402fi 1403echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1404echo "${ECHO_T}$ac_cv_target" >&6 1405target=$ac_cv_target 1406target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1407target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1408target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1409 1410 1411# The aliases save the names the user supplied, while $host etc. 1412# will get canonicalized. 1413test -n "$target_alias" && 1414 test "$program_prefix$program_suffix$program_transform_name" = \ 1415 NONENONEs,x,x, && 1416 program_prefix=${target_alias}- 1417 1418 1419ac_ext=cc 1420ac_cpp='$CXXCPP $CPPFLAGS' 1421ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1422ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1423ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1424if test -n "$ac_tool_prefix"; then 1425 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 1426 do 1427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1428set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1429echo "$as_me:$LINENO: checking for $ac_word" >&5 1430echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1431if test "${ac_cv_prog_CXX+set}" = set; then 1432 echo $ECHO_N "(cached) $ECHO_C" >&6 1433else 1434 if test -n "$CXX"; then 1435 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1436else 1437as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1438for as_dir in $PATH 1439do 1440 IFS=$as_save_IFS 1441 test -z "$as_dir" && as_dir=. 1442 for ac_exec_ext in '' $ac_executable_extensions; do 1443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1444 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1446 break 2 1447 fi 1448done 1449done 1450 1451fi 1452fi 1453CXX=$ac_cv_prog_CXX 1454if test -n "$CXX"; then 1455 echo "$as_me:$LINENO: result: $CXX" >&5 1456echo "${ECHO_T}$CXX" >&6 1457else 1458 echo "$as_me:$LINENO: result: no" >&5 1459echo "${ECHO_T}no" >&6 1460fi 1461 1462 test -n "$CXX" && break 1463 done 1464fi 1465if test -z "$CXX"; then 1466 ac_ct_CXX=$CXX 1467 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 1468do 1469 # Extract the first word of "$ac_prog", so it can be a program name with args. 1470set dummy $ac_prog; ac_word=$2 1471echo "$as_me:$LINENO: checking for $ac_word" >&5 1472echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1473if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 1474 echo $ECHO_N "(cached) $ECHO_C" >&6 1475else 1476 if test -n "$ac_ct_CXX"; then 1477 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1478else 1479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1480for as_dir in $PATH 1481do 1482 IFS=$as_save_IFS 1483 test -z "$as_dir" && as_dir=. 1484 for ac_exec_ext in '' $ac_executable_extensions; do 1485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1486 ac_cv_prog_ac_ct_CXX="$ac_prog" 1487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1488 break 2 1489 fi 1490done 1491done 1492 1493fi 1494fi 1495ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1496if test -n "$ac_ct_CXX"; then 1497 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 1498echo "${ECHO_T}$ac_ct_CXX" >&6 1499else 1500 echo "$as_me:$LINENO: result: no" >&5 1501echo "${ECHO_T}no" >&6 1502fi 1503 1504 test -n "$ac_ct_CXX" && break 1505done 1506test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 1507 1508 CXX=$ac_ct_CXX 1509fi 1510 1511 1512# Provide some information about the compiler. 1513echo "$as_me:$LINENO:" \ 1514 "checking for C++ compiler version" >&5 1515ac_compiler=`set X $ac_compile; echo $2` 1516{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1517 (eval $ac_compiler --version </dev/null >&5) 2>&5 1518 ac_status=$? 1519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1520 (exit $ac_status); } 1521{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1522 (eval $ac_compiler -v </dev/null >&5) 2>&5 1523 ac_status=$? 1524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1525 (exit $ac_status); } 1526{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1527 (eval $ac_compiler -V </dev/null >&5) 2>&5 1528 ac_status=$? 1529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1530 (exit $ac_status); } 1531 1532cat >conftest.$ac_ext <<_ACEOF 1533/* confdefs.h. */ 1534_ACEOF 1535cat confdefs.h >>conftest.$ac_ext 1536cat >>conftest.$ac_ext <<_ACEOF 1537/* end confdefs.h. */ 1538 1539int 1540main () 1541{ 1542 1543 ; 1544 return 0; 1545} 1546_ACEOF 1547ac_clean_files_save=$ac_clean_files 1548ac_clean_files="$ac_clean_files a.out a.exe b.out" 1549# Try to create an executable without -o first, disregard a.out. 1550# It will help us diagnose broken compilers, and finding out an intuition 1551# of exeext. 1552echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 1553echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 1554ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1555if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1556 (eval $ac_link_default) 2>&5 1557 ac_status=$? 1558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1559 (exit $ac_status); }; then 1560 # Find the output, starting from the most likely. This scheme is 1561# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1562# resort. 1563 1564# Be careful to initialize this variable, since it used to be cached. 1565# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1566ac_cv_exeext= 1567# b.out is created by i960 compilers. 1568for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1569do 1570 test -f "$ac_file" || continue 1571 case $ac_file in 1572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1573 ;; 1574 conftest.$ac_ext ) 1575 # This is the source file. 1576 ;; 1577 [ab].out ) 1578 # We found the default executable, but exeext='' is most 1579 # certainly right. 1580 break;; 1581 *.* ) 1582 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1583 # FIXME: I believe we export ac_cv_exeext for Libtool, 1584 # but it would be cool to find out if it's true. Does anybody 1585 # maintain Libtool? --akim. 1586 export ac_cv_exeext 1587 break;; 1588 * ) 1589 break;; 1590 esac 1591done 1592else 1593 echo "$as_me: failed program was:" >&5 1594sed 's/^/| /' conftest.$ac_ext >&5 1595 1596{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables 1597See \`config.log' for more details." >&5 1598echo "$as_me: error: C++ compiler cannot create executables 1599See \`config.log' for more details." >&2;} 1600 { (exit 77); exit 77; }; } 1601fi 1602 1603ac_exeext=$ac_cv_exeext 1604echo "$as_me:$LINENO: result: $ac_file" >&5 1605echo "${ECHO_T}$ac_file" >&6 1606 1607# Check the compiler produces executables we can run. If not, either 1608# the compiler is broken, or we cross compile. 1609echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 1610echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 1611# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1612# If not cross compiling, check that we can run a simple program. 1613if test "$cross_compiling" != yes; then 1614 if { ac_try='./$ac_file' 1615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1616 (eval $ac_try) 2>&5 1617 ac_status=$? 1618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1619 (exit $ac_status); }; }; then 1620 cross_compiling=no 1621 else 1622 if test "$cross_compiling" = maybe; then 1623 cross_compiling=yes 1624 else 1625 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. 1626If you meant to cross compile, use \`--host'. 1627See \`config.log' for more details." >&5 1628echo "$as_me: error: cannot run C++ compiled programs. 1629If you meant to cross compile, use \`--host'. 1630See \`config.log' for more details." >&2;} 1631 { (exit 1); exit 1; }; } 1632 fi 1633 fi 1634fi 1635echo "$as_me:$LINENO: result: yes" >&5 1636echo "${ECHO_T}yes" >&6 1637 1638rm -f a.out a.exe conftest$ac_cv_exeext b.out 1639ac_clean_files=$ac_clean_files_save 1640# Check the compiler produces executables we can run. If not, either 1641# the compiler is broken, or we cross compile. 1642echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1643echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1644echo "$as_me:$LINENO: result: $cross_compiling" >&5 1645echo "${ECHO_T}$cross_compiling" >&6 1646 1647echo "$as_me:$LINENO: checking for suffix of executables" >&5 1648echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1649if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1650 (eval $ac_link) 2>&5 1651 ac_status=$? 1652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1653 (exit $ac_status); }; then 1654 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1655# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1656# work properly (i.e., refer to `conftest.exe'), while it won't with 1657# `rm'. 1658for ac_file in conftest.exe conftest conftest.*; do 1659 test -f "$ac_file" || continue 1660 case $ac_file in 1661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1662 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1663 export ac_cv_exeext 1664 break;; 1665 * ) break;; 1666 esac 1667done 1668else 1669 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1670See \`config.log' for more details." >&5 1671echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1672See \`config.log' for more details." >&2;} 1673 { (exit 1); exit 1; }; } 1674fi 1675 1676rm -f conftest$ac_cv_exeext 1677echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1678echo "${ECHO_T}$ac_cv_exeext" >&6 1679 1680rm -f conftest.$ac_ext 1681EXEEXT=$ac_cv_exeext 1682ac_exeext=$EXEEXT 1683echo "$as_me:$LINENO: checking for suffix of object files" >&5 1684echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1685if test "${ac_cv_objext+set}" = set; then 1686 echo $ECHO_N "(cached) $ECHO_C" >&6 1687else 1688 cat >conftest.$ac_ext <<_ACEOF 1689/* confdefs.h. */ 1690_ACEOF 1691cat confdefs.h >>conftest.$ac_ext 1692cat >>conftest.$ac_ext <<_ACEOF 1693/* end confdefs.h. */ 1694 1695int 1696main () 1697{ 1698 1699 ; 1700 return 0; 1701} 1702_ACEOF 1703rm -f conftest.o conftest.obj 1704if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1705 (eval $ac_compile) 2>&5 1706 ac_status=$? 1707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1708 (exit $ac_status); }; then 1709 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1710 case $ac_file in 1711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1712 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1713 break;; 1714 esac 1715done 1716else 1717 echo "$as_me: failed program was:" >&5 1718sed 's/^/| /' conftest.$ac_ext >&5 1719 1720{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1721See \`config.log' for more details." >&5 1722echo "$as_me: error: cannot compute suffix of object files: cannot compile 1723See \`config.log' for more details." >&2;} 1724 { (exit 1); exit 1; }; } 1725fi 1726 1727rm -f conftest.$ac_cv_objext conftest.$ac_ext 1728fi 1729echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1730echo "${ECHO_T}$ac_cv_objext" >&6 1731OBJEXT=$ac_cv_objext 1732ac_objext=$OBJEXT 1733echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 1734echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 1735if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 1736 echo $ECHO_N "(cached) $ECHO_C" >&6 1737else 1738 cat >conftest.$ac_ext <<_ACEOF 1739/* confdefs.h. */ 1740_ACEOF 1741cat confdefs.h >>conftest.$ac_ext 1742cat >>conftest.$ac_ext <<_ACEOF 1743/* end confdefs.h. */ 1744 1745int 1746main () 1747{ 1748#ifndef __GNUC__ 1749 choke me 1750#endif 1751 1752 ; 1753 return 0; 1754} 1755_ACEOF 1756rm -f conftest.$ac_objext 1757if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1758 (eval $ac_compile) 2>conftest.er1 1759 ac_status=$? 1760 grep -v '^ *+' conftest.er1 >conftest.err 1761 rm -f conftest.er1 1762 cat conftest.err >&5 1763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1764 (exit $ac_status); } && 1765 { ac_try='test -z "$ac_cxx_werror_flag" 1766 || test ! -s conftest.err' 1767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1768 (eval $ac_try) 2>&5 1769 ac_status=$? 1770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1771 (exit $ac_status); }; } && 1772 { ac_try='test -s conftest.$ac_objext' 1773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1774 (eval $ac_try) 2>&5 1775 ac_status=$? 1776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1777 (exit $ac_status); }; }; then 1778 ac_compiler_gnu=yes 1779else 1780 echo "$as_me: failed program was:" >&5 1781sed 's/^/| /' conftest.$ac_ext >&5 1782 1783ac_compiler_gnu=no 1784fi 1785rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1786ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1787 1788fi 1789echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 1790echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 1791GXX=`test $ac_compiler_gnu = yes && echo yes` 1792ac_test_CXXFLAGS=${CXXFLAGS+set} 1793ac_save_CXXFLAGS=$CXXFLAGS 1794CXXFLAGS="-g" 1795echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 1796echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 1797if test "${ac_cv_prog_cxx_g+set}" = set; then 1798 echo $ECHO_N "(cached) $ECHO_C" >&6 1799else 1800 cat >conftest.$ac_ext <<_ACEOF 1801/* confdefs.h. */ 1802_ACEOF 1803cat confdefs.h >>conftest.$ac_ext 1804cat >>conftest.$ac_ext <<_ACEOF 1805/* end confdefs.h. */ 1806 1807int 1808main () 1809{ 1810 1811 ; 1812 return 0; 1813} 1814_ACEOF 1815rm -f conftest.$ac_objext 1816if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1817 (eval $ac_compile) 2>conftest.er1 1818 ac_status=$? 1819 grep -v '^ *+' conftest.er1 >conftest.err 1820 rm -f conftest.er1 1821 cat conftest.err >&5 1822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1823 (exit $ac_status); } && 1824 { ac_try='test -z "$ac_cxx_werror_flag" 1825 || test ! -s conftest.err' 1826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1827 (eval $ac_try) 2>&5 1828 ac_status=$? 1829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1830 (exit $ac_status); }; } && 1831 { ac_try='test -s conftest.$ac_objext' 1832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1833 (eval $ac_try) 2>&5 1834 ac_status=$? 1835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1836 (exit $ac_status); }; }; then 1837 ac_cv_prog_cxx_g=yes 1838else 1839 echo "$as_me: failed program was:" >&5 1840sed 's/^/| /' conftest.$ac_ext >&5 1841 1842ac_cv_prog_cxx_g=no 1843fi 1844rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1845fi 1846echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 1847echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 1848if test "$ac_test_CXXFLAGS" = set; then 1849 CXXFLAGS=$ac_save_CXXFLAGS 1850elif test $ac_cv_prog_cxx_g = yes; then 1851 if test "$GXX" = yes; then 1852 CXXFLAGS="-g -O2" 1853 else 1854 CXXFLAGS="-g" 1855 fi 1856else 1857 if test "$GXX" = yes; then 1858 CXXFLAGS="-O2" 1859 else 1860 CXXFLAGS= 1861 fi 1862fi 1863for ac_declaration in \ 1864 '' \ 1865 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1866 'extern "C" void std::exit (int); using std::exit;' \ 1867 'extern "C" void exit (int) throw ();' \ 1868 'extern "C" void exit (int);' \ 1869 'void exit (int);' 1870do 1871 cat >conftest.$ac_ext <<_ACEOF 1872/* confdefs.h. */ 1873_ACEOF 1874cat confdefs.h >>conftest.$ac_ext 1875cat >>conftest.$ac_ext <<_ACEOF 1876/* end confdefs.h. */ 1877$ac_declaration 1878@%:@include <stdlib.h> 1879int 1880main () 1881{ 1882exit (42); 1883 ; 1884 return 0; 1885} 1886_ACEOF 1887rm -f conftest.$ac_objext 1888if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1889 (eval $ac_compile) 2>conftest.er1 1890 ac_status=$? 1891 grep -v '^ *+' conftest.er1 >conftest.err 1892 rm -f conftest.er1 1893 cat conftest.err >&5 1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1895 (exit $ac_status); } && 1896 { ac_try='test -z "$ac_cxx_werror_flag" 1897 || test ! -s conftest.err' 1898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1899 (eval $ac_try) 2>&5 1900 ac_status=$? 1901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1902 (exit $ac_status); }; } && 1903 { ac_try='test -s conftest.$ac_objext' 1904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1905 (eval $ac_try) 2>&5 1906 ac_status=$? 1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1908 (exit $ac_status); }; }; then 1909 : 1910else 1911 echo "$as_me: failed program was:" >&5 1912sed 's/^/| /' conftest.$ac_ext >&5 1913 1914continue 1915fi 1916rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1917 cat >conftest.$ac_ext <<_ACEOF 1918/* confdefs.h. */ 1919_ACEOF 1920cat confdefs.h >>conftest.$ac_ext 1921cat >>conftest.$ac_ext <<_ACEOF 1922/* end confdefs.h. */ 1923$ac_declaration 1924int 1925main () 1926{ 1927exit (42); 1928 ; 1929 return 0; 1930} 1931_ACEOF 1932rm -f conftest.$ac_objext 1933if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1934 (eval $ac_compile) 2>conftest.er1 1935 ac_status=$? 1936 grep -v '^ *+' conftest.er1 >conftest.err 1937 rm -f conftest.er1 1938 cat conftest.err >&5 1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1940 (exit $ac_status); } && 1941 { ac_try='test -z "$ac_cxx_werror_flag" 1942 || test ! -s conftest.err' 1943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1944 (eval $ac_try) 2>&5 1945 ac_status=$? 1946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1947 (exit $ac_status); }; } && 1948 { ac_try='test -s conftest.$ac_objext' 1949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1950 (eval $ac_try) 2>&5 1951 ac_status=$? 1952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1953 (exit $ac_status); }; }; then 1954 break 1955else 1956 echo "$as_me: failed program was:" >&5 1957sed 's/^/| /' conftest.$ac_ext >&5 1958 1959fi 1960rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1961done 1962rm -f conftest* 1963if test -n "$ac_declaration"; then 1964 echo '#ifdef __cplusplus' >>confdefs.h 1965 echo $ac_declaration >>confdefs.h 1966 echo '#endif' >>confdefs.h 1967fi 1968 1969ac_ext=c 1970ac_cpp='$CPP $CPPFLAGS' 1971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1973ac_compiler_gnu=$ac_cv_c_compiler_gnu 1974 1975ac_ext=c 1976ac_cpp='$CPP $CPPFLAGS' 1977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1979ac_compiler_gnu=$ac_cv_c_compiler_gnu 1980if test -n "$ac_tool_prefix"; then 1981 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1982set dummy ${ac_tool_prefix}gcc; ac_word=$2 1983echo "$as_me:$LINENO: checking for $ac_word" >&5 1984echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1985if test "${ac_cv_prog_CC+set}" = set; then 1986 echo $ECHO_N "(cached) $ECHO_C" >&6 1987else 1988 if test -n "$CC"; then 1989 ac_cv_prog_CC="$CC" # Let the user override the test. 1990else 1991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1992for as_dir in $PATH 1993do 1994 IFS=$as_save_IFS 1995 test -z "$as_dir" && as_dir=. 1996 for ac_exec_ext in '' $ac_executable_extensions; do 1997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1998 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2000 break 2 2001 fi 2002done 2003done 2004 2005fi 2006fi 2007CC=$ac_cv_prog_CC 2008if test -n "$CC"; then 2009 echo "$as_me:$LINENO: result: $CC" >&5 2010echo "${ECHO_T}$CC" >&6 2011else 2012 echo "$as_me:$LINENO: result: no" >&5 2013echo "${ECHO_T}no" >&6 2014fi 2015 2016fi 2017if test -z "$ac_cv_prog_CC"; then 2018 ac_ct_CC=$CC 2019 # Extract the first word of "gcc", so it can be a program name with args. 2020set dummy gcc; ac_word=$2 2021echo "$as_me:$LINENO: checking for $ac_word" >&5 2022echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2023if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2024 echo $ECHO_N "(cached) $ECHO_C" >&6 2025else 2026 if test -n "$ac_ct_CC"; then 2027 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2028else 2029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2030for as_dir in $PATH 2031do 2032 IFS=$as_save_IFS 2033 test -z "$as_dir" && as_dir=. 2034 for ac_exec_ext in '' $ac_executable_extensions; do 2035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2036 ac_cv_prog_ac_ct_CC="gcc" 2037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2038 break 2 2039 fi 2040done 2041done 2042 2043fi 2044fi 2045ac_ct_CC=$ac_cv_prog_ac_ct_CC 2046if test -n "$ac_ct_CC"; then 2047 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2048echo "${ECHO_T}$ac_ct_CC" >&6 2049else 2050 echo "$as_me:$LINENO: result: no" >&5 2051echo "${ECHO_T}no" >&6 2052fi 2053 2054 CC=$ac_ct_CC 2055else 2056 CC="$ac_cv_prog_CC" 2057fi 2058 2059if test -z "$CC"; then 2060 if test -n "$ac_tool_prefix"; then 2061 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2062set dummy ${ac_tool_prefix}cc; ac_word=$2 2063echo "$as_me:$LINENO: checking for $ac_word" >&5 2064echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2065if test "${ac_cv_prog_CC+set}" = set; then 2066 echo $ECHO_N "(cached) $ECHO_C" >&6 2067else 2068 if test -n "$CC"; then 2069 ac_cv_prog_CC="$CC" # Let the user override the test. 2070else 2071as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2072for as_dir in $PATH 2073do 2074 IFS=$as_save_IFS 2075 test -z "$as_dir" && as_dir=. 2076 for ac_exec_ext in '' $ac_executable_extensions; do 2077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2078 ac_cv_prog_CC="${ac_tool_prefix}cc" 2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2080 break 2 2081 fi 2082done 2083done 2084 2085fi 2086fi 2087CC=$ac_cv_prog_CC 2088if test -n "$CC"; then 2089 echo "$as_me:$LINENO: result: $CC" >&5 2090echo "${ECHO_T}$CC" >&6 2091else 2092 echo "$as_me:$LINENO: result: no" >&5 2093echo "${ECHO_T}no" >&6 2094fi 2095 2096fi 2097if test -z "$ac_cv_prog_CC"; then 2098 ac_ct_CC=$CC 2099 # Extract the first word of "cc", so it can be a program name with args. 2100set dummy cc; ac_word=$2 2101echo "$as_me:$LINENO: checking for $ac_word" >&5 2102echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2103if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2104 echo $ECHO_N "(cached) $ECHO_C" >&6 2105else 2106 if test -n "$ac_ct_CC"; then 2107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2108else 2109as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2110for as_dir in $PATH 2111do 2112 IFS=$as_save_IFS 2113 test -z "$as_dir" && as_dir=. 2114 for ac_exec_ext in '' $ac_executable_extensions; do 2115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2116 ac_cv_prog_ac_ct_CC="cc" 2117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2118 break 2 2119 fi 2120done 2121done 2122 2123fi 2124fi 2125ac_ct_CC=$ac_cv_prog_ac_ct_CC 2126if test -n "$ac_ct_CC"; then 2127 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2128echo "${ECHO_T}$ac_ct_CC" >&6 2129else 2130 echo "$as_me:$LINENO: result: no" >&5 2131echo "${ECHO_T}no" >&6 2132fi 2133 2134 CC=$ac_ct_CC 2135else 2136 CC="$ac_cv_prog_CC" 2137fi 2138 2139fi 2140if test -z "$CC"; then 2141 # Extract the first word of "cc", so it can be a program name with args. 2142set dummy cc; ac_word=$2 2143echo "$as_me:$LINENO: checking for $ac_word" >&5 2144echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2145if test "${ac_cv_prog_CC+set}" = set; then 2146 echo $ECHO_N "(cached) $ECHO_C" >&6 2147else 2148 if test -n "$CC"; then 2149 ac_cv_prog_CC="$CC" # Let the user override the test. 2150else 2151 ac_prog_rejected=no 2152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2153for as_dir in $PATH 2154do 2155 IFS=$as_save_IFS 2156 test -z "$as_dir" && as_dir=. 2157 for ac_exec_ext in '' $ac_executable_extensions; do 2158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2159 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2160 ac_prog_rejected=yes 2161 continue 2162 fi 2163 ac_cv_prog_CC="cc" 2164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2165 break 2 2166 fi 2167done 2168done 2169 2170if test $ac_prog_rejected = yes; then 2171 # We found a bogon in the path, so make sure we never use it. 2172 set dummy $ac_cv_prog_CC 2173 shift 2174 if test $@%:@ != 0; then 2175 # We chose a different compiler from the bogus one. 2176 # However, it has the same basename, so the bogon will be chosen 2177 # first if we set CC to just the basename; use the full file name. 2178 shift 2179 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2180 fi 2181fi 2182fi 2183fi 2184CC=$ac_cv_prog_CC 2185if test -n "$CC"; then 2186 echo "$as_me:$LINENO: result: $CC" >&5 2187echo "${ECHO_T}$CC" >&6 2188else 2189 echo "$as_me:$LINENO: result: no" >&5 2190echo "${ECHO_T}no" >&6 2191fi 2192 2193fi 2194if test -z "$CC"; then 2195 if test -n "$ac_tool_prefix"; then 2196 for ac_prog in cl 2197 do 2198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2199set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2200echo "$as_me:$LINENO: checking for $ac_word" >&5 2201echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2202if test "${ac_cv_prog_CC+set}" = set; then 2203 echo $ECHO_N "(cached) $ECHO_C" >&6 2204else 2205 if test -n "$CC"; then 2206 ac_cv_prog_CC="$CC" # Let the user override the test. 2207else 2208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2209for as_dir in $PATH 2210do 2211 IFS=$as_save_IFS 2212 test -z "$as_dir" && as_dir=. 2213 for ac_exec_ext in '' $ac_executable_extensions; do 2214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2215 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2217 break 2 2218 fi 2219done 2220done 2221 2222fi 2223fi 2224CC=$ac_cv_prog_CC 2225if test -n "$CC"; then 2226 echo "$as_me:$LINENO: result: $CC" >&5 2227echo "${ECHO_T}$CC" >&6 2228else 2229 echo "$as_me:$LINENO: result: no" >&5 2230echo "${ECHO_T}no" >&6 2231fi 2232 2233 test -n "$CC" && break 2234 done 2235fi 2236if test -z "$CC"; then 2237 ac_ct_CC=$CC 2238 for ac_prog in cl 2239do 2240 # Extract the first word of "$ac_prog", so it can be a program name with args. 2241set dummy $ac_prog; ac_word=$2 2242echo "$as_me:$LINENO: checking for $ac_word" >&5 2243echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2244if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2245 echo $ECHO_N "(cached) $ECHO_C" >&6 2246else 2247 if test -n "$ac_ct_CC"; then 2248 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2249else 2250as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2251for as_dir in $PATH 2252do 2253 IFS=$as_save_IFS 2254 test -z "$as_dir" && as_dir=. 2255 for ac_exec_ext in '' $ac_executable_extensions; do 2256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2257 ac_cv_prog_ac_ct_CC="$ac_prog" 2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2259 break 2 2260 fi 2261done 2262done 2263 2264fi 2265fi 2266ac_ct_CC=$ac_cv_prog_ac_ct_CC 2267if test -n "$ac_ct_CC"; then 2268 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2269echo "${ECHO_T}$ac_ct_CC" >&6 2270else 2271 echo "$as_me:$LINENO: result: no" >&5 2272echo "${ECHO_T}no" >&6 2273fi 2274 2275 test -n "$ac_ct_CC" && break 2276done 2277 2278 CC=$ac_ct_CC 2279fi 2280 2281fi 2282 2283 2284test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2285See \`config.log' for more details." >&5 2286echo "$as_me: error: no acceptable C compiler found in \$PATH 2287See \`config.log' for more details." >&2;} 2288 { (exit 1); exit 1; }; } 2289 2290# Provide some information about the compiler. 2291echo "$as_me:$LINENO:" \ 2292 "checking for C compiler version" >&5 2293ac_compiler=`set X $ac_compile; echo $2` 2294{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2295 (eval $ac_compiler --version </dev/null >&5) 2>&5 2296 ac_status=$? 2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2298 (exit $ac_status); } 2299{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2300 (eval $ac_compiler -v </dev/null >&5) 2>&5 2301 ac_status=$? 2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2303 (exit $ac_status); } 2304{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2305 (eval $ac_compiler -V </dev/null >&5) 2>&5 2306 ac_status=$? 2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 (exit $ac_status); } 2309 2310echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2311echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2312if test "${ac_cv_c_compiler_gnu+set}" = set; then 2313 echo $ECHO_N "(cached) $ECHO_C" >&6 2314else 2315 cat >conftest.$ac_ext <<_ACEOF 2316/* confdefs.h. */ 2317_ACEOF 2318cat confdefs.h >>conftest.$ac_ext 2319cat >>conftest.$ac_ext <<_ACEOF 2320/* end confdefs.h. */ 2321 2322int 2323main () 2324{ 2325#ifndef __GNUC__ 2326 choke me 2327#endif 2328 2329 ; 2330 return 0; 2331} 2332_ACEOF 2333rm -f conftest.$ac_objext 2334if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2335 (eval $ac_compile) 2>conftest.er1 2336 ac_status=$? 2337 grep -v '^ *+' conftest.er1 >conftest.err 2338 rm -f conftest.er1 2339 cat conftest.err >&5 2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2341 (exit $ac_status); } && 2342 { ac_try='test -z "$ac_c_werror_flag" 2343 || test ! -s conftest.err' 2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2345 (eval $ac_try) 2>&5 2346 ac_status=$? 2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2348 (exit $ac_status); }; } && 2349 { ac_try='test -s conftest.$ac_objext' 2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2351 (eval $ac_try) 2>&5 2352 ac_status=$? 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2354 (exit $ac_status); }; }; then 2355 ac_compiler_gnu=yes 2356else 2357 echo "$as_me: failed program was:" >&5 2358sed 's/^/| /' conftest.$ac_ext >&5 2359 2360ac_compiler_gnu=no 2361fi 2362rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2363ac_cv_c_compiler_gnu=$ac_compiler_gnu 2364 2365fi 2366echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2367echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2368GCC=`test $ac_compiler_gnu = yes && echo yes` 2369ac_test_CFLAGS=${CFLAGS+set} 2370ac_save_CFLAGS=$CFLAGS 2371CFLAGS="-g" 2372echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2373echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2374if test "${ac_cv_prog_cc_g+set}" = set; then 2375 echo $ECHO_N "(cached) $ECHO_C" >&6 2376else 2377 cat >conftest.$ac_ext <<_ACEOF 2378/* confdefs.h. */ 2379_ACEOF 2380cat confdefs.h >>conftest.$ac_ext 2381cat >>conftest.$ac_ext <<_ACEOF 2382/* end confdefs.h. */ 2383 2384int 2385main () 2386{ 2387 2388 ; 2389 return 0; 2390} 2391_ACEOF 2392rm -f conftest.$ac_objext 2393if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2394 (eval $ac_compile) 2>conftest.er1 2395 ac_status=$? 2396 grep -v '^ *+' conftest.er1 >conftest.err 2397 rm -f conftest.er1 2398 cat conftest.err >&5 2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2400 (exit $ac_status); } && 2401 { ac_try='test -z "$ac_c_werror_flag" 2402 || test ! -s conftest.err' 2403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2404 (eval $ac_try) 2>&5 2405 ac_status=$? 2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2407 (exit $ac_status); }; } && 2408 { ac_try='test -s conftest.$ac_objext' 2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2410 (eval $ac_try) 2>&5 2411 ac_status=$? 2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2413 (exit $ac_status); }; }; then 2414 ac_cv_prog_cc_g=yes 2415else 2416 echo "$as_me: failed program was:" >&5 2417sed 's/^/| /' conftest.$ac_ext >&5 2418 2419ac_cv_prog_cc_g=no 2420fi 2421rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2422fi 2423echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2424echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2425if test "$ac_test_CFLAGS" = set; then 2426 CFLAGS=$ac_save_CFLAGS 2427elif test $ac_cv_prog_cc_g = yes; then 2428 if test "$GCC" = yes; then 2429 CFLAGS="-g -O2" 2430 else 2431 CFLAGS="-g" 2432 fi 2433else 2434 if test "$GCC" = yes; then 2435 CFLAGS="-O2" 2436 else 2437 CFLAGS= 2438 fi 2439fi 2440echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2441echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2442if test "${ac_cv_prog_cc_stdc+set}" = set; then 2443 echo $ECHO_N "(cached) $ECHO_C" >&6 2444else 2445 ac_cv_prog_cc_stdc=no 2446ac_save_CC=$CC 2447cat >conftest.$ac_ext <<_ACEOF 2448/* confdefs.h. */ 2449_ACEOF 2450cat confdefs.h >>conftest.$ac_ext 2451cat >>conftest.$ac_ext <<_ACEOF 2452/* end confdefs.h. */ 2453#include <stdarg.h> 2454#include <stdio.h> 2455#include <sys/types.h> 2456#include <sys/stat.h> 2457/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2458struct buf { int x; }; 2459FILE * (*rcsopen) (struct buf *, struct stat *, int); 2460static char *e (p, i) 2461 char **p; 2462 int i; 2463{ 2464 return p[i]; 2465} 2466static char *f (char * (*g) (char **, int), char **p, ...) 2467{ 2468 char *s; 2469 va_list v; 2470 va_start (v,p); 2471 s = g (p, va_arg (v,int)); 2472 va_end (v); 2473 return s; 2474} 2475 2476/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2477 function prototypes and stuff, but not '\xHH' hex character constants. 2478 These don't provoke an error unfortunately, instead are silently treated 2479 as 'x'. The following induces an error, until -std1 is added to get 2480 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2481 array size at least. It's necessary to write '\x00'==0 to get something 2482 that's true only with -std1. */ 2483int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2484 2485int test (int i, double x); 2486struct s1 {int (*f) (int a);}; 2487struct s2 {int (*f) (double a);}; 2488int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2489int argc; 2490char **argv; 2491int 2492main () 2493{ 2494return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2495 ; 2496 return 0; 2497} 2498_ACEOF 2499# Don't try gcc -ansi; that turns off useful extensions and 2500# breaks some systems' header files. 2501# AIX -qlanglvl=ansi 2502# Ultrix and OSF/1 -std1 2503# HP-UX 10.20 and later -Ae 2504# HP-UX older versions -Aa -D_HPUX_SOURCE 2505# SVR4 -Xc -D__EXTENSIONS__ 2506for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2507do 2508 CC="$ac_save_CC $ac_arg" 2509 rm -f conftest.$ac_objext 2510if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2511 (eval $ac_compile) 2>conftest.er1 2512 ac_status=$? 2513 grep -v '^ *+' conftest.er1 >conftest.err 2514 rm -f conftest.er1 2515 cat conftest.err >&5 2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2517 (exit $ac_status); } && 2518 { ac_try='test -z "$ac_c_werror_flag" 2519 || test ! -s conftest.err' 2520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2521 (eval $ac_try) 2>&5 2522 ac_status=$? 2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2524 (exit $ac_status); }; } && 2525 { ac_try='test -s conftest.$ac_objext' 2526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2527 (eval $ac_try) 2>&5 2528 ac_status=$? 2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2530 (exit $ac_status); }; }; then 2531 ac_cv_prog_cc_stdc=$ac_arg 2532break 2533else 2534 echo "$as_me: failed program was:" >&5 2535sed 's/^/| /' conftest.$ac_ext >&5 2536 2537fi 2538rm -f conftest.err conftest.$ac_objext 2539done 2540rm -f conftest.$ac_ext conftest.$ac_objext 2541CC=$ac_save_CC 2542 2543fi 2544 2545case "x$ac_cv_prog_cc_stdc" in 2546 x|xno) 2547 echo "$as_me:$LINENO: result: none needed" >&5 2548echo "${ECHO_T}none needed" >&6 ;; 2549 *) 2550 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2551echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2552 CC="$CC $ac_cv_prog_cc_stdc" ;; 2553esac 2554 2555# Some people use a C++ compiler to compile C. Since we use `exit', 2556# in C++ we need to declare it. In case someone uses the same compiler 2557# for both compiling C and C++ we need to have the C++ compiler decide 2558# the declaration of exit, since it's the most demanding environment. 2559cat >conftest.$ac_ext <<_ACEOF 2560@%:@ifndef __cplusplus 2561 choke me 2562@%:@endif 2563_ACEOF 2564rm -f conftest.$ac_objext 2565if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2566 (eval $ac_compile) 2>conftest.er1 2567 ac_status=$? 2568 grep -v '^ *+' conftest.er1 >conftest.err 2569 rm -f conftest.er1 2570 cat conftest.err >&5 2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2572 (exit $ac_status); } && 2573 { ac_try='test -z "$ac_c_werror_flag" 2574 || test ! -s conftest.err' 2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2576 (eval $ac_try) 2>&5 2577 ac_status=$? 2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2579 (exit $ac_status); }; } && 2580 { ac_try='test -s conftest.$ac_objext' 2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2582 (eval $ac_try) 2>&5 2583 ac_status=$? 2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2585 (exit $ac_status); }; }; then 2586 for ac_declaration in \ 2587 '' \ 2588 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2589 'extern "C" void std::exit (int); using std::exit;' \ 2590 'extern "C" void exit (int) throw ();' \ 2591 'extern "C" void exit (int);' \ 2592 'void exit (int);' 2593do 2594 cat >conftest.$ac_ext <<_ACEOF 2595/* confdefs.h. */ 2596_ACEOF 2597cat confdefs.h >>conftest.$ac_ext 2598cat >>conftest.$ac_ext <<_ACEOF 2599/* end confdefs.h. */ 2600$ac_declaration 2601@%:@include <stdlib.h> 2602int 2603main () 2604{ 2605exit (42); 2606 ; 2607 return 0; 2608} 2609_ACEOF 2610rm -f conftest.$ac_objext 2611if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2612 (eval $ac_compile) 2>conftest.er1 2613 ac_status=$? 2614 grep -v '^ *+' conftest.er1 >conftest.err 2615 rm -f conftest.er1 2616 cat conftest.err >&5 2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2618 (exit $ac_status); } && 2619 { ac_try='test -z "$ac_c_werror_flag" 2620 || test ! -s conftest.err' 2621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2622 (eval $ac_try) 2>&5 2623 ac_status=$? 2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2625 (exit $ac_status); }; } && 2626 { ac_try='test -s conftest.$ac_objext' 2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2628 (eval $ac_try) 2>&5 2629 ac_status=$? 2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2631 (exit $ac_status); }; }; then 2632 : 2633else 2634 echo "$as_me: failed program was:" >&5 2635sed 's/^/| /' conftest.$ac_ext >&5 2636 2637continue 2638fi 2639rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2640 cat >conftest.$ac_ext <<_ACEOF 2641/* confdefs.h. */ 2642_ACEOF 2643cat confdefs.h >>conftest.$ac_ext 2644cat >>conftest.$ac_ext <<_ACEOF 2645/* end confdefs.h. */ 2646$ac_declaration 2647int 2648main () 2649{ 2650exit (42); 2651 ; 2652 return 0; 2653} 2654_ACEOF 2655rm -f conftest.$ac_objext 2656if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2657 (eval $ac_compile) 2>conftest.er1 2658 ac_status=$? 2659 grep -v '^ *+' conftest.er1 >conftest.err 2660 rm -f conftest.er1 2661 cat conftest.err >&5 2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2663 (exit $ac_status); } && 2664 { ac_try='test -z "$ac_c_werror_flag" 2665 || test ! -s conftest.err' 2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2667 (eval $ac_try) 2>&5 2668 ac_status=$? 2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2670 (exit $ac_status); }; } && 2671 { ac_try='test -s conftest.$ac_objext' 2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2673 (eval $ac_try) 2>&5 2674 ac_status=$? 2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 (exit $ac_status); }; }; then 2677 break 2678else 2679 echo "$as_me: failed program was:" >&5 2680sed 's/^/| /' conftest.$ac_ext >&5 2681 2682fi 2683rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2684done 2685rm -f conftest* 2686if test -n "$ac_declaration"; then 2687 echo '#ifdef __cplusplus' >>confdefs.h 2688 echo $ac_declaration >>confdefs.h 2689 echo '#endif' >>confdefs.h 2690fi 2691 2692else 2693 echo "$as_me: failed program was:" >&5 2694sed 's/^/| /' conftest.$ac_ext >&5 2695 2696fi 2697rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2698ac_ext=c 2699ac_cpp='$CPP $CPPFLAGS' 2700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2702ac_compiler_gnu=$ac_cv_c_compiler_gnu 2703 2704ac_ext=c 2705ac_cpp='$CPP $CPPFLAGS' 2706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2708ac_compiler_gnu=$ac_cv_c_compiler_gnu 2709echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2710echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2711# On Suns, sometimes $CPP names a directory. 2712if test -n "$CPP" && test -d "$CPP"; then 2713 CPP= 2714fi 2715if test -z "$CPP"; then 2716 if test "${ac_cv_prog_CPP+set}" = set; then 2717 echo $ECHO_N "(cached) $ECHO_C" >&6 2718else 2719 # Double quotes because CPP needs to be expanded 2720 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2721 do 2722 ac_preproc_ok=false 2723for ac_c_preproc_warn_flag in '' yes 2724do 2725 # Use a header file that comes with gcc, so configuring glibc 2726 # with a fresh cross-compiler works. 2727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2728 # <limits.h> exists even on freestanding compilers. 2729 # On the NeXT, cc -E runs the code through the compiler's parser, 2730 # not just through cpp. "Syntax error" is here to catch this case. 2731 cat >conftest.$ac_ext <<_ACEOF 2732/* confdefs.h. */ 2733_ACEOF 2734cat confdefs.h >>conftest.$ac_ext 2735cat >>conftest.$ac_ext <<_ACEOF 2736/* end confdefs.h. */ 2737@%:@ifdef __STDC__ 2738@%:@ include <limits.h> 2739@%:@else 2740@%:@ include <assert.h> 2741@%:@endif 2742 Syntax error 2743_ACEOF 2744if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2745 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2746 ac_status=$? 2747 grep -v '^ *+' conftest.er1 >conftest.err 2748 rm -f conftest.er1 2749 cat conftest.err >&5 2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2751 (exit $ac_status); } >/dev/null; then 2752 if test -s conftest.err; then 2753 ac_cpp_err=$ac_c_preproc_warn_flag 2754 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2755 else 2756 ac_cpp_err= 2757 fi 2758else 2759 ac_cpp_err=yes 2760fi 2761if test -z "$ac_cpp_err"; then 2762 : 2763else 2764 echo "$as_me: failed program was:" >&5 2765sed 's/^/| /' conftest.$ac_ext >&5 2766 2767 # Broken: fails on valid input. 2768continue 2769fi 2770rm -f conftest.err conftest.$ac_ext 2771 2772 # OK, works on sane cases. Now check whether non-existent headers 2773 # can be detected and how. 2774 cat >conftest.$ac_ext <<_ACEOF 2775/* confdefs.h. */ 2776_ACEOF 2777cat confdefs.h >>conftest.$ac_ext 2778cat >>conftest.$ac_ext <<_ACEOF 2779/* end confdefs.h. */ 2780@%:@include <ac_nonexistent.h> 2781_ACEOF 2782if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2783 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2784 ac_status=$? 2785 grep -v '^ *+' conftest.er1 >conftest.err 2786 rm -f conftest.er1 2787 cat conftest.err >&5 2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2789 (exit $ac_status); } >/dev/null; then 2790 if test -s conftest.err; then 2791 ac_cpp_err=$ac_c_preproc_warn_flag 2792 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2793 else 2794 ac_cpp_err= 2795 fi 2796else 2797 ac_cpp_err=yes 2798fi 2799if test -z "$ac_cpp_err"; then 2800 # Broken: success on invalid input. 2801continue 2802else 2803 echo "$as_me: failed program was:" >&5 2804sed 's/^/| /' conftest.$ac_ext >&5 2805 2806 # Passes both tests. 2807ac_preproc_ok=: 2808break 2809fi 2810rm -f conftest.err conftest.$ac_ext 2811 2812done 2813# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2814rm -f conftest.err conftest.$ac_ext 2815if $ac_preproc_ok; then 2816 break 2817fi 2818 2819 done 2820 ac_cv_prog_CPP=$CPP 2821 2822fi 2823 CPP=$ac_cv_prog_CPP 2824else 2825 ac_cv_prog_CPP=$CPP 2826fi 2827echo "$as_me:$LINENO: result: $CPP" >&5 2828echo "${ECHO_T}$CPP" >&6 2829ac_preproc_ok=false 2830for ac_c_preproc_warn_flag in '' yes 2831do 2832 # Use a header file that comes with gcc, so configuring glibc 2833 # with a fresh cross-compiler works. 2834 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2835 # <limits.h> exists even on freestanding compilers. 2836 # On the NeXT, cc -E runs the code through the compiler's parser, 2837 # not just through cpp. "Syntax error" is here to catch this case. 2838 cat >conftest.$ac_ext <<_ACEOF 2839/* confdefs.h. */ 2840_ACEOF 2841cat confdefs.h >>conftest.$ac_ext 2842cat >>conftest.$ac_ext <<_ACEOF 2843/* end confdefs.h. */ 2844@%:@ifdef __STDC__ 2845@%:@ include <limits.h> 2846@%:@else 2847@%:@ include <assert.h> 2848@%:@endif 2849 Syntax error 2850_ACEOF 2851if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2853 ac_status=$? 2854 grep -v '^ *+' conftest.er1 >conftest.err 2855 rm -f conftest.er1 2856 cat conftest.err >&5 2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2858 (exit $ac_status); } >/dev/null; then 2859 if test -s conftest.err; then 2860 ac_cpp_err=$ac_c_preproc_warn_flag 2861 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2862 else 2863 ac_cpp_err= 2864 fi 2865else 2866 ac_cpp_err=yes 2867fi 2868if test -z "$ac_cpp_err"; then 2869 : 2870else 2871 echo "$as_me: failed program was:" >&5 2872sed 's/^/| /' conftest.$ac_ext >&5 2873 2874 # Broken: fails on valid input. 2875continue 2876fi 2877rm -f conftest.err conftest.$ac_ext 2878 2879 # OK, works on sane cases. Now check whether non-existent headers 2880 # can be detected and how. 2881 cat >conftest.$ac_ext <<_ACEOF 2882/* confdefs.h. */ 2883_ACEOF 2884cat confdefs.h >>conftest.$ac_ext 2885cat >>conftest.$ac_ext <<_ACEOF 2886/* end confdefs.h. */ 2887@%:@include <ac_nonexistent.h> 2888_ACEOF 2889if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2891 ac_status=$? 2892 grep -v '^ *+' conftest.er1 >conftest.err 2893 rm -f conftest.er1 2894 cat conftest.err >&5 2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2896 (exit $ac_status); } >/dev/null; then 2897 if test -s conftest.err; then 2898 ac_cpp_err=$ac_c_preproc_warn_flag 2899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2900 else 2901 ac_cpp_err= 2902 fi 2903else 2904 ac_cpp_err=yes 2905fi 2906if test -z "$ac_cpp_err"; then 2907 # Broken: success on invalid input. 2908continue 2909else 2910 echo "$as_me: failed program was:" >&5 2911sed 's/^/| /' conftest.$ac_ext >&5 2912 2913 # Passes both tests. 2914ac_preproc_ok=: 2915break 2916fi 2917rm -f conftest.err conftest.$ac_ext 2918 2919done 2920# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2921rm -f conftest.err conftest.$ac_ext 2922if $ac_preproc_ok; then 2923 : 2924else 2925 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2926See \`config.log' for more details." >&5 2927echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2928See \`config.log' for more details." >&2;} 2929 { (exit 1); exit 1; }; } 2930fi 2931 2932ac_ext=c 2933ac_cpp='$CPP $CPPFLAGS' 2934ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2935ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2936ac_compiler_gnu=$ac_cv_c_compiler_gnu 2937 2938ac_ext=cc 2939ac_cpp='$CXXCPP $CPPFLAGS' 2940ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2941ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2942ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2943 2944 2945echo "$as_me:$LINENO: checking os type" >&5 2946echo $ECHO_N "checking os type... $ECHO_C" >&6 2947case "$host" in 2948 *linux*) cat >>confdefs.h <<\_ACEOF 2949@%:@define HAVE_LINUX 1 2950_ACEOF 2951 2952 echo "$as_me:$LINENO: result: Linux" >&5 2953echo "${ECHO_T}Linux" >&6 2954 ;; 2955 *freebsd*) cat >>confdefs.h <<\_ACEOF 2956@%:@define HAVE_UNIX 1 2957_ACEOF 2958 2959 echo "$as_me:$LINENO: result: FreeBSD" >&5 2960echo "${ECHO_T}FreeBSD" >&6 2961 ;; 2962 *netbsd*) cat >>confdefs.h <<\_ACEOF 2963@%:@define HAVE_UNIX 1 2964_ACEOF 2965 2966 echo "$as_me:$LINENO: result: NetBSD" >&5 2967echo "${ECHO_T}NetBSD" >&6 2968 ;; 2969 *hpux*) cat >>confdefs.h <<\_ACEOF 2970@%:@define HAVE_UNIX 1 2971_ACEOF 2972 2973 echo "$as_me:$LINENO: result: HP-UX" >&5 2974echo "${ECHO_T}HP-UX" >&6 2975 ;; 2976 *sgi*) cat >>confdefs.h <<\_ACEOF 2977@%:@define HAVE_UNIX 1 2978_ACEOF 2979 2980 echo "$as_me:$LINENO: result: SGI" >&5 2981echo "${ECHO_T}SGI" >&6 2982 ;; 2983 *solaris*) cat >>confdefs.h <<\_ACEOF 2984@%:@define HAVE_UNIX 1 2985_ACEOF 2986 2987 echo "$as_me:$LINENO: result: Solaris" >&5 2988echo "${ECHO_T}Solaris" >&6 2989 ;; 2990 *sunos*) cat >>confdefs.h <<\_ACEOF 2991@%:@define HAVE_UNIX 1 2992_ACEOF 2993 2994 echo "$as_me:$LINENO: result: SunOS" >&5 2995echo "${ECHO_T}SunOS" >&6 2996 ;; 2997esac 2998 2999 3000echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 3001echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 3002if test "${ac_cv_c_bigendian+set}" = set; then 3003 echo $ECHO_N "(cached) $ECHO_C" >&6 3004else 3005 # See if sys/param.h defines the BYTE_ORDER macro. 3006cat >conftest.$ac_ext <<_ACEOF 3007/* confdefs.h. */ 3008_ACEOF 3009cat confdefs.h >>conftest.$ac_ext 3010cat >>conftest.$ac_ext <<_ACEOF 3011/* end confdefs.h. */ 3012#include <sys/types.h> 3013#include <sys/param.h> 3014 3015int 3016main () 3017{ 3018#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 3019 bogus endian macros 3020#endif 3021 3022 ; 3023 return 0; 3024} 3025_ACEOF 3026rm -f conftest.$ac_objext 3027if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3028 (eval $ac_compile) 2>conftest.er1 3029 ac_status=$? 3030 grep -v '^ *+' conftest.er1 >conftest.err 3031 rm -f conftest.er1 3032 cat conftest.err >&5 3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3034 (exit $ac_status); } && 3035 { ac_try='test -z "$ac_cxx_werror_flag" 3036 || test ! -s conftest.err' 3037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3038 (eval $ac_try) 2>&5 3039 ac_status=$? 3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3041 (exit $ac_status); }; } && 3042 { ac_try='test -s conftest.$ac_objext' 3043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3044 (eval $ac_try) 2>&5 3045 ac_status=$? 3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3047 (exit $ac_status); }; }; then 3048 # It does; now see whether it defined to BIG_ENDIAN or not. 3049cat >conftest.$ac_ext <<_ACEOF 3050/* confdefs.h. */ 3051_ACEOF 3052cat confdefs.h >>conftest.$ac_ext 3053cat >>conftest.$ac_ext <<_ACEOF 3054/* end confdefs.h. */ 3055#include <sys/types.h> 3056#include <sys/param.h> 3057 3058int 3059main () 3060{ 3061#if BYTE_ORDER != BIG_ENDIAN 3062 not big endian 3063#endif 3064 3065 ; 3066 return 0; 3067} 3068_ACEOF 3069rm -f conftest.$ac_objext 3070if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3071 (eval $ac_compile) 2>conftest.er1 3072 ac_status=$? 3073 grep -v '^ *+' conftest.er1 >conftest.err 3074 rm -f conftest.er1 3075 cat conftest.err >&5 3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3077 (exit $ac_status); } && 3078 { ac_try='test -z "$ac_cxx_werror_flag" 3079 || test ! -s conftest.err' 3080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3081 (eval $ac_try) 2>&5 3082 ac_status=$? 3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3084 (exit $ac_status); }; } && 3085 { ac_try='test -s conftest.$ac_objext' 3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3087 (eval $ac_try) 2>&5 3088 ac_status=$? 3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3090 (exit $ac_status); }; }; then 3091 ac_cv_c_bigendian=yes 3092else 3093 echo "$as_me: failed program was:" >&5 3094sed 's/^/| /' conftest.$ac_ext >&5 3095 3096ac_cv_c_bigendian=no 3097fi 3098rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3099else 3100 echo "$as_me: failed program was:" >&5 3101sed 's/^/| /' conftest.$ac_ext >&5 3102 3103# It does not; compile a test program. 3104if test "$cross_compiling" = yes; then 3105 # try to guess the endianness by grepping values into an object file 3106 ac_cv_c_bigendian=unknown 3107 cat >conftest.$ac_ext <<_ACEOF 3108/* confdefs.h. */ 3109_ACEOF 3110cat confdefs.h >>conftest.$ac_ext 3111cat >>conftest.$ac_ext <<_ACEOF 3112/* end confdefs.h. */ 3113short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 3114short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 3115void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 3116short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 3117short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 3118void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 3119int 3120main () 3121{ 3122 _ascii (); _ebcdic (); 3123 ; 3124 return 0; 3125} 3126_ACEOF 3127rm -f conftest.$ac_objext 3128if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3129 (eval $ac_compile) 2>conftest.er1 3130 ac_status=$? 3131 grep -v '^ *+' conftest.er1 >conftest.err 3132 rm -f conftest.er1 3133 cat conftest.err >&5 3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3135 (exit $ac_status); } && 3136 { ac_try='test -z "$ac_cxx_werror_flag" 3137 || test ! -s conftest.err' 3138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3139 (eval $ac_try) 2>&5 3140 ac_status=$? 3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3142 (exit $ac_status); }; } && 3143 { ac_try='test -s conftest.$ac_objext' 3144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3145 (eval $ac_try) 2>&5 3146 ac_status=$? 3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3148 (exit $ac_status); }; }; then 3149 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 3150 ac_cv_c_bigendian=yes 3151fi 3152if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 3153 if test "$ac_cv_c_bigendian" = unknown; then 3154 ac_cv_c_bigendian=no 3155 else 3156 # finding both strings is unlikely to happen, but who knows? 3157 ac_cv_c_bigendian=unknown 3158 fi 3159fi 3160else 3161 echo "$as_me: failed program was:" >&5 3162sed 's/^/| /' conftest.$ac_ext >&5 3163 3164fi 3165rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3166else 3167 cat >conftest.$ac_ext <<_ACEOF 3168/* confdefs.h. */ 3169_ACEOF 3170cat confdefs.h >>conftest.$ac_ext 3171cat >>conftest.$ac_ext <<_ACEOF 3172/* end confdefs.h. */ 3173int 3174main () 3175{ 3176 /* Are we little or big endian? From Harbison&Steele. */ 3177 union 3178 { 3179 long l; 3180 char c[sizeof (long)]; 3181 } u; 3182 u.l = 1; 3183 exit (u.c[sizeof (long) - 1] == 1); 3184} 3185_ACEOF 3186rm -f conftest$ac_exeext 3187if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3188 (eval $ac_link) 2>&5 3189 ac_status=$? 3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3191 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3193 (eval $ac_try) 2>&5 3194 ac_status=$? 3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3196 (exit $ac_status); }; }; then 3197 ac_cv_c_bigendian=no 3198else 3199 echo "$as_me: program exited with status $ac_status" >&5 3200echo "$as_me: failed program was:" >&5 3201sed 's/^/| /' conftest.$ac_ext >&5 3202 3203( exit $ac_status ) 3204ac_cv_c_bigendian=yes 3205fi 3206rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3207fi 3208fi 3209rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3210fi 3211echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 3212echo "${ECHO_T}$ac_cv_c_bigendian" >&6 3213case $ac_cv_c_bigendian in 3214 yes) 3215 3216cat >>confdefs.h <<\_ACEOF 3217@%:@define WORDS_BIGENDIAN 1 3218_ACEOF 3219 ;; 3220 no) 3221 ;; 3222 *) 3223 { { echo "$as_me:$LINENO: error: unknown endianness 3224presetting ac_cv_c_bigendian=no (or yes) will help" >&5 3225echo "$as_me: error: unknown endianness 3226presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 3227 { (exit 1); exit 1; }; } ;; 3228esac 3229 3230ac_ext=cc 3231ac_cpp='$CXXCPP $CPPFLAGS' 3232ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3233ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3234ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3235echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 3236echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 3237if test -z "$CXXCPP"; then 3238 if test "${ac_cv_prog_CXXCPP+set}" = set; then 3239 echo $ECHO_N "(cached) $ECHO_C" >&6 3240else 3241 # Double quotes because CXXCPP needs to be expanded 3242 for CXXCPP in "$CXX -E" "/lib/cpp" 3243 do 3244 ac_preproc_ok=false 3245for ac_cxx_preproc_warn_flag in '' yes 3246do 3247 # Use a header file that comes with gcc, so configuring glibc 3248 # with a fresh cross-compiler works. 3249 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3250 # <limits.h> exists even on freestanding compilers. 3251 # On the NeXT, cc -E runs the code through the compiler's parser, 3252 # not just through cpp. "Syntax error" is here to catch this case. 3253 cat >conftest.$ac_ext <<_ACEOF 3254/* confdefs.h. */ 3255_ACEOF 3256cat confdefs.h >>conftest.$ac_ext 3257cat >>conftest.$ac_ext <<_ACEOF 3258/* end confdefs.h. */ 3259@%:@ifdef __STDC__ 3260@%:@ include <limits.h> 3261@%:@else 3262@%:@ include <assert.h> 3263@%:@endif 3264 Syntax error 3265_ACEOF 3266if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3268 ac_status=$? 3269 grep -v '^ *+' conftest.er1 >conftest.err 3270 rm -f conftest.er1 3271 cat conftest.err >&5 3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3273 (exit $ac_status); } >/dev/null; then 3274 if test -s conftest.err; then 3275 ac_cpp_err=$ac_cxx_preproc_warn_flag 3276 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 3277 else 3278 ac_cpp_err= 3279 fi 3280else 3281 ac_cpp_err=yes 3282fi 3283if test -z "$ac_cpp_err"; then 3284 : 3285else 3286 echo "$as_me: failed program was:" >&5 3287sed 's/^/| /' conftest.$ac_ext >&5 3288 3289 # Broken: fails on valid input. 3290continue 3291fi 3292rm -f conftest.err conftest.$ac_ext 3293 3294 # OK, works on sane cases. Now check whether non-existent headers 3295 # can be detected and how. 3296 cat >conftest.$ac_ext <<_ACEOF 3297/* confdefs.h. */ 3298_ACEOF 3299cat confdefs.h >>conftest.$ac_ext 3300cat >>conftest.$ac_ext <<_ACEOF 3301/* end confdefs.h. */ 3302@%:@include <ac_nonexistent.h> 3303_ACEOF 3304if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3306 ac_status=$? 3307 grep -v '^ *+' conftest.er1 >conftest.err 3308 rm -f conftest.er1 3309 cat conftest.err >&5 3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3311 (exit $ac_status); } >/dev/null; then 3312 if test -s conftest.err; then 3313 ac_cpp_err=$ac_cxx_preproc_warn_flag 3314 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 3315 else 3316 ac_cpp_err= 3317 fi 3318else 3319 ac_cpp_err=yes 3320fi 3321if test -z "$ac_cpp_err"; then 3322 # Broken: success on invalid input. 3323continue 3324else 3325 echo "$as_me: failed program was:" >&5 3326sed 's/^/| /' conftest.$ac_ext >&5 3327 3328 # Passes both tests. 3329ac_preproc_ok=: 3330break 3331fi 3332rm -f conftest.err conftest.$ac_ext 3333 3334done 3335# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3336rm -f conftest.err conftest.$ac_ext 3337if $ac_preproc_ok; then 3338 break 3339fi 3340 3341 done 3342 ac_cv_prog_CXXCPP=$CXXCPP 3343 3344fi 3345 CXXCPP=$ac_cv_prog_CXXCPP 3346else 3347 ac_cv_prog_CXXCPP=$CXXCPP 3348fi 3349echo "$as_me:$LINENO: result: $CXXCPP" >&5 3350echo "${ECHO_T}$CXXCPP" >&6 3351ac_preproc_ok=false 3352for ac_cxx_preproc_warn_flag in '' yes 3353do 3354 # Use a header file that comes with gcc, so configuring glibc 3355 # with a fresh cross-compiler works. 3356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3357 # <limits.h> exists even on freestanding compilers. 3358 # On the NeXT, cc -E runs the code through the compiler's parser, 3359 # not just through cpp. "Syntax error" is here to catch this case. 3360 cat >conftest.$ac_ext <<_ACEOF 3361/* confdefs.h. */ 3362_ACEOF 3363cat confdefs.h >>conftest.$ac_ext 3364cat >>conftest.$ac_ext <<_ACEOF 3365/* end confdefs.h. */ 3366@%:@ifdef __STDC__ 3367@%:@ include <limits.h> 3368@%:@else 3369@%:@ include <assert.h> 3370@%:@endif 3371 Syntax error 3372_ACEOF 3373if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3375 ac_status=$? 3376 grep -v '^ *+' conftest.er1 >conftest.err 3377 rm -f conftest.er1 3378 cat conftest.err >&5 3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3380 (exit $ac_status); } >/dev/null; then 3381 if test -s conftest.err; then 3382 ac_cpp_err=$ac_cxx_preproc_warn_flag 3383 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 3384 else 3385 ac_cpp_err= 3386 fi 3387else 3388 ac_cpp_err=yes 3389fi 3390if test -z "$ac_cpp_err"; then 3391 : 3392else 3393 echo "$as_me: failed program was:" >&5 3394sed 's/^/| /' conftest.$ac_ext >&5 3395 3396 # Broken: fails on valid input. 3397continue 3398fi 3399rm -f conftest.err conftest.$ac_ext 3400 3401 # OK, works on sane cases. Now check whether non-existent headers 3402 # can be detected and how. 3403 cat >conftest.$ac_ext <<_ACEOF 3404/* confdefs.h. */ 3405_ACEOF 3406cat confdefs.h >>conftest.$ac_ext 3407cat >>conftest.$ac_ext <<_ACEOF 3408/* end confdefs.h. */ 3409@%:@include <ac_nonexistent.h> 3410_ACEOF 3411if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3413 ac_status=$? 3414 grep -v '^ *+' conftest.er1 >conftest.err 3415 rm -f conftest.er1 3416 cat conftest.err >&5 3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3418 (exit $ac_status); } >/dev/null; then 3419 if test -s conftest.err; then 3420 ac_cpp_err=$ac_cxx_preproc_warn_flag 3421 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 3422 else 3423 ac_cpp_err= 3424 fi 3425else 3426 ac_cpp_err=yes 3427fi 3428if test -z "$ac_cpp_err"; then 3429 # Broken: success on invalid input. 3430continue 3431else 3432 echo "$as_me: failed program was:" >&5 3433sed 's/^/| /' conftest.$ac_ext >&5 3434 3435 # Passes both tests. 3436ac_preproc_ok=: 3437break 3438fi 3439rm -f conftest.err conftest.$ac_ext 3440 3441done 3442# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3443rm -f conftest.err conftest.$ac_ext 3444if $ac_preproc_ok; then 3445 : 3446else 3447 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 3448See \`config.log' for more details." >&5 3449echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 3450See \`config.log' for more details." >&2;} 3451 { (exit 1); exit 1; }; } 3452fi 3453 3454ac_ext=cc 3455ac_cpp='$CXXCPP $CPPFLAGS' 3456ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3457ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3458ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3459 3460 3461echo "$as_me:$LINENO: checking for egrep" >&5 3462echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3463if test "${ac_cv_prog_egrep+set}" = set; then 3464 echo $ECHO_N "(cached) $ECHO_C" >&6 3465else 3466 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3467 then ac_cv_prog_egrep='grep -E' 3468 else ac_cv_prog_egrep='egrep' 3469 fi 3470fi 3471echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3472echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3473 EGREP=$ac_cv_prog_egrep 3474 3475 3476echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3477echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3478if test "${ac_cv_header_stdc+set}" = set; then 3479 echo $ECHO_N "(cached) $ECHO_C" >&6 3480else 3481 cat >conftest.$ac_ext <<_ACEOF 3482/* confdefs.h. */ 3483_ACEOF 3484cat confdefs.h >>conftest.$ac_ext 3485cat >>conftest.$ac_ext <<_ACEOF 3486/* end confdefs.h. */ 3487#include <stdlib.h> 3488#include <stdarg.h> 3489#include <string.h> 3490#include <float.h> 3491 3492int 3493main () 3494{ 3495 3496 ; 3497 return 0; 3498} 3499_ACEOF 3500rm -f conftest.$ac_objext 3501if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3502 (eval $ac_compile) 2>conftest.er1 3503 ac_status=$? 3504 grep -v '^ *+' conftest.er1 >conftest.err 3505 rm -f conftest.er1 3506 cat conftest.err >&5 3507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3508 (exit $ac_status); } && 3509 { ac_try='test -z "$ac_cxx_werror_flag" 3510 || test ! -s conftest.err' 3511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3512 (eval $ac_try) 2>&5 3513 ac_status=$? 3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3515 (exit $ac_status); }; } && 3516 { ac_try='test -s conftest.$ac_objext' 3517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3518 (eval $ac_try) 2>&5 3519 ac_status=$? 3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3521 (exit $ac_status); }; }; then 3522 ac_cv_header_stdc=yes 3523else 3524 echo "$as_me: failed program was:" >&5 3525sed 's/^/| /' conftest.$ac_ext >&5 3526 3527ac_cv_header_stdc=no 3528fi 3529rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3530 3531if test $ac_cv_header_stdc = yes; then 3532 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3533 cat >conftest.$ac_ext <<_ACEOF 3534/* confdefs.h. */ 3535_ACEOF 3536cat confdefs.h >>conftest.$ac_ext 3537cat >>conftest.$ac_ext <<_ACEOF 3538/* end confdefs.h. */ 3539#include <string.h> 3540 3541_ACEOF 3542if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3543 $EGREP "memchr" >/dev/null 2>&1; then 3544 : 3545else 3546 ac_cv_header_stdc=no 3547fi 3548rm -f conftest* 3549 3550fi 3551 3552if test $ac_cv_header_stdc = yes; then 3553 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3554 cat >conftest.$ac_ext <<_ACEOF 3555/* confdefs.h. */ 3556_ACEOF 3557cat confdefs.h >>conftest.$ac_ext 3558cat >>conftest.$ac_ext <<_ACEOF 3559/* end confdefs.h. */ 3560#include <stdlib.h> 3561 3562_ACEOF 3563if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3564 $EGREP "free" >/dev/null 2>&1; then 3565 : 3566else 3567 ac_cv_header_stdc=no 3568fi 3569rm -f conftest* 3570 3571fi 3572 3573if test $ac_cv_header_stdc = yes; then 3574 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3575 if test "$cross_compiling" = yes; then 3576 : 3577else 3578 cat >conftest.$ac_ext <<_ACEOF 3579/* confdefs.h. */ 3580_ACEOF 3581cat confdefs.h >>conftest.$ac_ext 3582cat >>conftest.$ac_ext <<_ACEOF 3583/* end confdefs.h. */ 3584#include <ctype.h> 3585#if ((' ' & 0x0FF) == 0x020) 3586# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3587# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3588#else 3589# define ISLOWER(c) \ 3590 (('a' <= (c) && (c) <= 'i') \ 3591 || ('j' <= (c) && (c) <= 'r') \ 3592 || ('s' <= (c) && (c) <= 'z')) 3593# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3594#endif 3595 3596#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3597int 3598main () 3599{ 3600 int i; 3601 for (i = 0; i < 256; i++) 3602 if (XOR (islower (i), ISLOWER (i)) 3603 || toupper (i) != TOUPPER (i)) 3604 exit(2); 3605 exit (0); 3606} 3607_ACEOF 3608rm -f conftest$ac_exeext 3609if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3610 (eval $ac_link) 2>&5 3611 ac_status=$? 3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3615 (eval $ac_try) 2>&5 3616 ac_status=$? 3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3618 (exit $ac_status); }; }; then 3619 : 3620else 3621 echo "$as_me: program exited with status $ac_status" >&5 3622echo "$as_me: failed program was:" >&5 3623sed 's/^/| /' conftest.$ac_ext >&5 3624 3625( exit $ac_status ) 3626ac_cv_header_stdc=no 3627fi 3628rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3629fi 3630fi 3631fi 3632echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3633echo "${ECHO_T}$ac_cv_header_stdc" >&6 3634if test $ac_cv_header_stdc = yes; then 3635 3636cat >>confdefs.h <<\_ACEOF 3637@%:@define STDC_HEADERS 1 3638_ACEOF 3639 3640fi 3641 3642# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3653 inttypes.h stdint.h unistd.h 3654do 3655as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3656echo "$as_me:$LINENO: checking for $ac_header" >&5 3657echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3658if eval "test \"\${$as_ac_Header+set}\" = set"; then 3659 echo $ECHO_N "(cached) $ECHO_C" >&6 3660else 3661 cat >conftest.$ac_ext <<_ACEOF 3662/* confdefs.h. */ 3663_ACEOF 3664cat confdefs.h >>conftest.$ac_ext 3665cat >>conftest.$ac_ext <<_ACEOF 3666/* end confdefs.h. */ 3667$ac_includes_default 3668 3669@%:@include <$ac_header> 3670_ACEOF 3671rm -f conftest.$ac_objext 3672if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3673 (eval $ac_compile) 2>conftest.er1 3674 ac_status=$? 3675 grep -v '^ *+' conftest.er1 >conftest.err 3676 rm -f conftest.er1 3677 cat conftest.err >&5 3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3679 (exit $ac_status); } && 3680 { ac_try='test -z "$ac_cxx_werror_flag" 3681 || test ! -s conftest.err' 3682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3683 (eval $ac_try) 2>&5 3684 ac_status=$? 3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3686 (exit $ac_status); }; } && 3687 { ac_try='test -s conftest.$ac_objext' 3688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3689 (eval $ac_try) 2>&5 3690 ac_status=$? 3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3692 (exit $ac_status); }; }; then 3693 eval "$as_ac_Header=yes" 3694else 3695 echo "$as_me: failed program was:" >&5 3696sed 's/^/| /' conftest.$ac_ext >&5 3697 3698eval "$as_ac_Header=no" 3699fi 3700rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3701fi 3702echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3703echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3704if test `eval echo '${'$as_ac_Header'}'` = yes; then 3705 cat >>confdefs.h <<_ACEOF 3706@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3707_ACEOF 3708 3709fi 3710 3711done 3712 3713 3714echo "$as_me:$LINENO: checking for long int" >&5 3715echo $ECHO_N "checking for long int... $ECHO_C" >&6 3716if test "${ac_cv_type_long_int+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$ac_includes_default 3726int 3727main () 3728{ 3729if ((long int *) 0) 3730 return 0; 3731if (sizeof (long int)) 3732 return 0; 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_cxx_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_cv_type_long_int=yes 3760else 3761 echo "$as_me: failed program was:" >&5 3762sed 's/^/| /' conftest.$ac_ext >&5 3763 3764ac_cv_type_long_int=no 3765fi 3766rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3767fi 3768echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5 3769echo "${ECHO_T}$ac_cv_type_long_int" >&6 3770 3771echo "$as_me:$LINENO: checking size of long int" >&5 3772echo $ECHO_N "checking size of long int... $ECHO_C" >&6 3773if test "${ac_cv_sizeof_long_int+set}" = set; then 3774 echo $ECHO_N "(cached) $ECHO_C" >&6 3775else 3776 if test "$ac_cv_type_long_int" = yes; then 3777 # The cast to unsigned long works around a bug in the HP C Compiler 3778 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 3779 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 3780 # This bug is HP SR number 8606223364. 3781 if test "$cross_compiling" = yes; then 3782 # Depending upon the size, compute the lo and hi bounds. 3783cat >conftest.$ac_ext <<_ACEOF 3784/* confdefs.h. */ 3785_ACEOF 3786cat confdefs.h >>conftest.$ac_ext 3787cat >>conftest.$ac_ext <<_ACEOF 3788/* end confdefs.h. */ 3789$ac_includes_default 3790int 3791main () 3792{ 3793static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) >= 0)@:>@; 3794test_array @<:@0@:>@ = 0 3795 3796 ; 3797 return 0; 3798} 3799_ACEOF 3800rm -f conftest.$ac_objext 3801if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3802 (eval $ac_compile) 2>conftest.er1 3803 ac_status=$? 3804 grep -v '^ *+' conftest.er1 >conftest.err 3805 rm -f conftest.er1 3806 cat conftest.err >&5 3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3808 (exit $ac_status); } && 3809 { ac_try='test -z "$ac_cxx_werror_flag" 3810 || test ! -s conftest.err' 3811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3812 (eval $ac_try) 2>&5 3813 ac_status=$? 3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3815 (exit $ac_status); }; } && 3816 { ac_try='test -s conftest.$ac_objext' 3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3818 (eval $ac_try) 2>&5 3819 ac_status=$? 3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3821 (exit $ac_status); }; }; then 3822 ac_lo=0 ac_mid=0 3823 while :; do 3824 cat >conftest.$ac_ext <<_ACEOF 3825/* confdefs.h. */ 3826_ACEOF 3827cat confdefs.h >>conftest.$ac_ext 3828cat >>conftest.$ac_ext <<_ACEOF 3829/* end confdefs.h. */ 3830$ac_includes_default 3831int 3832main () 3833{ 3834static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)@:>@; 3835test_array @<:@0@:>@ = 0 3836 3837 ; 3838 return 0; 3839} 3840_ACEOF 3841rm -f conftest.$ac_objext 3842if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3843 (eval $ac_compile) 2>conftest.er1 3844 ac_status=$? 3845 grep -v '^ *+' conftest.er1 >conftest.err 3846 rm -f conftest.er1 3847 cat conftest.err >&5 3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3849 (exit $ac_status); } && 3850 { ac_try='test -z "$ac_cxx_werror_flag" 3851 || test ! -s conftest.err' 3852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3853 (eval $ac_try) 2>&5 3854 ac_status=$? 3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3856 (exit $ac_status); }; } && 3857 { ac_try='test -s conftest.$ac_objext' 3858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3859 (eval $ac_try) 2>&5 3860 ac_status=$? 3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3862 (exit $ac_status); }; }; then 3863 ac_hi=$ac_mid; break 3864else 3865 echo "$as_me: failed program was:" >&5 3866sed 's/^/| /' conftest.$ac_ext >&5 3867 3868ac_lo=`expr $ac_mid + 1` 3869 if test $ac_lo -le $ac_mid; then 3870 ac_lo= ac_hi= 3871 break 3872 fi 3873 ac_mid=`expr 2 '*' $ac_mid + 1` 3874fi 3875rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3876 done 3877else 3878 echo "$as_me: failed program was:" >&5 3879sed 's/^/| /' conftest.$ac_ext >&5 3880 3881cat >conftest.$ac_ext <<_ACEOF 3882/* confdefs.h. */ 3883_ACEOF 3884cat confdefs.h >>conftest.$ac_ext 3885cat >>conftest.$ac_ext <<_ACEOF 3886/* end confdefs.h. */ 3887$ac_includes_default 3888int 3889main () 3890{ 3891static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) < 0)@:>@; 3892test_array @<:@0@:>@ = 0 3893 3894 ; 3895 return 0; 3896} 3897_ACEOF 3898rm -f conftest.$ac_objext 3899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3900 (eval $ac_compile) 2>conftest.er1 3901 ac_status=$? 3902 grep -v '^ *+' conftest.er1 >conftest.err 3903 rm -f conftest.er1 3904 cat conftest.err >&5 3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3906 (exit $ac_status); } && 3907 { ac_try='test -z "$ac_cxx_werror_flag" 3908 || test ! -s conftest.err' 3909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3910 (eval $ac_try) 2>&5 3911 ac_status=$? 3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3913 (exit $ac_status); }; } && 3914 { ac_try='test -s conftest.$ac_objext' 3915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3916 (eval $ac_try) 2>&5 3917 ac_status=$? 3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3919 (exit $ac_status); }; }; then 3920 ac_hi=-1 ac_mid=-1 3921 while :; do 3922 cat >conftest.$ac_ext <<_ACEOF 3923/* confdefs.h. */ 3924_ACEOF 3925cat confdefs.h >>conftest.$ac_ext 3926cat >>conftest.$ac_ext <<_ACEOF 3927/* end confdefs.h. */ 3928$ac_includes_default 3929int 3930main () 3931{ 3932static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)@:>@; 3933test_array @<:@0@:>@ = 0 3934 3935 ; 3936 return 0; 3937} 3938_ACEOF 3939rm -f conftest.$ac_objext 3940if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3941 (eval $ac_compile) 2>conftest.er1 3942 ac_status=$? 3943 grep -v '^ *+' conftest.er1 >conftest.err 3944 rm -f conftest.er1 3945 cat conftest.err >&5 3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3947 (exit $ac_status); } && 3948 { ac_try='test -z "$ac_cxx_werror_flag" 3949 || test ! -s conftest.err' 3950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3951 (eval $ac_try) 2>&5 3952 ac_status=$? 3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3954 (exit $ac_status); }; } && 3955 { ac_try='test -s conftest.$ac_objext' 3956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3957 (eval $ac_try) 2>&5 3958 ac_status=$? 3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3960 (exit $ac_status); }; }; then 3961 ac_lo=$ac_mid; break 3962else 3963 echo "$as_me: failed program was:" >&5 3964sed 's/^/| /' conftest.$ac_ext >&5 3965 3966ac_hi=`expr '(' $ac_mid ')' - 1` 3967 if test $ac_mid -le $ac_hi; then 3968 ac_lo= ac_hi= 3969 break 3970 fi 3971 ac_mid=`expr 2 '*' $ac_mid` 3972fi 3973rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3974 done 3975else 3976 echo "$as_me: failed program was:" >&5 3977sed 's/^/| /' conftest.$ac_ext >&5 3978 3979ac_lo= ac_hi= 3980fi 3981rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3982fi 3983rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3984# Binary search between lo and hi bounds. 3985while test "x$ac_lo" != "x$ac_hi"; do 3986 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 3987 cat >conftest.$ac_ext <<_ACEOF 3988/* confdefs.h. */ 3989_ACEOF 3990cat confdefs.h >>conftest.$ac_ext 3991cat >>conftest.$ac_ext <<_ACEOF 3992/* end confdefs.h. */ 3993$ac_includes_default 3994int 3995main () 3996{ 3997static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)@:>@; 3998test_array @<:@0@:>@ = 0 3999 4000 ; 4001 return 0; 4002} 4003_ACEOF 4004rm -f conftest.$ac_objext 4005if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4006 (eval $ac_compile) 2>conftest.er1 4007 ac_status=$? 4008 grep -v '^ *+' conftest.er1 >conftest.err 4009 rm -f conftest.er1 4010 cat conftest.err >&5 4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4012 (exit $ac_status); } && 4013 { ac_try='test -z "$ac_cxx_werror_flag" 4014 || test ! -s conftest.err' 4015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4016 (eval $ac_try) 2>&5 4017 ac_status=$? 4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4019 (exit $ac_status); }; } && 4020 { ac_try='test -s conftest.$ac_objext' 4021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4022 (eval $ac_try) 2>&5 4023 ac_status=$? 4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4025 (exit $ac_status); }; }; then 4026 ac_hi=$ac_mid 4027else 4028 echo "$as_me: failed program was:" >&5 4029sed 's/^/| /' conftest.$ac_ext >&5 4030 4031ac_lo=`expr '(' $ac_mid ')' + 1` 4032fi 4033rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4034done 4035case $ac_lo in 4036?*) ac_cv_sizeof_long_int=$ac_lo;; 4037'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77 4038See \`config.log' for more details." >&5 4039echo "$as_me: error: cannot compute sizeof (long int), 77 4040See \`config.log' for more details." >&2;} 4041 { (exit 1); exit 1; }; } ;; 4042esac 4043else 4044 if test "$cross_compiling" = yes; then 4045 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 4046See \`config.log' for more details." >&5 4047echo "$as_me: error: cannot run test program while cross compiling 4048See \`config.log' for more details." >&2;} 4049 { (exit 1); exit 1; }; } 4050else 4051 cat >conftest.$ac_ext <<_ACEOF 4052/* confdefs.h. */ 4053_ACEOF 4054cat confdefs.h >>conftest.$ac_ext 4055cat >>conftest.$ac_ext <<_ACEOF 4056/* end confdefs.h. */ 4057$ac_includes_default 4058long longval () { return (long) (sizeof (long int)); } 4059unsigned long ulongval () { return (long) (sizeof (long int)); } 4060@%:@include <stdio.h> 4061@%:@include <stdlib.h> 4062int 4063main () 4064{ 4065 4066 FILE *f = fopen ("conftest.val", "w"); 4067 if (! f) 4068 exit (1); 4069 if (((long) (sizeof (long int))) < 0) 4070 { 4071 long i = longval (); 4072 if (i != ((long) (sizeof (long int)))) 4073 exit (1); 4074 fprintf (f, "%ld\n", i); 4075 } 4076 else 4077 { 4078 unsigned long i = ulongval (); 4079 if (i != ((long) (sizeof (long int)))) 4080 exit (1); 4081 fprintf (f, "%lu\n", i); 4082 } 4083 exit (ferror (f) || fclose (f) != 0); 4084 4085 ; 4086 return 0; 4087} 4088_ACEOF 4089rm -f conftest$ac_exeext 4090if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4091 (eval $ac_link) 2>&5 4092 ac_status=$? 4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4094 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4096 (eval $ac_try) 2>&5 4097 ac_status=$? 4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4099 (exit $ac_status); }; }; then 4100 ac_cv_sizeof_long_int=`cat conftest.val` 4101else 4102 echo "$as_me: program exited with status $ac_status" >&5 4103echo "$as_me: failed program was:" >&5 4104sed 's/^/| /' conftest.$ac_ext >&5 4105 4106( exit $ac_status ) 4107{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77 4108See \`config.log' for more details." >&5 4109echo "$as_me: error: cannot compute sizeof (long int), 77 4110See \`config.log' for more details." >&2;} 4111 { (exit 1); exit 1; }; } 4112fi 4113rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4114fi 4115fi 4116rm -f conftest.val 4117else 4118 ac_cv_sizeof_long_int=0 4119fi 4120fi 4121echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5 4122echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6 4123cat >>confdefs.h <<_ACEOF 4124@%:@define SIZEOF_LONG_INT $ac_cv_sizeof_long_int 4125_ACEOF 4126 4127 4128 4129echo "$as_me:$LINENO: checking for bool" >&5 4130echo $ECHO_N "checking for bool... $ECHO_C" >&6 4131if test "${sid_cv_have_bool+set}" = set; then 4132 echo $ECHO_N "(cached) $ECHO_C" >&6 4133else 4134 4135 cat >conftest.$ac_ext <<_ACEOF 4136/* confdefs.h. */ 4137_ACEOF 4138cat confdefs.h >>conftest.$ac_ext 4139cat >>conftest.$ac_ext <<_ACEOF 4140/* end confdefs.h. */ 4141 4142int 4143main () 4144{ 4145bool aBool = true; 4146 ; 4147 return 0; 4148} 4149_ACEOF 4150rm -f conftest.$ac_objext 4151if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4152 (eval $ac_compile) 2>conftest.er1 4153 ac_status=$? 4154 grep -v '^ *+' conftest.er1 >conftest.err 4155 rm -f conftest.er1 4156 cat conftest.err >&5 4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4158 (exit $ac_status); } && 4159 { ac_try='test -z "$ac_cxx_werror_flag" 4160 || test ! -s conftest.err' 4161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4162 (eval $ac_try) 2>&5 4163 ac_status=$? 4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4165 (exit $ac_status); }; } && 4166 { ac_try='test -s conftest.$ac_objext' 4167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4168 (eval $ac_try) 2>&5 4169 ac_status=$? 4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4171 (exit $ac_status); }; }; then 4172 sid_cv_have_bool=yes 4173else 4174 echo "$as_me: failed program was:" >&5 4175sed 's/^/| /' conftest.$ac_ext >&5 4176 4177sid_cv_have_bool=no 4178 4179fi 4180rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4181 4182fi 4183 4184echo "$as_me:$LINENO: result: $sid_cv_have_bool" >&5 4185echo "${ECHO_T}$sid_cv_have_bool" >&6 4186if test "$sid_cv_have_bool" = yes; then 4187 cat >>confdefs.h <<\_ACEOF 4188@%:@define HAVE_BOOL 1 4189_ACEOF 4190 4191fi 4192 4193echo "$as_me:$LINENO: checking for long file names" >&5 4194echo $ECHO_N "checking for long file names... $ECHO_C" >&6 4195if test "${ac_cv_sys_long_file_names+set}" = set; then 4196 echo $ECHO_N "(cached) $ECHO_C" >&6 4197else 4198 ac_cv_sys_long_file_names=yes 4199# Test for long file names in all the places we know might matter: 4200# . the current directory, where building will happen 4201# $prefix/lib where we will be installing things 4202# $exec_prefix/lib likewise 4203# eval it to expand exec_prefix. 4204# $TMPDIR if set, where it might want to write temporary files 4205# if $TMPDIR is not set: 4206# /tmp where it might want to write temporary files 4207# /var/tmp likewise 4208# /usr/tmp likewise 4209if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then 4210 ac_tmpdirs=$TMPDIR 4211else 4212 ac_tmpdirs='/tmp /var/tmp /usr/tmp' 4213fi 4214for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do 4215 test -d $ac_dir || continue 4216 test -w $ac_dir || continue # It is less confusing to not echo anything here. 4217 ac_xdir=$ac_dir/cf$$ 4218 (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue 4219 ac_tf1=$ac_xdir/conftest9012345 4220 ac_tf2=$ac_xdir/conftest9012346 4221 (echo 1 >$ac_tf1) 2>/dev/null 4222 (echo 2 >$ac_tf2) 2>/dev/null 4223 ac_val=`cat $ac_tf1 2>/dev/null` 4224 if test ! -f $ac_tf1 || test "$ac_val" != 1; then 4225 ac_cv_sys_long_file_names=no 4226 rm -rf $ac_xdir 2>/dev/null 4227 break 4228 fi 4229 rm -rf $ac_xdir 2>/dev/null 4230done 4231fi 4232echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 4233echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 4234if test $ac_cv_sys_long_file_names = yes; then 4235 4236cat >>confdefs.h <<\_ACEOF 4237@%:@define HAVE_LONG_FILE_NAMES 1 4238_ACEOF 4239 4240fi 4241 4242echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4243echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4244if test "${ac_cv_header_stdc+set}" = set; then 4245 echo $ECHO_N "(cached) $ECHO_C" >&6 4246else 4247 cat >conftest.$ac_ext <<_ACEOF 4248/* confdefs.h. */ 4249_ACEOF 4250cat confdefs.h >>conftest.$ac_ext 4251cat >>conftest.$ac_ext <<_ACEOF 4252/* end confdefs.h. */ 4253#include <stdlib.h> 4254#include <stdarg.h> 4255#include <string.h> 4256#include <float.h> 4257 4258int 4259main () 4260{ 4261 4262 ; 4263 return 0; 4264} 4265_ACEOF 4266rm -f conftest.$ac_objext 4267if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4268 (eval $ac_compile) 2>conftest.er1 4269 ac_status=$? 4270 grep -v '^ *+' conftest.er1 >conftest.err 4271 rm -f conftest.er1 4272 cat conftest.err >&5 4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4274 (exit $ac_status); } && 4275 { ac_try='test -z "$ac_cxx_werror_flag" 4276 || test ! -s conftest.err' 4277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4278 (eval $ac_try) 2>&5 4279 ac_status=$? 4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4281 (exit $ac_status); }; } && 4282 { ac_try='test -s conftest.$ac_objext' 4283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4284 (eval $ac_try) 2>&5 4285 ac_status=$? 4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4287 (exit $ac_status); }; }; then 4288 ac_cv_header_stdc=yes 4289else 4290 echo "$as_me: failed program was:" >&5 4291sed 's/^/| /' conftest.$ac_ext >&5 4292 4293ac_cv_header_stdc=no 4294fi 4295rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4296 4297if test $ac_cv_header_stdc = yes; then 4298 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4299 cat >conftest.$ac_ext <<_ACEOF 4300/* confdefs.h. */ 4301_ACEOF 4302cat confdefs.h >>conftest.$ac_ext 4303cat >>conftest.$ac_ext <<_ACEOF 4304/* end confdefs.h. */ 4305#include <string.h> 4306 4307_ACEOF 4308if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4309 $EGREP "memchr" >/dev/null 2>&1; then 4310 : 4311else 4312 ac_cv_header_stdc=no 4313fi 4314rm -f conftest* 4315 4316fi 4317 4318if test $ac_cv_header_stdc = yes; then 4319 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4320 cat >conftest.$ac_ext <<_ACEOF 4321/* confdefs.h. */ 4322_ACEOF 4323cat confdefs.h >>conftest.$ac_ext 4324cat >>conftest.$ac_ext <<_ACEOF 4325/* end confdefs.h. */ 4326#include <stdlib.h> 4327 4328_ACEOF 4329if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4330 $EGREP "free" >/dev/null 2>&1; then 4331 : 4332else 4333 ac_cv_header_stdc=no 4334fi 4335rm -f conftest* 4336 4337fi 4338 4339if test $ac_cv_header_stdc = yes; then 4340 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4341 if test "$cross_compiling" = yes; then 4342 : 4343else 4344 cat >conftest.$ac_ext <<_ACEOF 4345/* confdefs.h. */ 4346_ACEOF 4347cat confdefs.h >>conftest.$ac_ext 4348cat >>conftest.$ac_ext <<_ACEOF 4349/* end confdefs.h. */ 4350#include <ctype.h> 4351#if ((' ' & 0x0FF) == 0x020) 4352# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4353# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4354#else 4355# define ISLOWER(c) \ 4356 (('a' <= (c) && (c) <= 'i') \ 4357 || ('j' <= (c) && (c) <= 'r') \ 4358 || ('s' <= (c) && (c) <= 'z')) 4359# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4360#endif 4361 4362#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4363int 4364main () 4365{ 4366 int i; 4367 for (i = 0; i < 256; i++) 4368 if (XOR (islower (i), ISLOWER (i)) 4369 || toupper (i) != TOUPPER (i)) 4370 exit(2); 4371 exit (0); 4372} 4373_ACEOF 4374rm -f conftest$ac_exeext 4375if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4376 (eval $ac_link) 2>&5 4377 ac_status=$? 4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4381 (eval $ac_try) 2>&5 4382 ac_status=$? 4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4384 (exit $ac_status); }; }; then 4385 : 4386else 4387 echo "$as_me: program exited with status $ac_status" >&5 4388echo "$as_me: failed program was:" >&5 4389sed 's/^/| /' conftest.$ac_ext >&5 4390 4391( exit $ac_status ) 4392ac_cv_header_stdc=no 4393fi 4394rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4395fi 4396fi 4397fi 4398echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4399echo "${ECHO_T}$ac_cv_header_stdc" >&6 4400if test $ac_cv_header_stdc = yes; then 4401 4402cat >>confdefs.h <<\_ACEOF 4403@%:@define STDC_HEADERS 1 4404_ACEOF 4405 4406fi 4407 4408 4409 4410 4411 4412 4413ac_header_dirent=no 4414for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 4415 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 4416echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 4417echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4418if eval "test \"\${$as_ac_Header+set}\" = set"; then 4419 echo $ECHO_N "(cached) $ECHO_C" >&6 4420else 4421 cat >conftest.$ac_ext <<_ACEOF 4422/* confdefs.h. */ 4423_ACEOF 4424cat confdefs.h >>conftest.$ac_ext 4425cat >>conftest.$ac_ext <<_ACEOF 4426/* end confdefs.h. */ 4427#include <sys/types.h> 4428#include <$ac_hdr> 4429 4430int 4431main () 4432{ 4433if ((DIR *) 0) 4434return 0; 4435 ; 4436 return 0; 4437} 4438_ACEOF 4439rm -f conftest.$ac_objext 4440if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4441 (eval $ac_compile) 2>conftest.er1 4442 ac_status=$? 4443 grep -v '^ *+' conftest.er1 >conftest.err 4444 rm -f conftest.er1 4445 cat conftest.err >&5 4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4447 (exit $ac_status); } && 4448 { ac_try='test -z "$ac_cxx_werror_flag" 4449 || test ! -s conftest.err' 4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4451 (eval $ac_try) 2>&5 4452 ac_status=$? 4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4454 (exit $ac_status); }; } && 4455 { ac_try='test -s conftest.$ac_objext' 4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4457 (eval $ac_try) 2>&5 4458 ac_status=$? 4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4460 (exit $ac_status); }; }; then 4461 eval "$as_ac_Header=yes" 4462else 4463 echo "$as_me: failed program was:" >&5 4464sed 's/^/| /' conftest.$ac_ext >&5 4465 4466eval "$as_ac_Header=no" 4467fi 4468rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4469fi 4470echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4471echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4472if test `eval echo '${'$as_ac_Header'}'` = yes; then 4473 cat >>confdefs.h <<_ACEOF 4474@%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 4475_ACEOF 4476 4477ac_header_dirent=$ac_hdr; break 4478fi 4479 4480done 4481# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4482if test $ac_header_dirent = dirent.h; then 4483 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4484echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4485if test "${ac_cv_search_opendir+set}" = set; then 4486 echo $ECHO_N "(cached) $ECHO_C" >&6 4487else 4488 ac_func_search_save_LIBS=$LIBS 4489ac_cv_search_opendir=no 4490cat >conftest.$ac_ext <<_ACEOF 4491/* confdefs.h. */ 4492_ACEOF 4493cat confdefs.h >>conftest.$ac_ext 4494cat >>conftest.$ac_ext <<_ACEOF 4495/* end confdefs.h. */ 4496 4497/* Override any gcc2 internal prototype to avoid an error. */ 4498#ifdef __cplusplus 4499extern "C" 4500#endif 4501/* We use char because int might match the return type of a gcc2 4502 builtin and then its argument prototype would still apply. */ 4503char opendir (); 4504int 4505main () 4506{ 4507opendir (); 4508 ; 4509 return 0; 4510} 4511_ACEOF 4512rm -f conftest.$ac_objext conftest$ac_exeext 4513if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4514 (eval $ac_link) 2>conftest.er1 4515 ac_status=$? 4516 grep -v '^ *+' conftest.er1 >conftest.err 4517 rm -f conftest.er1 4518 cat conftest.err >&5 4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4520 (exit $ac_status); } && 4521 { ac_try='test -z "$ac_cxx_werror_flag" 4522 || test ! -s conftest.err' 4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4524 (eval $ac_try) 2>&5 4525 ac_status=$? 4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4527 (exit $ac_status); }; } && 4528 { ac_try='test -s conftest$ac_exeext' 4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4530 (eval $ac_try) 2>&5 4531 ac_status=$? 4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4533 (exit $ac_status); }; }; then 4534 ac_cv_search_opendir="none required" 4535else 4536 echo "$as_me: failed program was:" >&5 4537sed 's/^/| /' conftest.$ac_ext >&5 4538 4539fi 4540rm -f conftest.err conftest.$ac_objext \ 4541 conftest$ac_exeext conftest.$ac_ext 4542if test "$ac_cv_search_opendir" = no; then 4543 for ac_lib in dir; do 4544 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4545 cat >conftest.$ac_ext <<_ACEOF 4546/* confdefs.h. */ 4547_ACEOF 4548cat confdefs.h >>conftest.$ac_ext 4549cat >>conftest.$ac_ext <<_ACEOF 4550/* end confdefs.h. */ 4551 4552/* Override any gcc2 internal prototype to avoid an error. */ 4553#ifdef __cplusplus 4554extern "C" 4555#endif 4556/* We use char because int might match the return type of a gcc2 4557 builtin and then its argument prototype would still apply. */ 4558char opendir (); 4559int 4560main () 4561{ 4562opendir (); 4563 ; 4564 return 0; 4565} 4566_ACEOF 4567rm -f conftest.$ac_objext conftest$ac_exeext 4568if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4569 (eval $ac_link) 2>conftest.er1 4570 ac_status=$? 4571 grep -v '^ *+' conftest.er1 >conftest.err 4572 rm -f conftest.er1 4573 cat conftest.err >&5 4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4575 (exit $ac_status); } && 4576 { ac_try='test -z "$ac_cxx_werror_flag" 4577 || test ! -s conftest.err' 4578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4579 (eval $ac_try) 2>&5 4580 ac_status=$? 4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4582 (exit $ac_status); }; } && 4583 { ac_try='test -s conftest$ac_exeext' 4584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4585 (eval $ac_try) 2>&5 4586 ac_status=$? 4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4588 (exit $ac_status); }; }; then 4589 ac_cv_search_opendir="-l$ac_lib" 4590break 4591else 4592 echo "$as_me: failed program was:" >&5 4593sed 's/^/| /' conftest.$ac_ext >&5 4594 4595fi 4596rm -f conftest.err conftest.$ac_objext \ 4597 conftest$ac_exeext conftest.$ac_ext 4598 done 4599fi 4600LIBS=$ac_func_search_save_LIBS 4601fi 4602echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4603echo "${ECHO_T}$ac_cv_search_opendir" >&6 4604if test "$ac_cv_search_opendir" != no; then 4605 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4606 4607fi 4608 4609else 4610 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4611echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4612if test "${ac_cv_search_opendir+set}" = set; then 4613 echo $ECHO_N "(cached) $ECHO_C" >&6 4614else 4615 ac_func_search_save_LIBS=$LIBS 4616ac_cv_search_opendir=no 4617cat >conftest.$ac_ext <<_ACEOF 4618/* confdefs.h. */ 4619_ACEOF 4620cat confdefs.h >>conftest.$ac_ext 4621cat >>conftest.$ac_ext <<_ACEOF 4622/* end confdefs.h. */ 4623 4624/* Override any gcc2 internal prototype to avoid an error. */ 4625#ifdef __cplusplus 4626extern "C" 4627#endif 4628/* We use char because int might match the return type of a gcc2 4629 builtin and then its argument prototype would still apply. */ 4630char opendir (); 4631int 4632main () 4633{ 4634opendir (); 4635 ; 4636 return 0; 4637} 4638_ACEOF 4639rm -f conftest.$ac_objext conftest$ac_exeext 4640if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4641 (eval $ac_link) 2>conftest.er1 4642 ac_status=$? 4643 grep -v '^ *+' conftest.er1 >conftest.err 4644 rm -f conftest.er1 4645 cat conftest.err >&5 4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4647 (exit $ac_status); } && 4648 { ac_try='test -z "$ac_cxx_werror_flag" 4649 || test ! -s conftest.err' 4650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4651 (eval $ac_try) 2>&5 4652 ac_status=$? 4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4654 (exit $ac_status); }; } && 4655 { ac_try='test -s conftest$ac_exeext' 4656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4657 (eval $ac_try) 2>&5 4658 ac_status=$? 4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4660 (exit $ac_status); }; }; then 4661 ac_cv_search_opendir="none required" 4662else 4663 echo "$as_me: failed program was:" >&5 4664sed 's/^/| /' conftest.$ac_ext >&5 4665 4666fi 4667rm -f conftest.err conftest.$ac_objext \ 4668 conftest$ac_exeext conftest.$ac_ext 4669if test "$ac_cv_search_opendir" = no; then 4670 for ac_lib in x; do 4671 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 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 4679/* Override any gcc2 internal prototype to avoid an error. */ 4680#ifdef __cplusplus 4681extern "C" 4682#endif 4683/* We use char because int might match the return type of a gcc2 4684 builtin and then its argument prototype would still apply. */ 4685char opendir (); 4686int 4687main () 4688{ 4689opendir (); 4690 ; 4691 return 0; 4692} 4693_ACEOF 4694rm -f conftest.$ac_objext conftest$ac_exeext 4695if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4696 (eval $ac_link) 2>conftest.er1 4697 ac_status=$? 4698 grep -v '^ *+' conftest.er1 >conftest.err 4699 rm -f conftest.er1 4700 cat conftest.err >&5 4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4702 (exit $ac_status); } && 4703 { ac_try='test -z "$ac_cxx_werror_flag" 4704 || test ! -s conftest.err' 4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4706 (eval $ac_try) 2>&5 4707 ac_status=$? 4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4709 (exit $ac_status); }; } && 4710 { ac_try='test -s conftest$ac_exeext' 4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4712 (eval $ac_try) 2>&5 4713 ac_status=$? 4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4715 (exit $ac_status); }; }; then 4716 ac_cv_search_opendir="-l$ac_lib" 4717break 4718else 4719 echo "$as_me: failed program was:" >&5 4720sed 's/^/| /' conftest.$ac_ext >&5 4721 4722fi 4723rm -f conftest.err conftest.$ac_objext \ 4724 conftest$ac_exeext conftest.$ac_ext 4725 done 4726fi 4727LIBS=$ac_func_search_save_LIBS 4728fi 4729echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4730echo "${ECHO_T}$ac_cv_search_opendir" >&6 4731if test "$ac_cv_search_opendir" != no; then 4732 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4733 4734fi 4735 4736fi 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746for ac_func in strcasecmp stricmp strncasecmp strnicmp mkdir rmdir strstr strtoul 4747do 4748as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4749echo "$as_me:$LINENO: checking for $ac_func" >&5 4750echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4751if eval "test \"\${$as_ac_var+set}\" = set"; then 4752 echo $ECHO_N "(cached) $ECHO_C" >&6 4753else 4754 cat >conftest.$ac_ext <<_ACEOF 4755/* confdefs.h. */ 4756_ACEOF 4757cat confdefs.h >>conftest.$ac_ext 4758cat >>conftest.$ac_ext <<_ACEOF 4759/* end confdefs.h. */ 4760/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4761 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4762#define $ac_func innocuous_$ac_func 4763 4764/* System header to define __stub macros and hopefully few prototypes, 4765 which can conflict with char $ac_func (); below. 4766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4767 <limits.h> exists even on freestanding compilers. */ 4768 4769#ifdef __STDC__ 4770# include <limits.h> 4771#else 4772# include <assert.h> 4773#endif 4774 4775#undef $ac_func 4776 4777/* Override any gcc2 internal prototype to avoid an error. */ 4778#ifdef __cplusplus 4779extern "C" 4780{ 4781#endif 4782/* We use char because int might match the return type of a gcc2 4783 builtin and then its argument prototype would still apply. */ 4784char $ac_func (); 4785/* The GNU C library defines this for functions which it implements 4786 to always fail with ENOSYS. Some functions are actually named 4787 something starting with __ and the normal name is an alias. */ 4788#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4789choke me 4790#else 4791char (*f) () = $ac_func; 4792#endif 4793#ifdef __cplusplus 4794} 4795#endif 4796 4797int 4798main () 4799{ 4800return f != $ac_func; 4801 ; 4802 return 0; 4803} 4804_ACEOF 4805rm -f conftest.$ac_objext conftest$ac_exeext 4806if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4807 (eval $ac_link) 2>conftest.er1 4808 ac_status=$? 4809 grep -v '^ *+' conftest.er1 >conftest.err 4810 rm -f conftest.er1 4811 cat conftest.err >&5 4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4813 (exit $ac_status); } && 4814 { ac_try='test -z "$ac_cxx_werror_flag" 4815 || test ! -s conftest.err' 4816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4817 (eval $ac_try) 2>&5 4818 ac_status=$? 4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4820 (exit $ac_status); }; } && 4821 { ac_try='test -s conftest$ac_exeext' 4822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4823 (eval $ac_try) 2>&5 4824 ac_status=$? 4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4826 (exit $ac_status); }; }; then 4827 eval "$as_ac_var=yes" 4828else 4829 echo "$as_me: failed program was:" >&5 4830sed 's/^/| /' conftest.$ac_ext >&5 4831 4832eval "$as_ac_var=no" 4833fi 4834rm -f conftest.err conftest.$ac_objext \ 4835 conftest$ac_exeext conftest.$ac_ext 4836fi 4837echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4838echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4839if test `eval echo '${'$as_ac_var'}'` = yes; then 4840 cat >>confdefs.h <<_ACEOF 4841@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4842_ACEOF 4843 4844fi 4845done 4846 4847 4848 4849 4850 4851 4852 4853for ac_header in dirent.h fcntl.h limits.h sys/stat.h sys/types.h unistd.h 4854do 4855as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4856if eval "test \"\${$as_ac_Header+set}\" = set"; then 4857 echo "$as_me:$LINENO: checking for $ac_header" >&5 4858echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4859if eval "test \"\${$as_ac_Header+set}\" = set"; then 4860 echo $ECHO_N "(cached) $ECHO_C" >&6 4861fi 4862echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4863echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4864else 4865 # Is the header compilable? 4866echo "$as_me:$LINENO: checking $ac_header usability" >&5 4867echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4868cat >conftest.$ac_ext <<_ACEOF 4869/* confdefs.h. */ 4870_ACEOF 4871cat confdefs.h >>conftest.$ac_ext 4872cat >>conftest.$ac_ext <<_ACEOF 4873/* end confdefs.h. */ 4874$ac_includes_default 4875@%:@include <$ac_header> 4876_ACEOF 4877rm -f conftest.$ac_objext 4878if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4879 (eval $ac_compile) 2>conftest.er1 4880 ac_status=$? 4881 grep -v '^ *+' conftest.er1 >conftest.err 4882 rm -f conftest.er1 4883 cat conftest.err >&5 4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4885 (exit $ac_status); } && 4886 { ac_try='test -z "$ac_cxx_werror_flag" 4887 || test ! -s conftest.err' 4888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4889 (eval $ac_try) 2>&5 4890 ac_status=$? 4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4892 (exit $ac_status); }; } && 4893 { ac_try='test -s conftest.$ac_objext' 4894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4895 (eval $ac_try) 2>&5 4896 ac_status=$? 4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4898 (exit $ac_status); }; }; then 4899 ac_header_compiler=yes 4900else 4901 echo "$as_me: failed program was:" >&5 4902sed 's/^/| /' conftest.$ac_ext >&5 4903 4904ac_header_compiler=no 4905fi 4906rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4907echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4908echo "${ECHO_T}$ac_header_compiler" >&6 4909 4910# Is the header present? 4911echo "$as_me:$LINENO: checking $ac_header presence" >&5 4912echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4913cat >conftest.$ac_ext <<_ACEOF 4914/* confdefs.h. */ 4915_ACEOF 4916cat confdefs.h >>conftest.$ac_ext 4917cat >>conftest.$ac_ext <<_ACEOF 4918/* end confdefs.h. */ 4919@%:@include <$ac_header> 4920_ACEOF 4921if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4923 ac_status=$? 4924 grep -v '^ *+' conftest.er1 >conftest.err 4925 rm -f conftest.er1 4926 cat conftest.err >&5 4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4928 (exit $ac_status); } >/dev/null; then 4929 if test -s conftest.err; then 4930 ac_cpp_err=$ac_cxx_preproc_warn_flag 4931 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4932 else 4933 ac_cpp_err= 4934 fi 4935else 4936 ac_cpp_err=yes 4937fi 4938if test -z "$ac_cpp_err"; then 4939 ac_header_preproc=yes 4940else 4941 echo "$as_me: failed program was:" >&5 4942sed 's/^/| /' conftest.$ac_ext >&5 4943 4944 ac_header_preproc=no 4945fi 4946rm -f conftest.err conftest.$ac_ext 4947echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4948echo "${ECHO_T}$ac_header_preproc" >&6 4949 4950# So? What about this header? 4951case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 4952 yes:no: ) 4953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4954echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4956echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4957 ac_header_preproc=yes 4958 ;; 4959 no:yes:* ) 4960 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4961echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4962 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4963echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4964 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4965echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4966 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4967echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4969echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4970 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4971echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4972 ( 4973 cat <<\_ASBOX 4974@%:@@%:@ ------------------------------------------ @%:@@%:@ 4975@%:@@%:@ Report this to the AC_PACKAGE_NAME lists. @%:@@%:@ 4976@%:@@%:@ ------------------------------------------ @%:@@%:@ 4977_ASBOX 4978 ) | 4979 sed "s/^/$as_me: WARNING: /" >&2 4980 ;; 4981esac 4982echo "$as_me:$LINENO: checking for $ac_header" >&5 4983echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4984if eval "test \"\${$as_ac_Header+set}\" = set"; then 4985 echo $ECHO_N "(cached) $ECHO_C" >&6 4986else 4987 eval "$as_ac_Header=\$ac_header_preproc" 4988fi 4989echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4990echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4991 4992fi 4993if test `eval echo '${'$as_ac_Header'}'` = yes; then 4994 cat >>confdefs.h <<_ACEOF 4995@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4996_ACEOF 4997 4998fi 4999 5000done 5001 5002 5003 5004 5005 5006 5007 5008 5009for ac_header in strstream.h strstrea.h fstream iostream iomanip strstream sstream 5010do 5011as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5012if eval "test \"\${$as_ac_Header+set}\" = set"; then 5013 echo "$as_me:$LINENO: checking for $ac_header" >&5 5014echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5015if eval "test \"\${$as_ac_Header+set}\" = set"; then 5016 echo $ECHO_N "(cached) $ECHO_C" >&6 5017fi 5018echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5019echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5020else 5021 # Is the header compilable? 5022echo "$as_me:$LINENO: checking $ac_header usability" >&5 5023echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5024cat >conftest.$ac_ext <<_ACEOF 5025/* confdefs.h. */ 5026_ACEOF 5027cat confdefs.h >>conftest.$ac_ext 5028cat >>conftest.$ac_ext <<_ACEOF 5029/* end confdefs.h. */ 5030$ac_includes_default 5031@%:@include <$ac_header> 5032_ACEOF 5033rm -f conftest.$ac_objext 5034if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5035 (eval $ac_compile) 2>conftest.er1 5036 ac_status=$? 5037 grep -v '^ *+' conftest.er1 >conftest.err 5038 rm -f conftest.er1 5039 cat conftest.err >&5 5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5041 (exit $ac_status); } && 5042 { ac_try='test -z "$ac_cxx_werror_flag" 5043 || test ! -s conftest.err' 5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5045 (eval $ac_try) 2>&5 5046 ac_status=$? 5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5048 (exit $ac_status); }; } && 5049 { ac_try='test -s conftest.$ac_objext' 5050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5051 (eval $ac_try) 2>&5 5052 ac_status=$? 5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5054 (exit $ac_status); }; }; then 5055 ac_header_compiler=yes 5056else 5057 echo "$as_me: failed program was:" >&5 5058sed 's/^/| /' conftest.$ac_ext >&5 5059 5060ac_header_compiler=no 5061fi 5062rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5063echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5064echo "${ECHO_T}$ac_header_compiler" >&6 5065 5066# Is the header present? 5067echo "$as_me:$LINENO: checking $ac_header presence" >&5 5068echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5069cat >conftest.$ac_ext <<_ACEOF 5070/* confdefs.h. */ 5071_ACEOF 5072cat confdefs.h >>conftest.$ac_ext 5073cat >>conftest.$ac_ext <<_ACEOF 5074/* end confdefs.h. */ 5075@%:@include <$ac_header> 5076_ACEOF 5077if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5078 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5079 ac_status=$? 5080 grep -v '^ *+' conftest.er1 >conftest.err 5081 rm -f conftest.er1 5082 cat conftest.err >&5 5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5084 (exit $ac_status); } >/dev/null; then 5085 if test -s conftest.err; then 5086 ac_cpp_err=$ac_cxx_preproc_warn_flag 5087 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 5088 else 5089 ac_cpp_err= 5090 fi 5091else 5092 ac_cpp_err=yes 5093fi 5094if test -z "$ac_cpp_err"; then 5095 ac_header_preproc=yes 5096else 5097 echo "$as_me: failed program was:" >&5 5098sed 's/^/| /' conftest.$ac_ext >&5 5099 5100 ac_header_preproc=no 5101fi 5102rm -f conftest.err conftest.$ac_ext 5103echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5104echo "${ECHO_T}$ac_header_preproc" >&6 5105 5106# So? What about this header? 5107case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5108 yes:no: ) 5109 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5110echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5112echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5113 ac_header_preproc=yes 5114 ;; 5115 no:yes:* ) 5116 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5117echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5118 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5119echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5120 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5121echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5122 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5123echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5125echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5126 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5127echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5128 ( 5129 cat <<\_ASBOX 5130@%:@@%:@ ------------------------------------------ @%:@@%:@ 5131@%:@@%:@ Report this to the AC_PACKAGE_NAME lists. @%:@@%:@ 5132@%:@@%:@ ------------------------------------------ @%:@@%:@ 5133_ASBOX 5134 ) | 5135 sed "s/^/$as_me: WARNING: /" >&2 5136 ;; 5137esac 5138echo "$as_me:$LINENO: checking for $ac_header" >&5 5139echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5140if eval "test \"\${$as_ac_Header+set}\" = set"; then 5141 echo $ECHO_N "(cached) $ECHO_C" >&6 5142else 5143 eval "$as_ac_Header=\$ac_header_preproc" 5144fi 5145echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5146echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5147 5148fi 5149if test `eval echo '${'$as_ac_Header'}'` = yes; then 5150 cat >>confdefs.h <<_ACEOF 5151@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5152_ACEOF 5153 5154fi 5155 5156done 5157 5158 5159echo "$as_me:$LINENO: checking whether standard member ios::binary is available" >&5 5160echo $ECHO_N "checking whether standard member ios::binary is available... $ECHO_C" >&6 5161if test "${sid_cv_have_ios_binary+set}" = set; then 5162 echo $ECHO_N "(cached) $ECHO_C" >&6 5163else 5164 5165 cat >conftest.$ac_ext <<_ACEOF 5166/* confdefs.h. */ 5167_ACEOF 5168cat confdefs.h >>conftest.$ac_ext 5169cat >>conftest.$ac_ext <<_ACEOF 5170/* end confdefs.h. */ 5171#include <fstream.h> 5172int 5173main () 5174{ 5175ifstream myTest("test",std::ios::binary); 5176 ; 5177 return 0; 5178} 5179_ACEOF 5180rm -f conftest.$ac_objext 5181if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5182 (eval $ac_compile) 2>conftest.er1 5183 ac_status=$? 5184 grep -v '^ *+' conftest.er1 >conftest.err 5185 rm -f conftest.er1 5186 cat conftest.err >&5 5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5188 (exit $ac_status); } && 5189 { ac_try='test -z "$ac_cxx_werror_flag" 5190 || test ! -s conftest.err' 5191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5192 (eval $ac_try) 2>&5 5193 ac_status=$? 5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5195 (exit $ac_status); }; } && 5196 { ac_try='test -s conftest.$ac_objext' 5197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5198 (eval $ac_try) 2>&5 5199 ac_status=$? 5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5201 (exit $ac_status); }; }; then 5202 sid_cv_have_ios_binary=yes 5203else 5204 echo "$as_me: failed program was:" >&5 5205sed 's/^/| /' conftest.$ac_ext >&5 5206 5207sid_cv_have_ios_binary=no 5208 5209fi 5210rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5211 5212fi 5213 5214echo "$as_me:$LINENO: result: $sid_cv_have_ios_binary" >&5 5215echo "${ECHO_T}$sid_cv_have_ios_binary" >&6 5216if test "$sid_cv_have_ios_binary" = no; then 5217 cat >>confdefs.h <<\_ACEOF 5218@%:@define HAVE_IOS_BIN 1 5219_ACEOF 5220 5221fi 5222 5223# AC_CHECK_LIB(m,main,[LIBM=-lm],) dnl For FreeBSD. 5224# AC_SUBST(LIBM) 5225echo "$as_me:$LINENO: checking for main in -liostream" >&5 5226echo $ECHO_N "checking for main in -liostream... $ECHO_C" >&6 5227if test "${ac_cv_lib_iostream_main+set}" = set; then 5228 echo $ECHO_N "(cached) $ECHO_C" >&6 5229else 5230 ac_check_lib_save_LIBS=$LIBS 5231LIBS="-liostream $LIBS" 5232cat >conftest.$ac_ext <<_ACEOF 5233/* confdefs.h. */ 5234_ACEOF 5235cat confdefs.h >>conftest.$ac_ext 5236cat >>conftest.$ac_ext <<_ACEOF 5237/* end confdefs.h. */ 5238 5239 5240int 5241main () 5242{ 5243main (); 5244 ; 5245 return 0; 5246} 5247_ACEOF 5248rm -f conftest.$ac_objext conftest$ac_exeext 5249if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5250 (eval $ac_link) 2>conftest.er1 5251 ac_status=$? 5252 grep -v '^ *+' conftest.er1 >conftest.err 5253 rm -f conftest.er1 5254 cat conftest.err >&5 5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5256 (exit $ac_status); } && 5257 { ac_try='test -z "$ac_cxx_werror_flag" 5258 || test ! -s conftest.err' 5259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5260 (eval $ac_try) 2>&5 5261 ac_status=$? 5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5263 (exit $ac_status); }; } && 5264 { ac_try='test -s conftest$ac_exeext' 5265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5266 (eval $ac_try) 2>&5 5267 ac_status=$? 5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5269 (exit $ac_status); }; }; then 5270 ac_cv_lib_iostream_main=yes 5271else 5272 echo "$as_me: failed program was:" >&5 5273sed 's/^/| /' conftest.$ac_ext >&5 5274 5275ac_cv_lib_iostream_main=no 5276fi 5277rm -f conftest.err conftest.$ac_objext \ 5278 conftest$ac_exeext conftest.$ac_ext 5279LIBS=$ac_check_lib_save_LIBS 5280fi 5281echo "$as_me:$LINENO: result: $ac_cv_lib_iostream_main" >&5 5282echo "${ECHO_T}$ac_cv_lib_iostream_main" >&6 5283if test $ac_cv_lib_iostream_main = yes; then 5284 LIBIOS=-liostream 5285fi 5286 5287 5288# Extract the first word of "gmake", so it can be a program name with args. 5289set dummy gmake; ac_word=$2 5290echo "$as_me:$LINENO: checking for $ac_word" >&5 5291echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5292if test "${ac_cv_prog_MAKE+set}" = set; then 5293 echo $ECHO_N "(cached) $ECHO_C" >&6 5294else 5295 if test -n "$MAKE"; then 5296 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. 5297else 5298as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5299for as_dir in $PATH 5300do 5301 IFS=$as_save_IFS 5302 test -z "$as_dir" && as_dir=. 5303 for ac_exec_ext in '' $ac_executable_extensions; do 5304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5305 ac_cv_prog_MAKE="gmake" 5306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5307 break 2 5308 fi 5309done 5310done 5311 5312 test -z "$ac_cv_prog_MAKE" && ac_cv_prog_MAKE="make" 5313fi 5314fi 5315MAKE=$ac_cv_prog_MAKE 5316if test -n "$MAKE"; then 5317 echo "$as_me:$LINENO: result: $MAKE" >&5 5318echo "${ECHO_T}$MAKE" >&6 5319else 5320 echo "$as_me:$LINENO: result: no" >&5 5321echo "${ECHO_T}no" >&6 5322fi 5323 5324if test "$MAKE" = "make"; then 5325 # Extract the first word of "gnumake", so it can be a program name with args. 5326set dummy gnumake; ac_word=$2 5327echo "$as_me:$LINENO: checking for $ac_word" >&5 5328echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5329if test "${ac_cv_prog_MAKE2+set}" = set; then 5330 echo $ECHO_N "(cached) $ECHO_C" >&6 5331else 5332 if test -n "$MAKE2"; then 5333 ac_cv_prog_MAKE2="$MAKE2" # Let the user override the test. 5334else 5335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5336for as_dir in $PATH 5337do 5338 IFS=$as_save_IFS 5339 test -z "$as_dir" && as_dir=. 5340 for ac_exec_ext in '' $ac_executable_extensions; do 5341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5342 ac_cv_prog_MAKE2="gnumake" 5343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5344 break 2 5345 fi 5346done 5347done 5348 5349 test -z "$ac_cv_prog_MAKE2" && ac_cv_prog_MAKE2="make" 5350fi 5351fi 5352MAKE2=$ac_cv_prog_MAKE2 5353if test -n "$MAKE2"; then 5354 echo "$as_me:$LINENO: result: $MAKE2" >&5 5355echo "${ECHO_T}$MAKE2" >&6 5356else 5357 echo "$as_me:$LINENO: result: no" >&5 5358echo "${ECHO_T}no" >&6 5359fi 5360 5361 MAKE=$MAKE2 5362fi; 5363 5364 5365# Extract the first word of "makedepend", so it can be a program name with args. 5366set dummy makedepend; ac_word=$2 5367echo "$as_me:$LINENO: checking for $ac_word" >&5 5368echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5369if test "${ac_cv_prog_MAKEDEP+set}" = set; then 5370 echo $ECHO_N "(cached) $ECHO_C" >&6 5371else 5372 if test -n "$MAKEDEP"; then 5373 ac_cv_prog_MAKEDEP="$MAKEDEP" # Let the user override the test. 5374else 5375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5376for as_dir in $PATH 5377do 5378 IFS=$as_save_IFS 5379 test -z "$as_dir" && as_dir=. 5380 for ac_exec_ext in '' $ac_executable_extensions; do 5381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5382 ac_cv_prog_MAKEDEP="makedepend" 5383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5384 break 2 5385 fi 5386done 5387done 5388 5389 test -z "$ac_cv_prog_MAKEDEP" && ac_cv_prog_MAKEDEP="nomakedep" 5390fi 5391fi 5392MAKEDEP=$ac_cv_prog_MAKEDEP 5393if test -n "$MAKEDEP"; then 5394 echo "$as_me:$LINENO: result: $MAKEDEP" >&5 5395echo "${ECHO_T}$MAKEDEP" >&6 5396else 5397 echo "$as_me:$LINENO: result: no" >&5 5398echo "${ECHO_T}no" >&6 5399fi 5400 5401if test "$MAKEDEP" = "nomakedep"; then 5402 { { echo "$as_me:$LINENO: error: No \`\`makedepend'' found." >&5 5403echo "$as_me: error: No \`\`makedepend'' found." >&2;} 5404 { (exit 1); exit 1; }; } 5405fi; 5406 5407 5408# Extract the first word of "cp", so it can be a program name with args. 5409set dummy cp; ac_word=$2 5410echo "$as_me:$LINENO: checking for $ac_word" >&5 5411echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5412if test "${ac_cv_path_CP+set}" = set; then 5413 echo $ECHO_N "(cached) $ECHO_C" >&6 5414else 5415 case $CP in 5416 [\\/]* | ?:[\\/]*) 5417 ac_cv_path_CP="$CP" # Let the user override the test with a path. 5418 ;; 5419 *) 5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5421for as_dir in $PATH 5422do 5423 IFS=$as_save_IFS 5424 test -z "$as_dir" && as_dir=. 5425 for ac_exec_ext in '' $ac_executable_extensions; do 5426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5427 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" 5428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5429 break 2 5430 fi 5431done 5432done 5433 5434 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp" 5435 ;; 5436esac 5437fi 5438CP=$ac_cv_path_CP 5439 5440if test -n "$CP"; then 5441 echo "$as_me:$LINENO: result: $CP" >&5 5442echo "${ECHO_T}$CP" >&6 5443else 5444 echo "$as_me:$LINENO: result: no" >&5 5445echo "${ECHO_T}no" >&6 5446fi 5447 5448# Extract the first word of "rm", so it can be a program name with args. 5449set dummy rm; ac_word=$2 5450echo "$as_me:$LINENO: checking for $ac_word" >&5 5451echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5452if test "${ac_cv_path_RM+set}" = set; then 5453 echo $ECHO_N "(cached) $ECHO_C" >&6 5454else 5455 case $RM in 5456 [\\/]* | ?:[\\/]*) 5457 ac_cv_path_RM="$RM" # Let the user override the test with a path. 5458 ;; 5459 *) 5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5461for as_dir in $PATH 5462do 5463 IFS=$as_save_IFS 5464 test -z "$as_dir" && as_dir=. 5465 for ac_exec_ext in '' $ac_executable_extensions; do 5466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5467 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" 5468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5469 break 2 5470 fi 5471done 5472done 5473 5474 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm" 5475 ;; 5476esac 5477fi 5478RM=$ac_cv_path_RM 5479 5480if test -n "$RM"; then 5481 echo "$as_me:$LINENO: result: $RM" >&5 5482echo "${ECHO_T}$RM" >&6 5483else 5484 echo "$as_me:$LINENO: result: no" >&5 5485echo "${ECHO_T}no" >&6 5486fi 5487 5488echo "$as_me:$LINENO: checking whether ln -s works" >&5 5489echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 5490LN_S=$as_ln_s 5491if test "$LN_S" = "ln -s"; then 5492 echo "$as_me:$LINENO: result: yes" >&5 5493echo "${ECHO_T}yes" >&6 5494else 5495 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 5496echo "${ECHO_T}no, using $LN_S" >&6 5497fi 5498 5499# Find a good install program. We prefer a C program (faster), 5500# so one script is as good as another. But avoid the broken or 5501# incompatible versions: 5502# SysV /etc/install, /usr/sbin/install 5503# SunOS /usr/etc/install 5504# IRIX /sbin/install 5505# AIX /bin/install 5506# AmigaOS /C/install, which installs bootblocks on floppy discs 5507# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 5508# AFS /usr/afsws/bin/install, which mishandles nonexistent args 5509# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 5510# OS/2's system install, which has a completely different semantic 5511# ./install, which can be erroneously created by make from ./install.sh. 5512echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 5513echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 5514if test -z "$INSTALL"; then 5515if test "${ac_cv_path_install+set}" = set; then 5516 echo $ECHO_N "(cached) $ECHO_C" >&6 5517else 5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5519for as_dir in $PATH 5520do 5521 IFS=$as_save_IFS 5522 test -z "$as_dir" && as_dir=. 5523 # Account for people who put trailing slashes in PATH elements. 5524case $as_dir/ in 5525 ./ | .// | /cC/* | \ 5526 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 5527 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 5528 /usr/ucb/* ) ;; 5529 *) 5530 # OSF1 and SCO ODT 3.0 have their own names for install. 5531 # Don't use installbsd from OSF since it installs stuff as root 5532 # by default. 5533 for ac_prog in ginstall scoinst install; do 5534 for ac_exec_ext in '' $ac_executable_extensions; do 5535 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 5536 if test $ac_prog = install && 5537 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 5538 # AIX install. It has an incompatible calling convention. 5539 : 5540 elif test $ac_prog = install && 5541 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 5542 # program-specific install script used by HP pwplus--don't use. 5543 : 5544 else 5545 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 5546 break 3 5547 fi 5548 fi 5549 done 5550 done 5551 ;; 5552esac 5553done 5554 5555 5556fi 5557 if test "${ac_cv_path_install+set}" = set; then 5558 INSTALL=$ac_cv_path_install 5559 else 5560 # As a last resort, use the slow shell script. We don't cache a 5561 # path for INSTALL within a source directory, because that will 5562 # break other packages using the cache if that directory is 5563 # removed, or if the path is relative. 5564 INSTALL=$ac_install_sh 5565 fi 5566fi 5567echo "$as_me:$LINENO: result: $INSTALL" >&5 5568echo "${ECHO_T}$INSTALL" >&6 5569 5570# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 5571# It thinks the first close brace ends the variable substitution. 5572test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 5573 5574test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 5575 5576test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 5577 5578 5579 ac_config_files="$ac_config_files src/Makefile Makefile" 5580cat >confcache <<\_ACEOF 5581# This file is a shell script that caches the results of configure 5582# tests run on this system so they can be shared between configure 5583# scripts and configure runs, see configure's option --config-cache. 5584# It is not useful on other systems. If it contains results you don't 5585# want to keep, you may remove or edit it. 5586# 5587# config.status only pays attention to the cache file if you give it 5588# the --recheck option to rerun configure. 5589# 5590# `ac_cv_env_foo' variables (set or unset) will be overridden when 5591# loading this file, other *unset* `ac_cv_foo' will be assigned the 5592# following values. 5593 5594_ACEOF 5595 5596# The following way of writing the cache mishandles newlines in values, 5597# but we know of no workaround that is simple, portable, and efficient. 5598# So, don't put newlines in cache variables' values. 5599# Ultrix sh set writes to stderr and can't be redirected directly, 5600# and sets the high bit in the cache file unless we assign to the vars. 5601{ 5602 (set) 2>&1 | 5603 case `(ac_space=' '; set | grep ac_space) 2>&1` in 5604 *ac_space=\ *) 5605 # `set' does not quote correctly, so add quotes (double-quote 5606 # substitution turns \\\\ into \\, and sed turns \\ into \). 5607 sed -n \ 5608 "s/'/'\\\\''/g; 5609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5610 ;; 5611 *) 5612 # `set' quotes correctly as required by POSIX, so do not add quotes. 5613 sed -n \ 5614 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 5615 ;; 5616 esac; 5617} | 5618 sed ' 5619 t clear 5620 : clear 5621 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5622 t end 5623 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5624 : end' >>confcache 5625if diff $cache_file confcache >/dev/null 2>&1; then :; else 5626 if test -w $cache_file; then 5627 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 5628 cat confcache >$cache_file 5629 else 5630 echo "not updating unwritable cache $cache_file" 5631 fi 5632fi 5633rm -f confcache 5634 5635test "x$prefix" = xNONE && prefix=$ac_default_prefix 5636# Let make expand exec_prefix. 5637test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5638 5639# VPATH may cause trouble with some makes, so we remove $(srcdir), 5640# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 5641# trailing colons and then remove the whole line if VPATH becomes empty 5642# (actually we leave an empty line to preserve line numbers). 5643if test "x$srcdir" = x.; then 5644 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 5645s/:*\$(srcdir):*/:/; 5646s/:*\${srcdir}:*/:/; 5647s/:*@srcdir@:*/:/; 5648s/^\([^=]*=[ ]*\):*/\1/; 5649s/:*$//; 5650s/^[^=]*=[ ]*$//; 5651}' 5652fi 5653 5654DEFS=-DHAVE_CONFIG_H 5655 5656ac_libobjs= 5657ac_ltlibobjs= 5658for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 5659 # 1. Remove the extension, and $U if already installed. 5660 ac_i=`echo "$ac_i" | 5661 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 5662 # 2. Add them. 5663 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 5664 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 5665done 5666LIB@&t@OBJS=$ac_libobjs 5667 5668LTLIBOBJS=$ac_ltlibobjs 5669 5670 5671 5672: ${CONFIG_STATUS=./config.status} 5673ac_clean_files_save=$ac_clean_files 5674ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5675{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5676echo "$as_me: creating $CONFIG_STATUS" >&6;} 5677cat >$CONFIG_STATUS <<_ACEOF 5678#! $SHELL 5679# Generated by $as_me. 5680# Run this file to recreate the current configuration. 5681# Compiler output produced by configure, useful for debugging 5682# configure, is in config.log if it exists. 5683 5684debug=false 5685ac_cs_recheck=false 5686ac_cs_silent=false 5687SHELL=\${CONFIG_SHELL-$SHELL} 5688_ACEOF 5689 5690cat >>$CONFIG_STATUS <<\_ACEOF 5691## --------------------- ## 5692## M4sh Initialization. ## 5693## --------------------- ## 5694 5695# Be Bourne compatible 5696if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5697 emulate sh 5698 NULLCMD=: 5699 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 5700 # is contrary to our usage. Disable this feature. 5701 alias -g '${1+"$@"}'='"$@"' 5702elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 5703 set -o posix 5704fi 5705DUALCASE=1; export DUALCASE # for MKS sh 5706 5707# Support unset when possible. 5708if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5709 as_unset=unset 5710else 5711 as_unset=false 5712fi 5713 5714 5715# Work around bugs in pre-3.0 UWIN ksh. 5716$as_unset ENV MAIL MAILPATH 5717PS1='$ ' 5718PS2='> ' 5719PS4='+ ' 5720 5721# NLS nuisances. 5722for as_var in \ 5723 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5724 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5725 LC_TELEPHONE LC_TIME 5726do 5727 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5728 eval $as_var=C; export $as_var 5729 else 5730 $as_unset $as_var 5731 fi 5732done 5733 5734# Required to use basename. 5735if expr a : '\(a\)' >/dev/null 2>&1; then 5736 as_expr=expr 5737else 5738 as_expr=false 5739fi 5740 5741if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 5742 as_basename=basename 5743else 5744 as_basename=false 5745fi 5746 5747 5748# Name of the executable. 5749as_me=`$as_basename "$0" || 5750$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5751 X"$0" : 'X\(//\)$' \| \ 5752 X"$0" : 'X\(/\)$' \| \ 5753 . : '\(.\)' 2>/dev/null || 5754echo X/"$0" | 5755 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 5756 /^X\/\(\/\/\)$/{ s//\1/; q; } 5757 /^X\/\(\/\).*/{ s//\1/; q; } 5758 s/.*/./; q'` 5759 5760 5761# PATH needs CR, and LINENO needs CR and PATH. 5762# Avoid depending upon Character Ranges. 5763as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5764as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5765as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5766as_cr_digits='0123456789' 5767as_cr_alnum=$as_cr_Letters$as_cr_digits 5768 5769# The user is always right. 5770if test "${PATH_SEPARATOR+set}" != set; then 5771 echo "#! /bin/sh" >conf$$.sh 5772 echo "exit 0" >>conf$$.sh 5773 chmod +x conf$$.sh 5774 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5775 PATH_SEPARATOR=';' 5776 else 5777 PATH_SEPARATOR=: 5778 fi 5779 rm -f conf$$.sh 5780fi 5781 5782 5783 as_lineno_1=$LINENO 5784 as_lineno_2=$LINENO 5785 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5786 test "x$as_lineno_1" != "x$as_lineno_2" && 5787 test "x$as_lineno_3" = "x$as_lineno_2" || { 5788 # Find who we are. Look in the path if we contain no path at all 5789 # relative or not. 5790 case $0 in 5791 *[\\/]* ) as_myself=$0 ;; 5792 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5793for as_dir in $PATH 5794do 5795 IFS=$as_save_IFS 5796 test -z "$as_dir" && as_dir=. 5797 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5798done 5799 5800 ;; 5801 esac 5802 # We did not find ourselves, most probably we were run as `sh COMMAND' 5803 # in which case we are not to be found in the path. 5804 if test "x$as_myself" = x; then 5805 as_myself=$0 5806 fi 5807 if test ! -f "$as_myself"; then 5808 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 5809echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 5810 { (exit 1); exit 1; }; } 5811 fi 5812 case $CONFIG_SHELL in 5813 '') 5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5815for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 5816do 5817 IFS=$as_save_IFS 5818 test -z "$as_dir" && as_dir=. 5819 for as_base in sh bash ksh sh5; do 5820 case $as_dir in 5821 /*) 5822 if ("$as_dir/$as_base" -c ' 5823 as_lineno_1=$LINENO 5824 as_lineno_2=$LINENO 5825 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5826 test "x$as_lineno_1" != "x$as_lineno_2" && 5827 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 5828 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 5829 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 5830 CONFIG_SHELL=$as_dir/$as_base 5831 export CONFIG_SHELL 5832 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 5833 fi;; 5834 esac 5835 done 5836done 5837;; 5838 esac 5839 5840 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5841 # uniformly replaced by the line number. The first 'sed' inserts a 5842 # line-number line before each line; the second 'sed' does the real 5843 # work. The second script uses 'N' to pair each line-number line 5844 # with the numbered line, and appends trailing '-' during 5845 # substitution so that $LINENO is not a special case at line end. 5846 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5847 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 5848 sed '=' <$as_myself | 5849 sed ' 5850 N 5851 s,$,-, 5852 : loop 5853 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 5854 t loop 5855 s,-$,, 5856 s,^['$as_cr_digits']*\n,, 5857 ' >$as_me.lineno && 5858 chmod +x $as_me.lineno || 5859 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 5860echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 5861 { (exit 1); exit 1; }; } 5862 5863 # Don't try to exec as it changes $[0], causing all sort of problems 5864 # (the dirname of $[0] is not the place where we might find the 5865 # original and so on. Autoconf is especially sensible to this). 5866 . ./$as_me.lineno 5867 # Exit status is that of the last command. 5868 exit 5869} 5870 5871 5872case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 5873 *c*,-n*) ECHO_N= ECHO_C=' 5874' ECHO_T=' ' ;; 5875 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 5876 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 5877esac 5878 5879if expr a : '\(a\)' >/dev/null 2>&1; then 5880 as_expr=expr 5881else 5882 as_expr=false 5883fi 5884 5885rm -f conf$$ conf$$.exe conf$$.file 5886echo >conf$$.file 5887if ln -s conf$$.file conf$$ 2>/dev/null; then 5888 # We could just check for DJGPP; but this test a) works b) is more generic 5889 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 5890 if test -f conf$$.exe; then 5891 # Don't use ln at all; we don't have any links 5892 as_ln_s='cp -p' 5893 else 5894 as_ln_s='ln -s' 5895 fi 5896elif ln conf$$.file conf$$ 2>/dev/null; then 5897 as_ln_s=ln 5898else 5899 as_ln_s='cp -p' 5900fi 5901rm -f conf$$ conf$$.exe conf$$.file 5902 5903if mkdir -p . 2>/dev/null; then 5904 as_mkdir_p=: 5905else 5906 test -d ./-p && rmdir ./-p 5907 as_mkdir_p=false 5908fi 5909 5910as_executable_p="test -f" 5911 5912# Sed expression to map a string onto a valid CPP name. 5913as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5914 5915# Sed expression to map a string onto a valid variable name. 5916as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5917 5918 5919# IFS 5920# We need space, tab and new line, in precisely that order. 5921as_nl=' 5922' 5923IFS=" $as_nl" 5924 5925# CDPATH. 5926$as_unset CDPATH 5927 5928exec 6>&1 5929 5930# Open the log real soon, to keep \$[0] and so on meaningful, and to 5931# report actual input values of CONFIG_FILES etc. instead of their 5932# values after options handling. Logging --version etc. is OK. 5933exec 5>>config.log 5934{ 5935 echo 5936 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 5937@%:@@%:@ Running $as_me. @%:@@%:@ 5938_ASBOX 5939} >&5 5940cat >&5 <<_CSEOF 5941 5942This file was extended by $as_me, which was 5943generated by GNU Autoconf 2.59. Invocation command line was 5944 5945 CONFIG_FILES = $CONFIG_FILES 5946 CONFIG_HEADERS = $CONFIG_HEADERS 5947 CONFIG_LINKS = $CONFIG_LINKS 5948 CONFIG_COMMANDS = $CONFIG_COMMANDS 5949 $ $0 $@ 5950 5951_CSEOF 5952echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 5953echo >&5 5954_ACEOF 5955 5956# Files that config.status was made for. 5957if test -n "$ac_config_files"; then 5958 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 5959fi 5960 5961if test -n "$ac_config_headers"; then 5962 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 5963fi 5964 5965if test -n "$ac_config_links"; then 5966 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 5967fi 5968 5969if test -n "$ac_config_commands"; then 5970 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 5971fi 5972 5973cat >>$CONFIG_STATUS <<\_ACEOF 5974 5975ac_cs_usage="\ 5976\`$as_me' instantiates files from templates according to the 5977current configuration. 5978 5979Usage: $0 [OPTIONS] [FILE]... 5980 5981 -h, --help print this help, then exit 5982 -V, --version print version number, then exit 5983 -q, --quiet do not print progress messages 5984 -d, --debug don't remove temporary files 5985 --recheck update $as_me by reconfiguring in the same conditions 5986 --file=FILE[:TEMPLATE] 5987 instantiate the configuration file FILE 5988 --header=FILE[:TEMPLATE] 5989 instantiate the configuration header FILE 5990 5991Configuration files: 5992$config_files 5993 5994Configuration headers: 5995$config_headers 5996 5997Report bugs to <bug-autoconf@gnu.org>." 5998_ACEOF 5999 6000cat >>$CONFIG_STATUS <<_ACEOF 6001ac_cs_version="\\ 6002config.status 6003configured by $0, generated by GNU Autoconf 2.59, 6004 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 6005 6006Copyright (C) 2003 Free Software Foundation, Inc. 6007This config.status script is free software; the Free Software Foundation 6008gives unlimited permission to copy, distribute and modify it." 6009srcdir=$srcdir 6010INSTALL="$INSTALL" 6011_ACEOF 6012 6013cat >>$CONFIG_STATUS <<\_ACEOF 6014# If no file are specified by the user, then we need to provide default 6015# value. By we need to know if files were specified by the user. 6016ac_need_defaults=: 6017while test $# != 0 6018do 6019 case $1 in 6020 --*=*) 6021 ac_option=`expr "x$1" : 'x\([^=]*\)='` 6022 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 6023 ac_shift=: 6024 ;; 6025 -*) 6026 ac_option=$1 6027 ac_optarg=$2 6028 ac_shift=shift 6029 ;; 6030 *) # This is not an option, so the user has probably given explicit 6031 # arguments. 6032 ac_option=$1 6033 ac_need_defaults=false;; 6034 esac 6035 6036 case $ac_option in 6037 # Handling of the options. 6038_ACEOF 6039cat >>$CONFIG_STATUS <<\_ACEOF 6040 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6041 ac_cs_recheck=: ;; 6042 --version | --vers* | -V ) 6043 echo "$ac_cs_version"; exit 0 ;; 6044 --he | --h) 6045 # Conflict between --help and --header 6046 { { echo "$as_me:$LINENO: error: ambiguous option: $1 6047Try \`$0 --help' for more information." >&5 6048echo "$as_me: error: ambiguous option: $1 6049Try \`$0 --help' for more information." >&2;} 6050 { (exit 1); exit 1; }; };; 6051 --help | --hel | -h ) 6052 echo "$ac_cs_usage"; exit 0 ;; 6053 --debug | --d* | -d ) 6054 debug=: ;; 6055 --file | --fil | --fi | --f ) 6056 $ac_shift 6057 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 6058 ac_need_defaults=false;; 6059 --header | --heade | --head | --hea ) 6060 $ac_shift 6061 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 6062 ac_need_defaults=false;; 6063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6064 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6065 ac_cs_silent=: ;; 6066 6067 # This is an error. 6068 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 6069Try \`$0 --help' for more information." >&5 6070echo "$as_me: error: unrecognized option: $1 6071Try \`$0 --help' for more information." >&2;} 6072 { (exit 1); exit 1; }; } ;; 6073 6074 *) ac_config_targets="$ac_config_targets $1" ;; 6075 6076 esac 6077 shift 6078done 6079 6080ac_configure_extra_args= 6081 6082if $ac_cs_silent; then 6083 exec 6>/dev/null 6084 ac_configure_extra_args="$ac_configure_extra_args --silent" 6085fi 6086 6087_ACEOF 6088cat >>$CONFIG_STATUS <<_ACEOF 6089if \$ac_cs_recheck; then 6090 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 6091 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6092fi 6093 6094_ACEOF 6095 6096 6097 6098 6099 6100cat >>$CONFIG_STATUS <<\_ACEOF 6101for ac_config_target in $ac_config_targets 6102do 6103 case "$ac_config_target" in 6104 # Handling of arguments. 6105 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 6106 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6107 "src/include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;; 6108 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 6109echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 6110 { (exit 1); exit 1; }; };; 6111 esac 6112done 6113 6114# If the user did not use the arguments to specify the items to instantiate, 6115# then the envvar interface is used. Set only those that are not. 6116# We use the long form for the default assignment because of an extremely 6117# bizarre bug on SunOS 4.1.3. 6118if $ac_need_defaults; then 6119 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 6120 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 6121fi 6122 6123# Have a temporary directory for convenience. Make it in the build tree 6124# simply because there is no reason to put it here, and in addition, 6125# creating and moving files from /tmp can sometimes cause problems. 6126# Create a temporary directory, and hook for its removal unless debugging. 6127$debug || 6128{ 6129 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 6130 trap '{ (exit 1); exit 1; }' 1 2 13 15 6131} 6132 6133# Create a (secure) tmp directory for tmp files. 6134 6135{ 6136 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 6137 test -n "$tmp" && test -d "$tmp" 6138} || 6139{ 6140 tmp=./confstat$$-$RANDOM 6141 (umask 077 && mkdir $tmp) 6142} || 6143{ 6144 echo "$me: cannot create a temporary directory in ." >&2 6145 { (exit 1); exit 1; } 6146} 6147 6148_ACEOF 6149 6150cat >>$CONFIG_STATUS <<_ACEOF 6151 6152# 6153# CONFIG_FILES section. 6154# 6155 6156# No need to generate the scripts if there are no CONFIG_FILES. 6157# This happens for instance when ./config.status config.h 6158if test -n "\$CONFIG_FILES"; then 6159 # Protect against being on the right side of a sed subst in config.status. 6160 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 6161 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 6162s,@SHELL@,$SHELL,;t t 6163s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 6164s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 6165s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 6166s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 6167s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 6168s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 6169s,@exec_prefix@,$exec_prefix,;t t 6170s,@prefix@,$prefix,;t t 6171s,@program_transform_name@,$program_transform_name,;t t 6172s,@bindir@,$bindir,;t t 6173s,@sbindir@,$sbindir,;t t 6174s,@libexecdir@,$libexecdir,;t t 6175s,@datadir@,$datadir,;t t 6176s,@sysconfdir@,$sysconfdir,;t t 6177s,@sharedstatedir@,$sharedstatedir,;t t 6178s,@localstatedir@,$localstatedir,;t t 6179s,@libdir@,$libdir,;t t 6180s,@includedir@,$includedir,;t t 6181s,@oldincludedir@,$oldincludedir,;t t 6182s,@infodir@,$infodir,;t t 6183s,@mandir@,$mandir,;t t 6184s,@build_alias@,$build_alias,;t t 6185s,@host_alias@,$host_alias,;t t 6186s,@target_alias@,$target_alias,;t t 6187s,@DEFS@,$DEFS,;t t 6188s,@ECHO_C@,$ECHO_C,;t t 6189s,@ECHO_N@,$ECHO_N,;t t 6190s,@ECHO_T@,$ECHO_T,;t t 6191s,@LIBS@,$LIBS,;t t 6192s,@build@,$build,;t t 6193s,@build_cpu@,$build_cpu,;t t 6194s,@build_vendor@,$build_vendor,;t t 6195s,@build_os@,$build_os,;t t 6196s,@host@,$host,;t t 6197s,@host_cpu@,$host_cpu,;t t 6198s,@host_vendor@,$host_vendor,;t t 6199s,@host_os@,$host_os,;t t 6200s,@target@,$target,;t t 6201s,@target_cpu@,$target_cpu,;t t 6202s,@target_vendor@,$target_vendor,;t t 6203s,@target_os@,$target_os,;t t 6204s,@CXX@,$CXX,;t t 6205s,@CXXFLAGS@,$CXXFLAGS,;t t 6206s,@LDFLAGS@,$LDFLAGS,;t t 6207s,@CPPFLAGS@,$CPPFLAGS,;t t 6208s,@ac_ct_CXX@,$ac_ct_CXX,;t t 6209s,@EXEEXT@,$EXEEXT,;t t 6210s,@OBJEXT@,$OBJEXT,;t t 6211s,@CC@,$CC,;t t 6212s,@CFLAGS@,$CFLAGS,;t t 6213s,@ac_ct_CC@,$ac_ct_CC,;t t 6214s,@CPP@,$CPP,;t t 6215s,@CXXCPP@,$CXXCPP,;t t 6216s,@EGREP@,$EGREP,;t t 6217s,@LIBIOS@,$LIBIOS,;t t 6218s,@MAKE@,$MAKE,;t t 6219s,@MAKE2@,$MAKE2,;t t 6220s,@MAKEDEP@,$MAKEDEP,;t t 6221s,@CP@,$CP,;t t 6222s,@RM@,$RM,;t t 6223s,@LN_S@,$LN_S,;t t 6224s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 6225s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 6226s,@INSTALL_DATA@,$INSTALL_DATA,;t t 6227s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t 6228s,@LTLIBOBJS@,$LTLIBOBJS,;t t 6229CEOF 6230 6231_ACEOF 6232 6233 cat >>$CONFIG_STATUS <<\_ACEOF 6234 # Split the substitutions into bite-sized pieces for seds with 6235 # small command number limits, like on Digital OSF/1 and HP-UX. 6236 ac_max_sed_lines=48 6237 ac_sed_frag=1 # Number of current file. 6238 ac_beg=1 # First line for current file. 6239 ac_end=$ac_max_sed_lines # Line after last line for current file. 6240 ac_more_lines=: 6241 ac_sed_cmds= 6242 while $ac_more_lines; do 6243 if test $ac_beg -gt 1; then 6244 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 6245 else 6246 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 6247 fi 6248 if test ! -s $tmp/subs.frag; then 6249 ac_more_lines=false 6250 else 6251 # The purpose of the label and of the branching condition is to 6252 # speed up the sed processing (if there are no `@' at all, there 6253 # is no need to browse any of the substitutions). 6254 # These are the two extra sed commands mentioned above. 6255 (echo ':t 6256 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 6257 if test -z "$ac_sed_cmds"; then 6258 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 6259 else 6260 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 6261 fi 6262 ac_sed_frag=`expr $ac_sed_frag + 1` 6263 ac_beg=$ac_end 6264 ac_end=`expr $ac_end + $ac_max_sed_lines` 6265 fi 6266 done 6267 if test -z "$ac_sed_cmds"; then 6268 ac_sed_cmds=cat 6269 fi 6270fi # test -n "$CONFIG_FILES" 6271 6272_ACEOF 6273cat >>$CONFIG_STATUS <<\_ACEOF 6274for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 6275 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 6276 case $ac_file in 6277 - | *:- | *:-:* ) # input from stdin 6278 cat >$tmp/stdin 6279 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6280 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6281 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6282 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6283 * ) ac_file_in=$ac_file.in ;; 6284 esac 6285 6286 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 6287 ac_dir=`(dirname "$ac_file") 2>/dev/null || 6288$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6289 X"$ac_file" : 'X\(//\)[^/]' \| \ 6290 X"$ac_file" : 'X\(//\)$' \| \ 6291 X"$ac_file" : 'X\(/\)' \| \ 6292 . : '\(.\)' 2>/dev/null || 6293echo X"$ac_file" | 6294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6295 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6296 /^X\(\/\/\)$/{ s//\1/; q; } 6297 /^X\(\/\).*/{ s//\1/; q; } 6298 s/.*/./; q'` 6299 { if $as_mkdir_p; then 6300 mkdir -p "$ac_dir" 6301 else 6302 as_dir="$ac_dir" 6303 as_dirs= 6304 while test ! -d "$as_dir"; do 6305 as_dirs="$as_dir $as_dirs" 6306 as_dir=`(dirname "$as_dir") 2>/dev/null || 6307$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6308 X"$as_dir" : 'X\(//\)[^/]' \| \ 6309 X"$as_dir" : 'X\(//\)$' \| \ 6310 X"$as_dir" : 'X\(/\)' \| \ 6311 . : '\(.\)' 2>/dev/null || 6312echo X"$as_dir" | 6313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6314 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6315 /^X\(\/\/\)$/{ s//\1/; q; } 6316 /^X\(\/\).*/{ s//\1/; q; } 6317 s/.*/./; q'` 6318 done 6319 test ! -n "$as_dirs" || mkdir $as_dirs 6320 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 6321echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6322 { (exit 1); exit 1; }; }; } 6323 6324 ac_builddir=. 6325 6326if test "$ac_dir" != .; then 6327 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6328 # A "../" for each directory in $ac_dir_suffix. 6329 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 6330else 6331 ac_dir_suffix= ac_top_builddir= 6332fi 6333 6334case $srcdir in 6335 .) # No --srcdir option. We are building in place. 6336 ac_srcdir=. 6337 if test -z "$ac_top_builddir"; then 6338 ac_top_srcdir=. 6339 else 6340 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 6341 fi ;; 6342 [\\/]* | ?:[\\/]* ) # Absolute path. 6343 ac_srcdir=$srcdir$ac_dir_suffix; 6344 ac_top_srcdir=$srcdir ;; 6345 *) # Relative path. 6346 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 6347 ac_top_srcdir=$ac_top_builddir$srcdir ;; 6348esac 6349 6350# Do not use `cd foo && pwd` to compute absolute paths, because 6351# the directories may not exist. 6352case `pwd` in 6353.) ac_abs_builddir="$ac_dir";; 6354*) 6355 case "$ac_dir" in 6356 .) ac_abs_builddir=`pwd`;; 6357 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 6358 *) ac_abs_builddir=`pwd`/"$ac_dir";; 6359 esac;; 6360esac 6361case $ac_abs_builddir in 6362.) ac_abs_top_builddir=${ac_top_builddir}.;; 6363*) 6364 case ${ac_top_builddir}. in 6365 .) ac_abs_top_builddir=$ac_abs_builddir;; 6366 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 6367 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 6368 esac;; 6369esac 6370case $ac_abs_builddir in 6371.) ac_abs_srcdir=$ac_srcdir;; 6372*) 6373 case $ac_srcdir in 6374 .) ac_abs_srcdir=$ac_abs_builddir;; 6375 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 6376 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 6377 esac;; 6378esac 6379case $ac_abs_builddir in 6380.) ac_abs_top_srcdir=$ac_top_srcdir;; 6381*) 6382 case $ac_top_srcdir in 6383 .) ac_abs_top_srcdir=$ac_abs_builddir;; 6384 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 6385 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 6386 esac;; 6387esac 6388 6389 6390 case $INSTALL in 6391 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6392 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 6393 esac 6394 6395 if test x"$ac_file" != x-; then 6396 { echo "$as_me:$LINENO: creating $ac_file" >&5 6397echo "$as_me: creating $ac_file" >&6;} 6398 rm -f "$ac_file" 6399 fi 6400 # Let's still pretend it is `configure' which instantiates (i.e., don't 6401 # use $as_me), people would be surprised to read: 6402 # /* config.h. Generated by config.status. */ 6403 if test x"$ac_file" = x-; then 6404 configure_input= 6405 else 6406 configure_input="$ac_file. " 6407 fi 6408 configure_input=$configure_input"Generated from `echo $ac_file_in | 6409 sed 's,.*/,,'` by configure." 6410 6411 # First look for the input files in the build tree, otherwise in the 6412 # src tree. 6413 ac_file_inputs=`IFS=: 6414 for f in $ac_file_in; do 6415 case $f in 6416 -) echo $tmp/stdin ;; 6417 [\\/$]*) 6418 # Absolute (can't be DOS-style, as IFS=:) 6419 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6420echo "$as_me: error: cannot find input file: $f" >&2;} 6421 { (exit 1); exit 1; }; } 6422 echo "$f";; 6423 *) # Relative 6424 if test -f "$f"; then 6425 # Build tree 6426 echo "$f" 6427 elif test -f "$srcdir/$f"; then 6428 # Source tree 6429 echo "$srcdir/$f" 6430 else 6431 # /dev/null tree 6432 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6433echo "$as_me: error: cannot find input file: $f" >&2;} 6434 { (exit 1); exit 1; }; } 6435 fi;; 6436 esac 6437 done` || { (exit 1); exit 1; } 6438_ACEOF 6439cat >>$CONFIG_STATUS <<_ACEOF 6440 sed "$ac_vpsub 6441$extrasub 6442_ACEOF 6443cat >>$CONFIG_STATUS <<\_ACEOF 6444:t 6445/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6446s,@configure_input@,$configure_input,;t t 6447s,@srcdir@,$ac_srcdir,;t t 6448s,@abs_srcdir@,$ac_abs_srcdir,;t t 6449s,@top_srcdir@,$ac_top_srcdir,;t t 6450s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 6451s,@builddir@,$ac_builddir,;t t 6452s,@abs_builddir@,$ac_abs_builddir,;t t 6453s,@top_builddir@,$ac_top_builddir,;t t 6454s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 6455s,@INSTALL@,$ac_INSTALL,;t t 6456" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 6457 rm -f $tmp/stdin 6458 if test x"$ac_file" != x-; then 6459 mv $tmp/out $ac_file 6460 else 6461 cat $tmp/out 6462 rm -f $tmp/out 6463 fi 6464 6465done 6466_ACEOF 6467cat >>$CONFIG_STATUS <<\_ACEOF 6468 6469# 6470# CONFIG_HEADER section. 6471# 6472 6473# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 6474# NAME is the cpp macro being defined and VALUE is the value it is being given. 6475# 6476# ac_d sets the value in "#define NAME VALUE" lines. 6477ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 6478ac_dB='[ ].*$,\1#\2' 6479ac_dC=' ' 6480ac_dD=',;t' 6481# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 6482ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 6483ac_uB='$,\1#\2define\3' 6484ac_uC=' ' 6485ac_uD=',;t' 6486 6487for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 6488 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 6489 case $ac_file in 6490 - | *:- | *:-:* ) # input from stdin 6491 cat >$tmp/stdin 6492 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6493 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6494 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6495 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6496 * ) ac_file_in=$ac_file.in ;; 6497 esac 6498 6499 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 6500echo "$as_me: creating $ac_file" >&6;} 6501 6502 # First look for the input files in the build tree, otherwise in the 6503 # src tree. 6504 ac_file_inputs=`IFS=: 6505 for f in $ac_file_in; do 6506 case $f in 6507 -) echo $tmp/stdin ;; 6508 [\\/$]*) 6509 # Absolute (can't be DOS-style, as IFS=:) 6510 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6511echo "$as_me: error: cannot find input file: $f" >&2;} 6512 { (exit 1); exit 1; }; } 6513 # Do quote $f, to prevent DOS paths from being IFS'd. 6514 echo "$f";; 6515 *) # Relative 6516 if test -f "$f"; then 6517 # Build tree 6518 echo "$f" 6519 elif test -f "$srcdir/$f"; then 6520 # Source tree 6521 echo "$srcdir/$f" 6522 else 6523 # /dev/null tree 6524 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6525echo "$as_me: error: cannot find input file: $f" >&2;} 6526 { (exit 1); exit 1; }; } 6527 fi;; 6528 esac 6529 done` || { (exit 1); exit 1; } 6530 # Remove the trailing spaces. 6531 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 6532 6533_ACEOF 6534 6535# Transform confdefs.h into two sed scripts, `conftest.defines' and 6536# `conftest.undefs', that substitutes the proper values into 6537# config.h.in to produce config.h. The first handles `#define' 6538# templates, and the second `#undef' templates. 6539# And first: Protect against being on the right side of a sed subst in 6540# config.status. Protect against being in an unquoted here document 6541# in config.status. 6542rm -f conftest.defines conftest.undefs 6543# Using a here document instead of a string reduces the quoting nightmare. 6544# Putting comments in sed scripts is not portable. 6545# 6546# `end' is used to avoid that the second main sed command (meant for 6547# 0-ary CPP macros) applies to n-ary macro definitions. 6548# See the Autoconf documentation for `clear'. 6549cat >confdef2sed.sed <<\_ACEOF 6550s/[\\&,]/\\&/g 6551s,[\\$`],\\&,g 6552t clear 6553: clear 6554s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 6555t end 6556s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 6557: end 6558_ACEOF 6559# If some macros were called several times there might be several times 6560# the same #defines, which is useless. Nevertheless, we may not want to 6561# sort them, since we want the *last* AC-DEFINE to be honored. 6562uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 6563sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 6564rm -f confdef2sed.sed 6565 6566# This sed command replaces #undef with comments. This is necessary, for 6567# example, in the case of _POSIX_SOURCE, which is predefined and required 6568# on some systems where configure will not decide to define it. 6569cat >>conftest.undefs <<\_ACEOF 6570s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 6571_ACEOF 6572 6573# Break up conftest.defines because some shells have a limit on the size 6574# of here documents, and old seds have small limits too (100 cmds). 6575echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 6576echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 6577echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 6578echo ' :' >>$CONFIG_STATUS 6579rm -f conftest.tail 6580while grep . conftest.defines >/dev/null 6581do 6582 # Write a limited-size here document to $tmp/defines.sed. 6583 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 6584 # Speed up: don't consider the non `#define' lines. 6585 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 6586 # Work around the forget-to-reset-the-flag bug. 6587 echo 't clr' >>$CONFIG_STATUS 6588 echo ': clr' >>$CONFIG_STATUS 6589 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 6590 echo 'CEOF 6591 sed -f $tmp/defines.sed $tmp/in >$tmp/out 6592 rm -f $tmp/in 6593 mv $tmp/out $tmp/in 6594' >>$CONFIG_STATUS 6595 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 6596 rm -f conftest.defines 6597 mv conftest.tail conftest.defines 6598done 6599rm -f conftest.defines 6600echo ' fi # grep' >>$CONFIG_STATUS 6601echo >>$CONFIG_STATUS 6602 6603# Break up conftest.undefs because some shells have a limit on the size 6604# of here documents, and old seds have small limits too (100 cmds). 6605echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 6606rm -f conftest.tail 6607while grep . conftest.undefs >/dev/null 6608do 6609 # Write a limited-size here document to $tmp/undefs.sed. 6610 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 6611 # Speed up: don't consider the non `#undef' 6612 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 6613 # Work around the forget-to-reset-the-flag bug. 6614 echo 't clr' >>$CONFIG_STATUS 6615 echo ': clr' >>$CONFIG_STATUS 6616 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 6617 echo 'CEOF 6618 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 6619 rm -f $tmp/in 6620 mv $tmp/out $tmp/in 6621' >>$CONFIG_STATUS 6622 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 6623 rm -f conftest.undefs 6624 mv conftest.tail conftest.undefs 6625done 6626rm -f conftest.undefs 6627 6628cat >>$CONFIG_STATUS <<\_ACEOF 6629 # Let's still pretend it is `configure' which instantiates (i.e., don't 6630 # use $as_me), people would be surprised to read: 6631 # /* config.h. Generated by config.status. */ 6632 if test x"$ac_file" = x-; then 6633 echo "/* Generated by configure. */" >$tmp/config.h 6634 else 6635 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 6636 fi 6637 cat $tmp/in >>$tmp/config.h 6638 rm -f $tmp/in 6639 if test x"$ac_file" != x-; then 6640 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 6641 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6642echo "$as_me: $ac_file is unchanged" >&6;} 6643 else 6644 ac_dir=`(dirname "$ac_file") 2>/dev/null || 6645$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6646 X"$ac_file" : 'X\(//\)[^/]' \| \ 6647 X"$ac_file" : 'X\(//\)$' \| \ 6648 X"$ac_file" : 'X\(/\)' \| \ 6649 . : '\(.\)' 2>/dev/null || 6650echo X"$ac_file" | 6651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6652 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6653 /^X\(\/\/\)$/{ s//\1/; q; } 6654 /^X\(\/\).*/{ s//\1/; q; } 6655 s/.*/./; q'` 6656 { if $as_mkdir_p; then 6657 mkdir -p "$ac_dir" 6658 else 6659 as_dir="$ac_dir" 6660 as_dirs= 6661 while test ! -d "$as_dir"; do 6662 as_dirs="$as_dir $as_dirs" 6663 as_dir=`(dirname "$as_dir") 2>/dev/null || 6664$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6665 X"$as_dir" : 'X\(//\)[^/]' \| \ 6666 X"$as_dir" : 'X\(//\)$' \| \ 6667 X"$as_dir" : 'X\(/\)' \| \ 6668 . : '\(.\)' 2>/dev/null || 6669echo X"$as_dir" | 6670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6671 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6672 /^X\(\/\/\)$/{ s//\1/; q; } 6673 /^X\(\/\).*/{ s//\1/; q; } 6674 s/.*/./; q'` 6675 done 6676 test ! -n "$as_dirs" || mkdir $as_dirs 6677 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 6678echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6679 { (exit 1); exit 1; }; }; } 6680 6681 rm -f $ac_file 6682 mv $tmp/config.h $ac_file 6683 fi 6684 else 6685 cat $tmp/config.h 6686 rm -f $tmp/config.h 6687 fi 6688done 6689_ACEOF 6690 6691cat >>$CONFIG_STATUS <<\_ACEOF 6692 6693{ (exit 0); exit 0; } 6694_ACEOF 6695chmod +x $CONFIG_STATUS 6696ac_clean_files=$ac_clean_files_save 6697 6698 6699# configure is writing to config.log, and then calls config.status. 6700# config.status does its own redirection, appending to config.log. 6701# Unfortunately, on DOS this fails, as config.log is still kept open 6702# by configure, so config.status won't be able to write to it; its 6703# output is simply discarded. So we exec the FD to /dev/null, 6704# effectively closing config.log, so it can be properly (re)opened and 6705# appended to by config.status. When coming back to configure, we 6706# need to make the FD available again. 6707if test "$no_create" != yes; then 6708 ac_cs_success=: 6709 ac_config_status_args= 6710 test "$silent" = yes && 6711 ac_config_status_args="$ac_config_status_args --quiet" 6712 exec 5>/dev/null 6713 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6714 exec 5>>config.log 6715 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6716 # would make configure fail if this is the last instruction. 6717 $ac_cs_success || { (exit 1); exit 1; } 6718fi 6719 6720 6721$MAKE depend 6722