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