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