1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199test \$(( 1 + 1 )) = 2 || exit 1" 200 if (eval "$as_required") 2>/dev/null; then : 201 as_have_required=yes 202else 203 as_have_required=no 204fi 205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 206 207else 208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 209as_found=false 210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 211do 212 IFS=$as_save_IFS 213 test -z "$as_dir" && as_dir=. 214 as_found=: 215 case $as_dir in #( 216 /*) 217 for as_base in sh bash ksh sh5; do 218 # Try only shells that exist, to save several forks. 219 as_shell=$as_dir/$as_base 220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 CONFIG_SHELL=$as_shell as_have_required=yes 223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 break 2 225fi 226fi 227 done;; 228 esac 229 as_found=false 230done 231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 233 CONFIG_SHELL=$SHELL as_have_required=yes 234fi; } 235IFS=$as_save_IFS 236 237 238 if test "x$CONFIG_SHELL" != x; then : 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241# neutralization value for shells without unset; and this also 242# works around shells that cannot unset nonexistent variables. 243# Preserve -v and -x to the replacement shell. 244BASH_ENV=/dev/null 245ENV=/dev/null 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252esac 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254# Admittedly, this is quite paranoid, since all the known shells bail 255# out after a failed `exec'. 256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257exit 255 258fi 259 260 if test x$as_have_required = xno; then : 261 $as_echo "$0: This script requires a shell more modern than all" 262 $as_echo "$0: the shells that I found on your system." 263 if test x${ZSH_VERSION+set} = xset ; then 264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 else 267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 268$0: including any error possibly output before this 269$0: message. Then install a modern shell, or manually run 270$0: the script under such a shell if you do have one." 271 fi 272 exit 1 273fi 274fi 275fi 276SHELL=${CONFIG_SHELL-/bin/sh} 277export SHELL 278# Unset more variables known to interfere with behavior of common tools. 279CLICOLOR_FORCE= GREP_OPTIONS= 280unset CLICOLOR_FORCE GREP_OPTIONS 281 282## --------------------- ## 283## M4sh Shell Functions. ## 284## --------------------- ## 285# as_fn_unset VAR 286# --------------- 287# Portably unset VAR. 288as_fn_unset () 289{ 290 { eval $1=; unset $1;} 291} 292as_unset=as_fn_unset 293 294# as_fn_set_status STATUS 295# ----------------------- 296# Set $? to STATUS, without forking. 297as_fn_set_status () 298{ 299 return $1 300} # as_fn_set_status 301 302# as_fn_exit STATUS 303# ----------------- 304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 305as_fn_exit () 306{ 307 set +e 308 as_fn_set_status $1 309 exit $1 310} # as_fn_exit 311 312# as_fn_mkdir_p 313# ------------- 314# Create "$as_dir" as a directory, including parents if necessary. 315as_fn_mkdir_p () 316{ 317 318 case $as_dir in #( 319 -*) as_dir=./$as_dir;; 320 esac 321 test -d "$as_dir" || eval $as_mkdir_p || { 322 as_dirs= 323 while :; do 324 case $as_dir in #( 325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 326 *) as_qdir=$as_dir;; 327 esac 328 as_dirs="'$as_qdir' $as_dirs" 329 as_dir=`$as_dirname -- "$as_dir" || 330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 331 X"$as_dir" : 'X\(//\)[^/]' \| \ 332 X"$as_dir" : 'X\(//\)$' \| \ 333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 334$as_echo X"$as_dir" | 335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 336 s//\1/ 337 q 338 } 339 /^X\(\/\/\)[^/].*/{ 340 s//\1/ 341 q 342 } 343 /^X\(\/\/\)$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\).*/{ 348 s//\1/ 349 q 350 } 351 s/.*/./; q'` 352 test -d "$as_dir" && break 353 done 354 test -z "$as_dirs" || eval "mkdir $as_dirs" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 356 357 358} # as_fn_mkdir_p 359 360# as_fn_executable_p FILE 361# ----------------------- 362# Test if FILE is an executable regular file. 363as_fn_executable_p () 364{ 365 test -f "$1" && test -x "$1" 366} # as_fn_executable_p 367# as_fn_append VAR VALUE 368# ---------------------- 369# Append the text in VALUE to the end of the definition contained in VAR. Take 370# advantage of any shell optimizations that allow amortized linear growth over 371# repeated appends, instead of the typical quadratic growth present in naive 372# implementations. 373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 374 eval 'as_fn_append () 375 { 376 eval $1+=\$2 377 }' 378else 379 as_fn_append () 380 { 381 eval $1=\$$1\$2 382 } 383fi # as_fn_append 384 385# as_fn_arith ARG... 386# ------------------ 387# Perform arithmetic evaluation on the ARGs, and store the result in the 388# global $as_val. Take advantage of shells that can avoid forks. The arguments 389# must be portable across $(()) and expr. 390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 391 eval 'as_fn_arith () 392 { 393 as_val=$(( $* )) 394 }' 395else 396 as_fn_arith () 397 { 398 as_val=`expr "$@" || test $? -eq 1` 399 } 400fi # as_fn_arith 401 402 403# as_fn_error STATUS ERROR [LINENO LOG_FD] 404# ---------------------------------------- 405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 407# script with STATUS, using 1 if that was 0. 408as_fn_error () 409{ 410 as_status=$1; test $as_status -eq 0 && as_status=1 411 if test "$4"; then 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 414 fi 415 $as_echo "$as_me: error: $2" >&2 416 as_fn_exit $as_status 417} # as_fn_error 418 419if expr a : '\(a\)' >/dev/null 2>&1 && 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then 421 as_expr=expr 422else 423 as_expr=false 424fi 425 426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 427 as_basename=basename 428else 429 as_basename=false 430fi 431 432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 433 as_dirname=dirname 434else 435 as_dirname=false 436fi 437 438as_me=`$as_basename -- "$0" || 439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 440 X"$0" : 'X\(//\)$' \| \ 441 X"$0" : 'X\(/\)' \| . 2>/dev/null || 442$as_echo X/"$0" | 443 sed '/^.*\/\([^/][^/]*\)\/*$/{ 444 s//\1/ 445 q 446 } 447 /^X\/\(\/\/\)$/{ 448 s//\1/ 449 q 450 } 451 /^X\/\(\/\).*/{ 452 s//\1/ 453 q 454 } 455 s/.*/./; q'` 456 457# Avoid depending upon Character Ranges. 458as_cr_letters='abcdefghijklmnopqrstuvwxyz' 459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 460as_cr_Letters=$as_cr_letters$as_cr_LETTERS 461as_cr_digits='0123456789' 462as_cr_alnum=$as_cr_Letters$as_cr_digits 463 464 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 470 sed -n ' 471 p 472 /[$]LINENO/= 473 ' <$as_myself | 474 sed ' 475 s/[$]LINENO.*/&-/ 476 t lineno 477 b 478 :lineno 479 N 480 :loop 481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 482 t loop 483 s/-\n.*// 484 ' >$as_me.lineno && 485 chmod +x "$as_me.lineno" || 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 492 # Don't try to exec as it changes $[0], causing all sort of problems 493 # (the dirname of $[0] is not the place where we might find the 494 # original and so on. Autoconf is especially sensitive to this). 495 . "./$as_me.lineno" 496 # Exit status is that of the last command. 497 exit 498} 499 500ECHO_C= ECHO_N= ECHO_T= 501case `echo -n x` in #((((( 502-n*) 503 case `echo 'xy\c'` in 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 505 xy) ECHO_C='\c';; 506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 507 ECHO_T=' ';; 508 esac;; 509*) 510 ECHO_N='-n';; 511esac 512 513rm -f conf$$ conf$$.exe conf$$.file 514if test -d conf$$.dir; then 515 rm -f conf$$.dir/conf$$.file 516else 517 rm -f conf$$.dir 518 mkdir conf$$.dir 2>/dev/null 519fi 520if (echo >conf$$.file) 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then 522 as_ln_s='ln -s' 523 # ... but there are two gotchas: 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 526 # In both cases, we have to default to `cp -pR'. 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 528 as_ln_s='cp -pR' 529 elif ln conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s=ln 531 else 532 as_ln_s='cp -pR' 533 fi 534else 535 as_ln_s='cp -pR' 536fi 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 538rmdir conf$$.dir 2>/dev/null 539 540if mkdir -p . 2>/dev/null; then 541 as_mkdir_p='mkdir -p "$as_dir"' 542else 543 test -d ./-p && rmdir ./-p 544 as_mkdir_p=false 545fi 546 547as_test_x='test -x' 548as_executable_p=as_fn_executable_p 549 550# Sed expression to map a string onto a valid CPP name. 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 552 553# Sed expression to map a string onto a valid variable name. 554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 555 556 557test -n "$DJDIR" || exec 7<&0 </dev/null 558exec 6>&1 559 560# Name of the host. 561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 562# so uname gets run too. 563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 564 565# 566# Initializations. 567# 568ac_default_prefix=/usr/local 569ac_clean_files= 570ac_config_libobj_dir=. 571LIBOBJS= 572cross_compiling=no 573subdirs= 574MFLAGS= 575MAKEFLAGS= 576 577# Identity of this package. 578PACKAGE_NAME= 579PACKAGE_TARNAME= 580PACKAGE_VERSION= 581PACKAGE_STRING= 582PACKAGE_BUGREPORT= 583PACKAGE_URL= 584 585ac_unique_file="gdb.base" 586enable_option_checking=no 587# Factoring default headers for most tests. 588ac_includes_default="\ 589#include <stdio.h> 590#ifdef HAVE_SYS_TYPES_H 591# include <sys/types.h> 592#endif 593#ifdef HAVE_SYS_STAT_H 594# include <sys/stat.h> 595#endif 596#ifdef STDC_HEADERS 597# include <stdlib.h> 598# include <stddef.h> 599#else 600# ifdef HAVE_STDLIB_H 601# include <stdlib.h> 602# endif 603#endif 604#ifdef HAVE_STRING_H 605# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 606# include <memory.h> 607# endif 608# include <string.h> 609#endif 610#ifdef HAVE_STRINGS_H 611# include <strings.h> 612#endif 613#ifdef HAVE_INTTYPES_H 614# include <inttypes.h> 615#endif 616#ifdef HAVE_STDINT_H 617# include <stdint.h> 618#endif 619#ifdef HAVE_UNISTD_H 620# include <unistd.h> 621#endif" 622 623ac_subst_vars='LTLIBOBJS 624LIBOBJS 625NM_TRANSFORM_NAME 626GAS_TRANSFORM_NAME 627READELF_TRANSFORM_NAME 628STRIP_TRANSFORM_NAME 629EXTRA_RULES 630EGREP 631GREP 632CPP 633OBJEXT 634EXEEXT 635ac_ct_CC 636CPPFLAGS 637LDFLAGS 638CFLAGS 639CC 640RPATH_ENVVAR 641subdirs 642target_noncanonical 643target_os 644target_vendor 645target_cpu 646target 647host_os 648host_vendor 649host_cpu 650host 651build_os 652build_vendor 653build_cpu 654build 655target_alias 656host_alias 657build_alias 658LIBS 659ECHO_T 660ECHO_N 661ECHO_C 662DEFS 663mandir 664localedir 665libdir 666psdir 667pdfdir 668dvidir 669htmldir 670infodir 671docdir 672oldincludedir 673includedir 674localstatedir 675sharedstatedir 676sysconfdir 677datadir 678datarootdir 679libexecdir 680sbindir 681bindir 682program_transform_name 683prefix 684exec_prefix 685PACKAGE_URL 686PACKAGE_BUGREPORT 687PACKAGE_STRING 688PACKAGE_VERSION 689PACKAGE_TARNAME 690PACKAGE_NAME 691PATH_SEPARATOR 692SHELL' 693ac_subst_files='' 694ac_user_opts=' 695enable_option_checking 696enable_gdbtk 697enable_shared 698' 699 ac_precious_vars='build_alias 700host_alias 701target_alias 702CC 703CFLAGS 704LDFLAGS 705LIBS 706CPPFLAGS 707CPP' 708ac_subdirs_all='gdb.gdbtk' 709 710# Initialize some variables set by options. 711ac_init_help= 712ac_init_version=false 713ac_unrecognized_opts= 714ac_unrecognized_sep= 715# The variables have the same names as the options, with 716# dashes changed to underlines. 717cache_file=/dev/null 718exec_prefix=NONE 719no_create= 720no_recursion= 721prefix=NONE 722program_prefix=NONE 723program_suffix=NONE 724program_transform_name=s,x,x, 725silent= 726site= 727srcdir= 728verbose= 729x_includes=NONE 730x_libraries=NONE 731 732# Installation directory options. 733# These are left unexpanded so users can "make install exec_prefix=/foo" 734# and all the variables that are supposed to be based on exec_prefix 735# by default will actually change. 736# Use braces instead of parens because sh, perl, etc. also accept them. 737# (The list follows the same order as the GNU Coding Standards.) 738bindir='${exec_prefix}/bin' 739sbindir='${exec_prefix}/sbin' 740libexecdir='${exec_prefix}/libexec' 741datarootdir='${prefix}/share' 742datadir='${datarootdir}' 743sysconfdir='${prefix}/etc' 744sharedstatedir='${prefix}/com' 745localstatedir='${prefix}/var' 746includedir='${prefix}/include' 747oldincludedir='/usr/include' 748docdir='${datarootdir}/doc/${PACKAGE}' 749infodir='${datarootdir}/info' 750htmldir='${docdir}' 751dvidir='${docdir}' 752pdfdir='${docdir}' 753psdir='${docdir}' 754libdir='${exec_prefix}/lib' 755localedir='${datarootdir}/locale' 756mandir='${datarootdir}/man' 757 758ac_prev= 759ac_dashdash= 760for ac_option 761do 762 # If the previous option needs an argument, assign it. 763 if test -n "$ac_prev"; then 764 eval $ac_prev=\$ac_option 765 ac_prev= 766 continue 767 fi 768 769 case $ac_option in 770 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 771 *=) ac_optarg= ;; 772 *) ac_optarg=yes ;; 773 esac 774 775 # Accept the important Cygnus configure options, so we can diagnose typos. 776 777 case $ac_dashdash$ac_option in 778 --) 779 ac_dashdash=yes ;; 780 781 -bindir | --bindir | --bindi | --bind | --bin | --bi) 782 ac_prev=bindir ;; 783 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 784 bindir=$ac_optarg ;; 785 786 -build | --build | --buil | --bui | --bu) 787 ac_prev=build_alias ;; 788 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 789 build_alias=$ac_optarg ;; 790 791 -cache-file | --cache-file | --cache-fil | --cache-fi \ 792 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 793 ac_prev=cache_file ;; 794 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 795 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 796 cache_file=$ac_optarg ;; 797 798 --config-cache | -C) 799 cache_file=config.cache ;; 800 801 -datadir | --datadir | --datadi | --datad) 802 ac_prev=datadir ;; 803 -datadir=* | --datadir=* | --datadi=* | --datad=*) 804 datadir=$ac_optarg ;; 805 806 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 807 | --dataroo | --dataro | --datar) 808 ac_prev=datarootdir ;; 809 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 810 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 811 datarootdir=$ac_optarg ;; 812 813 -disable-* | --disable-*) 814 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 815 # Reject names that are not valid shell variable names. 816 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 817 as_fn_error $? "invalid feature name: $ac_useropt" 818 ac_useropt_orig=$ac_useropt 819 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 820 case $ac_user_opts in 821 *" 822"enable_$ac_useropt" 823"*) ;; 824 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 825 ac_unrecognized_sep=', ';; 826 esac 827 eval enable_$ac_useropt=no ;; 828 829 -docdir | --docdir | --docdi | --doc | --do) 830 ac_prev=docdir ;; 831 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 832 docdir=$ac_optarg ;; 833 834 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 835 ac_prev=dvidir ;; 836 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 837 dvidir=$ac_optarg ;; 838 839 -enable-* | --enable-*) 840 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 841 # Reject names that are not valid shell variable names. 842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 843 as_fn_error $? "invalid feature name: $ac_useropt" 844 ac_useropt_orig=$ac_useropt 845 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 846 case $ac_user_opts in 847 *" 848"enable_$ac_useropt" 849"*) ;; 850 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 851 ac_unrecognized_sep=', ';; 852 esac 853 eval enable_$ac_useropt=\$ac_optarg ;; 854 855 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 856 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 857 | --exec | --exe | --ex) 858 ac_prev=exec_prefix ;; 859 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 860 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 861 | --exec=* | --exe=* | --ex=*) 862 exec_prefix=$ac_optarg ;; 863 864 -gas | --gas | --ga | --g) 865 # Obsolete; use --with-gas. 866 with_gas=yes ;; 867 868 -help | --help | --hel | --he | -h) 869 ac_init_help=long ;; 870 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 871 ac_init_help=recursive ;; 872 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 873 ac_init_help=short ;; 874 875 -host | --host | --hos | --ho) 876 ac_prev=host_alias ;; 877 -host=* | --host=* | --hos=* | --ho=*) 878 host_alias=$ac_optarg ;; 879 880 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 881 ac_prev=htmldir ;; 882 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 883 | --ht=*) 884 htmldir=$ac_optarg ;; 885 886 -includedir | --includedir | --includedi | --included | --include \ 887 | --includ | --inclu | --incl | --inc) 888 ac_prev=includedir ;; 889 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 890 | --includ=* | --inclu=* | --incl=* | --inc=*) 891 includedir=$ac_optarg ;; 892 893 -infodir | --infodir | --infodi | --infod | --info | --inf) 894 ac_prev=infodir ;; 895 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 896 infodir=$ac_optarg ;; 897 898 -libdir | --libdir | --libdi | --libd) 899 ac_prev=libdir ;; 900 -libdir=* | --libdir=* | --libdi=* | --libd=*) 901 libdir=$ac_optarg ;; 902 903 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 904 | --libexe | --libex | --libe) 905 ac_prev=libexecdir ;; 906 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 907 | --libexe=* | --libex=* | --libe=*) 908 libexecdir=$ac_optarg ;; 909 910 -localedir | --localedir | --localedi | --localed | --locale) 911 ac_prev=localedir ;; 912 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 913 localedir=$ac_optarg ;; 914 915 -localstatedir | --localstatedir | --localstatedi | --localstated \ 916 | --localstate | --localstat | --localsta | --localst | --locals) 917 ac_prev=localstatedir ;; 918 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 919 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 920 localstatedir=$ac_optarg ;; 921 922 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 923 ac_prev=mandir ;; 924 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 925 mandir=$ac_optarg ;; 926 927 -nfp | --nfp | --nf) 928 # Obsolete; use --without-fp. 929 with_fp=no ;; 930 931 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 932 | --no-cr | --no-c | -n) 933 no_create=yes ;; 934 935 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 936 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 937 no_recursion=yes ;; 938 939 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 940 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 941 | --oldin | --oldi | --old | --ol | --o) 942 ac_prev=oldincludedir ;; 943 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 944 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 945 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 946 oldincludedir=$ac_optarg ;; 947 948 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 949 ac_prev=prefix ;; 950 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 951 prefix=$ac_optarg ;; 952 953 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 954 | --program-pre | --program-pr | --program-p) 955 ac_prev=program_prefix ;; 956 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 957 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 958 program_prefix=$ac_optarg ;; 959 960 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 961 | --program-suf | --program-su | --program-s) 962 ac_prev=program_suffix ;; 963 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 964 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 965 program_suffix=$ac_optarg ;; 966 967 -program-transform-name | --program-transform-name \ 968 | --program-transform-nam | --program-transform-na \ 969 | --program-transform-n | --program-transform- \ 970 | --program-transform | --program-transfor \ 971 | --program-transfo | --program-transf \ 972 | --program-trans | --program-tran \ 973 | --progr-tra | --program-tr | --program-t) 974 ac_prev=program_transform_name ;; 975 -program-transform-name=* | --program-transform-name=* \ 976 | --program-transform-nam=* | --program-transform-na=* \ 977 | --program-transform-n=* | --program-transform-=* \ 978 | --program-transform=* | --program-transfor=* \ 979 | --program-transfo=* | --program-transf=* \ 980 | --program-trans=* | --program-tran=* \ 981 | --progr-tra=* | --program-tr=* | --program-t=*) 982 program_transform_name=$ac_optarg ;; 983 984 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 985 ac_prev=pdfdir ;; 986 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 987 pdfdir=$ac_optarg ;; 988 989 -psdir | --psdir | --psdi | --psd | --ps) 990 ac_prev=psdir ;; 991 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 992 psdir=$ac_optarg ;; 993 994 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 995 | -silent | --silent | --silen | --sile | --sil) 996 silent=yes ;; 997 998 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 999 ac_prev=sbindir ;; 1000 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1001 | --sbi=* | --sb=*) 1002 sbindir=$ac_optarg ;; 1003 1004 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1005 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1006 | --sharedst | --shareds | --shared | --share | --shar \ 1007 | --sha | --sh) 1008 ac_prev=sharedstatedir ;; 1009 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1010 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1011 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1012 | --sha=* | --sh=*) 1013 sharedstatedir=$ac_optarg ;; 1014 1015 -site | --site | --sit) 1016 ac_prev=site ;; 1017 -site=* | --site=* | --sit=*) 1018 site=$ac_optarg ;; 1019 1020 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1021 ac_prev=srcdir ;; 1022 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1023 srcdir=$ac_optarg ;; 1024 1025 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1026 | --syscon | --sysco | --sysc | --sys | --sy) 1027 ac_prev=sysconfdir ;; 1028 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1029 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1030 sysconfdir=$ac_optarg ;; 1031 1032 -target | --target | --targe | --targ | --tar | --ta | --t) 1033 ac_prev=target_alias ;; 1034 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1035 target_alias=$ac_optarg ;; 1036 1037 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1038 verbose=yes ;; 1039 1040 -version | --version | --versio | --versi | --vers | -V) 1041 ac_init_version=: ;; 1042 1043 -with-* | --with-*) 1044 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1045 # Reject names that are not valid shell variable names. 1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1047 as_fn_error $? "invalid package name: $ac_useropt" 1048 ac_useropt_orig=$ac_useropt 1049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1050 case $ac_user_opts in 1051 *" 1052"with_$ac_useropt" 1053"*) ;; 1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1055 ac_unrecognized_sep=', ';; 1056 esac 1057 eval with_$ac_useropt=\$ac_optarg ;; 1058 1059 -without-* | --without-*) 1060 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1061 # Reject names that are not valid shell variable names. 1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1063 as_fn_error $? "invalid package name: $ac_useropt" 1064 ac_useropt_orig=$ac_useropt 1065 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1066 case $ac_user_opts in 1067 *" 1068"with_$ac_useropt" 1069"*) ;; 1070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1071 ac_unrecognized_sep=', ';; 1072 esac 1073 eval with_$ac_useropt=no ;; 1074 1075 --x) 1076 # Obsolete; use --with-x. 1077 with_x=yes ;; 1078 1079 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1080 | --x-incl | --x-inc | --x-in | --x-i) 1081 ac_prev=x_includes ;; 1082 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1083 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1084 x_includes=$ac_optarg ;; 1085 1086 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1087 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1088 ac_prev=x_libraries ;; 1089 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1090 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1091 x_libraries=$ac_optarg ;; 1092 1093 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1094Try \`$0 --help' for more information" 1095 ;; 1096 1097 *=*) 1098 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1099 # Reject names that are not valid shell variable names. 1100 case $ac_envvar in #( 1101 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1102 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1103 esac 1104 eval $ac_envvar=\$ac_optarg 1105 export $ac_envvar ;; 1106 1107 *) 1108 # FIXME: should be removed in autoconf 3.0. 1109 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1110 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1111 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1112 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1113 ;; 1114 1115 esac 1116done 1117 1118if test -n "$ac_prev"; then 1119 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1120 as_fn_error $? "missing argument to $ac_option" 1121fi 1122 1123if test -n "$ac_unrecognized_opts"; then 1124 case $enable_option_checking in 1125 no) ;; 1126 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1127 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1128 esac 1129fi 1130 1131# Check all directory arguments for consistency. 1132for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1133 datadir sysconfdir sharedstatedir localstatedir includedir \ 1134 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1135 libdir localedir mandir 1136do 1137 eval ac_val=\$$ac_var 1138 # Remove trailing slashes. 1139 case $ac_val in 1140 */ ) 1141 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1142 eval $ac_var=\$ac_val;; 1143 esac 1144 # Be sure to have absolute directory names. 1145 case $ac_val in 1146 [\\/$]* | ?:[\\/]* ) continue;; 1147 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1148 esac 1149 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1150done 1151 1152# There might be people who depend on the old broken behavior: `$host' 1153# used to hold the argument of --host etc. 1154# FIXME: To remove some day. 1155build=$build_alias 1156host=$host_alias 1157target=$target_alias 1158 1159# FIXME: To remove some day. 1160if test "x$host_alias" != x; then 1161 if test "x$build_alias" = x; then 1162 cross_compiling=maybe 1163 elif test "x$build_alias" != "x$host_alias"; then 1164 cross_compiling=yes 1165 fi 1166fi 1167 1168ac_tool_prefix= 1169test -n "$host_alias" && ac_tool_prefix=$host_alias- 1170 1171test "$silent" = yes && exec 6>/dev/null 1172 1173 1174ac_pwd=`pwd` && test -n "$ac_pwd" && 1175ac_ls_di=`ls -di .` && 1176ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1177 as_fn_error $? "working directory cannot be determined" 1178test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1179 as_fn_error $? "pwd does not report name of working directory" 1180 1181 1182# Find the source files, if location was not specified. 1183if test -z "$srcdir"; then 1184 ac_srcdir_defaulted=yes 1185 # Try the directory containing this script, then the parent directory. 1186 ac_confdir=`$as_dirname -- "$as_myself" || 1187$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1188 X"$as_myself" : 'X\(//\)[^/]' \| \ 1189 X"$as_myself" : 'X\(//\)$' \| \ 1190 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1191$as_echo X"$as_myself" | 1192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1193 s//\1/ 1194 q 1195 } 1196 /^X\(\/\/\)[^/].*/{ 1197 s//\1/ 1198 q 1199 } 1200 /^X\(\/\/\)$/{ 1201 s//\1/ 1202 q 1203 } 1204 /^X\(\/\).*/{ 1205 s//\1/ 1206 q 1207 } 1208 s/.*/./; q'` 1209 srcdir=$ac_confdir 1210 if test ! -r "$srcdir/$ac_unique_file"; then 1211 srcdir=.. 1212 fi 1213else 1214 ac_srcdir_defaulted=no 1215fi 1216if test ! -r "$srcdir/$ac_unique_file"; then 1217 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1218 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1219fi 1220ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1221ac_abs_confdir=`( 1222 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1223 pwd)` 1224# When building in place, set srcdir=. 1225if test "$ac_abs_confdir" = "$ac_pwd"; then 1226 srcdir=. 1227fi 1228# Remove unnecessary trailing slashes from srcdir. 1229# Double slashes in file names in object file debugging info 1230# mess up M-x gdb in Emacs. 1231case $srcdir in 1232*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1233esac 1234for ac_var in $ac_precious_vars; do 1235 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1236 eval ac_env_${ac_var}_value=\$${ac_var} 1237 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1238 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1239done 1240 1241# 1242# Report the --help message. 1243# 1244if test "$ac_init_help" = "long"; then 1245 # Omit some internal or obsolete options to make the list less imposing. 1246 # This message is too long to be a string in the A/UX 3.1 sh. 1247 cat <<_ACEOF 1248\`configure' configures this package to adapt to many kinds of systems. 1249 1250Usage: $0 [OPTION]... [VAR=VALUE]... 1251 1252To assign environment variables (e.g., CC, CFLAGS...), specify them as 1253VAR=VALUE. See below for descriptions of some of the useful variables. 1254 1255Defaults for the options are specified in brackets. 1256 1257Configuration: 1258 -h, --help display this help and exit 1259 --help=short display options specific to this package 1260 --help=recursive display the short help of all the included packages 1261 -V, --version display version information and exit 1262 -q, --quiet, --silent do not print \`checking ...' messages 1263 --cache-file=FILE cache test results in FILE [disabled] 1264 -C, --config-cache alias for \`--cache-file=config.cache' 1265 -n, --no-create do not create output files 1266 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1267 1268Installation directories: 1269 --prefix=PREFIX install architecture-independent files in PREFIX 1270 [$ac_default_prefix] 1271 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1272 [PREFIX] 1273 1274By default, \`make install' will install all the files in 1275\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1276an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1277for instance \`--prefix=\$HOME'. 1278 1279For better control, use the options below. 1280 1281Fine tuning of the installation directories: 1282 --bindir=DIR user executables [EPREFIX/bin] 1283 --sbindir=DIR system admin executables [EPREFIX/sbin] 1284 --libexecdir=DIR program executables [EPREFIX/libexec] 1285 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1286 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1287 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1288 --libdir=DIR object code libraries [EPREFIX/lib] 1289 --includedir=DIR C header files [PREFIX/include] 1290 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1291 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1292 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1293 --infodir=DIR info documentation [DATAROOTDIR/info] 1294 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1295 --mandir=DIR man documentation [DATAROOTDIR/man] 1296 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1297 --htmldir=DIR html documentation [DOCDIR] 1298 --dvidir=DIR dvi documentation [DOCDIR] 1299 --pdfdir=DIR pdf documentation [DOCDIR] 1300 --psdir=DIR ps documentation [DOCDIR] 1301_ACEOF 1302 1303 cat <<\_ACEOF 1304 1305Program names: 1306 --program-prefix=PREFIX prepend PREFIX to installed program names 1307 --program-suffix=SUFFIX append SUFFIX to installed program names 1308 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1309 1310System types: 1311 --build=BUILD configure for building on BUILD [guessed] 1312 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1313 --target=TARGET configure for building compilers for TARGET [HOST] 1314_ACEOF 1315fi 1316 1317if test -n "$ac_init_help"; then 1318 1319 cat <<\_ACEOF 1320 1321Optional Features: 1322 --disable-option-checking ignore unrecognized --enable/--with options 1323 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1324 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1325 --enable-gtk enable gdbtk graphical user interface (GUI) 1326 --enable-shared build shared libraries deault=yes 1327 1328Some influential environment variables: 1329 CC C compiler command 1330 CFLAGS C compiler flags 1331 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1332 nonstandard directory <lib dir> 1333 LIBS libraries to pass to the linker, e.g. -l<library> 1334 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1335 you have headers in a nonstandard directory <include dir> 1336 CPP C preprocessor 1337 1338Use these variables to override the choices made by `configure' or to help 1339it to find libraries and programs with nonstandard names/locations. 1340 1341Report bugs to the package provider. 1342_ACEOF 1343ac_status=$? 1344fi 1345 1346if test "$ac_init_help" = "recursive"; then 1347 # If there are subdirs, report their specific --help. 1348 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1349 test -d "$ac_dir" || 1350 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1351 continue 1352 ac_builddir=. 1353 1354case "$ac_dir" in 1355.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1356*) 1357 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1358 # A ".." for each directory in $ac_dir_suffix. 1359 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1360 case $ac_top_builddir_sub in 1361 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1362 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1363 esac ;; 1364esac 1365ac_abs_top_builddir=$ac_pwd 1366ac_abs_builddir=$ac_pwd$ac_dir_suffix 1367# for backward compatibility: 1368ac_top_builddir=$ac_top_build_prefix 1369 1370case $srcdir in 1371 .) # We are building in place. 1372 ac_srcdir=. 1373 ac_top_srcdir=$ac_top_builddir_sub 1374 ac_abs_top_srcdir=$ac_pwd ;; 1375 [\\/]* | ?:[\\/]* ) # Absolute name. 1376 ac_srcdir=$srcdir$ac_dir_suffix; 1377 ac_top_srcdir=$srcdir 1378 ac_abs_top_srcdir=$srcdir ;; 1379 *) # Relative name. 1380 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1381 ac_top_srcdir=$ac_top_build_prefix$srcdir 1382 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1383esac 1384ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1385 1386 cd "$ac_dir" || { ac_status=$?; continue; } 1387 # Check for guested configure. 1388 if test -f "$ac_srcdir/configure.gnu"; then 1389 echo && 1390 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1391 elif test -f "$ac_srcdir/configure"; then 1392 echo && 1393 $SHELL "$ac_srcdir/configure" --help=recursive 1394 else 1395 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1396 fi || ac_status=$? 1397 cd "$ac_pwd" || { ac_status=$?; break; } 1398 done 1399fi 1400 1401test -n "$ac_init_help" && exit $ac_status 1402if $ac_init_version; then 1403 cat <<\_ACEOF 1404configure 1405generated by GNU Autoconf 2.69 1406 1407Copyright (C) 2012 Free Software Foundation, Inc. 1408This configure script is free software; the Free Software Foundation 1409gives unlimited permission to copy, distribute and modify it. 1410_ACEOF 1411 exit 1412fi 1413 1414## ------------------------ ## 1415## Autoconf initialization. ## 1416## ------------------------ ## 1417 1418# ac_fn_c_try_compile LINENO 1419# -------------------------- 1420# Try to compile conftest.$ac_ext, and return whether this succeeded. 1421ac_fn_c_try_compile () 1422{ 1423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1424 rm -f conftest.$ac_objext 1425 if { { ac_try="$ac_compile" 1426case "(($ac_try" in 1427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1428 *) ac_try_echo=$ac_try;; 1429esac 1430eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1431$as_echo "$ac_try_echo"; } >&5 1432 (eval "$ac_compile") 2>conftest.err 1433 ac_status=$? 1434 if test -s conftest.err; then 1435 grep -v '^ *+' conftest.err >conftest.er1 1436 cat conftest.er1 >&5 1437 mv -f conftest.er1 conftest.err 1438 fi 1439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1440 test $ac_status = 0; } && { 1441 test -z "$ac_c_werror_flag" || 1442 test ! -s conftest.err 1443 } && test -s conftest.$ac_objext; then : 1444 ac_retval=0 1445else 1446 $as_echo "$as_me: failed program was:" >&5 1447sed 's/^/| /' conftest.$ac_ext >&5 1448 1449 ac_retval=1 1450fi 1451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1452 as_fn_set_status $ac_retval 1453 1454} # ac_fn_c_try_compile 1455 1456# ac_fn_c_try_cpp LINENO 1457# ---------------------- 1458# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1459ac_fn_c_try_cpp () 1460{ 1461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1462 if { { ac_try="$ac_cpp conftest.$ac_ext" 1463case "(($ac_try" in 1464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1465 *) ac_try_echo=$ac_try;; 1466esac 1467eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1468$as_echo "$ac_try_echo"; } >&5 1469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1470 ac_status=$? 1471 if test -s conftest.err; then 1472 grep -v '^ *+' conftest.err >conftest.er1 1473 cat conftest.er1 >&5 1474 mv -f conftest.er1 conftest.err 1475 fi 1476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1477 test $ac_status = 0; } > conftest.i && { 1478 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1479 test ! -s conftest.err 1480 }; then : 1481 ac_retval=0 1482else 1483 $as_echo "$as_me: failed program was:" >&5 1484sed 's/^/| /' conftest.$ac_ext >&5 1485 1486 ac_retval=1 1487fi 1488 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1489 as_fn_set_status $ac_retval 1490 1491} # ac_fn_c_try_cpp 1492 1493# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1494# ------------------------------------------------------- 1495# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1496# the include files in INCLUDES and setting the cache variable VAR 1497# accordingly. 1498ac_fn_c_check_header_mongrel () 1499{ 1500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1501 if eval \${$3+:} false; then : 1502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1503$as_echo_n "checking for $2... " >&6; } 1504if eval \${$3+:} false; then : 1505 $as_echo_n "(cached) " >&6 1506fi 1507eval ac_res=\$$3 1508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1509$as_echo "$ac_res" >&6; } 1510else 1511 # Is the header compilable? 1512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1513$as_echo_n "checking $2 usability... " >&6; } 1514cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1515/* end confdefs.h. */ 1516$4 1517#include <$2> 1518_ACEOF 1519if ac_fn_c_try_compile "$LINENO"; then : 1520 ac_header_compiler=yes 1521else 1522 ac_header_compiler=no 1523fi 1524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1526$as_echo "$ac_header_compiler" >&6; } 1527 1528# Is the header present? 1529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1530$as_echo_n "checking $2 presence... " >&6; } 1531cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1532/* end confdefs.h. */ 1533#include <$2> 1534_ACEOF 1535if ac_fn_c_try_cpp "$LINENO"; then : 1536 ac_header_preproc=yes 1537else 1538 ac_header_preproc=no 1539fi 1540rm -f conftest.err conftest.i conftest.$ac_ext 1541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1542$as_echo "$ac_header_preproc" >&6; } 1543 1544# So? What about this header? 1545case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1546 yes:no: ) 1547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1548$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1550$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1551 ;; 1552 no:yes:* ) 1553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1554$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1556$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1558$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1560$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1562$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1563 ;; 1564esac 1565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1566$as_echo_n "checking for $2... " >&6; } 1567if eval \${$3+:} false; then : 1568 $as_echo_n "(cached) " >&6 1569else 1570 eval "$3=\$ac_header_compiler" 1571fi 1572eval ac_res=\$$3 1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1574$as_echo "$ac_res" >&6; } 1575fi 1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1577 1578} # ac_fn_c_check_header_mongrel 1579 1580# ac_fn_c_try_run LINENO 1581# ---------------------- 1582# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1583# that executables *can* be run. 1584ac_fn_c_try_run () 1585{ 1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1587 if { { ac_try="$ac_link" 1588case "(($ac_try" in 1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1590 *) ac_try_echo=$ac_try;; 1591esac 1592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1593$as_echo "$ac_try_echo"; } >&5 1594 (eval "$ac_link") 2>&5 1595 ac_status=$? 1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1597 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1598 { { case "(($ac_try" in 1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1600 *) ac_try_echo=$ac_try;; 1601esac 1602eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1603$as_echo "$ac_try_echo"; } >&5 1604 (eval "$ac_try") 2>&5 1605 ac_status=$? 1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1607 test $ac_status = 0; }; }; then : 1608 ac_retval=0 1609else 1610 $as_echo "$as_me: program exited with status $ac_status" >&5 1611 $as_echo "$as_me: failed program was:" >&5 1612sed 's/^/| /' conftest.$ac_ext >&5 1613 1614 ac_retval=$ac_status 1615fi 1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1618 as_fn_set_status $ac_retval 1619 1620} # ac_fn_c_try_run 1621 1622# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1623# ------------------------------------------------------- 1624# Tests whether HEADER exists and can be compiled using the include files in 1625# INCLUDES, setting the cache variable VAR accordingly. 1626ac_fn_c_check_header_compile () 1627{ 1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1630$as_echo_n "checking for $2... " >&6; } 1631if eval \${$3+:} false; then : 1632 $as_echo_n "(cached) " >&6 1633else 1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1635/* end confdefs.h. */ 1636$4 1637#include <$2> 1638_ACEOF 1639if ac_fn_c_try_compile "$LINENO"; then : 1640 eval "$3=yes" 1641else 1642 eval "$3=no" 1643fi 1644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1645fi 1646eval ac_res=\$$3 1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1648$as_echo "$ac_res" >&6; } 1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1650 1651} # ac_fn_c_check_header_compile 1652cat >config.log <<_ACEOF 1653This file contains any messages produced by compilers while 1654running configure, to aid debugging if configure makes a mistake. 1655 1656It was created by $as_me, which was 1657generated by GNU Autoconf 2.69. Invocation command line was 1658 1659 $ $0 $@ 1660 1661_ACEOF 1662exec 5>>config.log 1663{ 1664cat <<_ASUNAME 1665## --------- ## 1666## Platform. ## 1667## --------- ## 1668 1669hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1670uname -m = `(uname -m) 2>/dev/null || echo unknown` 1671uname -r = `(uname -r) 2>/dev/null || echo unknown` 1672uname -s = `(uname -s) 2>/dev/null || echo unknown` 1673uname -v = `(uname -v) 2>/dev/null || echo unknown` 1674 1675/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1676/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1677 1678/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1679/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1680/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1681/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1682/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1683/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1684/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1685 1686_ASUNAME 1687 1688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1689for as_dir in $PATH 1690do 1691 IFS=$as_save_IFS 1692 test -z "$as_dir" && as_dir=. 1693 $as_echo "PATH: $as_dir" 1694 done 1695IFS=$as_save_IFS 1696 1697} >&5 1698 1699cat >&5 <<_ACEOF 1700 1701 1702## ----------- ## 1703## Core tests. ## 1704## ----------- ## 1705 1706_ACEOF 1707 1708 1709# Keep a trace of the command line. 1710# Strip out --no-create and --no-recursion so they do not pile up. 1711# Strip out --silent because we don't want to record it for future runs. 1712# Also quote any args containing shell meta-characters. 1713# Make two passes to allow for proper duplicate-argument suppression. 1714ac_configure_args= 1715ac_configure_args0= 1716ac_configure_args1= 1717ac_must_keep_next=false 1718for ac_pass in 1 2 1719do 1720 for ac_arg 1721 do 1722 case $ac_arg in 1723 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1724 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1725 | -silent | --silent | --silen | --sile | --sil) 1726 continue ;; 1727 *\'*) 1728 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1729 esac 1730 case $ac_pass in 1731 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1732 2) 1733 as_fn_append ac_configure_args1 " '$ac_arg'" 1734 if test $ac_must_keep_next = true; then 1735 ac_must_keep_next=false # Got value, back to normal. 1736 else 1737 case $ac_arg in 1738 *=* | --config-cache | -C | -disable-* | --disable-* \ 1739 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1740 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1741 | -with-* | --with-* | -without-* | --without-* | --x) 1742 case "$ac_configure_args0 " in 1743 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1744 esac 1745 ;; 1746 -* ) ac_must_keep_next=true ;; 1747 esac 1748 fi 1749 as_fn_append ac_configure_args " '$ac_arg'" 1750 ;; 1751 esac 1752 done 1753done 1754{ ac_configure_args0=; unset ac_configure_args0;} 1755{ ac_configure_args1=; unset ac_configure_args1;} 1756 1757# When interrupted or exit'd, cleanup temporary files, and complete 1758# config.log. We remove comments because anyway the quotes in there 1759# would cause problems or look ugly. 1760# WARNING: Use '\'' to represent an apostrophe within the trap. 1761# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1762trap 'exit_status=$? 1763 # Save into config.log some information that might help in debugging. 1764 { 1765 echo 1766 1767 $as_echo "## ---------------- ## 1768## Cache variables. ## 1769## ---------------- ##" 1770 echo 1771 # The following way of writing the cache mishandles newlines in values, 1772( 1773 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1774 eval ac_val=\$$ac_var 1775 case $ac_val in #( 1776 *${as_nl}*) 1777 case $ac_var in #( 1778 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1779$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1780 esac 1781 case $ac_var in #( 1782 _ | IFS | as_nl) ;; #( 1783 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1784 *) { eval $ac_var=; unset $ac_var;} ;; 1785 esac ;; 1786 esac 1787 done 1788 (set) 2>&1 | 1789 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1790 *${as_nl}ac_space=\ *) 1791 sed -n \ 1792 "s/'\''/'\''\\\\'\'''\''/g; 1793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1794 ;; #( 1795 *) 1796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1797 ;; 1798 esac | 1799 sort 1800) 1801 echo 1802 1803 $as_echo "## ----------------- ## 1804## Output variables. ## 1805## ----------------- ##" 1806 echo 1807 for ac_var in $ac_subst_vars 1808 do 1809 eval ac_val=\$$ac_var 1810 case $ac_val in 1811 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1812 esac 1813 $as_echo "$ac_var='\''$ac_val'\''" 1814 done | sort 1815 echo 1816 1817 if test -n "$ac_subst_files"; then 1818 $as_echo "## ------------------- ## 1819## File substitutions. ## 1820## ------------------- ##" 1821 echo 1822 for ac_var in $ac_subst_files 1823 do 1824 eval ac_val=\$$ac_var 1825 case $ac_val in 1826 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1827 esac 1828 $as_echo "$ac_var='\''$ac_val'\''" 1829 done | sort 1830 echo 1831 fi 1832 1833 if test -s confdefs.h; then 1834 $as_echo "## ----------- ## 1835## confdefs.h. ## 1836## ----------- ##" 1837 echo 1838 cat confdefs.h 1839 echo 1840 fi 1841 test "$ac_signal" != 0 && 1842 $as_echo "$as_me: caught signal $ac_signal" 1843 $as_echo "$as_me: exit $exit_status" 1844 } >&5 1845 rm -f core *.core core.conftest.* && 1846 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1847 exit $exit_status 1848' 0 1849for ac_signal in 1 2 13 15; do 1850 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1851done 1852ac_signal=0 1853 1854# confdefs.h avoids OS command line length limits that DEFS can exceed. 1855rm -f -r conftest* confdefs.h 1856 1857$as_echo "/* confdefs.h */" > confdefs.h 1858 1859# Predefined preprocessor variables. 1860 1861cat >>confdefs.h <<_ACEOF 1862#define PACKAGE_NAME "$PACKAGE_NAME" 1863_ACEOF 1864 1865cat >>confdefs.h <<_ACEOF 1866#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1867_ACEOF 1868 1869cat >>confdefs.h <<_ACEOF 1870#define PACKAGE_VERSION "$PACKAGE_VERSION" 1871_ACEOF 1872 1873cat >>confdefs.h <<_ACEOF 1874#define PACKAGE_STRING "$PACKAGE_STRING" 1875_ACEOF 1876 1877cat >>confdefs.h <<_ACEOF 1878#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1879_ACEOF 1880 1881cat >>confdefs.h <<_ACEOF 1882#define PACKAGE_URL "$PACKAGE_URL" 1883_ACEOF 1884 1885 1886# Let the site file select an alternate cache file if it wants to. 1887# Prefer an explicitly selected file to automatically selected ones. 1888ac_site_file1=NONE 1889ac_site_file2=NONE 1890if test -n "$CONFIG_SITE"; then 1891 # We do not want a PATH search for config.site. 1892 case $CONFIG_SITE in #(( 1893 -*) ac_site_file1=./$CONFIG_SITE;; 1894 */*) ac_site_file1=$CONFIG_SITE;; 1895 *) ac_site_file1=./$CONFIG_SITE;; 1896 esac 1897elif test "x$prefix" != xNONE; then 1898 ac_site_file1=$prefix/share/config.site 1899 ac_site_file2=$prefix/etc/config.site 1900else 1901 ac_site_file1=$ac_default_prefix/share/config.site 1902 ac_site_file2=$ac_default_prefix/etc/config.site 1903fi 1904for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1905do 1906 test "x$ac_site_file" = xNONE && continue 1907 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1908 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1909$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1910 sed 's/^/| /' "$ac_site_file" >&5 1911 . "$ac_site_file" \ 1912 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1913$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1914as_fn_error $? "failed to load site script $ac_site_file 1915See \`config.log' for more details" "$LINENO" 5; } 1916 fi 1917done 1918 1919if test -r "$cache_file"; then 1920 # Some versions of bash will fail to source /dev/null (special files 1921 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1922 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1923 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1924$as_echo "$as_me: loading cache $cache_file" >&6;} 1925 case $cache_file in 1926 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1927 *) . "./$cache_file";; 1928 esac 1929 fi 1930else 1931 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1932$as_echo "$as_me: creating cache $cache_file" >&6;} 1933 >$cache_file 1934fi 1935 1936# Check that the precious variables saved in the cache have kept the same 1937# value. 1938ac_cache_corrupted=false 1939for ac_var in $ac_precious_vars; do 1940 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1941 eval ac_new_set=\$ac_env_${ac_var}_set 1942 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1943 eval ac_new_val=\$ac_env_${ac_var}_value 1944 case $ac_old_set,$ac_new_set in 1945 set,) 1946 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1947$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1948 ac_cache_corrupted=: ;; 1949 ,set) 1950 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1951$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1952 ac_cache_corrupted=: ;; 1953 ,);; 1954 *) 1955 if test "x$ac_old_val" != "x$ac_new_val"; then 1956 # differences in whitespace do not lead to failure. 1957 ac_old_val_w=`echo x $ac_old_val` 1958 ac_new_val_w=`echo x $ac_new_val` 1959 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1960 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1961$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1962 ac_cache_corrupted=: 1963 else 1964 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1965$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1966 eval $ac_var=\$ac_old_val 1967 fi 1968 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1969$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1970 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1971$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1972 fi;; 1973 esac 1974 # Pass precious variables to config.status. 1975 if test "$ac_new_set" = set; then 1976 case $ac_new_val in 1977 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1978 *) ac_arg=$ac_var=$ac_new_val ;; 1979 esac 1980 case " $ac_configure_args " in 1981 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1982 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1983 esac 1984 fi 1985done 1986if $ac_cache_corrupted; then 1987 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1988$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1990$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1991 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1992fi 1993## -------------------- ## 1994## Main body of script. ## 1995## -------------------- ## 1996 1997ac_ext=c 1998ac_cpp='$CPP $CPPFLAGS' 1999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2001ac_compiler_gnu=$ac_cv_c_compiler_gnu 2002 2003 2004 2005 2006 2007 2008ac_aux_dir= 2009for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2010 if test -f "$ac_dir/install-sh"; then 2011 ac_aux_dir=$ac_dir 2012 ac_install_sh="$ac_aux_dir/install-sh -c" 2013 break 2014 elif test -f "$ac_dir/install.sh"; then 2015 ac_aux_dir=$ac_dir 2016 ac_install_sh="$ac_aux_dir/install.sh -c" 2017 break 2018 elif test -f "$ac_dir/shtool"; then 2019 ac_aux_dir=$ac_dir 2020 ac_install_sh="$ac_aux_dir/shtool install -c" 2021 break 2022 fi 2023done 2024if test -z "$ac_aux_dir"; then 2025 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2026fi 2027 2028# These three variables are undocumented and unsupported, 2029# and are intended to be withdrawn in a future Autoconf release. 2030# They can cause serious problems if a builder's source tree is in a directory 2031# whose full name contains unusual characters. 2032ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2033ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2034ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2035 2036 2037# Make sure we can run config.sub. 2038$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2039 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2040 2041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2042$as_echo_n "checking build system type... " >&6; } 2043if ${ac_cv_build+:} false; then : 2044 $as_echo_n "(cached) " >&6 2045else 2046 ac_build_alias=$build_alias 2047test "x$ac_build_alias" = x && 2048 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2049test "x$ac_build_alias" = x && 2050 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2051ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2052 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2053 2054fi 2055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2056$as_echo "$ac_cv_build" >&6; } 2057case $ac_cv_build in 2058*-*-*) ;; 2059*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2060esac 2061build=$ac_cv_build 2062ac_save_IFS=$IFS; IFS='-' 2063set x $ac_cv_build 2064shift 2065build_cpu=$1 2066build_vendor=$2 2067shift; shift 2068# Remember, the first character of IFS is used to create $*, 2069# except with old shells: 2070build_os=$* 2071IFS=$ac_save_IFS 2072case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2073 2074 2075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2076$as_echo_n "checking host system type... " >&6; } 2077if ${ac_cv_host+:} false; then : 2078 $as_echo_n "(cached) " >&6 2079else 2080 if test "x$host_alias" = x; then 2081 ac_cv_host=$ac_cv_build 2082else 2083 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2084 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2085fi 2086 2087fi 2088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2089$as_echo "$ac_cv_host" >&6; } 2090case $ac_cv_host in 2091*-*-*) ;; 2092*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2093esac 2094host=$ac_cv_host 2095ac_save_IFS=$IFS; IFS='-' 2096set x $ac_cv_host 2097shift 2098host_cpu=$1 2099host_vendor=$2 2100shift; shift 2101# Remember, the first character of IFS is used to create $*, 2102# except with old shells: 2103host_os=$* 2104IFS=$ac_save_IFS 2105case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2106 2107 2108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2109$as_echo_n "checking target system type... " >&6; } 2110if ${ac_cv_target+:} false; then : 2111 $as_echo_n "(cached) " >&6 2112else 2113 if test "x$target_alias" = x; then 2114 ac_cv_target=$ac_cv_host 2115else 2116 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2117 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2118fi 2119 2120fi 2121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2122$as_echo "$ac_cv_target" >&6; } 2123case $ac_cv_target in 2124*-*-*) ;; 2125*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2126esac 2127target=$ac_cv_target 2128ac_save_IFS=$IFS; IFS='-' 2129set x $ac_cv_target 2130shift 2131target_cpu=$1 2132target_vendor=$2 2133shift; shift 2134# Remember, the first character of IFS is used to create $*, 2135# except with old shells: 2136target_os=$* 2137IFS=$ac_save_IFS 2138case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2139 2140 2141# The aliases save the names the user supplied, while $host etc. 2142# will get canonicalized. 2143test -n "$target_alias" && 2144 test "$program_prefix$program_suffix$program_transform_name" = \ 2145 NONENONEs,x,x, && 2146 program_prefix=${target_alias}- 2147 2148 case ${build_alias} in 2149 "") build_noncanonical=${build} ;; 2150 *) build_noncanonical=${build_alias} ;; 2151esac 2152 2153 case ${host_alias} in 2154 "") host_noncanonical=${build_noncanonical} ;; 2155 *) host_noncanonical=${host_alias} ;; 2156esac 2157 2158 case ${target_alias} in 2159 "") target_noncanonical=${host_noncanonical} ;; 2160 *) target_noncanonical=${target_alias} ;; 2161esac 2162 2163 2164 2165 2166# Enable gdbtk. 2167# Check whether --enable-gdbtk was given. 2168if test "${enable_gdbtk+set}" = set; then : 2169 enableval=$enable_gdbtk; 2170else 2171 if test -d $srcdir/../gdbtk && test -d $srcdir/gdb.gdbtk; then 2172 enable_gdbtk=yes 2173 else 2174 enable_gdbtk=no 2175 fi 2176fi 2177 2178# We unconditionally disable gdbtk tests on selected platforms. 2179case $host_os in 2180 go32* | windows*) 2181 enable_gdbtk=no ;; 2182esac 2183 2184# Add gdbtk tests when appropriate. 2185if test $enable_gdbtk = yes; then 2186 2187 2188subdirs="$subdirs gdb.gdbtk" 2189 2190fi 2191 2192# Enable shared libraries. 2193# Check whether --enable-shared was given. 2194if test "${enable_shared+set}" = set; then : 2195 enableval=$enable_shared; 2196else 2197 enable_shared=yes 2198fi 2199 2200 2201# If we have shared libraries, try to set RPATH_ENVVAR reasonably, 2202# such that we can find the shared libraries in the build tree. 2203if test $enable_shared = no; then 2204 # The variable `RPATH_ENVVAR' itself is not likely to be used on any 2205 # platform. 2206 RPATH_ENVVAR=RPATH_ENVVAR 2207else 2208 # The variable `LD_LIBRARY_PATH' is used on most platforms. 2209 RPATH_ENVVAR=LD_LIBRARY_PATH 2210 # The following exceptions are taken from Libtool 1.4.3. 2211 case $host_os in 2212 aix*) 2213 if test $host_cpu != ia64; then 2214 RPATH_ENVVAR=LIBPATH 2215 fi ;; 2216 darwin* | rhapsody*) 2217 RPATH_ENVVAR=DYLD_LIBRARY_PATH ;; 2218 esac 2219fi 2220 2221 2222ac_ext=c 2223ac_cpp='$CPP $CPPFLAGS' 2224ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2225ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2226ac_compiler_gnu=$ac_cv_c_compiler_gnu 2227if test -n "$ac_tool_prefix"; then 2228 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2229set dummy ${ac_tool_prefix}gcc; ac_word=$2 2230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2231$as_echo_n "checking for $ac_word... " >&6; } 2232if ${ac_cv_prog_CC+:} false; then : 2233 $as_echo_n "(cached) " >&6 2234else 2235 if test -n "$CC"; then 2236 ac_cv_prog_CC="$CC" # Let the user override the test. 2237else 2238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2239for as_dir in $PATH 2240do 2241 IFS=$as_save_IFS 2242 test -z "$as_dir" && as_dir=. 2243 for ac_exec_ext in '' $ac_executable_extensions; do 2244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2245 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2247 break 2 2248 fi 2249done 2250 done 2251IFS=$as_save_IFS 2252 2253fi 2254fi 2255CC=$ac_cv_prog_CC 2256if test -n "$CC"; then 2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2258$as_echo "$CC" >&6; } 2259else 2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2261$as_echo "no" >&6; } 2262fi 2263 2264 2265fi 2266if test -z "$ac_cv_prog_CC"; then 2267 ac_ct_CC=$CC 2268 # Extract the first word of "gcc", so it can be a program name with args. 2269set dummy gcc; ac_word=$2 2270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2271$as_echo_n "checking for $ac_word... " >&6; } 2272if ${ac_cv_prog_ac_ct_CC+:} false; then : 2273 $as_echo_n "(cached) " >&6 2274else 2275 if test -n "$ac_ct_CC"; then 2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2277else 2278as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2279for as_dir in $PATH 2280do 2281 IFS=$as_save_IFS 2282 test -z "$as_dir" && as_dir=. 2283 for ac_exec_ext in '' $ac_executable_extensions; do 2284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2285 ac_cv_prog_ac_ct_CC="gcc" 2286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2287 break 2 2288 fi 2289done 2290 done 2291IFS=$as_save_IFS 2292 2293fi 2294fi 2295ac_ct_CC=$ac_cv_prog_ac_ct_CC 2296if test -n "$ac_ct_CC"; then 2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2298$as_echo "$ac_ct_CC" >&6; } 2299else 2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2301$as_echo "no" >&6; } 2302fi 2303 2304 if test "x$ac_ct_CC" = x; then 2305 CC="" 2306 else 2307 case $cross_compiling:$ac_tool_warned in 2308yes:) 2309{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2310$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2311ac_tool_warned=yes ;; 2312esac 2313 CC=$ac_ct_CC 2314 fi 2315else 2316 CC="$ac_cv_prog_CC" 2317fi 2318 2319if test -z "$CC"; then 2320 if test -n "$ac_tool_prefix"; then 2321 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2322set dummy ${ac_tool_prefix}cc; ac_word=$2 2323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2324$as_echo_n "checking for $ac_word... " >&6; } 2325if ${ac_cv_prog_CC+:} false; then : 2326 $as_echo_n "(cached) " >&6 2327else 2328 if test -n "$CC"; then 2329 ac_cv_prog_CC="$CC" # Let the user override the test. 2330else 2331as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2332for as_dir in $PATH 2333do 2334 IFS=$as_save_IFS 2335 test -z "$as_dir" && as_dir=. 2336 for ac_exec_ext in '' $ac_executable_extensions; do 2337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2338 ac_cv_prog_CC="${ac_tool_prefix}cc" 2339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2340 break 2 2341 fi 2342done 2343 done 2344IFS=$as_save_IFS 2345 2346fi 2347fi 2348CC=$ac_cv_prog_CC 2349if test -n "$CC"; then 2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2351$as_echo "$CC" >&6; } 2352else 2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2354$as_echo "no" >&6; } 2355fi 2356 2357 2358 fi 2359fi 2360if test -z "$CC"; then 2361 # Extract the first word of "cc", so it can be a program name with args. 2362set dummy cc; ac_word=$2 2363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2364$as_echo_n "checking for $ac_word... " >&6; } 2365if ${ac_cv_prog_CC+:} false; then : 2366 $as_echo_n "(cached) " >&6 2367else 2368 if test -n "$CC"; then 2369 ac_cv_prog_CC="$CC" # Let the user override the test. 2370else 2371 ac_prog_rejected=no 2372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2373for as_dir in $PATH 2374do 2375 IFS=$as_save_IFS 2376 test -z "$as_dir" && as_dir=. 2377 for ac_exec_ext in '' $ac_executable_extensions; do 2378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2379 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2380 ac_prog_rejected=yes 2381 continue 2382 fi 2383 ac_cv_prog_CC="cc" 2384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2385 break 2 2386 fi 2387done 2388 done 2389IFS=$as_save_IFS 2390 2391if test $ac_prog_rejected = yes; then 2392 # We found a bogon in the path, so make sure we never use it. 2393 set dummy $ac_cv_prog_CC 2394 shift 2395 if test $# != 0; then 2396 # We chose a different compiler from the bogus one. 2397 # However, it has the same basename, so the bogon will be chosen 2398 # first if we set CC to just the basename; use the full file name. 2399 shift 2400 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2401 fi 2402fi 2403fi 2404fi 2405CC=$ac_cv_prog_CC 2406if test -n "$CC"; then 2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2408$as_echo "$CC" >&6; } 2409else 2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2411$as_echo "no" >&6; } 2412fi 2413 2414 2415fi 2416if test -z "$CC"; then 2417 if test -n "$ac_tool_prefix"; then 2418 for ac_prog in cl.exe 2419 do 2420 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2421set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2423$as_echo_n "checking for $ac_word... " >&6; } 2424if ${ac_cv_prog_CC+:} false; then : 2425 $as_echo_n "(cached) " >&6 2426else 2427 if test -n "$CC"; then 2428 ac_cv_prog_CC="$CC" # Let the user override the test. 2429else 2430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2431for as_dir in $PATH 2432do 2433 IFS=$as_save_IFS 2434 test -z "$as_dir" && as_dir=. 2435 for ac_exec_ext in '' $ac_executable_extensions; do 2436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2437 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2439 break 2 2440 fi 2441done 2442 done 2443IFS=$as_save_IFS 2444 2445fi 2446fi 2447CC=$ac_cv_prog_CC 2448if test -n "$CC"; then 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2450$as_echo "$CC" >&6; } 2451else 2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2453$as_echo "no" >&6; } 2454fi 2455 2456 2457 test -n "$CC" && break 2458 done 2459fi 2460if test -z "$CC"; then 2461 ac_ct_CC=$CC 2462 for ac_prog in cl.exe 2463do 2464 # Extract the first word of "$ac_prog", so it can be a program name with args. 2465set dummy $ac_prog; ac_word=$2 2466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2467$as_echo_n "checking for $ac_word... " >&6; } 2468if ${ac_cv_prog_ac_ct_CC+:} false; then : 2469 $as_echo_n "(cached) " >&6 2470else 2471 if test -n "$ac_ct_CC"; then 2472 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2473else 2474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2475for as_dir in $PATH 2476do 2477 IFS=$as_save_IFS 2478 test -z "$as_dir" && as_dir=. 2479 for ac_exec_ext in '' $ac_executable_extensions; do 2480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2481 ac_cv_prog_ac_ct_CC="$ac_prog" 2482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2483 break 2 2484 fi 2485done 2486 done 2487IFS=$as_save_IFS 2488 2489fi 2490fi 2491ac_ct_CC=$ac_cv_prog_ac_ct_CC 2492if test -n "$ac_ct_CC"; then 2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2494$as_echo "$ac_ct_CC" >&6; } 2495else 2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2497$as_echo "no" >&6; } 2498fi 2499 2500 2501 test -n "$ac_ct_CC" && break 2502done 2503 2504 if test "x$ac_ct_CC" = x; then 2505 CC="" 2506 else 2507 case $cross_compiling:$ac_tool_warned in 2508yes:) 2509{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2510$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2511ac_tool_warned=yes ;; 2512esac 2513 CC=$ac_ct_CC 2514 fi 2515fi 2516 2517fi 2518 2519 2520test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2521$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2522as_fn_error $? "no acceptable C compiler found in \$PATH 2523See \`config.log' for more details" "$LINENO" 5; } 2524 2525# Provide some information about the compiler. 2526$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2527set X $ac_compile 2528ac_compiler=$2 2529for ac_option in --version -v -V -qversion; do 2530 { { ac_try="$ac_compiler $ac_option >&5" 2531case "(($ac_try" in 2532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2533 *) ac_try_echo=$ac_try;; 2534esac 2535eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2536$as_echo "$ac_try_echo"; } >&5 2537 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2538 ac_status=$? 2539 if test -s conftest.err; then 2540 sed '10a\ 2541... rest of stderr output deleted ... 2542 10q' conftest.err >conftest.er1 2543 cat conftest.er1 >&5 2544 fi 2545 rm -f conftest.er1 conftest.err 2546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2547 test $ac_status = 0; } 2548done 2549 2550cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2551/* end confdefs.h. */ 2552 2553int 2554main () 2555{ 2556 2557 ; 2558 return 0; 2559} 2560_ACEOF 2561ac_clean_files_save=$ac_clean_files 2562ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2563# Try to create an executable without -o first, disregard a.out. 2564# It will help us diagnose broken compilers, and finding out an intuition 2565# of exeext. 2566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2567$as_echo_n "checking whether the C compiler works... " >&6; } 2568ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2569 2570# The possible output files: 2571ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2572 2573ac_rmfiles= 2574for ac_file in $ac_files 2575do 2576 case $ac_file in 2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2578 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2579 esac 2580done 2581rm -f $ac_rmfiles 2582 2583if { { ac_try="$ac_link_default" 2584case "(($ac_try" in 2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2586 *) ac_try_echo=$ac_try;; 2587esac 2588eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2589$as_echo "$ac_try_echo"; } >&5 2590 (eval "$ac_link_default") 2>&5 2591 ac_status=$? 2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2593 test $ac_status = 0; }; then : 2594 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2595# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2596# in a Makefile. We should not override ac_cv_exeext if it was cached, 2597# so that the user can short-circuit this test for compilers unknown to 2598# Autoconf. 2599for ac_file in $ac_files '' 2600do 2601 test -f "$ac_file" || continue 2602 case $ac_file in 2603 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2604 ;; 2605 [ab].out ) 2606 # We found the default executable, but exeext='' is most 2607 # certainly right. 2608 break;; 2609 *.* ) 2610 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2611 then :; else 2612 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2613 fi 2614 # We set ac_cv_exeext here because the later test for it is not 2615 # safe: cross compilers may not add the suffix if given an `-o' 2616 # argument, so we may need to know it at that point already. 2617 # Even if this section looks crufty: it has the advantage of 2618 # actually working. 2619 break;; 2620 * ) 2621 break;; 2622 esac 2623done 2624test "$ac_cv_exeext" = no && ac_cv_exeext= 2625 2626else 2627 ac_file='' 2628fi 2629if test -z "$ac_file"; then : 2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2631$as_echo "no" >&6; } 2632$as_echo "$as_me: failed program was:" >&5 2633sed 's/^/| /' conftest.$ac_ext >&5 2634 2635{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2636$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2637as_fn_error 77 "C compiler cannot create executables 2638See \`config.log' for more details" "$LINENO" 5; } 2639else 2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2641$as_echo "yes" >&6; } 2642fi 2643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2644$as_echo_n "checking for C compiler default output file name... " >&6; } 2645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2646$as_echo "$ac_file" >&6; } 2647ac_exeext=$ac_cv_exeext 2648 2649rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2650ac_clean_files=$ac_clean_files_save 2651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2652$as_echo_n "checking for suffix of executables... " >&6; } 2653if { { ac_try="$ac_link" 2654case "(($ac_try" in 2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2656 *) ac_try_echo=$ac_try;; 2657esac 2658eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2659$as_echo "$ac_try_echo"; } >&5 2660 (eval "$ac_link") 2>&5 2661 ac_status=$? 2662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2663 test $ac_status = 0; }; then : 2664 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2665# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2666# work properly (i.e., refer to `conftest.exe'), while it won't with 2667# `rm'. 2668for ac_file in conftest.exe conftest conftest.*; do 2669 test -f "$ac_file" || continue 2670 case $ac_file in 2671 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2672 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2673 break;; 2674 * ) break;; 2675 esac 2676done 2677else 2678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2680as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2681See \`config.log' for more details" "$LINENO" 5; } 2682fi 2683rm -f conftest conftest$ac_cv_exeext 2684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2685$as_echo "$ac_cv_exeext" >&6; } 2686 2687rm -f conftest.$ac_ext 2688EXEEXT=$ac_cv_exeext 2689ac_exeext=$EXEEXT 2690cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2691/* end confdefs.h. */ 2692#include <stdio.h> 2693int 2694main () 2695{ 2696FILE *f = fopen ("conftest.out", "w"); 2697 return ferror (f) || fclose (f) != 0; 2698 2699 ; 2700 return 0; 2701} 2702_ACEOF 2703ac_clean_files="$ac_clean_files conftest.out" 2704# Check that the compiler produces executables we can run. If not, either 2705# the compiler is broken, or we cross compile. 2706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2707$as_echo_n "checking whether we are cross compiling... " >&6; } 2708if test "$cross_compiling" != yes; then 2709 { { ac_try="$ac_link" 2710case "(($ac_try" in 2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2712 *) ac_try_echo=$ac_try;; 2713esac 2714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2715$as_echo "$ac_try_echo"; } >&5 2716 (eval "$ac_link") 2>&5 2717 ac_status=$? 2718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2719 test $ac_status = 0; } 2720 if { ac_try='./conftest$ac_cv_exeext' 2721 { { case "(($ac_try" in 2722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2723 *) ac_try_echo=$ac_try;; 2724esac 2725eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2726$as_echo "$ac_try_echo"; } >&5 2727 (eval "$ac_try") 2>&5 2728 ac_status=$? 2729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2730 test $ac_status = 0; }; }; then 2731 cross_compiling=no 2732 else 2733 if test "$cross_compiling" = maybe; then 2734 cross_compiling=yes 2735 else 2736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2737$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2738as_fn_error $? "cannot run C compiled programs. 2739If you meant to cross compile, use \`--host'. 2740See \`config.log' for more details" "$LINENO" 5; } 2741 fi 2742 fi 2743fi 2744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2745$as_echo "$cross_compiling" >&6; } 2746 2747rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2748ac_clean_files=$ac_clean_files_save 2749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2750$as_echo_n "checking for suffix of object files... " >&6; } 2751if ${ac_cv_objext+:} false; then : 2752 $as_echo_n "(cached) " >&6 2753else 2754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2755/* end confdefs.h. */ 2756 2757int 2758main () 2759{ 2760 2761 ; 2762 return 0; 2763} 2764_ACEOF 2765rm -f conftest.o conftest.obj 2766if { { ac_try="$ac_compile" 2767case "(($ac_try" in 2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2769 *) ac_try_echo=$ac_try;; 2770esac 2771eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2772$as_echo "$ac_try_echo"; } >&5 2773 (eval "$ac_compile") 2>&5 2774 ac_status=$? 2775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2776 test $ac_status = 0; }; then : 2777 for ac_file in conftest.o conftest.obj conftest.*; do 2778 test -f "$ac_file" || continue; 2779 case $ac_file in 2780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2781 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2782 break;; 2783 esac 2784done 2785else 2786 $as_echo "$as_me: failed program was:" >&5 2787sed 's/^/| /' conftest.$ac_ext >&5 2788 2789{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2790$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2791as_fn_error $? "cannot compute suffix of object files: cannot compile 2792See \`config.log' for more details" "$LINENO" 5; } 2793fi 2794rm -f conftest.$ac_cv_objext conftest.$ac_ext 2795fi 2796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2797$as_echo "$ac_cv_objext" >&6; } 2798OBJEXT=$ac_cv_objext 2799ac_objext=$OBJEXT 2800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2801$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2802if ${ac_cv_c_compiler_gnu+:} false; then : 2803 $as_echo_n "(cached) " >&6 2804else 2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2806/* end confdefs.h. */ 2807 2808int 2809main () 2810{ 2811#ifndef __GNUC__ 2812 choke me 2813#endif 2814 2815 ; 2816 return 0; 2817} 2818_ACEOF 2819if ac_fn_c_try_compile "$LINENO"; then : 2820 ac_compiler_gnu=yes 2821else 2822 ac_compiler_gnu=no 2823fi 2824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2825ac_cv_c_compiler_gnu=$ac_compiler_gnu 2826 2827fi 2828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2829$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2830if test $ac_compiler_gnu = yes; then 2831 GCC=yes 2832else 2833 GCC= 2834fi 2835ac_test_CFLAGS=${CFLAGS+set} 2836ac_save_CFLAGS=$CFLAGS 2837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2838$as_echo_n "checking whether $CC accepts -g... " >&6; } 2839if ${ac_cv_prog_cc_g+:} false; then : 2840 $as_echo_n "(cached) " >&6 2841else 2842 ac_save_c_werror_flag=$ac_c_werror_flag 2843 ac_c_werror_flag=yes 2844 ac_cv_prog_cc_g=no 2845 CFLAGS="-g" 2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2847/* end confdefs.h. */ 2848 2849int 2850main () 2851{ 2852 2853 ; 2854 return 0; 2855} 2856_ACEOF 2857if ac_fn_c_try_compile "$LINENO"; then : 2858 ac_cv_prog_cc_g=yes 2859else 2860 CFLAGS="" 2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2862/* end confdefs.h. */ 2863 2864int 2865main () 2866{ 2867 2868 ; 2869 return 0; 2870} 2871_ACEOF 2872if ac_fn_c_try_compile "$LINENO"; then : 2873 2874else 2875 ac_c_werror_flag=$ac_save_c_werror_flag 2876 CFLAGS="-g" 2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2878/* end confdefs.h. */ 2879 2880int 2881main () 2882{ 2883 2884 ; 2885 return 0; 2886} 2887_ACEOF 2888if ac_fn_c_try_compile "$LINENO"; then : 2889 ac_cv_prog_cc_g=yes 2890fi 2891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2892fi 2893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2894fi 2895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2896 ac_c_werror_flag=$ac_save_c_werror_flag 2897fi 2898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2899$as_echo "$ac_cv_prog_cc_g" >&6; } 2900if test "$ac_test_CFLAGS" = set; then 2901 CFLAGS=$ac_save_CFLAGS 2902elif test $ac_cv_prog_cc_g = yes; then 2903 if test "$GCC" = yes; then 2904 CFLAGS="-g -O2" 2905 else 2906 CFLAGS="-g" 2907 fi 2908else 2909 if test "$GCC" = yes; then 2910 CFLAGS="-O2" 2911 else 2912 CFLAGS= 2913 fi 2914fi 2915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2916$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2917if ${ac_cv_prog_cc_c89+:} false; then : 2918 $as_echo_n "(cached) " >&6 2919else 2920 ac_cv_prog_cc_c89=no 2921ac_save_CC=$CC 2922cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2923/* end confdefs.h. */ 2924#include <stdarg.h> 2925#include <stdio.h> 2926struct stat; 2927/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2928struct buf { int x; }; 2929FILE * (*rcsopen) (struct buf *, struct stat *, int); 2930static char *e (p, i) 2931 char **p; 2932 int i; 2933{ 2934 return p[i]; 2935} 2936static char *f (char * (*g) (char **, int), char **p, ...) 2937{ 2938 char *s; 2939 va_list v; 2940 va_start (v,p); 2941 s = g (p, va_arg (v,int)); 2942 va_end (v); 2943 return s; 2944} 2945 2946/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2947 function prototypes and stuff, but not '\xHH' hex character constants. 2948 These don't provoke an error unfortunately, instead are silently treated 2949 as 'x'. The following induces an error, until -std is added to get 2950 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2951 array size at least. It's necessary to write '\x00'==0 to get something 2952 that's true only with -std. */ 2953int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2954 2955/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2956 inside strings and character constants. */ 2957#define FOO(x) 'x' 2958int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2959 2960int test (int i, double x); 2961struct s1 {int (*f) (int a);}; 2962struct s2 {int (*f) (double a);}; 2963int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2964int argc; 2965char **argv; 2966int 2967main () 2968{ 2969return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2970 ; 2971 return 0; 2972} 2973_ACEOF 2974for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2975 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2976do 2977 CC="$ac_save_CC $ac_arg" 2978 if ac_fn_c_try_compile "$LINENO"; then : 2979 ac_cv_prog_cc_c89=$ac_arg 2980fi 2981rm -f core conftest.err conftest.$ac_objext 2982 test "x$ac_cv_prog_cc_c89" != "xno" && break 2983done 2984rm -f conftest.$ac_ext 2985CC=$ac_save_CC 2986 2987fi 2988# AC_CACHE_VAL 2989case "x$ac_cv_prog_cc_c89" in 2990 x) 2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2992$as_echo "none needed" >&6; } ;; 2993 xno) 2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2995$as_echo "unsupported" >&6; } ;; 2996 *) 2997 CC="$CC $ac_cv_prog_cc_c89" 2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2999$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3000esac 3001if test "x$ac_cv_prog_cc_c89" != xno; then : 3002 3003fi 3004 3005ac_ext=c 3006ac_cpp='$CPP $CPPFLAGS' 3007ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3008ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3009ac_compiler_gnu=$ac_cv_c_compiler_gnu 3010 3011 3012ac_ext=c 3013ac_cpp='$CPP $CPPFLAGS' 3014ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3015ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3016ac_compiler_gnu=$ac_cv_c_compiler_gnu 3017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3018$as_echo_n "checking how to run the C preprocessor... " >&6; } 3019# On Suns, sometimes $CPP names a directory. 3020if test -n "$CPP" && test -d "$CPP"; then 3021 CPP= 3022fi 3023if test -z "$CPP"; then 3024 if ${ac_cv_prog_CPP+:} false; then : 3025 $as_echo_n "(cached) " >&6 3026else 3027 # Double quotes because CPP needs to be expanded 3028 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3029 do 3030 ac_preproc_ok=false 3031for ac_c_preproc_warn_flag in '' yes 3032do 3033 # Use a header file that comes with gcc, so configuring glibc 3034 # with a fresh cross-compiler works. 3035 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3036 # <limits.h> exists even on freestanding compilers. 3037 # On the NeXT, cc -E runs the code through the compiler's parser, 3038 # not just through cpp. "Syntax error" is here to catch this case. 3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3040/* end confdefs.h. */ 3041#ifdef __STDC__ 3042# include <limits.h> 3043#else 3044# include <assert.h> 3045#endif 3046 Syntax error 3047_ACEOF 3048if ac_fn_c_try_cpp "$LINENO"; then : 3049 3050else 3051 # Broken: fails on valid input. 3052continue 3053fi 3054rm -f conftest.err conftest.i conftest.$ac_ext 3055 3056 # OK, works on sane cases. Now check whether nonexistent headers 3057 # can be detected and how. 3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3059/* end confdefs.h. */ 3060#include <ac_nonexistent.h> 3061_ACEOF 3062if ac_fn_c_try_cpp "$LINENO"; then : 3063 # Broken: success on invalid input. 3064continue 3065else 3066 # Passes both tests. 3067ac_preproc_ok=: 3068break 3069fi 3070rm -f conftest.err conftest.i conftest.$ac_ext 3071 3072done 3073# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3074rm -f conftest.i conftest.err conftest.$ac_ext 3075if $ac_preproc_ok; then : 3076 break 3077fi 3078 3079 done 3080 ac_cv_prog_CPP=$CPP 3081 3082fi 3083 CPP=$ac_cv_prog_CPP 3084else 3085 ac_cv_prog_CPP=$CPP 3086fi 3087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3088$as_echo "$CPP" >&6; } 3089ac_preproc_ok=false 3090for ac_c_preproc_warn_flag in '' yes 3091do 3092 # Use a header file that comes with gcc, so configuring glibc 3093 # with a fresh cross-compiler works. 3094 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3095 # <limits.h> exists even on freestanding compilers. 3096 # On the NeXT, cc -E runs the code through the compiler's parser, 3097 # not just through cpp. "Syntax error" is here to catch this case. 3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3099/* end confdefs.h. */ 3100#ifdef __STDC__ 3101# include <limits.h> 3102#else 3103# include <assert.h> 3104#endif 3105 Syntax error 3106_ACEOF 3107if ac_fn_c_try_cpp "$LINENO"; then : 3108 3109else 3110 # Broken: fails on valid input. 3111continue 3112fi 3113rm -f conftest.err conftest.i conftest.$ac_ext 3114 3115 # OK, works on sane cases. Now check whether nonexistent headers 3116 # can be detected and how. 3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3118/* end confdefs.h. */ 3119#include <ac_nonexistent.h> 3120_ACEOF 3121if ac_fn_c_try_cpp "$LINENO"; then : 3122 # Broken: success on invalid input. 3123continue 3124else 3125 # Passes both tests. 3126ac_preproc_ok=: 3127break 3128fi 3129rm -f conftest.err conftest.i conftest.$ac_ext 3130 3131done 3132# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3133rm -f conftest.i conftest.err conftest.$ac_ext 3134if $ac_preproc_ok; then : 3135 3136else 3137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3138$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3139as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3140See \`config.log' for more details" "$LINENO" 5; } 3141fi 3142 3143ac_ext=c 3144ac_cpp='$CPP $CPPFLAGS' 3145ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3146ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3147ac_compiler_gnu=$ac_cv_c_compiler_gnu 3148 3149 3150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3151$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3152if ${ac_cv_path_GREP+:} false; then : 3153 $as_echo_n "(cached) " >&6 3154else 3155 if test -z "$GREP"; then 3156 ac_path_GREP_found=false 3157 # Loop through the user's path and test for each of PROGNAME-LIST 3158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3159for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3160do 3161 IFS=$as_save_IFS 3162 test -z "$as_dir" && as_dir=. 3163 for ac_prog in grep ggrep; do 3164 for ac_exec_ext in '' $ac_executable_extensions; do 3165 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3166 as_fn_executable_p "$ac_path_GREP" || continue 3167# Check for GNU ac_path_GREP and select it if it is found. 3168 # Check for GNU $ac_path_GREP 3169case `"$ac_path_GREP" --version 2>&1` in 3170*GNU*) 3171 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3172*) 3173 ac_count=0 3174 $as_echo_n 0123456789 >"conftest.in" 3175 while : 3176 do 3177 cat "conftest.in" "conftest.in" >"conftest.tmp" 3178 mv "conftest.tmp" "conftest.in" 3179 cp "conftest.in" "conftest.nl" 3180 $as_echo 'GREP' >> "conftest.nl" 3181 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3182 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3183 as_fn_arith $ac_count + 1 && ac_count=$as_val 3184 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3185 # Best one so far, save it but keep looking for a better one 3186 ac_cv_path_GREP="$ac_path_GREP" 3187 ac_path_GREP_max=$ac_count 3188 fi 3189 # 10*(2^10) chars as input seems more than enough 3190 test $ac_count -gt 10 && break 3191 done 3192 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3193esac 3194 3195 $ac_path_GREP_found && break 3 3196 done 3197 done 3198 done 3199IFS=$as_save_IFS 3200 if test -z "$ac_cv_path_GREP"; then 3201 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3202 fi 3203else 3204 ac_cv_path_GREP=$GREP 3205fi 3206 3207fi 3208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3209$as_echo "$ac_cv_path_GREP" >&6; } 3210 GREP="$ac_cv_path_GREP" 3211 3212 3213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3214$as_echo_n "checking for egrep... " >&6; } 3215if ${ac_cv_path_EGREP+:} false; then : 3216 $as_echo_n "(cached) " >&6 3217else 3218 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3219 then ac_cv_path_EGREP="$GREP -E" 3220 else 3221 if test -z "$EGREP"; then 3222 ac_path_EGREP_found=false 3223 # Loop through the user's path and test for each of PROGNAME-LIST 3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3225for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3226do 3227 IFS=$as_save_IFS 3228 test -z "$as_dir" && as_dir=. 3229 for ac_prog in egrep; do 3230 for ac_exec_ext in '' $ac_executable_extensions; do 3231 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3232 as_fn_executable_p "$ac_path_EGREP" || continue 3233# Check for GNU ac_path_EGREP and select it if it is found. 3234 # Check for GNU $ac_path_EGREP 3235case `"$ac_path_EGREP" --version 2>&1` in 3236*GNU*) 3237 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3238*) 3239 ac_count=0 3240 $as_echo_n 0123456789 >"conftest.in" 3241 while : 3242 do 3243 cat "conftest.in" "conftest.in" >"conftest.tmp" 3244 mv "conftest.tmp" "conftest.in" 3245 cp "conftest.in" "conftest.nl" 3246 $as_echo 'EGREP' >> "conftest.nl" 3247 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3248 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3249 as_fn_arith $ac_count + 1 && ac_count=$as_val 3250 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3251 # Best one so far, save it but keep looking for a better one 3252 ac_cv_path_EGREP="$ac_path_EGREP" 3253 ac_path_EGREP_max=$ac_count 3254 fi 3255 # 10*(2^10) chars as input seems more than enough 3256 test $ac_count -gt 10 && break 3257 done 3258 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3259esac 3260 3261 $ac_path_EGREP_found && break 3 3262 done 3263 done 3264 done 3265IFS=$as_save_IFS 3266 if test -z "$ac_cv_path_EGREP"; then 3267 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3268 fi 3269else 3270 ac_cv_path_EGREP=$EGREP 3271fi 3272 3273 fi 3274fi 3275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3276$as_echo "$ac_cv_path_EGREP" >&6; } 3277 EGREP="$ac_cv_path_EGREP" 3278 3279 3280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3281$as_echo_n "checking for ANSI C header files... " >&6; } 3282if ${ac_cv_header_stdc+:} false; then : 3283 $as_echo_n "(cached) " >&6 3284else 3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3286/* end confdefs.h. */ 3287#include <stdlib.h> 3288#include <stdarg.h> 3289#include <string.h> 3290#include <float.h> 3291 3292int 3293main () 3294{ 3295 3296 ; 3297 return 0; 3298} 3299_ACEOF 3300if ac_fn_c_try_compile "$LINENO"; then : 3301 ac_cv_header_stdc=yes 3302else 3303 ac_cv_header_stdc=no 3304fi 3305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3306 3307if test $ac_cv_header_stdc = yes; then 3308 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3310/* end confdefs.h. */ 3311#include <string.h> 3312 3313_ACEOF 3314if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3315 $EGREP "memchr" >/dev/null 2>&1; then : 3316 3317else 3318 ac_cv_header_stdc=no 3319fi 3320rm -f conftest* 3321 3322fi 3323 3324if test $ac_cv_header_stdc = yes; then 3325 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3327/* end confdefs.h. */ 3328#include <stdlib.h> 3329 3330_ACEOF 3331if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3332 $EGREP "free" >/dev/null 2>&1; then : 3333 3334else 3335 ac_cv_header_stdc=no 3336fi 3337rm -f conftest* 3338 3339fi 3340 3341if test $ac_cv_header_stdc = yes; then 3342 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3343 if test "$cross_compiling" = yes; then : 3344 : 3345else 3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3347/* end confdefs.h. */ 3348#include <ctype.h> 3349#include <stdlib.h> 3350#if ((' ' & 0x0FF) == 0x020) 3351# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3352# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3353#else 3354# define ISLOWER(c) \ 3355 (('a' <= (c) && (c) <= 'i') \ 3356 || ('j' <= (c) && (c) <= 'r') \ 3357 || ('s' <= (c) && (c) <= 'z')) 3358# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3359#endif 3360 3361#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3362int 3363main () 3364{ 3365 int i; 3366 for (i = 0; i < 256; i++) 3367 if (XOR (islower (i), ISLOWER (i)) 3368 || toupper (i) != TOUPPER (i)) 3369 return 2; 3370 return 0; 3371} 3372_ACEOF 3373if ac_fn_c_try_run "$LINENO"; then : 3374 3375else 3376 ac_cv_header_stdc=no 3377fi 3378rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3379 conftest.$ac_objext conftest.beam conftest.$ac_ext 3380fi 3381 3382fi 3383fi 3384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3385$as_echo "$ac_cv_header_stdc" >&6; } 3386if test $ac_cv_header_stdc = yes; then 3387 3388$as_echo "#define STDC_HEADERS 1" >>confdefs.h 3389 3390fi 3391 3392# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3393for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3394 inttypes.h stdint.h unistd.h 3395do : 3396 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3397ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3398" 3399if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3400 cat >>confdefs.h <<_ACEOF 3401#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3402_ACEOF 3403 3404fi 3405 3406done 3407 3408 3409for ac_header in pthread.h 3410do : 3411 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 3412if test "x$ac_cv_header_pthread_h" = xyes; then : 3413 cat >>confdefs.h <<_ACEOF 3414#define HAVE_PTHREAD_H 1 3415_ACEOF 3416 3417fi 3418 3419done 3420 3421 3422 3423 3424if test "${build}" = "${host}" -a "${host}" = "${target}"; then 3425 case "${host}" in 3426 *gnu*) 3427 EXTRA_RULES=read1 3428 ;; 3429 esac 3430fi 3431 3432 3433# Transform the name of some programs and generate the lib/pdtrace 3434# test tool. 3435test "$program_prefix" != NONE && 3436 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3437# Use a double $ so make ignores it. 3438test "$program_suffix" != NONE && 3439 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3440# Double any \ or $. 3441# By default was `s,x,x', remove it if useless. 3442ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3443program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3444 3445 3446 gdb_ac_transform=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'` 3447 STRIP_TRANSFORM_NAME=`echo strip | sed -e "$gdb_ac_transform"` 3448 if test "x$STRIP_TRANSFORM_NAME" = x; then 3449 STRIP_TRANSFORM_NAME=strip 3450 fi 3451 3452 3453 3454 gdb_ac_transform=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'` 3455 READELF_TRANSFORM_NAME=`echo readelf | sed -e "$gdb_ac_transform"` 3456 if test "x$READELF_TRANSFORM_NAME" = x; then 3457 READELF_TRANSFORM_NAME=readelf 3458 fi 3459 3460 3461 3462 gdb_ac_transform=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'` 3463 GAS_TRANSFORM_NAME=`echo as | sed -e "$gdb_ac_transform"` 3464 if test "x$GAS_TRANSFORM_NAME" = x; then 3465 GAS_TRANSFORM_NAME=as 3466 fi 3467 3468 3469 3470 gdb_ac_transform=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'` 3471 NM_TRANSFORM_NAME=`echo nm | sed -e "$gdb_ac_transform"` 3472 if test "x$NM_TRANSFORM_NAME" = x; then 3473 NM_TRANSFORM_NAME=nm 3474 fi 3475 3476 3477ac_config_files="$ac_config_files lib/pdtrace" 3478 3479ac_config_files="$ac_config_files Makefile" 3480 3481 3482cat >confcache <<\_ACEOF 3483# This file is a shell script that caches the results of configure 3484# tests run on this system so they can be shared between configure 3485# scripts and configure runs, see configure's option --config-cache. 3486# It is not useful on other systems. If it contains results you don't 3487# want to keep, you may remove or edit it. 3488# 3489# config.status only pays attention to the cache file if you give it 3490# the --recheck option to rerun configure. 3491# 3492# `ac_cv_env_foo' variables (set or unset) will be overridden when 3493# loading this file, other *unset* `ac_cv_foo' will be assigned the 3494# following values. 3495 3496_ACEOF 3497 3498# The following way of writing the cache mishandles newlines in values, 3499# but we know of no workaround that is simple, portable, and efficient. 3500# So, we kill variables containing newlines. 3501# Ultrix sh set writes to stderr and can't be redirected directly, 3502# and sets the high bit in the cache file unless we assign to the vars. 3503( 3504 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3505 eval ac_val=\$$ac_var 3506 case $ac_val in #( 3507 *${as_nl}*) 3508 case $ac_var in #( 3509 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3510$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3511 esac 3512 case $ac_var in #( 3513 _ | IFS | as_nl) ;; #( 3514 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3515 *) { eval $ac_var=; unset $ac_var;} ;; 3516 esac ;; 3517 esac 3518 done 3519 3520 (set) 2>&1 | 3521 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3522 *${as_nl}ac_space=\ *) 3523 # `set' does not quote correctly, so add quotes: double-quote 3524 # substitution turns \\\\ into \\, and sed turns \\ into \. 3525 sed -n \ 3526 "s/'/'\\\\''/g; 3527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3528 ;; #( 3529 *) 3530 # `set' quotes correctly as required by POSIX, so do not add quotes. 3531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3532 ;; 3533 esac | 3534 sort 3535) | 3536 sed ' 3537 /^ac_cv_env_/b end 3538 t clear 3539 :clear 3540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3541 t end 3542 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3543 :end' >>confcache 3544if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3545 if test -w "$cache_file"; then 3546 if test "x$cache_file" != "x/dev/null"; then 3547 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3548$as_echo "$as_me: updating cache $cache_file" >&6;} 3549 if test ! -f "$cache_file" || test -h "$cache_file"; then 3550 cat confcache >"$cache_file" 3551 else 3552 case $cache_file in #( 3553 */* | ?:*) 3554 mv -f confcache "$cache_file"$$ && 3555 mv -f "$cache_file"$$ "$cache_file" ;; #( 3556 *) 3557 mv -f confcache "$cache_file" ;; 3558 esac 3559 fi 3560 fi 3561 else 3562 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3563$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3564 fi 3565fi 3566rm -f confcache 3567 3568test "x$prefix" = xNONE && prefix=$ac_default_prefix 3569# Let make expand exec_prefix. 3570test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3571 3572# Transform confdefs.h into DEFS. 3573# Protect against shell expansion while executing Makefile rules. 3574# Protect against Makefile macro expansion. 3575# 3576# If the first sed substitution is executed (which looks for macros that 3577# take arguments), then branch to the quote section. Otherwise, 3578# look for a macro that doesn't take arguments. 3579ac_script=' 3580:mline 3581/\\$/{ 3582 N 3583 s,\\\n,, 3584 b mline 3585} 3586t clear 3587:clear 3588s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3589t quote 3590s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3591t quote 3592b any 3593:quote 3594s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3595s/\[/\\&/g 3596s/\]/\\&/g 3597s/\$/$$/g 3598H 3599:any 3600${ 3601 g 3602 s/^\n// 3603 s/\n/ /g 3604 p 3605} 3606' 3607DEFS=`sed -n "$ac_script" confdefs.h` 3608 3609 3610ac_libobjs= 3611ac_ltlibobjs= 3612U= 3613for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3614 # 1. Remove the extension, and $U if already installed. 3615 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3616 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 3617 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3618 # will be set to the directory where LIBOBJS objects are built. 3619 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3620 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3621done 3622LIBOBJS=$ac_libobjs 3623 3624LTLIBOBJS=$ac_ltlibobjs 3625 3626 3627 3628: "${CONFIG_STATUS=./config.status}" 3629ac_write_fail=0 3630ac_clean_files_save=$ac_clean_files 3631ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3632{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3633$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3634as_write_fail=0 3635cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3636#! $SHELL 3637# Generated by $as_me. 3638# Run this file to recreate the current configuration. 3639# Compiler output produced by configure, useful for debugging 3640# configure, is in config.log if it exists. 3641 3642debug=false 3643ac_cs_recheck=false 3644ac_cs_silent=false 3645 3646SHELL=\${CONFIG_SHELL-$SHELL} 3647export SHELL 3648_ASEOF 3649cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3650## -------------------- ## 3651## M4sh Initialization. ## 3652## -------------------- ## 3653 3654# Be more Bourne compatible 3655DUALCASE=1; export DUALCASE # for MKS sh 3656if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 3657 emulate sh 3658 NULLCMD=: 3659 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3660 # is contrary to our usage. Disable this feature. 3661 alias -g '${1+"$@"}'='"$@"' 3662 setopt NO_GLOB_SUBST 3663else 3664 case `(set -o) 2>/dev/null` in #( 3665 *posix*) : 3666 set -o posix ;; #( 3667 *) : 3668 ;; 3669esac 3670fi 3671 3672 3673as_nl=' 3674' 3675export as_nl 3676# Printing a long string crashes Solaris 7 /usr/bin/printf. 3677as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3678as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 3679as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 3680# Prefer a ksh shell builtin over an external printf program on Solaris, 3681# but without wasting forks for bash or zsh. 3682if test -z "$BASH_VERSION$ZSH_VERSION" \ 3683 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 3684 as_echo='print -r --' 3685 as_echo_n='print -rn --' 3686elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 3687 as_echo='printf %s\n' 3688 as_echo_n='printf %s' 3689else 3690 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 3691 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 3692 as_echo_n='/usr/ucb/echo -n' 3693 else 3694 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 3695 as_echo_n_body='eval 3696 arg=$1; 3697 case $arg in #( 3698 *"$as_nl"*) 3699 expr "X$arg" : "X\\(.*\\)$as_nl"; 3700 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 3701 esac; 3702 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 3703 ' 3704 export as_echo_n_body 3705 as_echo_n='sh -c $as_echo_n_body as_echo' 3706 fi 3707 export as_echo_body 3708 as_echo='sh -c $as_echo_body as_echo' 3709fi 3710 3711# The user is always right. 3712if test "${PATH_SEPARATOR+set}" != set; then 3713 PATH_SEPARATOR=: 3714 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3715 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3716 PATH_SEPARATOR=';' 3717 } 3718fi 3719 3720 3721# IFS 3722# We need space, tab and new line, in precisely that order. Quoting is 3723# there to prevent editors from complaining about space-tab. 3724# (If _AS_PATH_WALK were called with IFS unset, it would disable word 3725# splitting by setting IFS to empty value.) 3726IFS=" "" $as_nl" 3727 3728# Find who we are. Look in the path if we contain no directory separator. 3729as_myself= 3730case $0 in #(( 3731 *[\\/]* ) as_myself=$0 ;; 3732 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3733for as_dir in $PATH 3734do 3735 IFS=$as_save_IFS 3736 test -z "$as_dir" && as_dir=. 3737 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3738 done 3739IFS=$as_save_IFS 3740 3741 ;; 3742esac 3743# We did not find ourselves, most probably we were run as `sh COMMAND' 3744# in which case we are not to be found in the path. 3745if test "x$as_myself" = x; then 3746 as_myself=$0 3747fi 3748if test ! -f "$as_myself"; then 3749 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3750 exit 1 3751fi 3752 3753# Unset variables that we do not need and which cause bugs (e.g. in 3754# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 3755# suppresses any "Segmentation fault" message there. '((' could 3756# trigger a bug in pdksh 5.2.14. 3757for as_var in BASH_ENV ENV MAIL MAILPATH 3758do eval test x\${$as_var+set} = xset \ 3759 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3760done 3761PS1='$ ' 3762PS2='> ' 3763PS4='+ ' 3764 3765# NLS nuisances. 3766LC_ALL=C 3767export LC_ALL 3768LANGUAGE=C 3769export LANGUAGE 3770 3771# CDPATH. 3772(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3773 3774 3775# as_fn_error STATUS ERROR [LINENO LOG_FD] 3776# ---------------------------------------- 3777# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3778# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3779# script with STATUS, using 1 if that was 0. 3780as_fn_error () 3781{ 3782 as_status=$1; test $as_status -eq 0 && as_status=1 3783 if test "$4"; then 3784 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3785 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3786 fi 3787 $as_echo "$as_me: error: $2" >&2 3788 as_fn_exit $as_status 3789} # as_fn_error 3790 3791 3792# as_fn_set_status STATUS 3793# ----------------------- 3794# Set $? to STATUS, without forking. 3795as_fn_set_status () 3796{ 3797 return $1 3798} # as_fn_set_status 3799 3800# as_fn_exit STATUS 3801# ----------------- 3802# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3803as_fn_exit () 3804{ 3805 set +e 3806 as_fn_set_status $1 3807 exit $1 3808} # as_fn_exit 3809 3810# as_fn_unset VAR 3811# --------------- 3812# Portably unset VAR. 3813as_fn_unset () 3814{ 3815 { eval $1=; unset $1;} 3816} 3817as_unset=as_fn_unset 3818# as_fn_append VAR VALUE 3819# ---------------------- 3820# Append the text in VALUE to the end of the definition contained in VAR. Take 3821# advantage of any shell optimizations that allow amortized linear growth over 3822# repeated appends, instead of the typical quadratic growth present in naive 3823# implementations. 3824if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3825 eval 'as_fn_append () 3826 { 3827 eval $1+=\$2 3828 }' 3829else 3830 as_fn_append () 3831 { 3832 eval $1=\$$1\$2 3833 } 3834fi # as_fn_append 3835 3836# as_fn_arith ARG... 3837# ------------------ 3838# Perform arithmetic evaluation on the ARGs, and store the result in the 3839# global $as_val. Take advantage of shells that can avoid forks. The arguments 3840# must be portable across $(()) and expr. 3841if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3842 eval 'as_fn_arith () 3843 { 3844 as_val=$(( $* )) 3845 }' 3846else 3847 as_fn_arith () 3848 { 3849 as_val=`expr "$@" || test $? -eq 1` 3850 } 3851fi # as_fn_arith 3852 3853 3854if expr a : '\(a\)' >/dev/null 2>&1 && 3855 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3856 as_expr=expr 3857else 3858 as_expr=false 3859fi 3860 3861if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3862 as_basename=basename 3863else 3864 as_basename=false 3865fi 3866 3867if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3868 as_dirname=dirname 3869else 3870 as_dirname=false 3871fi 3872 3873as_me=`$as_basename -- "$0" || 3874$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3875 X"$0" : 'X\(//\)$' \| \ 3876 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3877$as_echo X/"$0" | 3878 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3879 s//\1/ 3880 q 3881 } 3882 /^X\/\(\/\/\)$/{ 3883 s//\1/ 3884 q 3885 } 3886 /^X\/\(\/\).*/{ 3887 s//\1/ 3888 q 3889 } 3890 s/.*/./; q'` 3891 3892# Avoid depending upon Character Ranges. 3893as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3894as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3895as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3896as_cr_digits='0123456789' 3897as_cr_alnum=$as_cr_Letters$as_cr_digits 3898 3899ECHO_C= ECHO_N= ECHO_T= 3900case `echo -n x` in #((((( 3901-n*) 3902 case `echo 'xy\c'` in 3903 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3904 xy) ECHO_C='\c';; 3905 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3906 ECHO_T=' ';; 3907 esac;; 3908*) 3909 ECHO_N='-n';; 3910esac 3911 3912rm -f conf$$ conf$$.exe conf$$.file 3913if test -d conf$$.dir; then 3914 rm -f conf$$.dir/conf$$.file 3915else 3916 rm -f conf$$.dir 3917 mkdir conf$$.dir 2>/dev/null 3918fi 3919if (echo >conf$$.file) 2>/dev/null; then 3920 if ln -s conf$$.file conf$$ 2>/dev/null; then 3921 as_ln_s='ln -s' 3922 # ... but there are two gotchas: 3923 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3924 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3925 # In both cases, we have to default to `cp -pR'. 3926 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3927 as_ln_s='cp -pR' 3928 elif ln conf$$.file conf$$ 2>/dev/null; then 3929 as_ln_s=ln 3930 else 3931 as_ln_s='cp -pR' 3932 fi 3933else 3934 as_ln_s='cp -pR' 3935fi 3936rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3937rmdir conf$$.dir 2>/dev/null 3938 3939 3940# as_fn_mkdir_p 3941# ------------- 3942# Create "$as_dir" as a directory, including parents if necessary. 3943as_fn_mkdir_p () 3944{ 3945 3946 case $as_dir in #( 3947 -*) as_dir=./$as_dir;; 3948 esac 3949 test -d "$as_dir" || eval $as_mkdir_p || { 3950 as_dirs= 3951 while :; do 3952 case $as_dir in #( 3953 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3954 *) as_qdir=$as_dir;; 3955 esac 3956 as_dirs="'$as_qdir' $as_dirs" 3957 as_dir=`$as_dirname -- "$as_dir" || 3958$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3959 X"$as_dir" : 'X\(//\)[^/]' \| \ 3960 X"$as_dir" : 'X\(//\)$' \| \ 3961 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3962$as_echo X"$as_dir" | 3963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3964 s//\1/ 3965 q 3966 } 3967 /^X\(\/\/\)[^/].*/{ 3968 s//\1/ 3969 q 3970 } 3971 /^X\(\/\/\)$/{ 3972 s//\1/ 3973 q 3974 } 3975 /^X\(\/\).*/{ 3976 s//\1/ 3977 q 3978 } 3979 s/.*/./; q'` 3980 test -d "$as_dir" && break 3981 done 3982 test -z "$as_dirs" || eval "mkdir $as_dirs" 3983 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3984 3985 3986} # as_fn_mkdir_p 3987if mkdir -p . 2>/dev/null; then 3988 as_mkdir_p='mkdir -p "$as_dir"' 3989else 3990 test -d ./-p && rmdir ./-p 3991 as_mkdir_p=false 3992fi 3993 3994 3995# as_fn_executable_p FILE 3996# ----------------------- 3997# Test if FILE is an executable regular file. 3998as_fn_executable_p () 3999{ 4000 test -f "$1" && test -x "$1" 4001} # as_fn_executable_p 4002as_test_x='test -x' 4003as_executable_p=as_fn_executable_p 4004 4005# Sed expression to map a string onto a valid CPP name. 4006as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4007 4008# Sed expression to map a string onto a valid variable name. 4009as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4010 4011 4012exec 6>&1 4013## ----------------------------------- ## 4014## Main body of $CONFIG_STATUS script. ## 4015## ----------------------------------- ## 4016_ASEOF 4017test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4018 4019cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4020# Save the log message, to keep $0 and so on meaningful, and to 4021# report actual input values of CONFIG_FILES etc. instead of their 4022# values after options handling. 4023ac_log=" 4024This file was extended by $as_me, which was 4025generated by GNU Autoconf 2.69. Invocation command line was 4026 4027 CONFIG_FILES = $CONFIG_FILES 4028 CONFIG_HEADERS = $CONFIG_HEADERS 4029 CONFIG_LINKS = $CONFIG_LINKS 4030 CONFIG_COMMANDS = $CONFIG_COMMANDS 4031 $ $0 $@ 4032 4033on `(hostname || uname -n) 2>/dev/null | sed 1q` 4034" 4035 4036_ACEOF 4037 4038case $ac_config_files in *" 4039"*) set x $ac_config_files; shift; ac_config_files=$*;; 4040esac 4041 4042 4043 4044cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4045# Files that config.status was made for. 4046config_files="$ac_config_files" 4047 4048_ACEOF 4049 4050cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4051ac_cs_usage="\ 4052\`$as_me' instantiates files and other configuration actions 4053from templates according to the current configuration. Unless the files 4054and actions are specified as TAGs, all are instantiated by default. 4055 4056Usage: $0 [OPTION]... [TAG]... 4057 4058 -h, --help print this help, then exit 4059 -V, --version print version number and configuration settings, then exit 4060 --config print configuration, then exit 4061 -q, --quiet, --silent 4062 do not print progress messages 4063 -d, --debug don't remove temporary files 4064 --recheck update $as_me by reconfiguring in the same conditions 4065 --file=FILE[:TEMPLATE] 4066 instantiate the configuration file FILE 4067 4068Configuration files: 4069$config_files 4070 4071Report bugs to the package provider." 4072 4073_ACEOF 4074cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4075ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4076ac_cs_version="\\ 4077config.status 4078configured by $0, generated by GNU Autoconf 2.69, 4079 with options \\"\$ac_cs_config\\" 4080 4081Copyright (C) 2012 Free Software Foundation, Inc. 4082This config.status script is free software; the Free Software Foundation 4083gives unlimited permission to copy, distribute and modify it." 4084 4085ac_pwd='$ac_pwd' 4086srcdir='$srcdir' 4087test -n "\$AWK" || AWK=awk 4088_ACEOF 4089 4090cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4091# The default lists apply if the user does not specify any file. 4092ac_need_defaults=: 4093while test $# != 0 4094do 4095 case $1 in 4096 --*=?*) 4097 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4098 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4099 ac_shift=: 4100 ;; 4101 --*=) 4102 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4103 ac_optarg= 4104 ac_shift=: 4105 ;; 4106 *) 4107 ac_option=$1 4108 ac_optarg=$2 4109 ac_shift=shift 4110 ;; 4111 esac 4112 4113 case $ac_option in 4114 # Handling of the options. 4115 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4116 ac_cs_recheck=: ;; 4117 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4118 $as_echo "$ac_cs_version"; exit ;; 4119 --config | --confi | --conf | --con | --co | --c ) 4120 $as_echo "$ac_cs_config"; exit ;; 4121 --debug | --debu | --deb | --de | --d | -d ) 4122 debug=: ;; 4123 --file | --fil | --fi | --f ) 4124 $ac_shift 4125 case $ac_optarg in 4126 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4127 '') as_fn_error $? "missing file argument" ;; 4128 esac 4129 as_fn_append CONFIG_FILES " '$ac_optarg'" 4130 ac_need_defaults=false;; 4131 --he | --h | --help | --hel | -h ) 4132 $as_echo "$ac_cs_usage"; exit ;; 4133 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4134 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4135 ac_cs_silent=: ;; 4136 4137 # This is an error. 4138 -*) as_fn_error $? "unrecognized option: \`$1' 4139Try \`$0 --help' for more information." ;; 4140 4141 *) as_fn_append ac_config_targets " $1" 4142 ac_need_defaults=false ;; 4143 4144 esac 4145 shift 4146done 4147 4148ac_configure_extra_args= 4149 4150if $ac_cs_silent; then 4151 exec 6>/dev/null 4152 ac_configure_extra_args="$ac_configure_extra_args --silent" 4153fi 4154 4155_ACEOF 4156cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4157if \$ac_cs_recheck; then 4158 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4159 shift 4160 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4161 CONFIG_SHELL='$SHELL' 4162 export CONFIG_SHELL 4163 exec "\$@" 4164fi 4165 4166_ACEOF 4167cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4168exec 5>>config.log 4169{ 4170 echo 4171 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4172## Running $as_me. ## 4173_ASBOX 4174 $as_echo "$ac_log" 4175} >&5 4176 4177_ACEOF 4178cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4179_ACEOF 4180 4181cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4182 4183# Handling of arguments. 4184for ac_config_target in $ac_config_targets 4185do 4186 case $ac_config_target in 4187 "lib/pdtrace") CONFIG_FILES="$CONFIG_FILES lib/pdtrace" ;; 4188 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4189 4190 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4191 esac 4192done 4193 4194 4195# If the user did not use the arguments to specify the items to instantiate, 4196# then the envvar interface is used. Set only those that are not. 4197# We use the long form for the default assignment because of an extremely 4198# bizarre bug on SunOS 4.1.3. 4199if $ac_need_defaults; then 4200 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4201fi 4202 4203# Have a temporary directory for convenience. Make it in the build tree 4204# simply because there is no reason against having it here, and in addition, 4205# creating and moving files from /tmp can sometimes cause problems. 4206# Hook for its removal unless debugging. 4207# Note that there is a small window in which the directory will not be cleaned: 4208# after its creation but before its name has been assigned to `$tmp'. 4209$debug || 4210{ 4211 tmp= ac_tmp= 4212 trap 'exit_status=$? 4213 : "${ac_tmp:=$tmp}" 4214 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4215' 0 4216 trap 'as_fn_exit 1' 1 2 13 15 4217} 4218# Create a (secure) tmp directory for tmp files. 4219 4220{ 4221 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4222 test -d "$tmp" 4223} || 4224{ 4225 tmp=./conf$$-$RANDOM 4226 (umask 077 && mkdir "$tmp") 4227} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4228ac_tmp=$tmp 4229 4230# Set up the scripts for CONFIG_FILES section. 4231# No need to generate them if there are no CONFIG_FILES. 4232# This happens for instance with `./config.status config.h'. 4233if test -n "$CONFIG_FILES"; then 4234 4235 4236ac_cr=`echo X | tr X '\015'` 4237# On cygwin, bash can eat \r inside `` if the user requested igncr. 4238# But we know of no other shell where ac_cr would be empty at this 4239# point, so we can use a bashism as a fallback. 4240if test "x$ac_cr" = x; then 4241 eval ac_cr=\$\'\\r\' 4242fi 4243ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4244if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4245 ac_cs_awk_cr='\\r' 4246else 4247 ac_cs_awk_cr=$ac_cr 4248fi 4249 4250echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4251_ACEOF 4252 4253 4254{ 4255 echo "cat >conf$$subs.awk <<_ACEOF" && 4256 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4257 echo "_ACEOF" 4258} >conf$$subs.sh || 4259 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4260ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4261ac_delim='%!_!# ' 4262for ac_last_try in false false false false false :; do 4263 . ./conf$$subs.sh || 4264 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4265 4266 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4267 if test $ac_delim_n = $ac_delim_num; then 4268 break 4269 elif $ac_last_try; then 4270 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4271 else 4272 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4273 fi 4274done 4275rm -f conf$$subs.sh 4276 4277cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4278cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4279_ACEOF 4280sed -n ' 4281h 4282s/^/S["/; s/!.*/"]=/ 4283p 4284g 4285s/^[^!]*!// 4286:repl 4287t repl 4288s/'"$ac_delim"'$// 4289t delim 4290:nl 4291h 4292s/\(.\{148\}\)..*/\1/ 4293t more1 4294s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4295p 4296n 4297b repl 4298:more1 4299s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4300p 4301g 4302s/.\{148\}// 4303t nl 4304:delim 4305h 4306s/\(.\{148\}\)..*/\1/ 4307t more2 4308s/["\\]/\\&/g; s/^/"/; s/$/"/ 4309p 4310b 4311:more2 4312s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4313p 4314g 4315s/.\{148\}// 4316t delim 4317' <conf$$subs.awk | sed ' 4318/^[^""]/{ 4319 N 4320 s/\n// 4321} 4322' >>$CONFIG_STATUS || ac_write_fail=1 4323rm -f conf$$subs.awk 4324cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4325_ACAWK 4326cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4327 for (key in S) S_is_set[key] = 1 4328 FS = "" 4329 4330} 4331{ 4332 line = $ 0 4333 nfields = split(line, field, "@") 4334 substed = 0 4335 len = length(field[1]) 4336 for (i = 2; i < nfields; i++) { 4337 key = field[i] 4338 keylen = length(key) 4339 if (S_is_set[key]) { 4340 value = S[key] 4341 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4342 len += length(value) + length(field[++i]) 4343 substed = 1 4344 } else 4345 len += 1 + keylen 4346 } 4347 4348 print line 4349} 4350 4351_ACAWK 4352_ACEOF 4353cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4354if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4355 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4356else 4357 cat 4358fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4359 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4360_ACEOF 4361 4362# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4363# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4364# trailing colons and then remove the whole line if VPATH becomes empty 4365# (actually we leave an empty line to preserve line numbers). 4366if test "x$srcdir" = x.; then 4367 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4368h 4369s/// 4370s/^/:/ 4371s/[ ]*$/:/ 4372s/:\$(srcdir):/:/g 4373s/:\${srcdir}:/:/g 4374s/:@srcdir@:/:/g 4375s/^:*// 4376s/:*$// 4377x 4378s/\(=[ ]*\).*/\1/ 4379G 4380s/\n// 4381s/^[^=]*=[ ]*$// 4382}' 4383fi 4384 4385cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4386fi # test -n "$CONFIG_FILES" 4387 4388 4389eval set X " :F $CONFIG_FILES " 4390shift 4391for ac_tag 4392do 4393 case $ac_tag in 4394 :[FHLC]) ac_mode=$ac_tag; continue;; 4395 esac 4396 case $ac_mode$ac_tag in 4397 :[FHL]*:*);; 4398 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4399 :[FH]-) ac_tag=-:-;; 4400 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4401 esac 4402 ac_save_IFS=$IFS 4403 IFS=: 4404 set x $ac_tag 4405 IFS=$ac_save_IFS 4406 shift 4407 ac_file=$1 4408 shift 4409 4410 case $ac_mode in 4411 :L) ac_source=$1;; 4412 :[FH]) 4413 ac_file_inputs= 4414 for ac_f 4415 do 4416 case $ac_f in 4417 -) ac_f="$ac_tmp/stdin";; 4418 *) # Look for the file first in the build tree, then in the source tree 4419 # (if the path is not absolute). The absolute path cannot be DOS-style, 4420 # because $ac_f cannot contain `:'. 4421 test -f "$ac_f" || 4422 case $ac_f in 4423 [\\/$]*) false;; 4424 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4425 esac || 4426 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4427 esac 4428 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4429 as_fn_append ac_file_inputs " '$ac_f'" 4430 done 4431 4432 # Let's still pretend it is `configure' which instantiates (i.e., don't 4433 # use $as_me), people would be surprised to read: 4434 # /* config.h. Generated by config.status. */ 4435 configure_input='Generated from '` 4436 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4437 `' by configure.' 4438 if test x"$ac_file" != x-; then 4439 configure_input="$ac_file. $configure_input" 4440 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4441$as_echo "$as_me: creating $ac_file" >&6;} 4442 fi 4443 # Neutralize special characters interpreted by sed in replacement strings. 4444 case $configure_input in #( 4445 *\&* | *\|* | *\\* ) 4446 ac_sed_conf_input=`$as_echo "$configure_input" | 4447 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4448 *) ac_sed_conf_input=$configure_input;; 4449 esac 4450 4451 case $ac_tag in 4452 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4453 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4454 esac 4455 ;; 4456 esac 4457 4458 ac_dir=`$as_dirname -- "$ac_file" || 4459$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4460 X"$ac_file" : 'X\(//\)[^/]' \| \ 4461 X"$ac_file" : 'X\(//\)$' \| \ 4462 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4463$as_echo X"$ac_file" | 4464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4465 s//\1/ 4466 q 4467 } 4468 /^X\(\/\/\)[^/].*/{ 4469 s//\1/ 4470 q 4471 } 4472 /^X\(\/\/\)$/{ 4473 s//\1/ 4474 q 4475 } 4476 /^X\(\/\).*/{ 4477 s//\1/ 4478 q 4479 } 4480 s/.*/./; q'` 4481 as_dir="$ac_dir"; as_fn_mkdir_p 4482 ac_builddir=. 4483 4484case "$ac_dir" in 4485.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4486*) 4487 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4488 # A ".." for each directory in $ac_dir_suffix. 4489 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4490 case $ac_top_builddir_sub in 4491 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4492 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4493 esac ;; 4494esac 4495ac_abs_top_builddir=$ac_pwd 4496ac_abs_builddir=$ac_pwd$ac_dir_suffix 4497# for backward compatibility: 4498ac_top_builddir=$ac_top_build_prefix 4499 4500case $srcdir in 4501 .) # We are building in place. 4502 ac_srcdir=. 4503 ac_top_srcdir=$ac_top_builddir_sub 4504 ac_abs_top_srcdir=$ac_pwd ;; 4505 [\\/]* | ?:[\\/]* ) # Absolute name. 4506 ac_srcdir=$srcdir$ac_dir_suffix; 4507 ac_top_srcdir=$srcdir 4508 ac_abs_top_srcdir=$srcdir ;; 4509 *) # Relative name. 4510 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4511 ac_top_srcdir=$ac_top_build_prefix$srcdir 4512 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4513esac 4514ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4515 4516 4517 case $ac_mode in 4518 :F) 4519 # 4520 # CONFIG_FILE 4521 # 4522 4523_ACEOF 4524 4525cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4526# If the template does not know about datarootdir, expand it. 4527# FIXME: This hack should be removed a few years after 2.60. 4528ac_datarootdir_hack=; ac_datarootdir_seen= 4529ac_sed_dataroot=' 4530/datarootdir/ { 4531 p 4532 q 4533} 4534/@datadir@/p 4535/@docdir@/p 4536/@infodir@/p 4537/@localedir@/p 4538/@mandir@/p' 4539case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4540*datarootdir*) ac_datarootdir_seen=yes;; 4541*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4543$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4544_ACEOF 4545cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4546 ac_datarootdir_hack=' 4547 s&@datadir@&$datadir&g 4548 s&@docdir@&$docdir&g 4549 s&@infodir@&$infodir&g 4550 s&@localedir@&$localedir&g 4551 s&@mandir@&$mandir&g 4552 s&\\\${datarootdir}&$datarootdir&g' ;; 4553esac 4554_ACEOF 4555 4556# Neutralize VPATH when `$srcdir' = `.'. 4557# Shell code in configure.ac might set extrasub. 4558# FIXME: do we really want to maintain this feature? 4559cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4560ac_sed_extra="$ac_vpsub 4561$extrasub 4562_ACEOF 4563cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4564:t 4565/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4566s|@configure_input@|$ac_sed_conf_input|;t t 4567s&@top_builddir@&$ac_top_builddir_sub&;t t 4568s&@top_build_prefix@&$ac_top_build_prefix&;t t 4569s&@srcdir@&$ac_srcdir&;t t 4570s&@abs_srcdir@&$ac_abs_srcdir&;t t 4571s&@top_srcdir@&$ac_top_srcdir&;t t 4572s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4573s&@builddir@&$ac_builddir&;t t 4574s&@abs_builddir@&$ac_abs_builddir&;t t 4575s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4576$ac_datarootdir_hack 4577" 4578eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4579 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4580 4581test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4582 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4583 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4584 "$ac_tmp/out"`; test -z "$ac_out"; } && 4585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4586which seems to be undefined. Please make sure it is defined" >&5 4587$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4588which seems to be undefined. Please make sure it is defined" >&2;} 4589 4590 rm -f "$ac_tmp/stdin" 4591 case $ac_file in 4592 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4593 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4594 esac \ 4595 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4596 ;; 4597 4598 4599 4600 esac 4601 4602 4603 case $ac_file$ac_mode in 4604 "lib/pdtrace":F) chmod +x lib/pdtrace ;; 4605 4606 esac 4607done # for ac_tag 4608 4609 4610as_fn_exit 0 4611_ACEOF 4612ac_clean_files=$ac_clean_files_save 4613 4614test $ac_write_fail = 0 || 4615 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4616 4617 4618# configure is writing to config.log, and then calls config.status. 4619# config.status does its own redirection, appending to config.log. 4620# Unfortunately, on DOS this fails, as config.log is still kept open 4621# by configure, so config.status won't be able to write to it; its 4622# output is simply discarded. So we exec the FD to /dev/null, 4623# effectively closing config.log, so it can be properly (re)opened and 4624# appended to by config.status. When coming back to configure, we 4625# need to make the FD available again. 4626if test "$no_create" != yes; then 4627 ac_cs_success=: 4628 ac_config_status_args= 4629 test "$silent" = yes && 4630 ac_config_status_args="$ac_config_status_args --quiet" 4631 exec 5>/dev/null 4632 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4633 exec 5>>config.log 4634 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4635 # would make configure fail if this is the last instruction. 4636 $ac_cs_success || as_fn_exit 1 4637fi 4638 4639# 4640# CONFIG_SUBDIRS section. 4641# 4642if test "$no_recursion" != yes; then 4643 4644 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 4645 # so they do not pile up. 4646 ac_sub_configure_args= 4647 ac_prev= 4648 eval "set x $ac_configure_args" 4649 shift 4650 for ac_arg 4651 do 4652 if test -n "$ac_prev"; then 4653 ac_prev= 4654 continue 4655 fi 4656 case $ac_arg in 4657 -cache-file | --cache-file | --cache-fil | --cache-fi \ 4658 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 4659 ac_prev=cache_file ;; 4660 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 4661 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 4662 | --c=*) 4663 ;; 4664 --config-cache | -C) 4665 ;; 4666 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 4667 ac_prev=srcdir ;; 4668 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 4669 ;; 4670 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 4671 ac_prev=prefix ;; 4672 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 4673 ;; 4674 --disable-option-checking) 4675 ;; 4676 *) 4677 case $ac_arg in 4678 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 4679 esac 4680 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 4681 esac 4682 done 4683 4684 # Always prepend --prefix to ensure using the same prefix 4685 # in subdir configurations. 4686 ac_arg="--prefix=$prefix" 4687 case $ac_arg in 4688 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 4689 esac 4690 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 4691 4692 # Pass --silent 4693 if test "$silent" = yes; then 4694 ac_sub_configure_args="--silent $ac_sub_configure_args" 4695 fi 4696 4697 # Always prepend --disable-option-checking to silence warnings, since 4698 # different subdirs can have different --enable and --with options. 4699 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 4700 4701 ac_popdir=`pwd` 4702 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 4703 4704 # Do not complain, so a configure script can configure whichever 4705 # parts of a large source tree are present. 4706 test -d "$srcdir/$ac_dir" || continue 4707 4708 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 4709 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 4710 $as_echo "$ac_msg" >&6 4711 as_dir="$ac_dir"; as_fn_mkdir_p 4712 ac_builddir=. 4713 4714case "$ac_dir" in 4715.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4716*) 4717 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4718 # A ".." for each directory in $ac_dir_suffix. 4719 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4720 case $ac_top_builddir_sub in 4721 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4722 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4723 esac ;; 4724esac 4725ac_abs_top_builddir=$ac_pwd 4726ac_abs_builddir=$ac_pwd$ac_dir_suffix 4727# for backward compatibility: 4728ac_top_builddir=$ac_top_build_prefix 4729 4730case $srcdir in 4731 .) # We are building in place. 4732 ac_srcdir=. 4733 ac_top_srcdir=$ac_top_builddir_sub 4734 ac_abs_top_srcdir=$ac_pwd ;; 4735 [\\/]* | ?:[\\/]* ) # Absolute name. 4736 ac_srcdir=$srcdir$ac_dir_suffix; 4737 ac_top_srcdir=$srcdir 4738 ac_abs_top_srcdir=$srcdir ;; 4739 *) # Relative name. 4740 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4741 ac_top_srcdir=$ac_top_build_prefix$srcdir 4742 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4743esac 4744ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4745 4746 4747 cd "$ac_dir" 4748 4749 # Check for guested configure; otherwise get Cygnus style configure. 4750 if test -f "$ac_srcdir/configure.gnu"; then 4751 ac_sub_configure=$ac_srcdir/configure.gnu 4752 elif test -f "$ac_srcdir/configure"; then 4753 ac_sub_configure=$ac_srcdir/configure 4754 elif test -f "$ac_srcdir/configure.in"; then 4755 # This should be Cygnus configure. 4756 ac_sub_configure=$ac_aux_dir/configure 4757 else 4758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 4759$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 4760 ac_sub_configure= 4761 fi 4762 4763 # The recursion is here. 4764 if test -n "$ac_sub_configure"; then 4765 # Make the cache file name correct relative to the subdirectory. 4766 case $cache_file in 4767 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 4768 *) # Relative name. 4769 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 4770 esac 4771 4772 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 4773$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 4774 # The eval makes quoting arguments work. 4775 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 4776 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 4777 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 4778 fi 4779 4780 cd "$ac_popdir" 4781 done 4782fi 4783if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4785$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4786fi 4787 4788