configure revision 8d4c0f7b
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.61 for xtrans 1.2.3. 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.3' 578PACKAGE_STRING='xtrans 1.2.3' 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.3 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.3:";; 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.3 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.3, 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.3' 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 XORG_MACROS_needed_version=1.2 2210 XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'` 2211 XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'` 2212 { echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5 2213echo $ECHO_N "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... $ECHO_C" >&6; } 2214 XORG_MACROS_version=1.2.1 2215 XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'` 2216 XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'` 2217 if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then 2218 { { echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5 2219echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;} 2220 { (exit 1); exit 1; }; } 2221 fi 2222 if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then 2223 { { echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5 2224echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;} 2225 { (exit 1); exit 1; }; } 2226 fi 2227 { echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5 2228echo "${ECHO_T}yes, $XORG_MACROS_version" >&6; } 2229 2230 2231# Because xtrans is included into other modules rather than being linked 2232# with, these defines have to be added to the cflags line 2233 2234# fchown() 2235 2236DEPDIR="${am__leading_dot}deps" 2237 2238ac_config_commands="$ac_config_commands depfiles" 2239 2240 2241am_make=${MAKE-make} 2242cat > confinc << 'END' 2243am__doit: 2244 @echo done 2245.PHONY: am__doit 2246END 2247# If we don't find an include directive, just comment out the code. 2248{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2249echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 2250am__include="#" 2251am__quote= 2252_am_result=none 2253# First try GNU make style include. 2254echo "include confinc" > confmf 2255# We grep out `Entering directory' and `Leaving directory' 2256# messages which can occur if `w' ends up in MAKEFLAGS. 2257# In particular we don't look at `^make:' because GNU make might 2258# be invoked under some other name (usually "gmake"), in which 2259# case it prints its new name instead of `make'. 2260if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2261 am__include=include 2262 am__quote= 2263 _am_result=GNU 2264fi 2265# Now try BSD make style include. 2266if test "$am__include" = "#"; then 2267 echo '.include "confinc"' > confmf 2268 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2269 am__include=.include 2270 am__quote="\"" 2271 _am_result=BSD 2272 fi 2273fi 2274 2275 2276{ echo "$as_me:$LINENO: result: $_am_result" >&5 2277echo "${ECHO_T}$_am_result" >&6; } 2278rm -f confinc confmf 2279 2280# Check whether --enable-dependency-tracking was given. 2281if test "${enable_dependency_tracking+set}" = set; then 2282 enableval=$enable_dependency_tracking; 2283fi 2284 2285if test "x$enable_dependency_tracking" != xno; then 2286 am_depcomp="$ac_aux_dir/depcomp" 2287 AMDEPBACKSLASH='\' 2288fi 2289 if test "x$enable_dependency_tracking" != xno; then 2290 AMDEP_TRUE= 2291 AMDEP_FALSE='#' 2292else 2293 AMDEP_TRUE='#' 2294 AMDEP_FALSE= 2295fi 2296 2297 2298ac_ext=c 2299ac_cpp='$CPP $CPPFLAGS' 2300ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2301ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2302ac_compiler_gnu=$ac_cv_c_compiler_gnu 2303if test -n "$ac_tool_prefix"; then 2304 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2305set dummy ${ac_tool_prefix}gcc; ac_word=$2 2306{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2307echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2308if test "${ac_cv_prog_CC+set}" = set; then 2309 echo $ECHO_N "(cached) $ECHO_C" >&6 2310else 2311 if test -n "$CC"; then 2312 ac_cv_prog_CC="$CC" # Let the user override the test. 2313else 2314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2315for as_dir in $PATH 2316do 2317 IFS=$as_save_IFS 2318 test -z "$as_dir" && as_dir=. 2319 for ac_exec_ext in '' $ac_executable_extensions; do 2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2321 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2323 break 2 2324 fi 2325done 2326done 2327IFS=$as_save_IFS 2328 2329fi 2330fi 2331CC=$ac_cv_prog_CC 2332if test -n "$CC"; then 2333 { echo "$as_me:$LINENO: result: $CC" >&5 2334echo "${ECHO_T}$CC" >&6; } 2335else 2336 { echo "$as_me:$LINENO: result: no" >&5 2337echo "${ECHO_T}no" >&6; } 2338fi 2339 2340 2341fi 2342if test -z "$ac_cv_prog_CC"; then 2343 ac_ct_CC=$CC 2344 # Extract the first word of "gcc", so it can be a program name with args. 2345set dummy gcc; ac_word=$2 2346{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2348if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2349 echo $ECHO_N "(cached) $ECHO_C" >&6 2350else 2351 if test -n "$ac_ct_CC"; then 2352 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2353else 2354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2355for as_dir in $PATH 2356do 2357 IFS=$as_save_IFS 2358 test -z "$as_dir" && as_dir=. 2359 for ac_exec_ext in '' $ac_executable_extensions; do 2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2361 ac_cv_prog_ac_ct_CC="gcc" 2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2363 break 2 2364 fi 2365done 2366done 2367IFS=$as_save_IFS 2368 2369fi 2370fi 2371ac_ct_CC=$ac_cv_prog_ac_ct_CC 2372if test -n "$ac_ct_CC"; then 2373 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2374echo "${ECHO_T}$ac_ct_CC" >&6; } 2375else 2376 { echo "$as_me:$LINENO: result: no" >&5 2377echo "${ECHO_T}no" >&6; } 2378fi 2379 2380 if test "x$ac_ct_CC" = x; then 2381 CC="" 2382 else 2383 case $cross_compiling:$ac_tool_warned in 2384yes:) 2385{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2386whose name does not start with the host triplet. If you think this 2387configuration is useful to you, please write to autoconf@gnu.org." >&5 2388echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2389whose name does not start with the host triplet. If you think this 2390configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2391ac_tool_warned=yes ;; 2392esac 2393 CC=$ac_ct_CC 2394 fi 2395else 2396 CC="$ac_cv_prog_CC" 2397fi 2398 2399if test -z "$CC"; then 2400 if test -n "$ac_tool_prefix"; then 2401 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2402set dummy ${ac_tool_prefix}cc; ac_word=$2 2403{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2404echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2405if test "${ac_cv_prog_CC+set}" = set; then 2406 echo $ECHO_N "(cached) $ECHO_C" >&6 2407else 2408 if test -n "$CC"; then 2409 ac_cv_prog_CC="$CC" # Let the user override the test. 2410else 2411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2412for as_dir in $PATH 2413do 2414 IFS=$as_save_IFS 2415 test -z "$as_dir" && as_dir=. 2416 for ac_exec_ext in '' $ac_executable_extensions; do 2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2418 ac_cv_prog_CC="${ac_tool_prefix}cc" 2419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2420 break 2 2421 fi 2422done 2423done 2424IFS=$as_save_IFS 2425 2426fi 2427fi 2428CC=$ac_cv_prog_CC 2429if test -n "$CC"; then 2430 { echo "$as_me:$LINENO: result: $CC" >&5 2431echo "${ECHO_T}$CC" >&6; } 2432else 2433 { echo "$as_me:$LINENO: result: no" >&5 2434echo "${ECHO_T}no" >&6; } 2435fi 2436 2437 2438 fi 2439fi 2440if test -z "$CC"; then 2441 # Extract the first word of "cc", so it can be a program name with args. 2442set dummy cc; ac_word=$2 2443{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2444echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2445if test "${ac_cv_prog_CC+set}" = set; then 2446 echo $ECHO_N "(cached) $ECHO_C" >&6 2447else 2448 if test -n "$CC"; then 2449 ac_cv_prog_CC="$CC" # Let the user override the test. 2450else 2451 ac_prog_rejected=no 2452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2453for as_dir in $PATH 2454do 2455 IFS=$as_save_IFS 2456 test -z "$as_dir" && as_dir=. 2457 for ac_exec_ext in '' $ac_executable_extensions; do 2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2459 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2460 ac_prog_rejected=yes 2461 continue 2462 fi 2463 ac_cv_prog_CC="cc" 2464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2465 break 2 2466 fi 2467done 2468done 2469IFS=$as_save_IFS 2470 2471if test $ac_prog_rejected = yes; then 2472 # We found a bogon in the path, so make sure we never use it. 2473 set dummy $ac_cv_prog_CC 2474 shift 2475 if test $# != 0; then 2476 # We chose a different compiler from the bogus one. 2477 # However, it has the same basename, so the bogon will be chosen 2478 # first if we set CC to just the basename; use the full file name. 2479 shift 2480 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2481 fi 2482fi 2483fi 2484fi 2485CC=$ac_cv_prog_CC 2486if test -n "$CC"; then 2487 { echo "$as_me:$LINENO: result: $CC" >&5 2488echo "${ECHO_T}$CC" >&6; } 2489else 2490 { echo "$as_me:$LINENO: result: no" >&5 2491echo "${ECHO_T}no" >&6; } 2492fi 2493 2494 2495fi 2496if test -z "$CC"; then 2497 if test -n "$ac_tool_prefix"; then 2498 for ac_prog in cl.exe 2499 do 2500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2501set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2502{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2503echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2504if test "${ac_cv_prog_CC+set}" = set; then 2505 echo $ECHO_N "(cached) $ECHO_C" >&6 2506else 2507 if test -n "$CC"; then 2508 ac_cv_prog_CC="$CC" # Let the user override the test. 2509else 2510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2511for as_dir in $PATH 2512do 2513 IFS=$as_save_IFS 2514 test -z "$as_dir" && as_dir=. 2515 for ac_exec_ext in '' $ac_executable_extensions; do 2516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2517 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2519 break 2 2520 fi 2521done 2522done 2523IFS=$as_save_IFS 2524 2525fi 2526fi 2527CC=$ac_cv_prog_CC 2528if test -n "$CC"; then 2529 { echo "$as_me:$LINENO: result: $CC" >&5 2530echo "${ECHO_T}$CC" >&6; } 2531else 2532 { echo "$as_me:$LINENO: result: no" >&5 2533echo "${ECHO_T}no" >&6; } 2534fi 2535 2536 2537 test -n "$CC" && break 2538 done 2539fi 2540if test -z "$CC"; then 2541 ac_ct_CC=$CC 2542 for ac_prog in cl.exe 2543do 2544 # Extract the first word of "$ac_prog", so it can be a program name with args. 2545set dummy $ac_prog; ac_word=$2 2546{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2547echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2548if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2549 echo $ECHO_N "(cached) $ECHO_C" >&6 2550else 2551 if test -n "$ac_ct_CC"; then 2552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2553else 2554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2555for as_dir in $PATH 2556do 2557 IFS=$as_save_IFS 2558 test -z "$as_dir" && as_dir=. 2559 for ac_exec_ext in '' $ac_executable_extensions; do 2560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2561 ac_cv_prog_ac_ct_CC="$ac_prog" 2562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2563 break 2 2564 fi 2565done 2566done 2567IFS=$as_save_IFS 2568 2569fi 2570fi 2571ac_ct_CC=$ac_cv_prog_ac_ct_CC 2572if test -n "$ac_ct_CC"; then 2573 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2574echo "${ECHO_T}$ac_ct_CC" >&6; } 2575else 2576 { echo "$as_me:$LINENO: result: no" >&5 2577echo "${ECHO_T}no" >&6; } 2578fi 2579 2580 2581 test -n "$ac_ct_CC" && break 2582done 2583 2584 if test "x$ac_ct_CC" = x; then 2585 CC="" 2586 else 2587 case $cross_compiling:$ac_tool_warned in 2588yes:) 2589{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2590whose name does not start with the host triplet. If you think this 2591configuration is useful to you, please write to autoconf@gnu.org." >&5 2592echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2593whose name does not start with the host triplet. If you think this 2594configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2595ac_tool_warned=yes ;; 2596esac 2597 CC=$ac_ct_CC 2598 fi 2599fi 2600 2601fi 2602 2603 2604test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2605See \`config.log' for more details." >&5 2606echo "$as_me: error: no acceptable C compiler found in \$PATH 2607See \`config.log' for more details." >&2;} 2608 { (exit 1); exit 1; }; } 2609 2610# Provide some information about the compiler. 2611echo "$as_me:$LINENO: checking for C compiler version" >&5 2612ac_compiler=`set X $ac_compile; echo $2` 2613{ (ac_try="$ac_compiler --version >&5" 2614case "(($ac_try" in 2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2616 *) ac_try_echo=$ac_try;; 2617esac 2618eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2619 (eval "$ac_compiler --version >&5") 2>&5 2620 ac_status=$? 2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2622 (exit $ac_status); } 2623{ (ac_try="$ac_compiler -v >&5" 2624case "(($ac_try" in 2625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2626 *) ac_try_echo=$ac_try;; 2627esac 2628eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2629 (eval "$ac_compiler -v >&5") 2>&5 2630 ac_status=$? 2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2632 (exit $ac_status); } 2633{ (ac_try="$ac_compiler -V >&5" 2634case "(($ac_try" in 2635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2636 *) ac_try_echo=$ac_try;; 2637esac 2638eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2639 (eval "$ac_compiler -V >&5") 2>&5 2640 ac_status=$? 2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2642 (exit $ac_status); } 2643 2644cat >conftest.$ac_ext <<_ACEOF 2645/* confdefs.h. */ 2646_ACEOF 2647cat confdefs.h >>conftest.$ac_ext 2648cat >>conftest.$ac_ext <<_ACEOF 2649/* end confdefs.h. */ 2650 2651int 2652main () 2653{ 2654 2655 ; 2656 return 0; 2657} 2658_ACEOF 2659ac_clean_files_save=$ac_clean_files 2660ac_clean_files="$ac_clean_files a.out a.exe b.out" 2661# Try to create an executable without -o first, disregard a.out. 2662# It will help us diagnose broken compilers, and finding out an intuition 2663# of exeext. 2664{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2665echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2666ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2667# 2668# List of possible output files, starting from the most likely. 2669# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2670# only as a last resort. b.out is created by i960 compilers. 2671ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2672# 2673# The IRIX 6 linker writes into existing files which may not be 2674# executable, retaining their permissions. Remove them first so a 2675# subsequent execution test works. 2676ac_rmfiles= 2677for ac_file in $ac_files 2678do 2679 case $ac_file in 2680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2681 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2682 esac 2683done 2684rm -f $ac_rmfiles 2685 2686if { (ac_try="$ac_link_default" 2687case "(($ac_try" in 2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2689 *) ac_try_echo=$ac_try;; 2690esac 2691eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2692 (eval "$ac_link_default") 2>&5 2693 ac_status=$? 2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2695 (exit $ac_status); }; then 2696 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2697# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2698# in a Makefile. We should not override ac_cv_exeext if it was cached, 2699# so that the user can short-circuit this test for compilers unknown to 2700# Autoconf. 2701for ac_file in $ac_files '' 2702do 2703 test -f "$ac_file" || continue 2704 case $ac_file in 2705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2706 ;; 2707 [ab].out ) 2708 # We found the default executable, but exeext='' is most 2709 # certainly right. 2710 break;; 2711 *.* ) 2712 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2713 then :; else 2714 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2715 fi 2716 # We set ac_cv_exeext here because the later test for it is not 2717 # safe: cross compilers may not add the suffix if given an `-o' 2718 # argument, so we may need to know it at that point already. 2719 # Even if this section looks crufty: it has the advantage of 2720 # actually working. 2721 break;; 2722 * ) 2723 break;; 2724 esac 2725done 2726test "$ac_cv_exeext" = no && ac_cv_exeext= 2727 2728else 2729 ac_file='' 2730fi 2731 2732{ echo "$as_me:$LINENO: result: $ac_file" >&5 2733echo "${ECHO_T}$ac_file" >&6; } 2734if test -z "$ac_file"; then 2735 echo "$as_me: failed program was:" >&5 2736sed 's/^/| /' conftest.$ac_ext >&5 2737 2738{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2739See \`config.log' for more details." >&5 2740echo "$as_me: error: C compiler cannot create executables 2741See \`config.log' for more details." >&2;} 2742 { (exit 77); exit 77; }; } 2743fi 2744 2745ac_exeext=$ac_cv_exeext 2746 2747# Check that the compiler produces executables we can run. If not, either 2748# the compiler is broken, or we cross compile. 2749{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2750echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2751# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2752# If not cross compiling, check that we can run a simple program. 2753if test "$cross_compiling" != yes; then 2754 if { ac_try='./$ac_file' 2755 { (case "(($ac_try" in 2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2757 *) ac_try_echo=$ac_try;; 2758esac 2759eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2760 (eval "$ac_try") 2>&5 2761 ac_status=$? 2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2763 (exit $ac_status); }; }; then 2764 cross_compiling=no 2765 else 2766 if test "$cross_compiling" = maybe; then 2767 cross_compiling=yes 2768 else 2769 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2770If you meant to cross compile, use \`--host'. 2771See \`config.log' for more details." >&5 2772echo "$as_me: error: cannot run C compiled programs. 2773If you meant to cross compile, use \`--host'. 2774See \`config.log' for more details." >&2;} 2775 { (exit 1); exit 1; }; } 2776 fi 2777 fi 2778fi 2779{ echo "$as_me:$LINENO: result: yes" >&5 2780echo "${ECHO_T}yes" >&6; } 2781 2782rm -f a.out a.exe conftest$ac_cv_exeext b.out 2783ac_clean_files=$ac_clean_files_save 2784# Check that the compiler produces executables we can run. If not, either 2785# the compiler is broken, or we cross compile. 2786{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2787echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2788{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2789echo "${ECHO_T}$cross_compiling" >&6; } 2790 2791{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2792echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2793if { (ac_try="$ac_link" 2794case "(($ac_try" in 2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2796 *) ac_try_echo=$ac_try;; 2797esac 2798eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2799 (eval "$ac_link") 2>&5 2800 ac_status=$? 2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2802 (exit $ac_status); }; then 2803 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2804# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2805# work properly (i.e., refer to `conftest.exe'), while it won't with 2806# `rm'. 2807for ac_file in conftest.exe conftest conftest.*; do 2808 test -f "$ac_file" || continue 2809 case $ac_file in 2810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2811 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2812 break;; 2813 * ) break;; 2814 esac 2815done 2816else 2817 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2818See \`config.log' for more details." >&5 2819echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2820See \`config.log' for more details." >&2;} 2821 { (exit 1); exit 1; }; } 2822fi 2823 2824rm -f conftest$ac_cv_exeext 2825{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2826echo "${ECHO_T}$ac_cv_exeext" >&6; } 2827 2828rm -f conftest.$ac_ext 2829EXEEXT=$ac_cv_exeext 2830ac_exeext=$EXEEXT 2831{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2832echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2833if test "${ac_cv_objext+set}" = set; then 2834 echo $ECHO_N "(cached) $ECHO_C" >&6 2835else 2836 cat >conftest.$ac_ext <<_ACEOF 2837/* confdefs.h. */ 2838_ACEOF 2839cat confdefs.h >>conftest.$ac_ext 2840cat >>conftest.$ac_ext <<_ACEOF 2841/* end confdefs.h. */ 2842 2843int 2844main () 2845{ 2846 2847 ; 2848 return 0; 2849} 2850_ACEOF 2851rm -f conftest.o conftest.obj 2852if { (ac_try="$ac_compile" 2853case "(($ac_try" in 2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2855 *) ac_try_echo=$ac_try;; 2856esac 2857eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2858 (eval "$ac_compile") 2>&5 2859 ac_status=$? 2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2861 (exit $ac_status); }; then 2862 for ac_file in conftest.o conftest.obj conftest.*; do 2863 test -f "$ac_file" || continue; 2864 case $ac_file in 2865 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2866 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2867 break;; 2868 esac 2869done 2870else 2871 echo "$as_me: failed program was:" >&5 2872sed 's/^/| /' conftest.$ac_ext >&5 2873 2874{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2875See \`config.log' for more details." >&5 2876echo "$as_me: error: cannot compute suffix of object files: cannot compile 2877See \`config.log' for more details." >&2;} 2878 { (exit 1); exit 1; }; } 2879fi 2880 2881rm -f conftest.$ac_cv_objext conftest.$ac_ext 2882fi 2883{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2884echo "${ECHO_T}$ac_cv_objext" >&6; } 2885OBJEXT=$ac_cv_objext 2886ac_objext=$OBJEXT 2887{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2888echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2889if test "${ac_cv_c_compiler_gnu+set}" = set; then 2890 echo $ECHO_N "(cached) $ECHO_C" >&6 2891else 2892 cat >conftest.$ac_ext <<_ACEOF 2893/* confdefs.h. */ 2894_ACEOF 2895cat confdefs.h >>conftest.$ac_ext 2896cat >>conftest.$ac_ext <<_ACEOF 2897/* end confdefs.h. */ 2898 2899int 2900main () 2901{ 2902#ifndef __GNUC__ 2903 choke me 2904#endif 2905 2906 ; 2907 return 0; 2908} 2909_ACEOF 2910rm -f conftest.$ac_objext 2911if { (ac_try="$ac_compile" 2912case "(($ac_try" in 2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2914 *) ac_try_echo=$ac_try;; 2915esac 2916eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2917 (eval "$ac_compile") 2>conftest.er1 2918 ac_status=$? 2919 grep -v '^ *+' conftest.er1 >conftest.err 2920 rm -f conftest.er1 2921 cat conftest.err >&5 2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2923 (exit $ac_status); } && { 2924 test -z "$ac_c_werror_flag" || 2925 test ! -s conftest.err 2926 } && test -s conftest.$ac_objext; then 2927 ac_compiler_gnu=yes 2928else 2929 echo "$as_me: failed program was:" >&5 2930sed 's/^/| /' conftest.$ac_ext >&5 2931 2932 ac_compiler_gnu=no 2933fi 2934 2935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2936ac_cv_c_compiler_gnu=$ac_compiler_gnu 2937 2938fi 2939{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2940echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2941GCC=`test $ac_compiler_gnu = yes && echo yes` 2942ac_test_CFLAGS=${CFLAGS+set} 2943ac_save_CFLAGS=$CFLAGS 2944{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2945echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2946if test "${ac_cv_prog_cc_g+set}" = set; then 2947 echo $ECHO_N "(cached) $ECHO_C" >&6 2948else 2949 ac_save_c_werror_flag=$ac_c_werror_flag 2950 ac_c_werror_flag=yes 2951 ac_cv_prog_cc_g=no 2952 CFLAGS="-g" 2953 cat >conftest.$ac_ext <<_ACEOF 2954/* confdefs.h. */ 2955_ACEOF 2956cat confdefs.h >>conftest.$ac_ext 2957cat >>conftest.$ac_ext <<_ACEOF 2958/* end confdefs.h. */ 2959 2960int 2961main () 2962{ 2963 2964 ; 2965 return 0; 2966} 2967_ACEOF 2968rm -f conftest.$ac_objext 2969if { (ac_try="$ac_compile" 2970case "(($ac_try" in 2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2972 *) ac_try_echo=$ac_try;; 2973esac 2974eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2975 (eval "$ac_compile") 2>conftest.er1 2976 ac_status=$? 2977 grep -v '^ *+' conftest.er1 >conftest.err 2978 rm -f conftest.er1 2979 cat conftest.err >&5 2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2981 (exit $ac_status); } && { 2982 test -z "$ac_c_werror_flag" || 2983 test ! -s conftest.err 2984 } && test -s conftest.$ac_objext; then 2985 ac_cv_prog_cc_g=yes 2986else 2987 echo "$as_me: failed program was:" >&5 2988sed 's/^/| /' conftest.$ac_ext >&5 2989 2990 CFLAGS="" 2991 cat >conftest.$ac_ext <<_ACEOF 2992/* confdefs.h. */ 2993_ACEOF 2994cat confdefs.h >>conftest.$ac_ext 2995cat >>conftest.$ac_ext <<_ACEOF 2996/* end confdefs.h. */ 2997 2998int 2999main () 3000{ 3001 3002 ; 3003 return 0; 3004} 3005_ACEOF 3006rm -f conftest.$ac_objext 3007if { (ac_try="$ac_compile" 3008case "(($ac_try" in 3009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3010 *) ac_try_echo=$ac_try;; 3011esac 3012eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3013 (eval "$ac_compile") 2>conftest.er1 3014 ac_status=$? 3015 grep -v '^ *+' conftest.er1 >conftest.err 3016 rm -f conftest.er1 3017 cat conftest.err >&5 3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3019 (exit $ac_status); } && { 3020 test -z "$ac_c_werror_flag" || 3021 test ! -s conftest.err 3022 } && test -s conftest.$ac_objext; then 3023 : 3024else 3025 echo "$as_me: failed program was:" >&5 3026sed 's/^/| /' conftest.$ac_ext >&5 3027 3028 ac_c_werror_flag=$ac_save_c_werror_flag 3029 CFLAGS="-g" 3030 cat >conftest.$ac_ext <<_ACEOF 3031/* confdefs.h. */ 3032_ACEOF 3033cat confdefs.h >>conftest.$ac_ext 3034cat >>conftest.$ac_ext <<_ACEOF 3035/* end confdefs.h. */ 3036 3037int 3038main () 3039{ 3040 3041 ; 3042 return 0; 3043} 3044_ACEOF 3045rm -f conftest.$ac_objext 3046if { (ac_try="$ac_compile" 3047case "(($ac_try" in 3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3049 *) ac_try_echo=$ac_try;; 3050esac 3051eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3052 (eval "$ac_compile") 2>conftest.er1 3053 ac_status=$? 3054 grep -v '^ *+' conftest.er1 >conftest.err 3055 rm -f conftest.er1 3056 cat conftest.err >&5 3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3058 (exit $ac_status); } && { 3059 test -z "$ac_c_werror_flag" || 3060 test ! -s conftest.err 3061 } && test -s conftest.$ac_objext; then 3062 ac_cv_prog_cc_g=yes 3063else 3064 echo "$as_me: failed program was:" >&5 3065sed 's/^/| /' conftest.$ac_ext >&5 3066 3067 3068fi 3069 3070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3071fi 3072 3073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3074fi 3075 3076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3077 ac_c_werror_flag=$ac_save_c_werror_flag 3078fi 3079{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3080echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3081if test "$ac_test_CFLAGS" = set; then 3082 CFLAGS=$ac_save_CFLAGS 3083elif test $ac_cv_prog_cc_g = yes; then 3084 if test "$GCC" = yes; then 3085 CFLAGS="-g -O2" 3086 else 3087 CFLAGS="-g" 3088 fi 3089else 3090 if test "$GCC" = yes; then 3091 CFLAGS="-O2" 3092 else 3093 CFLAGS= 3094 fi 3095fi 3096{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3097echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3098if test "${ac_cv_prog_cc_c89+set}" = set; then 3099 echo $ECHO_N "(cached) $ECHO_C" >&6 3100else 3101 ac_cv_prog_cc_c89=no 3102ac_save_CC=$CC 3103cat >conftest.$ac_ext <<_ACEOF 3104/* confdefs.h. */ 3105_ACEOF 3106cat confdefs.h >>conftest.$ac_ext 3107cat >>conftest.$ac_ext <<_ACEOF 3108/* end confdefs.h. */ 3109#include <stdarg.h> 3110#include <stdio.h> 3111#include <sys/types.h> 3112#include <sys/stat.h> 3113/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3114struct buf { int x; }; 3115FILE * (*rcsopen) (struct buf *, struct stat *, int); 3116static char *e (p, i) 3117 char **p; 3118 int i; 3119{ 3120 return p[i]; 3121} 3122static char *f (char * (*g) (char **, int), char **p, ...) 3123{ 3124 char *s; 3125 va_list v; 3126 va_start (v,p); 3127 s = g (p, va_arg (v,int)); 3128 va_end (v); 3129 return s; 3130} 3131 3132/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3133 function prototypes and stuff, but not '\xHH' hex character constants. 3134 These don't provoke an error unfortunately, instead are silently treated 3135 as 'x'. The following induces an error, until -std is added to get 3136 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3137 array size at least. It's necessary to write '\x00'==0 to get something 3138 that's true only with -std. */ 3139int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3140 3141/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3142 inside strings and character constants. */ 3143#define FOO(x) 'x' 3144int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3145 3146int test (int i, double x); 3147struct s1 {int (*f) (int a);}; 3148struct s2 {int (*f) (double a);}; 3149int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3150int argc; 3151char **argv; 3152int 3153main () 3154{ 3155return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3156 ; 3157 return 0; 3158} 3159_ACEOF 3160for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3161 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3162do 3163 CC="$ac_save_CC $ac_arg" 3164 rm -f conftest.$ac_objext 3165if { (ac_try="$ac_compile" 3166case "(($ac_try" in 3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3168 *) ac_try_echo=$ac_try;; 3169esac 3170eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3171 (eval "$ac_compile") 2>conftest.er1 3172 ac_status=$? 3173 grep -v '^ *+' conftest.er1 >conftest.err 3174 rm -f conftest.er1 3175 cat conftest.err >&5 3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3177 (exit $ac_status); } && { 3178 test -z "$ac_c_werror_flag" || 3179 test ! -s conftest.err 3180 } && test -s conftest.$ac_objext; then 3181 ac_cv_prog_cc_c89=$ac_arg 3182else 3183 echo "$as_me: failed program was:" >&5 3184sed 's/^/| /' conftest.$ac_ext >&5 3185 3186 3187fi 3188 3189rm -f core conftest.err conftest.$ac_objext 3190 test "x$ac_cv_prog_cc_c89" != "xno" && break 3191done 3192rm -f conftest.$ac_ext 3193CC=$ac_save_CC 3194 3195fi 3196# AC_CACHE_VAL 3197case "x$ac_cv_prog_cc_c89" in 3198 x) 3199 { echo "$as_me:$LINENO: result: none needed" >&5 3200echo "${ECHO_T}none needed" >&6; } ;; 3201 xno) 3202 { echo "$as_me:$LINENO: result: unsupported" >&5 3203echo "${ECHO_T}unsupported" >&6; } ;; 3204 *) 3205 CC="$CC $ac_cv_prog_cc_c89" 3206 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3207echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3208esac 3209 3210 3211ac_ext=c 3212ac_cpp='$CPP $CPPFLAGS' 3213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3215ac_compiler_gnu=$ac_cv_c_compiler_gnu 3216 3217depcc="$CC" am_compiler_list= 3218 3219{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3220echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3221if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3222 echo $ECHO_N "(cached) $ECHO_C" >&6 3223else 3224 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3225 # We make a subdir and do the tests there. Otherwise we can end up 3226 # making bogus files that we don't know about and never remove. For 3227 # instance it was reported that on HP-UX the gcc test will end up 3228 # making a dummy file named `D' -- because `-MD' means `put the output 3229 # in D'. 3230 mkdir conftest.dir 3231 # Copy depcomp to subdir because otherwise we won't find it if we're 3232 # using a relative directory. 3233 cp "$am_depcomp" conftest.dir 3234 cd conftest.dir 3235 # We will build objects and dependencies in a subdirectory because 3236 # it helps to detect inapplicable dependency modes. For instance 3237 # both Tru64's cc and ICC support -MD to output dependencies as a 3238 # side effect of compilation, but ICC will put the dependencies in 3239 # the current directory while Tru64 will put them in the object 3240 # directory. 3241 mkdir sub 3242 3243 am_cv_CC_dependencies_compiler_type=none 3244 if test "$am_compiler_list" = ""; then 3245 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3246 fi 3247 for depmode in $am_compiler_list; do 3248 # Setup a source with many dependencies, because some compilers 3249 # like to wrap large dependency lists on column 80 (with \), and 3250 # we should not choose a depcomp mode which is confused by this. 3251 # 3252 # We need to recreate these files for each test, as the compiler may 3253 # overwrite some of them when testing with obscure command lines. 3254 # This happens at least with the AIX C compiler. 3255 : > sub/conftest.c 3256 for i in 1 2 3 4 5 6; do 3257 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3258 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3259 # Solaris 8's {/usr,}/bin/sh. 3260 touch sub/conftst$i.h 3261 done 3262 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3263 3264 case $depmode in 3265 nosideeffect) 3266 # after this tag, mechanisms are not by side-effect, so they'll 3267 # only be used when explicitly requested 3268 if test "x$enable_dependency_tracking" = xyes; then 3269 continue 3270 else 3271 break 3272 fi 3273 ;; 3274 none) break ;; 3275 esac 3276 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3277 # mode. It turns out that the SunPro C++ compiler does not properly 3278 # handle `-M -o', and we need to detect this. 3279 if depmode=$depmode \ 3280 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3281 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3282 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3283 >/dev/null 2>conftest.err && 3284 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3285 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3286 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3287 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3288 # icc doesn't choke on unknown options, it will just issue warnings 3289 # or remarks (even with -Werror). So we grep stderr for any message 3290 # that says an option was ignored or not supported. 3291 # When given -MP, icc 7.0 and 7.1 complain thusly: 3292 # icc: Command line warning: ignoring option '-M'; no argument required 3293 # The diagnosis changed in icc 8.0: 3294 # icc: Command line remark: option '-MP' not supported 3295 if (grep 'ignoring option' conftest.err || 3296 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3297 am_cv_CC_dependencies_compiler_type=$depmode 3298 break 3299 fi 3300 fi 3301 done 3302 3303 cd .. 3304 rm -rf conftest.dir 3305else 3306 am_cv_CC_dependencies_compiler_type=none 3307fi 3308 3309fi 3310{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3311echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3312CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3313 3314 if 3315 test "x$enable_dependency_tracking" != xno \ 3316 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3317 am__fastdepCC_TRUE= 3318 am__fastdepCC_FALSE='#' 3319else 3320 am__fastdepCC_TRUE='#' 3321 am__fastdepCC_FALSE= 3322fi 3323 3324 3325 3326{ echo "$as_me:$LINENO: checking for fchown" >&5 3327echo $ECHO_N "checking for fchown... $ECHO_C" >&6; } 3328if test "${ac_cv_func_fchown+set}" = set; then 3329 echo $ECHO_N "(cached) $ECHO_C" >&6 3330else 3331 cat >conftest.$ac_ext <<_ACEOF 3332/* confdefs.h. */ 3333_ACEOF 3334cat confdefs.h >>conftest.$ac_ext 3335cat >>conftest.$ac_ext <<_ACEOF 3336/* end confdefs.h. */ 3337/* Define fchown to an innocuous variant, in case <limits.h> declares fchown. 3338 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3339#define fchown innocuous_fchown 3340 3341/* System header to define __stub macros and hopefully few prototypes, 3342 which can conflict with char fchown (); below. 3343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3344 <limits.h> exists even on freestanding compilers. */ 3345 3346#ifdef __STDC__ 3347# include <limits.h> 3348#else 3349# include <assert.h> 3350#endif 3351 3352#undef fchown 3353 3354/* Override any GCC internal prototype to avoid an error. 3355 Use char because int might match the return type of a GCC 3356 builtin and then its argument prototype would still apply. */ 3357#ifdef __cplusplus 3358extern "C" 3359#endif 3360char fchown (); 3361/* The GNU C library defines this for functions which it implements 3362 to always fail with ENOSYS. Some functions are actually named 3363 something starting with __ and the normal name is an alias. */ 3364#if defined __stub_fchown || defined __stub___fchown 3365choke me 3366#endif 3367 3368int 3369main () 3370{ 3371return fchown (); 3372 ; 3373 return 0; 3374} 3375_ACEOF 3376rm -f conftest.$ac_objext conftest$ac_exeext 3377if { (ac_try="$ac_link" 3378case "(($ac_try" in 3379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3380 *) ac_try_echo=$ac_try;; 3381esac 3382eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3383 (eval "$ac_link") 2>conftest.er1 3384 ac_status=$? 3385 grep -v '^ *+' conftest.er1 >conftest.err 3386 rm -f conftest.er1 3387 cat conftest.err >&5 3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3389 (exit $ac_status); } && { 3390 test -z "$ac_c_werror_flag" || 3391 test ! -s conftest.err 3392 } && test -s conftest$ac_exeext && 3393 $as_test_x conftest$ac_exeext; then 3394 ac_cv_func_fchown=yes 3395else 3396 echo "$as_me: failed program was:" >&5 3397sed 's/^/| /' conftest.$ac_ext >&5 3398 3399 ac_cv_func_fchown=no 3400fi 3401 3402rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3403 conftest$ac_exeext conftest.$ac_ext 3404fi 3405{ echo "$as_me:$LINENO: result: $ac_cv_func_fchown" >&5 3406echo "${ECHO_T}$ac_cv_func_fchown" >&6; } 3407if test $ac_cv_func_fchown = yes; then 3408 fchown_define="-DHAS_FCHOWN" 3409else 3410 fchown_define="" 3411fi 3412 3413 3414 3415 3416# sticky bit 3417# 3418# if any system exists without sticky dir bits this 3419# needs to be redone with a real autoconf test 3420 3421sticky_bit_define="-DHAS_STICKY_DIR_BIT" 3422 3423 3424 3425 3426 3427# Check whether --with-release-version was given. 3428if test "${with_release_version+set}" = set; then 3429 withval=$with_release_version; RELEASE_VERSION="$withval" 3430else 3431 RELEASE_VERSION="" 3432fi 3433 3434 if test "x$RELEASE_VERSION" != "x"; then 3435 PACKAGE="$PACKAGE-$RELEASE_VERSION" 3436 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 3437 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 3438echo "$as_me: Building with package name set to $PACKAGE" >&6;} 3439 fi 3440 3441cat >>confdefs.h <<_ACEOF 3442#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 3443_ACEOF 3444 3445 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 3446 if test "x$PVM" = "x"; then 3447 PVM="0" 3448 fi 3449 3450cat >>confdefs.h <<_ACEOF 3451#define PACKAGE_VERSION_MINOR $PVM 3452_ACEOF 3453 3454 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 3455 if test "x$PVP" = "x"; then 3456 PVP="0" 3457 fi 3458 3459cat >>confdefs.h <<_ACEOF 3460#define PACKAGE_VERSION_PATCHLEVEL $PVP 3461_ACEOF 3462 3463 3464 3465CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 3466mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 3467echo 'git directory not found: installing possibly empty changelog.' >&2)" 3468 3469distcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 3470 3471 3472 3473ac_config_files="$ac_config_files Makefile xtrans.pc" 3474 3475cat >confcache <<\_ACEOF 3476# This file is a shell script that caches the results of configure 3477# tests run on this system so they can be shared between configure 3478# scripts and configure runs, see configure's option --config-cache. 3479# It is not useful on other systems. If it contains results you don't 3480# want to keep, you may remove or edit it. 3481# 3482# config.status only pays attention to the cache file if you give it 3483# the --recheck option to rerun configure. 3484# 3485# `ac_cv_env_foo' variables (set or unset) will be overridden when 3486# loading this file, other *unset* `ac_cv_foo' will be assigned the 3487# following values. 3488 3489_ACEOF 3490 3491# The following way of writing the cache mishandles newlines in values, 3492# but we know of no workaround that is simple, portable, and efficient. 3493# So, we kill variables containing newlines. 3494# Ultrix sh set writes to stderr and can't be redirected directly, 3495# and sets the high bit in the cache file unless we assign to the vars. 3496( 3497 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3498 eval ac_val=\$$ac_var 3499 case $ac_val in #( 3500 *${as_nl}*) 3501 case $ac_var in #( 3502 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 3503echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 3504 esac 3505 case $ac_var in #( 3506 _ | IFS | as_nl) ;; #( 3507 *) $as_unset $ac_var ;; 3508 esac ;; 3509 esac 3510 done 3511 3512 (set) 2>&1 | 3513 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3514 *${as_nl}ac_space=\ *) 3515 # `set' does not quote correctly, so add quotes (double-quote 3516 # substitution turns \\\\ into \\, and sed turns \\ into \). 3517 sed -n \ 3518 "s/'/'\\\\''/g; 3519 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3520 ;; #( 3521 *) 3522 # `set' quotes correctly as required by POSIX, so do not add quotes. 3523 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3524 ;; 3525 esac | 3526 sort 3527) | 3528 sed ' 3529 /^ac_cv_env_/b end 3530 t clear 3531 :clear 3532 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3533 t end 3534 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3535 :end' >>confcache 3536if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3537 if test -w "$cache_file"; then 3538 test "x$cache_file" != "x/dev/null" && 3539 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 3540echo "$as_me: updating cache $cache_file" >&6;} 3541 cat confcache >$cache_file 3542 else 3543 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 3544echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3545 fi 3546fi 3547rm -f confcache 3548 3549test "x$prefix" = xNONE && prefix=$ac_default_prefix 3550# Let make expand exec_prefix. 3551test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3552 3553# Transform confdefs.h into DEFS. 3554# Protect against shell expansion while executing Makefile rules. 3555# Protect against Makefile macro expansion. 3556# 3557# If the first sed substitution is executed (which looks for macros that 3558# take arguments), then branch to the quote section. Otherwise, 3559# look for a macro that doesn't take arguments. 3560ac_script=' 3561t clear 3562:clear 3563s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3564t quote 3565s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3566t quote 3567b any 3568:quote 3569s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3570s/\[/\\&/g 3571s/\]/\\&/g 3572s/\$/$$/g 3573H 3574:any 3575${ 3576 g 3577 s/^\n// 3578 s/\n/ /g 3579 p 3580} 3581' 3582DEFS=`sed -n "$ac_script" confdefs.h` 3583 3584 3585ac_libobjs= 3586ac_ltlibobjs= 3587for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3588 # 1. Remove the extension, and $U if already installed. 3589 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3590 ac_i=`echo "$ac_i" | sed "$ac_script"` 3591 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3592 # will be set to the directory where LIBOBJS objects are built. 3593 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3594 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 3595done 3596LIBOBJS=$ac_libobjs 3597 3598LTLIBOBJS=$ac_ltlibobjs 3599 3600 3601if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 3602 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 3603Usually this means the macro was only invoked conditionally." >&5 3604echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 3605Usually this means the macro was only invoked conditionally." >&2;} 3606 { (exit 1); exit 1; }; } 3607fi 3608if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 3609 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 3610Usually this means the macro was only invoked conditionally." >&5 3611echo "$as_me: error: conditional \"AMDEP\" was never defined. 3612Usually this means the macro was only invoked conditionally." >&2;} 3613 { (exit 1); exit 1; }; } 3614fi 3615if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 3616 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 3617Usually this means the macro was only invoked conditionally." >&5 3618echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 3619Usually this means the macro was only invoked conditionally." >&2;} 3620 { (exit 1); exit 1; }; } 3621fi 3622 3623: ${CONFIG_STATUS=./config.status} 3624ac_clean_files_save=$ac_clean_files 3625ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3626{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3627echo "$as_me: creating $CONFIG_STATUS" >&6;} 3628cat >$CONFIG_STATUS <<_ACEOF 3629#! $SHELL 3630# Generated by $as_me. 3631# Run this file to recreate the current configuration. 3632# Compiler output produced by configure, useful for debugging 3633# configure, is in config.log if it exists. 3634 3635debug=false 3636ac_cs_recheck=false 3637ac_cs_silent=false 3638SHELL=\${CONFIG_SHELL-$SHELL} 3639_ACEOF 3640 3641cat >>$CONFIG_STATUS <<\_ACEOF 3642## --------------------- ## 3643## M4sh Initialization. ## 3644## --------------------- ## 3645 3646# Be more Bourne compatible 3647DUALCASE=1; export DUALCASE # for MKS sh 3648if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3649 emulate sh 3650 NULLCMD=: 3651 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3652 # is contrary to our usage. Disable this feature. 3653 alias -g '${1+"$@"}'='"$@"' 3654 setopt NO_GLOB_SUBST 3655else 3656 case `(set -o) 2>/dev/null` in 3657 *posix*) set -o posix ;; 3658esac 3659 3660fi 3661 3662 3663 3664 3665# PATH needs CR 3666# Avoid depending upon Character Ranges. 3667as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3668as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3669as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3670as_cr_digits='0123456789' 3671as_cr_alnum=$as_cr_Letters$as_cr_digits 3672 3673# The user is always right. 3674if test "${PATH_SEPARATOR+set}" != set; then 3675 echo "#! /bin/sh" >conf$$.sh 3676 echo "exit 0" >>conf$$.sh 3677 chmod +x conf$$.sh 3678 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3679 PATH_SEPARATOR=';' 3680 else 3681 PATH_SEPARATOR=: 3682 fi 3683 rm -f conf$$.sh 3684fi 3685 3686# Support unset when possible. 3687if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 3688 as_unset=unset 3689else 3690 as_unset=false 3691fi 3692 3693 3694# IFS 3695# We need space, tab and new line, in precisely that order. Quoting is 3696# there to prevent editors from complaining about space-tab. 3697# (If _AS_PATH_WALK were called with IFS unset, it would disable word 3698# splitting by setting IFS to empty value.) 3699as_nl=' 3700' 3701IFS=" "" $as_nl" 3702 3703# Find who we are. Look in the path if we contain no directory separator. 3704case $0 in 3705 *[\\/]* ) as_myself=$0 ;; 3706 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3707for as_dir in $PATH 3708do 3709 IFS=$as_save_IFS 3710 test -z "$as_dir" && as_dir=. 3711 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3712done 3713IFS=$as_save_IFS 3714 3715 ;; 3716esac 3717# We did not find ourselves, most probably we were run as `sh COMMAND' 3718# in which case we are not to be found in the path. 3719if test "x$as_myself" = x; then 3720 as_myself=$0 3721fi 3722if test ! -f "$as_myself"; then 3723 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3724 { (exit 1); exit 1; } 3725fi 3726 3727# Work around bugs in pre-3.0 UWIN ksh. 3728for as_var in ENV MAIL MAILPATH 3729do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3730done 3731PS1='$ ' 3732PS2='> ' 3733PS4='+ ' 3734 3735# NLS nuisances. 3736for as_var in \ 3737 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3738 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3739 LC_TELEPHONE LC_TIME 3740do 3741 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3742 eval $as_var=C; export $as_var 3743 else 3744 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3745 fi 3746done 3747 3748# Required to use basename. 3749if expr a : '\(a\)' >/dev/null 2>&1 && 3750 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3751 as_expr=expr 3752else 3753 as_expr=false 3754fi 3755 3756if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3757 as_basename=basename 3758else 3759 as_basename=false 3760fi 3761 3762 3763# Name of the executable. 3764as_me=`$as_basename -- "$0" || 3765$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3766 X"$0" : 'X\(//\)$' \| \ 3767 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3768echo X/"$0" | 3769 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3770 s//\1/ 3771 q 3772 } 3773 /^X\/\(\/\/\)$/{ 3774 s//\1/ 3775 q 3776 } 3777 /^X\/\(\/\).*/{ 3778 s//\1/ 3779 q 3780 } 3781 s/.*/./; q'` 3782 3783# CDPATH. 3784$as_unset CDPATH 3785 3786 3787 3788 as_lineno_1=$LINENO 3789 as_lineno_2=$LINENO 3790 test "x$as_lineno_1" != "x$as_lineno_2" && 3791 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 3792 3793 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3794 # uniformly replaced by the line number. The first 'sed' inserts a 3795 # line-number line after each line using $LINENO; the second 'sed' 3796 # does the real work. The second script uses 'N' to pair each 3797 # line-number line with the line containing $LINENO, and appends 3798 # trailing '-' during substitution so that $LINENO is not a special 3799 # case at line end. 3800 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3801 # scripts with optimization help from Paolo Bonzini. Blame Lee 3802 # E. McMahon (1931-1989) for sed's syntax. :-) 3803 sed -n ' 3804 p 3805 /[$]LINENO/= 3806 ' <$as_myself | 3807 sed ' 3808 s/[$]LINENO.*/&-/ 3809 t lineno 3810 b 3811 :lineno 3812 N 3813 :loop 3814 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 3815 t loop 3816 s/-\n.*// 3817 ' >$as_me.lineno && 3818 chmod +x "$as_me.lineno" || 3819 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 3820 { (exit 1); exit 1; }; } 3821 3822 # Don't try to exec as it changes $[0], causing all sort of problems 3823 # (the dirname of $[0] is not the place where we might find the 3824 # original and so on. Autoconf is especially sensitive to this). 3825 . "./$as_me.lineno" 3826 # Exit status is that of the last command. 3827 exit 3828} 3829 3830 3831if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3832 as_dirname=dirname 3833else 3834 as_dirname=false 3835fi 3836 3837ECHO_C= ECHO_N= ECHO_T= 3838case `echo -n x` in 3839-n*) 3840 case `echo 'x\c'` in 3841 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3842 *) ECHO_C='\c';; 3843 esac;; 3844*) 3845 ECHO_N='-n';; 3846esac 3847 3848if expr a : '\(a\)' >/dev/null 2>&1 && 3849 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3850 as_expr=expr 3851else 3852 as_expr=false 3853fi 3854 3855rm -f conf$$ conf$$.exe conf$$.file 3856if test -d conf$$.dir; then 3857 rm -f conf$$.dir/conf$$.file 3858else 3859 rm -f conf$$.dir 3860 mkdir conf$$.dir 3861fi 3862echo >conf$$.file 3863if ln -s conf$$.file conf$$ 2>/dev/null; then 3864 as_ln_s='ln -s' 3865 # ... but there are two gotchas: 3866 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3867 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3868 # In both cases, we have to default to `cp -p'. 3869 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3870 as_ln_s='cp -p' 3871elif ln conf$$.file conf$$ 2>/dev/null; then 3872 as_ln_s=ln 3873else 3874 as_ln_s='cp -p' 3875fi 3876rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3877rmdir conf$$.dir 2>/dev/null 3878 3879if mkdir -p . 2>/dev/null; then 3880 as_mkdir_p=: 3881else 3882 test -d ./-p && rmdir ./-p 3883 as_mkdir_p=false 3884fi 3885 3886if test -x / >/dev/null 2>&1; then 3887 as_test_x='test -x' 3888else 3889 if ls -dL / >/dev/null 2>&1; then 3890 as_ls_L_option=L 3891 else 3892 as_ls_L_option= 3893 fi 3894 as_test_x=' 3895 eval sh -c '\'' 3896 if test -d "$1"; then 3897 test -d "$1/."; 3898 else 3899 case $1 in 3900 -*)set "./$1";; 3901 esac; 3902 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 3903 ???[sx]*):;;*)false;;esac;fi 3904 '\'' sh 3905 ' 3906fi 3907as_executable_p=$as_test_x 3908 3909# Sed expression to map a string onto a valid CPP name. 3910as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3911 3912# Sed expression to map a string onto a valid variable name. 3913as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3914 3915 3916exec 6>&1 3917 3918# Save the log message, to keep $[0] and so on meaningful, and to 3919# report actual input values of CONFIG_FILES etc. instead of their 3920# values after options handling. 3921ac_log=" 3922This file was extended by xtrans $as_me 1.2.3, which was 3923generated by GNU Autoconf 2.61. Invocation command line was 3924 3925 CONFIG_FILES = $CONFIG_FILES 3926 CONFIG_HEADERS = $CONFIG_HEADERS 3927 CONFIG_LINKS = $CONFIG_LINKS 3928 CONFIG_COMMANDS = $CONFIG_COMMANDS 3929 $ $0 $@ 3930 3931on `(hostname || uname -n) 2>/dev/null | sed 1q` 3932" 3933 3934_ACEOF 3935 3936cat >>$CONFIG_STATUS <<_ACEOF 3937# Files that config.status was made for. 3938config_files="$ac_config_files" 3939config_commands="$ac_config_commands" 3940 3941_ACEOF 3942 3943cat >>$CONFIG_STATUS <<\_ACEOF 3944ac_cs_usage="\ 3945\`$as_me' instantiates files from templates according to the 3946current configuration. 3947 3948Usage: $0 [OPTIONS] [FILE]... 3949 3950 -h, --help print this help, then exit 3951 -V, --version print version number and configuration settings, then exit 3952 -q, --quiet do not print progress messages 3953 -d, --debug don't remove temporary files 3954 --recheck update $as_me by reconfiguring in the same conditions 3955 --file=FILE[:TEMPLATE] 3956 instantiate the configuration file FILE 3957 3958Configuration files: 3959$config_files 3960 3961Configuration commands: 3962$config_commands 3963 3964Report bugs to <bug-autoconf@gnu.org>." 3965 3966_ACEOF 3967cat >>$CONFIG_STATUS <<_ACEOF 3968ac_cs_version="\\ 3969xtrans config.status 1.2.3 3970configured by $0, generated by GNU Autoconf 2.61, 3971 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 3972 3973Copyright (C) 2006 Free Software Foundation, Inc. 3974This config.status script is free software; the Free Software Foundation 3975gives unlimited permission to copy, distribute and modify it." 3976 3977ac_pwd='$ac_pwd' 3978srcdir='$srcdir' 3979INSTALL='$INSTALL' 3980MKDIR_P='$MKDIR_P' 3981_ACEOF 3982 3983cat >>$CONFIG_STATUS <<\_ACEOF 3984# If no file are specified by the user, then we need to provide default 3985# value. By we need to know if files were specified by the user. 3986ac_need_defaults=: 3987while test $# != 0 3988do 3989 case $1 in 3990 --*=*) 3991 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3992 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3993 ac_shift=: 3994 ;; 3995 *) 3996 ac_option=$1 3997 ac_optarg=$2 3998 ac_shift=shift 3999 ;; 4000 esac 4001 4002 case $ac_option in 4003 # Handling of the options. 4004 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4005 ac_cs_recheck=: ;; 4006 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4007 echo "$ac_cs_version"; exit ;; 4008 --debug | --debu | --deb | --de | --d | -d ) 4009 debug=: ;; 4010 --file | --fil | --fi | --f ) 4011 $ac_shift 4012 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4013 ac_need_defaults=false;; 4014 --he | --h | --help | --hel | -h ) 4015 echo "$ac_cs_usage"; exit ;; 4016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4017 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4018 ac_cs_silent=: ;; 4019 4020 # This is an error. 4021 -*) { echo "$as_me: error: unrecognized option: $1 4022Try \`$0 --help' for more information." >&2 4023 { (exit 1); exit 1; }; } ;; 4024 4025 *) ac_config_targets="$ac_config_targets $1" 4026 ac_need_defaults=false ;; 4027 4028 esac 4029 shift 4030done 4031 4032ac_configure_extra_args= 4033 4034if $ac_cs_silent; then 4035 exec 6>/dev/null 4036 ac_configure_extra_args="$ac_configure_extra_args --silent" 4037fi 4038 4039_ACEOF 4040cat >>$CONFIG_STATUS <<_ACEOF 4041if \$ac_cs_recheck; then 4042 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4043 CONFIG_SHELL=$SHELL 4044 export CONFIG_SHELL 4045 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4046fi 4047 4048_ACEOF 4049cat >>$CONFIG_STATUS <<\_ACEOF 4050exec 5>>config.log 4051{ 4052 echo 4053 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4054## Running $as_me. ## 4055_ASBOX 4056 echo "$ac_log" 4057} >&5 4058 4059_ACEOF 4060cat >>$CONFIG_STATUS <<_ACEOF 4061# 4062# INIT-COMMANDS 4063# 4064AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 4065 4066_ACEOF 4067 4068cat >>$CONFIG_STATUS <<\_ACEOF 4069 4070# Handling of arguments. 4071for ac_config_target in $ac_config_targets 4072do 4073 case $ac_config_target in 4074 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 4075 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4076 "xtrans.pc") CONFIG_FILES="$CONFIG_FILES xtrans.pc" ;; 4077 4078 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4079echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4080 { (exit 1); exit 1; }; };; 4081 esac 4082done 4083 4084 4085# If the user did not use the arguments to specify the items to instantiate, 4086# then the envvar interface is used. Set only those that are not. 4087# We use the long form for the default assignment because of an extremely 4088# bizarre bug on SunOS 4.1.3. 4089if $ac_need_defaults; then 4090 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4091 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4092fi 4093 4094# Have a temporary directory for convenience. Make it in the build tree 4095# simply because there is no reason against having it here, and in addition, 4096# creating and moving files from /tmp can sometimes cause problems. 4097# Hook for its removal unless debugging. 4098# Note that there is a small window in which the directory will not be cleaned: 4099# after its creation but before its name has been assigned to `$tmp'. 4100$debug || 4101{ 4102 tmp= 4103 trap 'exit_status=$? 4104 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 4105' 0 4106 trap '{ (exit 1); exit 1; }' 1 2 13 15 4107} 4108# Create a (secure) tmp directory for tmp files. 4109 4110{ 4111 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4112 test -n "$tmp" && test -d "$tmp" 4113} || 4114{ 4115 tmp=./conf$$-$RANDOM 4116 (umask 077 && mkdir "$tmp") 4117} || 4118{ 4119 echo "$me: cannot create a temporary directory in ." >&2 4120 { (exit 1); exit 1; } 4121} 4122 4123# 4124# Set up the sed scripts for CONFIG_FILES section. 4125# 4126 4127# No need to generate the scripts if there are no CONFIG_FILES. 4128# This happens for instance when ./config.status config.h 4129if test -n "$CONFIG_FILES"; then 4130 4131_ACEOF 4132 4133 4134 4135ac_delim='%!_!# ' 4136for ac_last_try in false false false false false :; do 4137 cat >conf$$subs.sed <<_ACEOF 4138SHELL!$SHELL$ac_delim 4139PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 4140PACKAGE_NAME!$PACKAGE_NAME$ac_delim 4141PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 4142PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 4143PACKAGE_STRING!$PACKAGE_STRING$ac_delim 4144PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 4145exec_prefix!$exec_prefix$ac_delim 4146prefix!$prefix$ac_delim 4147program_transform_name!$program_transform_name$ac_delim 4148bindir!$bindir$ac_delim 4149sbindir!$sbindir$ac_delim 4150libexecdir!$libexecdir$ac_delim 4151datarootdir!$datarootdir$ac_delim 4152datadir!$datadir$ac_delim 4153sysconfdir!$sysconfdir$ac_delim 4154sharedstatedir!$sharedstatedir$ac_delim 4155localstatedir!$localstatedir$ac_delim 4156includedir!$includedir$ac_delim 4157oldincludedir!$oldincludedir$ac_delim 4158docdir!$docdir$ac_delim 4159infodir!$infodir$ac_delim 4160htmldir!$htmldir$ac_delim 4161dvidir!$dvidir$ac_delim 4162pdfdir!$pdfdir$ac_delim 4163psdir!$psdir$ac_delim 4164libdir!$libdir$ac_delim 4165localedir!$localedir$ac_delim 4166mandir!$mandir$ac_delim 4167DEFS!$DEFS$ac_delim 4168ECHO_C!$ECHO_C$ac_delim 4169ECHO_N!$ECHO_N$ac_delim 4170ECHO_T!$ECHO_T$ac_delim 4171LIBS!$LIBS$ac_delim 4172build_alias!$build_alias$ac_delim 4173host_alias!$host_alias$ac_delim 4174target_alias!$target_alias$ac_delim 4175INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 4176INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 4177INSTALL_DATA!$INSTALL_DATA$ac_delim 4178am__isrc!$am__isrc$ac_delim 4179CYGPATH_W!$CYGPATH_W$ac_delim 4180PACKAGE!$PACKAGE$ac_delim 4181VERSION!$VERSION$ac_delim 4182ACLOCAL!$ACLOCAL$ac_delim 4183AUTOCONF!$AUTOCONF$ac_delim 4184AUTOMAKE!$AUTOMAKE$ac_delim 4185AUTOHEADER!$AUTOHEADER$ac_delim 4186MAKEINFO!$MAKEINFO$ac_delim 4187install_sh!$install_sh$ac_delim 4188STRIP!$STRIP$ac_delim 4189INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 4190mkdir_p!$mkdir_p$ac_delim 4191AWK!$AWK$ac_delim 4192SET_MAKE!$SET_MAKE$ac_delim 4193am__leading_dot!$am__leading_dot$ac_delim 4194AMTAR!$AMTAR$ac_delim 4195am__tar!$am__tar$ac_delim 4196am__untar!$am__untar$ac_delim 4197MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 4198MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 4199MAINT!$MAINT$ac_delim 4200CC!$CC$ac_delim 4201CFLAGS!$CFLAGS$ac_delim 4202LDFLAGS!$LDFLAGS$ac_delim 4203CPPFLAGS!$CPPFLAGS$ac_delim 4204ac_ct_CC!$ac_ct_CC$ac_delim 4205EXEEXT!$EXEEXT$ac_delim 4206OBJEXT!$OBJEXT$ac_delim 4207DEPDIR!$DEPDIR$ac_delim 4208am__include!$am__include$ac_delim 4209am__quote!$am__quote$ac_delim 4210AMDEP_TRUE!$AMDEP_TRUE$ac_delim 4211AMDEP_FALSE!$AMDEP_FALSE$ac_delim 4212AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 4213CCDEPMODE!$CCDEPMODE$ac_delim 4214am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 4215am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 4216fchown_define!$fchown_define$ac_delim 4217sticky_bit_define!$sticky_bit_define$ac_delim 4218CHANGELOG_CMD!$CHANGELOG_CMD$ac_delim 4219distcleancheck_listfiles!$distcleancheck_listfiles$ac_delim 4220LIBOBJS!$LIBOBJS$ac_delim 4221LTLIBOBJS!$LTLIBOBJS$ac_delim 4222_ACEOF 4223 4224 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then 4225 break 4226 elif $ac_last_try; then 4227 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 4228echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 4229 { (exit 1); exit 1; }; } 4230 else 4231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4232 fi 4233done 4234 4235ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4236if test -n "$ac_eof"; then 4237 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4238 ac_eof=`expr $ac_eof + 1` 4239fi 4240 4241cat >>$CONFIG_STATUS <<_ACEOF 4242cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 4243/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 4244_ACEOF 4245sed ' 4246s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4247s/^/s,@/; s/!/@,|#_!!_#|/ 4248:n 4249t n 4250s/'"$ac_delim"'$/,g/; t 4251s/$/\\/; p 4252N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4253' >>$CONFIG_STATUS <conf$$subs.sed 4254rm -f conf$$subs.sed 4255cat >>$CONFIG_STATUS <<_ACEOF 4256:end 4257s/|#_!!_#|//g 4258CEOF$ac_eof 4259_ACEOF 4260 4261 4262# VPATH may cause trouble with some makes, so we remove $(srcdir), 4263# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4264# trailing colons and then remove the whole line if VPATH becomes empty 4265# (actually we leave an empty line to preserve line numbers). 4266if test "x$srcdir" = x.; then 4267 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4268s/:*\$(srcdir):*/:/ 4269s/:*\${srcdir}:*/:/ 4270s/:*@srcdir@:*/:/ 4271s/^\([^=]*=[ ]*\):*/\1/ 4272s/:*$// 4273s/^[^=]*=[ ]*$// 4274}' 4275fi 4276 4277cat >>$CONFIG_STATUS <<\_ACEOF 4278fi # test -n "$CONFIG_FILES" 4279 4280 4281for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS 4282do 4283 case $ac_tag in 4284 :[FHLC]) ac_mode=$ac_tag; continue;; 4285 esac 4286 case $ac_mode$ac_tag in 4287 :[FHL]*:*);; 4288 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 4289echo "$as_me: error: Invalid tag $ac_tag." >&2;} 4290 { (exit 1); exit 1; }; };; 4291 :[FH]-) ac_tag=-:-;; 4292 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4293 esac 4294 ac_save_IFS=$IFS 4295 IFS=: 4296 set x $ac_tag 4297 IFS=$ac_save_IFS 4298 shift 4299 ac_file=$1 4300 shift 4301 4302 case $ac_mode in 4303 :L) ac_source=$1;; 4304 :[FH]) 4305 ac_file_inputs= 4306 for ac_f 4307 do 4308 case $ac_f in 4309 -) ac_f="$tmp/stdin";; 4310 *) # Look for the file first in the build tree, then in the source tree 4311 # (if the path is not absolute). The absolute path cannot be DOS-style, 4312 # because $ac_f cannot contain `:'. 4313 test -f "$ac_f" || 4314 case $ac_f in 4315 [\\/$]*) false;; 4316 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4317 esac || 4318 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 4319echo "$as_me: error: cannot find input file: $ac_f" >&2;} 4320 { (exit 1); exit 1; }; };; 4321 esac 4322 ac_file_inputs="$ac_file_inputs $ac_f" 4323 done 4324 4325 # Let's still pretend it is `configure' which instantiates (i.e., don't 4326 # use $as_me), people would be surprised to read: 4327 # /* config.h. Generated by config.status. */ 4328 configure_input="Generated from "`IFS=: 4329 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 4330 if test x"$ac_file" != x-; then 4331 configure_input="$ac_file. $configure_input" 4332 { echo "$as_me:$LINENO: creating $ac_file" >&5 4333echo "$as_me: creating $ac_file" >&6;} 4334 fi 4335 4336 case $ac_tag in 4337 *:-:* | *:-) cat >"$tmp/stdin";; 4338 esac 4339 ;; 4340 esac 4341 4342 ac_dir=`$as_dirname -- "$ac_file" || 4343$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4344 X"$ac_file" : 'X\(//\)[^/]' \| \ 4345 X"$ac_file" : 'X\(//\)$' \| \ 4346 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4347echo X"$ac_file" | 4348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4349 s//\1/ 4350 q 4351 } 4352 /^X\(\/\/\)[^/].*/{ 4353 s//\1/ 4354 q 4355 } 4356 /^X\(\/\/\)$/{ 4357 s//\1/ 4358 q 4359 } 4360 /^X\(\/\).*/{ 4361 s//\1/ 4362 q 4363 } 4364 s/.*/./; q'` 4365 { as_dir="$ac_dir" 4366 case $as_dir in #( 4367 -*) as_dir=./$as_dir;; 4368 esac 4369 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 4370 as_dirs= 4371 while :; do 4372 case $as_dir in #( 4373 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 4374 *) as_qdir=$as_dir;; 4375 esac 4376 as_dirs="'$as_qdir' $as_dirs" 4377 as_dir=`$as_dirname -- "$as_dir" || 4378$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4379 X"$as_dir" : 'X\(//\)[^/]' \| \ 4380 X"$as_dir" : 'X\(//\)$' \| \ 4381 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4382echo X"$as_dir" | 4383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4384 s//\1/ 4385 q 4386 } 4387 /^X\(\/\/\)[^/].*/{ 4388 s//\1/ 4389 q 4390 } 4391 /^X\(\/\/\)$/{ 4392 s//\1/ 4393 q 4394 } 4395 /^X\(\/\).*/{ 4396 s//\1/ 4397 q 4398 } 4399 s/.*/./; q'` 4400 test -d "$as_dir" && break 4401 done 4402 test -z "$as_dirs" || eval "mkdir $as_dirs" 4403 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 4404echo "$as_me: error: cannot create directory $as_dir" >&2;} 4405 { (exit 1); exit 1; }; }; } 4406 ac_builddir=. 4407 4408case "$ac_dir" in 4409.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4410*) 4411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4412 # A ".." for each directory in $ac_dir_suffix. 4413 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 4414 case $ac_top_builddir_sub in 4415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4417 esac ;; 4418esac 4419ac_abs_top_builddir=$ac_pwd 4420ac_abs_builddir=$ac_pwd$ac_dir_suffix 4421# for backward compatibility: 4422ac_top_builddir=$ac_top_build_prefix 4423 4424case $srcdir in 4425 .) # We are building in place. 4426 ac_srcdir=. 4427 ac_top_srcdir=$ac_top_builddir_sub 4428 ac_abs_top_srcdir=$ac_pwd ;; 4429 [\\/]* | ?:[\\/]* ) # Absolute name. 4430 ac_srcdir=$srcdir$ac_dir_suffix; 4431 ac_top_srcdir=$srcdir 4432 ac_abs_top_srcdir=$srcdir ;; 4433 *) # Relative name. 4434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4435 ac_top_srcdir=$ac_top_build_prefix$srcdir 4436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4437esac 4438ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4439 4440 4441 case $ac_mode in 4442 :F) 4443 # 4444 # CONFIG_FILE 4445 # 4446 4447 case $INSTALL in 4448 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4449 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4450 esac 4451 ac_MKDIR_P=$MKDIR_P 4452 case $MKDIR_P in 4453 [\\/$]* | ?:[\\/]* ) ;; 4454 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 4455 esac 4456_ACEOF 4457 4458cat >>$CONFIG_STATUS <<\_ACEOF 4459# If the template does not know about datarootdir, expand it. 4460# FIXME: This hack should be removed a few years after 2.60. 4461ac_datarootdir_hack=; ac_datarootdir_seen= 4462 4463case `sed -n '/datarootdir/ { 4464 p 4465 q 4466} 4467/@datadir@/p 4468/@docdir@/p 4469/@infodir@/p 4470/@localedir@/p 4471/@mandir@/p 4472' $ac_file_inputs` in 4473*datarootdir*) ac_datarootdir_seen=yes;; 4474*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4475 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4476echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4477_ACEOF 4478cat >>$CONFIG_STATUS <<_ACEOF 4479 ac_datarootdir_hack=' 4480 s&@datadir@&$datadir&g 4481 s&@docdir@&$docdir&g 4482 s&@infodir@&$infodir&g 4483 s&@localedir@&$localedir&g 4484 s&@mandir@&$mandir&g 4485 s&\\\${datarootdir}&$datarootdir&g' ;; 4486esac 4487_ACEOF 4488 4489# Neutralize VPATH when `$srcdir' = `.'. 4490# Shell code in configure.ac might set extrasub. 4491# FIXME: do we really want to maintain this feature? 4492cat >>$CONFIG_STATUS <<_ACEOF 4493 sed "$ac_vpsub 4494$extrasub 4495_ACEOF 4496cat >>$CONFIG_STATUS <<\_ACEOF 4497:t 4498/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4499s&@configure_input@&$configure_input&;t t 4500s&@top_builddir@&$ac_top_builddir_sub&;t t 4501s&@srcdir@&$ac_srcdir&;t t 4502s&@abs_srcdir@&$ac_abs_srcdir&;t t 4503s&@top_srcdir@&$ac_top_srcdir&;t t 4504s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4505s&@builddir@&$ac_builddir&;t t 4506s&@abs_builddir@&$ac_abs_builddir&;t t 4507s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4508s&@INSTALL@&$ac_INSTALL&;t t 4509s&@MKDIR_P@&$ac_MKDIR_P&;t t 4510$ac_datarootdir_hack 4511" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 4512 4513test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4514 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 4515 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 4516 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4517which seems to be undefined. Please make sure it is defined." >&5 4518echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4519which seems to be undefined. Please make sure it is defined." >&2;} 4520 4521 rm -f "$tmp/stdin" 4522 case $ac_file in 4523 -) cat "$tmp/out"; rm -f "$tmp/out";; 4524 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 4525 esac 4526 ;; 4527 4528 4529 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 4530echo "$as_me: executing $ac_file commands" >&6;} 4531 ;; 4532 esac 4533 4534 4535 case $ac_file$ac_mode in 4536 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 4537 # Strip MF so we end up with the name of the file. 4538 mf=`echo "$mf" | sed -e 's/:.*$//'` 4539 # Check whether this is an Automake generated Makefile or not. 4540 # We used to match only the files named `Makefile.in', but 4541 # some people rename them; so instead we look at the file content. 4542 # Grep'ing the first line is not enough: some people post-process 4543 # each Makefile.in and add a new line on top of each file to say so. 4544 # Grep'ing the whole file is not good either: AIX grep has a line 4545 # limit of 2048, but all sed's we know have understand at least 4000. 4546 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then 4547 dirpart=`$as_dirname -- "$mf" || 4548$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4549 X"$mf" : 'X\(//\)[^/]' \| \ 4550 X"$mf" : 'X\(//\)$' \| \ 4551 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 4552echo X"$mf" | 4553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4554 s//\1/ 4555 q 4556 } 4557 /^X\(\/\/\)[^/].*/{ 4558 s//\1/ 4559 q 4560 } 4561 /^X\(\/\/\)$/{ 4562 s//\1/ 4563 q 4564 } 4565 /^X\(\/\).*/{ 4566 s//\1/ 4567 q 4568 } 4569 s/.*/./; q'` 4570 else 4571 continue 4572 fi 4573 # Extract the definition of DEPDIR, am__include, and am__quote 4574 # from the Makefile without running `make'. 4575 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 4576 test -z "$DEPDIR" && continue 4577 am__include=`sed -n 's/^am__include = //p' < "$mf"` 4578 test -z "am__include" && continue 4579 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 4580 # When using ansi2knr, U may be empty or an underscore; expand it 4581 U=`sed -n 's/^U = //p' < "$mf"` 4582 # Find all dependency output files, they are included files with 4583 # $(DEPDIR) in their names. We invoke sed twice because it is the 4584 # simplest approach to changing $(DEPDIR) to its actual value in the 4585 # expansion. 4586 for file in `sed -n " 4587 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 4588 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 4589 # Make sure the directory exists. 4590 test -f "$dirpart/$file" && continue 4591 fdir=`$as_dirname -- "$file" || 4592$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4593 X"$file" : 'X\(//\)[^/]' \| \ 4594 X"$file" : 'X\(//\)$' \| \ 4595 X"$file" : 'X\(/\)' \| . 2>/dev/null || 4596echo X"$file" | 4597 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4598 s//\1/ 4599 q 4600 } 4601 /^X\(\/\/\)[^/].*/{ 4602 s//\1/ 4603 q 4604 } 4605 /^X\(\/\/\)$/{ 4606 s//\1/ 4607 q 4608 } 4609 /^X\(\/\).*/{ 4610 s//\1/ 4611 q 4612 } 4613 s/.*/./; q'` 4614 { as_dir=$dirpart/$fdir 4615 case $as_dir in #( 4616 -*) as_dir=./$as_dir;; 4617 esac 4618 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 4619 as_dirs= 4620 while :; do 4621 case $as_dir in #( 4622 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 4623 *) as_qdir=$as_dir;; 4624 esac 4625 as_dirs="'$as_qdir' $as_dirs" 4626 as_dir=`$as_dirname -- "$as_dir" || 4627$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4628 X"$as_dir" : 'X\(//\)[^/]' \| \ 4629 X"$as_dir" : 'X\(//\)$' \| \ 4630 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4631echo X"$as_dir" | 4632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4633 s//\1/ 4634 q 4635 } 4636 /^X\(\/\/\)[^/].*/{ 4637 s//\1/ 4638 q 4639 } 4640 /^X\(\/\/\)$/{ 4641 s//\1/ 4642 q 4643 } 4644 /^X\(\/\).*/{ 4645 s//\1/ 4646 q 4647 } 4648 s/.*/./; q'` 4649 test -d "$as_dir" && break 4650 done 4651 test -z "$as_dirs" || eval "mkdir $as_dirs" 4652 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 4653echo "$as_me: error: cannot create directory $as_dir" >&2;} 4654 { (exit 1); exit 1; }; }; } 4655 # echo "creating $dirpart/$file" 4656 echo '# dummy' > "$dirpart/$file" 4657 done 4658done 4659 ;; 4660 4661 esac 4662done # for ac_tag 4663 4664 4665{ (exit 0); exit 0; } 4666_ACEOF 4667chmod +x $CONFIG_STATUS 4668ac_clean_files=$ac_clean_files_save 4669 4670 4671# configure is writing to config.log, and then calls config.status. 4672# config.status does its own redirection, appending to config.log. 4673# Unfortunately, on DOS this fails, as config.log is still kept open 4674# by configure, so config.status won't be able to write to it; its 4675# output is simply discarded. So we exec the FD to /dev/null, 4676# effectively closing config.log, so it can be properly (re)opened and 4677# appended to by config.status. When coming back to configure, we 4678# need to make the FD available again. 4679if test "$no_create" != yes; then 4680 ac_cs_success=: 4681 ac_config_status_args= 4682 test "$silent" = yes && 4683 ac_config_status_args="$ac_config_status_args --quiet" 4684 exec 5>/dev/null 4685 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4686 exec 5>>config.log 4687 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4688 # would make configure fail if this is the last instruction. 4689 $ac_cs_success || { (exit 1); exit 1; } 4690fi 4691 4692