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