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 return 0; 3760 } 3761 _ACEOF 3762 if ac_fn_c_try_compile "$LINENO"; then : 3763 ac_cv_prog_cc_g=yes 3764 else 3765 CFLAGS="" 3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3767 /* end confdefs.h. */ 3768 3769 int 3770 main () 3771 { 3772 3773 ; 3774 return 0; 3775 } 3776 _ACEOF 3777 if ac_fn_c_try_compile "$LINENO"; then : 3778 3779 else 3780 ac_c_werror_flag=$ac_save_c_werror_flag 3781 CFLAGS="-g" 3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3783 /* end confdefs.h. */ 3784 3785 int 3786 main () 3787 { 3788 3789 ; 3790 return 0; 3791 } 3792 _ACEOF 3793 if ac_fn_c_try_compile "$LINENO"; then : 3794 ac_cv_prog_cc_g=yes 3795 fi 3796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3797 fi 3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3799 fi 3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3801 ac_c_werror_flag=$ac_save_c_werror_flag 3802 fi 3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3804 $as_echo "$ac_cv_prog_cc_g" >&6; } 3805 if test "$ac_test_CFLAGS" = set; then 3806 CFLAGS=$ac_save_CFLAGS 3807 elif test $ac_cv_prog_cc_g = yes; then 3808 if test "$GCC" = yes; then 3809 CFLAGS="-g -O2" 3810 else 3811 CFLAGS="-g" 3812 fi 3813 else 3814 if test "$GCC" = yes; then 3815 CFLAGS="-O2" 3816 else 3817 CFLAGS= 3818 fi 3819 fi 3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3821 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3822 if ${ac_cv_prog_cc_c89+:} false; then : 3823 $as_echo_n "(cached) " >&6 3824 else 3825 ac_cv_prog_cc_c89=no 3826 ac_save_CC=$CC 3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3828 /* end confdefs.h. */ 3829 #include <stdarg.h> 3830 #include <stdio.h> 3831 struct stat; 3832 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3833 struct buf { int x; }; 3834 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3835 static char *e (p, i) 3836 char **p; 3837 int i; 3838 { 3839 return p[i]; 3840 } 3841 static char *f (char * (*g) (char **, int), char **p, ...) 3842 { 3843 char *s; 3844 va_list v; 3845 va_start (v,p); 3846 s = g (p, va_arg (v,int)); 3847 va_end (v); 3848 return s; 3849 } 3850 3851 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3852 function prototypes and stuff, but not '\xHH' hex character constants. 3853 These don't provoke an error unfortunately, instead are silently treated 3854 as 'x'. The following induces an error, until -std is added to get 3855 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3856 array size at least. It's necessary to write '\x00'==0 to get something 3857 that's true only with -std. */ 3858 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3859 3860 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3861 inside strings and character constants. */ 3862 #define FOO(x) 'x' 3863 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3864 3865 int test (int i, double x); 3866 struct s1 {int (*f) (int a);}; 3867 struct s2 {int (*f) (double a);}; 3868 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3869 int argc; 3870 char **argv; 3871 int 3872 main () 3873 { 3874 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3875 ; 3876 return 0; 3877 } 3878 _ACEOF 3879 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3880 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3881 do 3882 CC="$ac_save_CC $ac_arg" 3883 if ac_fn_c_try_compile "$LINENO"; then : 3884 ac_cv_prog_cc_c89=$ac_arg 3885 fi 3886 rm -f core conftest.err conftest.$ac_objext 3887 test "x$ac_cv_prog_cc_c89" != "xno" && break 3888 done 3889 rm -f conftest.$ac_ext 3890 CC=$ac_save_CC 3891 3892 fi 3893 # AC_CACHE_VAL 3894 case "x$ac_cv_prog_cc_c89" in 3895 x) 3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3897 $as_echo "none needed" >&6; } ;; 3898 xno) 3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3900 $as_echo "unsupported" >&6; } ;; 3901 *) 3902 CC="$CC $ac_cv_prog_cc_c89" 3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3904 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3905 esac 3906 if test "x$ac_cv_prog_cc_c89" != xno; then : 3907 3908 fi 3909 3910 ac_ext=c 3911 ac_cpp='$CPP $CPPFLAGS' 3912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3914 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3915 3916 ac_ext=c 3917 ac_cpp='$CPP $CPPFLAGS' 3918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3920 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3922 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3923 if ${am_cv_prog_cc_c_o+:} false; then : 3924 $as_echo_n "(cached) " >&6 3925 else 3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3927 /* end confdefs.h. */ 3928 3929 int 3930 main () 3931 { 3932 3933 ; 3934 return 0; 3935 } 3936 _ACEOF 3937 # Make sure it works both with $CC and with simple cc. 3938 # Following AC_PROG_CC_C_O, we do the test twice because some 3939 # compilers refuse to overwrite an existing .o file with -o, 3940 # though they will create one. 3941 am_cv_prog_cc_c_o=yes 3942 for am_i in 1 2; do 3943 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3944 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3945 ac_status=$? 3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3947 (exit $ac_status); } \ 3948 && test -f conftest2.$ac_objext; then 3949 : OK 3950 else 3951 am_cv_prog_cc_c_o=no 3952 break 3953 fi 3954 done 3955 rm -f core conftest* 3956 unset am_i 3957 fi 3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3959 $as_echo "$am_cv_prog_cc_c_o" >&6; } 3960 if test "$am_cv_prog_cc_c_o" != yes; then 3961 # Losing compiler, so override with the script. 3962 # FIXME: It is wrong to rewrite CC. 3963 # But if we don't then we get into trouble of one sort or another. 3964 # A longer-term fix would be to have automake use am__CC in this case, 3965 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3966 CC="$am_aux_dir/compile $CC" 3967 fi 3968 ac_ext=c 3969 ac_cpp='$CPP $CPPFLAGS' 3970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3972 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3973 3974 DEPDIR="${am__leading_dot}deps" 3975 3976 ac_config_commands="$ac_config_commands depfiles" 3977 3978 3979 am_make=${MAKE-make} 3980 cat > confinc << 'END' 3981 am__doit: 3982 @echo this is the am__doit target 3983 .PHONY: am__doit 3984 END 3985 # If we don't find an include directive, just comment out the code. 3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3987 $as_echo_n "checking for style of include used by $am_make... " >&6; } 3988 am__include="#" 3989 am__quote= 3990 _am_result=none 3991 # First try GNU make style include. 3992 echo "include confinc" > confmf 3993 # Ignore all kinds of additional output from 'make'. 3994 case `$am_make -s -f confmf 2> /dev/null` in #( 3995 *the\ am__doit\ target*) 3996 am__include=include 3997 am__quote= 3998 _am_result=GNU 3999 ;; 4000 esac 4001 # Now try BSD make style include. 4002 if test "$am__include" = "#"; then 4003 echo '.include "confinc"' > confmf 4004 case `$am_make -s -f confmf 2> /dev/null` in #( 4005 *the\ am__doit\ target*) 4006 am__include=.include 4007 am__quote="\"" 4008 _am_result=BSD 4009 ;; 4010 esac 4011 fi 4012 4013 4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4015 $as_echo "$_am_result" >&6; } 4016 rm -f confinc confmf 4017 4018 # Check whether --enable-dependency-tracking was given. 4019 if test "${enable_dependency_tracking+set}" = set; then : 4020 enableval=$enable_dependency_tracking; 4021 fi 4022 4023 if test "x$enable_dependency_tracking" != xno; then 4024 am_depcomp="$ac_aux_dir/depcomp" 4025 AMDEPBACKSLASH='\' 4026 am__nodep='_no' 4027 fi 4028 if test "x$enable_dependency_tracking" != xno; then 4029 AMDEP_TRUE= 4030 AMDEP_FALSE='#' 4031 else 4032 AMDEP_TRUE='#' 4033 AMDEP_FALSE= 4034 fi 4035 4036 4037 4038 depcc="$CC" am_compiler_list= 4039 4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4041 $as_echo_n "checking dependency style of $depcc... " >&6; } 4042 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4043 $as_echo_n "(cached) " >&6 4044 else 4045 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4046 # We make a subdir and do the tests there. Otherwise we can end up 4047 # making bogus files that we don't know about and never remove. For 4048 # instance it was reported that on HP-UX the gcc test will end up 4049 # making a dummy file named 'D' -- because '-MD' means "put the output 4050 # in D". 4051 rm -rf conftest.dir 4052 mkdir conftest.dir 4053 # Copy depcomp to subdir because otherwise we won't find it if we're 4054 # using a relative directory. 4055 cp "$am_depcomp" conftest.dir 4056 cd conftest.dir 4057 # We will build objects and dependencies in a subdirectory because 4058 # it helps to detect inapplicable dependency modes. For instance 4059 # both Tru64's cc and ICC support -MD to output dependencies as a 4060 # side effect of compilation, but ICC will put the dependencies in 4061 # the current directory while Tru64 will put them in the object 4062 # directory. 4063 mkdir sub 4064 4065 am_cv_CC_dependencies_compiler_type=none 4066 if test "$am_compiler_list" = ""; then 4067 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4068 fi 4069 am__universal=false 4070 case " $depcc " in #( 4071 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4072 esac 4073 4074 for depmode in $am_compiler_list; do 4075 # Setup a source with many dependencies, because some compilers 4076 # like to wrap large dependency lists on column 80 (with \), and 4077 # we should not choose a depcomp mode which is confused by this. 4078 # 4079 # We need to recreate these files for each test, as the compiler may 4080 # overwrite some of them when testing with obscure command lines. 4081 # This happens at least with the AIX C compiler. 4082 : > sub/conftest.c 4083 for i in 1 2 3 4 5 6; do 4084 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4085 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4086 # Solaris 10 /bin/sh. 4087 echo '/* dummy */' > sub/conftst$i.h 4088 done 4089 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4090 4091 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4092 # mode. It turns out that the SunPro C++ compiler does not properly 4093 # handle '-M -o', and we need to detect this. Also, some Intel 4094 # versions had trouble with output in subdirs. 4095 am__obj=sub/conftest.${OBJEXT-o} 4096 am__minus_obj="-o $am__obj" 4097 case $depmode in 4098 gcc) 4099 # This depmode causes a compiler race in universal mode. 4100 test "$am__universal" = false || continue 4101 ;; 4102 nosideeffect) 4103 # After this tag, mechanisms are not by side-effect, so they'll 4104 # only be used when explicitly requested. 4105 if test "x$enable_dependency_tracking" = xyes; then 4106 continue 4107 else 4108 break 4109 fi 4110 ;; 4111 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4112 # This compiler won't grok '-c -o', but also, the minuso test has 4113 # not run yet. These depmodes are late enough in the game, and 4114 # so weak that their functioning should not be impacted. 4115 am__obj=conftest.${OBJEXT-o} 4116 am__minus_obj= 4117 ;; 4118 none) break ;; 4119 esac 4120 if depmode=$depmode \ 4121 source=sub/conftest.c object=$am__obj \ 4122 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4123 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4124 >/dev/null 2>conftest.err && 4125 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4126 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4127 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4128 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4129 # icc doesn't choke on unknown options, it will just issue warnings 4130 # or remarks (even with -Werror). So we grep stderr for any message 4131 # that says an option was ignored or not supported. 4132 # When given -MP, icc 7.0 and 7.1 complain thusly: 4133 # icc: Command line warning: ignoring option '-M'; no argument required 4134 # The diagnosis changed in icc 8.0: 4135 # icc: Command line remark: option '-MP' not supported 4136 if (grep 'ignoring option' conftest.err || 4137 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4138 am_cv_CC_dependencies_compiler_type=$depmode 4139 break 4140 fi 4141 fi 4142 done 4143 4144 cd .. 4145 rm -rf conftest.dir 4146 else 4147 am_cv_CC_dependencies_compiler_type=none 4148 fi 4149 4150 fi 4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4152 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4153 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4154 4155 if 4156 test "x$enable_dependency_tracking" != xno \ 4157 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4158 am__fastdepCC_TRUE= 4159 am__fastdepCC_FALSE='#' 4160 else 4161 am__fastdepCC_TRUE='#' 4162 am__fastdepCC_FALSE= 4163 fi 4164 4165 4166 if test -n "$ac_tool_prefix"; then 4167 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4168 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4170 $as_echo_n "checking for $ac_word... " >&6; } 4171 if ${ac_cv_prog_RANLIB+:} false; then : 4172 $as_echo_n "(cached) " >&6 4173 else 4174 if test -n "$RANLIB"; then 4175 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4176 else 4177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4178 for as_dir in $PATH 4179 do 4180 IFS=$as_save_IFS 4181 test -z "$as_dir" && as_dir=. 4182 for ac_exec_ext in '' $ac_executable_extensions; do 4183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4184 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4186 break 2 4187 fi 4188 done 4189 done 4190 IFS=$as_save_IFS 4191 4192 fi 4193 fi 4194 RANLIB=$ac_cv_prog_RANLIB 4195 if test -n "$RANLIB"; then 4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4197 $as_echo "$RANLIB" >&6; } 4198 else 4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4200 $as_echo "no" >&6; } 4201 fi 4202 4203 4204 fi 4205 if test -z "$ac_cv_prog_RANLIB"; then 4206 ac_ct_RANLIB=$RANLIB 4207 # Extract the first word of "ranlib", so it can be a program name with args. 4208 set dummy ranlib; ac_word=$2 4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4210 $as_echo_n "checking for $ac_word... " >&6; } 4211 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4212 $as_echo_n "(cached) " >&6 4213 else 4214 if test -n "$ac_ct_RANLIB"; then 4215 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4216 else 4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4218 for as_dir in $PATH 4219 do 4220 IFS=$as_save_IFS 4221 test -z "$as_dir" && as_dir=. 4222 for ac_exec_ext in '' $ac_executable_extensions; do 4223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4224 ac_cv_prog_ac_ct_RANLIB="ranlib" 4225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4226 break 2 4227 fi 4228 done 4229 done 4230 IFS=$as_save_IFS 4231 4232 fi 4233 fi 4234 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4235 if test -n "$ac_ct_RANLIB"; then 4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4237 $as_echo "$ac_ct_RANLIB" >&6; } 4238 else 4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4240 $as_echo "no" >&6; } 4241 fi 4242 4243 if test "x$ac_ct_RANLIB" = x; then 4244 RANLIB=":" 4245 else 4246 case $cross_compiling:$ac_tool_warned in 4247 yes:) 4248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4250 ac_tool_warned=yes ;; 4251 esac 4252 RANLIB=$ac_ct_RANLIB 4253 fi 4254 else 4255 RANLIB="$ac_cv_prog_RANLIB" 4256 fi 4257 4258 for ac_prog in 'bison -y' byacc 4259 do 4260 # Extract the first word of "$ac_prog", so it can be a program name with args. 4261 set dummy $ac_prog; ac_word=$2 4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4263 $as_echo_n "checking for $ac_word... " >&6; } 4264 if ${ac_cv_prog_YACC+:} false; then : 4265 $as_echo_n "(cached) " >&6 4266 else 4267 if test -n "$YACC"; then 4268 ac_cv_prog_YACC="$YACC" # Let the user override the test. 4269 else 4270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4271 for as_dir in $PATH 4272 do 4273 IFS=$as_save_IFS 4274 test -z "$as_dir" && as_dir=. 4275 for ac_exec_ext in '' $ac_executable_extensions; do 4276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4277 ac_cv_prog_YACC="$ac_prog" 4278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4279 break 2 4280 fi 4281 done 4282 done 4283 IFS=$as_save_IFS 4284 4285 fi 4286 fi 4287 YACC=$ac_cv_prog_YACC 4288 if test -n "$YACC"; then 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 4290 $as_echo "$YACC" >&6; } 4291 else 4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4293 $as_echo "no" >&6; } 4294 fi 4295 4296 4297 test -n "$YACC" && break 4298 done 4299 test -n "$YACC" || YACC="yacc" 4300 4301 4302 for ac_prog in flex lex 4303 do 4304 # Extract the first word of "$ac_prog", so it can be a program name with args. 4305 set dummy $ac_prog; ac_word=$2 4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4307 $as_echo_n "checking for $ac_word... " >&6; } 4308 if ${ac_cv_prog_LEX+:} false; then : 4309 $as_echo_n "(cached) " >&6 4310 else 4311 if test -n "$LEX"; then 4312 ac_cv_prog_LEX="$LEX" # Let the user override the test. 4313 else 4314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4315 for as_dir in $PATH 4316 do 4317 IFS=$as_save_IFS 4318 test -z "$as_dir" && as_dir=. 4319 for ac_exec_ext in '' $ac_executable_extensions; do 4320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4321 ac_cv_prog_LEX="$ac_prog" 4322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4323 break 2 4324 fi 4325 done 4326 done 4327 IFS=$as_save_IFS 4328 4329 fi 4330 fi 4331 LEX=$ac_cv_prog_LEX 4332 if test -n "$LEX"; then 4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 4334 $as_echo "$LEX" >&6; } 4335 else 4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4337 $as_echo "no" >&6; } 4338 fi 4339 4340 4341 test -n "$LEX" && break 4342 done 4343 test -n "$LEX" || LEX=":" 4344 4345 if test "x$LEX" != "x:"; then 4346 cat >conftest.l <<_ACEOF 4347 %% 4348 a { ECHO; } 4349 b { REJECT; } 4350 c { yymore (); } 4351 d { yyless (1); } 4352 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ 4353 yyless ((input () != 0)); } 4354 f { unput (yytext[0]); } 4355 . { BEGIN INITIAL; } 4356 %% 4357 #ifdef YYTEXT_POINTER 4358 extern char *yytext; 4359 #endif 4360 int 4361 main (void) 4362 { 4363 return ! yylex () + ! yywrap (); 4364 } 4365 _ACEOF 4366 { { ac_try="$LEX conftest.l" 4367 case "(($ac_try" in 4368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4369 *) ac_try_echo=$ac_try;; 4370 esac 4371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4372 $as_echo "$ac_try_echo"; } >&5 4373 (eval "$LEX conftest.l") 2>&5 4374 ac_status=$? 4375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4376 test $ac_status = 0; } 4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 4378 $as_echo_n "checking lex output file root... " >&6; } 4379 if ${ac_cv_prog_lex_root+:} false; then : 4380 $as_echo_n "(cached) " >&6 4381 else 4382 4383 if test -f lex.yy.c; then 4384 ac_cv_prog_lex_root=lex.yy 4385 elif test -f lexyy.c; then 4386 ac_cv_prog_lex_root=lexyy 4387 else 4388 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 4389 fi 4390 fi 4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 4392 $as_echo "$ac_cv_prog_lex_root" >&6; } 4393 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 4394 4395 if test -z "${LEXLIB+set}"; then 4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 4397 $as_echo_n "checking lex library... " >&6; } 4398 if ${ac_cv_lib_lex+:} false; then : 4399 $as_echo_n "(cached) " >&6 4400 else 4401 4402 ac_save_LIBS=$LIBS 4403 ac_cv_lib_lex='none needed' 4404 for ac_lib in '' -lfl -ll; do 4405 LIBS="$ac_lib $ac_save_LIBS" 4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4407 /* end confdefs.h. */ 4408 `cat $LEX_OUTPUT_ROOT.c` 4409 _ACEOF 4410 if ac_fn_c_try_link "$LINENO"; then : 4411 ac_cv_lib_lex=$ac_lib 4412 fi 4413 rm -f core conftest.err conftest.$ac_objext \ 4414 conftest$ac_exeext conftest.$ac_ext 4415 test "$ac_cv_lib_lex" != 'none needed' && break 4416 done 4417 LIBS=$ac_save_LIBS 4418 4419 fi 4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 4421 $as_echo "$ac_cv_lib_lex" >&6; } 4422 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 4423 fi 4424 4425 4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 4427 $as_echo_n "checking whether yytext is a pointer... " >&6; } 4428 if ${ac_cv_prog_lex_yytext_pointer+:} false; then : 4429 $as_echo_n "(cached) " >&6 4430 else 4431 # POSIX says lex can declare yytext either as a pointer or an array; the 4432 # default is implementation-dependent. Figure out which it is, since 4433 # not all implementations provide the %pointer and %array declarations. 4434 ac_cv_prog_lex_yytext_pointer=no 4435 ac_save_LIBS=$LIBS 4436 LIBS="$LEXLIB $ac_save_LIBS" 4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4438 /* end confdefs.h. */ 4439 4440 #define YYTEXT_POINTER 1 4441 `cat $LEX_OUTPUT_ROOT.c` 4442 _ACEOF 4443 if ac_fn_c_try_link "$LINENO"; then : 4444 ac_cv_prog_lex_yytext_pointer=yes 4445 fi 4446 rm -f core conftest.err conftest.$ac_objext \ 4447 conftest$ac_exeext conftest.$ac_ext 4448 LIBS=$ac_save_LIBS 4449 4450 fi 4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 4452 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 4453 if test $ac_cv_prog_lex_yytext_pointer = yes; then 4454 4455 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 4456 4457 fi 4458 rm -f conftest.l $LEX_OUTPUT_ROOT.c 4459 4460 fi 4461 if test "$LEX" = :; then 4462 LEX=${am_missing_run}flex 4463 fi 4464 # Only available since automake 1.12 4465 if test -n "$ac_tool_prefix"; then 4466 for ac_prog in ar lib "link -lib" 4467 do 4468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4469 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4471 $as_echo_n "checking for $ac_word... " >&6; } 4472 if ${ac_cv_prog_AR+:} false; then : 4473 $as_echo_n "(cached) " >&6 4474 else 4475 if test -n "$AR"; then 4476 ac_cv_prog_AR="$AR" # Let the user override the test. 4477 else 4478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4479 for as_dir in $PATH 4480 do 4481 IFS=$as_save_IFS 4482 test -z "$as_dir" && as_dir=. 4483 for ac_exec_ext in '' $ac_executable_extensions; do 4484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4485 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 4486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4487 break 2 4488 fi 4489 done 4490 done 4491 IFS=$as_save_IFS 4492 4493 fi 4494 fi 4495 AR=$ac_cv_prog_AR 4496 if test -n "$AR"; then 4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4498 $as_echo "$AR" >&6; } 4499 else 4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4501 $as_echo "no" >&6; } 4502 fi 4503 4504 4505 test -n "$AR" && break 4506 done 4507 fi 4508 if test -z "$AR"; then 4509 ac_ct_AR=$AR 4510 for ac_prog in ar lib "link -lib" 4511 do 4512 # Extract the first word of "$ac_prog", so it can be a program name with args. 4513 set dummy $ac_prog; ac_word=$2 4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4515 $as_echo_n "checking for $ac_word... " >&6; } 4516 if ${ac_cv_prog_ac_ct_AR+:} false; then : 4517 $as_echo_n "(cached) " >&6 4518 else 4519 if test -n "$ac_ct_AR"; then 4520 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4521 else 4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4523 for as_dir in $PATH 4524 do 4525 IFS=$as_save_IFS 4526 test -z "$as_dir" && as_dir=. 4527 for ac_exec_ext in '' $ac_executable_extensions; do 4528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4529 ac_cv_prog_ac_ct_AR="$ac_prog" 4530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4531 break 2 4532 fi 4533 done 4534 done 4535 IFS=$as_save_IFS 4536 4537 fi 4538 fi 4539 ac_ct_AR=$ac_cv_prog_ac_ct_AR 4540 if test -n "$ac_ct_AR"; then 4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4542 $as_echo "$ac_ct_AR" >&6; } 4543 else 4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4545 $as_echo "no" >&6; } 4546 fi 4547 4548 4549 test -n "$ac_ct_AR" && break 4550 done 4551 4552 if test "x$ac_ct_AR" = x; then 4553 AR="false" 4554 else 4555 case $cross_compiling:$ac_tool_warned in 4556 yes:) 4557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4559 ac_tool_warned=yes ;; 4560 esac 4561 AR=$ac_ct_AR 4562 fi 4563 fi 4564 4565 : ${AR=ar} 4566 4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 4568 $as_echo_n "checking the archiver ($AR) interface... " >&6; } 4569 if ${am_cv_ar_interface+:} false; then : 4570 $as_echo_n "(cached) " >&6 4571 else 4572 ac_ext=c 4573 ac_cpp='$CPP $CPPFLAGS' 4574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4576 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4577 4578 am_cv_ar_interface=ar 4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4580 /* end confdefs.h. */ 4581 int some_variable = 0; 4582 _ACEOF 4583 if ac_fn_c_try_compile "$LINENO"; then : 4584 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 4585 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4586 (eval $am_ar_try) 2>&5 4587 ac_status=$? 4588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4589 test $ac_status = 0; } 4590 if test "$ac_status" -eq 0; then 4591 am_cv_ar_interface=ar 4592 else 4593 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 4594 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4595 (eval $am_ar_try) 2>&5 4596 ac_status=$? 4597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4598 test $ac_status = 0; } 4599 if test "$ac_status" -eq 0; then 4600 am_cv_ar_interface=lib 4601 else 4602 am_cv_ar_interface=unknown 4603 fi 4604 fi 4605 rm -f conftest.lib libconftest.a 4606 4607 fi 4608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4609 ac_ext=c 4610 ac_cpp='$CPP $CPPFLAGS' 4611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4613 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4614 4615 fi 4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 4617 $as_echo "$am_cv_ar_interface" >&6; } 4618 4619 case $am_cv_ar_interface in 4620 ar) 4621 ;; 4622 lib) 4623 # Microsoft lib, so override with the ar-lib wrapper script. 4624 # FIXME: It is wrong to rewrite AR. 4625 # But if we don't then we get into trouble of one sort or another. 4626 # A longer-term fix would be to have automake use am__AR in this case, 4627 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 4628 # similar. 4629 AR="$am_aux_dir/ar-lib $AR" 4630 ;; 4631 unknown) 4632 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 4633 ;; 4634 esac 4635 4636 if test -n "$ac_tool_prefix"; then 4637 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args. 4638 set dummy ${ac_tool_prefix}readelf; ac_word=$2 4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4640 $as_echo_n "checking for $ac_word... " >&6; } 4641 if ${ac_cv_prog_READELF+:} false; then : 4642 $as_echo_n "(cached) " >&6 4643 else 4644 if test -n "$READELF"; then 4645 ac_cv_prog_READELF="$READELF" # Let the user override the test. 4646 else 4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4648 for as_dir in $PATH 4649 do 4650 IFS=$as_save_IFS 4651 test -z "$as_dir" && as_dir=. 4652 for ac_exec_ext in '' $ac_executable_extensions; do 4653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4654 ac_cv_prog_READELF="${ac_tool_prefix}readelf" 4655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4656 break 2 4657 fi 4658 done 4659 done 4660 IFS=$as_save_IFS 4661 4662 fi 4663 fi 4664 READELF=$ac_cv_prog_READELF 4665 if test -n "$READELF"; then 4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5 4667 $as_echo "$READELF" >&6; } 4668 else 4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4670 $as_echo "no" >&6; } 4671 fi 4672 4673 4674 fi 4675 if test -z "$ac_cv_prog_READELF"; then 4676 ac_ct_READELF=$READELF 4677 # Extract the first word of "readelf", so it can be a program name with args. 4678 set dummy readelf; ac_word=$2 4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4680 $as_echo_n "checking for $ac_word... " >&6; } 4681 if ${ac_cv_prog_ac_ct_READELF+:} false; then : 4682 $as_echo_n "(cached) " >&6 4683 else 4684 if test -n "$ac_ct_READELF"; then 4685 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test. 4686 else 4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4688 for as_dir in $PATH 4689 do 4690 IFS=$as_save_IFS 4691 test -z "$as_dir" && as_dir=. 4692 for ac_exec_ext in '' $ac_executable_extensions; do 4693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4694 ac_cv_prog_ac_ct_READELF="readelf" 4695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4696 break 2 4697 fi 4698 done 4699 done 4700 IFS=$as_save_IFS 4701 4702 fi 4703 fi 4704 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF 4705 if test -n "$ac_ct_READELF"; then 4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5 4707 $as_echo "$ac_ct_READELF" >&6; } 4708 else 4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4710 $as_echo "no" >&6; } 4711 fi 4712 4713 if test "x$ac_ct_READELF" = x; then 4714 READELF="" 4715 else 4716 case $cross_compiling:$ac_tool_warned in 4717 yes:) 4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4720 ac_tool_warned=yes ;; 4721 esac 4722 READELF=$ac_ct_READELF 4723 fi 4724 else 4725 READELF="$ac_cv_prog_READELF" 4726 fi 4727 4728 if test -n "$ac_tool_prefix"; then 4729 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. 4730 set dummy ${ac_tool_prefix}nm; ac_word=$2 4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4732 $as_echo_n "checking for $ac_word... " >&6; } 4733 if ${ac_cv_prog_NM+:} false; then : 4734 $as_echo_n "(cached) " >&6 4735 else 4736 if test -n "$NM"; then 4737 ac_cv_prog_NM="$NM" # Let the user override the test. 4738 else 4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4740 for as_dir in $PATH 4741 do 4742 IFS=$as_save_IFS 4743 test -z "$as_dir" && as_dir=. 4744 for ac_exec_ext in '' $ac_executable_extensions; do 4745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4746 ac_cv_prog_NM="${ac_tool_prefix}nm" 4747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4748 break 2 4749 fi 4750 done 4751 done 4752 IFS=$as_save_IFS 4753 4754 fi 4755 fi 4756 NM=$ac_cv_prog_NM 4757 if test -n "$NM"; then 4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 4759 $as_echo "$NM" >&6; } 4760 else 4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4762 $as_echo "no" >&6; } 4763 fi 4764 4765 4766 fi 4767 if test -z "$ac_cv_prog_NM"; then 4768 ac_ct_NM=$NM 4769 # Extract the first word of "nm", so it can be a program name with args. 4770 set dummy nm; ac_word=$2 4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4772 $as_echo_n "checking for $ac_word... " >&6; } 4773 if ${ac_cv_prog_ac_ct_NM+:} false; then : 4774 $as_echo_n "(cached) " >&6 4775 else 4776 if test -n "$ac_ct_NM"; then 4777 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. 4778 else 4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4780 for as_dir in $PATH 4781 do 4782 IFS=$as_save_IFS 4783 test -z "$as_dir" && as_dir=. 4784 for ac_exec_ext in '' $ac_executable_extensions; do 4785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4786 ac_cv_prog_ac_ct_NM="nm" 4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4788 break 2 4789 fi 4790 done 4791 done 4792 IFS=$as_save_IFS 4793 4794 fi 4795 fi 4796 ac_ct_NM=$ac_cv_prog_ac_ct_NM 4797 if test -n "$ac_ct_NM"; then 4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 4799 $as_echo "$ac_ct_NM" >&6; } 4800 else 4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4802 $as_echo "no" >&6; } 4803 fi 4804 4805 if test "x$ac_ct_NM" = x; then 4806 NM="" 4807 else 4808 case $cross_compiling:$ac_tool_warned in 4809 yes:) 4810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4812 ac_tool_warned=yes ;; 4813 esac 4814 NM=$ac_ct_NM 4815 fi 4816 else 4817 NM="$ac_cv_prog_NM" 4818 fi 4819 4820 4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc with C99 support" >&5 4822 $as_echo_n "checking for gcc with C99 support... " >&6; } 4823 if ${ac_cv_c99+:} false; then : 4824 $as_echo_n "(cached) " >&6 4825 else 4826 old_CFLAGS="$CFLAGS" 4827 CFLAGS="$CFLAGS -std=gnu99" 4828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4829 /* end confdefs.h. */ 4830 int foo (int a) { for (int i = 0; i < a; ++i) if (i % 4) break; int s = a; } 4831 _ACEOF 4832 if ac_fn_c_try_compile "$LINENO"; then : 4833 ac_cv_c99=yes 4834 else 4835 ac_cv_c99=no 4836 fi 4837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4838 CFLAGS="$old_CFLAGS" 4839 fi 4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99" >&5 4841 $as_echo "$ac_cv_c99" >&6; } 4842 if test "x$ac_cv_c99" != xyes; then : 4843 as_fn_error $? "gcc with C99 support required" "$LINENO" 5 4844 fi 4845 4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread support" >&5 4847 $as_echo_n "checking for __thread support... " >&6; } 4848 if ${ac_cv_tls+:} false; then : 4849 $as_echo_n "(cached) " >&6 4850 else 4851 # Use the same flags that we use for our DSOs, so the test is representative. 4852 # Some old compiler/linker/libc combinations fail some ways and not others. 4853 save_CFLAGS="$CFLAGS" 4854 save_LDFLAGS="$LDFLAGS" 4855 CFLAGS="-fpic $CFLAGS" 4856 LDFLAGS="-shared -Wl,-z,defs,-z,relro $LDFLAGS" 4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4858 /* end confdefs.h. */ 4859 #undef __thread 4860 static __thread int a; int foo (int b) { return a + b; } 4861 int 4862 main () 4863 { 4864 exit (foo (0)); 4865 ; 4866 return 0; 4867 } 4868 _ACEOF 4869 if ac_fn_c_try_link "$LINENO"; then : 4870 ac_cv_tls=yes 4871 else 4872 ac_cv_tls=no 4873 fi 4874 rm -f core conftest.err conftest.$ac_objext \ 4875 conftest$ac_exeext conftest.$ac_ext 4876 CFLAGS="$save_CFLAGS" 4877 LDFLAGS="$save_LDFLAGS" 4878 fi 4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5 4880 $as_echo "$ac_cv_tls" >&6; } 4881 if test "x$ac_cv_tls" != xyes; then : 4882 as_fn_error $? "__thread support required" "$LINENO" 5 4883 fi 4884 4885 # Check whether --enable-largefile was given. 4886 if test "${enable_largefile+set}" = set; then : 4887 enableval=$enable_largefile; 4888 fi 4889 4890 if test "$enable_largefile" != no; then 4891 4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 4893 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } 4894 if ${ac_cv_sys_largefile_CC+:} false; then : 4895 $as_echo_n "(cached) " >&6 4896 else 4897 ac_cv_sys_largefile_CC=no 4898 if test "$GCC" != yes; then 4899 ac_save_CC=$CC 4900 while :; do 4901 # IRIX 6.2 and later do not support large files by default, 4902 # so use the C compiler's -n32 option if that helps. 4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4904 /* end confdefs.h. */ 4905 #include <sys/types.h> 4906 /* Check that off_t can represent 2**63 - 1 correctly. 4907 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4908 since some C++ compilers masquerading as C compilers 4909 incorrectly reject 9223372036854775807. */ 4910 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4911 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4912 && LARGE_OFF_T % 2147483647 == 1) 4913 ? 1 : -1]; 4914 int 4915 main () 4916 { 4917 4918 ; 4919 return 0; 4920 } 4921 _ACEOF 4922 if ac_fn_c_try_compile "$LINENO"; then : 4923 break 4924 fi 4925 rm -f core conftest.err conftest.$ac_objext 4926 CC="$CC -n32" 4927 if ac_fn_c_try_compile "$LINENO"; then : 4928 ac_cv_sys_largefile_CC=' -n32'; break 4929 fi 4930 rm -f core conftest.err conftest.$ac_objext 4931 break 4932 done 4933 CC=$ac_save_CC 4934 rm -f conftest.$ac_ext 4935 fi 4936 fi 4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 4938 $as_echo "$ac_cv_sys_largefile_CC" >&6; } 4939 if test "$ac_cv_sys_largefile_CC" != no; then 4940 CC=$CC$ac_cv_sys_largefile_CC 4941 fi 4942 4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 4944 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 4945 if ${ac_cv_sys_file_offset_bits+:} false; then : 4946 $as_echo_n "(cached) " >&6 4947 else 4948 while :; do 4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4950 /* end confdefs.h. */ 4951 #include <sys/types.h> 4952 /* Check that off_t can represent 2**63 - 1 correctly. 4953 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4954 since some C++ compilers masquerading as C compilers 4955 incorrectly reject 9223372036854775807. */ 4956 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4957 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4958 && LARGE_OFF_T % 2147483647 == 1) 4959 ? 1 : -1]; 4960 int 4961 main () 4962 { 4963 4964 ; 4965 return 0; 4966 } 4967 _ACEOF 4968 if ac_fn_c_try_compile "$LINENO"; then : 4969 ac_cv_sys_file_offset_bits=no; break 4970 fi 4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4973 /* end confdefs.h. */ 4974 #define _FILE_OFFSET_BITS 64 4975 #include <sys/types.h> 4976 /* Check that off_t can represent 2**63 - 1 correctly. 4977 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4978 since some C++ compilers masquerading as C compilers 4979 incorrectly reject 9223372036854775807. */ 4980 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4981 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4982 && LARGE_OFF_T % 2147483647 == 1) 4983 ? 1 : -1]; 4984 int 4985 main () 4986 { 4987 4988 ; 4989 return 0; 4990 } 4991 _ACEOF 4992 if ac_fn_c_try_compile "$LINENO"; then : 4993 ac_cv_sys_file_offset_bits=64; break 4994 fi 4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4996 ac_cv_sys_file_offset_bits=unknown 4997 break 4998 done 4999 fi 5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 5001 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } 5002 case $ac_cv_sys_file_offset_bits in #( 5003 no | unknown) ;; 5004 *) 5005 cat >>confdefs.h <<_ACEOF 5006 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 5007 _ACEOF 5008 ;; 5009 esac 5010 rm -rf conftest* 5011 if test $ac_cv_sys_file_offset_bits = unknown; then 5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 5013 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 5014 if ${ac_cv_sys_large_files+:} false; then : 5015 $as_echo_n "(cached) " >&6 5016 else 5017 while :; do 5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5019 /* end confdefs.h. */ 5020 #include <sys/types.h> 5021 /* Check that off_t can represent 2**63 - 1 correctly. 5022 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5023 since some C++ compilers masquerading as C compilers 5024 incorrectly reject 9223372036854775807. */ 5025 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5027 && LARGE_OFF_T % 2147483647 == 1) 5028 ? 1 : -1]; 5029 int 5030 main () 5031 { 5032 5033 ; 5034 return 0; 5035 } 5036 _ACEOF 5037 if ac_fn_c_try_compile "$LINENO"; then : 5038 ac_cv_sys_large_files=no; break 5039 fi 5040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5042 /* end confdefs.h. */ 5043 #define _LARGE_FILES 1 5044 #include <sys/types.h> 5045 /* Check that off_t can represent 2**63 - 1 correctly. 5046 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5047 since some C++ compilers masquerading as C compilers 5048 incorrectly reject 9223372036854775807. */ 5049 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5051 && LARGE_OFF_T % 2147483647 == 1) 5052 ? 1 : -1]; 5053 int 5054 main () 5055 { 5056 5057 ; 5058 return 0; 5059 } 5060 _ACEOF 5061 if ac_fn_c_try_compile "$LINENO"; then : 5062 ac_cv_sys_large_files=1; break 5063 fi 5064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5065 ac_cv_sys_large_files=unknown 5066 break 5067 done 5068 fi 5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 5070 $as_echo "$ac_cv_sys_large_files" >&6; } 5071 case $ac_cv_sys_large_files in #( 5072 no | unknown) ;; 5073 *) 5074 cat >>confdefs.h <<_ACEOF 5075 #define _LARGE_FILES $ac_cv_sys_large_files 5076 _ACEOF 5077 ;; 5078 esac 5079 rm -rf conftest* 5080 fi 5081 5082 5083 fi 5084 5085 5086 native_ld=no 5087 # Check whether --enable-generic was given. 5088 if test "${enable_generic+set}" = set; then : 5089 enableval=$enable_generic; if test "$enable_generic" = no; then 5090 case "$host_cpu" in 5091 i?86) 5092 $as_echo "#define NATIVE_ELF 32" >>confdefs.h 5093 5094 native_ld=yes 5095 base_cpu=i386 5096 ;; 5097 *) 5098 as_fn_error $? "no machine-specific linker for this configuration available" "$LINENO" 5 5099 ;; 5100 esac 5101 fi 5102 fi 5103 5104 5105 if test "$native_ld" = yes; then 5106 NATIVE_LD_TRUE= 5107 NATIVE_LD_FALSE='#' 5108 else 5109 NATIVE_LD_TRUE='#' 5110 NATIVE_LD_FALSE= 5111 fi 5112 5113 if test -z "$base_cpu"; then : 5114 base_cpu=none 5115 fi 5116 5117 if false; then 5118 NEVER_TRUE= 5119 NEVER_FALSE='#' 5120 else 5121 NEVER_TRUE='#' 5122 NEVER_FALSE= 5123 fi 5124 5125 5126 # Check whether --enable-debugpred was given. 5127 if test "${enable_debugpred+set}" = set; then : 5128 enableval=$enable_debugpred; use_debugpred=$enableval 5129 else 5130 use_debugpred=no 5131 fi 5132 5133 case $use_debugpred in 5134 yes) use_debugpred=1 ;; 5135 *) use_debugpred=0 ;; 5136 esac 5137 DEBUGPRED=$use_debugpred 5138 5139 5140 # Check whether --enable-gprof was given. 5141 if test "${enable_gprof+set}" = set; then : 5142 enableval=$enable_gprof; use_gprof=$enableval 5143 else 5144 use_gprof=no 5145 fi 5146 5147 if test "$use_gprof" = yes; then 5148 CFLAGS="$CFLAGS -pg" 5149 LDFLAGS="$LDFLAGS -pg" 5150 fi 5151 if test "$use_gprof" = yes; then 5152 GPROF_TRUE= 5153 GPROF_FALSE='#' 5154 else 5155 GPROF_TRUE='#' 5156 GPROF_FALSE= 5157 fi 5158 5159 5160 # Enable gcov suport. 5161 # Check whether --enable-gcov was given. 5162 if test "${enable_gcov+set}" = set; then : 5163 enableval=$enable_gcov; use_gcov=$enableval 5164 else 5165 use_gcov=no 5166 fi 5167 5168 if test "$use_gcov" = yes; then 5169 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage" 5170 LDFLAGS="$LDFLAGS -fprofile-arcs" 5171 fi 5172 if test "$use_gcov" = yes; then 5173 GCOV_TRUE= 5174 GCOV_FALSE='#' 5175 else 5176 GCOV_TRUE='#' 5177 GCOV_FALSE= 5178 fi 5179 5180 5181 # Check whether --enable-valgrind was given. 5182 if test "${enable_valgrind+set}" = set; then : 5183 enableval=$enable_valgrind; use_valgrind=$enableval 5184 else 5185 use_valgrind=no 5186 fi 5187 5188 if test "$use_valgrind" = yes; then 5189 # Extract the first word of "valgrind", so it can be a program name with args. 5190 set dummy valgrind; ac_word=$2 5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5192 $as_echo_n "checking for $ac_word... " >&6; } 5193 if ${ac_cv_prog_HAVE_VALGRIND+:} false; then : 5194 $as_echo_n "(cached) " >&6 5195 else 5196 if test -n "$HAVE_VALGRIND"; then 5197 ac_cv_prog_HAVE_VALGRIND="$HAVE_VALGRIND" # Let the user override the test. 5198 else 5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5200 for as_dir in $PATH 5201 do 5202 IFS=$as_save_IFS 5203 test -z "$as_dir" && as_dir=. 5204 for ac_exec_ext in '' $ac_executable_extensions; do 5205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5206 ac_cv_prog_HAVE_VALGRIND="yes" 5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5208 break 2 5209 fi 5210 done 5211 done 5212 IFS=$as_save_IFS 5213 5214 test -z "$ac_cv_prog_HAVE_VALGRIND" && ac_cv_prog_HAVE_VALGRIND="no" 5215 fi 5216 fi 5217 HAVE_VALGRIND=$ac_cv_prog_HAVE_VALGRIND 5218 if test -n "$HAVE_VALGRIND"; then 5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_VALGRIND" >&5 5220 $as_echo "$HAVE_VALGRIND" >&6; } 5221 else 5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5223 $as_echo "no" >&6; } 5224 fi 5225 5226 5227 if test "$HAVE_VALGRIND" = "no"; then 5228 as_fn_error $? "valgrind not found" "$LINENO" 5 5229 fi 5230 fi 5231 if test "$use_valgrind" = yes; then 5232 USE_VALGRIND_TRUE= 5233 USE_VALGRIND_FALSE='#' 5234 else 5235 USE_VALGRIND_TRUE='#' 5236 USE_VALGRIND_FALSE= 5237 fi 5238 5239 5240 if test "$use_gprof" = yes -o "$use_gcov" = yes; then 5241 BUILD_STATIC_TRUE= 5242 BUILD_STATIC_FALSE='#' 5243 else 5244 BUILD_STATIC_TRUE='#' 5245 BUILD_STATIC_FALSE= 5246 fi 5247 5248 5249 # Check whether --enable-tests-rpath was given. 5250 if test "${enable_tests_rpath+set}" = set; then : 5251 enableval=$enable_tests_rpath; tests_use_rpath=$enableval 5252 else 5253 tests_use_rpath=no 5254 fi 5255 5256 if test "$tests_use_rpath" = yes; then 5257 TESTS_RPATH_TRUE= 5258 TESTS_RPATH_FALSE='#' 5259 else 5260 TESTS_RPATH_TRUE='#' 5261 TESTS_RPATH_FALSE= 5262 fi 5263 5264 5265 LIBEBL_SUBDIR="$PACKAGE" 5266 # Check whether --enable-libebl-subdir was given. 5267 if test "${enable_libebl_subdir+set}" = set; then : 5268 enableval=$enable_libebl_subdir; LIBEBL_SUBDIR="$enable_libebl_subdir" 5269 fi 5270 5271 5272 cat >>confdefs.h <<_ACEOF 5273 #define LIBEBL_SUBDIR "$LIBEBL_SUBDIR" 5274 _ACEOF 5275 5276 5277 5278 save_LIBS="$LIBS" 5279 LIBS= 5280 5281 # Check whether --with-zlib was given. 5282 if test "${with_zlib+set}" = set; then : 5283 withval=$with_zlib; 5284 else 5285 with_zlib=default 5286 fi 5287 5288 if test $with_zlib != no; then 5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzdirect" >&5 5290 $as_echo_n "checking for library containing gzdirect... " >&6; } 5291 if ${ac_cv_search_gzdirect+:} false; then : 5292 $as_echo_n "(cached) " >&6 5293 else 5294 ac_func_search_save_LIBS=$LIBS 5295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5296 /* end confdefs.h. */ 5297 5298 /* Override any GCC internal prototype to avoid an error. 5299 Use char because int might match the return type of a GCC 5300 builtin and then its argument prototype would still apply. */ 5301 #ifdef __cplusplus 5302 extern "C" 5303 #endif 5304 char gzdirect (); 5305 int 5306 main () 5307 { 5308 return gzdirect (); 5309 ; 5310 return 0; 5311 } 5312 _ACEOF 5313 for ac_lib in '' z; do 5314 if test -z "$ac_lib"; then 5315 ac_res="none required" 5316 else 5317 ac_res=-l$ac_lib 5318 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5319 fi 5320 if ac_fn_c_try_link "$LINENO"; then : 5321 ac_cv_search_gzdirect=$ac_res 5322 fi 5323 rm -f core conftest.err conftest.$ac_objext \ 5324 conftest$ac_exeext 5325 if ${ac_cv_search_gzdirect+:} false; then : 5326 break 5327 fi 5328 done 5329 if ${ac_cv_search_gzdirect+:} false; then : 5330 5331 else 5332 ac_cv_search_gzdirect=no 5333 fi 5334 rm conftest.$ac_ext 5335 LIBS=$ac_func_search_save_LIBS 5336 fi 5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzdirect" >&5 5338 $as_echo "$ac_cv_search_gzdirect" >&6; } 5339 ac_res=$ac_cv_search_gzdirect 5340 if test "$ac_res" != no; then : 5341 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5342 with_zlib=yes 5343 else 5344 test $with_zlib = default || 5345 as_fn_error $? "missing -lz for --with-zlib" "$LINENO" 5 5346 fi 5347 5348 fi 5349 if test $with_zlib = yes; then 5350 ZLIB_TRUE= 5351 ZLIB_FALSE='#' 5352 else 5353 ZLIB_TRUE='#' 5354 ZLIB_FALSE= 5355 fi 5356 5357 if test $with_zlib = yes; then 5358 $as_echo "#define USE_ZLIB 1" >>confdefs.h 5359 5360 fi 5361 5362 5363 # Check whether --with-bzlib was given. 5364 if test "${with_bzlib+set}" = set; then : 5365 withval=$with_bzlib; 5366 else 5367 with_bzlib=default 5368 fi 5369 5370 if test $with_bzlib != no; then 5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing BZ2_bzdopen" >&5 5372 $as_echo_n "checking for library containing BZ2_bzdopen... " >&6; } 5373 if ${ac_cv_search_BZ2_bzdopen+:} false; then : 5374 $as_echo_n "(cached) " >&6 5375 else 5376 ac_func_search_save_LIBS=$LIBS 5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5378 /* end confdefs.h. */ 5379 5380 /* Override any GCC internal prototype to avoid an error. 5381 Use char because int might match the return type of a GCC 5382 builtin and then its argument prototype would still apply. */ 5383 #ifdef __cplusplus 5384 extern "C" 5385 #endif 5386 char BZ2_bzdopen (); 5387 int 5388 main () 5389 { 5390 return BZ2_bzdopen (); 5391 ; 5392 return 0; 5393 } 5394 _ACEOF 5395 for ac_lib in '' bz2; do 5396 if test -z "$ac_lib"; then 5397 ac_res="none required" 5398 else 5399 ac_res=-l$ac_lib 5400 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5401 fi 5402 if ac_fn_c_try_link "$LINENO"; then : 5403 ac_cv_search_BZ2_bzdopen=$ac_res 5404 fi 5405 rm -f core conftest.err conftest.$ac_objext \ 5406 conftest$ac_exeext 5407 if ${ac_cv_search_BZ2_bzdopen+:} false; then : 5408 break 5409 fi 5410 done 5411 if ${ac_cv_search_BZ2_bzdopen+:} false; then : 5412 5413 else 5414 ac_cv_search_BZ2_bzdopen=no 5415 fi 5416 rm conftest.$ac_ext 5417 LIBS=$ac_func_search_save_LIBS 5418 fi 5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_BZ2_bzdopen" >&5 5420 $as_echo "$ac_cv_search_BZ2_bzdopen" >&6; } 5421 ac_res=$ac_cv_search_BZ2_bzdopen 5422 if test "$ac_res" != no; then : 5423 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5424 with_bzlib=yes 5425 else 5426 test $with_bzlib = default || 5427 as_fn_error $? "missing -lbz2 for --with-bzlib" "$LINENO" 5 5428 fi 5429 5430 fi 5431 if test $with_bzlib = yes; then 5432 BZLIB_TRUE= 5433 BZLIB_FALSE='#' 5434 else 5435 BZLIB_TRUE='#' 5436 BZLIB_FALSE= 5437 fi 5438 5439 if test $with_bzlib = yes; then 5440 $as_echo "#define USE_BZLIB 1" >>confdefs.h 5441 5442 fi 5443 5444 5445 # Check whether --with-lzma was given. 5446 if test "${with_lzma+set}" = set; then : 5447 withval=$with_lzma; 5448 else 5449 with_lzma=default 5450 fi 5451 5452 if test $with_lzma != no; then 5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lzma_auto_decoder" >&5 5454 $as_echo_n "checking for library containing lzma_auto_decoder... " >&6; } 5455 if ${ac_cv_search_lzma_auto_decoder+:} false; then : 5456 $as_echo_n "(cached) " >&6 5457 else 5458 ac_func_search_save_LIBS=$LIBS 5459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5460 /* end confdefs.h. */ 5461 5462 /* Override any GCC internal prototype to avoid an error. 5463 Use char because int might match the return type of a GCC 5464 builtin and then its argument prototype would still apply. */ 5465 #ifdef __cplusplus 5466 extern "C" 5467 #endif 5468 char lzma_auto_decoder (); 5469 int 5470 main () 5471 { 5472 return lzma_auto_decoder (); 5473 ; 5474 return 0; 5475 } 5476 _ACEOF 5477 for ac_lib in '' lzma; do 5478 if test -z "$ac_lib"; then 5479 ac_res="none required" 5480 else 5481 ac_res=-l$ac_lib 5482 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5483 fi 5484 if ac_fn_c_try_link "$LINENO"; then : 5485 ac_cv_search_lzma_auto_decoder=$ac_res 5486 fi 5487 rm -f core conftest.err conftest.$ac_objext \ 5488 conftest$ac_exeext 5489 if ${ac_cv_search_lzma_auto_decoder+:} false; then : 5490 break 5491 fi 5492 done 5493 if ${ac_cv_search_lzma_auto_decoder+:} false; then : 5494 5495 else 5496 ac_cv_search_lzma_auto_decoder=no 5497 fi 5498 rm conftest.$ac_ext 5499 LIBS=$ac_func_search_save_LIBS 5500 fi 5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lzma_auto_decoder" >&5 5502 $as_echo "$ac_cv_search_lzma_auto_decoder" >&6; } 5503 ac_res=$ac_cv_search_lzma_auto_decoder 5504 if test "$ac_res" != no; then : 5505 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5506 with_lzma=yes 5507 else 5508 test $with_lzma = default || 5509 as_fn_error $? "missing -llzma for --with-lzma" "$LINENO" 5 5510 fi 5511 5512 fi 5513 if test $with_lzma = yes; then 5514 LZMA_TRUE= 5515 LZMA_FALSE='#' 5516 else 5517 LZMA_TRUE='#' 5518 LZMA_FALSE= 5519 fi 5520 5521 if test $with_lzma = yes; then 5522 $as_echo "#define USE_LZMA 1" >>confdefs.h 5523 5524 fi 5525 5526 zip_LIBS="$LIBS" 5527 LIBS="$save_LIBS" 5528 5529 5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle in -lstdc++" >&5 5531 $as_echo_n "checking for __cxa_demangle in -lstdc++... " >&6; } 5532 if ${ac_cv_lib_stdcpp___cxa_demangle+:} false; then : 5533 $as_echo_n "(cached) " >&6 5534 else 5535 ac_check_lib_save_LIBS=$LIBS 5536 LIBS="-lstdc++ $LIBS" 5537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5538 /* end confdefs.h. */ 5539 5540 /* Override any GCC internal prototype to avoid an error. 5541 Use char because int might match the return type of a GCC 5542 builtin and then its argument prototype would still apply. */ 5543 #ifdef __cplusplus 5544 extern "C" 5545 #endif 5546 char __cxa_demangle (); 5547 int 5548 main () 5549 { 5550 return __cxa_demangle (); 5551 ; 5552 return 0; 5553 } 5554 _ACEOF 5555 if ac_fn_c_try_link "$LINENO"; then : 5556 ac_cv_lib_stdcpp___cxa_demangle=yes 5557 else 5558 ac_cv_lib_stdcpp___cxa_demangle=no 5559 fi 5560 rm -f core conftest.err conftest.$ac_objext \ 5561 conftest$ac_exeext conftest.$ac_ext 5562 LIBS=$ac_check_lib_save_LIBS 5563 fi 5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp___cxa_demangle" >&5 5565 $as_echo "$ac_cv_lib_stdcpp___cxa_demangle" >&6; } 5566 if test "x$ac_cv_lib_stdcpp___cxa_demangle" = xyes; then : 5567 5568 $as_echo "#define USE_DEMANGLE 1" >>confdefs.h 5569 5570 fi 5571 5572 if test "$ac_cv_lib_stdcpp___cxa_demangle" = yes; then 5573 DEMANGLE_TRUE= 5574 DEMANGLE_FALSE='#' 5575 else 5576 DEMANGLE_TRUE='#' 5577 DEMANGLE_FALSE= 5578 fi 5579 5580 5581 # Check whether --enable-textrelcheck was given. 5582 if test "${enable_textrelcheck+set}" = set; then : 5583 enableval=$enable_textrelcheck; 5584 fi 5585 5586 if test "x$enable_textrelcheck" != "xno"; then 5587 FATAL_TEXTREL_TRUE= 5588 FATAL_TEXTREL_FALSE='#' 5589 else 5590 FATAL_TEXTREL_TRUE='#' 5591 FATAL_TEXTREL_FALSE= 5592 fi 5593 5594 5595 5596 5597 ac_config_files="$ac_config_files lib/Makefile" 5598 5599 5600 ac_config_files="$ac_config_files libelf/Makefile" 5601 5602 5603 ac_config_files="$ac_config_files libebl/Makefile" 5604 5605 5606 ac_config_files="$ac_config_files libdwelf/Makefile" 5607 5608 5609 ac_config_files="$ac_config_files libdw/Makefile" 5610 5611 5612 ac_config_files="$ac_config_files libdwfl/Makefile" 5613 5614 5615 ac_config_files="$ac_config_files libcpu/Makefile" 5616 5617 5618 if true; then 5619 HAVE_LIBASM_TRUE= 5620 HAVE_LIBASM_FALSE='#' 5621 else 5622 HAVE_LIBASM_TRUE='#' 5623 HAVE_LIBASM_FALSE= 5624 fi 5625 ac_config_files="$ac_config_files libasm/Makefile" 5626 5627 5628 ac_config_files="$ac_config_files backends/Makefile" 5629 5630 5631 ac_config_files="$ac_config_files src/Makefile po/Makefile.in" 5632 5633 5634 if false; then 5635 STANDALONE_TRUE= 5636 STANDALONE_FALSE='#' 5637 else 5638 STANDALONE_TRUE='#' 5639 STANDALONE_FALSE= 5640 fi 5641 ac_config_files="$ac_config_files tests/Makefile" 5642 5643 5644 # Get the definitions necessary to create the Makefiles in the po 5645 # subdirectories. This is a small subset of the gettext rules. 5646 USE_NLS=yes 5647 5648 5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5650 $as_echo_n "checking whether NLS is requested... " >&6; } 5651 # Check whether --enable-nls was given. 5652 if test "${enable_nls+set}" = set; then : 5653 enableval=$enable_nls; USE_NLS=$enableval 5654 else 5655 USE_NLS=yes 5656 fi 5657 5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 5659 $as_echo "$USE_NLS" >&6; } 5660 5661 5662 5663 5664 GETTEXT_MACRO_VERSION=0.18 5665 5666 5667 5668 5669 # Prepare PATH_SEPARATOR. 5670 # The user is always right. 5671 if test "${PATH_SEPARATOR+set}" != set; then 5672 echo "#! /bin/sh" >conf$$.sh 5673 echo "exit 0" >>conf$$.sh 5674 chmod +x conf$$.sh 5675 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5676 PATH_SEPARATOR=';' 5677 else 5678 PATH_SEPARATOR=: 5679 fi 5680 rm -f conf$$.sh 5681 fi 5682 5683 # Find out how to test for executable files. Don't use a zero-byte file, 5684 # as systems may use methods other than mode bits to determine executability. 5685 cat >conf$$.file <<_ASEOF 5686 #! /bin/sh 5687 exit 0 5688 _ASEOF 5689 chmod +x conf$$.file 5690 if test -x conf$$.file >/dev/null 2>&1; then 5691 ac_executable_p="test -x" 5692 else 5693 ac_executable_p="test -f" 5694 fi 5695 rm -f conf$$.file 5696 5697 # Extract the first word of "msgfmt", so it can be a program name with args. 5698 set dummy msgfmt; ac_word=$2 5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5700 $as_echo_n "checking for $ac_word... " >&6; } 5701 if ${ac_cv_path_MSGFMT+:} false; then : 5702 $as_echo_n "(cached) " >&6 5703 else 5704 case "$MSGFMT" in 5705 [\\/]* | ?:[\\/]*) 5706 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5707 ;; 5708 *) 5709 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5710 for ac_dir in $PATH; do 5711 IFS="$ac_save_IFS" 5712 test -z "$ac_dir" && ac_dir=. 5713 for ac_exec_ext in '' $ac_executable_extensions; do 5714 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5715 echo "$as_me: trying $ac_dir/$ac_word..." >&5 5716 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 5717 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 5718 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 5719 break 2 5720 fi 5721 fi 5722 done 5723 done 5724 IFS="$ac_save_IFS" 5725 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 5726 ;; 5727 esac 5728 fi 5729 MSGFMT="$ac_cv_path_MSGFMT" 5730 if test "$MSGFMT" != ":"; then 5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 5732 $as_echo "$MSGFMT" >&6; } 5733 else 5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5735 $as_echo "no" >&6; } 5736 fi 5737 5738 # Extract the first word of "gmsgfmt", so it can be a program name with args. 5739 set dummy gmsgfmt; ac_word=$2 5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5741 $as_echo_n "checking for $ac_word... " >&6; } 5742 if ${ac_cv_path_GMSGFMT+:} false; then : 5743 $as_echo_n "(cached) " >&6 5744 else 5745 case $GMSGFMT in 5746 [\\/]* | ?:[\\/]*) 5747 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5748 ;; 5749 *) 5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5751 for as_dir in $PATH 5752 do 5753 IFS=$as_save_IFS 5754 test -z "$as_dir" && as_dir=. 5755 for ac_exec_ext in '' $ac_executable_extensions; do 5756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5757 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5759 break 2 5760 fi 5761 done 5762 done 5763 IFS=$as_save_IFS 5764 5765 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5766 ;; 5767 esac 5768 fi 5769 GMSGFMT=$ac_cv_path_GMSGFMT 5770 if test -n "$GMSGFMT"; then 5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 5772 $as_echo "$GMSGFMT" >&6; } 5773 else 5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5775 $as_echo "no" >&6; } 5776 fi 5777 5778 5779 5780 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5781 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 5782 *) MSGFMT_015=$MSGFMT ;; 5783 esac 5784 5785 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5786 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 5787 *) GMSGFMT_015=$GMSGFMT ;; 5788 esac 5789 5790 5791 5792 # Prepare PATH_SEPARATOR. 5793 # The user is always right. 5794 if test "${PATH_SEPARATOR+set}" != set; then 5795 echo "#! /bin/sh" >conf$$.sh 5796 echo "exit 0" >>conf$$.sh 5797 chmod +x conf$$.sh 5798 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5799 PATH_SEPARATOR=';' 5800 else 5801 PATH_SEPARATOR=: 5802 fi 5803 rm -f conf$$.sh 5804 fi 5805 5806 # Find out how to test for executable files. Don't use a zero-byte file, 5807 # as systems may use methods other than mode bits to determine executability. 5808 cat >conf$$.file <<_ASEOF 5809 #! /bin/sh 5810 exit 0 5811 _ASEOF 5812 chmod +x conf$$.file 5813 if test -x conf$$.file >/dev/null 2>&1; then 5814 ac_executable_p="test -x" 5815 else 5816 ac_executable_p="test -f" 5817 fi 5818 rm -f conf$$.file 5819 5820 # Extract the first word of "xgettext", so it can be a program name with args. 5821 set dummy xgettext; ac_word=$2 5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5823 $as_echo_n "checking for $ac_word... " >&6; } 5824 if ${ac_cv_path_XGETTEXT+:} false; then : 5825 $as_echo_n "(cached) " >&6 5826 else 5827 case "$XGETTEXT" in 5828 [\\/]* | ?:[\\/]*) 5829 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5830 ;; 5831 *) 5832 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5833 for ac_dir in $PATH; do 5834 IFS="$ac_save_IFS" 5835 test -z "$ac_dir" && ac_dir=. 5836 for ac_exec_ext in '' $ac_executable_extensions; do 5837 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5838 echo "$as_me: trying $ac_dir/$ac_word..." >&5 5839 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 5840 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 5841 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 5842 break 2 5843 fi 5844 fi 5845 done 5846 done 5847 IFS="$ac_save_IFS" 5848 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 5849 ;; 5850 esac 5851 fi 5852 XGETTEXT="$ac_cv_path_XGETTEXT" 5853 if test "$XGETTEXT" != ":"; then 5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 5855 $as_echo "$XGETTEXT" >&6; } 5856 else 5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5858 $as_echo "no" >&6; } 5859 fi 5860 5861 rm -f messages.po 5862 5863 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5864 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 5865 *) XGETTEXT_015=$XGETTEXT ;; 5866 esac 5867 5868 5869 5870 # Prepare PATH_SEPARATOR. 5871 # The user is always right. 5872 if test "${PATH_SEPARATOR+set}" != set; then 5873 echo "#! /bin/sh" >conf$$.sh 5874 echo "exit 0" >>conf$$.sh 5875 chmod +x conf$$.sh 5876 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5877 PATH_SEPARATOR=';' 5878 else 5879 PATH_SEPARATOR=: 5880 fi 5881 rm -f conf$$.sh 5882 fi 5883 5884 # Find out how to test for executable files. Don't use a zero-byte file, 5885 # as systems may use methods other than mode bits to determine executability. 5886 cat >conf$$.file <<_ASEOF 5887 #! /bin/sh 5888 exit 0 5889 _ASEOF 5890 chmod +x conf$$.file 5891 if test -x conf$$.file >/dev/null 2>&1; then 5892 ac_executable_p="test -x" 5893 else 5894 ac_executable_p="test -f" 5895 fi 5896 rm -f conf$$.file 5897 5898 # Extract the first word of "msgmerge", so it can be a program name with args. 5899 set dummy msgmerge; ac_word=$2 5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5901 $as_echo_n "checking for $ac_word... " >&6; } 5902 if ${ac_cv_path_MSGMERGE+:} false; then : 5903 $as_echo_n "(cached) " >&6 5904 else 5905 case "$MSGMERGE" in 5906 [\\/]* | ?:[\\/]*) 5907 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 5908 ;; 5909 *) 5910 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5911 for ac_dir in $PATH; do 5912 IFS="$ac_save_IFS" 5913 test -z "$ac_dir" && ac_dir=. 5914 for ac_exec_ext in '' $ac_executable_extensions; do 5915 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5916 echo "$as_me: trying $ac_dir/$ac_word..." >&5 5917 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 5918 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 5919 break 2 5920 fi 5921 fi 5922 done 5923 done 5924 IFS="$ac_save_IFS" 5925 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 5926 ;; 5927 esac 5928 fi 5929 MSGMERGE="$ac_cv_path_MSGMERGE" 5930 if test "$MSGMERGE" != ":"; then 5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 5932 $as_echo "$MSGMERGE" >&6; } 5933 else 5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5935 $as_echo "no" >&6; } 5936 fi 5937 5938 5939 test -n "$localedir" || localedir='${datadir}/locale' 5940 5941 5942 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 5943 5944 5945 ac_config_commands="$ac_config_commands po-directories" 5946 5947 5948 5949 5950 5951 ac_config_files="$ac_config_files version.h:config/version.h.in" 5952 5953 5954 5955 # 1.234<whatever> -> 1234<whatever> 5956 case "$PACKAGE_VERSION" in 5957 [0-9].*) eu_version=`echo "$PACKAGE_VERSION" | sed 's@\.@@'` ;; 5958 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;; 5959 esac 5960 case "$eu_version" in 5961 *.*) 5962 # 1234.567 -> "1234", "567" 5963 eu_extra_version="${eu_version#*.}" 5964 eu_version="${eu_version%%.*}" 5965 case "$eu_extra_version" in 5966 [0-9][0-9][0-9]) ;; 5967 [0-9][0-9]) eu_extra_version="${eu_extra_version}0" ;; 5968 [0-9]) eu_extra_version="${eu_extra_version}00" ;; 5969 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;; 5970 esac 5971 ;; 5972 *) 5973 eu_extra_version=000 5974 ;; 5975 esac 5976 5977 case "$eu_version" in 5978 0[0-9][0-9][0-9]) eu_version="${eu_version#0}$eu_extra_version" ;; 5979 [0-9][0-9][0-9][0-9]) eu_version="${eu_version}$eu_extra_version" ;; 5980 [0-9][0-9][0-9]) eu_version="${eu_version}0$eu_extra_version" ;; 5981 [0-9][0-9]) eu_version="${eu_version}00$eu_extra_version";; 5982 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;; 5983 esac 5984 5985 # Round up to the next release API (x.y) version. 5986 eu_version=$(( (eu_version + 999) / 1000 )) 5987 5988 ac_ext=c 5989 ac_cpp='$CPP $CPPFLAGS' 5990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5992 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5994 $as_echo_n "checking how to run the C preprocessor... " >&6; } 5995 # On Suns, sometimes $CPP names a directory. 5996 if test -n "$CPP" && test -d "$CPP"; then 5997 CPP= 5998 fi 5999 if test -z "$CPP"; then 6000 if ${ac_cv_prog_CPP+:} false; then : 6001 $as_echo_n "(cached) " >&6 6002 else 6003 # Double quotes because CPP needs to be expanded 6004 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6005 do 6006 ac_preproc_ok=false 6007 for ac_c_preproc_warn_flag in '' yes 6008 do 6009 # Use a header file that comes with gcc, so configuring glibc 6010 # with a fresh cross-compiler works. 6011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6012 # <limits.h> exists even on freestanding compilers. 6013 # On the NeXT, cc -E runs the code through the compiler's parser, 6014 # not just through cpp. "Syntax error" is here to catch this case. 6015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6016 /* end confdefs.h. */ 6017 #ifdef __STDC__ 6018 # include <limits.h> 6019 #else 6020 # include <assert.h> 6021 #endif 6022 Syntax error 6023 _ACEOF 6024 if ac_fn_c_try_cpp "$LINENO"; then : 6025 6026 else 6027 # Broken: fails on valid input. 6028 continue 6029 fi 6030 rm -f conftest.err conftest.i conftest.$ac_ext 6031 6032 # OK, works on sane cases. Now check whether nonexistent headers 6033 # can be detected and how. 6034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6035 /* end confdefs.h. */ 6036 #include <ac_nonexistent.h> 6037 _ACEOF 6038 if ac_fn_c_try_cpp "$LINENO"; then : 6039 # Broken: success on invalid input. 6040 continue 6041 else 6042 # Passes both tests. 6043 ac_preproc_ok=: 6044 break 6045 fi 6046 rm -f conftest.err conftest.i conftest.$ac_ext 6047 6048 done 6049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6050 rm -f conftest.i conftest.err conftest.$ac_ext 6051 if $ac_preproc_ok; then : 6052 break 6053 fi 6054 6055 done 6056 ac_cv_prog_CPP=$CPP 6057 6058 fi 6059 CPP=$ac_cv_prog_CPP 6060 else 6061 ac_cv_prog_CPP=$CPP 6062 fi 6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 6064 $as_echo "$CPP" >&6; } 6065 ac_preproc_ok=false 6066 for ac_c_preproc_warn_flag in '' yes 6067 do 6068 # Use a header file that comes with gcc, so configuring glibc 6069 # with a fresh cross-compiler works. 6070 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6071 # <limits.h> exists even on freestanding compilers. 6072 # On the NeXT, cc -E runs the code through the compiler's parser, 6073 # not just through cpp. "Syntax error" is here to catch this case. 6074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6075 /* end confdefs.h. */ 6076 #ifdef __STDC__ 6077 # include <limits.h> 6078 #else 6079 # include <assert.h> 6080 #endif 6081 Syntax error 6082 _ACEOF 6083 if ac_fn_c_try_cpp "$LINENO"; then : 6084 6085 else 6086 # Broken: fails on valid input. 6087 continue 6088 fi 6089 rm -f conftest.err conftest.i conftest.$ac_ext 6090 6091 # OK, works on sane cases. Now check whether nonexistent headers 6092 # can be detected and how. 6093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6094 /* end confdefs.h. */ 6095 #include <ac_nonexistent.h> 6096 _ACEOF 6097 if ac_fn_c_try_cpp "$LINENO"; then : 6098 # Broken: success on invalid input. 6099 continue 6100 else 6101 # Passes both tests. 6102 ac_preproc_ok=: 6103 break 6104 fi 6105 rm -f conftest.err conftest.i conftest.$ac_ext 6106 6107 done 6108 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6109 rm -f conftest.i conftest.err conftest.$ac_ext 6110 if $ac_preproc_ok; then : 6111 6112 else 6113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6115 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6116 See \`config.log' for more details" "$LINENO" 5; } 6117 fi 6118 6119 ac_ext=c 6120 ac_cpp='$CPP $CPPFLAGS' 6121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6123 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6124 6125 6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 6127 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 6128 if ${ac_cv_path_GREP+:} false; then : 6129 $as_echo_n "(cached) " >&6 6130 else 6131 if test -z "$GREP"; then 6132 ac_path_GREP_found=false 6133 # Loop through the user's path and test for each of PROGNAME-LIST 6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6135 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6136 do 6137 IFS=$as_save_IFS 6138 test -z "$as_dir" && as_dir=. 6139 for ac_prog in grep ggrep; do 6140 for ac_exec_ext in '' $ac_executable_extensions; do 6141 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6142 as_fn_executable_p "$ac_path_GREP" || continue 6143 # Check for GNU ac_path_GREP and select it if it is found. 6144 # Check for GNU $ac_path_GREP 6145 case `"$ac_path_GREP" --version 2>&1` in 6146 *GNU*) 6147 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6148 *) 6149 ac_count=0 6150 $as_echo_n 0123456789 >"conftest.in" 6151 while : 6152 do 6153 cat "conftest.in" "conftest.in" >"conftest.tmp" 6154 mv "conftest.tmp" "conftest.in" 6155 cp "conftest.in" "conftest.nl" 6156 $as_echo 'GREP' >> "conftest.nl" 6157 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6158 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6159 as_fn_arith $ac_count + 1 && ac_count=$as_val 6160 if test $ac_count -gt ${ac_path_GREP_max-0}; then 6161 # Best one so far, save it but keep looking for a better one 6162 ac_cv_path_GREP="$ac_path_GREP" 6163 ac_path_GREP_max=$ac_count 6164 fi 6165 # 10*(2^10) chars as input seems more than enough 6166 test $ac_count -gt 10 && break 6167 done 6168 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6169 esac 6170 6171 $ac_path_GREP_found && break 3 6172 done 6173 done 6174 done 6175 IFS=$as_save_IFS 6176 if test -z "$ac_cv_path_GREP"; then 6177 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6178 fi 6179 else 6180 ac_cv_path_GREP=$GREP 6181 fi 6182 6183 fi 6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 6185 $as_echo "$ac_cv_path_GREP" >&6; } 6186 GREP="$ac_cv_path_GREP" 6187 6188 6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6190 $as_echo_n "checking for egrep... " >&6; } 6191 if ${ac_cv_path_EGREP+:} false; then : 6192 $as_echo_n "(cached) " >&6 6193 else 6194 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6195 then ac_cv_path_EGREP="$GREP -E" 6196 else 6197 if test -z "$EGREP"; then 6198 ac_path_EGREP_found=false 6199 # Loop through the user's path and test for each of PROGNAME-LIST 6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6202 do 6203 IFS=$as_save_IFS 6204 test -z "$as_dir" && as_dir=. 6205 for ac_prog in egrep; do 6206 for ac_exec_ext in '' $ac_executable_extensions; do 6207 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6208 as_fn_executable_p "$ac_path_EGREP" || continue 6209 # Check for GNU ac_path_EGREP and select it if it is found. 6210 # Check for GNU $ac_path_EGREP 6211 case `"$ac_path_EGREP" --version 2>&1` in 6212 *GNU*) 6213 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6214 *) 6215 ac_count=0 6216 $as_echo_n 0123456789 >"conftest.in" 6217 while : 6218 do 6219 cat "conftest.in" "conftest.in" >"conftest.tmp" 6220 mv "conftest.tmp" "conftest.in" 6221 cp "conftest.in" "conftest.nl" 6222 $as_echo 'EGREP' >> "conftest.nl" 6223 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6224 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6225 as_fn_arith $ac_count + 1 && ac_count=$as_val 6226 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 6227 # Best one so far, save it but keep looking for a better one 6228 ac_cv_path_EGREP="$ac_path_EGREP" 6229 ac_path_EGREP_max=$ac_count 6230 fi 6231 # 10*(2^10) chars as input seems more than enough 6232 test $ac_count -gt 10 && break 6233 done 6234 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6235 esac 6236 6237 $ac_path_EGREP_found && break 3 6238 done 6239 done 6240 done 6241 IFS=$as_save_IFS 6242 if test -z "$ac_cv_path_EGREP"; then 6243 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6244 fi 6245 else 6246 ac_cv_path_EGREP=$EGREP 6247 fi 6248 6249 fi 6250 fi 6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 6252 $as_echo "$ac_cv_path_EGREP" >&6; } 6253 EGREP="$ac_cv_path_EGREP" 6254 6255 6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6257 $as_echo_n "checking for ANSI C header files... " >&6; } 6258 if ${ac_cv_header_stdc+:} false; then : 6259 $as_echo_n "(cached) " >&6 6260 else 6261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6262 /* end confdefs.h. */ 6263 #include <stdlib.h> 6264 #include <stdarg.h> 6265 #include <string.h> 6266 #include <float.h> 6267 6268 int 6269 main () 6270 { 6271 6272 ; 6273 return 0; 6274 } 6275 _ACEOF 6276 if ac_fn_c_try_compile "$LINENO"; then : 6277 ac_cv_header_stdc=yes 6278 else 6279 ac_cv_header_stdc=no 6280 fi 6281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6282 6283 if test $ac_cv_header_stdc = yes; then 6284 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6286 /* end confdefs.h. */ 6287 #include <string.h> 6288 6289 _ACEOF 6290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6291 $EGREP "memchr" >/dev/null 2>&1; then : 6292 6293 else 6294 ac_cv_header_stdc=no 6295 fi 6296 rm -f conftest* 6297 6298 fi 6299 6300 if test $ac_cv_header_stdc = yes; then 6301 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6303 /* end confdefs.h. */ 6304 #include <stdlib.h> 6305 6306 _ACEOF 6307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6308 $EGREP "free" >/dev/null 2>&1; then : 6309 6310 else 6311 ac_cv_header_stdc=no 6312 fi 6313 rm -f conftest* 6314 6315 fi 6316 6317 if test $ac_cv_header_stdc = yes; then 6318 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6319 if test "$cross_compiling" = yes; then : 6320 : 6321 else 6322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6323 /* end confdefs.h. */ 6324 #include <ctype.h> 6325 #include <stdlib.h> 6326 #if ((' ' & 0x0FF) == 0x020) 6327 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6328 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6329 #else 6330 # define ISLOWER(c) \ 6331 (('a' <= (c) && (c) <= 'i') \ 6332 || ('j' <= (c) && (c) <= 'r') \ 6333 || ('s' <= (c) && (c) <= 'z')) 6334 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6335 #endif 6336 6337 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6338 int 6339 main () 6340 { 6341 int i; 6342 for (i = 0; i < 256; i++) 6343 if (XOR (islower (i), ISLOWER (i)) 6344 || toupper (i) != TOUPPER (i)) 6345 return 2; 6346 return 0; 6347 } 6348 _ACEOF 6349 if ac_fn_c_try_run "$LINENO"; then : 6350 6351 else 6352 ac_cv_header_stdc=no 6353 fi 6354 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6355 conftest.$ac_objext conftest.beam conftest.$ac_ext 6356 fi 6357 6358 fi 6359 fi 6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6361 $as_echo "$ac_cv_header_stdc" >&6; } 6362 if test $ac_cv_header_stdc = yes; then 6363 6364 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 6365 6366 fi 6367 6368 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 6369 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6370 inttypes.h stdint.h unistd.h 6371 do : 6372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6373 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 6374 " 6375 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6376 cat >>confdefs.h <<_ACEOF 6377 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6378 _ACEOF 6379 6380 fi 6381 6382 done 6383 6384 6385 # The cast to long int works around a bug in the HP C Compiler 6386 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6387 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6388 # This bug is HP SR number 8606223364. 6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 6390 $as_echo_n "checking size of long... " >&6; } 6391 if ${ac_cv_sizeof_long+:} false; then : 6392 $as_echo_n "(cached) " >&6 6393 else 6394 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 6395 6396 else 6397 if test "$ac_cv_type_long" = yes; then 6398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6400 as_fn_error 77 "cannot compute sizeof (long) 6401 See \`config.log' for more details" "$LINENO" 5; } 6402 else 6403 ac_cv_sizeof_long=0 6404 fi 6405 fi 6406 6407 fi 6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 6409 $as_echo "$ac_cv_sizeof_long" >&6; } 6410 6411 6412 6413 cat >>confdefs.h <<_ACEOF 6414 #define SIZEOF_LONG $ac_cv_sizeof_long 6415 _ACEOF 6416 6417 6418 6419 # On aarch64 before glibc 2.20 we would get the kernel user_pt_regs instead 6420 # of the user_regs_struct from sys/user.h. They are structurally the same 6421 # but we get either one or the other. 6422 ac_fn_c_check_type "$LINENO" "struct user_regs_struct" "ac_cv_type_struct_user_regs_struct" "#include <sys/ptrace.h> 6423 #include <sys/time.h> 6424 #include <sys/user.h> 6425 " 6426 if test "x$ac_cv_type_struct_user_regs_struct" = xyes; then : 6427 sys_user_has_user_regs=yes 6428 else 6429 sys_user_has_user_regs=no 6430 fi 6431 6432 if test "$sys_user_has_user_regs" = "yes"; then 6433 6434 $as_echo "#define HAVE_SYS_USER_REGS 1" >>confdefs.h 6435 6436 fi 6437 6438 # On a 64-bit host where can can use $CC -m32, we'll run two sets of tests. 6439 # Likewise in a 32-bit build on a host where $CC -m64 works. 6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $CC option for 32-bit word size" >&5 6441 $as_echo_n "checking $CC option for 32-bit word size... " >&6; } 6442 if ${utrace_cv_CC_m32+:} false; then : 6443 $as_echo_n "(cached) " >&6 6444 else 6445 save_CC="$CC" 6446 utrace_cv_CC_m32=none 6447 for ut_try in -m32 -m31; do 6448 CC=`echo "$save_CC" | sed 's/ -m[36][241]//'`" $ut_try" 6449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6450 /* end confdefs.h. */ 6451 int foo (void) { return 1; } 6452 _ACEOF 6453 if ac_fn_c_try_compile "$LINENO"; then : 6454 utrace_cv_CC_m32=$ut_try 6455 fi 6456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6457 test x$utrace_cv_CC_m32 = xnone || break 6458 done 6459 CC="$save_CC" 6460 fi 6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utrace_cv_CC_m32" >&5 6462 $as_echo "$utrace_cv_CC_m32" >&6; } 6463 6464 if test x$utrace_cv_CC_m32 != xnone; then : 6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 6466 $as_echo_n "checking for 64-bit host... " >&6; } 6467 if ${utrace_cv_host64+:} false; then : 6468 $as_echo_n "(cached) " >&6 6469 else 6470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6471 /* end confdefs.h. */ 6472 #include <stdint.h> 6473 #if (UINTPTR_MAX > 0xffffffffUL) 6474 @utrace_host64@ 6475 #endif 6476 _ACEOF 6477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6478 $EGREP "@utrace_host64@" >/dev/null 2>&1; then : 6479 utrace_cv_host64=yes 6480 else 6481 utrace_cv_host64=no 6482 fi 6483 rm -f conftest* 6484 6485 fi 6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utrace_cv_host64" >&5 6487 $as_echo "$utrace_cv_host64" >&6; } 6488 if test $utrace_cv_host64 = no; then : 6489 utrace_biarch=-m64 utrace_thisarch=$utrace_cv_CC_m32 6490 else 6491 utrace_biarch=$utrace_cv_CC_m32 utrace_thisarch=-m64 6492 fi 6493 6494 biarch_CC=`echo "$CC" | sed "s/ *${utrace_thisarch}//"` 6495 biarch_CC="$biarch_CC $utrace_biarch" 6496 fi 6497 6498 utrace_biarch_forced=no 6499 6500 # Check whether --with-biarch was given. 6501 if test "${with_biarch+set}" = set; then : 6502 withval=$with_biarch; if test "x$with_biarch" != xno; then : 6503 utrace_biarch_forced=yes 6504 fi 6505 fi 6506 6507 if test $utrace_biarch_forced = yes; then : 6508 utrace_cv_cc_biarch=yes 6509 { $as_echo "$as_me:${as_lineno-$LINENO}: enabling biarch tests regardless using $biarch_CC" >&5 6510 $as_echo "$as_me: enabling biarch tests regardless using $biarch_CC" >&6;} 6511 else 6512 if test x$utrace_cv_CC_m32 != xnone; then : 6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $biarch_CC makes executables we can run" >&5 6514 $as_echo_n "checking whether $biarch_CC makes executables we can run... " >&6; } 6515 if ${utrace_cv_cc_biarch+:} false; then : 6516 $as_echo_n "(cached) " >&6 6517 else 6518 save_CC="$CC" 6519 CC="$biarch_CC" 6520 if test "$cross_compiling" = yes; then : 6521 utrace_cv_cc_biarch=no 6522 else 6523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6524 /* end confdefs.h. */ 6525 6526 int 6527 main () 6528 { 6529 6530 ; 6531 return 0; 6532 } 6533 _ACEOF 6534 if ac_fn_c_try_run "$LINENO"; then : 6535 utrace_cv_cc_biarch=yes 6536 else 6537 utrace_cv_cc_biarch=no 6538 fi 6539 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6540 conftest.$ac_objext conftest.beam conftest.$ac_ext 6541 fi 6542 6543 CC="$save_CC" 6544 fi 6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utrace_cv_cc_biarch" >&5 6546 $as_echo "$utrace_cv_cc_biarch" >&6; } 6547 else 6548 utrace_cv_cc_biarch=no 6549 fi 6550 if test $utrace_cv_cc_biarch != yes; then : 6551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: not running biarch tests, $biarch_CC does not work" >&5 6552 $as_echo "$as_me: WARNING: not running biarch tests, $biarch_CC does not work" >&2;} 6553 fi 6554 fi 6555 if test $utrace_cv_cc_biarch = yes; then 6556 BIARCH_TRUE= 6557 BIARCH_FALSE='#' 6558 else 6559 BIARCH_TRUE='#' 6560 BIARCH_FALSE= 6561 fi 6562 6563 # `$utrace_biarch' will be `-m64' even on an uniarch i386 machine. 6564 CC_BIARCH="$CC $utrace_biarch" 6565 6566 6567 cat >confcache <<\_ACEOF 6568 # This file is a shell script that caches the results of configure 6569 # tests run on this system so they can be shared between configure 6570 # scripts and configure runs, see configure's option --config-cache. 6571 # It is not useful on other systems. If it contains results you don't 6572 # want to keep, you may remove or edit it. 6573 # 6574 # config.status only pays attention to the cache file if you give it 6575 # the --recheck option to rerun configure. 6576 # 6577 # `ac_cv_env_foo' variables (set or unset) will be overridden when 6578 # loading this file, other *unset* `ac_cv_foo' will be assigned the 6579 # following values. 6580 6581 _ACEOF 6582 6583 # The following way of writing the cache mishandles newlines in values, 6584 # but we know of no workaround that is simple, portable, and efficient. 6585 # So, we kill variables containing newlines. 6586 # Ultrix sh set writes to stderr and can't be redirected directly, 6587 # and sets the high bit in the cache file unless we assign to the vars. 6588 ( 6589 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6590 eval ac_val=\$$ac_var 6591 case $ac_val in #( 6592 *${as_nl}*) 6593 case $ac_var in #( 6594 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6595 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6596 esac 6597 case $ac_var in #( 6598 _ | IFS | as_nl) ;; #( 6599 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6600 *) { eval $ac_var=; unset $ac_var;} ;; 6601 esac ;; 6602 esac 6603 done 6604 6605 (set) 2>&1 | 6606 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6607 *${as_nl}ac_space=\ *) 6608 # `set' does not quote correctly, so add quotes: double-quote 6609 # substitution turns \\\\ into \\, and sed turns \\ into \. 6610 sed -n \ 6611 "s/'/'\\\\''/g; 6612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6613 ;; #( 6614 *) 6615 # `set' quotes correctly as required by POSIX, so do not add quotes. 6616 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6617 ;; 6618 esac | 6619 sort 6620 ) | 6621 sed ' 6622 /^ac_cv_env_/b end 6623 t clear 6624 :clear 6625 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6626 t end 6627 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6628 :end' >>confcache 6629 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6630 if test -w "$cache_file"; then 6631 if test "x$cache_file" != "x/dev/null"; then 6632 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6633 $as_echo "$as_me: updating cache $cache_file" >&6;} 6634 if test ! -f "$cache_file" || test -h "$cache_file"; then 6635 cat confcache >"$cache_file" 6636 else 6637 case $cache_file in #( 6638 */* | ?:*) 6639 mv -f confcache "$cache_file"$$ && 6640 mv -f "$cache_file"$$ "$cache_file" ;; #( 6641 *) 6642 mv -f confcache "$cache_file" ;; 6643 esac 6644 fi 6645 fi 6646 else 6647 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6648 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6649 fi 6650 fi 6651 rm -f confcache 6652 6653 test "x$prefix" = xNONE && prefix=$ac_default_prefix 6654 # Let make expand exec_prefix. 6655 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6656 6657 DEFS=-DHAVE_CONFIG_H 6658 6659 ac_libobjs= 6660 ac_ltlibobjs= 6661 U= 6662 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6663 # 1. Remove the extension, and $U if already installed. 6664 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6665 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6666 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6667 # will be set to the directory where LIBOBJS objects are built. 6668 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6669 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 6670 done 6671 LIBOBJS=$ac_libobjs 6672 6673 LTLIBOBJS=$ac_ltlibobjs 6674 6675 6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 6677 $as_echo_n "checking that generated files are newer than configure... " >&6; } 6678 if test -n "$am_sleep_pid"; then 6679 # Hide warnings about reused PIDs. 6680 wait $am_sleep_pid 2>/dev/null 6681 fi 6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 6683 $as_echo "done" >&6; } 6684 if test -n "$EXEEXT"; then 6685 am__EXEEXT_TRUE= 6686 am__EXEEXT_FALSE='#' 6687 else 6688 am__EXEEXT_TRUE='#' 6689 am__EXEEXT_FALSE= 6690 fi 6691 6692 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 6693 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 6694 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6695 fi 6696 if test -z "${USE_LOCKS_TRUE}" && test -z "${USE_LOCKS_FALSE}"; then 6697 as_fn_error $? "conditional \"USE_LOCKS\" was never defined. 6698 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6699 fi 6700 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 6701 as_fn_error $? "conditional \"AMDEP\" was never defined. 6702 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6703 fi 6704 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6705 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 6706 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6707 fi 6708 if test -z "${NATIVE_LD_TRUE}" && test -z "${NATIVE_LD_FALSE}"; then 6709 as_fn_error $? "conditional \"NATIVE_LD\" was never defined. 6710 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6711 fi 6712 if test -z "${NEVER_TRUE}" && test -z "${NEVER_FALSE}"; then 6713 as_fn_error $? "conditional \"NEVER\" was never defined. 6714 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6715 fi 6716 if test -z "${GPROF_TRUE}" && test -z "${GPROF_FALSE}"; then 6717 as_fn_error $? "conditional \"GPROF\" was never defined. 6718 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6719 fi 6720 if test -z "${GCOV_TRUE}" && test -z "${GCOV_FALSE}"; then 6721 as_fn_error $? "conditional \"GCOV\" was never defined. 6722 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6723 fi 6724 if test -z "${USE_VALGRIND_TRUE}" && test -z "${USE_VALGRIND_FALSE}"; then 6725 as_fn_error $? "conditional \"USE_VALGRIND\" was never defined. 6726 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6727 fi 6728 if test -z "${BUILD_STATIC_TRUE}" && test -z "${BUILD_STATIC_FALSE}"; then 6729 as_fn_error $? "conditional \"BUILD_STATIC\" was never defined. 6730 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6731 fi 6732 if test -z "${TESTS_RPATH_TRUE}" && test -z "${TESTS_RPATH_FALSE}"; then 6733 as_fn_error $? "conditional \"TESTS_RPATH\" was never defined. 6734 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6735 fi 6736 if test -z "${ZLIB_TRUE}" && test -z "${ZLIB_FALSE}"; then 6737 as_fn_error $? "conditional \"ZLIB\" was never defined. 6738 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6739 fi 6740 if test -z "${BZLIB_TRUE}" && test -z "${BZLIB_FALSE}"; then 6741 as_fn_error $? "conditional \"BZLIB\" was never defined. 6742 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6743 fi 6744 if test -z "${LZMA_TRUE}" && test -z "${LZMA_FALSE}"; then 6745 as_fn_error $? "conditional \"LZMA\" was never defined. 6746 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6747 fi 6748 if test -z "${DEMANGLE_TRUE}" && test -z "${DEMANGLE_FALSE}"; then 6749 as_fn_error $? "conditional \"DEMANGLE\" was never defined. 6750 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6751 fi 6752 if test -z "${FATAL_TEXTREL_TRUE}" && test -z "${FATAL_TEXTREL_FALSE}"; then 6753 as_fn_error $? "conditional \"FATAL_TEXTREL\" was never defined. 6754 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6755 fi 6756 if test -z "${HAVE_LIBASM_TRUE}" && test -z "${HAVE_LIBASM_FALSE}"; then 6757 as_fn_error $? "conditional \"HAVE_LIBASM\" was never defined. 6758 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6759 fi 6760 if test -z "${STANDALONE_TRUE}" && test -z "${STANDALONE_FALSE}"; then 6761 as_fn_error $? "conditional \"STANDALONE\" was never defined. 6762 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6763 fi 6764 if test -z "${BIARCH_TRUE}" && test -z "${BIARCH_FALSE}"; then 6765 as_fn_error $? "conditional \"BIARCH\" was never defined. 6766 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6767 fi 6768 6769 : "${CONFIG_STATUS=./config.status}" 6770 ac_write_fail=0 6771 ac_clean_files_save=$ac_clean_files 6772 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6773 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6774 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6775 as_write_fail=0 6776 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 6777 #! $SHELL 6778 # Generated by $as_me. 6779 # Run this file to recreate the current configuration. 6780 # Compiler output produced by configure, useful for debugging 6781 # configure, is in config.log if it exists. 6782 6783 debug=false 6784 ac_cs_recheck=false 6785 ac_cs_silent=false 6786 6787 SHELL=\${CONFIG_SHELL-$SHELL} 6788 export SHELL 6789 _ASEOF 6790 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6791 ## -------------------- ## 6792 ## M4sh Initialization. ## 6793 ## -------------------- ## 6794 6795 # Be more Bourne compatible 6796 DUALCASE=1; export DUALCASE # for MKS sh 6797 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 6798 emulate sh 6799 NULLCMD=: 6800 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6801 # is contrary to our usage. Disable this feature. 6802 alias -g '${1+"$@"}'='"$@"' 6803 setopt NO_GLOB_SUBST 6804 else 6805 case `(set -o) 2>/dev/null` in #( 6806 *posix*) : 6807 set -o posix ;; #( 6808 *) : 6809 ;; 6810 esac 6811 fi 6812 6813 6814 as_nl=' 6815 ' 6816 export as_nl 6817 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6818 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6819 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6820 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6821 # Prefer a ksh shell builtin over an external printf program on Solaris, 6822 # but without wasting forks for bash or zsh. 6823 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6824 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6825 as_echo='print -r --' 6826 as_echo_n='print -rn --' 6827 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6828 as_echo='printf %s\n' 6829 as_echo_n='printf %s' 6830 else 6831 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6832 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6833 as_echo_n='/usr/ucb/echo -n' 6834 else 6835 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6836 as_echo_n_body='eval 6837 arg=$1; 6838 case $arg in #( 6839 *"$as_nl"*) 6840 expr "X$arg" : "X\\(.*\\)$as_nl"; 6841 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6842 esac; 6843 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6844 ' 6845 export as_echo_n_body 6846 as_echo_n='sh -c $as_echo_n_body as_echo' 6847 fi 6848 export as_echo_body 6849 as_echo='sh -c $as_echo_body as_echo' 6850 fi 6851 6852 # The user is always right. 6853 if test "${PATH_SEPARATOR+set}" != set; then 6854 PATH_SEPARATOR=: 6855 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6856 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6857 PATH_SEPARATOR=';' 6858 } 6859 fi 6860 6861 6862 # IFS 6863 # We need space, tab and new line, in precisely that order. Quoting is 6864 # there to prevent editors from complaining about space-tab. 6865 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 6866 # splitting by setting IFS to empty value.) 6867 IFS=" "" $as_nl" 6868 6869 # Find who we are. Look in the path if we contain no directory separator. 6870 as_myself= 6871 case $0 in #(( 6872 *[\\/]* ) as_myself=$0 ;; 6873 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6874 for as_dir in $PATH 6875 do 6876 IFS=$as_save_IFS 6877 test -z "$as_dir" && as_dir=. 6878 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6879 done 6880 IFS=$as_save_IFS 6881 6882 ;; 6883 esac 6884 # We did not find ourselves, most probably we were run as `sh COMMAND' 6885 # in which case we are not to be found in the path. 6886 if test "x$as_myself" = x; then 6887 as_myself=$0 6888 fi 6889 if test ! -f "$as_myself"; then 6890 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6891 exit 1 6892 fi 6893 6894 # Unset variables that we do not need and which cause bugs (e.g. in 6895 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6896 # suppresses any "Segmentation fault" message there. '((' could 6897 # trigger a bug in pdksh 5.2.14. 6898 for as_var in BASH_ENV ENV MAIL MAILPATH 6899 do eval test x\${$as_var+set} = xset \ 6900 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6901 done 6902 PS1='$ ' 6903 PS2='> ' 6904 PS4='+ ' 6905 6906 # NLS nuisances. 6907 LC_ALL=C 6908 export LC_ALL 6909 LANGUAGE=C 6910 export LANGUAGE 6911 6912 # CDPATH. 6913 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6914 6915 6916 # as_fn_error STATUS ERROR [LINENO LOG_FD] 6917 # ---------------------------------------- 6918 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6919 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6920 # script with STATUS, using 1 if that was 0. 6921 as_fn_error () 6922 { 6923 as_status=$1; test $as_status -eq 0 && as_status=1 6924 if test "$4"; then 6925 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6926 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6927 fi 6928 $as_echo "$as_me: error: $2" >&2 6929 as_fn_exit $as_status 6930 } # as_fn_error 6931 6932 6933 # as_fn_set_status STATUS 6934 # ----------------------- 6935 # Set $? to STATUS, without forking. 6936 as_fn_set_status () 6937 { 6938 return $1 6939 } # as_fn_set_status 6940 6941 # as_fn_exit STATUS 6942 # ----------------- 6943 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6944 as_fn_exit () 6945 { 6946 set +e 6947 as_fn_set_status $1 6948 exit $1 6949 } # as_fn_exit 6950 6951 # as_fn_unset VAR 6952 # --------------- 6953 # Portably unset VAR. 6954 as_fn_unset () 6955 { 6956 { eval $1=; unset $1;} 6957 } 6958 as_unset=as_fn_unset 6959 # as_fn_append VAR VALUE 6960 # ---------------------- 6961 # Append the text in VALUE to the end of the definition contained in VAR. Take 6962 # advantage of any shell optimizations that allow amortized linear growth over 6963 # repeated appends, instead of the typical quadratic growth present in naive 6964 # implementations. 6965 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6966 eval 'as_fn_append () 6967 { 6968 eval $1+=\$2 6969 }' 6970 else 6971 as_fn_append () 6972 { 6973 eval $1=\$$1\$2 6974 } 6975 fi # as_fn_append 6976 6977 # as_fn_arith ARG... 6978 # ------------------ 6979 # Perform arithmetic evaluation on the ARGs, and store the result in the 6980 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6981 # must be portable across $(()) and expr. 6982 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6983 eval 'as_fn_arith () 6984 { 6985 as_val=$(( $* )) 6986 }' 6987 else 6988 as_fn_arith () 6989 { 6990 as_val=`expr "$@" || test $? -eq 1` 6991 } 6992 fi # as_fn_arith 6993 6994 6995 if expr a : '\(a\)' >/dev/null 2>&1 && 6996 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6997 as_expr=expr 6998 else 6999 as_expr=false 7000 fi 7001 7002 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7003 as_basename=basename 7004 else 7005 as_basename=false 7006 fi 7007 7008 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7009 as_dirname=dirname 7010 else 7011 as_dirname=false 7012 fi 7013 7014 as_me=`$as_basename -- "$0" || 7015 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7016 X"$0" : 'X\(//\)$' \| \ 7017 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7018 $as_echo X/"$0" | 7019 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7020 s//\1/ 7021 q 7022 } 7023 /^X\/\(\/\/\)$/{ 7024 s//\1/ 7025 q 7026 } 7027 /^X\/\(\/\).*/{ 7028 s//\1/ 7029 q 7030 } 7031 s/.*/./; q'` 7032 7033 # Avoid depending upon Character Ranges. 7034 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7035 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7036 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7037 as_cr_digits='0123456789' 7038 as_cr_alnum=$as_cr_Letters$as_cr_digits 7039 7040 ECHO_C= ECHO_N= ECHO_T= 7041 case `echo -n x` in #((((( 7042 -n*) 7043 case `echo 'xy\c'` in 7044 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7045 xy) ECHO_C='\c';; 7046 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7047 ECHO_T=' ';; 7048 esac;; 7049 *) 7050 ECHO_N='-n';; 7051 esac 7052 7053 rm -f conf$$ conf$$.exe conf$$.file 7054 if test -d conf$$.dir; then 7055 rm -f conf$$.dir/conf$$.file 7056 else 7057 rm -f conf$$.dir 7058 mkdir conf$$.dir 2>/dev/null 7059 fi 7060 if (echo >conf$$.file) 2>/dev/null; then 7061 if ln -s conf$$.file conf$$ 2>/dev/null; then 7062 as_ln_s='ln -s' 7063 # ... but there are two gotchas: 7064 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7065 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7066 # In both cases, we have to default to `cp -pR'. 7067 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7068 as_ln_s='cp -pR' 7069 elif ln conf$$.file conf$$ 2>/dev/null; then 7070 as_ln_s=ln 7071 else 7072 as_ln_s='cp -pR' 7073 fi 7074 else 7075 as_ln_s='cp -pR' 7076 fi 7077 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7078 rmdir conf$$.dir 2>/dev/null 7079 7080 7081 # as_fn_mkdir_p 7082 # ------------- 7083 # Create "$as_dir" as a directory, including parents if necessary. 7084 as_fn_mkdir_p () 7085 { 7086 7087 case $as_dir in #( 7088 -*) as_dir=./$as_dir;; 7089 esac 7090 test -d "$as_dir" || eval $as_mkdir_p || { 7091 as_dirs= 7092 while :; do 7093 case $as_dir in #( 7094 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7095 *) as_qdir=$as_dir;; 7096 esac 7097 as_dirs="'$as_qdir' $as_dirs" 7098 as_dir=`$as_dirname -- "$as_dir" || 7099 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7100 X"$as_dir" : 'X\(//\)[^/]' \| \ 7101 X"$as_dir" : 'X\(//\)$' \| \ 7102 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7103 $as_echo X"$as_dir" | 7104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7105 s//\1/ 7106 q 7107 } 7108 /^X\(\/\/\)[^/].*/{ 7109 s//\1/ 7110 q 7111 } 7112 /^X\(\/\/\)$/{ 7113 s//\1/ 7114 q 7115 } 7116 /^X\(\/\).*/{ 7117 s//\1/ 7118 q 7119 } 7120 s/.*/./; q'` 7121 test -d "$as_dir" && break 7122 done 7123 test -z "$as_dirs" || eval "mkdir $as_dirs" 7124 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7125 7126 7127 } # as_fn_mkdir_p 7128 if mkdir -p . 2>/dev/null; then 7129 as_mkdir_p='mkdir -p "$as_dir"' 7130 else 7131 test -d ./-p && rmdir ./-p 7132 as_mkdir_p=false 7133 fi 7134 7135 7136 # as_fn_executable_p FILE 7137 # ----------------------- 7138 # Test if FILE is an executable regular file. 7139 as_fn_executable_p () 7140 { 7141 test -f "$1" && test -x "$1" 7142 } # as_fn_executable_p 7143 as_test_x='test -x' 7144 as_executable_p=as_fn_executable_p 7145 7146 # Sed expression to map a string onto a valid CPP name. 7147 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7148 7149 # Sed expression to map a string onto a valid variable name. 7150 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7151 7152 7153 exec 6>&1 7154 ## ----------------------------------- ## 7155 ## Main body of $CONFIG_STATUS script. ## 7156 ## ----------------------------------- ## 7157 _ASEOF 7158 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7159 7160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7161 # Save the log message, to keep $0 and so on meaningful, and to 7162 # report actual input values of CONFIG_FILES etc. instead of their 7163 # values after options handling. 7164 ac_log=" 7165 This file was extended by elfutils $as_me 0.161, which was 7166 generated by GNU Autoconf 2.69. Invocation command line was 7167 7168 CONFIG_FILES = $CONFIG_FILES 7169 CONFIG_HEADERS = $CONFIG_HEADERS 7170 CONFIG_LINKS = $CONFIG_LINKS 7171 CONFIG_COMMANDS = $CONFIG_COMMANDS 7172 $ $0 $@ 7173 7174 on `(hostname || uname -n) 2>/dev/null | sed 1q` 7175 " 7176 7177 _ACEOF 7178 7179 case $ac_config_files in *" 7180 "*) set x $ac_config_files; shift; ac_config_files=$*;; 7181 esac 7182 7183 case $ac_config_headers in *" 7184 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7185 esac 7186 7187 7188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7189 # Files that config.status was made for. 7190 config_files="$ac_config_files" 7191 config_headers="$ac_config_headers" 7192 config_commands="$ac_config_commands" 7193 7194 _ACEOF 7195 7196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7197 ac_cs_usage="\ 7198 \`$as_me' instantiates files and other configuration actions 7199 from templates according to the current configuration. Unless the files 7200 and actions are specified as TAGs, all are instantiated by default. 7201 7202 Usage: $0 [OPTION]... [TAG]... 7203 7204 -h, --help print this help, then exit 7205 -V, --version print version number and configuration settings, then exit 7206 --config print configuration, then exit 7207 -q, --quiet, --silent 7208 do not print progress messages 7209 -d, --debug don't remove temporary files 7210 --recheck update $as_me by reconfiguring in the same conditions 7211 --file=FILE[:TEMPLATE] 7212 instantiate the configuration file FILE 7213 --header=FILE[:TEMPLATE] 7214 instantiate the configuration header FILE 7215 7216 Configuration files: 7217 $config_files 7218 7219 Configuration headers: 7220 $config_headers 7221 7222 Configuration commands: 7223 $config_commands 7224 7225 Report bugs to <https://bugzilla.redhat.com/>." 7226 7227 _ACEOF 7228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7229 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7230 ac_cs_version="\\ 7231 elfutils config.status 0.161 7232 configured by $0, generated by GNU Autoconf 2.69, 7233 with options \\"\$ac_cs_config\\" 7234 7235 Copyright (C) 2012 Free Software Foundation, Inc. 7236 This config.status script is free software; the Free Software Foundation 7237 gives unlimited permission to copy, distribute and modify it." 7238 7239 ac_pwd='$ac_pwd' 7240 srcdir='$srcdir' 7241 INSTALL='$INSTALL' 7242 MKDIR_P='$MKDIR_P' 7243 AWK='$AWK' 7244 test -n "\$AWK" || AWK=awk 7245 _ACEOF 7246 7247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7248 # The default lists apply if the user does not specify any file. 7249 ac_need_defaults=: 7250 while test $# != 0 7251 do 7252 case $1 in 7253 --*=?*) 7254 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7255 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7256 ac_shift=: 7257 ;; 7258 --*=) 7259 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7260 ac_optarg= 7261 ac_shift=: 7262 ;; 7263 *) 7264 ac_option=$1 7265 ac_optarg=$2 7266 ac_shift=shift 7267 ;; 7268 esac 7269 7270 case $ac_option in 7271 # Handling of the options. 7272 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7273 ac_cs_recheck=: ;; 7274 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7275 $as_echo "$ac_cs_version"; exit ;; 7276 --config | --confi | --conf | --con | --co | --c ) 7277 $as_echo "$ac_cs_config"; exit ;; 7278 --debug | --debu | --deb | --de | --d | -d ) 7279 debug=: ;; 7280 --file | --fil | --fi | --f ) 7281 $ac_shift 7282 case $ac_optarg in 7283 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7284 '') as_fn_error $? "missing file argument" ;; 7285 esac 7286 as_fn_append CONFIG_FILES " '$ac_optarg'" 7287 ac_need_defaults=false;; 7288 --header | --heade | --head | --hea ) 7289 $ac_shift 7290 case $ac_optarg in 7291 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7292 esac 7293 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7294 ac_need_defaults=false;; 7295 --he | --h) 7296 # Conflict between --help and --header 7297 as_fn_error $? "ambiguous option: \`$1' 7298 Try \`$0 --help' for more information.";; 7299 --help | --hel | -h ) 7300 $as_echo "$ac_cs_usage"; exit ;; 7301 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7302 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7303 ac_cs_silent=: ;; 7304 7305 # This is an error. 7306 -*) as_fn_error $? "unrecognized option: \`$1' 7307 Try \`$0 --help' for more information." ;; 7308 7309 *) as_fn_append ac_config_targets " $1" 7310 ac_need_defaults=false ;; 7311 7312 esac 7313 shift 7314 done 7315 7316 ac_configure_extra_args= 7317 7318 if $ac_cs_silent; then 7319 exec 6>/dev/null 7320 ac_configure_extra_args="$ac_configure_extra_args --silent" 7321 fi 7322 7323 _ACEOF 7324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7325 if \$ac_cs_recheck; then 7326 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7327 shift 7328 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7329 CONFIG_SHELL='$SHELL' 7330 export CONFIG_SHELL 7331 exec "\$@" 7332 fi 7333 7334 _ACEOF 7335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7336 exec 5>>config.log 7337 { 7338 echo 7339 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7340 ## Running $as_me. ## 7341 _ASBOX 7342 $as_echo "$ac_log" 7343 } >&5 7344 7345 _ACEOF 7346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7347 # 7348 # INIT-COMMANDS 7349 # 7350 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 7351 # Capture the value of obsolete ALL_LINGUAS because we need it to compute 7352 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 7353 # from automake < 1.5. 7354 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 7355 # Capture the value of LINGUAS because we need it to compute CATALOGS. 7356 LINGUAS="${LINGUAS-%UNSET%}" 7357 7358 7359 _ACEOF 7360 7361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7362 7363 # Handling of arguments. 7364 for ac_config_target in $ac_config_targets 7365 do 7366 case $ac_config_target in 7367 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;; 7368 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7369 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7370 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 7371 "elfutils.spec") CONFIG_FILES="$CONFIG_FILES elfutils.spec:config/elfutils.spec.in" ;; 7372 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7373 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 7374 "libelf/Makefile") CONFIG_FILES="$CONFIG_FILES libelf/Makefile" ;; 7375 "libebl/Makefile") CONFIG_FILES="$CONFIG_FILES libebl/Makefile" ;; 7376 "libdwelf/Makefile") CONFIG_FILES="$CONFIG_FILES libdwelf/Makefile" ;; 7377 "libdw/Makefile") CONFIG_FILES="$CONFIG_FILES libdw/Makefile" ;; 7378 "libdwfl/Makefile") CONFIG_FILES="$CONFIG_FILES libdwfl/Makefile" ;; 7379 "libcpu/Makefile") CONFIG_FILES="$CONFIG_FILES libcpu/Makefile" ;; 7380 "libasm/Makefile") CONFIG_FILES="$CONFIG_FILES libasm/Makefile" ;; 7381 "backends/Makefile") CONFIG_FILES="$CONFIG_FILES backends/Makefile" ;; 7382 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 7383 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 7384 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 7385 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 7386 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:config/version.h.in" ;; 7387 7388 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7389 esac 7390 done 7391 7392 7393 # If the user did not use the arguments to specify the items to instantiate, 7394 # then the envvar interface is used. Set only those that are not. 7395 # We use the long form for the default assignment because of an extremely 7396 # bizarre bug on SunOS 4.1.3. 7397 if $ac_need_defaults; then 7398 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7399 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7400 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7401 fi 7402 7403 # Have a temporary directory for convenience. Make it in the build tree 7404 # simply because there is no reason against having it here, and in addition, 7405 # creating and moving files from /tmp can sometimes cause problems. 7406 # Hook for its removal unless debugging. 7407 # Note that there is a small window in which the directory will not be cleaned: 7408 # after its creation but before its name has been assigned to `$tmp'. 7409 $debug || 7410 { 7411 tmp= ac_tmp= 7412 trap 'exit_status=$? 7413 : "${ac_tmp:=$tmp}" 7414 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7415 ' 0 7416 trap 'as_fn_exit 1' 1 2 13 15 7417 } 7418 # Create a (secure) tmp directory for tmp files. 7419 7420 { 7421 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7422 test -d "$tmp" 7423 } || 7424 { 7425 tmp=./conf$$-$RANDOM 7426 (umask 077 && mkdir "$tmp") 7427 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7428 ac_tmp=$tmp 7429 7430 # Set up the scripts for CONFIG_FILES section. 7431 # No need to generate them if there are no CONFIG_FILES. 7432 # This happens for instance with `./config.status config.h'. 7433 if test -n "$CONFIG_FILES"; then 7434 7435 7436 ac_cr=`echo X | tr X '\015'` 7437 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7438 # But we know of no other shell where ac_cr would be empty at this 7439 # point, so we can use a bashism as a fallback. 7440 if test "x$ac_cr" = x; then 7441 eval ac_cr=\$\'\\r\' 7442 fi 7443 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7444 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7445 ac_cs_awk_cr='\\r' 7446 else 7447 ac_cs_awk_cr=$ac_cr 7448 fi 7449 7450 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 7451 _ACEOF 7452 7453 7454 { 7455 echo "cat >conf$$subs.awk <<_ACEOF" && 7456 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7457 echo "_ACEOF" 7458 } >conf$$subs.sh || 7459 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7460 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7461 ac_delim='%!_!# ' 7462 for ac_last_try in false false false false false :; do 7463 . ./conf$$subs.sh || 7464 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7465 7466 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7467 if test $ac_delim_n = $ac_delim_num; then 7468 break 7469 elif $ac_last_try; then 7470 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7471 else 7472 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7473 fi 7474 done 7475 rm -f conf$$subs.sh 7476 7477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7478 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 7479 _ACEOF 7480 sed -n ' 7481 h 7482 s/^/S["/; s/!.*/"]=/ 7483 p 7484 g 7485 s/^[^!]*!// 7486 :repl 7487 t repl 7488 s/'"$ac_delim"'$// 7489 t delim 7490 :nl 7491 h 7492 s/\(.\{148\}\)..*/\1/ 7493 t more1 7494 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7495 p 7496 n 7497 b repl 7498 :more1 7499 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7500 p 7501 g 7502 s/.\{148\}// 7503 t nl 7504 :delim 7505 h 7506 s/\(.\{148\}\)..*/\1/ 7507 t more2 7508 s/["\\]/\\&/g; s/^/"/; s/$/"/ 7509 p 7510 b 7511 :more2 7512 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7513 p 7514 g 7515 s/.\{148\}// 7516 t delim 7517 ' <conf$$subs.awk | sed ' 7518 /^[^""]/{ 7519 N 7520 s/\n// 7521 } 7522 ' >>$CONFIG_STATUS || ac_write_fail=1 7523 rm -f conf$$subs.awk 7524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7525 _ACAWK 7526 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 7527 for (key in S) S_is_set[key] = 1 7528 FS = "" 7529 7530 } 7531 { 7532 line = $ 0 7533 nfields = split(line, field, "@") 7534 substed = 0 7535 len = length(field[1]) 7536 for (i = 2; i < nfields; i++) { 7537 key = field[i] 7538 keylen = length(key) 7539 if (S_is_set[key]) { 7540 value = S[key] 7541 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7542 len += length(value) + length(field[++i]) 7543 substed = 1 7544 } else 7545 len += 1 + keylen 7546 } 7547 7548 print line 7549 } 7550 7551 _ACAWK 7552 _ACEOF 7553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7554 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7555 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7556 else 7557 cat 7558 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7559 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7560 _ACEOF 7561 7562 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7563 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7564 # trailing colons and then remove the whole line if VPATH becomes empty 7565 # (actually we leave an empty line to preserve line numbers). 7566 if test "x$srcdir" = x.; then 7567 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7568 h 7569 s/// 7570 s/^/:/ 7571 s/[ ]*$/:/ 7572 s/:\$(srcdir):/:/g 7573 s/:\${srcdir}:/:/g 7574 s/:@srcdir@:/:/g 7575 s/^:*// 7576 s/:*$// 7577 x 7578 s/\(=[ ]*\).*/\1/ 7579 G 7580 s/\n// 7581 s/^[^=]*=[ ]*$// 7582 }' 7583 fi 7584 7585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7586 fi # test -n "$CONFIG_FILES" 7587 7588 # Set up the scripts for CONFIG_HEADERS section. 7589 # No need to generate them if there are no CONFIG_HEADERS. 7590 # This happens for instance with `./config.status Makefile'. 7591 if test -n "$CONFIG_HEADERS"; then 7592 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 7593 BEGIN { 7594 _ACEOF 7595 7596 # Transform confdefs.h into an awk script `defines.awk', embedded as 7597 # here-document in config.status, that substitutes the proper values into 7598 # config.h.in to produce config.h. 7599 7600 # Create a delimiter string that does not exist in confdefs.h, to ease 7601 # handling of long lines. 7602 ac_delim='%!_!# ' 7603 for ac_last_try in false false :; do 7604 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 7605 if test -z "$ac_tt"; then 7606 break 7607 elif $ac_last_try; then 7608 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7609 else 7610 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7611 fi 7612 done 7613 7614 # For the awk script, D is an array of macro values keyed by name, 7615 # likewise P contains macro parameters if any. Preserve backslash 7616 # newline sequences. 7617 7618 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7619 sed -n ' 7620 s/.\{148\}/&'"$ac_delim"'/g 7621 t rset 7622 :rset 7623 s/^[ ]*#[ ]*define[ ][ ]*/ / 7624 t def 7625 d 7626 :def 7627 s/\\$// 7628 t bsnl 7629 s/["\\]/\\&/g 7630 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7631 D["\1"]=" \3"/p 7632 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7633 d 7634 :bsnl 7635 s/["\\]/\\&/g 7636 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7637 D["\1"]=" \3\\\\\\n"\\/p 7638 t cont 7639 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7640 t cont 7641 d 7642 :cont 7643 n 7644 s/.\{148\}/&'"$ac_delim"'/g 7645 t clear 7646 :clear 7647 s/\\$// 7648 t bsnlc 7649 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7650 d 7651 :bsnlc 7652 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7653 b cont 7654 ' <confdefs.h | sed ' 7655 s/'"$ac_delim"'/"\\\ 7656 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7657 7658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7659 for (key in D) D_is_set[key] = 1 7660 FS = "" 7661 } 7662 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7663 line = \$ 0 7664 split(line, arg, " ") 7665 if (arg[1] == "#") { 7666 defundef = arg[2] 7667 mac1 = arg[3] 7668 } else { 7669 defundef = substr(arg[1], 2) 7670 mac1 = arg[2] 7671 } 7672 split(mac1, mac2, "(") #) 7673 macro = mac2[1] 7674 prefix = substr(line, 1, index(line, defundef) - 1) 7675 if (D_is_set[macro]) { 7676 # Preserve the white space surrounding the "#". 7677 print prefix "define", macro P[macro] D[macro] 7678 next 7679 } else { 7680 # Replace #undef with comments. This is necessary, for example, 7681 # in the case of _POSIX_SOURCE, which is predefined and required 7682 # on some systems where configure will not decide to define it. 7683 if (defundef == "undef") { 7684 print "/*", prefix defundef, macro, "*/" 7685 next 7686 } 7687 } 7688 } 7689 { print } 7690 _ACAWK 7691 _ACEOF 7692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7693 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7694 fi # test -n "$CONFIG_HEADERS" 7695 7696 7697 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 7698 shift 7699 for ac_tag 7700 do 7701 case $ac_tag in 7702 :[FHLC]) ac_mode=$ac_tag; continue;; 7703 esac 7704 case $ac_mode$ac_tag in 7705 :[FHL]*:*);; 7706 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7707 :[FH]-) ac_tag=-:-;; 7708 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7709 esac 7710 ac_save_IFS=$IFS 7711 IFS=: 7712 set x $ac_tag 7713 IFS=$ac_save_IFS 7714 shift 7715 ac_file=$1 7716 shift 7717 7718 case $ac_mode in 7719 :L) ac_source=$1;; 7720 :[FH]) 7721 ac_file_inputs= 7722 for ac_f 7723 do 7724 case $ac_f in 7725 -) ac_f="$ac_tmp/stdin";; 7726 *) # Look for the file first in the build tree, then in the source tree 7727 # (if the path is not absolute). The absolute path cannot be DOS-style, 7728 # because $ac_f cannot contain `:'. 7729 test -f "$ac_f" || 7730 case $ac_f in 7731 [\\/$]*) false;; 7732 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7733 esac || 7734 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7735 esac 7736 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7737 as_fn_append ac_file_inputs " '$ac_f'" 7738 done 7739 7740 # Let's still pretend it is `configure' which instantiates (i.e., don't 7741 # use $as_me), people would be surprised to read: 7742 # /* config.h. Generated by config.status. */ 7743 configure_input='Generated from '` 7744 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7745 `' by configure.' 7746 if test x"$ac_file" != x-; then 7747 configure_input="$ac_file. $configure_input" 7748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7749 $as_echo "$as_me: creating $ac_file" >&6;} 7750 fi 7751 # Neutralize special characters interpreted by sed in replacement strings. 7752 case $configure_input in #( 7753 *\&* | *\|* | *\\* ) 7754 ac_sed_conf_input=`$as_echo "$configure_input" | 7755 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7756 *) ac_sed_conf_input=$configure_input;; 7757 esac 7758 7759 case $ac_tag in 7760 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7761 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7762 esac 7763 ;; 7764 esac 7765 7766 ac_dir=`$as_dirname -- "$ac_file" || 7767 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7768 X"$ac_file" : 'X\(//\)[^/]' \| \ 7769 X"$ac_file" : 'X\(//\)$' \| \ 7770 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7771 $as_echo X"$ac_file" | 7772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7773 s//\1/ 7774 q 7775 } 7776 /^X\(\/\/\)[^/].*/{ 7777 s//\1/ 7778 q 7779 } 7780 /^X\(\/\/\)$/{ 7781 s//\1/ 7782 q 7783 } 7784 /^X\(\/\).*/{ 7785 s//\1/ 7786 q 7787 } 7788 s/.*/./; q'` 7789 as_dir="$ac_dir"; as_fn_mkdir_p 7790 ac_builddir=. 7791 7792 case "$ac_dir" in 7793 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7794 *) 7795 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7796 # A ".." for each directory in $ac_dir_suffix. 7797 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7798 case $ac_top_builddir_sub in 7799 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7800 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7801 esac ;; 7802 esac 7803 ac_abs_top_builddir=$ac_pwd 7804 ac_abs_builddir=$ac_pwd$ac_dir_suffix 7805 # for backward compatibility: 7806 ac_top_builddir=$ac_top_build_prefix 7807 7808 case $srcdir in 7809 .) # We are building in place. 7810 ac_srcdir=. 7811 ac_top_srcdir=$ac_top_builddir_sub 7812 ac_abs_top_srcdir=$ac_pwd ;; 7813 [\\/]* | ?:[\\/]* ) # Absolute name. 7814 ac_srcdir=$srcdir$ac_dir_suffix; 7815 ac_top_srcdir=$srcdir 7816 ac_abs_top_srcdir=$srcdir ;; 7817 *) # Relative name. 7818 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7819 ac_top_srcdir=$ac_top_build_prefix$srcdir 7820 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7821 esac 7822 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7823 7824 7825 case $ac_mode in 7826 :F) 7827 # 7828 # CONFIG_FILE 7829 # 7830 7831 case $INSTALL in 7832 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7833 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7834 esac 7835 ac_MKDIR_P=$MKDIR_P 7836 case $MKDIR_P in 7837 [\\/$]* | ?:[\\/]* ) ;; 7838 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 7839 esac 7840 _ACEOF 7841 7842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7843 # If the template does not know about datarootdir, expand it. 7844 # FIXME: This hack should be removed a few years after 2.60. 7845 ac_datarootdir_hack=; ac_datarootdir_seen= 7846 ac_sed_dataroot=' 7847 /datarootdir/ { 7848 p 7849 q 7850 } 7851 /@datadir@/p 7852 /@docdir@/p 7853 /@infodir@/p 7854 /@localedir@/p 7855 /@mandir@/p' 7856 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7857 *datarootdir*) ac_datarootdir_seen=yes;; 7858 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7860 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7861 _ACEOF 7862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7863 ac_datarootdir_hack=' 7864 s&@datadir@&$datadir&g 7865 s&@docdir@&$docdir&g 7866 s&@infodir@&$infodir&g 7867 s&@localedir@&$localedir&g 7868 s&@mandir@&$mandir&g 7869 s&\\\${datarootdir}&$datarootdir&g' ;; 7870 esac 7871 _ACEOF 7872 7873 # Neutralize VPATH when `$srcdir' = `.'. 7874 # Shell code in configure.ac might set extrasub. 7875 # FIXME: do we really want to maintain this feature? 7876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7877 ac_sed_extra="$ac_vpsub 7878 $extrasub 7879 _ACEOF 7880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7881 :t 7882 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7883 s|@configure_input@|$ac_sed_conf_input|;t t 7884 s&@top_builddir@&$ac_top_builddir_sub&;t t 7885 s&@top_build_prefix@&$ac_top_build_prefix&;t t 7886 s&@srcdir@&$ac_srcdir&;t t 7887 s&@abs_srcdir@&$ac_abs_srcdir&;t t 7888 s&@top_srcdir@&$ac_top_srcdir&;t t 7889 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7890 s&@builddir@&$ac_builddir&;t t 7891 s&@abs_builddir@&$ac_abs_builddir&;t t 7892 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7893 s&@INSTALL@&$ac_INSTALL&;t t 7894 s&@MKDIR_P@&$ac_MKDIR_P&;t t 7895 $ac_datarootdir_hack 7896 " 7897 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7898 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7899 7900 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7901 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7902 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7903 "$ac_tmp/out"`; test -z "$ac_out"; } && 7904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7905 which seems to be undefined. Please make sure it is defined" >&5 7906 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7907 which seems to be undefined. Please make sure it is defined" >&2;} 7908 7909 rm -f "$ac_tmp/stdin" 7910 case $ac_file in 7911 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 7912 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 7913 esac \ 7914 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7915 ;; 7916 :H) 7917 # 7918 # CONFIG_HEADER 7919 # 7920 if test x"$ac_file" != x-; then 7921 { 7922 $as_echo "/* $configure_input */" \ 7923 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 7924 } >"$ac_tmp/config.h" \ 7925 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7926 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 7927 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7928 $as_echo "$as_me: $ac_file is unchanged" >&6;} 7929 else 7930 rm -f "$ac_file" 7931 mv "$ac_tmp/config.h" "$ac_file" \ 7932 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7933 fi 7934 else 7935 $as_echo "/* $configure_input */" \ 7936 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 7937 || as_fn_error $? "could not create -" "$LINENO" 5 7938 fi 7939 # Compute "$ac_file"'s index in $config_headers. 7940 _am_arg="$ac_file" 7941 _am_stamp_count=1 7942 for _am_header in $config_headers :; do 7943 case $_am_header in 7944 $_am_arg | $_am_arg:* ) 7945 break ;; 7946 * ) 7947 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 7948 esac 7949 done 7950 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 7951 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7952 X"$_am_arg" : 'X\(//\)[^/]' \| \ 7953 X"$_am_arg" : 'X\(//\)$' \| \ 7954 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 7955 $as_echo X"$_am_arg" | 7956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7957 s//\1/ 7958 q 7959 } 7960 /^X\(\/\/\)[^/].*/{ 7961 s//\1/ 7962 q 7963 } 7964 /^X\(\/\/\)$/{ 7965 s//\1/ 7966 q 7967 } 7968 /^X\(\/\).*/{ 7969 s//\1/ 7970 q 7971 } 7972 s/.*/./; q'`/stamp-h$_am_stamp_count 7973 ;; 7974 7975 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 7976 $as_echo "$as_me: executing $ac_file commands" >&6;} 7977 ;; 7978 esac 7979 7980 7981 case $ac_file$ac_mode in 7982 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 7983 # Older Autoconf quotes --file arguments for eval, but not when files 7984 # are listed without --file. Let's play safe and only enable the eval 7985 # if we detect the quoting. 7986 case $CONFIG_FILES in 7987 *\'*) eval set x "$CONFIG_FILES" ;; 7988 *) set x $CONFIG_FILES ;; 7989 esac 7990 shift 7991 for mf 7992 do 7993 # Strip MF so we end up with the name of the file. 7994 mf=`echo "$mf" | sed -e 's/:.*$//'` 7995 # Check whether this is an Automake generated Makefile or not. 7996 # We used to match only the files named 'Makefile.in', but 7997 # some people rename them; so instead we look at the file content. 7998 # Grep'ing the first line is not enough: some people post-process 7999 # each Makefile.in and add a new line on top of each file to say so. 8000 # Grep'ing the whole file is not good either: AIX grep has a line 8001 # limit of 2048, but all sed's we know have understand at least 4000. 8002 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 8003 dirpart=`$as_dirname -- "$mf" || 8004 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8005 X"$mf" : 'X\(//\)[^/]' \| \ 8006 X"$mf" : 'X\(//\)$' \| \ 8007 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 8008 $as_echo X"$mf" | 8009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8010 s//\1/ 8011 q 8012 } 8013 /^X\(\/\/\)[^/].*/{ 8014 s//\1/ 8015 q 8016 } 8017 /^X\(\/\/\)$/{ 8018 s//\1/ 8019 q 8020 } 8021 /^X\(\/\).*/{ 8022 s//\1/ 8023 q 8024 } 8025 s/.*/./; q'` 8026 else 8027 continue 8028 fi 8029 # Extract the definition of DEPDIR, am__include, and am__quote 8030 # from the Makefile without running 'make'. 8031 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 8032 test -z "$DEPDIR" && continue 8033 am__include=`sed -n 's/^am__include = //p' < "$mf"` 8034 test -z "$am__include" && continue 8035 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 8036 # Find all dependency output files, they are included files with 8037 # $(DEPDIR) in their names. We invoke sed twice because it is the 8038 # simplest approach to changing $(DEPDIR) to its actual value in the 8039 # expansion. 8040 for file in `sed -n " 8041 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 8042 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 8043 # Make sure the directory exists. 8044 test -f "$dirpart/$file" && continue 8045 fdir=`$as_dirname -- "$file" || 8046 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8047 X"$file" : 'X\(//\)[^/]' \| \ 8048 X"$file" : 'X\(//\)$' \| \ 8049 X"$file" : 'X\(/\)' \| . 2>/dev/null || 8050 $as_echo X"$file" | 8051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8052 s//\1/ 8053 q 8054 } 8055 /^X\(\/\/\)[^/].*/{ 8056 s//\1/ 8057 q 8058 } 8059 /^X\(\/\/\)$/{ 8060 s//\1/ 8061 q 8062 } 8063 /^X\(\/\).*/{ 8064 s//\1/ 8065 q 8066 } 8067 s/.*/./; q'` 8068 as_dir=$dirpart/$fdir; as_fn_mkdir_p 8069 # echo "creating $dirpart/$file" 8070 echo '# dummy' > "$dirpart/$file" 8071 done 8072 done 8073 } 8074 ;; 8075 "po-directories":C) 8076 for ac_file in $CONFIG_FILES; do 8077 # Support "outfile[:infile[:infile...]]" 8078 case "$ac_file" in 8079 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 8080 esac 8081 # PO directories have a Makefile.in generated from Makefile.in.in. 8082 case "$ac_file" in */Makefile.in) 8083 # Adjust a relative srcdir. 8084 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 8085 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 8086 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 8087 # In autoconf-2.13 it is called $ac_given_srcdir. 8088 # In autoconf-2.50 it is called $srcdir. 8089 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 8090 case "$ac_given_srcdir" in 8091 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 8092 /*) top_srcdir="$ac_given_srcdir" ;; 8093 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 8094 esac 8095 # Treat a directory as a PO directory if and only if it has a 8096 # POTFILES.in file. This allows packages to have multiple PO 8097 # directories under different names or in different locations. 8098 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 8099 rm -f "$ac_dir/POTFILES" 8100 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 8101 gt_tab=`printf '\t'` 8102 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 8103 POMAKEFILEDEPS="POTFILES.in" 8104 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 8105 # on $ac_dir but don't depend on user-specified configuration 8106 # parameters. 8107 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 8108 # The LINGUAS file contains the set of available languages. 8109 if test -n "$OBSOLETE_ALL_LINGUAS"; then 8110 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 8111 fi 8112 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 8113 # Hide the ALL_LINGUAS assignment from automake < 1.5. 8114 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 8115 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 8116 else 8117 # The set of available languages was given in configure.in. 8118 # Hide the ALL_LINGUAS assignment from automake < 1.5. 8119 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 8120 fi 8121 # Compute POFILES 8122 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 8123 # Compute UPDATEPOFILES 8124 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 8125 # Compute DUMMYPOFILES 8126 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 8127 # Compute GMOFILES 8128 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 8129 case "$ac_given_srcdir" in 8130 .) srcdirpre= ;; 8131 *) srcdirpre='$(srcdir)/' ;; 8132 esac 8133 POFILES= 8134 UPDATEPOFILES= 8135 DUMMYPOFILES= 8136 GMOFILES= 8137 for lang in $ALL_LINGUAS; do 8138 POFILES="$POFILES $srcdirpre$lang.po" 8139 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 8140 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 8141 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 8142 done 8143 # CATALOGS depends on both $ac_dir and the user's LINGUAS 8144 # environment variable. 8145 INST_LINGUAS= 8146 if test -n "$ALL_LINGUAS"; then 8147 for presentlang in $ALL_LINGUAS; do 8148 useit=no 8149 if test "%UNSET%" != "$LINGUAS"; then 8150 desiredlanguages="$LINGUAS" 8151 else 8152 desiredlanguages="$ALL_LINGUAS" 8153 fi 8154 for desiredlang in $desiredlanguages; do 8155 # Use the presentlang catalog if desiredlang is 8156 # a. equal to presentlang, or 8157 # b. a variant of presentlang (because in this case, 8158 # presentlang can be used as a fallback for messages 8159 # which are not translated in the desiredlang catalog). 8160 case "$desiredlang" in 8161 "$presentlang"*) useit=yes;; 8162 esac 8163 done 8164 if test $useit = yes; then 8165 INST_LINGUAS="$INST_LINGUAS $presentlang" 8166 fi 8167 done 8168 fi 8169 CATALOGS= 8170 if test -n "$INST_LINGUAS"; then 8171 for lang in $INST_LINGUAS; do 8172 CATALOGS="$CATALOGS $lang.gmo" 8173 done 8174 fi 8175 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 8176 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 8177 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 8178 if test -f "$f"; then 8179 case "$f" in 8180 *.orig | *.bak | *~) ;; 8181 *) cat "$f" >> "$ac_dir/Makefile" ;; 8182 esac 8183 fi 8184 done 8185 fi 8186 ;; 8187 esac 8188 done ;; 8189 8190 esac 8191 done # for ac_tag 8192 8193 8194 as_fn_exit 0 8195 _ACEOF 8196 ac_clean_files=$ac_clean_files_save 8197 8198 test $ac_write_fail = 0 || 8199 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 8200 8201 8202 # configure is writing to config.log, and then calls config.status. 8203 # config.status does its own redirection, appending to config.log. 8204 # Unfortunately, on DOS this fails, as config.log is still kept open 8205 # by configure, so config.status won't be able to write to it; its 8206 # output is simply discarded. So we exec the FD to /dev/null, 8207 # effectively closing config.log, so it can be properly (re)opened and 8208 # appended to by config.status. When coming back to configure, we 8209 # need to make the FD available again. 8210 if test "$no_create" != yes; then 8211 ac_cs_success=: 8212 ac_config_status_args= 8213 test "$silent" = yes && 8214 ac_config_status_args="$ac_config_status_args --quiet" 8215 exec 5>/dev/null 8216 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8217 exec 5>>config.log 8218 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8219 # would make configure fail if this is the last instruction. 8220 $ac_cs_success || as_fn_exit 1 8221 fi 8222 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8224 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8225 fi 8226 8227