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 20 DUALCASE=1; export DUALCASE # for MKS sh 21 if 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 28 else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_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. 47 if 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 --' 51 elif (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' 54 else 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' 74 fi 75 76 # The user is always right. 77 if 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 } 83 fi 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.) 91 IFS=" "" $as_nl" 92 93 # Find who we are. Look in the path if we contain no directory separator. 94 as_myself= 95 case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98 for as_dir in $PATH 99 do 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 104 IFS=$as_save_IFS 105 106 ;; 107 esac 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. 110 if test "x$as_myself" = x; then 111 as_myself=$0 112 fi 113 if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 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. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 done 126 PS1='$ ' 127 PS2='> ' 128 PS4='+ ' 129 130 # NLS nuisances. 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export 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. 147 BASH_ENV=/dev/null 148 ENV=/dev/null 149 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 150 case $- in # (((( 151 *v*x* | *x*v* ) as_opts=-vx ;; 152 *v* ) as_opts=-v ;; 153 *x* ) as_opts=-x ;; 154 * ) as_opts= ;; 155 esac 156 exec $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 160 as_fn_exit 255 161 fi 162 # We don't want this to propagate to other subprocesses. 163 { _as_can_reexec=; unset _as_can_reexec;} 164 if 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 172 else 173 case \`(set -o) 2>/dev/null\` in #( 174 *posix*) : 175 set -o posix ;; #( 176 *) : 177 ;; 178 esac 179 fi 180 " 181 as_required="as_fn_return () { (exit \$1); } 182 as_fn_success () { as_fn_return 0; } 183 as_fn_failure () { as_fn_return 1; } 184 as_fn_ret_success () { return 0; } 185 as_fn_ret_failure () { return 1; } 186 187 exitcode=0 188 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 193 194 else 195 exitcode=1; echo positional parameters were not saved. 196 fi 197 test x\$exitcode = x0 || exit 1 198 test -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 203 test \$(( 1 + 1 )) = 2 || exit 1" 204 if (eval "$as_required") 2>/dev/null; then : 205 as_have_required=yes 206 else 207 as_have_required=no 208 fi 209 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 210 211 else 212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 213 as_found=false 214 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 215 do 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 229 fi 230 fi 231 done;; 232 esac 233 as_found=false 234 done 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 238 fi; } 239 IFS=$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. 248 BASH_ENV=/dev/null 249 ENV=/dev/null 250 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 251 case $- in # (((( 252 *v*x* | *x*v* ) as_opts=-vx ;; 253 *v* ) as_opts=-v ;; 254 *x* ) as_opts=-x ;; 255 * ) as_opts= ;; 256 esac 257 exec $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 261 exit 255 262 fi 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 (at] 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 278 fi 279 fi 280 fi 281 SHELL=${CONFIG_SHELL-/bin/sh} 282 export SHELL 283 # Unset more variables known to interfere with behavior of common tools. 284 CLICOLOR_FORCE= GREP_OPTIONS= 285 unset CLICOLOR_FORCE GREP_OPTIONS 286 287 ## --------------------- ## 288 ## M4sh Shell Functions. ## 289 ## --------------------- ## 290 # as_fn_unset VAR 291 # --------------- 292 # Portably unset VAR. 293 as_fn_unset () 294 { 295 { eval $1=; unset $1;} 296 } 297 as_unset=as_fn_unset 298 299 # as_fn_set_status STATUS 300 # ----------------------- 301 # Set $? to STATUS, without forking. 302 as_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. 310 as_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. 320 as_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. 368 as_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. 378 if (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 }' 383 else 384 as_fn_append () 385 { 386 eval $1=\$$1\$2 387 } 388 fi # 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. 395 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 396 eval 'as_fn_arith () 397 { 398 as_val=$(( $* )) 399 }' 400 else 401 as_fn_arith () 402 { 403 as_val=`expr "$@" || test $? -eq 1` 404 } 405 fi # 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. 413 as_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 424 if expr a : '\(a\)' >/dev/null 2>&1 && 425 test "X`expr 00001 : '.*\(...\)'`" = X001; then 426 as_expr=expr 427 else 428 as_expr=false 429 fi 430 431 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 432 as_basename=basename 433 else 434 as_basename=false 435 fi 436 437 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 438 as_dirname=dirname 439 else 440 as_dirname=false 441 fi 442 443 as_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. 463 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 464 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 465 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 466 as_cr_digits='0123456789' 467 as_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 505 ECHO_C= ECHO_N= ECHO_T= 506 case `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';; 516 esac 517 518 rm -f conf$$ conf$$.exe conf$$.file 519 if test -d conf$$.dir; then 520 rm -f conf$$.dir/conf$$.file 521 else 522 rm -f conf$$.dir 523 mkdir conf$$.dir 2>/dev/null 524 fi 525 if (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 539 else 540 as_ln_s='cp -pR' 541 fi 542 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 543 rmdir conf$$.dir 2>/dev/null 544 545 if mkdir -p . 2>/dev/null; then 546 as_mkdir_p='mkdir -p "$as_dir"' 547 else 548 test -d ./-p && rmdir ./-p 549 as_mkdir_p=false 550 fi 551 552 as_test_x='test -x' 553 as_executable_p=as_fn_executable_p 554 555 # Sed expression to map a string onto a valid CPP name. 556 as_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. 559 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 560 561 562 test -n "$DJDIR" || exec 7<&0 </dev/null 563 exec 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. 568 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 569 570 # 571 # Initializations. 572 # 573 ac_default_prefix=/usr/local 574 ac_clean_files= 575 ac_config_libobj_dir=. 576 LIBOBJS= 577 cross_compiling=no 578 subdirs= 579 MFLAGS= 580 MAKEFLAGS= 581 582 # Identity of this package. 583 PACKAGE_NAME='elfutils' 584 PACKAGE_TARNAME='elfutils' 585 PACKAGE_VERSION='0.161' 586 PACKAGE_STRING='elfutils 0.161' 587 PACKAGE_BUGREPORT='https://bugzilla.redhat.com/' 588 PACKAGE_URL='' 589 590 ac_unique_file="libelf/libelf.h" 591 # Factoring default headers for most tests. 592 ac_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 627 ac_subst_vars='am__EXEEXT_FALSE 628 am__EXEEXT_TRUE 629 LTLIBOBJS 630 LIBOBJS 631 CC_BIARCH 632 BIARCH_FALSE 633 BIARCH_TRUE 634 EGREP 635 GREP 636 CPP 637 eu_version 638 XGETTEXT_EXTRA_OPTIONS 639 MSGMERGE 640 XGETTEXT_015 641 XGETTEXT 642 GMSGFMT_015 643 MSGFMT_015 644 GMSGFMT 645 MSGFMT 646 GETTEXT_MACRO_VERSION 647 USE_NLS 648 STANDALONE_FALSE 649 STANDALONE_TRUE 650 HAVE_LIBASM_FALSE 651 HAVE_LIBASM_TRUE 652 FATAL_TEXTREL_FALSE 653 FATAL_TEXTREL_TRUE 654 DEMANGLE_FALSE 655 DEMANGLE_TRUE 656 zip_LIBS 657 LZMA_FALSE 658 LZMA_TRUE 659 BZLIB_FALSE 660 BZLIB_TRUE 661 ZLIB_FALSE 662 ZLIB_TRUE 663 LIBEBL_SUBDIR 664 TESTS_RPATH_FALSE 665 TESTS_RPATH_TRUE 666 BUILD_STATIC_FALSE 667 BUILD_STATIC_TRUE 668 USE_VALGRIND_FALSE 669 USE_VALGRIND_TRUE 670 HAVE_VALGRIND 671 GCOV_FALSE 672 GCOV_TRUE 673 GPROF_FALSE 674 GPROF_TRUE 675 DEBUGPRED 676 NEVER_FALSE 677 NEVER_TRUE 678 base_cpu 679 NATIVE_LD_FALSE 680 NATIVE_LD_TRUE 681 NM 682 READELF 683 ac_ct_AR 684 AR 685 LEXLIB 686 LEX_OUTPUT_ROOT 687 LEX 688 YFLAGS 689 YACC 690 RANLIB 691 am__fastdepCC_FALSE 692 am__fastdepCC_TRUE 693 CCDEPMODE 694 am__nodep 695 AMDEPBACKSLASH 696 AMDEP_FALSE 697 AMDEP_TRUE 698 am__quote 699 am__include 700 DEPDIR 701 OBJEXT 702 EXEEXT 703 ac_ct_CC 704 CPPFLAGS 705 LDFLAGS 706 CFLAGS 707 CC 708 USE_LOCKS_FALSE 709 USE_LOCKS_TRUE 710 host_os 711 host_vendor 712 host_cpu 713 host 714 build_os 715 build_vendor 716 build_cpu 717 build 718 MODVERSION 719 MAINT 720 MAINTAINER_MODE_FALSE 721 MAINTAINER_MODE_TRUE 722 AM_BACKSLASH 723 AM_DEFAULT_VERBOSITY 724 AM_DEFAULT_V 725 AM_V 726 am__untar 727 am__tar 728 AMTAR 729 am__leading_dot 730 SET_MAKE 731 AWK 732 mkdir_p 733 MKDIR_P 734 INSTALL_STRIP_PROGRAM 735 STRIP 736 install_sh 737 MAKEINFO 738 AUTOHEADER 739 AUTOMAKE 740 AUTOCONF 741 ACLOCAL 742 VERSION 743 PACKAGE 744 CYGPATH_W 745 am__isrc 746 INSTALL_DATA 747 INSTALL_SCRIPT 748 INSTALL_PROGRAM 749 target_alias 750 host_alias 751 build_alias 752 LIBS 753 ECHO_T 754 ECHO_N 755 ECHO_C 756 DEFS 757 mandir 758 localedir 759 libdir 760 psdir 761 pdfdir 762 dvidir 763 htmldir 764 infodir 765 docdir 766 oldincludedir 767 includedir 768 localstatedir 769 sharedstatedir 770 sysconfdir 771 datadir 772 datarootdir 773 libexecdir 774 sbindir 775 bindir 776 program_transform_name 777 prefix 778 exec_prefix 779 PACKAGE_URL 780 PACKAGE_BUGREPORT 781 PACKAGE_STRING 782 PACKAGE_VERSION 783 PACKAGE_TARNAME 784 PACKAGE_NAME 785 PATH_SEPARATOR 786 SHELL' 787 ac_subst_files='' 788 ac_user_opts=' 789 enable_option_checking 790 enable_silent_rules 791 enable_maintainer_mode 792 enable_deterministic_archives 793 enable_thread_safety 794 enable_dependency_tracking 795 enable_largefile 796 enable_generic 797 enable_debugpred 798 enable_gprof 799 enable_gcov 800 enable_valgrind 801 enable_tests_rpath 802 enable_libebl_subdir 803 with_zlib 804 with_bzlib 805 with_lzma 806 enable_textrelcheck 807 enable_nls 808 with_biarch 809 ' 810 ac_precious_vars='build_alias 811 host_alias 812 target_alias 813 CC 814 CFLAGS 815 LDFLAGS 816 LIBS 817 CPPFLAGS 818 YACC 819 YFLAGS 820 CPP' 821 822 823 # Initialize some variables set by options. 824 ac_init_help= 825 ac_init_version=false 826 ac_unrecognized_opts= 827 ac_unrecognized_sep= 828 # The variables have the same names as the options, with 829 # dashes changed to underlines. 830 cache_file=/dev/null 831 exec_prefix=NONE 832 no_create= 833 no_recursion= 834 prefix=NONE 835 program_prefix=NONE 836 program_suffix=NONE 837 program_transform_name=s,x,x, 838 silent= 839 site= 840 srcdir= 841 verbose= 842 x_includes=NONE 843 x_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.) 851 bindir='${exec_prefix}/bin' 852 sbindir='${exec_prefix}/sbin' 853 libexecdir='${exec_prefix}/libexec' 854 datarootdir='${prefix}/share' 855 datadir='${datarootdir}' 856 sysconfdir='${prefix}/etc' 857 sharedstatedir='${prefix}/com' 858 localstatedir='${prefix}/var' 859 includedir='${prefix}/include' 860 oldincludedir='/usr/include' 861 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 862 infodir='${datarootdir}/info' 863 htmldir='${docdir}' 864 dvidir='${docdir}' 865 pdfdir='${docdir}' 866 psdir='${docdir}' 867 libdir='${exec_prefix}/lib' 868 localedir='${datarootdir}/locale' 869 mandir='${datarootdir}/man' 870 871 ac_prev= 872 ac_dashdash= 873 for ac_option 874 do 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' 1207 Try \`$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 1229 done 1230 1231 if test -n "$ac_prev"; then 1232 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1233 as_fn_error $? "missing argument to $ac_option" 1234 fi 1235 1236 if 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 1242 fi 1243 1244 # Check all directory arguments for consistency. 1245 for 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 1249 do 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" 1263 done 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. 1268 build=$build_alias 1269 host=$host_alias 1270 target=$target_alias 1271 1272 # FIXME: To remove some day. 1273 if 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 1279 fi 1280 1281 ac_tool_prefix= 1282 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1283 1284 test "$silent" = yes && exec 6>/dev/null 1285 1286 1287 ac_pwd=`pwd` && test -n "$ac_pwd" && 1288 ac_ls_di=`ls -di .` && 1289 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1290 as_fn_error $? "working directory cannot be determined" 1291 test "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. 1296 if 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 1326 else 1327 ac_srcdir_defaulted=no 1328 fi 1329 if 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" 1332 fi 1333 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1334 ac_abs_confdir=`( 1335 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1336 pwd)` 1337 # When building in place, set srcdir=. 1338 if test "$ac_abs_confdir" = "$ac_pwd"; then 1339 srcdir=. 1340 fi 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. 1344 case $srcdir in 1345 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1346 esac 1347 for 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} 1352 done 1353 1354 # 1355 # Report the --help message. 1356 # 1357 if 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 1363 Usage: $0 [OPTION]... [VAR=VALUE]... 1364 1365 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1366 VAR=VALUE. See below for descriptions of some of the useful variables. 1367 1368 Defaults for the options are specified in brackets. 1369 1370 Configuration: 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 1381 Installation 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 1387 By default, \`make install' will install all the files in 1388 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1389 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1390 for instance \`--prefix=\$HOME'. 1391 1392 For better control, use the options below. 1393 1394 Fine 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 1418 Program 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 1423 System 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 1427 fi 1428 1429 if 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 1435 Optional 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 1464 Optional 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 1472 Some 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 1488 Use these variables to override the choices made by `configure' or to help 1489 it to find libraries and programs with nonstandard names/locations. 1490 1491 Report bugs to <https://bugzilla.redhat.com/>. 1492 _ACEOF 1493 ac_status=$? 1494 fi 1495 1496 if 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 1504 case "$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 ;; 1514 esac 1515 ac_abs_top_builddir=$ac_pwd 1516 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1517 # for backward compatibility: 1518 ac_top_builddir=$ac_top_build_prefix 1519 1520 case $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 ;; 1533 esac 1534 ac_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 1549 fi 1550 1551 test -n "$ac_init_help" && exit $ac_status 1552 if $ac_init_version; then 1553 cat <<\_ACEOF 1554 elfutils configure 0.161 1555 generated by GNU Autoconf 2.69 1556 1557 Copyright (C) 2012 Free Software Foundation, Inc. 1558 This configure script is free software; the Free Software Foundation 1559 gives unlimited permission to copy, distribute and modify it. 1560 1561 Copyright (C) 1996-2014 Red Hat, Inc. 1562 _ACEOF 1563 exit 1564 fi 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. 1573 ac_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" 1578 case "(($ac_try" in 1579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1580 *) ac_try_echo=$ac_try;; 1581 esac 1582 eval 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 1597 else 1598 $as_echo "$as_me: failed program was:" >&5 1599 sed 's/^/| /' conftest.$ac_ext >&5 1600 1601 ac_retval=1 1602 fi 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. 1611 ac_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" 1616 case "(($ac_try" in 1617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1618 *) ac_try_echo=$ac_try;; 1619 esac 1620 eval 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 1638 else 1639 $as_echo "$as_me: failed program was:" >&5 1640 sed 's/^/| /' conftest.$ac_ext >&5 1641 1642 ac_retval=1 1643 fi 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. 1658 ac_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" 1662 case "(($ac_try" in 1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1664 *) ac_try_echo=$ac_try;; 1665 esac 1666 eval 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;; 1675 esac 1676 eval 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 1683 else 1684 $as_echo "$as_me: program exited with status $ac_status" >&5 1685 $as_echo "$as_me: failed program was:" >&5 1686 sed 's/^/| /' conftest.$ac_ext >&5 1687 1688 ac_retval=$ac_status 1689 fi 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 1701 ac_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. 1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1707 /* end confdefs.h. */ 1708 $4 1709 int 1710 main () 1711 { 1712 static int test_array [1 - 2 * !(($2) >= 0)]; 1713 test_array [0] = 0; 1714 return test_array [0]; 1715 1716 ; 1717 return 0; 1718 } 1719 _ACEOF 1720 if 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 1726 int 1727 main () 1728 { 1729 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1730 test_array [0] = 0; 1731 return test_array [0]; 1732 1733 ; 1734 return 0; 1735 } 1736 _ACEOF 1737 if ac_fn_c_try_compile "$LINENO"; then : 1738 ac_hi=$ac_mid; break 1739 else 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 1746 fi 1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1748 done 1749 else 1750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1751 /* end confdefs.h. */ 1752 $4 1753 int 1754 main () 1755 { 1756 static int test_array [1 - 2 * !(($2) < 0)]; 1757 test_array [0] = 0; 1758 return test_array [0]; 1759 1760 ; 1761 return 0; 1762 } 1763 _ACEOF 1764 if 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 1770 int 1771 main () 1772 { 1773 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1774 test_array [0] = 0; 1775 return test_array [0]; 1776 1777 ; 1778 return 0; 1779 } 1780 _ACEOF 1781 if ac_fn_c_try_compile "$LINENO"; then : 1782 ac_lo=$ac_mid; break 1783 else 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 1790 fi 1791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1792 done 1793 else 1794 ac_lo= ac_hi= 1795 fi 1796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1797 fi 1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1799 # Binary search between lo and hi bounds. 1800 while 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 1805 int 1806 main () 1807 { 1808 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1809 test_array [0] = 0; 1810 return test_array [0]; 1811 1812 ; 1813 return 0; 1814 } 1815 _ACEOF 1816 if ac_fn_c_try_compile "$LINENO"; then : 1817 ac_hi=$ac_mid 1818 else 1819 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1820 fi 1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1822 done 1823 case $ac_lo in #(( 1824 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1825 '') ac_retval=1 ;; 1826 esac 1827 else 1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1829 /* end confdefs.h. */ 1830 $4 1831 static long int longval () { return $2; } 1832 static unsigned long int ulongval () { return $2; } 1833 #include <stdio.h> 1834 #include <stdlib.h> 1835 int 1836 main () 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 1864 if ac_fn_c_try_run "$LINENO"; then : 1865 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 1866 else 1867 ac_retval=1 1868 fi 1869 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 1870 conftest.$ac_objext conftest.beam conftest.$ac_ext 1871 rm -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. 1882 ac_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" 1886 case "(($ac_try" in 1887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1888 *) ac_try_echo=$ac_try;; 1889 esac 1890 eval 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 1905 else 1906 $as_echo "$as_me: failed program was:" >&5 1907 sed 's/^/| /' conftest.$ac_ext >&5 1908 1909 ac_retval=1 1910 fi 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. 1920 ac_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; } 1925 if eval \${$3+:} false; then : 1926 $as_echo_n "(cached) " >&6 1927 else 1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1929 /* end confdefs.h. */ 1930 $4 1931 #include <$2> 1932 _ACEOF 1933 if ac_fn_c_try_compile "$LINENO"; then : 1934 eval "$3=yes" 1935 else 1936 eval "$3=no" 1937 fi 1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1939 fi 1940 eval 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. 1951 ac_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; } 1956 if eval \${$3+:} false; then : 1957 $as_echo_n "(cached) " >&6 1958 else 1959 eval "$3=no" 1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1961 /* end confdefs.h. */ 1962 $4 1963 int 1964 main () 1965 { 1966 if (sizeof ($2)) 1967 return 0; 1968 ; 1969 return 0; 1970 } 1971 _ACEOF 1972 if ac_fn_c_try_compile "$LINENO"; then : 1973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1974 /* end confdefs.h. */ 1975 $4 1976 int 1977 main () 1978 { 1979 if (sizeof (($2))) 1980 return 0; 1981 ; 1982 return 0; 1983 } 1984 _ACEOF 1985 if ac_fn_c_try_compile "$LINENO"; then : 1986 1987 else 1988 eval "$3=yes" 1989 fi 1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1991 fi 1992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1993 fi 1994 eval 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 2000 cat >config.log <<_ACEOF 2001 This file contains any messages produced by compilers while 2002 running configure, to aid debugging if configure makes a mistake. 2003 2004 It was created by elfutils $as_me 0.161, which was 2005 generated by GNU Autoconf 2.69. Invocation command line was 2006 2007 $ $0 $@ 2008 2009 _ACEOF 2010 exec 5>>config.log 2011 { 2012 cat <<_ASUNAME 2013 ## --------- ## 2014 ## Platform. ## 2015 ## --------- ## 2016 2017 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2018 uname -m = `(uname -m) 2>/dev/null || echo unknown` 2019 uname -r = `(uname -r) 2>/dev/null || echo unknown` 2020 uname -s = `(uname -s) 2>/dev/null || echo unknown` 2021 uname -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 2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2037 for as_dir in $PATH 2038 do 2039 IFS=$as_save_IFS 2040 test -z "$as_dir" && as_dir=. 2041 $as_echo "PATH: $as_dir" 2042 done 2043 IFS=$as_save_IFS 2044 2045 } >&5 2046 2047 cat >&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. 2062 ac_configure_args= 2063 ac_configure_args0= 2064 ac_configure_args1= 2065 ac_must_keep_next=false 2066 for ac_pass in 1 2 2067 do 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 2101 done 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. 2110 trap '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 2197 for ac_signal in 1 2 13 15; do 2198 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2199 done 2200 ac_signal=0 2201 2202 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2203 rm -f -r conftest* confdefs.h 2204 2205 $as_echo "/* confdefs.h */" > confdefs.h 2206 2207 # Predefined preprocessor variables. 2208 2209 cat >>confdefs.h <<_ACEOF 2210 #define PACKAGE_NAME "$PACKAGE_NAME" 2211 _ACEOF 2212 2213 cat >>confdefs.h <<_ACEOF 2214 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2215 _ACEOF 2216 2217 cat >>confdefs.h <<_ACEOF 2218 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2219 _ACEOF 2220 2221 cat >>confdefs.h <<_ACEOF 2222 #define PACKAGE_STRING "$PACKAGE_STRING" 2223 _ACEOF 2224 2225 cat >>confdefs.h <<_ACEOF 2226 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2227 _ACEOF 2228 2229 cat >>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. 2236 ac_site_file1=NONE 2237 ac_site_file2=NONE 2238 if 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 2245 elif test "x$prefix" != xNONE; then 2246 ac_site_file1=$prefix/share/config.site 2247 ac_site_file2=$prefix/etc/config.site 2248 else 2249 ac_site_file1=$ac_default_prefix/share/config.site 2250 ac_site_file2=$ac_default_prefix/etc/config.site 2251 fi 2252 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2253 do 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;} 2262 as_fn_error $? "failed to load site script $ac_site_file 2263 See \`config.log' for more details" "$LINENO" 5; } 2264 fi 2265 done 2266 2267 if 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 2278 else 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 2282 fi 2283 2284 # Check that the precious variables saved in the cache have kept the same 2285 # value. 2286 ac_cache_corrupted=false 2287 for 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 2333 done 2334 if $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 2340 fi 2341 ## -------------------- ## 2342 ## Main body of script. ## 2343 ## -------------------- ## 2344 2345 ac_ext=c 2346 ac_cpp='$CPP $CPPFLAGS' 2347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2349 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2350 2351 2352 2353 ac_aux_dir= 2354 for 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 2368 done 2369 if test -z "$ac_aux_dir"; then 2370 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 2371 fi 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. 2377 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2378 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2379 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2380 2381 2382 ac_config_files="$ac_config_files config/Makefile" 2383 2384 2385 2386 2387 am__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; } 2405 if test -z "$INSTALL"; then 2406 if ${ac_cv_path_install+:} false; then : 2407 $as_echo_n "(cached) " >&6 2408 else 2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2410 for as_dir in $PATH 2411 do 2412 IFS=$as_save_IFS 2413 test -z "$as_dir" && as_dir=. 2414 # Account for people who put trailing slashes in PATH elements. 2415 case $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 ;; 2453 esac 2454 2455 done 2456 IFS=$as_save_IFS 2457 2458 rm -rf conftest.one conftest.two conftest.dir 2459 2460 fi 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 2470 fi 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. 2476 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2477 2478 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2479 2480 test -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. 2486 am_lf=' 2487 ' 2488 case `pwd` in 2489 *[\\\"\#\$\&\'\`$am_lf]*) 2490 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2491 esac 2492 case $srcdir in 2493 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2494 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2495 esac 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). 2502 if ( 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 ) 2530 then 2531 # Ok. 2532 : 2533 else 2534 as_fn_error $? "newly created file is older than distributed files! 2535 Check your system clock" "$LINENO" 5 2536 fi 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. 2541 am_sleep_pid= 2542 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2543 ( sleep 1 ) & 2544 am_sleep_pid=$! 2545 fi 2546 2547 rm -f conftest.file 2548 2549 test "$program_prefix" != NONE && 2550 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2551 # Use a double $ so make ignores it. 2552 test "$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. 2556 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2557 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2558 2559 # expand $ac_aux_dir to an absolute path 2560 am_aux_dir=`cd $ac_aux_dir && pwd` 2561 2562 if 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 2569 fi 2570 # Use eval to expand $SHELL 2571 if eval "$MISSING --is-lightweight"; then 2572 am_missing_run="$MISSING " 2573 else 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;} 2577 fi 2578 2579 if 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 2586 fi 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. 2592 if 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. 2595 set 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; } 2598 if ${ac_cv_prog_STRIP+:} false; then : 2599 $as_echo_n "(cached) " >&6 2600 else 2601 if test -n "$STRIP"; then 2602 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2603 else 2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2605 for as_dir in $PATH 2606 do 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 2615 done 2616 done 2617 IFS=$as_save_IFS 2618 2619 fi 2620 fi 2621 STRIP=$ac_cv_prog_STRIP 2622 if test -n "$STRIP"; then 2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2624 $as_echo "$STRIP" >&6; } 2625 else 2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2627 $as_echo "no" >&6; } 2628 fi 2629 2630 2631 fi 2632 if 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. 2635 set 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; } 2638 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2639 $as_echo_n "(cached) " >&6 2640 else 2641 if test -n "$ac_ct_STRIP"; then 2642 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2643 else 2644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2645 for as_dir in $PATH 2646 do 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 2655 done 2656 done 2657 IFS=$as_save_IFS 2658 2659 fi 2660 fi 2661 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2662 if 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; } 2665 else 2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2667 $as_echo "no" >&6; } 2668 fi 2669 2670 if test "x$ac_ct_STRIP" = x; then 2671 STRIP=":" 2672 else 2673 case $cross_compiling:$ac_tool_warned in 2674 yes:) 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;} 2677 ac_tool_warned=yes ;; 2678 esac 2679 STRIP=$ac_ct_STRIP 2680 fi 2681 else 2682 STRIP="$ac_cv_prog_STRIP" 2683 fi 2684 2685 fi 2686 INSTALL_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; } 2690 if test -z "$MKDIR_P"; then 2691 if ${ac_cv_path_mkdir+:} false; then : 2692 $as_echo_n "(cached) " >&6 2693 else 2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2695 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2696 do 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 2712 IFS=$as_save_IFS 2713 2714 fi 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 2726 fi 2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2728 $as_echo "$MKDIR_P" >&6; } 2729 2730 for ac_prog in gawk mawk nawk awk 2731 do 2732 # Extract the first word of "$ac_prog", so it can be a program name with args. 2733 set 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; } 2736 if ${ac_cv_prog_AWK+:} false; then : 2737 $as_echo_n "(cached) " >&6 2738 else 2739 if test -n "$AWK"; then 2740 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2741 else 2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2743 for as_dir in $PATH 2744 do 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 2753 done 2754 done 2755 IFS=$as_save_IFS 2756 2757 fi 2758 fi 2759 AWK=$ac_cv_prog_AWK 2760 if test -n "$AWK"; then 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2762 $as_echo "$AWK" >&6; } 2763 else 2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2765 $as_echo "no" >&6; } 2766 fi 2767 2768 2769 test -n "$AWK" && break 2770 done 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; } 2774 set x ${MAKE-make} 2775 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2776 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2777 $as_echo_n "(cached) " >&6 2778 else 2779 cat >conftest.make <<\_ACEOF 2780 SHELL = /bin/sh 2781 all: 2782 @echo '@@@%%%=$(MAKE)=@@@%%%' 2783 _ACEOF 2784 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2785 case `${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;; 2790 esac 2791 rm -f conftest.make 2792 fi 2793 if 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= 2797 else 2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2799 $as_echo "no" >&6; } 2800 SET_MAKE="MAKE=${MAKE-make}" 2801 fi 2802 2803 rm -rf .tst 2>/dev/null 2804 mkdir .tst 2>/dev/null 2805 if test -d .tst; then 2806 am__leading_dot=. 2807 else 2808 am__leading_dot=_ 2809 fi 2810 rmdir .tst 2>/dev/null 2811 2812 # Check whether --enable-silent-rules was given. 2813 if test "${enable_silent_rules+set}" = set; then : 2814 enableval=$enable_silent_rules; 2815 fi 2816 2817 case $enable_silent_rules in # ((( 2818 yes) AM_DEFAULT_VERBOSITY=0;; 2819 no) AM_DEFAULT_VERBOSITY=1;; 2820 *) AM_DEFAULT_VERBOSITY=1;; 2821 esac 2822 am_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; } 2825 if ${am_cv_make_support_nested_variables+:} false; then : 2826 $as_echo_n "(cached) " >&6 2827 else 2828 if $as_echo 'TRUE=$(BAR$(V)) 2829 BAR0=false 2830 BAR1=true 2831 V=1 2832 am__doit: 2833 @$(TRUE) 2834 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2835 am_cv_make_support_nested_variables=yes 2836 else 2837 am_cv_make_support_nested_variables=no 2838 fi 2839 fi 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; } 2842 if test $am_cv_make_support_nested_variables = yes; then 2843 AM_V='$(V)' 2844 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2845 else 2846 AM_V=$AM_DEFAULT_VERBOSITY 2847 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2848 fi 2849 AM_BACKSLASH='\' 2850 2851 if 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 2859 fi 2860 2861 # test whether we have cygpath 2862 if 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 2868 fi 2869 2870 2871 # Define the identity of the package. 2872 PACKAGE='elfutils' 2873 VERSION='0.161' 2874 2875 2876 cat >>confdefs.h <<_ACEOF 2877 #define PACKAGE "$PACKAGE" 2878 _ACEOF 2879 2880 2881 cat >>confdefs.h <<_ACEOF 2882 #define VERSION "$VERSION" 2883 _ACEOF 2884 2885 # Some tools Automake needs. 2886 2887 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2888 2889 2890 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2891 2892 2893 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2894 2895 2896 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2897 2898 2899 MAKEINFO=${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> 2905 mkdir_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 ... 2911 AMTAR='$${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 2917 am__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. 2932 if rm -f && rm -fr && rm -rf; then : OK; else 2933 cat >&2 <<'END' 2934 Oops! 2935 2936 Your 'rm' program seems unable to run without file operands specified 2937 on the command line, even when the '-f' option is present. This is contrary 2938 to the behaviour of most rm programs out there, and not conforming with 2939 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2940 2941 Please tell bug-automake@gnu.org about your system, including the value 2942 of your $PATH and any error possibly output before this message. This 2943 can help us improve future automake versions. 2944 2945 END 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' 2952 Aborting the configuration process, to ensure you take notice of the issue. 2953 2954 You can download and install GNU coreutils to get an 'rm' implementation 2955 that behaves properly: <http://www.gnu.org/software/coreutils/>. 2956 2957 If you want to complete the configuration process using your problematic 2958 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2959 to "yes", and re-run configure. 2960 2961 END 2962 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2963 fi 2964 fi 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. 2969 if test "${enable_maintainer_mode+set}" = set; then : 2970 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2971 else 2972 USE_MAINTAINER_MODE=no 2973 fi 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='#' 2980 else 2981 MAINTAINER_MODE_TRUE='#' 2982 MAINTAINER_MODE_FALSE= 2983 fi 2984 2985 MAINT=$MAINTAINER_MODE_TRUE 2986 2987 2988 2989 MODVERSION="Build on $(hostname) $(date +%FT%R:%S%z)" 2990 2991 cat >>confdefs.h <<_ACEOF 2992 #define MODVERSION "$MODVERSION" 2993 _ACEOF 2994 2995 2996 2997 2998 ac_config_files="$ac_config_files Makefile" 2999 3000 ac_config_headers="$ac_config_headers config.h" 3001 3002 3003 3004 ac_config_files="$ac_config_files m4/Makefile" 3005 3006 3007 ac_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; } 3017 if ${ac_cv_build+:} false; then : 3018 $as_echo_n "(cached) " >&6 3019 else 3020 ac_build_alias=$build_alias 3021 test "x$ac_build_alias" = x && 3022 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3023 test "x$ac_build_alias" = x && 3024 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3025 ac_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 3028 fi 3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3030 $as_echo "$ac_cv_build" >&6; } 3031 case $ac_cv_build in 3032 *-*-*) ;; 3033 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3034 esac 3035 build=$ac_cv_build 3036 ac_save_IFS=$IFS; IFS='-' 3037 set x $ac_cv_build 3038 shift 3039 build_cpu=$1 3040 build_vendor=$2 3041 shift; shift 3042 # Remember, the first character of IFS is used to create $*, 3043 # except with old shells: 3044 build_os=$* 3045 IFS=$ac_save_IFS 3046 case $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; } 3051 if ${ac_cv_host+:} false; then : 3052 $as_echo_n "(cached) " >&6 3053 else 3054 if test "x$host_alias" = x; then 3055 ac_cv_host=$ac_cv_build 3056 else 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 3059 fi 3060 3061 fi 3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3063 $as_echo "$ac_cv_host" >&6; } 3064 case $ac_cv_host in 3065 *-*-*) ;; 3066 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3067 esac 3068 host=$ac_cv_host 3069 ac_save_IFS=$IFS; IFS='-' 3070 set x $ac_cv_host 3071 shift 3072 host_cpu=$1 3073 host_vendor=$2 3074 shift; shift 3075 # Remember, the first character of IFS is used to create $*, 3076 # except with old shells: 3077 host_os=$* 3078 IFS=$ac_save_IFS 3079 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3080 3081 3082 3083 # Check whether --enable-deterministic-archives was given. 3084 if test "${enable_deterministic_archives+set}" = set; then : 3085 enableval=$enable_deterministic_archives; 3086 if test "${enableval}" = no; then 3087 default_ar_deterministic=false 3088 else 3089 default_ar_deterministic=true 3090 fi 3091 else 3092 default_ar_deterministic=false 3093 fi 3094 3095 3096 cat >>confdefs.h <<_ACEOF 3097 #define DEFAULT_AR_DETERMINISTIC $default_ar_deterministic 3098 _ACEOF 3099 3100 3101 # Check whether --enable-thread-safety was given. 3102 if test "${enable_thread_safety+set}" = set; then : 3103 enableval=$enable_thread_safety; use_locks=$enableval 3104 else 3105 use_locks=no 3106 fi 3107 3108 if test "$use_locks" = yes; then 3109 USE_LOCKS_TRUE= 3110 USE_LOCKS_FALSE='#' 3111 else 3112 USE_LOCKS_TRUE='#' 3113 USE_LOCKS_FALSE= 3114 fi 3115 3116 if test "$use_locks" = yes; then : 3117 $as_echo "#define USE_LOCKS 1" >>confdefs.h 3118 3119 fi 3120 if 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;} 3123 fi 3124 3125 3126 3127 ac_ext=c 3128 ac_cpp='$CPP $CPPFLAGS' 3129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3131 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3132 if 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. 3134 set 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; } 3137 if ${ac_cv_prog_CC+:} false; then : 3138 $as_echo_n "(cached) " >&6 3139 else 3140 if test -n "$CC"; then 3141 ac_cv_prog_CC="$CC" # Let the user override the test. 3142 else 3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3144 for as_dir in $PATH 3145 do 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 3154 done 3155 done 3156 IFS=$as_save_IFS 3157 3158 fi 3159 fi 3160 CC=$ac_cv_prog_CC 3161 if test -n "$CC"; then 3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3163 $as_echo "$CC" >&6; } 3164 else 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3166 $as_echo "no" >&6; } 3167 fi 3168 3169 3170 fi 3171 if 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. 3174 set 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; } 3177 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3178 $as_echo_n "(cached) " >&6 3179 else 3180 if test -n "$ac_ct_CC"; then 3181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3182 else 3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3184 for as_dir in $PATH 3185 do 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 3194 done 3195 done 3196 IFS=$as_save_IFS 3197 3198 fi 3199 fi 3200 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3201 if 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; } 3204 else 3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3206 $as_echo "no" >&6; } 3207 fi 3208 3209 if test "x$ac_ct_CC" = x; then 3210 CC="" 3211 else 3212 case $cross_compiling:$ac_tool_warned in 3213 yes:) 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;} 3216 ac_tool_warned=yes ;; 3217 esac 3218 CC=$ac_ct_CC 3219 fi 3220 else 3221 CC="$ac_cv_prog_CC" 3222 fi 3223 3224 if 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. 3227 set 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; } 3230 if ${ac_cv_prog_CC+:} false; then : 3231 $as_echo_n "(cached) " >&6 3232 else 3233 if test -n "$CC"; then 3234 ac_cv_prog_CC="$CC" # Let the user override the test. 3235 else 3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3237 for as_dir in $PATH 3238 do 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 3247 done 3248 done 3249 IFS=$as_save_IFS 3250 3251 fi 3252 fi 3253 CC=$ac_cv_prog_CC 3254 if test -n "$CC"; then 3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3256 $as_echo "$CC" >&6; } 3257 else 3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3259 $as_echo "no" >&6; } 3260 fi 3261 3262 3263 fi 3264 fi 3265 if test -z "$CC"; then 3266 # Extract the first word of "cc", so it can be a program name with args. 3267 set 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; } 3270 if ${ac_cv_prog_CC+:} false; then : 3271 $as_echo_n "(cached) " >&6 3272 else 3273 if test -n "$CC"; then 3274 ac_cv_prog_CC="$CC" # Let the user override the test. 3275 else 3276 ac_prog_rejected=no 3277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3278 for as_dir in $PATH 3279 do 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 3292 done 3293 done 3294 IFS=$as_save_IFS 3295 3296 if 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 3307 fi 3308 fi 3309 fi 3310 CC=$ac_cv_prog_CC 3311 if test -n "$CC"; then 3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3313 $as_echo "$CC" >&6; } 3314 else 3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3316 $as_echo "no" >&6; } 3317 fi 3318 3319 3320 fi 3321 if 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. 3326 set 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; } 3329 if ${ac_cv_prog_CC+:} false; then : 3330 $as_echo_n "(cached) " >&6 3331 else 3332 if test -n "$CC"; then 3333 ac_cv_prog_CC="$CC" # Let the user override the test. 3334 else 3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3336 for as_dir in $PATH 3337 do 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 3346 done 3347 done 3348 IFS=$as_save_IFS 3349 3350 fi 3351 fi 3352 CC=$ac_cv_prog_CC 3353 if test -n "$CC"; then 3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3355 $as_echo "$CC" >&6; } 3356 else 3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3358 $as_echo "no" >&6; } 3359 fi 3360 3361 3362 test -n "$CC" && break 3363 done 3364 fi 3365 if test -z "$CC"; then 3366 ac_ct_CC=$CC 3367 for ac_prog in cl.exe 3368 do 3369 # Extract the first word of "$ac_prog", so it can be a program name with args. 3370 set 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; } 3373 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3374 $as_echo_n "(cached) " >&6 3375 else 3376 if test -n "$ac_ct_CC"; then 3377 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3378 else 3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3380 for as_dir in $PATH 3381 do 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 3390 done 3391 done 3392 IFS=$as_save_IFS 3393 3394 fi 3395 fi 3396 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3397 if 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; } 3400 else 3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3402 $as_echo "no" >&6; } 3403 fi 3404 3405 3406 test -n "$ac_ct_CC" && break 3407 done 3408 3409 if test "x$ac_ct_CC" = x; then 3410 CC="" 3411 else 3412 case $cross_compiling:$ac_tool_warned in 3413 yes:) 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;} 3416 ac_tool_warned=yes ;; 3417 esac 3418 CC=$ac_ct_CC 3419 fi 3420 fi 3421 3422 fi 3423 3424 3425 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3427 as_fn_error $? "no acceptable C compiler found in \$PATH 3428 See \`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 3432 set X $ac_compile 3433 ac_compiler=$2 3434 for ac_option in --version -v -V -qversion; do 3435 { { ac_try="$ac_compiler $ac_option >&5" 3436 case "(($ac_try" in 3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3438 *) ac_try_echo=$ac_try;; 3439 esac 3440 eval 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; } 3453 done 3454 3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3456 /* end confdefs.h. */ 3457 3458 int 3459 main () 3460 { 3461 3462 ; 3463 return 0; 3464 } 3465 _ACEOF 3466 ac_clean_files_save=$ac_clean_files 3467 ac_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; } 3473 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3474 3475 # The possible output files: 3476 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3477 3478 ac_rmfiles= 3479 for ac_file in $ac_files 3480 do 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 3485 done 3486 rm -f $ac_rmfiles 3487 3488 if { { ac_try="$ac_link_default" 3489 case "(($ac_try" in 3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3491 *) ac_try_echo=$ac_try;; 3492 esac 3493 eval 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. 3504 for ac_file in $ac_files '' 3505 do 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 3528 done 3529 test "$ac_cv_exeext" = no && ac_cv_exeext= 3530 3531 else 3532 ac_file='' 3533 fi 3534 if 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 3538 sed '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;} 3542 as_fn_error 77 "C compiler cannot create executables 3543 See \`config.log' for more details" "$LINENO" 5; } 3544 else 3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3546 $as_echo "yes" >&6; } 3547 fi 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; } 3552 ac_exeext=$ac_cv_exeext 3553 3554 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3555 ac_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; } 3558 if { { ac_try="$ac_link" 3559 case "(($ac_try" in 3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3561 *) ac_try_echo=$ac_try;; 3562 esac 3563 eval 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'. 3573 for 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 3581 done 3582 else 3583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3585 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3586 See \`config.log' for more details" "$LINENO" 5; } 3587 fi 3588 rm -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 3592 rm -f conftest.$ac_ext 3593 EXEEXT=$ac_cv_exeext 3594 ac_exeext=$EXEEXT 3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3596 /* end confdefs.h. */ 3597 #include <stdio.h> 3598 int 3599 main () 3600 { 3601 FILE *f = fopen ("conftest.out", "w"); 3602 return ferror (f) || fclose (f) != 0; 3603 3604 ; 3605 return 0; 3606 } 3607 _ACEOF 3608 ac_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; } 3613 if test "$cross_compiling" != yes; then 3614 { { ac_try="$ac_link" 3615 case "(($ac_try" in 3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3617 *) ac_try_echo=$ac_try;; 3618 esac 3619 eval 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;; 3629 esac 3630 eval 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;} 3643 as_fn_error $? "cannot run C compiled programs. 3644 If you meant to cross compile, use \`--host'. 3645 See \`config.log' for more details" "$LINENO" 5; } 3646 fi 3647 fi 3648 fi 3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3650 $as_echo "$cross_compiling" >&6; } 3651 3652 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3653 ac_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; } 3656 if ${ac_cv_objext+:} false; then : 3657 $as_echo_n "(cached) " >&6 3658 else 3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3660 /* end confdefs.h. */ 3661 3662 int 3663 main () 3664 { 3665 3666 ; 3667 return 0; 3668 } 3669 _ACEOF 3670 rm -f conftest.o conftest.obj 3671 if { { ac_try="$ac_compile" 3672 case "(($ac_try" in 3673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3674 *) ac_try_echo=$ac_try;; 3675 esac 3676 eval 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 3689 done 3690 else 3691 $as_echo "$as_me: failed program was:" >&5 3692 sed '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;} 3696 as_fn_error $? "cannot compute suffix of object files: cannot compile 3697 See \`config.log' for more details" "$LINENO" 5; } 3698 fi 3699 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3700 fi 3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3702 $as_echo "$ac_cv_objext" >&6; } 3703 OBJEXT=$ac_cv_objext 3704 ac_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; } 3707 if ${ac_cv_c_compiler_gnu+:} false; then : 3708 $as_echo_n "(cached) " >&6 3709 else 3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3711 /* end confdefs.h. */ 3712 3713 int 3714 main () 3715 { 3716 #ifndef __GNUC__ 3717 choke me 3718 #endif 3719 3720 ; 3721 return 0; 3722 } 3723 _ACEOF 3724 if ac_fn_c_try_compile "$LINENO"; then : 3725 ac_compiler_gnu=yes 3726 else 3727 ac_compiler_gnu=no 3728 fi 3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3730 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3731 3732 fi 3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3734 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3735 if test $ac_compiler_gnu = yes; then 3736 GCC=yes 3737 else 3738 GCC= 3739 fi 3740 ac_test_CFLAGS=${CFLAGS+set} 3741 ac_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; } 3744 if ${ac_cv_prog_cc_g+:} false; then : 3745 $as_echo_n "(cached) " >&6 3746 else 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 3754 int 3755 main () 3756 { 3757 3758 ; 3759 re