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