1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for elfutils 0.161. 4# 5# Report bugs to <https://bugzilla.redhat.com/>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13# 14# Copyright (C) 1996-2014 Red Hat, Inc. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94as_myself= 95case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98for as_dir in $PATH 99do 100 IFS=$as_save_IFS 101 test -z "$as_dir" && as_dir=. 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 104IFS=$as_save_IFS 105 106 ;; 107esac 108# We did not find ourselves, most probably we were run as `sh COMMAND' 109# in which case we are not to be found in the path. 110if test "x$as_myself" = x; then 111 as_myself=$0 112fi 113if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116fi 117 118# Unset variables that we do not need and which cause bugs (e.g. in 119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120# suppresses any "Segmentation fault" message there. '((' could 121# trigger a bug in pdksh 5.2.14. 122for as_var in BASH_ENV ENV MAIL MAILPATH 123do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export LANGUAGE 135 136# CDPATH. 137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139# Use a proper internal environment variable to ensure we don't fall 140 # into an infinite loop, continuously re-executing ourselves. 141 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 142 _as_can_reexec=no; export _as_can_reexec; 143 # We cannot yet assume a decent shell, so we have to provide a 144# neutralization value for shells without unset; and this also 145# works around shells that cannot unset nonexistent variables. 146# Preserve -v and -x to the replacement shell. 147BASH_ENV=/dev/null 148ENV=/dev/null 149(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 150case $- in # (((( 151 *v*x* | *x*v* ) as_opts=-vx ;; 152 *v* ) as_opts=-v ;; 153 *x* ) as_opts=-x ;; 154 * ) as_opts= ;; 155esac 156exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 157# Admittedly, this is quite paranoid, since all the known shells bail 158# out after a failed `exec'. 159$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 160as_fn_exit 255 161 fi 162 # We don't want this to propagate to other subprocesses. 163 { _as_can_reexec=; unset _as_can_reexec;} 164if test "x$CONFIG_SHELL" = x; then 165 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 166 emulate sh 167 NULLCMD=: 168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 169 # is contrary to our usage. Disable this feature. 170 alias -g '\${1+\"\$@\"}'='\"\$@\"' 171 setopt NO_GLOB_SUBST 172else 173 case \`(set -o) 2>/dev/null\` in #( 174 *posix*) : 175 set -o posix ;; #( 176 *) : 177 ;; 178esac 179fi 180" 181 as_required="as_fn_return () { (exit \$1); } 182as_fn_success () { as_fn_return 0; } 183as_fn_failure () { as_fn_return 1; } 184as_fn_ret_success () { return 0; } 185as_fn_ret_failure () { return 1; } 186 187exitcode=0 188as_fn_success || { exitcode=1; echo as_fn_success failed.; } 189as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 190as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 191as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 192if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 193 194else 195 exitcode=1; echo positional parameters were not saved. 196fi 197test x\$exitcode = x0 || exit 1 198test -x / || exit 1" 199 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 200 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 203test \$(( 1 + 1 )) = 2 || exit 1" 204 if (eval "$as_required") 2>/dev/null; then : 205 as_have_required=yes 206else 207 as_have_required=no 208fi 209 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 210 211else 212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 213as_found=false 214for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 215do 216 IFS=$as_save_IFS 217 test -z "$as_dir" && as_dir=. 218 as_found=: 219 case $as_dir in #( 220 /*) 221 for as_base in sh bash ksh sh5; do 222 # Try only shells that exist, to save several forks. 223 as_shell=$as_dir/$as_base 224 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 225 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 CONFIG_SHELL=$as_shell as_have_required=yes 227 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 228 break 2 229fi 230fi 231 done;; 232 esac 233 as_found=false 234done 235$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 236 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 237 CONFIG_SHELL=$SHELL as_have_required=yes 238fi; } 239IFS=$as_save_IFS 240 241 242 if test "x$CONFIG_SHELL" != x; then : 243 export CONFIG_SHELL 244 # We cannot yet assume a decent shell, so we have to provide a 245# neutralization value for shells without unset; and this also 246# works around shells that cannot unset nonexistent variables. 247# Preserve -v and -x to the replacement shell. 248BASH_ENV=/dev/null 249ENV=/dev/null 250(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 251case $- in # (((( 252 *v*x* | *x*v* ) as_opts=-vx ;; 253 *v* ) as_opts=-v ;; 254 *x* ) as_opts=-x ;; 255 * ) as_opts= ;; 256esac 257exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 258# Admittedly, this is quite paranoid, since all the known shells bail 259# out after a failed `exec'. 260$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 261exit 255 262fi 263 264 if test x$as_have_required = xno; then : 265 $as_echo "$0: This script requires a shell more modern than all" 266 $as_echo "$0: the shells that I found on your system." 267 if test x${ZSH_VERSION+set} = xset ; then 268 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 269 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 270 else 271 $as_echo "$0: Please tell bug-autoconf@gnu.org and 272$0: https://bugzilla.redhat.com/ about your system, 273$0: including any error possibly output before this 274$0: message. Then install a modern shell, or manually run 275$0: the script under such a shell if you do have one." 276 fi 277 exit 1 278fi 279fi 280fi 281SHELL=${CONFIG_SHELL-/bin/sh} 282export SHELL 283# Unset more variables known to interfere with behavior of common tools. 284CLICOLOR_FORCE= GREP_OPTIONS= 285unset CLICOLOR_FORCE GREP_OPTIONS 286 287## --------------------- ## 288## M4sh Shell Functions. ## 289## --------------------- ## 290# as_fn_unset VAR 291# --------------- 292# Portably unset VAR. 293as_fn_unset () 294{ 295 { eval $1=; unset $1;} 296} 297as_unset=as_fn_unset 298 299# as_fn_set_status STATUS 300# ----------------------- 301# Set $? to STATUS, without forking. 302as_fn_set_status () 303{ 304 return $1 305} # as_fn_set_status 306 307# as_fn_exit STATUS 308# ----------------- 309# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 310as_fn_exit () 311{ 312 set +e 313 as_fn_set_status $1 314 exit $1 315} # as_fn_exit 316 317# as_fn_mkdir_p 318# ------------- 319# Create "$as_dir" as a directory, including parents if necessary. 320as_fn_mkdir_p () 321{ 322 323 case $as_dir in #( 324 -*) as_dir=./$as_dir;; 325 esac 326 test -d "$as_dir" || eval $as_mkdir_p || { 327 as_dirs= 328 while :; do 329 case $as_dir in #( 330 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 331 *) as_qdir=$as_dir;; 332 esac 333 as_dirs="'$as_qdir' $as_dirs" 334 as_dir=`$as_dirname -- "$as_dir" || 335$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 336 X"$as_dir" : 'X\(//\)[^/]' \| \ 337 X"$as_dir" : 'X\(//\)$' \| \ 338 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 339$as_echo X"$as_dir" | 340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 341 s//\1/ 342 q 343 } 344 /^X\(\/\/\)[^/].*/{ 345 s//\1/ 346 q 347 } 348 /^X\(\/\/\)$/{ 349 s//\1/ 350 q 351 } 352 /^X\(\/\).*/{ 353 s//\1/ 354 q 355 } 356 s/.*/./; q'` 357 test -d "$as_dir" && break 358 done 359 test -z "$as_dirs" || eval "mkdir $as_dirs" 360 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 361 362 363} # as_fn_mkdir_p 364 365# as_fn_executable_p FILE 366# ----------------------- 367# Test if FILE is an executable regular file. 368as_fn_executable_p () 369{ 370 test -f "$1" && test -x "$1" 371} # as_fn_executable_p 372# as_fn_append VAR VALUE 373# ---------------------- 374# Append the text in VALUE to the end of the definition contained in VAR. Take 375# advantage of any shell optimizations that allow amortized linear growth over 376# repeated appends, instead of the typical quadratic growth present in naive 377# implementations. 378if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 379 eval 'as_fn_append () 380 { 381 eval $1+=\$2 382 }' 383else 384 as_fn_append () 385 { 386 eval $1=\$$1\$2 387 } 388fi # as_fn_append 389 390# as_fn_arith ARG... 391# ------------------ 392# Perform arithmetic evaluation on the ARGs, and store the result in the 393# global $as_val. Take advantage of shells that can avoid forks. The arguments 394# must be portable across $(()) and expr. 395if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 396 eval 'as_fn_arith () 397 { 398 as_val=$(( $* )) 399 }' 400else 401 as_fn_arith () 402 { 403 as_val=`expr "$@" || test $? -eq 1` 404 } 405fi # as_fn_arith 406 407 408# as_fn_error STATUS ERROR [LINENO LOG_FD] 409# ---------------------------------------- 410# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 411# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 412# script with STATUS, using 1 if that was 0. 413as_fn_error () 414{ 415 as_status=$1; test $as_status -eq 0 && as_status=1 416 if test "$4"; then 417 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 418 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 419 fi 420 $as_echo "$as_me: error: $2" >&2 421 as_fn_exit $as_status 422} # as_fn_error 423 424if expr a : '\(a\)' >/dev/null 2>&1 && 425 test "X`expr 00001 : '.*\(...\)'`" = X001; then 426 as_expr=expr 427else 428 as_expr=false 429fi 430 431if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 432 as_basename=basename 433else 434 as_basename=false 435fi 436 437if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 438 as_dirname=dirname 439else 440 as_dirname=false 441fi 442 443as_me=`$as_basename -- "$0" || 444$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 445 X"$0" : 'X\(//\)$' \| \ 446 X"$0" : 'X\(/\)' \| . 2>/dev/null || 447$as_echo X/"$0" | 448 sed '/^.*\/\([^/][^/]*\)\/*$/{ 449 s//\1/ 450 q 451 } 452 /^X\/\(\/\/\)$/{ 453 s//\1/ 454 q 455 } 456 /^X\/\(\/\).*/{ 457 s//\1/ 458 q 459 } 460 s/.*/./; q'` 461 462# Avoid depending upon Character Ranges. 463as_cr_letters='abcdefghijklmnopqrstuvwxyz' 464as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 465as_cr_Letters=$as_cr_letters$as_cr_LETTERS 466as_cr_digits='0123456789' 467as_cr_alnum=$as_cr_Letters$as_cr_digits 468 469 470 as_lineno_1=$LINENO as_lineno_1a=$LINENO 471 as_lineno_2=$LINENO as_lineno_2a=$LINENO 472 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 473 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 474 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 475 sed -n ' 476 p 477 /[$]LINENO/= 478 ' <$as_myself | 479 sed ' 480 s/[$]LINENO.*/&-/ 481 t lineno 482 b 483 :lineno 484 N 485 :loop 486 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 487 t loop 488 s/-\n.*// 489 ' >$as_me.lineno && 490 chmod +x "$as_me.lineno" || 491 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 492 493 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 494 # already done that, so ensure we don't try to do so again and fall 495 # in an infinite loop. This has already happened in practice. 496 _as_can_reexec=no; export _as_can_reexec 497 # Don't try to exec as it changes $[0], causing all sort of problems 498 # (the dirname of $[0] is not the place where we might find the 499 # original and so on. Autoconf is especially sensitive to this). 500 . "./$as_me.lineno" 501 # Exit status is that of the last command. 502 exit 503} 504 505ECHO_C= ECHO_N= ECHO_T= 506case `echo -n x` in #((((( 507-n*) 508 case `echo 'xy\c'` in 509 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 510 xy) ECHO_C='\c';; 511 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 512 ECHO_T=' ';; 513 esac;; 514*) 515 ECHO_N='-n';; 516esac 517 518rm -f conf$$ conf$$.exe conf$$.file 519if test -d conf$$.dir; then 520 rm -f conf$$.dir/conf$$.file 521else 522 rm -f conf$$.dir 523 mkdir conf$$.dir 2>/dev/null 524fi 525if (echo >conf$$.file) 2>/dev/null; then 526 if ln -s conf$$.file conf$$ 2>/dev/null; then 527 as_ln_s='ln -s' 528 # ... but there are two gotchas: 529 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 530 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 531 # In both cases, we have to default to `cp -pR'. 532 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 533 as_ln_s='cp -pR' 534 elif ln conf$$.file conf$$ 2>/dev/null; then 535 as_ln_s=ln 536 else 537 as_ln_s='cp -pR' 538 fi 539else 540 as_ln_s='cp -pR' 541fi 542rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 543rmdir conf$$.dir 2>/dev/null 544 545if mkdir -p . 2>/dev/null; then 546 as_mkdir_p='mkdir -p "$as_dir"' 547else 548 test -d ./-p && rmdir ./-p 549 as_mkdir_p=false 550fi 551 552as_test_x='test -x' 553as_executable_p=as_fn_executable_p 554 555# Sed expression to map a string onto a valid CPP name. 556as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 557 558# Sed expression to map a string onto a valid variable name. 559as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 560 561 562test -n "$DJDIR" || exec 7<&0 </dev/null 563exec 6>&1 564 565# Name of the host. 566# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 567# so uname gets run too. 568ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 569 570# 571# Initializations. 572# 573ac_default_prefix=/usr/local 574ac_clean_files= 575ac_config_libobj_dir=. 576LIBOBJS= 577cross_compiling=no 578subdirs= 579MFLAGS= 580MAKEFLAGS= 581 582# Identity of this package. 583PACKAGE_NAME='elfutils' 584PACKAGE_TARNAME='elfutils' 585PACKAGE_VERSION='0.161' 586PACKAGE_STRING='elfutils 0.161' 587PACKAGE_BUGREPORT='https://bugzilla.redhat.com/' 588PACKAGE_URL='' 589 590ac_unique_file="libelf/libelf.h" 591# Factoring default headers for most tests. 592ac_includes_default="\ 593#include <stdio.h> 594#ifdef HAVE_SYS_TYPES_H 595# include <sys/types.h> 596#endif 597#ifdef HAVE_SYS_STAT_H 598# include <sys/stat.h> 599#endif 600#ifdef STDC_HEADERS 601# include <stdlib.h> 602# include <stddef.h> 603#else 604# ifdef HAVE_STDLIB_H 605# include <stdlib.h> 606# endif 607#endif 608#ifdef HAVE_STRING_H 609# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 610# include <memory.h> 611# endif 612# include <string.h> 613#endif 614#ifdef HAVE_STRINGS_H 615# include <strings.h> 616#endif 617#ifdef HAVE_INTTYPES_H 618# include <inttypes.h> 619#endif 620#ifdef HAVE_STDINT_H 621# include <stdint.h> 622#endif 623#ifdef HAVE_UNISTD_H 624# include <unistd.h> 625#endif" 626 627ac_subst_vars='am__EXEEXT_FALSE 628am__EXEEXT_TRUE 629LTLIBOBJS 630LIBOBJS 631CC_BIARCH 632BIARCH_FALSE 633BIARCH_TRUE 634EGREP 635GREP 636CPP 637eu_version 638XGETTEXT_EXTRA_OPTIONS 639MSGMERGE 640XGETTEXT_015 641XGETTEXT 642GMSGFMT_015 643MSGFMT_015 644GMSGFMT 645MSGFMT 646GETTEXT_MACRO_VERSION 647USE_NLS 648STANDALONE_FALSE 649STANDALONE_TRUE 650HAVE_LIBASM_FALSE 651HAVE_LIBASM_TRUE 652FATAL_TEXTREL_FALSE 653FATAL_TEXTREL_TRUE 654DEMANGLE_FALSE 655DEMANGLE_TRUE 656zip_LIBS 657LZMA_FALSE 658LZMA_TRUE 659BZLIB_FALSE 660BZLIB_TRUE 661ZLIB_FALSE 662ZLIB_TRUE 663LIBEBL_SUBDIR 664TESTS_RPATH_FALSE 665TESTS_RPATH_TRUE 666BUILD_STATIC_FALSE 667BUILD_STATIC_TRUE 668USE_VALGRIND_FALSE 669USE_VALGRIND_TRUE 670HAVE_VALGRIND 671GCOV_FALSE 672GCOV_TRUE 673GPROF_FALSE 674GPROF_TRUE 675DEBUGPRED 676NEVER_FALSE 677NEVER_TRUE 678base_cpu 679NATIVE_LD_FALSE 680NATIVE_LD_TRUE 681NM 682READELF 683ac_ct_AR 684AR 685LEXLIB 686LEX_OUTPUT_ROOT 687LEX 688YFLAGS 689YACC 690RANLIB 691am__fastdepCC_FALSE 692am__fastdepCC_TRUE 693CCDEPMODE 694am__nodep 695AMDEPBACKSLASH 696AMDEP_FALSE 697AMDEP_TRUE 698am__quote 699am__include 700DEPDIR 701OBJEXT 702EXEEXT 703ac_ct_CC 704CPPFLAGS 705LDFLAGS 706CFLAGS 707CC 708USE_LOCKS_FALSE 709USE_LOCKS_TRUE 710host_os 711host_vendor 712host_cpu 713host 714build_os 715build_vendor 716build_cpu 717build 718MODVERSION 719MAINT 720MAINTAINER_MODE_FALSE 721MAINTAINER_MODE_TRUE 722AM_BACKSLASH 723AM_DEFAULT_VERBOSITY 724AM_DEFAULT_V 725AM_V 726am__untar 727am__tar 728AMTAR 729am__leading_dot 730SET_MAKE 731AWK 732mkdir_p 733MKDIR_P 734INSTALL_STRIP_PROGRAM 735STRIP 736install_sh 737MAKEINFO 738AUTOHEADER 739AUTOMAKE 740AUTOCONF 741ACLOCAL 742VERSION 743PACKAGE 744CYGPATH_W 745am__isrc 746INSTALL_DATA 747INSTALL_SCRIPT 748INSTALL_PROGRAM 749target_alias 750host_alias 751build_alias 752LIBS 753ECHO_T 754ECHO_N 755ECHO_C 756DEFS 757mandir 758localedir 759libdir 760psdir 761pdfdir 762dvidir 763htmldir 764infodir 765docdir 766oldincludedir 767includedir 768localstatedir 769sharedstatedir 770sysconfdir 771datadir 772datarootdir 773libexecdir 774sbindir 775bindir 776program_transform_name 777prefix 778exec_prefix 779PACKAGE_URL 780PACKAGE_BUGREPORT 781PACKAGE_STRING 782PACKAGE_VERSION 783PACKAGE_TARNAME 784PACKAGE_NAME 785PATH_SEPARATOR 786SHELL' 787ac_subst_files='' 788ac_user_opts=' 789enable_option_checking 790enable_silent_rules 791enable_maintainer_mode 792enable_deterministic_archives 793enable_thread_safety 794enable_dependency_tracking 795enable_largefile 796enable_generic 797enable_debugpred 798enable_gprof 799enable_gcov 800enable_valgrind 801enable_tests_rpath 802enable_libebl_subdir 803with_zlib 804with_bzlib 805with_lzma 806enable_textrelcheck 807enable_nls 808with_biarch 809' 810 ac_precious_vars='build_alias 811host_alias 812target_alias 813CC 814CFLAGS 815LDFLAGS 816LIBS 817CPPFLAGS 818YACC 819YFLAGS 820CPP' 821 822 823# Initialize some variables set by options. 824ac_init_help= 825ac_init_version=false 826ac_unrecognized_opts= 827ac_unrecognized_sep= 828# The variables have the same names as the options, with 829# dashes changed to underlines. 830cache_file=/dev/null 831exec_prefix=NONE 832no_create= 833no_recursion= 834prefix=NONE 835program_prefix=NONE 836program_suffix=NONE 837program_transform_name=s,x,x, 838silent= 839site= 840srcdir= 841verbose= 842x_includes=NONE 843x_libraries=NONE 844 845# Installation directory options. 846# These are left unexpanded so users can "make install exec_prefix=/foo" 847# and all the variables that are supposed to be based on exec_prefix 848# by default will actually change. 849# Use braces instead of parens because sh, perl, etc. also accept them. 850# (The list follows the same order as the GNU Coding Standards.) 851bindir='${exec_prefix}/bin' 852sbindir='${exec_prefix}/sbin' 853libexecdir='${exec_prefix}/libexec' 854datarootdir='${prefix}/share' 855datadir='${datarootdir}' 856sysconfdir='${prefix}/etc' 857sharedstatedir='${prefix}/com' 858localstatedir='${prefix}/var' 859includedir='${prefix}/include' 860oldincludedir='/usr/include' 861docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 862infodir='${datarootdir}/info' 863htmldir='${docdir}' 864dvidir='${docdir}' 865pdfdir='${docdir}' 866psdir='${docdir}' 867libdir='${exec_prefix}/lib' 868localedir='${datarootdir}/locale' 869mandir='${datarootdir}/man' 870 871ac_prev= 872ac_dashdash= 873for ac_option 874do 875 # If the previous option needs an argument, assign it. 876 if test -n "$ac_prev"; then 877 eval $ac_prev=\$ac_option 878 ac_prev= 879 continue 880 fi 881 882 case $ac_option in 883 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 884 *=) ac_optarg= ;; 885 *) ac_optarg=yes ;; 886 esac 887 888 # Accept the important Cygnus configure options, so we can diagnose typos. 889 890 case $ac_dashdash$ac_option in 891 --) 892 ac_dashdash=yes ;; 893 894 -bindir | --bindir | --bindi | --bind | --bin | --bi) 895 ac_prev=bindir ;; 896 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 897 bindir=$ac_optarg ;; 898 899 -build | --build | --buil | --bui | --bu) 900 ac_prev=build_alias ;; 901 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 902 build_alias=$ac_optarg ;; 903 904 -cache-file | --cache-file | --cache-fil | --cache-fi \ 905 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 906 ac_prev=cache_file ;; 907 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 908 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 909 cache_file=$ac_optarg ;; 910 911 --config-cache | -C) 912 cache_file=config.cache ;; 913 914 -datadir | --datadir | --datadi | --datad) 915 ac_prev=datadir ;; 916 -datadir=* | --datadir=* | --datadi=* | --datad=*) 917 datadir=$ac_optarg ;; 918 919 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 920 | --dataroo | --dataro | --datar) 921 ac_prev=datarootdir ;; 922 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 923 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 924 datarootdir=$ac_optarg ;; 925 926 -disable-* | --disable-*) 927 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 928 # Reject names that are not valid shell variable names. 929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 930 as_fn_error $? "invalid feature name: $ac_useropt" 931 ac_useropt_orig=$ac_useropt 932 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 933 case $ac_user_opts in 934 *" 935"enable_$ac_useropt" 936"*) ;; 937 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 938 ac_unrecognized_sep=', ';; 939 esac 940 eval enable_$ac_useropt=no ;; 941 942 -docdir | --docdir | --docdi | --doc | --do) 943 ac_prev=docdir ;; 944 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 945 docdir=$ac_optarg ;; 946 947 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 948 ac_prev=dvidir ;; 949 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 950 dvidir=$ac_optarg ;; 951 952 -enable-* | --enable-*) 953 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 954 # Reject names that are not valid shell variable names. 955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 956 as_fn_error $? "invalid feature name: $ac_useropt" 957 ac_useropt_orig=$ac_useropt 958 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 959 case $ac_user_opts in 960 *" 961"enable_$ac_useropt" 962"*) ;; 963 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 964 ac_unrecognized_sep=', ';; 965 esac 966 eval enable_$ac_useropt=\$ac_optarg ;; 967 968 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 969 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 970 | --exec | --exe | --ex) 971 ac_prev=exec_prefix ;; 972 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 973 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 974 | --exec=* | --exe=* | --ex=*) 975 exec_prefix=$ac_optarg ;; 976 977 -gas | --gas | --ga | --g) 978 # Obsolete; use --with-gas. 979 with_gas=yes ;; 980 981 -help | --help | --hel | --he | -h) 982 ac_init_help=long ;; 983 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 984 ac_init_help=recursive ;; 985 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 986 ac_init_help=short ;; 987 988 -host | --host | --hos | --ho) 989 ac_prev=host_alias ;; 990 -host=* | --host=* | --hos=* | --ho=*) 991 host_alias=$ac_optarg ;; 992 993 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 994 ac_prev=htmldir ;; 995 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 996 | --ht=*) 997 htmldir=$ac_optarg ;; 998 999 -includedir | --includedir | --includedi | --included | --include \ 1000 | --includ | --inclu | --incl | --inc) 1001 ac_prev=includedir ;; 1002 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1003 | --includ=* | --inclu=* | --incl=* | --inc=*) 1004 includedir=$ac_optarg ;; 1005 1006 -infodir | --infodir | --infodi | --infod | --info | --inf) 1007 ac_prev=infodir ;; 1008 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1009 infodir=$ac_optarg ;; 1010 1011 -libdir | --libdir | --libdi | --libd) 1012 ac_prev=libdir ;; 1013 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1014 libdir=$ac_optarg ;; 1015 1016 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1017 | --libexe | --libex | --libe) 1018 ac_prev=libexecdir ;; 1019 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1020 | --libexe=* | --libex=* | --libe=*) 1021 libexecdir=$ac_optarg ;; 1022 1023 -localedir | --localedir | --localedi | --localed | --locale) 1024 ac_prev=localedir ;; 1025 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1026 localedir=$ac_optarg ;; 1027 1028 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1029 | --localstate | --localstat | --localsta | --localst | --locals) 1030 ac_prev=localstatedir ;; 1031 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1032 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1033 localstatedir=$ac_optarg ;; 1034 1035 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1036 ac_prev=mandir ;; 1037 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1038 mandir=$ac_optarg ;; 1039 1040 -nfp | --nfp | --nf) 1041 # Obsolete; use --without-fp. 1042 with_fp=no ;; 1043 1044 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1045 | --no-cr | --no-c | -n) 1046 no_create=yes ;; 1047 1048 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1049 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1050 no_recursion=yes ;; 1051 1052 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1053 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1054 | --oldin | --oldi | --old | --ol | --o) 1055 ac_prev=oldincludedir ;; 1056 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1057 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1058 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1059 oldincludedir=$ac_optarg ;; 1060 1061 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1062 ac_prev=prefix ;; 1063 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1064 prefix=$ac_optarg ;; 1065 1066 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1067 | --program-pre | --program-pr | --program-p) 1068 ac_prev=program_prefix ;; 1069 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1070 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1071 program_prefix=$ac_optarg ;; 1072 1073 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1074 | --program-suf | --program-su | --program-s) 1075 ac_prev=program_suffix ;; 1076 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1077 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1078 program_suffix=$ac_optarg ;; 1079 1080 -program-transform-name | --program-transform-name \ 1081 | --program-transform-nam | --program-transform-na \ 1082 | --program-transform-n | --program-transform- \ 1083 | --program-transform | --program-transfor \ 1084 | --program-transfo | --program-transf \ 1085 | --program-trans | --program-tran \ 1086 | --progr-tra | --program-tr | --program-t) 1087 ac_prev=program_transform_name ;; 1088 -program-transform-name=* | --program-transform-name=* \ 1089 | --program-transform-nam=* | --program-transform-na=* \ 1090 | --program-transform-n=* | --program-transform-=* \ 1091 | --program-transform=* | --program-transfor=* \ 1092 | --program-transfo=* | --program-transf=* \ 1093 | --program-trans=* | --program-tran=* \ 1094 | --progr-tra=* | --program-tr=* | --program-t=*) 1095 program_transform_name=$ac_optarg ;; 1096 1097 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1098 ac_prev=pdfdir ;; 1099 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1100 pdfdir=$ac_optarg ;; 1101 1102 -psdir | --psdir | --psdi | --psd | --ps) 1103 ac_prev=psdir ;; 1104 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1105 psdir=$ac_optarg ;; 1106 1107 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1108 | -silent | --silent | --silen | --sile | --sil) 1109 silent=yes ;; 1110 1111 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1112 ac_prev=sbindir ;; 1113 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1114 | --sbi=* | --sb=*) 1115 sbindir=$ac_optarg ;; 1116 1117 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1118 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1119 | --sharedst | --shareds | --shared | --share | --shar \ 1120 | --sha | --sh) 1121 ac_prev=sharedstatedir ;; 1122 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1123 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1124 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1125 | --sha=* | --sh=*) 1126 sharedstatedir=$ac_optarg ;; 1127 1128 -site | --site | --sit) 1129 ac_prev=site ;; 1130 -site=* | --site=* | --sit=*) 1131 site=$ac_optarg ;; 1132 1133 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1134 ac_prev=srcdir ;; 1135 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1136 srcdir=$ac_optarg ;; 1137 1138 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1139 | --syscon | --sysco | --sysc | --sys | --sy) 1140 ac_prev=sysconfdir ;; 1141 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1142 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1143 sysconfdir=$ac_optarg ;; 1144 1145 -target | --target | --targe | --targ | --tar | --ta | --t) 1146 ac_prev=target_alias ;; 1147 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1148 target_alias=$ac_optarg ;; 1149 1150 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1151 verbose=yes ;; 1152 1153 -version | --version | --versio | --versi | --vers | -V) 1154 ac_init_version=: ;; 1155 1156 -with-* | --with-*) 1157 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1158 # Reject names that are not valid shell variable names. 1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1160 as_fn_error $? "invalid package name: $ac_useropt" 1161 ac_useropt_orig=$ac_useropt 1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1163 case $ac_user_opts in 1164 *" 1165"with_$ac_useropt" 1166"*) ;; 1167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1168 ac_unrecognized_sep=', ';; 1169 esac 1170 eval with_$ac_useropt=\$ac_optarg ;; 1171 1172 -without-* | --without-*) 1173 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1174 # Reject names that are not valid shell variable names. 1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1176 as_fn_error $? "invalid package name: $ac_useropt" 1177 ac_useropt_orig=$ac_useropt 1178 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1179 case $ac_user_opts in 1180 *" 1181"with_$ac_useropt" 1182"*) ;; 1183 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1184 ac_unrecognized_sep=', ';; 1185 esac 1186 eval with_$ac_useropt=no ;; 1187 1188 --x) 1189 # Obsolete; use --with-x. 1190 with_x=yes ;; 1191 1192 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1193 | --x-incl | --x-inc | --x-in | --x-i) 1194 ac_prev=x_includes ;; 1195 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1196 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1197 x_includes=$ac_optarg ;; 1198 1199 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1200 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1201 ac_prev=x_libraries ;; 1202 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1203 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1204 x_libraries=$ac_optarg ;; 1205 1206 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1207Try \`$0 --help' for more information" 1208 ;; 1209 1210 *=*) 1211 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1212 # Reject names that are not valid shell variable names. 1213 case $ac_envvar in #( 1214 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1215 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1216 esac 1217 eval $ac_envvar=\$ac_optarg 1218 export $ac_envvar ;; 1219 1220 *) 1221 # FIXME: should be removed in autoconf 3.0. 1222 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1223 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1224 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1225 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1226 ;; 1227 1228 esac 1229done 1230 1231if test -n "$ac_prev"; then 1232 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1233 as_fn_error $? "missing argument to $ac_option" 1234fi 1235 1236if test -n "$ac_unrecognized_opts"; then 1237 case $enable_option_checking in 1238 no) ;; 1239 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1240 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1241 esac 1242fi 1243 1244# Check all directory arguments for consistency. 1245for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1246 datadir sysconfdir sharedstatedir localstatedir includedir \ 1247 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1248 libdir localedir mandir 1249do 1250 eval ac_val=\$$ac_var 1251 # Remove trailing slashes. 1252 case $ac_val in 1253 */ ) 1254 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1255 eval $ac_var=\$ac_val;; 1256 esac 1257 # Be sure to have absolute directory names. 1258 case $ac_val in 1259 [\\/$]* | ?:[\\/]* ) continue;; 1260 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1261 esac 1262 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1263done 1264 1265# There might be people who depend on the old broken behavior: `$host' 1266# used to hold the argument of --host etc. 1267# FIXME: To remove some day. 1268build=$build_alias 1269host=$host_alias 1270target=$target_alias 1271 1272# FIXME: To remove some day. 1273if test "x$host_alias" != x; then 1274 if test "x$build_alias" = x; then 1275 cross_compiling=maybe 1276 elif test "x$build_alias" != "x$host_alias"; then 1277 cross_compiling=yes 1278 fi 1279fi 1280 1281ac_tool_prefix= 1282test -n "$host_alias" && ac_tool_prefix=$host_alias- 1283 1284test "$silent" = yes && exec 6>/dev/null 1285 1286 1287ac_pwd=`pwd` && test -n "$ac_pwd" && 1288ac_ls_di=`ls -di .` && 1289ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1290 as_fn_error $? "working directory cannot be determined" 1291test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1292 as_fn_error $? "pwd does not report name of working directory" 1293 1294 1295# Find the source files, if location was not specified. 1296if test -z "$srcdir"; then 1297 ac_srcdir_defaulted=yes 1298 # Try the directory containing this script, then the parent directory. 1299 ac_confdir=`$as_dirname -- "$as_myself" || 1300$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1301 X"$as_myself" : 'X\(//\)[^/]' \| \ 1302 X"$as_myself" : 'X\(//\)$' \| \ 1303 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1304$as_echo X"$as_myself" | 1305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1306 s//\1/ 1307 q 1308 } 1309 /^X\(\/\/\)[^/].*/{ 1310 s//\1/ 1311 q 1312 } 1313 /^X\(\/\/\)$/{ 1314 s//\1/ 1315 q 1316 } 1317 /^X\(\/\).*/{ 1318 s//\1/ 1319 q 1320 } 1321 s/.*/./; q'` 1322 srcdir=$ac_confdir 1323 if test ! -r "$srcdir/$ac_unique_file"; then 1324 srcdir=.. 1325 fi 1326else 1327 ac_srcdir_defaulted=no 1328fi 1329if test ! -r "$srcdir/$ac_unique_file"; then 1330 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1331 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1332fi 1333ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1334ac_abs_confdir=`( 1335 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1336 pwd)` 1337# When building in place, set srcdir=. 1338if test "$ac_abs_confdir" = "$ac_pwd"; then 1339 srcdir=. 1340fi 1341# Remove unnecessary trailing slashes from srcdir. 1342# Double slashes in file names in object file debugging info 1343# mess up M-x gdb in Emacs. 1344case $srcdir in 1345*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1346esac 1347for ac_var in $ac_precious_vars; do 1348 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1349 eval ac_env_${ac_var}_value=\$${ac_var} 1350 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1351 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1352done 1353 1354# 1355# Report the --help message. 1356# 1357if test "$ac_init_help" = "long"; then 1358 # Omit some internal or obsolete options to make the list less imposing. 1359 # This message is too long to be a string in the A/UX 3.1 sh. 1360 cat <<_ACEOF 1361\`configure' configures elfutils 0.161 to adapt to many kinds of systems. 1362 1363Usage: $0 [OPTION]... [VAR=VALUE]... 1364 1365To assign environment variables (e.g., CC, CFLAGS...), specify them as 1366VAR=VALUE. See below for descriptions of some of the useful variables. 1367 1368Defaults for the options are specified in brackets. 1369 1370Configuration: 1371 -h, --help display this help and exit 1372 --help=short display options specific to this package 1373 --help=recursive display the short help of all the included packages 1374 -V, --version display version information and exit 1375 -q, --quiet, --silent do not print \`checking ...' messages 1376 --cache-file=FILE cache test results in FILE [disabled] 1377 -C, --config-cache alias for \`--cache-file=config.cache' 1378 -n, --no-create do not create output files 1379 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1380 1381Installation directories: 1382 --prefix=PREFIX install architecture-independent files in PREFIX 1383 [$ac_default_prefix] 1384 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1385 [PREFIX] 1386 1387By default, \`make install' will install all the files in 1388\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1389an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1390for instance \`--prefix=\$HOME'. 1391 1392For better control, use the options below. 1393 1394Fine tuning of the installation directories: 1395 --bindir=DIR user executables [EPREFIX/bin] 1396 --sbindir=DIR system admin executables [EPREFIX/sbin] 1397 --libexecdir=DIR program executables [EPREFIX/libexec] 1398 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1399 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1400 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1401 --libdir=DIR object code libraries [EPREFIX/lib] 1402 --includedir=DIR C header files [PREFIX/include] 1403 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1404 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1405 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1406 --infodir=DIR info documentation [DATAROOTDIR/info] 1407 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1408 --mandir=DIR man documentation [DATAROOTDIR/man] 1409 --docdir=DIR documentation root [DATAROOTDIR/doc/elfutils] 1410 --htmldir=DIR html documentation [DOCDIR] 1411 --dvidir=DIR dvi documentation [DOCDIR] 1412 --pdfdir=DIR pdf documentation [DOCDIR] 1413 --psdir=DIR ps documentation [DOCDIR] 1414_ACEOF 1415 1416 cat <<\_ACEOF 1417 1418Program names: 1419 --program-prefix=PREFIX prepend PREFIX to installed program names 1420 --program-suffix=SUFFIX append SUFFIX to installed program names 1421 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1422 1423System types: 1424 --build=BUILD configure for building on BUILD [guessed] 1425 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1426_ACEOF 1427fi 1428 1429if test -n "$ac_init_help"; then 1430 case $ac_init_help in 1431 short | recursive ) echo "Configuration of elfutils 0.161:";; 1432 esac 1433 cat <<\_ACEOF 1434 1435Optional Features: 1436 --disable-option-checking ignore unrecognized --enable/--with options 1437 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1438 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1439 --enable-silent-rules less verbose build output (undo: "make V=1") 1440 --disable-silent-rules verbose build output (undo: "make V=0") 1441 --enable-maintainer-mode 1442 enable make rules and dependencies not useful (and 1443 sometimes confusing) to the casual installer 1444 --enable-deterministic-archives 1445 ar and ranlib default to -D behavior 1446 --enable-thread-safety enable thread safety of libraries EXPERIMENTAL 1447 --enable-dependency-tracking 1448 do not reject slow dependency extractors 1449 --disable-dependency-tracking 1450 speeds up one-time build 1451 --disable-largefile omit support for large files 1452 --disable-generic do not build generic linker 1453 --enable-debugpred build binaries with support to debug branch 1454 prediction 1455 --enable-gprof build binaries with gprof support 1456 --enable-gcov build binaries with gcov support 1457 --enable-valgrind run all tests under valgrind 1458 --enable-tests-rpath build $ORIGIN-using rpath into tests 1459 --enable-libebl-subdir=DIR 1460 install libebl_CPU modules in $(libdir)/DIR 1461 --disable-textrelcheck Disable textrelcheck being a fatal error 1462 --disable-nls do not use Native Language Support 1463 1464Optional Packages: 1465 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1466 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1467 --with-zlib support [zlib] compression in libdwfl 1468 --with-bzlib support [bzlib] compression in libdwfl 1469 --with-lzma support [lzma] compression in libdwfl 1470 --with-biarch enable biarch tests despite build problems 1471 1472Some influential environment variables: 1473 CC C compiler command 1474 CFLAGS C compiler flags 1475 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1476 nonstandard directory <lib dir> 1477 LIBS libraries to pass to the linker, e.g. -l<library> 1478 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1479 you have headers in a nonstandard directory <include dir> 1480 YACC The `Yet Another Compiler Compiler' implementation to use. 1481 Defaults to the first program found out of: `bison -y', `byacc', 1482 `yacc'. 1483 YFLAGS The list of arguments that will be passed by default to $YACC. 1484 This script will default YFLAGS to the empty string to avoid a 1485 default value of `-d' given by some make applications. 1486 CPP C preprocessor 1487 1488Use these variables to override the choices made by `configure' or to help 1489it to find libraries and programs with nonstandard names/locations. 1490 1491Report bugs to <https://bugzilla.redhat.com/>. 1492_ACEOF 1493ac_status=$? 1494fi 1495 1496if test "$ac_init_help" = "recursive"; then 1497 # If there are subdirs, report their specific --help. 1498 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1499 test -d "$ac_dir" || 1500 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1501 continue 1502 ac_builddir=. 1503 1504case "$ac_dir" in 1505.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1506*) 1507 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1508 # A ".." for each directory in $ac_dir_suffix. 1509 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1510 case $ac_top_builddir_sub in 1511 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1512 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1513 esac ;; 1514esac 1515ac_abs_top_builddir=$ac_pwd 1516ac_abs_builddir=$ac_pwd$ac_dir_suffix 1517# for backward compatibility: 1518ac_top_builddir=$ac_top_build_prefix 1519 1520case $srcdir in 1521 .) # We are building in place. 1522 ac_srcdir=. 1523 ac_top_srcdir=$ac_top_builddir_sub 1524 ac_abs_top_srcdir=$ac_pwd ;; 1525 [\\/]* | ?:[\\/]* ) # Absolute name. 1526 ac_srcdir=$srcdir$ac_dir_suffix; 1527 ac_top_srcdir=$srcdir 1528 ac_abs_top_srcdir=$srcdir ;; 1529 *) # Relative name. 1530 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1531 ac_top_srcdir=$ac_top_build_prefix$srcdir 1532 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1533esac 1534ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1535 1536 cd "$ac_dir" || { ac_status=$?; continue; } 1537 # Check for guested configure. 1538 if test -f "$ac_srcdir/configure.gnu"; then 1539 echo && 1540 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1541 elif test -f "$ac_srcdir/configure"; then 1542 echo && 1543 $SHELL "$ac_srcdir/configure" --help=recursive 1544 else 1545 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1546 fi || ac_status=$? 1547 cd "$ac_pwd" || { ac_status=$?; break; } 1548 done 1549fi 1550 1551test -n "$ac_init_help" && exit $ac_status 1552if $ac_init_version; then 1553 cat <<\_ACEOF 1554elfutils configure 0.161 1555generated by GNU Autoconf 2.69 1556 1557Copyright (C) 2012 Free Software Foundation, Inc. 1558This configure script is free software; the Free Software Foundation 1559gives unlimited permission to copy, distribute and modify it. 1560 1561Copyright (C) 1996-2014 Red Hat, Inc. 1562_ACEOF 1563 exit 1564fi 1565 1566## ------------------------ ## 1567## Autoconf initialization. ## 1568## ------------------------ ## 1569 1570# ac_fn_c_try_compile LINENO 1571# -------------------------- 1572# Try to compile conftest.$ac_ext, and return whether this succeeded. 1573ac_fn_c_try_compile () 1574{ 1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1576 rm -f conftest.$ac_objext 1577 if { { ac_try="$ac_compile" 1578case "(($ac_try" in 1579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1580 *) ac_try_echo=$ac_try;; 1581esac 1582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1583$as_echo "$ac_try_echo"; } >&5 1584 (eval "$ac_compile") 2>conftest.err 1585 ac_status=$? 1586 if test -s conftest.err; then 1587 grep -v '^ *+' conftest.err >conftest.er1 1588 cat conftest.er1 >&5 1589 mv -f conftest.er1 conftest.err 1590 fi 1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1592 test $ac_status = 0; } && { 1593 test -z "$ac_c_werror_flag" || 1594 test ! -s conftest.err 1595 } && test -s conftest.$ac_objext; then : 1596 ac_retval=0 1597else 1598 $as_echo "$as_me: failed program was:" >&5 1599sed 's/^/| /' conftest.$ac_ext >&5 1600 1601 ac_retval=1 1602fi 1603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1604 as_fn_set_status $ac_retval 1605 1606} # ac_fn_c_try_compile 1607 1608# ac_fn_c_try_link LINENO 1609# ----------------------- 1610# Try to link conftest.$ac_ext, and return whether this succeeded. 1611ac_fn_c_try_link () 1612{ 1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1614 rm -f conftest.$ac_objext conftest$ac_exeext 1615 if { { ac_try="$ac_link" 1616case "(($ac_try" in 1617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1618 *) ac_try_echo=$ac_try;; 1619esac 1620eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1621$as_echo "$ac_try_echo"; } >&5 1622 (eval "$ac_link") 2>conftest.err 1623 ac_status=$? 1624 if test -s conftest.err; then 1625 grep -v '^ *+' conftest.err >conftest.er1 1626 cat conftest.er1 >&5 1627 mv -f conftest.er1 conftest.err 1628 fi 1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1630 test $ac_status = 0; } && { 1631 test -z "$ac_c_werror_flag" || 1632 test ! -s conftest.err 1633 } && test -s conftest$ac_exeext && { 1634 test "$cross_compiling" = yes || 1635 test -x conftest$ac_exeext 1636 }; then : 1637 ac_retval=0 1638else 1639 $as_echo "$as_me: failed program was:" >&5 1640sed 's/^/| /' conftest.$ac_ext >&5 1641 1642 ac_retval=1 1643fi 1644 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1645 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1646 # interfere with the next link command; also delete a directory that is 1647 # left behind by Apple's compiler. We do this before executing the actions. 1648 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1650 as_fn_set_status $ac_retval 1651 1652} # ac_fn_c_try_link 1653 1654# ac_fn_c_try_run LINENO 1655# ---------------------- 1656# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1657# that executables *can* be run. 1658ac_fn_c_try_run () 1659{ 1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1661 if { { ac_try="$ac_link" 1662case "(($ac_try" in 1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1664 *) ac_try_echo=$ac_try;; 1665esac 1666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1667$as_echo "$ac_try_echo"; } >&5 1668 (eval "$ac_link") 2>&5 1669 ac_status=$? 1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1671 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1672 { { case "(($ac_try" in 1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1674 *) ac_try_echo=$ac_try;; 1675esac 1676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1677$as_echo "$ac_try_echo"; } >&5 1678 (eval "$ac_try") 2>&5 1679 ac_status=$? 1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1681 test $ac_status = 0; }; }; then : 1682 ac_retval=0 1683else 1684 $as_echo "$as_me: program exited with status $ac_status" >&5 1685 $as_echo "$as_me: failed program was:" >&5 1686sed 's/^/| /' conftest.$ac_ext >&5 1687 1688 ac_retval=$ac_status 1689fi 1690 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1692 as_fn_set_status $ac_retval 1693 1694} # ac_fn_c_try_run 1695 1696# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1697# -------------------------------------------- 1698# Tries to find the compile-time value of EXPR in a program that includes 1699# INCLUDES, setting VAR accordingly. Returns whether the value could be 1700# computed 1701ac_fn_c_compute_int () 1702{ 1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1704 if test "$cross_compiling" = yes; then 1705 # Depending upon the size, compute the lo and hi bounds. 1706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1707/* end confdefs.h. */ 1708$4 1709int 1710main () 1711{ 1712static int test_array [1 - 2 * !(($2) >= 0)]; 1713test_array [0] = 0; 1714return test_array [0]; 1715 1716 ; 1717 return 0; 1718} 1719_ACEOF 1720if ac_fn_c_try_compile "$LINENO"; then : 1721 ac_lo=0 ac_mid=0 1722 while :; do 1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1724/* end confdefs.h. */ 1725$4 1726int 1727main () 1728{ 1729static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1730test_array [0] = 0; 1731return test_array [0]; 1732 1733 ; 1734 return 0; 1735} 1736_ACEOF 1737if ac_fn_c_try_compile "$LINENO"; then : 1738 ac_hi=$ac_mid; break 1739else 1740 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1741 if test $ac_lo -le $ac_mid; then 1742 ac_lo= ac_hi= 1743 break 1744 fi 1745 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1746fi 1747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1748 done 1749else 1750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1751/* end confdefs.h. */ 1752$4 1753int 1754main () 1755{ 1756static int test_array [1 - 2 * !(($2) < 0)]; 1757test_array [0] = 0; 1758return test_array [0]; 1759 1760 ; 1761 return 0; 1762} 1763_ACEOF 1764if ac_fn_c_try_compile "$LINENO"; then : 1765 ac_hi=-1 ac_mid=-1 1766 while :; do 1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1768/* end confdefs.h. */ 1769$4 1770int 1771main () 1772{ 1773static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1774test_array [0] = 0; 1775return test_array [0]; 1776 1777 ; 1778 return 0; 1779} 1780_ACEOF 1781if ac_fn_c_try_compile "$LINENO"; then : 1782 ac_lo=$ac_mid; break 1783else 1784 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1785 if test $ac_mid -le $ac_hi; then 1786 ac_lo= ac_hi= 1787 break 1788 fi 1789 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1790fi 1791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1792 done 1793else 1794 ac_lo= ac_hi= 1795fi 1796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1797fi 1798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1799# Binary search between lo and hi bounds. 1800while test "x$ac_lo" != "x$ac_hi"; do 1801 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1803/* end confdefs.h. */ 1804$4 1805int 1806main () 1807{ 1808static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1809test_array [0] = 0; 1810return test_array [0]; 1811 1812 ; 1813 return 0; 1814} 1815_ACEOF 1816if ac_fn_c_try_compile "$LINENO"; then : 1817 ac_hi=$ac_mid 1818else 1819 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1820fi 1821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1822done 1823case $ac_lo in #(( 1824?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1825'') ac_retval=1 ;; 1826esac 1827 else 1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1829/* end confdefs.h. */ 1830$4 1831static long int longval () { return $2; } 1832static unsigned long int ulongval () { return $2; } 1833#include <stdio.h> 1834#include <stdlib.h> 1835int 1836main () 1837{ 1838 1839 FILE *f = fopen ("conftest.val", "w"); 1840 if (! f) 1841 return 1; 1842 if (($2) < 0) 1843 { 1844 long int i = longval (); 1845 if (i != ($2)) 1846 return 1; 1847 fprintf (f, "%ld", i); 1848 } 1849 else 1850 { 1851 unsigned long int i = ulongval (); 1852 if (i != ($2)) 1853 return 1; 1854 fprintf (f, "%lu", i); 1855 } 1856 /* Do not output a trailing newline, as this causes \r\n confusion 1857 on some platforms. */ 1858 return ferror (f) || fclose (f) != 0; 1859 1860 ; 1861 return 0; 1862} 1863_ACEOF 1864if ac_fn_c_try_run "$LINENO"; then : 1865 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 1866else 1867 ac_retval=1 1868fi 1869rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 1870 conftest.$ac_objext conftest.beam conftest.$ac_ext 1871rm -f conftest.val 1872 1873 fi 1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1875 as_fn_set_status $ac_retval 1876 1877} # ac_fn_c_compute_int 1878 1879# ac_fn_c_try_cpp LINENO 1880# ---------------------- 1881# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1882ac_fn_c_try_cpp () 1883{ 1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1885 if { { ac_try="$ac_cpp conftest.$ac_ext" 1886case "(($ac_try" in 1887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1888 *) ac_try_echo=$ac_try;; 1889esac 1890eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1891$as_echo "$ac_try_echo"; } >&5 1892 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1893 ac_status=$? 1894 if test -s conftest.err; then 1895 grep -v '^ *+' conftest.err >conftest.er1 1896 cat conftest.er1 >&5 1897 mv -f conftest.er1 conftest.err 1898 fi 1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1900 test $ac_status = 0; } > conftest.i && { 1901 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1902 test ! -s conftest.err 1903 }; then : 1904 ac_retval=0 1905else 1906 $as_echo "$as_me: failed program was:" >&5 1907sed 's/^/| /' conftest.$ac_ext >&5 1908 1909 ac_retval=1 1910fi 1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1912 as_fn_set_status $ac_retval 1913 1914} # ac_fn_c_try_cpp 1915 1916# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1917# ------------------------------------------------------- 1918# Tests whether HEADER exists and can be compiled using the include files in 1919# INCLUDES, setting the cache variable VAR accordingly. 1920ac_fn_c_check_header_compile () 1921{ 1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1924$as_echo_n "checking for $2... " >&6; } 1925if eval \${$3+:} false; then : 1926 $as_echo_n "(cached) " >&6 1927else 1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1929/* end confdefs.h. */ 1930$4 1931#include <$2> 1932_ACEOF 1933if ac_fn_c_try_compile "$LINENO"; then : 1934 eval "$3=yes" 1935else 1936 eval "$3=no" 1937fi 1938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1939fi 1940eval ac_res=\$$3 1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1942$as_echo "$ac_res" >&6; } 1943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1944 1945} # ac_fn_c_check_header_compile 1946 1947# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1948# ------------------------------------------- 1949# Tests whether TYPE exists after having included INCLUDES, setting cache 1950# variable VAR accordingly. 1951ac_fn_c_check_type () 1952{ 1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1955$as_echo_n "checking for $2... " >&6; } 1956if eval \${$3+:} false; then : 1957 $as_echo_n "(cached) " >&6 1958else 1959 eval "$3=no" 1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1961/* end confdefs.h. */ 1962$4 1963int 1964main () 1965{ 1966if (sizeof ($2)) 1967 return 0; 1968 ; 1969 return 0; 1970} 1971_ACEOF 1972if ac_fn_c_try_compile "$LINENO"; then : 1973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1974/* end confdefs.h. */ 1975$4 1976int 1977main () 1978{ 1979if (sizeof (($2))) 1980 return 0; 1981 ; 1982 return 0; 1983} 1984_ACEOF 1985if ac_fn_c_try_compile "$LINENO"; then : 1986 1987else 1988 eval "$3=yes" 1989fi 1990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1991fi 1992rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1993fi 1994eval ac_res=\$$3 1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1996$as_echo "$ac_res" >&6; } 1997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1998 1999} # ac_fn_c_check_type 2000cat >config.log <<_ACEOF 2001This file contains any messages produced by compilers while 2002running configure, to aid debugging if configure makes a mistake. 2003 2004It was created by elfutils $as_me 0.161, which was 2005generated by GNU Autoconf 2.69. Invocation command line was 2006 2007 $ $0 $@ 2008 2009_ACEOF 2010exec 5>>config.log 2011{ 2012cat <<_ASUNAME 2013## --------- ## 2014## Platform. ## 2015## --------- ## 2016 2017hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2018uname -m = `(uname -m) 2>/dev/null || echo unknown` 2019uname -r = `(uname -r) 2>/dev/null || echo unknown` 2020uname -s = `(uname -s) 2>/dev/null || echo unknown` 2021uname -v = `(uname -v) 2>/dev/null || echo unknown` 2022 2023/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2024/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2025 2026/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2027/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2028/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2029/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2030/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2031/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2032/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2033 2034_ASUNAME 2035 2036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2037for as_dir in $PATH 2038do 2039 IFS=$as_save_IFS 2040 test -z "$as_dir" && as_dir=. 2041 $as_echo "PATH: $as_dir" 2042 done 2043IFS=$as_save_IFS 2044 2045} >&5 2046 2047cat >&5 <<_ACEOF 2048 2049 2050## ----------- ## 2051## Core tests. ## 2052## ----------- ## 2053 2054_ACEOF 2055 2056 2057# Keep a trace of the command line. 2058# Strip out --no-create and --no-recursion so they do not pile up. 2059# Strip out --silent because we don't want to record it for future runs. 2060# Also quote any args containing shell meta-characters. 2061# Make two passes to allow for proper duplicate-argument suppression. 2062ac_configure_args= 2063ac_configure_args0= 2064ac_configure_args1= 2065ac_must_keep_next=false 2066for ac_pass in 1 2 2067do 2068 for ac_arg 2069 do 2070 case $ac_arg in 2071 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2073 | -silent | --silent | --silen | --sile | --sil) 2074 continue ;; 2075 *\'*) 2076 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2077 esac 2078 case $ac_pass in 2079 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2080 2) 2081 as_fn_append ac_configure_args1 " '$ac_arg'" 2082 if test $ac_must_keep_next = true; then 2083 ac_must_keep_next=false # Got value, back to normal. 2084 else 2085 case $ac_arg in 2086 *=* | --config-cache | -C | -disable-* | --disable-* \ 2087 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2088 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2089 | -with-* | --with-* | -without-* | --without-* | --x) 2090 case "$ac_configure_args0 " in 2091 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2092 esac 2093 ;; 2094 -* ) ac_must_keep_next=true ;; 2095 esac 2096 fi 2097 as_fn_append ac_configure_args " '$ac_arg'" 2098 ;; 2099 esac 2100 done 2101done 2102{ ac_configure_args0=; unset ac_configure_args0;} 2103{ ac_configure_args1=; unset ac_configure_args1;} 2104 2105# When interrupted or exit'd, cleanup temporary files, and complete 2106# config.log. We remove comments because anyway the quotes in there 2107# would cause problems or look ugly. 2108# WARNING: Use '\'' to represent an apostrophe within the trap. 2109# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2110trap 'exit_status=$? 2111 # Save into config.log some information that might help in debugging. 2112 { 2113 echo 2114 2115 $as_echo "## ---------------- ## 2116## Cache variables. ## 2117## ---------------- ##" 2118 echo 2119 # The following way of writing the cache mishandles newlines in values, 2120( 2121 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2122 eval ac_val=\$$ac_var 2123 case $ac_val in #( 2124 *${as_nl}*) 2125 case $ac_var in #( 2126 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2127$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2128 esac 2129 case $ac_var in #( 2130 _ | IFS | as_nl) ;; #( 2131 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2132 *) { eval $ac_var=; unset $ac_var;} ;; 2133 esac ;; 2134 esac 2135 done 2136 (set) 2>&1 | 2137 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2138 *${as_nl}ac_space=\ *) 2139 sed -n \ 2140 "s/'\''/'\''\\\\'\'''\''/g; 2141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2142 ;; #( 2143 *) 2144 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2145 ;; 2146 esac | 2147 sort 2148) 2149 echo 2150 2151 $as_echo "## ----------------- ## 2152## Output variables. ## 2153## ----------------- ##" 2154 echo 2155 for ac_var in $ac_subst_vars 2156 do 2157 eval ac_val=\$$ac_var 2158 case $ac_val in 2159 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2160 esac 2161 $as_echo "$ac_var='\''$ac_val'\''" 2162 done | sort 2163 echo 2164 2165 if test -n "$ac_subst_files"; then 2166 $as_echo "## ------------------- ## 2167## File substitutions. ## 2168## ------------------- ##" 2169 echo 2170 for ac_var in $ac_subst_files 2171 do 2172 eval ac_val=\$$ac_var 2173 case $ac_val in 2174 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2175 esac 2176 $as_echo "$ac_var='\''$ac_val'\''" 2177 done | sort 2178 echo 2179 fi 2180 2181 if test -s confdefs.h; then 2182 $as_echo "## ----------- ## 2183## confdefs.h. ## 2184## ----------- ##" 2185 echo 2186 cat confdefs.h 2187 echo 2188 fi 2189 test "$ac_signal" != 0 && 2190 $as_echo "$as_me: caught signal $ac_signal" 2191 $as_echo "$as_me: exit $exit_status" 2192 } >&5 2193 rm -f core *.core core.conftest.* && 2194 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2195 exit $exit_status 2196' 0 2197for ac_signal in 1 2 13 15; do 2198 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2199done 2200ac_signal=0 2201 2202# confdefs.h avoids OS command line length limits that DEFS can exceed. 2203rm -f -r conftest* confdefs.h 2204 2205$as_echo "/* confdefs.h */" > confdefs.h 2206 2207# Predefined preprocessor variables. 2208 2209cat >>confdefs.h <<_ACEOF 2210#define PACKAGE_NAME "$PACKAGE_NAME" 2211_ACEOF 2212 2213cat >>confdefs.h <<_ACEOF 2214#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2215_ACEOF 2216 2217cat >>confdefs.h <<_ACEOF 2218#define PACKAGE_VERSION "$PACKAGE_VERSION" 2219_ACEOF 2220 2221cat >>confdefs.h <<_ACEOF 2222#define PACKAGE_STRING "$PACKAGE_STRING" 2223_ACEOF 2224 2225cat >>confdefs.h <<_ACEOF 2226#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2227_ACEOF 2228 2229cat >>confdefs.h <<_ACEOF 2230#define PACKAGE_URL "$PACKAGE_URL" 2231_ACEOF 2232 2233 2234# Let the site file select an alternate cache file if it wants to. 2235# Prefer an explicitly selected file to automatically selected ones. 2236ac_site_file1=NONE 2237ac_site_file2=NONE 2238if test -n "$CONFIG_SITE"; then 2239 # We do not want a PATH search for config.site. 2240 case $CONFIG_SITE in #(( 2241 -*) ac_site_file1=./$CONFIG_SITE;; 2242 */*) ac_site_file1=$CONFIG_SITE;; 2243 *) ac_site_file1=./$CONFIG_SITE;; 2244 esac 2245elif test "x$prefix" != xNONE; then 2246 ac_site_file1=$prefix/share/config.site 2247 ac_site_file2=$prefix/etc/config.site 2248else 2249 ac_site_file1=$ac_default_prefix/share/config.site 2250 ac_site_file2=$ac_default_prefix/etc/config.site 2251fi 2252for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2253do 2254 test "x$ac_site_file" = xNONE && continue 2255 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2256 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2257$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2258 sed 's/^/| /' "$ac_site_file" >&5 2259 . "$ac_site_file" \ 2260 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2261$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2262as_fn_error $? "failed to load site script $ac_site_file 2263See \`config.log' for more details" "$LINENO" 5; } 2264 fi 2265done 2266 2267if test -r "$cache_file"; then 2268 # Some versions of bash will fail to source /dev/null (special files 2269 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2270 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2272$as_echo "$as_me: loading cache $cache_file" >&6;} 2273 case $cache_file in 2274 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2275 *) . "./$cache_file";; 2276 esac 2277 fi 2278else 2279 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2280$as_echo "$as_me: creating cache $cache_file" >&6;} 2281 >$cache_file 2282fi 2283 2284# Check that the precious variables saved in the cache have kept the same 2285# value. 2286ac_cache_corrupted=false 2287for ac_var in $ac_precious_vars; do 2288 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2289 eval ac_new_set=\$ac_env_${ac_var}_set 2290 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2291 eval ac_new_val=\$ac_env_${ac_var}_value 2292 case $ac_old_set,$ac_new_set in 2293 set,) 2294 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2295$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2296 ac_cache_corrupted=: ;; 2297 ,set) 2298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2299$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2300 ac_cache_corrupted=: ;; 2301 ,);; 2302 *) 2303 if test "x$ac_old_val" != "x$ac_new_val"; then 2304 # differences in whitespace do not lead to failure. 2305 ac_old_val_w=`echo x $ac_old_val` 2306 ac_new_val_w=`echo x $ac_new_val` 2307 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2309$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2310 ac_cache_corrupted=: 2311 else 2312 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2313$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2314 eval $ac_var=\$ac_old_val 2315 fi 2316 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2317$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2318 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2319$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2320 fi;; 2321 esac 2322 # Pass precious variables to config.status. 2323 if test "$ac_new_set" = set; then 2324 case $ac_new_val in 2325 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2326 *) ac_arg=$ac_var=$ac_new_val ;; 2327 esac 2328 case " $ac_configure_args " in 2329 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2330 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2331 esac 2332 fi 2333done 2334if $ac_cache_corrupted; then 2335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2336$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2337 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2338$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2339 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2340fi 2341## -------------------- ## 2342## Main body of script. ## 2343## -------------------- ## 2344 2345ac_ext=c 2346ac_cpp='$CPP $CPPFLAGS' 2347ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2348ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2349ac_compiler_gnu=$ac_cv_c_compiler_gnu 2350 2351 2352 2353ac_aux_dir= 2354for ac_dir in config "$srcdir"/config; do 2355 if test -f "$ac_dir/install-sh"; then 2356 ac_aux_dir=$ac_dir 2357 ac_install_sh="$ac_aux_dir/install-sh -c" 2358 break 2359 elif test -f "$ac_dir/install.sh"; then 2360 ac_aux_dir=$ac_dir 2361 ac_install_sh="$ac_aux_dir/install.sh -c" 2362 break 2363 elif test -f "$ac_dir/shtool"; then 2364 ac_aux_dir=$ac_dir 2365 ac_install_sh="$ac_aux_dir/shtool install -c" 2366 break 2367 fi 2368done 2369if test -z "$ac_aux_dir"; then 2370 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 2371fi 2372 2373# These three variables are undocumented and unsupported, 2374# and are intended to be withdrawn in a future Autoconf release. 2375# They can cause serious problems if a builder's source tree is in a directory 2376# whose full name contains unusual characters. 2377ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2378ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2379ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2380 2381 2382ac_config_files="$ac_config_files config/Makefile" 2383 2384 2385 2386 2387am__api_version='1.14' 2388 2389# Find a good install program. We prefer a C program (faster), 2390# so one script is as good as another. But avoid the broken or 2391# incompatible versions: 2392# SysV /etc/install, /usr/sbin/install 2393# SunOS /usr/etc/install 2394# IRIX /sbin/install 2395# AIX /bin/install 2396# AmigaOS /C/install, which installs bootblocks on floppy discs 2397# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2398# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2399# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2400# OS/2's system install, which has a completely different semantic 2401# ./install, which can be erroneously created by make from ./install.sh. 2402# Reject install programs that cannot install multiple files. 2403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2404$as_echo_n "checking for a BSD-compatible install... " >&6; } 2405if test -z "$INSTALL"; then 2406if ${ac_cv_path_install+:} false; then : 2407 $as_echo_n "(cached) " >&6 2408else 2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2410for as_dir in $PATH 2411do 2412 IFS=$as_save_IFS 2413 test -z "$as_dir" && as_dir=. 2414 # Account for people who put trailing slashes in PATH elements. 2415case $as_dir/ in #(( 2416 ./ | .// | /[cC]/* | \ 2417 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2418 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2419 /usr/ucb/* ) ;; 2420 *) 2421 # OSF1 and SCO ODT 3.0 have their own names for install. 2422 # Don't use installbsd from OSF since it installs stuff as root 2423 # by default. 2424 for ac_prog in ginstall scoinst install; do 2425 for ac_exec_ext in '' $ac_executable_extensions; do 2426 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2427 if test $ac_prog = install && 2428 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2429 # AIX install. It has an incompatible calling convention. 2430 : 2431 elif test $ac_prog = install && 2432 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2433 # program-specific install script used by HP pwplus--don't use. 2434 : 2435 else 2436 rm -rf conftest.one conftest.two conftest.dir 2437 echo one > conftest.one 2438 echo two > conftest.two 2439 mkdir conftest.dir 2440 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2441 test -s conftest.one && test -s conftest.two && 2442 test -s conftest.dir/conftest.one && 2443 test -s conftest.dir/conftest.two 2444 then 2445 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2446 break 3 2447 fi 2448 fi 2449 fi 2450 done 2451 done 2452 ;; 2453esac 2454 2455 done 2456IFS=$as_save_IFS 2457 2458rm -rf conftest.one conftest.two conftest.dir 2459 2460fi 2461 if test "${ac_cv_path_install+set}" = set; then 2462 INSTALL=$ac_cv_path_install 2463 else 2464 # As a last resort, use the slow shell script. Don't cache a 2465 # value for INSTALL within a source directory, because that will 2466 # break other packages using the cache if that directory is 2467 # removed, or if the value is a relative name. 2468 INSTALL=$ac_install_sh 2469 fi 2470fi 2471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2472$as_echo "$INSTALL" >&6; } 2473 2474# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2475# It thinks the first close brace ends the variable substitution. 2476test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2477 2478test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2479 2480test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2481 2482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2483$as_echo_n "checking whether build environment is sane... " >&6; } 2484# Reject unsafe characters in $srcdir or the absolute working directory 2485# name. Accept space and tab only in the latter. 2486am_lf=' 2487' 2488case `pwd` in 2489 *[\\\"\#\$\&\'\`$am_lf]*) 2490 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2491esac 2492case $srcdir in 2493 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2494 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2495esac 2496 2497# Do 'set' in a subshell so we don't clobber the current shell's 2498# arguments. Must try -L first in case configure is actually a 2499# symlink; some systems play weird games with the mod time of symlinks 2500# (eg FreeBSD returns the mod time of the symlink's containing 2501# directory). 2502if ( 2503 am_has_slept=no 2504 for am_try in 1 2; do 2505 echo "timestamp, slept: $am_has_slept" > conftest.file 2506 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2507 if test "$*" = "X"; then 2508 # -L didn't work. 2509 set X `ls -t "$srcdir/configure" conftest.file` 2510 fi 2511 if test "$*" != "X $srcdir/configure conftest.file" \ 2512 && test "$*" != "X conftest.file $srcdir/configure"; then 2513 2514 # If neither matched, then we have a broken ls. This can happen 2515 # if, for instance, CONFIG_SHELL is bash and it inherits a 2516 # broken ls alias from the environment. This has actually 2517 # happened. Such a system could not be considered "sane". 2518 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2519 alias in your environment" "$LINENO" 5 2520 fi 2521 if test "$2" = conftest.file || test $am_try -eq 2; then 2522 break 2523 fi 2524 # Just in case. 2525 sleep 1 2526 am_has_slept=yes 2527 done 2528 test "$2" = conftest.file 2529 ) 2530then 2531 # Ok. 2532 : 2533else 2534 as_fn_error $? "newly created file is older than distributed files! 2535Check your system clock" "$LINENO" 5 2536fi 2537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2538$as_echo "yes" >&6; } 2539# If we didn't sleep, we still need to ensure time stamps of config.status and 2540# generated files are strictly newer. 2541am_sleep_pid= 2542if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2543 ( sleep 1 ) & 2544 am_sleep_pid=$! 2545fi 2546 2547rm -f conftest.file 2548 2549test "$program_prefix" != NONE && 2550 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2551# Use a double $ so make ignores it. 2552test "$program_suffix" != NONE && 2553 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2554# Double any \ or $. 2555# By default was `s,x,x', remove it if useless. 2556ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2557program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2558 2559# expand $ac_aux_dir to an absolute path 2560am_aux_dir=`cd $ac_aux_dir && pwd` 2561 2562if test x"${MISSING+set}" != xset; then 2563 case $am_aux_dir in 2564 *\ * | *\ *) 2565 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2566 *) 2567 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2568 esac 2569fi 2570# Use eval to expand $SHELL 2571if eval "$MISSING --is-lightweight"; then 2572 am_missing_run="$MISSING " 2573else 2574 am_missing_run= 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2576$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2577fi 2578 2579if test x"${install_sh}" != xset; then 2580 case $am_aux_dir in 2581 *\ * | *\ *) 2582 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2583 *) 2584 install_sh="\${SHELL} $am_aux_dir/install-sh" 2585 esac 2586fi 2587 2588# Installed binaries are usually stripped using 'strip' when the user 2589# run "make install-strip". However 'strip' might not be the right 2590# tool to use in cross-compilation environments, therefore Automake 2591# will honor the 'STRIP' environment variable to overrule this program. 2592if test "$cross_compiling" != no; then 2593 if test -n "$ac_tool_prefix"; then 2594 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2595set dummy ${ac_tool_prefix}strip; ac_word=$2 2596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2597$as_echo_n "checking for $ac_word... " >&6; } 2598if ${ac_cv_prog_STRIP+:} false; then : 2599 $as_echo_n "(cached) " >&6 2600else 2601 if test -n "$STRIP"; then 2602 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2603else 2604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2605for as_dir in $PATH 2606do 2607 IFS=$as_save_IFS 2608 test -z "$as_dir" && as_dir=. 2609 for ac_exec_ext in '' $ac_executable_extensions; do 2610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2611 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2613 break 2 2614 fi 2615done 2616 done 2617IFS=$as_save_IFS 2618 2619fi 2620fi 2621STRIP=$ac_cv_prog_STRIP 2622if test -n "$STRIP"; then 2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2624$as_echo "$STRIP" >&6; } 2625else 2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2627$as_echo "no" >&6; } 2628fi 2629 2630 2631fi 2632if test -z "$ac_cv_prog_STRIP"; then 2633 ac_ct_STRIP=$STRIP 2634 # Extract the first word of "strip", so it can be a program name with args. 2635set dummy strip; ac_word=$2 2636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2637$as_echo_n "checking for $ac_word... " >&6; } 2638if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2639 $as_echo_n "(cached) " >&6 2640else 2641 if test -n "$ac_ct_STRIP"; then 2642 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2643else 2644as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2645for as_dir in $PATH 2646do 2647 IFS=$as_save_IFS 2648 test -z "$as_dir" && as_dir=. 2649 for ac_exec_ext in '' $ac_executable_extensions; do 2650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2651 ac_cv_prog_ac_ct_STRIP="strip" 2652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2653 break 2 2654 fi 2655done 2656 done 2657IFS=$as_save_IFS 2658 2659fi 2660fi 2661ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2662if test -n "$ac_ct_STRIP"; then 2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2664$as_echo "$ac_ct_STRIP" >&6; } 2665else 2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2667$as_echo "no" >&6; } 2668fi 2669 2670 if test "x$ac_ct_STRIP" = x; then 2671 STRIP=":" 2672 else 2673 case $cross_compiling:$ac_tool_warned in 2674yes:) 2675{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2676$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2677ac_tool_warned=yes ;; 2678esac 2679 STRIP=$ac_ct_STRIP 2680 fi 2681else 2682 STRIP="$ac_cv_prog_STRIP" 2683fi 2684 2685fi 2686INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2687 2688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2689$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2690if test -z "$MKDIR_P"; then 2691 if ${ac_cv_path_mkdir+:} false; then : 2692 $as_echo_n "(cached) " >&6 2693else 2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2695for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2696do 2697 IFS=$as_save_IFS 2698 test -z "$as_dir" && as_dir=. 2699 for ac_prog in mkdir gmkdir; do 2700 for ac_exec_ext in '' $ac_executable_extensions; do 2701 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2702 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2703 'mkdir (GNU coreutils) '* | \ 2704 'mkdir (coreutils) '* | \ 2705 'mkdir (fileutils) '4.1*) 2706 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2707 break 3;; 2708 esac 2709 done 2710 done 2711 done 2712IFS=$as_save_IFS 2713 2714fi 2715 2716 test -d ./--version && rmdir ./--version 2717 if test "${ac_cv_path_mkdir+set}" = set; then 2718 MKDIR_P="$ac_cv_path_mkdir -p" 2719 else 2720 # As a last resort, use the slow shell script. Don't cache a 2721 # value for MKDIR_P within a source directory, because that will 2722 # break other packages using the cache if that directory is 2723 # removed, or if the value is a relative name. 2724 MKDIR_P="$ac_install_sh -d" 2725 fi 2726fi 2727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2728$as_echo "$MKDIR_P" >&6; } 2729 2730for ac_prog in gawk mawk nawk awk 2731do 2732 # Extract the first word of "$ac_prog", so it can be a program name with args. 2733set dummy $ac_prog; ac_word=$2 2734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2735$as_echo_n "checking for $ac_word... " >&6; } 2736if ${ac_cv_prog_AWK+:} false; then : 2737 $as_echo_n "(cached) " >&6 2738else 2739 if test -n "$AWK"; then 2740 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2741else 2742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2743for as_dir in $PATH 2744do 2745 IFS=$as_save_IFS 2746 test -z "$as_dir" && as_dir=. 2747 for ac_exec_ext in '' $ac_executable_extensions; do 2748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2749 ac_cv_prog_AWK="$ac_prog" 2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2751 break 2 2752 fi 2753done 2754 done 2755IFS=$as_save_IFS 2756 2757fi 2758fi 2759AWK=$ac_cv_prog_AWK 2760if test -n "$AWK"; then 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2762$as_echo "$AWK" >&6; } 2763else 2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2765$as_echo "no" >&6; } 2766fi 2767 2768 2769 test -n "$AWK" && break 2770done 2771 2772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2773$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2774set x ${MAKE-make} 2775ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2776if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2777 $as_echo_n "(cached) " >&6 2778else 2779 cat >conftest.make <<\_ACEOF 2780SHELL = /bin/sh 2781all: 2782 @echo '@@@%%%=$(MAKE)=@@@%%%' 2783_ACEOF 2784# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2785case `${MAKE-make} -f conftest.make 2>/dev/null` in 2786 *@@@%%%=?*=@@@%%%*) 2787 eval ac_cv_prog_make_${ac_make}_set=yes;; 2788 *) 2789 eval ac_cv_prog_make_${ac_make}_set=no;; 2790esac 2791rm -f conftest.make 2792fi 2793if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2795$as_echo "yes" >&6; } 2796 SET_MAKE= 2797else 2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2799$as_echo "no" >&6; } 2800 SET_MAKE="MAKE=${MAKE-make}" 2801fi 2802 2803rm -rf .tst 2>/dev/null 2804mkdir .tst 2>/dev/null 2805if test -d .tst; then 2806 am__leading_dot=. 2807else 2808 am__leading_dot=_ 2809fi 2810rmdir .tst 2>/dev/null 2811 2812# Check whether --enable-silent-rules was given. 2813if test "${enable_silent_rules+set}" = set; then : 2814 enableval=$enable_silent_rules; 2815fi 2816 2817case $enable_silent_rules in # ((( 2818 yes) AM_DEFAULT_VERBOSITY=0;; 2819 no) AM_DEFAULT_VERBOSITY=1;; 2820 *) AM_DEFAULT_VERBOSITY=1;; 2821esac 2822am_make=${MAKE-make} 2823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2824$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2825if ${am_cv_make_support_nested_variables+:} false; then : 2826 $as_echo_n "(cached) " >&6 2827else 2828 if $as_echo 'TRUE=$(BAR$(V)) 2829BAR0=false 2830BAR1=true 2831V=1 2832am__doit: 2833 @$(TRUE) 2834.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2835 am_cv_make_support_nested_variables=yes 2836else 2837 am_cv_make_support_nested_variables=no 2838fi 2839fi 2840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2841$as_echo "$am_cv_make_support_nested_variables" >&6; } 2842if test $am_cv_make_support_nested_variables = yes; then 2843 AM_V='$(V)' 2844 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2845else 2846 AM_V=$AM_DEFAULT_VERBOSITY 2847 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2848fi 2849AM_BACKSLASH='\' 2850 2851if test "`cd $srcdir && pwd`" != "`pwd`"; then 2852 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2853 # is not polluted with repeated "-I." 2854 am__isrc=' -I$(srcdir)' 2855 # test to see if srcdir already configured 2856 if test -f $srcdir/config.status; then 2857 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2858 fi 2859fi 2860 2861# test whether we have cygpath 2862if test -z "$CYGPATH_W"; then 2863 if (cygpath --version) >/dev/null 2>/dev/null; then 2864 CYGPATH_W='cygpath -w' 2865 else 2866 CYGPATH_W=echo 2867 fi 2868fi 2869 2870 2871# Define the identity of the package. 2872 PACKAGE='elfutils' 2873 VERSION='0.161' 2874 2875 2876cat >>confdefs.h <<_ACEOF 2877#define PACKAGE "$PACKAGE" 2878_ACEOF 2879 2880 2881cat >>confdefs.h <<_ACEOF 2882#define VERSION "$VERSION" 2883_ACEOF 2884 2885# Some tools Automake needs. 2886 2887ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2888 2889 2890AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2891 2892 2893AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2894 2895 2896AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2897 2898 2899MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2900 2901# For better backward compatibility. To be removed once Automake 1.9.x 2902# dies out for good. For more background, see: 2903# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2904# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2905mkdir_p='$(MKDIR_P)' 2906 2907# We need awk for the "check" target. The system "awk" is bad on 2908# some platforms. 2909# Always define AMTAR for backward compatibility. Yes, it's still used 2910# in the wild :-( We should find a proper way to deprecate it ... 2911AMTAR='$${TAR-tar}' 2912 2913 2914# We'll loop over all known methods to create a tar archive until one works. 2915_am_tools='gnutar pax cpio none' 2916 2917am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2918 2919 2920 2921 2922 2923 2924# POSIX will say in a future version that running "rm -f" with no argument 2925# is OK; and we want to be able to make that assumption in our Makefile 2926# recipes. So use an aggressive probe to check that the usage we want is 2927# actually supported "in the wild" to an acceptable degree. 2928# See automake bug#10828. 2929# To make any issue more visible, cause the running configure to be aborted 2930# by default if the 'rm' program in use doesn't match our expectations; the 2931# user can still override this though. 2932if rm -f && rm -fr && rm -rf; then : OK; else 2933 cat >&2 <<'END' 2934Oops! 2935 2936Your 'rm' program seems unable to run without file operands specified 2937on the command line, even when the '-f' option is present. This is contrary 2938to the behaviour of most rm programs out there, and not conforming with 2939the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2940 2941Please tell bug-automake@gnu.org about your system, including the value 2942of your $PATH and any error possibly output before this message. This 2943can help us improve future automake versions. 2944 2945END 2946 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2947 echo 'Configuration will proceed anyway, since you have set the' >&2 2948 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2949 echo >&2 2950 else 2951 cat >&2 <<'END' 2952Aborting the configuration process, to ensure you take notice of the issue. 2953 2954You can download and install GNU coreutils to get an 'rm' implementation 2955that behaves properly: <http://www.gnu.org/software/coreutils/>. 2956 2957If you want to complete the configuration process using your problematic 2958'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2959to "yes", and re-run configure. 2960 2961END 2962 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2963 fi 2964fi 2965 2966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2967$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2968 # Check whether --enable-maintainer-mode was given. 2969if test "${enable_maintainer_mode+set}" = set; then : 2970 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2971else 2972 USE_MAINTAINER_MODE=no 2973fi 2974 2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2976$as_echo "$USE_MAINTAINER_MODE" >&6; } 2977 if test $USE_MAINTAINER_MODE = yes; then 2978 MAINTAINER_MODE_TRUE= 2979 MAINTAINER_MODE_FALSE='#' 2980else 2981 MAINTAINER_MODE_TRUE='#' 2982 MAINTAINER_MODE_FALSE= 2983fi 2984 2985 MAINT=$MAINTAINER_MODE_TRUE 2986 2987 2988 2989MODVERSION="Build on $(hostname) $(date +%FT%R:%S%z)" 2990 2991cat >>confdefs.h <<_ACEOF 2992#define MODVERSION "$MODVERSION" 2993_ACEOF 2994 2995 2996 2997 2998ac_config_files="$ac_config_files Makefile" 2999 3000ac_config_headers="$ac_config_headers config.h" 3001 3002 3003 3004ac_config_files="$ac_config_files m4/Makefile" 3005 3006 3007ac_config_files="$ac_config_files elfutils.spec:config/elfutils.spec.in" 3008 3009 3010 3011# Make sure we can run config.sub. 3012$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3013 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3014 3015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3016$as_echo_n "checking build system type... " >&6; } 3017if ${ac_cv_build+:} false; then : 3018 $as_echo_n "(cached) " >&6 3019else 3020 ac_build_alias=$build_alias 3021test "x$ac_build_alias" = x && 3022 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3023test "x$ac_build_alias" = x && 3024 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3025ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3026 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3027 3028fi 3029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3030$as_echo "$ac_cv_build" >&6; } 3031case $ac_cv_build in 3032*-*-*) ;; 3033*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3034esac 3035build=$ac_cv_build 3036ac_save_IFS=$IFS; IFS='-' 3037set x $ac_cv_build 3038shift 3039build_cpu=$1 3040build_vendor=$2 3041shift; shift 3042# Remember, the first character of IFS is used to create $*, 3043# except with old shells: 3044build_os=$* 3045IFS=$ac_save_IFS 3046case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3047 3048 3049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3050$as_echo_n "checking host system type... " >&6; } 3051if ${ac_cv_host+:} false; then : 3052 $as_echo_n "(cached) " >&6 3053else 3054 if test "x$host_alias" = x; then 3055 ac_cv_host=$ac_cv_build 3056else 3057 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3058 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3059fi 3060 3061fi 3062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3063$as_echo "$ac_cv_host" >&6; } 3064case $ac_cv_host in 3065*-*-*) ;; 3066*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3067esac 3068host=$ac_cv_host 3069ac_save_IFS=$IFS; IFS='-' 3070set x $ac_cv_host 3071shift 3072host_cpu=$1 3073host_vendor=$2 3074shift; shift 3075# Remember, the first character of IFS is used to create $*, 3076# except with old shells: 3077host_os=$* 3078IFS=$ac_save_IFS 3079case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3080 3081 3082 3083# Check whether --enable-deterministic-archives was given. 3084if test "${enable_deterministic_archives+set}" = set; then : 3085 enableval=$enable_deterministic_archives; 3086if test "${enableval}" = no; then 3087 default_ar_deterministic=false 3088else 3089 default_ar_deterministic=true 3090fi 3091else 3092 default_ar_deterministic=false 3093fi 3094 3095 3096cat >>confdefs.h <<_ACEOF 3097#define DEFAULT_AR_DETERMINISTIC $default_ar_deterministic 3098_ACEOF 3099 3100 3101# Check whether --enable-thread-safety was given. 3102if test "${enable_thread_safety+set}" = set; then : 3103 enableval=$enable_thread_safety; use_locks=$enableval 3104else 3105 use_locks=no 3106fi 3107 3108 if test "$use_locks" = yes; then 3109 USE_LOCKS_TRUE= 3110 USE_LOCKS_FALSE='#' 3111else 3112 USE_LOCKS_TRUE='#' 3113 USE_LOCKS_FALSE= 3114fi 3115 3116if test "$use_locks" = yes; then : 3117 $as_echo "#define USE_LOCKS 1" >>confdefs.h 3118 3119fi 3120if test "$use_locks" = yes; then : 3121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: thread-safety is EXPERIMENTAL tests might fail." >&5 3122$as_echo "$as_me: WARNING: thread-safety is EXPERIMENTAL tests might fail." >&2;} 3123fi 3124 3125 3126 3127ac_ext=c 3128ac_cpp='$CPP $CPPFLAGS' 3129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3131ac_compiler_gnu=$ac_cv_c_compiler_gnu 3132if test -n "$ac_tool_prefix"; then 3133 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3134set dummy ${ac_tool_prefix}gcc; ac_word=$2 3135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3136$as_echo_n "checking for $ac_word... " >&6; } 3137if ${ac_cv_prog_CC+:} false; then : 3138 $as_echo_n "(cached) " >&6 3139else 3140 if test -n "$CC"; then 3141 ac_cv_prog_CC="$CC" # Let the user override the test. 3142else 3143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3144for as_dir in $PATH 3145do 3146 IFS=$as_save_IFS 3147 test -z "$as_dir" && as_dir=. 3148 for ac_exec_ext in '' $ac_executable_extensions; do 3149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3150 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3152 break 2 3153 fi 3154done 3155 done 3156IFS=$as_save_IFS 3157 3158fi 3159fi 3160CC=$ac_cv_prog_CC 3161if test -n "$CC"; then 3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3163$as_echo "$CC" >&6; } 3164else 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3166$as_echo "no" >&6; } 3167fi 3168 3169 3170fi 3171if test -z "$ac_cv_prog_CC"; then 3172 ac_ct_CC=$CC 3173 # Extract the first word of "gcc", so it can be a program name with args. 3174set dummy gcc; ac_word=$2 3175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3176$as_echo_n "checking for $ac_word... " >&6; } 3177if ${ac_cv_prog_ac_ct_CC+:} false; then : 3178 $as_echo_n "(cached) " >&6 3179else 3180 if test -n "$ac_ct_CC"; then 3181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3182else 3183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3184for as_dir in $PATH 3185do 3186 IFS=$as_save_IFS 3187 test -z "$as_dir" && as_dir=. 3188 for ac_exec_ext in '' $ac_executable_extensions; do 3189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3190 ac_cv_prog_ac_ct_CC="gcc" 3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3192 break 2 3193 fi 3194done 3195 done 3196IFS=$as_save_IFS 3197 3198fi 3199fi 3200ac_ct_CC=$ac_cv_prog_ac_ct_CC 3201if test -n "$ac_ct_CC"; then 3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3203$as_echo "$ac_ct_CC" >&6; } 3204else 3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3206$as_echo "no" >&6; } 3207fi 3208 3209 if test "x$ac_ct_CC" = x; then 3210 CC="" 3211 else 3212 case $cross_compiling:$ac_tool_warned in 3213yes:) 3214{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3215$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3216ac_tool_warned=yes ;; 3217esac 3218 CC=$ac_ct_CC 3219 fi 3220else 3221 CC="$ac_cv_prog_CC" 3222fi 3223 3224if test -z "$CC"; then 3225 if test -n "$ac_tool_prefix"; then 3226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3227set dummy ${ac_tool_prefix}cc; ac_word=$2 3228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3229$as_echo_n "checking for $ac_word... " >&6; } 3230if ${ac_cv_prog_CC+:} false; then : 3231 $as_echo_n "(cached) " >&6 3232else 3233 if test -n "$CC"; then 3234 ac_cv_prog_CC="$CC" # Let the user override the test. 3235else 3236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3237for as_dir in $PATH 3238do 3239 IFS=$as_save_IFS 3240 test -z "$as_dir" && as_dir=. 3241 for ac_exec_ext in '' $ac_executable_extensions; do 3242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3243 ac_cv_prog_CC="${ac_tool_prefix}cc" 3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3245 break 2 3246 fi 3247done 3248 done 3249IFS=$as_save_IFS 3250 3251fi 3252fi 3253CC=$ac_cv_prog_CC 3254if test -n "$CC"; then 3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3256$as_echo "$CC" >&6; } 3257else 3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3259$as_echo "no" >&6; } 3260fi 3261 3262 3263 fi 3264fi 3265if test -z "$CC"; then 3266 # Extract the first word of "cc", so it can be a program name with args. 3267set dummy cc; ac_word=$2 3268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3269$as_echo_n "checking for $ac_word... " >&6; } 3270if ${ac_cv_prog_CC+:} false; then : 3271 $as_echo_n "(cached) " >&6 3272else 3273 if test -n "$CC"; then 3274 ac_cv_prog_CC="$CC" # Let the user override the test. 3275else 3276 ac_prog_rejected=no 3277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3278for as_dir in $PATH 3279do 3280 IFS=$as_save_IFS 3281 test -z "$as_dir" && as_dir=. 3282 for ac_exec_ext in '' $ac_executable_extensions; do 3283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3284 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3285 ac_prog_rejected=yes 3286 continue 3287 fi 3288 ac_cv_prog_CC="cc" 3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3290 break 2 3291 fi 3292done 3293 done 3294IFS=$as_save_IFS 3295 3296if test $ac_prog_rejected = yes; then 3297 # We found a bogon in the path, so make sure we never use it. 3298 set dummy $ac_cv_prog_CC 3299 shift 3300 if test $# != 0; then 3301 # We chose a different compiler from the bogus one. 3302 # However, it has the same basename, so the bogon will be chosen 3303 # first if we set CC to just the basename; use the full file name. 3304 shift 3305 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3306 fi 3307fi 3308fi 3309fi 3310CC=$ac_cv_prog_CC 3311if test -n "$CC"; then 3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3313$as_echo "$CC" >&6; } 3314else 3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3316$as_echo "no" >&6; } 3317fi 3318 3319 3320fi 3321if test -z "$CC"; then 3322 if test -n "$ac_tool_prefix"; then 3323 for ac_prog in cl.exe 3324 do 3325 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3326set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3328$as_echo_n "checking for $ac_word... " >&6; } 3329if ${ac_cv_prog_CC+:} false; then : 3330 $as_echo_n "(cached) " >&6 3331else 3332 if test -n "$CC"; then 3333 ac_cv_prog_CC="$CC" # Let the user override the test. 3334else 3335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3336for as_dir in $PATH 3337do 3338 IFS=$as_save_IFS 3339 test -z "$as_dir" && as_dir=. 3340 for ac_exec_ext in '' $ac_executable_extensions; do 3341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3342 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3344 break 2 3345 fi 3346done 3347 done 3348IFS=$as_save_IFS 3349 3350fi 3351fi 3352CC=$ac_cv_prog_CC 3353if test -n "$CC"; then 3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3355$as_echo "$CC" >&6; } 3356else 3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3358$as_echo "no" >&6; } 3359fi 3360 3361 3362 test -n "$CC" && break 3363 done 3364fi 3365if test -z "$CC"; then 3366 ac_ct_CC=$CC 3367 for ac_prog in cl.exe 3368do 3369 # Extract the first word of "$ac_prog", so it can be a program name with args. 3370set dummy $ac_prog; ac_word=$2 3371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3372$as_echo_n "checking for $ac_word... " >&6; } 3373if ${ac_cv_prog_ac_ct_CC+:} false; then : 3374 $as_echo_n "(cached) " >&6 3375else 3376 if test -n "$ac_ct_CC"; then 3377 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3378else 3379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3380for as_dir in $PATH 3381do 3382 IFS=$as_save_IFS 3383 test -z "$as_dir" && as_dir=. 3384 for ac_exec_ext in '' $ac_executable_extensions; do 3385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3386 ac_cv_prog_ac_ct_CC="$ac_prog" 3387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3388 break 2 3389 fi 3390done 3391 done 3392IFS=$as_save_IFS 3393 3394fi 3395fi 3396ac_ct_CC=$ac_cv_prog_ac_ct_CC 3397if test -n "$ac_ct_CC"; then 3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3399$as_echo "$ac_ct_CC" >&6; } 3400else 3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3402$as_echo "no" >&6; } 3403fi 3404 3405 3406 test -n "$ac_ct_CC" && break 3407done 3408 3409 if test "x$ac_ct_CC" = x; then 3410 CC="" 3411 else 3412 case $cross_compiling:$ac_tool_warned in 3413yes:) 3414{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3415$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3416ac_tool_warned=yes ;; 3417esac 3418 CC=$ac_ct_CC 3419 fi 3420fi 3421 3422fi 3423 3424 3425test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3426$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3427as_fn_error $? "no acceptable C compiler found in \$PATH 3428See \`config.log' for more details" "$LINENO" 5; } 3429 3430# Provide some information about the compiler. 3431$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3432set X $ac_compile 3433ac_compiler=$2 3434for ac_option in --version -v -V -qversion; do 3435 { { ac_try="$ac_compiler $ac_option >&5" 3436case "(($ac_try" in 3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3438 *) ac_try_echo=$ac_try;; 3439esac 3440eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3441$as_echo "$ac_try_echo"; } >&5 3442 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3443 ac_status=$? 3444 if test -s conftest.err; then 3445 sed '10a\ 3446... rest of stderr output deleted ... 3447 10q' conftest.err >conftest.er1 3448 cat conftest.er1 >&5 3449 fi 3450 rm -f conftest.er1 conftest.err 3451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3452 test $ac_status = 0; } 3453done 3454 3455cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3456/* end confdefs.h. */ 3457 3458int 3459main () 3460{ 3461 3462 ; 3463 return 0; 3464} 3465_ACEOF 3466ac_clean_files_save=$ac_clean_files 3467ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3468# Try to create an executable without -o first, disregard a.out. 3469# It will help us diagnose broken compilers, and finding out an intuition 3470# of exeext. 3471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3472$as_echo_n "checking whether the C compiler works... " >&6; } 3473ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3474 3475# The possible output files: 3476ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3477 3478ac_rmfiles= 3479for ac_file in $ac_files 3480do 3481 case $ac_file in 3482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3483 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3484 esac 3485done 3486rm -f $ac_rmfiles 3487 3488if { { ac_try="$ac_link_default" 3489case "(($ac_try" in 3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3491 *) ac_try_echo=$ac_try;; 3492esac 3493eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3494$as_echo "$ac_try_echo"; } >&5 3495 (eval "$ac_link_default") 2>&5 3496 ac_status=$? 3497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3498 test $ac_status = 0; }; then : 3499 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3500# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3501# in a Makefile. We should not override ac_cv_exeext if it was cached, 3502# so that the user can short-circuit this test for compilers unknown to 3503# Autoconf. 3504for ac_file in $ac_files '' 3505do 3506 test -f "$ac_file" || continue 3507 case $ac_file in 3508 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3509 ;; 3510 [ab].out ) 3511 # We found the default executable, but exeext='' is most 3512 # certainly right. 3513 break;; 3514 *.* ) 3515 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3516 then :; else 3517 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3518 fi 3519 # We set ac_cv_exeext here because the later test for it is not 3520 # safe: cross compilers may not add the suffix if given an `-o' 3521 # argument, so we may need to know it at that point already. 3522 # Even if this section looks crufty: it has the advantage of 3523 # actually working. 3524 break;; 3525 * ) 3526 break;; 3527 esac 3528done 3529test "$ac_cv_exeext" = no && ac_cv_exeext= 3530 3531else 3532 ac_file='' 3533fi 3534if test -z "$ac_file"; then : 3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3536$as_echo "no" >&6; } 3537$as_echo "$as_me: failed program was:" >&5 3538sed 's/^/| /' conftest.$ac_ext >&5 3539 3540{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3541$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3542as_fn_error 77 "C compiler cannot create executables 3543See \`config.log' for more details" "$LINENO" 5; } 3544else 3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3546$as_echo "yes" >&6; } 3547fi 3548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3549$as_echo_n "checking for C compiler default output file name... " >&6; } 3550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3551$as_echo "$ac_file" >&6; } 3552ac_exeext=$ac_cv_exeext 3553 3554rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3555ac_clean_files=$ac_clean_files_save 3556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3557$as_echo_n "checking for suffix of executables... " >&6; } 3558if { { ac_try="$ac_link" 3559case "(($ac_try" in 3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3561 *) ac_try_echo=$ac_try;; 3562esac 3563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3564$as_echo "$ac_try_echo"; } >&5 3565 (eval "$ac_link") 2>&5 3566 ac_status=$? 3567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3568 test $ac_status = 0; }; then : 3569 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3570# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3571# work properly (i.e., refer to `conftest.exe'), while it won't with 3572# `rm'. 3573for ac_file in conftest.exe conftest conftest.*; do 3574 test -f "$ac_file" || continue 3575 case $ac_file in 3576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3577 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3578 break;; 3579 * ) break;; 3580 esac 3581done 3582else 3583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3584$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3585as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3586See \`config.log' for more details" "$LINENO" 5; } 3587fi 3588rm -f conftest conftest$ac_cv_exeext 3589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3590$as_echo "$ac_cv_exeext" >&6; } 3591 3592rm -f conftest.$ac_ext 3593EXEEXT=$ac_cv_exeext 3594ac_exeext=$EXEEXT 3595cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3596/* end confdefs.h. */ 3597#include <stdio.h> 3598int 3599main () 3600{ 3601FILE *f = fopen ("conftest.out", "w"); 3602 return ferror (f) || fclose (f) != 0; 3603 3604 ; 3605 return 0; 3606} 3607_ACEOF 3608ac_clean_files="$ac_clean_files conftest.out" 3609# Check that the compiler produces executables we can run. If not, either 3610# the compiler is broken, or we cross compile. 3611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3612$as_echo_n "checking whether we are cross compiling... " >&6; } 3613if test "$cross_compiling" != yes; then 3614 { { ac_try="$ac_link" 3615case "(($ac_try" in 3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3617 *) ac_try_echo=$ac_try;; 3618esac 3619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3620$as_echo "$ac_try_echo"; } >&5 3621 (eval "$ac_link") 2>&5 3622 ac_status=$? 3623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3624 test $ac_status = 0; } 3625 if { ac_try='./conftest$ac_cv_exeext' 3626 { { case "(($ac_try" in 3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3628 *) ac_try_echo=$ac_try;; 3629esac 3630eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3631$as_echo "$ac_try_echo"; } >&5 3632 (eval "$ac_try") 2>&5 3633 ac_status=$? 3634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3635 test $ac_status = 0; }; }; then 3636 cross_compiling=no 3637 else 3638 if test "$cross_compiling" = maybe; then 3639 cross_compiling=yes 3640 else 3641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3642$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3643as_fn_error $? "cannot run C compiled programs. 3644If you meant to cross compile, use \`--host'. 3645See \`config.log' for more details" "$LINENO" 5; } 3646 fi 3647 fi 3648fi 3649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3650$as_echo "$cross_compiling" >&6; } 3651 3652rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3653ac_clean_files=$ac_clean_files_save 3654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3655$as_echo_n "checking for suffix of object files... " >&6; } 3656if ${ac_cv_objext+:} false; then : 3657 $as_echo_n "(cached) " >&6 3658else 3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3660/* end confdefs.h. */ 3661 3662int 3663main () 3664{ 3665 3666 ; 3667 return 0; 3668} 3669_ACEOF 3670rm -f conftest.o conftest.obj 3671if { { ac_try="$ac_compile" 3672case "(($ac_try" in 3673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3674 *) ac_try_echo=$ac_try;; 3675esac 3676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3677$as_echo "$ac_try_echo"; } >&5 3678 (eval "$ac_compile") 2>&5 3679 ac_status=$? 3680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3681 test $ac_status = 0; }; then : 3682 for ac_file in conftest.o conftest.obj conftest.*; do 3683 test -f "$ac_file" || continue; 3684 case $ac_file in 3685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3686 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3687 break;; 3688 esac 3689done 3690else 3691 $as_echo "$as_me: failed program was:" >&5 3692sed 's/^/| /' conftest.$ac_ext >&5 3693 3694{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3695$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3696as_fn_error $? "cannot compute suffix of object files: cannot compile 3697See \`config.log' for more details" "$LINENO" 5; } 3698fi 3699rm -f conftest.$ac_cv_objext conftest.$ac_ext 3700fi 3701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3702$as_echo "$ac_cv_objext" >&6; } 3703OBJEXT=$ac_cv_objext 3704ac_objext=$OBJEXT 3705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3706$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3707if ${ac_cv_c_compiler_gnu+:} false; then : 3708 $as_echo_n "(cached) " >&6 3709else 3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3711/* end confdefs.h. */ 3712 3713int 3714main () 3715{ 3716#ifndef __GNUC__ 3717 choke me 3718#endif 3719 3720 ; 3721 return 0; 3722} 3723_ACEOF 3724if ac_fn_c_try_compile "$LINENO"; then : 3725 ac_compiler_gnu=yes 3726else 3727 ac_compiler_gnu=no 3728fi 3729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3730ac_cv_c_compiler_gnu=$ac_compiler_gnu 3731 3732fi 3733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3734$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3735if test $ac_compiler_gnu = yes; then 3736 GCC=yes 3737else 3738 GCC= 3739fi 3740ac_test_CFLAGS=${CFLAGS+set} 3741ac_save_CFLAGS=$CFLAGS 3742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3743$as_echo_n "checking whether $CC accepts -g... " >&6; } 3744if ${ac_cv_prog_cc_g+:} false; then : 3745 $as_echo_n "(cached) " >&6 3746else 3747 ac_save_c_werror_flag=$ac_c_werror_flag 3748 ac_c_werror_flag=yes 3749 ac_cv_prog_cc_g=no 3750 CFLAGS="-g" 3751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3752/* end confdefs.h. */ 3753 3754int 3755main () 3756{ 3757 3758 ; 3759 return 0; 3760} 3761_ACEOF 3762if ac_fn_c_try_compile "$LINENO"; then : 3763 ac_cv_prog_cc_g=yes 3764else 3765 CFLAGS="" 3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3767/* end confdefs.h. */ 3768 3769int 3770main () 3771{ 3772 3773 ; 3774 return 0; 3775} 3776_ACEOF 3777if ac_fn_c_try_compile "$LINENO"; then : 3778 3779else 3780 ac_c_werror_flag=$ac_save_c_werror_flag 3781 CFLAGS="-g" 3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3783/* end confdefs.h. */ 3784 3785int 3786main () 3787{ 3788 3789 ; 3790 return 0; 3791} 3792_ACEOF 3793if ac_fn_c_try_compile "$LINENO"; then : 3794 ac_cv_prog_cc_g=yes 3795fi 3796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3797fi 3798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3799fi 3800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3801 ac_c_werror_flag=$ac_save_c_werror_flag 3802fi 3803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3804$as_echo "$ac_cv_prog_cc_g" >&6; } 3805if test "$ac_test_CFLAGS" = set; then 3806 CFLAGS=$ac_save_CFLAGS 3807elif test $ac_cv_prog_cc_g = yes; then 3808 if test "$GCC" = yes; then 3809 CFLAGS="-g -O2" 3810 else 3811 CFLAGS="-g" 3812 fi 3813else 3814 if test "$GCC" = yes; then 3815 CFLAGS="-O2" 3816 else 3817 CFLAGS= 3818 fi 3819fi 3820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3821$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3822if ${ac_cv_prog_cc_c89+:} false; then : 3823 $as_echo_n "(cached) " >&6 3824else 3825 ac_cv_prog_cc_c89=no 3826ac_save_CC=$CC 3827cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3828/* end confdefs.h. */ 3829#include <stdarg.h> 3830#include <stdio.h> 3831struct stat; 3832/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3833struct buf { int x; }; 3834FILE * (*rcsopen) (struct buf *, struct stat *, int); 3835static char *e (p, i) 3836 char **p; 3837 int i; 3838{ 3839 return p[i]; 3840} 3841static char *f (char * (*g) (char **, int), char **p, ...) 3842{ 3843 char *s; 3844 va_list v; 3845 va_start (v,p); 3846 s = g (p, va_arg (v,int)); 3847 va_end (v); 3848 return s; 3849} 3850 3851/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3852 function prototypes and stuff, but not '\xHH' hex character constants. 3853 These don't provoke an error unfortunately, instead are silently treated 3854 as 'x'. The following induces an error, until -std is added to get 3855 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3856 array size at least. It's necessary to write '\x00'==0 to get something 3857 that's true only with -std. */ 3858int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3859 3860/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3861 inside strings and character constants. */ 3862#define FOO(x) 'x' 3863int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3864 3865int test (int i, double x); 3866struct s1 {int (*f) (int a);}; 3867struct s2 {int (*f) (double a);}; 3868int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3869int argc; 3870char **argv; 3871int 3872main () 3873{ 3874return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3875 ; 3876 return 0; 3877} 3878_ACEOF 3879for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3880 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3881do 3882 CC="$ac_save_CC $ac_arg" 3883 if ac_fn_c_try_compile "$LINENO"; then : 3884 ac_cv_prog_cc_c89=$ac_arg 3885fi 3886rm -f core conftest.err conftest.$ac_objext 3887 test "x$ac_cv_prog_cc_c89" != "xno" && break 3888done 3889rm -f conftest.$ac_ext 3890CC=$ac_save_CC 3891 3892fi 3893# AC_CACHE_VAL 3894case "x$ac_cv_prog_cc_c89" in 3895 x) 3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3897$as_echo "none needed" >&6; } ;; 3898 xno) 3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3900$as_echo "unsupported" >&6; } ;; 3901 *) 3902 CC="$CC $ac_cv_prog_cc_c89" 3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3904$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3905esac 3906if test "x$ac_cv_prog_cc_c89" != xno; then : 3907 3908fi 3909 3910ac_ext=c 3911ac_cpp='$CPP $CPPFLAGS' 3912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3914ac_compiler_gnu=$ac_cv_c_compiler_gnu 3915 3916ac_ext=c 3917ac_cpp='$CPP $CPPFLAGS' 3918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3920ac_compiler_gnu=$ac_cv_c_compiler_gnu 3921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3922$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3923if ${am_cv_prog_cc_c_o+:} false; then : 3924 $as_echo_n "(cached) " >&6 3925else 3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3927/* end confdefs.h. */ 3928 3929int 3930main () 3931{ 3932 3933 ; 3934 return 0; 3935} 3936_ACEOF 3937 # Make sure it works both with $CC and with simple cc. 3938 # Following AC_PROG_CC_C_O, we do the test twice because some 3939 # compilers refuse to overwrite an existing .o file with -o, 3940 # though they will create one. 3941 am_cv_prog_cc_c_o=yes 3942 for am_i in 1 2; do 3943 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3944 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3945 ac_status=$? 3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3947 (exit $ac_status); } \ 3948 && test -f conftest2.$ac_objext; then 3949 : OK 3950 else 3951 am_cv_prog_cc_c_o=no 3952 break 3953 fi 3954 done 3955 rm -f core conftest* 3956 unset am_i 3957fi 3958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3959$as_echo "$am_cv_prog_cc_c_o" >&6; } 3960if test "$am_cv_prog_cc_c_o" != yes; then 3961 # Losing compiler, so override with the script. 3962 # FIXME: It is wrong to rewrite CC. 3963 # But if we don't then we get into trouble of one sort or another. 3964 # A longer-term fix would be to have automake use am__CC in this case, 3965 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3966 CC="$am_aux_dir/compile $CC" 3967fi 3968ac_ext=c 3969ac_cpp='$CPP $CPPFLAGS' 3970ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3971ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3972ac_compiler_gnu=$ac_cv_c_compiler_gnu 3973 3974DEPDIR="${am__leading_dot}deps" 3975 3976ac_config_commands="$ac_config_commands depfiles" 3977 3978 3979am_make=${MAKE-make} 3980cat > confinc << 'END' 3981am__doit: 3982 @echo this is the am__doit target 3983.PHONY: am__doit 3984END 3985# If we don't find an include directive, just comment out the code. 3986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3987$as_echo_n "checking for style of include used by $am_make... " >&6; } 3988am__include="#" 3989am__quote= 3990_am_result=none 3991# First try GNU make style include. 3992echo "include confinc" > confmf 3993# Ignore all kinds of additional output from 'make'. 3994case `$am_make -s -f confmf 2> /dev/null` in #( 3995*the\ am__doit\ target*) 3996 am__include=include 3997 am__quote= 3998 _am_result=GNU 3999 ;; 4000esac 4001# Now try BSD make style include. 4002if test "$am__include" = "#"; then 4003 echo '.include "confinc"' > confmf 4004 case `$am_make -s -f confmf 2> /dev/null` in #( 4005 *the\ am__doit\ target*) 4006 am__include=.include 4007 am__quote="\"" 4008 _am_result=BSD 4009 ;; 4010 esac 4011fi 4012 4013 4014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4015$as_echo "$_am_result" >&6; } 4016rm -f confinc confmf 4017 4018# Check whether --enable-dependency-tracking was given. 4019if test "${enable_dependency_tracking+set}" = set; then : 4020 enableval=$enable_dependency_tracking; 4021fi 4022 4023if test "x$enable_dependency_tracking" != xno; then 4024 am_depcomp="$ac_aux_dir/depcomp" 4025 AMDEPBACKSLASH='\' 4026 am__nodep='_no' 4027fi 4028 if test "x$enable_dependency_tracking" != xno; then 4029 AMDEP_TRUE= 4030 AMDEP_FALSE='#' 4031else 4032 AMDEP_TRUE='#' 4033 AMDEP_FALSE= 4034fi 4035 4036 4037 4038depcc="$CC" am_compiler_list= 4039 4040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4041$as_echo_n "checking dependency style of $depcc... " >&6; } 4042if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4043 $as_echo_n "(cached) " >&6 4044else 4045 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4046 # We make a subdir and do the tests there. Otherwise we can end up 4047 # making bogus files that we don't know about and never remove. For 4048 # instance it was reported that on HP-UX the gcc test will end up 4049 # making a dummy file named 'D' -- because '-MD' means "put the output 4050 # in D". 4051 rm -rf conftest.dir 4052 mkdir conftest.dir 4053 # Copy depcomp to subdir because otherwise we won't find it if we're 4054 # using a relative directory. 4055 cp "$am_depcomp" conftest.dir 4056 cd conftest.dir 4057 # We will build objects and dependencies in a subdirectory because 4058 # it helps to detect inapplicable dependency modes. For instance 4059 # both Tru64's cc and ICC support -MD to output dependencies as a 4060 # side effect of compilation, but ICC will put the dependencies in 4061 # the current directory while Tru64 will put them in the object 4062 # directory. 4063 mkdir sub 4064 4065 am_cv_CC_dependencies_compiler_type=none 4066 if test "$am_compiler_list" = ""; then 4067 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4068 fi 4069 am__universal=false 4070 case " $depcc " in #( 4071 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4072 esac 4073 4074 for depmode in $am_compiler_list; do 4075 # Setup a source with many dependencies, because some compilers 4076 # like to wrap large dependency lists on column 80 (with \), and 4077 # we should not choose a depcomp mode which is confused by this. 4078 # 4079 # We need to recreate these files for each test, as the compiler may 4080 # overwrite some of them when testing with obscure command lines. 4081 # This happens at least with the AIX C compiler. 4082 : > sub/conftest.c 4083 for i in 1 2 3 4 5 6; do 4084 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4085 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4086 # Solaris 10 /bin/sh. 4087 echo '/* dummy */' > sub/conftst$i.h 4088 done 4089 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4090 4091 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4092 # mode. It turns out that the SunPro C++ compiler does not properly 4093 # handle '-M -o', and we need to detect this. Also, some Intel 4094 # versions had trouble with output in subdirs. 4095 am__obj=sub/conftest.${OBJEXT-o} 4096 am__minus_obj="-o $am__obj" 4097 case $depmode in 4098 gcc) 4099 # This depmode causes a compiler race in universal mode. 4100 test "$am__universal" = false || continue 4101 ;; 4102 nosideeffect) 4103 # After this tag, mechanisms are not by side-effect, so they'll 4104 # only be used when explicitly requested. 4105 if test "x$enable_dependency_tracking" = xyes; then 4106 continue 4107 else 4108 break 4109 fi 4110 ;; 4111 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4112 # This compiler won't grok '-c -o', but also, the minuso test has 4113 # not run yet. These depmodes are late enough in the game, and 4114 # so weak that their functioning should not be impacted. 4115 am__obj=conftest.${OBJEXT-o} 4116 am__minus_obj= 4117 ;; 4118 none) break ;; 4119 esac 4120 if depmode=$depmode \ 4121 source=sub/conftest.c object=$am__obj \ 4122 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4123 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4124 >/dev/null 2>conftest.err && 4125 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4126 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4127 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4128 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4129 # icc doesn't choke on unknown options, it will just issue warnings 4130 # or remarks (even with -Werror). So we grep stderr for any message 4131 # that says an option was ignored or not supported. 4132 # When given -MP, icc 7.0 and 7.1 complain thusly: 4133 # icc: Command line warning: ignoring option '-M'; no argument required 4134 # The diagnosis changed in icc 8.0: 4135 # icc: Command line remark: option '-MP' not supported 4136 if (grep 'ignoring option' conftest.err || 4137 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4138 am_cv_CC_dependencies_compiler_type=$depmode 4139 break 4140 fi 4141 fi 4142 done 4143 4144 cd .. 4145 rm -rf conftest.dir 4146else 4147 am_cv_CC_dependencies_compiler_type=none 4148fi 4149 4150fi 4151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4152$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4153CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4154 4155 if 4156 test "x$enable_dependency_tracking" != xno \ 4157 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4158 am__fastdepCC_TRUE= 4159 am__fastdepCC_FALSE='#' 4160else 4161 am__fastdepCC_TRUE='#' 4162 am__fastdepCC_FALSE= 4163fi 4164 4165 4166if test -n "$ac_tool_prefix"; then 4167 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4168set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4170$as_echo_n "checking for $ac_word... " >&6; } 4171if ${ac_cv_prog_RANLIB+:} false; then : 4172 $as_echo_n "(cached) " >&6 4173else 4174 if test -n "$RANLIB"; then 4175 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4176else 4177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4178for as_dir in $PATH 4179do 4180 IFS=$as_save_IFS 4181 test -z "$as_dir" && as_dir=. 4182 for ac_exec_ext in '' $ac_executable_extensions; do 4183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4184 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4186 break 2 4187 fi 4188done 4189 done 4190IFS=$as_save_IFS 4191 4192fi 4193fi 4194RANLIB=$ac_cv_prog_RANLIB 4195if test -n "$RANLIB"; then 4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4197$as_echo "$RANLIB" >&6; } 4198else 4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4200$as_echo "no" >&6; } 4201fi 4202 4203 4204fi 4205if test -z "$ac_cv_prog_RANLIB"; then 4206 ac_ct_RANLIB=$RANLIB 4207 # Extract the first word of "ranlib", so it can be a program name with args. 4208set dummy ranlib; ac_word=$2 4209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4210$as_echo_n "checking for $ac_word... " >&6; } 4211if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4212 $as_echo_n "(cached) " >&6 4213else 4214 if test -n "$ac_ct_RANLIB"; then 4215 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4216else 4217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4218for as_dir in $PATH 4219do 4220 IFS=$as_save_IFS 4221 test -z "$as_dir" && as_dir=. 4222 for ac_exec_ext in '' $ac_executable_extensions; do 4223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4224 ac_cv_prog_ac_ct_RANLIB="ranlib" 4225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4226 break 2 4227 fi 4228done 4229 done 4230IFS=$as_save_IFS 4231 4232fi 4233fi 4234ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4235if test -n "$ac_ct_RANLIB"; then 4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4237$as_echo "$ac_ct_RANLIB" >&6; } 4238else 4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4240$as_echo "no" >&6; } 4241fi 4242 4243 if test "x$ac_ct_RANLIB" = x; then 4244 RANLIB=":" 4245 else 4246 case $cross_compiling:$ac_tool_warned in 4247yes:) 4248{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4249$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4250ac_tool_warned=yes ;; 4251esac 4252 RANLIB=$ac_ct_RANLIB 4253 fi 4254else 4255 RANLIB="$ac_cv_prog_RANLIB" 4256fi 4257 4258for ac_prog in 'bison -y' byacc 4259do 4260 # Extract the first word of "$ac_prog", so it can be a program name with args. 4261set dummy $ac_prog; ac_word=$2 4262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4263$as_echo_n "checking for $ac_word... " >&6; } 4264if ${ac_cv_prog_YACC+:} false; then : 4265 $as_echo_n "(cached) " >&6 4266else 4267 if test -n "$YACC"; then 4268 ac_cv_prog_YACC="$YACC" # Let the user override the test. 4269else 4270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4271for as_dir in $PATH 4272do 4273 IFS=$as_save_IFS 4274 test -z "$as_dir" && as_dir=. 4275 for ac_exec_ext in '' $ac_executable_extensions; do 4276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4277 ac_cv_prog_YACC="$ac_prog" 4278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4279 break 2 4280 fi 4281done 4282 done 4283IFS=$as_save_IFS 4284 4285fi 4286fi 4287YACC=$ac_cv_prog_YACC 4288if test -n "$YACC"; then 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 4290$as_echo "$YACC" >&6; } 4291else 4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4293$as_echo "no" >&6; } 4294fi 4295 4296 4297 test -n "$YACC" && break 4298done 4299test -n "$YACC" || YACC="yacc" 4300 4301 4302for ac_prog in flex lex 4303do 4304 # Extract the first word of "$ac_prog", so it can be a program name with args. 4305set dummy $ac_prog; ac_word=$2 4306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4307$as_echo_n "checking for $ac_word... " >&6; } 4308if ${ac_cv_prog_LEX+:} false; then : 4309 $as_echo_n "(cached) " >&6 4310else 4311 if test -n "$LEX"; then 4312 ac_cv_prog_LEX="$LEX" # Let the user override the test. 4313else 4314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4315for as_dir in $PATH 4316do 4317 IFS=$as_save_IFS 4318 test -z "$as_dir" && as_dir=. 4319 for ac_exec_ext in '' $ac_executable_extensions; do 4320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4321 ac_cv_prog_LEX="$ac_prog" 4322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4323 break 2 4324 fi 4325done 4326 done 4327IFS=$as_save_IFS 4328 4329fi 4330fi 4331LEX=$ac_cv_prog_LEX 4332if test -n "$LEX"; then 4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 4334$as_echo "$LEX" >&6; } 4335else 4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4337$as_echo "no" >&6; } 4338fi 4339 4340 4341 test -n "$LEX" && break 4342done 4343test -n "$LEX" || LEX=":" 4344 4345if test "x$LEX" != "x:"; then 4346 cat >conftest.l <<_ACEOF 4347%% 4348a { ECHO; } 4349b { REJECT; } 4350c { yymore (); } 4351d { yyless (1); } 4352e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ 4353 yyless ((input () != 0)); } 4354f { unput (yytext[0]); } 4355. { BEGIN INITIAL; } 4356%% 4357#ifdef YYTEXT_POINTER 4358extern char *yytext; 4359#endif 4360int 4361main (void) 4362{ 4363 return ! yylex () + ! yywrap (); 4364} 4365_ACEOF 4366{ { ac_try="$LEX conftest.l" 4367case "(($ac_try" in 4368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4369 *) ac_try_echo=$ac_try;; 4370esac 4371eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4372$as_echo "$ac_try_echo"; } >&5 4373 (eval "$LEX conftest.l") 2>&5 4374 ac_status=$? 4375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4376 test $ac_status = 0; } 4377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 4378$as_echo_n "checking lex output file root... " >&6; } 4379if ${ac_cv_prog_lex_root+:} false; then : 4380 $as_echo_n "(cached) " >&6 4381else 4382 4383if test -f lex.yy.c; then 4384 ac_cv_prog_lex_root=lex.yy 4385elif test -f lexyy.c; then 4386 ac_cv_prog_lex_root=lexyy 4387else 4388 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 4389fi 4390fi 4391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 4392$as_echo "$ac_cv_prog_lex_root" >&6; } 4393LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 4394 4395if test -z "${LEXLIB+set}"; then 4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 4397$as_echo_n "checking lex library... " >&6; } 4398if ${ac_cv_lib_lex+:} false; then : 4399 $as_echo_n "(cached) " >&6 4400else 4401 4402 ac_save_LIBS=$LIBS 4403 ac_cv_lib_lex='none needed' 4404 for ac_lib in '' -lfl -ll; do 4405 LIBS="$ac_lib $ac_save_LIBS" 4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4407/* end confdefs.h. */ 4408`cat $LEX_OUTPUT_ROOT.c` 4409_ACEOF 4410if ac_fn_c_try_link "$LINENO"; then : 4411 ac_cv_lib_lex=$ac_lib 4412fi 4413rm -f core conftest.err conftest.$ac_objext \ 4414 conftest$ac_exeext conftest.$ac_ext 4415 test "$ac_cv_lib_lex" != 'none needed' && break 4416 done 4417 LIBS=$ac_save_LIBS 4418 4419fi 4420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 4421$as_echo "$ac_cv_lib_lex" >&6; } 4422 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 4423fi 4424 4425 4426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 4427$as_echo_n "checking whether yytext is a pointer... " >&6; } 4428if ${ac_cv_prog_lex_yytext_pointer+:} false; then : 4429 $as_echo_n "(cached) " >&6 4430else 4431 # POSIX says lex can declare yytext either as a pointer or an array; the 4432# default is implementation-dependent. Figure out which it is, since 4433# not all implementations provide the %pointer and %array declarations. 4434ac_cv_prog_lex_yytext_pointer=no 4435ac_save_LIBS=$LIBS 4436LIBS="$LEXLIB $ac_save_LIBS" 4437cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4438/* end confdefs.h. */ 4439 4440 #define YYTEXT_POINTER 1 4441`cat $LEX_OUTPUT_ROOT.c` 4442_ACEOF 4443if ac_fn_c_try_link "$LINENO"; then : 4444 ac_cv_prog_lex_yytext_pointer=yes 4445fi 4446rm -f core conftest.err conftest.$ac_objext \ 4447 conftest$ac_exeext conftest.$ac_ext 4448LIBS=$ac_save_LIBS 4449 4450fi 4451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 4452$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 4453if test $ac_cv_prog_lex_yytext_pointer = yes; then 4454 4455$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 4456 4457fi 4458rm -f conftest.l $LEX_OUTPUT_ROOT.c 4459 4460fi 4461if test "$LEX" = :; then 4462 LEX=${am_missing_run}flex 4463fi 4464# Only available since automake 1.12 4465if test -n "$ac_tool_prefix"; then 4466 for ac_prog in ar lib "link -lib" 4467 do 4468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4469set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4471$as_echo_n "checking for $ac_word... " >&6; } 4472if ${ac_cv_prog_AR+:} false; then : 4473 $as_echo_n "(cached) " >&6 4474else 4475 if test -n "$AR"; then 4476 ac_cv_prog_AR="$AR" # Let the user override the test. 4477else 4478as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4479for as_dir in $PATH 4480do 4481 IFS=$as_save_IFS 4482 test -z "$as_dir" && as_dir=. 4483 for ac_exec_ext in '' $ac_executable_extensions; do 4484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4485 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 4486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4487 break 2 4488 fi 4489done 4490 done 4491IFS=$as_save_IFS 4492 4493fi 4494fi 4495AR=$ac_cv_prog_AR 4496if test -n "$AR"; then 4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4498$as_echo "$AR" >&6; } 4499else 4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4501$as_echo "no" >&6; } 4502fi 4503 4504 4505 test -n "$AR" && break 4506 done 4507fi 4508if test -z "$AR"; then 4509 ac_ct_AR=$AR 4510 for ac_prog in ar lib "link -lib" 4511do 4512 # Extract the first word of "$ac_prog", so it can be a program name with args. 4513set dummy $ac_prog; ac_word=$2 4514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4515$as_echo_n "checking for $ac_word... " >&6; } 4516if ${ac_cv_prog_ac_ct_AR+:} false; then : 4517 $as_echo_n "(cached) " >&6 4518else 4519 if test -n "$ac_ct_AR"; then 4520 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4521else 4522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4523for as_dir in $PATH 4524do 4525 IFS=$as_save_IFS 4526 test -z "$as_dir" && as_dir=. 4527 for ac_exec_ext in '' $ac_executable_extensions; do 4528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4529 ac_cv_prog_ac_ct_AR="$ac_prog" 4530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4531 break 2 4532 fi 4533done 4534 done 4535IFS=$as_save_IFS 4536 4537fi 4538fi 4539ac_ct_AR=$ac_cv_prog_ac_ct_AR 4540if test -n "$ac_ct_AR"; then 4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4542$as_echo "$ac_ct_AR" >&6; } 4543else 4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4545$as_echo "no" >&6; } 4546fi 4547 4548 4549 test -n "$ac_ct_AR" && break 4550done 4551 4552 if test "x$ac_ct_AR" = x; then 4553 AR="false" 4554 else 4555 case $cross_compiling:$ac_tool_warned in 4556yes:) 4557{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4558$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4559ac_tool_warned=yes ;; 4560esac 4561 AR=$ac_ct_AR 4562 fi 4563fi 4564 4565: ${AR=ar} 4566 4567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 4568$as_echo_n "checking the archiver ($AR) interface... " >&6; } 4569if ${am_cv_ar_interface+:} false; then : 4570 $as_echo_n "(cached) " >&6 4571else 4572 ac_ext=c 4573ac_cpp='$CPP $CPPFLAGS' 4574ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4575ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4576ac_compiler_gnu=$ac_cv_c_compiler_gnu 4577 4578 am_cv_ar_interface=ar 4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4580/* end confdefs.h. */ 4581int some_variable = 0; 4582_ACEOF 4583if ac_fn_c_try_compile "$LINENO"; then : 4584 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 4585 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4586 (eval $am_ar_try) 2>&5 4587 ac_status=$? 4588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4589 test $ac_status = 0; } 4590 if test "$ac_status" -eq 0; then 4591 am_cv_ar_interface=ar 4592 else 4593 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 4594 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4595 (eval $am_ar_try) 2>&5 4596 ac_status=$? 4597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4598 test $ac_status = 0; } 4599 if test "$ac_status" -eq 0; then 4600 am_cv_ar_interface=lib 4601 else 4602 am_cv_ar_interface=unknown 4603 fi 4604 fi 4605 rm -f conftest.lib libconftest.a 4606 4607fi 4608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4609 ac_ext=c 4610ac_cpp='$CPP $CPPFLAGS' 4611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4613ac_compiler_gnu=$ac_cv_c_compiler_gnu 4614 4615fi 4616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 4617$as_echo "$am_cv_ar_interface" >&6; } 4618 4619case $am_cv_ar_interface in 4620ar) 4621 ;; 4622lib) 4623 # Microsoft lib, so override with the ar-lib wrapper script. 4624 # FIXME: It is wrong to rewrite AR. 4625 # But if we don't then we get into trouble of one sort or another. 4626 # A longer-term fix would be to have automake use am__AR in this case, 4627 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 4628 # similar. 4629 AR="$am_aux_dir/ar-lib $AR" 4630 ;; 4631unknown) 4632 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 4633 ;; 4634esac 4635 4636if test -n "$ac_tool_prefix"; then 4637 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args. 4638set dummy ${ac_tool_prefix}readelf; ac_word=$2 4639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4640$as_echo_n "checking for $ac_word... " >&6; } 4641if ${ac_cv_prog_READELF+:} false; then : 4642 $as_echo_n "(cached) " >&6 4643else 4644 if test -n "$READELF"; then 4645 ac_cv_prog_READELF="$READELF" # Let the user override the test. 4646else 4647as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4648for as_dir in $PATH 4649do 4650 IFS=$as_save_IFS 4651 test -z "$as_dir" && as_dir=. 4652 for ac_exec_ext in '' $ac_executable_extensions; do 4653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4654 ac_cv_prog_READELF="${ac_tool_prefix}readelf" 4655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4656 break 2 4657 fi 4658done 4659 done 4660IFS=$as_save_IFS 4661 4662fi 4663fi 4664READELF=$ac_cv_prog_READELF 4665if test -n "$READELF"; then 4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5 4667$as_echo "$READELF" >&6; } 4668else 4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4670$as_echo "no" >&6; } 4671fi 4672 4673 4674fi 4675if test -z "$ac_cv_prog_READELF"; then 4676 ac_ct_READELF=$READELF 4677 # Extract the first word of "readelf", so it can be a program name with args. 4678set dummy readelf; ac_word=$2 4679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4680$as_echo_n "checking for $ac_word... " >&6; } 4681if ${ac_cv_prog_ac_ct_READELF+:} false; then : 4682 $as_echo_n "(cached) " >&6 4683else 4684 if test -n "$ac_ct_READELF"; then 4685 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test. 4686else 4687as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4688for as_dir in $PATH 4689do 4690 IFS=$as_save_IFS 4691 test -z "$as_dir" && as_dir=. 4692 for ac_exec_ext in '' $ac_executable_extensions; do 4693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4694 ac_cv_prog_ac_ct_READELF="readelf" 4695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4696 break 2 4697 fi 4698done 4699 done 4700IFS=$as_save_IFS 4701 4702fi 4703fi 4704ac_ct_READELF=$ac_cv_prog_ac_ct_READELF 4705if test -n "$ac_ct_READELF"; then 4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5 4707$as_echo "$ac_ct_READELF" >&6; } 4708else 4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4710$as_echo "no" >&6; } 4711fi 4712 4713 if test "x$ac_ct_READELF" = x; then 4714 READELF="" 4715 else 4716 case $cross_compiling:$ac_tool_warned in 4717yes:) 4718{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4719$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4720ac_tool_warned=yes ;; 4721esac 4722 READELF=$ac_ct_READELF 4723 fi 4724else 4725 READELF="$ac_cv_prog_READELF" 4726fi 4727 4728if test -n "$ac_tool_prefix"; then 4729 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. 4730set dummy ${ac_tool_prefix}nm; ac_word=$2 4731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4732$as_echo_n "checking for $ac_word... " >&6; } 4733if ${ac_cv_prog_NM+:} false; then : 4734 $as_echo_n "(cached) " >&6 4735else 4736 if test -n "$NM"; then 4737 ac_cv_prog_NM="$NM" # Let the user override the test. 4738else 4739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4740for as_dir in $PATH 4741do 4742 IFS=$as_save_IFS 4743 test -z "$as_dir" && as_dir=. 4744 for ac_exec_ext in '' $ac_executable_extensions; do 4745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4746 ac_cv_prog_NM="${ac_tool_prefix}nm" 4747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4748 break 2 4749 fi 4750done 4751 done 4752IFS=$as_save_IFS 4753 4754fi 4755fi 4756NM=$ac_cv_prog_NM 4757if test -n "$NM"; then 4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 4759$as_echo "$NM" >&6; } 4760else 4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4762$as_echo "no" >&6; } 4763fi 4764 4765 4766fi 4767if test -z "$ac_cv_prog_NM"; then 4768 ac_ct_NM=$NM 4769 # Extract the first word of "nm", so it can be a program name with args. 4770set dummy nm; ac_word=$2 4771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4772$as_echo_n "checking for $ac_word... " >&6; } 4773if ${ac_cv_prog_ac_ct_NM+:} false; then : 4774 $as_echo_n "(cached) " >&6 4775else 4776 if test -n "$ac_ct_NM"; then 4777 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. 4778else 4779as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4780for as_dir in $PATH 4781do 4782 IFS=$as_save_IFS 4783 test -z "$as_dir" && as_dir=. 4784 for ac_exec_ext in '' $ac_executable_extensions; do 4785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4786 ac_cv_prog_ac_ct_NM="nm" 4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4788 break 2 4789 fi 4790done 4791 done 4792IFS=$as_save_IFS 4793 4794fi 4795fi 4796ac_ct_NM=$ac_cv_prog_ac_ct_NM 4797if test -n "$ac_ct_NM"; then 4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 4799$as_echo "$ac_ct_NM" >&6; } 4800else 4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4802$as_echo "no" >&6; } 4803fi 4804 4805 if test "x$ac_ct_NM" = x; then 4806 NM="" 4807 else 4808 case $cross_compiling:$ac_tool_warned in 4809yes:) 4810{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4811$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4812ac_tool_warned=yes ;; 4813esac 4814 NM=$ac_ct_NM 4815 fi 4816else 4817 NM="$ac_cv_prog_NM" 4818fi 4819 4820 4821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc with C99 support" >&5 4822$as_echo_n "checking for gcc with C99 support... " >&6; } 4823if ${ac_cv_c99+:} false; then : 4824 $as_echo_n "(cached) " >&6 4825else 4826 old_CFLAGS="$CFLAGS" 4827CFLAGS="$CFLAGS -std=gnu99" 4828cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4829/* end confdefs.h. */ 4830int foo (int a) { for (int i = 0; i < a; ++i) if (i % 4) break; int s = a; } 4831_ACEOF 4832if ac_fn_c_try_compile "$LINENO"; then : 4833 ac_cv_c99=yes 4834else 4835 ac_cv_c99=no 4836fi 4837rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4838CFLAGS="$old_CFLAGS" 4839fi 4840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99" >&5 4841$as_echo "$ac_cv_c99" >&6; } 4842if test "x$ac_cv_c99" != xyes; then : 4843 as_fn_error $? "gcc with C99 support required" "$LINENO" 5 4844fi 4845 4846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread support" >&5 4847$as_echo_n "checking for __thread support... " >&6; } 4848if ${ac_cv_tls+:} false; then : 4849 $as_echo_n "(cached) " >&6 4850else 4851 # Use the same flags that we use for our DSOs, so the test is representative. 4852# Some old compiler/linker/libc combinations fail some ways and not others. 4853save_CFLAGS="$CFLAGS" 4854save_LDFLAGS="$LDFLAGS" 4855CFLAGS="-fpic $CFLAGS" 4856LDFLAGS="-shared -Wl,-z,defs,-z,relro $LDFLAGS" 4857cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4858/* end confdefs.h. */ 4859#undef __thread 4860static __thread int a; int foo (int b) { return a + b; } 4861int 4862main () 4863{ 4864exit (foo (0)); 4865 ; 4866 return 0; 4867} 4868_ACEOF 4869if ac_fn_c_try_link "$LINENO"; then : 4870 ac_cv_tls=yes 4871else 4872 ac_cv_tls=no 4873fi 4874rm -f core conftest.err conftest.$ac_objext \ 4875 conftest$ac_exeext conftest.$ac_ext 4876CFLAGS="$save_CFLAGS" 4877LDFLAGS="$save_LDFLAGS" 4878fi 4879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5 4880$as_echo "$ac_cv_tls" >&6; } 4881if test "x$ac_cv_tls" != xyes; then : 4882 as_fn_error $? "__thread support required" "$LINENO" 5 4883fi 4884 4885# Check whether --enable-largefile was given. 4886if test "${enable_largefile+set}" = set; then : 4887 enableval=$enable_largefile; 4888fi 4889 4890if test "$enable_largefile" != no; then 4891 4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 4893$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 4894if ${ac_cv_sys_largefile_CC+:} false; then : 4895 $as_echo_n "(cached) " >&6 4896else 4897 ac_cv_sys_largefile_CC=no 4898 if test "$GCC" != yes; then 4899 ac_save_CC=$CC 4900 while :; do 4901 # IRIX 6.2 and later do not support large files by default, 4902 # so use the C compiler's -n32 option if that helps. 4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4904/* end confdefs.h. */ 4905#include <sys/types.h> 4906 /* Check that off_t can represent 2**63 - 1 correctly. 4907 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4908 since some C++ compilers masquerading as C compilers 4909 incorrectly reject 9223372036854775807. */ 4910#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4911 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4912 && LARGE_OFF_T % 2147483647 == 1) 4913 ? 1 : -1]; 4914int 4915main () 4916{ 4917 4918 ; 4919 return 0; 4920} 4921_ACEOF 4922 if ac_fn_c_try_compile "$LINENO"; then : 4923 break 4924fi 4925rm -f core conftest.err conftest.$ac_objext 4926 CC="$CC -n32" 4927 if ac_fn_c_try_compile "$LINENO"; then : 4928 ac_cv_sys_largefile_CC=' -n32'; break 4929fi 4930rm -f core conftest.err conftest.$ac_objext 4931 break 4932 done 4933 CC=$ac_save_CC 4934 rm -f conftest.$ac_ext 4935 fi 4936fi 4937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 4938$as_echo "$ac_cv_sys_largefile_CC" >&6; } 4939 if test "$ac_cv_sys_largefile_CC" != no; then 4940 CC=$CC$ac_cv_sys_largefile_CC 4941 fi 4942 4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 4944$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 4945if ${ac_cv_sys_file_offset_bits+:} false; then : 4946 $as_echo_n "(cached) " >&6 4947else 4948 while :; do 4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4950/* end confdefs.h. */ 4951#include <sys/types.h> 4952 /* Check that off_t can represent 2**63 - 1 correctly. 4953 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4954 since some C++ compilers masquerading as C compilers 4955 incorrectly reject 9223372036854775807. */ 4956#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4957 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4958 && LARGE_OFF_T % 2147483647 == 1) 4959 ? 1 : -1]; 4960int 4961main () 4962{ 4963 4964 ; 4965 return 0; 4966} 4967_ACEOF 4968if ac_fn_c_try_compile "$LINENO"; then : 4969 ac_cv_sys_file_offset_bits=no; break 4970fi 4971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4973/* end confdefs.h. */ 4974#define _FILE_OFFSET_BITS 64 4975#include <sys/types.h> 4976 /* Check that off_t can represent 2**63 - 1 correctly. 4977 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4978 since some C++ compilers masquerading as C compilers 4979 incorrectly reject 9223372036854775807. */ 4980#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4981 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4982 && LARGE_OFF_T % 2147483647 == 1) 4983 ? 1 : -1]; 4984int 4985main () 4986{ 4987 4988 ; 4989 return 0; 4990} 4991_ACEOF 4992if ac_fn_c_try_compile "$LINENO"; then : 4993 ac_cv_sys_file_offset_bits=64; break 4994fi 4995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4996 ac_cv_sys_file_offset_bits=unknown 4997 break 4998done 4999fi 5000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 5001$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 5002case $ac_cv_sys_file_offset_bits in #( 5003 no | unknown) ;; 5004 *) 5005cat >>confdefs.h <<_ACEOF 5006#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 5007_ACEOF 5008;; 5009esac 5010rm -rf conftest* 5011 if test $ac_cv_sys_file_offset_bits = unknown; then 5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 5013$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 5014if ${ac_cv_sys_large_files+:} false; then : 5015 $as_echo_n "(cached) " >&6 5016else 5017 while :; do 5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5019/* end confdefs.h. */ 5020#include <sys/types.h> 5021 /* Check that off_t can represent 2**63 - 1 correctly. 5022 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5023 since some C++ compilers masquerading as C compilers 5024 incorrectly reject 9223372036854775807. */ 5025#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5027 && LARGE_OFF_T % 2147483647 == 1) 5028 ? 1 : -1]; 5029int 5030main () 5031{ 5032 5033 ; 5034 return 0; 5035} 5036_ACEOF 5037if ac_fn_c_try_compile "$LINENO"; then : 5038 ac_cv_sys_large_files=no; break 5039fi 5040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5042/* end confdefs.h. */ 5043#define _LARGE_FILES 1 5044#include <sys/types.h> 5045 /* Check that off_t can represent 2**63 - 1 correctly. 5046 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5047 since some C++ compilers masquerading as C compilers 5048 incorrectly reject 9223372036854775807. */ 5049#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5051 && LARGE_OFF_T % 2147483647 == 1) 5052 ? 1 : -1]; 5053int 5054main () 5055{ 5056 5057 ; 5058 return 0; 5059} 5060_ACEOF 5061if ac_fn_c_try_compile "$LINENO"; then : 5062 ac_cv_sys_large_files=1; break 5063fi 5064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5065 ac_cv_sys_large_files=unknown 5066 break 5067done 5068fi 5069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 5070$as_echo "$ac_cv_sys_large_files" >&6; } 5071case $ac_cv_sys_large_files in #( 5072 no | unknown) ;; 5073 *) 5074cat >>confdefs.h <<_ACEOF 5075#define _LARGE_FILES $ac_cv_sys_large_files 5076_ACEOF 5077;; 5078esac 5079rm -rf conftest* 5080 fi 5081 5082 5083fi 5084 5085 5086native_ld=no 5087# Check whether --enable-generic was given. 5088if test "${enable_generic+set}" = set; then : 5089 enableval=$enable_generic; if test "$enable_generic" = no; then 5090 case "$host_cpu" in 5091 i?86) 5092 $as_echo "#define NATIVE_ELF 32" >>confdefs.h 5093 5094 native_ld=yes 5095 base_cpu=i386 5096 ;; 5097 *) 5098 as_fn_error $? "no machine-specific linker for this configuration available" "$LINENO" 5 5099 ;; 5100 esac 5101fi 5102fi 5103 5104 5105 if test "$native_ld" = yes; then 5106 NATIVE_LD_TRUE= 5107 NATIVE_LD_FALSE='#' 5108else 5109 NATIVE_LD_TRUE='#' 5110 NATIVE_LD_FALSE= 5111fi 5112 5113if test -z "$base_cpu"; then : 5114 base_cpu=none 5115fi 5116 5117 if false; then 5118 NEVER_TRUE= 5119 NEVER_FALSE='#' 5120else 5121 NEVER_TRUE='#' 5122 NEVER_FALSE= 5123fi 5124 5125 5126# Check whether --enable-debugpred was given. 5127if test "${enable_debugpred+set}" = set; then : 5128 enableval=$enable_debugpred; use_debugpred=$enableval 5129else 5130 use_debugpred=no 5131fi 5132 5133case $use_debugpred in 5134 yes) use_debugpred=1 ;; 5135 *) use_debugpred=0 ;; 5136esac 5137DEBUGPRED=$use_debugpred 5138 5139 5140# Check whether --enable-gprof was given. 5141if test "${enable_gprof+set}" = set; then : 5142 enableval=$enable_gprof; use_gprof=$enableval 5143else 5144 use_gprof=no 5145fi 5146 5147if test "$use_gprof" = yes; then 5148 CFLAGS="$CFLAGS -pg" 5149 LDFLAGS="$LDFLAGS -pg" 5150fi 5151 if test "$use_gprof" = yes; then 5152 GPROF_TRUE= 5153 GPROF_FALSE='#' 5154else 5155 GPROF_TRUE='#' 5156 GPROF_FALSE= 5157fi 5158 5159 5160# Enable gcov suport. 5161# Check whether --enable-gcov was given. 5162if test "${enable_gcov+set}" = set; then : 5163 enableval=$enable_gcov; use_gcov=$enableval 5164else 5165 use_gcov=no 5166fi 5167 5168if test "$use_gcov" = yes; then 5169 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage" 5170 LDFLAGS="$LDFLAGS -fprofile-arcs" 5171fi 5172 if test "$use_gcov" = yes; then 5173 GCOV_TRUE= 5174 GCOV_FALSE='#' 5175else 5176 GCOV_TRUE='#' 5177 GCOV_FALSE= 5178fi 5179 5180 5181# Check whether --enable-valgrind was given. 5182if test "${enable_valgrind+set}" = set; then : 5183 enableval=$enable_valgrind; use_valgrind=$enableval 5184else 5185 use_valgrind=no 5186fi 5187 5188if test "$use_valgrind" = yes; then 5189 # Extract the first word of "valgrind", so it can be a program name with args. 5190set dummy valgrind; ac_word=$2 5191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5192$as_echo_n "checking for $ac_word... " >&6; } 5193if ${ac_cv_prog_HAVE_VALGRIND+:} false; then : 5194 $as_echo_n "(cached) " >&6 5195else 5196 if test -n "$HAVE_VALGRIND"; then 5197 ac_cv_prog_HAVE_VALGRIND="$HAVE_VALGRIND" # Let the user override the test. 5198else 5199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5200for as_dir in $PATH 5201do 5202 IFS=$as_save_IFS 5203 test -z "$as_dir" && as_dir=. 5204 for ac_exec_ext in '' $ac_executable_extensions; do 5205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5206 ac_cv_prog_HAVE_VALGRIND="yes" 5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5208 break 2 5209 fi 5210done 5211 done 5212IFS=$as_save_IFS 5213 5214 test -z "$ac_cv_prog_HAVE_VALGRIND" && ac_cv_prog_HAVE_VALGRIND="no" 5215fi 5216fi 5217HAVE_VALGRIND=$ac_cv_prog_HAVE_VALGRIND 5218if test -n "$HAVE_VALGRIND"; then 5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_VALGRIND" >&5 5220$as_echo "$HAVE_VALGRIND" >&6; } 5221else 5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5223$as_echo "no" >&6; } 5224fi 5225 5226 5227 if test "$HAVE_VALGRIND" = "no"; then 5228 as_fn_error $? "valgrind not found" "$LINENO" 5 5229 fi 5230fi 5231 if test "$use_valgrind" = yes; then 5232 USE_VALGRIND_TRUE= 5233 USE_VALGRIND_FALSE='#' 5234else 5235 USE_VALGRIND_TRUE='#' 5236 USE_VALGRIND_FALSE= 5237fi 5238 5239 5240 if test "$use_gprof" = yes -o "$use_gcov" = yes; then 5241 BUILD_STATIC_TRUE= 5242 BUILD_STATIC_FALSE='#' 5243else 5244 BUILD_STATIC_TRUE='#' 5245 BUILD_STATIC_FALSE= 5246fi 5247 5248 5249# Check whether --enable-tests-rpath was given. 5250if test "${enable_tests_rpath+set}" = set; then : 5251 enableval=$enable_tests_rpath; tests_use_rpath=$enableval 5252else 5253 tests_use_rpath=no 5254fi 5255 5256 if test "$tests_use_rpath" = yes; then 5257 TESTS_RPATH_TRUE= 5258 TESTS_RPATH_FALSE='#' 5259else 5260 TESTS_RPATH_TRUE='#' 5261 TESTS_RPATH_FALSE= 5262fi 5263 5264 5265LIBEBL_SUBDIR="$PACKAGE" 5266# Check whether --enable-libebl-subdir was given. 5267if test "${enable_libebl_subdir+set}" = set; then : 5268 enableval=$enable_libebl_subdir; LIBEBL_SUBDIR="$enable_libebl_subdir" 5269fi 5270 5271 5272cat >>confdefs.h <<_ACEOF 5273#define LIBEBL_SUBDIR "$LIBEBL_SUBDIR" 5274_ACEOF 5275 5276 5277 5278save_LIBS="$LIBS" 5279LIBS= 5280 5281# Check whether --with-zlib was given. 5282if test "${with_zlib+set}" = set; then : 5283 withval=$with_zlib; 5284else 5285 with_zlib=default 5286fi 5287 5288if test $with_zlib != no; then 5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzdirect" >&5 5290$as_echo_n "checking for library containing gzdirect... " >&6; } 5291if ${ac_cv_search_gzdirect+:} false; then : 5292 $as_echo_n "(cached) " >&6 5293else 5294 ac_func_search_save_LIBS=$LIBS 5295cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5296/* end confdefs.h. */ 5297 5298/* Override any GCC internal prototype to avoid an error. 5299 Use char because int might match the return type of a GCC 5300 builtin and then its argument prototype would still apply. */ 5301#ifdef __cplusplus 5302extern "C" 5303#endif 5304char gzdirect (); 5305int 5306main () 5307{ 5308return gzdirect (); 5309 ; 5310 return 0; 5311} 5312_ACEOF 5313for ac_lib in '' z; do 5314 if test -z "$ac_lib"; then 5315 ac_res="none required" 5316 else 5317 ac_res=-l$ac_lib 5318 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5319 fi 5320 if ac_fn_c_try_link "$LINENO"; then : 5321 ac_cv_search_gzdirect=$ac_res 5322fi 5323rm -f core conftest.err conftest.$ac_objext \ 5324 conftest$ac_exeext 5325 if ${ac_cv_search_gzdirect+:} false; then : 5326 break 5327fi 5328done 5329if ${ac_cv_search_gzdirect+:} false; then : 5330 5331else 5332 ac_cv_search_gzdirect=no 5333fi 5334rm conftest.$ac_ext 5335LIBS=$ac_func_search_save_LIBS 5336fi 5337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzdirect" >&5 5338$as_echo "$ac_cv_search_gzdirect" >&6; } 5339ac_res=$ac_cv_search_gzdirect 5340if test "$ac_res" != no; then : 5341 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5342 with_zlib=yes 5343else 5344 test $with_zlib = default || 5345 as_fn_error $? "missing -lz for --with-zlib" "$LINENO" 5 5346fi 5347 5348fi 5349 if test $with_zlib = yes; then 5350 ZLIB_TRUE= 5351 ZLIB_FALSE='#' 5352else 5353 ZLIB_TRUE='#' 5354 ZLIB_FALSE= 5355fi 5356 5357if test $with_zlib = yes; then 5358 $as_echo "#define USE_ZLIB 1" >>confdefs.h 5359 5360fi 5361 5362 5363# Check whether --with-bzlib was given. 5364if test "${with_bzlib+set}" = set; then : 5365 withval=$with_bzlib; 5366else 5367 with_bzlib=default 5368fi 5369 5370if test $with_bzlib != no; then 5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing BZ2_bzdopen" >&5 5372$as_echo_n "checking for library containing BZ2_bzdopen... " >&6; } 5373if ${ac_cv_search_BZ2_bzdopen+:} false; then : 5374 $as_echo_n "(cached) " >&6 5375else 5376 ac_func_search_save_LIBS=$LIBS 5377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5378/* end confdefs.h. */ 5379 5380/* Override any GCC internal prototype to avoid an error. 5381 Use char because int might match the return type of a GCC 5382 builtin and then its argument prototype would still apply. */ 5383#ifdef __cplusplus 5384extern "C" 5385#endif 5386char BZ2_bzdopen (); 5387int 5388main () 5389{ 5390return BZ2_bzdopen (); 5391 ; 5392 return 0; 5393} 5394_ACEOF 5395for ac_lib in '' bz2; do 5396 if test -z "$ac_lib"; then 5397 ac_res="none required" 5398 else 5399 ac_res=-l$ac_lib 5400 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5401 fi 5402 if ac_fn_c_try_link "$LINENO"; then : 5403 ac_cv_search_BZ2_bzdopen=$ac_res 5404fi 5405rm -f core conftest.err conftest.$ac_objext \ 5406 conftest$ac_exeext 5407 if ${ac_cv_search_BZ2_bzdopen+:} false; then : 5408 break 5409fi 5410done 5411if ${ac_cv_search_BZ2_bzdopen+:} false; then : 5412 5413else 5414 ac_cv_search_BZ2_bzdopen=no 5415fi 5416rm conftest.$ac_ext 5417LIBS=$ac_func_search_save_LIBS 5418fi 5419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_BZ2_bzdopen" >&5 5420$as_echo "$ac_cv_search_BZ2_bzdopen" >&6; } 5421ac_res=$ac_cv_search_BZ2_bzdopen 5422if test "$ac_res" != no; then : 5423 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5424 with_bzlib=yes 5425else 5426 test $with_bzlib = default || 5427 as_fn_error $? "missing -lbz2 for --with-bzlib" "$LINENO" 5 5428fi 5429 5430fi 5431 if test $with_bzlib = yes; then 5432 BZLIB_TRUE= 5433 BZLIB_FALSE='#' 5434else 5435 BZLIB_TRUE='#' 5436 BZLIB_FALSE= 5437fi 5438 5439if test $with_bzlib = yes; then 5440 $as_echo "#define USE_BZLIB 1" >>confdefs.h 5441 5442fi 5443 5444 5445# Check whether --with-lzma was given. 5446if test "${with_lzma+set}" = set; then : 5447 withval=$with_lzma; 5448else 5449 with_lzma=default 5450fi 5451 5452if test $with_lzma != no; then 5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lzma_auto_decoder" >&5 5454$as_echo_n "checking for library containing lzma_auto_decoder... " >&6; } 5455if ${ac_cv_search_lzma_auto_decoder+:} false; then : 5456 $as_echo_n "(cached) " >&6 5457else 5458 ac_func_search_save_LIBS=$LIBS 5459cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5460/* end confdefs.h. */ 5461 5462/* Override any GCC internal prototype to avoid an error. 5463 Use char because int might match the return type of a GCC 5464 builtin and then its argument prototype would still apply. */ 5465#ifdef __cplusplus 5466extern "C" 5467#endif 5468char lzma_auto_decoder (); 5469int 5470main () 5471{ 5472return lzma_auto_decoder (); 5473 ; 5474 return 0; 5475} 5476_ACEOF 5477for ac_lib in '' lzma; do 5478 if test -z "$ac_lib"; then 5479 ac_res="none required" 5480 else 5481 ac_res=-l$ac_lib 5482 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5483 fi 5484 if ac_fn_c_try_link "$LINENO"; then : 5485 ac_cv_search_lzma_auto_decoder=$ac_res 5486fi 5487rm -f core conftest.err conftest.$ac_objext \ 5488 conftest$ac_exeext 5489 if ${ac_cv_search_lzma_auto_decoder+:} false; then : 5490 break 5491fi 5492done 5493if ${ac_cv_search_lzma_auto_decoder+:} false; then : 5494 5495else 5496 ac_cv_search_lzma_auto_decoder=no 5497fi 5498rm conftest.$ac_ext 5499LIBS=$ac_func_search_save_LIBS 5500fi 5501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lzma_auto_decoder" >&5 5502$as_echo "$ac_cv_search_lzma_auto_decoder" >&6; } 5503ac_res=$ac_cv_search_lzma_auto_decoder 5504if test "$ac_res" != no; then : 5505 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5506 with_lzma=yes 5507else 5508 test $with_lzma = default || 5509 as_fn_error $? "missing -llzma for --with-lzma" "$LINENO" 5 5510fi 5511 5512fi 5513 if test $with_lzma = yes; then 5514 LZMA_TRUE= 5515 LZMA_FALSE='#' 5516else 5517 LZMA_TRUE='#' 5518 LZMA_FALSE= 5519fi 5520 5521if test $with_lzma = yes; then 5522 $as_echo "#define USE_LZMA 1" >>confdefs.h 5523 5524fi 5525 5526zip_LIBS="$LIBS" 5527LIBS="$save_LIBS" 5528 5529 5530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle in -lstdc++" >&5 5531$as_echo_n "checking for __cxa_demangle in -lstdc++... " >&6; } 5532if ${ac_cv_lib_stdcpp___cxa_demangle+:} false; then : 5533 $as_echo_n "(cached) " >&6 5534else 5535 ac_check_lib_save_LIBS=$LIBS 5536LIBS="-lstdc++ $LIBS" 5537cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5538/* end confdefs.h. */ 5539 5540/* Override any GCC internal prototype to avoid an error. 5541 Use char because int might match the return type of a GCC 5542 builtin and then its argument prototype would still apply. */ 5543#ifdef __cplusplus 5544extern "C" 5545#endif 5546char __cxa_demangle (); 5547int 5548main () 5549{ 5550return __cxa_demangle (); 5551 ; 5552 return 0; 5553} 5554_ACEOF 5555if ac_fn_c_try_link "$LINENO"; then : 5556 ac_cv_lib_stdcpp___cxa_demangle=yes 5557else 5558 ac_cv_lib_stdcpp___cxa_demangle=no 5559fi 5560rm -f core conftest.err conftest.$ac_objext \ 5561 conftest$ac_exeext conftest.$ac_ext 5562LIBS=$ac_check_lib_save_LIBS 5563fi 5564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp___cxa_demangle" >&5 5565$as_echo "$ac_cv_lib_stdcpp___cxa_demangle" >&6; } 5566if test "x$ac_cv_lib_stdcpp___cxa_demangle" = xyes; then : 5567 5568$as_echo "#define USE_DEMANGLE 1" >>confdefs.h 5569 5570fi 5571 5572 if test "$ac_cv_lib_stdcpp___cxa_demangle" = yes; then 5573 DEMANGLE_TRUE= 5574 DEMANGLE_FALSE='#' 5575else 5576 DEMANGLE_TRUE='#' 5577 DEMANGLE_FALSE= 5578fi 5579 5580 5581# Check whether --enable-textrelcheck was given. 5582if test "${enable_textrelcheck+set}" = set; then : 5583 enableval=$enable_textrelcheck; 5584fi 5585 5586 if test "x$enable_textrelcheck" != "xno"; then 5587 FATAL_TEXTREL_TRUE= 5588 FATAL_TEXTREL_FALSE='#' 5589else 5590 FATAL_TEXTREL_TRUE='#' 5591 FATAL_TEXTREL_FALSE= 5592fi 5593 5594 5595 5596 5597ac_config_files="$ac_config_files lib/Makefile" 5598 5599 5600ac_config_files="$ac_config_files libelf/Makefile" 5601 5602 5603ac_config_files="$ac_config_files libebl/Makefile" 5604 5605 5606ac_config_files="$ac_config_files libdwelf/Makefile" 5607 5608 5609ac_config_files="$ac_config_files libdw/Makefile" 5610 5611 5612ac_config_files="$ac_config_files libdwfl/Makefile" 5613 5614 5615ac_config_files="$ac_config_files libcpu/Makefile" 5616 5617 5618 if true; then 5619 HAVE_LIBASM_TRUE= 5620 HAVE_LIBASM_FALSE='#' 5621else 5622 HAVE_LIBASM_TRUE='#' 5623 HAVE_LIBASM_FALSE= 5624fi 5625ac_config_files="$ac_config_files libasm/Makefile" 5626 5627 5628ac_config_files="$ac_config_files backends/Makefile" 5629 5630 5631ac_config_files="$ac_config_files src/Makefile po/Makefile.in" 5632 5633 5634 if false; then 5635 STANDALONE_TRUE= 5636 STANDALONE_FALSE='#' 5637else 5638 STANDALONE_TRUE='#' 5639 STANDALONE_FALSE= 5640fi 5641ac_config_files="$ac_config_files tests/Makefile" 5642 5643 5644# Get the definitions necessary to create the Makefiles in the po 5645# subdirectories. This is a small subset of the gettext rules. 5646USE_NLS=yes 5647 5648 5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5650$as_echo_n "checking whether NLS is requested... " >&6; } 5651 # Check whether --enable-nls was given. 5652if test "${enable_nls+set}" = set; then : 5653 enableval=$enable_nls; USE_NLS=$enableval 5654else 5655 USE_NLS=yes 5656fi 5657 5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 5659$as_echo "$USE_NLS" >&6; } 5660 5661 5662 5663 5664 GETTEXT_MACRO_VERSION=0.18 5665 5666 5667 5668 5669# Prepare PATH_SEPARATOR. 5670# The user is always right. 5671if test "${PATH_SEPARATOR+set}" != set; then 5672 echo "#! /bin/sh" >conf$$.sh 5673 echo "exit 0" >>conf$$.sh 5674 chmod +x conf$$.sh 5675 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5676 PATH_SEPARATOR=';' 5677 else 5678 PATH_SEPARATOR=: 5679 fi 5680 rm -f conf$$.sh 5681fi 5682 5683# Find out how to test for executable files. Don't use a zero-byte file, 5684# as systems may use methods other than mode bits to determine executability. 5685cat >conf$$.file <<_ASEOF 5686#! /bin/sh 5687exit 0 5688_ASEOF 5689chmod +x conf$$.file 5690if test -x conf$$.file >/dev/null 2>&1; then 5691 ac_executable_p="test -x" 5692else 5693 ac_executable_p="test -f" 5694fi 5695rm -f conf$$.file 5696 5697# Extract the first word of "msgfmt", so it can be a program name with args. 5698set dummy msgfmt; ac_word=$2 5699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5700$as_echo_n "checking for $ac_word... " >&6; } 5701if ${ac_cv_path_MSGFMT+:} false; then : 5702 $as_echo_n "(cached) " >&6 5703else 5704 case "$MSGFMT" in 5705 [\\/]* | ?:[\\/]*) 5706 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5707 ;; 5708 *) 5709 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5710 for ac_dir in $PATH; do 5711 IFS="$ac_save_IFS" 5712 test -z "$ac_dir" && ac_dir=. 5713 for ac_exec_ext in '' $ac_executable_extensions; do 5714 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5715 echo "$as_me: trying $ac_dir/$ac_word..." >&5 5716 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 5717 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 5718 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 5719 break 2 5720 fi 5721 fi 5722 done 5723 done 5724 IFS="$ac_save_IFS" 5725 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 5726 ;; 5727esac 5728fi 5729MSGFMT="$ac_cv_path_MSGFMT" 5730if test "$MSGFMT" != ":"; then 5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 5732$as_echo "$MSGFMT" >&6; } 5733else 5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5735$as_echo "no" >&6; } 5736fi 5737 5738 # Extract the first word of "gmsgfmt", so it can be a program name with args. 5739set dummy gmsgfmt; ac_word=$2 5740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5741$as_echo_n "checking for $ac_word... " >&6; } 5742if ${ac_cv_path_GMSGFMT+:} false; then : 5743 $as_echo_n "(cached) " >&6 5744else 5745 case $GMSGFMT in 5746 [\\/]* | ?:[\\/]*) 5747 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5748 ;; 5749 *) 5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5751for as_dir in $PATH 5752do 5753 IFS=$as_save_IFS 5754 test -z "$as_dir" && as_dir=. 5755 for ac_exec_ext in '' $ac_executable_extensions; do 5756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5757 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5759 break 2 5760 fi 5761done 5762 done 5763IFS=$as_save_IFS 5764 5765 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5766 ;; 5767esac 5768fi 5769GMSGFMT=$ac_cv_path_GMSGFMT 5770if test -n "$GMSGFMT"; then 5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 5772$as_echo "$GMSGFMT" >&6; } 5773else 5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5775$as_echo "no" >&6; } 5776fi 5777 5778 5779 5780 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5781 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 5782 *) MSGFMT_015=$MSGFMT ;; 5783 esac 5784 5785 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5786 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 5787 *) GMSGFMT_015=$GMSGFMT ;; 5788 esac 5789 5790 5791 5792# Prepare PATH_SEPARATOR. 5793# The user is always right. 5794if test "${PATH_SEPARATOR+set}" != set; then 5795 echo "#! /bin/sh" >conf$$.sh 5796 echo "exit 0" >>conf$$.sh 5797 chmod +x conf$$.sh 5798 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5799 PATH_SEPARATOR=';' 5800 else 5801 PATH_SEPARATOR=: 5802 fi 5803 rm -f conf$$.sh 5804fi 5805 5806# Find out how to test for executable files. Don't use a zero-byte file, 5807# as systems may use methods other than mode bits to determine executability. 5808cat >conf$$.file <<_ASEOF 5809#! /bin/sh 5810exit 0 5811_ASEOF 5812chmod +x conf$$.file 5813if test -x conf$$.file >/dev/null 2>&1; then 5814 ac_executable_p="test -x" 5815else 5816 ac_executable_p="test -f" 5817fi 5818rm -f conf$$.file 5819 5820# Extract the first word of "xgettext", so it can be a program name with args. 5821set dummy xgettext; ac_word=$2 5822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5823$as_echo_n "checking for $ac_word... " >&6; } 5824if ${ac_cv_path_XGETTEXT+:} false; then : 5825 $as_echo_n "(cached) " >&6 5826else 5827 case "$XGETTEXT" in 5828 [\\/]* | ?:[\\/]*) 5829 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5830 ;; 5831 *) 5832 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5833 for ac_dir in $PATH; do 5834 IFS="$ac_save_IFS" 5835 test -z "$ac_dir" && ac_dir=. 5836 for ac_exec_ext in '' $ac_executable_extensions; do 5837 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5838 echo "$as_me: trying $ac_dir/$ac_word..." >&5 5839 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 5840 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 5841 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 5842 break 2 5843 fi 5844 fi 5845 done 5846 done 5847 IFS="$ac_save_IFS" 5848 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 5849 ;; 5850esac 5851fi 5852XGETTEXT="$ac_cv_path_XGETTEXT" 5853if test "$XGETTEXT" != ":"; then 5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 5855$as_echo "$XGETTEXT" >&6; } 5856else 5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5858$as_echo "no" >&6; } 5859fi 5860 5861 rm -f messages.po 5862 5863 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5864 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 5865 *) XGETTEXT_015=$XGETTEXT ;; 5866 esac 5867 5868 5869 5870# Prepare PATH_SEPARATOR. 5871# The user is always right. 5872if test "${PATH_SEPARATOR+set}" != set; then 5873 echo "#! /bin/sh" >conf$$.sh 5874 echo "exit 0" >>conf$$.sh 5875 chmod +x conf$$.sh 5876 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5877 PATH_SEPARATOR=';' 5878 else 5879 PATH_SEPARATOR=: 5880 fi 5881 rm -f conf$$.sh 5882fi 5883 5884# Find out how to test for executable files. Don't use a zero-byte file, 5885# as systems may use methods other than mode bits to determine executability. 5886cat >conf$$.file <<_ASEOF 5887#! /bin/sh 5888exit 0 5889_ASEOF 5890chmod +x conf$$.file 5891if test -x conf$$.file >/dev/null 2>&1; then 5892 ac_executable_p="test -x" 5893else 5894 ac_executable_p="test -f" 5895fi 5896rm -f conf$$.file 5897 5898# Extract the first word of "msgmerge", so it can be a program name with args. 5899set dummy msgmerge; ac_word=$2 5900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5901$as_echo_n "checking for $ac_word... " >&6; } 5902if ${ac_cv_path_MSGMERGE+:} false; then : 5903 $as_echo_n "(cached) " >&6 5904else 5905 case "$MSGMERGE" in 5906 [\\/]* | ?:[\\/]*) 5907 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 5908 ;; 5909 *) 5910 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5911 for ac_dir in $PATH; do 5912 IFS="$ac_save_IFS" 5913 test -z "$ac_dir" && ac_dir=. 5914 for ac_exec_ext in '' $ac_executable_extensions; do 5915 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5916 echo "$as_me: trying $ac_dir/$ac_word..." >&5 5917 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 5918 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 5919 break 2 5920 fi 5921 fi 5922 done 5923 done 5924 IFS="$ac_save_IFS" 5925 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 5926 ;; 5927esac 5928fi 5929MSGMERGE="$ac_cv_path_MSGMERGE" 5930if test "$MSGMERGE" != ":"; then 5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 5932$as_echo "$MSGMERGE" >&6; } 5933else 5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5935$as_echo "no" >&6; } 5936fi 5937 5938 5939 test -n "$localedir" || localedir='${datadir}/locale' 5940 5941 5942 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 5943 5944 5945 ac_config_commands="$ac_config_commands po-directories" 5946 5947 5948 5949 5950 5951ac_config_files="$ac_config_files version.h:config/version.h.in" 5952 5953 5954 5955# 1.234<whatever> -> 1234<whatever> 5956case "$PACKAGE_VERSION" in 5957[0-9].*) eu_version=`echo "$PACKAGE_VERSION" | sed 's@\.@@'` ;; 5958*) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;; 5959esac 5960case "$eu_version" in 5961*.*) 5962 # 1234.567 -> "1234", "567" 5963 eu_extra_version="${eu_version#*.}" 5964 eu_version="${eu_version%%.*}" 5965 case "$eu_extra_version" in 5966 [0-9][0-9][0-9]) ;; 5967 [0-9][0-9]) eu_extra_version="${eu_extra_version}0" ;; 5968 [0-9]) eu_extra_version="${eu_extra_version}00" ;; 5969 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;; 5970 esac 5971 ;; 5972*) 5973 eu_extra_version=000 5974 ;; 5975esac 5976 5977case "$eu_version" in 5978 0[0-9][0-9][0-9]) eu_version="${eu_version#0}$eu_extra_version" ;; 5979[0-9][0-9][0-9][0-9]) eu_version="${eu_version}$eu_extra_version" ;; 5980[0-9][0-9][0-9]) eu_version="${eu_version}0$eu_extra_version" ;; 5981[0-9][0-9]) eu_version="${eu_version}00$eu_extra_version";; 5982*) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;; 5983esac 5984 5985# Round up to the next release API (x.y) version. 5986eu_version=$(( (eu_version + 999) / 1000 )) 5987 5988ac_ext=c 5989ac_cpp='$CPP $CPPFLAGS' 5990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5992ac_compiler_gnu=$ac_cv_c_compiler_gnu 5993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5994$as_echo_n "checking how to run the C preprocessor... " >&6; } 5995# On Suns, sometimes $CPP names a directory. 5996if test -n "$CPP" && test -d "$CPP"; then 5997 CPP= 5998fi 5999if test -z "$CPP"; then 6000 if ${ac_cv_prog_CPP+:} false; then : 6001 $as_echo_n "(cached) " >&6 6002else 6003 # Double quotes because CPP needs to be expanded 6004 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6005 do 6006 ac_preproc_ok=false 6007for ac_c_preproc_warn_flag in '' yes 6008do 6009 # Use a header file that comes with gcc, so configuring glibc 6010 # with a fresh cross-compiler works. 6011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6012 # <limits.h> exists even on freestanding compilers. 6013 # On the NeXT, cc -E runs the code through the compiler's parser, 6014 # not just through cpp. "Syntax error" is here to catch this case. 6015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6016/* end confdefs.h. */ 6017#ifdef __STDC__ 6018# include <limits.h> 6019#else 6020# include <assert.h> 6021#endif 6022 Syntax error 6023_ACEOF 6024if ac_fn_c_try_cpp "$LINENO"; then : 6025 6026else 6027 # Broken: fails on valid input. 6028continue 6029fi 6030rm -f conftest.err conftest.i conftest.$ac_ext 6031 6032 # OK, works on sane cases. Now check whether nonexistent headers 6033 # can be detected and how. 6034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6035/* end confdefs.h. */ 6036#include <ac_nonexistent.h> 6037_ACEOF 6038if ac_fn_c_try_cpp "$LINENO"; then : 6039 # Broken: success on invalid input. 6040continue 6041else 6042 # Passes both tests. 6043ac_preproc_ok=: 6044break 6045fi 6046rm -f conftest.err conftest.i conftest.$ac_ext 6047 6048done 6049# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6050rm -f conftest.i conftest.err conftest.$ac_ext 6051if $ac_preproc_ok; then : 6052 break 6053fi 6054 6055 done 6056 ac_cv_prog_CPP=$CPP 6057 6058fi 6059 CPP=$ac_cv_prog_CPP 6060else 6061 ac_cv_prog_CPP=$CPP 6062fi 6063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 6064$as_echo "$CPP" >&6; } 6065ac_preproc_ok=false 6066for ac_c_preproc_warn_flag in '' yes 6067do 6068 # Use a header file that comes with gcc, so configuring glibc 6069 # with a fresh cross-compiler works. 6070 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6071 # <limits.h> exists even on freestanding compilers. 6072 # On the NeXT, cc -E runs the code through the compiler's parser, 6073 # not just through cpp. "Syntax error" is here to catch this case. 6074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6075/* end confdefs.h. */ 6076#ifdef __STDC__ 6077# include <limits.h> 6078#else 6079# include <assert.h> 6080#endif 6081 Syntax error 6082_ACEOF 6083if ac_fn_c_try_cpp "$LINENO"; then : 6084 6085else 6086 # Broken: fails on valid input. 6087continue 6088fi 6089rm -f conftest.err conftest.i conftest.$ac_ext 6090 6091 # OK, works on sane cases. Now check whether nonexistent headers 6092 # can be detected and how. 6093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6094/* end confdefs.h. */ 6095#include <ac_nonexistent.h> 6096_ACEOF 6097if ac_fn_c_try_cpp "$LINENO"; then : 6098 # Broken: success on invalid input. 6099continue 6100else 6101 # Passes both tests. 6102ac_preproc_ok=: 6103break 6104fi 6105rm -f conftest.err conftest.i conftest.$ac_ext 6106 6107done 6108# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6109rm -f conftest.i conftest.err conftest.$ac_ext 6110if $ac_preproc_ok; then : 6111 6112else 6113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6114$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6115as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6116See \`config.log' for more details" "$LINENO" 5; } 6117fi 6118 6119ac_ext=c 6120ac_cpp='$CPP $CPPFLAGS' 6121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6123ac_compiler_gnu=$ac_cv_c_compiler_gnu 6124 6125 6126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 6127$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 6128if ${ac_cv_path_GREP+:} false; then : 6129 $as_echo_n "(cached) " >&6 6130else 6131 if test -z "$GREP"; then 6132 ac_path_GREP_found=false 6133 # Loop through the user's path and test for each of PROGNAME-LIST 6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6135for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6136do 6137 IFS=$as_save_IFS 6138 test -z "$as_dir" && as_dir=. 6139 for ac_prog in grep ggrep; do 6140 for ac_exec_ext in '' $ac_executable_extensions; do 6141 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6142 as_fn_executable_p "$ac_path_GREP" || continue 6143# Check for GNU ac_path_GREP and select it if it is found. 6144 # Check for GNU $ac_path_GREP 6145case `"$ac_path_GREP" --version 2>&1` in 6146*GNU*) 6147 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6148*) 6149 ac_count=0 6150 $as_echo_n 0123456789 >"conftest.in" 6151 while : 6152 do 6153 cat "conftest.in" "conftest.in" >"conftest.tmp" 6154 mv "conftest.tmp" "conftest.in" 6155 cp "conftest.in" "conftest.nl" 6156 $as_echo 'GREP' >> "conftest.nl" 6157 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6158 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6159 as_fn_arith $ac_count + 1 && ac_count=$as_val 6160 if test $ac_count -gt ${ac_path_GREP_max-0}; then 6161 # Best one so far, save it but keep looking for a better one 6162 ac_cv_path_GREP="$ac_path_GREP" 6163 ac_path_GREP_max=$ac_count 6164 fi 6165 # 10*(2^10) chars as input seems more than enough 6166 test $ac_count -gt 10 && break 6167 done 6168 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6169esac 6170 6171 $ac_path_GREP_found && break 3 6172 done 6173 done 6174 done 6175IFS=$as_save_IFS 6176 if test -z "$ac_cv_path_GREP"; then 6177 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6178 fi 6179else 6180 ac_cv_path_GREP=$GREP 6181fi 6182 6183fi 6184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 6185$as_echo "$ac_cv_path_GREP" >&6; } 6186 GREP="$ac_cv_path_GREP" 6187 6188 6189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6190$as_echo_n "checking for egrep... " >&6; } 6191if ${ac_cv_path_EGREP+:} false; then : 6192 $as_echo_n "(cached) " >&6 6193else 6194 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6195 then ac_cv_path_EGREP="$GREP -E" 6196 else 6197 if test -z "$EGREP"; then 6198 ac_path_EGREP_found=false 6199 # Loop through the user's path and test for each of PROGNAME-LIST 6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6201for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6202do 6203 IFS=$as_save_IFS 6204 test -z "$as_dir" && as_dir=. 6205 for ac_prog in egrep; do 6206 for ac_exec_ext in '' $ac_executable_extensions; do 6207 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6208 as_fn_executable_p "$ac_path_EGREP" || continue 6209# Check for GNU ac_path_EGREP and select it if it is found. 6210 # Check for GNU $ac_path_EGREP 6211case `"$ac_path_EGREP" --version 2>&1` in 6212*GNU*) 6213 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6214*) 6215 ac_count=0 6216 $as_echo_n 0123456789 >"conftest.in" 6217 while : 6218 do 6219 cat "conftest.in" "conftest.in" >"conftest.tmp" 6220 mv "conftest.tmp" "conftest.in" 6221 cp "conftest.in" "conftest.nl" 6222 $as_echo 'EGREP' >> "conftest.nl" 6223 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6224 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6225 as_fn_arith $ac_count + 1 && ac_count=$as_val 6226 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 6227 # Best one so far, save it but keep looking for a better one 6228 ac_cv_path_EGREP="$ac_path_EGREP" 6229 ac_path_EGREP_max=$ac_count 6230 fi 6231 # 10*(2^10) chars as input seems more than enough 6232 test $ac_count -gt 10 && break 6233 done 6234 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6235esac 6236 6237 $ac_path_EGREP_found && break 3 6238 done 6239 done 6240 done 6241IFS=$as_save_IFS 6242 if test -z "$ac_cv_path_EGREP"; then 6243 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6244 fi 6245else 6246 ac_cv_path_EGREP=$EGREP 6247fi 6248 6249 fi 6250fi 6251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 6252$as_echo "$ac_cv_path_EGREP" >&6; } 6253 EGREP="$ac_cv_path_EGREP" 6254 6255 6256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6257$as_echo_n "checking for ANSI C header files... " >&6; } 6258if ${ac_cv_header_stdc+:} false; then : 6259 $as_echo_n "(cached) " >&6 6260else 6261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6262/* end confdefs.h. */ 6263#include <stdlib.h> 6264#include <stdarg.h> 6265#include <string.h> 6266#include <float.h> 6267 6268int 6269main () 6270{ 6271 6272 ; 6273 return 0; 6274} 6275_ACEOF 6276if ac_fn_c_try_compile "$LINENO"; then : 6277 ac_cv_header_stdc=yes 6278else 6279 ac_cv_header_stdc=no 6280fi 6281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6282 6283if test $ac_cv_header_stdc = yes; then 6284 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6286/* end confdefs.h. */ 6287#include <string.h> 6288 6289_ACEOF 6290if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6291 $EGREP "memchr" >/dev/null 2>&1; then : 6292 6293else 6294 ac_cv_header_stdc=no 6295fi 6296rm -f conftest* 6297 6298fi 6299 6300if test $ac_cv_header_stdc = yes; then 6301 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6303/* end confdefs.h. */ 6304#include <stdlib.h> 6305 6306_ACEOF 6307if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6308 $EGREP "free" >/dev/null 2>&1; then : 6309 6310else 6311 ac_cv_header_stdc=no 6312fi 6313rm -f conftest* 6314 6315fi 6316 6317if test $ac_cv_header_stdc = yes; then 6318 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6319 if test "$cross_compiling" = yes; then : 6320 : 6321else 6322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6323/* end confdefs.h. */ 6324#include <ctype.h> 6325#include <stdlib.h> 6326#if ((' ' & 0x0FF) == 0x020) 6327# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6328# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6329#else 6330# define ISLOWER(c) \ 6331 (('a' <= (c) && (c) <= 'i') \ 6332 || ('j' <= (c) && (c) <= 'r') \ 6333 || ('s' <= (c) && (c) <= 'z')) 6334# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6335#endif 6336 6337#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6338int 6339main () 6340{ 6341 int i; 6342 for (i = 0; i < 256; i++) 6343 if (XOR (islower (i), ISLOWER (i)) 6344 || toupper (i) != TOUPPER (i)) 6345 return 2; 6346 return 0; 6347} 6348_ACEOF 6349if ac_fn_c_try_run "$LINENO"; then : 6350 6351else 6352 ac_cv_header_stdc=no 6353fi 6354rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6355 conftest.$ac_objext conftest.beam conftest.$ac_ext 6356fi 6357 6358fi 6359fi 6360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6361$as_echo "$ac_cv_header_stdc" >&6; } 6362if test $ac_cv_header_stdc = yes; then 6363 6364$as_echo "#define STDC_HEADERS 1" >>confdefs.h 6365 6366fi 6367 6368# On IRIX 5.3, sys/types and inttypes.h are conflicting. 6369for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6370 inttypes.h stdint.h unistd.h 6371do : 6372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6373ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 6374" 6375if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6376 cat >>confdefs.h <<_ACEOF 6377#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6378_ACEOF 6379 6380fi 6381 6382done 6383 6384 6385# The cast to long int works around a bug in the HP C Compiler 6386# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6387# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6388# This bug is HP SR number 8606223364. 6389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 6390$as_echo_n "checking size of long... " >&6; } 6391if ${ac_cv_sizeof_long+:} false; then : 6392 $as_echo_n "(cached) " >&6 6393else 6394 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 6395 6396else 6397 if test "$ac_cv_type_long" = yes; then 6398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6399$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6400as_fn_error 77 "cannot compute sizeof (long) 6401See \`config.log' for more details" "$LINENO" 5; } 6402 else 6403 ac_cv_sizeof_long=0 6404 fi 6405fi 6406 6407fi 6408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 6409$as_echo "$ac_cv_sizeof_long" >&6; } 6410 6411 6412 6413cat >>confdefs.h <<_ACEOF 6414#define SIZEOF_LONG $ac_cv_sizeof_long 6415_ACEOF 6416 6417 6418 6419# On aarch64 before glibc 2.20 we would get the kernel user_pt_regs instead 6420# of the user_regs_struct from sys/user.h. They are structurally the same 6421# but we get either one or the other. 6422ac_fn_c_check_type "$LINENO" "struct user_regs_struct" "ac_cv_type_struct_user_regs_struct" "#include <sys/ptrace.h> 6423 #include <sys/time.h> 6424 #include <sys/user.h> 6425" 6426if test "x$ac_cv_type_struct_user_regs_struct" = xyes; then : 6427 sys_user_has_user_regs=yes 6428else 6429 sys_user_has_user_regs=no 6430fi 6431 6432if test "$sys_user_has_user_regs" = "yes"; then 6433 6434$as_echo "#define HAVE_SYS_USER_REGS 1" >>confdefs.h 6435 6436fi 6437 6438# On a 64-bit host where can can use $CC -m32, we'll run two sets of tests. 6439# Likewise in a 32-bit build on a host where $CC -m64 works. 6440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $CC option for 32-bit word size" >&5 6441$as_echo_n "checking $CC option for 32-bit word size... " >&6; } 6442if ${utrace_cv_CC_m32+:} false; then : 6443 $as_echo_n "(cached) " >&6 6444else 6445 save_CC="$CC" 6446utrace_cv_CC_m32=none 6447for ut_try in -m32 -m31; do 6448 CC=`echo "$save_CC" | sed 's/ -m[36][241]//'`" $ut_try" 6449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6450/* end confdefs.h. */ 6451int foo (void) { return 1; } 6452_ACEOF 6453if ac_fn_c_try_compile "$LINENO"; then : 6454 utrace_cv_CC_m32=$ut_try 6455fi 6456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6457 test x$utrace_cv_CC_m32 = xnone || break 6458done 6459CC="$save_CC" 6460fi 6461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $utrace_cv_CC_m32" >&5 6462$as_echo "$utrace_cv_CC_m32" >&6; } 6463 6464if test x$utrace_cv_CC_m32 != xnone; then : 6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 6466$as_echo_n "checking for 64-bit host... " >&6; } 6467if ${utrace_cv_host64+:} false; then : 6468 $as_echo_n "(cached) " >&6 6469else 6470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6471/* end confdefs.h. */ 6472#include <stdint.h> 6473#if (UINTPTR_MAX > 0xffffffffUL) 6474@utrace_host64@ 6475#endif 6476_ACEOF 6477if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6478 $EGREP "@utrace_host64@" >/dev/null 2>&1; then : 6479 utrace_cv_host64=yes 6480else 6481 utrace_cv_host64=no 6482fi 6483rm -f conftest* 6484 6485fi 6486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $utrace_cv_host64" >&5 6487$as_echo "$utrace_cv_host64" >&6; } 6488if test $utrace_cv_host64 = no; then : 6489 utrace_biarch=-m64 utrace_thisarch=$utrace_cv_CC_m32 6490else 6491 utrace_biarch=$utrace_cv_CC_m32 utrace_thisarch=-m64 6492fi 6493 6494biarch_CC=`echo "$CC" | sed "s/ *${utrace_thisarch}//"` 6495biarch_CC="$biarch_CC $utrace_biarch" 6496fi 6497 6498utrace_biarch_forced=no 6499 6500# Check whether --with-biarch was given. 6501if test "${with_biarch+set}" = set; then : 6502 withval=$with_biarch; if test "x$with_biarch" != xno; then : 6503 utrace_biarch_forced=yes 6504fi 6505fi 6506 6507if test $utrace_biarch_forced = yes; then : 6508 utrace_cv_cc_biarch=yes 6509{ $as_echo "$as_me:${as_lineno-$LINENO}: enabling biarch tests regardless using $biarch_CC" >&5 6510$as_echo "$as_me: enabling biarch tests regardless using $biarch_CC" >&6;} 6511else 6512 if test x$utrace_cv_CC_m32 != xnone; then : 6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $biarch_CC makes executables we can run" >&5 6514$as_echo_n "checking whether $biarch_CC makes executables we can run... " >&6; } 6515if ${utrace_cv_cc_biarch+:} false; then : 6516 $as_echo_n "(cached) " >&6 6517else 6518 save_CC="$CC" 6519CC="$biarch_CC" 6520if test "$cross_compiling" = yes; then : 6521 utrace_cv_cc_biarch=no 6522else 6523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6524/* end confdefs.h. */ 6525 6526int 6527main () 6528{ 6529 6530 ; 6531 return 0; 6532} 6533_ACEOF 6534if ac_fn_c_try_run "$LINENO"; then : 6535 utrace_cv_cc_biarch=yes 6536else 6537 utrace_cv_cc_biarch=no 6538fi 6539rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6540 conftest.$ac_objext conftest.beam conftest.$ac_ext 6541fi 6542 6543CC="$save_CC" 6544fi 6545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $utrace_cv_cc_biarch" >&5 6546$as_echo "$utrace_cv_cc_biarch" >&6; } 6547else 6548 utrace_cv_cc_biarch=no 6549fi 6550if test $utrace_cv_cc_biarch != yes; then : 6551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: not running biarch tests, $biarch_CC does not work" >&5 6552$as_echo "$as_me: WARNING: not running biarch tests, $biarch_CC does not work" >&2;} 6553fi 6554fi 6555 if test $utrace_cv_cc_biarch = yes; then 6556 BIARCH_TRUE= 6557 BIARCH_FALSE='#' 6558else 6559 BIARCH_TRUE='#' 6560 BIARCH_FALSE= 6561fi 6562 6563# `$utrace_biarch' will be `-m64' even on an uniarch i386 machine. 6564CC_BIARCH="$CC $utrace_biarch" 6565 6566 6567cat >confcache <<\_ACEOF 6568# This file is a shell script that caches the results of configure 6569# tests run on this system so they can be shared between configure 6570# scripts and configure runs, see configure's option --config-cache. 6571# It is not useful on other systems. If it contains results you don't 6572# want to keep, you may remove or edit it. 6573# 6574# config.status only pays attention to the cache file if you give it 6575# the --recheck option to rerun configure. 6576# 6577# `ac_cv_env_foo' variables (set or unset) will be overridden when 6578# loading this file, other *unset* `ac_cv_foo' will be assigned the 6579# following values. 6580 6581_ACEOF 6582 6583# The following way of writing the cache mishandles newlines in values, 6584# but we know of no workaround that is simple, portable, and efficient. 6585# So, we kill variables containing newlines. 6586# Ultrix sh set writes to stderr and can't be redirected directly, 6587# and sets the high bit in the cache file unless we assign to the vars. 6588( 6589 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6590 eval ac_val=\$$ac_var 6591 case $ac_val in #( 6592 *${as_nl}*) 6593 case $ac_var in #( 6594 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6595$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6596 esac 6597 case $ac_var in #( 6598 _ | IFS | as_nl) ;; #( 6599 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6600 *) { eval $ac_var=; unset $ac_var;} ;; 6601 esac ;; 6602 esac 6603 done 6604 6605 (set) 2>&1 | 6606 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6607 *${as_nl}ac_space=\ *) 6608 # `set' does not quote correctly, so add quotes: double-quote 6609 # substitution turns \\\\ into \\, and sed turns \\ into \. 6610 sed -n \ 6611 "s/'/'\\\\''/g; 6612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6613 ;; #( 6614 *) 6615 # `set' quotes correctly as required by POSIX, so do not add quotes. 6616 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6617 ;; 6618 esac | 6619 sort 6620) | 6621 sed ' 6622 /^ac_cv_env_/b end 6623 t clear 6624 :clear 6625 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6626 t end 6627 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6628 :end' >>confcache 6629if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6630 if test -w "$cache_file"; then 6631 if test "x$cache_file" != "x/dev/null"; then 6632 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6633$as_echo "$as_me: updating cache $cache_file" >&6;} 6634 if test ! -f "$cache_file" || test -h "$cache_file"; then 6635 cat confcache >"$cache_file" 6636 else 6637 case $cache_file in #( 6638 */* | ?:*) 6639 mv -f confcache "$cache_file"$$ && 6640 mv -f "$cache_file"$$ "$cache_file" ;; #( 6641 *) 6642 mv -f confcache "$cache_file" ;; 6643 esac 6644 fi 6645 fi 6646 else 6647 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6648$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6649 fi 6650fi 6651rm -f confcache 6652 6653test "x$prefix" = xNONE && prefix=$ac_default_prefix 6654# Let make expand exec_prefix. 6655test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6656 6657DEFS=-DHAVE_CONFIG_H 6658 6659ac_libobjs= 6660ac_ltlibobjs= 6661U= 6662for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6663 # 1. Remove the extension, and $U if already installed. 6664 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6665 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6666 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6667 # will be set to the directory where LIBOBJS objects are built. 6668 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6669 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 6670done 6671LIBOBJS=$ac_libobjs 6672 6673LTLIBOBJS=$ac_ltlibobjs 6674 6675 6676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 6677$as_echo_n "checking that generated files are newer than configure... " >&6; } 6678 if test -n "$am_sleep_pid"; then 6679 # Hide warnings about reused PIDs. 6680 wait $am_sleep_pid 2>/dev/null 6681 fi 6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 6683$as_echo "done" >&6; } 6684 if test -n "$EXEEXT"; then 6685 am__EXEEXT_TRUE= 6686 am__EXEEXT_FALSE='#' 6687else 6688 am__EXEEXT_TRUE='#' 6689 am__EXEEXT_FALSE= 6690fi 6691 6692if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 6693 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 6694Usually this means the macro was only invoked conditionally." "$LINENO" 5 6695fi 6696if test -z "${USE_LOCKS_TRUE}" && test -z "${USE_LOCKS_FALSE}"; then 6697 as_fn_error $? "conditional \"USE_LOCKS\" was never defined. 6698Usually this means the macro was only invoked conditionally." "$LINENO" 5 6699fi 6700if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 6701 as_fn_error $? "conditional \"AMDEP\" was never defined. 6702Usually this means the macro was only invoked conditionally." "$LINENO" 5 6703fi 6704if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6705 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 6706Usually this means the macro was only invoked conditionally." "$LINENO" 5 6707fi 6708if test -z "${NATIVE_LD_TRUE}" && test -z "${NATIVE_LD_FALSE}"; then 6709 as_fn_error $? "conditional \"NATIVE_LD\" was never defined. 6710Usually this means the macro was only invoked conditionally." "$LINENO" 5 6711fi 6712if test -z "${NEVER_TRUE}" && test -z "${NEVER_FALSE}"; then 6713 as_fn_error $? "conditional \"NEVER\" was never defined. 6714Usually this means the macro was only invoked conditionally." "$LINENO" 5 6715fi 6716if test -z "${GPROF_TRUE}" && test -z "${GPROF_FALSE}"; then 6717 as_fn_error $? "conditional \"GPROF\" was never defined. 6718Usually this means the macro was only invoked conditionally." "$LINENO" 5 6719fi 6720if test -z "${GCOV_TRUE}" && test -z "${GCOV_FALSE}"; then 6721 as_fn_error $? "conditional \"GCOV\" was never defined. 6722Usually this means the macro was only invoked conditionally." "$LINENO" 5 6723fi 6724if test -z "${USE_VALGRIND_TRUE}" && test -z "${USE_VALGRIND_FALSE}"; then 6725 as_fn_error $? "conditional \"USE_VALGRIND\" was never defined. 6726Usually this means the macro was only invoked conditionally." "$LINENO" 5 6727fi 6728if test -z "${BUILD_STATIC_TRUE}" && test -z "${BUILD_STATIC_FALSE}"; then 6729 as_fn_error $? "conditional \"BUILD_STATIC\" was never defined. 6730Usually this means the macro was only invoked conditionally." "$LINENO" 5 6731fi 6732if test -z "${TESTS_RPATH_TRUE}" && test -z "${TESTS_RPATH_FALSE}"; then 6733 as_fn_error $? "conditional \"TESTS_RPATH\" was never defined. 6734Usually this means the macro was only invoked conditionally." "$LINENO" 5 6735fi 6736if test -z "${ZLIB_TRUE}" && test -z "${ZLIB_FALSE}"; then 6737 as_fn_error $? "conditional \"ZLIB\" was never defined. 6738Usually this means the macro was only invoked conditionally." "$LINENO" 5 6739fi 6740if test -z "${BZLIB_TRUE}" && test -z "${BZLIB_FALSE}"; then 6741 as_fn_error $? "conditional \"BZLIB\" was never defined. 6742Usually this means the macro was only invoked conditionally." "$LINENO" 5 6743fi 6744if test -z "${LZMA_TRUE}" && test -z "${LZMA_FALSE}"; then 6745 as_fn_error $? "conditional \"LZMA\" was never defined. 6746Usually this means the macro was only invoked conditionally." "$LINENO" 5 6747fi 6748if test -z "${DEMANGLE_TRUE}" && test -z "${DEMANGLE_FALSE}"; then 6749 as_fn_error $? "conditional \"DEMANGLE\" was never defined. 6750Usually this means the macro was only invoked conditionally." "$LINENO" 5 6751fi 6752if test -z "${FATAL_TEXTREL_TRUE}" && test -z "${FATAL_TEXTREL_FALSE}"; then 6753 as_fn_error $? "conditional \"FATAL_TEXTREL\" was never defined. 6754Usually this means the macro was only invoked conditionally." "$LINENO" 5 6755fi 6756if test -z "${HAVE_LIBASM_TRUE}" && test -z "${HAVE_LIBASM_FALSE}"; then 6757 as_fn_error $? "conditional \"HAVE_LIBASM\" was never defined. 6758Usually this means the macro was only invoked conditionally." "$LINENO" 5 6759fi 6760if test -z "${STANDALONE_TRUE}" && test -z "${STANDALONE_FALSE}"; then 6761 as_fn_error $? "conditional \"STANDALONE\" was never defined. 6762Usually this means the macro was only invoked conditionally." "$LINENO" 5 6763fi 6764if test -z "${BIARCH_TRUE}" && test -z "${BIARCH_FALSE}"; then 6765 as_fn_error $? "conditional \"BIARCH\" was never defined. 6766Usually this means the macro was only invoked conditionally." "$LINENO" 5 6767fi 6768 6769: "${CONFIG_STATUS=./config.status}" 6770ac_write_fail=0 6771ac_clean_files_save=$ac_clean_files 6772ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6773{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6774$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6775as_write_fail=0 6776cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 6777#! $SHELL 6778# Generated by $as_me. 6779# Run this file to recreate the current configuration. 6780# Compiler output produced by configure, useful for debugging 6781# configure, is in config.log if it exists. 6782 6783debug=false 6784ac_cs_recheck=false 6785ac_cs_silent=false 6786 6787SHELL=\${CONFIG_SHELL-$SHELL} 6788export SHELL 6789_ASEOF 6790cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6791## -------------------- ## 6792## M4sh Initialization. ## 6793## -------------------- ## 6794 6795# Be more Bourne compatible 6796DUALCASE=1; export DUALCASE # for MKS sh 6797if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 6798 emulate sh 6799 NULLCMD=: 6800 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6801 # is contrary to our usage. Disable this feature. 6802 alias -g '${1+"$@"}'='"$@"' 6803 setopt NO_GLOB_SUBST 6804else 6805 case `(set -o) 2>/dev/null` in #( 6806 *posix*) : 6807 set -o posix ;; #( 6808 *) : 6809 ;; 6810esac 6811fi 6812 6813 6814as_nl=' 6815' 6816export as_nl 6817# Printing a long string crashes Solaris 7 /usr/bin/printf. 6818as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6819as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6820as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6821# Prefer a ksh shell builtin over an external printf program on Solaris, 6822# but without wasting forks for bash or zsh. 6823if test -z "$BASH_VERSION$ZSH_VERSION" \ 6824 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6825 as_echo='print -r --' 6826 as_echo_n='print -rn --' 6827elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6828 as_echo='printf %s\n' 6829 as_echo_n='printf %s' 6830else 6831 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6832 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6833 as_echo_n='/usr/ucb/echo -n' 6834 else 6835 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6836 as_echo_n_body='eval 6837 arg=$1; 6838 case $arg in #( 6839 *"$as_nl"*) 6840 expr "X$arg" : "X\\(.*\\)$as_nl"; 6841 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6842 esac; 6843 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6844 ' 6845 export as_echo_n_body 6846 as_echo_n='sh -c $as_echo_n_body as_echo' 6847 fi 6848 export as_echo_body 6849 as_echo='sh -c $as_echo_body as_echo' 6850fi 6851 6852# The user is always right. 6853if test "${PATH_SEPARATOR+set}" != set; then 6854 PATH_SEPARATOR=: 6855 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6856 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6857 PATH_SEPARATOR=';' 6858 } 6859fi 6860 6861 6862# IFS 6863# We need space, tab and new line, in precisely that order. Quoting is 6864# there to prevent editors from complaining about space-tab. 6865# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6866# splitting by setting IFS to empty value.) 6867IFS=" "" $as_nl" 6868 6869# Find who we are. Look in the path if we contain no directory separator. 6870as_myself= 6871case $0 in #(( 6872 *[\\/]* ) as_myself=$0 ;; 6873 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6874for as_dir in $PATH 6875do 6876 IFS=$as_save_IFS 6877 test -z "$as_dir" && as_dir=. 6878 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6879 done 6880IFS=$as_save_IFS 6881 6882 ;; 6883esac 6884# We did not find ourselves, most probably we were run as `sh COMMAND' 6885# in which case we are not to be found in the path. 6886if test "x$as_myself" = x; then 6887 as_myself=$0 6888fi 6889if test ! -f "$as_myself"; then 6890 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6891 exit 1 6892fi 6893 6894# Unset variables that we do not need and which cause bugs (e.g. in 6895# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6896# suppresses any "Segmentation fault" message there. '((' could 6897# trigger a bug in pdksh 5.2.14. 6898for as_var in BASH_ENV ENV MAIL MAILPATH 6899do eval test x\${$as_var+set} = xset \ 6900 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6901done 6902PS1='$ ' 6903PS2='> ' 6904PS4='+ ' 6905 6906# NLS nuisances. 6907LC_ALL=C 6908export LC_ALL 6909LANGUAGE=C 6910export LANGUAGE 6911 6912# CDPATH. 6913(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6914 6915 6916# as_fn_error STATUS ERROR [LINENO LOG_FD] 6917# ---------------------------------------- 6918# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6919# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6920# script with STATUS, using 1 if that was 0. 6921as_fn_error () 6922{ 6923 as_status=$1; test $as_status -eq 0 && as_status=1 6924 if test "$4"; then 6925 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6926 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6927 fi 6928 $as_echo "$as_me: error: $2" >&2 6929 as_fn_exit $as_status 6930} # as_fn_error 6931 6932 6933# as_fn_set_status STATUS 6934# ----------------------- 6935# Set $? to STATUS, without forking. 6936as_fn_set_status () 6937{ 6938 return $1 6939} # as_fn_set_status 6940 6941# as_fn_exit STATUS 6942# ----------------- 6943# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6944as_fn_exit () 6945{ 6946 set +e 6947 as_fn_set_status $1 6948 exit $1 6949} # as_fn_exit 6950 6951# as_fn_unset VAR 6952# --------------- 6953# Portably unset VAR. 6954as_fn_unset () 6955{ 6956 { eval $1=; unset $1;} 6957} 6958as_unset=as_fn_unset 6959# as_fn_append VAR VALUE 6960# ---------------------- 6961# Append the text in VALUE to the end of the definition contained in VAR. Take 6962# advantage of any shell optimizations that allow amortized linear growth over 6963# repeated appends, instead of the typical quadratic growth present in naive 6964# implementations. 6965if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6966 eval 'as_fn_append () 6967 { 6968 eval $1+=\$2 6969 }' 6970else 6971 as_fn_append () 6972 { 6973 eval $1=\$$1\$2 6974 } 6975fi # as_fn_append 6976 6977# as_fn_arith ARG... 6978# ------------------ 6979# Perform arithmetic evaluation on the ARGs, and store the result in the 6980# global $as_val. Take advantage of shells that can avoid forks. The arguments 6981# must be portable across $(()) and expr. 6982if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6983 eval 'as_fn_arith () 6984 { 6985 as_val=$(( $* )) 6986 }' 6987else 6988 as_fn_arith () 6989 { 6990 as_val=`expr "$@" || test $? -eq 1` 6991 } 6992fi # as_fn_arith 6993 6994 6995if expr a : '\(a\)' >/dev/null 2>&1 && 6996 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6997 as_expr=expr 6998else 6999 as_expr=false 7000fi 7001 7002if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7003 as_basename=basename 7004else 7005 as_basename=false 7006fi 7007 7008if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7009 as_dirname=dirname 7010else 7011 as_dirname=false 7012fi 7013 7014as_me=`$as_basename -- "$0" || 7015$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7016 X"$0" : 'X\(//\)$' \| \ 7017 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7018$as_echo X/"$0" | 7019 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7020 s//\1/ 7021 q 7022 } 7023 /^X\/\(\/\/\)$/{ 7024 s//\1/ 7025 q 7026 } 7027 /^X\/\(\/\).*/{ 7028 s//\1/ 7029 q 7030 } 7031 s/.*/./; q'` 7032 7033# Avoid depending upon Character Ranges. 7034as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7035as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7036as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7037as_cr_digits='0123456789' 7038as_cr_alnum=$as_cr_Letters$as_cr_digits 7039 7040ECHO_C= ECHO_N= ECHO_T= 7041case `echo -n x` in #((((( 7042-n*) 7043 case `echo 'xy\c'` in 7044 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7045 xy) ECHO_C='\c';; 7046 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7047 ECHO_T=' ';; 7048 esac;; 7049*) 7050 ECHO_N='-n';; 7051esac 7052 7053rm -f conf$$ conf$$.exe conf$$.file 7054if test -d conf$$.dir; then 7055 rm -f conf$$.dir/conf$$.file 7056else 7057 rm -f conf$$.dir 7058 mkdir conf$$.dir 2>/dev/null 7059fi 7060if (echo >conf$$.file) 2>/dev/null; then 7061 if ln -s conf$$.file conf$$ 2>/dev/null; then 7062 as_ln_s='ln -s' 7063 # ... but there are two gotchas: 7064 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7065 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7066 # In both cases, we have to default to `cp -pR'. 7067 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7068 as_ln_s='cp -pR' 7069 elif ln conf$$.file conf$$ 2>/dev/null; then 7070 as_ln_s=ln 7071 else 7072 as_ln_s='cp -pR' 7073 fi 7074else 7075 as_ln_s='cp -pR' 7076fi 7077rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7078rmdir conf$$.dir 2>/dev/null 7079 7080 7081# as_fn_mkdir_p 7082# ------------- 7083# Create "$as_dir" as a directory, including parents if necessary. 7084as_fn_mkdir_p () 7085{ 7086 7087 case $as_dir in #( 7088 -*) as_dir=./$as_dir;; 7089 esac 7090 test -d "$as_dir" || eval $as_mkdir_p || { 7091 as_dirs= 7092 while :; do 7093 case $as_dir in #( 7094 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7095 *) as_qdir=$as_dir;; 7096 esac 7097 as_dirs="'$as_qdir' $as_dirs" 7098 as_dir=`$as_dirname -- "$as_dir" || 7099$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7100 X"$as_dir" : 'X\(//\)[^/]' \| \ 7101 X"$as_dir" : 'X\(//\)$' \| \ 7102 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7103$as_echo X"$as_dir" | 7104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7105 s//\1/ 7106 q 7107 } 7108 /^X\(\/\/\)[^/].*/{ 7109 s//\1/ 7110 q 7111 } 7112 /^X\(\/\/\)$/{ 7113 s//\1/ 7114 q 7115 } 7116 /^X\(\/\).*/{ 7117 s//\1/ 7118 q 7119 } 7120 s/.*/./; q'` 7121 test -d "$as_dir" && break 7122 done 7123 test -z "$as_dirs" || eval "mkdir $as_dirs" 7124 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7125 7126 7127} # as_fn_mkdir_p 7128if mkdir -p . 2>/dev/null; then 7129 as_mkdir_p='mkdir -p "$as_dir"' 7130else 7131 test -d ./-p && rmdir ./-p 7132 as_mkdir_p=false 7133fi 7134 7135 7136# as_fn_executable_p FILE 7137# ----------------------- 7138# Test if FILE is an executable regular file. 7139as_fn_executable_p () 7140{ 7141 test -f "$1" && test -x "$1" 7142} # as_fn_executable_p 7143as_test_x='test -x' 7144as_executable_p=as_fn_executable_p 7145 7146# Sed expression to map a string onto a valid CPP name. 7147as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7148 7149# Sed expression to map a string onto a valid variable name. 7150as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7151 7152 7153exec 6>&1 7154## ----------------------------------- ## 7155## Main body of $CONFIG_STATUS script. ## 7156## ----------------------------------- ## 7157_ASEOF 7158test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7159 7160cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7161# Save the log message, to keep $0 and so on meaningful, and to 7162# report actual input values of CONFIG_FILES etc. instead of their 7163# values after options handling. 7164ac_log=" 7165This file was extended by elfutils $as_me 0.161, which was 7166generated by GNU Autoconf 2.69. Invocation command line was 7167 7168 CONFIG_FILES = $CONFIG_FILES 7169 CONFIG_HEADERS = $CONFIG_HEADERS 7170 CONFIG_LINKS = $CONFIG_LINKS 7171 CONFIG_COMMANDS = $CONFIG_COMMANDS 7172 $ $0 $@ 7173 7174on `(hostname || uname -n) 2>/dev/null | sed 1q` 7175" 7176 7177_ACEOF 7178 7179case $ac_config_files in *" 7180"*) set x $ac_config_files; shift; ac_config_files=$*;; 7181esac 7182 7183case $ac_config_headers in *" 7184"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7185esac 7186 7187 7188cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7189# Files that config.status was made for. 7190config_files="$ac_config_files" 7191config_headers="$ac_config_headers" 7192config_commands="$ac_config_commands" 7193 7194_ACEOF 7195 7196cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7197ac_cs_usage="\ 7198\`$as_me' instantiates files and other configuration actions 7199from templates according to the current configuration. Unless the files 7200and actions are specified as TAGs, all are instantiated by default. 7201 7202Usage: $0 [OPTION]... [TAG]... 7203 7204 -h, --help print this help, then exit 7205 -V, --version print version number and configuration settings, then exit 7206 --config print configuration, then exit 7207 -q, --quiet, --silent 7208 do not print progress messages 7209 -d, --debug don't remove temporary files 7210 --recheck update $as_me by reconfiguring in the same conditions 7211 --file=FILE[:TEMPLATE] 7212 instantiate the configuration file FILE 7213 --header=FILE[:TEMPLATE] 7214 instantiate the configuration header FILE 7215 7216Configuration files: 7217$config_files 7218 7219Configuration headers: 7220$config_headers 7221 7222Configuration commands: 7223$config_commands 7224 7225Report bugs to <https://bugzilla.redhat.com/>." 7226 7227_ACEOF 7228cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7229ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7230ac_cs_version="\\ 7231elfutils config.status 0.161 7232configured by $0, generated by GNU Autoconf 2.69, 7233 with options \\"\$ac_cs_config\\" 7234 7235Copyright (C) 2012 Free Software Foundation, Inc. 7236This config.status script is free software; the Free Software Foundation 7237gives unlimited permission to copy, distribute and modify it." 7238 7239ac_pwd='$ac_pwd' 7240srcdir='$srcdir' 7241INSTALL='$INSTALL' 7242MKDIR_P='$MKDIR_P' 7243AWK='$AWK' 7244test -n "\$AWK" || AWK=awk 7245_ACEOF 7246 7247cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7248# The default lists apply if the user does not specify any file. 7249ac_need_defaults=: 7250while test $# != 0 7251do 7252 case $1 in 7253 --*=?*) 7254 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7255 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7256 ac_shift=: 7257 ;; 7258 --*=) 7259 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7260 ac_optarg= 7261 ac_shift=: 7262 ;; 7263 *) 7264 ac_option=$1 7265 ac_optarg=$2 7266 ac_shift=shift 7267 ;; 7268 esac 7269 7270 case $ac_option in 7271 # Handling of the options. 7272 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7273 ac_cs_recheck=: ;; 7274 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7275 $as_echo "$ac_cs_version"; exit ;; 7276 --config | --confi | --conf | --con | --co | --c ) 7277 $as_echo "$ac_cs_config"; exit ;; 7278 --debug | --debu | --deb | --de | --d | -d ) 7279 debug=: ;; 7280 --file | --fil | --fi | --f ) 7281 $ac_shift 7282 case $ac_optarg in 7283 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7284 '') as_fn_error $? "missing file argument" ;; 7285 esac 7286 as_fn_append CONFIG_FILES " '$ac_optarg'" 7287 ac_need_defaults=false;; 7288 --header | --heade | --head | --hea ) 7289 $ac_shift 7290 case $ac_optarg in 7291 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7292 esac 7293 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7294 ac_need_defaults=false;; 7295 --he | --h) 7296 # Conflict between --help and --header 7297 as_fn_error $? "ambiguous option: \`$1' 7298Try \`$0 --help' for more information.";; 7299 --help | --hel | -h ) 7300 $as_echo "$ac_cs_usage"; exit ;; 7301 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7302 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7303 ac_cs_silent=: ;; 7304 7305 # This is an error. 7306 -*) as_fn_error $? "unrecognized option: \`$1' 7307Try \`$0 --help' for more information." ;; 7308 7309 *) as_fn_append ac_config_targets " $1" 7310 ac_need_defaults=false ;; 7311 7312 esac 7313 shift 7314done 7315 7316ac_configure_extra_args= 7317 7318if $ac_cs_silent; then 7319 exec 6>/dev/null 7320 ac_configure_extra_args="$ac_configure_extra_args --silent" 7321fi 7322 7323_ACEOF 7324cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7325if \$ac_cs_recheck; then 7326 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7327 shift 7328 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7329 CONFIG_SHELL='$SHELL' 7330 export CONFIG_SHELL 7331 exec "\$@" 7332fi 7333 7334_ACEOF 7335cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7336exec 5>>config.log 7337{ 7338 echo 7339 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7340## Running $as_me. ## 7341_ASBOX 7342 $as_echo "$ac_log" 7343} >&5 7344 7345_ACEOF 7346cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7347# 7348# INIT-COMMANDS 7349# 7350AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 7351# Capture the value of obsolete ALL_LINGUAS because we need it to compute 7352 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 7353 # from automake < 1.5. 7354 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 7355 # Capture the value of LINGUAS because we need it to compute CATALOGS. 7356 LINGUAS="${LINGUAS-%UNSET%}" 7357 7358 7359_ACEOF 7360 7361cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7362 7363# Handling of arguments. 7364for ac_config_target in $ac_config_targets 7365do 7366 case $ac_config_target in 7367 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;; 7368 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7369 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7370 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 7371 "elfutils.spec") CONFIG_FILES="$CONFIG_FILES elfutils.spec:config/elfutils.spec.in" ;; 7372 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7373 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 7374 "libelf/Makefile") CONFIG_FILES="$CONFIG_FILES libelf/Makefile" ;; 7375 "libebl/Makefile") CONFIG_FILES="$CONFIG_FILES libebl/Makefile" ;; 7376 "libdwelf/Makefile") CONFIG_FILES="$CONFIG_FILES libdwelf/Makefile" ;; 7377 "libdw/Makefile") CONFIG_FILES="$CONFIG_FILES libdw/Makefile" ;; 7378 "libdwfl/Makefile") CONFIG_FILES="$CONFIG_FILES libdwfl/Makefile" ;; 7379 "libcpu/Makefile") CONFIG_FILES="$CONFIG_FILES libcpu/Makefile" ;; 7380 "libasm/Makefile") CONFIG_FILES="$CONFIG_FILES libasm/Makefile" ;; 7381 "backends/Makefile") CONFIG_FILES="$CONFIG_FILES backends/Makefile" ;; 7382 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 7383 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 7384 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 7385 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 7386 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:config/version.h.in" ;; 7387 7388 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7389 esac 7390done 7391 7392 7393# If the user did not use the arguments to specify the items to instantiate, 7394# then the envvar interface is used. Set only those that are not. 7395# We use the long form for the default assignment because of an extremely 7396# bizarre bug on SunOS 4.1.3. 7397if $ac_need_defaults; then 7398 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7399 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7400 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7401fi 7402 7403# Have a temporary directory for convenience. Make it in the build tree 7404# simply because there is no reason against having it here, and in addition, 7405# creating and moving files from /tmp can sometimes cause problems. 7406# Hook for its removal unless debugging. 7407# Note that there is a small window in which the directory will not be cleaned: 7408# after its creation but before its name has been assigned to `$tmp'. 7409$debug || 7410{ 7411 tmp= ac_tmp= 7412 trap 'exit_status=$? 7413 : "${ac_tmp:=$tmp}" 7414 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7415' 0 7416 trap 'as_fn_exit 1' 1 2 13 15 7417} 7418# Create a (secure) tmp directory for tmp files. 7419 7420{ 7421 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7422 test -d "$tmp" 7423} || 7424{ 7425 tmp=./conf$$-$RANDOM 7426 (umask 077 && mkdir "$tmp") 7427} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7428ac_tmp=$tmp 7429 7430# Set up the scripts for CONFIG_FILES section. 7431# No need to generate them if there are no CONFIG_FILES. 7432# This happens for instance with `./config.status config.h'. 7433if test -n "$CONFIG_FILES"; then 7434 7435 7436ac_cr=`echo X | tr X '\015'` 7437# On cygwin, bash can eat \r inside `` if the user requested igncr. 7438# But we know of no other shell where ac_cr would be empty at this 7439# point, so we can use a bashism as a fallback. 7440if test "x$ac_cr" = x; then 7441 eval ac_cr=\$\'\\r\' 7442fi 7443ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7444if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7445 ac_cs_awk_cr='\\r' 7446else 7447 ac_cs_awk_cr=$ac_cr 7448fi 7449 7450echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 7451_ACEOF 7452 7453 7454{ 7455 echo "cat >conf$$subs.awk <<_ACEOF" && 7456 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7457 echo "_ACEOF" 7458} >conf$$subs.sh || 7459 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7460ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7461ac_delim='%!_!# ' 7462for ac_last_try in false false false false false :; do 7463 . ./conf$$subs.sh || 7464 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7465 7466 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7467 if test $ac_delim_n = $ac_delim_num; then 7468 break 7469 elif $ac_last_try; then 7470 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7471 else 7472 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7473 fi 7474done 7475rm -f conf$$subs.sh 7476 7477cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7478cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 7479_ACEOF 7480sed -n ' 7481h 7482s/^/S["/; s/!.*/"]=/ 7483p 7484g 7485s/^[^!]*!// 7486:repl 7487t repl 7488s/'"$ac_delim"'$// 7489t delim 7490:nl 7491h 7492s/\(.\{148\}\)..*/\1/ 7493t more1 7494s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7495p 7496n 7497b repl 7498:more1 7499s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7500p 7501g 7502s/.\{148\}// 7503t nl 7504:delim 7505h 7506s/\(.\{148\}\)..*/\1/ 7507t more2 7508s/["\\]/\\&/g; s/^/"/; s/$/"/ 7509p 7510b 7511:more2 7512s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7513p 7514g 7515s/.\{148\}// 7516t delim 7517' <conf$$subs.awk | sed ' 7518/^[^""]/{ 7519 N 7520 s/\n// 7521} 7522' >>$CONFIG_STATUS || ac_write_fail=1 7523rm -f conf$$subs.awk 7524cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7525_ACAWK 7526cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 7527 for (key in S) S_is_set[key] = 1 7528 FS = "" 7529 7530} 7531{ 7532 line = $ 0 7533 nfields = split(line, field, "@") 7534 substed = 0 7535 len = length(field[1]) 7536 for (i = 2; i < nfields; i++) { 7537 key = field[i] 7538 keylen = length(key) 7539 if (S_is_set[key]) { 7540 value = S[key] 7541 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7542 len += length(value) + length(field[++i]) 7543 substed = 1 7544 } else 7545 len += 1 + keylen 7546 } 7547 7548 print line 7549} 7550 7551_ACAWK 7552_ACEOF 7553cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7554if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7555 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7556else 7557 cat 7558fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7559 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7560_ACEOF 7561 7562# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7563# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7564# trailing colons and then remove the whole line if VPATH becomes empty 7565# (actually we leave an empty line to preserve line numbers). 7566if test "x$srcdir" = x.; then 7567 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7568h 7569s/// 7570s/^/:/ 7571s/[ ]*$/:/ 7572s/:\$(srcdir):/:/g 7573s/:\${srcdir}:/:/g 7574s/:@srcdir@:/:/g 7575s/^:*// 7576s/:*$// 7577x 7578s/\(=[ ]*\).*/\1/ 7579G 7580s/\n// 7581s/^[^=]*=[ ]*$// 7582}' 7583fi 7584 7585cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7586fi # test -n "$CONFIG_FILES" 7587 7588# Set up the scripts for CONFIG_HEADERS section. 7589# No need to generate them if there are no CONFIG_HEADERS. 7590# This happens for instance with `./config.status Makefile'. 7591if test -n "$CONFIG_HEADERS"; then 7592cat >"$ac_tmp/defines.awk" <<\_ACAWK || 7593BEGIN { 7594_ACEOF 7595 7596# Transform confdefs.h into an awk script `defines.awk', embedded as 7597# here-document in config.status, that substitutes the proper values into 7598# config.h.in to produce config.h. 7599 7600# Create a delimiter string that does not exist in confdefs.h, to ease 7601# handling of long lines. 7602ac_delim='%!_!# ' 7603for ac_last_try in false false :; do 7604 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 7605 if test -z "$ac_tt"; then 7606 break 7607 elif $ac_last_try; then 7608 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7609 else 7610 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7611 fi 7612done 7613 7614# For the awk script, D is an array of macro values keyed by name, 7615# likewise P contains macro parameters if any. Preserve backslash 7616# newline sequences. 7617 7618ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7619sed -n ' 7620s/.\{148\}/&'"$ac_delim"'/g 7621t rset 7622:rset 7623s/^[ ]*#[ ]*define[ ][ ]*/ / 7624t def 7625d 7626:def 7627s/\\$// 7628t bsnl 7629s/["\\]/\\&/g 7630s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7631D["\1"]=" \3"/p 7632s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7633d 7634:bsnl 7635s/["\\]/\\&/g 7636s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7637D["\1"]=" \3\\\\\\n"\\/p 7638t cont 7639s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7640t cont 7641d 7642:cont 7643n 7644s/.\{148\}/&'"$ac_delim"'/g 7645t clear 7646:clear 7647s/\\$// 7648t bsnlc 7649s/["\\]/\\&/g; s/^/"/; s/$/"/p 7650d 7651:bsnlc 7652s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7653b cont 7654' <confdefs.h | sed ' 7655s/'"$ac_delim"'/"\\\ 7656"/g' >>$CONFIG_STATUS || ac_write_fail=1 7657 7658cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7659 for (key in D) D_is_set[key] = 1 7660 FS = "" 7661} 7662/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7663 line = \$ 0 7664 split(line, arg, " ") 7665 if (arg[1] == "#") { 7666 defundef = arg[2] 7667 mac1 = arg[3] 7668 } else { 7669 defundef = substr(arg[1], 2) 7670 mac1 = arg[2] 7671 } 7672 split(mac1, mac2, "(") #) 7673 macro = mac2[1] 7674 prefix = substr(line, 1, index(line, defundef) - 1) 7675 if (D_is_set[macro]) { 7676 # Preserve the white space surrounding the "#". 7677 print prefix "define", macro P[macro] D[macro] 7678 next 7679 } else { 7680 # Replace #undef with comments. This is necessary, for example, 7681 # in the case of _POSIX_SOURCE, which is predefined and required 7682 # on some systems where configure will not decide to define it. 7683 if (defundef == "undef") { 7684 print "/*", prefix defundef, macro, "*/" 7685 next 7686 } 7687 } 7688} 7689{ print } 7690_ACAWK 7691_ACEOF 7692cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7693 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7694fi # test -n "$CONFIG_HEADERS" 7695 7696 7697eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 7698shift 7699for ac_tag 7700do 7701 case $ac_tag in 7702 :[FHLC]) ac_mode=$ac_tag; continue;; 7703 esac 7704 case $ac_mode$ac_tag in 7705 :[FHL]*:*);; 7706 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7707 :[FH]-) ac_tag=-:-;; 7708 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7709 esac 7710 ac_save_IFS=$IFS 7711 IFS=: 7712 set x $ac_tag 7713 IFS=$ac_save_IFS 7714 shift 7715 ac_file=$1 7716 shift 7717 7718 case $ac_mode in 7719 :L) ac_source=$1;; 7720 :[FH]) 7721 ac_file_inputs= 7722 for ac_f 7723 do 7724 case $ac_f in 7725 -) ac_f="$ac_tmp/stdin";; 7726 *) # Look for the file first in the build tree, then in the source tree 7727 # (if the path is not absolute). The absolute path cannot be DOS-style, 7728 # because $ac_f cannot contain `:'. 7729 test -f "$ac_f" || 7730 case $ac_f in 7731 [\\/$]*) false;; 7732 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7733 esac || 7734 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7735 esac 7736 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7737 as_fn_append ac_file_inputs " '$ac_f'" 7738 done 7739 7740 # Let's still pretend it is `configure' which instantiates (i.e., don't 7741 # use $as_me), people would be surprised to read: 7742 # /* config.h. Generated by config.status. */ 7743 configure_input='Generated from '` 7744 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7745 `' by configure.' 7746 if test x"$ac_file" != x-; then 7747 configure_input="$ac_file. $configure_input" 7748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7749$as_echo "$as_me: creating $ac_file" >&6;} 7750 fi 7751 # Neutralize special characters interpreted by sed in replacement strings. 7752 case $configure_input in #( 7753 *\&* | *\|* | *\\* ) 7754 ac_sed_conf_input=`$as_echo "$configure_input" | 7755 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7756 *) ac_sed_conf_input=$configure_input;; 7757 esac 7758 7759 case $ac_tag in 7760 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7761 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7762 esac 7763 ;; 7764 esac 7765 7766 ac_dir=`$as_dirname -- "$ac_file" || 7767$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7768 X"$ac_file" : 'X\(//\)[^/]' \| \ 7769 X"$ac_file" : 'X\(//\)$' \| \ 7770 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7771$as_echo X"$ac_file" | 7772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7773 s//\1/ 7774 q 7775 } 7776 /^X\(\/\/\)[^/].*/{ 7777 s//\1/ 7778 q 7779 } 7780 /^X\(\/\/\)$/{ 7781 s//\1/ 7782 q 7783 } 7784 /^X\(\/\).*/{ 7785 s//\1/ 7786 q 7787 } 7788 s/.*/./; q'` 7789 as_dir="$ac_dir"; as_fn_mkdir_p 7790 ac_builddir=. 7791 7792case "$ac_dir" in 7793.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7794*) 7795 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7796 # A ".." for each directory in $ac_dir_suffix. 7797 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7798 case $ac_top_builddir_sub in 7799 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7800 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7801 esac ;; 7802esac 7803ac_abs_top_builddir=$ac_pwd 7804ac_abs_builddir=$ac_pwd$ac_dir_suffix 7805# for backward compatibility: 7806ac_top_builddir=$ac_top_build_prefix 7807 7808case $srcdir in 7809 .) # We are building in place. 7810 ac_srcdir=. 7811 ac_top_srcdir=$ac_top_builddir_sub 7812 ac_abs_top_srcdir=$ac_pwd ;; 7813 [\\/]* | ?:[\\/]* ) # Absolute name. 7814 ac_srcdir=$srcdir$ac_dir_suffix; 7815 ac_top_srcdir=$srcdir 7816 ac_abs_top_srcdir=$srcdir ;; 7817 *) # Relative name. 7818 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7819 ac_top_srcdir=$ac_top_build_prefix$srcdir 7820 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7821esac 7822ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7823 7824 7825 case $ac_mode in 7826 :F) 7827 # 7828 # CONFIG_FILE 7829 # 7830 7831 case $INSTALL in 7832 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7833 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7834 esac 7835 ac_MKDIR_P=$MKDIR_P 7836 case $MKDIR_P in 7837 [\\/$]* | ?:[\\/]* ) ;; 7838 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 7839 esac 7840_ACEOF 7841 7842cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7843# If the template does not know about datarootdir, expand it. 7844# FIXME: This hack should be removed a few years after 2.60. 7845ac_datarootdir_hack=; ac_datarootdir_seen= 7846ac_sed_dataroot=' 7847/datarootdir/ { 7848 p 7849 q 7850} 7851/@datadir@/p 7852/@docdir@/p 7853/@infodir@/p 7854/@localedir@/p 7855/@mandir@/p' 7856case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7857*datarootdir*) ac_datarootdir_seen=yes;; 7858*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7860$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7861_ACEOF 7862cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7863 ac_datarootdir_hack=' 7864 s&@datadir@&$datadir&g 7865 s&@docdir@&$docdir&g 7866 s&@infodir@&$infodir&g 7867 s&@localedir@&$localedir&g 7868 s&@mandir@&$mandir&g 7869 s&\\\${datarootdir}&$datarootdir&g' ;; 7870esac 7871_ACEOF 7872 7873# Neutralize VPATH when `$srcdir' = `.'. 7874# Shell code in configure.ac might set extrasub. 7875# FIXME: do we really want to maintain this feature? 7876cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7877ac_sed_extra="$ac_vpsub 7878$extrasub 7879_ACEOF 7880cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7881:t 7882/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7883s|@configure_input@|$ac_sed_conf_input|;t t 7884s&@top_builddir@&$ac_top_builddir_sub&;t t 7885s&@top_build_prefix@&$ac_top_build_prefix&;t t 7886s&@srcdir@&$ac_srcdir&;t t 7887s&@abs_srcdir@&$ac_abs_srcdir&;t t 7888s&@top_srcdir@&$ac_top_srcdir&;t t 7889s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7890s&@builddir@&$ac_builddir&;t t 7891s&@abs_builddir@&$ac_abs_builddir&;t t 7892s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7893s&@INSTALL@&$ac_INSTALL&;t t 7894s&@MKDIR_P@&$ac_MKDIR_P&;t t 7895$ac_datarootdir_hack 7896" 7897eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7898 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7899 7900test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7901 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7902 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7903 "$ac_tmp/out"`; test -z "$ac_out"; } && 7904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7905which seems to be undefined. Please make sure it is defined" >&5 7906$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7907which seems to be undefined. Please make sure it is defined" >&2;} 7908 7909 rm -f "$ac_tmp/stdin" 7910 case $ac_file in 7911 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 7912 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 7913 esac \ 7914 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7915 ;; 7916 :H) 7917 # 7918 # CONFIG_HEADER 7919 # 7920 if test x"$ac_file" != x-; then 7921 { 7922 $as_echo "/* $configure_input */" \ 7923 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 7924 } >"$ac_tmp/config.h" \ 7925 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7926 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 7927 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7928$as_echo "$as_me: $ac_file is unchanged" >&6;} 7929 else 7930 rm -f "$ac_file" 7931 mv "$ac_tmp/config.h" "$ac_file" \ 7932 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7933 fi 7934 else 7935 $as_echo "/* $configure_input */" \ 7936 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 7937 || as_fn_error $? "could not create -" "$LINENO" 5 7938 fi 7939# Compute "$ac_file"'s index in $config_headers. 7940_am_arg="$ac_file" 7941_am_stamp_count=1 7942for _am_header in $config_headers :; do 7943 case $_am_header in 7944 $_am_arg | $_am_arg:* ) 7945 break ;; 7946 * ) 7947 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 7948 esac 7949done 7950echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 7951$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7952 X"$_am_arg" : 'X\(//\)[^/]' \| \ 7953 X"$_am_arg" : 'X\(//\)$' \| \ 7954 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 7955$as_echo X"$_am_arg" | 7956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7957 s//\1/ 7958 q 7959 } 7960 /^X\(\/\/\)[^/].*/{ 7961 s//\1/ 7962 q 7963 } 7964 /^X\(\/\/\)$/{ 7965 s//\1/ 7966 q 7967 } 7968 /^X\(\/\).*/{ 7969 s//\1/ 7970 q 7971 } 7972 s/.*/./; q'`/stamp-h$_am_stamp_count 7973 ;; 7974 7975 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 7976$as_echo "$as_me: executing $ac_file commands" >&6;} 7977 ;; 7978 esac 7979 7980 7981 case $ac_file$ac_mode in 7982 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 7983 # Older Autoconf quotes --file arguments for eval, but not when files 7984 # are listed without --file. Let's play safe and only enable the eval 7985 # if we detect the quoting. 7986 case $CONFIG_FILES in 7987 *\'*) eval set x "$CONFIG_FILES" ;; 7988 *) set x $CONFIG_FILES ;; 7989 esac 7990 shift 7991 for mf 7992 do 7993 # Strip MF so we end up with the name of the file. 7994 mf=`echo "$mf" | sed -e 's/:.*$//'` 7995 # Check whether this is an Automake generated Makefile or not. 7996 # We used to match only the files named 'Makefile.in', but 7997 # some people rename them; so instead we look at the file content. 7998 # Grep'ing the first line is not enough: some people post-process 7999 # each Makefile.in and add a new line on top of each file to say so. 8000 # Grep'ing the whole file is not good either: AIX grep has a line 8001 # limit of 2048, but all sed's we know have understand at least 4000. 8002 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 8003 dirpart=`$as_dirname -- "$mf" || 8004$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8005 X"$mf" : 'X\(//\)[^/]' \| \ 8006 X"$mf" : 'X\(//\)$' \| \ 8007 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 8008$as_echo X"$mf" | 8009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8010 s//\1/ 8011 q 8012 } 8013 /^X\(\/\/\)[^/].*/{ 8014 s//\1/ 8015 q 8016 } 8017 /^X\(\/\/\)$/{ 8018 s//\1/ 8019 q 8020 } 8021 /^X\(\/\).*/{ 8022 s//\1/ 8023 q 8024 } 8025 s/.*/./; q'` 8026 else 8027 continue 8028 fi 8029 # Extract the definition of DEPDIR, am__include, and am__quote 8030 # from the Makefile without running 'make'. 8031 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 8032 test -z "$DEPDIR" && continue 8033 am__include=`sed -n 's/^am__include = //p' < "$mf"` 8034 test -z "$am__include" && continue 8035 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 8036 # Find all dependency output files, they are included files with 8037 # $(DEPDIR) in their names. We invoke sed twice because it is the 8038 # simplest approach to changing $(DEPDIR) to its actual value in the 8039 # expansion. 8040 for file in `sed -n " 8041 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 8042 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 8043 # Make sure the directory exists. 8044 test -f "$dirpart/$file" && continue 8045 fdir=`$as_dirname -- "$file" || 8046$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8047 X"$file" : 'X\(//\)[^/]' \| \ 8048 X"$file" : 'X\(//\)$' \| \ 8049 X"$file" : 'X\(/\)' \| . 2>/dev/null || 8050$as_echo X"$file" | 8051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8052 s//\1/ 8053 q 8054 } 8055 /^X\(\/\/\)[^/].*/{ 8056 s//\1/ 8057 q 8058 } 8059 /^X\(\/\/\)$/{ 8060 s//\1/ 8061 q 8062 } 8063 /^X\(\/\).*/{ 8064 s//\1/ 8065 q 8066 } 8067 s/.*/./; q'` 8068 as_dir=$dirpart/$fdir; as_fn_mkdir_p 8069 # echo "creating $dirpart/$file" 8070 echo '# dummy' > "$dirpart/$file" 8071 done 8072 done 8073} 8074 ;; 8075 "po-directories":C) 8076 for ac_file in $CONFIG_FILES; do 8077 # Support "outfile[:infile[:infile...]]" 8078 case "$ac_file" in 8079 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 8080 esac 8081 # PO directories have a Makefile.in generated from Makefile.in.in. 8082 case "$ac_file" in */Makefile.in) 8083 # Adjust a relative srcdir. 8084 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 8085 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 8086 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 8087 # In autoconf-2.13 it is called $ac_given_srcdir. 8088 # In autoconf-2.50 it is called $srcdir. 8089 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 8090 case "$ac_given_srcdir" in 8091 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 8092 /*) top_srcdir="$ac_given_srcdir" ;; 8093 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 8094 esac 8095 # Treat a directory as a PO directory if and only if it has a 8096 # POTFILES.in file. This allows packages to have multiple PO 8097 # directories under different names or in different locations. 8098 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 8099 rm -f "$ac_dir/POTFILES" 8100 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 8101 gt_tab=`printf '\t'` 8102 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 8103 POMAKEFILEDEPS="POTFILES.in" 8104 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 8105 # on $ac_dir but don't depend on user-specified configuration 8106 # parameters. 8107 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 8108 # The LINGUAS file contains the set of available languages. 8109 if test -n "$OBSOLETE_ALL_LINGUAS"; then 8110 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 8111 fi 8112 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 8113 # Hide the ALL_LINGUAS assignment from automake < 1.5. 8114 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 8115 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 8116 else 8117 # The set of available languages was given in configure.in. 8118 # Hide the ALL_LINGUAS assignment from automake < 1.5. 8119 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 8120 fi 8121 # Compute POFILES 8122 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 8123 # Compute UPDATEPOFILES 8124 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 8125 # Compute DUMMYPOFILES 8126 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 8127 # Compute GMOFILES 8128 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 8129 case "$ac_given_srcdir" in 8130 .) srcdirpre= ;; 8131 *) srcdirpre='$(srcdir)/' ;; 8132 esac 8133 POFILES= 8134 UPDATEPOFILES= 8135 DUMMYPOFILES= 8136 GMOFILES= 8137 for lang in $ALL_LINGUAS; do 8138 POFILES="$POFILES $srcdirpre$lang.po" 8139 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 8140 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 8141 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 8142 done 8143 # CATALOGS depends on both $ac_dir and the user's LINGUAS 8144 # environment variable. 8145 INST_LINGUAS= 8146 if test -n "$ALL_LINGUAS"; then 8147 for presentlang in $ALL_LINGUAS; do 8148 useit=no 8149 if test "%UNSET%" != "$LINGUAS"; then 8150 desiredlanguages="$LINGUAS" 8151 else 8152 desiredlanguages="$ALL_LINGUAS" 8153 fi 8154 for desiredlang in $desiredlanguages; do 8155 # Use the presentlang catalog if desiredlang is 8156 # a. equal to presentlang, or 8157 # b. a variant of presentlang (because in this case, 8158 # presentlang can be used as a fallback for messages 8159 # which are not translated in the desiredlang catalog). 8160 case "$desiredlang" in 8161 "$presentlang"*) useit=yes;; 8162 esac 8163 done 8164 if test $useit = yes; then 8165 INST_LINGUAS="$INST_LINGUAS $presentlang" 8166 fi 8167 done 8168 fi 8169 CATALOGS= 8170 if test -n "$INST_LINGUAS"; then 8171 for lang in $INST_LINGUAS; do 8172 CATALOGS="$CATALOGS $lang.gmo" 8173 done 8174 fi 8175 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 8176 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 8177 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 8178 if test -f "$f"; then 8179 case "$f" in 8180 *.orig | *.bak | *~) ;; 8181 *) cat "$f" >> "$ac_dir/Makefile" ;; 8182 esac 8183 fi 8184 done 8185 fi 8186 ;; 8187 esac 8188 done ;; 8189 8190 esac 8191done # for ac_tag 8192 8193 8194as_fn_exit 0 8195_ACEOF 8196ac_clean_files=$ac_clean_files_save 8197 8198test $ac_write_fail = 0 || 8199 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 8200 8201 8202# configure is writing to config.log, and then calls config.status. 8203# config.status does its own redirection, appending to config.log. 8204# Unfortunately, on DOS this fails, as config.log is still kept open 8205# by configure, so config.status won't be able to write to it; its 8206# output is simply discarded. So we exec the FD to /dev/null, 8207# effectively closing config.log, so it can be properly (re)opened and 8208# appended to by config.status. When coming back to configure, we 8209# need to make the FD available again. 8210if test "$no_create" != yes; then 8211 ac_cs_success=: 8212 ac_config_status_args= 8213 test "$silent" = yes && 8214 ac_config_status_args="$ac_config_status_args --quiet" 8215 exec 5>/dev/null 8216 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8217 exec 5>>config.log 8218 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8219 # would make configure fail if this is the last instruction. 8220 $ac_cs_success || as_fn_exit 1 8221fi 8222if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8224$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8225fi 8226 8227