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