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="gdb.base" 275ac_subdirs_all="$ac_subdirs_all gdb.hp" 276ac_subdirs_all="$ac_subdirs_all gdb.stabs" 277ac_subdirs_all="$ac_subdirs_all gdb.gdbtk" 278# Factoring default headers for most tests. 279ac_includes_default="\ 280#include <stdio.h> 281#if HAVE_SYS_TYPES_H 282# include <sys/types.h> 283#endif 284#if HAVE_SYS_STAT_H 285# include <sys/stat.h> 286#endif 287#if STDC_HEADERS 288# include <stdlib.h> 289# include <stddef.h> 290#else 291# if HAVE_STDLIB_H 292# include <stdlib.h> 293# endif 294#endif 295#if HAVE_STRING_H 296# if !STDC_HEADERS && HAVE_MEMORY_H 297# include <memory.h> 298# endif 299# include <string.h> 300#endif 301#if HAVE_STRINGS_H 302# include <strings.h> 303#endif 304#if HAVE_INTTYPES_H 305# include <inttypes.h> 306#else 307# if HAVE_STDINT_H 308# include <stdint.h> 309# endif 310#endif 311#if HAVE_UNISTD_H 312# include <unistd.h> 313#endif" 314 315ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical subdirs RPATH_ENVVAR CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS LTLIBOBJS' 316ac_subst_files='' 317 318# Initialize some variables set by options. 319ac_init_help= 320ac_init_version=false 321# The variables have the same names as the options, with 322# dashes changed to underlines. 323cache_file=/dev/null 324exec_prefix=NONE 325no_create= 326no_recursion= 327prefix=NONE 328program_prefix=NONE 329program_suffix=NONE 330program_transform_name=s,x,x, 331silent= 332site= 333srcdir= 334verbose= 335x_includes=NONE 336x_libraries=NONE 337 338# Installation directory options. 339# These are left unexpanded so users can "make install exec_prefix=/foo" 340# and all the variables that are supposed to be based on exec_prefix 341# by default will actually change. 342# Use braces instead of parens because sh, perl, etc. also accept them. 343bindir='${exec_prefix}/bin' 344sbindir='${exec_prefix}/sbin' 345libexecdir='${exec_prefix}/libexec' 346datadir='${prefix}/share' 347sysconfdir='${prefix}/etc' 348sharedstatedir='${prefix}/com' 349localstatedir='${prefix}/var' 350libdir='${exec_prefix}/lib' 351includedir='${prefix}/include' 352oldincludedir='/usr/include' 353infodir='${prefix}/info' 354mandir='${prefix}/man' 355 356ac_prev= 357for ac_option 358do 359 # If the previous option needs an argument, assign it. 360 if test -n "$ac_prev"; then 361 eval "$ac_prev=\$ac_option" 362 ac_prev= 363 continue 364 fi 365 366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 367 368 # Accept the important Cygnus configure options, so we can diagnose typos. 369 370 case $ac_option in 371 372 -bindir | --bindir | --bindi | --bind | --bin | --bi) 373 ac_prev=bindir ;; 374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 375 bindir=$ac_optarg ;; 376 377 -build | --build | --buil | --bui | --bu) 378 ac_prev=build_alias ;; 379 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 380 build_alias=$ac_optarg ;; 381 382 -cache-file | --cache-file | --cache-fil | --cache-fi \ 383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 384 ac_prev=cache_file ;; 385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 387 cache_file=$ac_optarg ;; 388 389 --config-cache | -C) 390 cache_file=config.cache ;; 391 392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 393 ac_prev=datadir ;; 394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 395 | --da=*) 396 datadir=$ac_optarg ;; 397 398 -disable-* | --disable-*) 399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 400 # Reject names that are not valid shell variable names. 401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 403 { (exit 1); exit 1; }; } 404 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 405 eval "enable_$ac_feature=no" ;; 406 407 -enable-* | --enable-*) 408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 409 # Reject names that are not valid shell variable names. 410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 412 { (exit 1); exit 1; }; } 413 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 414 case $ac_option in 415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 416 *) ac_optarg=yes ;; 417 esac 418 eval "enable_$ac_feature='$ac_optarg'" ;; 419 420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 422 | --exec | --exe | --ex) 423 ac_prev=exec_prefix ;; 424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 426 | --exec=* | --exe=* | --ex=*) 427 exec_prefix=$ac_optarg ;; 428 429 -gas | --gas | --ga | --g) 430 # Obsolete; use --with-gas. 431 with_gas=yes ;; 432 433 -help | --help | --hel | --he | -h) 434 ac_init_help=long ;; 435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 436 ac_init_help=recursive ;; 437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 438 ac_init_help=short ;; 439 440 -host | --host | --hos | --ho) 441 ac_prev=host_alias ;; 442 -host=* | --host=* | --hos=* | --ho=*) 443 host_alias=$ac_optarg ;; 444 445 -includedir | --includedir | --includedi | --included | --include \ 446 | --includ | --inclu | --incl | --inc) 447 ac_prev=includedir ;; 448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 449 | --includ=* | --inclu=* | --incl=* | --inc=*) 450 includedir=$ac_optarg ;; 451 452 -infodir | --infodir | --infodi | --infod | --info | --inf) 453 ac_prev=infodir ;; 454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 455 infodir=$ac_optarg ;; 456 457 -libdir | --libdir | --libdi | --libd) 458 ac_prev=libdir ;; 459 -libdir=* | --libdir=* | --libdi=* | --libd=*) 460 libdir=$ac_optarg ;; 461 462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 463 | --libexe | --libex | --libe) 464 ac_prev=libexecdir ;; 465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 466 | --libexe=* | --libex=* | --libe=*) 467 libexecdir=$ac_optarg ;; 468 469 -localstatedir | --localstatedir | --localstatedi | --localstated \ 470 | --localstate | --localstat | --localsta | --localst \ 471 | --locals | --local | --loca | --loc | --lo) 472 ac_prev=localstatedir ;; 473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 476 localstatedir=$ac_optarg ;; 477 478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 479 ac_prev=mandir ;; 480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 481 mandir=$ac_optarg ;; 482 483 -nfp | --nfp | --nf) 484 # Obsolete; use --without-fp. 485 with_fp=no ;; 486 487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 488 | --no-cr | --no-c | -n) 489 no_create=yes ;; 490 491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 493 no_recursion=yes ;; 494 495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 497 | --oldin | --oldi | --old | --ol | --o) 498 ac_prev=oldincludedir ;; 499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 502 oldincludedir=$ac_optarg ;; 503 504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 505 ac_prev=prefix ;; 506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 507 prefix=$ac_optarg ;; 508 509 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 510 | --program-pre | --program-pr | --program-p) 511 ac_prev=program_prefix ;; 512 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 514 program_prefix=$ac_optarg ;; 515 516 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 517 | --program-suf | --program-su | --program-s) 518 ac_prev=program_suffix ;; 519 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 521 program_suffix=$ac_optarg ;; 522 523 -program-transform-name | --program-transform-name \ 524 | --program-transform-nam | --program-transform-na \ 525 | --program-transform-n | --program-transform- \ 526 | --program-transform | --program-transfor \ 527 | --program-transfo | --program-transf \ 528 | --program-trans | --program-tran \ 529 | --progr-tra | --program-tr | --program-t) 530 ac_prev=program_transform_name ;; 531 -program-transform-name=* | --program-transform-name=* \ 532 | --program-transform-nam=* | --program-transform-na=* \ 533 | --program-transform-n=* | --program-transform-=* \ 534 | --program-transform=* | --program-transfor=* \ 535 | --program-transfo=* | --program-transf=* \ 536 | --program-trans=* | --program-tran=* \ 537 | --progr-tra=* | --program-tr=* | --program-t=*) 538 program_transform_name=$ac_optarg ;; 539 540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 541 | -silent | --silent | --silen | --sile | --sil) 542 silent=yes ;; 543 544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 545 ac_prev=sbindir ;; 546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 547 | --sbi=* | --sb=*) 548 sbindir=$ac_optarg ;; 549 550 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 552 | --sharedst | --shareds | --shared | --share | --shar \ 553 | --sha | --sh) 554 ac_prev=sharedstatedir ;; 555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 558 | --sha=* | --sh=*) 559 sharedstatedir=$ac_optarg ;; 560 561 -site | --site | --sit) 562 ac_prev=site ;; 563 -site=* | --site=* | --sit=*) 564 site=$ac_optarg ;; 565 566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 567 ac_prev=srcdir ;; 568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 569 srcdir=$ac_optarg ;; 570 571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 572 | --syscon | --sysco | --sysc | --sys | --sy) 573 ac_prev=sysconfdir ;; 574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 576 sysconfdir=$ac_optarg ;; 577 578 -target | --target | --targe | --targ | --tar | --ta | --t) 579 ac_prev=target_alias ;; 580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 581 target_alias=$ac_optarg ;; 582 583 -v | -verbose | --verbose | --verbos | --verbo | --verb) 584 verbose=yes ;; 585 586 -version | --version | --versio | --versi | --vers | -V) 587 ac_init_version=: ;; 588 589 -with-* | --with-*) 590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 591 # Reject names that are not valid shell variable names. 592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 593 { echo "$as_me: error: invalid package name: $ac_package" >&2 594 { (exit 1); exit 1; }; } 595 ac_package=`echo $ac_package| sed 's/-/_/g'` 596 case $ac_option in 597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 598 *) ac_optarg=yes ;; 599 esac 600 eval "with_$ac_package='$ac_optarg'" ;; 601 602 -without-* | --without-*) 603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 604 # Reject names that are not valid shell variable names. 605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 606 { echo "$as_me: error: invalid package name: $ac_package" >&2 607 { (exit 1); exit 1; }; } 608 ac_package=`echo $ac_package | sed 's/-/_/g'` 609 eval "with_$ac_package=no" ;; 610 611 --x) 612 # Obsolete; use --with-x. 613 with_x=yes ;; 614 615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 616 | --x-incl | --x-inc | --x-in | --x-i) 617 ac_prev=x_includes ;; 618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 620 x_includes=$ac_optarg ;; 621 622 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 624 ac_prev=x_libraries ;; 625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 627 x_libraries=$ac_optarg ;; 628 629 -*) { echo "$as_me: error: unrecognized option: $ac_option 630Try \`$0 --help' for more information." >&2 631 { (exit 1); exit 1; }; } 632 ;; 633 634 *=*) 635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 636 # Reject names that are not valid shell variable names. 637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 639 { (exit 1); exit 1; }; } 640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 641 eval "$ac_envvar='$ac_optarg'" 642 export $ac_envvar ;; 643 644 *) 645 # FIXME: should be removed in autoconf 3.0. 646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 650 ;; 651 652 esac 653done 654 655if test -n "$ac_prev"; then 656 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 657 { echo "$as_me: error: missing argument to $ac_option" >&2 658 { (exit 1); exit 1; }; } 659fi 660 661# Be sure to have absolute paths. 662for ac_var in exec_prefix prefix 663do 664 eval ac_val=$`echo $ac_var` 665 case $ac_val in 666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 668 { (exit 1); exit 1; }; };; 669 esac 670done 671 672# Be sure to have absolute paths. 673for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 674 localstatedir libdir includedir oldincludedir infodir mandir 675do 676 eval ac_val=$`echo $ac_var` 677 case $ac_val in 678 [\\/$]* | ?:[\\/]* ) ;; 679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 680 { (exit 1); exit 1; }; };; 681 esac 682done 683 684# There might be people who depend on the old broken behavior: `$host' 685# used to hold the argument of --host etc. 686# FIXME: To remove some day. 687build=$build_alias 688host=$host_alias 689target=$target_alias 690 691# FIXME: To remove some day. 692if test "x$host_alias" != x; then 693 if test "x$build_alias" = x; then 694 cross_compiling=maybe 695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 696 If a cross compiler is detected then cross compile mode will be used." >&2 697 elif test "x$build_alias" != "x$host_alias"; then 698 cross_compiling=yes 699 fi 700fi 701 702ac_tool_prefix= 703test -n "$host_alias" && ac_tool_prefix=$host_alias- 704 705test "$silent" = yes && exec 6>/dev/null 706 707 708# Find the source files, if location was not specified. 709if test -z "$srcdir"; then 710 ac_srcdir_defaulted=yes 711 # Try the directory containing this script, then its parent. 712 ac_confdir=`(dirname "$0") 2>/dev/null || 713$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 714 X"$0" : 'X\(//\)[^/]' \| \ 715 X"$0" : 'X\(//\)$' \| \ 716 X"$0" : 'X\(/\)' \| \ 717 . : '\(.\)' 2>/dev/null || 718echo X"$0" | 719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 720 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 721 /^X\(\/\/\)$/{ s//\1/; q; } 722 /^X\(\/\).*/{ s//\1/; q; } 723 s/.*/./; q'` 724 srcdir=$ac_confdir 725 if test ! -r $srcdir/$ac_unique_file; then 726 srcdir=.. 727 fi 728else 729 ac_srcdir_defaulted=no 730fi 731if test ! -r $srcdir/$ac_unique_file; then 732 if test "$ac_srcdir_defaulted" = yes; then 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 734 { (exit 1); exit 1; }; } 735 else 736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 737 { (exit 1); exit 1; }; } 738 fi 739fi 740(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 742 { (exit 1); exit 1; }; } 743srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 744ac_env_build_alias_set=${build_alias+set} 745ac_env_build_alias_value=$build_alias 746ac_cv_env_build_alias_set=${build_alias+set} 747ac_cv_env_build_alias_value=$build_alias 748ac_env_host_alias_set=${host_alias+set} 749ac_env_host_alias_value=$host_alias 750ac_cv_env_host_alias_set=${host_alias+set} 751ac_cv_env_host_alias_value=$host_alias 752ac_env_target_alias_set=${target_alias+set} 753ac_env_target_alias_value=$target_alias 754ac_cv_env_target_alias_set=${target_alias+set} 755ac_cv_env_target_alias_value=$target_alias 756ac_env_CC_set=${CC+set} 757ac_env_CC_value=$CC 758ac_cv_env_CC_set=${CC+set} 759ac_cv_env_CC_value=$CC 760ac_env_CFLAGS_set=${CFLAGS+set} 761ac_env_CFLAGS_value=$CFLAGS 762ac_cv_env_CFLAGS_set=${CFLAGS+set} 763ac_cv_env_CFLAGS_value=$CFLAGS 764ac_env_LDFLAGS_set=${LDFLAGS+set} 765ac_env_LDFLAGS_value=$LDFLAGS 766ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 767ac_cv_env_LDFLAGS_value=$LDFLAGS 768ac_env_CPPFLAGS_set=${CPPFLAGS+set} 769ac_env_CPPFLAGS_value=$CPPFLAGS 770ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 771ac_cv_env_CPPFLAGS_value=$CPPFLAGS 772ac_env_CPP_set=${CPP+set} 773ac_env_CPP_value=$CPP 774ac_cv_env_CPP_set=${CPP+set} 775ac_cv_env_CPP_value=$CPP 776 777# 778# Report the --help message. 779# 780if test "$ac_init_help" = "long"; then 781 # Omit some internal or obsolete options to make the list less imposing. 782 # This message is too long to be a string in the A/UX 3.1 sh. 783 cat <<_ACEOF 784\`configure' configures this package to adapt to many kinds of systems. 785 786Usage: $0 [OPTION]... [VAR=VALUE]... 787 788To assign environment variables (e.g., CC, CFLAGS...), specify them as 789VAR=VALUE. See below for descriptions of some of the useful variables. 790 791Defaults for the options are specified in brackets. 792 793Configuration: 794 -h, --help display this help and exit 795 --help=short display options specific to this package 796 --help=recursive display the short help of all the included packages 797 -V, --version display version information and exit 798 -q, --quiet, --silent do not print \`checking...' messages 799 --cache-file=FILE cache test results in FILE [disabled] 800 -C, --config-cache alias for \`--cache-file=config.cache' 801 -n, --no-create do not create output files 802 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 803 804_ACEOF 805 806 cat <<_ACEOF 807Installation directories: 808 --prefix=PREFIX install architecture-independent files in PREFIX 809 [$ac_default_prefix] 810 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 811 [PREFIX] 812 813By default, \`make install' will install all the files in 814\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 815an installation prefix other than \`$ac_default_prefix' using \`--prefix', 816for instance \`--prefix=\$HOME'. 817 818For better control, use the options below. 819 820Fine tuning of the installation directories: 821 --bindir=DIR user executables [EPREFIX/bin] 822 --sbindir=DIR system admin executables [EPREFIX/sbin] 823 --libexecdir=DIR program executables [EPREFIX/libexec] 824 --datadir=DIR read-only architecture-independent data [PREFIX/share] 825 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 826 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 827 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 828 --libdir=DIR object code libraries [EPREFIX/lib] 829 --includedir=DIR C header files [PREFIX/include] 830 --oldincludedir=DIR C header files for non-gcc [/usr/include] 831 --infodir=DIR info documentation [PREFIX/info] 832 --mandir=DIR man documentation [PREFIX/man] 833_ACEOF 834 835 cat <<\_ACEOF 836 837System types: 838 --build=BUILD configure for building on BUILD [guessed] 839 --host=HOST cross-compile to build programs to run on HOST [BUILD] 840 --target=TARGET configure for building compilers for TARGET [HOST] 841_ACEOF 842fi 843 844if test -n "$ac_init_help"; then 845 846 cat <<\_ACEOF 847 848Optional Features: 849 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 850 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 851 --enable-gtk enable gdbtk graphical user interface (GUI) 852 --enable-shared build shared libraries deault=yes 853 854Optional Packages: 855 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 856 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 857 --with-stabs arrange to use stabs instead of host debug format 858 859Some influential environment variables: 860 CC C compiler command 861 CFLAGS C compiler flags 862 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 863 nonstandard directory <lib dir> 864 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 865 headers in a nonstandard directory <include dir> 866 CPP C preprocessor 867 868Use these variables to override the choices made by `configure' or to help 869it to find libraries and programs with nonstandard names/locations. 870 871_ACEOF 872fi 873 874if test "$ac_init_help" = "recursive"; then 875 # If there are subdirs, report their specific --help. 876 ac_popdir=`pwd` 877 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 878 test -d $ac_dir || continue 879 ac_builddir=. 880 881if test "$ac_dir" != .; then 882 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 883 # A "../" for each directory in $ac_dir_suffix. 884 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 885else 886 ac_dir_suffix= ac_top_builddir= 887fi 888 889case $srcdir in 890 .) # No --srcdir option. We are building in place. 891 ac_srcdir=. 892 if test -z "$ac_top_builddir"; then 893 ac_top_srcdir=. 894 else 895 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 896 fi ;; 897 [\\/]* | ?:[\\/]* ) # Absolute path. 898 ac_srcdir=$srcdir$ac_dir_suffix; 899 ac_top_srcdir=$srcdir ;; 900 *) # Relative path. 901 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 902 ac_top_srcdir=$ac_top_builddir$srcdir ;; 903esac 904 905# Do not use `cd foo && pwd` to compute absolute paths, because 906# the directories may not exist. 907case `pwd` in 908.) ac_abs_builddir="$ac_dir";; 909*) 910 case "$ac_dir" in 911 .) ac_abs_builddir=`pwd`;; 912 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 913 *) ac_abs_builddir=`pwd`/"$ac_dir";; 914 esac;; 915esac 916case $ac_abs_builddir in 917.) ac_abs_top_builddir=${ac_top_builddir}.;; 918*) 919 case ${ac_top_builddir}. in 920 .) ac_abs_top_builddir=$ac_abs_builddir;; 921 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 922 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 923 esac;; 924esac 925case $ac_abs_builddir in 926.) ac_abs_srcdir=$ac_srcdir;; 927*) 928 case $ac_srcdir in 929 .) ac_abs_srcdir=$ac_abs_builddir;; 930 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 931 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 932 esac;; 933esac 934case $ac_abs_builddir in 935.) ac_abs_top_srcdir=$ac_top_srcdir;; 936*) 937 case $ac_top_srcdir in 938 .) ac_abs_top_srcdir=$ac_abs_builddir;; 939 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 940 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 941 esac;; 942esac 943 944 cd $ac_dir 945 # Check for guested configure; otherwise get Cygnus style configure. 946 if test -f $ac_srcdir/configure.gnu; then 947 echo 948 $SHELL $ac_srcdir/configure.gnu --help=recursive 949 elif test -f $ac_srcdir/configure; then 950 echo 951 $SHELL $ac_srcdir/configure --help=recursive 952 elif test -f $ac_srcdir/configure.ac || 953 test -f $ac_srcdir/configure.in; then 954 echo 955 $ac_configure --help 956 else 957 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 958 fi 959 cd $ac_popdir 960 done 961fi 962 963test -n "$ac_init_help" && exit 0 964if $ac_init_version; then 965 cat <<\_ACEOF 966 967Copyright (C) 2003 Free Software Foundation, Inc. 968This configure script is free software; the Free Software Foundation 969gives unlimited permission to copy, distribute and modify it. 970_ACEOF 971 exit 0 972fi 973exec 5>config.log 974cat >&5 <<_ACEOF 975This file contains any messages produced by compilers while 976running configure, to aid debugging if configure makes a mistake. 977 978It was created by $as_me, which was 979generated by GNU Autoconf 2.59. Invocation command line was 980 981 $ $0 $@ 982 983_ACEOF 984{ 985cat <<_ASUNAME 986## --------- ## 987## Platform. ## 988## --------- ## 989 990hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 991uname -m = `(uname -m) 2>/dev/null || echo unknown` 992uname -r = `(uname -r) 2>/dev/null || echo unknown` 993uname -s = `(uname -s) 2>/dev/null || echo unknown` 994uname -v = `(uname -v) 2>/dev/null || echo unknown` 995 996/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 997/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 998 999/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1000/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1001/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1002hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1003/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1004/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1005/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1006 1007_ASUNAME 1008 1009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1010for as_dir in $PATH 1011do 1012 IFS=$as_save_IFS 1013 test -z "$as_dir" && as_dir=. 1014 echo "PATH: $as_dir" 1015done 1016 1017} >&5 1018 1019cat >&5 <<_ACEOF 1020 1021 1022## ----------- ## 1023## Core tests. ## 1024## ----------- ## 1025 1026_ACEOF 1027 1028 1029# Keep a trace of the command line. 1030# Strip out --no-create and --no-recursion so they do not pile up. 1031# Strip out --silent because we don't want to record it for future runs. 1032# Also quote any args containing shell meta-characters. 1033# Make two passes to allow for proper duplicate-argument suppression. 1034ac_configure_args= 1035ac_configure_args0= 1036ac_configure_args1= 1037ac_sep= 1038ac_must_keep_next=false 1039for ac_pass in 1 2 1040do 1041 for ac_arg 1042 do 1043 case $ac_arg in 1044 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1046 | -silent | --silent | --silen | --sile | --sil) 1047 continue ;; 1048 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1049 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1050 esac 1051 case $ac_pass in 1052 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1053 2) 1054 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1055 if test $ac_must_keep_next = true; then 1056 ac_must_keep_next=false # Got value, back to normal. 1057 else 1058 case $ac_arg in 1059 *=* | --config-cache | -C | -disable-* | --disable-* \ 1060 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1061 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1062 | -with-* | --with-* | -without-* | --without-* | --x) 1063 case "$ac_configure_args0 " in 1064 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1065 esac 1066 ;; 1067 -* ) ac_must_keep_next=true ;; 1068 esac 1069 fi 1070 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1071 # Get rid of the leading space. 1072 ac_sep=" " 1073 ;; 1074 esac 1075 done 1076done 1077$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1078$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1079 1080# When interrupted or exit'd, cleanup temporary files, and complete 1081# config.log. We remove comments because anyway the quotes in there 1082# would cause problems or look ugly. 1083# WARNING: Be sure not to use single quotes in there, as some shells, 1084# such as our DU 5.0 friend, will then `close' the trap. 1085trap 'exit_status=$? 1086 # Save into config.log some information that might help in debugging. 1087 { 1088 echo 1089 1090 cat <<\_ASBOX 1091## ---------------- ## 1092## Cache variables. ## 1093## ---------------- ## 1094_ASBOX 1095 echo 1096 # The following way of writing the cache mishandles newlines in values, 1097{ 1098 (set) 2>&1 | 1099 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1100 *ac_space=\ *) 1101 sed -n \ 1102 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1103 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1104 ;; 1105 *) 1106 sed -n \ 1107 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1108 ;; 1109 esac; 1110} 1111 echo 1112 1113 cat <<\_ASBOX 1114## ----------------- ## 1115## Output variables. ## 1116## ----------------- ## 1117_ASBOX 1118 echo 1119 for ac_var in $ac_subst_vars 1120 do 1121 eval ac_val=$`echo $ac_var` 1122 echo "$ac_var='"'"'$ac_val'"'"'" 1123 done | sort 1124 echo 1125 1126 if test -n "$ac_subst_files"; then 1127 cat <<\_ASBOX 1128## ------------- ## 1129## Output files. ## 1130## ------------- ## 1131_ASBOX 1132 echo 1133 for ac_var in $ac_subst_files 1134 do 1135 eval ac_val=$`echo $ac_var` 1136 echo "$ac_var='"'"'$ac_val'"'"'" 1137 done | sort 1138 echo 1139 fi 1140 1141 if test -s confdefs.h; then 1142 cat <<\_ASBOX 1143## ----------- ## 1144## confdefs.h. ## 1145## ----------- ## 1146_ASBOX 1147 echo 1148 sed "/^$/d" confdefs.h | sort 1149 echo 1150 fi 1151 test "$ac_signal" != 0 && 1152 echo "$as_me: caught signal $ac_signal" 1153 echo "$as_me: exit $exit_status" 1154 } >&5 1155 rm -f core *.core && 1156 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1157 exit $exit_status 1158 ' 0 1159for ac_signal in 1 2 13 15; do 1160 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1161done 1162ac_signal=0 1163 1164# confdefs.h avoids OS command line length limits that DEFS can exceed. 1165rm -rf conftest* confdefs.h 1166# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1167echo >confdefs.h 1168 1169# Predefined preprocessor variables. 1170 1171cat >>confdefs.h <<_ACEOF 1172#define PACKAGE_NAME "$PACKAGE_NAME" 1173_ACEOF 1174 1175 1176cat >>confdefs.h <<_ACEOF 1177#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1178_ACEOF 1179 1180 1181cat >>confdefs.h <<_ACEOF 1182#define PACKAGE_VERSION "$PACKAGE_VERSION" 1183_ACEOF 1184 1185 1186cat >>confdefs.h <<_ACEOF 1187#define PACKAGE_STRING "$PACKAGE_STRING" 1188_ACEOF 1189 1190 1191cat >>confdefs.h <<_ACEOF 1192#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1193_ACEOF 1194 1195 1196# Let the site file select an alternate cache file if it wants to. 1197# Prefer explicitly selected file to automatically selected ones. 1198if test -z "$CONFIG_SITE"; then 1199 if test "x$prefix" != xNONE; then 1200 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1201 else 1202 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1203 fi 1204fi 1205for ac_site_file in $CONFIG_SITE; do 1206 if test -r "$ac_site_file"; then 1207 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1208echo "$as_me: loading site script $ac_site_file" >&6;} 1209 sed 's/^/| /' "$ac_site_file" >&5 1210 . "$ac_site_file" 1211 fi 1212done 1213 1214if test -r "$cache_file"; then 1215 # Some versions of bash will fail to source /dev/null (special 1216 # files actually), so we avoid doing that. 1217 if test -f "$cache_file"; then 1218 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1219echo "$as_me: loading cache $cache_file" >&6;} 1220 case $cache_file in 1221 [\\/]* | ?:[\\/]* ) . $cache_file;; 1222 *) . ./$cache_file;; 1223 esac 1224 fi 1225else 1226 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1227echo "$as_me: creating cache $cache_file" >&6;} 1228 >$cache_file 1229fi 1230 1231# Check that the precious variables saved in the cache have kept the same 1232# value. 1233ac_cache_corrupted=false 1234for ac_var in `(set) 2>&1 | 1235 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1236 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1237 eval ac_new_set=\$ac_env_${ac_var}_set 1238 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1239 eval ac_new_val="\$ac_env_${ac_var}_value" 1240 case $ac_old_set,$ac_new_set in 1241 set,) 1242 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1243echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1244 ac_cache_corrupted=: ;; 1245 ,set) 1246 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1247echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1248 ac_cache_corrupted=: ;; 1249 ,);; 1250 *) 1251 if test "x$ac_old_val" != "x$ac_new_val"; then 1252 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1253echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1254 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1255echo "$as_me: former value: $ac_old_val" >&2;} 1256 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1257echo "$as_me: current value: $ac_new_val" >&2;} 1258 ac_cache_corrupted=: 1259 fi;; 1260 esac 1261 # Pass precious variables to config.status. 1262 if test "$ac_new_set" = set; then 1263 case $ac_new_val in 1264 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1265 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1266 *) ac_arg=$ac_var=$ac_new_val ;; 1267 esac 1268 case " $ac_configure_args " in 1269 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1270 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1271 esac 1272 fi 1273done 1274if $ac_cache_corrupted; then 1275 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1276echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1277 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1278echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1279 { (exit 1); exit 1; }; } 1280fi 1281 1282ac_ext=c 1283ac_cpp='$CPP $CPPFLAGS' 1284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1286ac_compiler_gnu=$ac_cv_c_compiler_gnu 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307ac_aux_dir= 1308for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1309 if test -f $ac_dir/install-sh; then 1310 ac_aux_dir=$ac_dir 1311 ac_install_sh="$ac_aux_dir/install-sh -c" 1312 break 1313 elif test -f $ac_dir/install.sh; then 1314 ac_aux_dir=$ac_dir 1315 ac_install_sh="$ac_aux_dir/install.sh -c" 1316 break 1317 elif test -f $ac_dir/shtool; then 1318 ac_aux_dir=$ac_dir 1319 ac_install_sh="$ac_aux_dir/shtool install -c" 1320 break 1321 fi 1322done 1323if test -z "$ac_aux_dir"; then 1324 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1325echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1326 { (exit 1); exit 1; }; } 1327fi 1328ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1329ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1330ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1331 1332# Make sure we can run config.sub. 1333$ac_config_sub sun4 >/dev/null 2>&1 || 1334 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1335echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1336 { (exit 1); exit 1; }; } 1337 1338echo "$as_me:$LINENO: checking build system type" >&5 1339echo $ECHO_N "checking build system type... $ECHO_C" >&6 1340if test "${ac_cv_build+set}" = set; then 1341 echo $ECHO_N "(cached) $ECHO_C" >&6 1342else 1343 ac_cv_build_alias=$build_alias 1344test -z "$ac_cv_build_alias" && 1345 ac_cv_build_alias=`$ac_config_guess` 1346test -z "$ac_cv_build_alias" && 1347 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1348echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1349 { (exit 1); exit 1; }; } 1350ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1351 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1352echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1353 { (exit 1); exit 1; }; } 1354 1355fi 1356echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1357echo "${ECHO_T}$ac_cv_build" >&6 1358build=$ac_cv_build 1359build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1360build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1361build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1362 1363 1364echo "$as_me:$LINENO: checking host system type" >&5 1365echo $ECHO_N "checking host system type... $ECHO_C" >&6 1366if test "${ac_cv_host+set}" = set; then 1367 echo $ECHO_N "(cached) $ECHO_C" >&6 1368else 1369 ac_cv_host_alias=$host_alias 1370test -z "$ac_cv_host_alias" && 1371 ac_cv_host_alias=$ac_cv_build_alias 1372ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1373 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1374echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1375 { (exit 1); exit 1; }; } 1376 1377fi 1378echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1379echo "${ECHO_T}$ac_cv_host" >&6 1380host=$ac_cv_host 1381host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1382host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1383host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1384 1385 1386echo "$as_me:$LINENO: checking target system type" >&5 1387echo $ECHO_N "checking target system type... $ECHO_C" >&6 1388if test "${ac_cv_target+set}" = set; then 1389 echo $ECHO_N "(cached) $ECHO_C" >&6 1390else 1391 ac_cv_target_alias=$target_alias 1392test "x$ac_cv_target_alias" = "x" && 1393 ac_cv_target_alias=$ac_cv_host_alias 1394ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1395 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1396echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1397 { (exit 1); exit 1; }; } 1398 1399fi 1400echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1401echo "${ECHO_T}$ac_cv_target" >&6 1402target=$ac_cv_target 1403target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1404target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1405target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1406 1407 1408# The aliases save the names the user supplied, while $host etc. 1409# will get canonicalized. 1410test -n "$target_alias" && 1411 test "$program_prefix$program_suffix$program_transform_name" = \ 1412 NONENONEs,x,x, && 1413 program_prefix=${target_alias}- 1414 1415 case ${build_alias} in 1416 "") build_noncanonical=${build} ;; 1417 *) build_noncanonical=${build_alias} ;; 1418esac 1419 1420 case ${host_alias} in 1421 "") host_noncanonical=${build_noncanonical} ;; 1422 *) host_noncanonical=${host_alias} ;; 1423esac 1424 1425 case ${target_alias} in 1426 "") target_noncanonical=${host_noncanonical} ;; 1427 *) target_noncanonical=${target_alias} ;; 1428esac 1429 1430 1431 1432 1433# Add HP-specific tests when appropriate. 1434case $target in 1435 hppa*-*-hpux*) 1436 1437 1438subdirs="$subdirs gdb.hp" 1439 ;; 1440esac 1441 1442# With stabs. 1443 1444# Check whether --with-stabs or --without-stabs was given. 1445if test "${with_stabs+set}" = set; then 1446 withval="$with_stabs" 1447 1448else 1449 # We enable stabs tests by default on selected targets. 1450case $target in 1451 powerpc-*-aix* \ 1452 | rs6000-*-aix* \ 1453 | *-*-*bsd* \ 1454 | *-*-go32* \ 1455 | *-*-linux* \ 1456 | *-*-lynxos* \ 1457 | *-sun-* \ 1458 | hppa*-*-* \ 1459 | *-*-elf* \ 1460 ) 1461 with_stabs=yes ;; 1462 *) 1463 with_stabs=no ;; 1464esac 1465fi; 1466 1467# Add stabs tests when appropriate. 1468if test $with_stabs = yes; then 1469 1470 1471subdirs="$subdirs gdb.stabs" 1472 1473fi 1474 1475# Enable gdbtk. 1476# Check whether --enable-gdbtk or --disable-gdbtk was given. 1477if test "${enable_gdbtk+set}" = set; then 1478 enableval="$enable_gdbtk" 1479 1480else 1481 if test -d $srcdir/gdb.gdbtk; then 1482 enable_gdbtk=yes 1483 else 1484 enable_gdbtk=no 1485 fi 1486fi; 1487# We unconditionally disable gdbtk tests on selected platforms. 1488case $host_os in 1489 go32* | windows*) 1490 enable_gdbtk=no ;; 1491esac 1492 1493# Add gdbtk tests when appropriate. 1494if test $enable_gdbtk = yes; then 1495 1496 1497subdirs="$subdirs gdb.gdbtk" 1498 1499fi 1500 1501# Enable shared libraries. 1502# Check whether --enable-shared or --disable-shared was given. 1503if test "${enable_shared+set}" = set; then 1504 enableval="$enable_shared" 1505 1506else 1507 enable_shared=yes 1508fi; 1509 1510# If we have shared libraries, try to set RPATH_ENVVAR reasonably, 1511# such that we can find the shared libraries in the build tree. 1512if test $enable_shared = no; then 1513 # The variable `RPATH_ENVVAR' itself is not likely to be used on any 1514 # platform. 1515 RPATH_ENVVAR=RPATH_ENVVAR 1516else 1517 # The variable `LD_LIBRARY_PATH' is used on most platforms. 1518 RPATH_ENVVAR=LD_LIBRARY_PATH 1519 # The following exceptions are taken from Libtool 1.4.3. 1520 case $host_os in 1521 aix*) 1522 if test $host_cpu != ia64; then 1523 RPATH_ENVVAR=LIBPATH 1524 fi ;; 1525 darwin* | rhapsody*) 1526 RPATH_ENVVAR=DYLD_LIBRARY_PATH ;; 1527 hpux*) 1528 RPATH_ENVVAR=SHLIB_PATH ;; 1529 esac 1530fi 1531 1532 1533ac_ext=c 1534ac_cpp='$CPP $CPPFLAGS' 1535ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1536ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1537ac_compiler_gnu=$ac_cv_c_compiler_gnu 1538if test -n "$ac_tool_prefix"; then 1539 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1540set dummy ${ac_tool_prefix}gcc; ac_word=$2 1541echo "$as_me:$LINENO: checking for $ac_word" >&5 1542echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1543if test "${ac_cv_prog_CC+set}" = set; then 1544 echo $ECHO_N "(cached) $ECHO_C" >&6 1545else 1546 if test -n "$CC"; then 1547 ac_cv_prog_CC="$CC" # Let the user override the test. 1548else 1549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1550for as_dir in $PATH 1551do 1552 IFS=$as_save_IFS 1553 test -z "$as_dir" && as_dir=. 1554 for ac_exec_ext in '' $ac_executable_extensions; do 1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1556 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1558 break 2 1559 fi 1560done 1561done 1562 1563fi 1564fi 1565CC=$ac_cv_prog_CC 1566if test -n "$CC"; then 1567 echo "$as_me:$LINENO: result: $CC" >&5 1568echo "${ECHO_T}$CC" >&6 1569else 1570 echo "$as_me:$LINENO: result: no" >&5 1571echo "${ECHO_T}no" >&6 1572fi 1573 1574fi 1575if test -z "$ac_cv_prog_CC"; then 1576 ac_ct_CC=$CC 1577 # Extract the first word of "gcc", so it can be a program name with args. 1578set dummy gcc; ac_word=$2 1579echo "$as_me:$LINENO: checking for $ac_word" >&5 1580echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1581if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1582 echo $ECHO_N "(cached) $ECHO_C" >&6 1583else 1584 if test -n "$ac_ct_CC"; then 1585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1586else 1587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1588for as_dir in $PATH 1589do 1590 IFS=$as_save_IFS 1591 test -z "$as_dir" && as_dir=. 1592 for ac_exec_ext in '' $ac_executable_extensions; do 1593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1594 ac_cv_prog_ac_ct_CC="gcc" 1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1596 break 2 1597 fi 1598done 1599done 1600 1601fi 1602fi 1603ac_ct_CC=$ac_cv_prog_ac_ct_CC 1604if test -n "$ac_ct_CC"; then 1605 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1606echo "${ECHO_T}$ac_ct_CC" >&6 1607else 1608 echo "$as_me:$LINENO: result: no" >&5 1609echo "${ECHO_T}no" >&6 1610fi 1611 1612 CC=$ac_ct_CC 1613else 1614 CC="$ac_cv_prog_CC" 1615fi 1616 1617if test -z "$CC"; then 1618 if test -n "$ac_tool_prefix"; then 1619 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1620set dummy ${ac_tool_prefix}cc; ac_word=$2 1621echo "$as_me:$LINENO: checking for $ac_word" >&5 1622echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1623if test "${ac_cv_prog_CC+set}" = set; then 1624 echo $ECHO_N "(cached) $ECHO_C" >&6 1625else 1626 if test -n "$CC"; then 1627 ac_cv_prog_CC="$CC" # Let the user override the test. 1628else 1629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1630for as_dir in $PATH 1631do 1632 IFS=$as_save_IFS 1633 test -z "$as_dir" && as_dir=. 1634 for ac_exec_ext in '' $ac_executable_extensions; do 1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1636 ac_cv_prog_CC="${ac_tool_prefix}cc" 1637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1638 break 2 1639 fi 1640done 1641done 1642 1643fi 1644fi 1645CC=$ac_cv_prog_CC 1646if test -n "$CC"; then 1647 echo "$as_me:$LINENO: result: $CC" >&5 1648echo "${ECHO_T}$CC" >&6 1649else 1650 echo "$as_me:$LINENO: result: no" >&5 1651echo "${ECHO_T}no" >&6 1652fi 1653 1654fi 1655if test -z "$ac_cv_prog_CC"; then 1656 ac_ct_CC=$CC 1657 # Extract the first word of "cc", so it can be a program name with args. 1658set dummy cc; ac_word=$2 1659echo "$as_me:$LINENO: checking for $ac_word" >&5 1660echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1661if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1662 echo $ECHO_N "(cached) $ECHO_C" >&6 1663else 1664 if test -n "$ac_ct_CC"; then 1665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1666else 1667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1668for as_dir in $PATH 1669do 1670 IFS=$as_save_IFS 1671 test -z "$as_dir" && as_dir=. 1672 for ac_exec_ext in '' $ac_executable_extensions; do 1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1674 ac_cv_prog_ac_ct_CC="cc" 1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1676 break 2 1677 fi 1678done 1679done 1680 1681fi 1682fi 1683ac_ct_CC=$ac_cv_prog_ac_ct_CC 1684if test -n "$ac_ct_CC"; then 1685 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1686echo "${ECHO_T}$ac_ct_CC" >&6 1687else 1688 echo "$as_me:$LINENO: result: no" >&5 1689echo "${ECHO_T}no" >&6 1690fi 1691 1692 CC=$ac_ct_CC 1693else 1694 CC="$ac_cv_prog_CC" 1695fi 1696 1697fi 1698if test -z "$CC"; then 1699 # Extract the first word of "cc", so it can be a program name with args. 1700set dummy cc; ac_word=$2 1701echo "$as_me:$LINENO: checking for $ac_word" >&5 1702echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1703if test "${ac_cv_prog_CC+set}" = set; then 1704 echo $ECHO_N "(cached) $ECHO_C" >&6 1705else 1706 if test -n "$CC"; then 1707 ac_cv_prog_CC="$CC" # Let the user override the test. 1708else 1709 ac_prog_rejected=no 1710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1711for as_dir in $PATH 1712do 1713 IFS=$as_save_IFS 1714 test -z "$as_dir" && as_dir=. 1715 for ac_exec_ext in '' $ac_executable_extensions; do 1716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1717 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1718 ac_prog_rejected=yes 1719 continue 1720 fi 1721 ac_cv_prog_CC="cc" 1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1723 break 2 1724 fi 1725done 1726done 1727 1728if test $ac_prog_rejected = yes; then 1729 # We found a bogon in the path, so make sure we never use it. 1730 set dummy $ac_cv_prog_CC 1731 shift 1732 if test $# != 0; then 1733 # We chose a different compiler from the bogus one. 1734 # However, it has the same basename, so the bogon will be chosen 1735 # first if we set CC to just the basename; use the full file name. 1736 shift 1737 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1738 fi 1739fi 1740fi 1741fi 1742CC=$ac_cv_prog_CC 1743if test -n "$CC"; then 1744 echo "$as_me:$LINENO: result: $CC" >&5 1745echo "${ECHO_T}$CC" >&6 1746else 1747 echo "$as_me:$LINENO: result: no" >&5 1748echo "${ECHO_T}no" >&6 1749fi 1750 1751fi 1752if test -z "$CC"; then 1753 if test -n "$ac_tool_prefix"; then 1754 for ac_prog in cl 1755 do 1756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1757set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1758echo "$as_me:$LINENO: checking for $ac_word" >&5 1759echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1760if test "${ac_cv_prog_CC+set}" = set; then 1761 echo $ECHO_N "(cached) $ECHO_C" >&6 1762else 1763 if test -n "$CC"; then 1764 ac_cv_prog_CC="$CC" # Let the user override the test. 1765else 1766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1767for as_dir in $PATH 1768do 1769 IFS=$as_save_IFS 1770 test -z "$as_dir" && as_dir=. 1771 for ac_exec_ext in '' $ac_executable_extensions; do 1772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1775 break 2 1776 fi 1777done 1778done 1779 1780fi 1781fi 1782CC=$ac_cv_prog_CC 1783if test -n "$CC"; then 1784 echo "$as_me:$LINENO: result: $CC" >&5 1785echo "${ECHO_T}$CC" >&6 1786else 1787 echo "$as_me:$LINENO: result: no" >&5 1788echo "${ECHO_T}no" >&6 1789fi 1790 1791 test -n "$CC" && break 1792 done 1793fi 1794if test -z "$CC"; then 1795 ac_ct_CC=$CC 1796 for ac_prog in cl 1797do 1798 # Extract the first word of "$ac_prog", so it can be a program name with args. 1799set dummy $ac_prog; ac_word=$2 1800echo "$as_me:$LINENO: checking for $ac_word" >&5 1801echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1802if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1803 echo $ECHO_N "(cached) $ECHO_C" >&6 1804else 1805 if test -n "$ac_ct_CC"; then 1806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1807else 1808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1809for as_dir in $PATH 1810do 1811 IFS=$as_save_IFS 1812 test -z "$as_dir" && as_dir=. 1813 for ac_exec_ext in '' $ac_executable_extensions; do 1814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1815 ac_cv_prog_ac_ct_CC="$ac_prog" 1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1817 break 2 1818 fi 1819done 1820done 1821 1822fi 1823fi 1824ac_ct_CC=$ac_cv_prog_ac_ct_CC 1825if test -n "$ac_ct_CC"; then 1826 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1827echo "${ECHO_T}$ac_ct_CC" >&6 1828else 1829 echo "$as_me:$LINENO: result: no" >&5 1830echo "${ECHO_T}no" >&6 1831fi 1832 1833 test -n "$ac_ct_CC" && break 1834done 1835 1836 CC=$ac_ct_CC 1837fi 1838 1839fi 1840 1841 1842test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1843See \`config.log' for more details." >&5 1844echo "$as_me: error: no acceptable C compiler found in \$PATH 1845See \`config.log' for more details." >&2;} 1846 { (exit 1); exit 1; }; } 1847 1848# Provide some information about the compiler. 1849echo "$as_me:$LINENO:" \ 1850 "checking for C compiler version" >&5 1851ac_compiler=`set X $ac_compile; echo $2` 1852{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1853 (eval $ac_compiler --version </dev/null >&5) 2>&5 1854 ac_status=$? 1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1856 (exit $ac_status); } 1857{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1858 (eval $ac_compiler -v </dev/null >&5) 2>&5 1859 ac_status=$? 1860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1861 (exit $ac_status); } 1862{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1863 (eval $ac_compiler -V </dev/null >&5) 2>&5 1864 ac_status=$? 1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1866 (exit $ac_status); } 1867 1868cat >conftest.$ac_ext <<_ACEOF 1869/* confdefs.h. */ 1870_ACEOF 1871cat confdefs.h >>conftest.$ac_ext 1872cat >>conftest.$ac_ext <<_ACEOF 1873/* end confdefs.h. */ 1874 1875int 1876main () 1877{ 1878 1879 ; 1880 return 0; 1881} 1882_ACEOF 1883ac_clean_files_save=$ac_clean_files 1884ac_clean_files="$ac_clean_files a.out a.exe b.out" 1885# Try to create an executable without -o first, disregard a.out. 1886# It will help us diagnose broken compilers, and finding out an intuition 1887# of exeext. 1888echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1889echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1890ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1891if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1892 (eval $ac_link_default) 2>&5 1893 ac_status=$? 1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1895 (exit $ac_status); }; then 1896 # Find the output, starting from the most likely. This scheme is 1897# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1898# resort. 1899 1900# Be careful to initialize this variable, since it used to be cached. 1901# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1902ac_cv_exeext= 1903# b.out is created by i960 compilers. 1904for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1905do 1906 test -f "$ac_file" || continue 1907 case $ac_file in 1908 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1909 ;; 1910 conftest.$ac_ext ) 1911 # This is the source file. 1912 ;; 1913 [ab].out ) 1914 # We found the default executable, but exeext='' is most 1915 # certainly right. 1916 break;; 1917 *.* ) 1918 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1919 # FIXME: I believe we export ac_cv_exeext for Libtool, 1920 # but it would be cool to find out if it's true. Does anybody 1921 # maintain Libtool? --akim. 1922 export ac_cv_exeext 1923 break;; 1924 * ) 1925 break;; 1926 esac 1927done 1928else 1929 echo "$as_me: failed program was:" >&5 1930sed 's/^/| /' conftest.$ac_ext >&5 1931 1932{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 1933See \`config.log' for more details." >&5 1934echo "$as_me: error: C compiler cannot create executables 1935See \`config.log' for more details." >&2;} 1936 { (exit 77); exit 77; }; } 1937fi 1938 1939ac_exeext=$ac_cv_exeext 1940echo "$as_me:$LINENO: result: $ac_file" >&5 1941echo "${ECHO_T}$ac_file" >&6 1942 1943# Check the compiler produces executables we can run. If not, either 1944# the compiler is broken, or we cross compile. 1945echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1946echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1947# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1948# If not cross compiling, check that we can run a simple program. 1949if test "$cross_compiling" != yes; then 1950 if { ac_try='./$ac_file' 1951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1952 (eval $ac_try) 2>&5 1953 ac_status=$? 1954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1955 (exit $ac_status); }; }; then 1956 cross_compiling=no 1957 else 1958 if test "$cross_compiling" = maybe; then 1959 cross_compiling=yes 1960 else 1961 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1962If you meant to cross compile, use \`--host'. 1963See \`config.log' for more details." >&5 1964echo "$as_me: error: cannot run C compiled programs. 1965If you meant to cross compile, use \`--host'. 1966See \`config.log' for more details." >&2;} 1967 { (exit 1); exit 1; }; } 1968 fi 1969 fi 1970fi 1971echo "$as_me:$LINENO: result: yes" >&5 1972echo "${ECHO_T}yes" >&6 1973 1974rm -f a.out a.exe conftest$ac_cv_exeext b.out 1975ac_clean_files=$ac_clean_files_save 1976# Check the compiler produces executables we can run. If not, either 1977# the compiler is broken, or we cross compile. 1978echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1979echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1980echo "$as_me:$LINENO: result: $cross_compiling" >&5 1981echo "${ECHO_T}$cross_compiling" >&6 1982 1983echo "$as_me:$LINENO: checking for suffix of executables" >&5 1984echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1985if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1986 (eval $ac_link) 2>&5 1987 ac_status=$? 1988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1989 (exit $ac_status); }; then 1990 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1991# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1992# work properly (i.e., refer to `conftest.exe'), while it won't with 1993# `rm'. 1994for ac_file in conftest.exe conftest conftest.*; do 1995 test -f "$ac_file" || continue 1996 case $ac_file in 1997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1998 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1999 export ac_cv_exeext 2000 break;; 2001 * ) break;; 2002 esac 2003done 2004else 2005 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2006See \`config.log' for more details." >&5 2007echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2008See \`config.log' for more details." >&2;} 2009 { (exit 1); exit 1; }; } 2010fi 2011 2012rm -f conftest$ac_cv_exeext 2013echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2014echo "${ECHO_T}$ac_cv_exeext" >&6 2015 2016rm -f conftest.$ac_ext 2017EXEEXT=$ac_cv_exeext 2018ac_exeext=$EXEEXT 2019echo "$as_me:$LINENO: checking for suffix of object files" >&5 2020echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2021if test "${ac_cv_objext+set}" = set; then 2022 echo $ECHO_N "(cached) $ECHO_C" >&6 2023else 2024 cat >conftest.$ac_ext <<_ACEOF 2025/* confdefs.h. */ 2026_ACEOF 2027cat confdefs.h >>conftest.$ac_ext 2028cat >>conftest.$ac_ext <<_ACEOF 2029/* end confdefs.h. */ 2030 2031int 2032main () 2033{ 2034 2035 ; 2036 return 0; 2037} 2038_ACEOF 2039rm -f conftest.o conftest.obj 2040if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2041 (eval $ac_compile) 2>&5 2042 ac_status=$? 2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2044 (exit $ac_status); }; then 2045 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2046 case $ac_file in 2047 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2048 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2049 break;; 2050 esac 2051done 2052else 2053 echo "$as_me: failed program was:" >&5 2054sed 's/^/| /' conftest.$ac_ext >&5 2055 2056{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2057See \`config.log' for more details." >&5 2058echo "$as_me: error: cannot compute suffix of object files: cannot compile 2059See \`config.log' for more details." >&2;} 2060 { (exit 1); exit 1; }; } 2061fi 2062 2063rm -f conftest.$ac_cv_objext conftest.$ac_ext 2064fi 2065echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2066echo "${ECHO_T}$ac_cv_objext" >&6 2067OBJEXT=$ac_cv_objext 2068ac_objext=$OBJEXT 2069echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2070echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2071if test "${ac_cv_c_compiler_gnu+set}" = set; then 2072 echo $ECHO_N "(cached) $ECHO_C" >&6 2073else 2074 cat >conftest.$ac_ext <<_ACEOF 2075/* confdefs.h. */ 2076_ACEOF 2077cat confdefs.h >>conftest.$ac_ext 2078cat >>conftest.$ac_ext <<_ACEOF 2079/* end confdefs.h. */ 2080 2081int 2082main () 2083{ 2084#ifndef __GNUC__ 2085 choke me 2086#endif 2087 2088 ; 2089 return 0; 2090} 2091_ACEOF 2092rm -f conftest.$ac_objext 2093if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2094 (eval $ac_compile) 2>conftest.er1 2095 ac_status=$? 2096 grep -v '^ *+' conftest.er1 >conftest.err 2097 rm -f conftest.er1 2098 cat conftest.err >&5 2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2100 (exit $ac_status); } && 2101 { ac_try='test -z "$ac_c_werror_flag" 2102 || test ! -s conftest.err' 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); }; } && 2108 { ac_try='test -s conftest.$ac_objext' 2109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2110 (eval $ac_try) 2>&5 2111 ac_status=$? 2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2113 (exit $ac_status); }; }; then 2114 ac_compiler_gnu=yes 2115else 2116 echo "$as_me: failed program was:" >&5 2117sed 's/^/| /' conftest.$ac_ext >&5 2118 2119ac_compiler_gnu=no 2120fi 2121rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2122ac_cv_c_compiler_gnu=$ac_compiler_gnu 2123 2124fi 2125echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2126echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2127GCC=`test $ac_compiler_gnu = yes && echo yes` 2128ac_test_CFLAGS=${CFLAGS+set} 2129ac_save_CFLAGS=$CFLAGS 2130CFLAGS="-g" 2131echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2132echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2133if test "${ac_cv_prog_cc_g+set}" = set; then 2134 echo $ECHO_N "(cached) $ECHO_C" >&6 2135else 2136 cat >conftest.$ac_ext <<_ACEOF 2137/* confdefs.h. */ 2138_ACEOF 2139cat confdefs.h >>conftest.$ac_ext 2140cat >>conftest.$ac_ext <<_ACEOF 2141/* end confdefs.h. */ 2142 2143int 2144main () 2145{ 2146 2147 ; 2148 return 0; 2149} 2150_ACEOF 2151rm -f conftest.$ac_objext 2152if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2153 (eval $ac_compile) 2>conftest.er1 2154 ac_status=$? 2155 grep -v '^ *+' conftest.er1 >conftest.err 2156 rm -f conftest.er1 2157 cat conftest.err >&5 2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2159 (exit $ac_status); } && 2160 { ac_try='test -z "$ac_c_werror_flag" 2161 || test ! -s conftest.err' 2162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2163 (eval $ac_try) 2>&5 2164 ac_status=$? 2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2166 (exit $ac_status); }; } && 2167 { ac_try='test -s conftest.$ac_objext' 2168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2169 (eval $ac_try) 2>&5 2170 ac_status=$? 2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2172 (exit $ac_status); }; }; then 2173 ac_cv_prog_cc_g=yes 2174else 2175 echo "$as_me: failed program was:" >&5 2176sed 's/^/| /' conftest.$ac_ext >&5 2177 2178ac_cv_prog_cc_g=no 2179fi 2180rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2181fi 2182echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2183echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2184if test "$ac_test_CFLAGS" = set; then 2185 CFLAGS=$ac_save_CFLAGS 2186elif test $ac_cv_prog_cc_g = yes; then 2187 if test "$GCC" = yes; then 2188 CFLAGS="-g -O2" 2189 else 2190 CFLAGS="-g" 2191 fi 2192else 2193 if test "$GCC" = yes; then 2194 CFLAGS="-O2" 2195 else 2196 CFLAGS= 2197 fi 2198fi 2199echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2200echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2201if test "${ac_cv_prog_cc_stdc+set}" = set; then 2202 echo $ECHO_N "(cached) $ECHO_C" >&6 2203else 2204 ac_cv_prog_cc_stdc=no 2205ac_save_CC=$CC 2206cat >conftest.$ac_ext <<_ACEOF 2207/* confdefs.h. */ 2208_ACEOF 2209cat confdefs.h >>conftest.$ac_ext 2210cat >>conftest.$ac_ext <<_ACEOF 2211/* end confdefs.h. */ 2212#include <stdarg.h> 2213#include <stdio.h> 2214#include <sys/types.h> 2215#include <sys/stat.h> 2216/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2217struct buf { int x; }; 2218FILE * (*rcsopen) (struct buf *, struct stat *, int); 2219static char *e (p, i) 2220 char **p; 2221 int i; 2222{ 2223 return p[i]; 2224} 2225static char *f (char * (*g) (char **, int), char **p, ...) 2226{ 2227 char *s; 2228 va_list v; 2229 va_start (v,p); 2230 s = g (p, va_arg (v,int)); 2231 va_end (v); 2232 return s; 2233} 2234 2235/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2236 function prototypes and stuff, but not '\xHH' hex character constants. 2237 These don't provoke an error unfortunately, instead are silently treated 2238 as 'x'. The following induces an error, until -std1 is added to get 2239 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2240 array size at least. It's necessary to write '\x00'==0 to get something 2241 that's true only with -std1. */ 2242int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2243 2244int test (int i, double x); 2245struct s1 {int (*f) (int a);}; 2246struct s2 {int (*f) (double a);}; 2247int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2248int argc; 2249char **argv; 2250int 2251main () 2252{ 2253return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2254 ; 2255 return 0; 2256} 2257_ACEOF 2258# Don't try gcc -ansi; that turns off useful extensions and 2259# breaks some systems' header files. 2260# AIX -qlanglvl=ansi 2261# Ultrix and OSF/1 -std1 2262# HP-UX 10.20 and later -Ae 2263# HP-UX older versions -Aa -D_HPUX_SOURCE 2264# SVR4 -Xc -D__EXTENSIONS__ 2265for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2266do 2267 CC="$ac_save_CC $ac_arg" 2268 rm -f conftest.$ac_objext 2269if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2270 (eval $ac_compile) 2>conftest.er1 2271 ac_status=$? 2272 grep -v '^ *+' conftest.er1 >conftest.err 2273 rm -f conftest.er1 2274 cat conftest.err >&5 2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2276 (exit $ac_status); } && 2277 { ac_try='test -z "$ac_c_werror_flag" 2278 || test ! -s conftest.err' 2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2280 (eval $ac_try) 2>&5 2281 ac_status=$? 2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2283 (exit $ac_status); }; } && 2284 { ac_try='test -s conftest.$ac_objext' 2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2286 (eval $ac_try) 2>&5 2287 ac_status=$? 2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2289 (exit $ac_status); }; }; then 2290 ac_cv_prog_cc_stdc=$ac_arg 2291break 2292else 2293 echo "$as_me: failed program was:" >&5 2294sed 's/^/| /' conftest.$ac_ext >&5 2295 2296fi 2297rm -f conftest.err conftest.$ac_objext 2298done 2299rm -f conftest.$ac_ext conftest.$ac_objext 2300CC=$ac_save_CC 2301 2302fi 2303 2304case "x$ac_cv_prog_cc_stdc" in 2305 x|xno) 2306 echo "$as_me:$LINENO: result: none needed" >&5 2307echo "${ECHO_T}none needed" >&6 ;; 2308 *) 2309 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2310echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2311 CC="$CC $ac_cv_prog_cc_stdc" ;; 2312esac 2313 2314# Some people use a C++ compiler to compile C. Since we use `exit', 2315# in C++ we need to declare it. In case someone uses the same compiler 2316# for both compiling C and C++ we need to have the C++ compiler decide 2317# the declaration of exit, since it's the most demanding environment. 2318cat >conftest.$ac_ext <<_ACEOF 2319#ifndef __cplusplus 2320 choke me 2321#endif 2322_ACEOF 2323rm -f conftest.$ac_objext 2324if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2325 (eval $ac_compile) 2>conftest.er1 2326 ac_status=$? 2327 grep -v '^ *+' conftest.er1 >conftest.err 2328 rm -f conftest.er1 2329 cat conftest.err >&5 2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2331 (exit $ac_status); } && 2332 { ac_try='test -z "$ac_c_werror_flag" 2333 || test ! -s conftest.err' 2334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2335 (eval $ac_try) 2>&5 2336 ac_status=$? 2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2338 (exit $ac_status); }; } && 2339 { ac_try='test -s conftest.$ac_objext' 2340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2341 (eval $ac_try) 2>&5 2342 ac_status=$? 2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2344 (exit $ac_status); }; }; then 2345 for ac_declaration in \ 2346 '' \ 2347 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2348 'extern "C" void std::exit (int); using std::exit;' \ 2349 'extern "C" void exit (int) throw ();' \ 2350 'extern "C" void exit (int);' \ 2351 'void exit (int);' 2352do 2353 cat >conftest.$ac_ext <<_ACEOF 2354/* confdefs.h. */ 2355_ACEOF 2356cat confdefs.h >>conftest.$ac_ext 2357cat >>conftest.$ac_ext <<_ACEOF 2358/* end confdefs.h. */ 2359$ac_declaration 2360#include <stdlib.h> 2361int 2362main () 2363{ 2364exit (42); 2365 ; 2366 return 0; 2367} 2368_ACEOF 2369rm -f conftest.$ac_objext 2370if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2371 (eval $ac_compile) 2>conftest.er1 2372 ac_status=$? 2373 grep -v '^ *+' conftest.er1 >conftest.err 2374 rm -f conftest.er1 2375 cat conftest.err >&5 2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2377 (exit $ac_status); } && 2378 { ac_try='test -z "$ac_c_werror_flag" 2379 || test ! -s conftest.err' 2380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2381 (eval $ac_try) 2>&5 2382 ac_status=$? 2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2384 (exit $ac_status); }; } && 2385 { ac_try='test -s conftest.$ac_objext' 2386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2387 (eval $ac_try) 2>&5 2388 ac_status=$? 2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2390 (exit $ac_status); }; }; then 2391 : 2392else 2393 echo "$as_me: failed program was:" >&5 2394sed 's/^/| /' conftest.$ac_ext >&5 2395 2396continue 2397fi 2398rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2399 cat >conftest.$ac_ext <<_ACEOF 2400/* confdefs.h. */ 2401_ACEOF 2402cat confdefs.h >>conftest.$ac_ext 2403cat >>conftest.$ac_ext <<_ACEOF 2404/* end confdefs.h. */ 2405$ac_declaration 2406int 2407main () 2408{ 2409exit (42); 2410 ; 2411 return 0; 2412} 2413_ACEOF 2414rm -f conftest.$ac_objext 2415if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2416 (eval $ac_compile) 2>conftest.er1 2417 ac_status=$? 2418 grep -v '^ *+' conftest.er1 >conftest.err 2419 rm -f conftest.er1 2420 cat conftest.err >&5 2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2422 (exit $ac_status); } && 2423 { ac_try='test -z "$ac_c_werror_flag" 2424 || test ! -s conftest.err' 2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2426 (eval $ac_try) 2>&5 2427 ac_status=$? 2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2429 (exit $ac_status); }; } && 2430 { ac_try='test -s conftest.$ac_objext' 2431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2432 (eval $ac_try) 2>&5 2433 ac_status=$? 2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2435 (exit $ac_status); }; }; then 2436 break 2437else 2438 echo "$as_me: failed program was:" >&5 2439sed 's/^/| /' conftest.$ac_ext >&5 2440 2441fi 2442rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2443done 2444rm -f conftest* 2445if test -n "$ac_declaration"; then 2446 echo '#ifdef __cplusplus' >>confdefs.h 2447 echo $ac_declaration >>confdefs.h 2448 echo '#endif' >>confdefs.h 2449fi 2450 2451else 2452 echo "$as_me: failed program was:" >&5 2453sed 's/^/| /' conftest.$ac_ext >&5 2454 2455fi 2456rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 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 2462 2463 2464ac_ext=c 2465ac_cpp='$CPP $CPPFLAGS' 2466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2468ac_compiler_gnu=$ac_cv_c_compiler_gnu 2469echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2470echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2471# On Suns, sometimes $CPP names a directory. 2472if test -n "$CPP" && test -d "$CPP"; then 2473 CPP= 2474fi 2475if test -z "$CPP"; then 2476 if test "${ac_cv_prog_CPP+set}" = set; then 2477 echo $ECHO_N "(cached) $ECHO_C" >&6 2478else 2479 # Double quotes because CPP needs to be expanded 2480 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2481 do 2482 ac_preproc_ok=false 2483for ac_c_preproc_warn_flag in '' yes 2484do 2485 # Use a header file that comes with gcc, so configuring glibc 2486 # with a fresh cross-compiler works. 2487 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2488 # <limits.h> exists even on freestanding compilers. 2489 # On the NeXT, cc -E runs the code through the compiler's parser, 2490 # not just through cpp. "Syntax error" is here to catch this case. 2491 cat >conftest.$ac_ext <<_ACEOF 2492/* confdefs.h. */ 2493_ACEOF 2494cat confdefs.h >>conftest.$ac_ext 2495cat >>conftest.$ac_ext <<_ACEOF 2496/* end confdefs.h. */ 2497#ifdef __STDC__ 2498# include <limits.h> 2499#else 2500# include <assert.h> 2501#endif 2502 Syntax error 2503_ACEOF 2504if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2506 ac_status=$? 2507 grep -v '^ *+' conftest.er1 >conftest.err 2508 rm -f conftest.er1 2509 cat conftest.err >&5 2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2511 (exit $ac_status); } >/dev/null; then 2512 if test -s conftest.err; then 2513 ac_cpp_err=$ac_c_preproc_warn_flag 2514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2515 else 2516 ac_cpp_err= 2517 fi 2518else 2519 ac_cpp_err=yes 2520fi 2521if test -z "$ac_cpp_err"; then 2522 : 2523else 2524 echo "$as_me: failed program was:" >&5 2525sed 's/^/| /' conftest.$ac_ext >&5 2526 2527 # Broken: fails on valid input. 2528continue 2529fi 2530rm -f conftest.err conftest.$ac_ext 2531 2532 # OK, works on sane cases. Now check whether non-existent headers 2533 # can be detected and how. 2534 cat >conftest.$ac_ext <<_ACEOF 2535/* confdefs.h. */ 2536_ACEOF 2537cat confdefs.h >>conftest.$ac_ext 2538cat >>conftest.$ac_ext <<_ACEOF 2539/* end confdefs.h. */ 2540#include <ac_nonexistent.h> 2541_ACEOF 2542if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2544 ac_status=$? 2545 grep -v '^ *+' conftest.er1 >conftest.err 2546 rm -f conftest.er1 2547 cat conftest.err >&5 2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2549 (exit $ac_status); } >/dev/null; then 2550 if test -s conftest.err; then 2551 ac_cpp_err=$ac_c_preproc_warn_flag 2552 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2553 else 2554 ac_cpp_err= 2555 fi 2556else 2557 ac_cpp_err=yes 2558fi 2559if test -z "$ac_cpp_err"; then 2560 # Broken: success on invalid input. 2561continue 2562else 2563 echo "$as_me: failed program was:" >&5 2564sed 's/^/| /' conftest.$ac_ext >&5 2565 2566 # Passes both tests. 2567ac_preproc_ok=: 2568break 2569fi 2570rm -f conftest.err conftest.$ac_ext 2571 2572done 2573# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2574rm -f conftest.err conftest.$ac_ext 2575if $ac_preproc_ok; then 2576 break 2577fi 2578 2579 done 2580 ac_cv_prog_CPP=$CPP 2581 2582fi 2583 CPP=$ac_cv_prog_CPP 2584else 2585 ac_cv_prog_CPP=$CPP 2586fi 2587echo "$as_me:$LINENO: result: $CPP" >&5 2588echo "${ECHO_T}$CPP" >&6 2589ac_preproc_ok=false 2590for ac_c_preproc_warn_flag in '' yes 2591do 2592 # Use a header file that comes with gcc, so configuring glibc 2593 # with a fresh cross-compiler works. 2594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2595 # <limits.h> exists even on freestanding compilers. 2596 # On the NeXT, cc -E runs the code through the compiler's parser, 2597 # not just through cpp. "Syntax error" is here to catch this case. 2598 cat >conftest.$ac_ext <<_ACEOF 2599/* confdefs.h. */ 2600_ACEOF 2601cat confdefs.h >>conftest.$ac_ext 2602cat >>conftest.$ac_ext <<_ACEOF 2603/* end confdefs.h. */ 2604#ifdef __STDC__ 2605# include <limits.h> 2606#else 2607# include <assert.h> 2608#endif 2609 Syntax error 2610_ACEOF 2611if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2612 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2613 ac_status=$? 2614 grep -v '^ *+' conftest.er1 >conftest.err 2615 rm -f conftest.er1 2616 cat conftest.err >&5 2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2618 (exit $ac_status); } >/dev/null; then 2619 if test -s conftest.err; then 2620 ac_cpp_err=$ac_c_preproc_warn_flag 2621 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2622 else 2623 ac_cpp_err= 2624 fi 2625else 2626 ac_cpp_err=yes 2627fi 2628if test -z "$ac_cpp_err"; then 2629 : 2630else 2631 echo "$as_me: failed program was:" >&5 2632sed 's/^/| /' conftest.$ac_ext >&5 2633 2634 # Broken: fails on valid input. 2635continue 2636fi 2637rm -f conftest.err conftest.$ac_ext 2638 2639 # OK, works on sane cases. Now check whether non-existent headers 2640 # can be detected and how. 2641 cat >conftest.$ac_ext <<_ACEOF 2642/* confdefs.h. */ 2643_ACEOF 2644cat confdefs.h >>conftest.$ac_ext 2645cat >>conftest.$ac_ext <<_ACEOF 2646/* end confdefs.h. */ 2647#include <ac_nonexistent.h> 2648_ACEOF 2649if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2651 ac_status=$? 2652 grep -v '^ *+' conftest.er1 >conftest.err 2653 rm -f conftest.er1 2654 cat conftest.err >&5 2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2656 (exit $ac_status); } >/dev/null; then 2657 if test -s conftest.err; then 2658 ac_cpp_err=$ac_c_preproc_warn_flag 2659 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2660 else 2661 ac_cpp_err= 2662 fi 2663else 2664 ac_cpp_err=yes 2665fi 2666if test -z "$ac_cpp_err"; then 2667 # Broken: success on invalid input. 2668continue 2669else 2670 echo "$as_me: failed program was:" >&5 2671sed 's/^/| /' conftest.$ac_ext >&5 2672 2673 # Passes both tests. 2674ac_preproc_ok=: 2675break 2676fi 2677rm -f conftest.err conftest.$ac_ext 2678 2679done 2680# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2681rm -f conftest.err conftest.$ac_ext 2682if $ac_preproc_ok; then 2683 : 2684else 2685 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2686See \`config.log' for more details." >&5 2687echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2688See \`config.log' for more details." >&2;} 2689 { (exit 1); exit 1; }; } 2690fi 2691 2692ac_ext=c 2693ac_cpp='$CPP $CPPFLAGS' 2694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2696ac_compiler_gnu=$ac_cv_c_compiler_gnu 2697 2698 2699echo "$as_me:$LINENO: checking for egrep" >&5 2700echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2701if test "${ac_cv_prog_egrep+set}" = set; then 2702 echo $ECHO_N "(cached) $ECHO_C" >&6 2703else 2704 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 2705 then ac_cv_prog_egrep='grep -E' 2706 else ac_cv_prog_egrep='egrep' 2707 fi 2708fi 2709echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 2710echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2711 EGREP=$ac_cv_prog_egrep 2712 2713 2714echo "$as_me:$LINENO: checking for ANSI C header files" >&5 2715echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 2716if test "${ac_cv_header_stdc+set}" = set; then 2717 echo $ECHO_N "(cached) $ECHO_C" >&6 2718else 2719 cat >conftest.$ac_ext <<_ACEOF 2720/* confdefs.h. */ 2721_ACEOF 2722cat confdefs.h >>conftest.$ac_ext 2723cat >>conftest.$ac_ext <<_ACEOF 2724/* end confdefs.h. */ 2725#include <stdlib.h> 2726#include <stdarg.h> 2727#include <string.h> 2728#include <float.h> 2729 2730int 2731main () 2732{ 2733 2734 ; 2735 return 0; 2736} 2737_ACEOF 2738rm -f conftest.$ac_objext 2739if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2740 (eval $ac_compile) 2>conftest.er1 2741 ac_status=$? 2742 grep -v '^ *+' conftest.er1 >conftest.err 2743 rm -f conftest.er1 2744 cat conftest.err >&5 2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2746 (exit $ac_status); } && 2747 { ac_try='test -z "$ac_c_werror_flag" 2748 || test ! -s conftest.err' 2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2750 (eval $ac_try) 2>&5 2751 ac_status=$? 2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2753 (exit $ac_status); }; } && 2754 { ac_try='test -s conftest.$ac_objext' 2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2756 (eval $ac_try) 2>&5 2757 ac_status=$? 2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2759 (exit $ac_status); }; }; then 2760 ac_cv_header_stdc=yes 2761else 2762 echo "$as_me: failed program was:" >&5 2763sed 's/^/| /' conftest.$ac_ext >&5 2764 2765ac_cv_header_stdc=no 2766fi 2767rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2768 2769if test $ac_cv_header_stdc = yes; then 2770 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2771 cat >conftest.$ac_ext <<_ACEOF 2772/* confdefs.h. */ 2773_ACEOF 2774cat confdefs.h >>conftest.$ac_ext 2775cat >>conftest.$ac_ext <<_ACEOF 2776/* end confdefs.h. */ 2777#include <string.h> 2778 2779_ACEOF 2780if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2781 $EGREP "memchr" >/dev/null 2>&1; then 2782 : 2783else 2784 ac_cv_header_stdc=no 2785fi 2786rm -f conftest* 2787 2788fi 2789 2790if test $ac_cv_header_stdc = yes; then 2791 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2792 cat >conftest.$ac_ext <<_ACEOF 2793/* confdefs.h. */ 2794_ACEOF 2795cat confdefs.h >>conftest.$ac_ext 2796cat >>conftest.$ac_ext <<_ACEOF 2797/* end confdefs.h. */ 2798#include <stdlib.h> 2799 2800_ACEOF 2801if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2802 $EGREP "free" >/dev/null 2>&1; then 2803 : 2804else 2805 ac_cv_header_stdc=no 2806fi 2807rm -f conftest* 2808 2809fi 2810 2811if test $ac_cv_header_stdc = yes; then 2812 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2813 if test "$cross_compiling" = yes; then 2814 : 2815else 2816 cat >conftest.$ac_ext <<_ACEOF 2817/* confdefs.h. */ 2818_ACEOF 2819cat confdefs.h >>conftest.$ac_ext 2820cat >>conftest.$ac_ext <<_ACEOF 2821/* end confdefs.h. */ 2822#include <ctype.h> 2823#if ((' ' & 0x0FF) == 0x020) 2824# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2825# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2826#else 2827# define ISLOWER(c) \ 2828 (('a' <= (c) && (c) <= 'i') \ 2829 || ('j' <= (c) && (c) <= 'r') \ 2830 || ('s' <= (c) && (c) <= 'z')) 2831# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 2832#endif 2833 2834#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2835int 2836main () 2837{ 2838 int i; 2839 for (i = 0; i < 256; i++) 2840 if (XOR (islower (i), ISLOWER (i)) 2841 || toupper (i) != TOUPPER (i)) 2842 exit(2); 2843 exit (0); 2844} 2845_ACEOF 2846rm -f conftest$ac_exeext 2847if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2848 (eval $ac_link) 2>&5 2849 ac_status=$? 2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2853 (eval $ac_try) 2>&5 2854 ac_status=$? 2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2856 (exit $ac_status); }; }; then 2857 : 2858else 2859 echo "$as_me: program exited with status $ac_status" >&5 2860echo "$as_me: failed program was:" >&5 2861sed 's/^/| /' conftest.$ac_ext >&5 2862 2863( exit $ac_status ) 2864ac_cv_header_stdc=no 2865fi 2866rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2867fi 2868fi 2869fi 2870echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 2871echo "${ECHO_T}$ac_cv_header_stdc" >&6 2872if test $ac_cv_header_stdc = yes; then 2873 2874cat >>confdefs.h <<\_ACEOF 2875#define STDC_HEADERS 1 2876_ACEOF 2877 2878fi 2879 2880# On IRIX 5.3, sys/types and inttypes.h are conflicting. 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 2891 inttypes.h stdint.h unistd.h 2892do 2893as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2894echo "$as_me:$LINENO: checking for $ac_header" >&5 2895echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2896if eval "test \"\${$as_ac_Header+set}\" = set"; then 2897 echo $ECHO_N "(cached) $ECHO_C" >&6 2898else 2899 cat >conftest.$ac_ext <<_ACEOF 2900/* confdefs.h. */ 2901_ACEOF 2902cat confdefs.h >>conftest.$ac_ext 2903cat >>conftest.$ac_ext <<_ACEOF 2904/* end confdefs.h. */ 2905$ac_includes_default 2906 2907#include <$ac_header> 2908_ACEOF 2909rm -f conftest.$ac_objext 2910if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2911 (eval $ac_compile) 2>conftest.er1 2912 ac_status=$? 2913 grep -v '^ *+' conftest.er1 >conftest.err 2914 rm -f conftest.er1 2915 cat conftest.err >&5 2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2917 (exit $ac_status); } && 2918 { ac_try='test -z "$ac_c_werror_flag" 2919 || test ! -s conftest.err' 2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2921 (eval $ac_try) 2>&5 2922 ac_status=$? 2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2924 (exit $ac_status); }; } && 2925 { ac_try='test -s conftest.$ac_objext' 2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2927 (eval $ac_try) 2>&5 2928 ac_status=$? 2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2930 (exit $ac_status); }; }; then 2931 eval "$as_ac_Header=yes" 2932else 2933 echo "$as_me: failed program was:" >&5 2934sed 's/^/| /' conftest.$ac_ext >&5 2935 2936eval "$as_ac_Header=no" 2937fi 2938rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2939fi 2940echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 2941echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2942if test `eval echo '${'$as_ac_Header'}'` = yes; then 2943 cat >>confdefs.h <<_ACEOF 2944#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 2945_ACEOF 2946 2947fi 2948 2949done 2950 2951 2952 2953for ac_header in pthread.h 2954do 2955as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2956if eval "test \"\${$as_ac_Header+set}\" = set"; then 2957 echo "$as_me:$LINENO: checking for $ac_header" >&5 2958echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2959if eval "test \"\${$as_ac_Header+set}\" = set"; then 2960 echo $ECHO_N "(cached) $ECHO_C" >&6 2961fi 2962echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 2963echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2964else 2965 # Is the header compilable? 2966echo "$as_me:$LINENO: checking $ac_header usability" >&5 2967echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 2968cat >conftest.$ac_ext <<_ACEOF 2969/* confdefs.h. */ 2970_ACEOF 2971cat confdefs.h >>conftest.$ac_ext 2972cat >>conftest.$ac_ext <<_ACEOF 2973/* end confdefs.h. */ 2974$ac_includes_default 2975#include <$ac_header> 2976_ACEOF 2977rm -f conftest.$ac_objext 2978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2979 (eval $ac_compile) 2>conftest.er1 2980 ac_status=$? 2981 grep -v '^ *+' conftest.er1 >conftest.err 2982 rm -f conftest.er1 2983 cat conftest.err >&5 2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2985 (exit $ac_status); } && 2986 { ac_try='test -z "$ac_c_werror_flag" 2987 || test ! -s conftest.err' 2988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2989 (eval $ac_try) 2>&5 2990 ac_status=$? 2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2992 (exit $ac_status); }; } && 2993 { ac_try='test -s conftest.$ac_objext' 2994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2995 (eval $ac_try) 2>&5 2996 ac_status=$? 2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2998 (exit $ac_status); }; }; then 2999 ac_header_compiler=yes 3000else 3001 echo "$as_me: failed program was:" >&5 3002sed 's/^/| /' conftest.$ac_ext >&5 3003 3004ac_header_compiler=no 3005fi 3006rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3007echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3008echo "${ECHO_T}$ac_header_compiler" >&6 3009 3010# Is the header present? 3011echo "$as_me:$LINENO: checking $ac_header presence" >&5 3012echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3013cat >conftest.$ac_ext <<_ACEOF 3014/* confdefs.h. */ 3015_ACEOF 3016cat confdefs.h >>conftest.$ac_ext 3017cat >>conftest.$ac_ext <<_ACEOF 3018/* end confdefs.h. */ 3019#include <$ac_header> 3020_ACEOF 3021if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3023 ac_status=$? 3024 grep -v '^ *+' conftest.er1 >conftest.err 3025 rm -f conftest.er1 3026 cat conftest.err >&5 3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3028 (exit $ac_status); } >/dev/null; then 3029 if test -s conftest.err; then 3030 ac_cpp_err=$ac_c_preproc_warn_flag 3031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3032 else 3033 ac_cpp_err= 3034 fi 3035else 3036 ac_cpp_err=yes 3037fi 3038if test -z "$ac_cpp_err"; then 3039 ac_header_preproc=yes 3040else 3041 echo "$as_me: failed program was:" >&5 3042sed 's/^/| /' conftest.$ac_ext >&5 3043 3044 ac_header_preproc=no 3045fi 3046rm -f conftest.err conftest.$ac_ext 3047echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3048echo "${ECHO_T}$ac_header_preproc" >&6 3049 3050# So? What about this header? 3051case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3052 yes:no: ) 3053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3054echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3056echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3057 ac_header_preproc=yes 3058 ;; 3059 no:yes:* ) 3060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3061echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3063echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3065echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3067echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3069echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3071echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3072 ( 3073 cat <<\_ASBOX 3074## ------------------------------------------ ## 3075## Report this to the AC_PACKAGE_NAME lists. ## 3076## ------------------------------------------ ## 3077_ASBOX 3078 ) | 3079 sed "s/^/$as_me: WARNING: /" >&2 3080 ;; 3081esac 3082echo "$as_me:$LINENO: checking for $ac_header" >&5 3083echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3084if eval "test \"\${$as_ac_Header+set}\" = set"; then 3085 echo $ECHO_N "(cached) $ECHO_C" >&6 3086else 3087 eval "$as_ac_Header=\$ac_header_preproc" 3088fi 3089echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3090echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3091 3092fi 3093if test `eval echo '${'$as_ac_Header'}'` = yes; then 3094 cat >>confdefs.h <<_ACEOF 3095#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3096_ACEOF 3097 3098fi 3099 3100done 3101 3102 3103 3104 3105 ac_config_files="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.fortran/Makefile gdb.server/Makefile gdb.java/Makefile gdb.mi/Makefile gdb.objc/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile" 3106cat >confcache <<\_ACEOF 3107# This file is a shell script that caches the results of configure 3108# tests run on this system so they can be shared between configure 3109# scripts and configure runs, see configure's option --config-cache. 3110# It is not useful on other systems. If it contains results you don't 3111# want to keep, you may remove or edit it. 3112# 3113# config.status only pays attention to the cache file if you give it 3114# the --recheck option to rerun configure. 3115# 3116# `ac_cv_env_foo' variables (set or unset) will be overridden when 3117# loading this file, other *unset* `ac_cv_foo' will be assigned the 3118# following values. 3119 3120_ACEOF 3121 3122# The following way of writing the cache mishandles newlines in values, 3123# but we know of no workaround that is simple, portable, and efficient. 3124# So, don't put newlines in cache variables' values. 3125# Ultrix sh set writes to stderr and can't be redirected directly, 3126# and sets the high bit in the cache file unless we assign to the vars. 3127{ 3128 (set) 2>&1 | 3129 case `(ac_space=' '; set | grep ac_space) 2>&1` in 3130 *ac_space=\ *) 3131 # `set' does not quote correctly, so add quotes (double-quote 3132 # substitution turns \\\\ into \\, and sed turns \\ into \). 3133 sed -n \ 3134 "s/'/'\\\\''/g; 3135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3136 ;; 3137 *) 3138 # `set' quotes correctly as required by POSIX, so do not add quotes. 3139 sed -n \ 3140 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 3141 ;; 3142 esac; 3143} | 3144 sed ' 3145 t clear 3146 : clear 3147 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3148 t end 3149 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3150 : end' >>confcache 3151if diff $cache_file confcache >/dev/null 2>&1; then :; else 3152 if test -w $cache_file; then 3153 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3154 cat confcache >$cache_file 3155 else 3156 echo "not updating unwritable cache $cache_file" 3157 fi 3158fi 3159rm -f confcache 3160 3161test "x$prefix" = xNONE && prefix=$ac_default_prefix 3162# Let make expand exec_prefix. 3163test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3164 3165# VPATH may cause trouble with some makes, so we remove $(srcdir), 3166# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3167# trailing colons and then remove the whole line if VPATH becomes empty 3168# (actually we leave an empty line to preserve line numbers). 3169if test "x$srcdir" = x.; then 3170 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3171s/:*\$(srcdir):*/:/; 3172s/:*\${srcdir}:*/:/; 3173s/:*@srcdir@:*/:/; 3174s/^\([^=]*=[ ]*\):*/\1/; 3175s/:*$//; 3176s/^[^=]*=[ ]*$//; 3177}' 3178fi 3179 3180# Transform confdefs.h into DEFS. 3181# Protect against shell expansion while executing Makefile rules. 3182# Protect against Makefile macro expansion. 3183# 3184# If the first sed substitution is executed (which looks for macros that 3185# take arguments), then we branch to the quote section. Otherwise, 3186# look for a macro that doesn't take arguments. 3187cat >confdef2opt.sed <<\_ACEOF 3188t clear 3189: clear 3190s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 3191t quote 3192s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 3193t quote 3194d 3195: quote 3196s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 3197s,\[,\\&,g 3198s,\],\\&,g 3199s,\$,$$,g 3200p 3201_ACEOF 3202# We use echo to avoid assuming a particular line-breaking character. 3203# The extra dot is to prevent the shell from consuming trailing 3204# line-breaks from the sub-command output. A line-break within 3205# single-quotes doesn't work because, if this script is created in a 3206# platform that uses two characters for line-breaks (e.g., DOS), tr 3207# would break. 3208ac_LF_and_DOT=`echo; echo .` 3209DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 3210rm -f confdef2opt.sed 3211 3212 3213ac_libobjs= 3214ac_ltlibobjs= 3215for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3216 # 1. Remove the extension, and $U if already installed. 3217 ac_i=`echo "$ac_i" | 3218 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 3219 # 2. Add them. 3220 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 3221 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 3222done 3223LIBOBJS=$ac_libobjs 3224 3225LTLIBOBJS=$ac_ltlibobjs 3226 3227 3228 3229: ${CONFIG_STATUS=./config.status} 3230ac_clean_files_save=$ac_clean_files 3231ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3232{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3233echo "$as_me: creating $CONFIG_STATUS" >&6;} 3234cat >$CONFIG_STATUS <<_ACEOF 3235#! $SHELL 3236# Generated by $as_me. 3237# Run this file to recreate the current configuration. 3238# Compiler output produced by configure, useful for debugging 3239# configure, is in config.log if it exists. 3240 3241debug=false 3242ac_cs_recheck=false 3243ac_cs_silent=false 3244SHELL=\${CONFIG_SHELL-$SHELL} 3245_ACEOF 3246 3247cat >>$CONFIG_STATUS <<\_ACEOF 3248## --------------------- ## 3249## M4sh Initialization. ## 3250## --------------------- ## 3251 3252# Be Bourne compatible 3253if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3254 emulate sh 3255 NULLCMD=: 3256 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3257 # is contrary to our usage. Disable this feature. 3258 alias -g '${1+"$@"}'='"$@"' 3259elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3260 set -o posix 3261fi 3262DUALCASE=1; export DUALCASE # for MKS sh 3263 3264# Support unset when possible. 3265if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 3266 as_unset=unset 3267else 3268 as_unset=false 3269fi 3270 3271 3272# Work around bugs in pre-3.0 UWIN ksh. 3273$as_unset ENV MAIL MAILPATH 3274PS1='$ ' 3275PS2='> ' 3276PS4='+ ' 3277 3278# NLS nuisances. 3279for as_var in \ 3280 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3281 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3282 LC_TELEPHONE LC_TIME 3283do 3284 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3285 eval $as_var=C; export $as_var 3286 else 3287 $as_unset $as_var 3288 fi 3289done 3290 3291# Required to use basename. 3292if expr a : '\(a\)' >/dev/null 2>&1; then 3293 as_expr=expr 3294else 3295 as_expr=false 3296fi 3297 3298if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 3299 as_basename=basename 3300else 3301 as_basename=false 3302fi 3303 3304 3305# Name of the executable. 3306as_me=`$as_basename "$0" || 3307$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3308 X"$0" : 'X\(//\)$' \| \ 3309 X"$0" : 'X\(/\)$' \| \ 3310 . : '\(.\)' 2>/dev/null || 3311echo X/"$0" | 3312 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 3313 /^X\/\(\/\/\)$/{ s//\1/; q; } 3314 /^X\/\(\/\).*/{ s//\1/; q; } 3315 s/.*/./; q'` 3316 3317 3318# PATH needs CR, and LINENO needs CR and PATH. 3319# Avoid depending upon Character Ranges. 3320as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3321as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3322as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3323as_cr_digits='0123456789' 3324as_cr_alnum=$as_cr_Letters$as_cr_digits 3325 3326# The user is always right. 3327if test "${PATH_SEPARATOR+set}" != set; then 3328 echo "#! /bin/sh" >conf$$.sh 3329 echo "exit 0" >>conf$$.sh 3330 chmod +x conf$$.sh 3331 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3332 PATH_SEPARATOR=';' 3333 else 3334 PATH_SEPARATOR=: 3335 fi 3336 rm -f conf$$.sh 3337fi 3338 3339 3340 as_lineno_1=$LINENO 3341 as_lineno_2=$LINENO 3342 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3343 test "x$as_lineno_1" != "x$as_lineno_2" && 3344 test "x$as_lineno_3" = "x$as_lineno_2" || { 3345 # Find who we are. Look in the path if we contain no path at all 3346 # relative or not. 3347 case $0 in 3348 *[\\/]* ) as_myself=$0 ;; 3349 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3350for as_dir in $PATH 3351do 3352 IFS=$as_save_IFS 3353 test -z "$as_dir" && as_dir=. 3354 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3355done 3356 3357 ;; 3358 esac 3359 # We did not find ourselves, most probably we were run as `sh COMMAND' 3360 # in which case we are not to be found in the path. 3361 if test "x$as_myself" = x; then 3362 as_myself=$0 3363 fi 3364 if test ! -f "$as_myself"; then 3365 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3366echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3367 { (exit 1); exit 1; }; } 3368 fi 3369 case $CONFIG_SHELL in 3370 '') 3371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3372for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3373do 3374 IFS=$as_save_IFS 3375 test -z "$as_dir" && as_dir=. 3376 for as_base in sh bash ksh sh5; do 3377 case $as_dir in 3378 /*) 3379 if ("$as_dir/$as_base" -c ' 3380 as_lineno_1=$LINENO 3381 as_lineno_2=$LINENO 3382 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3383 test "x$as_lineno_1" != "x$as_lineno_2" && 3384 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3385 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 3386 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 3387 CONFIG_SHELL=$as_dir/$as_base 3388 export CONFIG_SHELL 3389 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 3390 fi;; 3391 esac 3392 done 3393done 3394;; 3395 esac 3396 3397 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3398 # uniformly replaced by the line number. The first 'sed' inserts a 3399 # line-number line before each line; the second 'sed' does the real 3400 # work. The second script uses 'N' to pair each line-number line 3401 # with the numbered line, and appends trailing '-' during 3402 # substitution so that $LINENO is not a special case at line end. 3403 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3404 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 3405 sed '=' <$as_myself | 3406 sed ' 3407 N 3408 s,$,-, 3409 : loop 3410 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 3411 t loop 3412 s,-$,, 3413 s,^['$as_cr_digits']*\n,, 3414 ' >$as_me.lineno && 3415 chmod +x $as_me.lineno || 3416 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 3417echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 3418 { (exit 1); exit 1; }; } 3419 3420 # Don't try to exec as it changes $[0], causing all sort of problems 3421 # (the dirname of $[0] is not the place where we might find the 3422 # original and so on. Autoconf is especially sensible to this). 3423 . ./$as_me.lineno 3424 # Exit status is that of the last command. 3425 exit 3426} 3427 3428 3429case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 3430 *c*,-n*) ECHO_N= ECHO_C=' 3431' ECHO_T=' ' ;; 3432 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 3433 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 3434esac 3435 3436if expr a : '\(a\)' >/dev/null 2>&1; then 3437 as_expr=expr 3438else 3439 as_expr=false 3440fi 3441 3442rm -f conf$$ conf$$.exe conf$$.file 3443echo >conf$$.file 3444if ln -s conf$$.file conf$$ 2>/dev/null; then 3445 # We could just check for DJGPP; but this test a) works b) is more generic 3446 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3447 if test -f conf$$.exe; then 3448 # Don't use ln at all; we don't have any links 3449 as_ln_s='cp -p' 3450 else 3451 as_ln_s='ln -s' 3452 fi 3453elif ln conf$$.file conf$$ 2>/dev/null; then 3454 as_ln_s=ln 3455else 3456 as_ln_s='cp -p' 3457fi 3458rm -f conf$$ conf$$.exe conf$$.file 3459 3460if mkdir -p . 2>/dev/null; then 3461 as_mkdir_p=: 3462else 3463 test -d ./-p && rmdir ./-p 3464 as_mkdir_p=false 3465fi 3466 3467as_executable_p="test -f" 3468 3469# Sed expression to map a string onto a valid CPP name. 3470as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3471 3472# Sed expression to map a string onto a valid variable name. 3473as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3474 3475 3476# IFS 3477# We need space, tab and new line, in precisely that order. 3478as_nl=' 3479' 3480IFS=" $as_nl" 3481 3482# CDPATH. 3483$as_unset CDPATH 3484 3485exec 6>&1 3486 3487# Open the log real soon, to keep \$[0] and so on meaningful, and to 3488# report actual input values of CONFIG_FILES etc. instead of their 3489# values after options handling. Logging --version etc. is OK. 3490exec 5>>config.log 3491{ 3492 echo 3493 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3494## Running $as_me. ## 3495_ASBOX 3496} >&5 3497cat >&5 <<_CSEOF 3498 3499This file was extended by $as_me, which was 3500generated by GNU Autoconf 2.59. Invocation command line was 3501 3502 CONFIG_FILES = $CONFIG_FILES 3503 CONFIG_HEADERS = $CONFIG_HEADERS 3504 CONFIG_LINKS = $CONFIG_LINKS 3505 CONFIG_COMMANDS = $CONFIG_COMMANDS 3506 $ $0 $@ 3507 3508_CSEOF 3509echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 3510echo >&5 3511_ACEOF 3512 3513# Files that config.status was made for. 3514if test -n "$ac_config_files"; then 3515 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 3516fi 3517 3518if test -n "$ac_config_headers"; then 3519 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 3520fi 3521 3522if test -n "$ac_config_links"; then 3523 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 3524fi 3525 3526if test -n "$ac_config_commands"; then 3527 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 3528fi 3529 3530cat >>$CONFIG_STATUS <<\_ACEOF 3531 3532ac_cs_usage="\ 3533\`$as_me' instantiates files from templates according to the 3534current configuration. 3535 3536Usage: $0 [OPTIONS] [FILE]... 3537 3538 -h, --help print this help, then exit 3539 -V, --version print version number, then exit 3540 -q, --quiet do not print progress messages 3541 -d, --debug don't remove temporary files 3542 --recheck update $as_me by reconfiguring in the same conditions 3543 --file=FILE[:TEMPLATE] 3544 instantiate the configuration file FILE 3545 3546Configuration files: 3547$config_files 3548 3549Report bugs to <bug-autoconf@gnu.org>." 3550_ACEOF 3551 3552cat >>$CONFIG_STATUS <<_ACEOF 3553ac_cs_version="\\ 3554config.status 3555configured by $0, generated by GNU Autoconf 2.59, 3556 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 3557 3558Copyright (C) 2003 Free Software Foundation, Inc. 3559This config.status script is free software; the Free Software Foundation 3560gives unlimited permission to copy, distribute and modify it." 3561srcdir=$srcdir 3562_ACEOF 3563 3564cat >>$CONFIG_STATUS <<\_ACEOF 3565# If no file are specified by the user, then we need to provide default 3566# value. By we need to know if files were specified by the user. 3567ac_need_defaults=: 3568while test $# != 0 3569do 3570 case $1 in 3571 --*=*) 3572 ac_option=`expr "x$1" : 'x\([^=]*\)='` 3573 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 3574 ac_shift=: 3575 ;; 3576 -*) 3577 ac_option=$1 3578 ac_optarg=$2 3579 ac_shift=shift 3580 ;; 3581 *) # This is not an option, so the user has probably given explicit 3582 # arguments. 3583 ac_option=$1 3584 ac_need_defaults=false;; 3585 esac 3586 3587 case $ac_option in 3588 # Handling of the options. 3589_ACEOF 3590cat >>$CONFIG_STATUS <<\_ACEOF 3591 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3592 ac_cs_recheck=: ;; 3593 --version | --vers* | -V ) 3594 echo "$ac_cs_version"; exit 0 ;; 3595 --he | --h) 3596 # Conflict between --help and --header 3597 { { echo "$as_me:$LINENO: error: ambiguous option: $1 3598Try \`$0 --help' for more information." >&5 3599echo "$as_me: error: ambiguous option: $1 3600Try \`$0 --help' for more information." >&2;} 3601 { (exit 1); exit 1; }; };; 3602 --help | --hel | -h ) 3603 echo "$ac_cs_usage"; exit 0 ;; 3604 --debug | --d* | -d ) 3605 debug=: ;; 3606 --file | --fil | --fi | --f ) 3607 $ac_shift 3608 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 3609 ac_need_defaults=false;; 3610 --header | --heade | --head | --hea ) 3611 $ac_shift 3612 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 3613 ac_need_defaults=false;; 3614 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3615 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3616 ac_cs_silent=: ;; 3617 3618 # This is an error. 3619 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 3620Try \`$0 --help' for more information." >&5 3621echo "$as_me: error: unrecognized option: $1 3622Try \`$0 --help' for more information." >&2;} 3623 { (exit 1); exit 1; }; } ;; 3624 3625 *) ac_config_targets="$ac_config_targets $1" ;; 3626 3627 esac 3628 shift 3629done 3630 3631ac_configure_extra_args= 3632 3633if $ac_cs_silent; then 3634 exec 6>/dev/null 3635 ac_configure_extra_args="$ac_configure_extra_args --silent" 3636fi 3637 3638_ACEOF 3639cat >>$CONFIG_STATUS <<_ACEOF 3640if \$ac_cs_recheck; then 3641 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 3642 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3643fi 3644 3645_ACEOF 3646 3647 3648 3649 3650 3651cat >>$CONFIG_STATUS <<\_ACEOF 3652for ac_config_target in $ac_config_targets 3653do 3654 case "$ac_config_target" in 3655 # Handling of arguments. 3656 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3657 "gdb.ada/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.ada/Makefile" ;; 3658 "gdb.arch/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.arch/Makefile" ;; 3659 "gdb.asm/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.asm/Makefile" ;; 3660 "gdb.base/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.base/Makefile" ;; 3661 "gdb.cp/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.cp/Makefile" ;; 3662 "gdb.disasm/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.disasm/Makefile" ;; 3663 "gdb.dwarf2/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.dwarf2/Makefile" ;; 3664 "gdb.fortran/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.fortran/Makefile" ;; 3665 "gdb.server/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.server/Makefile" ;; 3666 "gdb.java/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.java/Makefile" ;; 3667 "gdb.mi/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.mi/Makefile" ;; 3668 "gdb.objc/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.objc/Makefile" ;; 3669 "gdb.threads/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.threads/Makefile" ;; 3670 "gdb.trace/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.trace/Makefile" ;; 3671 "gdb.xml/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdb.xml/Makefile" ;; 3672 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3673echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3674 { (exit 1); exit 1; }; };; 3675 esac 3676done 3677 3678# If the user did not use the arguments to specify the items to instantiate, 3679# then the envvar interface is used. Set only those that are not. 3680# We use the long form for the default assignment because of an extremely 3681# bizarre bug on SunOS 4.1.3. 3682if $ac_need_defaults; then 3683 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3684fi 3685 3686# Have a temporary directory for convenience. Make it in the build tree 3687# simply because there is no reason to put it here, and in addition, 3688# creating and moving files from /tmp can sometimes cause problems. 3689# Create a temporary directory, and hook for its removal unless debugging. 3690$debug || 3691{ 3692 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 3693 trap '{ (exit 1); exit 1; }' 1 2 13 15 3694} 3695 3696# Create a (secure) tmp directory for tmp files. 3697 3698{ 3699 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 3700 test -n "$tmp" && test -d "$tmp" 3701} || 3702{ 3703 tmp=./confstat$$-$RANDOM 3704 (umask 077 && mkdir $tmp) 3705} || 3706{ 3707 echo "$me: cannot create a temporary directory in ." >&2 3708 { (exit 1); exit 1; } 3709} 3710 3711_ACEOF 3712 3713cat >>$CONFIG_STATUS <<_ACEOF 3714 3715# 3716# CONFIG_FILES section. 3717# 3718 3719# No need to generate the scripts if there are no CONFIG_FILES. 3720# This happens for instance when ./config.status config.h 3721if test -n "\$CONFIG_FILES"; then 3722 # Protect against being on the right side of a sed subst in config.status. 3723 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 3724 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 3725s,@SHELL@,$SHELL,;t t 3726s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 3727s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 3728s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 3729s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 3730s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 3731s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 3732s,@exec_prefix@,$exec_prefix,;t t 3733s,@prefix@,$prefix,;t t 3734s,@program_transform_name@,$program_transform_name,;t t 3735s,@bindir@,$bindir,;t t 3736s,@sbindir@,$sbindir,;t t 3737s,@libexecdir@,$libexecdir,;t t 3738s,@datadir@,$datadir,;t t 3739s,@sysconfdir@,$sysconfdir,;t t 3740s,@sharedstatedir@,$sharedstatedir,;t t 3741s,@localstatedir@,$localstatedir,;t t 3742s,@libdir@,$libdir,;t t 3743s,@includedir@,$includedir,;t t 3744s,@oldincludedir@,$oldincludedir,;t t 3745s,@infodir@,$infodir,;t t 3746s,@mandir@,$mandir,;t t 3747s,@build_alias@,$build_alias,;t t 3748s,@host_alias@,$host_alias,;t t 3749s,@target_alias@,$target_alias,;t t 3750s,@DEFS@,$DEFS,;t t 3751s,@ECHO_C@,$ECHO_C,;t t 3752s,@ECHO_N@,$ECHO_N,;t t 3753s,@ECHO_T@,$ECHO_T,;t t 3754s,@LIBS@,$LIBS,;t t 3755s,@build@,$build,;t t 3756s,@build_cpu@,$build_cpu,;t t 3757s,@build_vendor@,$build_vendor,;t t 3758s,@build_os@,$build_os,;t t 3759s,@host@,$host,;t t 3760s,@host_cpu@,$host_cpu,;t t 3761s,@host_vendor@,$host_vendor,;t t 3762s,@host_os@,$host_os,;t t 3763s,@target@,$target,;t t 3764s,@target_cpu@,$target_cpu,;t t 3765s,@target_vendor@,$target_vendor,;t t 3766s,@target_os@,$target_os,;t t 3767s,@target_noncanonical@,$target_noncanonical,;t t 3768s,@subdirs@,$subdirs,;t t 3769s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t 3770s,@CC@,$CC,;t t 3771s,@CFLAGS@,$CFLAGS,;t t 3772s,@LDFLAGS@,$LDFLAGS,;t t 3773s,@CPPFLAGS@,$CPPFLAGS,;t t 3774s,@ac_ct_CC@,$ac_ct_CC,;t t 3775s,@EXEEXT@,$EXEEXT,;t t 3776s,@OBJEXT@,$OBJEXT,;t t 3777s,@CPP@,$CPP,;t t 3778s,@EGREP@,$EGREP,;t t 3779s,@LIBOBJS@,$LIBOBJS,;t t 3780s,@LTLIBOBJS@,$LTLIBOBJS,;t t 3781CEOF 3782 3783_ACEOF 3784 3785 cat >>$CONFIG_STATUS <<\_ACEOF 3786 # Split the substitutions into bite-sized pieces for seds with 3787 # small command number limits, like on Digital OSF/1 and HP-UX. 3788 ac_max_sed_lines=48 3789 ac_sed_frag=1 # Number of current file. 3790 ac_beg=1 # First line for current file. 3791 ac_end=$ac_max_sed_lines # Line after last line for current file. 3792 ac_more_lines=: 3793 ac_sed_cmds= 3794 while $ac_more_lines; do 3795 if test $ac_beg -gt 1; then 3796 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3797 else 3798 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3799 fi 3800 if test ! -s $tmp/subs.frag; then 3801 ac_more_lines=false 3802 else 3803 # The purpose of the label and of the branching condition is to 3804 # speed up the sed processing (if there are no `@' at all, there 3805 # is no need to browse any of the substitutions). 3806 # These are the two extra sed commands mentioned above. 3807 (echo ':t 3808 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 3809 if test -z "$ac_sed_cmds"; then 3810 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 3811 else 3812 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 3813 fi 3814 ac_sed_frag=`expr $ac_sed_frag + 1` 3815 ac_beg=$ac_end 3816 ac_end=`expr $ac_end + $ac_max_sed_lines` 3817 fi 3818 done 3819 if test -z "$ac_sed_cmds"; then 3820 ac_sed_cmds=cat 3821 fi 3822fi # test -n "$CONFIG_FILES" 3823 3824_ACEOF 3825cat >>$CONFIG_STATUS <<\_ACEOF 3826for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 3827 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3828 case $ac_file in 3829 - | *:- | *:-:* ) # input from stdin 3830 cat >$tmp/stdin 3831 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3832 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3833 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3834 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3835 * ) ac_file_in=$ac_file.in ;; 3836 esac 3837 3838 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 3839 ac_dir=`(dirname "$ac_file") 2>/dev/null || 3840$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3841 X"$ac_file" : 'X\(//\)[^/]' \| \ 3842 X"$ac_file" : 'X\(//\)$' \| \ 3843 X"$ac_file" : 'X\(/\)' \| \ 3844 . : '\(.\)' 2>/dev/null || 3845echo X"$ac_file" | 3846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3847 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3848 /^X\(\/\/\)$/{ s//\1/; q; } 3849 /^X\(\/\).*/{ s//\1/; q; } 3850 s/.*/./; q'` 3851 { if $as_mkdir_p; then 3852 mkdir -p "$ac_dir" 3853 else 3854 as_dir="$ac_dir" 3855 as_dirs= 3856 while test ! -d "$as_dir"; do 3857 as_dirs="$as_dir $as_dirs" 3858 as_dir=`(dirname "$as_dir") 2>/dev/null || 3859$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3860 X"$as_dir" : 'X\(//\)[^/]' \| \ 3861 X"$as_dir" : 'X\(//\)$' \| \ 3862 X"$as_dir" : 'X\(/\)' \| \ 3863 . : '\(.\)' 2>/dev/null || 3864echo X"$as_dir" | 3865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3866 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3867 /^X\(\/\/\)$/{ s//\1/; q; } 3868 /^X\(\/\).*/{ s//\1/; q; } 3869 s/.*/./; q'` 3870 done 3871 test ! -n "$as_dirs" || mkdir $as_dirs 3872 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 3873echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 3874 { (exit 1); exit 1; }; }; } 3875 3876 ac_builddir=. 3877 3878if test "$ac_dir" != .; then 3879 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3880 # A "../" for each directory in $ac_dir_suffix. 3881 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 3882else 3883 ac_dir_suffix= ac_top_builddir= 3884fi 3885 3886case $srcdir in 3887 .) # No --srcdir option. We are building in place. 3888 ac_srcdir=. 3889 if test -z "$ac_top_builddir"; then 3890 ac_top_srcdir=. 3891 else 3892 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 3893 fi ;; 3894 [\\/]* | ?:[\\/]* ) # Absolute path. 3895 ac_srcdir=$srcdir$ac_dir_suffix; 3896 ac_top_srcdir=$srcdir ;; 3897 *) # Relative path. 3898 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 3899 ac_top_srcdir=$ac_top_builddir$srcdir ;; 3900esac 3901 3902# Do not use `cd foo && pwd` to compute absolute paths, because 3903# the directories may not exist. 3904case `pwd` in 3905.) ac_abs_builddir="$ac_dir";; 3906*) 3907 case "$ac_dir" in 3908 .) ac_abs_builddir=`pwd`;; 3909 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 3910 *) ac_abs_builddir=`pwd`/"$ac_dir";; 3911 esac;; 3912esac 3913case $ac_abs_builddir in 3914.) ac_abs_top_builddir=${ac_top_builddir}.;; 3915*) 3916 case ${ac_top_builddir}. in 3917 .) ac_abs_top_builddir=$ac_abs_builddir;; 3918 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 3919 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 3920 esac;; 3921esac 3922case $ac_abs_builddir in 3923.) ac_abs_srcdir=$ac_srcdir;; 3924*) 3925 case $ac_srcdir in 3926 .) ac_abs_srcdir=$ac_abs_builddir;; 3927 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 3928 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 3929 esac;; 3930esac 3931case $ac_abs_builddir in 3932.) ac_abs_top_srcdir=$ac_top_srcdir;; 3933*) 3934 case $ac_top_srcdir in 3935 .) ac_abs_top_srcdir=$ac_abs_builddir;; 3936 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 3937 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 3938 esac;; 3939esac 3940 3941 3942 3943 if test x"$ac_file" != x-; then 3944 { echo "$as_me:$LINENO: creating $ac_file" >&5 3945echo "$as_me: creating $ac_file" >&6;} 3946 rm -f "$ac_file" 3947 fi 3948 # Let's still pretend it is `configure' which instantiates (i.e., don't 3949 # use $as_me), people would be surprised to read: 3950 # /* config.h. Generated by config.status. */ 3951 if test x"$ac_file" = x-; then 3952 configure_input= 3953 else 3954 configure_input="$ac_file. " 3955 fi 3956 configure_input=$configure_input"Generated from `echo $ac_file_in | 3957 sed 's,.*/,,'` by configure." 3958 3959 # First look for the input files in the build tree, otherwise in the 3960 # src tree. 3961 ac_file_inputs=`IFS=: 3962 for f in $ac_file_in; do 3963 case $f in 3964 -) echo $tmp/stdin ;; 3965 [\\/$]*) 3966 # Absolute (can't be DOS-style, as IFS=:) 3967 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3968echo "$as_me: error: cannot find input file: $f" >&2;} 3969 { (exit 1); exit 1; }; } 3970 echo "$f";; 3971 *) # Relative 3972 if test -f "$f"; then 3973 # Build tree 3974 echo "$f" 3975 elif test -f "$srcdir/$f"; then 3976 # Source tree 3977 echo "$srcdir/$f" 3978 else 3979 # /dev/null tree 3980 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3981echo "$as_me: error: cannot find input file: $f" >&2;} 3982 { (exit 1); exit 1; }; } 3983 fi;; 3984 esac 3985 done` || { (exit 1); exit 1; } 3986_ACEOF 3987cat >>$CONFIG_STATUS <<_ACEOF 3988 sed "$ac_vpsub 3989$extrasub 3990_ACEOF 3991cat >>$CONFIG_STATUS <<\_ACEOF 3992:t 3993/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3994s,@configure_input@,$configure_input,;t t 3995s,@srcdir@,$ac_srcdir,;t t 3996s,@abs_srcdir@,$ac_abs_srcdir,;t t 3997s,@top_srcdir@,$ac_top_srcdir,;t t 3998s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 3999s,@builddir@,$ac_builddir,;t t 4000s,@abs_builddir@,$ac_abs_builddir,;t t 4001s,@top_builddir@,$ac_top_builddir,;t t 4002s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 4003" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 4004 rm -f $tmp/stdin 4005 if test x"$ac_file" != x-; then 4006 mv $tmp/out $ac_file 4007 else 4008 cat $tmp/out 4009 rm -f $tmp/out 4010 fi 4011 4012done 4013_ACEOF 4014 4015cat >>$CONFIG_STATUS <<\_ACEOF 4016 4017{ (exit 0); exit 0; } 4018_ACEOF 4019chmod +x $CONFIG_STATUS 4020ac_clean_files=$ac_clean_files_save 4021 4022 4023# configure is writing to config.log, and then calls config.status. 4024# config.status does its own redirection, appending to config.log. 4025# Unfortunately, on DOS this fails, as config.log is still kept open 4026# by configure, so config.status won't be able to write to it; its 4027# output is simply discarded. So we exec the FD to /dev/null, 4028# effectively closing config.log, so it can be properly (re)opened and 4029# appended to by config.status. When coming back to configure, we 4030# need to make the FD available again. 4031if test "$no_create" != yes; then 4032 ac_cs_success=: 4033 ac_config_status_args= 4034 test "$silent" = yes && 4035 ac_config_status_args="$ac_config_status_args --quiet" 4036 exec 5>/dev/null 4037 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4038 exec 5>>config.log 4039 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4040 # would make configure fail if this is the last instruction. 4041 $ac_cs_success || { (exit 1); exit 1; } 4042fi 4043 4044# 4045# CONFIG_SUBDIRS section. 4046# 4047if test "$no_recursion" != yes; then 4048 4049 # Remove --cache-file and --srcdir arguments so they do not pile up. 4050 ac_sub_configure_args= 4051 ac_prev= 4052 for ac_arg in $ac_configure_args; do 4053 if test -n "$ac_prev"; then 4054 ac_prev= 4055 continue 4056 fi 4057 case $ac_arg in 4058 -cache-file | --cache-file | --cache-fil | --cache-fi \ 4059 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 4060 ac_prev=cache_file ;; 4061 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 4062 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 4063 | --c=*) 4064 ;; 4065 --config-cache | -C) 4066 ;; 4067 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 4068 ac_prev=srcdir ;; 4069 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 4070 ;; 4071 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 4072 ac_prev=prefix ;; 4073 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 4074 ;; 4075 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 4076 esac 4077 done 4078 4079 # Always prepend --prefix to ensure using the same prefix 4080 # in subdir configurations. 4081 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 4082 4083 ac_popdir=`pwd` 4084 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 4085 4086 # Do not complain, so a configure script can configure whichever 4087 # parts of a large source tree are present. 4088 test -d $srcdir/$ac_dir || continue 4089 4090 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 4091echo "$as_me: configuring in $ac_dir" >&6;} 4092 { if $as_mkdir_p; then 4093 mkdir -p "$ac_dir" 4094 else 4095 as_dir="$ac_dir" 4096 as_dirs= 4097 while test ! -d "$as_dir"; do 4098 as_dirs="$as_dir $as_dirs" 4099 as_dir=`(dirname "$as_dir") 2>/dev/null || 4100$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4101 X"$as_dir" : 'X\(//\)[^/]' \| \ 4102 X"$as_dir" : 'X\(//\)$' \| \ 4103 X"$as_dir" : 'X\(/\)' \| \ 4104 . : '\(.\)' 2>/dev/null || 4105echo X"$as_dir" | 4106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4107 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4108 /^X\(\/\/\)$/{ s//\1/; q; } 4109 /^X\(\/\).*/{ s//\1/; q; } 4110 s/.*/./; q'` 4111 done 4112 test ! -n "$as_dirs" || mkdir $as_dirs 4113 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4114echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4115 { (exit 1); exit 1; }; }; } 4116 4117 ac_builddir=. 4118 4119if test "$ac_dir" != .; then 4120 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4121 # A "../" for each directory in $ac_dir_suffix. 4122 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4123else 4124 ac_dir_suffix= ac_top_builddir= 4125fi 4126 4127case $srcdir in 4128 .) # No --srcdir option. We are building in place. 4129 ac_srcdir=. 4130 if test -z "$ac_top_builddir"; then 4131 ac_top_srcdir=. 4132 else 4133 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4134 fi ;; 4135 [\\/]* | ?:[\\/]* ) # Absolute path. 4136 ac_srcdir=$srcdir$ac_dir_suffix; 4137 ac_top_srcdir=$srcdir ;; 4138 *) # Relative path. 4139 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4140 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4141esac 4142 4143# Do not use `cd foo && pwd` to compute absolute paths, because 4144# the directories may not exist. 4145case `pwd` in 4146.) ac_abs_builddir="$ac_dir";; 4147*) 4148 case "$ac_dir" in 4149 .) ac_abs_builddir=`pwd`;; 4150 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 4151 *) ac_abs_builddir=`pwd`/"$ac_dir";; 4152 esac;; 4153esac 4154case $ac_abs_builddir in 4155.) ac_abs_top_builddir=${ac_top_builddir}.;; 4156*) 4157 case ${ac_top_builddir}. in 4158 .) ac_abs_top_builddir=$ac_abs_builddir;; 4159 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 4160 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 4161 esac;; 4162esac 4163case $ac_abs_builddir in 4164.) ac_abs_srcdir=$ac_srcdir;; 4165*) 4166 case $ac_srcdir in 4167 .) ac_abs_srcdir=$ac_abs_builddir;; 4168 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 4169 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 4170 esac;; 4171esac 4172case $ac_abs_builddir in 4173.) ac_abs_top_srcdir=$ac_top_srcdir;; 4174*) 4175 case $ac_top_srcdir in 4176 .) ac_abs_top_srcdir=$ac_abs_builddir;; 4177 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 4178 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 4179 esac;; 4180esac 4181 4182 4183 cd $ac_dir 4184 4185 # Check for guested configure; otherwise get Cygnus style configure. 4186 if test -f $ac_srcdir/configure.gnu; then 4187 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 4188 elif test -f $ac_srcdir/configure; then 4189 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 4190 elif test -f $ac_srcdir/configure.in; then 4191 ac_sub_configure=$ac_configure 4192 else 4193 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 4194echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 4195 ac_sub_configure= 4196 fi 4197 4198 # The recursion is here. 4199 if test -n "$ac_sub_configure"; then 4200 # Make the cache file name correct relative to the subdirectory. 4201 case $cache_file in 4202 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 4203 *) # Relative path. 4204 ac_sub_cache_file=$ac_top_builddir$cache_file ;; 4205 esac 4206 4207 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 4208echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 4209 # The eval makes quoting arguments work. 4210 eval $ac_sub_configure $ac_sub_configure_args \ 4211 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || 4212 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 4213echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 4214 { (exit 1); exit 1; }; } 4215 fi 4216 4217 cd $ac_popdir 4218 done 4219fi 4220 4221