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="libdwarf.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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB AR ac_ct_AR build_shared build_nonshared 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_ACEOF 834fi 835 836if test -n "$ac_init_help"; then 837 838 cat <<\_ACEOF 839 840Optional Features: 841 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 842 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 843 --enable-shared build shared library libdwarf.so (default is NO) 844 --enable-nonshared build archive library libdwarf.a (default is YES) 845 846Some influential environment variables: 847 CC C compiler command 848 CFLAGS C compiler flags 849 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 850 nonstandard directory <lib dir> 851 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 852 headers in a nonstandard directory <include dir> 853 CPP C preprocessor 854 855Use these variables to override the choices made by `configure' or to help 856it to find libraries and programs with nonstandard names/locations. 857 858_ACEOF 859fi 860 861if test "$ac_init_help" = "recursive"; then 862 # If there are subdirs, report their specific --help. 863 ac_popdir=`pwd` 864 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 865 test -d $ac_dir || continue 866 ac_builddir=. 867 868if test "$ac_dir" != .; then 869 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 870 # A "../" for each directory in $ac_dir_suffix. 871 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 872else 873 ac_dir_suffix= ac_top_builddir= 874fi 875 876case $srcdir in 877 .) # No --srcdir option. We are building in place. 878 ac_srcdir=. 879 if test -z "$ac_top_builddir"; then 880 ac_top_srcdir=. 881 else 882 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 883 fi ;; 884 [\\/]* | ?:[\\/]* ) # Absolute path. 885 ac_srcdir=$srcdir$ac_dir_suffix; 886 ac_top_srcdir=$srcdir ;; 887 *) # Relative path. 888 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 889 ac_top_srcdir=$ac_top_builddir$srcdir ;; 890esac 891 892# Do not use `cd foo && pwd` to compute absolute paths, because 893# the directories may not exist. 894case `pwd` in 895.) ac_abs_builddir="$ac_dir";; 896*) 897 case "$ac_dir" in 898 .) ac_abs_builddir=`pwd`;; 899 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 900 *) ac_abs_builddir=`pwd`/"$ac_dir";; 901 esac;; 902esac 903case $ac_abs_builddir in 904.) ac_abs_top_builddir=${ac_top_builddir}.;; 905*) 906 case ${ac_top_builddir}. in 907 .) ac_abs_top_builddir=$ac_abs_builddir;; 908 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 909 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 910 esac;; 911esac 912case $ac_abs_builddir in 913.) ac_abs_srcdir=$ac_srcdir;; 914*) 915 case $ac_srcdir in 916 .) ac_abs_srcdir=$ac_abs_builddir;; 917 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 918 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 919 esac;; 920esac 921case $ac_abs_builddir in 922.) ac_abs_top_srcdir=$ac_top_srcdir;; 923*) 924 case $ac_top_srcdir in 925 .) ac_abs_top_srcdir=$ac_abs_builddir;; 926 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 927 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 928 esac;; 929esac 930 931 cd $ac_dir 932 # Check for guested configure; otherwise get Cygnus style configure. 933 if test -f $ac_srcdir/configure.gnu; then 934 echo 935 $SHELL $ac_srcdir/configure.gnu --help=recursive 936 elif test -f $ac_srcdir/configure; then 937 echo 938 $SHELL $ac_srcdir/configure --help=recursive 939 elif test -f $ac_srcdir/configure.ac || 940 test -f $ac_srcdir/configure.in; then 941 echo 942 $ac_configure --help 943 else 944 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 945 fi 946 cd $ac_popdir 947 done 948fi 949 950test -n "$ac_init_help" && exit 0 951if $ac_init_version; then 952 cat <<\_ACEOF 953 954Copyright (C) 2003 Free Software Foundation, Inc. 955This configure script is free software; the Free Software Foundation 956gives unlimited permission to copy, distribute and modify it. 957_ACEOF 958 exit 0 959fi 960exec 5>config.log 961cat >&5 <<_ACEOF 962This file contains any messages produced by compilers while 963running configure, to aid debugging if configure makes a mistake. 964 965It was created by $as_me, which was 966generated by GNU Autoconf 2.59. Invocation command line was 967 968 $ $0 $@ 969 970_ACEOF 971{ 972cat <<_ASUNAME 973## --------- ## 974## Platform. ## 975## --------- ## 976 977hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 978uname -m = `(uname -m) 2>/dev/null || echo unknown` 979uname -r = `(uname -r) 2>/dev/null || echo unknown` 980uname -s = `(uname -s) 2>/dev/null || echo unknown` 981uname -v = `(uname -v) 2>/dev/null || echo unknown` 982 983/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 984/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 985 986/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 987/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 988/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 989hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 990/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 991/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 992/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 993 994_ASUNAME 995 996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 997for as_dir in $PATH 998do 999 IFS=$as_save_IFS 1000 test -z "$as_dir" && as_dir=. 1001 echo "PATH: $as_dir" 1002done 1003 1004} >&5 1005 1006cat >&5 <<_ACEOF 1007 1008 1009## ----------- ## 1010## Core tests. ## 1011## ----------- ## 1012 1013_ACEOF 1014 1015 1016# Keep a trace of the command line. 1017# Strip out --no-create and --no-recursion so they do not pile up. 1018# Strip out --silent because we don't want to record it for future runs. 1019# Also quote any args containing shell meta-characters. 1020# Make two passes to allow for proper duplicate-argument suppression. 1021ac_configure_args= 1022ac_configure_args0= 1023ac_configure_args1= 1024ac_sep= 1025ac_must_keep_next=false 1026for ac_pass in 1 2 1027do 1028 for ac_arg 1029 do 1030 case $ac_arg in 1031 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1033 | -silent | --silent | --silen | --sile | --sil) 1034 continue ;; 1035 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1036 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1037 esac 1038 case $ac_pass in 1039 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1040 2) 1041 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1042 if test $ac_must_keep_next = true; then 1043 ac_must_keep_next=false # Got value, back to normal. 1044 else 1045 case $ac_arg in 1046 *=* | --config-cache | -C | -disable-* | --disable-* \ 1047 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1048 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1049 | -with-* | --with-* | -without-* | --without-* | --x) 1050 case "$ac_configure_args0 " in 1051 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1052 esac 1053 ;; 1054 -* ) ac_must_keep_next=true ;; 1055 esac 1056 fi 1057 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1058 # Get rid of the leading space. 1059 ac_sep=" " 1060 ;; 1061 esac 1062 done 1063done 1064$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1065$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1066 1067# When interrupted or exit'd, cleanup temporary files, and complete 1068# config.log. We remove comments because anyway the quotes in there 1069# would cause problems or look ugly. 1070# WARNING: Be sure not to use single quotes in there, as some shells, 1071# such as our DU 5.0 friend, will then `close' the trap. 1072trap 'exit_status=$? 1073 # Save into config.log some information that might help in debugging. 1074 { 1075 echo 1076 1077 cat <<\_ASBOX 1078## ---------------- ## 1079## Cache variables. ## 1080## ---------------- ## 1081_ASBOX 1082 echo 1083 # The following way of writing the cache mishandles newlines in values, 1084{ 1085 (set) 2>&1 | 1086 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1087 *ac_space=\ *) 1088 sed -n \ 1089 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1090 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1091 ;; 1092 *) 1093 sed -n \ 1094 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1095 ;; 1096 esac; 1097} 1098 echo 1099 1100 cat <<\_ASBOX 1101## ----------------- ## 1102## Output variables. ## 1103## ----------------- ## 1104_ASBOX 1105 echo 1106 for ac_var in $ac_subst_vars 1107 do 1108 eval ac_val=$`echo $ac_var` 1109 echo "$ac_var='"'"'$ac_val'"'"'" 1110 done | sort 1111 echo 1112 1113 if test -n "$ac_subst_files"; then 1114 cat <<\_ASBOX 1115## ------------- ## 1116## Output files. ## 1117## ------------- ## 1118_ASBOX 1119 echo 1120 for ac_var in $ac_subst_files 1121 do 1122 eval ac_val=$`echo $ac_var` 1123 echo "$ac_var='"'"'$ac_val'"'"'" 1124 done | sort 1125 echo 1126 fi 1127 1128 if test -s confdefs.h; then 1129 cat <<\_ASBOX 1130## ----------- ## 1131## confdefs.h. ## 1132## ----------- ## 1133_ASBOX 1134 echo 1135 sed "/^$/d" confdefs.h | sort 1136 echo 1137 fi 1138 test "$ac_signal" != 0 && 1139 echo "$as_me: caught signal $ac_signal" 1140 echo "$as_me: exit $exit_status" 1141 } >&5 1142 rm -f core *.core && 1143 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1144 exit $exit_status 1145 ' 0 1146for ac_signal in 1 2 13 15; do 1147 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1148done 1149ac_signal=0 1150 1151# confdefs.h avoids OS command line length limits that DEFS can exceed. 1152rm -rf conftest* confdefs.h 1153# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1154echo >confdefs.h 1155 1156# Predefined preprocessor variables. 1157 1158cat >>confdefs.h <<_ACEOF 1159#define PACKAGE_NAME "$PACKAGE_NAME" 1160_ACEOF 1161 1162 1163cat >>confdefs.h <<_ACEOF 1164#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1165_ACEOF 1166 1167 1168cat >>confdefs.h <<_ACEOF 1169#define PACKAGE_VERSION "$PACKAGE_VERSION" 1170_ACEOF 1171 1172 1173cat >>confdefs.h <<_ACEOF 1174#define PACKAGE_STRING "$PACKAGE_STRING" 1175_ACEOF 1176 1177 1178cat >>confdefs.h <<_ACEOF 1179#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1180_ACEOF 1181 1182 1183# Let the site file select an alternate cache file if it wants to. 1184# Prefer explicitly selected file to automatically selected ones. 1185if test -z "$CONFIG_SITE"; then 1186 if test "x$prefix" != xNONE; then 1187 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1188 else 1189 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1190 fi 1191fi 1192for ac_site_file in $CONFIG_SITE; do 1193 if test -r "$ac_site_file"; then 1194 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1195echo "$as_me: loading site script $ac_site_file" >&6;} 1196 sed 's/^/| /' "$ac_site_file" >&5 1197 . "$ac_site_file" 1198 fi 1199done 1200 1201if test -r "$cache_file"; then 1202 # Some versions of bash will fail to source /dev/null (special 1203 # files actually), so we avoid doing that. 1204 if test -f "$cache_file"; then 1205 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1206echo "$as_me: loading cache $cache_file" >&6;} 1207 case $cache_file in 1208 [\\/]* | ?:[\\/]* ) . $cache_file;; 1209 *) . ./$cache_file;; 1210 esac 1211 fi 1212else 1213 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1214echo "$as_me: creating cache $cache_file" >&6;} 1215 >$cache_file 1216fi 1217 1218# Check that the precious variables saved in the cache have kept the same 1219# value. 1220ac_cache_corrupted=false 1221for ac_var in `(set) 2>&1 | 1222 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1223 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1224 eval ac_new_set=\$ac_env_${ac_var}_set 1225 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1226 eval ac_new_val="\$ac_env_${ac_var}_value" 1227 case $ac_old_set,$ac_new_set in 1228 set,) 1229 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1230echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1231 ac_cache_corrupted=: ;; 1232 ,set) 1233 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1234echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1235 ac_cache_corrupted=: ;; 1236 ,);; 1237 *) 1238 if test "x$ac_old_val" != "x$ac_new_val"; then 1239 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1240echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1241 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1242echo "$as_me: former value: $ac_old_val" >&2;} 1243 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1244echo "$as_me: current value: $ac_new_val" >&2;} 1245 ac_cache_corrupted=: 1246 fi;; 1247 esac 1248 # Pass precious variables to config.status. 1249 if test "$ac_new_set" = set; then 1250 case $ac_new_val in 1251 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1252 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1253 *) ac_arg=$ac_var=$ac_new_val ;; 1254 esac 1255 case " $ac_configure_args " in 1256 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1257 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1258 esac 1259 fi 1260done 1261if $ac_cache_corrupted; then 1262 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1263echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1264 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1265echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1266 { (exit 1); exit 1; }; } 1267fi 1268 1269ac_ext=c 1270ac_cpp='$CPP $CPPFLAGS' 1271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1273ac_compiler_gnu=$ac_cv_c_compiler_gnu 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 ac_config_headers="$ac_config_headers config.h" 1294 1295 1296ac_ext=c 1297ac_cpp='$CPP $CPPFLAGS' 1298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1300ac_compiler_gnu=$ac_cv_c_compiler_gnu 1301if test -n "$ac_tool_prefix"; then 1302 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1303set dummy ${ac_tool_prefix}gcc; ac_word=$2 1304echo "$as_me:$LINENO: checking for $ac_word" >&5 1305echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1306if test "${ac_cv_prog_CC+set}" = set; then 1307 echo $ECHO_N "(cached) $ECHO_C" >&6 1308else 1309 if test -n "$CC"; then 1310 ac_cv_prog_CC="$CC" # Let the user override the test. 1311else 1312as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1313for as_dir in $PATH 1314do 1315 IFS=$as_save_IFS 1316 test -z "$as_dir" && as_dir=. 1317 for ac_exec_ext in '' $ac_executable_extensions; do 1318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1319 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1321 break 2 1322 fi 1323done 1324done 1325 1326fi 1327fi 1328CC=$ac_cv_prog_CC 1329if test -n "$CC"; then 1330 echo "$as_me:$LINENO: result: $CC" >&5 1331echo "${ECHO_T}$CC" >&6 1332else 1333 echo "$as_me:$LINENO: result: no" >&5 1334echo "${ECHO_T}no" >&6 1335fi 1336 1337fi 1338if test -z "$ac_cv_prog_CC"; then 1339 ac_ct_CC=$CC 1340 # Extract the first word of "gcc", so it can be a program name with args. 1341set dummy gcc; ac_word=$2 1342echo "$as_me:$LINENO: checking for $ac_word" >&5 1343echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1344if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1345 echo $ECHO_N "(cached) $ECHO_C" >&6 1346else 1347 if test -n "$ac_ct_CC"; then 1348 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1349else 1350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1351for as_dir in $PATH 1352do 1353 IFS=$as_save_IFS 1354 test -z "$as_dir" && as_dir=. 1355 for ac_exec_ext in '' $ac_executable_extensions; do 1356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1357 ac_cv_prog_ac_ct_CC="gcc" 1358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1359 break 2 1360 fi 1361done 1362done 1363 1364fi 1365fi 1366ac_ct_CC=$ac_cv_prog_ac_ct_CC 1367if test -n "$ac_ct_CC"; then 1368 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1369echo "${ECHO_T}$ac_ct_CC" >&6 1370else 1371 echo "$as_me:$LINENO: result: no" >&5 1372echo "${ECHO_T}no" >&6 1373fi 1374 1375 CC=$ac_ct_CC 1376else 1377 CC="$ac_cv_prog_CC" 1378fi 1379 1380if test -z "$CC"; then 1381 if test -n "$ac_tool_prefix"; then 1382 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1383set dummy ${ac_tool_prefix}cc; ac_word=$2 1384echo "$as_me:$LINENO: checking for $ac_word" >&5 1385echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1386if test "${ac_cv_prog_CC+set}" = set; then 1387 echo $ECHO_N "(cached) $ECHO_C" >&6 1388else 1389 if test -n "$CC"; then 1390 ac_cv_prog_CC="$CC" # Let the user override the test. 1391else 1392as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1393for as_dir in $PATH 1394do 1395 IFS=$as_save_IFS 1396 test -z "$as_dir" && as_dir=. 1397 for ac_exec_ext in '' $ac_executable_extensions; do 1398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1399 ac_cv_prog_CC="${ac_tool_prefix}cc" 1400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1401 break 2 1402 fi 1403done 1404done 1405 1406fi 1407fi 1408CC=$ac_cv_prog_CC 1409if test -n "$CC"; then 1410 echo "$as_me:$LINENO: result: $CC" >&5 1411echo "${ECHO_T}$CC" >&6 1412else 1413 echo "$as_me:$LINENO: result: no" >&5 1414echo "${ECHO_T}no" >&6 1415fi 1416 1417fi 1418if test -z "$ac_cv_prog_CC"; then 1419 ac_ct_CC=$CC 1420 # Extract the first word of "cc", so it can be a program name with args. 1421set dummy cc; ac_word=$2 1422echo "$as_me:$LINENO: checking for $ac_word" >&5 1423echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1424if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1425 echo $ECHO_N "(cached) $ECHO_C" >&6 1426else 1427 if test -n "$ac_ct_CC"; then 1428 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1429else 1430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1431for as_dir in $PATH 1432do 1433 IFS=$as_save_IFS 1434 test -z "$as_dir" && as_dir=. 1435 for ac_exec_ext in '' $ac_executable_extensions; do 1436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1437 ac_cv_prog_ac_ct_CC="cc" 1438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1439 break 2 1440 fi 1441done 1442done 1443 1444fi 1445fi 1446ac_ct_CC=$ac_cv_prog_ac_ct_CC 1447if test -n "$ac_ct_CC"; then 1448 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1449echo "${ECHO_T}$ac_ct_CC" >&6 1450else 1451 echo "$as_me:$LINENO: result: no" >&5 1452echo "${ECHO_T}no" >&6 1453fi 1454 1455 CC=$ac_ct_CC 1456else 1457 CC="$ac_cv_prog_CC" 1458fi 1459 1460fi 1461if test -z "$CC"; then 1462 # Extract the first word of "cc", so it can be a program name with args. 1463set dummy cc; ac_word=$2 1464echo "$as_me:$LINENO: checking for $ac_word" >&5 1465echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1466if test "${ac_cv_prog_CC+set}" = set; then 1467 echo $ECHO_N "(cached) $ECHO_C" >&6 1468else 1469 if test -n "$CC"; then 1470 ac_cv_prog_CC="$CC" # Let the user override the test. 1471else 1472 ac_prog_rejected=no 1473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1474for as_dir in $PATH 1475do 1476 IFS=$as_save_IFS 1477 test -z "$as_dir" && as_dir=. 1478 for ac_exec_ext in '' $ac_executable_extensions; do 1479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1480 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1481 ac_prog_rejected=yes 1482 continue 1483 fi 1484 ac_cv_prog_CC="cc" 1485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1486 break 2 1487 fi 1488done 1489done 1490 1491if test $ac_prog_rejected = yes; then 1492 # We found a bogon in the path, so make sure we never use it. 1493 set dummy $ac_cv_prog_CC 1494 shift 1495 if test $# != 0; then 1496 # We chose a different compiler from the bogus one. 1497 # However, it has the same basename, so the bogon will be chosen 1498 # first if we set CC to just the basename; use the full file name. 1499 shift 1500 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1501 fi 1502fi 1503fi 1504fi 1505CC=$ac_cv_prog_CC 1506if test -n "$CC"; then 1507 echo "$as_me:$LINENO: result: $CC" >&5 1508echo "${ECHO_T}$CC" >&6 1509else 1510 echo "$as_me:$LINENO: result: no" >&5 1511echo "${ECHO_T}no" >&6 1512fi 1513 1514fi 1515if test -z "$CC"; then 1516 if test -n "$ac_tool_prefix"; then 1517 for ac_prog in cl 1518 do 1519 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1520set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1521echo "$as_me:$LINENO: checking for $ac_word" >&5 1522echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1523if test "${ac_cv_prog_CC+set}" = set; then 1524 echo $ECHO_N "(cached) $ECHO_C" >&6 1525else 1526 if test -n "$CC"; then 1527 ac_cv_prog_CC="$CC" # Let the user override the test. 1528else 1529as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1530for as_dir in $PATH 1531do 1532 IFS=$as_save_IFS 1533 test -z "$as_dir" && as_dir=. 1534 for ac_exec_ext in '' $ac_executable_extensions; do 1535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1536 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1538 break 2 1539 fi 1540done 1541done 1542 1543fi 1544fi 1545CC=$ac_cv_prog_CC 1546if test -n "$CC"; then 1547 echo "$as_me:$LINENO: result: $CC" >&5 1548echo "${ECHO_T}$CC" >&6 1549else 1550 echo "$as_me:$LINENO: result: no" >&5 1551echo "${ECHO_T}no" >&6 1552fi 1553 1554 test -n "$CC" && break 1555 done 1556fi 1557if test -z "$CC"; then 1558 ac_ct_CC=$CC 1559 for ac_prog in cl 1560do 1561 # Extract the first word of "$ac_prog", so it can be a program name with args. 1562set dummy $ac_prog; ac_word=$2 1563echo "$as_me:$LINENO: checking for $ac_word" >&5 1564echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1565if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1566 echo $ECHO_N "(cached) $ECHO_C" >&6 1567else 1568 if test -n "$ac_ct_CC"; then 1569 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1570else 1571as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1572for as_dir in $PATH 1573do 1574 IFS=$as_save_IFS 1575 test -z "$as_dir" && as_dir=. 1576 for ac_exec_ext in '' $ac_executable_extensions; do 1577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1578 ac_cv_prog_ac_ct_CC="$ac_prog" 1579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1580 break 2 1581 fi 1582done 1583done 1584 1585fi 1586fi 1587ac_ct_CC=$ac_cv_prog_ac_ct_CC 1588if test -n "$ac_ct_CC"; then 1589 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1590echo "${ECHO_T}$ac_ct_CC" >&6 1591else 1592 echo "$as_me:$LINENO: result: no" >&5 1593echo "${ECHO_T}no" >&6 1594fi 1595 1596 test -n "$ac_ct_CC" && break 1597done 1598 1599 CC=$ac_ct_CC 1600fi 1601 1602fi 1603 1604 1605test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1606See \`config.log' for more details." >&5 1607echo "$as_me: error: no acceptable C compiler found in \$PATH 1608See \`config.log' for more details." >&2;} 1609 { (exit 1); exit 1; }; } 1610 1611# Provide some information about the compiler. 1612echo "$as_me:$LINENO:" \ 1613 "checking for C compiler version" >&5 1614ac_compiler=`set X $ac_compile; echo $2` 1615{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1616 (eval $ac_compiler --version </dev/null >&5) 2>&5 1617 ac_status=$? 1618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1619 (exit $ac_status); } 1620{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1621 (eval $ac_compiler -v </dev/null >&5) 2>&5 1622 ac_status=$? 1623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1624 (exit $ac_status); } 1625{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1626 (eval $ac_compiler -V </dev/null >&5) 2>&5 1627 ac_status=$? 1628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1629 (exit $ac_status); } 1630 1631cat >conftest.$ac_ext <<_ACEOF 1632/* confdefs.h. */ 1633_ACEOF 1634cat confdefs.h >>conftest.$ac_ext 1635cat >>conftest.$ac_ext <<_ACEOF 1636/* end confdefs.h. */ 1637 1638int 1639main () 1640{ 1641 1642 ; 1643 return 0; 1644} 1645_ACEOF 1646ac_clean_files_save=$ac_clean_files 1647ac_clean_files="$ac_clean_files a.out a.exe b.out" 1648# Try to create an executable without -o first, disregard a.out. 1649# It will help us diagnose broken compilers, and finding out an intuition 1650# of exeext. 1651echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1652echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1653ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1654if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1655 (eval $ac_link_default) 2>&5 1656 ac_status=$? 1657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1658 (exit $ac_status); }; then 1659 # Find the output, starting from the most likely. This scheme is 1660# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1661# resort. 1662 1663# Be careful to initialize this variable, since it used to be cached. 1664# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1665ac_cv_exeext= 1666# b.out is created by i960 compilers. 1667for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1668do 1669 test -f "$ac_file" || continue 1670 case $ac_file in 1671 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1672 ;; 1673 conftest.$ac_ext ) 1674 # This is the source file. 1675 ;; 1676 [ab].out ) 1677 # We found the default executable, but exeext='' is most 1678 # certainly right. 1679 break;; 1680 *.* ) 1681 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1682 # FIXME: I believe we export ac_cv_exeext for Libtool, 1683 # but it would be cool to find out if it's true. Does anybody 1684 # maintain Libtool? --akim. 1685 export ac_cv_exeext 1686 break;; 1687 * ) 1688 break;; 1689 esac 1690done 1691else 1692 echo "$as_me: failed program was:" >&5 1693sed 's/^/| /' conftest.$ac_ext >&5 1694 1695{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 1696See \`config.log' for more details." >&5 1697echo "$as_me: error: C compiler cannot create executables 1698See \`config.log' for more details." >&2;} 1699 { (exit 77); exit 77; }; } 1700fi 1701 1702ac_exeext=$ac_cv_exeext 1703echo "$as_me:$LINENO: result: $ac_file" >&5 1704echo "${ECHO_T}$ac_file" >&6 1705 1706# Check the compiler produces executables we can run. If not, either 1707# the compiler is broken, or we cross compile. 1708echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1709echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1710# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1711# If not cross compiling, check that we can run a simple program. 1712if test "$cross_compiling" != yes; then 1713 if { ac_try='./$ac_file' 1714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1715 (eval $ac_try) 2>&5 1716 ac_status=$? 1717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1718 (exit $ac_status); }; }; then 1719 cross_compiling=no 1720 else 1721 if test "$cross_compiling" = maybe; then 1722 cross_compiling=yes 1723 else 1724 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1725If you meant to cross compile, use \`--host'. 1726See \`config.log' for more details." >&5 1727echo "$as_me: error: cannot run C compiled programs. 1728If you meant to cross compile, use \`--host'. 1729See \`config.log' for more details." >&2;} 1730 { (exit 1); exit 1; }; } 1731 fi 1732 fi 1733fi 1734echo "$as_me:$LINENO: result: yes" >&5 1735echo "${ECHO_T}yes" >&6 1736 1737rm -f a.out a.exe conftest$ac_cv_exeext b.out 1738ac_clean_files=$ac_clean_files_save 1739# Check the compiler produces executables we can run. If not, either 1740# the compiler is broken, or we cross compile. 1741echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1742echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1743echo "$as_me:$LINENO: result: $cross_compiling" >&5 1744echo "${ECHO_T}$cross_compiling" >&6 1745 1746echo "$as_me:$LINENO: checking for suffix of executables" >&5 1747echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1748if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1749 (eval $ac_link) 2>&5 1750 ac_status=$? 1751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1752 (exit $ac_status); }; then 1753 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1754# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1755# work properly (i.e., refer to `conftest.exe'), while it won't with 1756# `rm'. 1757for ac_file in conftest.exe conftest conftest.*; do 1758 test -f "$ac_file" || continue 1759 case $ac_file in 1760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1761 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1762 export ac_cv_exeext 1763 break;; 1764 * ) break;; 1765 esac 1766done 1767else 1768 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1769See \`config.log' for more details." >&5 1770echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1771See \`config.log' for more details." >&2;} 1772 { (exit 1); exit 1; }; } 1773fi 1774 1775rm -f conftest$ac_cv_exeext 1776echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1777echo "${ECHO_T}$ac_cv_exeext" >&6 1778 1779rm -f conftest.$ac_ext 1780EXEEXT=$ac_cv_exeext 1781ac_exeext=$EXEEXT 1782echo "$as_me:$LINENO: checking for suffix of object files" >&5 1783echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1784if test "${ac_cv_objext+set}" = set; then 1785 echo $ECHO_N "(cached) $ECHO_C" >&6 1786else 1787 cat >conftest.$ac_ext <<_ACEOF 1788/* confdefs.h. */ 1789_ACEOF 1790cat confdefs.h >>conftest.$ac_ext 1791cat >>conftest.$ac_ext <<_ACEOF 1792/* end confdefs.h. */ 1793 1794int 1795main () 1796{ 1797 1798 ; 1799 return 0; 1800} 1801_ACEOF 1802rm -f conftest.o conftest.obj 1803if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1804 (eval $ac_compile) 2>&5 1805 ac_status=$? 1806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1807 (exit $ac_status); }; then 1808 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1809 case $ac_file in 1810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1811 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1812 break;; 1813 esac 1814done 1815else 1816 echo "$as_me: failed program was:" >&5 1817sed 's/^/| /' conftest.$ac_ext >&5 1818 1819{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1820See \`config.log' for more details." >&5 1821echo "$as_me: error: cannot compute suffix of object files: cannot compile 1822See \`config.log' for more details." >&2;} 1823 { (exit 1); exit 1; }; } 1824fi 1825 1826rm -f conftest.$ac_cv_objext conftest.$ac_ext 1827fi 1828echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1829echo "${ECHO_T}$ac_cv_objext" >&6 1830OBJEXT=$ac_cv_objext 1831ac_objext=$OBJEXT 1832echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1833echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1834if test "${ac_cv_c_compiler_gnu+set}" = set; then 1835 echo $ECHO_N "(cached) $ECHO_C" >&6 1836else 1837 cat >conftest.$ac_ext <<_ACEOF 1838/* confdefs.h. */ 1839_ACEOF 1840cat confdefs.h >>conftest.$ac_ext 1841cat >>conftest.$ac_ext <<_ACEOF 1842/* end confdefs.h. */ 1843 1844int 1845main () 1846{ 1847#ifndef __GNUC__ 1848 choke me 1849#endif 1850 1851 ; 1852 return 0; 1853} 1854_ACEOF 1855rm -f conftest.$ac_objext 1856if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1857 (eval $ac_compile) 2>conftest.er1 1858 ac_status=$? 1859 grep -v '^ *+' conftest.er1 >conftest.err 1860 rm -f conftest.er1 1861 cat conftest.err >&5 1862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1863 (exit $ac_status); } && 1864 { ac_try='test -z "$ac_c_werror_flag" 1865 || test ! -s conftest.err' 1866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1867 (eval $ac_try) 2>&5 1868 ac_status=$? 1869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1870 (exit $ac_status); }; } && 1871 { ac_try='test -s conftest.$ac_objext' 1872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1873 (eval $ac_try) 2>&5 1874 ac_status=$? 1875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1876 (exit $ac_status); }; }; then 1877 ac_compiler_gnu=yes 1878else 1879 echo "$as_me: failed program was:" >&5 1880sed 's/^/| /' conftest.$ac_ext >&5 1881 1882ac_compiler_gnu=no 1883fi 1884rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1885ac_cv_c_compiler_gnu=$ac_compiler_gnu 1886 1887fi 1888echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 1889echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1890GCC=`test $ac_compiler_gnu = yes && echo yes` 1891ac_test_CFLAGS=${CFLAGS+set} 1892ac_save_CFLAGS=$CFLAGS 1893CFLAGS="-g" 1894echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 1895echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1896if test "${ac_cv_prog_cc_g+set}" = set; then 1897 echo $ECHO_N "(cached) $ECHO_C" >&6 1898else 1899 cat >conftest.$ac_ext <<_ACEOF 1900/* confdefs.h. */ 1901_ACEOF 1902cat confdefs.h >>conftest.$ac_ext 1903cat >>conftest.$ac_ext <<_ACEOF 1904/* end confdefs.h. */ 1905 1906int 1907main () 1908{ 1909 1910 ; 1911 return 0; 1912} 1913_ACEOF 1914rm -f conftest.$ac_objext 1915if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1916 (eval $ac_compile) 2>conftest.er1 1917 ac_status=$? 1918 grep -v '^ *+' conftest.er1 >conftest.err 1919 rm -f conftest.er1 1920 cat conftest.err >&5 1921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1922 (exit $ac_status); } && 1923 { ac_try='test -z "$ac_c_werror_flag" 1924 || test ! -s conftest.err' 1925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1926 (eval $ac_try) 2>&5 1927 ac_status=$? 1928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1929 (exit $ac_status); }; } && 1930 { ac_try='test -s conftest.$ac_objext' 1931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1932 (eval $ac_try) 2>&5 1933 ac_status=$? 1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1935 (exit $ac_status); }; }; then 1936 ac_cv_prog_cc_g=yes 1937else 1938 echo "$as_me: failed program was:" >&5 1939sed 's/^/| /' conftest.$ac_ext >&5 1940 1941ac_cv_prog_cc_g=no 1942fi 1943rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1944fi 1945echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 1946echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1947if test "$ac_test_CFLAGS" = set; then 1948 CFLAGS=$ac_save_CFLAGS 1949elif test $ac_cv_prog_cc_g = yes; then 1950 if test "$GCC" = yes; then 1951 CFLAGS="-g -O2" 1952 else 1953 CFLAGS="-g" 1954 fi 1955else 1956 if test "$GCC" = yes; then 1957 CFLAGS="-O2" 1958 else 1959 CFLAGS= 1960 fi 1961fi 1962echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 1963echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 1964if test "${ac_cv_prog_cc_stdc+set}" = set; then 1965 echo $ECHO_N "(cached) $ECHO_C" >&6 1966else 1967 ac_cv_prog_cc_stdc=no 1968ac_save_CC=$CC 1969cat >conftest.$ac_ext <<_ACEOF 1970/* confdefs.h. */ 1971_ACEOF 1972cat confdefs.h >>conftest.$ac_ext 1973cat >>conftest.$ac_ext <<_ACEOF 1974/* end confdefs.h. */ 1975#include <stdarg.h> 1976#include <stdio.h> 1977#include <sys/types.h> 1978#include <sys/stat.h> 1979/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 1980struct buf { int x; }; 1981FILE * (*rcsopen) (struct buf *, struct stat *, int); 1982static char *e (p, i) 1983 char **p; 1984 int i; 1985{ 1986 return p[i]; 1987} 1988static char *f (char * (*g) (char **, int), char **p, ...) 1989{ 1990 char *s; 1991 va_list v; 1992 va_start (v,p); 1993 s = g (p, va_arg (v,int)); 1994 va_end (v); 1995 return s; 1996} 1997 1998/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 1999 function prototypes and stuff, but not '\xHH' hex character constants. 2000 These don't provoke an error unfortunately, instead are silently treated 2001 as 'x'. The following induces an error, until -std1 is added to get 2002 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2003 array size at least. It's necessary to write '\x00'==0 to get something 2004 that's true only with -std1. */ 2005int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2006 2007int test (int i, double x); 2008struct s1 {int (*f) (int a);}; 2009struct s2 {int (*f) (double a);}; 2010int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2011int argc; 2012char **argv; 2013int 2014main () 2015{ 2016return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2017 ; 2018 return 0; 2019} 2020_ACEOF 2021# Don't try gcc -ansi; that turns off useful extensions and 2022# breaks some systems' header files. 2023# AIX -qlanglvl=ansi 2024# Ultrix and OSF/1 -std1 2025# HP-UX 10.20 and later -Ae 2026# HP-UX older versions -Aa -D_HPUX_SOURCE 2027# SVR4 -Xc -D__EXTENSIONS__ 2028for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2029do 2030 CC="$ac_save_CC $ac_arg" 2031 rm -f conftest.$ac_objext 2032if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2033 (eval $ac_compile) 2>conftest.er1 2034 ac_status=$? 2035 grep -v '^ *+' conftest.er1 >conftest.err 2036 rm -f conftest.er1 2037 cat conftest.err >&5 2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2039 (exit $ac_status); } && 2040 { ac_try='test -z "$ac_c_werror_flag" 2041 || test ! -s conftest.err' 2042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2043 (eval $ac_try) 2>&5 2044 ac_status=$? 2045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2046 (exit $ac_status); }; } && 2047 { ac_try='test -s conftest.$ac_objext' 2048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2049 (eval $ac_try) 2>&5 2050 ac_status=$? 2051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2052 (exit $ac_status); }; }; then 2053 ac_cv_prog_cc_stdc=$ac_arg 2054break 2055else 2056 echo "$as_me: failed program was:" >&5 2057sed 's/^/| /' conftest.$ac_ext >&5 2058 2059fi 2060rm -f conftest.err conftest.$ac_objext 2061done 2062rm -f conftest.$ac_ext conftest.$ac_objext 2063CC=$ac_save_CC 2064 2065fi 2066 2067case "x$ac_cv_prog_cc_stdc" in 2068 x|xno) 2069 echo "$as_me:$LINENO: result: none needed" >&5 2070echo "${ECHO_T}none needed" >&6 ;; 2071 *) 2072 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2073echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2074 CC="$CC $ac_cv_prog_cc_stdc" ;; 2075esac 2076 2077# Some people use a C++ compiler to compile C. Since we use `exit', 2078# in C++ we need to declare it. In case someone uses the same compiler 2079# for both compiling C and C++ we need to have the C++ compiler decide 2080# the declaration of exit, since it's the most demanding environment. 2081cat >conftest.$ac_ext <<_ACEOF 2082#ifndef __cplusplus 2083 choke me 2084#endif 2085_ACEOF 2086rm -f conftest.$ac_objext 2087if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2088 (eval $ac_compile) 2>conftest.er1 2089 ac_status=$? 2090 grep -v '^ *+' conftest.er1 >conftest.err 2091 rm -f conftest.er1 2092 cat conftest.err >&5 2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2094 (exit $ac_status); } && 2095 { ac_try='test -z "$ac_c_werror_flag" 2096 || test ! -s conftest.err' 2097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2098 (eval $ac_try) 2>&5 2099 ac_status=$? 2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2101 (exit $ac_status); }; } && 2102 { ac_try='test -s conftest.$ac_objext' 2103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2104 (eval $ac_try) 2>&5 2105 ac_status=$? 2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2107 (exit $ac_status); }; }; then 2108 for ac_declaration in \ 2109 '' \ 2110 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2111 'extern "C" void std::exit (int); using std::exit;' \ 2112 'extern "C" void exit (int) throw ();' \ 2113 'extern "C" void exit (int);' \ 2114 'void exit (int);' 2115do 2116 cat >conftest.$ac_ext <<_ACEOF 2117/* confdefs.h. */ 2118_ACEOF 2119cat confdefs.h >>conftest.$ac_ext 2120cat >>conftest.$ac_ext <<_ACEOF 2121/* end confdefs.h. */ 2122$ac_declaration 2123#include <stdlib.h> 2124int 2125main () 2126{ 2127exit (42); 2128 ; 2129 return 0; 2130} 2131_ACEOF 2132rm -f conftest.$ac_objext 2133if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2134 (eval $ac_compile) 2>conftest.er1 2135 ac_status=$? 2136 grep -v '^ *+' conftest.er1 >conftest.err 2137 rm -f conftest.er1 2138 cat conftest.err >&5 2139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2140 (exit $ac_status); } && 2141 { ac_try='test -z "$ac_c_werror_flag" 2142 || test ! -s conftest.err' 2143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2144 (eval $ac_try) 2>&5 2145 ac_status=$? 2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2147 (exit $ac_status); }; } && 2148 { ac_try='test -s conftest.$ac_objext' 2149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2150 (eval $ac_try) 2>&5 2151 ac_status=$? 2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2153 (exit $ac_status); }; }; then 2154 : 2155else 2156 echo "$as_me: failed program was:" >&5 2157sed 's/^/| /' conftest.$ac_ext >&5 2158 2159continue 2160fi 2161rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2162 cat >conftest.$ac_ext <<_ACEOF 2163/* confdefs.h. */ 2164_ACEOF 2165cat confdefs.h >>conftest.$ac_ext 2166cat >>conftest.$ac_ext <<_ACEOF 2167/* end confdefs.h. */ 2168$ac_declaration 2169int 2170main () 2171{ 2172exit (42); 2173 ; 2174 return 0; 2175} 2176_ACEOF 2177rm -f conftest.$ac_objext 2178if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2179 (eval $ac_compile) 2>conftest.er1 2180 ac_status=$? 2181 grep -v '^ *+' conftest.er1 >conftest.err 2182 rm -f conftest.er1 2183 cat conftest.err >&5 2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2185 (exit $ac_status); } && 2186 { ac_try='test -z "$ac_c_werror_flag" 2187 || test ! -s conftest.err' 2188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2189 (eval $ac_try) 2>&5 2190 ac_status=$? 2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2192 (exit $ac_status); }; } && 2193 { ac_try='test -s conftest.$ac_objext' 2194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2195 (eval $ac_try) 2>&5 2196 ac_status=$? 2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2198 (exit $ac_status); }; }; then 2199 break 2200else 2201 echo "$as_me: failed program was:" >&5 2202sed 's/^/| /' conftest.$ac_ext >&5 2203 2204fi 2205rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2206done 2207rm -f conftest* 2208if test -n "$ac_declaration"; then 2209 echo '#ifdef __cplusplus' >>confdefs.h 2210 echo $ac_declaration >>confdefs.h 2211 echo '#endif' >>confdefs.h 2212fi 2213 2214else 2215 echo "$as_me: failed program was:" >&5 2216sed 's/^/| /' conftest.$ac_ext >&5 2217 2218fi 2219rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2220ac_ext=c 2221ac_cpp='$CPP $CPPFLAGS' 2222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2224ac_compiler_gnu=$ac_cv_c_compiler_gnu 2225 2226 2227echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 2228echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 2229if test "${ac_cv_c_bigendian+set}" = set; then 2230 echo $ECHO_N "(cached) $ECHO_C" >&6 2231else 2232 # See if sys/param.h defines the BYTE_ORDER macro. 2233cat >conftest.$ac_ext <<_ACEOF 2234/* confdefs.h. */ 2235_ACEOF 2236cat confdefs.h >>conftest.$ac_ext 2237cat >>conftest.$ac_ext <<_ACEOF 2238/* end confdefs.h. */ 2239#include <sys/types.h> 2240#include <sys/param.h> 2241 2242int 2243main () 2244{ 2245#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 2246 bogus endian macros 2247#endif 2248 2249 ; 2250 return 0; 2251} 2252_ACEOF 2253rm -f conftest.$ac_objext 2254if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2255 (eval $ac_compile) 2>conftest.er1 2256 ac_status=$? 2257 grep -v '^ *+' conftest.er1 >conftest.err 2258 rm -f conftest.er1 2259 cat conftest.err >&5 2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2261 (exit $ac_status); } && 2262 { ac_try='test -z "$ac_c_werror_flag" 2263 || test ! -s conftest.err' 2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2265 (eval $ac_try) 2>&5 2266 ac_status=$? 2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2268 (exit $ac_status); }; } && 2269 { ac_try='test -s conftest.$ac_objext' 2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2271 (eval $ac_try) 2>&5 2272 ac_status=$? 2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2274 (exit $ac_status); }; }; then 2275 # It does; now see whether it defined to BIG_ENDIAN or not. 2276cat >conftest.$ac_ext <<_ACEOF 2277/* confdefs.h. */ 2278_ACEOF 2279cat confdefs.h >>conftest.$ac_ext 2280cat >>conftest.$ac_ext <<_ACEOF 2281/* end confdefs.h. */ 2282#include <sys/types.h> 2283#include <sys/param.h> 2284 2285int 2286main () 2287{ 2288#if BYTE_ORDER != BIG_ENDIAN 2289 not big endian 2290#endif 2291 2292 ; 2293 return 0; 2294} 2295_ACEOF 2296rm -f conftest.$ac_objext 2297if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2298 (eval $ac_compile) 2>conftest.er1 2299 ac_status=$? 2300 grep -v '^ *+' conftest.er1 >conftest.err 2301 rm -f conftest.er1 2302 cat conftest.err >&5 2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2304 (exit $ac_status); } && 2305 { ac_try='test -z "$ac_c_werror_flag" 2306 || test ! -s conftest.err' 2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2308 (eval $ac_try) 2>&5 2309 ac_status=$? 2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2311 (exit $ac_status); }; } && 2312 { ac_try='test -s conftest.$ac_objext' 2313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2314 (eval $ac_try) 2>&5 2315 ac_status=$? 2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2317 (exit $ac_status); }; }; then 2318 ac_cv_c_bigendian=yes 2319else 2320 echo "$as_me: failed program was:" >&5 2321sed 's/^/| /' conftest.$ac_ext >&5 2322 2323ac_cv_c_bigendian=no 2324fi 2325rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2326else 2327 echo "$as_me: failed program was:" >&5 2328sed 's/^/| /' conftest.$ac_ext >&5 2329 2330# It does not; compile a test program. 2331if test "$cross_compiling" = yes; then 2332 # try to guess the endianness by grepping values into an object file 2333 ac_cv_c_bigendian=unknown 2334 cat >conftest.$ac_ext <<_ACEOF 2335/* confdefs.h. */ 2336_ACEOF 2337cat confdefs.h >>conftest.$ac_ext 2338cat >>conftest.$ac_ext <<_ACEOF 2339/* end confdefs.h. */ 2340short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 2341short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 2342void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 2343short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 2344short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 2345void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 2346int 2347main () 2348{ 2349 _ascii (); _ebcdic (); 2350 ; 2351 return 0; 2352} 2353_ACEOF 2354rm -f conftest.$ac_objext 2355if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2356 (eval $ac_compile) 2>conftest.er1 2357 ac_status=$? 2358 grep -v '^ *+' conftest.er1 >conftest.err 2359 rm -f conftest.er1 2360 cat conftest.err >&5 2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2362 (exit $ac_status); } && 2363 { ac_try='test -z "$ac_c_werror_flag" 2364 || test ! -s conftest.err' 2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2366 (eval $ac_try) 2>&5 2367 ac_status=$? 2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2369 (exit $ac_status); }; } && 2370 { ac_try='test -s conftest.$ac_objext' 2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2372 (eval $ac_try) 2>&5 2373 ac_status=$? 2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2375 (exit $ac_status); }; }; then 2376 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 2377 ac_cv_c_bigendian=yes 2378fi 2379if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 2380 if test "$ac_cv_c_bigendian" = unknown; then 2381 ac_cv_c_bigendian=no 2382 else 2383 # finding both strings is unlikely to happen, but who knows? 2384 ac_cv_c_bigendian=unknown 2385 fi 2386fi 2387else 2388 echo "$as_me: failed program was:" >&5 2389sed 's/^/| /' conftest.$ac_ext >&5 2390 2391fi 2392rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2393else 2394 cat >conftest.$ac_ext <<_ACEOF 2395/* confdefs.h. */ 2396_ACEOF 2397cat confdefs.h >>conftest.$ac_ext 2398cat >>conftest.$ac_ext <<_ACEOF 2399/* end confdefs.h. */ 2400int 2401main () 2402{ 2403 /* Are we little or big endian? From Harbison&Steele. */ 2404 union 2405 { 2406 long l; 2407 char c[sizeof (long)]; 2408 } u; 2409 u.l = 1; 2410 exit (u.c[sizeof (long) - 1] == 1); 2411} 2412_ACEOF 2413rm -f conftest$ac_exeext 2414if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2415 (eval $ac_link) 2>&5 2416 ac_status=$? 2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2420 (eval $ac_try) 2>&5 2421 ac_status=$? 2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2423 (exit $ac_status); }; }; then 2424 ac_cv_c_bigendian=no 2425else 2426 echo "$as_me: program exited with status $ac_status" >&5 2427echo "$as_me: failed program was:" >&5 2428sed 's/^/| /' conftest.$ac_ext >&5 2429 2430( exit $ac_status ) 2431ac_cv_c_bigendian=yes 2432fi 2433rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2434fi 2435fi 2436rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2437fi 2438echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 2439echo "${ECHO_T}$ac_cv_c_bigendian" >&6 2440case $ac_cv_c_bigendian in 2441 yes) 2442 2443cat >>confdefs.h <<\_ACEOF 2444#define WORDS_BIGENDIAN 1 2445_ACEOF 2446 ;; 2447 no) 2448 ;; 2449 *) 2450 { { echo "$as_me:$LINENO: error: unknown endianness 2451presetting ac_cv_c_bigendian=no (or yes) will help" >&5 2452echo "$as_me: error: unknown endianness 2453presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 2454 { (exit 1); exit 1; }; } ;; 2455esac 2456 2457ac_ext=c 2458ac_cpp='$CPP $CPPFLAGS' 2459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2461ac_compiler_gnu=$ac_cv_c_compiler_gnu 2462echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2463echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2464# On Suns, sometimes $CPP names a directory. 2465if test -n "$CPP" && test -d "$CPP"; then 2466 CPP= 2467fi 2468if test -z "$CPP"; then 2469 if test "${ac_cv_prog_CPP+set}" = set; then 2470 echo $ECHO_N "(cached) $ECHO_C" >&6 2471else 2472 # Double quotes because CPP needs to be expanded 2473 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2474 do 2475 ac_preproc_ok=false 2476for ac_c_preproc_warn_flag in '' yes 2477do 2478 # Use a header file that comes with gcc, so configuring glibc 2479 # with a fresh cross-compiler works. 2480 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2481 # <limits.h> exists even on freestanding compilers. 2482 # On the NeXT, cc -E runs the code through the compiler's parser, 2483 # not just through cpp. "Syntax error" is here to catch this case. 2484 cat >conftest.$ac_ext <<_ACEOF 2485/* confdefs.h. */ 2486_ACEOF 2487cat confdefs.h >>conftest.$ac_ext 2488cat >>conftest.$ac_ext <<_ACEOF 2489/* end confdefs.h. */ 2490#ifdef __STDC__ 2491# include <limits.h> 2492#else 2493# include <assert.h> 2494#endif 2495 Syntax error 2496_ACEOF 2497if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2499 ac_status=$? 2500 grep -v '^ *+' conftest.er1 >conftest.err 2501 rm -f conftest.er1 2502 cat conftest.err >&5 2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2504 (exit $ac_status); } >/dev/null; then 2505 if test -s conftest.err; then 2506 ac_cpp_err=$ac_c_preproc_warn_flag 2507 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2508 else 2509 ac_cpp_err= 2510 fi 2511else 2512 ac_cpp_err=yes 2513fi 2514if test -z "$ac_cpp_err"; then 2515 : 2516else 2517 echo "$as_me: failed program was:" >&5 2518sed 's/^/| /' conftest.$ac_ext >&5 2519 2520 # Broken: fails on valid input. 2521continue 2522fi 2523rm -f conftest.err conftest.$ac_ext 2524 2525 # OK, works on sane cases. Now check whether non-existent headers 2526 # can be detected and how. 2527 cat >conftest.$ac_ext <<_ACEOF 2528/* confdefs.h. */ 2529_ACEOF 2530cat confdefs.h >>conftest.$ac_ext 2531cat >>conftest.$ac_ext <<_ACEOF 2532/* end confdefs.h. */ 2533#include <ac_nonexistent.h> 2534_ACEOF 2535if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2536 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2537 ac_status=$? 2538 grep -v '^ *+' conftest.er1 >conftest.err 2539 rm -f conftest.er1 2540 cat conftest.err >&5 2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2542 (exit $ac_status); } >/dev/null; then 2543 if test -s conftest.err; then 2544 ac_cpp_err=$ac_c_preproc_warn_flag 2545 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2546 else 2547 ac_cpp_err= 2548 fi 2549else 2550 ac_cpp_err=yes 2551fi 2552if test -z "$ac_cpp_err"; then 2553 # Broken: success on invalid input. 2554continue 2555else 2556 echo "$as_me: failed program was:" >&5 2557sed 's/^/| /' conftest.$ac_ext >&5 2558 2559 # Passes both tests. 2560ac_preproc_ok=: 2561break 2562fi 2563rm -f conftest.err conftest.$ac_ext 2564 2565done 2566# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2567rm -f conftest.err conftest.$ac_ext 2568if $ac_preproc_ok; then 2569 break 2570fi 2571 2572 done 2573 ac_cv_prog_CPP=$CPP 2574 2575fi 2576 CPP=$ac_cv_prog_CPP 2577else 2578 ac_cv_prog_CPP=$CPP 2579fi 2580echo "$as_me:$LINENO: result: $CPP" >&5 2581echo "${ECHO_T}$CPP" >&6 2582ac_preproc_ok=false 2583for ac_c_preproc_warn_flag in '' yes 2584do 2585 # Use a header file that comes with gcc, so configuring glibc 2586 # with a fresh cross-compiler works. 2587 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2588 # <limits.h> exists even on freestanding compilers. 2589 # On the NeXT, cc -E runs the code through the compiler's parser, 2590 # not just through cpp. "Syntax error" is here to catch this case. 2591 cat >conftest.$ac_ext <<_ACEOF 2592/* confdefs.h. */ 2593_ACEOF 2594cat confdefs.h >>conftest.$ac_ext 2595cat >>conftest.$ac_ext <<_ACEOF 2596/* end confdefs.h. */ 2597#ifdef __STDC__ 2598# include <limits.h> 2599#else 2600# include <assert.h> 2601#endif 2602 Syntax error 2603_ACEOF 2604if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2605 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2606 ac_status=$? 2607 grep -v '^ *+' conftest.er1 >conftest.err 2608 rm -f conftest.er1 2609 cat conftest.err >&5 2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2611 (exit $ac_status); } >/dev/null; then 2612 if test -s conftest.err; then 2613 ac_cpp_err=$ac_c_preproc_warn_flag 2614 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2615 else 2616 ac_cpp_err= 2617 fi 2618else 2619 ac_cpp_err=yes 2620fi 2621if test -z "$ac_cpp_err"; then 2622 : 2623else 2624 echo "$as_me: failed program was:" >&5 2625sed 's/^/| /' conftest.$ac_ext >&5 2626 2627 # Broken: fails on valid input. 2628continue 2629fi 2630rm -f conftest.err conftest.$ac_ext 2631 2632 # OK, works on sane cases. Now check whether non-existent headers 2633 # can be detected and how. 2634 cat >conftest.$ac_ext <<_ACEOF 2635/* confdefs.h. */ 2636_ACEOF 2637cat confdefs.h >>conftest.$ac_ext 2638cat >>conftest.$ac_ext <<_ACEOF 2639/* end confdefs.h. */ 2640#include <ac_nonexistent.h> 2641_ACEOF 2642if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2644 ac_status=$? 2645 grep -v '^ *+' conftest.er1 >conftest.err 2646 rm -f conftest.er1 2647 cat conftest.err >&5 2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2649 (exit $ac_status); } >/dev/null; then 2650 if test -s conftest.err; then 2651 ac_cpp_err=$ac_c_preproc_warn_flag 2652 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2653 else 2654 ac_cpp_err= 2655 fi 2656else 2657 ac_cpp_err=yes 2658fi 2659if test -z "$ac_cpp_err"; then 2660 # Broken: success on invalid input. 2661continue 2662else 2663 echo "$as_me: failed program was:" >&5 2664sed 's/^/| /' conftest.$ac_ext >&5 2665 2666 # Passes both tests. 2667ac_preproc_ok=: 2668break 2669fi 2670rm -f conftest.err conftest.$ac_ext 2671 2672done 2673# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2674rm -f conftest.err conftest.$ac_ext 2675if $ac_preproc_ok; then 2676 : 2677else 2678 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2679See \`config.log' for more details." >&5 2680echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2681See \`config.log' for more details." >&2;} 2682 { (exit 1); exit 1; }; } 2683fi 2684 2685ac_ext=c 2686ac_cpp='$CPP $CPPFLAGS' 2687ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2688ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2689ac_compiler_gnu=$ac_cv_c_compiler_gnu 2690 2691 2692echo "$as_me:$LINENO: checking for egrep" >&5 2693echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2694if test "${ac_cv_prog_egrep+set}" = set; then 2695 echo $ECHO_N "(cached) $ECHO_C" >&6 2696else 2697 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 2698 then ac_cv_prog_egrep='grep -E' 2699 else ac_cv_prog_egrep='egrep' 2700 fi 2701fi 2702echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 2703echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2704 EGREP=$ac_cv_prog_egrep 2705 2706 2707if test $ac_cv_c_compiler_gnu = yes; then 2708 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 2709echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 2710if test "${ac_cv_prog_gcc_traditional+set}" = set; then 2711 echo $ECHO_N "(cached) $ECHO_C" >&6 2712else 2713 ac_pattern="Autoconf.*'x'" 2714 cat >conftest.$ac_ext <<_ACEOF 2715/* confdefs.h. */ 2716_ACEOF 2717cat confdefs.h >>conftest.$ac_ext 2718cat >>conftest.$ac_ext <<_ACEOF 2719/* end confdefs.h. */ 2720#include <sgtty.h> 2721Autoconf TIOCGETP 2722_ACEOF 2723if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2724 $EGREP "$ac_pattern" >/dev/null 2>&1; then 2725 ac_cv_prog_gcc_traditional=yes 2726else 2727 ac_cv_prog_gcc_traditional=no 2728fi 2729rm -f conftest* 2730 2731 2732 if test $ac_cv_prog_gcc_traditional = no; then 2733 cat >conftest.$ac_ext <<_ACEOF 2734/* confdefs.h. */ 2735_ACEOF 2736cat confdefs.h >>conftest.$ac_ext 2737cat >>conftest.$ac_ext <<_ACEOF 2738/* end confdefs.h. */ 2739#include <termio.h> 2740Autoconf TCGETA 2741_ACEOF 2742if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2743 $EGREP "$ac_pattern" >/dev/null 2>&1; then 2744 ac_cv_prog_gcc_traditional=yes 2745fi 2746rm -f conftest* 2747 2748 fi 2749fi 2750echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 2751echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 2752 if test $ac_cv_prog_gcc_traditional = yes; then 2753 CC="$CC -traditional" 2754 fi 2755fi 2756 2757ac_aux_dir= 2758for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 2759 if test -f $ac_dir/install-sh; then 2760 ac_aux_dir=$ac_dir 2761 ac_install_sh="$ac_aux_dir/install-sh -c" 2762 break 2763 elif test -f $ac_dir/install.sh; then 2764 ac_aux_dir=$ac_dir 2765 ac_install_sh="$ac_aux_dir/install.sh -c" 2766 break 2767 elif test -f $ac_dir/shtool; then 2768 ac_aux_dir=$ac_dir 2769 ac_install_sh="$ac_aux_dir/shtool install -c" 2770 break 2771 fi 2772done 2773if test -z "$ac_aux_dir"; then 2774 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2775echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2776 { (exit 1); exit 1; }; } 2777fi 2778ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2779ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2780ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2781 2782# Find a good install program. We prefer a C program (faster), 2783# so one script is as good as another. But avoid the broken or 2784# incompatible versions: 2785# SysV /etc/install, /usr/sbin/install 2786# SunOS /usr/etc/install 2787# IRIX /sbin/install 2788# AIX /bin/install 2789# AmigaOS /C/install, which installs bootblocks on floppy discs 2790# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2791# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2792# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2793# OS/2's system install, which has a completely different semantic 2794# ./install, which can be erroneously created by make from ./install.sh. 2795echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2796echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 2797if test -z "$INSTALL"; then 2798if test "${ac_cv_path_install+set}" = set; then 2799 echo $ECHO_N "(cached) $ECHO_C" >&6 2800else 2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2802for as_dir in $PATH 2803do 2804 IFS=$as_save_IFS 2805 test -z "$as_dir" && as_dir=. 2806 # Account for people who put trailing slashes in PATH elements. 2807case $as_dir/ in 2808 ./ | .// | /cC/* | \ 2809 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2810 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2811 /usr/ucb/* ) ;; 2812 *) 2813 # OSF1 and SCO ODT 3.0 have their own names for install. 2814 # Don't use installbsd from OSF since it installs stuff as root 2815 # by default. 2816 for ac_prog in ginstall scoinst install; do 2817 for ac_exec_ext in '' $ac_executable_extensions; do 2818 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2819 if test $ac_prog = install && 2820 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2821 # AIX install. It has an incompatible calling convention. 2822 : 2823 elif test $ac_prog = install && 2824 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2825 # program-specific install script used by HP pwplus--don't use. 2826 : 2827 else 2828 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2829 break 3 2830 fi 2831 fi 2832 done 2833 done 2834 ;; 2835esac 2836done 2837 2838 2839fi 2840 if test "${ac_cv_path_install+set}" = set; then 2841 INSTALL=$ac_cv_path_install 2842 else 2843 # As a last resort, use the slow shell script. We don't cache a 2844 # path for INSTALL within a source directory, because that will 2845 # break other packages using the cache if that directory is 2846 # removed, or if the path is relative. 2847 INSTALL=$ac_install_sh 2848 fi 2849fi 2850echo "$as_me:$LINENO: result: $INSTALL" >&5 2851echo "${ECHO_T}$INSTALL" >&6 2852 2853# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2854# It thinks the first close brace ends the variable substitution. 2855test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2856 2857test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2858 2859test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2860 2861if test -n "$ac_tool_prefix"; then 2862 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2863set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2864echo "$as_me:$LINENO: checking for $ac_word" >&5 2865echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2866if test "${ac_cv_prog_RANLIB+set}" = set; then 2867 echo $ECHO_N "(cached) $ECHO_C" >&6 2868else 2869 if test -n "$RANLIB"; then 2870 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2871else 2872as_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 for ac_exec_ext in '' $ac_executable_extensions; do 2878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2879 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2881 break 2 2882 fi 2883done 2884done 2885 2886fi 2887fi 2888RANLIB=$ac_cv_prog_RANLIB 2889if test -n "$RANLIB"; then 2890 echo "$as_me:$LINENO: result: $RANLIB" >&5 2891echo "${ECHO_T}$RANLIB" >&6 2892else 2893 echo "$as_me:$LINENO: result: no" >&5 2894echo "${ECHO_T}no" >&6 2895fi 2896 2897fi 2898if test -z "$ac_cv_prog_RANLIB"; then 2899 ac_ct_RANLIB=$RANLIB 2900 # Extract the first word of "ranlib", so it can be a program name with args. 2901set dummy ranlib; ac_word=$2 2902echo "$as_me:$LINENO: checking for $ac_word" >&5 2903echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2904if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2905 echo $ECHO_N "(cached) $ECHO_C" >&6 2906else 2907 if test -n "$ac_ct_RANLIB"; then 2908 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2909else 2910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2911for as_dir in $PATH 2912do 2913 IFS=$as_save_IFS 2914 test -z "$as_dir" && as_dir=. 2915 for ac_exec_ext in '' $ac_executable_extensions; do 2916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2917 ac_cv_prog_ac_ct_RANLIB="ranlib" 2918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2919 break 2 2920 fi 2921done 2922done 2923 2924 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 2925fi 2926fi 2927ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2928if test -n "$ac_ct_RANLIB"; then 2929 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2930echo "${ECHO_T}$ac_ct_RANLIB" >&6 2931else 2932 echo "$as_me:$LINENO: result: no" >&5 2933echo "${ECHO_T}no" >&6 2934fi 2935 2936 RANLIB=$ac_ct_RANLIB 2937else 2938 RANLIB="$ac_cv_prog_RANLIB" 2939fi 2940 2941if test -n "$ac_tool_prefix"; then 2942 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 2943set dummy ${ac_tool_prefix}ar; ac_word=$2 2944echo "$as_me:$LINENO: checking for $ac_word" >&5 2945echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2946if test "${ac_cv_prog_AR+set}" = set; then 2947 echo $ECHO_N "(cached) $ECHO_C" >&6 2948else 2949 if test -n "$AR"; then 2950 ac_cv_prog_AR="$AR" # Let the user override the test. 2951else 2952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2953for as_dir in $PATH 2954do 2955 IFS=$as_save_IFS 2956 test -z "$as_dir" && as_dir=. 2957 for ac_exec_ext in '' $ac_executable_extensions; do 2958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2959 ac_cv_prog_AR="${ac_tool_prefix}ar" 2960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2961 break 2 2962 fi 2963done 2964done 2965 2966fi 2967fi 2968AR=$ac_cv_prog_AR 2969if test -n "$AR"; then 2970 echo "$as_me:$LINENO: result: $AR" >&5 2971echo "${ECHO_T}$AR" >&6 2972else 2973 echo "$as_me:$LINENO: result: no" >&5 2974echo "${ECHO_T}no" >&6 2975fi 2976 2977fi 2978if test -z "$ac_cv_prog_AR"; then 2979 ac_ct_AR=$AR 2980 # Extract the first word of "ar", so it can be a program name with args. 2981set dummy ar; ac_word=$2 2982echo "$as_me:$LINENO: checking for $ac_word" >&5 2983echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2984if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 2985 echo $ECHO_N "(cached) $ECHO_C" >&6 2986else 2987 if test -n "$ac_ct_AR"; then 2988 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 2989else 2990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2991for as_dir in $PATH 2992do 2993 IFS=$as_save_IFS 2994 test -z "$as_dir" && as_dir=. 2995 for ac_exec_ext in '' $ac_executable_extensions; do 2996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2997 ac_cv_prog_ac_ct_AR="ar" 2998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2999 break 2 3000 fi 3001done 3002done 3003 3004fi 3005fi 3006ac_ct_AR=$ac_cv_prog_ac_ct_AR 3007if test -n "$ac_ct_AR"; then 3008 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 3009echo "${ECHO_T}$ac_ct_AR" >&6 3010else 3011 echo "$as_me:$LINENO: result: no" >&5 3012echo "${ECHO_T}no" >&6 3013fi 3014 3015 AR=$ac_ct_AR 3016else 3017 AR="$ac_cv_prog_AR" 3018fi 3019 3020 3021 3022echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3023echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3024if test "${ac_cv_header_stdc+set}" = set; then 3025 echo $ECHO_N "(cached) $ECHO_C" >&6 3026else 3027 cat >conftest.$ac_ext <<_ACEOF 3028/* confdefs.h. */ 3029_ACEOF 3030cat confdefs.h >>conftest.$ac_ext 3031cat >>conftest.$ac_ext <<_ACEOF 3032/* end confdefs.h. */ 3033#include <stdlib.h> 3034#include <stdarg.h> 3035#include <string.h> 3036#include <float.h> 3037 3038int 3039main () 3040{ 3041 3042 ; 3043 return 0; 3044} 3045_ACEOF 3046rm -f conftest.$ac_objext 3047if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3048 (eval $ac_compile) 2>conftest.er1 3049 ac_status=$? 3050 grep -v '^ *+' conftest.er1 >conftest.err 3051 rm -f conftest.er1 3052 cat conftest.err >&5 3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3054 (exit $ac_status); } && 3055 { ac_try='test -z "$ac_c_werror_flag" 3056 || test ! -s conftest.err' 3057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3058 (eval $ac_try) 2>&5 3059 ac_status=$? 3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3061 (exit $ac_status); }; } && 3062 { ac_try='test -s conftest.$ac_objext' 3063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3064 (eval $ac_try) 2>&5 3065 ac_status=$? 3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3067 (exit $ac_status); }; }; then 3068 ac_cv_header_stdc=yes 3069else 3070 echo "$as_me: failed program was:" >&5 3071sed 's/^/| /' conftest.$ac_ext >&5 3072 3073ac_cv_header_stdc=no 3074fi 3075rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3076 3077if test $ac_cv_header_stdc = yes; then 3078 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3079 cat >conftest.$ac_ext <<_ACEOF 3080/* confdefs.h. */ 3081_ACEOF 3082cat confdefs.h >>conftest.$ac_ext 3083cat >>conftest.$ac_ext <<_ACEOF 3084/* end confdefs.h. */ 3085#include <string.h> 3086 3087_ACEOF 3088if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3089 $EGREP "memchr" >/dev/null 2>&1; then 3090 : 3091else 3092 ac_cv_header_stdc=no 3093fi 3094rm -f conftest* 3095 3096fi 3097 3098if test $ac_cv_header_stdc = yes; then 3099 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3100 cat >conftest.$ac_ext <<_ACEOF 3101/* confdefs.h. */ 3102_ACEOF 3103cat confdefs.h >>conftest.$ac_ext 3104cat >>conftest.$ac_ext <<_ACEOF 3105/* end confdefs.h. */ 3106#include <stdlib.h> 3107 3108_ACEOF 3109if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3110 $EGREP "free" >/dev/null 2>&1; then 3111 : 3112else 3113 ac_cv_header_stdc=no 3114fi 3115rm -f conftest* 3116 3117fi 3118 3119if test $ac_cv_header_stdc = yes; then 3120 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3121 if test "$cross_compiling" = yes; then 3122 : 3123else 3124 cat >conftest.$ac_ext <<_ACEOF 3125/* confdefs.h. */ 3126_ACEOF 3127cat confdefs.h >>conftest.$ac_ext 3128cat >>conftest.$ac_ext <<_ACEOF 3129/* end confdefs.h. */ 3130#include <ctype.h> 3131#if ((' ' & 0x0FF) == 0x020) 3132# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3133# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3134#else 3135# define ISLOWER(c) \ 3136 (('a' <= (c) && (c) <= 'i') \ 3137 || ('j' <= (c) && (c) <= 'r') \ 3138 || ('s' <= (c) && (c) <= 'z')) 3139# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3140#endif 3141 3142#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3143int 3144main () 3145{ 3146 int i; 3147 for (i = 0; i < 256; i++) 3148 if (XOR (islower (i), ISLOWER (i)) 3149 || toupper (i) != TOUPPER (i)) 3150 exit(2); 3151 exit (0); 3152} 3153_ACEOF 3154rm -f conftest$ac_exeext 3155if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3156 (eval $ac_link) 2>&5 3157 ac_status=$? 3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3161 (eval $ac_try) 2>&5 3162 ac_status=$? 3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3164 (exit $ac_status); }; }; then 3165 : 3166else 3167 echo "$as_me: program exited with status $ac_status" >&5 3168echo "$as_me: failed program was:" >&5 3169sed 's/^/| /' conftest.$ac_ext >&5 3170 3171( exit $ac_status ) 3172ac_cv_header_stdc=no 3173fi 3174rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3175fi 3176fi 3177fi 3178echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3179echo "${ECHO_T}$ac_cv_header_stdc" >&6 3180if test $ac_cv_header_stdc = yes; then 3181 3182cat >>confdefs.h <<\_ACEOF 3183#define STDC_HEADERS 1 3184_ACEOF 3185 3186fi 3187 3188# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3199 inttypes.h stdint.h unistd.h 3200do 3201as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3202echo "$as_me:$LINENO: checking for $ac_header" >&5 3203echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3204if eval "test \"\${$as_ac_Header+set}\" = set"; then 3205 echo $ECHO_N "(cached) $ECHO_C" >&6 3206else 3207 cat >conftest.$ac_ext <<_ACEOF 3208/* confdefs.h. */ 3209_ACEOF 3210cat confdefs.h >>conftest.$ac_ext 3211cat >>conftest.$ac_ext <<_ACEOF 3212/* end confdefs.h. */ 3213$ac_includes_default 3214 3215#include <$ac_header> 3216_ACEOF 3217rm -f conftest.$ac_objext 3218if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3219 (eval $ac_compile) 2>conftest.er1 3220 ac_status=$? 3221 grep -v '^ *+' conftest.er1 >conftest.err 3222 rm -f conftest.er1 3223 cat conftest.err >&5 3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3225 (exit $ac_status); } && 3226 { ac_try='test -z "$ac_c_werror_flag" 3227 || test ! -s conftest.err' 3228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3229 (eval $ac_try) 2>&5 3230 ac_status=$? 3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3232 (exit $ac_status); }; } && 3233 { ac_try='test -s conftest.$ac_objext' 3234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3235 (eval $ac_try) 2>&5 3236 ac_status=$? 3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3238 (exit $ac_status); }; }; then 3239 eval "$as_ac_Header=yes" 3240else 3241 echo "$as_me: failed program was:" >&5 3242sed 's/^/| /' conftest.$ac_ext >&5 3243 3244eval "$as_ac_Header=no" 3245fi 3246rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3247fi 3248echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3249echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3250if test `eval echo '${'$as_ac_Header'}'` = yes; then 3251 cat >>confdefs.h <<_ACEOF 3252#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3253_ACEOF 3254 3255fi 3256 3257done 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267for ac_header in alloca.h elf.h elfaccess.h libelf.h libelf/libelf.h sys/types.h sys/ia64/elf.h 3268do 3269as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3270if eval "test \"\${$as_ac_Header+set}\" = set"; then 3271 echo "$as_me:$LINENO: checking for $ac_header" >&5 3272echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3273if eval "test \"\${$as_ac_Header+set}\" = set"; then 3274 echo $ECHO_N "(cached) $ECHO_C" >&6 3275fi 3276echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3277echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3278else 3279 # Is the header compilable? 3280echo "$as_me:$LINENO: checking $ac_header usability" >&5 3281echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3282cat >conftest.$ac_ext <<_ACEOF 3283/* confdefs.h. */ 3284_ACEOF 3285cat confdefs.h >>conftest.$ac_ext 3286cat >>conftest.$ac_ext <<_ACEOF 3287/* end confdefs.h. */ 3288$ac_includes_default 3289#include <$ac_header> 3290_ACEOF 3291rm -f conftest.$ac_objext 3292if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3293 (eval $ac_compile) 2>conftest.er1 3294 ac_status=$? 3295 grep -v '^ *+' conftest.er1 >conftest.err 3296 rm -f conftest.er1 3297 cat conftest.err >&5 3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3299 (exit $ac_status); } && 3300 { ac_try='test -z "$ac_c_werror_flag" 3301 || test ! -s conftest.err' 3302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3303 (eval $ac_try) 2>&5 3304 ac_status=$? 3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3306 (exit $ac_status); }; } && 3307 { ac_try='test -s conftest.$ac_objext' 3308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3309 (eval $ac_try) 2>&5 3310 ac_status=$? 3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3312 (exit $ac_status); }; }; then 3313 ac_header_compiler=yes 3314else 3315 echo "$as_me: failed program was:" >&5 3316sed 's/^/| /' conftest.$ac_ext >&5 3317 3318ac_header_compiler=no 3319fi 3320rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3321echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3322echo "${ECHO_T}$ac_header_compiler" >&6 3323 3324# Is the header present? 3325echo "$as_me:$LINENO: checking $ac_header presence" >&5 3326echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3327cat >conftest.$ac_ext <<_ACEOF 3328/* confdefs.h. */ 3329_ACEOF 3330cat confdefs.h >>conftest.$ac_ext 3331cat >>conftest.$ac_ext <<_ACEOF 3332/* end confdefs.h. */ 3333#include <$ac_header> 3334_ACEOF 3335if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3337 ac_status=$? 3338 grep -v '^ *+' conftest.er1 >conftest.err 3339 rm -f conftest.er1 3340 cat conftest.err >&5 3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3342 (exit $ac_status); } >/dev/null; then 3343 if test -s conftest.err; then 3344 ac_cpp_err=$ac_c_preproc_warn_flag 3345 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3346 else 3347 ac_cpp_err= 3348 fi 3349else 3350 ac_cpp_err=yes 3351fi 3352if test -z "$ac_cpp_err"; then 3353 ac_header_preproc=yes 3354else 3355 echo "$as_me: failed program was:" >&5 3356sed 's/^/| /' conftest.$ac_ext >&5 3357 3358 ac_header_preproc=no 3359fi 3360rm -f conftest.err conftest.$ac_ext 3361echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3362echo "${ECHO_T}$ac_header_preproc" >&6 3363 3364# So? What about this header? 3365case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3366 yes:no: ) 3367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3368echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3370echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3371 ac_header_preproc=yes 3372 ;; 3373 no:yes:* ) 3374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3375echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3377echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3379echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3381echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3383echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3385echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3386 ( 3387 cat <<\_ASBOX 3388## ------------------------------------------ ## 3389## Report this to the AC_PACKAGE_NAME lists. ## 3390## ------------------------------------------ ## 3391_ASBOX 3392 ) | 3393 sed "s/^/$as_me: WARNING: /" >&2 3394 ;; 3395esac 3396echo "$as_me:$LINENO: checking for $ac_header" >&5 3397echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3398if eval "test \"\${$as_ac_Header+set}\" = set"; then 3399 echo $ECHO_N "(cached) $ECHO_C" >&6 3400else 3401 eval "$as_ac_Header=\$ac_header_preproc" 3402fi 3403echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3404echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3405 3406fi 3407if test `eval echo '${'$as_ac_Header'}'` = yes; then 3408 cat >>confdefs.h <<_ACEOF 3409#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3410_ACEOF 3411 3412fi 3413 3414done 3415 3416 3417echo "$as_me:$LINENO: checking for elf64_getehdr in -lelf" >&5 3418echo $ECHO_N "checking for elf64_getehdr in -lelf... $ECHO_C" >&6 3419if test "${ac_cv_lib_elf_elf64_getehdr+set}" = set; then 3420 echo $ECHO_N "(cached) $ECHO_C" >&6 3421else 3422 ac_check_lib_save_LIBS=$LIBS 3423LIBS="-lelf $LIBS" 3424cat >conftest.$ac_ext <<_ACEOF 3425/* confdefs.h. */ 3426_ACEOF 3427cat confdefs.h >>conftest.$ac_ext 3428cat >>conftest.$ac_ext <<_ACEOF 3429/* end confdefs.h. */ 3430 3431/* Override any gcc2 internal prototype to avoid an error. */ 3432#ifdef __cplusplus 3433extern "C" 3434#endif 3435/* We use char because int might match the return type of a gcc2 3436 builtin and then its argument prototype would still apply. */ 3437char elf64_getehdr (); 3438int 3439main () 3440{ 3441elf64_getehdr (); 3442 ; 3443 return 0; 3444} 3445_ACEOF 3446rm -f conftest.$ac_objext conftest$ac_exeext 3447if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3448 (eval $ac_link) 2>conftest.er1 3449 ac_status=$? 3450 grep -v '^ *+' conftest.er1 >conftest.err 3451 rm -f conftest.er1 3452 cat conftest.err >&5 3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3454 (exit $ac_status); } && 3455 { ac_try='test -z "$ac_c_werror_flag" 3456 || test ! -s conftest.err' 3457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3458 (eval $ac_try) 2>&5 3459 ac_status=$? 3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3461 (exit $ac_status); }; } && 3462 { ac_try='test -s conftest$ac_exeext' 3463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3464 (eval $ac_try) 2>&5 3465 ac_status=$? 3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3467 (exit $ac_status); }; }; then 3468 ac_cv_lib_elf_elf64_getehdr=yes 3469else 3470 echo "$as_me: failed program was:" >&5 3471sed 's/^/| /' conftest.$ac_ext >&5 3472 3473ac_cv_lib_elf_elf64_getehdr=no 3474fi 3475rm -f conftest.err conftest.$ac_objext \ 3476 conftest$ac_exeext conftest.$ac_ext 3477LIBS=$ac_check_lib_save_LIBS 3478fi 3479echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf64_getehdr" >&5 3480echo "${ECHO_T}$ac_cv_lib_elf_elf64_getehdr" >&6 3481if test $ac_cv_lib_elf_elf64_getehdr = yes; then 3482 3483cat >>confdefs.h <<\_ACEOF 3484#define HAVE_ELF64_GETEHDR 1 3485_ACEOF 3486 3487fi 3488 3489echo "$as_me:$LINENO: checking for elf64_getshdr in -lelf" >&5 3490echo $ECHO_N "checking for elf64_getshdr in -lelf... $ECHO_C" >&6 3491if test "${ac_cv_lib_elf_elf64_getshdr+set}" = set; then 3492 echo $ECHO_N "(cached) $ECHO_C" >&6 3493else 3494 ac_check_lib_save_LIBS=$LIBS 3495LIBS="-lelf $LIBS" 3496cat >conftest.$ac_ext <<_ACEOF 3497/* confdefs.h. */ 3498_ACEOF 3499cat confdefs.h >>conftest.$ac_ext 3500cat >>conftest.$ac_ext <<_ACEOF 3501/* end confdefs.h. */ 3502 3503/* Override any gcc2 internal prototype to avoid an error. */ 3504#ifdef __cplusplus 3505extern "C" 3506#endif 3507/* We use char because int might match the return type of a gcc2 3508 builtin and then its argument prototype would still apply. */ 3509char elf64_getshdr (); 3510int 3511main () 3512{ 3513elf64_getshdr (); 3514 ; 3515 return 0; 3516} 3517_ACEOF 3518rm -f conftest.$ac_objext conftest$ac_exeext 3519if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3520 (eval $ac_link) 2>conftest.er1 3521 ac_status=$? 3522 grep -v '^ *+' conftest.er1 >conftest.err 3523 rm -f conftest.er1 3524 cat conftest.err >&5 3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3526 (exit $ac_status); } && 3527 { ac_try='test -z "$ac_c_werror_flag" 3528 || test ! -s conftest.err' 3529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3530 (eval $ac_try) 2>&5 3531 ac_status=$? 3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3533 (exit $ac_status); }; } && 3534 { ac_try='test -s conftest$ac_exeext' 3535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3536 (eval $ac_try) 2>&5 3537 ac_status=$? 3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3539 (exit $ac_status); }; }; then 3540 ac_cv_lib_elf_elf64_getshdr=yes 3541else 3542 echo "$as_me: failed program was:" >&5 3543sed 's/^/| /' conftest.$ac_ext >&5 3544 3545ac_cv_lib_elf_elf64_getshdr=no 3546fi 3547rm -f conftest.err conftest.$ac_objext \ 3548 conftest$ac_exeext conftest.$ac_ext 3549LIBS=$ac_check_lib_save_LIBS 3550fi 3551echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf64_getshdr" >&5 3552echo "${ECHO_T}$ac_cv_lib_elf_elf64_getshdr" >&6 3553if test $ac_cv_lib_elf_elf64_getshdr = yes; then 3554 3555cat >>confdefs.h <<\_ACEOF 3556#define HAVE_ELF64_GETSHDR 1 3557_ACEOF 3558 3559fi 3560 3561cat >conftest.$ac_ext <<_ACEOF 3562/* confdefs.h. */ 3563_ACEOF 3564cat confdefs.h >>conftest.$ac_ext 3565cat >>conftest.$ac_ext <<_ACEOF 3566/* end confdefs.h. */ 3567 3568int 3569main () 3570{ 3571__uint32_t p; p = 3; 3572 ; 3573 return 0; 3574} 3575_ACEOF 3576rm -f conftest.$ac_objext 3577if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3578 (eval $ac_compile) 2>conftest.er1 3579 ac_status=$? 3580 grep -v '^ *+' conftest.er1 >conftest.err 3581 rm -f conftest.er1 3582 cat conftest.err >&5 3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3584 (exit $ac_status); } && 3585 { ac_try='test -z "$ac_c_werror_flag" 3586 || test ! -s conftest.err' 3587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3588 (eval $ac_try) 2>&5 3589 ac_status=$? 3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3591 (exit $ac_status); }; } && 3592 { ac_try='test -s conftest.$ac_objext' 3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3594 (eval $ac_try) 2>&5 3595 ac_status=$? 3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3597 (exit $ac_status); }; }; then 3598 3599cat >>confdefs.h <<\_ACEOF 3600#define HAVE___UINT32_T 1 3601_ACEOF 3602 3603else 3604 echo "$as_me: failed program was:" >&5 3605sed 's/^/| /' conftest.$ac_ext >&5 3606 3607fi 3608rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3609cat >conftest.$ac_ext <<_ACEOF 3610/* confdefs.h. */ 3611_ACEOF 3612cat confdefs.h >>conftest.$ac_ext 3613cat >>conftest.$ac_ext <<_ACEOF 3614/* end confdefs.h. */ 3615 3616int 3617main () 3618{ 3619__uint64_t p; p = 3; 3620 ; 3621 return 0; 3622} 3623_ACEOF 3624rm -f conftest.$ac_objext 3625if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3626 (eval $ac_compile) 2>conftest.er1 3627 ac_status=$? 3628 grep -v '^ *+' conftest.er1 >conftest.err 3629 rm -f conftest.er1 3630 cat conftest.err >&5 3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3632 (exit $ac_status); } && 3633 { ac_try='test -z "$ac_c_werror_flag" 3634 || test ! -s conftest.err' 3635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3636 (eval $ac_try) 2>&5 3637 ac_status=$? 3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3639 (exit $ac_status); }; } && 3640 { ac_try='test -s conftest.$ac_objext' 3641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3642 (eval $ac_try) 2>&5 3643 ac_status=$? 3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3645 (exit $ac_status); }; }; then 3646 3647cat >>confdefs.h <<\_ACEOF 3648#define HAVE___UINT64_T 1 3649_ACEOF 3650 3651else 3652 echo "$as_me: failed program was:" >&5 3653sed 's/^/| /' conftest.$ac_ext >&5 3654 3655fi 3656rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3657cat >conftest.$ac_ext <<_ACEOF 3658/* confdefs.h. */ 3659_ACEOF 3660cat confdefs.h >>conftest.$ac_ext 3661cat >>conftest.$ac_ext <<_ACEOF 3662/* end confdefs.h. */ 3663#include <sys/types.h> 3664int 3665main () 3666{ 3667 __uint32_t p; p = 3; 3668 ; 3669 return 0; 3670} 3671_ACEOF 3672rm -f conftest.$ac_objext 3673if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3674 (eval $ac_compile) 2>conftest.er1 3675 ac_status=$? 3676 grep -v '^ *+' conftest.er1 >conftest.err 3677 rm -f conftest.er1 3678 cat conftest.err >&5 3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3680 (exit $ac_status); } && 3681 { ac_try='test -z "$ac_c_werror_flag" 3682 || test ! -s conftest.err' 3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3684 (eval $ac_try) 2>&5 3685 ac_status=$? 3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3687 (exit $ac_status); }; } && 3688 { ac_try='test -s conftest.$ac_objext' 3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3690 (eval $ac_try) 2>&5 3691 ac_status=$? 3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3693 (exit $ac_status); }; }; then 3694 3695cat >>confdefs.h <<\_ACEOF 3696#define HAVE___UINT32_T_IN_SYS_TYPES_H 1 3697_ACEOF 3698 3699else 3700 echo "$as_me: failed program was:" >&5 3701sed 's/^/| /' conftest.$ac_ext >&5 3702 3703fi 3704rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3705cat >conftest.$ac_ext <<_ACEOF 3706/* confdefs.h. */ 3707_ACEOF 3708cat confdefs.h >>conftest.$ac_ext 3709cat >>conftest.$ac_ext <<_ACEOF 3710/* end confdefs.h. */ 3711#include <sys/types.h> 3712int 3713main () 3714{ 3715 __uint64_t p; p = 3; 3716 ; 3717 return 0; 3718} 3719_ACEOF 3720rm -f conftest.$ac_objext 3721if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3722 (eval $ac_compile) 2>conftest.er1 3723 ac_status=$? 3724 grep -v '^ *+' conftest.er1 >conftest.err 3725 rm -f conftest.er1 3726 cat conftest.err >&5 3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3728 (exit $ac_status); } && 3729 { ac_try='test -z "$ac_c_werror_flag" 3730 || test ! -s conftest.err' 3731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3732 (eval $ac_try) 2>&5 3733 ac_status=$? 3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3735 (exit $ac_status); }; } && 3736 { ac_try='test -s conftest.$ac_objext' 3737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3738 (eval $ac_try) 2>&5 3739 ac_status=$? 3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3741 (exit $ac_status); }; }; then 3742 3743cat >>confdefs.h <<\_ACEOF 3744#define HAVE___UINT64_T_IN_SYS_TYPES_H 1 3745_ACEOF 3746 3747else 3748 echo "$as_me: failed program was:" >&5 3749sed 's/^/| /' conftest.$ac_ext >&5 3750 3751fi 3752rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3753cat >conftest.$ac_ext <<_ACEOF 3754/* confdefs.h. */ 3755_ACEOF 3756cat confdefs.h >>conftest.$ac_ext 3757cat >>conftest.$ac_ext <<_ACEOF 3758/* end confdefs.h. */ 3759#include <elf.h> 3760int 3761main () 3762{ 3763 int p; p = R_IA_64_DIR32LSB; 3764 ; 3765 return 0; 3766} 3767_ACEOF 3768rm -f conftest.$ac_objext 3769if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3770 (eval $ac_compile) 2>conftest.er1 3771 ac_status=$? 3772 grep -v '^ *+' conftest.er1 >conftest.err 3773 rm -f conftest.er1 3774 cat conftest.err >&5 3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3776 (exit $ac_status); } && 3777 { ac_try='test -z "$ac_c_werror_flag" 3778 || test ! -s conftest.err' 3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3780 (eval $ac_try) 2>&5 3781 ac_status=$? 3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3783 (exit $ac_status); }; } && 3784 { ac_try='test -s conftest.$ac_objext' 3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3786 (eval $ac_try) 2>&5 3787 ac_status=$? 3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3789 (exit $ac_status); }; }; then 3790 3791cat >>confdefs.h <<\_ACEOF 3792#define HAVE_R_IA_64_DIR32LSB 1 3793_ACEOF 3794 3795else 3796 echo "$as_me: failed program was:" >&5 3797sed 's/^/| /' conftest.$ac_ext >&5 3798 3799fi 3800rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3801 3802cat >conftest.$ac_ext <<_ACEOF 3803/* confdefs.h. */ 3804_ACEOF 3805cat confdefs.h >>conftest.$ac_ext 3806cat >>conftest.$ac_ext <<_ACEOF 3807/* end confdefs.h. */ 3808#include <sgidefs.h> 3809int 3810main () 3811{ 3812 __uint32_t p; p = 27; 3813 ; 3814 return 0; 3815} 3816_ACEOF 3817rm -f conftest.$ac_objext 3818if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3819 (eval $ac_compile) 2>conftest.er1 3820 ac_status=$? 3821 grep -v '^ *+' conftest.er1 >conftest.err 3822 rm -f conftest.er1 3823 cat conftest.err >&5 3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3825 (exit $ac_status); } && 3826 { ac_try='test -z "$ac_c_werror_flag" 3827 || test ! -s conftest.err' 3828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3829 (eval $ac_try) 2>&5 3830 ac_status=$? 3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3832 (exit $ac_status); }; } && 3833 { ac_try='test -s conftest.$ac_objext' 3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3835 (eval $ac_try) 2>&5 3836 ac_status=$? 3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3838 (exit $ac_status); }; }; then 3839 3840cat >>confdefs.h <<\_ACEOF 3841#define HAVE___UINT32_T_IN_SGIDEFS_H 1 3842_ACEOF 3843 3844else 3845 echo "$as_me: failed program was:" >&5 3846sed 's/^/| /' conftest.$ac_ext >&5 3847 3848fi 3849rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3850cat >conftest.$ac_ext <<_ACEOF 3851/* confdefs.h. */ 3852_ACEOF 3853cat confdefs.h >>conftest.$ac_ext 3854cat >>conftest.$ac_ext <<_ACEOF 3855/* end confdefs.h. */ 3856#include <sgidefs.h> 3857int 3858main () 3859{ 3860 __uint64_t p; p = 27; 3861 ; 3862 return 0; 3863} 3864_ACEOF 3865rm -f conftest.$ac_objext 3866if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3867 (eval $ac_compile) 2>conftest.er1 3868 ac_status=$? 3869 grep -v '^ *+' conftest.er1 >conftest.err 3870 rm -f conftest.er1 3871 cat conftest.err >&5 3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3873 (exit $ac_status); } && 3874 { ac_try='test -z "$ac_c_werror_flag" 3875 || test ! -s conftest.err' 3876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3877 (eval $ac_try) 2>&5 3878 ac_status=$? 3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3880 (exit $ac_status); }; } && 3881 { ac_try='test -s conftest.$ac_objext' 3882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3883 (eval $ac_try) 2>&5 3884 ac_status=$? 3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3886 (exit $ac_status); }; }; then 3887 3888cat >>confdefs.h <<\_ACEOF 3889#define HAVE___UINT64_T_IN_SGIDEFS_H 1 3890_ACEOF 3891 3892else 3893 echo "$as_me: failed program was:" >&5 3894sed 's/^/| /' conftest.$ac_ext >&5 3895 3896fi 3897rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3898 3899 3900build_nonshared=libdwarf.a 3901 3902# Check whether --enable-shared or --disable-shared was given. 3903if test "${enable_shared+set}" = set; then 3904 enableval="$enable_shared" 3905 build_shared=libdwarf.so 3906 3907else 3908 build_shared=none 3909 3910fi; 3911# Check whether --enable-nonshared or --disable-nonshared was given. 3912if test "${enable_nonshared+set}" = set; then 3913 enableval="$enable_nonshared" 3914 build_nonshared=libdwarf.a 3915 3916 build_nonshared=none 3917 3918fi; 3919 3920 3921cat >conftest.$ac_ext <<_ACEOF 3922/* confdefs.h. */ 3923_ACEOF 3924cat confdefs.h >>conftest.$ac_ext 3925cat >>conftest.$ac_ext <<_ACEOF 3926/* end confdefs.h. */ 3927#include <elf.h> 3928int 3929main () 3930{ 3931 int p; p = R_IA_64_DIR32LSB; 3932 ; 3933 return 0; 3934} 3935_ACEOF 3936rm -f conftest.$ac_objext 3937if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3938 (eval $ac_compile) 2>conftest.er1 3939 ac_status=$? 3940 grep -v '^ *+' conftest.er1 >conftest.err 3941 rm -f conftest.er1 3942 cat conftest.err >&5 3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3944 (exit $ac_status); } && 3945 { ac_try='test -z "$ac_c_werror_flag" 3946 || test ! -s conftest.err' 3947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3948 (eval $ac_try) 2>&5 3949 ac_status=$? 3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3951 (exit $ac_status); }; } && 3952 { ac_try='test -s conftest.$ac_objext' 3953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3954 (eval $ac_try) 2>&5 3955 ac_status=$? 3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3957 (exit $ac_status); }; }; then 3958 3959cat >>confdefs.h <<\_ACEOF 3960#define HAVE_OLD_DWARF2_32BIT_OFFSET 1 3961_ACEOF 3962 3963else 3964 echo "$as_me: failed program was:" >&5 3965sed 's/^/| /' conftest.$ac_ext >&5 3966 3967 3968cat >>confdefs.h <<\_ACEOF 3969#define HAVE_DWARF2_99_EXTENSION 1 3970_ACEOF 3971 3972fi 3973rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3974 3975 ac_config_files="$ac_config_files Makefile" 3976cat >confcache <<\_ACEOF 3977# This file is a shell script that caches the results of configure 3978# tests run on this system so they can be shared between configure 3979# scripts and configure runs, see configure's option --config-cache. 3980# It is not useful on other systems. If it contains results you don't 3981# want to keep, you may remove or edit it. 3982# 3983# config.status only pays attention to the cache file if you give it 3984# the --recheck option to rerun configure. 3985# 3986# `ac_cv_env_foo' variables (set or unset) will be overridden when 3987# loading this file, other *unset* `ac_cv_foo' will be assigned the 3988# following values. 3989 3990_ACEOF 3991 3992# The following way of writing the cache mishandles newlines in values, 3993# but we know of no workaround that is simple, portable, and efficient. 3994# So, don't put newlines in cache variables' values. 3995# Ultrix sh set writes to stderr and can't be redirected directly, 3996# and sets the high bit in the cache file unless we assign to the vars. 3997{ 3998 (set) 2>&1 | 3999 case `(ac_space=' '; set | grep ac_space) 2>&1` in 4000 *ac_space=\ *) 4001 # `set' does not quote correctly, so add quotes (double-quote 4002 # substitution turns \\\\ into \\, and sed turns \\ into \). 4003 sed -n \ 4004 "s/'/'\\\\''/g; 4005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4006 ;; 4007 *) 4008 # `set' quotes correctly as required by POSIX, so do not add quotes. 4009 sed -n \ 4010 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 4011 ;; 4012 esac; 4013} | 4014 sed ' 4015 t clear 4016 : clear 4017 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4018 t end 4019 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4020 : end' >>confcache 4021if diff $cache_file confcache >/dev/null 2>&1; then :; else 4022 if test -w $cache_file; then 4023 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 4024 cat confcache >$cache_file 4025 else 4026 echo "not updating unwritable cache $cache_file" 4027 fi 4028fi 4029rm -f confcache 4030 4031test "x$prefix" = xNONE && prefix=$ac_default_prefix 4032# Let make expand exec_prefix. 4033test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4034 4035# VPATH may cause trouble with some makes, so we remove $(srcdir), 4036# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4037# trailing colons and then remove the whole line if VPATH becomes empty 4038# (actually we leave an empty line to preserve line numbers). 4039if test "x$srcdir" = x.; then 4040 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4041s/:*\$(srcdir):*/:/; 4042s/:*\${srcdir}:*/:/; 4043s/:*@srcdir@:*/:/; 4044s/^\([^=]*=[ ]*\):*/\1/; 4045s/:*$//; 4046s/^[^=]*=[ ]*$//; 4047}' 4048fi 4049 4050DEFS=-DHAVE_CONFIG_H 4051 4052ac_libobjs= 4053ac_ltlibobjs= 4054for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4055 # 1. Remove the extension, and $U if already installed. 4056 ac_i=`echo "$ac_i" | 4057 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 4058 # 2. Add them. 4059 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 4060 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 4061done 4062LIBOBJS=$ac_libobjs 4063 4064LTLIBOBJS=$ac_ltlibobjs 4065 4066 4067 4068: ${CONFIG_STATUS=./config.status} 4069ac_clean_files_save=$ac_clean_files 4070ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4071{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4072echo "$as_me: creating $CONFIG_STATUS" >&6;} 4073cat >$CONFIG_STATUS <<_ACEOF 4074#! $SHELL 4075# Generated by $as_me. 4076# Run this file to recreate the current configuration. 4077# Compiler output produced by configure, useful for debugging 4078# configure, is in config.log if it exists. 4079 4080debug=false 4081ac_cs_recheck=false 4082ac_cs_silent=false 4083SHELL=\${CONFIG_SHELL-$SHELL} 4084_ACEOF 4085 4086cat >>$CONFIG_STATUS <<\_ACEOF 4087## --------------------- ## 4088## M4sh Initialization. ## 4089## --------------------- ## 4090 4091# Be Bourne compatible 4092if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4093 emulate sh 4094 NULLCMD=: 4095 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 4096 # is contrary to our usage. Disable this feature. 4097 alias -g '${1+"$@"}'='"$@"' 4098elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 4099 set -o posix 4100fi 4101DUALCASE=1; export DUALCASE # for MKS sh 4102 4103# Support unset when possible. 4104if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4105 as_unset=unset 4106else 4107 as_unset=false 4108fi 4109 4110 4111# Work around bugs in pre-3.0 UWIN ksh. 4112$as_unset ENV MAIL MAILPATH 4113PS1='$ ' 4114PS2='> ' 4115PS4='+ ' 4116 4117# NLS nuisances. 4118for as_var in \ 4119 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4120 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4121 LC_TELEPHONE LC_TIME 4122do 4123 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4124 eval $as_var=C; export $as_var 4125 else 4126 $as_unset $as_var 4127 fi 4128done 4129 4130# Required to use basename. 4131if expr a : '\(a\)' >/dev/null 2>&1; then 4132 as_expr=expr 4133else 4134 as_expr=false 4135fi 4136 4137if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 4138 as_basename=basename 4139else 4140 as_basename=false 4141fi 4142 4143 4144# Name of the executable. 4145as_me=`$as_basename "$0" || 4146$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4147 X"$0" : 'X\(//\)$' \| \ 4148 X"$0" : 'X\(/\)$' \| \ 4149 . : '\(.\)' 2>/dev/null || 4150echo X/"$0" | 4151 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 4152 /^X\/\(\/\/\)$/{ s//\1/; q; } 4153 /^X\/\(\/\).*/{ s//\1/; q; } 4154 s/.*/./; q'` 4155 4156 4157# PATH needs CR, and LINENO needs CR and PATH. 4158# Avoid depending upon Character Ranges. 4159as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4160as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4161as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4162as_cr_digits='0123456789' 4163as_cr_alnum=$as_cr_Letters$as_cr_digits 4164 4165# The user is always right. 4166if test "${PATH_SEPARATOR+set}" != set; then 4167 echo "#! /bin/sh" >conf$$.sh 4168 echo "exit 0" >>conf$$.sh 4169 chmod +x conf$$.sh 4170 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4171 PATH_SEPARATOR=';' 4172 else 4173 PATH_SEPARATOR=: 4174 fi 4175 rm -f conf$$.sh 4176fi 4177 4178 4179 as_lineno_1=$LINENO 4180 as_lineno_2=$LINENO 4181 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 4182 test "x$as_lineno_1" != "x$as_lineno_2" && 4183 test "x$as_lineno_3" = "x$as_lineno_2" || { 4184 # Find who we are. Look in the path if we contain no path at all 4185 # relative or not. 4186 case $0 in 4187 *[\\/]* ) as_myself=$0 ;; 4188 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4189for as_dir in $PATH 4190do 4191 IFS=$as_save_IFS 4192 test -z "$as_dir" && as_dir=. 4193 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4194done 4195 4196 ;; 4197 esac 4198 # We did not find ourselves, most probably we were run as `sh COMMAND' 4199 # in which case we are not to be found in the path. 4200 if test "x$as_myself" = x; then 4201 as_myself=$0 4202 fi 4203 if test ! -f "$as_myself"; then 4204 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 4205echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 4206 { (exit 1); exit 1; }; } 4207 fi 4208 case $CONFIG_SHELL in 4209 '') 4210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4211for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 4212do 4213 IFS=$as_save_IFS 4214 test -z "$as_dir" && as_dir=. 4215 for as_base in sh bash ksh sh5; do 4216 case $as_dir in 4217 /*) 4218 if ("$as_dir/$as_base" -c ' 4219 as_lineno_1=$LINENO 4220 as_lineno_2=$LINENO 4221 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 4222 test "x$as_lineno_1" != "x$as_lineno_2" && 4223 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 4224 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 4225 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 4226 CONFIG_SHELL=$as_dir/$as_base 4227 export CONFIG_SHELL 4228 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 4229 fi;; 4230 esac 4231 done 4232done 4233;; 4234 esac 4235 4236 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4237 # uniformly replaced by the line number. The first 'sed' inserts a 4238 # line-number line before each line; the second 'sed' does the real 4239 # work. The second script uses 'N' to pair each line-number line 4240 # with the numbered line, and appends trailing '-' during 4241 # substitution so that $LINENO is not a special case at line end. 4242 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4243 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 4244 sed '=' <$as_myself | 4245 sed ' 4246 N 4247 s,$,-, 4248 : loop 4249 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 4250 t loop 4251 s,-$,, 4252 s,^['$as_cr_digits']*\n,, 4253 ' >$as_me.lineno && 4254 chmod +x $as_me.lineno || 4255 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 4256echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 4257 { (exit 1); exit 1; }; } 4258 4259 # Don't try to exec as it changes $[0], causing all sort of problems 4260 # (the dirname of $[0] is not the place where we might find the 4261 # original and so on. Autoconf is especially sensible to this). 4262 . ./$as_me.lineno 4263 # Exit status is that of the last command. 4264 exit 4265} 4266 4267 4268case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 4269 *c*,-n*) ECHO_N= ECHO_C=' 4270' ECHO_T=' ' ;; 4271 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 4272 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 4273esac 4274 4275if expr a : '\(a\)' >/dev/null 2>&1; then 4276 as_expr=expr 4277else 4278 as_expr=false 4279fi 4280 4281rm -f conf$$ conf$$.exe conf$$.file 4282echo >conf$$.file 4283if ln -s conf$$.file conf$$ 2>/dev/null; then 4284 # We could just check for DJGPP; but this test a) works b) is more generic 4285 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 4286 if test -f conf$$.exe; then 4287 # Don't use ln at all; we don't have any links 4288 as_ln_s='cp -p' 4289 else 4290 as_ln_s='ln -s' 4291 fi 4292elif ln conf$$.file conf$$ 2>/dev/null; then 4293 as_ln_s=ln 4294else 4295 as_ln_s='cp -p' 4296fi 4297rm -f conf$$ conf$$.exe conf$$.file 4298 4299if mkdir -p . 2>/dev/null; then 4300 as_mkdir_p=: 4301else 4302 test -d ./-p && rmdir ./-p 4303 as_mkdir_p=false 4304fi 4305 4306as_executable_p="test -f" 4307 4308# Sed expression to map a string onto a valid CPP name. 4309as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4310 4311# Sed expression to map a string onto a valid variable name. 4312as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4313 4314 4315# IFS 4316# We need space, tab and new line, in precisely that order. 4317as_nl=' 4318' 4319IFS=" $as_nl" 4320 4321# CDPATH. 4322$as_unset CDPATH 4323 4324exec 6>&1 4325 4326# Open the log real soon, to keep \$[0] and so on meaningful, and to 4327# report actual input values of CONFIG_FILES etc. instead of their 4328# values after options handling. Logging --version etc. is OK. 4329exec 5>>config.log 4330{ 4331 echo 4332 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4333## Running $as_me. ## 4334_ASBOX 4335} >&5 4336cat >&5 <<_CSEOF 4337 4338This file was extended by $as_me, which was 4339generated by GNU Autoconf 2.59. Invocation command line was 4340 4341 CONFIG_FILES = $CONFIG_FILES 4342 CONFIG_HEADERS = $CONFIG_HEADERS 4343 CONFIG_LINKS = $CONFIG_LINKS 4344 CONFIG_COMMANDS = $CONFIG_COMMANDS 4345 $ $0 $@ 4346 4347_CSEOF 4348echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 4349echo >&5 4350_ACEOF 4351 4352# Files that config.status was made for. 4353if test -n "$ac_config_files"; then 4354 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 4355fi 4356 4357if test -n "$ac_config_headers"; then 4358 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 4359fi 4360 4361if test -n "$ac_config_links"; then 4362 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 4363fi 4364 4365if test -n "$ac_config_commands"; then 4366 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 4367fi 4368 4369cat >>$CONFIG_STATUS <<\_ACEOF 4370 4371ac_cs_usage="\ 4372\`$as_me' instantiates files from templates according to the 4373current configuration. 4374 4375Usage: $0 [OPTIONS] [FILE]... 4376 4377 -h, --help print this help, then exit 4378 -V, --version print version number, then exit 4379 -q, --quiet do not print progress messages 4380 -d, --debug don't remove temporary files 4381 --recheck update $as_me by reconfiguring in the same conditions 4382 --file=FILE[:TEMPLATE] 4383 instantiate the configuration file FILE 4384 --header=FILE[:TEMPLATE] 4385 instantiate the configuration header FILE 4386 4387Configuration files: 4388$config_files 4389 4390Configuration headers: 4391$config_headers 4392 4393Report bugs to <bug-autoconf@gnu.org>." 4394_ACEOF 4395 4396cat >>$CONFIG_STATUS <<_ACEOF 4397ac_cs_version="\\ 4398config.status 4399configured by $0, generated by GNU Autoconf 2.59, 4400 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 4401 4402Copyright (C) 2003 Free Software Foundation, Inc. 4403This config.status script is free software; the Free Software Foundation 4404gives unlimited permission to copy, distribute and modify it." 4405srcdir=$srcdir 4406INSTALL="$INSTALL" 4407_ACEOF 4408 4409cat >>$CONFIG_STATUS <<\_ACEOF 4410# If no file are specified by the user, then we need to provide default 4411# value. By we need to know if files were specified by the user. 4412ac_need_defaults=: 4413while test $# != 0 4414do 4415 case $1 in 4416 --*=*) 4417 ac_option=`expr "x$1" : 'x\([^=]*\)='` 4418 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 4419 ac_shift=: 4420 ;; 4421 -*) 4422 ac_option=$1 4423 ac_optarg=$2 4424 ac_shift=shift 4425 ;; 4426 *) # This is not an option, so the user has probably given explicit 4427 # arguments. 4428 ac_option=$1 4429 ac_need_defaults=false;; 4430 esac 4431 4432 case $ac_option in 4433 # Handling of the options. 4434_ACEOF 4435cat >>$CONFIG_STATUS <<\_ACEOF 4436 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4437 ac_cs_recheck=: ;; 4438 --version | --vers* | -V ) 4439 echo "$ac_cs_version"; exit 0 ;; 4440 --he | --h) 4441 # Conflict between --help and --header 4442 { { echo "$as_me:$LINENO: error: ambiguous option: $1 4443Try \`$0 --help' for more information." >&5 4444echo "$as_me: error: ambiguous option: $1 4445Try \`$0 --help' for more information." >&2;} 4446 { (exit 1); exit 1; }; };; 4447 --help | --hel | -h ) 4448 echo "$ac_cs_usage"; exit 0 ;; 4449 --debug | --d* | -d ) 4450 debug=: ;; 4451 --file | --fil | --fi | --f ) 4452 $ac_shift 4453 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4454 ac_need_defaults=false;; 4455 --header | --heade | --head | --hea ) 4456 $ac_shift 4457 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4458 ac_need_defaults=false;; 4459 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4460 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4461 ac_cs_silent=: ;; 4462 4463 # This is an error. 4464 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 4465Try \`$0 --help' for more information." >&5 4466echo "$as_me: error: unrecognized option: $1 4467Try \`$0 --help' for more information." >&2;} 4468 { (exit 1); exit 1; }; } ;; 4469 4470 *) ac_config_targets="$ac_config_targets $1" ;; 4471 4472 esac 4473 shift 4474done 4475 4476ac_configure_extra_args= 4477 4478if $ac_cs_silent; then 4479 exec 6>/dev/null 4480 ac_configure_extra_args="$ac_configure_extra_args --silent" 4481fi 4482 4483_ACEOF 4484cat >>$CONFIG_STATUS <<_ACEOF 4485if \$ac_cs_recheck; then 4486 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4487 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4488fi 4489 4490_ACEOF 4491 4492 4493 4494 4495 4496cat >>$CONFIG_STATUS <<\_ACEOF 4497for ac_config_target in $ac_config_targets 4498do 4499 case "$ac_config_target" in 4500 # Handling of arguments. 4501 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4502 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4503 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4504echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4505 { (exit 1); exit 1; }; };; 4506 esac 4507done 4508 4509# If the user did not use the arguments to specify the items to instantiate, 4510# then the envvar interface is used. Set only those that are not. 4511# We use the long form for the default assignment because of an extremely 4512# bizarre bug on SunOS 4.1.3. 4513if $ac_need_defaults; then 4514 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4515 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4516fi 4517 4518# Have a temporary directory for convenience. Make it in the build tree 4519# simply because there is no reason to put it here, and in addition, 4520# creating and moving files from /tmp can sometimes cause problems. 4521# Create a temporary directory, and hook for its removal unless debugging. 4522$debug || 4523{ 4524 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 4525 trap '{ (exit 1); exit 1; }' 1 2 13 15 4526} 4527 4528# Create a (secure) tmp directory for tmp files. 4529 4530{ 4531 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 4532 test -n "$tmp" && test -d "$tmp" 4533} || 4534{ 4535 tmp=./confstat$$-$RANDOM 4536 (umask 077 && mkdir $tmp) 4537} || 4538{ 4539 echo "$me: cannot create a temporary directory in ." >&2 4540 { (exit 1); exit 1; } 4541} 4542 4543_ACEOF 4544 4545cat >>$CONFIG_STATUS <<_ACEOF 4546 4547# 4548# CONFIG_FILES section. 4549# 4550 4551# No need to generate the scripts if there are no CONFIG_FILES. 4552# This happens for instance when ./config.status config.h 4553if test -n "\$CONFIG_FILES"; then 4554 # Protect against being on the right side of a sed subst in config.status. 4555 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 4556 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 4557s,@SHELL@,$SHELL,;t t 4558s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 4559s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 4560s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 4561s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 4562s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 4563s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 4564s,@exec_prefix@,$exec_prefix,;t t 4565s,@prefix@,$prefix,;t t 4566s,@program_transform_name@,$program_transform_name,;t t 4567s,@bindir@,$bindir,;t t 4568s,@sbindir@,$sbindir,;t t 4569s,@libexecdir@,$libexecdir,;t t 4570s,@datadir@,$datadir,;t t 4571s,@sysconfdir@,$sysconfdir,;t t 4572s,@sharedstatedir@,$sharedstatedir,;t t 4573s,@localstatedir@,$localstatedir,;t t 4574s,@libdir@,$libdir,;t t 4575s,@includedir@,$includedir,;t t 4576s,@oldincludedir@,$oldincludedir,;t t 4577s,@infodir@,$infodir,;t t 4578s,@mandir@,$mandir,;t t 4579s,@build_alias@,$build_alias,;t t 4580s,@host_alias@,$host_alias,;t t 4581s,@target_alias@,$target_alias,;t t 4582s,@DEFS@,$DEFS,;t t 4583s,@ECHO_C@,$ECHO_C,;t t 4584s,@ECHO_N@,$ECHO_N,;t t 4585s,@ECHO_T@,$ECHO_T,;t t 4586s,@LIBS@,$LIBS,;t t 4587s,@CC@,$CC,;t t 4588s,@CFLAGS@,$CFLAGS,;t t 4589s,@LDFLAGS@,$LDFLAGS,;t t 4590s,@CPPFLAGS@,$CPPFLAGS,;t t 4591s,@ac_ct_CC@,$ac_ct_CC,;t t 4592s,@EXEEXT@,$EXEEXT,;t t 4593s,@OBJEXT@,$OBJEXT,;t t 4594s,@CPP@,$CPP,;t t 4595s,@EGREP@,$EGREP,;t t 4596s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 4597s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 4598s,@INSTALL_DATA@,$INSTALL_DATA,;t t 4599s,@RANLIB@,$RANLIB,;t t 4600s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 4601s,@AR@,$AR,;t t 4602s,@ac_ct_AR@,$ac_ct_AR,;t t 4603s,@build_shared@,$build_shared,;t t 4604s,@build_nonshared@,$build_nonshared,;t t 4605s,@LIBOBJS@,$LIBOBJS,;t t 4606s,@LTLIBOBJS@,$LTLIBOBJS,;t t 4607CEOF 4608 4609_ACEOF 4610 4611 cat >>$CONFIG_STATUS <<\_ACEOF 4612 # Split the substitutions into bite-sized pieces for seds with 4613 # small command number limits, like on Digital OSF/1 and HP-UX. 4614 ac_max_sed_lines=48 4615 ac_sed_frag=1 # Number of current file. 4616 ac_beg=1 # First line for current file. 4617 ac_end=$ac_max_sed_lines # Line after last line for current file. 4618 ac_more_lines=: 4619 ac_sed_cmds= 4620 while $ac_more_lines; do 4621 if test $ac_beg -gt 1; then 4622 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4623 else 4624 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4625 fi 4626 if test ! -s $tmp/subs.frag; then 4627 ac_more_lines=false 4628 else 4629 # The purpose of the label and of the branching condition is to 4630 # speed up the sed processing (if there are no `@' at all, there 4631 # is no need to browse any of the substitutions). 4632 # These are the two extra sed commands mentioned above. 4633 (echo ':t 4634 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 4635 if test -z "$ac_sed_cmds"; then 4636 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 4637 else 4638 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 4639 fi 4640 ac_sed_frag=`expr $ac_sed_frag + 1` 4641 ac_beg=$ac_end 4642 ac_end=`expr $ac_end + $ac_max_sed_lines` 4643 fi 4644 done 4645 if test -z "$ac_sed_cmds"; then 4646 ac_sed_cmds=cat 4647 fi 4648fi # test -n "$CONFIG_FILES" 4649 4650_ACEOF 4651cat >>$CONFIG_STATUS <<\_ACEOF 4652for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 4653 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4654 case $ac_file in 4655 - | *:- | *:-:* ) # input from stdin 4656 cat >$tmp/stdin 4657 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4658 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4659 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4660 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4661 * ) ac_file_in=$ac_file.in ;; 4662 esac 4663 4664 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 4665 ac_dir=`(dirname "$ac_file") 2>/dev/null || 4666$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4667 X"$ac_file" : 'X\(//\)[^/]' \| \ 4668 X"$ac_file" : 'X\(//\)$' \| \ 4669 X"$ac_file" : 'X\(/\)' \| \ 4670 . : '\(.\)' 2>/dev/null || 4671echo X"$ac_file" | 4672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4673 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4674 /^X\(\/\/\)$/{ s//\1/; q; } 4675 /^X\(\/\).*/{ s//\1/; q; } 4676 s/.*/./; q'` 4677 { if $as_mkdir_p; then 4678 mkdir -p "$ac_dir" 4679 else 4680 as_dir="$ac_dir" 4681 as_dirs= 4682 while test ! -d "$as_dir"; do 4683 as_dirs="$as_dir $as_dirs" 4684 as_dir=`(dirname "$as_dir") 2>/dev/null || 4685$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4686 X"$as_dir" : 'X\(//\)[^/]' \| \ 4687 X"$as_dir" : 'X\(//\)$' \| \ 4688 X"$as_dir" : 'X\(/\)' \| \ 4689 . : '\(.\)' 2>/dev/null || 4690echo X"$as_dir" | 4691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4692 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4693 /^X\(\/\/\)$/{ s//\1/; q; } 4694 /^X\(\/\).*/{ s//\1/; q; } 4695 s/.*/./; q'` 4696 done 4697 test ! -n "$as_dirs" || mkdir $as_dirs 4698 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4699echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4700 { (exit 1); exit 1; }; }; } 4701 4702 ac_builddir=. 4703 4704if test "$ac_dir" != .; then 4705 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4706 # A "../" for each directory in $ac_dir_suffix. 4707 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4708else 4709 ac_dir_suffix= ac_top_builddir= 4710fi 4711 4712case $srcdir in 4713 .) # No --srcdir option. We are building in place. 4714 ac_srcdir=. 4715 if test -z "$ac_top_builddir"; then 4716 ac_top_srcdir=. 4717 else 4718 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4719 fi ;; 4720 [\\/]* | ?:[\\/]* ) # Absolute path. 4721 ac_srcdir=$srcdir$ac_dir_suffix; 4722 ac_top_srcdir=$srcdir ;; 4723 *) # Relative path. 4724 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4725 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4726esac 4727 4728# Do not use `cd foo && pwd` to compute absolute paths, because 4729# the directories may not exist. 4730case `pwd` in 4731.) ac_abs_builddir="$ac_dir";; 4732*) 4733 case "$ac_dir" in 4734 .) ac_abs_builddir=`pwd`;; 4735 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 4736 *) ac_abs_builddir=`pwd`/"$ac_dir";; 4737 esac;; 4738esac 4739case $ac_abs_builddir in 4740.) ac_abs_top_builddir=${ac_top_builddir}.;; 4741*) 4742 case ${ac_top_builddir}. in 4743 .) ac_abs_top_builddir=$ac_abs_builddir;; 4744 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 4745 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 4746 esac;; 4747esac 4748case $ac_abs_builddir in 4749.) ac_abs_srcdir=$ac_srcdir;; 4750*) 4751 case $ac_srcdir in 4752 .) ac_abs_srcdir=$ac_abs_builddir;; 4753 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 4754 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 4755 esac;; 4756esac 4757case $ac_abs_builddir in 4758.) ac_abs_top_srcdir=$ac_top_srcdir;; 4759*) 4760 case $ac_top_srcdir in 4761 .) ac_abs_top_srcdir=$ac_abs_builddir;; 4762 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 4763 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 4764 esac;; 4765esac 4766 4767 4768 case $INSTALL in 4769 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4770 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 4771 esac 4772 4773 if test x"$ac_file" != x-; then 4774 { echo "$as_me:$LINENO: creating $ac_file" >&5 4775echo "$as_me: creating $ac_file" >&6;} 4776 rm -f "$ac_file" 4777 fi 4778 # Let's still pretend it is `configure' which instantiates (i.e., don't 4779 # use $as_me), people would be surprised to read: 4780 # /* config.h. Generated by config.status. */ 4781 if test x"$ac_file" = x-; then 4782 configure_input= 4783 else 4784 configure_input="$ac_file. " 4785 fi 4786 configure_input=$configure_input"Generated from `echo $ac_file_in | 4787 sed 's,.*/,,'` by configure." 4788 4789 # First look for the input files in the build tree, otherwise in the 4790 # src tree. 4791 ac_file_inputs=`IFS=: 4792 for f in $ac_file_in; do 4793 case $f in 4794 -) echo $tmp/stdin ;; 4795 [\\/$]*) 4796 # Absolute (can't be DOS-style, as IFS=:) 4797 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4798echo "$as_me: error: cannot find input file: $f" >&2;} 4799 { (exit 1); exit 1; }; } 4800 echo "$f";; 4801 *) # Relative 4802 if test -f "$f"; then 4803 # Build tree 4804 echo "$f" 4805 elif test -f "$srcdir/$f"; then 4806 # Source tree 4807 echo "$srcdir/$f" 4808 else 4809 # /dev/null tree 4810 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4811echo "$as_me: error: cannot find input file: $f" >&2;} 4812 { (exit 1); exit 1; }; } 4813 fi;; 4814 esac 4815 done` || { (exit 1); exit 1; } 4816_ACEOF 4817cat >>$CONFIG_STATUS <<_ACEOF 4818 sed "$ac_vpsub 4819$extrasub 4820_ACEOF 4821cat >>$CONFIG_STATUS <<\_ACEOF 4822:t 4823/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4824s,@configure_input@,$configure_input,;t t 4825s,@srcdir@,$ac_srcdir,;t t 4826s,@abs_srcdir@,$ac_abs_srcdir,;t t 4827s,@top_srcdir@,$ac_top_srcdir,;t t 4828s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 4829s,@builddir@,$ac_builddir,;t t 4830s,@abs_builddir@,$ac_abs_builddir,;t t 4831s,@top_builddir@,$ac_top_builddir,;t t 4832s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 4833s,@INSTALL@,$ac_INSTALL,;t t 4834" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 4835 rm -f $tmp/stdin 4836 if test x"$ac_file" != x-; then 4837 mv $tmp/out $ac_file 4838 else 4839 cat $tmp/out 4840 rm -f $tmp/out 4841 fi 4842 4843done 4844_ACEOF 4845cat >>$CONFIG_STATUS <<\_ACEOF 4846 4847# 4848# CONFIG_HEADER section. 4849# 4850 4851# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 4852# NAME is the cpp macro being defined and VALUE is the value it is being given. 4853# 4854# ac_d sets the value in "#define NAME VALUE" lines. 4855ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 4856ac_dB='[ ].*$,\1#\2' 4857ac_dC=' ' 4858ac_dD=',;t' 4859# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 4860ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 4861ac_uB='$,\1#\2define\3' 4862ac_uC=' ' 4863ac_uD=',;t' 4864 4865for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 4866 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4867 case $ac_file in 4868 - | *:- | *:-:* ) # input from stdin 4869 cat >$tmp/stdin 4870 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4871 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4872 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4873 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4874 * ) ac_file_in=$ac_file.in ;; 4875 esac 4876 4877 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 4878echo "$as_me: creating $ac_file" >&6;} 4879 4880 # First look for the input files in the build tree, otherwise in the 4881 # src tree. 4882 ac_file_inputs=`IFS=: 4883 for f in $ac_file_in; do 4884 case $f in 4885 -) echo $tmp/stdin ;; 4886 [\\/$]*) 4887 # Absolute (can't be DOS-style, as IFS=:) 4888 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4889echo "$as_me: error: cannot find input file: $f" >&2;} 4890 { (exit 1); exit 1; }; } 4891 # Do quote $f, to prevent DOS paths from being IFS'd. 4892 echo "$f";; 4893 *) # Relative 4894 if test -f "$f"; then 4895 # Build tree 4896 echo "$f" 4897 elif test -f "$srcdir/$f"; then 4898 # Source tree 4899 echo "$srcdir/$f" 4900 else 4901 # /dev/null tree 4902 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4903echo "$as_me: error: cannot find input file: $f" >&2;} 4904 { (exit 1); exit 1; }; } 4905 fi;; 4906 esac 4907 done` || { (exit 1); exit 1; } 4908 # Remove the trailing spaces. 4909 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 4910 4911_ACEOF 4912 4913# Transform confdefs.h into two sed scripts, `conftest.defines' and 4914# `conftest.undefs', that substitutes the proper values into 4915# config.h.in to produce config.h. The first handles `#define' 4916# templates, and the second `#undef' templates. 4917# And first: Protect against being on the right side of a sed subst in 4918# config.status. Protect against being in an unquoted here document 4919# in config.status. 4920rm -f conftest.defines conftest.undefs 4921# Using a here document instead of a string reduces the quoting nightmare. 4922# Putting comments in sed scripts is not portable. 4923# 4924# `end' is used to avoid that the second main sed command (meant for 4925# 0-ary CPP macros) applies to n-ary macro definitions. 4926# See the Autoconf documentation for `clear'. 4927cat >confdef2sed.sed <<\_ACEOF 4928s/[\\&,]/\\&/g 4929s,[\\$`],\\&,g 4930t clear 4931: clear 4932s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 4933t end 4934s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 4935: end 4936_ACEOF 4937# If some macros were called several times there might be several times 4938# the same #defines, which is useless. Nevertheless, we may not want to 4939# sort them, since we want the *last* AC-DEFINE to be honored. 4940uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 4941sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 4942rm -f confdef2sed.sed 4943 4944# This sed command replaces #undef with comments. This is necessary, for 4945# example, in the case of _POSIX_SOURCE, which is predefined and required 4946# on some systems where configure will not decide to define it. 4947cat >>conftest.undefs <<\_ACEOF 4948s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 4949_ACEOF 4950 4951# Break up conftest.defines because some shells have a limit on the size 4952# of here documents, and old seds have small limits too (100 cmds). 4953echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 4954echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 4955echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 4956echo ' :' >>$CONFIG_STATUS 4957rm -f conftest.tail 4958while grep . conftest.defines >/dev/null 4959do 4960 # Write a limited-size here document to $tmp/defines.sed. 4961 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 4962 # Speed up: don't consider the non `#define' lines. 4963 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 4964 # Work around the forget-to-reset-the-flag bug. 4965 echo 't clr' >>$CONFIG_STATUS 4966 echo ': clr' >>$CONFIG_STATUS 4967 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 4968 echo 'CEOF 4969 sed -f $tmp/defines.sed $tmp/in >$tmp/out 4970 rm -f $tmp/in 4971 mv $tmp/out $tmp/in 4972' >>$CONFIG_STATUS 4973 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 4974 rm -f conftest.defines 4975 mv conftest.tail conftest.defines 4976done 4977rm -f conftest.defines 4978echo ' fi # grep' >>$CONFIG_STATUS 4979echo >>$CONFIG_STATUS 4980 4981# Break up conftest.undefs because some shells have a limit on the size 4982# of here documents, and old seds have small limits too (100 cmds). 4983echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 4984rm -f conftest.tail 4985while grep . conftest.undefs >/dev/null 4986do 4987 # Write a limited-size here document to $tmp/undefs.sed. 4988 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 4989 # Speed up: don't consider the non `#undef' 4990 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 4991 # Work around the forget-to-reset-the-flag bug. 4992 echo 't clr' >>$CONFIG_STATUS 4993 echo ': clr' >>$CONFIG_STATUS 4994 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 4995 echo 'CEOF 4996 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 4997 rm -f $tmp/in 4998 mv $tmp/out $tmp/in 4999' >>$CONFIG_STATUS 5000 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 5001 rm -f conftest.undefs 5002 mv conftest.tail conftest.undefs 5003done 5004rm -f conftest.undefs 5005 5006cat >>$CONFIG_STATUS <<\_ACEOF 5007 # Let's still pretend it is `configure' which instantiates (i.e., don't 5008 # use $as_me), people would be surprised to read: 5009 # /* config.h. Generated by config.status. */ 5010 if test x"$ac_file" = x-; then 5011 echo "/* Generated by configure. */" >$tmp/config.h 5012 else 5013 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 5014 fi 5015 cat $tmp/in >>$tmp/config.h 5016 rm -f $tmp/in 5017 if test x"$ac_file" != x-; then 5018 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 5019 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 5020echo "$as_me: $ac_file is unchanged" >&6;} 5021 else 5022 ac_dir=`(dirname "$ac_file") 2>/dev/null || 5023$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5024 X"$ac_file" : 'X\(//\)[^/]' \| \ 5025 X"$ac_file" : 'X\(//\)$' \| \ 5026 X"$ac_file" : 'X\(/\)' \| \ 5027 . : '\(.\)' 2>/dev/null || 5028echo X"$ac_file" | 5029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5030 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5031 /^X\(\/\/\)$/{ s//\1/; q; } 5032 /^X\(\/\).*/{ s//\1/; q; } 5033 s/.*/./; q'` 5034 { if $as_mkdir_p; then 5035 mkdir -p "$ac_dir" 5036 else 5037 as_dir="$ac_dir" 5038 as_dirs= 5039 while test ! -d "$as_dir"; do 5040 as_dirs="$as_dir $as_dirs" 5041 as_dir=`(dirname "$as_dir") 2>/dev/null || 5042$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5043 X"$as_dir" : 'X\(//\)[^/]' \| \ 5044 X"$as_dir" : 'X\(//\)$' \| \ 5045 X"$as_dir" : 'X\(/\)' \| \ 5046 . : '\(.\)' 2>/dev/null || 5047echo X"$as_dir" | 5048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5049 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5050 /^X\(\/\/\)$/{ s//\1/; q; } 5051 /^X\(\/\).*/{ s//\1/; q; } 5052 s/.*/./; q'` 5053 done 5054 test ! -n "$as_dirs" || mkdir $as_dirs 5055 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 5056echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 5057 { (exit 1); exit 1; }; }; } 5058 5059 rm -f $ac_file 5060 mv $tmp/config.h $ac_file 5061 fi 5062 else 5063 cat $tmp/config.h 5064 rm -f $tmp/config.h 5065 fi 5066done 5067_ACEOF 5068 5069cat >>$CONFIG_STATUS <<\_ACEOF 5070 5071{ (exit 0); exit 0; } 5072_ACEOF 5073chmod +x $CONFIG_STATUS 5074ac_clean_files=$ac_clean_files_save 5075 5076 5077# configure is writing to config.log, and then calls config.status. 5078# config.status does its own redirection, appending to config.log. 5079# Unfortunately, on DOS this fails, as config.log is still kept open 5080# by configure, so config.status won't be able to write to it; its 5081# output is simply discarded. So we exec the FD to /dev/null, 5082# effectively closing config.log, so it can be properly (re)opened and 5083# appended to by config.status. When coming back to configure, we 5084# need to make the FD available again. 5085if test "$no_create" != yes; then 5086 ac_cs_success=: 5087 ac_config_status_args= 5088 test "$silent" = yes && 5089 ac_config_status_args="$ac_config_status_args --quiet" 5090 exec 5>/dev/null 5091 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5092 exec 5>>config.log 5093 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5094 # would make configure fail if this is the last instruction. 5095 $ac_cs_success || { (exit 1); exit 1; } 5096fi 5097