1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.61. 4 # 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7 # This configure script is free software; the Free Software Foundation 8 # gives unlimited permission to copy, distribute and modify it. 9 ## --------------------- ## 10 ## M4sh Initialization. ## 11 ## --------------------- ## 12 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 39 40 # The user is always right. 41 if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51 fi 52 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 58 fi 59 60 61 # IFS 62 # We need space, tab and new line, in precisely that order. Quoting is 63 # there to prevent editors from complaining about space-tab. 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 68 IFS=" "" $as_nl" 69 70 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 for as_dir in $PATH 75 do 76 IFS=$as_save_IFS 77 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79 done 80 IFS=$as_save_IFS 81 82 ;; 83 esac 84 # We did not find ourselves, most probably we were run as `sh COMMAND' 85 # in which case we are not to be found in the path. 86 if test "x$as_myself" = x; then 87 as_myself=$0 88 fi 89 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97 done 98 PS1='$ ' 99 PS2='> ' 100 PS4='+ ' 101 102 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112 fi 113 done 114 115 # Required to use basename. 116 if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119 else 120 as_expr=false 121 fi 122 123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125 else 126 as_basename=false 127 fi 128 129 130 # Name of the executable. 131 as_me=`$as_basename -- "$0" || 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223 do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 447 N 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450 t loop 451 s/-\n.*// 452 ' >$as_me.lineno && 453 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 456 457 # Don't try to exec as it changes $[0], causing all sort of problems 458 # (the dirname of $[0] is not the place where we might find the 459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 461 # Exit status is that of the last command. 462 exit 463 } 464 465 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 472 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 474 -n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479 *) 480 ECHO_N='-n';; 481 esac 482 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 485 as_expr=expr 486 else 487 as_expr=false 488 fi 489 490 rm -f conf$$ conf$$.exe conf$$.file 491 if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493 else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 497 echo >conf$$.file 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 505 as_ln_s='cp -p' 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 508 else 509 as_ln_s='cp -p' 510 fi 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512 rmdir conf$$.dir 2>/dev/null 513 514 if mkdir -p . 2>/dev/null; then 515 as_mkdir_p=: 516 else 517 test -d ./-p && rmdir ./-p 518 as_mkdir_p=false 519 fi 520 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 543 544 # Sed expression to map a string onto a valid CPP name. 545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 546 547 # Sed expression to map a string onto a valid variable name. 548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 549 550 551 552 exec 7<&0 </dev/null 6>&1 553 554 # Name of the host. 555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 556 # so uname gets run too. 557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558 559 # 560 # Initializations. 561 # 562 ac_default_prefix=/usr/local 563 ac_clean_files= 564 ac_config_libobj_dir=. 565 LIBOBJS= 566 cross_compiling=no 567 subdirs= 568 MFLAGS= 569 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh} 571 572 # Identity of this package. 573 PACKAGE_NAME= 574 PACKAGE_TARNAME= 575 PACKAGE_VERSION= 576 PACKAGE_STRING= 577 PACKAGE_BUGREPORT= 578 579 ac_unique_file="installpaths.in" 580 ac_subst_vars='SHELL 581 PATH_SEPARATOR 582 PACKAGE_NAME 583 PACKAGE_TARNAME 584 PACKAGE_VERSION 585 PACKAGE_STRING 586 PACKAGE_BUGREPORT 587 exec_prefix 588 prefix 589 program_transform_name 590 bindir 591 sbindir 592 libexecdir 593 datarootdir 594 datadir 595 sysconfdir 596 sharedstatedir 597 localstatedir 598 includedir 599 oldincludedir 600 docdir 601 infodir 602 htmldir 603 dvidir 604 pdfdir 605 psdir 606 libdir 607 localedir 608 mandir 609 DEFS 610 ECHO_C 611 ECHO_N 612 ECHO_T 613 LIBS 614 build_alias 615 host_alias 616 target_alias 617 INSTALL_PROGRAM 618 INSTALL_SCRIPT 619 INSTALL_DATA 620 am__isrc 621 CYGPATH_W 622 PACKAGE 623 VERSION 624 ACLOCAL 625 AUTOCONF 626 AUTOMAKE 627 AUTOHEADER 628 MAKEINFO 629 install_sh 630 STRIP 631 INSTALL_STRIP_PROGRAM 632 mkdir_p 633 AWK 634 SET_MAKE 635 am__leading_dot 636 AMTAR 637 am__tar 638 am__untar 639 USE_NLS 640 MSGFMT 641 GMSGFMT 642 MSGFMT_015 643 GMSGFMT_015 644 XGETTEXT 645 XGETTEXT_015 646 MSGMERGE 647 aclocaldir 648 LIBOBJS 649 LTLIBOBJS' 650 ac_subst_files='' 651 ac_precious_vars='build_alias 652 host_alias 653 target_alias' 654 655 656 # Initialize some variables set by options. 657 ac_init_help= 658 ac_init_version=false 659 # The variables have the same names as the options, with 660 # dashes changed to underlines. 661 cache_file=/dev/null 662 exec_prefix=NONE 663 no_create= 664 no_recursion= 665 prefix=NONE 666 program_prefix=NONE 667 program_suffix=NONE 668 program_transform_name=s,x,x, 669 silent= 670 site= 671 srcdir= 672 verbose= 673 x_includes=NONE 674 x_libraries=NONE 675 676 # Installation directory options. 677 # These are left unexpanded so users can "make install exec_prefix=/foo" 678 # and all the variables that are supposed to be based on exec_prefix 679 # by default will actually change. 680 # Use braces instead of parens because sh, perl, etc. also accept them. 681 # (The list follows the same order as the GNU Coding Standards.) 682 bindir='${exec_prefix}/bin' 683 sbindir='${exec_prefix}/sbin' 684 libexecdir='${exec_prefix}/libexec' 685 datarootdir='${prefix}/share' 686 datadir='${datarootdir}' 687 sysconfdir='${prefix}/etc' 688 sharedstatedir='${prefix}/com' 689 localstatedir='${prefix}/var' 690 includedir='${prefix}/include' 691 oldincludedir='/usr/include' 692 docdir='${datarootdir}/doc/${PACKAGE}' 693 infodir='${datarootdir}/info' 694 htmldir='${docdir}' 695 dvidir='${docdir}' 696 pdfdir='${docdir}' 697 psdir='${docdir}' 698 libdir='${exec_prefix}/lib' 699 localedir='${datarootdir}/locale' 700 mandir='${datarootdir}/man' 701 702 ac_prev= 703 ac_dashdash= 704 for ac_option 705 do 706 # If the previous option needs an argument, assign it. 707 if test -n "$ac_prev"; then 708 eval $ac_prev=\$ac_option 709 ac_prev= 710 continue 711 fi 712 713 case $ac_option in 714 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 715 *) ac_optarg=yes ;; 716 esac 717 718 # Accept the important Cygnus configure options, so we can diagnose typos. 719 720 case $ac_dashdash$ac_option in 721 --) 722 ac_dashdash=yes ;; 723 724 -bindir | --bindir | --bindi | --bind | --bin | --bi) 725 ac_prev=bindir ;; 726 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 727 bindir=$ac_optarg ;; 728 729 -build | --build | --buil | --bui | --bu) 730 ac_prev=build_alias ;; 731 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 732 build_alias=$ac_optarg ;; 733 734 -cache-file | --cache-file | --cache-fil | --cache-fi \ 735 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 736 ac_prev=cache_file ;; 737 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 738 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 739 cache_file=$ac_optarg ;; 740 741 --config-cache | -C) 742 cache_file=config.cache ;; 743 744 -datadir | --datadir | --datadi | --datad) 745 ac_prev=datadir ;; 746 -datadir=* | --datadir=* | --datadi=* | --datad=*) 747 datadir=$ac_optarg ;; 748 749 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 750 | --dataroo | --dataro | --datar) 751 ac_prev=datarootdir ;; 752 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 753 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 754 datarootdir=$ac_optarg ;; 755 756 -disable-* | --disable-*) 757 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 758 # Reject names that are not valid shell variable names. 759 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 760 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 761 { (exit 1); exit 1; }; } 762 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 763 eval enable_$ac_feature=no ;; 764 765 -docdir | --docdir | --docdi | --doc | --do) 766 ac_prev=docdir ;; 767 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 768 docdir=$ac_optarg ;; 769 770 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 771 ac_prev=dvidir ;; 772 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 773 dvidir=$ac_optarg ;; 774 775 -enable-* | --enable-*) 776 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 777 # Reject names that are not valid shell variable names. 778 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 779 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 780 { (exit 1); exit 1; }; } 781 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 782 eval enable_$ac_feature=\$ac_optarg ;; 783 784 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 785 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 786 | --exec | --exe | --ex) 787 ac_prev=exec_prefix ;; 788 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 789 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 790 | --exec=* | --exe=* | --ex=*) 791 exec_prefix=$ac_optarg ;; 792 793 -gas | --gas | --ga | --g) 794 # Obsolete; use --with-gas. 795 with_gas=yes ;; 796 797 -help | --help | --hel | --he | -h) 798 ac_init_help=long ;; 799 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 800 ac_init_help=recursive ;; 801 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 802 ac_init_help=short ;; 803 804 -host | --host | --hos | --ho) 805 ac_prev=host_alias ;; 806 -host=* | --host=* | --hos=* | --ho=*) 807 host_alias=$ac_optarg ;; 808 809 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 810 ac_prev=htmldir ;; 811 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 812 | --ht=*) 813 htmldir=$ac_optarg ;; 814 815 -includedir | --includedir | --includedi | --included | --include \ 816 | --includ | --inclu | --incl | --inc) 817 ac_prev=includedir ;; 818 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 819 | --includ=* | --inclu=* | --incl=* | --inc=*) 820 includedir=$ac_optarg ;; 821 822 -infodir | --infodir | --infodi | --infod | --info | --inf) 823 ac_prev=infodir ;; 824 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 825 infodir=$ac_optarg ;; 826 827 -libdir | --libdir | --libdi | --libd) 828 ac_prev=libdir ;; 829 -libdir=* | --libdir=* | --libdi=* | --libd=*) 830 libdir=$ac_optarg ;; 831 832 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 833 | --libexe | --libex | --libe) 834 ac_prev=libexecdir ;; 835 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 836 | --libexe=* | --libex=* | --libe=*) 837 libexecdir=$ac_optarg ;; 838 839 -localedir | --localedir | --localedi | --localed | --locale) 840 ac_prev=localedir ;; 841 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 842 localedir=$ac_optarg ;; 843 844 -localstatedir | --localstatedir | --localstatedi | --localstated \ 845 | --localstate | --localstat | --localsta | --localst | --locals) 846 ac_prev=localstatedir ;; 847 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 848 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 849 localstatedir=$ac_optarg ;; 850 851 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 852 ac_prev=mandir ;; 853 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 854 mandir=$ac_optarg ;; 855 856 -nfp | --nfp | --nf) 857 # Obsolete; use --without-fp. 858 with_fp=no ;; 859 860 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 861 | --no-cr | --no-c | -n) 862 no_create=yes ;; 863 864 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 865 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 866 no_recursion=yes ;; 867 868 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 869 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 870 | --oldin | --oldi | --old | --ol | --o) 871 ac_prev=oldincludedir ;; 872 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 873 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 874 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 875 oldincludedir=$ac_optarg ;; 876 877 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 878 ac_prev=prefix ;; 879 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 880 prefix=$ac_optarg ;; 881 882 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 883 | --program-pre | --program-pr | --program-p) 884 ac_prev=program_prefix ;; 885 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 886 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 887 program_prefix=$ac_optarg ;; 888 889 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 890 | --program-suf | --program-su | --program-s) 891 ac_prev=program_suffix ;; 892 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 893 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 894 program_suffix=$ac_optarg ;; 895 896 -program-transform-name | --program-transform-name \ 897 | --program-transform-nam | --program-transform-na \ 898 | --program-transform-n | --program-transform- \ 899 | --program-transform | --program-transfor \ 900 | --program-transfo | --program-transf \ 901 | --program-trans | --program-tran \ 902 | --progr-tra | --program-tr | --program-t) 903 ac_prev=program_transform_name ;; 904 -program-transform-name=* | --program-transform-name=* \ 905 | --program-transform-nam=* | --program-transform-na=* \ 906 | --program-transform-n=* | --program-transform-=* \ 907 | --program-transform=* | --program-transfor=* \ 908 | --program-transfo=* | --program-transf=* \ 909 | --program-trans=* | --program-tran=* \ 910 | --progr-tra=* | --program-tr=* | --program-t=*) 911 program_transform_name=$ac_optarg ;; 912 913 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 914 ac_prev=pdfdir ;; 915 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 916 pdfdir=$ac_optarg ;; 917 918 -psdir | --psdir | --psdi | --psd | --ps) 919 ac_prev=psdir ;; 920 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 921 psdir=$ac_optarg ;; 922 923 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 924 | -silent | --silent | --silen | --sile | --sil) 925 silent=yes ;; 926 927 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 928 ac_prev=sbindir ;; 929 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 930 | --sbi=* | --sb=*) 931 sbindir=$ac_optarg ;; 932 933 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 934 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 935 | --sharedst | --shareds | --shared | --share | --shar \ 936 | --sha | --sh) 937 ac_prev=sharedstatedir ;; 938 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 939 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 940 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 941 | --sha=* | --sh=*) 942 sharedstatedir=$ac_optarg ;; 943 944 -site | --site | --sit) 945 ac_prev=site ;; 946 -site=* | --site=* | --sit=*) 947 site=$ac_optarg ;; 948 949 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 950 ac_prev=srcdir ;; 951 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 952 srcdir=$ac_optarg ;; 953 954 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 955 | --syscon | --sysco | --sysc | --sys | --sy) 956 ac_prev=sysconfdir ;; 957 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 958 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 959 sysconfdir=$ac_optarg ;; 960 961 -target | --target | --targe | --targ | --tar | --ta | --t) 962 ac_prev=target_alias ;; 963 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 964 target_alias=$ac_optarg ;; 965 966 -v | -verbose | --verbose | --verbos | --verbo | --verb) 967 verbose=yes ;; 968 969 -version | --version | --versio | --versi | --vers | -V) 970 ac_init_version=: ;; 971 972 -with-* | --with-*) 973 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 974 # Reject names that are not valid shell variable names. 975 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 976 { echo "$as_me: error: invalid package name: $ac_package" >&2 977 { (exit 1); exit 1; }; } 978 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 979 eval with_$ac_package=\$ac_optarg ;; 980 981 -without-* | --without-*) 982 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 983 # Reject names that are not valid shell variable names. 984 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 985 { echo "$as_me: error: invalid package name: $ac_package" >&2 986 { (exit 1); exit 1; }; } 987 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 988 eval with_$ac_package=no ;; 989 990 --x) 991 # Obsolete; use --with-x. 992 with_x=yes ;; 993 994 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 995 | --x-incl | --x-inc | --x-in | --x-i) 996 ac_prev=x_includes ;; 997 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 998 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 999 x_includes=$ac_optarg ;; 1000 1001 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1002 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1003 ac_prev=x_libraries ;; 1004 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1005 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1006 x_libraries=$ac_optarg ;; 1007 1008 -*) { echo "$as_me: error: unrecognized option: $ac_option 1009 Try \`$0 --help' for more information." >&2 1010 { (exit 1); exit 1; }; } 1011 ;; 1012 1013 *=*) 1014 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1015 # Reject names that are not valid shell variable names. 1016 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1017 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1018 { (exit 1); exit 1; }; } 1019 eval $ac_envvar=\$ac_optarg 1020 export $ac_envvar ;; 1021 1022 *) 1023 # FIXME: should be removed in autoconf 3.0. 1024 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1025 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1026 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1027 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1028 ;; 1029 1030 esac 1031 done 1032 1033 if test -n "$ac_prev"; then 1034 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1035 { echo "$as_me: error: missing argument to $ac_option" >&2 1036 { (exit 1); exit 1; }; } 1037 fi 1038 1039 # Be sure to have absolute directory names. 1040 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1041 datadir sysconfdir sharedstatedir localstatedir includedir \ 1042 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1043 libdir localedir mandir 1044 do 1045 eval ac_val=\$$ac_var 1046 case $ac_val in 1047 [\\/$]* | ?:[\\/]* ) continue;; 1048 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1049 esac 1050 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1051 { (exit 1); exit 1; }; } 1052 done 1053 1054 # There might be people who depend on the old broken behavior: `$host' 1055 # used to hold the argument of --host etc. 1056 # FIXME: To remove some day. 1057 build=$build_alias 1058 host=$host_alias 1059 target=$target_alias 1060 1061 # FIXME: To remove some day. 1062 if test "x$host_alias" != x; then 1063 if test "x$build_alias" = x; then 1064 cross_compiling=maybe 1065 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1066 If a cross compiler is detected then cross compile mode will be used." >&2 1067 elif test "x$build_alias" != "x$host_alias"; then 1068 cross_compiling=yes 1069 fi 1070 fi 1071 1072 ac_tool_prefix= 1073 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1074 1075 test "$silent" = yes && exec 6>/dev/null 1076 1077 1078 ac_pwd=`pwd` && test -n "$ac_pwd" && 1079 ac_ls_di=`ls -di .` && 1080 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1081 { echo "$as_me: error: Working directory cannot be determined" >&2 1082 { (exit 1); exit 1; }; } 1083 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1084 { echo "$as_me: error: pwd does not report name of working directory" >&2 1085 { (exit 1); exit 1; }; } 1086 1087 1088 # Find the source files, if location was not specified. 1089 if test -z "$srcdir"; then 1090 ac_srcdir_defaulted=yes 1091 # Try the directory containing this script, then the parent directory. 1092 ac_confdir=`$as_dirname -- "$0" || 1093 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1094 X"$0" : 'X\(//\)[^/]' \| \ 1095 X"$0" : 'X\(//\)$' \| \ 1096 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1097 echo X"$0" | 1098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1099 s//\1/ 1100 q 1101 } 1102 /^X\(\/\/\)[^/].*/{ 1103 s//\1/ 1104 q 1105 } 1106 /^X\(\/\/\)$/{ 1107 s//\1/ 1108 q 1109 } 1110 /^X\(\/\).*/{ 1111 s//\1/ 1112 q 1113 } 1114 s/.*/./; q'` 1115 srcdir=$ac_confdir 1116 if test ! -r "$srcdir/$ac_unique_file"; then 1117 srcdir=.. 1118 fi 1119 else 1120 ac_srcdir_defaulted=no 1121 fi 1122 if test ! -r "$srcdir/$ac_unique_file"; then 1123 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1124 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1125 { (exit 1); exit 1; }; } 1126 fi 1127 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1128 ac_abs_confdir=`( 1129 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1130 { (exit 1); exit 1; }; } 1131 pwd)` 1132 # When building in place, set srcdir=. 1133 if test "$ac_abs_confdir" = "$ac_pwd"; then 1134 srcdir=. 1135 fi 1136 # Remove unnecessary trailing slashes from srcdir. 1137 # Double slashes in file names in object file debugging info 1138 # mess up M-x gdb in Emacs. 1139 case $srcdir in 1140 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1141 esac 1142 for ac_var in $ac_precious_vars; do 1143 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1144 eval ac_env_${ac_var}_value=\$${ac_var} 1145 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1146 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1147 done 1148 1149 # 1150 # Report the --help message. 1151 # 1152 if test "$ac_init_help" = "long"; then 1153 # Omit some internal or obsolete options to make the list less imposing. 1154 # This message is too long to be a string in the A/UX 3.1 sh. 1155 cat <<_ACEOF 1156 \`configure' configures this package to adapt to many kinds of systems. 1157 1158 Usage: $0 [OPTION]... [VAR=VALUE]... 1159 1160 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1161 VAR=VALUE. See below for descriptions of some of the useful variables. 1162 1163 Defaults for the options are specified in brackets. 1164 1165 Configuration: 1166 -h, --help display this help and exit 1167 --help=short display options specific to this package 1168 --help=recursive display the short help of all the included packages 1169 -V, --version display version information and exit 1170 -q, --quiet, --silent do not print \`checking...' messages 1171 --cache-file=FILE cache test results in FILE [disabled] 1172 -C, --config-cache alias for \`--cache-file=config.cache' 1173 -n, --no-create do not create output files 1174 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1175 1176 Installation directories: 1177 --prefix=PREFIX install architecture-independent files in PREFIX 1178 [$ac_default_prefix] 1179 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1180 [PREFIX] 1181 1182 By default, \`make install' will install all the files in 1183 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1184 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1185 for instance \`--prefix=\$HOME'. 1186 1187 For better control, use the options below. 1188 1189 Fine tuning of the installation directories: 1190 --bindir=DIR user executables [EPREFIX/bin] 1191 --sbindir=DIR system admin executables [EPREFIX/sbin] 1192 --libexecdir=DIR program executables [EPREFIX/libexec] 1193 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1194 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1195 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1196 --libdir=DIR object code libraries [EPREFIX/lib] 1197 --includedir=DIR C header files [PREFIX/include] 1198 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1199 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1200 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1201 --infodir=DIR info documentation [DATAROOTDIR/info] 1202 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1203 --mandir=DIR man documentation [DATAROOTDIR/man] 1204 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1205 --htmldir=DIR html documentation [DOCDIR] 1206 --dvidir=DIR dvi documentation [DOCDIR] 1207 --pdfdir=DIR pdf documentation [DOCDIR] 1208 --psdir=DIR ps documentation [DOCDIR] 1209 _ACEOF 1210 1211 cat <<\_ACEOF 1212 1213 Program names: 1214 --program-prefix=PREFIX prepend PREFIX to installed program names 1215 --program-suffix=SUFFIX append SUFFIX to installed program names 1216 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1217 _ACEOF 1218 fi 1219 1220 if test -n "$ac_init_help"; then 1221 1222 cat <<\_ACEOF 1223 1224 Optional Features: 1225 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1226 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1227 --disable-nls do not use Native Language Support 1228 1229 _ACEOF 1230 ac_status=$? 1231 fi 1232 1233 if test "$ac_init_help" = "recursive"; then 1234 # If there are subdirs, report their specific --help. 1235 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1236 test -d "$ac_dir" || continue 1237 ac_builddir=. 1238 1239 case "$ac_dir" in 1240 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1241 *) 1242 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1243 # A ".." for each directory in $ac_dir_suffix. 1244 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1245 case $ac_top_builddir_sub in 1246 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1247 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1248 esac ;; 1249 esac 1250 ac_abs_top_builddir=$ac_pwd 1251 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1252 # for backward compatibility: 1253 ac_top_builddir=$ac_top_build_prefix 1254 1255 case $srcdir in 1256 .) # We are building in place. 1257 ac_srcdir=. 1258 ac_top_srcdir=$ac_top_builddir_sub 1259 ac_abs_top_srcdir=$ac_pwd ;; 1260 [\\/]* | ?:[\\/]* ) # Absolute name. 1261 ac_srcdir=$srcdir$ac_dir_suffix; 1262 ac_top_srcdir=$srcdir 1263 ac_abs_top_srcdir=$srcdir ;; 1264 *) # Relative name. 1265 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1266 ac_top_srcdir=$ac_top_build_prefix$srcdir 1267 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1268 esac 1269 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1270 1271 cd "$ac_dir" || { ac_status=$?; continue; } 1272 # Check for guested configure. 1273 if test -f "$ac_srcdir/configure.gnu"; then 1274 echo && 1275 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1276 elif test -f "$ac_srcdir/configure"; then 1277 echo && 1278 $SHELL "$ac_srcdir/configure" --help=recursive 1279 else 1280 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1281 fi || ac_status=$? 1282 cd "$ac_pwd" || { ac_status=$?; break; } 1283 done 1284 fi 1285 1286 test -n "$ac_init_help" && exit $ac_status 1287 if $ac_init_version; then 1288 cat <<\_ACEOF 1289 configure 1290 generated by GNU Autoconf 2.61 1291 1292 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1293 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1294 This configure script is free software; the Free Software Foundation 1295 gives unlimited permission to copy, distribute and modify it. 1296 _ACEOF 1297 exit 1298 fi 1299 cat >config.log <<_ACEOF 1300 This file contains any messages produced by compilers while 1301 running configure, to aid debugging if configure makes a mistake. 1302 1303 It was created by $as_me, which was 1304 generated by GNU Autoconf 2.61. Invocation command line was 1305 1306 $ $0 $@ 1307 1308 _ACEOF 1309 exec 5>>config.log 1310 { 1311 cat <<_ASUNAME 1312 ## --------- ## 1313 ## Platform. ## 1314 ## --------- ## 1315 1316 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1317 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1318 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1319 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1320 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1321 1322 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1323 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1324 1325 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1326 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1327 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1328 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1329 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1330 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1331 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1332 1333 _ASUNAME 1334 1335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1336 for as_dir in $PATH 1337 do 1338 IFS=$as_save_IFS 1339 test -z "$as_dir" && as_dir=. 1340 echo "PATH: $as_dir" 1341 done 1342 IFS=$as_save_IFS 1343 1344 } >&5 1345 1346 cat >&5 <<_ACEOF 1347 1348 1349 ## ----------- ## 1350 ## Core tests. ## 1351 ## ----------- ## 1352 1353 _ACEOF 1354 1355 1356 # Keep a trace of the command line. 1357 # Strip out --no-create and --no-recursion so they do not pile up. 1358 # Strip out --silent because we don't want to record it for future runs. 1359 # Also quote any args containing shell meta-characters. 1360 # Make two passes to allow for proper duplicate-argument suppression. 1361 ac_configure_args= 1362 ac_configure_args0= 1363 ac_configure_args1= 1364 ac_must_keep_next=false 1365 for ac_pass in 1 2 1366 do 1367 for ac_arg 1368 do 1369 case $ac_arg in 1370 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1371 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1372 | -silent | --silent | --silen | --sile | --sil) 1373 continue ;; 1374 *\'*) 1375 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1376 esac 1377 case $ac_pass in 1378 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1379 2) 1380 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1381 if test $ac_must_keep_next = true; then 1382 ac_must_keep_next=false # Got value, back to normal. 1383 else 1384 case $ac_arg in 1385 *=* | --config-cache | -C | -disable-* | --disable-* \ 1386 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1387 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1388 | -with-* | --with-* | -without-* | --without-* | --x) 1389 case "$ac_configure_args0 " in 1390 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1391 esac 1392 ;; 1393 -* ) ac_must_keep_next=true ;; 1394 esac 1395 fi 1396 ac_configure_args="$ac_configure_args '$ac_arg'" 1397 ;; 1398 esac 1399 done 1400 done 1401 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1402 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1403 1404 # When interrupted or exit'd, cleanup temporary files, and complete 1405 # config.log. We remove comments because anyway the quotes in there 1406 # would cause problems or look ugly. 1407 # WARNING: Use '\'' to represent an apostrophe within the trap. 1408 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1409 trap 'exit_status=$? 1410 # Save into config.log some information that might help in debugging. 1411 { 1412 echo 1413 1414 cat <<\_ASBOX 1415 ## ---------------- ## 1416 ## Cache variables. ## 1417 ## ---------------- ## 1418 _ASBOX 1419 echo 1420 # The following way of writing the cache mishandles newlines in values, 1421 ( 1422 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1423 eval ac_val=\$$ac_var 1424 case $ac_val in #( 1425 *${as_nl}*) 1426 case $ac_var in #( 1427 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1428 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1429 esac 1430 case $ac_var in #( 1431 _ | IFS | as_nl) ;; #( 1432 *) $as_unset $ac_var ;; 1433 esac ;; 1434 esac 1435 done 1436 (set) 2>&1 | 1437 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1438 *${as_nl}ac_space=\ *) 1439 sed -n \ 1440 "s/'\''/'\''\\\\'\'''\''/g; 1441 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1442 ;; #( 1443 *) 1444 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1445 ;; 1446 esac | 1447 sort 1448 ) 1449 echo 1450 1451 cat <<\_ASBOX 1452 ## ----------------- ## 1453 ## Output variables. ## 1454 ## ----------------- ## 1455 _ASBOX 1456 echo 1457 for ac_var in $ac_subst_vars 1458 do 1459 eval ac_val=\$$ac_var 1460 case $ac_val in 1461 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1462 esac 1463 echo "$ac_var='\''$ac_val'\''" 1464 done | sort 1465 echo 1466 1467 if test -n "$ac_subst_files"; then 1468 cat <<\_ASBOX 1469 ## ------------------- ## 1470 ## File substitutions. ## 1471 ## ------------------- ## 1472 _ASBOX 1473 echo 1474 for ac_var in $ac_subst_files 1475 do 1476 eval ac_val=\$$ac_var 1477 case $ac_val in 1478 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1479 esac 1480 echo "$ac_var='\''$ac_val'\''" 1481 done | sort 1482 echo 1483 fi 1484 1485 if test -s confdefs.h; then 1486 cat <<\_ASBOX 1487 ## ----------- ## 1488 ## confdefs.h. ## 1489 ## ----------- ## 1490 _ASBOX 1491 echo 1492 cat confdefs.h 1493 echo 1494 fi 1495 test "$ac_signal" != 0 && 1496 echo "$as_me: caught signal $ac_signal" 1497 echo "$as_me: exit $exit_status" 1498 } >&5 1499 rm -f core *.core core.conftest.* && 1500 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1501 exit $exit_status 1502 ' 0 1503 for ac_signal in 1 2 13 15; do 1504 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1505 done 1506 ac_signal=0 1507 1508 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1509 rm -f -r conftest* confdefs.h 1510 1511 # Predefined preprocessor variables. 1512 1513 cat >>confdefs.h <<_ACEOF 1514 #define PACKAGE_NAME "$PACKAGE_NAME" 1515 _ACEOF 1516 1517 1518 cat >>confdefs.h <<_ACEOF 1519 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1520 _ACEOF 1521 1522 1523 cat >>confdefs.h <<_ACEOF 1524 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1525 _ACEOF 1526 1527 1528 cat >>confdefs.h <<_ACEOF 1529 #define PACKAGE_STRING "$PACKAGE_STRING" 1530 _ACEOF 1531 1532 1533 cat >>confdefs.h <<_ACEOF 1534 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1535 _ACEOF 1536 1537 1538 # Let the site file select an alternate cache file if it wants to. 1539 # Prefer explicitly selected file to automatically selected ones. 1540 if test -n "$CONFIG_SITE"; then 1541 set x "$CONFIG_SITE" 1542 elif test "x$prefix" != xNONE; then 1543 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1544 else 1545 set x "$ac_default_prefix/share/config.site" \ 1546 "$ac_default_prefix/etc/config.site" 1547 fi 1548 shift 1549 for ac_site_file 1550 do 1551 if test -r "$ac_site_file"; then 1552 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1553 echo "$as_me: loading site script $ac_site_file" >&6;} 1554 sed 's/^/| /' "$ac_site_file" >&5 1555 . "$ac_site_file" 1556 fi 1557 done 1558 1559 if test -r "$cache_file"; then 1560 # Some versions of bash will fail to source /dev/null (special 1561 # files actually), so we avoid doing that. 1562 if test -f "$cache_file"; then 1563 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1564 echo "$as_me: loading cache $cache_file" >&6;} 1565 case $cache_file in 1566 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1567 *) . "./$cache_file";; 1568 esac 1569 fi 1570 else 1571 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1572 echo "$as_me: creating cache $cache_file" >&6;} 1573 >$cache_file 1574 fi 1575 1576 # Check that the precious variables saved in the cache have kept the same 1577 # value. 1578 ac_cache_corrupted=false 1579 for ac_var in $ac_precious_vars; do 1580 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1581 eval ac_new_set=\$ac_env_${ac_var}_set 1582 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1583 eval ac_new_val=\$ac_env_${ac_var}_value 1584 case $ac_old_set,$ac_new_set in 1585 set,) 1586 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1587 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1588 ac_cache_corrupted=: ;; 1589 ,set) 1590 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1591 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1592 ac_cache_corrupted=: ;; 1593 ,);; 1594 *) 1595 if test "x$ac_old_val" != "x$ac_new_val"; then 1596 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1597 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1598 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1599 echo "$as_me: former value: $ac_old_val" >&2;} 1600 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1601 echo "$as_me: current value: $ac_new_val" >&2;} 1602 ac_cache_corrupted=: 1603 fi;; 1604 esac 1605 # Pass precious variables to config.status. 1606 if test "$ac_new_set" = set; then 1607 case $ac_new_val in 1608 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1609 *) ac_arg=$ac_var=$ac_new_val ;; 1610 esac 1611 case " $ac_configure_args " in 1612 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1613 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1614 esac 1615 fi 1616 done 1617 if $ac_cache_corrupted; then 1618 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1619 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1620 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1621 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1622 { (exit 1); exit 1; }; } 1623 fi 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 ac_ext=c 1642 ac_cpp='$CPP $CPPFLAGS' 1643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1645 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1646 1647 1648 1649 ac_aux_dir= 1650 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do 1651 if test -f "$ac_dir/install-sh"; then 1652 ac_aux_dir=$ac_dir 1653 ac_install_sh="$ac_aux_dir/install-sh -c" 1654 break 1655 elif test -f "$ac_dir/install.sh"; then 1656 ac_aux_dir=$ac_dir 1657 ac_install_sh="$ac_aux_dir/install.sh -c" 1658 break 1659 elif test -f "$ac_dir/shtool"; then 1660 ac_aux_dir=$ac_dir 1661 ac_install_sh="$ac_aux_dir/shtool install -c" 1662 break 1663 fi 1664 done 1665 if test -z "$ac_aux_dir"; then 1666 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../build-aux \"$srcdir\"/../../build-aux" >&5 1667 echo "$as_me: error: cannot find install-sh or install.sh in ../../build-aux \"$srcdir\"/../../build-aux" >&2;} 1668 { (exit 1); exit 1; }; } 1669 fi 1670 1671 # These three variables are undocumented and unsupported, 1672 # and are intended to be withdrawn in a future Autoconf release. 1673 # They can cause serious problems if a builder's source tree is in a directory 1674 # whose full name contains unusual characters. 1675 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1676 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1677 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1678 1679 1680 . $srcdir/../../version.sh 1681 am__api_version='1.10' 1682 1683 # Find a good install program. We prefer a C program (faster), 1684 # so one script is as good as another. But avoid the broken or 1685 # incompatible versions: 1686 # SysV /etc/install, /usr/sbin/install 1687 # SunOS /usr/etc/install 1688 # IRIX /sbin/install 1689 # AIX /bin/install 1690 # AmigaOS /C/install, which installs bootblocks on floppy discs 1691 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1692 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1693 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1694 # OS/2's system install, which has a completely different semantic 1695 # ./install, which can be erroneously created by make from ./install.sh. 1696 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1697 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1698 if test -z "$INSTALL"; then 1699 if test "${ac_cv_path_install+set}" = set; then 1700 echo $ECHO_N "(cached) $ECHO_C" >&6 1701 else 1702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1703 for as_dir in $PATH 1704 do 1705 IFS=$as_save_IFS 1706 test -z "$as_dir" && as_dir=. 1707 # Account for people who put trailing slashes in PATH elements. 1708 case $as_dir/ in 1709 ./ | .// | /cC/* | \ 1710 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1711 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1712 /usr/ucb/* ) ;; 1713 *) 1714 # OSF1 and SCO ODT 3.0 have their own names for install. 1715 # Don't use installbsd from OSF since it installs stuff as root 1716 # by default. 1717 for ac_prog in ginstall scoinst install; do 1718 for ac_exec_ext in '' $ac_executable_extensions; do 1719 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1720 if test $ac_prog = install && 1721 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1722 # AIX install. It has an incompatible calling convention. 1723 : 1724 elif test $ac_prog = install && 1725 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1726 # program-specific install script used by HP pwplus--don't use. 1727 : 1728 else 1729 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1730 break 3 1731 fi 1732 fi 1733 done 1734 done 1735 ;; 1736 esac 1737 done 1738 IFS=$as_save_IFS 1739 1740 1741 fi 1742 if test "${ac_cv_path_install+set}" = set; then 1743 INSTALL=$ac_cv_path_install 1744 else 1745 # As a last resort, use the slow shell script. Don't cache a 1746 # value for INSTALL within a source directory, because that will 1747 # break other packages using the cache if that directory is 1748 # removed, or if the value is a relative name. 1749 INSTALL=$ac_install_sh 1750 fi 1751 fi 1752 { echo "$as_me:$LINENO: result: $INSTALL" >&5 1753 echo "${ECHO_T}$INSTALL" >&6; } 1754 1755 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1756 # It thinks the first close brace ends the variable substitution. 1757 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1758 1759 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1760 1761 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1762 1763 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1764 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1765 # Just in case 1766 sleep 1 1767 echo timestamp > conftest.file 1768 # Do `set' in a subshell so we don't clobber the current shell's 1769 # arguments. Must try -L first in case configure is actually a 1770 # symlink; some systems play weird games with the mod time of symlinks 1771 # (eg FreeBSD returns the mod time of the symlink's containing 1772 # directory). 1773 if ( 1774 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1775 if test "$*" = "X"; then 1776 # -L didn't work. 1777 set X `ls -t $srcdir/configure conftest.file` 1778 fi 1779 rm -f conftest.file 1780 if test "$*" != "X $srcdir/configure conftest.file" \ 1781 && test "$*" != "X conftest.file $srcdir/configure"; then 1782 1783 # If neither matched, then we have a broken ls. This can happen 1784 # if, for instance, CONFIG_SHELL is bash and it inherits a 1785 # broken ls alias from the environment. This has actually 1786 # happened. Such a system could not be considered "sane". 1787 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1788 alias in your environment" >&5 1789 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1790 alias in your environment" >&2;} 1791 { (exit 1); exit 1; }; } 1792 fi 1793 1794 test "$2" = conftest.file 1795 ) 1796 then 1797 # Ok. 1798 : 1799 else 1800 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1801 Check your system clock" >&5 1802 echo "$as_me: error: newly created file is older than distributed files! 1803 Check your system clock" >&2;} 1804 { (exit 1); exit 1; }; } 1805 fi 1806 { echo "$as_me:$LINENO: result: yes" >&5 1807 echo "${ECHO_T}yes" >&6; } 1808 test "$program_prefix" != NONE && 1809 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1810 # Use a double $ so make ignores it. 1811 test "$program_suffix" != NONE && 1812 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1813 # Double any \ or $. echo might interpret backslashes. 1814 # By default was `s,x,x', remove it if useless. 1815 cat <<\_ACEOF >conftest.sed 1816 s/[\\$]/&&/g;s/;s,x,x,$// 1817 _ACEOF 1818 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1819 rm -f conftest.sed 1820 1821 # expand $ac_aux_dir to an absolute path 1822 am_aux_dir=`cd $ac_aux_dir && pwd` 1823 1824 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1825 # Use eval to expand $SHELL 1826 if eval "$MISSING --run true"; then 1827 am_missing_run="$MISSING --run " 1828 else 1829 am_missing_run= 1830 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1831 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1832 fi 1833 1834 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 1835 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 1836 if test -z "$MKDIR_P"; then 1837 if test "${ac_cv_path_mkdir+set}" = set; then 1838 echo $ECHO_N "(cached) $ECHO_C" >&6 1839 else 1840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1841 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 1842 do 1843 IFS=$as_save_IFS 1844 test -z "$as_dir" && as_dir=. 1845 for ac_prog in mkdir gmkdir; do 1846 for ac_exec_ext in '' $ac_executable_extensions; do 1847 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 1848 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 1849 'mkdir (GNU coreutils) '* | \ 1850 'mkdir (coreutils) '* | \ 1851 'mkdir (fileutils) '4.1*) 1852 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 1853 break 3;; 1854 esac 1855 done 1856 done 1857 done 1858 IFS=$as_save_IFS 1859 1860 fi 1861 1862 if test "${ac_cv_path_mkdir+set}" = set; then 1863 MKDIR_P="$ac_cv_path_mkdir -p" 1864 else 1865 # As a last resort, use the slow shell script. Don't cache a 1866 # value for MKDIR_P within a source directory, because that will 1867 # break other packages using the cache if that directory is 1868 # removed, or if the value is a relative name. 1869 test -d ./--version && rmdir ./--version 1870 MKDIR_P="$ac_install_sh -d" 1871 fi 1872 fi 1873 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 1874 echo "${ECHO_T}$MKDIR_P" >&6; } 1875 1876 mkdir_p="$MKDIR_P" 1877 case $mkdir_p in 1878 [\\/$]* | ?:[\\/]*) ;; 1879 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 1880 esac 1881 1882 for ac_prog in gawk mawk nawk awk 1883 do 1884 # Extract the first word of "$ac_prog", so it can be a program name with args. 1885 set dummy $ac_prog; ac_word=$2 1886 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1888 if test "${ac_cv_prog_AWK+set}" = set; then 1889 echo $ECHO_N "(cached) $ECHO_C" >&6 1890 else 1891 if test -n "$AWK"; then 1892 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1893 else 1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1895 for as_dir in $PATH 1896 do 1897 IFS=$as_save_IFS 1898 test -z "$as_dir" && as_dir=. 1899 for ac_exec_ext in '' $ac_executable_extensions; do 1900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1901 ac_cv_prog_AWK="$ac_prog" 1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1903 break 2 1904 fi 1905 done 1906 done 1907 IFS=$as_save_IFS 1908 1909 fi 1910 fi 1911 AWK=$ac_cv_prog_AWK 1912 if test -n "$AWK"; then 1913 { echo "$as_me:$LINENO: result: $AWK" >&5 1914 echo "${ECHO_T}$AWK" >&6; } 1915 else 1916 { echo "$as_me:$LINENO: result: no" >&5 1917 echo "${ECHO_T}no" >&6; } 1918 fi 1919 1920 1921 test -n "$AWK" && break 1922 done 1923 1924 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1925 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1926 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1927 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1928 echo $ECHO_N "(cached) $ECHO_C" >&6 1929 else 1930 cat >conftest.make <<\_ACEOF 1931 SHELL = /bin/sh 1932 all: 1933 @echo '@@@%%%=$(MAKE)=@@@%%%' 1934 _ACEOF 1935 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1936 case `${MAKE-make} -f conftest.make 2>/dev/null` in 1937 *@@@%%%=?*=@@@%%%*) 1938 eval ac_cv_prog_make_${ac_make}_set=yes;; 1939 *) 1940 eval ac_cv_prog_make_${ac_make}_set=no;; 1941 esac 1942 rm -f conftest.make 1943 fi 1944 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1945 { echo "$as_me:$LINENO: result: yes" >&5 1946 echo "${ECHO_T}yes" >&6; } 1947 SET_MAKE= 1948 else 1949 { echo "$as_me:$LINENO: result: no" >&5 1950 echo "${ECHO_T}no" >&6; } 1951 SET_MAKE="MAKE=${MAKE-make}" 1952 fi 1953 1954 rm -rf .tst 2>/dev/null 1955 mkdir .tst 2>/dev/null 1956 if test -d .tst; then 1957 am__leading_dot=. 1958 else 1959 am__leading_dot=_ 1960 fi 1961 rmdir .tst 2>/dev/null 1962 1963 if test "`cd $srcdir && pwd`" != "`pwd`"; then 1964 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 1965 # is not polluted with repeated "-I." 1966 am__isrc=' -I$(srcdir)' 1967 # test to see if srcdir already configured 1968 if test -f $srcdir/config.status; then 1969 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1970 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1971 { (exit 1); exit 1; }; } 1972 fi 1973 fi 1974 1975 # test whether we have cygpath 1976 if test -z "$CYGPATH_W"; then 1977 if (cygpath --version) >/dev/null 2>/dev/null; then 1978 CYGPATH_W='cygpath -w' 1979 else 1980 CYGPATH_W=echo 1981 fi 1982 fi 1983 1984 1985 # Define the identity of the package. 1986 PACKAGE=gettext-examples 1987 VERSION=$VERSION_NUMBER 1988 1989 1990 cat >>confdefs.h <<_ACEOF 1991 #define PACKAGE "$PACKAGE" 1992 _ACEOF 1993 1994 1995 cat >>confdefs.h <<_ACEOF 1996 #define VERSION "$VERSION" 1997 _ACEOF 1998 1999 # Some tools Automake needs. 2000 2001 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2002 2003 2004 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2005 2006 2007 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2008 2009 2010 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2011 2012 2013 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2014 2015 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2016 2017 # Installed binaries are usually stripped using `strip' when the user 2018 # run `make install-strip'. However `strip' might not be the right 2019 # tool to use in cross-compilation environments, therefore Automake 2020 # will honor the `STRIP' environment variable to overrule this program. 2021 if test "$cross_compiling" != no; then 2022 if test -n "$ac_tool_prefix"; then 2023 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2024 set dummy ${ac_tool_prefix}strip; ac_word=$2 2025 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2027 if test "${ac_cv_prog_STRIP+set}" = set; then 2028 echo $ECHO_N "(cached) $ECHO_C" >&6 2029 else 2030 if test -n "$STRIP"; then 2031 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2032 else 2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2034 for as_dir in $PATH 2035 do 2036 IFS=$as_save_IFS 2037 test -z "$as_dir" && as_dir=. 2038 for ac_exec_ext in '' $ac_executable_extensions; do 2039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2040 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2042 break 2 2043 fi 2044 done 2045 done 2046 IFS=$as_save_IFS 2047 2048 fi 2049 fi 2050 STRIP=$ac_cv_prog_STRIP 2051 if test -n "$STRIP"; then 2052 { echo "$as_me:$LINENO: result: $STRIP" >&5 2053 echo "${ECHO_T}$STRIP" >&6; } 2054 else 2055 { echo "$as_me:$LINENO: result: no" >&5 2056 echo "${ECHO_T}no" >&6; } 2057 fi 2058 2059 2060 fi 2061 if test -z "$ac_cv_prog_STRIP"; then 2062 ac_ct_STRIP=$STRIP 2063 # Extract the first word of "strip", so it can be a program name with args. 2064 set dummy strip; ac_word=$2 2065 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2067 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2068 echo $ECHO_N "(cached) $ECHO_C" >&6 2069 else 2070 if test -n "$ac_ct_STRIP"; then 2071 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2072 else 2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2074 for as_dir in $PATH 2075 do 2076 IFS=$as_save_IFS 2077 test -z "$as_dir" && as_dir=. 2078 for ac_exec_ext in '' $ac_executable_extensions; do 2079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2080 ac_cv_prog_ac_ct_STRIP="strip" 2081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2082 break 2 2083 fi 2084 done 2085 done 2086 IFS=$as_save_IFS 2087 2088 fi 2089 fi 2090 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2091 if test -n "$ac_ct_STRIP"; then 2092 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2093 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2094 else 2095 { echo "$as_me:$LINENO: result: no" >&5 2096 echo "${ECHO_T}no" >&6; } 2097 fi 2098 2099 if test "x$ac_ct_STRIP" = x; then 2100 STRIP=":" 2101 else 2102 case $cross_compiling:$ac_tool_warned in 2103 yes:) 2104 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2105 whose name does not start with the host triplet. If you think this 2106 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2107 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2108 whose name does not start with the host triplet. If you think this 2109 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2110 ac_tool_warned=yes ;; 2111 esac 2112 STRIP=$ac_ct_STRIP 2113 fi 2114 else 2115 STRIP="$ac_cv_prog_STRIP" 2116 fi 2117 2118 fi 2119 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2120 2121 # We need awk for the "check" target. The system "awk" is bad on 2122 # some platforms. 2123 # Always define AMTAR for backward compatibility. 2124 2125 AMTAR=${AMTAR-"${am_missing_run}tar"} 2126 2127 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2128 2129 2130 2131 2132 2133 2134 test "$docdir" != '${datarootdir}/doc/${PACKAGE}' || docdir='${datarootdir}/doc/gettext' 2135 2136 2137 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5 2138 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; } 2139 # Check whether --enable-nls was given. 2140 if test "${enable_nls+set}" = set; then 2141 enableval=$enable_nls; USE_NLS=$enableval 2142 else 2143 USE_NLS=yes 2144 fi 2145 2146 { echo "$as_me:$LINENO: result: $USE_NLS" >&5 2147 echo "${ECHO_T}$USE_NLS" >&6; } 2148 2149 2150 2151 2152 2153 2154 # Prepare PATH_SEPARATOR. 2155 # The user is always right. 2156 if test "${PATH_SEPARATOR+set}" != set; then 2157 echo "#! /bin/sh" >conf$$.sh 2158 echo "exit 0" >>conf$$.sh 2159 chmod +x conf$$.sh 2160 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2161 PATH_SEPARATOR=';' 2162 else 2163 PATH_SEPARATOR=: 2164 fi 2165 rm -f conf$$.sh 2166 fi 2167 2168 # Find out how to test for executable files. Don't use a zero-byte file, 2169 # as systems may use methods other than mode bits to determine executability. 2170 cat >conf$$.file <<_ASEOF 2171 #! /bin/sh 2172 exit 0 2173 _ASEOF 2174 chmod +x conf$$.file 2175 if test -x conf$$.file >/dev/null 2>&1; then 2176 ac_executable_p="test -x" 2177 else 2178 ac_executable_p="test -f" 2179 fi 2180 rm -f conf$$.file 2181 2182 # Extract the first word of "msgfmt", so it can be a program name with args. 2183 set dummy msgfmt; ac_word=$2 2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2186 if test "${ac_cv_path_MSGFMT+set}" = set; then 2187 echo $ECHO_N "(cached) $ECHO_C" >&6 2188 else 2189 case "$MSGFMT" in 2190 [\\/]* | ?:[\\/]*) 2191 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 2192 ;; 2193 *) 2194 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2195 for ac_dir in $PATH; do 2196 IFS="$ac_save_IFS" 2197 test -z "$ac_dir" && ac_dir=. 2198 for ac_exec_ext in '' $ac_executable_extensions; do 2199 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2200 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2201 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 2202 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 2203 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 2204 break 2 2205 fi 2206 fi 2207 done 2208 done 2209 IFS="$ac_save_IFS" 2210 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 2211 ;; 2212 esac 2213 fi 2214 MSGFMT="$ac_cv_path_MSGFMT" 2215 if test "$MSGFMT" != ":"; then 2216 { echo "$as_me:$LINENO: result: $MSGFMT" >&5 2217 echo "${ECHO_T}$MSGFMT" >&6; } 2218 else 2219 { echo "$as_me:$LINENO: result: no" >&5 2220 echo "${ECHO_T}no" >&6; } 2221 fi 2222 2223 # Extract the first word of "gmsgfmt", so it can be a program name with args. 2224 set dummy gmsgfmt; ac_word=$2 2225 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2227 if test "${ac_cv_path_GMSGFMT+set}" = set; then 2228 echo $ECHO_N "(cached) $ECHO_C" >&6 2229 else 2230 case $GMSGFMT in 2231 [\\/]* | ?:[\\/]*) 2232 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 2233 ;; 2234 *) 2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2236 for as_dir in $PATH 2237 do 2238 IFS=$as_save_IFS 2239 test -z "$as_dir" && as_dir=. 2240 for ac_exec_ext in '' $ac_executable_extensions; do 2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2242 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2244 break 2 2245 fi 2246 done 2247 done 2248 IFS=$as_save_IFS 2249 2250 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 2251 ;; 2252 esac 2253 fi 2254 GMSGFMT=$ac_cv_path_GMSGFMT 2255 if test -n "$GMSGFMT"; then 2256 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 2257 echo "${ECHO_T}$GMSGFMT" >&6; } 2258 else 2259 { echo "$as_me:$LINENO: result: no" >&5 2260 echo "${ECHO_T}no" >&6; } 2261 fi 2262 2263 2264 2265 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2266 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 2267 *) MSGFMT_015=$MSGFMT ;; 2268 esac 2269 2270 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2271 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 2272 *) GMSGFMT_015=$GMSGFMT ;; 2273 esac 2274 2275 2276 2277 # Prepare PATH_SEPARATOR. 2278 # The user is always right. 2279 if test "${PATH_SEPARATOR+set}" != set; then 2280 echo "#! /bin/sh" >conf$$.sh 2281 echo "exit 0" >>conf$$.sh 2282 chmod +x conf$$.sh 2283 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2284 PATH_SEPARATOR=';' 2285 else 2286 PATH_SEPARATOR=: 2287 fi 2288 rm -f conf$$.sh 2289 fi 2290 2291 # Find out how to test for executable files. Don't use a zero-byte file, 2292 # as systems may use methods other than mode bits to determine executability. 2293 cat >conf$$.file <<_ASEOF 2294 #! /bin/sh 2295 exit 0 2296 _ASEOF 2297 chmod +x conf$$.file 2298 if test -x conf$$.file >/dev/null 2>&1; then 2299 ac_executable_p="test -x" 2300 else 2301 ac_executable_p="test -f" 2302 fi 2303 rm -f conf$$.file 2304 2305 # Extract the first word of "xgettext", so it can be a program name with args. 2306 set dummy xgettext; ac_word=$2 2307 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2309 if test "${ac_cv_path_XGETTEXT+set}" = set; then 2310 echo $ECHO_N "(cached) $ECHO_C" >&6 2311 else 2312 case "$XGETTEXT" in 2313 [\\/]* | ?:[\\/]*) 2314 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 2315 ;; 2316 *) 2317 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2318 for ac_dir in $PATH; do 2319 IFS="$ac_save_IFS" 2320 test -z "$ac_dir" && ac_dir=. 2321 for ac_exec_ext in '' $ac_executable_extensions; do 2322 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2323 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2324 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 2325 (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 2326 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 2327 break 2 2328 fi 2329 fi 2330 done 2331 done 2332 IFS="$ac_save_IFS" 2333 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 2334 ;; 2335 esac 2336 fi 2337 XGETTEXT="$ac_cv_path_XGETTEXT" 2338 if test "$XGETTEXT" != ":"; then 2339 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 2340 echo "${ECHO_T}$XGETTEXT" >&6; } 2341 else 2342 { echo "$as_me:$LINENO: result: no" >&5 2343 echo "${ECHO_T}no" >&6; } 2344 fi 2345 2346 rm -f messages.po 2347 2348 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2349 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 2350 *) XGETTEXT_015=$XGETTEXT ;; 2351 esac 2352 2353 2354 2355 # Prepare PATH_SEPARATOR. 2356 # The user is always right. 2357 if test "${PATH_SEPARATOR+set}" != set; then 2358 echo "#! /bin/sh" >conf$$.sh 2359 echo "exit 0" >>conf$$.sh 2360 chmod +x conf$$.sh 2361 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2362 PATH_SEPARATOR=';' 2363 else 2364 PATH_SEPARATOR=: 2365 fi 2366 rm -f conf$$.sh 2367 fi 2368 2369 # Find out how to test for executable files. Don't use a zero-byte file, 2370 # as systems may use methods other than mode bits to determine executability. 2371 cat >conf$$.file <<_ASEOF 2372 #! /bin/sh 2373 exit 0 2374 _ASEOF 2375 chmod +x conf$$.file 2376 if test -x conf$$.file >/dev/null 2>&1; then 2377 ac_executable_p="test -x" 2378 else 2379 ac_executable_p="test -f" 2380 fi 2381 rm -f conf$$.file 2382 2383 # Extract the first word of "msgmerge", so it can be a program name with args. 2384 set dummy msgmerge; ac_word=$2 2385 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2387 if test "${ac_cv_path_MSGMERGE+set}" = set; then 2388 echo $ECHO_N "(cached) $ECHO_C" >&6 2389 else 2390 case "$MSGMERGE" in 2391 [\\/]* | ?:[\\/]*) 2392 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 2393 ;; 2394 *) 2395 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2396 for ac_dir in $PATH; do 2397 IFS="$ac_save_IFS" 2398 test -z "$ac_dir" && ac_dir=. 2399 for ac_exec_ext in '' $ac_executable_extensions; do 2400 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2401 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2402 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 2403 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 2404 break 2 2405 fi 2406 fi 2407 done 2408 done 2409 IFS="$ac_save_IFS" 2410 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 2411 ;; 2412 esac 2413 fi 2414 MSGMERGE="$ac_cv_path_MSGMERGE" 2415 if test "$MSGMERGE" != ":"; then 2416 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5 2417 echo "${ECHO_T}$MSGMERGE" >&6; } 2418 else 2419 { echo "$as_me:$LINENO: result: no" >&5 2420 echo "${ECHO_T}no" >&6; } 2421 fi 2422 2423 2424 test -n "$localedir" || localedir='${datadir}/locale' 2425 2426 2427 ac_config_commands="$ac_config_commands po-directories" 2428 2429 2430 2431 aclocaldir='${datadir}/aclocal' 2432 2433 2434 ac_config_files="$ac_config_files Makefile" 2435 2436 ac_config_files="$ac_config_files installpaths" 2437 2438 ac_config_files="$ac_config_files po/Makefile" 2439 2440 2441 cat >confcache <<\_ACEOF 2442 # This file is a shell script that caches the results of configure 2443 # tests run on this system so they can be shared between configure 2444 # scripts and configure runs, see configure's option --config-cache. 2445 # It is not useful on other systems. If it contains results you don't 2446 # want to keep, you may remove or edit it. 2447 # 2448 # config.status only pays attention to the cache file if you give it 2449 # the --recheck option to rerun configure. 2450 # 2451 # `ac_cv_env_foo' variables (set or unset) will be overridden when 2452 # loading this file, other *unset* `ac_cv_foo' will be assigned the 2453 # following values. 2454 2455 _ACEOF 2456 2457 # The following way of writing the cache mishandles newlines in values, 2458 # but we know of no workaround that is simple, portable, and efficient. 2459 # So, we kill variables containing newlines. 2460 # Ultrix sh set writes to stderr and can't be redirected directly, 2461 # and sets the high bit in the cache file unless we assign to the vars. 2462 ( 2463 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 2464 eval ac_val=\$$ac_var 2465 case $ac_val in #( 2466 *${as_nl}*) 2467 case $ac_var in #( 2468 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 2469 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2470 esac 2471 case $ac_var in #( 2472 _ | IFS | as_nl) ;; #( 2473 *) $as_unset $ac_var ;; 2474 esac ;; 2475 esac 2476 done 2477 2478 (set) 2>&1 | 2479 case $as_nl`(ac_space=' '; set) 2>&1` in #( 2480 *${as_nl}ac_space=\ *) 2481 # `set' does not quote correctly, so add quotes (double-quote 2482 # substitution turns \\\\ into \\, and sed turns \\ into \). 2483 sed -n \ 2484 "s/'/'\\\\''/g; 2485 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2486 ;; #( 2487 *) 2488 # `set' quotes correctly as required by POSIX, so do not add quotes. 2489 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2490 ;; 2491 esac | 2492 sort 2493 ) | 2494 sed ' 2495 /^ac_cv_env_/b end 2496 t clear 2497 :clear 2498 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2499 t end 2500 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2501 :end' >>confcache 2502 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 2503 if test -w "$cache_file"; then 2504 test "x$cache_file" != "x/dev/null" && 2505 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 2506 echo "$as_me: updating cache $cache_file" >&6;} 2507 cat confcache >$cache_file 2508 else 2509 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 2510 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 2511 fi 2512 fi 2513 rm -f confcache 2514 2515 test "x$prefix" = xNONE && prefix=$ac_default_prefix 2516 # Let make expand exec_prefix. 2517 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2518 2519 # Transform confdefs.h into DEFS. 2520 # Protect against shell expansion while executing Makefile rules. 2521 # Protect against Makefile macro expansion. 2522 # 2523 # If the first sed substitution is executed (which looks for macros that 2524 # take arguments), then branch to the quote section. Otherwise, 2525 # look for a macro that doesn't take arguments. 2526 ac_script=' 2527 t clear 2528 :clear 2529 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 2530 t quote 2531 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 2532 t quote 2533 b any 2534 :quote 2535 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 2536 s/\[/\\&/g 2537 s/\]/\\&/g 2538 s/\$/$$/g 2539 H 2540 :any 2541 ${ 2542 g 2543 s/^\n// 2544 s/\n/ /g 2545 p 2546 } 2547 ' 2548 DEFS=`sed -n "$ac_script" confdefs.h` 2549 2550 2551 ac_libobjs= 2552 ac_ltlibobjs= 2553 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2554 # 1. Remove the extension, and $U if already installed. 2555 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 2556 ac_i=`echo "$ac_i" | sed "$ac_script"` 2557 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 2558 # will be set to the directory where LIBOBJS objects are built. 2559 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 2560 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 2561 done 2562 LIBOBJS=$ac_libobjs 2563 2564 LTLIBOBJS=$ac_ltlibobjs 2565 2566 2567 2568 : ${CONFIG_STATUS=./config.status} 2569 ac_clean_files_save=$ac_clean_files 2570 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2571 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 2572 echo "$as_me: creating $CONFIG_STATUS" >&6;} 2573 cat >$CONFIG_STATUS <<_ACEOF 2574 #! $SHELL 2575 # Generated by $as_me. 2576 # Run this file to recreate the current configuration. 2577 # Compiler output produced by configure, useful for debugging 2578 # configure, is in config.log if it exists. 2579 2580 debug=false 2581 ac_cs_recheck=false 2582 ac_cs_silent=false 2583 SHELL=\${CONFIG_SHELL-$SHELL} 2584 _ACEOF 2585 2586 cat >>$CONFIG_STATUS <<\_ACEOF 2587 ## --------------------- ## 2588 ## M4sh Initialization. ## 2589 ## --------------------- ## 2590 2591 # Be more Bourne compatible 2592 DUALCASE=1; export DUALCASE # for MKS sh 2593 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2594 emulate sh 2595 NULLCMD=: 2596 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 2597 # is contrary to our usage. Disable this feature. 2598 alias -g '${1+"$@"}'='"$@"' 2599 setopt NO_GLOB_SUBST 2600 else 2601 case `(set -o) 2>/dev/null` in 2602 *posix*) set -o posix ;; 2603 esac 2604 2605 fi 2606 2607 2608 2609 2610 # PATH needs CR 2611 # Avoid depending upon Character Ranges. 2612 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2613 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2614 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2615 as_cr_digits='0123456789' 2616 as_cr_alnum=$as_cr_Letters$as_cr_digits 2617 2618 # The user is always right. 2619 if test "${PATH_SEPARATOR+set}" != set; then 2620 echo "#! /bin/sh" >conf$$.sh 2621 echo "exit 0" >>conf$$.sh 2622 chmod +x conf$$.sh 2623 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2624 PATH_SEPARATOR=';' 2625 else 2626 PATH_SEPARATOR=: 2627 fi 2628 rm -f conf$$.sh 2629 fi 2630 2631 # Support unset when possible. 2632 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 2633 as_unset=unset 2634 else 2635 as_unset=false 2636 fi 2637 2638 2639 # IFS 2640 # We need space, tab and new line, in precisely that order. Quoting is 2641 # there to prevent editors from complaining about space-tab. 2642 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 2643 # splitting by setting IFS to empty value.) 2644 as_nl=' 2645 ' 2646 IFS=" "" $as_nl" 2647 2648 # Find who we are. Look in the path if we contain no directory separator. 2649 case $0 in 2650 *[\\/]* ) as_myself=$0 ;; 2651 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2652 for as_dir in $PATH 2653 do 2654 IFS=$as_save_IFS 2655 test -z "$as_dir" && as_dir=. 2656 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 2657 done 2658 IFS=$as_save_IFS 2659 2660 ;; 2661 esac 2662 # We did not find ourselves, most probably we were run as `sh COMMAND' 2663 # in which case we are not to be found in the path. 2664 if test "x$as_myself" = x; then 2665 as_myself=$0 2666 fi 2667 if test ! -f "$as_myself"; then 2668 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 2669 { (exit 1); exit 1; } 2670 fi 2671 2672 # Work around bugs in pre-3.0 UWIN ksh. 2673 for as_var in ENV MAIL MAILPATH 2674 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 2675 done 2676 PS1='$ ' 2677 PS2='> ' 2678 PS4='+ ' 2679 2680 # NLS nuisances. 2681 for as_var in \ 2682 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 2683 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 2684 LC_TELEPHONE LC_TIME 2685 do 2686 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 2687 eval $as_var=C; export $as_var 2688 else 2689 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 2690 fi 2691 done 2692 2693 # Required to use basename. 2694 if expr a : '\(a\)' >/dev/null 2>&1 && 2695 test "X`expr 00001 : '.*\(...\)'`" = X001; then 2696 as_expr=expr 2697 else 2698 as_expr=false 2699 fi 2700 2701 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 2702 as_basename=basename 2703 else 2704 as_basename=false 2705 fi 2706 2707 2708 # Name of the executable. 2709 as_me=`$as_basename -- "$0" || 2710 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 2711 X"$0" : 'X\(//\)$' \| \ 2712 X"$0" : 'X\(/\)' \| . 2>/dev/null || 2713 echo X/"$0" | 2714 sed '/^.*\/\([^/][^/]*\)\/*$/{ 2715 s//\1/ 2716 q 2717 } 2718 /^X\/\(\/\/\)$/{ 2719 s//\1/ 2720 q 2721 } 2722 /^X\/\(\/\).*/{ 2723 s//\1/ 2724 q 2725 } 2726 s/.*/./; q'` 2727 2728 # CDPATH. 2729 $as_unset CDPATH 2730 2731 2732 2733 as_lineno_1=$LINENO 2734 as_lineno_2=$LINENO 2735 test "x$as_lineno_1" != "x$as_lineno_2" && 2736 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 2737 2738 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 2739 # uniformly replaced by the line number. The first 'sed' inserts a 2740 # line-number line after each line using $LINENO; the second 'sed' 2741 # does the real work. The second script uses 'N' to pair each 2742 # line-number line with the line containing $LINENO, and appends 2743 # trailing '-' during substitution so that $LINENO is not a special 2744 # case at line end. 2745 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 2746 # scripts with optimization help from Paolo Bonzini. Blame Lee 2747 # E. McMahon (1931-1989) for sed's syntax. :-) 2748 sed -n ' 2749 p 2750 /[$]LINENO/= 2751 ' <$as_myself | 2752 sed ' 2753 s/[$]LINENO.*/&-/ 2754 t lineno 2755 b 2756 :lineno 2757 N 2758 :loop 2759 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 2760 t loop 2761 s/-\n.*// 2762 ' >$as_me.lineno && 2763 chmod +x "$as_me.lineno" || 2764 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 2765 { (exit 1); exit 1; }; } 2766 2767 # Don't try to exec as it changes $[0], causing all sort of problems 2768 # (the dirname of $[0] is not the place where we might find the 2769 # original and so on. Autoconf is especially sensitive to this). 2770 . "./$as_me.lineno" 2771 # Exit status is that of the last command. 2772 exit 2773 } 2774 2775 2776 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2777 as_dirname=dirname 2778 else 2779 as_dirname=false 2780 fi 2781 2782 ECHO_C= ECHO_N= ECHO_T= 2783 case `echo -n x` in 2784 -n*) 2785 case `echo 'x\c'` in 2786 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 2787 *) ECHO_C='\c';; 2788 esac;; 2789 *) 2790 ECHO_N='-n';; 2791 esac 2792 2793 if expr a : '\(a\)' >/dev/null 2>&1 && 2794 test "X`expr 00001 : '.*\(...\)'`" = X001; then 2795 as_expr=expr 2796 else 2797 as_expr=false 2798 fi 2799 2800 rm -f conf$$ conf$$.exe conf$$.file 2801 if test -d conf$$.dir; then 2802 rm -f conf$$.dir/conf$$.file 2803 else 2804 rm -f conf$$.dir 2805 mkdir conf$$.dir 2806 fi 2807 echo >conf$$.file 2808 if ln -s conf$$.file conf$$ 2>/dev/null; then 2809 as_ln_s='ln -s' 2810 # ... but there are two gotchas: 2811 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 2812 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 2813 # In both cases, we have to default to `cp -p'. 2814 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 2815 as_ln_s='cp -p' 2816 elif ln conf$$.file conf$$ 2>/dev/null; then 2817 as_ln_s=ln 2818 else 2819 as_ln_s='cp -p' 2820 fi 2821 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 2822 rmdir conf$$.dir 2>/dev/null 2823 2824 if mkdir -p . 2>/dev/null; then 2825 as_mkdir_p=: 2826 else 2827 test -d ./-p && rmdir ./-p 2828 as_mkdir_p=false 2829 fi 2830 2831 if test -x / >/dev/null 2>&1; then 2832 as_test_x='test -x' 2833 else 2834 if ls -dL / >/dev/null 2>&1; then 2835 as_ls_L_option=L 2836 else 2837 as_ls_L_option= 2838 fi 2839 as_test_x=' 2840 eval sh -c '\'' 2841 if test -d "$1"; then 2842 test -d "$1/."; 2843 else 2844 case $1 in 2845 -*)set "./$1";; 2846 esac; 2847 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 2848 ???[sx]*):;;*)false;;esac;fi 2849 '\'' sh 2850 ' 2851 fi 2852 as_executable_p=$as_test_x 2853 2854 # Sed expression to map a string onto a valid CPP name. 2855 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2856 2857 # Sed expression to map a string onto a valid variable name. 2858 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2859 2860 2861 exec 6>&1 2862 2863 # Save the log message, to keep $[0] and so on meaningful, and to 2864 # report actual input values of CONFIG_FILES etc. instead of their 2865 # values after options handling. 2866 ac_log=" 2867 This file was extended by $as_me, which was 2868 generated by GNU Autoconf 2.61. Invocation command line was 2869 2870 CONFIG_FILES = $CONFIG_FILES 2871 CONFIG_HEADERS = $CONFIG_HEADERS 2872 CONFIG_LINKS = $CONFIG_LINKS 2873 CONFIG_COMMANDS = $CONFIG_COMMANDS 2874 $ $0 $@ 2875 2876 on `(hostname || uname -n) 2>/dev/null | sed 1q` 2877 " 2878 2879 _ACEOF 2880 2881 cat >>$CONFIG_STATUS <<_ACEOF 2882 # Files that config.status was made for. 2883 config_files="$ac_config_files" 2884 config_commands="$ac_config_commands" 2885 2886 _ACEOF 2887 2888 cat >>$CONFIG_STATUS <<\_ACEOF 2889 ac_cs_usage="\ 2890 \`$as_me' instantiates files from templates according to the 2891 current configuration. 2892 2893 Usage: $0 [OPTIONS] [FILE]... 2894 2895 -h, --help print this help, then exit 2896 -V, --version print version number and configuration settings, then exit 2897 -q, --quiet do not print progress messages 2898 -d, --debug don't remove temporary files 2899 --recheck update $as_me by reconfiguring in the same conditions 2900 --file=FILE[:TEMPLATE] 2901 instantiate the configuration file FILE 2902 2903 Configuration files: 2904 $config_files 2905 2906 Configuration commands: 2907 $config_commands 2908 2909 Report bugs to <bug-autoconf (at] gnu.org>." 2910 2911 _ACEOF 2912 cat >>$CONFIG_STATUS <<_ACEOF 2913 ac_cs_version="\\ 2914 config.status 2915 configured by $0, generated by GNU Autoconf 2.61, 2916 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 2917 2918 Copyright (C) 2006 Free Software Foundation, Inc. 2919 This config.status script is free software; the Free Software Foundation 2920 gives unlimited permission to copy, distribute and modify it." 2921 2922 ac_pwd='$ac_pwd' 2923 srcdir='$srcdir' 2924 INSTALL='$INSTALL' 2925 MKDIR_P='$MKDIR_P' 2926 _ACEOF 2927 2928 cat >>$CONFIG_STATUS <<\_ACEOF 2929 # If no file are specified by the user, then we need to provide default 2930 # value. By we need to know if files were specified by the user. 2931 ac_need_defaults=: 2932 while test $# != 0 2933 do 2934 case $1 in 2935 --*=*) 2936 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2937 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 2938 ac_shift=: 2939 ;; 2940 *) 2941 ac_option=$1 2942 ac_optarg=$2 2943 ac_shift=shift 2944 ;; 2945 esac 2946 2947 case $ac_option in 2948 # Handling of the options. 2949 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2950 ac_cs_recheck=: ;; 2951 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 2952 echo "$ac_cs_version"; exit ;; 2953 --debug | --debu | --deb | --de | --d | -d ) 2954 debug=: ;; 2955 --file | --fil | --fi | --f ) 2956 $ac_shift 2957 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 2958 ac_need_defaults=false;; 2959 --he | --h | --help | --hel | -h ) 2960 echo "$ac_cs_usage"; exit ;; 2961 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2962 | -silent | --silent | --silen | --sile | --sil | --si | --s) 2963 ac_cs_silent=: ;; 2964 2965 # This is an error. 2966 -*) { echo "$as_me: error: unrecognized option: $1 2967 Try \`$0 --help' for more information." >&2 2968 { (exit 1); exit 1; }; } ;; 2969 2970 *) ac_config_targets="$ac_config_targets $1" 2971 ac_need_defaults=false ;; 2972 2973 esac 2974 shift 2975 done 2976 2977 ac_configure_extra_args= 2978 2979 if $ac_cs_silent; then 2980 exec 6>/dev/null 2981 ac_configure_extra_args="$ac_configure_extra_args --silent" 2982 fi 2983 2984 _ACEOF 2985 cat >>$CONFIG_STATUS <<_ACEOF 2986 if \$ac_cs_recheck; then 2987 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 2988 CONFIG_SHELL=$SHELL 2989 export CONFIG_SHELL 2990 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 2991 fi 2992 2993 _ACEOF 2994 cat >>$CONFIG_STATUS <<\_ACEOF 2995 exec 5>>config.log 2996 { 2997 echo 2998 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 2999 ## Running $as_me. ## 3000 _ASBOX 3001 echo "$ac_log" 3002 } >&5 3003 3004 _ACEOF 3005 cat >>$CONFIG_STATUS <<_ACEOF 3006 # 3007 # INIT-COMMANDS 3008 # 3009 # Capture the value of obsolete ALL_LINGUAS because we need it to compute 3010 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 3011 # from automake < 1.5. 3012 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 3013 # Capture the value of LINGUAS because we need it to compute CATALOGS. 3014 LINGUAS="${LINGUAS-%UNSET%}" 3015 3016 3017 _ACEOF 3018 3019 cat >>$CONFIG_STATUS <<\_ACEOF 3020 3021 # Handling of arguments. 3022 for ac_config_target in $ac_config_targets 3023 do 3024 case $ac_config_target in 3025 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 3026 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3027 "installpaths") CONFIG_FILES="$CONFIG_FILES installpaths" ;; 3028 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;; 3029 3030 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3031 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3032 { (exit 1); exit 1; }; };; 3033 esac 3034 done 3035 3036 3037 # If the user did not use the arguments to specify the items to instantiate, 3038 # then the envvar interface is used. Set only those that are not. 3039 # We use the long form for the default assignment because of an extremely 3040 # bizarre bug on SunOS 4.1.3. 3041 if $ac_need_defaults; then 3042 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3043 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 3044 fi 3045 3046 # Have a temporary directory for convenience. Make it in the build tree 3047 # simply because there is no reason against having it here, and in addition, 3048 # creating and moving files from /tmp can sometimes cause problems. 3049 # Hook for its removal unless debugging. 3050 # Note that there is a small window in which the directory will not be cleaned: 3051 # after its creation but before its name has been assigned to `$tmp'. 3052 $debug || 3053 { 3054 tmp= 3055 trap 'exit_status=$? 3056 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 3057 ' 0 3058 trap '{ (exit 1); exit 1; }' 1 2 13 15 3059 } 3060 # Create a (secure) tmp directory for tmp files. 3061 3062 { 3063 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3064 test -n "$tmp" && test -d "$tmp" 3065 } || 3066 { 3067 tmp=./conf$$-$RANDOM 3068 (umask 077 && mkdir "$tmp") 3069 } || 3070 { 3071 echo "$me: cannot create a temporary directory in ." >&2 3072 { (exit 1); exit 1; } 3073 } 3074 3075 # 3076 # Set up the sed scripts for CONFIG_FILES section. 3077 # 3078 3079 # No need to generate the scripts if there are no CONFIG_FILES. 3080 # This happens for instance when ./config.status config.h 3081 if test -n "$CONFIG_FILES"; then 3082 3083 _ACEOF 3084 3085 3086 3087 ac_delim='%!_!# ' 3088 for ac_last_try in false false false false false :; do 3089 cat >conf$$subs.sed <<_ACEOF 3090 SHELL!$SHELL$ac_delim 3091 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 3092 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 3093 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 3094 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 3095 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 3096 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 3097 exec_prefix!$exec_prefix$ac_delim 3098 prefix!$prefix$ac_delim 3099 program_transform_name!$program_transform_name$ac_delim 3100 bindir!$bindir$ac_delim 3101 sbindir!$sbindir$ac_delim 3102 libexecdir!$libexecdir$ac_delim 3103 datarootdir!$datarootdir$ac_delim 3104 datadir!$datadir$ac_delim 3105 sysconfdir!$sysconfdir$ac_delim 3106 sharedstatedir!$sharedstatedir$ac_delim 3107 localstatedir!$localstatedir$ac_delim 3108 includedir!$includedir$ac_delim 3109 oldincludedir!$oldincludedir$ac_delim 3110 docdir!$docdir$ac_delim 3111 infodir!$infodir$ac_delim 3112 htmldir!$htmldir$ac_delim 3113 dvidir!$dvidir$ac_delim 3114 pdfdir!$pdfdir$ac_delim 3115 psdir!$psdir$ac_delim 3116 libdir!$libdir$ac_delim 3117 localedir!$localedir$ac_delim 3118 mandir!$mandir$ac_delim 3119 DEFS!$DEFS$ac_delim 3120 ECHO_C!$ECHO_C$ac_delim 3121 ECHO_N!$ECHO_N$ac_delim 3122 ECHO_T!$ECHO_T$ac_delim 3123 LIBS!$LIBS$ac_delim 3124 build_alias!$build_alias$ac_delim 3125 host_alias!$host_alias$ac_delim 3126 target_alias!$target_alias$ac_delim 3127 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 3128 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 3129 INSTALL_DATA!$INSTALL_DATA$ac_delim 3130 am__isrc!$am__isrc$ac_delim 3131 CYGPATH_W!$CYGPATH_W$ac_delim 3132 PACKAGE!$PACKAGE$ac_delim 3133 VERSION!$VERSION$ac_delim 3134 ACLOCAL!$ACLOCAL$ac_delim 3135 AUTOCONF!$AUTOCONF$ac_delim 3136 AUTOMAKE!$AUTOMAKE$ac_delim 3137 AUTOHEADER!$AUTOHEADER$ac_delim 3138 MAKEINFO!$MAKEINFO$ac_delim 3139 install_sh!$install_sh$ac_delim 3140 STRIP!$STRIP$ac_delim 3141 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 3142 mkdir_p!$mkdir_p$ac_delim 3143 AWK!$AWK$ac_delim 3144 SET_MAKE!$SET_MAKE$ac_delim 3145 am__leading_dot!$am__leading_dot$ac_delim 3146 AMTAR!$AMTAR$ac_delim 3147 am__tar!$am__tar$ac_delim 3148 am__untar!$am__untar$ac_delim 3149 USE_NLS!$USE_NLS$ac_delim 3150 MSGFMT!$MSGFMT$ac_delim 3151 GMSGFMT!$GMSGFMT$ac_delim 3152 MSGFMT_015!$MSGFMT_015$ac_delim 3153 GMSGFMT_015!$GMSGFMT_015$ac_delim 3154 XGETTEXT!$XGETTEXT$ac_delim 3155 XGETTEXT_015!$XGETTEXT_015$ac_delim 3156 MSGMERGE!$MSGMERGE$ac_delim 3157 aclocaldir!$aclocaldir$ac_delim 3158 LIBOBJS!$LIBOBJS$ac_delim 3159 LTLIBOBJS!$LTLIBOBJS$ac_delim 3160 _ACEOF 3161 3162 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 70; then 3163 break 3164 elif $ac_last_try; then 3165 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 3166 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 3167 { (exit 1); exit 1; }; } 3168 else 3169 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3170 fi 3171 done 3172 3173 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 3174 if test -n "$ac_eof"; then 3175 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 3176 ac_eof=`expr $ac_eof + 1` 3177 fi 3178 3179 cat >>$CONFIG_STATUS <<_ACEOF 3180 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 3181 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 3182 _ACEOF 3183 sed ' 3184 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 3185 s/^/s,@/; s/!/@,|#_!!_#|/ 3186 :n 3187 t n 3188 s/'"$ac_delim"'$/,g/; t 3189 s/$/\\/; p 3190 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 3191 ' >>$CONFIG_STATUS <conf$$subs.sed 3192 rm -f conf$$subs.sed 3193 cat >>$CONFIG_STATUS <<_ACEOF 3194 :end 3195 s/|#_!!_#|//g 3196 CEOF$ac_eof 3197 _ACEOF 3198 3199 3200 # VPATH may cause trouble with some makes, so we remove $(srcdir), 3201 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3202 # trailing colons and then remove the whole line if VPATH becomes empty 3203 # (actually we leave an empty line to preserve line numbers). 3204 if test "x$srcdir" = x.; then 3205 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3206 s/:*\$(srcdir):*/:/ 3207 s/:*\${srcdir}:*/:/ 3208 s/:*@srcdir@:*/:/ 3209 s/^\([^=]*=[ ]*\):*/\1/ 3210 s/:*$// 3211 s/^[^=]*=[ ]*$// 3212 }' 3213 fi 3214 3215 cat >>$CONFIG_STATUS <<\_ACEOF 3216 fi # test -n "$CONFIG_FILES" 3217 3218 3219 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS 3220 do 3221 case $ac_tag in 3222 :[FHLC]) ac_mode=$ac_tag; continue;; 3223 esac 3224 case $ac_mode$ac_tag in 3225 :[FHL]*:*);; 3226 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 3227 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 3228 { (exit 1); exit 1; }; };; 3229 :[FH]-) ac_tag=-:-;; 3230 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3231 esac 3232 ac_save_IFS=$IFS 3233 IFS=: 3234 set x $ac_tag 3235 IFS=$ac_save_IFS 3236 shift 3237 ac_file=$1 3238 shift 3239 3240 case $ac_mode in 3241 :L) ac_source=$1;; 3242 :[FH]) 3243 ac_file_inputs= 3244 for ac_f 3245 do 3246 case $ac_f in 3247 -) ac_f="$tmp/stdin";; 3248 *) # Look for the file first in the build tree, then in the source tree 3249 # (if the path is not absolute). The absolute path cannot be DOS-style, 3250 # because $ac_f cannot contain `:'. 3251 test -f "$ac_f" || 3252 case $ac_f in 3253 [\\/$]*) false;; 3254 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3255 esac || 3256 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 3257 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 3258 { (exit 1); exit 1; }; };; 3259 esac 3260 ac_file_inputs="$ac_file_inputs $ac_f" 3261 done 3262 3263 # Let's still pretend it is `configure' which instantiates (i.e., don't 3264 # use $as_me), people would be surprised to read: 3265 # /* config.h. Generated by config.status. */ 3266 configure_input="Generated from "`IFS=: 3267 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 3268 if test x"$ac_file" != x-; then 3269 configure_input="$ac_file. $configure_input" 3270 { echo "$as_me:$LINENO: creating $ac_file" >&5 3271 echo "$as_me: creating $ac_file" >&6;} 3272 fi 3273 3274 case $ac_tag in 3275 *:-:* | *:-) cat >"$tmp/stdin";; 3276 esac 3277 ;; 3278 esac 3279 3280 ac_dir=`$as_dirname -- "$ac_file" || 3281 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3282 X"$ac_file" : 'X\(//\)[^/]' \| \ 3283 X"$ac_file" : 'X\(//\)$' \| \ 3284 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3285 echo X"$ac_file" | 3286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3287 s//\1/ 3288 q 3289 } 3290 /^X\(\/\/\)[^/].*/{ 3291 s//\1/ 3292 q 3293 } 3294 /^X\(\/\/\)$/{ 3295 s//\1/ 3296 q 3297 } 3298 /^X\(\/\).*/{ 3299 s//\1/ 3300 q 3301 } 3302 s/.*/./; q'` 3303 { as_dir="$ac_dir" 3304 case $as_dir in #( 3305 -*) as_dir=./$as_dir;; 3306 esac 3307 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 3308 as_dirs= 3309 while :; do 3310 case $as_dir in #( 3311 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 3312 *) as_qdir=$as_dir;; 3313 esac 3314 as_dirs="'$as_qdir' $as_dirs" 3315 as_dir=`$as_dirname -- "$as_dir" || 3316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3317 X"$as_dir" : 'X\(//\)[^/]' \| \ 3318 X"$as_dir" : 'X\(//\)$' \| \ 3319 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3320 echo X"$as_dir" | 3321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3322 s//\1/ 3323 q 3324 } 3325 /^X\(\/\/\)[^/].*/{ 3326 s//\1/ 3327 q 3328 } 3329 /^X\(\/\/\)$/{ 3330 s//\1/ 3331 q 3332 } 3333 /^X\(\/\).*/{ 3334 s//\1/ 3335 q 3336 } 3337 s/.*/./; q'` 3338 test -d "$as_dir" && break 3339 done 3340 test -z "$as_dirs" || eval "mkdir $as_dirs" 3341 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 3342 echo "$as_me: error: cannot create directory $as_dir" >&2;} 3343 { (exit 1); exit 1; }; }; } 3344 ac_builddir=. 3345 3346 case "$ac_dir" in 3347 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 3348 *) 3349 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3350 # A ".." for each directory in $ac_dir_suffix. 3351 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 3352 case $ac_top_builddir_sub in 3353 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 3354 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 3355 esac ;; 3356 esac 3357 ac_abs_top_builddir=$ac_pwd 3358 ac_abs_builddir=$ac_pwd$ac_dir_suffix 3359 # for backward compatibility: 3360 ac_top_builddir=$ac_top_build_prefix 3361 3362 case $srcdir in 3363 .) # We are building in place. 3364 ac_srcdir=. 3365 ac_top_srcdir=$ac_top_builddir_sub 3366 ac_abs_top_srcdir=$ac_pwd ;; 3367 [\\/]* | ?:[\\/]* ) # Absolute name. 3368 ac_srcdir=$srcdir$ac_dir_suffix; 3369 ac_top_srcdir=$srcdir 3370 ac_abs_top_srcdir=$srcdir ;; 3371 *) # Relative name. 3372 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 3373 ac_top_srcdir=$ac_top_build_prefix$srcdir 3374 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 3375 esac 3376 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 3377 3378 3379 case $ac_mode in 3380 :F) 3381 # 3382 # CONFIG_FILE 3383 # 3384 3385 case $INSTALL in 3386 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3387 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 3388 esac 3389 ac_MKDIR_P=$MKDIR_P 3390 case $MKDIR_P in 3391 [\\/$]* | ?:[\\/]* ) ;; 3392 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 3393 esac 3394 _ACEOF 3395 3396 cat >>$CONFIG_STATUS <<\_ACEOF 3397 # If the template does not know about datarootdir, expand it. 3398 # FIXME: This hack should be removed a few years after 2.60. 3399 ac_datarootdir_hack=; ac_datarootdir_seen= 3400 3401 case `sed -n '/datarootdir/ { 3402 p 3403 q 3404 } 3405 /@datadir@/p 3406 /@docdir@/p 3407 /@infodir@/p 3408 /@localedir@/p 3409 /@mandir@/p 3410 ' $ac_file_inputs` in 3411 *datarootdir*) ac_datarootdir_seen=yes;; 3412 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 3413 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 3414 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 3415 _ACEOF 3416 cat >>$CONFIG_STATUS <<_ACEOF 3417 ac_datarootdir_hack=' 3418 s&@datadir@&$datadir&g 3419 s&@docdir@&$docdir&g 3420 s&@infodir@&$infodir&g 3421 s&@localedir@&$localedir&g 3422 s&@mandir@&$mandir&g 3423 s&\\\${datarootdir}&$datarootdir&g' ;; 3424 esac 3425 _ACEOF 3426 3427 # Neutralize VPATH when `$srcdir' = `.'. 3428 # Shell code in configure.ac might set extrasub. 3429 # FIXME: do we really want to maintain this feature? 3430 cat >>$CONFIG_STATUS <<_ACEOF 3431 sed "$ac_vpsub 3432 $extrasub 3433 _ACEOF 3434 cat >>$CONFIG_STATUS <<\_ACEOF 3435 :t 3436 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3437 s&@configure_input@&$configure_input&;t t 3438 s&@top_builddir@&$ac_top_builddir_sub&;t t 3439 s&@srcdir@&$ac_srcdir&;t t 3440 s&@abs_srcdir@&$ac_abs_srcdir&;t t 3441 s&@top_srcdir@&$ac_top_srcdir&;t t 3442 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 3443 s&@builddir@&$ac_builddir&;t t 3444 s&@abs_builddir@&$ac_abs_builddir&;t t 3445 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 3446 s&@INSTALL@&$ac_INSTALL&;t t 3447 s&@MKDIR_P@&$ac_MKDIR_P&;t t 3448 $ac_datarootdir_hack 3449 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 3450 3451 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 3452 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 3453 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 3454 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3455 which seems to be undefined. Please make sure it is defined." >&5 3456 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3457 which seems to be undefined. Please make sure it is defined." >&2;} 3458 3459 rm -f "$tmp/stdin" 3460 case $ac_file in 3461 -) cat "$tmp/out"; rm -f "$tmp/out";; 3462 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 3463 esac 3464 ;; 3465 3466 3467 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 3468 echo "$as_me: executing $ac_file commands" >&6;} 3469 ;; 3470 esac 3471 3472 3473 case $ac_file$ac_mode in 3474 "po-directories":C) 3475 for ac_file in $CONFIG_FILES; do 3476 # Support "outfile[:infile[:infile...]]" 3477 case "$ac_file" in 3478 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 3479 esac 3480 # PO directories have a Makefile.in generated from Makefile.in.in. 3481 case "$ac_file" in */Makefile.in) 3482 # Adjust a relative srcdir. 3483 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 3484 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 3485 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 3486 # In autoconf-2.13 it is called $ac_given_srcdir. 3487 # In autoconf-2.50 it is called $srcdir. 3488 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 3489 case "$ac_given_srcdir" in 3490 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 3491 /*) top_srcdir="$ac_given_srcdir" ;; 3492 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 3493 esac 3494 # Treat a directory as a PO directory if and only if it has a 3495 # POTFILES.in file. This allows packages to have multiple PO 3496 # directories under different names or in different locations. 3497 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 3498 rm -f "$ac_dir/POTFILES" 3499 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 3500 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 3501 POMAKEFILEDEPS="POTFILES.in" 3502 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 3503 # on $ac_dir but don't depend on user-specified configuration 3504 # parameters. 3505 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 3506 # The LINGUAS file contains the set of available languages. 3507 if test -n "$OBSOLETE_ALL_LINGUAS"; then 3508 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 3509 fi 3510 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 3511 # Hide the ALL_LINGUAS assigment from automake < 1.5. 3512 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 3513 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 3514 else 3515 # The set of available languages was given in configure.in. 3516 # Hide the ALL_LINGUAS assigment from automake < 1.5. 3517 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 3518 fi 3519 # Compute POFILES 3520 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 3521 # Compute UPDATEPOFILES 3522 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 3523 # Compute DUMMYPOFILES 3524 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 3525 # Compute GMOFILES 3526 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 3527 case "$ac_given_srcdir" in 3528 .) srcdirpre= ;; 3529 *) srcdirpre='$(srcdir)/' ;; 3530 esac 3531 POFILES= 3532 UPDATEPOFILES= 3533 DUMMYPOFILES= 3534 GMOFILES= 3535 for lang in $ALL_LINGUAS; do 3536 POFILES="$POFILES $srcdirpre$lang.po" 3537 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 3538 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 3539 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 3540 done 3541 # CATALOGS depends on both $ac_dir and the user's LINGUAS 3542 # environment variable. 3543 INST_LINGUAS= 3544 if test -n "$ALL_LINGUAS"; then 3545 for presentlang in $ALL_LINGUAS; do 3546 useit=no 3547 if test "%UNSET%" != "$LINGUAS"; then 3548 desiredlanguages="$LINGUAS" 3549 else 3550 desiredlanguages="$ALL_LINGUAS" 3551 fi 3552 for desiredlang in $desiredlanguages; do 3553 # Use the presentlang catalog if desiredlang is 3554 # a. equal to presentlang, or 3555 # b. a variant of presentlang (because in this case, 3556 # presentlang can be used as a fallback for messages 3557 # which are not translated in the desiredlang catalog). 3558 case "$desiredlang" in 3559 "$presentlang"*) useit=yes;; 3560 esac 3561 done 3562 if test $useit = yes; then 3563 INST_LINGUAS="$INST_LINGUAS $presentlang" 3564 fi 3565 done 3566 fi 3567 CATALOGS= 3568 if test -n "$INST_LINGUAS"; then 3569 for lang in $INST_LINGUAS; do 3570 CATALOGS="$CATALOGS $lang.gmo" 3571 done 3572 fi 3573 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 3574 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" 3575 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 3576 if test -f "$f"; then 3577 case "$f" in 3578 *.orig | *.bak | *~) ;; 3579 *) cat "$f" >> "$ac_dir/Makefile" ;; 3580 esac 3581 fi 3582 done 3583 fi 3584 ;; 3585 esac 3586 done ;; 3587 "Makefile":F) 3588 sed_script='/mkdir \$(distdir)$/{a\ 3589 \ $(MAKE) distdir1 3590 }' 3591 sed -e "$sed_script" < $ac_file > $ac_file.tmp 3592 mv $ac_file.tmp $ac_file 3593 ;; 3594 "po/Makefile":F) 3595 # When this code is run, in config.status, two variables have already been 3596 # set: 3597 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, 3598 # - LINGUAS is the value of the environment variable LINGUAS at configure 3599 # time. 3600 3601 # Adjust a relative srcdir. 3602 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 3603 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 3604 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 3605 # In autoconf-2.13 it is called $ac_given_srcdir. 3606 # In autoconf-2.50 it is called $srcdir. 3607 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 3608 case "$ac_given_srcdir" in 3609 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 3610 /*) top_srcdir="$ac_given_srcdir" ;; 3611 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 3612 esac 3613 3614 # Find a way to echo strings without interpreting backslash. 3615 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then 3616 gt_echo='echo' 3617 else 3618 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then 3619 gt_echo='printf %s\n' 3620 else 3621 echo_func () { 3622 cat <<EOT 3623 3624 EOT 3625 } 3626 gt_echo='echo_func' 3627 fi 3628 fi 3629 3630 # A sed script that extracts the value of VARIABLE from a Makefile. 3631 sed_x_variable=' 3632 # Test if the hold space is empty. 3633 x 3634 s/P/P/ 3635 x 3636 ta 3637 # Yes it was empty. Look if we have the expected variable definition. 3638 /^[ ]*VARIABLE[ ]*=/{ 3639 # Seen the first line of the variable definition. 3640 s/^[ ]*VARIABLE[ ]*=// 3641 ba 3642 } 3643 bd 3644 :a 3645 # Here we are processing a line from the variable definition. 3646 # Remove comment, more precisely replace it with a space. 3647 s/#.*$/ / 3648 # See if the line ends in a backslash. 3649 tb 3650 :b 3651 s/\\$// 3652 # Print the line, without the trailing backslash. 3653 p 3654 tc 3655 # There was no trailing backslash. The end of the variable definition is 3656 # reached. Clear the hold space. 3657 s/^.*$// 3658 x 3659 bd 3660 :c 3661 # A trailing backslash means that the variable definition continues in the 3662 # next line. Put a nonempty string into the hold space to indicate this. 3663 s/^.*$/P/ 3664 x 3665 :d 3666 ' 3667 3668 # Set POTFILES to the value of the Makefile variable POTFILES. 3669 sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'` 3670 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"` 3671 # Compute POTFILES_DEPS as 3672 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) 3673 POTFILES_DEPS= 3674 for file in $POTFILES; do 3675 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file" 3676 done 3677 POMAKEFILEDEPS="" 3678 3679 if test -n "$OBSOLETE_ALL_LINGUAS"; then 3680 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 3681 fi 3682 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 3683 # The LINGUAS file contains the set of available languages. 3684 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 3685 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 3686 else 3687 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS. 3688 sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'` 3689 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"` 3690 fi 3691 # Hide the ALL_LINGUAS assigment from automake < 1.5. 3692 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 3693 # Compute POFILES 3694 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 3695 # Compute UPDATEPOFILES 3696 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 3697 # Compute DUMMYPOFILES 3698 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 3699 # Compute GMOFILES 3700 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 3701 # Compute PROPERTIESFILES 3702 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties) 3703 # Compute CLASSFILES 3704 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class) 3705 # Compute QMFILES 3706 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm) 3707 # Compute MSGFILES 3708 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg) 3709 # Compute RESOURCESDLLFILES 3710 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll) 3711 case "$ac_given_srcdir" in 3712 .) srcdirpre= ;; 3713 *) srcdirpre='$(srcdir)/' ;; 3714 esac 3715 POFILES= 3716 UPDATEPOFILES= 3717 DUMMYPOFILES= 3718 GMOFILES= 3719 PROPERTIESFILES= 3720 CLASSFILES= 3721 QMFILES= 3722 MSGFILES= 3723 RESOURCESDLLFILES= 3724 for lang in $ALL_LINGUAS; do 3725 POFILES="$POFILES $srcdirpre$lang.po" 3726 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 3727 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 3728 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 3729 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties" 3730 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class" 3731 QMFILES="$QMFILES $srcdirpre$lang.qm" 3732 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 3733 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg" 3734 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 3735 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll" 3736 done 3737 # CATALOGS depends on both $ac_dir and the user's LINGUAS 3738 # environment variable. 3739 INST_LINGUAS= 3740 if test -n "$ALL_LINGUAS"; then 3741 for presentlang in $ALL_LINGUAS; do 3742 useit=no 3743 if test "%UNSET%" != "$LINGUAS"; then 3744 desiredlanguages="$LINGUAS" 3745 else 3746 desiredlanguages="$ALL_LINGUAS" 3747 fi 3748 for desiredlang in $desiredlanguages; do 3749 # Use the presentlang catalog if desiredlang is 3750 # a. equal to presentlang, or 3751 # b. a variant of presentlang (because in this case, 3752 # presentlang can be used as a fallback for messages 3753 # which are not translated in the desiredlang catalog). 3754 case "$desiredlang" in 3755 "$presentlang"*) useit=yes;; 3756 esac 3757 done 3758 if test $useit = yes; then 3759 INST_LINGUAS="$INST_LINGUAS $presentlang" 3760 fi 3761 done 3762 fi 3763 CATALOGS= 3764 JAVACATALOGS= 3765 QTCATALOGS= 3766 TCLCATALOGS= 3767 CSHARPCATALOGS= 3768 if test -n "$INST_LINGUAS"; then 3769 for lang in $INST_LINGUAS; do 3770 CATALOGS="$CATALOGS $lang.gmo" 3771 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties" 3772 QTCATALOGS="$QTCATALOGS $lang.qm" 3773 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 3774 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg" 3775 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 3776 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll" 3777 done 3778 fi 3779 3780 sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp" 3781 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then 3782 # Add dependencies that cannot be formulated as a simple suffix rule. 3783 for lang in $ALL_LINGUAS; do 3784 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 3785 cat >> "$ac_file.tmp" <<EOF 3786 $frobbedlang.msg: $lang.po 3787 @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \ 3788 \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } 3789 EOF 3790 done 3791 fi 3792 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then 3793 # Add dependencies that cannot be formulated as a simple suffix rule. 3794 for lang in $ALL_LINGUAS; do 3795 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 3796 cat >> "$ac_file.tmp" <<EOF 3797 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po 3798 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \ 3799 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } 3800 EOF 3801 done 3802 fi 3803 if test -n "$POMAKEFILEDEPS"; then 3804 cat >> "$ac_file.tmp" <<EOF 3805 Makefile: $POMAKEFILEDEPS 3806 EOF 3807 fi 3808 mv "$ac_file.tmp" "$ac_file" 3809 ;; 3810 3811 esac 3812 done # for ac_tag 3813 3814 3815 { (exit 0); exit 0; } 3816 _ACEOF 3817 chmod +x $CONFIG_STATUS 3818 ac_clean_files=$ac_clean_files_save 3819 3820 3821 # configure is writing to config.log, and then calls config.status. 3822 # config.status does its own redirection, appending to config.log. 3823 # Unfortunately, on DOS this fails, as config.log is still kept open 3824 # by configure, so config.status won't be able to write to it; its 3825 # output is simply discarded. So we exec the FD to /dev/null, 3826 # effectively closing config.log, so it can be properly (re)opened and 3827 # appended to by config.status. When coming back to configure, we 3828 # need to make the FD available again. 3829 if test "$no_create" != yes; then 3830 ac_cs_success=: 3831 ac_config_status_args= 3832 test "$silent" = yes && 3833 ac_config_status_args="$ac_config_status_args --quiet" 3834 exec 5>/dev/null 3835 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 3836 exec 5>>config.log 3837 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3838 # would make configure fail if this is the last instruction. 3839 $ac_cs_success || { (exit 1); exit 1; } 3840 fi 3841 3842