configure revision e8a71cdf
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.61 for xtrans 1.2.4. 4# 5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6# 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## --------------------- ## 12## M4sh Initialization. ## 13## --------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18 emulate sh 19 NULLCMD=: 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27esac 28 29fi 30 31 32 33 34# PATH needs CR 35# Avoid depending upon Character Ranges. 36as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39as_cr_digits='0123456789' 40as_cr_alnum=$as_cr_Letters$as_cr_digits 41 42# The user is always right. 43if test "${PATH_SEPARATOR+set}" != set; then 44 echo "#! /bin/sh" >conf$$.sh 45 echo "exit 0" >>conf$$.sh 46 chmod +x conf$$.sh 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48 PATH_SEPARATOR=';' 49 else 50 PATH_SEPARATOR=: 51 fi 52 rm -f conf$$.sh 53fi 54 55# Support unset when possible. 56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58else 59 as_unset=false 60fi 61 62 63# IFS 64# We need space, tab and new line, in precisely that order. Quoting is 65# there to prevent editors from complaining about space-tab. 66# (If _AS_PATH_WALK were called with IFS unset, it would disable word 67# splitting by setting IFS to empty value.) 68as_nl=' 69' 70IFS=" "" $as_nl" 71 72# Find who we are. Look in the path if we contain no directory separator. 73case $0 in 74 *[\\/]* ) as_myself=$0 ;; 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 76for as_dir in $PATH 77do 78 IFS=$as_save_IFS 79 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 81done 82IFS=$as_save_IFS 83 84 ;; 85esac 86# We did not find ourselves, most probably we were run as `sh COMMAND' 87# in which case we are not to be found in the path. 88if test "x$as_myself" = x; then 89 as_myself=$0 90fi 91if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94fi 95 96# Work around bugs in pre-3.0 UWIN ksh. 97for as_var in ENV MAIL MAILPATH 98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 99done 100PS1='$ ' 101PS2='> ' 102PS4='+ ' 103 104# NLS nuisances. 105for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 109do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 112 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 fi 115done 116 117# Required to use basename. 118if expr a : '\(a\)' >/dev/null 2>&1 && 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then 120 as_expr=expr 121else 122 as_expr=false 123fi 124 125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 126 as_basename=basename 127else 128 as_basename=false 129fi 130 131 132# Name of the executable. 133as_me=`$as_basename -- "$0" || 134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 X"$0" : 'X\(//\)$' \| \ 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137echo X/"$0" | 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 s//\1/ 140 q 141 } 142 /^X\/\(\/\/\)$/{ 143 s//\1/ 144 q 145 } 146 /^X\/\(\/\).*/{ 147 s//\1/ 148 q 149 } 150 s/.*/./; q'` 151 152# CDPATH. 153$as_unset CDPATH 154 155 156if test "x$CONFIG_SHELL" = x; then 157 if (eval ":") 2>/dev/null; then 158 as_have_required=yes 159else 160 as_have_required=no 161fi 162 163 if test $as_have_required = yes && (eval ": 164(as_func_return () { 165 (exit \$1) 166} 167as_func_success () { 168 as_func_return 0 169} 170as_func_failure () { 171 as_func_return 1 172} 173as_func_ret_success () { 174 return 0 175} 176as_func_ret_failure () { 177 return 1 178} 179 180exitcode=0 181if as_func_success; then 182 : 183else 184 exitcode=1 185 echo as_func_success failed. 186fi 187 188if as_func_failure; then 189 exitcode=1 190 echo as_func_failure succeeded. 191fi 192 193if as_func_ret_success; then 194 : 195else 196 exitcode=1 197 echo as_func_ret_success failed. 198fi 199 200if as_func_ret_failure; then 201 exitcode=1 202 echo as_func_ret_failure succeeded. 203fi 204 205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206 : 207else 208 exitcode=1 209 echo positional parameters were not saved. 210fi 211 212test \$exitcode = 0) || { (exit 1); exit 1; } 213 214( 215 as_lineno_1=\$LINENO 216 as_lineno_2=\$LINENO 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219") 2> /dev/null; then 220 : 221else 222 as_candidate_shells= 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 case $as_dir in 229 /*) 230 for as_base in sh bash ksh sh5; do 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232 done;; 233 esac 234done 235IFS=$as_save_IFS 236 237 238 for as_shell in $as_candidate_shells $SHELL; do 239 # Try only shells that exist, to save several forks. 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241 { ("$as_shell") 2> /dev/null <<\_ASEOF 242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243 emulate sh 244 NULLCMD=: 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246 # is contrary to our usage. Disable this feature. 247 alias -g '${1+"$@"}'='"$@"' 248 setopt NO_GLOB_SUBST 249else 250 case `(set -o) 2>/dev/null` in 251 *posix*) set -o posix ;; 252esac 253 254fi 255 256 257: 258_ASEOF 259}; then 260 CONFIG_SHELL=$as_shell 261 as_have_required=yes 262 if { "$as_shell" 2> /dev/null <<\_ASEOF 263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264 emulate sh 265 NULLCMD=: 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267 # is contrary to our usage. Disable this feature. 268 alias -g '${1+"$@"}'='"$@"' 269 setopt NO_GLOB_SUBST 270else 271 case `(set -o) 2>/dev/null` in 272 *posix*) set -o posix ;; 273esac 274 275fi 276 277 278: 279(as_func_return () { 280 (exit $1) 281} 282as_func_success () { 283 as_func_return 0 284} 285as_func_failure () { 286 as_func_return 1 287} 288as_func_ret_success () { 289 return 0 290} 291as_func_ret_failure () { 292 return 1 293} 294 295exitcode=0 296if as_func_success; then 297 : 298else 299 exitcode=1 300 echo as_func_success failed. 301fi 302 303if as_func_failure; then 304 exitcode=1 305 echo as_func_failure succeeded. 306fi 307 308if as_func_ret_success; then 309 : 310else 311 exitcode=1 312 echo as_func_ret_success failed. 313fi 314 315if as_func_ret_failure; then 316 exitcode=1 317 echo as_func_ret_failure succeeded. 318fi 319 320if ( set x; as_func_ret_success y && test x = "$1" ); then 321 : 322else 323 exitcode=1 324 echo positional parameters were not saved. 325fi 326 327test $exitcode = 0) || { (exit 1); exit 1; } 328 329( 330 as_lineno_1=$LINENO 331 as_lineno_2=$LINENO 332 test "x$as_lineno_1" != "x$as_lineno_2" && 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334 335_ASEOF 336}; then 337 break 338fi 339 340fi 341 342 done 343 344 if test "x$CONFIG_SHELL" != x; then 345 for as_var in BASH_ENV ENV 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350fi 351 352 353 if test $as_have_required = no; then 354 echo This script requires a shell more modern than all the 355 echo shells that I found on your system. Please install a 356 echo modern shell, or manually run the script under such a 357 echo shell if you do have one. 358 { (exit 1); exit 1; } 359fi 360 361 362fi 363 364fi 365 366 367 368(eval "as_func_return () { 369 (exit \$1) 370} 371as_func_success () { 372 as_func_return 0 373} 374as_func_failure () { 375 as_func_return 1 376} 377as_func_ret_success () { 378 return 0 379} 380as_func_ret_failure () { 381 return 1 382} 383 384exitcode=0 385if as_func_success; then 386 : 387else 388 exitcode=1 389 echo as_func_success failed. 390fi 391 392if as_func_failure; then 393 exitcode=1 394 echo as_func_failure succeeded. 395fi 396 397if as_func_ret_success; then 398 : 399else 400 exitcode=1 401 echo as_func_ret_success failed. 402fi 403 404if as_func_ret_failure; then 405 exitcode=1 406 echo as_func_ret_failure succeeded. 407fi 408 409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410 : 411else 412 exitcode=1 413 echo positional parameters were not saved. 414fi 415 416test \$exitcode = 0") || { 417 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 421} 422 423 424 425 as_lineno_1=$LINENO 426 as_lineno_2=$LINENO 427 test "x$as_lineno_1" != "x$as_lineno_2" && 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 429 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431 # uniformly replaced by the line number. The first 'sed' inserts a 432 # line-number line after each line using $LINENO; the second 'sed' 433 # does the real work. The second script uses 'N' to pair each 434 # line-number line with the line containing $LINENO, and appends 435 # trailing '-' during substitution so that $LINENO is not a special 436 # case at line end. 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438 # scripts with optimization help from Paolo Bonzini. Blame Lee 439 # E. McMahon (1931-1989) for sed's syntax. :-) 440 sed -n ' 441 p 442 /[$]LINENO/= 443 ' <$as_myself | 444 sed ' 445 s/[$]LINENO.*/&-/ 446 t lineno 447 b 448 :lineno 449 N 450 :loop 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 452 t loop 453 s/-\n.*// 454 ' >$as_me.lineno && 455 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 458 459 # Don't try to exec as it changes $[0], causing all sort of problems 460 # (the dirname of $[0] is not the place where we might find the 461 # original and so on. Autoconf is especially sensitive to this). 462 . "./$as_me.lineno" 463 # Exit status is that of the last command. 464 exit 465} 466 467 468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 469 as_dirname=dirname 470else 471 as_dirname=false 472fi 473 474ECHO_C= ECHO_N= ECHO_T= 475case `echo -n x` in 476-n*) 477 case `echo 'x\c'` in 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 480 esac;; 481*) 482 ECHO_N='-n';; 483esac 484 485if expr a : '\(a\)' >/dev/null 2>&1 && 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then 487 as_expr=expr 488else 489 as_expr=false 490fi 491 492rm -f conf$$ conf$$.exe conf$$.file 493if test -d conf$$.dir; then 494 rm -f conf$$.dir/conf$$.file 495else 496 rm -f conf$$.dir 497 mkdir conf$$.dir 498fi 499echo >conf$$.file 500if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 507 as_ln_s='cp -p' 508elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 510else 511 as_ln_s='cp -p' 512fi 513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 514rmdir conf$$.dir 2>/dev/null 515 516if mkdir -p . 2>/dev/null; then 517 as_mkdir_p=: 518else 519 test -d ./-p && rmdir ./-p 520 as_mkdir_p=false 521fi 522 523if test -x / >/dev/null 2>&1; then 524 as_test_x='test -x' 525else 526 if ls -dL / >/dev/null 2>&1; then 527 as_ls_L_option=L 528 else 529 as_ls_L_option= 530 fi 531 as_test_x=' 532 eval sh -c '\'' 533 if test -d "$1"; then 534 test -d "$1/."; 535 else 536 case $1 in 537 -*)set "./$1";; 538 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 540 ???[sx]*):;;*)false;;esac;fi 541 '\'' sh 542 ' 543fi 544as_executable_p=$as_test_x 545 546# Sed expression to map a string onto a valid CPP name. 547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 548 549# Sed expression to map a string onto a valid variable name. 550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 551 552 553 554exec 7<&0 </dev/null 6>&1 555 556# Name of the host. 557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 558# so uname gets run too. 559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 560 561# 562# Initializations. 563# 564ac_default_prefix=/usr/local 565ac_clean_files= 566ac_config_libobj_dir=. 567LIBOBJS= 568cross_compiling=no 569subdirs= 570MFLAGS= 571MAKEFLAGS= 572SHELL=${CONFIG_SHELL-/bin/sh} 573 574# Identity of this package. 575PACKAGE_NAME='xtrans' 576PACKAGE_TARNAME='xtrans' 577PACKAGE_VERSION='1.2.4' 578PACKAGE_STRING='xtrans 1.2.4' 579PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 580 581ac_subst_vars='SHELL 582PATH_SEPARATOR 583PACKAGE_NAME 584PACKAGE_TARNAME 585PACKAGE_VERSION 586PACKAGE_STRING 587PACKAGE_BUGREPORT 588exec_prefix 589prefix 590program_transform_name 591bindir 592sbindir 593libexecdir 594datarootdir 595datadir 596sysconfdir 597sharedstatedir 598localstatedir 599includedir 600oldincludedir 601docdir 602infodir 603htmldir 604dvidir 605pdfdir 606psdir 607libdir 608localedir 609mandir 610DEFS 611ECHO_C 612ECHO_N 613ECHO_T 614LIBS 615build_alias 616host_alias 617target_alias 618INSTALL_PROGRAM 619INSTALL_SCRIPT 620INSTALL_DATA 621am__isrc 622CYGPATH_W 623PACKAGE 624VERSION 625ACLOCAL 626AUTOCONF 627AUTOMAKE 628AUTOHEADER 629MAKEINFO 630install_sh 631STRIP 632INSTALL_STRIP_PROGRAM 633mkdir_p 634AWK 635SET_MAKE 636am__leading_dot 637AMTAR 638am__tar 639am__untar 640MAINTAINER_MODE_TRUE 641MAINTAINER_MODE_FALSE 642MAINT 643CC 644CFLAGS 645LDFLAGS 646CPPFLAGS 647ac_ct_CC 648EXEEXT 649OBJEXT 650DEPDIR 651am__include 652am__quote 653AMDEP_TRUE 654AMDEP_FALSE 655AMDEPBACKSLASH 656CCDEPMODE 657am__fastdepCC_TRUE 658am__fastdepCC_FALSE 659fchown_define 660sticky_bit_define 661CHANGELOG_CMD 662distcleancheck_listfiles 663LIBOBJS 664LTLIBOBJS' 665ac_subst_files='' 666 ac_precious_vars='build_alias 667host_alias 668target_alias 669CC 670CFLAGS 671LDFLAGS 672LIBS 673CPPFLAGS' 674 675 676# Initialize some variables set by options. 677ac_init_help= 678ac_init_version=false 679# The variables have the same names as the options, with 680# dashes changed to underlines. 681cache_file=/dev/null 682exec_prefix=NONE 683no_create= 684no_recursion= 685prefix=NONE 686program_prefix=NONE 687program_suffix=NONE 688program_transform_name=s,x,x, 689silent= 690site= 691srcdir= 692verbose= 693x_includes=NONE 694x_libraries=NONE 695 696# Installation directory options. 697# These are left unexpanded so users can "make install exec_prefix=/foo" 698# and all the variables that are supposed to be based on exec_prefix 699# by default will actually change. 700# Use braces instead of parens because sh, perl, etc. also accept them. 701# (The list follows the same order as the GNU Coding Standards.) 702bindir='${exec_prefix}/bin' 703sbindir='${exec_prefix}/sbin' 704libexecdir='${exec_prefix}/libexec' 705datarootdir='${prefix}/share' 706datadir='${datarootdir}' 707sysconfdir='${prefix}/etc' 708sharedstatedir='${prefix}/com' 709localstatedir='${prefix}/var' 710includedir='${prefix}/include' 711oldincludedir='/usr/include' 712docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 713infodir='${datarootdir}/info' 714htmldir='${docdir}' 715dvidir='${docdir}' 716pdfdir='${docdir}' 717psdir='${docdir}' 718libdir='${exec_prefix}/lib' 719localedir='${datarootdir}/locale' 720mandir='${datarootdir}/man' 721 722ac_prev= 723ac_dashdash= 724for ac_option 725do 726 # If the previous option needs an argument, assign it. 727 if test -n "$ac_prev"; then 728 eval $ac_prev=\$ac_option 729 ac_prev= 730 continue 731 fi 732 733 case $ac_option in 734 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 735 *) ac_optarg=yes ;; 736 esac 737 738 # Accept the important Cygnus configure options, so we can diagnose typos. 739 740 case $ac_dashdash$ac_option in 741 --) 742 ac_dashdash=yes ;; 743 744 -bindir | --bindir | --bindi | --bind | --bin | --bi) 745 ac_prev=bindir ;; 746 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 747 bindir=$ac_optarg ;; 748 749 -build | --build | --buil | --bui | --bu) 750 ac_prev=build_alias ;; 751 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 752 build_alias=$ac_optarg ;; 753 754 -cache-file | --cache-file | --cache-fil | --cache-fi \ 755 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 756 ac_prev=cache_file ;; 757 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 758 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 759 cache_file=$ac_optarg ;; 760 761 --config-cache | -C) 762 cache_file=config.cache ;; 763 764 -datadir | --datadir | --datadi | --datad) 765 ac_prev=datadir ;; 766 -datadir=* | --datadir=* | --datadi=* | --datad=*) 767 datadir=$ac_optarg ;; 768 769 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 770 | --dataroo | --dataro | --datar) 771 ac_prev=datarootdir ;; 772 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 773 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 774 datarootdir=$ac_optarg ;; 775 776 -disable-* | --disable-*) 777 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 778 # Reject names that are not valid shell variable names. 779 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 780 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 781 { (exit 1); exit 1; }; } 782 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 783 eval enable_$ac_feature=no ;; 784 785 -docdir | --docdir | --docdi | --doc | --do) 786 ac_prev=docdir ;; 787 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 788 docdir=$ac_optarg ;; 789 790 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 791 ac_prev=dvidir ;; 792 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 793 dvidir=$ac_optarg ;; 794 795 -enable-* | --enable-*) 796 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 797 # Reject names that are not valid shell variable names. 798 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 799 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 800 { (exit 1); exit 1; }; } 801 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 802 eval enable_$ac_feature=\$ac_optarg ;; 803 804 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 805 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 806 | --exec | --exe | --ex) 807 ac_prev=exec_prefix ;; 808 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 809 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 810 | --exec=* | --exe=* | --ex=*) 811 exec_prefix=$ac_optarg ;; 812 813 -gas | --gas | --ga | --g) 814 # Obsolete; use --with-gas. 815 with_gas=yes ;; 816 817 -help | --help | --hel | --he | -h) 818 ac_init_help=long ;; 819 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 820 ac_init_help=recursive ;; 821 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 822 ac_init_help=short ;; 823 824 -host | --host | --hos | --ho) 825 ac_prev=host_alias ;; 826 -host=* | --host=* | --hos=* | --ho=*) 827 host_alias=$ac_optarg ;; 828 829 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 830 ac_prev=htmldir ;; 831 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 832 | --ht=*) 833 htmldir=$ac_optarg ;; 834 835 -includedir | --includedir | --includedi | --included | --include \ 836 | --includ | --inclu | --incl | --inc) 837 ac_prev=includedir ;; 838 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 839 | --includ=* | --inclu=* | --incl=* | --inc=*) 840 includedir=$ac_optarg ;; 841 842 -infodir | --infodir | --infodi | --infod | --info | --inf) 843 ac_prev=infodir ;; 844 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 845 infodir=$ac_optarg ;; 846 847 -libdir | --libdir | --libdi | --libd) 848 ac_prev=libdir ;; 849 -libdir=* | --libdir=* | --libdi=* | --libd=*) 850 libdir=$ac_optarg ;; 851 852 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 853 | --libexe | --libex | --libe) 854 ac_prev=libexecdir ;; 855 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 856 | --libexe=* | --libex=* | --libe=*) 857 libexecdir=$ac_optarg ;; 858 859 -localedir | --localedir | --localedi | --localed | --locale) 860 ac_prev=localedir ;; 861 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 862 localedir=$ac_optarg ;; 863 864 -localstatedir | --localstatedir | --localstatedi | --localstated \ 865 | --localstate | --localstat | --localsta | --localst | --locals) 866 ac_prev=localstatedir ;; 867 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 868 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 869 localstatedir=$ac_optarg ;; 870 871 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 872 ac_prev=mandir ;; 873 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 874 mandir=$ac_optarg ;; 875 876 -nfp | --nfp | --nf) 877 # Obsolete; use --without-fp. 878 with_fp=no ;; 879 880 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 881 | --no-cr | --no-c | -n) 882 no_create=yes ;; 883 884 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 885 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 886 no_recursion=yes ;; 887 888 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 889 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 890 | --oldin | --oldi | --old | --ol | --o) 891 ac_prev=oldincludedir ;; 892 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 893 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 894 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 895 oldincludedir=$ac_optarg ;; 896 897 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 898 ac_prev=prefix ;; 899 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 900 prefix=$ac_optarg ;; 901 902 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 903 | --program-pre | --program-pr | --program-p) 904 ac_prev=program_prefix ;; 905 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 906 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 907 program_prefix=$ac_optarg ;; 908 909 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 910 | --program-suf | --program-su | --program-s) 911 ac_prev=program_suffix ;; 912 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 913 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 914 program_suffix=$ac_optarg ;; 915 916 -program-transform-name | --program-transform-name \ 917 | --program-transform-nam | --program-transform-na \ 918 | --program-transform-n | --program-transform- \ 919 | --program-transform | --program-transfor \ 920 | --program-transfo | --program-transf \ 921 | --program-trans | --program-tran \ 922 | --progr-tra | --program-tr | --program-t) 923 ac_prev=program_transform_name ;; 924 -program-transform-name=* | --program-transform-name=* \ 925 | --program-transform-nam=* | --program-transform-na=* \ 926 | --program-transform-n=* | --program-transform-=* \ 927 | --program-transform=* | --program-transfor=* \ 928 | --program-transfo=* | --program-transf=* \ 929 | --program-trans=* | --program-tran=* \ 930 | --progr-tra=* | --program-tr=* | --program-t=*) 931 program_transform_name=$ac_optarg ;; 932 933 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 934 ac_prev=pdfdir ;; 935 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 936 pdfdir=$ac_optarg ;; 937 938 -psdir | --psdir | --psdi | --psd | --ps) 939 ac_prev=psdir ;; 940 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 941 psdir=$ac_optarg ;; 942 943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 944 | -silent | --silent | --silen | --sile | --sil) 945 silent=yes ;; 946 947 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 948 ac_prev=sbindir ;; 949 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 950 | --sbi=* | --sb=*) 951 sbindir=$ac_optarg ;; 952 953 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 954 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 955 | --sharedst | --shareds | --shared | --share | --shar \ 956 | --sha | --sh) 957 ac_prev=sharedstatedir ;; 958 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 959 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 960 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 961 | --sha=* | --sh=*) 962 sharedstatedir=$ac_optarg ;; 963 964 -site | --site | --sit) 965 ac_prev=site ;; 966 -site=* | --site=* | --sit=*) 967 site=$ac_optarg ;; 968 969 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 970 ac_prev=srcdir ;; 971 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 972 srcdir=$ac_optarg ;; 973 974 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 975 | --syscon | --sysco | --sysc | --sys | --sy) 976 ac_prev=sysconfdir ;; 977 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 978 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 979 sysconfdir=$ac_optarg ;; 980 981 -target | --target | --targe | --targ | --tar | --ta | --t) 982 ac_prev=target_alias ;; 983 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 984 target_alias=$ac_optarg ;; 985 986 -v | -verbose | --verbose | --verbos | --verbo | --verb) 987 verbose=yes ;; 988 989 -version | --version | --versio | --versi | --vers | -V) 990 ac_init_version=: ;; 991 992 -with-* | --with-*) 993 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 994 # Reject names that are not valid shell variable names. 995 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 996 { echo "$as_me: error: invalid package name: $ac_package" >&2 997 { (exit 1); exit 1; }; } 998 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 999 eval with_$ac_package=\$ac_optarg ;; 1000 1001 -without-* | --without-*) 1002 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1003 # Reject names that are not valid shell variable names. 1004 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1005 { echo "$as_me: error: invalid package name: $ac_package" >&2 1006 { (exit 1); exit 1; }; } 1007 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1008 eval with_$ac_package=no ;; 1009 1010 --x) 1011 # Obsolete; use --with-x. 1012 with_x=yes ;; 1013 1014 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1015 | --x-incl | --x-inc | --x-in | --x-i) 1016 ac_prev=x_includes ;; 1017 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1018 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1019 x_includes=$ac_optarg ;; 1020 1021 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1022 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1023 ac_prev=x_libraries ;; 1024 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1025 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1026 x_libraries=$ac_optarg ;; 1027 1028 -*) { echo "$as_me: error: unrecognized option: $ac_option 1029Try \`$0 --help' for more information." >&2 1030 { (exit 1); exit 1; }; } 1031 ;; 1032 1033 *=*) 1034 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1035 # Reject names that are not valid shell variable names. 1036 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1037 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1038 { (exit 1); exit 1; }; } 1039 eval $ac_envvar=\$ac_optarg 1040 export $ac_envvar ;; 1041 1042 *) 1043 # FIXME: should be removed in autoconf 3.0. 1044 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1045 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1046 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1047 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1048 ;; 1049 1050 esac 1051done 1052 1053if test -n "$ac_prev"; then 1054 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1055 { echo "$as_me: error: missing argument to $ac_option" >&2 1056 { (exit 1); exit 1; }; } 1057fi 1058 1059# Be sure to have absolute directory names. 1060for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1061 datadir sysconfdir sharedstatedir localstatedir includedir \ 1062 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1063 libdir localedir mandir 1064do 1065 eval ac_val=\$$ac_var 1066 case $ac_val in 1067 [\\/$]* | ?:[\\/]* ) continue;; 1068 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1069 esac 1070 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1071 { (exit 1); exit 1; }; } 1072done 1073 1074# There might be people who depend on the old broken behavior: `$host' 1075# used to hold the argument of --host etc. 1076# FIXME: To remove some day. 1077build=$build_alias 1078host=$host_alias 1079target=$target_alias 1080 1081# FIXME: To remove some day. 1082if test "x$host_alias" != x; then 1083 if test "x$build_alias" = x; then 1084 cross_compiling=maybe 1085 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1086 If a cross compiler is detected then cross compile mode will be used." >&2 1087 elif test "x$build_alias" != "x$host_alias"; then 1088 cross_compiling=yes 1089 fi 1090fi 1091 1092ac_tool_prefix= 1093test -n "$host_alias" && ac_tool_prefix=$host_alias- 1094 1095test "$silent" = yes && exec 6>/dev/null 1096 1097 1098ac_pwd=`pwd` && test -n "$ac_pwd" && 1099ac_ls_di=`ls -di .` && 1100ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1101 { echo "$as_me: error: Working directory cannot be determined" >&2 1102 { (exit 1); exit 1; }; } 1103test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1104 { echo "$as_me: error: pwd does not report name of working directory" >&2 1105 { (exit 1); exit 1; }; } 1106 1107 1108# Find the source files, if location was not specified. 1109if test -z "$srcdir"; then 1110 ac_srcdir_defaulted=yes 1111 # Try the directory containing this script, then the parent directory. 1112 ac_confdir=`$as_dirname -- "$0" || 1113$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1114 X"$0" : 'X\(//\)[^/]' \| \ 1115 X"$0" : 'X\(//\)$' \| \ 1116 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1117echo X"$0" | 1118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1119 s//\1/ 1120 q 1121 } 1122 /^X\(\/\/\)[^/].*/{ 1123 s//\1/ 1124 q 1125 } 1126 /^X\(\/\/\)$/{ 1127 s//\1/ 1128 q 1129 } 1130 /^X\(\/\).*/{ 1131 s//\1/ 1132 q 1133 } 1134 s/.*/./; q'` 1135 srcdir=$ac_confdir 1136 if test ! -r "$srcdir/$ac_unique_file"; then 1137 srcdir=.. 1138 fi 1139else 1140 ac_srcdir_defaulted=no 1141fi 1142if test ! -r "$srcdir/$ac_unique_file"; then 1143 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1144 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1145 { (exit 1); exit 1; }; } 1146fi 1147ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1148ac_abs_confdir=`( 1149 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1150 { (exit 1); exit 1; }; } 1151 pwd)` 1152# When building in place, set srcdir=. 1153if test "$ac_abs_confdir" = "$ac_pwd"; then 1154 srcdir=. 1155fi 1156# Remove unnecessary trailing slashes from srcdir. 1157# Double slashes in file names in object file debugging info 1158# mess up M-x gdb in Emacs. 1159case $srcdir in 1160*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1161esac 1162for ac_var in $ac_precious_vars; do 1163 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1164 eval ac_env_${ac_var}_value=\$${ac_var} 1165 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1166 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1167done 1168 1169# 1170# Report the --help message. 1171# 1172if test "$ac_init_help" = "long"; then 1173 # Omit some internal or obsolete options to make the list less imposing. 1174 # This message is too long to be a string in the A/UX 3.1 sh. 1175 cat <<_ACEOF 1176\`configure' configures xtrans 1.2.4 to adapt to many kinds of systems. 1177 1178Usage: $0 [OPTION]... [VAR=VALUE]... 1179 1180To assign environment variables (e.g., CC, CFLAGS...), specify them as 1181VAR=VALUE. See below for descriptions of some of the useful variables. 1182 1183Defaults for the options are specified in brackets. 1184 1185Configuration: 1186 -h, --help display this help and exit 1187 --help=short display options specific to this package 1188 --help=recursive display the short help of all the included packages 1189 -V, --version display version information and exit 1190 -q, --quiet, --silent do not print \`checking...' messages 1191 --cache-file=FILE cache test results in FILE [disabled] 1192 -C, --config-cache alias for \`--cache-file=config.cache' 1193 -n, --no-create do not create output files 1194 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1195 1196Installation directories: 1197 --prefix=PREFIX install architecture-independent files in PREFIX 1198 [$ac_default_prefix] 1199 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1200 [PREFIX] 1201 1202By default, \`make install' will install all the files in 1203\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1204an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1205for instance \`--prefix=\$HOME'. 1206 1207For better control, use the options below. 1208 1209Fine tuning of the installation directories: 1210 --bindir=DIR user executables [EPREFIX/bin] 1211 --sbindir=DIR system admin executables [EPREFIX/sbin] 1212 --libexecdir=DIR program executables [EPREFIX/libexec] 1213 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1214 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1215 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1216 --libdir=DIR object code libraries [EPREFIX/lib] 1217 --includedir=DIR C header files [PREFIX/include] 1218 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1219 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1220 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1221 --infodir=DIR info documentation [DATAROOTDIR/info] 1222 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1223 --mandir=DIR man documentation [DATAROOTDIR/man] 1224 --docdir=DIR documentation root [DATAROOTDIR/doc/xtrans] 1225 --htmldir=DIR html documentation [DOCDIR] 1226 --dvidir=DIR dvi documentation [DOCDIR] 1227 --pdfdir=DIR pdf documentation [DOCDIR] 1228 --psdir=DIR ps documentation [DOCDIR] 1229_ACEOF 1230 1231 cat <<\_ACEOF 1232 1233Program names: 1234 --program-prefix=PREFIX prepend PREFIX to installed program names 1235 --program-suffix=SUFFIX append SUFFIX to installed program names 1236 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1237_ACEOF 1238fi 1239 1240if test -n "$ac_init_help"; then 1241 case $ac_init_help in 1242 short | recursive ) echo "Configuration of xtrans 1.2.4:";; 1243 esac 1244 cat <<\_ACEOF 1245 1246Optional Features: 1247 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1248 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1249 --enable-maintainer-mode enable make rules and dependencies not useful 1250 (and sometimes confusing) to the casual installer 1251 --disable-dependency-tracking speeds up one-time build 1252 --enable-dependency-tracking do not reject slow dependency extractors 1253 1254Optional Packages: 1255 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1256 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1257 --with-release-version=STRING 1258 Use release version string in package name 1259 1260Some influential environment variables: 1261 CC C compiler command 1262 CFLAGS C compiler flags 1263 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1264 nonstandard directory <lib dir> 1265 LIBS libraries to pass to the linker, e.g. -l<library> 1266 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1267 you have headers in a nonstandard directory <include dir> 1268 1269Use these variables to override the choices made by `configure' or to help 1270it to find libraries and programs with nonstandard names/locations. 1271 1272Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1273_ACEOF 1274ac_status=$? 1275fi 1276 1277if test "$ac_init_help" = "recursive"; then 1278 # If there are subdirs, report their specific --help. 1279 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1280 test -d "$ac_dir" || continue 1281 ac_builddir=. 1282 1283case "$ac_dir" in 1284.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1285*) 1286 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1287 # A ".." for each directory in $ac_dir_suffix. 1288 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1289 case $ac_top_builddir_sub in 1290 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1291 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1292 esac ;; 1293esac 1294ac_abs_top_builddir=$ac_pwd 1295ac_abs_builddir=$ac_pwd$ac_dir_suffix 1296# for backward compatibility: 1297ac_top_builddir=$ac_top_build_prefix 1298 1299case $srcdir in 1300 .) # We are building in place. 1301 ac_srcdir=. 1302 ac_top_srcdir=$ac_top_builddir_sub 1303 ac_abs_top_srcdir=$ac_pwd ;; 1304 [\\/]* | ?:[\\/]* ) # Absolute name. 1305 ac_srcdir=$srcdir$ac_dir_suffix; 1306 ac_top_srcdir=$srcdir 1307 ac_abs_top_srcdir=$srcdir ;; 1308 *) # Relative name. 1309 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1310 ac_top_srcdir=$ac_top_build_prefix$srcdir 1311 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1312esac 1313ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1314 1315 cd "$ac_dir" || { ac_status=$?; continue; } 1316 # Check for guested configure. 1317 if test -f "$ac_srcdir/configure.gnu"; then 1318 echo && 1319 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1320 elif test -f "$ac_srcdir/configure"; then 1321 echo && 1322 $SHELL "$ac_srcdir/configure" --help=recursive 1323 else 1324 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1325 fi || ac_status=$? 1326 cd "$ac_pwd" || { ac_status=$?; break; } 1327 done 1328fi 1329 1330test -n "$ac_init_help" && exit $ac_status 1331if $ac_init_version; then 1332 cat <<\_ACEOF 1333xtrans configure 1.2.4 1334generated by GNU Autoconf 2.61 1335 1336Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 13372002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1338This configure script is free software; the Free Software Foundation 1339gives unlimited permission to copy, distribute and modify it. 1340_ACEOF 1341 exit 1342fi 1343cat >config.log <<_ACEOF 1344This file contains any messages produced by compilers while 1345running configure, to aid debugging if configure makes a mistake. 1346 1347It was created by xtrans $as_me 1.2.4, which was 1348generated by GNU Autoconf 2.61. Invocation command line was 1349 1350 $ $0 $@ 1351 1352_ACEOF 1353exec 5>>config.log 1354{ 1355cat <<_ASUNAME 1356## --------- ## 1357## Platform. ## 1358## --------- ## 1359 1360hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1361uname -m = `(uname -m) 2>/dev/null || echo unknown` 1362uname -r = `(uname -r) 2>/dev/null || echo unknown` 1363uname -s = `(uname -s) 2>/dev/null || echo unknown` 1364uname -v = `(uname -v) 2>/dev/null || echo unknown` 1365 1366/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1367/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1368 1369/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1370/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1371/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1372/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1373/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1374/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1375/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1376 1377_ASUNAME 1378 1379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1380for as_dir in $PATH 1381do 1382 IFS=$as_save_IFS 1383 test -z "$as_dir" && as_dir=. 1384 echo "PATH: $as_dir" 1385done 1386IFS=$as_save_IFS 1387 1388} >&5 1389 1390cat >&5 <<_ACEOF 1391 1392 1393## ----------- ## 1394## Core tests. ## 1395## ----------- ## 1396 1397_ACEOF 1398 1399 1400# Keep a trace of the command line. 1401# Strip out --no-create and --no-recursion so they do not pile up. 1402# Strip out --silent because we don't want to record it for future runs. 1403# Also quote any args containing shell meta-characters. 1404# Make two passes to allow for proper duplicate-argument suppression. 1405ac_configure_args= 1406ac_configure_args0= 1407ac_configure_args1= 1408ac_must_keep_next=false 1409for ac_pass in 1 2 1410do 1411 for ac_arg 1412 do 1413 case $ac_arg in 1414 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1415 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1416 | -silent | --silent | --silen | --sile | --sil) 1417 continue ;; 1418 *\'*) 1419 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1420 esac 1421 case $ac_pass in 1422 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1423 2) 1424 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1425 if test $ac_must_keep_next = true; then 1426 ac_must_keep_next=false # Got value, back to normal. 1427 else 1428 case $ac_arg in 1429 *=* | --config-cache | -C | -disable-* | --disable-* \ 1430 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1431 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1432 | -with-* | --with-* | -without-* | --without-* | --x) 1433 case "$ac_configure_args0 " in 1434 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1435 esac 1436 ;; 1437 -* ) ac_must_keep_next=true ;; 1438 esac 1439 fi 1440 ac_configure_args="$ac_configure_args '$ac_arg'" 1441 ;; 1442 esac 1443 done 1444done 1445$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1446$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1447 1448# When interrupted or exit'd, cleanup temporary files, and complete 1449# config.log. We remove comments because anyway the quotes in there 1450# would cause problems or look ugly. 1451# WARNING: Use '\'' to represent an apostrophe within the trap. 1452# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1453trap 'exit_status=$? 1454 # Save into config.log some information that might help in debugging. 1455 { 1456 echo 1457 1458 cat <<\_ASBOX 1459## ---------------- ## 1460## Cache variables. ## 1461## ---------------- ## 1462_ASBOX 1463 echo 1464 # The following way of writing the cache mishandles newlines in values, 1465( 1466 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1467 eval ac_val=\$$ac_var 1468 case $ac_val in #( 1469 *${as_nl}*) 1470 case $ac_var in #( 1471 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1472echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1473 esac 1474 case $ac_var in #( 1475 _ | IFS | as_nl) ;; #( 1476 *) $as_unset $ac_var ;; 1477 esac ;; 1478 esac 1479 done 1480 (set) 2>&1 | 1481 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1482 *${as_nl}ac_space=\ *) 1483 sed -n \ 1484 "s/'\''/'\''\\\\'\'''\''/g; 1485 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1486 ;; #( 1487 *) 1488 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1489 ;; 1490 esac | 1491 sort 1492) 1493 echo 1494 1495 cat <<\_ASBOX 1496## ----------------- ## 1497## Output variables. ## 1498## ----------------- ## 1499_ASBOX 1500 echo 1501 for ac_var in $ac_subst_vars 1502 do 1503 eval ac_val=\$$ac_var 1504 case $ac_val in 1505 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1506 esac 1507 echo "$ac_var='\''$ac_val'\''" 1508 done | sort 1509 echo 1510 1511 if test -n "$ac_subst_files"; then 1512 cat <<\_ASBOX 1513## ------------------- ## 1514## File substitutions. ## 1515## ------------------- ## 1516_ASBOX 1517 echo 1518 for ac_var in $ac_subst_files 1519 do 1520 eval ac_val=\$$ac_var 1521 case $ac_val in 1522 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1523 esac 1524 echo "$ac_var='\''$ac_val'\''" 1525 done | sort 1526 echo 1527 fi 1528 1529 if test -s confdefs.h; then 1530 cat <<\_ASBOX 1531## ----------- ## 1532## confdefs.h. ## 1533## ----------- ## 1534_ASBOX 1535 echo 1536 cat confdefs.h 1537 echo 1538 fi 1539 test "$ac_signal" != 0 && 1540 echo "$as_me: caught signal $ac_signal" 1541 echo "$as_me: exit $exit_status" 1542 } >&5 1543 rm -f core *.core core.conftest.* && 1544 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1545 exit $exit_status 1546' 0 1547for ac_signal in 1 2 13 15; do 1548 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1549done 1550ac_signal=0 1551 1552# confdefs.h avoids OS command line length limits that DEFS can exceed. 1553rm -f -r conftest* confdefs.h 1554 1555# Predefined preprocessor variables. 1556 1557cat >>confdefs.h <<_ACEOF 1558#define PACKAGE_NAME "$PACKAGE_NAME" 1559_ACEOF 1560 1561 1562cat >>confdefs.h <<_ACEOF 1563#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1564_ACEOF 1565 1566 1567cat >>confdefs.h <<_ACEOF 1568#define PACKAGE_VERSION "$PACKAGE_VERSION" 1569_ACEOF 1570 1571 1572cat >>confdefs.h <<_ACEOF 1573#define PACKAGE_STRING "$PACKAGE_STRING" 1574_ACEOF 1575 1576 1577cat >>confdefs.h <<_ACEOF 1578#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1579_ACEOF 1580 1581 1582# Let the site file select an alternate cache file if it wants to. 1583# Prefer explicitly selected file to automatically selected ones. 1584if test -n "$CONFIG_SITE"; then 1585 set x "$CONFIG_SITE" 1586elif test "x$prefix" != xNONE; then 1587 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1588else 1589 set x "$ac_default_prefix/share/config.site" \ 1590 "$ac_default_prefix/etc/config.site" 1591fi 1592shift 1593for ac_site_file 1594do 1595 if test -r "$ac_site_file"; then 1596 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1597echo "$as_me: loading site script $ac_site_file" >&6;} 1598 sed 's/^/| /' "$ac_site_file" >&5 1599 . "$ac_site_file" 1600 fi 1601done 1602 1603if test -r "$cache_file"; then 1604 # Some versions of bash will fail to source /dev/null (special 1605 # files actually), so we avoid doing that. 1606 if test -f "$cache_file"; then 1607 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1608echo "$as_me: loading cache $cache_file" >&6;} 1609 case $cache_file in 1610 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1611 *) . "./$cache_file";; 1612 esac 1613 fi 1614else 1615 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1616echo "$as_me: creating cache $cache_file" >&6;} 1617 >$cache_file 1618fi 1619 1620# Check that the precious variables saved in the cache have kept the same 1621# value. 1622ac_cache_corrupted=false 1623for ac_var in $ac_precious_vars; do 1624 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1625 eval ac_new_set=\$ac_env_${ac_var}_set 1626 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1627 eval ac_new_val=\$ac_env_${ac_var}_value 1628 case $ac_old_set,$ac_new_set in 1629 set,) 1630 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1631echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1632 ac_cache_corrupted=: ;; 1633 ,set) 1634 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1635echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1636 ac_cache_corrupted=: ;; 1637 ,);; 1638 *) 1639 if test "x$ac_old_val" != "x$ac_new_val"; then 1640 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1641echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1642 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1643echo "$as_me: former value: $ac_old_val" >&2;} 1644 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1645echo "$as_me: current value: $ac_new_val" >&2;} 1646 ac_cache_corrupted=: 1647 fi;; 1648 esac 1649 # Pass precious variables to config.status. 1650 if test "$ac_new_set" = set; then 1651 case $ac_new_val in 1652 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1653 *) ac_arg=$ac_var=$ac_new_val ;; 1654 esac 1655 case " $ac_configure_args " in 1656 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1657 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1658 esac 1659 fi 1660done 1661if $ac_cache_corrupted; then 1662 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1663echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1664 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1665echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1666 { (exit 1); exit 1; }; } 1667fi 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693ac_ext=c 1694ac_cpp='$CPP $CPPFLAGS' 1695ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1696ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1697ac_compiler_gnu=$ac_cv_c_compiler_gnu 1698 1699 1700am__api_version='1.10' 1701 1702ac_aux_dir= 1703for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1704 if test -f "$ac_dir/install-sh"; then 1705 ac_aux_dir=$ac_dir 1706 ac_install_sh="$ac_aux_dir/install-sh -c" 1707 break 1708 elif test -f "$ac_dir/install.sh"; then 1709 ac_aux_dir=$ac_dir 1710 ac_install_sh="$ac_aux_dir/install.sh -c" 1711 break 1712 elif test -f "$ac_dir/shtool"; then 1713 ac_aux_dir=$ac_dir 1714 ac_install_sh="$ac_aux_dir/shtool install -c" 1715 break 1716 fi 1717done 1718if test -z "$ac_aux_dir"; then 1719 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1720echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1721 { (exit 1); exit 1; }; } 1722fi 1723 1724# These three variables are undocumented and unsupported, 1725# and are intended to be withdrawn in a future Autoconf release. 1726# They can cause serious problems if a builder's source tree is in a directory 1727# whose full name contains unusual characters. 1728ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1729ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1730ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1731 1732 1733# Find a good install program. We prefer a C program (faster), 1734# so one script is as good as another. But avoid the broken or 1735# incompatible versions: 1736# SysV /etc/install, /usr/sbin/install 1737# SunOS /usr/etc/install 1738# IRIX /sbin/install 1739# AIX /bin/install 1740# AmigaOS /C/install, which installs bootblocks on floppy discs 1741# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1742# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1743# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1744# OS/2's system install, which has a completely different semantic 1745# ./install, which can be erroneously created by make from ./install.sh. 1746{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1747echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1748if test -z "$INSTALL"; then 1749if test "${ac_cv_path_install+set}" = set; then 1750 echo $ECHO_N "(cached) $ECHO_C" >&6 1751else 1752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1753for as_dir in $PATH 1754do 1755 IFS=$as_save_IFS 1756 test -z "$as_dir" && as_dir=. 1757 # Account for people who put trailing slashes in PATH elements. 1758case $as_dir/ in 1759 ./ | .// | /cC/* | \ 1760 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1761 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1762 /usr/ucb/* ) ;; 1763 *) 1764 # OSF1 and SCO ODT 3.0 have their own names for install. 1765 # Don't use installbsd from OSF since it installs stuff as root 1766 # by default. 1767 for ac_prog in ginstall scoinst install; do 1768 for ac_exec_ext in '' $ac_executable_extensions; do 1769 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1770 if test $ac_prog = install && 1771 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1772 # AIX install. It has an incompatible calling convention. 1773 : 1774 elif test $ac_prog = install && 1775 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1776 # program-specific install script used by HP pwplus--don't use. 1777 : 1778 else 1779 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1780 break 3 1781 fi 1782 fi 1783 done 1784 done 1785 ;; 1786esac 1787done 1788IFS=$as_save_IFS 1789 1790 1791fi 1792 if test "${ac_cv_path_install+set}" = set; then 1793 INSTALL=$ac_cv_path_install 1794 else 1795 # As a last resort, use the slow shell script. Don't cache a 1796 # value for INSTALL within a source directory, because that will 1797 # break other packages using the cache if that directory is 1798 # removed, or if the value is a relative name. 1799 INSTALL=$ac_install_sh 1800 fi 1801fi 1802{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1803echo "${ECHO_T}$INSTALL" >&6; } 1804 1805# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1806# It thinks the first close brace ends the variable substitution. 1807test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1808 1809test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1810 1811test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1812 1813{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1814echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1815# Just in case 1816sleep 1 1817echo timestamp > conftest.file 1818# Do `set' in a subshell so we don't clobber the current shell's 1819# arguments. Must try -L first in case configure is actually a 1820# symlink; some systems play weird games with the mod time of symlinks 1821# (eg FreeBSD returns the mod time of the symlink's containing 1822# directory). 1823if ( 1824 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1825 if test "$*" = "X"; then 1826 # -L didn't work. 1827 set X `ls -t $srcdir/configure conftest.file` 1828 fi 1829 rm -f conftest.file 1830 if test "$*" != "X $srcdir/configure conftest.file" \ 1831 && test "$*" != "X conftest.file $srcdir/configure"; then 1832 1833 # If neither matched, then we have a broken ls. This can happen 1834 # if, for instance, CONFIG_SHELL is bash and it inherits a 1835 # broken ls alias from the environment. This has actually 1836 # happened. Such a system could not be considered "sane". 1837 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1838alias in your environment" >&5 1839echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1840alias in your environment" >&2;} 1841 { (exit 1); exit 1; }; } 1842 fi 1843 1844 test "$2" = conftest.file 1845 ) 1846then 1847 # Ok. 1848 : 1849else 1850 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1851Check your system clock" >&5 1852echo "$as_me: error: newly created file is older than distributed files! 1853Check your system clock" >&2;} 1854 { (exit 1); exit 1; }; } 1855fi 1856{ echo "$as_me:$LINENO: result: yes" >&5 1857echo "${ECHO_T}yes" >&6; } 1858test "$program_prefix" != NONE && 1859 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1860# Use a double $ so make ignores it. 1861test "$program_suffix" != NONE && 1862 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1863# Double any \ or $. echo might interpret backslashes. 1864# By default was `s,x,x', remove it if useless. 1865cat <<\_ACEOF >conftest.sed 1866s/[\\$]/&&/g;s/;s,x,x,$// 1867_ACEOF 1868program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1869rm -f conftest.sed 1870 1871# expand $ac_aux_dir to an absolute path 1872am_aux_dir=`cd $ac_aux_dir && pwd` 1873 1874test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1875# Use eval to expand $SHELL 1876if eval "$MISSING --run true"; then 1877 am_missing_run="$MISSING --run " 1878else 1879 am_missing_run= 1880 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1881echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1882fi 1883 1884{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 1885echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 1886if test -z "$MKDIR_P"; then 1887 if test "${ac_cv_path_mkdir+set}" = set; then 1888 echo $ECHO_N "(cached) $ECHO_C" >&6 1889else 1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1891for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 1892do 1893 IFS=$as_save_IFS 1894 test -z "$as_dir" && as_dir=. 1895 for ac_prog in mkdir gmkdir; do 1896 for ac_exec_ext in '' $ac_executable_extensions; do 1897 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 1898 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 1899 'mkdir (GNU coreutils) '* | \ 1900 'mkdir (coreutils) '* | \ 1901 'mkdir (fileutils) '4.1*) 1902 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 1903 break 3;; 1904 esac 1905 done 1906 done 1907done 1908IFS=$as_save_IFS 1909 1910fi 1911 1912 if test "${ac_cv_path_mkdir+set}" = set; then 1913 MKDIR_P="$ac_cv_path_mkdir -p" 1914 else 1915 # As a last resort, use the slow shell script. Don't cache a 1916 # value for MKDIR_P within a source directory, because that will 1917 # break other packages using the cache if that directory is 1918 # removed, or if the value is a relative name. 1919 test -d ./--version && rmdir ./--version 1920 MKDIR_P="$ac_install_sh -d" 1921 fi 1922fi 1923{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 1924echo "${ECHO_T}$MKDIR_P" >&6; } 1925 1926mkdir_p="$MKDIR_P" 1927case $mkdir_p in 1928 [\\/$]* | ?:[\\/]*) ;; 1929 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 1930esac 1931 1932for ac_prog in gawk mawk nawk awk 1933do 1934 # Extract the first word of "$ac_prog", so it can be a program name with args. 1935set dummy $ac_prog; ac_word=$2 1936{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1937echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1938if test "${ac_cv_prog_AWK+set}" = set; then 1939 echo $ECHO_N "(cached) $ECHO_C" >&6 1940else 1941 if test -n "$AWK"; then 1942 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1943else 1944as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1945for as_dir in $PATH 1946do 1947 IFS=$as_save_IFS 1948 test -z "$as_dir" && as_dir=. 1949 for ac_exec_ext in '' $ac_executable_extensions; do 1950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1951 ac_cv_prog_AWK="$ac_prog" 1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1953 break 2 1954 fi 1955done 1956done 1957IFS=$as_save_IFS 1958 1959fi 1960fi 1961AWK=$ac_cv_prog_AWK 1962if test -n "$AWK"; then 1963 { echo "$as_me:$LINENO: result: $AWK" >&5 1964echo "${ECHO_T}$AWK" >&6; } 1965else 1966 { echo "$as_me:$LINENO: result: no" >&5 1967echo "${ECHO_T}no" >&6; } 1968fi 1969 1970 1971 test -n "$AWK" && break 1972done 1973 1974{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1975echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1976set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1977if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1978 echo $ECHO_N "(cached) $ECHO_C" >&6 1979else 1980 cat >conftest.make <<\_ACEOF 1981SHELL = /bin/sh 1982all: 1983 @echo '@@@%%%=$(MAKE)=@@@%%%' 1984_ACEOF 1985# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1986case `${MAKE-make} -f conftest.make 2>/dev/null` in 1987 *@@@%%%=?*=@@@%%%*) 1988 eval ac_cv_prog_make_${ac_make}_set=yes;; 1989 *) 1990 eval ac_cv_prog_make_${ac_make}_set=no;; 1991esac 1992rm -f conftest.make 1993fi 1994if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1995 { echo "$as_me:$LINENO: result: yes" >&5 1996echo "${ECHO_T}yes" >&6; } 1997 SET_MAKE= 1998else 1999 { echo "$as_me:$LINENO: result: no" >&5 2000echo "${ECHO_T}no" >&6; } 2001 SET_MAKE="MAKE=${MAKE-make}" 2002fi 2003 2004rm -rf .tst 2>/dev/null 2005mkdir .tst 2>/dev/null 2006if test -d .tst; then 2007 am__leading_dot=. 2008else 2009 am__leading_dot=_ 2010fi 2011rmdir .tst 2>/dev/null 2012 2013if test "`cd $srcdir && pwd`" != "`pwd`"; then 2014 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2015 # is not polluted with repeated "-I." 2016 am__isrc=' -I$(srcdir)' 2017 # test to see if srcdir already configured 2018 if test -f $srcdir/config.status; then 2019 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2020echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2021 { (exit 1); exit 1; }; } 2022 fi 2023fi 2024 2025# test whether we have cygpath 2026if test -z "$CYGPATH_W"; then 2027 if (cygpath --version) >/dev/null 2>/dev/null; then 2028 CYGPATH_W='cygpath -w' 2029 else 2030 CYGPATH_W=echo 2031 fi 2032fi 2033 2034 2035# Define the identity of the package. 2036 PACKAGE='xtrans' 2037 VERSION='1.2.4' 2038 2039 2040cat >>confdefs.h <<_ACEOF 2041#define PACKAGE "$PACKAGE" 2042_ACEOF 2043 2044 2045cat >>confdefs.h <<_ACEOF 2046#define VERSION "$VERSION" 2047_ACEOF 2048 2049# Some tools Automake needs. 2050 2051ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2052 2053 2054AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2055 2056 2057AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2058 2059 2060AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2061 2062 2063MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2064 2065install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2066 2067# Installed binaries are usually stripped using `strip' when the user 2068# run `make install-strip'. However `strip' might not be the right 2069# tool to use in cross-compilation environments, therefore Automake 2070# will honor the `STRIP' environment variable to overrule this program. 2071if test "$cross_compiling" != no; then 2072 if test -n "$ac_tool_prefix"; then 2073 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2074set dummy ${ac_tool_prefix}strip; ac_word=$2 2075{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2076echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2077if test "${ac_cv_prog_STRIP+set}" = set; then 2078 echo $ECHO_N "(cached) $ECHO_C" >&6 2079else 2080 if test -n "$STRIP"; then 2081 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2082else 2083as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2084for as_dir in $PATH 2085do 2086 IFS=$as_save_IFS 2087 test -z "$as_dir" && as_dir=. 2088 for ac_exec_ext in '' $ac_executable_extensions; do 2089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2090 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2092 break 2 2093 fi 2094done 2095done 2096IFS=$as_save_IFS 2097 2098fi 2099fi 2100STRIP=$ac_cv_prog_STRIP 2101if test -n "$STRIP"; then 2102 { echo "$as_me:$LINENO: result: $STRIP" >&5 2103echo "${ECHO_T}$STRIP" >&6; } 2104else 2105 { echo "$as_me:$LINENO: result: no" >&5 2106echo "${ECHO_T}no" >&6; } 2107fi 2108 2109 2110fi 2111if test -z "$ac_cv_prog_STRIP"; then 2112 ac_ct_STRIP=$STRIP 2113 # Extract the first word of "strip", so it can be a program name with args. 2114set dummy strip; ac_word=$2 2115{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2116echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2117if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2118 echo $ECHO_N "(cached) $ECHO_C" >&6 2119else 2120 if test -n "$ac_ct_STRIP"; then 2121 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2122else 2123as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2124for as_dir in $PATH 2125do 2126 IFS=$as_save_IFS 2127 test -z "$as_dir" && as_dir=. 2128 for ac_exec_ext in '' $ac_executable_extensions; do 2129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2130 ac_cv_prog_ac_ct_STRIP="strip" 2131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2132 break 2 2133 fi 2134done 2135done 2136IFS=$as_save_IFS 2137 2138fi 2139fi 2140ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2141if test -n "$ac_ct_STRIP"; then 2142 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2143echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2144else 2145 { echo "$as_me:$LINENO: result: no" >&5 2146echo "${ECHO_T}no" >&6; } 2147fi 2148 2149 if test "x$ac_ct_STRIP" = x; then 2150 STRIP=":" 2151 else 2152 case $cross_compiling:$ac_tool_warned in 2153yes:) 2154{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2155whose name does not start with the host triplet. If you think this 2156configuration is useful to you, please write to autoconf@gnu.org." >&5 2157echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2158whose name does not start with the host triplet. If you think this 2159configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2160ac_tool_warned=yes ;; 2161esac 2162 STRIP=$ac_ct_STRIP 2163 fi 2164else 2165 STRIP="$ac_cv_prog_STRIP" 2166fi 2167 2168fi 2169INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2170 2171# We need awk for the "check" target. The system "awk" is bad on 2172# some platforms. 2173# Always define AMTAR for backward compatibility. 2174 2175AMTAR=${AMTAR-"${am_missing_run}tar"} 2176 2177am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2178 2179 2180 2181 2182 2183{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2184echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2185 # Check whether --enable-maintainer-mode was given. 2186if test "${enable_maintainer_mode+set}" = set; then 2187 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2188else 2189 USE_MAINTAINER_MODE=no 2190fi 2191 2192 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2193echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2194 if test $USE_MAINTAINER_MODE = yes; then 2195 MAINTAINER_MODE_TRUE= 2196 MAINTAINER_MODE_FALSE='#' 2197else 2198 MAINTAINER_MODE_TRUE='#' 2199 MAINTAINER_MODE_FALSE= 2200fi 2201 2202 MAINT=$MAINTAINER_MODE_TRUE 2203 2204 2205 2206# Require xorg-macros version 1.2.0 or newer for XORG_CHANGELOG macro 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219# Because xtrans is included into other modules rather than being linked 2220# with, these defines have to be added to the cflags line 2221 2222# fchown() 2223 2224DEPDIR="${am__leading_dot}deps" 2225 2226ac_config_commands="$ac_config_commands depfiles" 2227 2228 2229am_make=${MAKE-make} 2230cat > confinc << 'END' 2231am__doit: 2232 @echo done 2233.PHONY: am__doit 2234END 2235# If we don't find an include directive, just comment out the code. 2236{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2237echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 2238am__include="#" 2239am__quote= 2240_am_result=none 2241# First try GNU make style include. 2242echo "include confinc" > confmf 2243# We grep out `Entering directory' and `Leaving directory' 2244# messages which can occur if `w' ends up in MAKEFLAGS. 2245# In particular we don't look at `^make:' because GNU make might 2246# be invoked under some other name (usually "gmake"), in which 2247# case it prints its new name instead of `make'. 2248if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2249 am__include=include 2250 am__quote= 2251 _am_result=GNU 2252fi 2253# Now try BSD make style include. 2254if test "$am__include" = "#"; then 2255 echo '.include "confinc"' > confmf 2256 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2257 am__include=.include 2258 am__quote="\"" 2259 _am_result=BSD 2260 fi 2261fi 2262 2263 2264{ echo "$as_me:$LINENO: result: $_am_result" >&5 2265echo "${ECHO_T}$_am_result" >&6; } 2266rm -f confinc confmf 2267 2268# Check whether --enable-dependency-tracking was given. 2269if test "${enable_dependency_tracking+set}" = set; then 2270 enableval=$enable_dependency_tracking; 2271fi 2272 2273if test "x$enable_dependency_tracking" != xno; then 2274 am_depcomp="$ac_aux_dir/depcomp" 2275 AMDEPBACKSLASH='\' 2276fi 2277 if test "x$enable_dependency_tracking" != xno; then 2278 AMDEP_TRUE= 2279 AMDEP_FALSE='#' 2280else 2281 AMDEP_TRUE='#' 2282 AMDEP_FALSE= 2283fi 2284 2285 2286ac_ext=c 2287ac_cpp='$CPP $CPPFLAGS' 2288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2290ac_compiler_gnu=$ac_cv_c_compiler_gnu 2291if test -n "$ac_tool_prefix"; then 2292 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2293set dummy ${ac_tool_prefix}gcc; ac_word=$2 2294{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2295echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2296if test "${ac_cv_prog_CC+set}" = set; then 2297 echo $ECHO_N "(cached) $ECHO_C" >&6 2298else 2299 if test -n "$CC"; then 2300 ac_cv_prog_CC="$CC" # Let the user override the test. 2301else 2302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2303for as_dir in $PATH 2304do 2305 IFS=$as_save_IFS 2306 test -z "$as_dir" && as_dir=. 2307 for ac_exec_ext in '' $ac_executable_extensions; do 2308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2309 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2311 break 2 2312 fi 2313done 2314done 2315IFS=$as_save_IFS 2316 2317fi 2318fi 2319CC=$ac_cv_prog_CC 2320if test -n "$CC"; then 2321 { echo "$as_me:$LINENO: result: $CC" >&5 2322echo "${ECHO_T}$CC" >&6; } 2323else 2324 { echo "$as_me:$LINENO: result: no" >&5 2325echo "${ECHO_T}no" >&6; } 2326fi 2327 2328 2329fi 2330if test -z "$ac_cv_prog_CC"; then 2331 ac_ct_CC=$CC 2332 # Extract the first word of "gcc", so it can be a program name with args. 2333set dummy gcc; ac_word=$2 2334{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2335echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2336if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2337 echo $ECHO_N "(cached) $ECHO_C" >&6 2338else 2339 if test -n "$ac_ct_CC"; then 2340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2341else 2342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2343for as_dir in $PATH 2344do 2345 IFS=$as_save_IFS 2346 test -z "$as_dir" && as_dir=. 2347 for ac_exec_ext in '' $ac_executable_extensions; do 2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2349 ac_cv_prog_ac_ct_CC="gcc" 2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2351 break 2 2352 fi 2353done 2354done 2355IFS=$as_save_IFS 2356 2357fi 2358fi 2359ac_ct_CC=$ac_cv_prog_ac_ct_CC 2360if test -n "$ac_ct_CC"; then 2361 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2362echo "${ECHO_T}$ac_ct_CC" >&6; } 2363else 2364 { echo "$as_me:$LINENO: result: no" >&5 2365echo "${ECHO_T}no" >&6; } 2366fi 2367 2368 if test "x$ac_ct_CC" = x; then 2369 CC="" 2370 else 2371 case $cross_compiling:$ac_tool_warned in 2372yes:) 2373{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2374whose name does not start with the host triplet. If you think this 2375configuration is useful to you, please write to autoconf@gnu.org." >&5 2376echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2377whose name does not start with the host triplet. If you think this 2378configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2379ac_tool_warned=yes ;; 2380esac 2381 CC=$ac_ct_CC 2382 fi 2383else 2384 CC="$ac_cv_prog_CC" 2385fi 2386 2387if test -z "$CC"; then 2388 if test -n "$ac_tool_prefix"; then 2389 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2390set dummy ${ac_tool_prefix}cc; ac_word=$2 2391{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2392echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2393if test "${ac_cv_prog_CC+set}" = set; then 2394 echo $ECHO_N "(cached) $ECHO_C" >&6 2395else 2396 if test -n "$CC"; then 2397 ac_cv_prog_CC="$CC" # Let the user override the test. 2398else 2399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2400for as_dir in $PATH 2401do 2402 IFS=$as_save_IFS 2403 test -z "$as_dir" && as_dir=. 2404 for ac_exec_ext in '' $ac_executable_extensions; do 2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2406 ac_cv_prog_CC="${ac_tool_prefix}cc" 2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2408 break 2 2409 fi 2410done 2411done 2412IFS=$as_save_IFS 2413 2414fi 2415fi 2416CC=$ac_cv_prog_CC 2417if test -n "$CC"; then 2418 { echo "$as_me:$LINENO: result: $CC" >&5 2419echo "${ECHO_T}$CC" >&6; } 2420else 2421 { echo "$as_me:$LINENO: result: no" >&5 2422echo "${ECHO_T}no" >&6; } 2423fi 2424 2425 2426 fi 2427fi 2428if test -z "$CC"; then 2429 # Extract the first word of "cc", so it can be a program name with args. 2430set dummy cc; ac_word=$2 2431{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2432echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2433if test "${ac_cv_prog_CC+set}" = set; then 2434 echo $ECHO_N "(cached) $ECHO_C" >&6 2435else 2436 if test -n "$CC"; then 2437 ac_cv_prog_CC="$CC" # Let the user override the test. 2438else 2439 ac_prog_rejected=no 2440as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2441for as_dir in $PATH 2442do 2443 IFS=$as_save_IFS 2444 test -z "$as_dir" && as_dir=. 2445 for ac_exec_ext in '' $ac_executable_extensions; do 2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2448 ac_prog_rejected=yes 2449 continue 2450 fi 2451 ac_cv_prog_CC="cc" 2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2453 break 2 2454 fi 2455done 2456done 2457IFS=$as_save_IFS 2458 2459if test $ac_prog_rejected = yes; then 2460 # We found a bogon in the path, so make sure we never use it. 2461 set dummy $ac_cv_prog_CC 2462 shift 2463 if test $# != 0; then 2464 # We chose a different compiler from the bogus one. 2465 # However, it has the same basename, so the bogon will be chosen 2466 # first if we set CC to just the basename; use the full file name. 2467 shift 2468 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2469 fi 2470fi 2471fi 2472fi 2473CC=$ac_cv_prog_CC 2474if test -n "$CC"; then 2475 { echo "$as_me:$LINENO: result: $CC" >&5 2476echo "${ECHO_T}$CC" >&6; } 2477else 2478 { echo "$as_me:$LINENO: result: no" >&5 2479echo "${ECHO_T}no" >&6; } 2480fi 2481 2482 2483fi 2484if test -z "$CC"; then 2485 if test -n "$ac_tool_prefix"; then 2486 for ac_prog in cl.exe 2487 do 2488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2489set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2490{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2491echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2492if test "${ac_cv_prog_CC+set}" = set; then 2493 echo $ECHO_N "(cached) $ECHO_C" >&6 2494else 2495 if test -n "$CC"; then 2496 ac_cv_prog_CC="$CC" # Let the user override the test. 2497else 2498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2499for as_dir in $PATH 2500do 2501 IFS=$as_save_IFS 2502 test -z "$as_dir" && as_dir=. 2503 for ac_exec_ext in '' $ac_executable_extensions; do 2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2505 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2507 break 2 2508 fi 2509done 2510done 2511IFS=$as_save_IFS 2512 2513fi 2514fi 2515CC=$ac_cv_prog_CC 2516if test -n "$CC"; then 2517 { echo "$as_me:$LINENO: result: $CC" >&5 2518echo "${ECHO_T}$CC" >&6; } 2519else 2520 { echo "$as_me:$LINENO: result: no" >&5 2521echo "${ECHO_T}no" >&6; } 2522fi 2523 2524 2525 test -n "$CC" && break 2526 done 2527fi 2528if test -z "$CC"; then 2529 ac_ct_CC=$CC 2530 for ac_prog in cl.exe 2531do 2532 # Extract the first word of "$ac_prog", so it can be a program name with args. 2533set dummy $ac_prog; ac_word=$2 2534{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2535echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2536if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2537 echo $ECHO_N "(cached) $ECHO_C" >&6 2538else 2539 if test -n "$ac_ct_CC"; then 2540 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2541else 2542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2543for as_dir in $PATH 2544do 2545 IFS=$as_save_IFS 2546 test -z "$as_dir" && as_dir=. 2547 for ac_exec_ext in '' $ac_executable_extensions; do 2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2549 ac_cv_prog_ac_ct_CC="$ac_prog" 2550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2551 break 2 2552 fi 2553done 2554done 2555IFS=$as_save_IFS 2556 2557fi 2558fi 2559ac_ct_CC=$ac_cv_prog_ac_ct_CC 2560if test -n "$ac_ct_CC"; then 2561 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2562echo "${ECHO_T}$ac_ct_CC" >&6; } 2563else 2564 { echo "$as_me:$LINENO: result: no" >&5 2565echo "${ECHO_T}no" >&6; } 2566fi 2567 2568 2569 test -n "$ac_ct_CC" && break 2570done 2571 2572 if test "x$ac_ct_CC" = x; then 2573 CC="" 2574 else 2575 case $cross_compiling:$ac_tool_warned in 2576yes:) 2577{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2578whose name does not start with the host triplet. If you think this 2579configuration is useful to you, please write to autoconf@gnu.org." >&5 2580echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2581whose name does not start with the host triplet. If you think this 2582configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2583ac_tool_warned=yes ;; 2584esac 2585 CC=$ac_ct_CC 2586 fi 2587fi 2588 2589fi 2590 2591 2592test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2593See \`config.log' for more details." >&5 2594echo "$as_me: error: no acceptable C compiler found in \$PATH 2595See \`config.log' for more details." >&2;} 2596 { (exit 1); exit 1; }; } 2597 2598# Provide some information about the compiler. 2599echo "$as_me:$LINENO: checking for C compiler version" >&5 2600ac_compiler=`set X $ac_compile; echo $2` 2601{ (ac_try="$ac_compiler --version >&5" 2602case "(($ac_try" in 2603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2604 *) ac_try_echo=$ac_try;; 2605esac 2606eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2607 (eval "$ac_compiler --version >&5") 2>&5 2608 ac_status=$? 2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2610 (exit $ac_status); } 2611{ (ac_try="$ac_compiler -v >&5" 2612case "(($ac_try" in 2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2614 *) ac_try_echo=$ac_try;; 2615esac 2616eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2617 (eval "$ac_compiler -v >&5") 2>&5 2618 ac_status=$? 2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2620 (exit $ac_status); } 2621{ (ac_try="$ac_compiler -V >&5" 2622case "(($ac_try" in 2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2624 *) ac_try_echo=$ac_try;; 2625esac 2626eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2627 (eval "$ac_compiler -V >&5") 2>&5 2628 ac_status=$? 2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2630 (exit $ac_status); } 2631 2632cat >conftest.$ac_ext <<_ACEOF 2633/* confdefs.h. */ 2634_ACEOF 2635cat confdefs.h >>conftest.$ac_ext 2636cat >>conftest.$ac_ext <<_ACEOF 2637/* end confdefs.h. */ 2638 2639int 2640main () 2641{ 2642 2643 ; 2644 return 0; 2645} 2646_ACEOF 2647ac_clean_files_save=$ac_clean_files 2648ac_clean_files="$ac_clean_files a.out a.exe b.out" 2649# Try to create an executable without -o first, disregard a.out. 2650# It will help us diagnose broken compilers, and finding out an intuition 2651# of exeext. 2652{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2653echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2654ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2655# 2656# List of possible output files, starting from the most likely. 2657# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2658# only as a last resort. b.out is created by i960 compilers. 2659ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2660# 2661# The IRIX 6 linker writes into existing files which may not be 2662# executable, retaining their permissions. Remove them first so a 2663# subsequent execution test works. 2664ac_rmfiles= 2665for ac_file in $ac_files 2666do 2667 case $ac_file in 2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2669 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2670 esac 2671done 2672rm -f $ac_rmfiles 2673 2674if { (ac_try="$ac_link_default" 2675case "(($ac_try" in 2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2677 *) ac_try_echo=$ac_try;; 2678esac 2679eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2680 (eval "$ac_link_default") 2>&5 2681 ac_status=$? 2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2683 (exit $ac_status); }; then 2684 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2685# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2686# in a Makefile. We should not override ac_cv_exeext if it was cached, 2687# so that the user can short-circuit this test for compilers unknown to 2688# Autoconf. 2689for ac_file in $ac_files '' 2690do 2691 test -f "$ac_file" || continue 2692 case $ac_file in 2693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2694 ;; 2695 [ab].out ) 2696 # We found the default executable, but exeext='' is most 2697 # certainly right. 2698 break;; 2699 *.* ) 2700 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2701 then :; else 2702 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2703 fi 2704 # We set ac_cv_exeext here because the later test for it is not 2705 # safe: cross compilers may not add the suffix if given an `-o' 2706 # argument, so we may need to know it at that point already. 2707 # Even if this section looks crufty: it has the advantage of 2708 # actually working. 2709 break;; 2710 * ) 2711 break;; 2712 esac 2713done 2714test "$ac_cv_exeext" = no && ac_cv_exeext= 2715 2716else 2717 ac_file='' 2718fi 2719 2720{ echo "$as_me:$LINENO: result: $ac_file" >&5 2721echo "${ECHO_T}$ac_file" >&6; } 2722if test -z "$ac_file"; then 2723 echo "$as_me: failed program was:" >&5 2724sed 's/^/| /' conftest.$ac_ext >&5 2725 2726{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2727See \`config.log' for more details." >&5 2728echo "$as_me: error: C compiler cannot create executables 2729See \`config.log' for more details." >&2;} 2730 { (exit 77); exit 77; }; } 2731fi 2732 2733ac_exeext=$ac_cv_exeext 2734 2735# Check that the compiler produces executables we can run. If not, either 2736# the compiler is broken, or we cross compile. 2737{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2738echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2739# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2740# If not cross compiling, check that we can run a simple program. 2741if test "$cross_compiling" != yes; then 2742 if { ac_try='./$ac_file' 2743 { (case "(($ac_try" in 2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2745 *) ac_try_echo=$ac_try;; 2746esac 2747eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2748 (eval "$ac_try") 2>&5 2749 ac_status=$? 2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2751 (exit $ac_status); }; }; then 2752 cross_compiling=no 2753 else 2754 if test "$cross_compiling" = maybe; then 2755 cross_compiling=yes 2756 else 2757 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2758If you meant to cross compile, use \`--host'. 2759See \`config.log' for more details." >&5 2760echo "$as_me: error: cannot run C compiled programs. 2761If you meant to cross compile, use \`--host'. 2762See \`config.log' for more details." >&2;} 2763 { (exit 1); exit 1; }; } 2764 fi 2765 fi 2766fi 2767{ echo "$as_me:$LINENO: result: yes" >&5 2768echo "${ECHO_T}yes" >&6; } 2769 2770rm -f a.out a.exe conftest$ac_cv_exeext b.out 2771ac_clean_files=$ac_clean_files_save 2772# Check that the compiler produces executables we can run. If not, either 2773# the compiler is broken, or we cross compile. 2774{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2775echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2776{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2777echo "${ECHO_T}$cross_compiling" >&6; } 2778 2779{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2780echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2781if { (ac_try="$ac_link" 2782case "(($ac_try" in 2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2784 *) ac_try_echo=$ac_try;; 2785esac 2786eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2787 (eval "$ac_link") 2>&5 2788 ac_status=$? 2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2790 (exit $ac_status); }; then 2791 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2792# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2793# work properly (i.e., refer to `conftest.exe'), while it won't with 2794# `rm'. 2795for ac_file in conftest.exe conftest conftest.*; do 2796 test -f "$ac_file" || continue 2797 case $ac_file in 2798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2799 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2800 break;; 2801 * ) break;; 2802 esac 2803done 2804else 2805 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2806See \`config.log' for more details." >&5 2807echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2808See \`config.log' for more details." >&2;} 2809 { (exit 1); exit 1; }; } 2810fi 2811 2812rm -f conftest$ac_cv_exeext 2813{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2814echo "${ECHO_T}$ac_cv_exeext" >&6; } 2815 2816rm -f conftest.$ac_ext 2817EXEEXT=$ac_cv_exeext 2818ac_exeext=$EXEEXT 2819{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2820echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2821if test "${ac_cv_objext+set}" = set; then 2822 echo $ECHO_N "(cached) $ECHO_C" >&6 2823else 2824 cat >conftest.$ac_ext <<_ACEOF 2825/* confdefs.h. */ 2826_ACEOF 2827cat confdefs.h >>conftest.$ac_ext 2828cat >>conftest.$ac_ext <<_ACEOF 2829/* end confdefs.h. */ 2830 2831int 2832main () 2833{ 2834 2835 ; 2836 return 0; 2837} 2838_ACEOF 2839rm -f conftest.o conftest.obj 2840if { (ac_try="$ac_compile" 2841case "(($ac_try" in 2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2843 *) ac_try_echo=$ac_try;; 2844esac 2845eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2846 (eval "$ac_compile") 2>&5 2847 ac_status=$? 2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2849 (exit $ac_status); }; then 2850 for ac_file in conftest.o conftest.obj conftest.*; do 2851 test -f "$ac_file" || continue; 2852 case $ac_file in 2853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2854 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2855 break;; 2856 esac 2857done 2858else 2859 echo "$as_me: failed program was:" >&5 2860sed 's/^/| /' conftest.$ac_ext >&5 2861 2862{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2863See \`config.log' for more details." >&5 2864echo "$as_me: error: cannot compute suffix of object files: cannot compile 2865See \`config.log' for more details." >&2;} 2866 { (exit 1); exit 1; }; } 2867fi 2868 2869rm -f conftest.$ac_cv_objext conftest.$ac_ext 2870fi 2871{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2872echo "${ECHO_T}$ac_cv_objext" >&6; } 2873OBJEXT=$ac_cv_objext 2874ac_objext=$OBJEXT 2875{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2876echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2877if test "${ac_cv_c_compiler_gnu+set}" = set; then 2878 echo $ECHO_N "(cached) $ECHO_C" >&6 2879else 2880 cat >conftest.$ac_ext <<_ACEOF 2881/* confdefs.h. */ 2882_ACEOF 2883cat confdefs.h >>conftest.$ac_ext 2884cat >>conftest.$ac_ext <<_ACEOF 2885/* end confdefs.h. */ 2886 2887int 2888main () 2889{ 2890#ifndef __GNUC__ 2891 choke me 2892#endif 2893 2894 ; 2895 return 0; 2896} 2897_ACEOF 2898rm -f conftest.$ac_objext 2899if { (ac_try="$ac_compile" 2900case "(($ac_try" in 2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2902 *) ac_try_echo=$ac_try;; 2903esac 2904eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2905 (eval "$ac_compile") 2>conftest.er1 2906 ac_status=$? 2907 grep -v '^ *+' conftest.er1 >conftest.err 2908 rm -f conftest.er1 2909 cat conftest.err >&5 2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2911 (exit $ac_status); } && { 2912 test -z "$ac_c_werror_flag" || 2913 test ! -s conftest.err 2914 } && test -s conftest.$ac_objext; then 2915 ac_compiler_gnu=yes 2916else 2917 echo "$as_me: failed program was:" >&5 2918sed 's/^/| /' conftest.$ac_ext >&5 2919 2920 ac_compiler_gnu=no 2921fi 2922 2923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2924ac_cv_c_compiler_gnu=$ac_compiler_gnu 2925 2926fi 2927{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2928echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2929GCC=`test $ac_compiler_gnu = yes && echo yes` 2930ac_test_CFLAGS=${CFLAGS+set} 2931ac_save_CFLAGS=$CFLAGS 2932{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2933echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2934if test "${ac_cv_prog_cc_g+set}" = set; then 2935 echo $ECHO_N "(cached) $ECHO_C" >&6 2936else 2937 ac_save_c_werror_flag=$ac_c_werror_flag 2938 ac_c_werror_flag=yes 2939 ac_cv_prog_cc_g=no 2940 CFLAGS="-g" 2941 cat >conftest.$ac_ext <<_ACEOF 2942/* confdefs.h. */ 2943_ACEOF 2944cat confdefs.h >>conftest.$ac_ext 2945cat >>conftest.$ac_ext <<_ACEOF 2946/* end confdefs.h. */ 2947 2948int 2949main () 2950{ 2951 2952 ; 2953 return 0; 2954} 2955_ACEOF 2956rm -f conftest.$ac_objext 2957if { (ac_try="$ac_compile" 2958case "(($ac_try" in 2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2960 *) ac_try_echo=$ac_try;; 2961esac 2962eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2963 (eval "$ac_compile") 2>conftest.er1 2964 ac_status=$? 2965 grep -v '^ *+' conftest.er1 >conftest.err 2966 rm -f conftest.er1 2967 cat conftest.err >&5 2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2969 (exit $ac_status); } && { 2970 test -z "$ac_c_werror_flag" || 2971 test ! -s conftest.err 2972 } && test -s conftest.$ac_objext; then 2973 ac_cv_prog_cc_g=yes 2974else 2975 echo "$as_me: failed program was:" >&5 2976sed 's/^/| /' conftest.$ac_ext >&5 2977 2978 CFLAGS="" 2979 cat >conftest.$ac_ext <<_ACEOF 2980/* confdefs.h. */ 2981_ACEOF 2982cat confdefs.h >>conftest.$ac_ext 2983cat >>conftest.$ac_ext <<_ACEOF 2984/* end confdefs.h. */ 2985 2986int 2987main () 2988{ 2989 2990 ; 2991 return 0; 2992} 2993_ACEOF 2994rm -f conftest.$ac_objext 2995if { (ac_try="$ac_compile" 2996case "(($ac_try" in 2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2998 *) ac_try_echo=$ac_try;; 2999esac 3000eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3001 (eval "$ac_compile") 2>conftest.er1 3002 ac_status=$? 3003 grep -v '^ *+' conftest.er1 >conftest.err 3004 rm -f conftest.er1 3005 cat conftest.err >&5 3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3007 (exit $ac_status); } && { 3008 test -z "$ac_c_werror_flag" || 3009 test ! -s conftest.err 3010 } && test -s conftest.$ac_objext; then 3011 : 3012else 3013 echo "$as_me: failed program was:" >&5 3014sed 's/^/| /' conftest.$ac_ext >&5 3015 3016 ac_c_werror_flag=$ac_save_c_werror_flag 3017 CFLAGS="-g" 3018 cat >conftest.$ac_ext <<_ACEOF 3019/* confdefs.h. */ 3020_ACEOF 3021cat confdefs.h >>conftest.$ac_ext 3022cat >>conftest.$ac_ext <<_ACEOF 3023/* end confdefs.h. */ 3024 3025int 3026main () 3027{ 3028 3029 ; 3030 return 0; 3031} 3032_ACEOF 3033rm -f conftest.$ac_objext 3034if { (ac_try="$ac_compile" 3035case "(($ac_try" in 3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3037 *) ac_try_echo=$ac_try;; 3038esac 3039eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3040 (eval "$ac_compile") 2>conftest.er1 3041 ac_status=$? 3042 grep -v '^ *+' conftest.er1 >conftest.err 3043 rm -f conftest.er1 3044 cat conftest.err >&5 3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3046 (exit $ac_status); } && { 3047 test -z "$ac_c_werror_flag" || 3048 test ! -s conftest.err 3049 } && test -s conftest.$ac_objext; then 3050 ac_cv_prog_cc_g=yes 3051else 3052 echo "$as_me: failed program was:" >&5 3053sed 's/^/| /' conftest.$ac_ext >&5 3054 3055 3056fi 3057 3058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3059fi 3060 3061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3062fi 3063 3064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3065 ac_c_werror_flag=$ac_save_c_werror_flag 3066fi 3067{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3068echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3069if test "$ac_test_CFLAGS" = set; then 3070 CFLAGS=$ac_save_CFLAGS 3071elif test $ac_cv_prog_cc_g = yes; then 3072 if test "$GCC" = yes; then 3073 CFLAGS="-g -O2" 3074 else 3075 CFLAGS="-g" 3076 fi 3077else 3078 if test "$GCC" = yes; then 3079 CFLAGS="-O2" 3080 else 3081 CFLAGS= 3082 fi 3083fi 3084{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3085echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3086if test "${ac_cv_prog_cc_c89+set}" = set; then 3087 echo $ECHO_N "(cached) $ECHO_C" >&6 3088else 3089 ac_cv_prog_cc_c89=no 3090ac_save_CC=$CC 3091cat >conftest.$ac_ext <<_ACEOF 3092/* confdefs.h. */ 3093_ACEOF 3094cat confdefs.h >>conftest.$ac_ext 3095cat >>conftest.$ac_ext <<_ACEOF 3096/* end confdefs.h. */ 3097#include <stdarg.h> 3098#include <stdio.h> 3099#include <sys/types.h> 3100#include <sys/stat.h> 3101/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3102struct buf { int x; }; 3103FILE * (*rcsopen) (struct buf *, struct stat *, int); 3104static char *e (p, i) 3105 char **p; 3106 int i; 3107{ 3108 return p[i]; 3109} 3110static char *f (char * (*g) (char **, int), char **p, ...) 3111{ 3112 char *s; 3113 va_list v; 3114 va_start (v,p); 3115 s = g (p, va_arg (v,int)); 3116 va_end (v); 3117 return s; 3118} 3119 3120/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3121 function prototypes and stuff, but not '\xHH' hex character constants. 3122 These don't provoke an error unfortunately, instead are silently treated 3123 as 'x'. The following induces an error, until -std is added to get 3124 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3125 array size at least. It's necessary to write '\x00'==0 to get something 3126 that's true only with -std. */ 3127int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3128 3129/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3130 inside strings and character constants. */ 3131#define FOO(x) 'x' 3132int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3133 3134int test (int i, double x); 3135struct s1 {int (*f) (int a);}; 3136struct s2 {int (*f) (double a);}; 3137int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3138int argc; 3139char **argv; 3140int 3141main () 3142{ 3143return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3144 ; 3145 return 0; 3146} 3147_ACEOF 3148for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3149 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3150do 3151 CC="$ac_save_CC $ac_arg" 3152 rm -f conftest.$ac_objext 3153if { (ac_try="$ac_compile" 3154case "(($ac_try" in 3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3156 *) ac_try_echo=$ac_try;; 3157esac 3158eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3159 (eval "$ac_compile") 2>conftest.er1 3160 ac_status=$? 3161 grep -v '^ *+' conftest.er1 >conftest.err 3162 rm -f conftest.er1 3163 cat conftest.err >&5 3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3165 (exit $ac_status); } && { 3166 test -z "$ac_c_werror_flag" || 3167 test ! -s conftest.err 3168 } && test -s conftest.$ac_objext; then 3169 ac_cv_prog_cc_c89=$ac_arg 3170else 3171 echo "$as_me: failed program was:" >&5 3172sed 's/^/| /' conftest.$ac_ext >&5 3173 3174 3175fi 3176 3177rm -f core conftest.err conftest.$ac_objext 3178 test "x$ac_cv_prog_cc_c89" != "xno" && break 3179done 3180rm -f conftest.$ac_ext 3181CC=$ac_save_CC 3182 3183fi 3184# AC_CACHE_VAL 3185case "x$ac_cv_prog_cc_c89" in 3186 x) 3187 { echo "$as_me:$LINENO: result: none needed" >&5 3188echo "${ECHO_T}none needed" >&6; } ;; 3189 xno) 3190 { echo "$as_me:$LINENO: result: unsupported" >&5 3191echo "${ECHO_T}unsupported" >&6; } ;; 3192 *) 3193 CC="$CC $ac_cv_prog_cc_c89" 3194 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3195echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3196esac 3197 3198 3199ac_ext=c 3200ac_cpp='$CPP $CPPFLAGS' 3201ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3202ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3203ac_compiler_gnu=$ac_cv_c_compiler_gnu 3204 3205depcc="$CC" am_compiler_list= 3206 3207{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3208echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3209if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3210 echo $ECHO_N "(cached) $ECHO_C" >&6 3211else 3212 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3213 # We make a subdir and do the tests there. Otherwise we can end up 3214 # making bogus files that we don't know about and never remove. For 3215 # instance it was reported that on HP-UX the gcc test will end up 3216 # making a dummy file named `D' -- because `-MD' means `put the output 3217 # in D'. 3218 mkdir conftest.dir 3219 # Copy depcomp to subdir because otherwise we won't find it if we're 3220 # using a relative directory. 3221 cp "$am_depcomp" conftest.dir 3222 cd conftest.dir 3223 # We will build objects and dependencies in a subdirectory because 3224 # it helps to detect inapplicable dependency modes. For instance 3225 # both Tru64's cc and ICC support -MD to output dependencies as a 3226 # side effect of compilation, but ICC will put the dependencies in 3227 # the current directory while Tru64 will put them in the object 3228 # directory. 3229 mkdir sub 3230 3231 am_cv_CC_dependencies_compiler_type=none 3232 if test "$am_compiler_list" = ""; then 3233 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3234 fi 3235 for depmode in $am_compiler_list; do 3236 # Setup a source with many dependencies, because some compilers 3237 # like to wrap large dependency lists on column 80 (with \), and 3238 # we should not choose a depcomp mode which is confused by this. 3239 # 3240 # We need to recreate these files for each test, as the compiler may 3241 # overwrite some of them when testing with obscure command lines. 3242 # This happens at least with the AIX C compiler. 3243 : > sub/conftest.c 3244 for i in 1 2 3 4 5 6; do 3245 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3246 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3247 # Solaris 8's {/usr,}/bin/sh. 3248 touch sub/conftst$i.h 3249 done 3250 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3251 3252 case $depmode in 3253 nosideeffect) 3254 # after this tag, mechanisms are not by side-effect, so they'll 3255 # only be used when explicitly requested 3256 if test "x$enable_dependency_tracking" = xyes; then 3257 continue 3258 else 3259 break 3260 fi 3261 ;; 3262 none) break ;; 3263 esac 3264 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3265 # mode. It turns out that the SunPro C++ compiler does not properly 3266 # handle `-M -o', and we need to detect this. 3267 if depmode=$depmode \ 3268 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3269 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3270 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3271 >/dev/null 2>conftest.err && 3272 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3273 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3274 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3275 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3276 # icc doesn't choke on unknown options, it will just issue warnings 3277 # or remarks (even with -Werror). So we grep stderr for any message 3278 # that says an option was ignored or not supported. 3279 # When given -MP, icc 7.0 and 7.1 complain thusly: 3280 # icc: Command line warning: ignoring option '-M'; no argument required 3281 # The diagnosis changed in icc 8.0: 3282 # icc: Command line remark: option '-MP' not supported 3283 if (grep 'ignoring option' conftest.err || 3284 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3285 am_cv_CC_dependencies_compiler_type=$depmode 3286 break 3287 fi 3288 fi 3289 done 3290 3291 cd .. 3292 rm -rf conftest.dir 3293else 3294 am_cv_CC_dependencies_compiler_type=none 3295fi 3296 3297fi 3298{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3299echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3300CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3301 3302 if 3303 test "x$enable_dependency_tracking" != xno \ 3304 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3305 am__fastdepCC_TRUE= 3306 am__fastdepCC_FALSE='#' 3307else 3308 am__fastdepCC_TRUE='#' 3309 am__fastdepCC_FALSE= 3310fi 3311 3312 3313 3314{ echo "$as_me:$LINENO: checking for fchown" >&5 3315echo $ECHO_N "checking for fchown... $ECHO_C" >&6; } 3316if test "${ac_cv_func_fchown+set}" = set; then 3317 echo $ECHO_N "(cached) $ECHO_C" >&6 3318else 3319 cat >conftest.$ac_ext <<_ACEOF 3320/* confdefs.h. */ 3321_ACEOF 3322cat confdefs.h >>conftest.$ac_ext 3323cat >>conftest.$ac_ext <<_ACEOF 3324/* end confdefs.h. */ 3325/* Define fchown to an innocuous variant, in case <limits.h> declares fchown. 3326 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3327#define fchown innocuous_fchown 3328 3329/* System header to define __stub macros and hopefully few prototypes, 3330 which can conflict with char fchown (); below. 3331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3332 <limits.h> exists even on freestanding compilers. */ 3333 3334#ifdef __STDC__ 3335# include <limits.h> 3336#else 3337# include <assert.h> 3338#endif 3339 3340#undef fchown 3341 3342/* Override any GCC internal prototype to avoid an error. 3343 Use char because int might match the return type of a GCC 3344 builtin and then its argument prototype would still apply. */ 3345#ifdef __cplusplus 3346extern "C" 3347#endif 3348char fchown (); 3349/* The GNU C library defines this for functions which it implements 3350 to always fail with ENOSYS. Some functions are actually named 3351 something starting with __ and the normal name is an alias. */ 3352#if defined __stub_fchown || defined __stub___fchown 3353choke me 3354#endif 3355 3356int 3357main () 3358{ 3359return fchown (); 3360 ; 3361 return 0; 3362} 3363_ACEOF 3364rm -f conftest.$ac_objext conftest$ac_exeext 3365if { (ac_try="$ac_link" 3366case "(($ac_try" in 3367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3368 *) ac_try_echo=$ac_try;; 3369esac 3370eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3371 (eval "$ac_link") 2>conftest.er1 3372 ac_status=$? 3373 grep -v '^ *+' conftest.er1 >conftest.err 3374 rm -f conftest.er1 3375 cat conftest.err >&5 3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3377 (exit $ac_status); } && { 3378 test -z "$ac_c_werror_flag" || 3379 test ! -s conftest.err 3380 } && test -s conftest$ac_exeext && 3381 $as_test_x conftest$ac_exeext; then 3382 ac_cv_func_fchown=yes 3383else 3384 echo "$as_me: failed program was:" >&5 3385sed 's/^/| /' conftest.$ac_ext >&5 3386 3387 ac_cv_func_fchown=no 3388fi 3389 3390rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3391 conftest$ac_exeext conftest.$ac_ext 3392fi 3393{ echo "$as_me:$LINENO: result: $ac_cv_func_fchown" >&5 3394echo "${ECHO_T}$ac_cv_func_fchown" >&6; } 3395if test $ac_cv_func_fchown = yes; then 3396 fchown_define="-DHAS_FCHOWN" 3397else 3398 fchown_define="" 3399fi 3400 3401 3402 3403 3404# sticky bit 3405# 3406# if any system exists without sticky dir bits this 3407# needs to be redone with a real autoconf test 3408 3409sticky_bit_define="-DHAS_STICKY_DIR_BIT" 3410 3411 3412 3413 3414 3415# Check whether --with-release-version was given. 3416if test "${with_release_version+set}" = set; then 3417 withval=$with_release_version; RELEASE_VERSION="$withval" 3418else 3419 RELEASE_VERSION="" 3420fi 3421 3422 if test "x$RELEASE_VERSION" != "x"; then 3423 PACKAGE="$PACKAGE-$RELEASE_VERSION" 3424 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 3425 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 3426echo "$as_me: Building with package name set to $PACKAGE" >&6;} 3427 fi 3428 3429cat >>confdefs.h <<_ACEOF 3430#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 3431_ACEOF 3432 3433 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 3434 if test "x$PVM" = "x"; then 3435 PVM="0" 3436 fi 3437 3438cat >>confdefs.h <<_ACEOF 3439#define PACKAGE_VERSION_MINOR $PVM 3440_ACEOF 3441 3442 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 3443 if test "x$PVP" = "x"; then 3444 PVP="0" 3445 fi 3446 3447cat >>confdefs.h <<_ACEOF 3448#define PACKAGE_VERSION_PATCHLEVEL $PVP 3449_ACEOF 3450 3451 3452 3453CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 3454mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 3455echo 'git directory not found: installing possibly empty changelog.' >&2)" 3456 3457distcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 3458 3459 3460 3461ac_config_files="$ac_config_files Makefile xtrans.pc" 3462 3463cat >confcache <<\_ACEOF 3464# This file is a shell script that caches the results of configure 3465# tests run on this system so they can be shared between configure 3466# scripts and configure runs, see configure's option --config-cache. 3467# It is not useful on other systems. If it contains results you don't 3468# want to keep, you may remove or edit it. 3469# 3470# config.status only pays attention to the cache file if you give it 3471# the --recheck option to rerun configure. 3472# 3473# `ac_cv_env_foo' variables (set or unset) will be overridden when 3474# loading this file, other *unset* `ac_cv_foo' will be assigned the 3475# following values. 3476 3477_ACEOF 3478 3479# The following way of writing the cache mishandles newlines in values, 3480# but we know of no workaround that is simple, portable, and efficient. 3481# So, we kill variables containing newlines. 3482# Ultrix sh set writes to stderr and can't be redirected directly, 3483# and sets the high bit in the cache file unless we assign to the vars. 3484( 3485 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3486 eval ac_val=\$$ac_var 3487 case $ac_val in #( 3488 *${as_nl}*) 3489 case $ac_var in #( 3490 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 3491echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 3492 esac 3493 case $ac_var in #( 3494 _ | IFS | as_nl) ;; #( 3495 *) $as_unset $ac_var ;; 3496 esac ;; 3497 esac 3498 done 3499 3500 (set) 2>&1 | 3501 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3502 *${as_nl}ac_space=\ *) 3503 # `set' does not quote correctly, so add quotes (double-quote 3504 # substitution turns \\\\ into \\, and sed turns \\ into \). 3505 sed -n \ 3506 "s/'/'\\\\''/g; 3507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3508 ;; #( 3509 *) 3510 # `set' quotes correctly as required by POSIX, so do not add quotes. 3511 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3512 ;; 3513 esac | 3514 sort 3515) | 3516 sed ' 3517 /^ac_cv_env_/b end 3518 t clear 3519 :clear 3520 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3521 t end 3522 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3523 :end' >>confcache 3524if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3525 if test -w "$cache_file"; then 3526 test "x$cache_file" != "x/dev/null" && 3527 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 3528echo "$as_me: updating cache $cache_file" >&6;} 3529 cat confcache >$cache_file 3530 else 3531 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 3532echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3533 fi 3534fi 3535rm -f confcache 3536 3537test "x$prefix" = xNONE && prefix=$ac_default_prefix 3538# Let make expand exec_prefix. 3539test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3540 3541# Transform confdefs.h into DEFS. 3542# Protect against shell expansion while executing Makefile rules. 3543# Protect against Makefile macro expansion. 3544# 3545# If the first sed substitution is executed (which looks for macros that 3546# take arguments), then branch to the quote section. Otherwise, 3547# look for a macro that doesn't take arguments. 3548ac_script=' 3549t clear 3550:clear 3551s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3552t quote 3553s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3554t quote 3555b any 3556:quote 3557s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3558s/\[/\\&/g 3559s/\]/\\&/g 3560s/\$/$$/g 3561H 3562:any 3563${ 3564 g 3565 s/^\n// 3566 s/\n/ /g 3567 p 3568} 3569' 3570DEFS=`sed -n "$ac_script" confdefs.h` 3571 3572 3573ac_libobjs= 3574ac_ltlibobjs= 3575for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3576 # 1. Remove the extension, and $U if already installed. 3577 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3578 ac_i=`echo "$ac_i" | sed "$ac_script"` 3579 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3580 # will be set to the directory where LIBOBJS objects are built. 3581 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3582 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 3583done 3584LIBOBJS=$ac_libobjs 3585 3586LTLIBOBJS=$ac_ltlibobjs 3587 3588 3589if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 3590 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 3591Usually this means the macro was only invoked conditionally." >&5 3592echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 3593Usually this means the macro was only invoked conditionally." >&2;} 3594 { (exit 1); exit 1; }; } 3595fi 3596if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 3597 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 3598Usually this means the macro was only invoked conditionally." >&5 3599echo "$as_me: error: conditional \"AMDEP\" was never defined. 3600Usually this means the macro was only invoked conditionally." >&2;} 3601 { (exit 1); exit 1; }; } 3602fi 3603if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 3604 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 3605Usually this means the macro was only invoked conditionally." >&5 3606echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 3607Usually this means the macro was only invoked conditionally." >&2;} 3608 { (exit 1); exit 1; }; } 3609fi 3610 3611: ${CONFIG_STATUS=./config.status} 3612ac_clean_files_save=$ac_clean_files 3613ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3614{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3615echo "$as_me: creating $CONFIG_STATUS" >&6;} 3616cat >$CONFIG_STATUS <<_ACEOF 3617#! $SHELL 3618# Generated by $as_me. 3619# Run this file to recreate the current configuration. 3620# Compiler output produced by configure, useful for debugging 3621# configure, is in config.log if it exists. 3622 3623debug=false 3624ac_cs_recheck=false 3625ac_cs_silent=false 3626SHELL=\${CONFIG_SHELL-$SHELL} 3627_ACEOF 3628 3629cat >>$CONFIG_STATUS <<\_ACEOF 3630## --------------------- ## 3631## M4sh Initialization. ## 3632## --------------------- ## 3633 3634# Be more Bourne compatible 3635DUALCASE=1; export DUALCASE # for MKS sh 3636if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3637 emulate sh 3638 NULLCMD=: 3639 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3640 # is contrary to our usage. Disable this feature. 3641 alias -g '${1+"$@"}'='"$@"' 3642 setopt NO_GLOB_SUBST 3643else 3644 case `(set -o) 2>/dev/null` in 3645 *posix*) set -o posix ;; 3646esac 3647 3648fi 3649 3650 3651 3652 3653# PATH needs CR 3654# Avoid depending upon Character Ranges. 3655as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3656as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3657as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3658as_cr_digits='0123456789' 3659as_cr_alnum=$as_cr_Letters$as_cr_digits 3660 3661# The user is always right. 3662if test "${PATH_SEPARATOR+set}" != set; then 3663 echo "#! /bin/sh" >conf$$.sh 3664 echo "exit 0" >>conf$$.sh 3665 chmod +x conf$$.sh 3666 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3667 PATH_SEPARATOR=';' 3668 else 3669 PATH_SEPARATOR=: 3670 fi 3671 rm -f conf$$.sh 3672fi 3673 3674# Support unset when possible. 3675if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 3676 as_unset=unset 3677else 3678 as_unset=false 3679fi 3680 3681 3682# IFS 3683# We need space, tab and new line, in precisely that order. Quoting is 3684# there to prevent editors from complaining about space-tab. 3685# (If _AS_PATH_WALK were called with IFS unset, it would disable word 3686# splitting by setting IFS to empty value.) 3687as_nl=' 3688' 3689IFS=" "" $as_nl" 3690 3691# Find who we are. Look in the path if we contain no directory separator. 3692case $0 in 3693 *[\\/]* ) as_myself=$0 ;; 3694 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3695for as_dir in $PATH 3696do 3697 IFS=$as_save_IFS 3698 test -z "$as_dir" && as_dir=. 3699 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3700done 3701IFS=$as_save_IFS 3702 3703 ;; 3704esac 3705# We did not find ourselves, most probably we were run as `sh COMMAND' 3706# in which case we are not to be found in the path. 3707if test "x$as_myself" = x; then 3708 as_myself=$0 3709fi 3710if test ! -f "$as_myself"; then 3711 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3712 { (exit 1); exit 1; } 3713fi 3714 3715# Work around bugs in pre-3.0 UWIN ksh. 3716for as_var in ENV MAIL MAILPATH 3717do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3718done 3719PS1='$ ' 3720PS2='> ' 3721PS4='+ ' 3722 3723# NLS nuisances. 3724for as_var in \ 3725 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3726 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3727 LC_TELEPHONE LC_TIME 3728do 3729 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3730 eval $as_var=C; export $as_var 3731 else 3732 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3733 fi 3734done 3735 3736# Required to use basename. 3737if expr a : '\(a\)' >/dev/null 2>&1 && 3738 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3739 as_expr=expr 3740else 3741 as_expr=false 3742fi 3743 3744if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3745 as_basename=basename 3746else 3747 as_basename=false 3748fi 3749 3750 3751# Name of the executable. 3752as_me=`$as_basename -- "$0" || 3753$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3754 X"$0" : 'X\(//\)$' \| \ 3755 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3756echo X/"$0" | 3757 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3758 s//\1/ 3759 q 3760 } 3761 /^X\/\(\/\/\)$/{ 3762 s//\1/ 3763 q 3764 } 3765 /^X\/\(\/\).*/{ 3766 s//\1/ 3767 q 3768 } 3769 s/.*/./; q'` 3770 3771# CDPATH. 3772$as_unset CDPATH 3773 3774 3775 3776 as_lineno_1=$LINENO 3777 as_lineno_2=$LINENO 3778 test "x$as_lineno_1" != "x$as_lineno_2" && 3779 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 3780 3781 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3782 # uniformly replaced by the line number. The first 'sed' inserts a 3783 # line-number line after each line using $LINENO; the second 'sed' 3784 # does the real work. The second script uses 'N' to pair each 3785 # line-number line with the line containing $LINENO, and appends 3786 # trailing '-' during substitution so that $LINENO is not a special 3787 # case at line end. 3788 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3789 # scripts with optimization help from Paolo Bonzini. Blame Lee 3790 # E. McMahon (1931-1989) for sed's syntax. :-) 3791 sed -n ' 3792 p 3793 /[$]LINENO/= 3794 ' <$as_myself | 3795 sed ' 3796 s/[$]LINENO.*/&-/ 3797 t lineno 3798 b 3799 :lineno 3800 N 3801 :loop 3802 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 3803 t loop 3804 s/-\n.*// 3805 ' >$as_me.lineno && 3806 chmod +x "$as_me.lineno" || 3807 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 3808 { (exit 1); exit 1; }; } 3809 3810 # Don't try to exec as it changes $[0], causing all sort of problems 3811 # (the dirname of $[0] is not the place where we might find the 3812 # original and so on. Autoconf is especially sensitive to this). 3813 . "./$as_me.lineno" 3814 # Exit status is that of the last command. 3815 exit 3816} 3817 3818 3819if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3820 as_dirname=dirname 3821else 3822 as_dirname=false 3823fi 3824 3825ECHO_C= ECHO_N= ECHO_T= 3826case `echo -n x` in 3827-n*) 3828 case `echo 'x\c'` in 3829 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3830 *) ECHO_C='\c';; 3831 esac;; 3832*) 3833 ECHO_N='-n';; 3834esac 3835 3836if expr a : '\(a\)' >/dev/null 2>&1 && 3837 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3838 as_expr=expr 3839else 3840 as_expr=false 3841fi 3842 3843rm -f conf$$ conf$$.exe conf$$.file 3844if test -d conf$$.dir; then 3845 rm -f conf$$.dir/conf$$.file 3846else 3847 rm -f conf$$.dir 3848 mkdir conf$$.dir 3849fi 3850echo >conf$$.file 3851if ln -s conf$$.file conf$$ 2>/dev/null; then 3852 as_ln_s='ln -s' 3853 # ... but there are two gotchas: 3854 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3855 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3856 # In both cases, we have to default to `cp -p'. 3857 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3858 as_ln_s='cp -p' 3859elif ln conf$$.file conf$$ 2>/dev/null; then 3860 as_ln_s=ln 3861else 3862 as_ln_s='cp -p' 3863fi 3864rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3865rmdir conf$$.dir 2>/dev/null 3866 3867if mkdir -p . 2>/dev/null; then 3868 as_mkdir_p=: 3869else 3870 test -d ./-p && rmdir ./-p 3871 as_mkdir_p=false 3872fi 3873 3874if test -x / >/dev/null 2>&1; then 3875 as_test_x='test -x' 3876else 3877 if ls -dL / >/dev/null 2>&1; then 3878 as_ls_L_option=L 3879 else 3880 as_ls_L_option= 3881 fi 3882 as_test_x=' 3883 eval sh -c '\'' 3884 if test -d "$1"; then 3885 test -d "$1/."; 3886 else 3887 case $1 in 3888 -*)set "./$1";; 3889 esac; 3890 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 3891 ???[sx]*):;;*)false;;esac;fi 3892 '\'' sh 3893 ' 3894fi 3895as_executable_p=$as_test_x 3896 3897# Sed expression to map a string onto a valid CPP name. 3898as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3899 3900# Sed expression to map a string onto a valid variable name. 3901as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3902 3903 3904exec 6>&1 3905 3906# Save the log message, to keep $[0] and so on meaningful, and to 3907# report actual input values of CONFIG_FILES etc. instead of their 3908# values after options handling. 3909ac_log=" 3910This file was extended by xtrans $as_me 1.2.4, which was 3911generated by GNU Autoconf 2.61. Invocation command line was 3912 3913 CONFIG_FILES = $CONFIG_FILES 3914 CONFIG_HEADERS = $CONFIG_HEADERS 3915 CONFIG_LINKS = $CONFIG_LINKS 3916 CONFIG_COMMANDS = $CONFIG_COMMANDS 3917 $ $0 $@ 3918 3919on `(hostname || uname -n) 2>/dev/null | sed 1q` 3920" 3921 3922_ACEOF 3923 3924cat >>$CONFIG_STATUS <<_ACEOF 3925# Files that config.status was made for. 3926config_files="$ac_config_files" 3927config_commands="$ac_config_commands" 3928 3929_ACEOF 3930 3931cat >>$CONFIG_STATUS <<\_ACEOF 3932ac_cs_usage="\ 3933\`$as_me' instantiates files from templates according to the 3934current configuration. 3935 3936Usage: $0 [OPTIONS] [FILE]... 3937 3938 -h, --help print this help, then exit 3939 -V, --version print version number and configuration settings, then exit 3940 -q, --quiet do not print progress messages 3941 -d, --debug don't remove temporary files 3942 --recheck update $as_me by reconfiguring in the same conditions 3943 --file=FILE[:TEMPLATE] 3944 instantiate the configuration file FILE 3945 3946Configuration files: 3947$config_files 3948 3949Configuration commands: 3950$config_commands 3951 3952Report bugs to <bug-autoconf@gnu.org>." 3953 3954_ACEOF 3955cat >>$CONFIG_STATUS <<_ACEOF 3956ac_cs_version="\\ 3957xtrans config.status 1.2.4 3958configured by $0, generated by GNU Autoconf 2.61, 3959 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 3960 3961Copyright (C) 2006 Free Software Foundation, Inc. 3962This config.status script is free software; the Free Software Foundation 3963gives unlimited permission to copy, distribute and modify it." 3964 3965ac_pwd='$ac_pwd' 3966srcdir='$srcdir' 3967INSTALL='$INSTALL' 3968MKDIR_P='$MKDIR_P' 3969_ACEOF 3970 3971cat >>$CONFIG_STATUS <<\_ACEOF 3972# If no file are specified by the user, then we need to provide default 3973# value. By we need to know if files were specified by the user. 3974ac_need_defaults=: 3975while test $# != 0 3976do 3977 case $1 in 3978 --*=*) 3979 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3980 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3981 ac_shift=: 3982 ;; 3983 *) 3984 ac_option=$1 3985 ac_optarg=$2 3986 ac_shift=shift 3987 ;; 3988 esac 3989 3990 case $ac_option in 3991 # Handling of the options. 3992 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3993 ac_cs_recheck=: ;; 3994 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3995 echo "$ac_cs_version"; exit ;; 3996 --debug | --debu | --deb | --de | --d | -d ) 3997 debug=: ;; 3998 --file | --fil | --fi | --f ) 3999 $ac_shift 4000 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4001 ac_need_defaults=false;; 4002 --he | --h | --help | --hel | -h ) 4003 echo "$ac_cs_usage"; exit ;; 4004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4005 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4006 ac_cs_silent=: ;; 4007 4008 # This is an error. 4009 -*) { echo "$as_me: error: unrecognized option: $1 4010Try \`$0 --help' for more information." >&2 4011 { (exit 1); exit 1; }; } ;; 4012 4013 *) ac_config_targets="$ac_config_targets $1" 4014 ac_need_defaults=false ;; 4015 4016 esac 4017 shift 4018done 4019 4020ac_configure_extra_args= 4021 4022if $ac_cs_silent; then 4023 exec 6>/dev/null 4024 ac_configure_extra_args="$ac_configure_extra_args --silent" 4025fi 4026 4027_ACEOF 4028cat >>$CONFIG_STATUS <<_ACEOF 4029if \$ac_cs_recheck; then 4030 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4031 CONFIG_SHELL=$SHELL 4032 export CONFIG_SHELL 4033 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4034fi 4035 4036_ACEOF 4037cat >>$CONFIG_STATUS <<\_ACEOF 4038exec 5>>config.log 4039{ 4040 echo 4041 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4042## Running $as_me. ## 4043_ASBOX 4044 echo "$ac_log" 4045} >&5 4046 4047_ACEOF 4048cat >>$CONFIG_STATUS <<_ACEOF 4049# 4050# INIT-COMMANDS 4051# 4052AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 4053 4054_ACEOF 4055 4056cat >>$CONFIG_STATUS <<\_ACEOF 4057 4058# Handling of arguments. 4059for ac_config_target in $ac_config_targets 4060do 4061 case $ac_config_target in 4062 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 4063 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4064 "xtrans.pc") CONFIG_FILES="$CONFIG_FILES xtrans.pc" ;; 4065 4066 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4067echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4068 { (exit 1); exit 1; }; };; 4069 esac 4070done 4071 4072 4073# If the user did not use the arguments to specify the items to instantiate, 4074# then the envvar interface is used. Set only those that are not. 4075# We use the long form for the default assignment because of an extremely 4076# bizarre bug on SunOS 4.1.3. 4077if $ac_need_defaults; then 4078 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4079 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4080fi 4081 4082# Have a temporary directory for convenience. Make it in the build tree 4083# simply because there is no reason against having it here, and in addition, 4084# creating and moving files from /tmp can sometimes cause problems. 4085# Hook for its removal unless debugging. 4086# Note that there is a small window in which the directory will not be cleaned: 4087# after its creation but before its name has been assigned to `$tmp'. 4088$debug || 4089{ 4090 tmp= 4091 trap 'exit_status=$? 4092 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 4093' 0 4094 trap '{ (exit 1); exit 1; }' 1 2 13 15 4095} 4096# Create a (secure) tmp directory for tmp files. 4097 4098{ 4099 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4100 test -n "$tmp" && test -d "$tmp" 4101} || 4102{ 4103 tmp=./conf$$-$RANDOM 4104 (umask 077 && mkdir "$tmp") 4105} || 4106{ 4107 echo "$me: cannot create a temporary directory in ." >&2 4108 { (exit 1); exit 1; } 4109} 4110 4111# 4112# Set up the sed scripts for CONFIG_FILES section. 4113# 4114 4115# No need to generate the scripts if there are no CONFIG_FILES. 4116# This happens for instance when ./config.status config.h 4117if test -n "$CONFIG_FILES"; then 4118 4119_ACEOF 4120 4121 4122 4123ac_delim='%!_!# ' 4124for ac_last_try in false false false false false :; do 4125 cat >conf$$subs.sed <<_ACEOF 4126SHELL!$SHELL$ac_delim 4127PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 4128PACKAGE_NAME!$PACKAGE_NAME$ac_delim 4129PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 4130PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 4131PACKAGE_STRING!$PACKAGE_STRING$ac_delim 4132PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 4133exec_prefix!$exec_prefix$ac_delim 4134prefix!$prefix$ac_delim 4135program_transform_name!$program_transform_name$ac_delim 4136bindir!$bindir$ac_delim 4137sbindir!$sbindir$ac_delim 4138libexecdir!$libexecdir$ac_delim 4139datarootdir!$datarootdir$ac_delim 4140datadir!$datadir$ac_delim 4141sysconfdir!$sysconfdir$ac_delim 4142sharedstatedir!$sharedstatedir$ac_delim 4143localstatedir!$localstatedir$ac_delim 4144includedir!$includedir$ac_delim 4145oldincludedir!$oldincludedir$ac_delim 4146docdir!$docdir$ac_delim 4147infodir!$infodir$ac_delim 4148htmldir!$htmldir$ac_delim 4149dvidir!$dvidir$ac_delim 4150pdfdir!$pdfdir$ac_delim 4151psdir!$psdir$ac_delim 4152libdir!$libdir$ac_delim 4153localedir!$localedir$ac_delim 4154mandir!$mandir$ac_delim 4155DEFS!$DEFS$ac_delim 4156ECHO_C!$ECHO_C$ac_delim 4157ECHO_N!$ECHO_N$ac_delim 4158ECHO_T!$ECHO_T$ac_delim 4159LIBS!$LIBS$ac_delim 4160build_alias!$build_alias$ac_delim 4161host_alias!$host_alias$ac_delim 4162target_alias!$target_alias$ac_delim 4163INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 4164INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 4165INSTALL_DATA!$INSTALL_DATA$ac_delim 4166am__isrc!$am__isrc$ac_delim 4167CYGPATH_W!$CYGPATH_W$ac_delim 4168PACKAGE!$PACKAGE$ac_delim 4169VERSION!$VERSION$ac_delim 4170ACLOCAL!$ACLOCAL$ac_delim 4171AUTOCONF!$AUTOCONF$ac_delim 4172AUTOMAKE!$AUTOMAKE$ac_delim 4173AUTOHEADER!$AUTOHEADER$ac_delim 4174MAKEINFO!$MAKEINFO$ac_delim 4175install_sh!$install_sh$ac_delim 4176STRIP!$STRIP$ac_delim 4177INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 4178mkdir_p!$mkdir_p$ac_delim 4179AWK!$AWK$ac_delim 4180SET_MAKE!$SET_MAKE$ac_delim 4181am__leading_dot!$am__leading_dot$ac_delim 4182AMTAR!$AMTAR$ac_delim 4183am__tar!$am__tar$ac_delim 4184am__untar!$am__untar$ac_delim 4185MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 4186MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 4187MAINT!$MAINT$ac_delim 4188CC!$CC$ac_delim 4189CFLAGS!$CFLAGS$ac_delim 4190LDFLAGS!$LDFLAGS$ac_delim 4191CPPFLAGS!$CPPFLAGS$ac_delim 4192ac_ct_CC!$ac_ct_CC$ac_delim 4193EXEEXT!$EXEEXT$ac_delim 4194OBJEXT!$OBJEXT$ac_delim 4195DEPDIR!$DEPDIR$ac_delim 4196am__include!$am__include$ac_delim 4197am__quote!$am__quote$ac_delim 4198AMDEP_TRUE!$AMDEP_TRUE$ac_delim 4199AMDEP_FALSE!$AMDEP_FALSE$ac_delim 4200AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 4201CCDEPMODE!$CCDEPMODE$ac_delim 4202am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 4203am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 4204fchown_define!$fchown_define$ac_delim 4205sticky_bit_define!$sticky_bit_define$ac_delim 4206CHANGELOG_CMD!$CHANGELOG_CMD$ac_delim 4207distcleancheck_listfiles!$distcleancheck_listfiles$ac_delim 4208LIBOBJS!$LIBOBJS$ac_delim 4209LTLIBOBJS!$LTLIBOBJS$ac_delim 4210_ACEOF 4211 4212 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then 4213 break 4214 elif $ac_last_try; then 4215 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 4216echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 4217 { (exit 1); exit 1; }; } 4218 else 4219 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4220 fi 4221done 4222 4223ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4224if test -n "$ac_eof"; then 4225 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4226 ac_eof=`expr $ac_eof + 1` 4227fi 4228 4229cat >>$CONFIG_STATUS <<_ACEOF 4230cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 4231/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 4232_ACEOF 4233sed ' 4234s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4235s/^/s,@/; s/!/@,|#_!!_#|/ 4236:n 4237t n 4238s/'"$ac_delim"'$/,g/; t 4239s/$/\\/; p 4240N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4241' >>$CONFIG_STATUS <conf$$subs.sed 4242rm -f conf$$subs.sed 4243cat >>$CONFIG_STATUS <<_ACEOF 4244:end 4245s/|#_!!_#|//g 4246CEOF$ac_eof 4247_ACEOF 4248 4249 4250# VPATH may cause trouble with some makes, so we remove $(srcdir), 4251# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4252# trailing colons and then remove the whole line if VPATH becomes empty 4253# (actually we leave an empty line to preserve line numbers). 4254if test "x$srcdir" = x.; then 4255 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4256s/:*\$(srcdir):*/:/ 4257s/:*\${srcdir}:*/:/ 4258s/:*@srcdir@:*/:/ 4259s/^\([^=]*=[ ]*\):*/\1/ 4260s/:*$// 4261s/^[^=]*=[ ]*$// 4262}' 4263fi 4264 4265cat >>$CONFIG_STATUS <<\_ACEOF 4266fi # test -n "$CONFIG_FILES" 4267 4268 4269for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS 4270do 4271 case $ac_tag in 4272 :[FHLC]) ac_mode=$ac_tag; continue;; 4273 esac 4274 case $ac_mode$ac_tag in 4275 :[FHL]*:*);; 4276 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 4277echo "$as_me: error: Invalid tag $ac_tag." >&2;} 4278 { (exit 1); exit 1; }; };; 4279 :[FH]-) ac_tag=-:-;; 4280 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4281 esac 4282 ac_save_IFS=$IFS 4283 IFS=: 4284 set x $ac_tag 4285 IFS=$ac_save_IFS 4286 shift 4287 ac_file=$1 4288 shift 4289 4290 case $ac_mode in 4291 :L) ac_source=$1;; 4292 :[FH]) 4293 ac_file_inputs= 4294 for ac_f 4295 do 4296 case $ac_f in 4297 -) ac_f="$tmp/stdin";; 4298 *) # Look for the file first in the build tree, then in the source tree 4299 # (if the path is not absolute). The absolute path cannot be DOS-style, 4300 # because $ac_f cannot contain `:'. 4301 test -f "$ac_f" || 4302 case $ac_f in 4303 [\\/$]*) false;; 4304 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4305 esac || 4306 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 4307echo "$as_me: error: cannot find input file: $ac_f" >&2;} 4308 { (exit 1); exit 1; }; };; 4309 esac 4310 ac_file_inputs="$ac_file_inputs $ac_f" 4311 done 4312 4313 # Let's still pretend it is `configure' which instantiates (i.e., don't 4314 # use $as_me), people would be surprised to read: 4315 # /* config.h. Generated by config.status. */ 4316 configure_input="Generated from "`IFS=: 4317 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 4318 if test x"$ac_file" != x-; then 4319 configure_input="$ac_file. $configure_input" 4320 { echo "$as_me:$LINENO: creating $ac_file" >&5 4321echo "$as_me: creating $ac_file" >&6;} 4322 fi 4323 4324 case $ac_tag in 4325 *:-:* | *:-) cat >"$tmp/stdin";; 4326 esac 4327 ;; 4328 esac 4329 4330 ac_dir=`$as_dirname -- "$ac_file" || 4331$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4332 X"$ac_file" : 'X\(//\)[^/]' \| \ 4333 X"$ac_file" : 'X\(//\)$' \| \ 4334 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4335echo X"$ac_file" | 4336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4337 s//\1/ 4338 q 4339 } 4340 /^X\(\/\/\)[^/].*/{ 4341 s//\1/ 4342 q 4343 } 4344 /^X\(\/\/\)$/{ 4345 s//\1/ 4346 q 4347 } 4348 /^X\(\/\).*/{ 4349 s//\1/ 4350 q 4351 } 4352 s/.*/./; q'` 4353 { as_dir="$ac_dir" 4354 case $as_dir in #( 4355 -*) as_dir=./$as_dir;; 4356 esac 4357 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 4358 as_dirs= 4359 while :; do 4360 case $as_dir in #( 4361 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 4362 *) as_qdir=$as_dir;; 4363 esac 4364 as_dirs="'$as_qdir' $as_dirs" 4365 as_dir=`$as_dirname -- "$as_dir" || 4366$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4367 X"$as_dir" : 'X\(//\)[^/]' \| \ 4368 X"$as_dir" : 'X\(//\)$' \| \ 4369 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4370echo X"$as_dir" | 4371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4372 s//\1/ 4373 q 4374 } 4375 /^X\(\/\/\)[^/].*/{ 4376 s//\1/ 4377 q 4378 } 4379 /^X\(\/\/\)$/{ 4380 s//\1/ 4381 q 4382 } 4383 /^X\(\/\).*/{ 4384 s//\1/ 4385 q 4386 } 4387 s/.*/./; q'` 4388 test -d "$as_dir" && break 4389 done 4390 test -z "$as_dirs" || eval "mkdir $as_dirs" 4391 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 4392echo "$as_me: error: cannot create directory $as_dir" >&2;} 4393 { (exit 1); exit 1; }; }; } 4394 ac_builddir=. 4395 4396case "$ac_dir" in 4397.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4398*) 4399 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4400 # A ".." for each directory in $ac_dir_suffix. 4401 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 4402 case $ac_top_builddir_sub in 4403 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4404 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4405 esac ;; 4406esac 4407ac_abs_top_builddir=$ac_pwd 4408ac_abs_builddir=$ac_pwd$ac_dir_suffix 4409# for backward compatibility: 4410ac_top_builddir=$ac_top_build_prefix 4411 4412case $srcdir in 4413 .) # We are building in place. 4414 ac_srcdir=. 4415 ac_top_srcdir=$ac_top_builddir_sub 4416 ac_abs_top_srcdir=$ac_pwd ;; 4417 [\\/]* | ?:[\\/]* ) # Absolute name. 4418 ac_srcdir=$srcdir$ac_dir_suffix; 4419 ac_top_srcdir=$srcdir 4420 ac_abs_top_srcdir=$srcdir ;; 4421 *) # Relative name. 4422 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4423 ac_top_srcdir=$ac_top_build_prefix$srcdir 4424 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4425esac 4426ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4427 4428 4429 case $ac_mode in 4430 :F) 4431 # 4432 # CONFIG_FILE 4433 # 4434 4435 case $INSTALL in 4436 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4437 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4438 esac 4439 ac_MKDIR_P=$MKDIR_P 4440 case $MKDIR_P in 4441 [\\/$]* | ?:[\\/]* ) ;; 4442 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 4443 esac 4444_ACEOF 4445 4446cat >>$CONFIG_STATUS <<\_ACEOF 4447# If the template does not know about datarootdir, expand it. 4448# FIXME: This hack should be removed a few years after 2.60. 4449ac_datarootdir_hack=; ac_datarootdir_seen= 4450 4451case `sed -n '/datarootdir/ { 4452 p 4453 q 4454} 4455/@datadir@/p 4456/@docdir@/p 4457/@infodir@/p 4458/@localedir@/p 4459/@mandir@/p 4460' $ac_file_inputs` in 4461*datarootdir*) ac_datarootdir_seen=yes;; 4462*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4463 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4464echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4465_ACEOF 4466cat >>$CONFIG_STATUS <<_ACEOF 4467 ac_datarootdir_hack=' 4468 s&@datadir@&$datadir&g 4469 s&@docdir@&$docdir&g 4470 s&@infodir@&$infodir&g 4471 s&@localedir@&$localedir&g 4472 s&@mandir@&$mandir&g 4473 s&\\\${datarootdir}&$datarootdir&g' ;; 4474esac 4475_ACEOF 4476 4477# Neutralize VPATH when `$srcdir' = `.'. 4478# Shell code in configure.ac might set extrasub. 4479# FIXME: do we really want to maintain this feature? 4480cat >>$CONFIG_STATUS <<_ACEOF 4481 sed "$ac_vpsub 4482$extrasub 4483_ACEOF 4484cat >>$CONFIG_STATUS <<\_ACEOF 4485:t 4486/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4487s&@configure_input@&$configure_input&;t t 4488s&@top_builddir@&$ac_top_builddir_sub&;t t 4489s&@srcdir@&$ac_srcdir&;t t 4490s&@abs_srcdir@&$ac_abs_srcdir&;t t 4491s&@top_srcdir@&$ac_top_srcdir&;t t 4492s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4493s&@builddir@&$ac_builddir&;t t 4494s&@abs_builddir@&$ac_abs_builddir&;t t 4495s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4496s&@INSTALL@&$ac_INSTALL&;t t 4497s&@MKDIR_P@&$ac_MKDIR_P&;t t 4498$ac_datarootdir_hack 4499" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 4500 4501test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4502 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 4503 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 4504 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4505which seems to be undefined. Please make sure it is defined." >&5 4506echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4507which seems to be undefined. Please make sure it is defined." >&2;} 4508 4509 rm -f "$tmp/stdin" 4510 case $ac_file in 4511 -) cat "$tmp/out"; rm -f "$tmp/out";; 4512 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 4513 esac 4514 ;; 4515 4516 4517 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 4518echo "$as_me: executing $ac_file commands" >&6;} 4519 ;; 4520 esac 4521 4522 4523 case $ac_file$ac_mode in 4524 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 4525 # Strip MF so we end up with the name of the file. 4526 mf=`echo "$mf" | sed -e 's/:.*$//'` 4527 # Check whether this is an Automake generated Makefile or not. 4528 # We used to match only the files named `Makefile.in', but 4529 # some people rename them; so instead we look at the file content. 4530 # Grep'ing the first line is not enough: some people post-process 4531 # each Makefile.in and add a new line on top of each file to say so. 4532 # Grep'ing the whole file is not good either: AIX grep has a line 4533 # limit of 2048, but all sed's we know have understand at least 4000. 4534 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then 4535 dirpart=`$as_dirname -- "$mf" || 4536$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4537 X"$mf" : 'X\(//\)[^/]' \| \ 4538 X"$mf" : 'X\(//\)$' \| \ 4539 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 4540echo X"$mf" | 4541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4542 s//\1/ 4543 q 4544 } 4545 /^X\(\/\/\)[^/].*/{ 4546 s//\1/ 4547 q 4548 } 4549 /^X\(\/\/\)$/{ 4550 s//\1/ 4551 q 4552 } 4553 /^X\(\/\).*/{ 4554 s//\1/ 4555 q 4556 } 4557 s/.*/./; q'` 4558 else 4559 continue 4560 fi 4561 # Extract the definition of DEPDIR, am__include, and am__quote 4562 # from the Makefile without running `make'. 4563 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 4564 test -z "$DEPDIR" && continue 4565 am__include=`sed -n 's/^am__include = //p' < "$mf"` 4566 test -z "am__include" && continue 4567 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 4568 # When using ansi2knr, U may be empty or an underscore; expand it 4569 U=`sed -n 's/^U = //p' < "$mf"` 4570 # Find all dependency output files, they are included files with 4571 # $(DEPDIR) in their names. We invoke sed twice because it is the 4572 # simplest approach to changing $(DEPDIR) to its actual value in the 4573 # expansion. 4574 for file in `sed -n " 4575 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 4576 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 4577 # Make sure the directory exists. 4578 test -f "$dirpart/$file" && continue 4579 fdir=`$as_dirname -- "$file" || 4580$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4581 X"$file" : 'X\(//\)[^/]' \| \ 4582 X"$file" : 'X\(//\)$' \| \ 4583 X"$file" : 'X\(/\)' \| . 2>/dev/null || 4584echo X"$file" | 4585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4586 s//\1/ 4587 q 4588 } 4589 /^X\(\/\/\)[^/].*/{ 4590 s//\1/ 4591 q 4592 } 4593 /^X\(\/\/\)$/{ 4594 s//\1/ 4595 q 4596 } 4597 /^X\(\/\).*/{ 4598 s//\1/ 4599 q 4600 } 4601 s/.*/./; q'` 4602 { as_dir=$dirpart/$fdir 4603 case $as_dir in #( 4604 -*) as_dir=./$as_dir;; 4605 esac 4606 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 4607 as_dirs= 4608 while :; do 4609 case $as_dir in #( 4610 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 4611 *) as_qdir=$as_dir;; 4612 esac 4613 as_dirs="'$as_qdir' $as_dirs" 4614 as_dir=`$as_dirname -- "$as_dir" || 4615$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4616 X"$as_dir" : 'X\(//\)[^/]' \| \ 4617 X"$as_dir" : 'X\(//\)$' \| \ 4618 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4619echo X"$as_dir" | 4620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4621 s//\1/ 4622 q 4623 } 4624 /^X\(\/\/\)[^/].*/{ 4625 s//\1/ 4626 q 4627 } 4628 /^X\(\/\/\)$/{ 4629 s//\1/ 4630 q 4631 } 4632 /^X\(\/\).*/{ 4633 s//\1/ 4634 q 4635 } 4636 s/.*/./; q'` 4637 test -d "$as_dir" && break 4638 done 4639 test -z "$as_dirs" || eval "mkdir $as_dirs" 4640 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 4641echo "$as_me: error: cannot create directory $as_dir" >&2;} 4642 { (exit 1); exit 1; }; }; } 4643 # echo "creating $dirpart/$file" 4644 echo '# dummy' > "$dirpart/$file" 4645 done 4646done 4647 ;; 4648 4649 esac 4650done # for ac_tag 4651 4652 4653{ (exit 0); exit 0; } 4654_ACEOF 4655chmod +x $CONFIG_STATUS 4656ac_clean_files=$ac_clean_files_save 4657 4658 4659# configure is writing to config.log, and then calls config.status. 4660# config.status does its own redirection, appending to config.log. 4661# Unfortunately, on DOS this fails, as config.log is still kept open 4662# by configure, so config.status won't be able to write to it; its 4663# output is simply discarded. So we exec the FD to /dev/null, 4664# effectively closing config.log, so it can be properly (re)opened and 4665# appended to by config.status. When coming back to configure, we 4666# need to make the FD available again. 4667if test "$no_create" != yes; then 4668 ac_cs_success=: 4669 ac_config_status_args= 4670 test "$silent" = yes && 4671 ac_config_status_args="$ac_config_status_args --quiet" 4672 exec 5>/dev/null 4673 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4674 exec 5>>config.log 4675 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4676 # would make configure fail if this is the last instruction. 4677 $ac_cs_success || { (exit 1); exit 1; } 4678fi 4679 4680