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