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