1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for newlib 2.4.0. 4# 5# 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8# Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137if test "x$CONFIG_SHELL" = x; then 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 139 emulate sh 140 NULLCMD=: 141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 142 # is contrary to our usage. Disable this feature. 143 alias -g '\${1+\"\$@\"}'='\"\$@\"' 144 setopt NO_GLOB_SUBST 145else 146 case \`(set -o) 2>/dev/null\` in #( 147 *posix*) : 148 set -o posix ;; #( 149 *) : 150 ;; 151esac 152fi 153" 154 as_required="as_fn_return () { (exit \$1); } 155as_fn_success () { as_fn_return 0; } 156as_fn_failure () { as_fn_return 1; } 157as_fn_ret_success () { return 0; } 158as_fn_ret_failure () { return 1; } 159 160exitcode=0 161as_fn_success || { exitcode=1; echo as_fn_success failed.; } 162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 166 167else 168 exitcode=1; echo positional parameters were not saved. 169fi 170test x\$exitcode = x0 || exit 1" 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 175test \$(( 1 + 1 )) = 2 || exit 1" 176 if (eval "$as_required") 2>/dev/null; then : 177 as_have_required=yes 178else 179 as_have_required=no 180fi 181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 182 183else 184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 185as_found=false 186for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 187do 188 IFS=$as_save_IFS 189 test -z "$as_dir" && as_dir=. 190 as_found=: 191 case $as_dir in #( 192 /*) 193 for as_base in sh bash ksh sh5; do 194 # Try only shells that exist, to save several forks. 195 as_shell=$as_dir/$as_base 196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 198 CONFIG_SHELL=$as_shell as_have_required=yes 199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 break 2 201fi 202fi 203 done;; 204 esac 205 as_found=false 206done 207$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 209 CONFIG_SHELL=$SHELL as_have_required=yes 210fi; } 211IFS=$as_save_IFS 212 213 214 if test "x$CONFIG_SHELL" != x; then : 215 # We cannot yet assume a decent shell, so we have to provide a 216 # neutralization value for shells without unset; and this also 217 # works around shells that cannot unset nonexistent variables. 218 # Preserve -v and -x to the replacement shell. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 case $- in # (((( 224 *v*x* | *x*v* ) as_opts=-vx ;; 225 *v* ) as_opts=-v ;; 226 *x* ) as_opts=-x ;; 227 * ) as_opts= ;; 228 esac 229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 230fi 231 232 if test x$as_have_required = xno; then : 233 $as_echo "$0: This script requires a shell more modern than all" 234 $as_echo "$0: the shells that I found on your system." 235 if test x${ZSH_VERSION+set} = xset ; then 236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 237 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 238 else 239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 240$0: including any error possibly output before this 241$0: message. Then install a modern shell, or manually run 242$0: the script under such a shell if you do have one." 243 fi 244 exit 1 245fi 246fi 247fi 248SHELL=${CONFIG_SHELL-/bin/sh} 249export SHELL 250# Unset more variables known to interfere with behavior of common tools. 251CLICOLOR_FORCE= GREP_OPTIONS= 252unset CLICOLOR_FORCE GREP_OPTIONS 253 254## --------------------- ## 255## M4sh Shell Functions. ## 256## --------------------- ## 257# as_fn_unset VAR 258# --------------- 259# Portably unset VAR. 260as_fn_unset () 261{ 262 { eval $1=; unset $1;} 263} 264as_unset=as_fn_unset 265 266# as_fn_set_status STATUS 267# ----------------------- 268# Set $? to STATUS, without forking. 269as_fn_set_status () 270{ 271 return $1 272} # as_fn_set_status 273 274# as_fn_exit STATUS 275# ----------------- 276# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 277as_fn_exit () 278{ 279 set +e 280 as_fn_set_status $1 281 exit $1 282} # as_fn_exit 283 284# as_fn_mkdir_p 285# ------------- 286# Create "$as_dir" as a directory, including parents if necessary. 287as_fn_mkdir_p () 288{ 289 290 case $as_dir in #( 291 -*) as_dir=./$as_dir;; 292 esac 293 test -d "$as_dir" || eval $as_mkdir_p || { 294 as_dirs= 295 while :; do 296 case $as_dir in #( 297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 298 *) as_qdir=$as_dir;; 299 esac 300 as_dirs="'$as_qdir' $as_dirs" 301 as_dir=`$as_dirname -- "$as_dir" || 302$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 303 X"$as_dir" : 'X\(//\)[^/]' \| \ 304 X"$as_dir" : 'X\(//\)$' \| \ 305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 306$as_echo X"$as_dir" | 307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\/\)[^/].*/{ 312 s//\1/ 313 q 314 } 315 /^X\(\/\/\)$/{ 316 s//\1/ 317 q 318 } 319 /^X\(\/\).*/{ 320 s//\1/ 321 q 322 } 323 s/.*/./; q'` 324 test -d "$as_dir" && break 325 done 326 test -z "$as_dirs" || eval "mkdir $as_dirs" 327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 328 329 330} # as_fn_mkdir_p 331# as_fn_append VAR VALUE 332# ---------------------- 333# Append the text in VALUE to the end of the definition contained in VAR. Take 334# advantage of any shell optimizations that allow amortized linear growth over 335# repeated appends, instead of the typical quadratic growth present in naive 336# implementations. 337if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 338 eval 'as_fn_append () 339 { 340 eval $1+=\$2 341 }' 342else 343 as_fn_append () 344 { 345 eval $1=\$$1\$2 346 } 347fi # as_fn_append 348 349# as_fn_arith ARG... 350# ------------------ 351# Perform arithmetic evaluation on the ARGs, and store the result in the 352# global $as_val. Take advantage of shells that can avoid forks. The arguments 353# must be portable across $(()) and expr. 354if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 355 eval 'as_fn_arith () 356 { 357 as_val=$(( $* )) 358 }' 359else 360 as_fn_arith () 361 { 362 as_val=`expr "$@" || test $? -eq 1` 363 } 364fi # as_fn_arith 365 366 367# as_fn_error STATUS ERROR [LINENO LOG_FD] 368# ---------------------------------------- 369# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 370# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 371# script with STATUS, using 1 if that was 0. 372as_fn_error () 373{ 374 as_status=$1; test $as_status -eq 0 && as_status=1 375 if test "$4"; then 376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 378 fi 379 $as_echo "$as_me: error: $2" >&2 380 as_fn_exit $as_status 381} # as_fn_error 382 383if expr a : '\(a\)' >/dev/null 2>&1 && 384 test "X`expr 00001 : '.*\(...\)'`" = X001; then 385 as_expr=expr 386else 387 as_expr=false 388fi 389 390if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 391 as_basename=basename 392else 393 as_basename=false 394fi 395 396if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 397 as_dirname=dirname 398else 399 as_dirname=false 400fi 401 402as_me=`$as_basename -- "$0" || 403$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 404 X"$0" : 'X\(//\)$' \| \ 405 X"$0" : 'X\(/\)' \| . 2>/dev/null || 406$as_echo X/"$0" | 407 sed '/^.*\/\([^/][^/]*\)\/*$/{ 408 s//\1/ 409 q 410 } 411 /^X\/\(\/\/\)$/{ 412 s//\1/ 413 q 414 } 415 /^X\/\(\/\).*/{ 416 s//\1/ 417 q 418 } 419 s/.*/./; q'` 420 421# Avoid depending upon Character Ranges. 422as_cr_letters='abcdefghijklmnopqrstuvwxyz' 423as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 424as_cr_Letters=$as_cr_letters$as_cr_LETTERS 425as_cr_digits='0123456789' 426as_cr_alnum=$as_cr_Letters$as_cr_digits 427 428 429 as_lineno_1=$LINENO as_lineno_1a=$LINENO 430 as_lineno_2=$LINENO as_lineno_2a=$LINENO 431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 434 sed -n ' 435 p 436 /[$]LINENO/= 437 ' <$as_myself | 438 sed ' 439 s/[$]LINENO.*/&-/ 440 t lineno 441 b 442 :lineno 443 N 444 :loop 445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 446 t loop 447 s/-\n.*// 448 ' >$as_me.lineno && 449 chmod +x "$as_me.lineno" || 450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 451 452 # Don't try to exec as it changes $[0], causing all sort of problems 453 # (the dirname of $[0] is not the place where we might find the 454 # original and so on. Autoconf is especially sensitive to this). 455 . "./$as_me.lineno" 456 # Exit status is that of the last command. 457 exit 458} 459 460ECHO_C= ECHO_N= ECHO_T= 461case `echo -n x` in #((((( 462-n*) 463 case `echo 'xy\c'` in 464 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 465 xy) ECHO_C='\c';; 466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 467 ECHO_T=' ';; 468 esac;; 469*) 470 ECHO_N='-n';; 471esac 472 473rm -f conf$$ conf$$.exe conf$$.file 474if test -d conf$$.dir; then 475 rm -f conf$$.dir/conf$$.file 476else 477 rm -f conf$$.dir 478 mkdir conf$$.dir 2>/dev/null 479fi 480if (echo >conf$$.file) 2>/dev/null; then 481 if ln -s conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s='ln -s' 483 # ... but there are two gotchas: 484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 486 # In both cases, we have to default to `cp -p'. 487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 488 as_ln_s='cp -p' 489 elif ln conf$$.file conf$$ 2>/dev/null; then 490 as_ln_s=ln 491 else 492 as_ln_s='cp -p' 493 fi 494else 495 as_ln_s='cp -p' 496fi 497rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 498rmdir conf$$.dir 2>/dev/null 499 500if mkdir -p . 2>/dev/null; then 501 as_mkdir_p='mkdir -p "$as_dir"' 502else 503 test -d ./-p && rmdir ./-p 504 as_mkdir_p=false 505fi 506 507if test -x / >/dev/null 2>&1; then 508 as_test_x='test -x' 509else 510 if ls -dL / >/dev/null 2>&1; then 511 as_ls_L_option=L 512 else 513 as_ls_L_option= 514 fi 515 as_test_x=' 516 eval sh -c '\'' 517 if test -d "$1"; then 518 test -d "$1/."; 519 else 520 case $1 in #( 521 -*)set "./$1";; 522 esac; 523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 524 ???[sx]*):;;*)false;;esac;fi 525 '\'' sh 526 ' 527fi 528as_executable_p=$as_test_x 529 530# Sed expression to map a string onto a valid CPP name. 531as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 532 533# Sed expression to map a string onto a valid variable name. 534as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 535 536 537test -n "$DJDIR" || exec 7<&0 </dev/null 538exec 6>&1 539 540# Name of the host. 541# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 542# so uname gets run too. 543ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 544 545# 546# Initializations. 547# 548ac_default_prefix=/usr/local 549ac_clean_files= 550ac_config_libobj_dir=. 551LIBOBJS= 552cross_compiling=no 553subdirs= 554MFLAGS= 555MAKEFLAGS= 556 557# Identity of this package. 558PACKAGE_NAME='newlib' 559PACKAGE_TARNAME='newlib' 560PACKAGE_VERSION='2.4.0' 561PACKAGE_STRING='newlib 2.4.0' 562PACKAGE_BUGREPORT='' 563PACKAGE_URL='' 564 565ac_unique_file="asm.h" 566ac_no_link=no 567ac_subst_vars='am__EXEEXT_FALSE 568am__EXEEXT_TRUE 569LTLIBOBJS 570LIBOBJS 571SH64_FALSE 572SH64_TRUE 573EGREP 574GREP 575CPP 576EXEEXT 577ac_ct_CC 578CPPFLAGS 579CFLAGS 580sys_dir 581machine_dir 582libm_machine_dir 583lpfx 584aext 585oext 586OBJEXT 587USE_LIBTOOL_FALSE 588USE_LIBTOOL_TRUE 589ELIX_LEVEL_4_FALSE 590ELIX_LEVEL_4_TRUE 591ELIX_LEVEL_3_FALSE 592ELIX_LEVEL_3_TRUE 593ELIX_LEVEL_2_FALSE 594ELIX_LEVEL_2_TRUE 595ELIX_LEVEL_1_FALSE 596ELIX_LEVEL_1_TRUE 597ELIX_LEVEL_0_FALSE 598ELIX_LEVEL_0_TRUE 599LDFLAGS 600NO_INCLUDE_LIST 601NEWLIB_CFLAGS 602CCASFLAGS 603CCAS 604MAINT 605MAINTAINER_MODE_FALSE 606MAINTAINER_MODE_TRUE 607READELF 608RANLIB 609AR 610AS 611am__fastdepCC_FALSE 612am__fastdepCC_TRUE 613CCDEPMODE 614am__nodep 615AMDEPBACKSLASH 616AMDEP_FALSE 617AMDEP_TRUE 618am__quote 619am__include 620DEPDIR 621CC 622am__untar 623am__tar 624AMTAR 625am__leading_dot 626SET_MAKE 627AWK 628mkdir_p 629MKDIR_P 630INSTALL_STRIP_PROGRAM 631STRIP 632install_sh 633MAKEINFO 634AUTOHEADER 635AUTOMAKE 636AUTOCONF 637ACLOCAL 638VERSION 639PACKAGE 640CYGPATH_W 641am__isrc 642INSTALL_DATA 643INSTALL_SCRIPT 644INSTALL_PROGRAM 645host_os 646host_vendor 647host_cpu 648host 649build_os 650build_vendor 651build_cpu 652build 653newlib_basedir 654MAY_SUPPLY_SYSCALLS_FALSE 655MAY_SUPPLY_SYSCALLS_TRUE 656target_alias 657host_alias 658build_alias 659LIBS 660ECHO_T 661ECHO_N 662ECHO_C 663DEFS 664mandir 665localedir 666libdir 667psdir 668pdfdir 669dvidir 670htmldir 671infodir 672docdir 673oldincludedir 674includedir 675localstatedir 676sharedstatedir 677sysconfdir 678datadir 679datarootdir 680libexecdir 681sbindir 682bindir 683program_transform_name 684prefix 685exec_prefix 686PACKAGE_URL 687PACKAGE_BUGREPORT 688PACKAGE_STRING 689PACKAGE_VERSION 690PACKAGE_TARNAME 691PACKAGE_NAME 692PATH_SEPARATOR 693SHELL' 694ac_subst_files='' 695ac_user_opts=' 696enable_option_checking 697enable_multilib 698enable_target_optspace 699enable_malloc_debugging 700enable_newlib_multithread 701enable_newlib_iconv 702enable_newlib_elix_level 703enable_newlib_io_float 704enable_newlib_supplied_syscalls 705enable_dependency_tracking 706enable_maintainer_mode 707' 708 ac_precious_vars='build_alias 709host_alias 710target_alias 711CCAS 712CCASFLAGS 713CC 714CFLAGS 715LDFLAGS 716LIBS 717CPPFLAGS 718CPP' 719 720 721# Initialize some variables set by options. 722ac_init_help= 723ac_init_version=false 724ac_unrecognized_opts= 725ac_unrecognized_sep= 726# The variables have the same names as the options, with 727# dashes changed to underlines. 728cache_file=/dev/null 729exec_prefix=NONE 730no_create= 731no_recursion= 732prefix=NONE 733program_prefix=NONE 734program_suffix=NONE 735program_transform_name=s,x,x, 736silent= 737site= 738srcdir= 739verbose= 740x_includes=NONE 741x_libraries=NONE 742 743# Installation directory options. 744# These are left unexpanded so users can "make install exec_prefix=/foo" 745# and all the variables that are supposed to be based on exec_prefix 746# by default will actually change. 747# Use braces instead of parens because sh, perl, etc. also accept them. 748# (The list follows the same order as the GNU Coding Standards.) 749bindir='${exec_prefix}/bin' 750sbindir='${exec_prefix}/sbin' 751libexecdir='${exec_prefix}/libexec' 752datarootdir='${prefix}/share' 753datadir='${datarootdir}' 754sysconfdir='${prefix}/etc' 755sharedstatedir='${prefix}/com' 756localstatedir='${prefix}/var' 757includedir='${prefix}/include' 758oldincludedir='/usr/include' 759docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 760infodir='${datarootdir}/info' 761htmldir='${docdir}' 762dvidir='${docdir}' 763pdfdir='${docdir}' 764psdir='${docdir}' 765libdir='${exec_prefix}/lib' 766localedir='${datarootdir}/locale' 767mandir='${datarootdir}/man' 768 769ac_prev= 770ac_dashdash= 771for ac_option 772do 773 # If the previous option needs an argument, assign it. 774 if test -n "$ac_prev"; then 775 eval $ac_prev=\$ac_option 776 ac_prev= 777 continue 778 fi 779 780 case $ac_option in 781 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 782 *=) ac_optarg= ;; 783 *) ac_optarg=yes ;; 784 esac 785 786 # Accept the important Cygnus configure options, so we can diagnose typos. 787 788 case $ac_dashdash$ac_option in 789 --) 790 ac_dashdash=yes ;; 791 792 -bindir | --bindir | --bindi | --bind | --bin | --bi) 793 ac_prev=bindir ;; 794 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 795 bindir=$ac_optarg ;; 796 797 -build | --build | --buil | --bui | --bu) 798 ac_prev=build_alias ;; 799 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 800 build_alias=$ac_optarg ;; 801 802 -cache-file | --cache-file | --cache-fil | --cache-fi \ 803 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 804 ac_prev=cache_file ;; 805 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 806 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 807 cache_file=$ac_optarg ;; 808 809 --config-cache | -C) 810 cache_file=config.cache ;; 811 812 -datadir | --datadir | --datadi | --datad) 813 ac_prev=datadir ;; 814 -datadir=* | --datadir=* | --datadi=* | --datad=*) 815 datadir=$ac_optarg ;; 816 817 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 818 | --dataroo | --dataro | --datar) 819 ac_prev=datarootdir ;; 820 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 821 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 822 datarootdir=$ac_optarg ;; 823 824 -disable-* | --disable-*) 825 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 826 # Reject names that are not valid shell variable names. 827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 828 as_fn_error $? "invalid feature name: $ac_useropt" 829 ac_useropt_orig=$ac_useropt 830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 831 case $ac_user_opts in 832 *" 833"enable_$ac_useropt" 834"*) ;; 835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 836 ac_unrecognized_sep=', ';; 837 esac 838 eval enable_$ac_useropt=no ;; 839 840 -docdir | --docdir | --docdi | --doc | --do) 841 ac_prev=docdir ;; 842 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 843 docdir=$ac_optarg ;; 844 845 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 846 ac_prev=dvidir ;; 847 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 848 dvidir=$ac_optarg ;; 849 850 -enable-* | --enable-*) 851 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 852 # Reject names that are not valid shell variable names. 853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 854 as_fn_error $? "invalid feature name: $ac_useropt" 855 ac_useropt_orig=$ac_useropt 856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 857 case $ac_user_opts in 858 *" 859"enable_$ac_useropt" 860"*) ;; 861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 862 ac_unrecognized_sep=', ';; 863 esac 864 eval enable_$ac_useropt=\$ac_optarg ;; 865 866 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 867 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 868 | --exec | --exe | --ex) 869 ac_prev=exec_prefix ;; 870 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 871 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 872 | --exec=* | --exe=* | --ex=*) 873 exec_prefix=$ac_optarg ;; 874 875 -gas | --gas | --ga | --g) 876 # Obsolete; use --with-gas. 877 with_gas=yes ;; 878 879 -help | --help | --hel | --he | -h) 880 ac_init_help=long ;; 881 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 882 ac_init_help=recursive ;; 883 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 884 ac_init_help=short ;; 885 886 -host | --host | --hos | --ho) 887 ac_prev=host_alias ;; 888 -host=* | --host=* | --hos=* | --ho=*) 889 host_alias=$ac_optarg ;; 890 891 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 892 ac_prev=htmldir ;; 893 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 894 | --ht=*) 895 htmldir=$ac_optarg ;; 896 897 -includedir | --includedir | --includedi | --included | --include \ 898 | --includ | --inclu | --incl | --inc) 899 ac_prev=includedir ;; 900 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 901 | --includ=* | --inclu=* | --incl=* | --inc=*) 902 includedir=$ac_optarg ;; 903 904 -infodir | --infodir | --infodi | --infod | --info | --inf) 905 ac_prev=infodir ;; 906 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 907 infodir=$ac_optarg ;; 908 909 -libdir | --libdir | --libdi | --libd) 910 ac_prev=libdir ;; 911 -libdir=* | --libdir=* | --libdi=* | --libd=*) 912 libdir=$ac_optarg ;; 913 914 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 915 | --libexe | --libex | --libe) 916 ac_prev=libexecdir ;; 917 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 918 | --libexe=* | --libex=* | --libe=*) 919 libexecdir=$ac_optarg ;; 920 921 -localedir | --localedir | --localedi | --localed | --locale) 922 ac_prev=localedir ;; 923 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 924 localedir=$ac_optarg ;; 925 926 -localstatedir | --localstatedir | --localstatedi | --localstated \ 927 | --localstate | --localstat | --localsta | --localst | --locals) 928 ac_prev=localstatedir ;; 929 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 930 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 931 localstatedir=$ac_optarg ;; 932 933 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 934 ac_prev=mandir ;; 935 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 936 mandir=$ac_optarg ;; 937 938 -nfp | --nfp | --nf) 939 # Obsolete; use --without-fp. 940 with_fp=no ;; 941 942 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 943 | --no-cr | --no-c | -n) 944 no_create=yes ;; 945 946 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 947 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 948 no_recursion=yes ;; 949 950 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 951 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 952 | --oldin | --oldi | --old | --ol | --o) 953 ac_prev=oldincludedir ;; 954 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 955 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 956 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 957 oldincludedir=$ac_optarg ;; 958 959 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 960 ac_prev=prefix ;; 961 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 962 prefix=$ac_optarg ;; 963 964 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 965 | --program-pre | --program-pr | --program-p) 966 ac_prev=program_prefix ;; 967 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 968 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 969 program_prefix=$ac_optarg ;; 970 971 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 972 | --program-suf | --program-su | --program-s) 973 ac_prev=program_suffix ;; 974 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 975 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 976 program_suffix=$ac_optarg ;; 977 978 -program-transform-name | --program-transform-name \ 979 | --program-transform-nam | --program-transform-na \ 980 | --program-transform-n | --program-transform- \ 981 | --program-transform | --program-transfor \ 982 | --program-transfo | --program-transf \ 983 | --program-trans | --program-tran \ 984 | --progr-tra | --program-tr | --program-t) 985 ac_prev=program_transform_name ;; 986 -program-transform-name=* | --program-transform-name=* \ 987 | --program-transform-nam=* | --program-transform-na=* \ 988 | --program-transform-n=* | --program-transform-=* \ 989 | --program-transform=* | --program-transfor=* \ 990 | --program-transfo=* | --program-transf=* \ 991 | --program-trans=* | --program-tran=* \ 992 | --progr-tra=* | --program-tr=* | --program-t=*) 993 program_transform_name=$ac_optarg ;; 994 995 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 996 ac_prev=pdfdir ;; 997 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 998 pdfdir=$ac_optarg ;; 999 1000 -psdir | --psdir | --psdi | --psd | --ps) 1001 ac_prev=psdir ;; 1002 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1003 psdir=$ac_optarg ;; 1004 1005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1006 | -silent | --silent | --silen | --sile | --sil) 1007 silent=yes ;; 1008 1009 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1010 ac_prev=sbindir ;; 1011 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1012 | --sbi=* | --sb=*) 1013 sbindir=$ac_optarg ;; 1014 1015 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1016 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1017 | --sharedst | --shareds | --shared | --share | --shar \ 1018 | --sha | --sh) 1019 ac_prev=sharedstatedir ;; 1020 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1021 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1022 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1023 | --sha=* | --sh=*) 1024 sharedstatedir=$ac_optarg ;; 1025 1026 -site | --site | --sit) 1027 ac_prev=site ;; 1028 -site=* | --site=* | --sit=*) 1029 site=$ac_optarg ;; 1030 1031 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1032 ac_prev=srcdir ;; 1033 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1034 srcdir=$ac_optarg ;; 1035 1036 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1037 | --syscon | --sysco | --sysc | --sys | --sy) 1038 ac_prev=sysconfdir ;; 1039 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1040 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1041 sysconfdir=$ac_optarg ;; 1042 1043 -target | --target | --targe | --targ | --tar | --ta | --t) 1044 ac_prev=target_alias ;; 1045 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1046 target_alias=$ac_optarg ;; 1047 1048 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1049 verbose=yes ;; 1050 1051 -version | --version | --versio | --versi | --vers | -V) 1052 ac_init_version=: ;; 1053 1054 -with-* | --with-*) 1055 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1056 # Reject names that are not valid shell variable names. 1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1058 as_fn_error $? "invalid package name: $ac_useropt" 1059 ac_useropt_orig=$ac_useropt 1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1061 case $ac_user_opts in 1062 *" 1063"with_$ac_useropt" 1064"*) ;; 1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1066 ac_unrecognized_sep=', ';; 1067 esac 1068 eval with_$ac_useropt=\$ac_optarg ;; 1069 1070 -without-* | --without-*) 1071 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1072 # Reject names that are not valid shell variable names. 1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1074 as_fn_error $? "invalid package name: $ac_useropt" 1075 ac_useropt_orig=$ac_useropt 1076 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1077 case $ac_user_opts in 1078 *" 1079"with_$ac_useropt" 1080"*) ;; 1081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1082 ac_unrecognized_sep=', ';; 1083 esac 1084 eval with_$ac_useropt=no ;; 1085 1086 --x) 1087 # Obsolete; use --with-x. 1088 with_x=yes ;; 1089 1090 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1091 | --x-incl | --x-inc | --x-in | --x-i) 1092 ac_prev=x_includes ;; 1093 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1094 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1095 x_includes=$ac_optarg ;; 1096 1097 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1098 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1099 ac_prev=x_libraries ;; 1100 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1101 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1102 x_libraries=$ac_optarg ;; 1103 1104 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1105Try \`$0 --help' for more information" 1106 ;; 1107 1108 *=*) 1109 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1110 # Reject names that are not valid shell variable names. 1111 case $ac_envvar in #( 1112 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1113 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1114 esac 1115 eval $ac_envvar=\$ac_optarg 1116 export $ac_envvar ;; 1117 1118 *) 1119 # FIXME: should be removed in autoconf 3.0. 1120 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1121 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1122 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1123 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1124 ;; 1125 1126 esac 1127done 1128 1129if test -n "$ac_prev"; then 1130 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1131 as_fn_error $? "missing argument to $ac_option" 1132fi 1133 1134if test -n "$ac_unrecognized_opts"; then 1135 case $enable_option_checking in 1136 no) ;; 1137 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1138 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1139 esac 1140fi 1141 1142# Check all directory arguments for consistency. 1143for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1144 datadir sysconfdir sharedstatedir localstatedir includedir \ 1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1146 libdir localedir mandir 1147do 1148 eval ac_val=\$$ac_var 1149 # Remove trailing slashes. 1150 case $ac_val in 1151 */ ) 1152 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1153 eval $ac_var=\$ac_val;; 1154 esac 1155 # Be sure to have absolute directory names. 1156 case $ac_val in 1157 [\\/$]* | ?:[\\/]* ) continue;; 1158 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1159 esac 1160 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1161done 1162 1163# There might be people who depend on the old broken behavior: `$host' 1164# used to hold the argument of --host etc. 1165# FIXME: To remove some day. 1166build=$build_alias 1167host=$host_alias 1168target=$target_alias 1169 1170# FIXME: To remove some day. 1171if test "x$host_alias" != x; then 1172 if test "x$build_alias" = x; then 1173 cross_compiling=maybe 1174 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1175 If a cross compiler is detected then cross compile mode will be used" >&2 1176 elif test "x$build_alias" != "x$host_alias"; then 1177 cross_compiling=yes 1178 fi 1179fi 1180 1181ac_tool_prefix= 1182test -n "$host_alias" && ac_tool_prefix=$host_alias- 1183 1184test "$silent" = yes && exec 6>/dev/null 1185 1186 1187ac_pwd=`pwd` && test -n "$ac_pwd" && 1188ac_ls_di=`ls -di .` && 1189ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1190 as_fn_error $? "working directory cannot be determined" 1191test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1192 as_fn_error $? "pwd does not report name of working directory" 1193 1194 1195# Find the source files, if location was not specified. 1196if test -z "$srcdir"; then 1197 ac_srcdir_defaulted=yes 1198 # Try the directory containing this script, then the parent directory. 1199 ac_confdir=`$as_dirname -- "$as_myself" || 1200$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1201 X"$as_myself" : 'X\(//\)[^/]' \| \ 1202 X"$as_myself" : 'X\(//\)$' \| \ 1203 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1204$as_echo X"$as_myself" | 1205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1206 s//\1/ 1207 q 1208 } 1209 /^X\(\/\/\)[^/].*/{ 1210 s//\1/ 1211 q 1212 } 1213 /^X\(\/\/\)$/{ 1214 s//\1/ 1215 q 1216 } 1217 /^X\(\/\).*/{ 1218 s//\1/ 1219 q 1220 } 1221 s/.*/./; q'` 1222 srcdir=$ac_confdir 1223 if test ! -r "$srcdir/$ac_unique_file"; then 1224 srcdir=.. 1225 fi 1226else 1227 ac_srcdir_defaulted=no 1228fi 1229if test ! -r "$srcdir/$ac_unique_file"; then 1230 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1231 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1232fi 1233ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1234ac_abs_confdir=`( 1235 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1236 pwd)` 1237# When building in place, set srcdir=. 1238if test "$ac_abs_confdir" = "$ac_pwd"; then 1239 srcdir=. 1240fi 1241# Remove unnecessary trailing slashes from srcdir. 1242# Double slashes in file names in object file debugging info 1243# mess up M-x gdb in Emacs. 1244case $srcdir in 1245*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1246esac 1247for ac_var in $ac_precious_vars; do 1248 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1249 eval ac_env_${ac_var}_value=\$${ac_var} 1250 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1251 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1252done 1253 1254# 1255# Report the --help message. 1256# 1257if test "$ac_init_help" = "long"; then 1258 # Omit some internal or obsolete options to make the list less imposing. 1259 # This message is too long to be a string in the A/UX 3.1 sh. 1260 cat <<_ACEOF 1261\`configure' configures newlib 2.4.0 to adapt to many kinds of systems. 1262 1263Usage: $0 [OPTION]... [VAR=VALUE]... 1264 1265To assign environment variables (e.g., CC, CFLAGS...), specify them as 1266VAR=VALUE. See below for descriptions of some of the useful variables. 1267 1268Defaults for the options are specified in brackets. 1269 1270Configuration: 1271 -h, --help display this help and exit 1272 --help=short display options specific to this package 1273 --help=recursive display the short help of all the included packages 1274 -V, --version display version information and exit 1275 -q, --quiet, --silent do not print \`checking ...' messages 1276 --cache-file=FILE cache test results in FILE [disabled] 1277 -C, --config-cache alias for \`--cache-file=config.cache' 1278 -n, --no-create do not create output files 1279 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1280 1281Installation directories: 1282 --prefix=PREFIX install architecture-independent files in PREFIX 1283 [$ac_default_prefix] 1284 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1285 [PREFIX] 1286 1287By default, \`make install' will install all the files in 1288\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1289an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1290for instance \`--prefix=\$HOME'. 1291 1292For better control, use the options below. 1293 1294Fine tuning of the installation directories: 1295 --bindir=DIR user executables [EPREFIX/bin] 1296 --sbindir=DIR system admin executables [EPREFIX/sbin] 1297 --libexecdir=DIR program executables [EPREFIX/libexec] 1298 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1299 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1300 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1301 --libdir=DIR object code libraries [EPREFIX/lib] 1302 --includedir=DIR C header files [PREFIX/include] 1303 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1304 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1305 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1306 --infodir=DIR info documentation [DATAROOTDIR/info] 1307 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1308 --mandir=DIR man documentation [DATAROOTDIR/man] 1309 --docdir=DIR documentation root [DATAROOTDIR/doc/newlib] 1310 --htmldir=DIR html documentation [DOCDIR] 1311 --dvidir=DIR dvi documentation [DOCDIR] 1312 --pdfdir=DIR pdf documentation [DOCDIR] 1313 --psdir=DIR ps documentation [DOCDIR] 1314_ACEOF 1315 1316 cat <<\_ACEOF 1317 1318Program names: 1319 --program-prefix=PREFIX prepend PREFIX to installed program names 1320 --program-suffix=SUFFIX append SUFFIX to installed program names 1321 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1322 1323System types: 1324 --build=BUILD configure for building on BUILD [guessed] 1325 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1326_ACEOF 1327fi 1328 1329if test -n "$ac_init_help"; then 1330 case $ac_init_help in 1331 short | recursive ) echo "Configuration of newlib 2.4.0:";; 1332 esac 1333 cat <<\_ACEOF 1334 1335Optional Features: 1336 --disable-option-checking ignore unrecognized --enable/--with options 1337 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1338 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1339 --enable-multilib build many library versions (default) 1340 --enable-target-optspace optimize for space 1341 --enable-malloc-debugging indicate malloc debugging requested 1342 --enable-newlib-multithread enable support for multiple threads 1343 --enable-newlib-iconv enable iconv library support 1344 --enable-newlib-elix-level supply desired elix library level (1-4) 1345 --disable-newlib-io-float disable printf/scanf family float support 1346 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls 1347 --disable-dependency-tracking speeds up one-time build 1348 --enable-dependency-tracking do not reject slow dependency extractors 1349 --enable-maintainer-mode enable make rules and dependencies not useful 1350 (and sometimes confusing) to the casual installer 1351 1352Some influential environment variables: 1353 CCAS assembler compiler command (defaults to CC) 1354 CCASFLAGS assembler compiler flags (defaults to CFLAGS) 1355 CC C compiler command 1356 CFLAGS C compiler flags 1357 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1358 nonstandard directory <lib dir> 1359 LIBS libraries to pass to the linker, e.g. -l<library> 1360 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1361 you have headers in a nonstandard directory <include dir> 1362 CPP C preprocessor 1363 1364Use these variables to override the choices made by `configure' or to help 1365it to find libraries and programs with nonstandard names/locations. 1366 1367Report bugs to the package provider. 1368_ACEOF 1369ac_status=$? 1370fi 1371 1372if test "$ac_init_help" = "recursive"; then 1373 # If there are subdirs, report their specific --help. 1374 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1375 test -d "$ac_dir" || 1376 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1377 continue 1378 ac_builddir=. 1379 1380case "$ac_dir" in 1381.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1382*) 1383 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1384 # A ".." for each directory in $ac_dir_suffix. 1385 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1386 case $ac_top_builddir_sub in 1387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1388 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1389 esac ;; 1390esac 1391ac_abs_top_builddir=$ac_pwd 1392ac_abs_builddir=$ac_pwd$ac_dir_suffix 1393# for backward compatibility: 1394ac_top_builddir=$ac_top_build_prefix 1395 1396case $srcdir in 1397 .) # We are building in place. 1398 ac_srcdir=. 1399 ac_top_srcdir=$ac_top_builddir_sub 1400 ac_abs_top_srcdir=$ac_pwd ;; 1401 [\\/]* | ?:[\\/]* ) # Absolute name. 1402 ac_srcdir=$srcdir$ac_dir_suffix; 1403 ac_top_srcdir=$srcdir 1404 ac_abs_top_srcdir=$srcdir ;; 1405 *) # Relative name. 1406 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1407 ac_top_srcdir=$ac_top_build_prefix$srcdir 1408 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1409esac 1410ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1411 1412 cd "$ac_dir" || { ac_status=$?; continue; } 1413 # Check for guested configure. 1414 if test -f "$ac_srcdir/configure.gnu"; then 1415 echo && 1416 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1417 elif test -f "$ac_srcdir/configure"; then 1418 echo && 1419 $SHELL "$ac_srcdir/configure" --help=recursive 1420 else 1421 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1422 fi || ac_status=$? 1423 cd "$ac_pwd" || { ac_status=$?; break; } 1424 done 1425fi 1426 1427test -n "$ac_init_help" && exit $ac_status 1428if $ac_init_version; then 1429 cat <<\_ACEOF 1430newlib configure 2.4.0 1431generated by GNU Autoconf 2.68 1432 1433Copyright (C) 2010 Free Software Foundation, Inc. 1434This configure script is free software; the Free Software Foundation 1435gives unlimited permission to copy, distribute and modify it. 1436_ACEOF 1437 exit 1438fi 1439 1440## ------------------------ ## 1441## Autoconf initialization. ## 1442## ------------------------ ## 1443 1444# ac_fn_c_try_compile LINENO 1445# -------------------------- 1446# Try to compile conftest.$ac_ext, and return whether this succeeded. 1447ac_fn_c_try_compile () 1448{ 1449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1450 rm -f conftest.$ac_objext 1451 if { { ac_try="$ac_compile" 1452case "(($ac_try" in 1453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1454 *) ac_try_echo=$ac_try;; 1455esac 1456eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1457$as_echo "$ac_try_echo"; } >&5 1458 (eval "$ac_compile") 2>conftest.err 1459 ac_status=$? 1460 if test -s conftest.err; then 1461 grep -v '^ *+' conftest.err >conftest.er1 1462 cat conftest.er1 >&5 1463 mv -f conftest.er1 conftest.err 1464 fi 1465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1466 test $ac_status = 0; } && { 1467 test -z "$ac_c_werror_flag" || 1468 test ! -s conftest.err 1469 } && test -s conftest.$ac_objext; then : 1470 ac_retval=0 1471else 1472 $as_echo "$as_me: failed program was:" >&5 1473sed 's/^/| /' conftest.$ac_ext >&5 1474 1475 ac_retval=1 1476fi 1477 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1478 as_fn_set_status $ac_retval 1479 1480} # ac_fn_c_try_compile 1481 1482# ac_fn_c_try_cpp LINENO 1483# ---------------------- 1484# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1485ac_fn_c_try_cpp () 1486{ 1487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1488 if { { ac_try="$ac_cpp conftest.$ac_ext" 1489case "(($ac_try" in 1490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1491 *) ac_try_echo=$ac_try;; 1492esac 1493eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1494$as_echo "$ac_try_echo"; } >&5 1495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1496 ac_status=$? 1497 if test -s conftest.err; then 1498 grep -v '^ *+' conftest.err >conftest.er1 1499 cat conftest.er1 >&5 1500 mv -f conftest.er1 conftest.err 1501 fi 1502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1503 test $ac_status = 0; } > conftest.i && { 1504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1505 test ! -s conftest.err 1506 }; then : 1507 ac_retval=0 1508else 1509 $as_echo "$as_me: failed program was:" >&5 1510sed 's/^/| /' conftest.$ac_ext >&5 1511 1512 ac_retval=1 1513fi 1514 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1515 as_fn_set_status $ac_retval 1516 1517} # ac_fn_c_try_cpp 1518cat >config.log <<_ACEOF 1519This file contains any messages produced by compilers while 1520running configure, to aid debugging if configure makes a mistake. 1521 1522It was created by newlib $as_me 2.4.0, which was 1523generated by GNU Autoconf 2.68. Invocation command line was 1524 1525 $ $0 $@ 1526 1527_ACEOF 1528exec 5>>config.log 1529{ 1530cat <<_ASUNAME 1531## --------- ## 1532## Platform. ## 1533## --------- ## 1534 1535hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1536uname -m = `(uname -m) 2>/dev/null || echo unknown` 1537uname -r = `(uname -r) 2>/dev/null || echo unknown` 1538uname -s = `(uname -s) 2>/dev/null || echo unknown` 1539uname -v = `(uname -v) 2>/dev/null || echo unknown` 1540 1541/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1542/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1543 1544/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1545/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1546/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1547/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1548/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1549/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1550/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1551 1552_ASUNAME 1553 1554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1555for as_dir in $PATH 1556do 1557 IFS=$as_save_IFS 1558 test -z "$as_dir" && as_dir=. 1559 $as_echo "PATH: $as_dir" 1560 done 1561IFS=$as_save_IFS 1562 1563} >&5 1564 1565cat >&5 <<_ACEOF 1566 1567 1568## ----------- ## 1569## Core tests. ## 1570## ----------- ## 1571 1572_ACEOF 1573 1574 1575# Keep a trace of the command line. 1576# Strip out --no-create and --no-recursion so they do not pile up. 1577# Strip out --silent because we don't want to record it for future runs. 1578# Also quote any args containing shell meta-characters. 1579# Make two passes to allow for proper duplicate-argument suppression. 1580ac_configure_args= 1581ac_configure_args0= 1582ac_configure_args1= 1583ac_must_keep_next=false 1584for ac_pass in 1 2 1585do 1586 for ac_arg 1587 do 1588 case $ac_arg in 1589 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1590 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1591 | -silent | --silent | --silen | --sile | --sil) 1592 continue ;; 1593 *\'*) 1594 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1595 esac 1596 case $ac_pass in 1597 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1598 2) 1599 as_fn_append ac_configure_args1 " '$ac_arg'" 1600 if test $ac_must_keep_next = true; then 1601 ac_must_keep_next=false # Got value, back to normal. 1602 else 1603 case $ac_arg in 1604 *=* | --config-cache | -C | -disable-* | --disable-* \ 1605 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1606 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1607 | -with-* | --with-* | -without-* | --without-* | --x) 1608 case "$ac_configure_args0 " in 1609 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1610 esac 1611 ;; 1612 -* ) ac_must_keep_next=true ;; 1613 esac 1614 fi 1615 as_fn_append ac_configure_args " '$ac_arg'" 1616 ;; 1617 esac 1618 done 1619done 1620{ ac_configure_args0=; unset ac_configure_args0;} 1621{ ac_configure_args1=; unset ac_configure_args1;} 1622 1623# When interrupted or exit'd, cleanup temporary files, and complete 1624# config.log. We remove comments because anyway the quotes in there 1625# would cause problems or look ugly. 1626# WARNING: Use '\'' to represent an apostrophe within the trap. 1627# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1628trap 'exit_status=$? 1629 # Save into config.log some information that might help in debugging. 1630 { 1631 echo 1632 1633 $as_echo "## ---------------- ## 1634## Cache variables. ## 1635## ---------------- ##" 1636 echo 1637 # The following way of writing the cache mishandles newlines in values, 1638( 1639 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1640 eval ac_val=\$$ac_var 1641 case $ac_val in #( 1642 *${as_nl}*) 1643 case $ac_var in #( 1644 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1645$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1646 esac 1647 case $ac_var in #( 1648 _ | IFS | as_nl) ;; #( 1649 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1650 *) { eval $ac_var=; unset $ac_var;} ;; 1651 esac ;; 1652 esac 1653 done 1654 (set) 2>&1 | 1655 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1656 *${as_nl}ac_space=\ *) 1657 sed -n \ 1658 "s/'\''/'\''\\\\'\'''\''/g; 1659 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1660 ;; #( 1661 *) 1662 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1663 ;; 1664 esac | 1665 sort 1666) 1667 echo 1668 1669 $as_echo "## ----------------- ## 1670## Output variables. ## 1671## ----------------- ##" 1672 echo 1673 for ac_var in $ac_subst_vars 1674 do 1675 eval ac_val=\$$ac_var 1676 case $ac_val in 1677 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1678 esac 1679 $as_echo "$ac_var='\''$ac_val'\''" 1680 done | sort 1681 echo 1682 1683 if test -n "$ac_subst_files"; then 1684 $as_echo "## ------------------- ## 1685## File substitutions. ## 1686## ------------------- ##" 1687 echo 1688 for ac_var in $ac_subst_files 1689 do 1690 eval ac_val=\$$ac_var 1691 case $ac_val in 1692 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1693 esac 1694 $as_echo "$ac_var='\''$ac_val'\''" 1695 done | sort 1696 echo 1697 fi 1698 1699 if test -s confdefs.h; then 1700 $as_echo "## ----------- ## 1701## confdefs.h. ## 1702## ----------- ##" 1703 echo 1704 cat confdefs.h 1705 echo 1706 fi 1707 test "$ac_signal" != 0 && 1708 $as_echo "$as_me: caught signal $ac_signal" 1709 $as_echo "$as_me: exit $exit_status" 1710 } >&5 1711 rm -f core *.core core.conftest.* && 1712 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1713 exit $exit_status 1714' 0 1715for ac_signal in 1 2 13 15; do 1716 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1717done 1718ac_signal=0 1719 1720# confdefs.h avoids OS command line length limits that DEFS can exceed. 1721rm -f -r conftest* confdefs.h 1722 1723$as_echo "/* confdefs.h */" > confdefs.h 1724 1725# Predefined preprocessor variables. 1726 1727cat >>confdefs.h <<_ACEOF 1728#define PACKAGE_NAME "$PACKAGE_NAME" 1729_ACEOF 1730 1731cat >>confdefs.h <<_ACEOF 1732#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1733_ACEOF 1734 1735cat >>confdefs.h <<_ACEOF 1736#define PACKAGE_VERSION "$PACKAGE_VERSION" 1737_ACEOF 1738 1739cat >>confdefs.h <<_ACEOF 1740#define PACKAGE_STRING "$PACKAGE_STRING" 1741_ACEOF 1742 1743cat >>confdefs.h <<_ACEOF 1744#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1745_ACEOF 1746 1747cat >>confdefs.h <<_ACEOF 1748#define PACKAGE_URL "$PACKAGE_URL" 1749_ACEOF 1750 1751 1752# Let the site file select an alternate cache file if it wants to. 1753# Prefer an explicitly selected file to automatically selected ones. 1754ac_site_file1=NONE 1755ac_site_file2=NONE 1756if test -n "$CONFIG_SITE"; then 1757 # We do not want a PATH search for config.site. 1758 case $CONFIG_SITE in #(( 1759 -*) ac_site_file1=./$CONFIG_SITE;; 1760 */*) ac_site_file1=$CONFIG_SITE;; 1761 *) ac_site_file1=./$CONFIG_SITE;; 1762 esac 1763elif test "x$prefix" != xNONE; then 1764 ac_site_file1=$prefix/share/config.site 1765 ac_site_file2=$prefix/etc/config.site 1766else 1767 ac_site_file1=$ac_default_prefix/share/config.site 1768 ac_site_file2=$ac_default_prefix/etc/config.site 1769fi 1770for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1771do 1772 test "x$ac_site_file" = xNONE && continue 1773 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1774 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1775$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1776 sed 's/^/| /' "$ac_site_file" >&5 1777 . "$ac_site_file" \ 1778 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1779$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1780as_fn_error $? "failed to load site script $ac_site_file 1781See \`config.log' for more details" "$LINENO" 5; } 1782 fi 1783done 1784 1785if test -r "$cache_file"; then 1786 # Some versions of bash will fail to source /dev/null (special files 1787 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1788 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1789 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1790$as_echo "$as_me: loading cache $cache_file" >&6;} 1791 case $cache_file in 1792 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1793 *) . "./$cache_file";; 1794 esac 1795 fi 1796else 1797 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1798$as_echo "$as_me: creating cache $cache_file" >&6;} 1799 >$cache_file 1800fi 1801 1802# Check that the precious variables saved in the cache have kept the same 1803# value. 1804ac_cache_corrupted=false 1805for ac_var in $ac_precious_vars; do 1806 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1807 eval ac_new_set=\$ac_env_${ac_var}_set 1808 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1809 eval ac_new_val=\$ac_env_${ac_var}_value 1810 case $ac_old_set,$ac_new_set in 1811 set,) 1812 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1813$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1814 ac_cache_corrupted=: ;; 1815 ,set) 1816 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1817$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1818 ac_cache_corrupted=: ;; 1819 ,);; 1820 *) 1821 if test "x$ac_old_val" != "x$ac_new_val"; then 1822 # differences in whitespace do not lead to failure. 1823 ac_old_val_w=`echo x $ac_old_val` 1824 ac_new_val_w=`echo x $ac_new_val` 1825 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1826 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1827$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1828 ac_cache_corrupted=: 1829 else 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1831$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1832 eval $ac_var=\$ac_old_val 1833 fi 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1835$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1836 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1837$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1838 fi;; 1839 esac 1840 # Pass precious variables to config.status. 1841 if test "$ac_new_set" = set; then 1842 case $ac_new_val in 1843 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1844 *) ac_arg=$ac_var=$ac_new_val ;; 1845 esac 1846 case " $ac_configure_args " in 1847 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1848 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1849 esac 1850 fi 1851done 1852if $ac_cache_corrupted; then 1853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1854$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1856$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1857 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1858fi 1859## -------------------- ## 1860## Main body of script. ## 1861## -------------------- ## 1862 1863ac_ext=c 1864ac_cpp='$CPP $CPPFLAGS' 1865ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1866ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1867ac_compiler_gnu=$ac_cv_c_compiler_gnu 1868 1869 1870 1871 1872ac_aux_dir= 1873for ac_dir in ../../../.. "$srcdir"/../../../..; do 1874 if test -f "$ac_dir/install-sh"; then 1875 ac_aux_dir=$ac_dir 1876 ac_install_sh="$ac_aux_dir/install-sh -c" 1877 break 1878 elif test -f "$ac_dir/install.sh"; then 1879 ac_aux_dir=$ac_dir 1880 ac_install_sh="$ac_aux_dir/install.sh -c" 1881 break 1882 elif test -f "$ac_dir/shtool"; then 1883 ac_aux_dir=$ac_dir 1884 ac_install_sh="$ac_aux_dir/shtool install -c" 1885 break 1886 fi 1887done 1888if test -z "$ac_aux_dir"; then 1889 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../.. \"$srcdir\"/../../../.." "$LINENO" 5 1890fi 1891 1892# These three variables are undocumented and unsupported, 1893# and are intended to be withdrawn in a future Autoconf release. 1894# They can cause serious problems if a builder's source tree is in a directory 1895# whose full name contains unusual characters. 1896ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1897ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1898ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1899 1900 1901 1902 1903 1904 1905# Make sure we can run config.sub. 1906$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1907 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 1908 1909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 1910$as_echo_n "checking build system type... " >&6; } 1911if ${ac_cv_build+:} false; then : 1912 $as_echo_n "(cached) " >&6 1913else 1914 ac_build_alias=$build_alias 1915test "x$ac_build_alias" = x && 1916 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1917test "x$ac_build_alias" = x && 1918 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 1919ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1920 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 1921 1922fi 1923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 1924$as_echo "$ac_cv_build" >&6; } 1925case $ac_cv_build in 1926*-*-*) ;; 1927*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 1928esac 1929build=$ac_cv_build 1930ac_save_IFS=$IFS; IFS='-' 1931set x $ac_cv_build 1932shift 1933build_cpu=$1 1934build_vendor=$2 1935shift; shift 1936# Remember, the first character of IFS is used to create $*, 1937# except with old shells: 1938build_os=$* 1939IFS=$ac_save_IFS 1940case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1941 1942 1943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 1944$as_echo_n "checking host system type... " >&6; } 1945if ${ac_cv_host+:} false; then : 1946 $as_echo_n "(cached) " >&6 1947else 1948 if test "x$host_alias" = x; then 1949 ac_cv_host=$ac_cv_build 1950else 1951 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1952 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 1953fi 1954 1955fi 1956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 1957$as_echo "$ac_cv_host" >&6; } 1958case $ac_cv_host in 1959*-*-*) ;; 1960*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 1961esac 1962host=$ac_cv_host 1963ac_save_IFS=$IFS; IFS='-' 1964set x $ac_cv_host 1965shift 1966host_cpu=$1 1967host_vendor=$2 1968shift; shift 1969# Remember, the first character of IFS is used to create $*, 1970# except with old shells: 1971host_os=$* 1972IFS=$ac_save_IFS 1973case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1974 1975 1976am__api_version='1.11' 1977 1978# Find a good install program. We prefer a C program (faster), 1979# so one script is as good as another. But avoid the broken or 1980# incompatible versions: 1981# SysV /etc/install, /usr/sbin/install 1982# SunOS /usr/etc/install 1983# IRIX /sbin/install 1984# AIX /bin/install 1985# AmigaOS /C/install, which installs bootblocks on floppy discs 1986# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1987# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1988# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1989# OS/2's system install, which has a completely different semantic 1990# ./install, which can be erroneously created by make from ./install.sh. 1991# Reject install programs that cannot install multiple files. 1992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1993$as_echo_n "checking for a BSD-compatible install... " >&6; } 1994if test -z "$INSTALL"; then 1995if ${ac_cv_path_install+:} false; then : 1996 $as_echo_n "(cached) " >&6 1997else 1998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1999for as_dir in $PATH 2000do 2001 IFS=$as_save_IFS 2002 test -z "$as_dir" && as_dir=. 2003 # Account for people who put trailing slashes in PATH elements. 2004case $as_dir/ in #(( 2005 ./ | .// | /[cC]/* | \ 2006 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2007 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2008 /usr/ucb/* ) ;; 2009 *) 2010 # OSF1 and SCO ODT 3.0 have their own names for install. 2011 # Don't use installbsd from OSF since it installs stuff as root 2012 # by default. 2013 for ac_prog in ginstall scoinst install; do 2014 for ac_exec_ext in '' $ac_executable_extensions; do 2015 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2016 if test $ac_prog = install && 2017 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2018 # AIX install. It has an incompatible calling convention. 2019 : 2020 elif test $ac_prog = install && 2021 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2022 # program-specific install script used by HP pwplus--don't use. 2023 : 2024 else 2025 rm -rf conftest.one conftest.two conftest.dir 2026 echo one > conftest.one 2027 echo two > conftest.two 2028 mkdir conftest.dir 2029 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2030 test -s conftest.one && test -s conftest.two && 2031 test -s conftest.dir/conftest.one && 2032 test -s conftest.dir/conftest.two 2033 then 2034 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2035 break 3 2036 fi 2037 fi 2038 fi 2039 done 2040 done 2041 ;; 2042esac 2043 2044 done 2045IFS=$as_save_IFS 2046 2047rm -rf conftest.one conftest.two conftest.dir 2048 2049fi 2050 if test "${ac_cv_path_install+set}" = set; then 2051 INSTALL=$ac_cv_path_install 2052 else 2053 # As a last resort, use the slow shell script. Don't cache a 2054 # value for INSTALL within a source directory, because that will 2055 # break other packages using the cache if that directory is 2056 # removed, or if the value is a relative name. 2057 INSTALL=$ac_install_sh 2058 fi 2059fi 2060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2061$as_echo "$INSTALL" >&6; } 2062 2063# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2064# It thinks the first close brace ends the variable substitution. 2065test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2066 2067test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2068 2069test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2070 2071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2072$as_echo_n "checking whether build environment is sane... " >&6; } 2073# Just in case 2074sleep 1 2075echo timestamp > conftest.file 2076# Reject unsafe characters in $srcdir or the absolute working directory 2077# name. Accept space and tab only in the latter. 2078am_lf=' 2079' 2080case `pwd` in 2081 *[\\\"\#\$\&\'\`$am_lf]*) 2082 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2083esac 2084case $srcdir in 2085 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2086 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2087esac 2088 2089# Do `set' in a subshell so we don't clobber the current shell's 2090# arguments. Must try -L first in case configure is actually a 2091# symlink; some systems play weird games with the mod time of symlinks 2092# (eg FreeBSD returns the mod time of the symlink's containing 2093# directory). 2094if ( 2095 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2096 if test "$*" = "X"; then 2097 # -L didn't work. 2098 set X `ls -t "$srcdir/configure" conftest.file` 2099 fi 2100 rm -f conftest.file 2101 if test "$*" != "X $srcdir/configure conftest.file" \ 2102 && test "$*" != "X conftest.file $srcdir/configure"; then 2103 2104 # If neither matched, then we have a broken ls. This can happen 2105 # if, for instance, CONFIG_SHELL is bash and it inherits a 2106 # broken ls alias from the environment. This has actually 2107 # happened. Such a system could not be considered "sane". 2108 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2109alias in your environment" "$LINENO" 5 2110 fi 2111 2112 test "$2" = conftest.file 2113 ) 2114then 2115 # Ok. 2116 : 2117else 2118 as_fn_error $? "newly created file is older than distributed files! 2119Check your system clock" "$LINENO" 5 2120fi 2121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2122$as_echo "yes" >&6; } 2123test "$program_prefix" != NONE && 2124 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2125# Use a double $ so make ignores it. 2126test "$program_suffix" != NONE && 2127 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2128# Double any \ or $. 2129# By default was `s,x,x', remove it if useless. 2130ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2131program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2132 2133# expand $ac_aux_dir to an absolute path 2134am_aux_dir=`cd $ac_aux_dir && pwd` 2135 2136if test x"${MISSING+set}" != xset; then 2137 case $am_aux_dir in 2138 *\ * | *\ *) 2139 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2140 *) 2141 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2142 esac 2143fi 2144# Use eval to expand $SHELL 2145if eval "$MISSING --run true"; then 2146 am_missing_run="$MISSING --run " 2147else 2148 am_missing_run= 2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2150$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2151fi 2152 2153if test x"${install_sh}" != xset; then 2154 case $am_aux_dir in 2155 *\ * | *\ *) 2156 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2157 *) 2158 install_sh="\${SHELL} $am_aux_dir/install-sh" 2159 esac 2160fi 2161 2162# Installed binaries are usually stripped using `strip' when the user 2163# run `make install-strip'. However `strip' might not be the right 2164# tool to use in cross-compilation environments, therefore Automake 2165# will honor the `STRIP' environment variable to overrule this program. 2166if test "$cross_compiling" != no; then 2167 if test -n "$ac_tool_prefix"; then 2168 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2169set dummy ${ac_tool_prefix}strip; ac_word=$2 2170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2171$as_echo_n "checking for $ac_word... " >&6; } 2172if ${ac_cv_prog_STRIP+:} false; then : 2173 $as_echo_n "(cached) " >&6 2174else 2175 if test -n "$STRIP"; then 2176 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2177else 2178as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2179for as_dir in $PATH 2180do 2181 IFS=$as_save_IFS 2182 test -z "$as_dir" && as_dir=. 2183 for ac_exec_ext in '' $ac_executable_extensions; do 2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2185 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2187 break 2 2188 fi 2189done 2190 done 2191IFS=$as_save_IFS 2192 2193fi 2194fi 2195STRIP=$ac_cv_prog_STRIP 2196if test -n "$STRIP"; then 2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2198$as_echo "$STRIP" >&6; } 2199else 2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2201$as_echo "no" >&6; } 2202fi 2203 2204 2205fi 2206if test -z "$ac_cv_prog_STRIP"; then 2207 ac_ct_STRIP=$STRIP 2208 # Extract the first word of "strip", so it can be a program name with args. 2209set dummy strip; ac_word=$2 2210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2211$as_echo_n "checking for $ac_word... " >&6; } 2212if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2213 $as_echo_n "(cached) " >&6 2214else 2215 if test -n "$ac_ct_STRIP"; then 2216 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2217else 2218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2219for as_dir in $PATH 2220do 2221 IFS=$as_save_IFS 2222 test -z "$as_dir" && as_dir=. 2223 for ac_exec_ext in '' $ac_executable_extensions; do 2224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2225 ac_cv_prog_ac_ct_STRIP="strip" 2226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2227 break 2 2228 fi 2229done 2230 done 2231IFS=$as_save_IFS 2232 2233fi 2234fi 2235ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2236if test -n "$ac_ct_STRIP"; then 2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2238$as_echo "$ac_ct_STRIP" >&6; } 2239else 2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2241$as_echo "no" >&6; } 2242fi 2243 2244 if test "x$ac_ct_STRIP" = x; then 2245 STRIP=":" 2246 else 2247 case $cross_compiling:$ac_tool_warned in 2248yes:) 2249{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2250$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2251ac_tool_warned=yes ;; 2252esac 2253 STRIP=$ac_ct_STRIP 2254 fi 2255else 2256 STRIP="$ac_cv_prog_STRIP" 2257fi 2258 2259fi 2260INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2261 2262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2263$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2264if test -z "$MKDIR_P"; then 2265 if ${ac_cv_path_mkdir+:} false; then : 2266 $as_echo_n "(cached) " >&6 2267else 2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2269for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2270do 2271 IFS=$as_save_IFS 2272 test -z "$as_dir" && as_dir=. 2273 for ac_prog in mkdir gmkdir; do 2274 for ac_exec_ext in '' $ac_executable_extensions; do 2275 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2276 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2277 'mkdir (GNU coreutils) '* | \ 2278 'mkdir (coreutils) '* | \ 2279 'mkdir (fileutils) '4.1*) 2280 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2281 break 3;; 2282 esac 2283 done 2284 done 2285 done 2286IFS=$as_save_IFS 2287 2288fi 2289 2290 test -d ./--version && rmdir ./--version 2291 if test "${ac_cv_path_mkdir+set}" = set; then 2292 MKDIR_P="$ac_cv_path_mkdir -p" 2293 else 2294 # As a last resort, use the slow shell script. Don't cache a 2295 # value for MKDIR_P within a source directory, because that will 2296 # break other packages using the cache if that directory is 2297 # removed, or if the value is a relative name. 2298 MKDIR_P="$ac_install_sh -d" 2299 fi 2300fi 2301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2302$as_echo "$MKDIR_P" >&6; } 2303 2304mkdir_p="$MKDIR_P" 2305case $mkdir_p in 2306 [\\/$]* | ?:[\\/]*) ;; 2307 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2308esac 2309 2310for ac_prog in gawk mawk nawk awk 2311do 2312 # Extract the first word of "$ac_prog", so it can be a program name with args. 2313set dummy $ac_prog; ac_word=$2 2314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2315$as_echo_n "checking for $ac_word... " >&6; } 2316if ${ac_cv_prog_AWK+:} false; then : 2317 $as_echo_n "(cached) " >&6 2318else 2319 if test -n "$AWK"; then 2320 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2321else 2322as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2323for as_dir in $PATH 2324do 2325 IFS=$as_save_IFS 2326 test -z "$as_dir" && as_dir=. 2327 for ac_exec_ext in '' $ac_executable_extensions; do 2328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2329 ac_cv_prog_AWK="$ac_prog" 2330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2331 break 2 2332 fi 2333done 2334 done 2335IFS=$as_save_IFS 2336 2337fi 2338fi 2339AWK=$ac_cv_prog_AWK 2340if test -n "$AWK"; then 2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2342$as_echo "$AWK" >&6; } 2343else 2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2345$as_echo "no" >&6; } 2346fi 2347 2348 2349 test -n "$AWK" && break 2350done 2351 2352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2353$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2354set x ${MAKE-make} 2355ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2356if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2357 $as_echo_n "(cached) " >&6 2358else 2359 cat >conftest.make <<\_ACEOF 2360SHELL = /bin/sh 2361all: 2362 @echo '@@@%%%=$(MAKE)=@@@%%%' 2363_ACEOF 2364# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2365case `${MAKE-make} -f conftest.make 2>/dev/null` in 2366 *@@@%%%=?*=@@@%%%*) 2367 eval ac_cv_prog_make_${ac_make}_set=yes;; 2368 *) 2369 eval ac_cv_prog_make_${ac_make}_set=no;; 2370esac 2371rm -f conftest.make 2372fi 2373if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2375$as_echo "yes" >&6; } 2376 SET_MAKE= 2377else 2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2379$as_echo "no" >&6; } 2380 SET_MAKE="MAKE=${MAKE-make}" 2381fi 2382 2383rm -rf .tst 2>/dev/null 2384mkdir .tst 2>/dev/null 2385if test -d .tst; then 2386 am__leading_dot=. 2387else 2388 am__leading_dot=_ 2389fi 2390rmdir .tst 2>/dev/null 2391 2392DEPDIR="${am__leading_dot}deps" 2393 2394ac_config_commands="$ac_config_commands depfiles" 2395 2396 2397am_make=${MAKE-make} 2398cat > confinc << 'END' 2399am__doit: 2400 @echo this is the am__doit target 2401.PHONY: am__doit 2402END 2403# If we don't find an include directive, just comment out the code. 2404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2405$as_echo_n "checking for style of include used by $am_make... " >&6; } 2406am__include="#" 2407am__quote= 2408_am_result=none 2409# First try GNU make style include. 2410echo "include confinc" > confmf 2411# Ignore all kinds of additional output from `make'. 2412case `$am_make -s -f confmf 2> /dev/null` in #( 2413*the\ am__doit\ target*) 2414 am__include=include 2415 am__quote= 2416 _am_result=GNU 2417 ;; 2418esac 2419# Now try BSD make style include. 2420if test "$am__include" = "#"; then 2421 echo '.include "confinc"' > confmf 2422 case `$am_make -s -f confmf 2> /dev/null` in #( 2423 *the\ am__doit\ target*) 2424 am__include=.include 2425 am__quote="\"" 2426 _am_result=BSD 2427 ;; 2428 esac 2429fi 2430 2431 2432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2433$as_echo "$_am_result" >&6; } 2434rm -f confinc confmf 2435 2436# Check whether --enable-dependency-tracking was given. 2437if test "${enable_dependency_tracking+set}" = set; then : 2438 enableval=$enable_dependency_tracking; 2439fi 2440 2441if test "x$enable_dependency_tracking" != xno; then 2442 am_depcomp="$ac_aux_dir/depcomp" 2443 AMDEPBACKSLASH='\' 2444 am__nodep='_no' 2445fi 2446 if test "x$enable_dependency_tracking" != xno; then 2447 AMDEP_TRUE= 2448 AMDEP_FALSE='#' 2449else 2450 AMDEP_TRUE='#' 2451 AMDEP_FALSE= 2452fi 2453 2454 2455 2456# Check whether --enable-multilib was given. 2457if test "${enable_multilib+set}" = set; then : 2458 enableval=$enable_multilib; case "${enableval}" in 2459 yes) multilib=yes ;; 2460 no) multilib=no ;; 2461 *) as_fn_error $? "bad value ${enableval} for multilib option" "$LINENO" 5 ;; 2462 esac 2463else 2464 multilib=yes 2465fi 2466 2467# Check whether --enable-target-optspace was given. 2468if test "${enable_target_optspace+set}" = set; then : 2469 enableval=$enable_target_optspace; case "${enableval}" in 2470 yes) target_optspace=yes ;; 2471 no) target_optspace=no ;; 2472 *) as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;; 2473 esac 2474else 2475 target_optspace= 2476fi 2477 2478# Check whether --enable-malloc-debugging was given. 2479if test "${enable_malloc_debugging+set}" = set; then : 2480 enableval=$enable_malloc_debugging; case "${enableval}" in 2481 yes) malloc_debugging=yes ;; 2482 no) malloc_debugging=no ;; 2483 *) as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;; 2484 esac 2485else 2486 malloc_debugging= 2487fi 2488 2489# Check whether --enable-newlib-multithread was given. 2490if test "${enable_newlib_multithread+set}" = set; then : 2491 enableval=$enable_newlib_multithread; case "${enableval}" in 2492 yes) newlib_multithread=yes ;; 2493 no) newlib_multithread=no ;; 2494 *) as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;; 2495 esac 2496else 2497 newlib_multithread=yes 2498fi 2499 2500# Check whether --enable-newlib-iconv was given. 2501if test "${enable_newlib_iconv+set}" = set; then : 2502 enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then 2503 case "${enableval}" in 2504 yes) newlib_iconv=yes ;; 2505 no) newlib_iconv=no ;; 2506 *) as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;; 2507 esac 2508 fi 2509else 2510 newlib_iconv=${newlib_iconv} 2511fi 2512 2513# Check whether --enable-newlib-elix-level was given. 2514if test "${enable_newlib_elix_level+set}" = set; then : 2515 enableval=$enable_newlib_elix_level; case "${enableval}" in 2516 0) newlib_elix_level=0 ;; 2517 1) newlib_elix_level=1 ;; 2518 2) newlib_elix_level=2 ;; 2519 3) newlib_elix_level=3 ;; 2520 4) newlib_elix_level=4 ;; 2521 *) as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;; 2522 esac 2523else 2524 newlib_elix_level=0 2525fi 2526 2527# Check whether --enable-newlib-io-float was given. 2528if test "${enable_newlib_io_float+set}" = set; then : 2529 enableval=$enable_newlib_io_float; case "${enableval}" in 2530 yes) newlib_io_float=yes ;; 2531 no) newlib_io_float=no ;; 2532 *) as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;; 2533 esac 2534else 2535 newlib_io_float=yes 2536fi 2537 2538# Check whether --enable-newlib-supplied-syscalls was given. 2539if test "${enable_newlib_supplied_syscalls+set}" = set; then : 2540 enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in 2541 yes) newlib_may_supply_syscalls=yes ;; 2542 no) newlib_may_supply_syscalls=no ;; 2543 *) as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;; 2544 esac 2545else 2546 newlib_may_supply_syscalls=yes 2547fi 2548 2549 if test x${newlib_may_supply_syscalls} = xyes; then 2550 MAY_SUPPLY_SYSCALLS_TRUE= 2551 MAY_SUPPLY_SYSCALLS_FALSE='#' 2552else 2553 MAY_SUPPLY_SYSCALLS_TRUE='#' 2554 MAY_SUPPLY_SYSCALLS_FALSE= 2555fi 2556 2557 2558 2559test -z "${with_target_subdir}" && with_target_subdir=. 2560 2561if test "${srcdir}" = "."; then 2562 if test "${with_target_subdir}" != "."; then 2563 newlib_basedir="${srcdir}/${with_multisrctop}../../../.." 2564 else 2565 newlib_basedir="${srcdir}/${with_multisrctop}../../.." 2566 fi 2567else 2568 newlib_basedir="${srcdir}/../../.." 2569fi 2570 2571 2572 2573 2574if test "`cd $srcdir && pwd`" != "`pwd`"; then 2575 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2576 # is not polluted with repeated "-I." 2577 am__isrc=' -I$(srcdir)' 2578 # test to see if srcdir already configured 2579 if test -f $srcdir/config.status; then 2580 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2581 fi 2582fi 2583 2584# test whether we have cygpath 2585if test -z "$CYGPATH_W"; then 2586 if (cygpath --version) >/dev/null 2>/dev/null; then 2587 CYGPATH_W='cygpath -w' 2588 else 2589 CYGPATH_W=echo 2590 fi 2591fi 2592 2593 2594# Define the identity of the package. 2595 PACKAGE='newlib' 2596 VERSION='2.4.0' 2597 2598 2599# Some tools Automake needs. 2600 2601ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2602 2603 2604AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2605 2606 2607AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2608 2609 2610AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2611 2612 2613MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2614 2615# We need awk for the "check" target. The system "awk" is bad on 2616# some platforms. 2617# Always define AMTAR for backward compatibility. Yes, it's still used 2618# in the wild :-( We should find a proper way to deprecate it ... 2619AMTAR='$${TAR-tar}' 2620 2621am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2622 2623 2624 2625 2626 2627 2628# FIXME: We temporarily define our own version of AC_PROG_CC. This is 2629# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We 2630# are probably using a cross compiler, which will not be able to fully 2631# link an executable. This should really be fixed in autoconf 2632# itself. 2633 2634 2635 2636 2637 2638 2639 2640# Extract the first word of "gcc", so it can be a program name with args. 2641set dummy gcc; ac_word=$2 2642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2643$as_echo_n "checking for $ac_word... " >&6; } 2644if ${ac_cv_prog_CC+:} false; then : 2645 $as_echo_n "(cached) " >&6 2646else 2647 if test -n "$CC"; then 2648 ac_cv_prog_CC="$CC" # Let the user override the test. 2649else 2650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2651for as_dir in $PATH 2652do 2653 IFS=$as_save_IFS 2654 test -z "$as_dir" && as_dir=. 2655 for ac_exec_ext in '' $ac_executable_extensions; do 2656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2657 ac_cv_prog_CC="gcc" 2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2659 break 2 2660 fi 2661done 2662 done 2663IFS=$as_save_IFS 2664 2665fi 2666fi 2667CC=$ac_cv_prog_CC 2668if test -n "$CC"; then 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2670$as_echo "$CC" >&6; } 2671else 2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2673$as_echo "no" >&6; } 2674fi 2675 2676 2677 2678depcc="$CC" am_compiler_list= 2679 2680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 2681$as_echo_n "checking dependency style of $depcc... " >&6; } 2682if ${am_cv_CC_dependencies_compiler_type+:} false; then : 2683 $as_echo_n "(cached) " >&6 2684else 2685 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2686 # We make a subdir and do the tests there. Otherwise we can end up 2687 # making bogus files that we don't know about and never remove. For 2688 # instance it was reported that on HP-UX the gcc test will end up 2689 # making a dummy file named `D' -- because `-MD' means `put the output 2690 # in D'. 2691 rm -rf conftest.dir 2692 mkdir conftest.dir 2693 # Copy depcomp to subdir because otherwise we won't find it if we're 2694 # using a relative directory. 2695 cp "$am_depcomp" conftest.dir 2696 cd conftest.dir 2697 # We will build objects and dependencies in a subdirectory because 2698 # it helps to detect inapplicable dependency modes. For instance 2699 # both Tru64's cc and ICC support -MD to output dependencies as a 2700 # side effect of compilation, but ICC will put the dependencies in 2701 # the current directory while Tru64 will put them in the object 2702 # directory. 2703 mkdir sub 2704 2705 am_cv_CC_dependencies_compiler_type=none 2706 if test "$am_compiler_list" = ""; then 2707 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2708 fi 2709 am__universal=false 2710 case " $depcc " in #( 2711 *\ -arch\ *\ -arch\ *) am__universal=true ;; 2712 esac 2713 2714 for depmode in $am_compiler_list; do 2715 # Setup a source with many dependencies, because some compilers 2716 # like to wrap large dependency lists on column 80 (with \), and 2717 # we should not choose a depcomp mode which is confused by this. 2718 # 2719 # We need to recreate these files for each test, as the compiler may 2720 # overwrite some of them when testing with obscure command lines. 2721 # This happens at least with the AIX C compiler. 2722 : > sub/conftest.c 2723 for i in 1 2 3 4 5 6; do 2724 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2725 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2726 # Solaris 8's {/usr,}/bin/sh. 2727 touch sub/conftst$i.h 2728 done 2729 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2730 2731 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2732 # mode. It turns out that the SunPro C++ compiler does not properly 2733 # handle `-M -o', and we need to detect this. Also, some Intel 2734 # versions had trouble with output in subdirs 2735 am__obj=sub/conftest.${OBJEXT-o} 2736 am__minus_obj="-o $am__obj" 2737 case $depmode in 2738 gcc) 2739 # This depmode causes a compiler race in universal mode. 2740 test "$am__universal" = false || continue 2741 ;; 2742 nosideeffect) 2743 # after this tag, mechanisms are not by side-effect, so they'll 2744 # only be used when explicitly requested 2745 if test "x$enable_dependency_tracking" = xyes; then 2746 continue 2747 else 2748 break 2749 fi 2750 ;; 2751 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 2752 # This compiler won't grok `-c -o', but also, the minuso test has 2753 # not run yet. These depmodes are late enough in the game, and 2754 # so weak that their functioning should not be impacted. 2755 am__obj=conftest.${OBJEXT-o} 2756 am__minus_obj= 2757 ;; 2758 none) break ;; 2759 esac 2760 if depmode=$depmode \ 2761 source=sub/conftest.c object=$am__obj \ 2762 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2763 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 2764 >/dev/null 2>conftest.err && 2765 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 2766 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2767 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 2768 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2769 # icc doesn't choke on unknown options, it will just issue warnings 2770 # or remarks (even with -Werror). So we grep stderr for any message 2771 # that says an option was ignored or not supported. 2772 # When given -MP, icc 7.0 and 7.1 complain thusly: 2773 # icc: Command line warning: ignoring option '-M'; no argument required 2774 # The diagnosis changed in icc 8.0: 2775 # icc: Command line remark: option '-MP' not supported 2776 if (grep 'ignoring option' conftest.err || 2777 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2778 am_cv_CC_dependencies_compiler_type=$depmode 2779 break 2780 fi 2781 fi 2782 done 2783 2784 cd .. 2785 rm -rf conftest.dir 2786else 2787 am_cv_CC_dependencies_compiler_type=none 2788fi 2789 2790fi 2791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 2792$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 2793CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2794 2795 if 2796 test "x$enable_dependency_tracking" != xno \ 2797 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 2798 am__fastdepCC_TRUE= 2799 am__fastdepCC_FALSE='#' 2800else 2801 am__fastdepCC_TRUE='#' 2802 am__fastdepCC_FALSE= 2803fi 2804 2805 2806if test -z "$CC"; then 2807 # Extract the first word of "cc", so it can be a program name with args. 2808set dummy cc; ac_word=$2 2809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2810$as_echo_n "checking for $ac_word... " >&6; } 2811if ${ac_cv_prog_CC+:} false; then : 2812 $as_echo_n "(cached) " >&6 2813else 2814 if test -n "$CC"; then 2815 ac_cv_prog_CC="$CC" # Let the user override the test. 2816else 2817 ac_prog_rejected=no 2818as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2819for as_dir in $PATH 2820do 2821 IFS=$as_save_IFS 2822 test -z "$as_dir" && as_dir=. 2823 for ac_exec_ext in '' $ac_executable_extensions; do 2824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2825 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2826 ac_prog_rejected=yes 2827 continue 2828 fi 2829 ac_cv_prog_CC="cc" 2830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2831 break 2 2832 fi 2833done 2834 done 2835IFS=$as_save_IFS 2836 2837if test $ac_prog_rejected = yes; then 2838 # We found a bogon in the path, so make sure we never use it. 2839 set dummy $ac_cv_prog_CC 2840 shift 2841 if test $# != 0; then 2842 # We chose a different compiler from the bogus one. 2843 # However, it has the same basename, so the bogon will be chosen 2844 # first if we set CC to just the basename; use the full file name. 2845 shift 2846 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2847 fi 2848fi 2849fi 2850fi 2851CC=$ac_cv_prog_CC 2852if test -n "$CC"; then 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2854$as_echo "$CC" >&6; } 2855else 2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2857$as_echo "no" >&6; } 2858fi 2859 2860 2861 test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5 2862fi 2863 2864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5 2865$as_echo_n "checking whether we are using GNU C... " >&6; } 2866if ${ac_cv_c_compiler_gnu+:} false; then : 2867 $as_echo_n "(cached) " >&6 2868else 2869 cat > conftest.c <<EOF 2870#ifdef __GNUC__ 2871 yes; 2872#endif 2873EOF 2874if { ac_try='${CC-cc} -E conftest.c' 2875 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 2876 (eval $ac_try) 2>&5 2877 ac_status=$? 2878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2879 test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then 2880 ac_cv_c_compiler_gnu=yes 2881else 2882 ac_cv_c_compiler_gnu=no 2883fi 2884fi 2885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2886$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2887 2888if test $ac_cv_c_compiler_gnu = yes; then 2889 GCC=yes 2890 ac_test_CFLAGS="${CFLAGS+set}" 2891 ac_save_CFLAGS="$CFLAGS" 2892 ac_test_CFLAGS=${CFLAGS+set} 2893ac_save_CFLAGS=$CFLAGS 2894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2895$as_echo_n "checking whether $CC accepts -g... " >&6; } 2896if ${ac_cv_prog_cc_g+:} false; then : 2897 $as_echo_n "(cached) " >&6 2898else 2899 ac_save_c_werror_flag=$ac_c_werror_flag 2900 ac_c_werror_flag=yes 2901 ac_cv_prog_cc_g=no 2902 CFLAGS="-g" 2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2904/* end confdefs.h. */ 2905 2906int 2907main () 2908{ 2909 2910 ; 2911 return 0; 2912} 2913_ACEOF 2914if ac_fn_c_try_compile "$LINENO"; then : 2915 ac_cv_prog_cc_g=yes 2916else 2917 CFLAGS="" 2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2919/* end confdefs.h. */ 2920 2921int 2922main () 2923{ 2924 2925 ; 2926 return 0; 2927} 2928_ACEOF 2929if ac_fn_c_try_compile "$LINENO"; then : 2930 2931else 2932 ac_c_werror_flag=$ac_save_c_werror_flag 2933 CFLAGS="-g" 2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2935/* end confdefs.h. */ 2936 2937int 2938main () 2939{ 2940 2941 ; 2942 return 0; 2943} 2944_ACEOF 2945if ac_fn_c_try_compile "$LINENO"; then : 2946 ac_cv_prog_cc_g=yes 2947fi 2948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2949fi 2950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2951fi 2952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2953 ac_c_werror_flag=$ac_save_c_werror_flag 2954fi 2955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2956$as_echo "$ac_cv_prog_cc_g" >&6; } 2957if test "$ac_test_CFLAGS" = set; then 2958 CFLAGS=$ac_save_CFLAGS 2959elif test $ac_cv_prog_cc_g = yes; then 2960 if test "$GCC" = yes; then 2961 CFLAGS="-g -O2" 2962 else 2963 CFLAGS="-g" 2964 fi 2965else 2966 if test "$GCC" = yes; then 2967 CFLAGS="-O2" 2968 else 2969 CFLAGS= 2970 fi 2971fi 2972 if test "$ac_test_CFLAGS" = set; then 2973 CFLAGS="$ac_save_CFLAGS" 2974 elif test $ac_cv_prog_cc_g = yes; then 2975 CFLAGS="-g -O2" 2976 else 2977 CFLAGS="-O2" 2978 fi 2979else 2980 GCC= 2981 test "${CFLAGS+set}" = set || CFLAGS="-g" 2982fi 2983 2984 2985if test -n "$ac_tool_prefix"; then 2986 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 2987set dummy ${ac_tool_prefix}as; ac_word=$2 2988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2989$as_echo_n "checking for $ac_word... " >&6; } 2990if ${ac_cv_prog_AS+:} false; then : 2991 $as_echo_n "(cached) " >&6 2992else 2993 if test -n "$AS"; then 2994 ac_cv_prog_AS="$AS" # Let the user override the test. 2995else 2996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2997for as_dir in $PATH 2998do 2999 IFS=$as_save_IFS 3000 test -z "$as_dir" && as_dir=. 3001 for ac_exec_ext in '' $ac_executable_extensions; do 3002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3003 ac_cv_prog_AS="${ac_tool_prefix}as" 3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3005 break 2 3006 fi 3007done 3008 done 3009IFS=$as_save_IFS 3010 3011fi 3012fi 3013AS=$ac_cv_prog_AS 3014if test -n "$AS"; then 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 3016$as_echo "$AS" >&6; } 3017else 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3019$as_echo "no" >&6; } 3020fi 3021 3022 3023fi 3024if test -z "$ac_cv_prog_AS"; then 3025 ac_ct_AS=$AS 3026 # Extract the first word of "as", so it can be a program name with args. 3027set dummy as; ac_word=$2 3028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3029$as_echo_n "checking for $ac_word... " >&6; } 3030if ${ac_cv_prog_ac_ct_AS+:} false; then : 3031 $as_echo_n "(cached) " >&6 3032else 3033 if test -n "$ac_ct_AS"; then 3034 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 3035else 3036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3037for as_dir in $PATH 3038do 3039 IFS=$as_save_IFS 3040 test -z "$as_dir" && as_dir=. 3041 for ac_exec_ext in '' $ac_executable_extensions; do 3042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3043 ac_cv_prog_ac_ct_AS="as" 3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3045 break 2 3046 fi 3047done 3048 done 3049IFS=$as_save_IFS 3050 3051fi 3052fi 3053ac_ct_AS=$ac_cv_prog_ac_ct_AS 3054if test -n "$ac_ct_AS"; then 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 3056$as_echo "$ac_ct_AS" >&6; } 3057else 3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3059$as_echo "no" >&6; } 3060fi 3061 3062 if test "x$ac_ct_AS" = x; then 3063 AS="" 3064 else 3065 case $cross_compiling:$ac_tool_warned in 3066yes:) 3067{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3068$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3069ac_tool_warned=yes ;; 3070esac 3071 AS=$ac_ct_AS 3072 fi 3073else 3074 AS="$ac_cv_prog_AS" 3075fi 3076 3077if test -n "$ac_tool_prefix"; then 3078 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 3079set dummy ${ac_tool_prefix}ar; ac_word=$2 3080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3081$as_echo_n "checking for $ac_word... " >&6; } 3082if ${ac_cv_prog_AR+:} false; then : 3083 $as_echo_n "(cached) " >&6 3084else 3085 if test -n "$AR"; then 3086 ac_cv_prog_AR="$AR" # Let the user override the test. 3087else 3088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3089for as_dir in $PATH 3090do 3091 IFS=$as_save_IFS 3092 test -z "$as_dir" && as_dir=. 3093 for ac_exec_ext in '' $ac_executable_extensions; do 3094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3095 ac_cv_prog_AR="${ac_tool_prefix}ar" 3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3097 break 2 3098 fi 3099done 3100 done 3101IFS=$as_save_IFS 3102 3103fi 3104fi 3105AR=$ac_cv_prog_AR 3106if test -n "$AR"; then 3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 3108$as_echo "$AR" >&6; } 3109else 3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3111$as_echo "no" >&6; } 3112fi 3113 3114 3115fi 3116if test -z "$ac_cv_prog_AR"; then 3117 ac_ct_AR=$AR 3118 # Extract the first word of "ar", so it can be a program name with args. 3119set dummy ar; ac_word=$2 3120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3121$as_echo_n "checking for $ac_word... " >&6; } 3122if ${ac_cv_prog_ac_ct_AR+:} false; then : 3123 $as_echo_n "(cached) " >&6 3124else 3125 if test -n "$ac_ct_AR"; then 3126 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 3127else 3128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3129for as_dir in $PATH 3130do 3131 IFS=$as_save_IFS 3132 test -z "$as_dir" && as_dir=. 3133 for ac_exec_ext in '' $ac_executable_extensions; do 3134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3135 ac_cv_prog_ac_ct_AR="ar" 3136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3137 break 2 3138 fi 3139done 3140 done 3141IFS=$as_save_IFS 3142 3143fi 3144fi 3145ac_ct_AR=$ac_cv_prog_ac_ct_AR 3146if test -n "$ac_ct_AR"; then 3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 3148$as_echo "$ac_ct_AR" >&6; } 3149else 3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3151$as_echo "no" >&6; } 3152fi 3153 3154 if test "x$ac_ct_AR" = x; then 3155 AR="" 3156 else 3157 case $cross_compiling:$ac_tool_warned in 3158yes:) 3159{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3160$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3161ac_tool_warned=yes ;; 3162esac 3163 AR=$ac_ct_AR 3164 fi 3165else 3166 AR="$ac_cv_prog_AR" 3167fi 3168 3169if test -n "$ac_tool_prefix"; then 3170 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3171set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3173$as_echo_n "checking for $ac_word... " >&6; } 3174if ${ac_cv_prog_RANLIB+:} false; then : 3175 $as_echo_n "(cached) " >&6 3176else 3177 if test -n "$RANLIB"; then 3178 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3179else 3180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3181for as_dir in $PATH 3182do 3183 IFS=$as_save_IFS 3184 test -z "$as_dir" && as_dir=. 3185 for ac_exec_ext in '' $ac_executable_extensions; do 3186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3187 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3189 break 2 3190 fi 3191done 3192 done 3193IFS=$as_save_IFS 3194 3195fi 3196fi 3197RANLIB=$ac_cv_prog_RANLIB 3198if test -n "$RANLIB"; then 3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3200$as_echo "$RANLIB" >&6; } 3201else 3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3203$as_echo "no" >&6; } 3204fi 3205 3206 3207fi 3208if test -z "$ac_cv_prog_RANLIB"; then 3209 ac_ct_RANLIB=$RANLIB 3210 # Extract the first word of "ranlib", so it can be a program name with args. 3211set dummy ranlib; ac_word=$2 3212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3213$as_echo_n "checking for $ac_word... " >&6; } 3214if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3215 $as_echo_n "(cached) " >&6 3216else 3217 if test -n "$ac_ct_RANLIB"; then 3218 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3219else 3220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3221for as_dir in $PATH 3222do 3223 IFS=$as_save_IFS 3224 test -z "$as_dir" && as_dir=. 3225 for ac_exec_ext in '' $ac_executable_extensions; do 3226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3227 ac_cv_prog_ac_ct_RANLIB="ranlib" 3228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3229 break 2 3230 fi 3231done 3232 done 3233IFS=$as_save_IFS 3234 3235fi 3236fi 3237ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3238if test -n "$ac_ct_RANLIB"; then 3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3240$as_echo "$ac_ct_RANLIB" >&6; } 3241else 3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3243$as_echo "no" >&6; } 3244fi 3245 3246 if test "x$ac_ct_RANLIB" = x; then 3247 RANLIB=":" 3248 else 3249 case $cross_compiling:$ac_tool_warned in 3250yes:) 3251{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3252$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3253ac_tool_warned=yes ;; 3254esac 3255 RANLIB=$ac_ct_RANLIB 3256 fi 3257else 3258 RANLIB="$ac_cv_prog_RANLIB" 3259fi 3260 3261if test -n "$ac_tool_prefix"; then 3262 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args. 3263set dummy ${ac_tool_prefix}readelf; ac_word=$2 3264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3265$as_echo_n "checking for $ac_word... " >&6; } 3266if ${ac_cv_prog_READELF+:} false; then : 3267 $as_echo_n "(cached) " >&6 3268else 3269 if test -n "$READELF"; then 3270 ac_cv_prog_READELF="$READELF" # Let the user override the test. 3271else 3272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3273for as_dir in $PATH 3274do 3275 IFS=$as_save_IFS 3276 test -z "$as_dir" && as_dir=. 3277 for ac_exec_ext in '' $ac_executable_extensions; do 3278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3279 ac_cv_prog_READELF="${ac_tool_prefix}readelf" 3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3281 break 2 3282 fi 3283done 3284 done 3285IFS=$as_save_IFS 3286 3287fi 3288fi 3289READELF=$ac_cv_prog_READELF 3290if test -n "$READELF"; then 3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5 3292$as_echo "$READELF" >&6; } 3293else 3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3295$as_echo "no" >&6; } 3296fi 3297 3298 3299fi 3300if test -z "$ac_cv_prog_READELF"; then 3301 ac_ct_READELF=$READELF 3302 # Extract the first word of "readelf", so it can be a program name with args. 3303set dummy readelf; ac_word=$2 3304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3305$as_echo_n "checking for $ac_word... " >&6; } 3306if ${ac_cv_prog_ac_ct_READELF+:} false; then : 3307 $as_echo_n "(cached) " >&6 3308else 3309 if test -n "$ac_ct_READELF"; then 3310 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test. 3311else 3312as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3313for as_dir in $PATH 3314do 3315 IFS=$as_save_IFS 3316 test -z "$as_dir" && as_dir=. 3317 for ac_exec_ext in '' $ac_executable_extensions; do 3318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3319 ac_cv_prog_ac_ct_READELF="readelf" 3320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3321 break 2 3322 fi 3323done 3324 done 3325IFS=$as_save_IFS 3326 3327fi 3328fi 3329ac_ct_READELF=$ac_cv_prog_ac_ct_READELF 3330if test -n "$ac_ct_READELF"; then 3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5 3332$as_echo "$ac_ct_READELF" >&6; } 3333else 3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3335$as_echo "no" >&6; } 3336fi 3337 3338 if test "x$ac_ct_READELF" = x; then 3339 READELF=":" 3340 else 3341 case $cross_compiling:$ac_tool_warned in 3342yes:) 3343{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3344$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3345ac_tool_warned=yes ;; 3346esac 3347 READELF=$ac_ct_READELF 3348 fi 3349else 3350 READELF="$ac_cv_prog_READELF" 3351fi 3352 3353 3354 3355 3356# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ 3357ac_given_INSTALL=$INSTALL 3358 3359 3360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3361$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3362 # Check whether --enable-maintainer-mode was given. 3363if test "${enable_maintainer_mode+set}" = set; then : 3364 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3365else 3366 USE_MAINTAINER_MODE=no 3367fi 3368 3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3370$as_echo "$USE_MAINTAINER_MODE" >&6; } 3371 if test $USE_MAINTAINER_MODE = yes; then 3372 MAINTAINER_MODE_TRUE= 3373 MAINTAINER_MODE_FALSE='#' 3374else 3375 MAINTAINER_MODE_TRUE='#' 3376 MAINTAINER_MODE_FALSE= 3377fi 3378 3379 MAINT=$MAINTAINER_MODE_TRUE 3380 3381 3382# By default we simply use the C compiler to build assembly code. 3383 3384test "${CCAS+set}" = set || CCAS=$CC 3385test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS 3386 3387 3388 3389 3390# We need AC_EXEEXT to keep automake happy in cygnus mode. However, 3391# at least currently, we never actually build a program, so we never 3392# need to use $(EXEEXT). Moreover, the test for EXEEXT normally 3393# fails, because we are probably configuring with a cross compiler 3394# which can't create executables. So we include AC_EXEEXT to keep 3395# automake happy, but we don't execute it, since we don't care about 3396# the result. 3397if false; then 3398 3399 dummy_var=1 3400fi 3401 3402. ${newlib_basedir}/configure.host 3403 3404newlib_cflags="${newlib_cflags} -fno-builtin" 3405 3406NEWLIB_CFLAGS=${newlib_cflags} 3407 3408 3409NO_INCLUDE_LIST=${noinclude} 3410 3411 3412LDFLAGS=${ldflags} 3413 3414 3415 if test x${newlib_elix_level} = x0; then 3416 ELIX_LEVEL_0_TRUE= 3417 ELIX_LEVEL_0_FALSE='#' 3418else 3419 ELIX_LEVEL_0_TRUE='#' 3420 ELIX_LEVEL_0_FALSE= 3421fi 3422 3423 if test x${newlib_elix_level} = x1; then 3424 ELIX_LEVEL_1_TRUE= 3425 ELIX_LEVEL_1_FALSE='#' 3426else 3427 ELIX_LEVEL_1_TRUE='#' 3428 ELIX_LEVEL_1_FALSE= 3429fi 3430 3431 if test x${newlib_elix_level} = x2; then 3432 ELIX_LEVEL_2_TRUE= 3433 ELIX_LEVEL_2_FALSE='#' 3434else 3435 ELIX_LEVEL_2_TRUE='#' 3436 ELIX_LEVEL_2_FALSE= 3437fi 3438 3439 if test x${newlib_elix_level} = x3; then 3440 ELIX_LEVEL_3_TRUE= 3441 ELIX_LEVEL_3_FALSE='#' 3442else 3443 ELIX_LEVEL_3_TRUE='#' 3444 ELIX_LEVEL_3_FALSE= 3445fi 3446 3447 if test x${newlib_elix_level} = x4; then 3448 ELIX_LEVEL_4_TRUE= 3449 ELIX_LEVEL_4_FALSE='#' 3450else 3451 ELIX_LEVEL_4_TRUE='#' 3452 ELIX_LEVEL_4_FALSE= 3453fi 3454 3455 3456 if test x${use_libtool} = xyes; then 3457 USE_LIBTOOL_TRUE= 3458 USE_LIBTOOL_FALSE='#' 3459else 3460 USE_LIBTOOL_TRUE='#' 3461 USE_LIBTOOL_FALSE= 3462fi 3463 3464 3465# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we 3466# use oext, which is set in configure.host based on the target platform. 3467OBJEXT=${oext} 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479ac_ext=c 3480ac_cpp='$CPP $CPPFLAGS' 3481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3483ac_compiler_gnu=$ac_cv_c_compiler_gnu 3484if test -n "$ac_tool_prefix"; then 3485 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3486set dummy ${ac_tool_prefix}gcc; ac_word=$2 3487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3488$as_echo_n "checking for $ac_word... " >&6; } 3489if ${ac_cv_prog_CC+:} false; then : 3490 $as_echo_n "(cached) " >&6 3491else 3492 if test -n "$CC"; then 3493 ac_cv_prog_CC="$CC" # Let the user override the test. 3494else 3495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3496for as_dir in $PATH 3497do 3498 IFS=$as_save_IFS 3499 test -z "$as_dir" && as_dir=. 3500 for ac_exec_ext in '' $ac_executable_extensions; do 3501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3502 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3504 break 2 3505 fi 3506done 3507 done 3508IFS=$as_save_IFS 3509 3510fi 3511fi 3512CC=$ac_cv_prog_CC 3513if test -n "$CC"; then 3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3515$as_echo "$CC" >&6; } 3516else 3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3518$as_echo "no" >&6; } 3519fi 3520 3521 3522fi 3523if test -z "$ac_cv_prog_CC"; then 3524 ac_ct_CC=$CC 3525 # Extract the first word of "gcc", so it can be a program name with args. 3526set dummy gcc; ac_word=$2 3527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3528$as_echo_n "checking for $ac_word... " >&6; } 3529if ${ac_cv_prog_ac_ct_CC+:} false; then : 3530 $as_echo_n "(cached) " >&6 3531else 3532 if test -n "$ac_ct_CC"; then 3533 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3534else 3535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3536for as_dir in $PATH 3537do 3538 IFS=$as_save_IFS 3539 test -z "$as_dir" && as_dir=. 3540 for ac_exec_ext in '' $ac_executable_extensions; do 3541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3542 ac_cv_prog_ac_ct_CC="gcc" 3543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3544 break 2 3545 fi 3546done 3547 done 3548IFS=$as_save_IFS 3549 3550fi 3551fi 3552ac_ct_CC=$ac_cv_prog_ac_ct_CC 3553if test -n "$ac_ct_CC"; then 3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3555$as_echo "$ac_ct_CC" >&6; } 3556else 3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3558$as_echo "no" >&6; } 3559fi 3560 3561 if test "x$ac_ct_CC" = x; then 3562 CC="" 3563 else 3564 case $cross_compiling:$ac_tool_warned in 3565yes:) 3566{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3567$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3568ac_tool_warned=yes ;; 3569esac 3570 CC=$ac_ct_CC 3571 fi 3572else 3573 CC="$ac_cv_prog_CC" 3574fi 3575 3576if test -z "$CC"; then 3577 if test -n "$ac_tool_prefix"; then 3578 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3579set dummy ${ac_tool_prefix}cc; ac_word=$2 3580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3581$as_echo_n "checking for $ac_word... " >&6; } 3582if ${ac_cv_prog_CC+:} false; then : 3583 $as_echo_n "(cached) " >&6 3584else 3585 if test -n "$CC"; then 3586 ac_cv_prog_CC="$CC" # Let the user override the test. 3587else 3588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3589for as_dir in $PATH 3590do 3591 IFS=$as_save_IFS 3592 test -z "$as_dir" && as_dir=. 3593 for ac_exec_ext in '' $ac_executable_extensions; do 3594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3595 ac_cv_prog_CC="${ac_tool_prefix}cc" 3596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3597 break 2 3598 fi 3599done 3600 done 3601IFS=$as_save_IFS 3602 3603fi 3604fi 3605CC=$ac_cv_prog_CC 3606if test -n "$CC"; then 3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3608$as_echo "$CC" >&6; } 3609else 3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3611$as_echo "no" >&6; } 3612fi 3613 3614 3615 fi 3616fi 3617if test -z "$CC"; then 3618 # Extract the first word of "cc", so it can be a program name with args. 3619set dummy cc; ac_word=$2 3620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3621$as_echo_n "checking for $ac_word... " >&6; } 3622if ${ac_cv_prog_CC+:} false; then : 3623 $as_echo_n "(cached) " >&6 3624else 3625 if test -n "$CC"; then 3626 ac_cv_prog_CC="$CC" # Let the user override the test. 3627else 3628 ac_prog_rejected=no 3629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3630for as_dir in $PATH 3631do 3632 IFS=$as_save_IFS 3633 test -z "$as_dir" && as_dir=. 3634 for ac_exec_ext in '' $ac_executable_extensions; do 3635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3636 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3637 ac_prog_rejected=yes 3638 continue 3639 fi 3640 ac_cv_prog_CC="cc" 3641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3642 break 2 3643 fi 3644done 3645 done 3646IFS=$as_save_IFS 3647 3648if test $ac_prog_rejected = yes; then 3649 # We found a bogon in the path, so make sure we never use it. 3650 set dummy $ac_cv_prog_CC 3651 shift 3652 if test $# != 0; then 3653 # We chose a different compiler from the bogus one. 3654 # However, it has the same basename, so the bogon will be chosen 3655 # first if we set CC to just the basename; use the full file name. 3656 shift 3657 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3658 fi 3659fi 3660fi 3661fi 3662CC=$ac_cv_prog_CC 3663if test -n "$CC"; then 3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3665$as_echo "$CC" >&6; } 3666else 3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3668$as_echo "no" >&6; } 3669fi 3670 3671 3672fi 3673if test -z "$CC"; then 3674 if test -n "$ac_tool_prefix"; then 3675 for ac_prog in cl.exe 3676 do 3677 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3678set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3680$as_echo_n "checking for $ac_word... " >&6; } 3681if ${ac_cv_prog_CC+:} false; then : 3682 $as_echo_n "(cached) " >&6 3683else 3684 if test -n "$CC"; then 3685 ac_cv_prog_CC="$CC" # Let the user override the test. 3686else 3687as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3688for as_dir in $PATH 3689do 3690 IFS=$as_save_IFS 3691 test -z "$as_dir" && as_dir=. 3692 for ac_exec_ext in '' $ac_executable_extensions; do 3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3694 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3696 break 2 3697 fi 3698done 3699 done 3700IFS=$as_save_IFS 3701 3702fi 3703fi 3704CC=$ac_cv_prog_CC 3705if test -n "$CC"; then 3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3707$as_echo "$CC" >&6; } 3708else 3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3710$as_echo "no" >&6; } 3711fi 3712 3713 3714 test -n "$CC" && break 3715 done 3716fi 3717if test -z "$CC"; then 3718 ac_ct_CC=$CC 3719 for ac_prog in cl.exe 3720do 3721 # Extract the first word of "$ac_prog", so it can be a program name with args. 3722set dummy $ac_prog; ac_word=$2 3723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3724$as_echo_n "checking for $ac_word... " >&6; } 3725if ${ac_cv_prog_ac_ct_CC+:} false; then : 3726 $as_echo_n "(cached) " >&6 3727else 3728 if test -n "$ac_ct_CC"; then 3729 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3730else 3731as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3732for as_dir in $PATH 3733do 3734 IFS=$as_save_IFS 3735 test -z "$as_dir" && as_dir=. 3736 for ac_exec_ext in '' $ac_executable_extensions; do 3737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3738 ac_cv_prog_ac_ct_CC="$ac_prog" 3739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3740 break 2 3741 fi 3742done 3743 done 3744IFS=$as_save_IFS 3745 3746fi 3747fi 3748ac_ct_CC=$ac_cv_prog_ac_ct_CC 3749if test -n "$ac_ct_CC"; then 3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3751$as_echo "$ac_ct_CC" >&6; } 3752else 3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3754$as_echo "no" >&6; } 3755fi 3756 3757 3758 test -n "$ac_ct_CC" && break 3759done 3760 3761 if test "x$ac_ct_CC" = x; then 3762 CC="" 3763 else 3764 case $cross_compiling:$ac_tool_warned in 3765yes:) 3766{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3767$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3768ac_tool_warned=yes ;; 3769esac 3770 CC=$ac_ct_CC 3771 fi 3772fi 3773 3774fi 3775 3776 3777test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3778$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3779as_fn_error $? "no acceptable C compiler found in \$PATH 3780See \`config.log' for more details" "$LINENO" 5; } 3781 3782# Provide some information about the compiler. 3783$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3784set X $ac_compile 3785ac_compiler=$2 3786for ac_option in --version -v -V -qversion; do 3787 { { ac_try="$ac_compiler $ac_option >&5" 3788case "(($ac_try" in 3789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3790 *) ac_try_echo=$ac_try;; 3791esac 3792eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3793$as_echo "$ac_try_echo"; } >&5 3794 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3795 ac_status=$? 3796 if test -s conftest.err; then 3797 sed '10a\ 3798... rest of stderr output deleted ... 3799 10q' conftest.err >conftest.er1 3800 cat conftest.er1 >&5 3801 fi 3802 rm -f conftest.er1 conftest.err 3803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3804 test $ac_status = 0; } 3805done 3806 3807cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3808/* end confdefs.h. */ 3809 3810int 3811main () 3812{ 3813 3814 ; 3815 return 0; 3816} 3817_ACEOF 3818if { { ac_try="$ac_link" 3819case "(($ac_try" in 3820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3821 *) ac_try_echo=$ac_try;; 3822esac 3823eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3824$as_echo "$ac_try_echo"; } >&5 3825 (eval "$ac_link") 2>&5 3826 ac_status=$? 3827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3828 test $ac_status = 0; }; then 3829 ac_no_link=no 3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3831/* end confdefs.h. */ 3832 3833int 3834main () 3835{ 3836 3837 ; 3838 return 0; 3839} 3840_ACEOF 3841ac_clean_files_save=$ac_clean_files 3842ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3843# Try to create an executable without -o first, disregard a.out. 3844# It will help us diagnose broken compilers, and finding out an intuition 3845# of exeext. 3846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3847$as_echo_n "checking whether the C compiler works... " >&6; } 3848ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3849 3850# The possible output files: 3851ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3852 3853ac_rmfiles= 3854for ac_file in $ac_files 3855do 3856 case $ac_file in 3857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3858 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3859 esac 3860done 3861rm -f $ac_rmfiles 3862 3863if { { ac_try="$ac_link_default" 3864case "(($ac_try" in 3865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3866 *) ac_try_echo=$ac_try;; 3867esac 3868eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3869$as_echo "$ac_try_echo"; } >&5 3870 (eval "$ac_link_default") 2>&5 3871 ac_status=$? 3872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3873 test $ac_status = 0; }; then : 3874 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3875# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3876# in a Makefile. We should not override ac_cv_exeext if it was cached, 3877# so that the user can short-circuit this test for compilers unknown to 3878# Autoconf. 3879for ac_file in $ac_files '' 3880do 3881 test -f "$ac_file" || continue 3882 case $ac_file in 3883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3884 ;; 3885 [ab].out ) 3886 # We found the default executable, but exeext='' is most 3887 # certainly right. 3888 break;; 3889 *.* ) 3890 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3891 then :; else 3892 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3893 fi 3894 # We set ac_cv_exeext here because the later test for it is not 3895 # safe: cross compilers may not add the suffix if given an `-o' 3896 # argument, so we may need to know it at that point already. 3897 # Even if this section looks crufty: it has the advantage of 3898 # actually working. 3899 break;; 3900 * ) 3901 break;; 3902 esac 3903done 3904test "$ac_cv_exeext" = no && ac_cv_exeext= 3905 3906else 3907 ac_file='' 3908fi 3909if test -z "$ac_file"; then : 3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3911$as_echo "no" >&6; } 3912$as_echo "$as_me: failed program was:" >&5 3913sed 's/^/| /' conftest.$ac_ext >&5 3914 3915{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3916$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3917as_fn_error 77 "C compiler cannot create executables 3918See \`config.log' for more details" "$LINENO" 5; } 3919else 3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3921$as_echo "yes" >&6; } 3922fi 3923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3924$as_echo_n "checking for C compiler default output file name... " >&6; } 3925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3926$as_echo "$ac_file" >&6; } 3927ac_exeext=$ac_cv_exeext 3928 3929rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3930ac_clean_files=$ac_clean_files_save 3931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3932$as_echo_n "checking for suffix of executables... " >&6; } 3933if { { ac_try="$ac_link" 3934case "(($ac_try" in 3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3936 *) ac_try_echo=$ac_try;; 3937esac 3938eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3939$as_echo "$ac_try_echo"; } >&5 3940 (eval "$ac_link") 2>&5 3941 ac_status=$? 3942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3943 test $ac_status = 0; }; then : 3944 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3945# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3946# work properly (i.e., refer to `conftest.exe'), while it won't with 3947# `rm'. 3948for ac_file in conftest.exe conftest conftest.*; do 3949 test -f "$ac_file" || continue 3950 case $ac_file in 3951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3952 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3953 break;; 3954 * ) break;; 3955 esac 3956done 3957else 3958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3959$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3960as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3961See \`config.log' for more details" "$LINENO" 5; } 3962fi 3963rm -f conftest conftest$ac_cv_exeext 3964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3965$as_echo "$ac_cv_exeext" >&6; } 3966 3967rm -f conftest.$ac_ext 3968EXEEXT=$ac_cv_exeext 3969ac_exeext=$EXEEXT 3970cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3971/* end confdefs.h. */ 3972#include <stdio.h> 3973int 3974main () 3975{ 3976FILE *f = fopen ("conftest.out", "w"); 3977 return ferror (f) || fclose (f) != 0; 3978 3979 ; 3980 return 0; 3981} 3982_ACEOF 3983ac_clean_files="$ac_clean_files conftest.out" 3984# Check that the compiler produces executables we can run. If not, either 3985# the compiler is broken, or we cross compile. 3986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3987$as_echo_n "checking whether we are cross compiling... " >&6; } 3988if test "$cross_compiling" != yes; then 3989 { { ac_try="$ac_link" 3990case "(($ac_try" in 3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3992 *) ac_try_echo=$ac_try;; 3993esac 3994eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3995$as_echo "$ac_try_echo"; } >&5 3996 (eval "$ac_link") 2>&5 3997 ac_status=$? 3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3999 test $ac_status = 0; } 4000 if { ac_try='./conftest$ac_cv_exeext' 4001 { { case "(($ac_try" in 4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4003 *) ac_try_echo=$ac_try;; 4004esac 4005eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4006$as_echo "$ac_try_echo"; } >&5 4007 (eval "$ac_try") 2>&5 4008 ac_status=$? 4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4010 test $ac_status = 0; }; }; then 4011 cross_compiling=no 4012 else 4013 if test "$cross_compiling" = maybe; then 4014 cross_compiling=yes 4015 else 4016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4017$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4018as_fn_error $? "cannot run C compiled programs. 4019If you meant to cross compile, use \`--host'. 4020See \`config.log' for more details" "$LINENO" 5; } 4021 fi 4022 fi 4023fi 4024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4025$as_echo "$cross_compiling" >&6; } 4026 4027rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4028ac_clean_files=$ac_clean_files_save 4029 4030else 4031 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM 4032 ac_no_link=yes 4033 # Setting cross_compile will disable run tests; it will 4034 # also disable AC_CHECK_FILE but that's generally 4035 # correct if we can't link. 4036 cross_compiling=yes 4037 EXEEXT= 4038 # Check that the compiler produces executables we can run. If not, either 4039# the compiler is broken, or we cross compile. 4040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4041$as_echo_n "checking whether we are cross compiling... " >&6; } 4042if test "$cross_compiling" != yes; then 4043 { { ac_try="$ac_link" 4044case "(($ac_try" in 4045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4046 *) ac_try_echo=$ac_try;; 4047esac 4048eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4049$as_echo "$ac_try_echo"; } >&5 4050 (eval "$ac_link") 2>&5 4051 ac_status=$? 4052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4053 test $ac_status = 0; } 4054 if { ac_try='./conftest$ac_cv_exeext' 4055 { { case "(($ac_try" in 4056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4057 *) ac_try_echo=$ac_try;; 4058esac 4059eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4060$as_echo "$ac_try_echo"; } >&5 4061 (eval "$ac_try") 2>&5 4062 ac_status=$? 4063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4064 test $ac_status = 0; }; }; then 4065 cross_compiling=no 4066 else 4067 if test "$cross_compiling" = maybe; then 4068 cross_compiling=yes 4069 else 4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4071$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4072as_fn_error $? "cannot run C compiled programs. 4073If you meant to cross compile, use \`--host'. 4074See \`config.log' for more details" "$LINENO" 5; } 4075 fi 4076 fi 4077fi 4078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4079$as_echo "$cross_compiling" >&6; } 4080 4081fi 4082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4083$as_echo_n "checking for suffix of object files... " >&6; } 4084if ${ac_cv_objext+:} false; then : 4085 $as_echo_n "(cached) " >&6 4086else 4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4088/* end confdefs.h. */ 4089 4090int 4091main () 4092{ 4093 4094 ; 4095 return 0; 4096} 4097_ACEOF 4098rm -f conftest.o conftest.obj 4099if { { ac_try="$ac_compile" 4100case "(($ac_try" in 4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4102 *) ac_try_echo=$ac_try;; 4103esac 4104eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4105$as_echo "$ac_try_echo"; } >&5 4106 (eval "$ac_compile") 2>&5 4107 ac_status=$? 4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4109 test $ac_status = 0; }; then : 4110 for ac_file in conftest.o conftest.obj conftest.*; do 4111 test -f "$ac_file" || continue; 4112 case $ac_file in 4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4115 break;; 4116 esac 4117done 4118else 4119 $as_echo "$as_me: failed program was:" >&5 4120sed 's/^/| /' conftest.$ac_ext >&5 4121 4122{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4123$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4124as_fn_error $? "cannot compute suffix of object files: cannot compile 4125See \`config.log' for more details" "$LINENO" 5; } 4126fi 4127rm -f conftest.$ac_cv_objext conftest.$ac_ext 4128fi 4129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4130$as_echo "$ac_cv_objext" >&6; } 4131OBJEXT=$ac_cv_objext 4132ac_objext=$OBJEXT 4133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4134$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4135if ${ac_cv_c_compiler_gnu+:} false; then : 4136 $as_echo_n "(cached) " >&6 4137else 4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4139/* end confdefs.h. */ 4140 4141int 4142main () 4143{ 4144#ifndef __GNUC__ 4145 choke me 4146#endif 4147 4148 ; 4149 return 0; 4150} 4151_ACEOF 4152if ac_fn_c_try_compile "$LINENO"; then : 4153 ac_compiler_gnu=yes 4154else 4155 ac_compiler_gnu=no 4156fi 4157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4158ac_cv_c_compiler_gnu=$ac_compiler_gnu 4159 4160fi 4161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4162$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4163if test $ac_compiler_gnu = yes; then 4164 GCC=yes 4165else 4166 GCC= 4167fi 4168ac_test_CFLAGS=${CFLAGS+set} 4169ac_save_CFLAGS=$CFLAGS 4170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4171$as_echo_n "checking whether $CC accepts -g... " >&6; } 4172if ${ac_cv_prog_cc_g+:} false; then : 4173 $as_echo_n "(cached) " >&6 4174else 4175 ac_save_c_werror_flag=$ac_c_werror_flag 4176 ac_c_werror_flag=yes 4177 ac_cv_prog_cc_g=no 4178 CFLAGS="-g" 4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4180/* end confdefs.h. */ 4181 4182int 4183main () 4184{ 4185 4186 ; 4187 return 0; 4188} 4189_ACEOF 4190if ac_fn_c_try_compile "$LINENO"; then : 4191 ac_cv_prog_cc_g=yes 4192else 4193 CFLAGS="" 4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4195/* end confdefs.h. */ 4196 4197int 4198main () 4199{ 4200 4201 ; 4202 return 0; 4203} 4204_ACEOF 4205if ac_fn_c_try_compile "$LINENO"; then : 4206 4207else 4208 ac_c_werror_flag=$ac_save_c_werror_flag 4209 CFLAGS="-g" 4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4211/* end confdefs.h. */ 4212 4213int 4214main () 4215{ 4216 4217 ; 4218 return 0; 4219} 4220_ACEOF 4221if ac_fn_c_try_compile "$LINENO"; then : 4222 ac_cv_prog_cc_g=yes 4223fi 4224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4225fi 4226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4227fi 4228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4229 ac_c_werror_flag=$ac_save_c_werror_flag 4230fi 4231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4232$as_echo "$ac_cv_prog_cc_g" >&6; } 4233if test "$ac_test_CFLAGS" = set; then 4234 CFLAGS=$ac_save_CFLAGS 4235elif test $ac_cv_prog_cc_g = yes; then 4236 if test "$GCC" = yes; then 4237 CFLAGS="-g -O2" 4238 else 4239 CFLAGS="-g" 4240 fi 4241else 4242 if test "$GCC" = yes; then 4243 CFLAGS="-O2" 4244 else 4245 CFLAGS= 4246 fi 4247fi 4248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4249$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4250if ${ac_cv_prog_cc_c89+:} false; then : 4251 $as_echo_n "(cached) " >&6 4252else 4253 ac_cv_prog_cc_c89=no 4254ac_save_CC=$CC 4255cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4256/* end confdefs.h. */ 4257#include <stdarg.h> 4258#include <stdio.h> 4259#include <sys/types.h> 4260#include <sys/stat.h> 4261/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4262struct buf { int x; }; 4263FILE * (*rcsopen) (struct buf *, struct stat *, int); 4264static char *e (p, i) 4265 char **p; 4266 int i; 4267{ 4268 return p[i]; 4269} 4270static char *f (char * (*g) (char **, int), char **p, ...) 4271{ 4272 char *s; 4273 va_list v; 4274 va_start (v,p); 4275 s = g (p, va_arg (v,int)); 4276 va_end (v); 4277 return s; 4278} 4279 4280/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4281 function prototypes and stuff, but not '\xHH' hex character constants. 4282 These don't provoke an error unfortunately, instead are silently treated 4283 as 'x'. The following induces an error, until -std is added to get 4284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4285 array size at least. It's necessary to write '\x00'==0 to get something 4286 that's true only with -std. */ 4287int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4288 4289/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4290 inside strings and character constants. */ 4291#define FOO(x) 'x' 4292int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4293 4294int test (int i, double x); 4295struct s1 {int (*f) (int a);}; 4296struct s2 {int (*f) (double a);}; 4297int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4298int argc; 4299char **argv; 4300int 4301main () 4302{ 4303return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4304 ; 4305 return 0; 4306} 4307_ACEOF 4308for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4309 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4310do 4311 CC="$ac_save_CC $ac_arg" 4312 if ac_fn_c_try_compile "$LINENO"; then : 4313 ac_cv_prog_cc_c89=$ac_arg 4314fi 4315rm -f core conftest.err conftest.$ac_objext 4316 test "x$ac_cv_prog_cc_c89" != "xno" && break 4317done 4318rm -f conftest.$ac_ext 4319CC=$ac_save_CC 4320 4321fi 4322# AC_CACHE_VAL 4323case "x$ac_cv_prog_cc_c89" in 4324 x) 4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4326$as_echo "none needed" >&6; } ;; 4327 xno) 4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4329$as_echo "unsupported" >&6; } ;; 4330 *) 4331 CC="$CC $ac_cv_prog_cc_c89" 4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4333$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4334esac 4335if test "x$ac_cv_prog_cc_c89" != xno; then : 4336 4337fi 4338 4339ac_ext=c 4340ac_cpp='$CPP $CPPFLAGS' 4341ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4342ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4343ac_compiler_gnu=$ac_cv_c_compiler_gnu 4344 4345depcc="$CC" am_compiler_list= 4346 4347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4348$as_echo_n "checking dependency style of $depcc... " >&6; } 4349if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4350 $as_echo_n "(cached) " >&6 4351else 4352 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4353 # We make a subdir and do the tests there. Otherwise we can end up 4354 # making bogus files that we don't know about and never remove. For 4355 # instance it was reported that on HP-UX the gcc test will end up 4356 # making a dummy file named `D' -- because `-MD' means `put the output 4357 # in D'. 4358 rm -rf conftest.dir 4359 mkdir conftest.dir 4360 # Copy depcomp to subdir because otherwise we won't find it if we're 4361 # using a relative directory. 4362 cp "$am_depcomp" conftest.dir 4363 cd conftest.dir 4364 # We will build objects and dependencies in a subdirectory because 4365 # it helps to detect inapplicable dependency modes. For instance 4366 # both Tru64's cc and ICC support -MD to output dependencies as a 4367 # side effect of compilation, but ICC will put the dependencies in 4368 # the current directory while Tru64 will put them in the object 4369 # directory. 4370 mkdir sub 4371 4372 am_cv_CC_dependencies_compiler_type=none 4373 if test "$am_compiler_list" = ""; then 4374 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4375 fi 4376 am__universal=false 4377 case " $depcc " in #( 4378 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4379 esac 4380 4381 for depmode in $am_compiler_list; do 4382 # Setup a source with many dependencies, because some compilers 4383 # like to wrap large dependency lists on column 80 (with \), and 4384 # we should not choose a depcomp mode which is confused by this. 4385 # 4386 # We need to recreate these files for each test, as the compiler may 4387 # overwrite some of them when testing with obscure command lines. 4388 # This happens at least with the AIX C compiler. 4389 : > sub/conftest.c 4390 for i in 1 2 3 4 5 6; do 4391 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4392 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4393 # Solaris 8's {/usr,}/bin/sh. 4394 touch sub/conftst$i.h 4395 done 4396 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4397 4398 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4399 # mode. It turns out that the SunPro C++ compiler does not properly 4400 # handle `-M -o', and we need to detect this. Also, some Intel 4401 # versions had trouble with output in subdirs 4402 am__obj=sub/conftest.${OBJEXT-o} 4403 am__minus_obj="-o $am__obj" 4404 case $depmode in 4405 gcc) 4406 # This depmode causes a compiler race in universal mode. 4407 test "$am__universal" = false || continue 4408 ;; 4409 nosideeffect) 4410 # after this tag, mechanisms are not by side-effect, so they'll 4411 # only be used when explicitly requested 4412 if test "x$enable_dependency_tracking" = xyes; then 4413 continue 4414 else 4415 break 4416 fi 4417 ;; 4418 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4419 # This compiler won't grok `-c -o', but also, the minuso test has 4420 # not run yet. These depmodes are late enough in the game, and 4421 # so weak that their functioning should not be impacted. 4422 am__obj=conftest.${OBJEXT-o} 4423 am__minus_obj= 4424 ;; 4425 none) break ;; 4426 esac 4427 if depmode=$depmode \ 4428 source=sub/conftest.c object=$am__obj \ 4429 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4430 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4431 >/dev/null 2>conftest.err && 4432 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4433 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4434 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4435 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4436 # icc doesn't choke on unknown options, it will just issue warnings 4437 # or remarks (even with -Werror). So we grep stderr for any message 4438 # that says an option was ignored or not supported. 4439 # When given -MP, icc 7.0 and 7.1 complain thusly: 4440 # icc: Command line warning: ignoring option '-M'; no argument required 4441 # The diagnosis changed in icc 8.0: 4442 # icc: Command line remark: option '-MP' not supported 4443 if (grep 'ignoring option' conftest.err || 4444 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4445 am_cv_CC_dependencies_compiler_type=$depmode 4446 break 4447 fi 4448 fi 4449 done 4450 4451 cd .. 4452 rm -rf conftest.dir 4453else 4454 am_cv_CC_dependencies_compiler_type=none 4455fi 4456 4457fi 4458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4459$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4460CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4461 4462 if 4463 test "x$enable_dependency_tracking" != xno \ 4464 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4465 am__fastdepCC_TRUE= 4466 am__fastdepCC_FALSE='#' 4467else 4468 am__fastdepCC_TRUE='#' 4469 am__fastdepCC_FALSE= 4470fi 4471 4472 4473 4474ac_ext=c 4475ac_cpp='$CPP $CPPFLAGS' 4476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4478ac_compiler_gnu=$ac_cv_c_compiler_gnu 4479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4480$as_echo_n "checking how to run the C preprocessor... " >&6; } 4481# On Suns, sometimes $CPP names a directory. 4482if test -n "$CPP" && test -d "$CPP"; then 4483 CPP= 4484fi 4485if test -z "$CPP"; then 4486 if ${ac_cv_prog_CPP+:} false; then : 4487 $as_echo_n "(cached) " >&6 4488else 4489 # Double quotes because CPP needs to be expanded 4490 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4491 do 4492 ac_preproc_ok=false 4493for ac_c_preproc_warn_flag in '' yes 4494do 4495 # Use a header file that comes with gcc, so configuring glibc 4496 # with a fresh cross-compiler works. 4497 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4498 # <limits.h> exists even on freestanding compilers. 4499 # On the NeXT, cc -E runs the code through the compiler's parser, 4500 # not just through cpp. "Syntax error" is here to catch this case. 4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4502/* end confdefs.h. */ 4503#ifdef __STDC__ 4504# include <limits.h> 4505#else 4506# include <assert.h> 4507#endif 4508 Syntax error 4509_ACEOF 4510if ac_fn_c_try_cpp "$LINENO"; then : 4511 4512else 4513 # Broken: fails on valid input. 4514continue 4515fi 4516rm -f conftest.err conftest.i conftest.$ac_ext 4517 4518 # OK, works on sane cases. Now check whether nonexistent headers 4519 # can be detected and how. 4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4521/* end confdefs.h. */ 4522#include <ac_nonexistent.h> 4523_ACEOF 4524if ac_fn_c_try_cpp "$LINENO"; then : 4525 # Broken: success on invalid input. 4526continue 4527else 4528 # Passes both tests. 4529ac_preproc_ok=: 4530break 4531fi 4532rm -f conftest.err conftest.i conftest.$ac_ext 4533 4534done 4535# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4536rm -f conftest.i conftest.err conftest.$ac_ext 4537if $ac_preproc_ok; then : 4538 break 4539fi 4540 4541 done 4542 ac_cv_prog_CPP=$CPP 4543 4544fi 4545 CPP=$ac_cv_prog_CPP 4546else 4547 ac_cv_prog_CPP=$CPP 4548fi 4549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4550$as_echo "$CPP" >&6; } 4551ac_preproc_ok=false 4552for ac_c_preproc_warn_flag in '' yes 4553do 4554 # Use a header file that comes with gcc, so configuring glibc 4555 # with a fresh cross-compiler works. 4556 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4557 # <limits.h> exists even on freestanding compilers. 4558 # On the NeXT, cc -E runs the code through the compiler's parser, 4559 # not just through cpp. "Syntax error" is here to catch this case. 4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4561/* end confdefs.h. */ 4562#ifdef __STDC__ 4563# include <limits.h> 4564#else 4565# include <assert.h> 4566#endif 4567 Syntax error 4568_ACEOF 4569if ac_fn_c_try_cpp "$LINENO"; then : 4570 4571else 4572 # Broken: fails on valid input. 4573continue 4574fi 4575rm -f conftest.err conftest.i conftest.$ac_ext 4576 4577 # OK, works on sane cases. Now check whether nonexistent headers 4578 # can be detected and how. 4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4580/* end confdefs.h. */ 4581#include <ac_nonexistent.h> 4582_ACEOF 4583if ac_fn_c_try_cpp "$LINENO"; then : 4584 # Broken: success on invalid input. 4585continue 4586else 4587 # Passes both tests. 4588ac_preproc_ok=: 4589break 4590fi 4591rm -f conftest.err conftest.i conftest.$ac_ext 4592 4593done 4594# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4595rm -f conftest.i conftest.err conftest.$ac_ext 4596if $ac_preproc_ok; then : 4597 4598else 4599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4600$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4601as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4602See \`config.log' for more details" "$LINENO" 5; } 4603fi 4604 4605ac_ext=c 4606ac_cpp='$CPP $CPPFLAGS' 4607ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4608ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4609ac_compiler_gnu=$ac_cv_c_compiler_gnu 4610 4611 4612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4613$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4614if ${ac_cv_path_GREP+:} false; then : 4615 $as_echo_n "(cached) " >&6 4616else 4617 if test -z "$GREP"; then 4618 ac_path_GREP_found=false 4619 # Loop through the user's path and test for each of PROGNAME-LIST 4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4621for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4622do 4623 IFS=$as_save_IFS 4624 test -z "$as_dir" && as_dir=. 4625 for ac_prog in grep ggrep; do 4626 for ac_exec_ext in '' $ac_executable_extensions; do 4627 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4628 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4629# Check for GNU ac_path_GREP and select it if it is found. 4630 # Check for GNU $ac_path_GREP 4631case `"$ac_path_GREP" --version 2>&1` in 4632*GNU*) 4633 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4634*) 4635 ac_count=0 4636 $as_echo_n 0123456789 >"conftest.in" 4637 while : 4638 do 4639 cat "conftest.in" "conftest.in" >"conftest.tmp" 4640 mv "conftest.tmp" "conftest.in" 4641 cp "conftest.in" "conftest.nl" 4642 $as_echo 'GREP' >> "conftest.nl" 4643 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4644 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4645 as_fn_arith $ac_count + 1 && ac_count=$as_val 4646 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4647 # Best one so far, save it but keep looking for a better one 4648 ac_cv_path_GREP="$ac_path_GREP" 4649 ac_path_GREP_max=$ac_count 4650 fi 4651 # 10*(2^10) chars as input seems more than enough 4652 test $ac_count -gt 10 && break 4653 done 4654 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4655esac 4656 4657 $ac_path_GREP_found && break 3 4658 done 4659 done 4660 done 4661IFS=$as_save_IFS 4662 if test -z "$ac_cv_path_GREP"; then 4663 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4664 fi 4665else 4666 ac_cv_path_GREP=$GREP 4667fi 4668 4669fi 4670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4671$as_echo "$ac_cv_path_GREP" >&6; } 4672 GREP="$ac_cv_path_GREP" 4673 4674 4675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4676$as_echo_n "checking for egrep... " >&6; } 4677if ${ac_cv_path_EGREP+:} false; then : 4678 $as_echo_n "(cached) " >&6 4679else 4680 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4681 then ac_cv_path_EGREP="$GREP -E" 4682 else 4683 if test -z "$EGREP"; then 4684 ac_path_EGREP_found=false 4685 # Loop through the user's path and test for each of PROGNAME-LIST 4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4687for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4688do 4689 IFS=$as_save_IFS 4690 test -z "$as_dir" && as_dir=. 4691 for ac_prog in egrep; do 4692 for ac_exec_ext in '' $ac_executable_extensions; do 4693 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4694 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4695# Check for GNU ac_path_EGREP and select it if it is found. 4696 # Check for GNU $ac_path_EGREP 4697case `"$ac_path_EGREP" --version 2>&1` in 4698*GNU*) 4699 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4700*) 4701 ac_count=0 4702 $as_echo_n 0123456789 >"conftest.in" 4703 while : 4704 do 4705 cat "conftest.in" "conftest.in" >"conftest.tmp" 4706 mv "conftest.tmp" "conftest.in" 4707 cp "conftest.in" "conftest.nl" 4708 $as_echo 'EGREP' >> "conftest.nl" 4709 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4710 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4711 as_fn_arith $ac_count + 1 && ac_count=$as_val 4712 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4713 # Best one so far, save it but keep looking for a better one 4714 ac_cv_path_EGREP="$ac_path_EGREP" 4715 ac_path_EGREP_max=$ac_count 4716 fi 4717 # 10*(2^10) chars as input seems more than enough 4718 test $ac_count -gt 10 && break 4719 done 4720 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4721esac 4722 4723 $ac_path_EGREP_found && break 3 4724 done 4725 done 4726 done 4727IFS=$as_save_IFS 4728 if test -z "$ac_cv_path_EGREP"; then 4729 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4730 fi 4731else 4732 ac_cv_path_EGREP=$EGREP 4733fi 4734 4735 fi 4736fi 4737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4738$as_echo "$ac_cv_path_EGREP" >&6; } 4739 EGREP="$ac_cv_path_EGREP" 4740 4741 4742cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4743/* end confdefs.h. */ 4744 4745#if __SH5__ 4746 sh5 4747#endif 4748 4749_ACEOF 4750if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4751 $EGREP "sh5" >/dev/null 2>&1; then : 4752 have_sh64=yes 4753else 4754 have_sh64=no 4755fi 4756rm -f conftest* 4757 4758 if test $have_sh64 = yes; then 4759 SH64_TRUE= 4760 SH64_FALSE='#' 4761else 4762 SH64_TRUE='#' 4763 SH64_FALSE= 4764fi 4765 4766 4767ac_config_files="$ac_config_files Makefile" 4768 4769cat >confcache <<\_ACEOF 4770# This file is a shell script that caches the results of configure 4771# tests run on this system so they can be shared between configure 4772# scripts and configure runs, see configure's option --config-cache. 4773# It is not useful on other systems. If it contains results you don't 4774# want to keep, you may remove or edit it. 4775# 4776# config.status only pays attention to the cache file if you give it 4777# the --recheck option to rerun configure. 4778# 4779# `ac_cv_env_foo' variables (set or unset) will be overridden when 4780# loading this file, other *unset* `ac_cv_foo' will be assigned the 4781# following values. 4782 4783_ACEOF 4784 4785# The following way of writing the cache mishandles newlines in values, 4786# but we know of no workaround that is simple, portable, and efficient. 4787# So, we kill variables containing newlines. 4788# Ultrix sh set writes to stderr and can't be redirected directly, 4789# and sets the high bit in the cache file unless we assign to the vars. 4790( 4791 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4792 eval ac_val=\$$ac_var 4793 case $ac_val in #( 4794 *${as_nl}*) 4795 case $ac_var in #( 4796 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4797$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4798 esac 4799 case $ac_var in #( 4800 _ | IFS | as_nl) ;; #( 4801 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4802 *) { eval $ac_var=; unset $ac_var;} ;; 4803 esac ;; 4804 esac 4805 done 4806 4807 (set) 2>&1 | 4808 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4809 *${as_nl}ac_space=\ *) 4810 # `set' does not quote correctly, so add quotes: double-quote 4811 # substitution turns \\\\ into \\, and sed turns \\ into \. 4812 sed -n \ 4813 "s/'/'\\\\''/g; 4814 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4815 ;; #( 4816 *) 4817 # `set' quotes correctly as required by POSIX, so do not add quotes. 4818 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4819 ;; 4820 esac | 4821 sort 4822) | 4823 sed ' 4824 /^ac_cv_env_/b end 4825 t clear 4826 :clear 4827 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4828 t end 4829 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4830 :end' >>confcache 4831if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4832 if test -w "$cache_file"; then 4833 if test "x$cache_file" != "x/dev/null"; then 4834 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4835$as_echo "$as_me: updating cache $cache_file" >&6;} 4836 if test ! -f "$cache_file" || test -h "$cache_file"; then 4837 cat confcache >"$cache_file" 4838 else 4839 case $cache_file in #( 4840 */* | ?:*) 4841 mv -f confcache "$cache_file"$$ && 4842 mv -f "$cache_file"$$ "$cache_file" ;; #( 4843 *) 4844 mv -f confcache "$cache_file" ;; 4845 esac 4846 fi 4847 fi 4848 else 4849 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4850$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4851 fi 4852fi 4853rm -f confcache 4854 4855test "x$prefix" = xNONE && prefix=$ac_default_prefix 4856# Let make expand exec_prefix. 4857test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4858 4859# Transform confdefs.h into DEFS. 4860# Protect against shell expansion while executing Makefile rules. 4861# Protect against Makefile macro expansion. 4862# 4863# If the first sed substitution is executed (which looks for macros that 4864# take arguments), then branch to the quote section. Otherwise, 4865# look for a macro that doesn't take arguments. 4866ac_script=' 4867:mline 4868/\\$/{ 4869 N 4870 s,\\\n,, 4871 b mline 4872} 4873t clear 4874:clear 4875s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4876t quote 4877s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4878t quote 4879b any 4880:quote 4881s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 4882s/\[/\\&/g 4883s/\]/\\&/g 4884s/\$/$$/g 4885H 4886:any 4887${ 4888 g 4889 s/^\n// 4890 s/\n/ /g 4891 p 4892} 4893' 4894DEFS=`sed -n "$ac_script" confdefs.h` 4895 4896 4897ac_libobjs= 4898ac_ltlibobjs= 4899U= 4900for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4901 # 1. Remove the extension, and $U if already installed. 4902 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4903 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4904 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4905 # will be set to the directory where LIBOBJS objects are built. 4906 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4907 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4908done 4909LIBOBJS=$ac_libobjs 4910 4911LTLIBOBJS=$ac_ltlibobjs 4912 4913 4914if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then 4915 as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined. 4916Usually this means the macro was only invoked conditionally." "$LINENO" 5 4917fi 4918 if test -n "$EXEEXT"; then 4919 am__EXEEXT_TRUE= 4920 am__EXEEXT_FALSE='#' 4921else 4922 am__EXEEXT_TRUE='#' 4923 am__EXEEXT_FALSE= 4924fi 4925 4926if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4927 as_fn_error $? "conditional \"AMDEP\" was never defined. 4928Usually this means the macro was only invoked conditionally." "$LINENO" 5 4929fi 4930if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4931 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 4932Usually this means the macro was only invoked conditionally." "$LINENO" 5 4933fi 4934if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 4935 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 4936Usually this means the macro was only invoked conditionally." "$LINENO" 5 4937fi 4938if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then 4939 as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined. 4940Usually this means the macro was only invoked conditionally." "$LINENO" 5 4941fi 4942if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then 4943 as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined. 4944Usually this means the macro was only invoked conditionally." "$LINENO" 5 4945fi 4946if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then 4947 as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined. 4948Usually this means the macro was only invoked conditionally." "$LINENO" 5 4949fi 4950if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then 4951 as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined. 4952Usually this means the macro was only invoked conditionally." "$LINENO" 5 4953fi 4954if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then 4955 as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined. 4956Usually this means the macro was only invoked conditionally." "$LINENO" 5 4957fi 4958if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then 4959 as_fn_error $? "conditional \"USE_LIBTOOL\" was never defined. 4960Usually this means the macro was only invoked conditionally." "$LINENO" 5 4961fi 4962if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4963 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 4964Usually this means the macro was only invoked conditionally." "$LINENO" 5 4965fi 4966if test -z "${SH64_TRUE}" && test -z "${SH64_FALSE}"; then 4967 as_fn_error $? "conditional \"SH64\" was never defined. 4968Usually this means the macro was only invoked conditionally." "$LINENO" 5 4969fi 4970 4971: "${CONFIG_STATUS=./config.status}" 4972ac_write_fail=0 4973ac_clean_files_save=$ac_clean_files 4974ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4975{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4976$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4977as_write_fail=0 4978cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4979#! $SHELL 4980# Generated by $as_me. 4981# Run this file to recreate the current configuration. 4982# Compiler output produced by configure, useful for debugging 4983# configure, is in config.log if it exists. 4984 4985debug=false 4986ac_cs_recheck=false 4987ac_cs_silent=false 4988 4989SHELL=\${CONFIG_SHELL-$SHELL} 4990export SHELL 4991_ASEOF 4992cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4993## -------------------- ## 4994## M4sh Initialization. ## 4995## -------------------- ## 4996 4997# Be more Bourne compatible 4998DUALCASE=1; export DUALCASE # for MKS sh 4999if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 5000 emulate sh 5001 NULLCMD=: 5002 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5003 # is contrary to our usage. Disable this feature. 5004 alias -g '${1+"$@"}'='"$@"' 5005 setopt NO_GLOB_SUBST 5006else 5007 case `(set -o) 2>/dev/null` in #( 5008 *posix*) : 5009 set -o posix ;; #( 5010 *) : 5011 ;; 5012esac 5013fi 5014 5015 5016as_nl=' 5017' 5018export as_nl 5019# Printing a long string crashes Solaris 7 /usr/bin/printf. 5020as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5021as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5022as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5023# Prefer a ksh shell builtin over an external printf program on Solaris, 5024# but without wasting forks for bash or zsh. 5025if test -z "$BASH_VERSION$ZSH_VERSION" \ 5026 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 5027 as_echo='print -r --' 5028 as_echo_n='print -rn --' 5029elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5030 as_echo='printf %s\n' 5031 as_echo_n='printf %s' 5032else 5033 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5034 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5035 as_echo_n='/usr/ucb/echo -n' 5036 else 5037 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5038 as_echo_n_body='eval 5039 arg=$1; 5040 case $arg in #( 5041 *"$as_nl"*) 5042 expr "X$arg" : "X\\(.*\\)$as_nl"; 5043 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5044 esac; 5045 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5046 ' 5047 export as_echo_n_body 5048 as_echo_n='sh -c $as_echo_n_body as_echo' 5049 fi 5050 export as_echo_body 5051 as_echo='sh -c $as_echo_body as_echo' 5052fi 5053 5054# The user is always right. 5055if test "${PATH_SEPARATOR+set}" != set; then 5056 PATH_SEPARATOR=: 5057 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5058 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5059 PATH_SEPARATOR=';' 5060 } 5061fi 5062 5063 5064# IFS 5065# We need space, tab and new line, in precisely that order. Quoting is 5066# there to prevent editors from complaining about space-tab. 5067# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5068# splitting by setting IFS to empty value.) 5069IFS=" "" $as_nl" 5070 5071# Find who we are. Look in the path if we contain no directory separator. 5072as_myself= 5073case $0 in #(( 5074 *[\\/]* ) as_myself=$0 ;; 5075 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5076for as_dir in $PATH 5077do 5078 IFS=$as_save_IFS 5079 test -z "$as_dir" && as_dir=. 5080 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5081 done 5082IFS=$as_save_IFS 5083 5084 ;; 5085esac 5086# We did not find ourselves, most probably we were run as `sh COMMAND' 5087# in which case we are not to be found in the path. 5088if test "x$as_myself" = x; then 5089 as_myself=$0 5090fi 5091if test ! -f "$as_myself"; then 5092 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5093 exit 1 5094fi 5095 5096# Unset variables that we do not need and which cause bugs (e.g. in 5097# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5098# suppresses any "Segmentation fault" message there. '((' could 5099# trigger a bug in pdksh 5.2.14. 5100for as_var in BASH_ENV ENV MAIL MAILPATH 5101do eval test x\${$as_var+set} = xset \ 5102 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 5103done 5104PS1='$ ' 5105PS2='> ' 5106PS4='+ ' 5107 5108# NLS nuisances. 5109LC_ALL=C 5110export LC_ALL 5111LANGUAGE=C 5112export LANGUAGE 5113 5114# CDPATH. 5115(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5116 5117 5118# as_fn_error STATUS ERROR [LINENO LOG_FD] 5119# ---------------------------------------- 5120# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5121# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5122# script with STATUS, using 1 if that was 0. 5123as_fn_error () 5124{ 5125 as_status=$1; test $as_status -eq 0 && as_status=1 5126 if test "$4"; then 5127 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5128 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5129 fi 5130 $as_echo "$as_me: error: $2" >&2 5131 as_fn_exit $as_status 5132} # as_fn_error 5133 5134 5135# as_fn_set_status STATUS 5136# ----------------------- 5137# Set $? to STATUS, without forking. 5138as_fn_set_status () 5139{ 5140 return $1 5141} # as_fn_set_status 5142 5143# as_fn_exit STATUS 5144# ----------------- 5145# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5146as_fn_exit () 5147{ 5148 set +e 5149 as_fn_set_status $1 5150 exit $1 5151} # as_fn_exit 5152 5153# as_fn_unset VAR 5154# --------------- 5155# Portably unset VAR. 5156as_fn_unset () 5157{ 5158 { eval $1=; unset $1;} 5159} 5160as_unset=as_fn_unset 5161# as_fn_append VAR VALUE 5162# ---------------------- 5163# Append the text in VALUE to the end of the definition contained in VAR. Take 5164# advantage of any shell optimizations that allow amortized linear growth over 5165# repeated appends, instead of the typical quadratic growth present in naive 5166# implementations. 5167if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5168 eval 'as_fn_append () 5169 { 5170 eval $1+=\$2 5171 }' 5172else 5173 as_fn_append () 5174 { 5175 eval $1=\$$1\$2 5176 } 5177fi # as_fn_append 5178 5179# as_fn_arith ARG... 5180# ------------------ 5181# Perform arithmetic evaluation on the ARGs, and store the result in the 5182# global $as_val. Take advantage of shells that can avoid forks. The arguments 5183# must be portable across $(()) and expr. 5184if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5185 eval 'as_fn_arith () 5186 { 5187 as_val=$(( $* )) 5188 }' 5189else 5190 as_fn_arith () 5191 { 5192 as_val=`expr "$@" || test $? -eq 1` 5193 } 5194fi # as_fn_arith 5195 5196 5197if expr a : '\(a\)' >/dev/null 2>&1 && 5198 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5199 as_expr=expr 5200else 5201 as_expr=false 5202fi 5203 5204if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5205 as_basename=basename 5206else 5207 as_basename=false 5208fi 5209 5210if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5211 as_dirname=dirname 5212else 5213 as_dirname=false 5214fi 5215 5216as_me=`$as_basename -- "$0" || 5217$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5218 X"$0" : 'X\(//\)$' \| \ 5219 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5220$as_echo X/"$0" | 5221 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5222 s//\1/ 5223 q 5224 } 5225 /^X\/\(\/\/\)$/{ 5226 s//\1/ 5227 q 5228 } 5229 /^X\/\(\/\).*/{ 5230 s//\1/ 5231 q 5232 } 5233 s/.*/./; q'` 5234 5235# Avoid depending upon Character Ranges. 5236as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5237as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5238as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5239as_cr_digits='0123456789' 5240as_cr_alnum=$as_cr_Letters$as_cr_digits 5241 5242ECHO_C= ECHO_N= ECHO_T= 5243case `echo -n x` in #((((( 5244-n*) 5245 case `echo 'xy\c'` in 5246 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5247 xy) ECHO_C='\c';; 5248 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5249 ECHO_T=' ';; 5250 esac;; 5251*) 5252 ECHO_N='-n';; 5253esac 5254 5255rm -f conf$$ conf$$.exe conf$$.file 5256if test -d conf$$.dir; then 5257 rm -f conf$$.dir/conf$$.file 5258else 5259 rm -f conf$$.dir 5260 mkdir conf$$.dir 2>/dev/null 5261fi 5262if (echo >conf$$.file) 2>/dev/null; then 5263 if ln -s conf$$.file conf$$ 2>/dev/null; then 5264 as_ln_s='ln -s' 5265 # ... but there are two gotchas: 5266 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5267 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5268 # In both cases, we have to default to `cp -p'. 5269 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5270 as_ln_s='cp -p' 5271 elif ln conf$$.file conf$$ 2>/dev/null; then 5272 as_ln_s=ln 5273 else 5274 as_ln_s='cp -p' 5275 fi 5276else 5277 as_ln_s='cp -p' 5278fi 5279rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5280rmdir conf$$.dir 2>/dev/null 5281 5282 5283# as_fn_mkdir_p 5284# ------------- 5285# Create "$as_dir" as a directory, including parents if necessary. 5286as_fn_mkdir_p () 5287{ 5288 5289 case $as_dir in #( 5290 -*) as_dir=./$as_dir;; 5291 esac 5292 test -d "$as_dir" || eval $as_mkdir_p || { 5293 as_dirs= 5294 while :; do 5295 case $as_dir in #( 5296 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5297 *) as_qdir=$as_dir;; 5298 esac 5299 as_dirs="'$as_qdir' $as_dirs" 5300 as_dir=`$as_dirname -- "$as_dir" || 5301$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5302 X"$as_dir" : 'X\(//\)[^/]' \| \ 5303 X"$as_dir" : 'X\(//\)$' \| \ 5304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5305$as_echo X"$as_dir" | 5306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5307 s//\1/ 5308 q 5309 } 5310 /^X\(\/\/\)[^/].*/{ 5311 s//\1/ 5312 q 5313 } 5314 /^X\(\/\/\)$/{ 5315 s//\1/ 5316 q 5317 } 5318 /^X\(\/\).*/{ 5319 s//\1/ 5320 q 5321 } 5322 s/.*/./; q'` 5323 test -d "$as_dir" && break 5324 done 5325 test -z "$as_dirs" || eval "mkdir $as_dirs" 5326 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5327 5328 5329} # as_fn_mkdir_p 5330if mkdir -p . 2>/dev/null; then 5331 as_mkdir_p='mkdir -p "$as_dir"' 5332else 5333 test -d ./-p && rmdir ./-p 5334 as_mkdir_p=false 5335fi 5336 5337if test -x / >/dev/null 2>&1; then 5338 as_test_x='test -x' 5339else 5340 if ls -dL / >/dev/null 2>&1; then 5341 as_ls_L_option=L 5342 else 5343 as_ls_L_option= 5344 fi 5345 as_test_x=' 5346 eval sh -c '\'' 5347 if test -d "$1"; then 5348 test -d "$1/."; 5349 else 5350 case $1 in #( 5351 -*)set "./$1";; 5352 esac; 5353 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5354 ???[sx]*):;;*)false;;esac;fi 5355 '\'' sh 5356 ' 5357fi 5358as_executable_p=$as_test_x 5359 5360# Sed expression to map a string onto a valid CPP name. 5361as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5362 5363# Sed expression to map a string onto a valid variable name. 5364as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5365 5366 5367exec 6>&1 5368## ----------------------------------- ## 5369## Main body of $CONFIG_STATUS script. ## 5370## ----------------------------------- ## 5371_ASEOF 5372test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5373 5374cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5375# Save the log message, to keep $0 and so on meaningful, and to 5376# report actual input values of CONFIG_FILES etc. instead of their 5377# values after options handling. 5378ac_log=" 5379This file was extended by newlib $as_me 2.4.0, which was 5380generated by GNU Autoconf 2.68. Invocation command line was 5381 5382 CONFIG_FILES = $CONFIG_FILES 5383 CONFIG_HEADERS = $CONFIG_HEADERS 5384 CONFIG_LINKS = $CONFIG_LINKS 5385 CONFIG_COMMANDS = $CONFIG_COMMANDS 5386 $ $0 $@ 5387 5388on `(hostname || uname -n) 2>/dev/null | sed 1q` 5389" 5390 5391_ACEOF 5392 5393case $ac_config_files in *" 5394"*) set x $ac_config_files; shift; ac_config_files=$*;; 5395esac 5396 5397 5398 5399cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5400# Files that config.status was made for. 5401config_files="$ac_config_files" 5402config_commands="$ac_config_commands" 5403 5404_ACEOF 5405 5406cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5407ac_cs_usage="\ 5408\`$as_me' instantiates files and other configuration actions 5409from templates according to the current configuration. Unless the files 5410and actions are specified as TAGs, all are instantiated by default. 5411 5412Usage: $0 [OPTION]... [TAG]... 5413 5414 -h, --help print this help, then exit 5415 -V, --version print version number and configuration settings, then exit 5416 --config print configuration, then exit 5417 -q, --quiet, --silent 5418 do not print progress messages 5419 -d, --debug don't remove temporary files 5420 --recheck update $as_me by reconfiguring in the same conditions 5421 --file=FILE[:TEMPLATE] 5422 instantiate the configuration file FILE 5423 5424Configuration files: 5425$config_files 5426 5427Configuration commands: 5428$config_commands 5429 5430Report bugs to the package provider." 5431 5432_ACEOF 5433cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5434ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5435ac_cs_version="\\ 5436newlib config.status 2.4.0 5437configured by $0, generated by GNU Autoconf 2.68, 5438 with options \\"\$ac_cs_config\\" 5439 5440Copyright (C) 2010 Free Software Foundation, Inc. 5441This config.status script is free software; the Free Software Foundation 5442gives unlimited permission to copy, distribute and modify it." 5443 5444ac_pwd='$ac_pwd' 5445srcdir='$srcdir' 5446INSTALL='$INSTALL' 5447MKDIR_P='$MKDIR_P' 5448AWK='$AWK' 5449test -n "\$AWK" || AWK=awk 5450_ACEOF 5451 5452cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5453# The default lists apply if the user does not specify any file. 5454ac_need_defaults=: 5455while test $# != 0 5456do 5457 case $1 in 5458 --*=?*) 5459 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5460 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5461 ac_shift=: 5462 ;; 5463 --*=) 5464 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5465 ac_optarg= 5466 ac_shift=: 5467 ;; 5468 *) 5469 ac_option=$1 5470 ac_optarg=$2 5471 ac_shift=shift 5472 ;; 5473 esac 5474 5475 case $ac_option in 5476 # Handling of the options. 5477 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5478 ac_cs_recheck=: ;; 5479 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5480 $as_echo "$ac_cs_version"; exit ;; 5481 --config | --confi | --conf | --con | --co | --c ) 5482 $as_echo "$ac_cs_config"; exit ;; 5483 --debug | --debu | --deb | --de | --d | -d ) 5484 debug=: ;; 5485 --file | --fil | --fi | --f ) 5486 $ac_shift 5487 case $ac_optarg in 5488 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5489 '') as_fn_error $? "missing file argument" ;; 5490 esac 5491 as_fn_append CONFIG_FILES " '$ac_optarg'" 5492 ac_need_defaults=false;; 5493 --he | --h | --help | --hel | -h ) 5494 $as_echo "$ac_cs_usage"; exit ;; 5495 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5496 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5497 ac_cs_silent=: ;; 5498 5499 # This is an error. 5500 -*) as_fn_error $? "unrecognized option: \`$1' 5501Try \`$0 --help' for more information." ;; 5502 5503 *) as_fn_append ac_config_targets " $1" 5504 ac_need_defaults=false ;; 5505 5506 esac 5507 shift 5508done 5509 5510ac_configure_extra_args= 5511 5512if $ac_cs_silent; then 5513 exec 6>/dev/null 5514 ac_configure_extra_args="$ac_configure_extra_args --silent" 5515fi 5516 5517_ACEOF 5518cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5519if \$ac_cs_recheck; then 5520 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5521 shift 5522 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5523 CONFIG_SHELL='$SHELL' 5524 export CONFIG_SHELL 5525 exec "\$@" 5526fi 5527 5528_ACEOF 5529cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5530exec 5>>config.log 5531{ 5532 echo 5533 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5534## Running $as_me. ## 5535_ASBOX 5536 $as_echo "$ac_log" 5537} >&5 5538 5539_ACEOF 5540cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5541# 5542# INIT-COMMANDS 5543# 5544AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5545 5546_ACEOF 5547 5548cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5549 5550# Handling of arguments. 5551for ac_config_target in $ac_config_targets 5552do 5553 case $ac_config_target in 5554 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5555 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5556 5557 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5558 esac 5559done 5560 5561 5562# If the user did not use the arguments to specify the items to instantiate, 5563# then the envvar interface is used. Set only those that are not. 5564# We use the long form for the default assignment because of an extremely 5565# bizarre bug on SunOS 4.1.3. 5566if $ac_need_defaults; then 5567 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5568 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5569fi 5570 5571# Have a temporary directory for convenience. Make it in the build tree 5572# simply because there is no reason against having it here, and in addition, 5573# creating and moving files from /tmp can sometimes cause problems. 5574# Hook for its removal unless debugging. 5575# Note that there is a small window in which the directory will not be cleaned: 5576# after its creation but before its name has been assigned to `$tmp'. 5577$debug || 5578{ 5579 tmp= ac_tmp= 5580 trap 'exit_status=$? 5581 : "${ac_tmp:=$tmp}" 5582 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5583' 0 5584 trap 'as_fn_exit 1' 1 2 13 15 5585} 5586# Create a (secure) tmp directory for tmp files. 5587 5588{ 5589 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5590 test -d "$tmp" 5591} || 5592{ 5593 tmp=./conf$$-$RANDOM 5594 (umask 077 && mkdir "$tmp") 5595} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5596ac_tmp=$tmp 5597 5598# Set up the scripts for CONFIG_FILES section. 5599# No need to generate them if there are no CONFIG_FILES. 5600# This happens for instance with `./config.status config.h'. 5601if test -n "$CONFIG_FILES"; then 5602 5603 5604ac_cr=`echo X | tr X '\015'` 5605# On cygwin, bash can eat \r inside `` if the user requested igncr. 5606# But we know of no other shell where ac_cr would be empty at this 5607# point, so we can use a bashism as a fallback. 5608if test "x$ac_cr" = x; then 5609 eval ac_cr=\$\'\\r\' 5610fi 5611ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5612if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5613 ac_cs_awk_cr='\\r' 5614else 5615 ac_cs_awk_cr=$ac_cr 5616fi 5617 5618echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5619_ACEOF 5620 5621 5622{ 5623 echo "cat >conf$$subs.awk <<_ACEOF" && 5624 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5625 echo "_ACEOF" 5626} >conf$$subs.sh || 5627 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5628ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5629ac_delim='%!_!# ' 5630for ac_last_try in false false false false false :; do 5631 . ./conf$$subs.sh || 5632 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5633 5634 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5635 if test $ac_delim_n = $ac_delim_num; then 5636 break 5637 elif $ac_last_try; then 5638 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5639 else 5640 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5641 fi 5642done 5643rm -f conf$$subs.sh 5644 5645cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5646cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5647_ACEOF 5648sed -n ' 5649h 5650s/^/S["/; s/!.*/"]=/ 5651p 5652g 5653s/^[^!]*!// 5654:repl 5655t repl 5656s/'"$ac_delim"'$// 5657t delim 5658:nl 5659h 5660s/\(.\{148\}\)..*/\1/ 5661t more1 5662s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5663p 5664n 5665b repl 5666:more1 5667s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5668p 5669g 5670s/.\{148\}// 5671t nl 5672:delim 5673h 5674s/\(.\{148\}\)..*/\1/ 5675t more2 5676s/["\\]/\\&/g; s/^/"/; s/$/"/ 5677p 5678b 5679:more2 5680s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5681p 5682g 5683s/.\{148\}// 5684t delim 5685' <conf$$subs.awk | sed ' 5686/^[^""]/{ 5687 N 5688 s/\n// 5689} 5690' >>$CONFIG_STATUS || ac_write_fail=1 5691rm -f conf$$subs.awk 5692cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5693_ACAWK 5694cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5695 for (key in S) S_is_set[key] = 1 5696 FS = "" 5697 5698} 5699{ 5700 line = $ 0 5701 nfields = split(line, field, "@") 5702 substed = 0 5703 len = length(field[1]) 5704 for (i = 2; i < nfields; i++) { 5705 key = field[i] 5706 keylen = length(key) 5707 if (S_is_set[key]) { 5708 value = S[key] 5709 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5710 len += length(value) + length(field[++i]) 5711 substed = 1 5712 } else 5713 len += 1 + keylen 5714 } 5715 5716 print line 5717} 5718 5719_ACAWK 5720_ACEOF 5721cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5722if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5723 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5724else 5725 cat 5726fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5727 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5728_ACEOF 5729 5730# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5731# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5732# trailing colons and then remove the whole line if VPATH becomes empty 5733# (actually we leave an empty line to preserve line numbers). 5734if test "x$srcdir" = x.; then 5735 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5736h 5737s/// 5738s/^/:/ 5739s/[ ]*$/:/ 5740s/:\$(srcdir):/:/g 5741s/:\${srcdir}:/:/g 5742s/:@srcdir@:/:/g 5743s/^:*// 5744s/:*$// 5745x 5746s/\(=[ ]*\).*/\1/ 5747G 5748s/\n// 5749s/^[^=]*=[ ]*$// 5750}' 5751fi 5752 5753cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5754fi # test -n "$CONFIG_FILES" 5755 5756 5757eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 5758shift 5759for ac_tag 5760do 5761 case $ac_tag in 5762 :[FHLC]) ac_mode=$ac_tag; continue;; 5763 esac 5764 case $ac_mode$ac_tag in 5765 :[FHL]*:*);; 5766 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5767 :[FH]-) ac_tag=-:-;; 5768 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5769 esac 5770 ac_save_IFS=$IFS 5771 IFS=: 5772 set x $ac_tag 5773 IFS=$ac_save_IFS 5774 shift 5775 ac_file=$1 5776 shift 5777 5778 case $ac_mode in 5779 :L) ac_source=$1;; 5780 :[FH]) 5781 ac_file_inputs= 5782 for ac_f 5783 do 5784 case $ac_f in 5785 -) ac_f="$ac_tmp/stdin";; 5786 *) # Look for the file first in the build tree, then in the source tree 5787 # (if the path is not absolute). The absolute path cannot be DOS-style, 5788 # because $ac_f cannot contain `:'. 5789 test -f "$ac_f" || 5790 case $ac_f in 5791 [\\/$]*) false;; 5792 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5793 esac || 5794 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5795 esac 5796 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5797 as_fn_append ac_file_inputs " '$ac_f'" 5798 done 5799 5800 # Let's still pretend it is `configure' which instantiates (i.e., don't 5801 # use $as_me), people would be surprised to read: 5802 # /* config.h. Generated by config.status. */ 5803 configure_input='Generated from '` 5804 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5805 `' by configure.' 5806 if test x"$ac_file" != x-; then 5807 configure_input="$ac_file. $configure_input" 5808 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5809$as_echo "$as_me: creating $ac_file" >&6;} 5810 fi 5811 # Neutralize special characters interpreted by sed in replacement strings. 5812 case $configure_input in #( 5813 *\&* | *\|* | *\\* ) 5814 ac_sed_conf_input=`$as_echo "$configure_input" | 5815 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5816 *) ac_sed_conf_input=$configure_input;; 5817 esac 5818 5819 case $ac_tag in 5820 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5821 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5822 esac 5823 ;; 5824 esac 5825 5826 ac_dir=`$as_dirname -- "$ac_file" || 5827$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5828 X"$ac_file" : 'X\(//\)[^/]' \| \ 5829 X"$ac_file" : 'X\(//\)$' \| \ 5830 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5831$as_echo X"$ac_file" | 5832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5833 s//\1/ 5834 q 5835 } 5836 /^X\(\/\/\)[^/].*/{ 5837 s//\1/ 5838 q 5839 } 5840 /^X\(\/\/\)$/{ 5841 s//\1/ 5842 q 5843 } 5844 /^X\(\/\).*/{ 5845 s//\1/ 5846 q 5847 } 5848 s/.*/./; q'` 5849 as_dir="$ac_dir"; as_fn_mkdir_p 5850 ac_builddir=. 5851 5852case "$ac_dir" in 5853.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5854*) 5855 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5856 # A ".." for each directory in $ac_dir_suffix. 5857 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5858 case $ac_top_builddir_sub in 5859 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5860 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5861 esac ;; 5862esac 5863ac_abs_top_builddir=$ac_pwd 5864ac_abs_builddir=$ac_pwd$ac_dir_suffix 5865# for backward compatibility: 5866ac_top_builddir=$ac_top_build_prefix 5867 5868case $srcdir in 5869 .) # We are building in place. 5870 ac_srcdir=. 5871 ac_top_srcdir=$ac_top_builddir_sub 5872 ac_abs_top_srcdir=$ac_pwd ;; 5873 [\\/]* | ?:[\\/]* ) # Absolute name. 5874 ac_srcdir=$srcdir$ac_dir_suffix; 5875 ac_top_srcdir=$srcdir 5876 ac_abs_top_srcdir=$srcdir ;; 5877 *) # Relative name. 5878 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5879 ac_top_srcdir=$ac_top_build_prefix$srcdir 5880 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5881esac 5882ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5883 5884 5885 case $ac_mode in 5886 :F) 5887 # 5888 # CONFIG_FILE 5889 # 5890 5891 case $INSTALL in 5892 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5893 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5894 esac 5895 ac_MKDIR_P=$MKDIR_P 5896 case $MKDIR_P in 5897 [\\/$]* | ?:[\\/]* ) ;; 5898 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5899 esac 5900_ACEOF 5901 5902cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5903# If the template does not know about datarootdir, expand it. 5904# FIXME: This hack should be removed a few years after 2.60. 5905ac_datarootdir_hack=; ac_datarootdir_seen= 5906ac_sed_dataroot=' 5907/datarootdir/ { 5908 p 5909 q 5910} 5911/@datadir@/p 5912/@docdir@/p 5913/@infodir@/p 5914/@localedir@/p 5915/@mandir@/p' 5916case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5917*datarootdir*) ac_datarootdir_seen=yes;; 5918*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5920$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5921_ACEOF 5922cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5923 ac_datarootdir_hack=' 5924 s&@datadir@&$datadir&g 5925 s&@docdir@&$docdir&g 5926 s&@infodir@&$infodir&g 5927 s&@localedir@&$localedir&g 5928 s&@mandir@&$mandir&g 5929 s&\\\${datarootdir}&$datarootdir&g' ;; 5930esac 5931_ACEOF 5932 5933# Neutralize VPATH when `$srcdir' = `.'. 5934# Shell code in configure.ac might set extrasub. 5935# FIXME: do we really want to maintain this feature? 5936cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5937ac_sed_extra="$ac_vpsub 5938$extrasub 5939_ACEOF 5940cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5941:t 5942/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5943s|@configure_input@|$ac_sed_conf_input|;t t 5944s&@top_builddir@&$ac_top_builddir_sub&;t t 5945s&@top_build_prefix@&$ac_top_build_prefix&;t t 5946s&@srcdir@&$ac_srcdir&;t t 5947s&@abs_srcdir@&$ac_abs_srcdir&;t t 5948s&@top_srcdir@&$ac_top_srcdir&;t t 5949s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5950s&@builddir@&$ac_builddir&;t t 5951s&@abs_builddir@&$ac_abs_builddir&;t t 5952s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5953s&@INSTALL@&$ac_INSTALL&;t t 5954s&@MKDIR_P@&$ac_MKDIR_P&;t t 5955$ac_datarootdir_hack 5956" 5957eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5958 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5959 5960test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5961 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5962 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5963 "$ac_tmp/out"`; test -z "$ac_out"; } && 5964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5965which seems to be undefined. Please make sure it is defined" >&5 5966$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5967which seems to be undefined. Please make sure it is defined" >&2;} 5968 5969 rm -f "$ac_tmp/stdin" 5970 case $ac_file in 5971 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5972 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5973 esac \ 5974 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5975 ;; 5976 5977 5978 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 5979$as_echo "$as_me: executing $ac_file commands" >&6;} 5980 ;; 5981 esac 5982 5983 5984 case $ac_file$ac_mode in 5985 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 5986 # Autoconf 2.62 quotes --file arguments for eval, but not when files 5987 # are listed without --file. Let's play safe and only enable the eval 5988 # if we detect the quoting. 5989 case $CONFIG_FILES in 5990 *\'*) eval set x "$CONFIG_FILES" ;; 5991 *) set x $CONFIG_FILES ;; 5992 esac 5993 shift 5994 for mf 5995 do 5996 # Strip MF so we end up with the name of the file. 5997 mf=`echo "$mf" | sed -e 's/:.*$//'` 5998 # Check whether this is an Automake generated Makefile or not. 5999 # We used to match only the files named `Makefile.in', but 6000 # some people rename them; so instead we look at the file content. 6001 # Grep'ing the first line is not enough: some people post-process 6002 # each Makefile.in and add a new line on top of each file to say so. 6003 # Grep'ing the whole file is not good either: AIX grep has a line 6004 # limit of 2048, but all sed's we know have understand at least 4000. 6005 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6006 dirpart=`$as_dirname -- "$mf" || 6007$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6008 X"$mf" : 'X\(//\)[^/]' \| \ 6009 X"$mf" : 'X\(//\)$' \| \ 6010 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6011$as_echo X"$mf" | 6012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6013 s//\1/ 6014 q 6015 } 6016 /^X\(\/\/\)[^/].*/{ 6017 s//\1/ 6018 q 6019 } 6020 /^X\(\/\/\)$/{ 6021 s//\1/ 6022 q 6023 } 6024 /^X\(\/\).*/{ 6025 s//\1/ 6026 q 6027 } 6028 s/.*/./; q'` 6029 else 6030 continue 6031 fi 6032 # Extract the definition of DEPDIR, am__include, and am__quote 6033 # from the Makefile without running `make'. 6034 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6035 test -z "$DEPDIR" && continue 6036 am__include=`sed -n 's/^am__include = //p' < "$mf"` 6037 test -z "am__include" && continue 6038 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6039 # When using ansi2knr, U may be empty or an underscore; expand it 6040 U=`sed -n 's/^U = //p' < "$mf"` 6041 # Find all dependency output files, they are included files with 6042 # $(DEPDIR) in their names. We invoke sed twice because it is the 6043 # simplest approach to changing $(DEPDIR) to its actual value in the 6044 # expansion. 6045 for file in `sed -n " 6046 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6047 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6048 # Make sure the directory exists. 6049 test -f "$dirpart/$file" && continue 6050 fdir=`$as_dirname -- "$file" || 6051$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6052 X"$file" : 'X\(//\)[^/]' \| \ 6053 X"$file" : 'X\(//\)$' \| \ 6054 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6055$as_echo X"$file" | 6056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6057 s//\1/ 6058 q 6059 } 6060 /^X\(\/\/\)[^/].*/{ 6061 s//\1/ 6062 q 6063 } 6064 /^X\(\/\/\)$/{ 6065 s//\1/ 6066 q 6067 } 6068 /^X\(\/\).*/{ 6069 s//\1/ 6070 q 6071 } 6072 s/.*/./; q'` 6073 as_dir=$dirpart/$fdir; as_fn_mkdir_p 6074 # echo "creating $dirpart/$file" 6075 echo '# dummy' > "$dirpart/$file" 6076 done 6077 done 6078} 6079 ;; 6080 6081 esac 6082done # for ac_tag 6083 6084 6085as_fn_exit 0 6086_ACEOF 6087ac_clean_files=$ac_clean_files_save 6088 6089test $ac_write_fail = 0 || 6090 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 6091 6092 6093# configure is writing to config.log, and then calls config.status. 6094# config.status does its own redirection, appending to config.log. 6095# Unfortunately, on DOS this fails, as config.log is still kept open 6096# by configure, so config.status won't be able to write to it; its 6097# output is simply discarded. So we exec the FD to /dev/null, 6098# effectively closing config.log, so it can be properly (re)opened and 6099# appended to by config.status. When coming back to configure, we 6100# need to make the FD available again. 6101if test "$no_create" != yes; then 6102 ac_cs_success=: 6103 ac_config_status_args= 6104 test "$silent" = yes && 6105 ac_config_status_args="$ac_config_status_args --quiet" 6106 exec 5>/dev/null 6107 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6108 exec 5>>config.log 6109 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6110 # would make configure fail if this is the last instruction. 6111 $ac_cs_success || as_fn_exit 1 6112fi 6113if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6115$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6116fi 6117 6118