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