configure revision bf4a254e
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.65 for xinit 1.2.1. 4# 5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 10# Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97for as_dir in $PATH 98do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103IFS=$as_save_IFS 104 105 ;; 106esac 107# We did not find ourselves, most probably we were run as `sh COMMAND' 108# in which case we are not to be found in the path. 109if test "x$as_myself" = x; then 110 as_myself=$0 111fi 112if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115fi 116 117# Unset variables that we do not need and which cause bugs (e.g. in 118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119# suppresses any "Segmentation fault" message there. '((' could 120# trigger a bug in pdksh 5.2.14. 121for as_var in BASH_ENV ENV MAIL MAILPATH 122do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124done 125PS1='$ ' 126PS2='> ' 127PS4='+ ' 128 129# NLS nuisances. 130LC_ALL=C 131export LC_ALL 132LANGUAGE=C 133export LANGUAGE 134 135# CDPATH. 136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152esac 153fi 154" 155 as_required="as_fn_return () { (exit \$1); } 156as_fn_success () { as_fn_return 0; } 157as_fn_failure () { as_fn_return 1; } 158as_fn_ret_success () { return 0; } 159as_fn_ret_failure () { return 1; } 160 161exitcode=0 162as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168else 169 exitcode=1; echo positional parameters were not saved. 170fi 171test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179else 180 as_have_required=no 181fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186as_found=false 187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 188do 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202fi 203fi 204 done;; 205 esac 206 as_found=false 207done 208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211fi; } 212IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224fi 225 226 if test x$as_have_required = xno; then : 227 $as_echo "$0: This script requires a shell more modern than all" 228 $as_echo "$0: the shells that I found on your system." 229 if test x${ZSH_VERSION+set} = xset ; then 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 232 else 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and 234$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 235$0: about your system, including any error possibly output 236$0: before this message. Then install a modern shell, or 237$0: manually run the script under such a shell if you do 238$0: have one." 239 fi 240 exit 1 241fi 242fi 243fi 244SHELL=${CONFIG_SHELL-/bin/sh} 245export SHELL 246# Unset more variables known to interfere with behavior of common tools. 247CLICOLOR_FORCE= GREP_OPTIONS= 248unset CLICOLOR_FORCE GREP_OPTIONS 249 250## --------------------- ## 251## M4sh Shell Functions. ## 252## --------------------- ## 253# as_fn_unset VAR 254# --------------- 255# Portably unset VAR. 256as_fn_unset () 257{ 258 { eval $1=; unset $1;} 259} 260as_unset=as_fn_unset 261 262# as_fn_set_status STATUS 263# ----------------------- 264# Set $? to STATUS, without forking. 265as_fn_set_status () 266{ 267 return $1 268} # as_fn_set_status 269 270# as_fn_exit STATUS 271# ----------------- 272# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 273as_fn_exit () 274{ 275 set +e 276 as_fn_set_status $1 277 exit $1 278} # as_fn_exit 279 280# as_fn_mkdir_p 281# ------------- 282# Create "$as_dir" as a directory, including parents if necessary. 283as_fn_mkdir_p () 284{ 285 286 case $as_dir in #( 287 -*) as_dir=./$as_dir;; 288 esac 289 test -d "$as_dir" || eval $as_mkdir_p || { 290 as_dirs= 291 while :; do 292 case $as_dir in #( 293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 294 *) as_qdir=$as_dir;; 295 esac 296 as_dirs="'$as_qdir' $as_dirs" 297 as_dir=`$as_dirname -- "$as_dir" || 298$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 299 X"$as_dir" : 'X\(//\)[^/]' \| \ 300 X"$as_dir" : 'X\(//\)$' \| \ 301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 302$as_echo X"$as_dir" | 303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)[^/].*/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\/\)$/{ 312 s//\1/ 313 q 314 } 315 /^X\(\/\).*/{ 316 s//\1/ 317 q 318 } 319 s/.*/./; q'` 320 test -d "$as_dir" && break 321 done 322 test -z "$as_dirs" || eval "mkdir $as_dirs" 323 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 324 325 326} # as_fn_mkdir_p 327# as_fn_append VAR VALUE 328# ---------------------- 329# Append the text in VALUE to the end of the definition contained in VAR. Take 330# advantage of any shell optimizations that allow amortized linear growth over 331# repeated appends, instead of the typical quadratic growth present in naive 332# implementations. 333if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 334 eval 'as_fn_append () 335 { 336 eval $1+=\$2 337 }' 338else 339 as_fn_append () 340 { 341 eval $1=\$$1\$2 342 } 343fi # as_fn_append 344 345# as_fn_arith ARG... 346# ------------------ 347# Perform arithmetic evaluation on the ARGs, and store the result in the 348# global $as_val. Take advantage of shells that can avoid forks. The arguments 349# must be portable across $(()) and expr. 350if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 351 eval 'as_fn_arith () 352 { 353 as_val=$(( $* )) 354 }' 355else 356 as_fn_arith () 357 { 358 as_val=`expr "$@" || test $? -eq 1` 359 } 360fi # as_fn_arith 361 362 363# as_fn_error ERROR [LINENO LOG_FD] 364# --------------------------------- 365# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 366# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 367# script with status $?, using 1 if that was 0. 368as_fn_error () 369{ 370 as_status=$?; test $as_status -eq 0 && as_status=1 371 if test "$3"; then 372 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 374 fi 375 $as_echo "$as_me: error: $1" >&2 376 as_fn_exit $as_status 377} # as_fn_error 378 379if expr a : '\(a\)' >/dev/null 2>&1 && 380 test "X`expr 00001 : '.*\(...\)'`" = X001; then 381 as_expr=expr 382else 383 as_expr=false 384fi 385 386if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 387 as_basename=basename 388else 389 as_basename=false 390fi 391 392if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 393 as_dirname=dirname 394else 395 as_dirname=false 396fi 397 398as_me=`$as_basename -- "$0" || 399$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 400 X"$0" : 'X\(//\)$' \| \ 401 X"$0" : 'X\(/\)' \| . 2>/dev/null || 402$as_echo X/"$0" | 403 sed '/^.*\/\([^/][^/]*\)\/*$/{ 404 s//\1/ 405 q 406 } 407 /^X\/\(\/\/\)$/{ 408 s//\1/ 409 q 410 } 411 /^X\/\(\/\).*/{ 412 s//\1/ 413 q 414 } 415 s/.*/./; q'` 416 417# Avoid depending upon Character Ranges. 418as_cr_letters='abcdefghijklmnopqrstuvwxyz' 419as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 420as_cr_Letters=$as_cr_letters$as_cr_LETTERS 421as_cr_digits='0123456789' 422as_cr_alnum=$as_cr_Letters$as_cr_digits 423 424 425 as_lineno_1=$LINENO as_lineno_1a=$LINENO 426 as_lineno_2=$LINENO as_lineno_2a=$LINENO 427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 430 sed -n ' 431 p 432 /[$]LINENO/= 433 ' <$as_myself | 434 sed ' 435 s/[$]LINENO.*/&-/ 436 t lineno 437 b 438 :lineno 439 N 440 :loop 441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 442 t loop 443 s/-\n.*// 444 ' >$as_me.lineno && 445 chmod +x "$as_me.lineno" || 446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 447 448 # Don't try to exec as it changes $[0], causing all sort of problems 449 # (the dirname of $[0] is not the place where we might find the 450 # original and so on. Autoconf is especially sensitive to this). 451 . "./$as_me.lineno" 452 # Exit status is that of the last command. 453 exit 454} 455 456ECHO_C= ECHO_N= ECHO_T= 457case `echo -n x` in #((((( 458-n*) 459 case `echo 'xy\c'` in 460 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 461 xy) ECHO_C='\c';; 462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 463 ECHO_T=' ';; 464 esac;; 465*) 466 ECHO_N='-n';; 467esac 468 469rm -f conf$$ conf$$.exe conf$$.file 470if test -d conf$$.dir; then 471 rm -f conf$$.dir/conf$$.file 472else 473 rm -f conf$$.dir 474 mkdir conf$$.dir 2>/dev/null 475fi 476if (echo >conf$$.file) 2>/dev/null; then 477 if ln -s conf$$.file conf$$ 2>/dev/null; then 478 as_ln_s='ln -s' 479 # ... but there are two gotchas: 480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 482 # In both cases, we have to default to `cp -p'. 483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 484 as_ln_s='cp -p' 485 elif ln conf$$.file conf$$ 2>/dev/null; then 486 as_ln_s=ln 487 else 488 as_ln_s='cp -p' 489 fi 490else 491 as_ln_s='cp -p' 492fi 493rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 494rmdir conf$$.dir 2>/dev/null 495 496if mkdir -p . 2>/dev/null; then 497 as_mkdir_p='mkdir -p "$as_dir"' 498else 499 test -d ./-p && rmdir ./-p 500 as_mkdir_p=false 501fi 502 503if test -x / >/dev/null 2>&1; then 504 as_test_x='test -x' 505else 506 if ls -dL / >/dev/null 2>&1; then 507 as_ls_L_option=L 508 else 509 as_ls_L_option= 510 fi 511 as_test_x=' 512 eval sh -c '\'' 513 if test -d "$1"; then 514 test -d "$1/."; 515 else 516 case $1 in #( 517 -*)set "./$1";; 518 esac; 519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 520 ???[sx]*):;;*)false;;esac;fi 521 '\'' sh 522 ' 523fi 524as_executable_p=$as_test_x 525 526# Sed expression to map a string onto a valid CPP name. 527as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 528 529# Sed expression to map a string onto a valid variable name. 530as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 531 532 533test -n "$DJDIR" || exec 7<&0 </dev/null 534exec 6>&1 535 536# Name of the host. 537# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 538# so uname gets run too. 539ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 540 541# 542# Initializations. 543# 544ac_default_prefix=/usr/local 545ac_clean_files= 546ac_config_libobj_dir=. 547LIBOBJS= 548cross_compiling=no 549subdirs= 550MFLAGS= 551MAKEFLAGS= 552 553# Identity of this package. 554PACKAGE_NAME='xinit' 555PACKAGE_TARNAME='xinit' 556PACKAGE_VERSION='1.2.1' 557PACKAGE_STRING='xinit 1.2.1' 558PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 559PACKAGE_URL='' 560 561# Factoring default headers for most tests. 562ac_includes_default="\ 563#include <stdio.h> 564#ifdef HAVE_SYS_TYPES_H 565# include <sys/types.h> 566#endif 567#ifdef HAVE_SYS_STAT_H 568# include <sys/stat.h> 569#endif 570#ifdef STDC_HEADERS 571# include <stdlib.h> 572# include <stddef.h> 573#else 574# ifdef HAVE_STDLIB_H 575# include <stdlib.h> 576# endif 577#endif 578#ifdef HAVE_STRING_H 579# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 580# include <memory.h> 581# endif 582# include <string.h> 583#endif 584#ifdef HAVE_STRINGS_H 585# include <strings.h> 586#endif 587#ifdef HAVE_INTTYPES_H 588# include <inttypes.h> 589#endif 590#ifdef HAVE_STDINT_H 591# include <stdint.h> 592#endif 593#ifdef HAVE_UNISTD_H 594# include <unistd.h> 595#endif" 596 597ac_subst_vars='am__EXEEXT_FALSE 598am__EXEEXT_TRUE 599LTLIBOBJS 600LIBOBJS 601XINITDIR 602XINIT 603XAUTH 604XSERVER 605XTERM 606XCLOCK 607TWM 608XMODMAP 609XRDB 610XCONFIGFILEMAN 611XCONFIGFILE 612XSERVERNAME 613ARCHMANDEFS 614SHELL_CMD 615STARTX_COOKIE_FLAGS 616MCOOKIE 617XINIT_LIBS 618XINIT_CFLAGS 619TIGER_LAUNCHD_FALSE 620TIGER_LAUNCHD_TRUE 621LAUNCHD_FALSE 622LAUNCHD_TRUE 623launchdidprefix 624launchdaemonsdir 625launchagentsdir 626LAUNCHD 627SED 628RAWCPPFLAGS 629RAWCPP 630ADMIN_MAN_DIR 631DRIVER_MAN_DIR 632MISC_MAN_DIR 633FILE_MAN_DIR 634LIB_MAN_DIR 635APP_MAN_DIR 636ADMIN_MAN_SUFFIX 637DRIVER_MAN_SUFFIX 638MISC_MAN_SUFFIX 639FILE_MAN_SUFFIX 640LIB_MAN_SUFFIX 641APP_MAN_SUFFIX 642host_os 643host_vendor 644host_cpu 645host 646build_os 647build_vendor 648build_cpu 649build 650INSTALL_CMD 651PKG_CONFIG 652CHANGELOG_CMD 653AM_BACKSLASH 654AM_DEFAULT_VERBOSITY 655CWARNFLAGS 656EGREP 657GREP 658CPP 659am__fastdepCC_FALSE 660am__fastdepCC_TRUE 661CCDEPMODE 662AMDEPBACKSLASH 663AMDEP_FALSE 664AMDEP_TRUE 665am__quote 666am__include 667DEPDIR 668OBJEXT 669EXEEXT 670ac_ct_CC 671CPPFLAGS 672LDFLAGS 673CFLAGS 674CC 675MAINT 676MAINTAINER_MODE_FALSE 677MAINTAINER_MODE_TRUE 678am__untar 679am__tar 680AMTAR 681am__leading_dot 682SET_MAKE 683AWK 684mkdir_p 685MKDIR_P 686INSTALL_STRIP_PROGRAM 687STRIP 688install_sh 689MAKEINFO 690AUTOHEADER 691AUTOMAKE 692AUTOCONF 693ACLOCAL 694VERSION 695PACKAGE 696CYGPATH_W 697am__isrc 698INSTALL_DATA 699INSTALL_SCRIPT 700INSTALL_PROGRAM 701target_alias 702host_alias 703build_alias 704LIBS 705ECHO_T 706ECHO_N 707ECHO_C 708DEFS 709mandir 710localedir 711libdir 712psdir 713pdfdir 714dvidir 715htmldir 716infodir 717docdir 718oldincludedir 719includedir 720localstatedir 721sharedstatedir 722sysconfdir 723datadir 724datarootdir 725libexecdir 726sbindir 727bindir 728program_transform_name 729prefix 730exec_prefix 731PACKAGE_URL 732PACKAGE_BUGREPORT 733PACKAGE_STRING 734PACKAGE_VERSION 735PACKAGE_TARNAME 736PACKAGE_NAME 737PATH_SEPARATOR 738SHELL' 739ac_subst_files='' 740ac_user_opts=' 741enable_option_checking 742enable_maintainer_mode 743enable_dependency_tracking 744enable_silent_rules 745enable_strict_compilation 746with_release_version 747with_xrdb 748with_xmodmap 749with_twm 750with_xclock 751with_xterm 752with_xserver 753with_xauth 754with_xinit 755with_xinitdir 756with_launchd 757with_launchagents_dir 758with_launchdaemons_dir 759with_launchd_id_prefix 760' 761 ac_precious_vars='build_alias 762host_alias 763target_alias 764CC 765CFLAGS 766LDFLAGS 767LIBS 768CPPFLAGS 769CPP 770PKG_CONFIG 771XINIT_CFLAGS 772XINIT_LIBS' 773 774 775# Initialize some variables set by options. 776ac_init_help= 777ac_init_version=false 778ac_unrecognized_opts= 779ac_unrecognized_sep= 780# The variables have the same names as the options, with 781# dashes changed to underlines. 782cache_file=/dev/null 783exec_prefix=NONE 784no_create= 785no_recursion= 786prefix=NONE 787program_prefix=NONE 788program_suffix=NONE 789program_transform_name=s,x,x, 790silent= 791site= 792srcdir= 793verbose= 794x_includes=NONE 795x_libraries=NONE 796 797# Installation directory options. 798# These are left unexpanded so users can "make install exec_prefix=/foo" 799# and all the variables that are supposed to be based on exec_prefix 800# by default will actually change. 801# Use braces instead of parens because sh, perl, etc. also accept them. 802# (The list follows the same order as the GNU Coding Standards.) 803bindir='${exec_prefix}/bin' 804sbindir='${exec_prefix}/sbin' 805libexecdir='${exec_prefix}/libexec' 806datarootdir='${prefix}/share' 807datadir='${datarootdir}' 808sysconfdir='${prefix}/etc' 809sharedstatedir='${prefix}/com' 810localstatedir='${prefix}/var' 811includedir='${prefix}/include' 812oldincludedir='/usr/include' 813docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 814infodir='${datarootdir}/info' 815htmldir='${docdir}' 816dvidir='${docdir}' 817pdfdir='${docdir}' 818psdir='${docdir}' 819libdir='${exec_prefix}/lib' 820localedir='${datarootdir}/locale' 821mandir='${datarootdir}/man' 822 823ac_prev= 824ac_dashdash= 825for ac_option 826do 827 # If the previous option needs an argument, assign it. 828 if test -n "$ac_prev"; then 829 eval $ac_prev=\$ac_option 830 ac_prev= 831 continue 832 fi 833 834 case $ac_option in 835 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 836 *) ac_optarg=yes ;; 837 esac 838 839 # Accept the important Cygnus configure options, so we can diagnose typos. 840 841 case $ac_dashdash$ac_option in 842 --) 843 ac_dashdash=yes ;; 844 845 -bindir | --bindir | --bindi | --bind | --bin | --bi) 846 ac_prev=bindir ;; 847 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 848 bindir=$ac_optarg ;; 849 850 -build | --build | --buil | --bui | --bu) 851 ac_prev=build_alias ;; 852 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 853 build_alias=$ac_optarg ;; 854 855 -cache-file | --cache-file | --cache-fil | --cache-fi \ 856 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 857 ac_prev=cache_file ;; 858 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 859 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 860 cache_file=$ac_optarg ;; 861 862 --config-cache | -C) 863 cache_file=config.cache ;; 864 865 -datadir | --datadir | --datadi | --datad) 866 ac_prev=datadir ;; 867 -datadir=* | --datadir=* | --datadi=* | --datad=*) 868 datadir=$ac_optarg ;; 869 870 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 871 | --dataroo | --dataro | --datar) 872 ac_prev=datarootdir ;; 873 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 874 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 875 datarootdir=$ac_optarg ;; 876 877 -disable-* | --disable-*) 878 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 879 # Reject names that are not valid shell variable names. 880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 881 as_fn_error "invalid feature name: $ac_useropt" 882 ac_useropt_orig=$ac_useropt 883 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 884 case $ac_user_opts in 885 *" 886"enable_$ac_useropt" 887"*) ;; 888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 889 ac_unrecognized_sep=', ';; 890 esac 891 eval enable_$ac_useropt=no ;; 892 893 -docdir | --docdir | --docdi | --doc | --do) 894 ac_prev=docdir ;; 895 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 896 docdir=$ac_optarg ;; 897 898 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 899 ac_prev=dvidir ;; 900 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 901 dvidir=$ac_optarg ;; 902 903 -enable-* | --enable-*) 904 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 905 # Reject names that are not valid shell variable names. 906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 907 as_fn_error "invalid feature name: $ac_useropt" 908 ac_useropt_orig=$ac_useropt 909 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 910 case $ac_user_opts in 911 *" 912"enable_$ac_useropt" 913"*) ;; 914 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 915 ac_unrecognized_sep=', ';; 916 esac 917 eval enable_$ac_useropt=\$ac_optarg ;; 918 919 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 920 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 921 | --exec | --exe | --ex) 922 ac_prev=exec_prefix ;; 923 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 924 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 925 | --exec=* | --exe=* | --ex=*) 926 exec_prefix=$ac_optarg ;; 927 928 -gas | --gas | --ga | --g) 929 # Obsolete; use --with-gas. 930 with_gas=yes ;; 931 932 -help | --help | --hel | --he | -h) 933 ac_init_help=long ;; 934 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 935 ac_init_help=recursive ;; 936 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 937 ac_init_help=short ;; 938 939 -host | --host | --hos | --ho) 940 ac_prev=host_alias ;; 941 -host=* | --host=* | --hos=* | --ho=*) 942 host_alias=$ac_optarg ;; 943 944 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 945 ac_prev=htmldir ;; 946 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 947 | --ht=*) 948 htmldir=$ac_optarg ;; 949 950 -includedir | --includedir | --includedi | --included | --include \ 951 | --includ | --inclu | --incl | --inc) 952 ac_prev=includedir ;; 953 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 954 | --includ=* | --inclu=* | --incl=* | --inc=*) 955 includedir=$ac_optarg ;; 956 957 -infodir | --infodir | --infodi | --infod | --info | --inf) 958 ac_prev=infodir ;; 959 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 960 infodir=$ac_optarg ;; 961 962 -libdir | --libdir | --libdi | --libd) 963 ac_prev=libdir ;; 964 -libdir=* | --libdir=* | --libdi=* | --libd=*) 965 libdir=$ac_optarg ;; 966 967 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 968 | --libexe | --libex | --libe) 969 ac_prev=libexecdir ;; 970 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 971 | --libexe=* | --libex=* | --libe=*) 972 libexecdir=$ac_optarg ;; 973 974 -localedir | --localedir | --localedi | --localed | --locale) 975 ac_prev=localedir ;; 976 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 977 localedir=$ac_optarg ;; 978 979 -localstatedir | --localstatedir | --localstatedi | --localstated \ 980 | --localstate | --localstat | --localsta | --localst | --locals) 981 ac_prev=localstatedir ;; 982 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 983 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 984 localstatedir=$ac_optarg ;; 985 986 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 987 ac_prev=mandir ;; 988 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 989 mandir=$ac_optarg ;; 990 991 -nfp | --nfp | --nf) 992 # Obsolete; use --without-fp. 993 with_fp=no ;; 994 995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 996 | --no-cr | --no-c | -n) 997 no_create=yes ;; 998 999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1001 no_recursion=yes ;; 1002 1003 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1004 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1005 | --oldin | --oldi | --old | --ol | --o) 1006 ac_prev=oldincludedir ;; 1007 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1008 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1009 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1010 oldincludedir=$ac_optarg ;; 1011 1012 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1013 ac_prev=prefix ;; 1014 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1015 prefix=$ac_optarg ;; 1016 1017 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1018 | --program-pre | --program-pr | --program-p) 1019 ac_prev=program_prefix ;; 1020 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1021 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1022 program_prefix=$ac_optarg ;; 1023 1024 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1025 | --program-suf | --program-su | --program-s) 1026 ac_prev=program_suffix ;; 1027 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1028 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1029 program_suffix=$ac_optarg ;; 1030 1031 -program-transform-name | --program-transform-name \ 1032 | --program-transform-nam | --program-transform-na \ 1033 | --program-transform-n | --program-transform- \ 1034 | --program-transform | --program-transfor \ 1035 | --program-transfo | --program-transf \ 1036 | --program-trans | --program-tran \ 1037 | --progr-tra | --program-tr | --program-t) 1038 ac_prev=program_transform_name ;; 1039 -program-transform-name=* | --program-transform-name=* \ 1040 | --program-transform-nam=* | --program-transform-na=* \ 1041 | --program-transform-n=* | --program-transform-=* \ 1042 | --program-transform=* | --program-transfor=* \ 1043 | --program-transfo=* | --program-transf=* \ 1044 | --program-trans=* | --program-tran=* \ 1045 | --progr-tra=* | --program-tr=* | --program-t=*) 1046 program_transform_name=$ac_optarg ;; 1047 1048 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1049 ac_prev=pdfdir ;; 1050 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1051 pdfdir=$ac_optarg ;; 1052 1053 -psdir | --psdir | --psdi | --psd | --ps) 1054 ac_prev=psdir ;; 1055 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1056 psdir=$ac_optarg ;; 1057 1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1059 | -silent | --silent | --silen | --sile | --sil) 1060 silent=yes ;; 1061 1062 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1063 ac_prev=sbindir ;; 1064 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1065 | --sbi=* | --sb=*) 1066 sbindir=$ac_optarg ;; 1067 1068 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1069 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1070 | --sharedst | --shareds | --shared | --share | --shar \ 1071 | --sha | --sh) 1072 ac_prev=sharedstatedir ;; 1073 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1074 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1075 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1076 | --sha=* | --sh=*) 1077 sharedstatedir=$ac_optarg ;; 1078 1079 -site | --site | --sit) 1080 ac_prev=site ;; 1081 -site=* | --site=* | --sit=*) 1082 site=$ac_optarg ;; 1083 1084 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1085 ac_prev=srcdir ;; 1086 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1087 srcdir=$ac_optarg ;; 1088 1089 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1090 | --syscon | --sysco | --sysc | --sys | --sy) 1091 ac_prev=sysconfdir ;; 1092 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1093 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1094 sysconfdir=$ac_optarg ;; 1095 1096 -target | --target | --targe | --targ | --tar | --ta | --t) 1097 ac_prev=target_alias ;; 1098 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1099 target_alias=$ac_optarg ;; 1100 1101 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1102 verbose=yes ;; 1103 1104 -version | --version | --versio | --versi | --vers | -V) 1105 ac_init_version=: ;; 1106 1107 -with-* | --with-*) 1108 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1109 # Reject names that are not valid shell variable names. 1110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1111 as_fn_error "invalid package name: $ac_useropt" 1112 ac_useropt_orig=$ac_useropt 1113 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1114 case $ac_user_opts in 1115 *" 1116"with_$ac_useropt" 1117"*) ;; 1118 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1119 ac_unrecognized_sep=', ';; 1120 esac 1121 eval with_$ac_useropt=\$ac_optarg ;; 1122 1123 -without-* | --without-*) 1124 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1125 # Reject names that are not valid shell variable names. 1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1127 as_fn_error "invalid package name: $ac_useropt" 1128 ac_useropt_orig=$ac_useropt 1129 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1130 case $ac_user_opts in 1131 *" 1132"with_$ac_useropt" 1133"*) ;; 1134 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1135 ac_unrecognized_sep=', ';; 1136 esac 1137 eval with_$ac_useropt=no ;; 1138 1139 --x) 1140 # Obsolete; use --with-x. 1141 with_x=yes ;; 1142 1143 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1144 | --x-incl | --x-inc | --x-in | --x-i) 1145 ac_prev=x_includes ;; 1146 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1147 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1148 x_includes=$ac_optarg ;; 1149 1150 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1151 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1152 ac_prev=x_libraries ;; 1153 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1154 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1155 x_libraries=$ac_optarg ;; 1156 1157 -*) as_fn_error "unrecognized option: \`$ac_option' 1158Try \`$0 --help' for more information." 1159 ;; 1160 1161 *=*) 1162 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1163 # Reject names that are not valid shell variable names. 1164 case $ac_envvar in #( 1165 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1166 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1167 esac 1168 eval $ac_envvar=\$ac_optarg 1169 export $ac_envvar ;; 1170 1171 *) 1172 # FIXME: should be removed in autoconf 3.0. 1173 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1174 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1175 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1176 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1177 ;; 1178 1179 esac 1180done 1181 1182if test -n "$ac_prev"; then 1183 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1184 as_fn_error "missing argument to $ac_option" 1185fi 1186 1187if test -n "$ac_unrecognized_opts"; then 1188 case $enable_option_checking in 1189 no) ;; 1190 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1191 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1192 esac 1193fi 1194 1195# Check all directory arguments for consistency. 1196for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1197 datadir sysconfdir sharedstatedir localstatedir includedir \ 1198 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1199 libdir localedir mandir 1200do 1201 eval ac_val=\$$ac_var 1202 # Remove trailing slashes. 1203 case $ac_val in 1204 */ ) 1205 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1206 eval $ac_var=\$ac_val;; 1207 esac 1208 # Be sure to have absolute directory names. 1209 case $ac_val in 1210 [\\/$]* | ?:[\\/]* ) continue;; 1211 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1212 esac 1213 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1214done 1215 1216# There might be people who depend on the old broken behavior: `$host' 1217# used to hold the argument of --host etc. 1218# FIXME: To remove some day. 1219build=$build_alias 1220host=$host_alias 1221target=$target_alias 1222 1223# FIXME: To remove some day. 1224if test "x$host_alias" != x; then 1225 if test "x$build_alias" = x; then 1226 cross_compiling=maybe 1227 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1228 If a cross compiler is detected then cross compile mode will be used." >&2 1229 elif test "x$build_alias" != "x$host_alias"; then 1230 cross_compiling=yes 1231 fi 1232fi 1233 1234ac_tool_prefix= 1235test -n "$host_alias" && ac_tool_prefix=$host_alias- 1236 1237test "$silent" = yes && exec 6>/dev/null 1238 1239 1240ac_pwd=`pwd` && test -n "$ac_pwd" && 1241ac_ls_di=`ls -di .` && 1242ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1243 as_fn_error "working directory cannot be determined" 1244test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1245 as_fn_error "pwd does not report name of working directory" 1246 1247 1248# Find the source files, if location was not specified. 1249if test -z "$srcdir"; then 1250 ac_srcdir_defaulted=yes 1251 # Try the directory containing this script, then the parent directory. 1252 ac_confdir=`$as_dirname -- "$as_myself" || 1253$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1254 X"$as_myself" : 'X\(//\)[^/]' \| \ 1255 X"$as_myself" : 'X\(//\)$' \| \ 1256 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1257$as_echo X"$as_myself" | 1258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1259 s//\1/ 1260 q 1261 } 1262 /^X\(\/\/\)[^/].*/{ 1263 s//\1/ 1264 q 1265 } 1266 /^X\(\/\/\)$/{ 1267 s//\1/ 1268 q 1269 } 1270 /^X\(\/\).*/{ 1271 s//\1/ 1272 q 1273 } 1274 s/.*/./; q'` 1275 srcdir=$ac_confdir 1276 if test ! -r "$srcdir/$ac_unique_file"; then 1277 srcdir=.. 1278 fi 1279else 1280 ac_srcdir_defaulted=no 1281fi 1282if test ! -r "$srcdir/$ac_unique_file"; then 1283 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1284 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1285fi 1286ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1287ac_abs_confdir=`( 1288 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1289 pwd)` 1290# When building in place, set srcdir=. 1291if test "$ac_abs_confdir" = "$ac_pwd"; then 1292 srcdir=. 1293fi 1294# Remove unnecessary trailing slashes from srcdir. 1295# Double slashes in file names in object file debugging info 1296# mess up M-x gdb in Emacs. 1297case $srcdir in 1298*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1299esac 1300for ac_var in $ac_precious_vars; do 1301 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1302 eval ac_env_${ac_var}_value=\$${ac_var} 1303 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1304 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1305done 1306 1307# 1308# Report the --help message. 1309# 1310if test "$ac_init_help" = "long"; then 1311 # Omit some internal or obsolete options to make the list less imposing. 1312 # This message is too long to be a string in the A/UX 3.1 sh. 1313 cat <<_ACEOF 1314\`configure' configures xinit 1.2.1 to adapt to many kinds of systems. 1315 1316Usage: $0 [OPTION]... [VAR=VALUE]... 1317 1318To assign environment variables (e.g., CC, CFLAGS...), specify them as 1319VAR=VALUE. See below for descriptions of some of the useful variables. 1320 1321Defaults for the options are specified in brackets. 1322 1323Configuration: 1324 -h, --help display this help and exit 1325 --help=short display options specific to this package 1326 --help=recursive display the short help of all the included packages 1327 -V, --version display version information and exit 1328 -q, --quiet, --silent do not print \`checking...' messages 1329 --cache-file=FILE cache test results in FILE [disabled] 1330 -C, --config-cache alias for \`--cache-file=config.cache' 1331 -n, --no-create do not create output files 1332 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1333 1334Installation directories: 1335 --prefix=PREFIX install architecture-independent files in PREFIX 1336 [$ac_default_prefix] 1337 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1338 [PREFIX] 1339 1340By default, \`make install' will install all the files in 1341\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1342an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1343for instance \`--prefix=\$HOME'. 1344 1345For better control, use the options below. 1346 1347Fine tuning of the installation directories: 1348 --bindir=DIR user executables [EPREFIX/bin] 1349 --sbindir=DIR system admin executables [EPREFIX/sbin] 1350 --libexecdir=DIR program executables [EPREFIX/libexec] 1351 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1352 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1353 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1354 --libdir=DIR object code libraries [EPREFIX/lib] 1355 --includedir=DIR C header files [PREFIX/include] 1356 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1357 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1358 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1359 --infodir=DIR info documentation [DATAROOTDIR/info] 1360 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1361 --mandir=DIR man documentation [DATAROOTDIR/man] 1362 --docdir=DIR documentation root [DATAROOTDIR/doc/xinit] 1363 --htmldir=DIR html documentation [DOCDIR] 1364 --dvidir=DIR dvi documentation [DOCDIR] 1365 --pdfdir=DIR pdf documentation [DOCDIR] 1366 --psdir=DIR ps documentation [DOCDIR] 1367_ACEOF 1368 1369 cat <<\_ACEOF 1370 1371Program names: 1372 --program-prefix=PREFIX prepend PREFIX to installed program names 1373 --program-suffix=SUFFIX append SUFFIX to installed program names 1374 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1375 1376System types: 1377 --build=BUILD configure for building on BUILD [guessed] 1378 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1379_ACEOF 1380fi 1381 1382if test -n "$ac_init_help"; then 1383 case $ac_init_help in 1384 short | recursive ) echo "Configuration of xinit 1.2.1:";; 1385 esac 1386 cat <<\_ACEOF 1387 1388Optional Features: 1389 --disable-option-checking ignore unrecognized --enable/--with options 1390 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1391 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1392 --enable-maintainer-mode enable make rules and dependencies not useful 1393 (and sometimes confusing) to the casual installer 1394 --disable-dependency-tracking speeds up one-time build 1395 --enable-dependency-tracking do not reject slow dependency extractors 1396 --enable-silent-rules less verbose build output (undo: `make V=1') 1397 --disable-silent-rules verbose build output (undo: `make V=0') 1398 --enable-strict-compilation 1399 Enable all warnings from compiler and make them 1400 errors (default: disabled) 1401 1402Optional Packages: 1403 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1404 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1405 --with-release-version=STRING 1406 Use release version string in package name 1407 --with-xrdb=XRDB Path to xrdb 1408 --with-xmodmap=XMODMAP Path to xmodmap 1409 --with-twm=TWM Path to twm 1410 --with-xclock=XCLOCK Path to xclock 1411 --with-xterm=XTERM Path to xterm 1412 --with-xserver=XSERVER Path to default X server 1413 --with-xauth=XAUTH Path to xauth 1414 --with-xinit=XINIT Path to xinit 1415 --with-xinitdir=XINITDIR 1416 Path to xinitdir 1417 --with-launchd Build with support for Apple's launchd (default: 1418 auto) 1419 --with-launchagents-dir=PATH 1420 Path to launchd's LaunchAgents directory (default: 1421 /Library/LaunchAgents) 1422 --with-launchdaemons-dir=PATH 1423 Path to launchd's LaunchDaemonss directory (default: 1424 /Library/LaunchDaemons) 1425 --with-launchd-id-prefix=PATH 1426 Prefix to use for launchd identifiers (default: 1427 org.x) 1428 1429Some influential environment variables: 1430 CC C compiler command 1431 CFLAGS C compiler flags 1432 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1433 nonstandard directory <lib dir> 1434 LIBS libraries to pass to the linker, e.g. -l<library> 1435 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1436 you have headers in a nonstandard directory <include dir> 1437 CPP C preprocessor 1438 PKG_CONFIG path to pkg-config utility 1439 XINIT_CFLAGS 1440 C compiler flags for XINIT, overriding pkg-config 1441 XINIT_LIBS linker flags for XINIT, overriding pkg-config 1442 1443Use these variables to override the choices made by `configure' or to help 1444it to find libraries and programs with nonstandard names/locations. 1445 1446Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1447_ACEOF 1448ac_status=$? 1449fi 1450 1451if test "$ac_init_help" = "recursive"; then 1452 # If there are subdirs, report their specific --help. 1453 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1454 test -d "$ac_dir" || 1455 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1456 continue 1457 ac_builddir=. 1458 1459case "$ac_dir" in 1460.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1461*) 1462 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1463 # A ".." for each directory in $ac_dir_suffix. 1464 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1465 case $ac_top_builddir_sub in 1466 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1467 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1468 esac ;; 1469esac 1470ac_abs_top_builddir=$ac_pwd 1471ac_abs_builddir=$ac_pwd$ac_dir_suffix 1472# for backward compatibility: 1473ac_top_builddir=$ac_top_build_prefix 1474 1475case $srcdir in 1476 .) # We are building in place. 1477 ac_srcdir=. 1478 ac_top_srcdir=$ac_top_builddir_sub 1479 ac_abs_top_srcdir=$ac_pwd ;; 1480 [\\/]* | ?:[\\/]* ) # Absolute name. 1481 ac_srcdir=$srcdir$ac_dir_suffix; 1482 ac_top_srcdir=$srcdir 1483 ac_abs_top_srcdir=$srcdir ;; 1484 *) # Relative name. 1485 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1486 ac_top_srcdir=$ac_top_build_prefix$srcdir 1487 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1488esac 1489ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1490 1491 cd "$ac_dir" || { ac_status=$?; continue; } 1492 # Check for guested configure. 1493 if test -f "$ac_srcdir/configure.gnu"; then 1494 echo && 1495 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1496 elif test -f "$ac_srcdir/configure"; then 1497 echo && 1498 $SHELL "$ac_srcdir/configure" --help=recursive 1499 else 1500 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1501 fi || ac_status=$? 1502 cd "$ac_pwd" || { ac_status=$?; break; } 1503 done 1504fi 1505 1506test -n "$ac_init_help" && exit $ac_status 1507if $ac_init_version; then 1508 cat <<\_ACEOF 1509xinit configure 1.2.1 1510generated by GNU Autoconf 2.65 1511 1512Copyright (C) 2009 Free Software Foundation, Inc. 1513This configure script is free software; the Free Software Foundation 1514gives unlimited permission to copy, distribute and modify it. 1515_ACEOF 1516 exit 1517fi 1518 1519## ------------------------ ## 1520## Autoconf initialization. ## 1521## ------------------------ ## 1522 1523# ac_fn_c_try_compile LINENO 1524# -------------------------- 1525# Try to compile conftest.$ac_ext, and return whether this succeeded. 1526ac_fn_c_try_compile () 1527{ 1528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1529 rm -f conftest.$ac_objext 1530 if { { ac_try="$ac_compile" 1531case "(($ac_try" in 1532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1533 *) ac_try_echo=$ac_try;; 1534esac 1535eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1536$as_echo "$ac_try_echo"; } >&5 1537 (eval "$ac_compile") 2>conftest.err 1538 ac_status=$? 1539 if test -s conftest.err; then 1540 grep -v '^ *+' conftest.err >conftest.er1 1541 cat conftest.er1 >&5 1542 mv -f conftest.er1 conftest.err 1543 fi 1544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1545 test $ac_status = 0; } && { 1546 test -z "$ac_c_werror_flag" || 1547 test ! -s conftest.err 1548 } && test -s conftest.$ac_objext; then : 1549 ac_retval=0 1550else 1551 $as_echo "$as_me: failed program was:" >&5 1552sed 's/^/| /' conftest.$ac_ext >&5 1553 1554 ac_retval=1 1555fi 1556 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1557 as_fn_set_status $ac_retval 1558 1559} # ac_fn_c_try_compile 1560 1561# ac_fn_c_check_decl LINENO SYMBOL VAR 1562# ------------------------------------ 1563# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 1564ac_fn_c_check_decl () 1565{ 1566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 1568$as_echo_n "checking whether $2 is declared... " >&6; } 1569if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1570 $as_echo_n "(cached) " >&6 1571else 1572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1573/* end confdefs.h. */ 1574$4 1575int 1576main () 1577{ 1578#ifndef $2 1579 (void) $2; 1580#endif 1581 1582 ; 1583 return 0; 1584} 1585_ACEOF 1586if ac_fn_c_try_compile "$LINENO"; then : 1587 eval "$3=yes" 1588else 1589 eval "$3=no" 1590fi 1591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1592fi 1593eval ac_res=\$$3 1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1595$as_echo "$ac_res" >&6; } 1596 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1597 1598} # ac_fn_c_check_decl 1599 1600# ac_fn_c_try_cpp LINENO 1601# ---------------------- 1602# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1603ac_fn_c_try_cpp () 1604{ 1605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1606 if { { ac_try="$ac_cpp conftest.$ac_ext" 1607case "(($ac_try" in 1608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1609 *) ac_try_echo=$ac_try;; 1610esac 1611eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1612$as_echo "$ac_try_echo"; } >&5 1613 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1614 ac_status=$? 1615 if test -s conftest.err; then 1616 grep -v '^ *+' conftest.err >conftest.er1 1617 cat conftest.er1 >&5 1618 mv -f conftest.er1 conftest.err 1619 fi 1620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1621 test $ac_status = 0; } >/dev/null && { 1622 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1623 test ! -s conftest.err 1624 }; then : 1625 ac_retval=0 1626else 1627 $as_echo "$as_me: failed program was:" >&5 1628sed 's/^/| /' conftest.$ac_ext >&5 1629 1630 ac_retval=1 1631fi 1632 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1633 as_fn_set_status $ac_retval 1634 1635} # ac_fn_c_try_cpp 1636 1637# ac_fn_c_try_run LINENO 1638# ---------------------- 1639# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1640# that executables *can* be run. 1641ac_fn_c_try_run () 1642{ 1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1644 if { { ac_try="$ac_link" 1645case "(($ac_try" in 1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1647 *) ac_try_echo=$ac_try;; 1648esac 1649eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1650$as_echo "$ac_try_echo"; } >&5 1651 (eval "$ac_link") 2>&5 1652 ac_status=$? 1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1654 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1655 { { case "(($ac_try" in 1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1657 *) ac_try_echo=$ac_try;; 1658esac 1659eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1660$as_echo "$ac_try_echo"; } >&5 1661 (eval "$ac_try") 2>&5 1662 ac_status=$? 1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1664 test $ac_status = 0; }; }; then : 1665 ac_retval=0 1666else 1667 $as_echo "$as_me: program exited with status $ac_status" >&5 1668 $as_echo "$as_me: failed program was:" >&5 1669sed 's/^/| /' conftest.$ac_ext >&5 1670 1671 ac_retval=$ac_status 1672fi 1673 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1674 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1675 as_fn_set_status $ac_retval 1676 1677} # ac_fn_c_try_run 1678 1679# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1680# ------------------------------------------------------- 1681# Tests whether HEADER exists and can be compiled using the include files in 1682# INCLUDES, setting the cache variable VAR accordingly. 1683ac_fn_c_check_header_compile () 1684{ 1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1687$as_echo_n "checking for $2... " >&6; } 1688if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1689 $as_echo_n "(cached) " >&6 1690else 1691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1692/* end confdefs.h. */ 1693$4 1694#include <$2> 1695_ACEOF 1696if ac_fn_c_try_compile "$LINENO"; then : 1697 eval "$3=yes" 1698else 1699 eval "$3=no" 1700fi 1701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1702fi 1703eval ac_res=\$$3 1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1705$as_echo "$ac_res" >&6; } 1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1707 1708} # ac_fn_c_check_header_compile 1709 1710# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1711# ------------------------------------------- 1712# Tests whether TYPE exists after having included INCLUDES, setting cache 1713# variable VAR accordingly. 1714ac_fn_c_check_type () 1715{ 1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1718$as_echo_n "checking for $2... " >&6; } 1719if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1720 $as_echo_n "(cached) " >&6 1721else 1722 eval "$3=no" 1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1724/* end confdefs.h. */ 1725$4 1726int 1727main () 1728{ 1729if (sizeof ($2)) 1730 return 0; 1731 ; 1732 return 0; 1733} 1734_ACEOF 1735if ac_fn_c_try_compile "$LINENO"; then : 1736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1737/* end confdefs.h. */ 1738$4 1739int 1740main () 1741{ 1742if (sizeof (($2))) 1743 return 0; 1744 ; 1745 return 0; 1746} 1747_ACEOF 1748if ac_fn_c_try_compile "$LINENO"; then : 1749 1750else 1751 eval "$3=yes" 1752fi 1753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1754fi 1755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1756fi 1757eval ac_res=\$$3 1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1759$as_echo "$ac_res" >&6; } 1760 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1761 1762} # ac_fn_c_check_type 1763 1764# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1765# ------------------------------------------------------- 1766# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1767# the include files in INCLUDES and setting the cache variable VAR 1768# accordingly. 1769ac_fn_c_check_header_mongrel () 1770{ 1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1772 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1774$as_echo_n "checking for $2... " >&6; } 1775if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1776 $as_echo_n "(cached) " >&6 1777fi 1778eval ac_res=\$$3 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1780$as_echo "$ac_res" >&6; } 1781else 1782 # Is the header compilable? 1783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1784$as_echo_n "checking $2 usability... " >&6; } 1785cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1786/* end confdefs.h. */ 1787$4 1788#include <$2> 1789_ACEOF 1790if ac_fn_c_try_compile "$LINENO"; then : 1791 ac_header_compiler=yes 1792else 1793 ac_header_compiler=no 1794fi 1795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1797$as_echo "$ac_header_compiler" >&6; } 1798 1799# Is the header present? 1800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1801$as_echo_n "checking $2 presence... " >&6; } 1802cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1803/* end confdefs.h. */ 1804#include <$2> 1805_ACEOF 1806if ac_fn_c_try_cpp "$LINENO"; then : 1807 ac_header_preproc=yes 1808else 1809 ac_header_preproc=no 1810fi 1811rm -f conftest.err conftest.$ac_ext 1812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1813$as_echo "$ac_header_preproc" >&6; } 1814 1815# So? What about this header? 1816case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1817 yes:no: ) 1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1819$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1821$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1822 ;; 1823 no:yes:* ) 1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1825$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1827$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1829$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1831$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1833$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1834( cat <<\_ASBOX 1835## ---------------------------------------------------------------------- ## 1836## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 1837## ---------------------------------------------------------------------- ## 1838_ASBOX 1839 ) | sed "s/^/$as_me: WARNING: /" >&2 1840 ;; 1841esac 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1843$as_echo_n "checking for $2... " >&6; } 1844if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1845 $as_echo_n "(cached) " >&6 1846else 1847 eval "$3=\$ac_header_compiler" 1848fi 1849eval ac_res=\$$3 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1851$as_echo "$ac_res" >&6; } 1852fi 1853 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1854 1855} # ac_fn_c_check_header_mongrel 1856 1857# ac_fn_c_try_link LINENO 1858# ----------------------- 1859# Try to link conftest.$ac_ext, and return whether this succeeded. 1860ac_fn_c_try_link () 1861{ 1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1863 rm -f conftest.$ac_objext conftest$ac_exeext 1864 if { { ac_try="$ac_link" 1865case "(($ac_try" in 1866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1867 *) ac_try_echo=$ac_try;; 1868esac 1869eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1870$as_echo "$ac_try_echo"; } >&5 1871 (eval "$ac_link") 2>conftest.err 1872 ac_status=$? 1873 if test -s conftest.err; then 1874 grep -v '^ *+' conftest.err >conftest.er1 1875 cat conftest.er1 >&5 1876 mv -f conftest.er1 conftest.err 1877 fi 1878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1879 test $ac_status = 0; } && { 1880 test -z "$ac_c_werror_flag" || 1881 test ! -s conftest.err 1882 } && test -s conftest$ac_exeext && { 1883 test "$cross_compiling" = yes || 1884 $as_test_x conftest$ac_exeext 1885 }; then : 1886 ac_retval=0 1887else 1888 $as_echo "$as_me: failed program was:" >&5 1889sed 's/^/| /' conftest.$ac_ext >&5 1890 1891 ac_retval=1 1892fi 1893 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1894 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1895 # interfere with the next link command; also delete a directory that is 1896 # left behind by Apple's compiler. We do this before executing the actions. 1897 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1898 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1899 as_fn_set_status $ac_retval 1900 1901} # ac_fn_c_try_link 1902 1903# ac_fn_c_check_func LINENO FUNC VAR 1904# ---------------------------------- 1905# Tests whether FUNC exists, setting the cache variable VAR accordingly 1906ac_fn_c_check_func () 1907{ 1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1910$as_echo_n "checking for $2... " >&6; } 1911if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1912 $as_echo_n "(cached) " >&6 1913else 1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1915/* end confdefs.h. */ 1916/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1917 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1918#define $2 innocuous_$2 1919 1920/* System header to define __stub macros and hopefully few prototypes, 1921 which can conflict with char $2 (); below. 1922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1923 <limits.h> exists even on freestanding compilers. */ 1924 1925#ifdef __STDC__ 1926# include <limits.h> 1927#else 1928# include <assert.h> 1929#endif 1930 1931#undef $2 1932 1933/* Override any GCC internal prototype to avoid an error. 1934 Use char because int might match the return type of a GCC 1935 builtin and then its argument prototype would still apply. */ 1936#ifdef __cplusplus 1937extern "C" 1938#endif 1939char $2 (); 1940/* The GNU C library defines this for functions which it implements 1941 to always fail with ENOSYS. Some functions are actually named 1942 something starting with __ and the normal name is an alias. */ 1943#if defined __stub_$2 || defined __stub___$2 1944choke me 1945#endif 1946 1947int 1948main () 1949{ 1950return $2 (); 1951 ; 1952 return 0; 1953} 1954_ACEOF 1955if ac_fn_c_try_link "$LINENO"; then : 1956 eval "$3=yes" 1957else 1958 eval "$3=no" 1959fi 1960rm -f core conftest.err conftest.$ac_objext \ 1961 conftest$ac_exeext conftest.$ac_ext 1962fi 1963eval ac_res=\$$3 1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1965$as_echo "$ac_res" >&6; } 1966 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1967 1968} # ac_fn_c_check_func 1969cat >config.log <<_ACEOF 1970This file contains any messages produced by compilers while 1971running configure, to aid debugging if configure makes a mistake. 1972 1973It was created by xinit $as_me 1.2.1, which was 1974generated by GNU Autoconf 2.65. Invocation command line was 1975 1976 $ $0 $@ 1977 1978_ACEOF 1979exec 5>>config.log 1980{ 1981cat <<_ASUNAME 1982## --------- ## 1983## Platform. ## 1984## --------- ## 1985 1986hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1987uname -m = `(uname -m) 2>/dev/null || echo unknown` 1988uname -r = `(uname -r) 2>/dev/null || echo unknown` 1989uname -s = `(uname -s) 2>/dev/null || echo unknown` 1990uname -v = `(uname -v) 2>/dev/null || echo unknown` 1991 1992/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1993/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1994 1995/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1996/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1997/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1998/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1999/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2000/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2001/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2002 2003_ASUNAME 2004 2005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2006for as_dir in $PATH 2007do 2008 IFS=$as_save_IFS 2009 test -z "$as_dir" && as_dir=. 2010 $as_echo "PATH: $as_dir" 2011 done 2012IFS=$as_save_IFS 2013 2014} >&5 2015 2016cat >&5 <<_ACEOF 2017 2018 2019## ----------- ## 2020## Core tests. ## 2021## ----------- ## 2022 2023_ACEOF 2024 2025 2026# Keep a trace of the command line. 2027# Strip out --no-create and --no-recursion so they do not pile up. 2028# Strip out --silent because we don't want to record it for future runs. 2029# Also quote any args containing shell meta-characters. 2030# Make two passes to allow for proper duplicate-argument suppression. 2031ac_configure_args= 2032ac_configure_args0= 2033ac_configure_args1= 2034ac_must_keep_next=false 2035for ac_pass in 1 2 2036do 2037 for ac_arg 2038 do 2039 case $ac_arg in 2040 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2041 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2042 | -silent | --silent | --silen | --sile | --sil) 2043 continue ;; 2044 *\'*) 2045 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2046 esac 2047 case $ac_pass in 2048 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2049 2) 2050 as_fn_append ac_configure_args1 " '$ac_arg'" 2051 if test $ac_must_keep_next = true; then 2052 ac_must_keep_next=false # Got value, back to normal. 2053 else 2054 case $ac_arg in 2055 *=* | --config-cache | -C | -disable-* | --disable-* \ 2056 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2057 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2058 | -with-* | --with-* | -without-* | --without-* | --x) 2059 case "$ac_configure_args0 " in 2060 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2061 esac 2062 ;; 2063 -* ) ac_must_keep_next=true ;; 2064 esac 2065 fi 2066 as_fn_append ac_configure_args " '$ac_arg'" 2067 ;; 2068 esac 2069 done 2070done 2071{ ac_configure_args0=; unset ac_configure_args0;} 2072{ ac_configure_args1=; unset ac_configure_args1;} 2073 2074# When interrupted or exit'd, cleanup temporary files, and complete 2075# config.log. We remove comments because anyway the quotes in there 2076# would cause problems or look ugly. 2077# WARNING: Use '\'' to represent an apostrophe within the trap. 2078# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2079trap 'exit_status=$? 2080 # Save into config.log some information that might help in debugging. 2081 { 2082 echo 2083 2084 cat <<\_ASBOX 2085## ---------------- ## 2086## Cache variables. ## 2087## ---------------- ## 2088_ASBOX 2089 echo 2090 # The following way of writing the cache mishandles newlines in values, 2091( 2092 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2093 eval ac_val=\$$ac_var 2094 case $ac_val in #( 2095 *${as_nl}*) 2096 case $ac_var in #( 2097 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2098$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2099 esac 2100 case $ac_var in #( 2101 _ | IFS | as_nl) ;; #( 2102 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2103 *) { eval $ac_var=; unset $ac_var;} ;; 2104 esac ;; 2105 esac 2106 done 2107 (set) 2>&1 | 2108 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2109 *${as_nl}ac_space=\ *) 2110 sed -n \ 2111 "s/'\''/'\''\\\\'\'''\''/g; 2112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2113 ;; #( 2114 *) 2115 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2116 ;; 2117 esac | 2118 sort 2119) 2120 echo 2121 2122 cat <<\_ASBOX 2123## ----------------- ## 2124## Output variables. ## 2125## ----------------- ## 2126_ASBOX 2127 echo 2128 for ac_var in $ac_subst_vars 2129 do 2130 eval ac_val=\$$ac_var 2131 case $ac_val in 2132 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2133 esac 2134 $as_echo "$ac_var='\''$ac_val'\''" 2135 done | sort 2136 echo 2137 2138 if test -n "$ac_subst_files"; then 2139 cat <<\_ASBOX 2140## ------------------- ## 2141## File substitutions. ## 2142## ------------------- ## 2143_ASBOX 2144 echo 2145 for ac_var in $ac_subst_files 2146 do 2147 eval ac_val=\$$ac_var 2148 case $ac_val in 2149 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2150 esac 2151 $as_echo "$ac_var='\''$ac_val'\''" 2152 done | sort 2153 echo 2154 fi 2155 2156 if test -s confdefs.h; then 2157 cat <<\_ASBOX 2158## ----------- ## 2159## confdefs.h. ## 2160## ----------- ## 2161_ASBOX 2162 echo 2163 cat confdefs.h 2164 echo 2165 fi 2166 test "$ac_signal" != 0 && 2167 $as_echo "$as_me: caught signal $ac_signal" 2168 $as_echo "$as_me: exit $exit_status" 2169 } >&5 2170 rm -f core *.core core.conftest.* && 2171 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2172 exit $exit_status 2173' 0 2174for ac_signal in 1 2 13 15; do 2175 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2176done 2177ac_signal=0 2178 2179# confdefs.h avoids OS command line length limits that DEFS can exceed. 2180rm -f -r conftest* confdefs.h 2181 2182$as_echo "/* confdefs.h */" > confdefs.h 2183 2184# Predefined preprocessor variables. 2185 2186cat >>confdefs.h <<_ACEOF 2187#define PACKAGE_NAME "$PACKAGE_NAME" 2188_ACEOF 2189 2190cat >>confdefs.h <<_ACEOF 2191#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2192_ACEOF 2193 2194cat >>confdefs.h <<_ACEOF 2195#define PACKAGE_VERSION "$PACKAGE_VERSION" 2196_ACEOF 2197 2198cat >>confdefs.h <<_ACEOF 2199#define PACKAGE_STRING "$PACKAGE_STRING" 2200_ACEOF 2201 2202cat >>confdefs.h <<_ACEOF 2203#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2204_ACEOF 2205 2206cat >>confdefs.h <<_ACEOF 2207#define PACKAGE_URL "$PACKAGE_URL" 2208_ACEOF 2209 2210 2211# Let the site file select an alternate cache file if it wants to. 2212# Prefer an explicitly selected file to automatically selected ones. 2213ac_site_file1=NONE 2214ac_site_file2=NONE 2215if test -n "$CONFIG_SITE"; then 2216 ac_site_file1=$CONFIG_SITE 2217elif test "x$prefix" != xNONE; then 2218 ac_site_file1=$prefix/share/config.site 2219 ac_site_file2=$prefix/etc/config.site 2220else 2221 ac_site_file1=$ac_default_prefix/share/config.site 2222 ac_site_file2=$ac_default_prefix/etc/config.site 2223fi 2224for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2225do 2226 test "x$ac_site_file" = xNONE && continue 2227 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2228 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2229$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2230 sed 's/^/| /' "$ac_site_file" >&5 2231 . "$ac_site_file" 2232 fi 2233done 2234 2235if test -r "$cache_file"; then 2236 # Some versions of bash will fail to source /dev/null (special files 2237 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2238 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2239 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2240$as_echo "$as_me: loading cache $cache_file" >&6;} 2241 case $cache_file in 2242 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2243 *) . "./$cache_file";; 2244 esac 2245 fi 2246else 2247 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2248$as_echo "$as_me: creating cache $cache_file" >&6;} 2249 >$cache_file 2250fi 2251 2252# Check that the precious variables saved in the cache have kept the same 2253# value. 2254ac_cache_corrupted=false 2255for ac_var in $ac_precious_vars; do 2256 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2257 eval ac_new_set=\$ac_env_${ac_var}_set 2258 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2259 eval ac_new_val=\$ac_env_${ac_var}_value 2260 case $ac_old_set,$ac_new_set in 2261 set,) 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2263$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2264 ac_cache_corrupted=: ;; 2265 ,set) 2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2267$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2268 ac_cache_corrupted=: ;; 2269 ,);; 2270 *) 2271 if test "x$ac_old_val" != "x$ac_new_val"; then 2272 # differences in whitespace do not lead to failure. 2273 ac_old_val_w=`echo x $ac_old_val` 2274 ac_new_val_w=`echo x $ac_new_val` 2275 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2276 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2277$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2278 ac_cache_corrupted=: 2279 else 2280 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2281$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2282 eval $ac_var=\$ac_old_val 2283 fi 2284 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2285$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2286 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2287$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2288 fi;; 2289 esac 2290 # Pass precious variables to config.status. 2291 if test "$ac_new_set" = set; then 2292 case $ac_new_val in 2293 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2294 *) ac_arg=$ac_var=$ac_new_val ;; 2295 esac 2296 case " $ac_configure_args " in 2297 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2298 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2299 esac 2300 fi 2301done 2302if $ac_cache_corrupted; then 2303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2304$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2306$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2307 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2308fi 2309## -------------------- ## 2310## Main body of script. ## 2311## -------------------- ## 2312 2313ac_ext=c 2314ac_cpp='$CPP $CPPFLAGS' 2315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2317ac_compiler_gnu=$ac_cv_c_compiler_gnu 2318 2319 2320am__api_version='1.11' 2321 2322ac_aux_dir= 2323for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2324 for ac_t in install-sh install.sh shtool; do 2325 if test -f "$ac_dir/$ac_t"; then 2326 ac_aux_dir=$ac_dir 2327 ac_install_sh="$ac_aux_dir/$ac_t -c" 2328 break 2 2329 fi 2330 done 2331done 2332if test -z "$ac_aux_dir"; then 2333 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2334fi 2335 2336# These three variables are undocumented and unsupported, 2337# and are intended to be withdrawn in a future Autoconf release. 2338# They can cause serious problems if a builder's source tree is in a directory 2339# whose full name contains unusual characters. 2340ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2341ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2342ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2343 2344 2345# Find a good install program. We prefer a C program (faster), 2346# so one script is as good as another. But avoid the broken or 2347# incompatible versions: 2348# SysV /etc/install, /usr/sbin/install 2349# SunOS /usr/etc/install 2350# IRIX /sbin/install 2351# AIX /bin/install 2352# AmigaOS /C/install, which installs bootblocks on floppy discs 2353# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2354# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2355# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2356# OS/2's system install, which has a completely different semantic 2357# ./install, which can be erroneously created by make from ./install.sh. 2358# Reject install programs that cannot install multiple files. 2359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2360$as_echo_n "checking for a BSD-compatible install... " >&6; } 2361if test -z "$INSTALL"; then 2362if test "${ac_cv_path_install+set}" = set; then : 2363 $as_echo_n "(cached) " >&6 2364else 2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2366for as_dir in $PATH 2367do 2368 IFS=$as_save_IFS 2369 test -z "$as_dir" && as_dir=. 2370 # Account for people who put trailing slashes in PATH elements. 2371case $as_dir/ in #(( 2372 ./ | .// | /[cC]/* | \ 2373 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2374 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2375 /usr/ucb/* ) ;; 2376 *) 2377 # OSF1 and SCO ODT 3.0 have their own names for install. 2378 # Don't use installbsd from OSF since it installs stuff as root 2379 # by default. 2380 for ac_prog in ginstall scoinst install; do 2381 for ac_exec_ext in '' $ac_executable_extensions; do 2382 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2383 if test $ac_prog = install && 2384 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2385 # AIX install. It has an incompatible calling convention. 2386 : 2387 elif test $ac_prog = install && 2388 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2389 # program-specific install script used by HP pwplus--don't use. 2390 : 2391 else 2392 rm -rf conftest.one conftest.two conftest.dir 2393 echo one > conftest.one 2394 echo two > conftest.two 2395 mkdir conftest.dir 2396 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2397 test -s conftest.one && test -s conftest.two && 2398 test -s conftest.dir/conftest.one && 2399 test -s conftest.dir/conftest.two 2400 then 2401 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2402 break 3 2403 fi 2404 fi 2405 fi 2406 done 2407 done 2408 ;; 2409esac 2410 2411 done 2412IFS=$as_save_IFS 2413 2414rm -rf conftest.one conftest.two conftest.dir 2415 2416fi 2417 if test "${ac_cv_path_install+set}" = set; then 2418 INSTALL=$ac_cv_path_install 2419 else 2420 # As a last resort, use the slow shell script. Don't cache a 2421 # value for INSTALL within a source directory, because that will 2422 # break other packages using the cache if that directory is 2423 # removed, or if the value is a relative name. 2424 INSTALL=$ac_install_sh 2425 fi 2426fi 2427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2428$as_echo "$INSTALL" >&6; } 2429 2430# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2431# It thinks the first close brace ends the variable substitution. 2432test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2433 2434test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2435 2436test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2437 2438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2439$as_echo_n "checking whether build environment is sane... " >&6; } 2440# Just in case 2441sleep 1 2442echo timestamp > conftest.file 2443# Reject unsafe characters in $srcdir or the absolute working directory 2444# name. Accept space and tab only in the latter. 2445am_lf=' 2446' 2447case `pwd` in 2448 *[\\\"\#\$\&\'\`$am_lf]*) 2449 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2450esac 2451case $srcdir in 2452 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2453 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2454esac 2455 2456# Do `set' in a subshell so we don't clobber the current shell's 2457# arguments. Must try -L first in case configure is actually a 2458# symlink; some systems play weird games with the mod time of symlinks 2459# (eg FreeBSD returns the mod time of the symlink's containing 2460# directory). 2461if ( 2462 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2463 if test "$*" = "X"; then 2464 # -L didn't work. 2465 set X `ls -t "$srcdir/configure" conftest.file` 2466 fi 2467 rm -f conftest.file 2468 if test "$*" != "X $srcdir/configure conftest.file" \ 2469 && test "$*" != "X conftest.file $srcdir/configure"; then 2470 2471 # If neither matched, then we have a broken ls. This can happen 2472 # if, for instance, CONFIG_SHELL is bash and it inherits a 2473 # broken ls alias from the environment. This has actually 2474 # happened. Such a system could not be considered "sane". 2475 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2476alias in your environment" "$LINENO" 5 2477 fi 2478 2479 test "$2" = conftest.file 2480 ) 2481then 2482 # Ok. 2483 : 2484else 2485 as_fn_error "newly created file is older than distributed files! 2486Check your system clock" "$LINENO" 5 2487fi 2488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2489$as_echo "yes" >&6; } 2490test "$program_prefix" != NONE && 2491 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2492# Use a double $ so make ignores it. 2493test "$program_suffix" != NONE && 2494 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2495# Double any \ or $. 2496# By default was `s,x,x', remove it if useless. 2497ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2498program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2499 2500# expand $ac_aux_dir to an absolute path 2501am_aux_dir=`cd $ac_aux_dir && pwd` 2502 2503if test x"${MISSING+set}" != xset; then 2504 case $am_aux_dir in 2505 *\ * | *\ *) 2506 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2507 *) 2508 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2509 esac 2510fi 2511# Use eval to expand $SHELL 2512if eval "$MISSING --run true"; then 2513 am_missing_run="$MISSING --run " 2514else 2515 am_missing_run= 2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2517$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2518fi 2519 2520if test x"${install_sh}" != xset; then 2521 case $am_aux_dir in 2522 *\ * | *\ *) 2523 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2524 *) 2525 install_sh="\${SHELL} $am_aux_dir/install-sh" 2526 esac 2527fi 2528 2529# Installed binaries are usually stripped using `strip' when the user 2530# run `make install-strip'. However `strip' might not be the right 2531# tool to use in cross-compilation environments, therefore Automake 2532# will honor the `STRIP' environment variable to overrule this program. 2533if test "$cross_compiling" != no; then 2534 if test -n "$ac_tool_prefix"; then 2535 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2536set dummy ${ac_tool_prefix}strip; ac_word=$2 2537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2538$as_echo_n "checking for $ac_word... " >&6; } 2539if test "${ac_cv_prog_STRIP+set}" = set; then : 2540 $as_echo_n "(cached) " >&6 2541else 2542 if test -n "$STRIP"; then 2543 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2544else 2545as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2546for as_dir in $PATH 2547do 2548 IFS=$as_save_IFS 2549 test -z "$as_dir" && as_dir=. 2550 for ac_exec_ext in '' $ac_executable_extensions; do 2551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2552 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2554 break 2 2555 fi 2556done 2557 done 2558IFS=$as_save_IFS 2559 2560fi 2561fi 2562STRIP=$ac_cv_prog_STRIP 2563if test -n "$STRIP"; then 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2565$as_echo "$STRIP" >&6; } 2566else 2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2568$as_echo "no" >&6; } 2569fi 2570 2571 2572fi 2573if test -z "$ac_cv_prog_STRIP"; then 2574 ac_ct_STRIP=$STRIP 2575 # Extract the first word of "strip", so it can be a program name with args. 2576set dummy strip; ac_word=$2 2577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2578$as_echo_n "checking for $ac_word... " >&6; } 2579if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2580 $as_echo_n "(cached) " >&6 2581else 2582 if test -n "$ac_ct_STRIP"; then 2583 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2584else 2585as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2586for as_dir in $PATH 2587do 2588 IFS=$as_save_IFS 2589 test -z "$as_dir" && as_dir=. 2590 for ac_exec_ext in '' $ac_executable_extensions; do 2591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2592 ac_cv_prog_ac_ct_STRIP="strip" 2593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2594 break 2 2595 fi 2596done 2597 done 2598IFS=$as_save_IFS 2599 2600fi 2601fi 2602ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2603if test -n "$ac_ct_STRIP"; then 2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2605$as_echo "$ac_ct_STRIP" >&6; } 2606else 2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2608$as_echo "no" >&6; } 2609fi 2610 2611 if test "x$ac_ct_STRIP" = x; then 2612 STRIP=":" 2613 else 2614 case $cross_compiling:$ac_tool_warned in 2615yes:) 2616{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2617$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2618ac_tool_warned=yes ;; 2619esac 2620 STRIP=$ac_ct_STRIP 2621 fi 2622else 2623 STRIP="$ac_cv_prog_STRIP" 2624fi 2625 2626fi 2627INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2628 2629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2630$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2631if test -z "$MKDIR_P"; then 2632 if test "${ac_cv_path_mkdir+set}" = set; then : 2633 $as_echo_n "(cached) " >&6 2634else 2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2636for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2637do 2638 IFS=$as_save_IFS 2639 test -z "$as_dir" && as_dir=. 2640 for ac_prog in mkdir gmkdir; do 2641 for ac_exec_ext in '' $ac_executable_extensions; do 2642 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2643 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2644 'mkdir (GNU coreutils) '* | \ 2645 'mkdir (coreutils) '* | \ 2646 'mkdir (fileutils) '4.1*) 2647 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2648 break 3;; 2649 esac 2650 done 2651 done 2652 done 2653IFS=$as_save_IFS 2654 2655fi 2656 2657 test -d ./--version && rmdir ./--version 2658 if test "${ac_cv_path_mkdir+set}" = set; then 2659 MKDIR_P="$ac_cv_path_mkdir -p" 2660 else 2661 # As a last resort, use the slow shell script. Don't cache a 2662 # value for MKDIR_P within a source directory, because that will 2663 # break other packages using the cache if that directory is 2664 # removed, or if the value is a relative name. 2665 MKDIR_P="$ac_install_sh -d" 2666 fi 2667fi 2668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2669$as_echo "$MKDIR_P" >&6; } 2670 2671mkdir_p="$MKDIR_P" 2672case $mkdir_p in 2673 [\\/$]* | ?:[\\/]*) ;; 2674 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2675esac 2676 2677for ac_prog in gawk mawk nawk awk 2678do 2679 # Extract the first word of "$ac_prog", so it can be a program name with args. 2680set dummy $ac_prog; ac_word=$2 2681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2682$as_echo_n "checking for $ac_word... " >&6; } 2683if test "${ac_cv_prog_AWK+set}" = set; then : 2684 $as_echo_n "(cached) " >&6 2685else 2686 if test -n "$AWK"; then 2687 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2688else 2689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2690for as_dir in $PATH 2691do 2692 IFS=$as_save_IFS 2693 test -z "$as_dir" && as_dir=. 2694 for ac_exec_ext in '' $ac_executable_extensions; do 2695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2696 ac_cv_prog_AWK="$ac_prog" 2697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2698 break 2 2699 fi 2700done 2701 done 2702IFS=$as_save_IFS 2703 2704fi 2705fi 2706AWK=$ac_cv_prog_AWK 2707if test -n "$AWK"; then 2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2709$as_echo "$AWK" >&6; } 2710else 2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2712$as_echo "no" >&6; } 2713fi 2714 2715 2716 test -n "$AWK" && break 2717done 2718 2719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2720$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2721set x ${MAKE-make} 2722ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2723if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2724 $as_echo_n "(cached) " >&6 2725else 2726 cat >conftest.make <<\_ACEOF 2727SHELL = /bin/sh 2728all: 2729 @echo '@@@%%%=$(MAKE)=@@@%%%' 2730_ACEOF 2731# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2732case `${MAKE-make} -f conftest.make 2>/dev/null` in 2733 *@@@%%%=?*=@@@%%%*) 2734 eval ac_cv_prog_make_${ac_make}_set=yes;; 2735 *) 2736 eval ac_cv_prog_make_${ac_make}_set=no;; 2737esac 2738rm -f conftest.make 2739fi 2740if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2742$as_echo "yes" >&6; } 2743 SET_MAKE= 2744else 2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2746$as_echo "no" >&6; } 2747 SET_MAKE="MAKE=${MAKE-make}" 2748fi 2749 2750rm -rf .tst 2>/dev/null 2751mkdir .tst 2>/dev/null 2752if test -d .tst; then 2753 am__leading_dot=. 2754else 2755 am__leading_dot=_ 2756fi 2757rmdir .tst 2>/dev/null 2758 2759if test "`cd $srcdir && pwd`" != "`pwd`"; then 2760 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2761 # is not polluted with repeated "-I." 2762 am__isrc=' -I$(srcdir)' 2763 # test to see if srcdir already configured 2764 if test -f $srcdir/config.status; then 2765 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2766 fi 2767fi 2768 2769# test whether we have cygpath 2770if test -z "$CYGPATH_W"; then 2771 if (cygpath --version) >/dev/null 2>/dev/null; then 2772 CYGPATH_W='cygpath -w' 2773 else 2774 CYGPATH_W=echo 2775 fi 2776fi 2777 2778 2779# Define the identity of the package. 2780 PACKAGE='xinit' 2781 VERSION='1.2.1' 2782 2783 2784cat >>confdefs.h <<_ACEOF 2785#define PACKAGE "$PACKAGE" 2786_ACEOF 2787 2788 2789cat >>confdefs.h <<_ACEOF 2790#define VERSION "$VERSION" 2791_ACEOF 2792 2793# Some tools Automake needs. 2794 2795ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2796 2797 2798AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2799 2800 2801AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2802 2803 2804AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2805 2806 2807MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2808 2809# We need awk for the "check" target. The system "awk" is bad on 2810# some platforms. 2811# Always define AMTAR for backward compatibility. 2812 2813AMTAR=${AMTAR-"${am_missing_run}tar"} 2814 2815am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2816 2817 2818 2819 2820 2821 2822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2823$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2824 # Check whether --enable-maintainer-mode was given. 2825if test "${enable_maintainer_mode+set}" = set; then : 2826 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2827else 2828 USE_MAINTAINER_MODE=no 2829fi 2830 2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2832$as_echo "$USE_MAINTAINER_MODE" >&6; } 2833 if test $USE_MAINTAINER_MODE = yes; then 2834 MAINTAINER_MODE_TRUE= 2835 MAINTAINER_MODE_FALSE='#' 2836else 2837 MAINTAINER_MODE_TRUE='#' 2838 MAINTAINER_MODE_FALSE= 2839fi 2840 2841 MAINT=$MAINTAINER_MODE_TRUE 2842 2843 2844 2845# Require xorg-macros: XORG_DEFAULT_OPTIONS 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857DEPDIR="${am__leading_dot}deps" 2858 2859ac_config_commands="$ac_config_commands depfiles" 2860 2861 2862am_make=${MAKE-make} 2863cat > confinc << 'END' 2864am__doit: 2865 @echo this is the am__doit target 2866.PHONY: am__doit 2867END 2868# If we don't find an include directive, just comment out the code. 2869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2870$as_echo_n "checking for style of include used by $am_make... " >&6; } 2871am__include="#" 2872am__quote= 2873_am_result=none 2874# First try GNU make style include. 2875echo "include confinc" > confmf 2876# Ignore all kinds of additional output from `make'. 2877case `$am_make -s -f confmf 2> /dev/null` in #( 2878*the\ am__doit\ target*) 2879 am__include=include 2880 am__quote= 2881 _am_result=GNU 2882 ;; 2883esac 2884# Now try BSD make style include. 2885if test "$am__include" = "#"; then 2886 echo '.include "confinc"' > confmf 2887 case `$am_make -s -f confmf 2> /dev/null` in #( 2888 *the\ am__doit\ target*) 2889 am__include=.include 2890 am__quote="\"" 2891 _am_result=BSD 2892 ;; 2893 esac 2894fi 2895 2896 2897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2898$as_echo "$_am_result" >&6; } 2899rm -f confinc confmf 2900 2901# Check whether --enable-dependency-tracking was given. 2902if test "${enable_dependency_tracking+set}" = set; then : 2903 enableval=$enable_dependency_tracking; 2904fi 2905 2906if test "x$enable_dependency_tracking" != xno; then 2907 am_depcomp="$ac_aux_dir/depcomp" 2908 AMDEPBACKSLASH='\' 2909fi 2910 if test "x$enable_dependency_tracking" != xno; then 2911 AMDEP_TRUE= 2912 AMDEP_FALSE='#' 2913else 2914 AMDEP_TRUE='#' 2915 AMDEP_FALSE= 2916fi 2917 2918 2919ac_ext=c 2920ac_cpp='$CPP $CPPFLAGS' 2921ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2922ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2923ac_compiler_gnu=$ac_cv_c_compiler_gnu 2924if test -n "$ac_tool_prefix"; then 2925 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2926set dummy ${ac_tool_prefix}gcc; ac_word=$2 2927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2928$as_echo_n "checking for $ac_word... " >&6; } 2929if test "${ac_cv_prog_CC+set}" = set; then : 2930 $as_echo_n "(cached) " >&6 2931else 2932 if test -n "$CC"; then 2933 ac_cv_prog_CC="$CC" # Let the user override the test. 2934else 2935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2936for as_dir in $PATH 2937do 2938 IFS=$as_save_IFS 2939 test -z "$as_dir" && as_dir=. 2940 for ac_exec_ext in '' $ac_executable_extensions; do 2941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2942 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2944 break 2 2945 fi 2946done 2947 done 2948IFS=$as_save_IFS 2949 2950fi 2951fi 2952CC=$ac_cv_prog_CC 2953if test -n "$CC"; then 2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2955$as_echo "$CC" >&6; } 2956else 2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2958$as_echo "no" >&6; } 2959fi 2960 2961 2962fi 2963if test -z "$ac_cv_prog_CC"; then 2964 ac_ct_CC=$CC 2965 # Extract the first word of "gcc", so it can be a program name with args. 2966set dummy gcc; ac_word=$2 2967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2968$as_echo_n "checking for $ac_word... " >&6; } 2969if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2970 $as_echo_n "(cached) " >&6 2971else 2972 if test -n "$ac_ct_CC"; then 2973 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2974else 2975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2976for as_dir in $PATH 2977do 2978 IFS=$as_save_IFS 2979 test -z "$as_dir" && as_dir=. 2980 for ac_exec_ext in '' $ac_executable_extensions; do 2981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2982 ac_cv_prog_ac_ct_CC="gcc" 2983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2984 break 2 2985 fi 2986done 2987 done 2988IFS=$as_save_IFS 2989 2990fi 2991fi 2992ac_ct_CC=$ac_cv_prog_ac_ct_CC 2993if test -n "$ac_ct_CC"; then 2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2995$as_echo "$ac_ct_CC" >&6; } 2996else 2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2998$as_echo "no" >&6; } 2999fi 3000 3001 if test "x$ac_ct_CC" = x; then 3002 CC="" 3003 else 3004 case $cross_compiling:$ac_tool_warned in 3005yes:) 3006{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3007$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3008ac_tool_warned=yes ;; 3009esac 3010 CC=$ac_ct_CC 3011 fi 3012else 3013 CC="$ac_cv_prog_CC" 3014fi 3015 3016if test -z "$CC"; then 3017 if test -n "$ac_tool_prefix"; then 3018 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3019set dummy ${ac_tool_prefix}cc; ac_word=$2 3020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3021$as_echo_n "checking for $ac_word... " >&6; } 3022if test "${ac_cv_prog_CC+set}" = set; then : 3023 $as_echo_n "(cached) " >&6 3024else 3025 if test -n "$CC"; then 3026 ac_cv_prog_CC="$CC" # Let the user override the test. 3027else 3028as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3029for as_dir in $PATH 3030do 3031 IFS=$as_save_IFS 3032 test -z "$as_dir" && as_dir=. 3033 for ac_exec_ext in '' $ac_executable_extensions; do 3034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3035 ac_cv_prog_CC="${ac_tool_prefix}cc" 3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3037 break 2 3038 fi 3039done 3040 done 3041IFS=$as_save_IFS 3042 3043fi 3044fi 3045CC=$ac_cv_prog_CC 3046if test -n "$CC"; then 3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3048$as_echo "$CC" >&6; } 3049else 3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3051$as_echo "no" >&6; } 3052fi 3053 3054 3055 fi 3056fi 3057if test -z "$CC"; then 3058 # Extract the first word of "cc", so it can be a program name with args. 3059set dummy cc; ac_word=$2 3060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3061$as_echo_n "checking for $ac_word... " >&6; } 3062if test "${ac_cv_prog_CC+set}" = set; then : 3063 $as_echo_n "(cached) " >&6 3064else 3065 if test -n "$CC"; then 3066 ac_cv_prog_CC="$CC" # Let the user override the test. 3067else 3068 ac_prog_rejected=no 3069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3070for as_dir in $PATH 3071do 3072 IFS=$as_save_IFS 3073 test -z "$as_dir" && as_dir=. 3074 for ac_exec_ext in '' $ac_executable_extensions; do 3075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3076 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3077 ac_prog_rejected=yes 3078 continue 3079 fi 3080 ac_cv_prog_CC="cc" 3081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3082 break 2 3083 fi 3084done 3085 done 3086IFS=$as_save_IFS 3087 3088if test $ac_prog_rejected = yes; then 3089 # We found a bogon in the path, so make sure we never use it. 3090 set dummy $ac_cv_prog_CC 3091 shift 3092 if test $# != 0; then 3093 # We chose a different compiler from the bogus one. 3094 # However, it has the same basename, so the bogon will be chosen 3095 # first if we set CC to just the basename; use the full file name. 3096 shift 3097 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3098 fi 3099fi 3100fi 3101fi 3102CC=$ac_cv_prog_CC 3103if test -n "$CC"; then 3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3105$as_echo "$CC" >&6; } 3106else 3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3108$as_echo "no" >&6; } 3109fi 3110 3111 3112fi 3113if test -z "$CC"; then 3114 if test -n "$ac_tool_prefix"; then 3115 for ac_prog in cl.exe 3116 do 3117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3118set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3120$as_echo_n "checking for $ac_word... " >&6; } 3121if test "${ac_cv_prog_CC+set}" = set; then : 3122 $as_echo_n "(cached) " >&6 3123else 3124 if test -n "$CC"; then 3125 ac_cv_prog_CC="$CC" # Let the user override the test. 3126else 3127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3128for as_dir in $PATH 3129do 3130 IFS=$as_save_IFS 3131 test -z "$as_dir" && as_dir=. 3132 for ac_exec_ext in '' $ac_executable_extensions; do 3133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3134 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3136 break 2 3137 fi 3138done 3139 done 3140IFS=$as_save_IFS 3141 3142fi 3143fi 3144CC=$ac_cv_prog_CC 3145if test -n "$CC"; then 3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3147$as_echo "$CC" >&6; } 3148else 3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3150$as_echo "no" >&6; } 3151fi 3152 3153 3154 test -n "$CC" && break 3155 done 3156fi 3157if test -z "$CC"; then 3158 ac_ct_CC=$CC 3159 for ac_prog in cl.exe 3160do 3161 # Extract the first word of "$ac_prog", so it can be a program name with args. 3162set dummy $ac_prog; ac_word=$2 3163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3164$as_echo_n "checking for $ac_word... " >&6; } 3165if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3166 $as_echo_n "(cached) " >&6 3167else 3168 if test -n "$ac_ct_CC"; then 3169 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3170else 3171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3172for as_dir in $PATH 3173do 3174 IFS=$as_save_IFS 3175 test -z "$as_dir" && as_dir=. 3176 for ac_exec_ext in '' $ac_executable_extensions; do 3177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3178 ac_cv_prog_ac_ct_CC="$ac_prog" 3179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3180 break 2 3181 fi 3182done 3183 done 3184IFS=$as_save_IFS 3185 3186fi 3187fi 3188ac_ct_CC=$ac_cv_prog_ac_ct_CC 3189if test -n "$ac_ct_CC"; then 3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3191$as_echo "$ac_ct_CC" >&6; } 3192else 3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3194$as_echo "no" >&6; } 3195fi 3196 3197 3198 test -n "$ac_ct_CC" && break 3199done 3200 3201 if test "x$ac_ct_CC" = x; then 3202 CC="" 3203 else 3204 case $cross_compiling:$ac_tool_warned in 3205yes:) 3206{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3207$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3208ac_tool_warned=yes ;; 3209esac 3210 CC=$ac_ct_CC 3211 fi 3212fi 3213 3214fi 3215 3216 3217test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3218$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3219as_fn_error "no acceptable C compiler found in \$PATH 3220See \`config.log' for more details." "$LINENO" 5; } 3221 3222# Provide some information about the compiler. 3223$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3224set X $ac_compile 3225ac_compiler=$2 3226for ac_option in --version -v -V -qversion; do 3227 { { ac_try="$ac_compiler $ac_option >&5" 3228case "(($ac_try" in 3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3230 *) ac_try_echo=$ac_try;; 3231esac 3232eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3233$as_echo "$ac_try_echo"; } >&5 3234 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3235 ac_status=$? 3236 if test -s conftest.err; then 3237 sed '10a\ 3238... rest of stderr output deleted ... 3239 10q' conftest.err >conftest.er1 3240 cat conftest.er1 >&5 3241 fi 3242 rm -f conftest.er1 conftest.err 3243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3244 test $ac_status = 0; } 3245done 3246 3247cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3248/* end confdefs.h. */ 3249 3250int 3251main () 3252{ 3253 3254 ; 3255 return 0; 3256} 3257_ACEOF 3258ac_clean_files_save=$ac_clean_files 3259ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3260# Try to create an executable without -o first, disregard a.out. 3261# It will help us diagnose broken compilers, and finding out an intuition 3262# of exeext. 3263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3264$as_echo_n "checking whether the C compiler works... " >&6; } 3265ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3266 3267# The possible output files: 3268ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3269 3270ac_rmfiles= 3271for ac_file in $ac_files 3272do 3273 case $ac_file in 3274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3275 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3276 esac 3277done 3278rm -f $ac_rmfiles 3279 3280if { { ac_try="$ac_link_default" 3281case "(($ac_try" in 3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3283 *) ac_try_echo=$ac_try;; 3284esac 3285eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3286$as_echo "$ac_try_echo"; } >&5 3287 (eval "$ac_link_default") 2>&5 3288 ac_status=$? 3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3290 test $ac_status = 0; }; then : 3291 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3292# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3293# in a Makefile. We should not override ac_cv_exeext if it was cached, 3294# so that the user can short-circuit this test for compilers unknown to 3295# Autoconf. 3296for ac_file in $ac_files '' 3297do 3298 test -f "$ac_file" || continue 3299 case $ac_file in 3300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3301 ;; 3302 [ab].out ) 3303 # We found the default executable, but exeext='' is most 3304 # certainly right. 3305 break;; 3306 *.* ) 3307 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3308 then :; else 3309 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3310 fi 3311 # We set ac_cv_exeext here because the later test for it is not 3312 # safe: cross compilers may not add the suffix if given an `-o' 3313 # argument, so we may need to know it at that point already. 3314 # Even if this section looks crufty: it has the advantage of 3315 # actually working. 3316 break;; 3317 * ) 3318 break;; 3319 esac 3320done 3321test "$ac_cv_exeext" = no && ac_cv_exeext= 3322 3323else 3324 ac_file='' 3325fi 3326if test -z "$ac_file"; then : 3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3328$as_echo "no" >&6; } 3329$as_echo "$as_me: failed program was:" >&5 3330sed 's/^/| /' conftest.$ac_ext >&5 3331 3332{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3333$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3334{ as_fn_set_status 77 3335as_fn_error "C compiler cannot create executables 3336See \`config.log' for more details." "$LINENO" 5; }; } 3337else 3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3339$as_echo "yes" >&6; } 3340fi 3341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3342$as_echo_n "checking for C compiler default output file name... " >&6; } 3343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3344$as_echo "$ac_file" >&6; } 3345ac_exeext=$ac_cv_exeext 3346 3347rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3348ac_clean_files=$ac_clean_files_save 3349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3350$as_echo_n "checking for suffix of executables... " >&6; } 3351if { { ac_try="$ac_link" 3352case "(($ac_try" in 3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3354 *) ac_try_echo=$ac_try;; 3355esac 3356eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3357$as_echo "$ac_try_echo"; } >&5 3358 (eval "$ac_link") 2>&5 3359 ac_status=$? 3360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3361 test $ac_status = 0; }; then : 3362 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3363# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3364# work properly (i.e., refer to `conftest.exe'), while it won't with 3365# `rm'. 3366for ac_file in conftest.exe conftest conftest.*; do 3367 test -f "$ac_file" || continue 3368 case $ac_file in 3369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3370 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3371 break;; 3372 * ) break;; 3373 esac 3374done 3375else 3376 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3378as_fn_error "cannot compute suffix of executables: cannot compile and link 3379See \`config.log' for more details." "$LINENO" 5; } 3380fi 3381rm -f conftest conftest$ac_cv_exeext 3382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3383$as_echo "$ac_cv_exeext" >&6; } 3384 3385rm -f conftest.$ac_ext 3386EXEEXT=$ac_cv_exeext 3387ac_exeext=$EXEEXT 3388cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3389/* end confdefs.h. */ 3390#include <stdio.h> 3391int 3392main () 3393{ 3394FILE *f = fopen ("conftest.out", "w"); 3395 return ferror (f) || fclose (f) != 0; 3396 3397 ; 3398 return 0; 3399} 3400_ACEOF 3401ac_clean_files="$ac_clean_files conftest.out" 3402# Check that the compiler produces executables we can run. If not, either 3403# the compiler is broken, or we cross compile. 3404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3405$as_echo_n "checking whether we are cross compiling... " >&6; } 3406if test "$cross_compiling" != yes; then 3407 { { ac_try="$ac_link" 3408case "(($ac_try" in 3409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3410 *) ac_try_echo=$ac_try;; 3411esac 3412eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3413$as_echo "$ac_try_echo"; } >&5 3414 (eval "$ac_link") 2>&5 3415 ac_status=$? 3416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3417 test $ac_status = 0; } 3418 if { ac_try='./conftest$ac_cv_exeext' 3419 { { case "(($ac_try" in 3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3421 *) ac_try_echo=$ac_try;; 3422esac 3423eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3424$as_echo "$ac_try_echo"; } >&5 3425 (eval "$ac_try") 2>&5 3426 ac_status=$? 3427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3428 test $ac_status = 0; }; }; then 3429 cross_compiling=no 3430 else 3431 if test "$cross_compiling" = maybe; then 3432 cross_compiling=yes 3433 else 3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3436as_fn_error "cannot run C compiled programs. 3437If you meant to cross compile, use \`--host'. 3438See \`config.log' for more details." "$LINENO" 5; } 3439 fi 3440 fi 3441fi 3442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3443$as_echo "$cross_compiling" >&6; } 3444 3445rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3446ac_clean_files=$ac_clean_files_save 3447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3448$as_echo_n "checking for suffix of object files... " >&6; } 3449if test "${ac_cv_objext+set}" = set; then : 3450 $as_echo_n "(cached) " >&6 3451else 3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3453/* end confdefs.h. */ 3454 3455int 3456main () 3457{ 3458 3459 ; 3460 return 0; 3461} 3462_ACEOF 3463rm -f conftest.o conftest.obj 3464if { { ac_try="$ac_compile" 3465case "(($ac_try" in 3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3467 *) ac_try_echo=$ac_try;; 3468esac 3469eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3470$as_echo "$ac_try_echo"; } >&5 3471 (eval "$ac_compile") 2>&5 3472 ac_status=$? 3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3474 test $ac_status = 0; }; then : 3475 for ac_file in conftest.o conftest.obj conftest.*; do 3476 test -f "$ac_file" || continue; 3477 case $ac_file in 3478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3479 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3480 break;; 3481 esac 3482done 3483else 3484 $as_echo "$as_me: failed program was:" >&5 3485sed 's/^/| /' conftest.$ac_ext >&5 3486 3487{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3488$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3489as_fn_error "cannot compute suffix of object files: cannot compile 3490See \`config.log' for more details." "$LINENO" 5; } 3491fi 3492rm -f conftest.$ac_cv_objext conftest.$ac_ext 3493fi 3494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3495$as_echo "$ac_cv_objext" >&6; } 3496OBJEXT=$ac_cv_objext 3497ac_objext=$OBJEXT 3498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3499$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3500if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3501 $as_echo_n "(cached) " >&6 3502else 3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3504/* end confdefs.h. */ 3505 3506int 3507main () 3508{ 3509#ifndef __GNUC__ 3510 choke me 3511#endif 3512 3513 ; 3514 return 0; 3515} 3516_ACEOF 3517if ac_fn_c_try_compile "$LINENO"; then : 3518 ac_compiler_gnu=yes 3519else 3520 ac_compiler_gnu=no 3521fi 3522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3523ac_cv_c_compiler_gnu=$ac_compiler_gnu 3524 3525fi 3526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3527$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3528if test $ac_compiler_gnu = yes; then 3529 GCC=yes 3530else 3531 GCC= 3532fi 3533ac_test_CFLAGS=${CFLAGS+set} 3534ac_save_CFLAGS=$CFLAGS 3535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3536$as_echo_n "checking whether $CC accepts -g... " >&6; } 3537if test "${ac_cv_prog_cc_g+set}" = set; then : 3538 $as_echo_n "(cached) " >&6 3539else 3540 ac_save_c_werror_flag=$ac_c_werror_flag 3541 ac_c_werror_flag=yes 3542 ac_cv_prog_cc_g=no 3543 CFLAGS="-g" 3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3545/* end confdefs.h. */ 3546 3547int 3548main () 3549{ 3550 3551 ; 3552 return 0; 3553} 3554_ACEOF 3555if ac_fn_c_try_compile "$LINENO"; then : 3556 ac_cv_prog_cc_g=yes 3557else 3558 CFLAGS="" 3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3560/* end confdefs.h. */ 3561 3562int 3563main () 3564{ 3565 3566 ; 3567 return 0; 3568} 3569_ACEOF 3570if ac_fn_c_try_compile "$LINENO"; then : 3571 3572else 3573 ac_c_werror_flag=$ac_save_c_werror_flag 3574 CFLAGS="-g" 3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3576/* end confdefs.h. */ 3577 3578int 3579main () 3580{ 3581 3582 ; 3583 return 0; 3584} 3585_ACEOF 3586if ac_fn_c_try_compile "$LINENO"; then : 3587 ac_cv_prog_cc_g=yes 3588fi 3589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3590fi 3591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3592fi 3593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3594 ac_c_werror_flag=$ac_save_c_werror_flag 3595fi 3596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3597$as_echo "$ac_cv_prog_cc_g" >&6; } 3598if test "$ac_test_CFLAGS" = set; then 3599 CFLAGS=$ac_save_CFLAGS 3600elif test $ac_cv_prog_cc_g = yes; then 3601 if test "$GCC" = yes; then 3602 CFLAGS="-g -O2" 3603 else 3604 CFLAGS="-g" 3605 fi 3606else 3607 if test "$GCC" = yes; then 3608 CFLAGS="-O2" 3609 else 3610 CFLAGS= 3611 fi 3612fi 3613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3614$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3615if test "${ac_cv_prog_cc_c89+set}" = set; then : 3616 $as_echo_n "(cached) " >&6 3617else 3618 ac_cv_prog_cc_c89=no 3619ac_save_CC=$CC 3620cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3621/* end confdefs.h. */ 3622#include <stdarg.h> 3623#include <stdio.h> 3624#include <sys/types.h> 3625#include <sys/stat.h> 3626/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3627struct buf { int x; }; 3628FILE * (*rcsopen) (struct buf *, struct stat *, int); 3629static char *e (p, i) 3630 char **p; 3631 int i; 3632{ 3633 return p[i]; 3634} 3635static char *f (char * (*g) (char **, int), char **p, ...) 3636{ 3637 char *s; 3638 va_list v; 3639 va_start (v,p); 3640 s = g (p, va_arg (v,int)); 3641 va_end (v); 3642 return s; 3643} 3644 3645/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3646 function prototypes and stuff, but not '\xHH' hex character constants. 3647 These don't provoke an error unfortunately, instead are silently treated 3648 as 'x'. The following induces an error, until -std is added to get 3649 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3650 array size at least. It's necessary to write '\x00'==0 to get something 3651 that's true only with -std. */ 3652int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3653 3654/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3655 inside strings and character constants. */ 3656#define FOO(x) 'x' 3657int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3658 3659int test (int i, double x); 3660struct s1 {int (*f) (int a);}; 3661struct s2 {int (*f) (double a);}; 3662int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3663int argc; 3664char **argv; 3665int 3666main () 3667{ 3668return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3669 ; 3670 return 0; 3671} 3672_ACEOF 3673for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3674 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3675do 3676 CC="$ac_save_CC $ac_arg" 3677 if ac_fn_c_try_compile "$LINENO"; then : 3678 ac_cv_prog_cc_c89=$ac_arg 3679fi 3680rm -f core conftest.err conftest.$ac_objext 3681 test "x$ac_cv_prog_cc_c89" != "xno" && break 3682done 3683rm -f conftest.$ac_ext 3684CC=$ac_save_CC 3685 3686fi 3687# AC_CACHE_VAL 3688case "x$ac_cv_prog_cc_c89" in 3689 x) 3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3691$as_echo "none needed" >&6; } ;; 3692 xno) 3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3694$as_echo "unsupported" >&6; } ;; 3695 *) 3696 CC="$CC $ac_cv_prog_cc_c89" 3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3698$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3699esac 3700if test "x$ac_cv_prog_cc_c89" != xno; then : 3701 3702fi 3703 3704ac_ext=c 3705ac_cpp='$CPP $CPPFLAGS' 3706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3708ac_compiler_gnu=$ac_cv_c_compiler_gnu 3709 3710depcc="$CC" am_compiler_list= 3711 3712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3713$as_echo_n "checking dependency style of $depcc... " >&6; } 3714if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3715 $as_echo_n "(cached) " >&6 3716else 3717 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3718 # We make a subdir and do the tests there. Otherwise we can end up 3719 # making bogus files that we don't know about and never remove. For 3720 # instance it was reported that on HP-UX the gcc test will end up 3721 # making a dummy file named `D' -- because `-MD' means `put the output 3722 # in D'. 3723 mkdir conftest.dir 3724 # Copy depcomp to subdir because otherwise we won't find it if we're 3725 # using a relative directory. 3726 cp "$am_depcomp" conftest.dir 3727 cd conftest.dir 3728 # We will build objects and dependencies in a subdirectory because 3729 # it helps to detect inapplicable dependency modes. For instance 3730 # both Tru64's cc and ICC support -MD to output dependencies as a 3731 # side effect of compilation, but ICC will put the dependencies in 3732 # the current directory while Tru64 will put them in the object 3733 # directory. 3734 mkdir sub 3735 3736 am_cv_CC_dependencies_compiler_type=none 3737 if test "$am_compiler_list" = ""; then 3738 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3739 fi 3740 am__universal=false 3741 case " $depcc " in #( 3742 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3743 esac 3744 3745 for depmode in $am_compiler_list; do 3746 # Setup a source with many dependencies, because some compilers 3747 # like to wrap large dependency lists on column 80 (with \), and 3748 # we should not choose a depcomp mode which is confused by this. 3749 # 3750 # We need to recreate these files for each test, as the compiler may 3751 # overwrite some of them when testing with obscure command lines. 3752 # This happens at least with the AIX C compiler. 3753 : > sub/conftest.c 3754 for i in 1 2 3 4 5 6; do 3755 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3756 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3757 # Solaris 8's {/usr,}/bin/sh. 3758 touch sub/conftst$i.h 3759 done 3760 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3761 3762 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3763 # mode. It turns out that the SunPro C++ compiler does not properly 3764 # handle `-M -o', and we need to detect this. Also, some Intel 3765 # versions had trouble with output in subdirs 3766 am__obj=sub/conftest.${OBJEXT-o} 3767 am__minus_obj="-o $am__obj" 3768 case $depmode in 3769 gcc) 3770 # This depmode causes a compiler race in universal mode. 3771 test "$am__universal" = false || continue 3772 ;; 3773 nosideeffect) 3774 # after this tag, mechanisms are not by side-effect, so they'll 3775 # only be used when explicitly requested 3776 if test "x$enable_dependency_tracking" = xyes; then 3777 continue 3778 else 3779 break 3780 fi 3781 ;; 3782 msvisualcpp | msvcmsys) 3783 # This compiler won't grok `-c -o', but also, the minuso test has 3784 # not run yet. These depmodes are late enough in the game, and 3785 # so weak that their functioning should not be impacted. 3786 am__obj=conftest.${OBJEXT-o} 3787 am__minus_obj= 3788 ;; 3789 none) break ;; 3790 esac 3791 if depmode=$depmode \ 3792 source=sub/conftest.c object=$am__obj \ 3793 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3794 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3795 >/dev/null 2>conftest.err && 3796 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3797 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3798 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3799 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3800 # icc doesn't choke on unknown options, it will just issue warnings 3801 # or remarks (even with -Werror). So we grep stderr for any message 3802 # that says an option was ignored or not supported. 3803 # When given -MP, icc 7.0 and 7.1 complain thusly: 3804 # icc: Command line warning: ignoring option '-M'; no argument required 3805 # The diagnosis changed in icc 8.0: 3806 # icc: Command line remark: option '-MP' not supported 3807 if (grep 'ignoring option' conftest.err || 3808 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3809 am_cv_CC_dependencies_compiler_type=$depmode 3810 break 3811 fi 3812 fi 3813 done 3814 3815 cd .. 3816 rm -rf conftest.dir 3817else 3818 am_cv_CC_dependencies_compiler_type=none 3819fi 3820 3821fi 3822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3823$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3824CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3825 3826 if 3827 test "x$enable_dependency_tracking" != xno \ 3828 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3829 am__fastdepCC_TRUE= 3830 am__fastdepCC_FALSE='#' 3831else 3832 am__fastdepCC_TRUE='#' 3833 am__fastdepCC_FALSE= 3834fi 3835 3836 3837 3838ac_ext=c 3839ac_cpp='$CPP $CPPFLAGS' 3840ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3841ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3842ac_compiler_gnu=$ac_cv_c_compiler_gnu 3843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3844$as_echo_n "checking how to run the C preprocessor... " >&6; } 3845# On Suns, sometimes $CPP names a directory. 3846if test -n "$CPP" && test -d "$CPP"; then 3847 CPP= 3848fi 3849if test -z "$CPP"; then 3850 if test "${ac_cv_prog_CPP+set}" = set; then : 3851 $as_echo_n "(cached) " >&6 3852else 3853 # Double quotes because CPP needs to be expanded 3854 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3855 do 3856 ac_preproc_ok=false 3857for ac_c_preproc_warn_flag in '' yes 3858do 3859 # Use a header file that comes with gcc, so configuring glibc 3860 # with a fresh cross-compiler works. 3861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3862 # <limits.h> exists even on freestanding compilers. 3863 # On the NeXT, cc -E runs the code through the compiler's parser, 3864 # not just through cpp. "Syntax error" is here to catch this case. 3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3866/* end confdefs.h. */ 3867#ifdef __STDC__ 3868# include <limits.h> 3869#else 3870# include <assert.h> 3871#endif 3872 Syntax error 3873_ACEOF 3874if ac_fn_c_try_cpp "$LINENO"; then : 3875 3876else 3877 # Broken: fails on valid input. 3878continue 3879fi 3880rm -f conftest.err conftest.$ac_ext 3881 3882 # OK, works on sane cases. Now check whether nonexistent headers 3883 # can be detected and how. 3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3885/* end confdefs.h. */ 3886#include <ac_nonexistent.h> 3887_ACEOF 3888if ac_fn_c_try_cpp "$LINENO"; then : 3889 # Broken: success on invalid input. 3890continue 3891else 3892 # Passes both tests. 3893ac_preproc_ok=: 3894break 3895fi 3896rm -f conftest.err conftest.$ac_ext 3897 3898done 3899# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3900rm -f conftest.err conftest.$ac_ext 3901if $ac_preproc_ok; then : 3902 break 3903fi 3904 3905 done 3906 ac_cv_prog_CPP=$CPP 3907 3908fi 3909 CPP=$ac_cv_prog_CPP 3910else 3911 ac_cv_prog_CPP=$CPP 3912fi 3913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3914$as_echo "$CPP" >&6; } 3915ac_preproc_ok=false 3916for ac_c_preproc_warn_flag in '' yes 3917do 3918 # Use a header file that comes with gcc, so configuring glibc 3919 # with a fresh cross-compiler works. 3920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3921 # <limits.h> exists even on freestanding compilers. 3922 # On the NeXT, cc -E runs the code through the compiler's parser, 3923 # not just through cpp. "Syntax error" is here to catch this case. 3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3925/* end confdefs.h. */ 3926#ifdef __STDC__ 3927# include <limits.h> 3928#else 3929# include <assert.h> 3930#endif 3931 Syntax error 3932_ACEOF 3933if ac_fn_c_try_cpp "$LINENO"; then : 3934 3935else 3936 # Broken: fails on valid input. 3937continue 3938fi 3939rm -f conftest.err conftest.$ac_ext 3940 3941 # OK, works on sane cases. Now check whether nonexistent headers 3942 # can be detected and how. 3943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3944/* end confdefs.h. */ 3945#include <ac_nonexistent.h> 3946_ACEOF 3947if ac_fn_c_try_cpp "$LINENO"; then : 3948 # Broken: success on invalid input. 3949continue 3950else 3951 # Passes both tests. 3952ac_preproc_ok=: 3953break 3954fi 3955rm -f conftest.err conftest.$ac_ext 3956 3957done 3958# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3959rm -f conftest.err conftest.$ac_ext 3960if $ac_preproc_ok; then : 3961 3962else 3963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3964$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3965as_fn_error "C preprocessor \"$CPP\" fails sanity check 3966See \`config.log' for more details." "$LINENO" 5; } 3967fi 3968 3969ac_ext=c 3970ac_cpp='$CPP $CPPFLAGS' 3971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3973ac_compiler_gnu=$ac_cv_c_compiler_gnu 3974 3975 3976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3977$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3978if test "${ac_cv_path_GREP+set}" = set; then : 3979 $as_echo_n "(cached) " >&6 3980else 3981 if test -z "$GREP"; then 3982 ac_path_GREP_found=false 3983 # Loop through the user's path and test for each of PROGNAME-LIST 3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3985for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3986do 3987 IFS=$as_save_IFS 3988 test -z "$as_dir" && as_dir=. 3989 for ac_prog in grep ggrep; do 3990 for ac_exec_ext in '' $ac_executable_extensions; do 3991 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3992 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3993# Check for GNU ac_path_GREP and select it if it is found. 3994 # Check for GNU $ac_path_GREP 3995case `"$ac_path_GREP" --version 2>&1` in 3996*GNU*) 3997 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3998*) 3999 ac_count=0 4000 $as_echo_n 0123456789 >"conftest.in" 4001 while : 4002 do 4003 cat "conftest.in" "conftest.in" >"conftest.tmp" 4004 mv "conftest.tmp" "conftest.in" 4005 cp "conftest.in" "conftest.nl" 4006 $as_echo 'GREP' >> "conftest.nl" 4007 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4008 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4009 as_fn_arith $ac_count + 1 && ac_count=$as_val 4010 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4011 # Best one so far, save it but keep looking for a better one 4012 ac_cv_path_GREP="$ac_path_GREP" 4013 ac_path_GREP_max=$ac_count 4014 fi 4015 # 10*(2^10) chars as input seems more than enough 4016 test $ac_count -gt 10 && break 4017 done 4018 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4019esac 4020 4021 $ac_path_GREP_found && break 3 4022 done 4023 done 4024 done 4025IFS=$as_save_IFS 4026 if test -z "$ac_cv_path_GREP"; then 4027 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4028 fi 4029else 4030 ac_cv_path_GREP=$GREP 4031fi 4032 4033fi 4034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4035$as_echo "$ac_cv_path_GREP" >&6; } 4036 GREP="$ac_cv_path_GREP" 4037 4038 4039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4040$as_echo_n "checking for egrep... " >&6; } 4041if test "${ac_cv_path_EGREP+set}" = set; then : 4042 $as_echo_n "(cached) " >&6 4043else 4044 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4045 then ac_cv_path_EGREP="$GREP -E" 4046 else 4047 if test -z "$EGREP"; then 4048 ac_path_EGREP_found=false 4049 # Loop through the user's path and test for each of PROGNAME-LIST 4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4051for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4052do 4053 IFS=$as_save_IFS 4054 test -z "$as_dir" && as_dir=. 4055 for ac_prog in egrep; do 4056 for ac_exec_ext in '' $ac_executable_extensions; do 4057 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4058 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4059# Check for GNU ac_path_EGREP and select it if it is found. 4060 # Check for GNU $ac_path_EGREP 4061case `"$ac_path_EGREP" --version 2>&1` in 4062*GNU*) 4063 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4064*) 4065 ac_count=0 4066 $as_echo_n 0123456789 >"conftest.in" 4067 while : 4068 do 4069 cat "conftest.in" "conftest.in" >"conftest.tmp" 4070 mv "conftest.tmp" "conftest.in" 4071 cp "conftest.in" "conftest.nl" 4072 $as_echo 'EGREP' >> "conftest.nl" 4073 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4074 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4075 as_fn_arith $ac_count + 1 && ac_count=$as_val 4076 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4077 # Best one so far, save it but keep looking for a better one 4078 ac_cv_path_EGREP="$ac_path_EGREP" 4079 ac_path_EGREP_max=$ac_count 4080 fi 4081 # 10*(2^10) chars as input seems more than enough 4082 test $ac_count -gt 10 && break 4083 done 4084 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4085esac 4086 4087 $ac_path_EGREP_found && break 3 4088 done 4089 done 4090 done 4091IFS=$as_save_IFS 4092 if test -z "$ac_cv_path_EGREP"; then 4093 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4094 fi 4095else 4096 ac_cv_path_EGREP=$EGREP 4097fi 4098 4099 fi 4100fi 4101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4102$as_echo "$ac_cv_path_EGREP" >&6; } 4103 EGREP="$ac_cv_path_EGREP" 4104 4105 4106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4107$as_echo_n "checking for ANSI C header files... " >&6; } 4108if test "${ac_cv_header_stdc+set}" = set; then : 4109 $as_echo_n "(cached) " >&6 4110else 4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4112/* end confdefs.h. */ 4113#include <stdlib.h> 4114#include <stdarg.h> 4115#include <string.h> 4116#include <float.h> 4117 4118int 4119main () 4120{ 4121 4122 ; 4123 return 0; 4124} 4125_ACEOF 4126if ac_fn_c_try_compile "$LINENO"; then : 4127 ac_cv_header_stdc=yes 4128else 4129 ac_cv_header_stdc=no 4130fi 4131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4132 4133if test $ac_cv_header_stdc = yes; then 4134 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4136/* end confdefs.h. */ 4137#include <string.h> 4138 4139_ACEOF 4140if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4141 $EGREP "memchr" >/dev/null 2>&1; then : 4142 4143else 4144 ac_cv_header_stdc=no 4145fi 4146rm -f conftest* 4147 4148fi 4149 4150if test $ac_cv_header_stdc = yes; then 4151 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4153/* end confdefs.h. */ 4154#include <stdlib.h> 4155 4156_ACEOF 4157if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4158 $EGREP "free" >/dev/null 2>&1; then : 4159 4160else 4161 ac_cv_header_stdc=no 4162fi 4163rm -f conftest* 4164 4165fi 4166 4167if test $ac_cv_header_stdc = yes; then 4168 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4169 if test "$cross_compiling" = yes; then : 4170 : 4171else 4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4173/* end confdefs.h. */ 4174#include <ctype.h> 4175#include <stdlib.h> 4176#if ((' ' & 0x0FF) == 0x020) 4177# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4178# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4179#else 4180# define ISLOWER(c) \ 4181 (('a' <= (c) && (c) <= 'i') \ 4182 || ('j' <= (c) && (c) <= 'r') \ 4183 || ('s' <= (c) && (c) <= 'z')) 4184# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4185#endif 4186 4187#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4188int 4189main () 4190{ 4191 int i; 4192 for (i = 0; i < 256; i++) 4193 if (XOR (islower (i), ISLOWER (i)) 4194 || toupper (i) != TOUPPER (i)) 4195 return 2; 4196 return 0; 4197} 4198_ACEOF 4199if ac_fn_c_try_run "$LINENO"; then : 4200 4201else 4202 ac_cv_header_stdc=no 4203fi 4204rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4205 conftest.$ac_objext conftest.beam conftest.$ac_ext 4206fi 4207 4208fi 4209fi 4210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4211$as_echo "$ac_cv_header_stdc" >&6; } 4212if test $ac_cv_header_stdc = yes; then 4213 4214$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4215 4216fi 4217 4218# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4219for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4220 inttypes.h stdint.h unistd.h 4221do : 4222 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4223ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4224" 4225eval as_val=\$$as_ac_Header 4226 if test "x$as_val" = x""yes; then : 4227 cat >>confdefs.h <<_ACEOF 4228#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4229_ACEOF 4230 4231fi 4232 4233done 4234 4235 4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 4237$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4238if test "${ac_cv_prog_cc_c99+set}" = set; then : 4239 $as_echo_n "(cached) " >&6 4240else 4241 ac_cv_prog_cc_c99=no 4242ac_save_CC=$CC 4243cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4244/* end confdefs.h. */ 4245#include <stdarg.h> 4246#include <stdbool.h> 4247#include <stdlib.h> 4248#include <wchar.h> 4249#include <stdio.h> 4250 4251// Check varargs macros. These examples are taken from C99 6.10.3.5. 4252#define debug(...) fprintf (stderr, __VA_ARGS__) 4253#define showlist(...) puts (#__VA_ARGS__) 4254#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4255static void 4256test_varargs_macros (void) 4257{ 4258 int x = 1234; 4259 int y = 5678; 4260 debug ("Flag"); 4261 debug ("X = %d\n", x); 4262 showlist (The first, second, and third items.); 4263 report (x>y, "x is %d but y is %d", x, y); 4264} 4265 4266// Check long long types. 4267#define BIG64 18446744073709551615ull 4268#define BIG32 4294967295ul 4269#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4270#if !BIG_OK 4271 your preprocessor is broken; 4272#endif 4273#if BIG_OK 4274#else 4275 your preprocessor is broken; 4276#endif 4277static long long int bignum = -9223372036854775807LL; 4278static unsigned long long int ubignum = BIG64; 4279 4280struct incomplete_array 4281{ 4282 int datasize; 4283 double data[]; 4284}; 4285 4286struct named_init { 4287 int number; 4288 const wchar_t *name; 4289 double average; 4290}; 4291 4292typedef const char *ccp; 4293 4294static inline int 4295test_restrict (ccp restrict text) 4296{ 4297 // See if C++-style comments work. 4298 // Iterate through items via the restricted pointer. 4299 // Also check for declarations in for loops. 4300 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4301 continue; 4302 return 0; 4303} 4304 4305// Check varargs and va_copy. 4306static void 4307test_varargs (const char *format, ...) 4308{ 4309 va_list args; 4310 va_start (args, format); 4311 va_list args_copy; 4312 va_copy (args_copy, args); 4313 4314 const char *str; 4315 int number; 4316 float fnumber; 4317 4318 while (*format) 4319 { 4320 switch (*format++) 4321 { 4322 case 's': // string 4323 str = va_arg (args_copy, const char *); 4324 break; 4325 case 'd': // int 4326 number = va_arg (args_copy, int); 4327 break; 4328 case 'f': // float 4329 fnumber = va_arg (args_copy, double); 4330 break; 4331 default: 4332 break; 4333 } 4334 } 4335 va_end (args_copy); 4336 va_end (args); 4337} 4338 4339int 4340main () 4341{ 4342 4343 // Check bool. 4344 _Bool success = false; 4345 4346 // Check restrict. 4347 if (test_restrict ("String literal") == 0) 4348 success = true; 4349 char *restrict newvar = "Another string"; 4350 4351 // Check varargs. 4352 test_varargs ("s, d' f .", "string", 65, 34.234); 4353 test_varargs_macros (); 4354 4355 // Check flexible array members. 4356 struct incomplete_array *ia = 4357 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4358 ia->datasize = 10; 4359 for (int i = 0; i < ia->datasize; ++i) 4360 ia->data[i] = i * 1.234; 4361 4362 // Check named initializers. 4363 struct named_init ni = { 4364 .number = 34, 4365 .name = L"Test wide string", 4366 .average = 543.34343, 4367 }; 4368 4369 ni.number = 58; 4370 4371 int dynamic_array[ni.number]; 4372 dynamic_array[ni.number - 1] = 543; 4373 4374 // work around unused variable warnings 4375 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4376 || dynamic_array[ni.number - 1] != 543); 4377 4378 ; 4379 return 0; 4380} 4381_ACEOF 4382for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 4383do 4384 CC="$ac_save_CC $ac_arg" 4385 if ac_fn_c_try_compile "$LINENO"; then : 4386 ac_cv_prog_cc_c99=$ac_arg 4387fi 4388rm -f core conftest.err conftest.$ac_objext 4389 test "x$ac_cv_prog_cc_c99" != "xno" && break 4390done 4391rm -f conftest.$ac_ext 4392CC=$ac_save_CC 4393 4394fi 4395# AC_CACHE_VAL 4396case "x$ac_cv_prog_cc_c99" in 4397 x) 4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4399$as_echo "none needed" >&6; } ;; 4400 xno) 4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4402$as_echo "unsupported" >&6; } ;; 4403 *) 4404 CC="$CC $ac_cv_prog_cc_c99" 4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4406$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4407esac 4408if test "x$ac_cv_prog_cc_c99" != xno; then : 4409 4410fi 4411 4412 4413 4414 4415if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4416 if test -n "$ac_tool_prefix"; then 4417 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4418set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4420$as_echo_n "checking for $ac_word... " >&6; } 4421if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 4422 $as_echo_n "(cached) " >&6 4423else 4424 case $PKG_CONFIG in 4425 [\\/]* | ?:[\\/]*) 4426 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4427 ;; 4428 *) 4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4430for as_dir in $PATH 4431do 4432 IFS=$as_save_IFS 4433 test -z "$as_dir" && as_dir=. 4434 for ac_exec_ext in '' $ac_executable_extensions; do 4435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4436 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4438 break 2 4439 fi 4440done 4441 done 4442IFS=$as_save_IFS 4443 4444 ;; 4445esac 4446fi 4447PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4448if test -n "$PKG_CONFIG"; then 4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4450$as_echo "$PKG_CONFIG" >&6; } 4451else 4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4453$as_echo "no" >&6; } 4454fi 4455 4456 4457fi 4458if test -z "$ac_cv_path_PKG_CONFIG"; then 4459 ac_pt_PKG_CONFIG=$PKG_CONFIG 4460 # Extract the first word of "pkg-config", so it can be a program name with args. 4461set dummy pkg-config; ac_word=$2 4462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4463$as_echo_n "checking for $ac_word... " >&6; } 4464if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 4465 $as_echo_n "(cached) " >&6 4466else 4467 case $ac_pt_PKG_CONFIG in 4468 [\\/]* | ?:[\\/]*) 4469 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4470 ;; 4471 *) 4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4473for as_dir in $PATH 4474do 4475 IFS=$as_save_IFS 4476 test -z "$as_dir" && as_dir=. 4477 for ac_exec_ext in '' $ac_executable_extensions; do 4478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4479 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4481 break 2 4482 fi 4483done 4484 done 4485IFS=$as_save_IFS 4486 4487 ;; 4488esac 4489fi 4490ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4491if test -n "$ac_pt_PKG_CONFIG"; then 4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4493$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4494else 4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4496$as_echo "no" >&6; } 4497fi 4498 4499 if test "x$ac_pt_PKG_CONFIG" = x; then 4500 PKG_CONFIG="" 4501 else 4502 case $cross_compiling:$ac_tool_warned in 4503yes:) 4504{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4505$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4506ac_tool_warned=yes ;; 4507esac 4508 PKG_CONFIG=$ac_pt_PKG_CONFIG 4509 fi 4510else 4511 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4512fi 4513 4514fi 4515if test -n "$PKG_CONFIG"; then 4516 _pkg_min_version=0.9.0 4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4518$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4519 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4521$as_echo "yes" >&6; } 4522 else 4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4524$as_echo "no" >&6; } 4525 PKG_CONFIG="" 4526 fi 4527 4528fi 4529# Make sure we can run config.sub. 4530$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4531 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4532 4533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4534$as_echo_n "checking build system type... " >&6; } 4535if test "${ac_cv_build+set}" = set; then : 4536 $as_echo_n "(cached) " >&6 4537else 4538 ac_build_alias=$build_alias 4539test "x$ac_build_alias" = x && 4540 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4541test "x$ac_build_alias" = x && 4542 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 4543ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4544 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4545 4546fi 4547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4548$as_echo "$ac_cv_build" >&6; } 4549case $ac_cv_build in 4550*-*-*) ;; 4551*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 4552esac 4553build=$ac_cv_build 4554ac_save_IFS=$IFS; IFS='-' 4555set x $ac_cv_build 4556shift 4557build_cpu=$1 4558build_vendor=$2 4559shift; shift 4560# Remember, the first character of IFS is used to create $*, 4561# except with old shells: 4562build_os=$* 4563IFS=$ac_save_IFS 4564case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4565 4566 4567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4568$as_echo_n "checking host system type... " >&6; } 4569if test "${ac_cv_host+set}" = set; then : 4570 $as_echo_n "(cached) " >&6 4571else 4572 if test "x$host_alias" = x; then 4573 ac_cv_host=$ac_cv_build 4574else 4575 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4576 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4577fi 4578 4579fi 4580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4581$as_echo "$ac_cv_host" >&6; } 4582case $ac_cv_host in 4583*-*-*) ;; 4584*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 4585esac 4586host=$ac_cv_host 4587ac_save_IFS=$IFS; IFS='-' 4588set x $ac_cv_host 4589shift 4590host_cpu=$1 4591host_vendor=$2 4592shift; shift 4593# Remember, the first character of IFS is used to create $*, 4594# except with old shells: 4595host_os=$* 4596IFS=$ac_save_IFS 4597case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4598 4599 4600 4601 4602 4603if test "x$GCC" = xyes ; then 4604 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4605-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4606-Wbad-function-cast -Wformat=2" 4607 case `$CC -dumpversion` in 4608 3.4.* | 4.*) 4609 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4610 ;; 4611 esac 4612else 4613 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4614if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then : 4615 SUNCC="yes" 4616else 4617 SUNCC="no" 4618fi 4619 4620 if test "x$SUNCC" = "xyes"; then 4621 CWARNFLAGS="-v" 4622 fi 4623fi 4624 4625# Check whether --enable-silent-rules was given. 4626if test "${enable_silent_rules+set}" = set; then : 4627 enableval=$enable_silent_rules; 4628fi 4629 4630case $enable_silent_rules in 4631yes) AM_DEFAULT_VERBOSITY=0;; 4632no) AM_DEFAULT_VERBOSITY=1;; 4633*) AM_DEFAULT_VERBOSITY=0;; 4634esac 4635AM_BACKSLASH='\' 4636 4637 4638 4639 4640 4641 4642 4643# Check whether --enable-strict-compilation was given. 4644if test "${enable_strict_compilation+set}" = set; then : 4645 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4646else 4647 STRICT_COMPILE=no 4648fi 4649 4650if test "x$STRICT_COMPILE" = "xyes"; then 4651 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4652if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then : 4653 SUNCC="yes" 4654else 4655 SUNCC="no" 4656fi 4657 4658 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4659if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then : 4660 INTELCC="yes" 4661else 4662 INTELCC="no" 4663fi 4664 4665 if test "x$GCC" = xyes ; then 4666 STRICT_CFLAGS="-pedantic -Werror" 4667 elif test "x$SUNCC" = "xyes"; then 4668 STRICT_CFLAGS="-errwarn" 4669 elif test "x$INTELCC" = "xyes"; then 4670 STRICT_CFLAGS="-Werror" 4671 fi 4672fi 4673CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4674 4675 4676 4677 4678# Check whether --with-release-version was given. 4679if test "${with_release_version+set}" = set; then : 4680 withval=$with_release_version; RELEASE_VERSION="$withval" 4681else 4682 RELEASE_VERSION="" 4683fi 4684 4685 if test "x$RELEASE_VERSION" != "x"; then 4686 PACKAGE="$PACKAGE-$RELEASE_VERSION" 4687 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 4688 { $as_echo "$as_me:${as_lineno-$LINENO}: Building with package name set to $PACKAGE" >&5 4689$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 4690 fi 4691 4692cat >>confdefs.h <<_ACEOF 4693#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4694_ACEOF 4695 4696 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4697 if test "x$PVM" = "x"; then 4698 PVM="0" 4699 fi 4700 4701cat >>confdefs.h <<_ACEOF 4702#define PACKAGE_VERSION_MINOR $PVM 4703_ACEOF 4704 4705 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4706 if test "x$PVP" = "x"; then 4707 PVP="0" 4708 fi 4709 4710cat >>confdefs.h <<_ACEOF 4711#define PACKAGE_VERSION_PATCHLEVEL $PVP 4712_ACEOF 4713 4714 4715 4716CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 4717mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 4718|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 4719echo 'git directory not found: installing possibly empty changelog.' >&2)" 4720 4721 4722 4723 4724macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 4725INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 4726mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 4727|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 4728echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4729 4730 4731 4732 4733 4734if test x$APP_MAN_SUFFIX = x ; then 4735 APP_MAN_SUFFIX=1 4736fi 4737if test x$APP_MAN_DIR = x ; then 4738 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4739fi 4740 4741if test x$LIB_MAN_SUFFIX = x ; then 4742 LIB_MAN_SUFFIX=3 4743fi 4744if test x$LIB_MAN_DIR = x ; then 4745 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4746fi 4747 4748if test x$FILE_MAN_SUFFIX = x ; then 4749 case $host_os in 4750 solaris*) FILE_MAN_SUFFIX=4 ;; 4751 *) FILE_MAN_SUFFIX=5 ;; 4752 esac 4753fi 4754if test x$FILE_MAN_DIR = x ; then 4755 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4756fi 4757 4758if test x$MISC_MAN_SUFFIX = x ; then 4759 case $host_os in 4760 solaris*) MISC_MAN_SUFFIX=5 ;; 4761 *) MISC_MAN_SUFFIX=7 ;; 4762 esac 4763fi 4764if test x$MISC_MAN_DIR = x ; then 4765 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4766fi 4767 4768if test x$DRIVER_MAN_SUFFIX = x ; then 4769 case $host_os in 4770 solaris*) DRIVER_MAN_SUFFIX=7 ;; 4771 *) DRIVER_MAN_SUFFIX=4 ;; 4772 esac 4773fi 4774if test x$DRIVER_MAN_DIR = x ; then 4775 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4776fi 4777 4778if test x$ADMIN_MAN_SUFFIX = x ; then 4779 case $host_os in 4780 solaris*) ADMIN_MAN_SUFFIX=1m ;; 4781 *) ADMIN_MAN_SUFFIX=8 ;; 4782 esac 4783fi 4784if test x$ADMIN_MAN_DIR = x ; then 4785 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4786fi 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804ac_config_headers="$ac_config_headers config.h" 4805 4806 4807ac_ext=c 4808ac_cpp='$CPP $CPPFLAGS' 4809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4811ac_compiler_gnu=$ac_cv_c_compiler_gnu 4812if test -n "$ac_tool_prefix"; then 4813 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4814set dummy ${ac_tool_prefix}gcc; ac_word=$2 4815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4816$as_echo_n "checking for $ac_word... " >&6; } 4817if test "${ac_cv_prog_CC+set}" = set; then : 4818 $as_echo_n "(cached) " >&6 4819else 4820 if test -n "$CC"; then 4821 ac_cv_prog_CC="$CC" # Let the user override the test. 4822else 4823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4824for as_dir in $PATH 4825do 4826 IFS=$as_save_IFS 4827 test -z "$as_dir" && as_dir=. 4828 for ac_exec_ext in '' $ac_executable_extensions; do 4829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4830 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4832 break 2 4833 fi 4834done 4835 done 4836IFS=$as_save_IFS 4837 4838fi 4839fi 4840CC=$ac_cv_prog_CC 4841if test -n "$CC"; then 4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4843$as_echo "$CC" >&6; } 4844else 4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4846$as_echo "no" >&6; } 4847fi 4848 4849 4850fi 4851if test -z "$ac_cv_prog_CC"; then 4852 ac_ct_CC=$CC 4853 # Extract the first word of "gcc", so it can be a program name with args. 4854set dummy gcc; ac_word=$2 4855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4856$as_echo_n "checking for $ac_word... " >&6; } 4857if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4858 $as_echo_n "(cached) " >&6 4859else 4860 if test -n "$ac_ct_CC"; then 4861 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4862else 4863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4864for as_dir in $PATH 4865do 4866 IFS=$as_save_IFS 4867 test -z "$as_dir" && as_dir=. 4868 for ac_exec_ext in '' $ac_executable_extensions; do 4869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4870 ac_cv_prog_ac_ct_CC="gcc" 4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4872 break 2 4873 fi 4874done 4875 done 4876IFS=$as_save_IFS 4877 4878fi 4879fi 4880ac_ct_CC=$ac_cv_prog_ac_ct_CC 4881if test -n "$ac_ct_CC"; then 4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4883$as_echo "$ac_ct_CC" >&6; } 4884else 4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4886$as_echo "no" >&6; } 4887fi 4888 4889 if test "x$ac_ct_CC" = x; then 4890 CC="" 4891 else 4892 case $cross_compiling:$ac_tool_warned in 4893yes:) 4894{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4895$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4896ac_tool_warned=yes ;; 4897esac 4898 CC=$ac_ct_CC 4899 fi 4900else 4901 CC="$ac_cv_prog_CC" 4902fi 4903 4904if test -z "$CC"; then 4905 if test -n "$ac_tool_prefix"; then 4906 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4907set dummy ${ac_tool_prefix}cc; ac_word=$2 4908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4909$as_echo_n "checking for $ac_word... " >&6; } 4910if test "${ac_cv_prog_CC+set}" = set; then : 4911 $as_echo_n "(cached) " >&6 4912else 4913 if test -n "$CC"; then 4914 ac_cv_prog_CC="$CC" # Let the user override the test. 4915else 4916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4917for as_dir in $PATH 4918do 4919 IFS=$as_save_IFS 4920 test -z "$as_dir" && as_dir=. 4921 for ac_exec_ext in '' $ac_executable_extensions; do 4922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4923 ac_cv_prog_CC="${ac_tool_prefix}cc" 4924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4925 break 2 4926 fi 4927done 4928 done 4929IFS=$as_save_IFS 4930 4931fi 4932fi 4933CC=$ac_cv_prog_CC 4934if test -n "$CC"; then 4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4936$as_echo "$CC" >&6; } 4937else 4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4939$as_echo "no" >&6; } 4940fi 4941 4942 4943 fi 4944fi 4945if test -z "$CC"; then 4946 # Extract the first word of "cc", so it can be a program name with args. 4947set dummy cc; ac_word=$2 4948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4949$as_echo_n "checking for $ac_word... " >&6; } 4950if test "${ac_cv_prog_CC+set}" = set; then : 4951 $as_echo_n "(cached) " >&6 4952else 4953 if test -n "$CC"; then 4954 ac_cv_prog_CC="$CC" # Let the user override the test. 4955else 4956 ac_prog_rejected=no 4957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4958for as_dir in $PATH 4959do 4960 IFS=$as_save_IFS 4961 test -z "$as_dir" && as_dir=. 4962 for ac_exec_ext in '' $ac_executable_extensions; do 4963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4964 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4965 ac_prog_rejected=yes 4966 continue 4967 fi 4968 ac_cv_prog_CC="cc" 4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4970 break 2 4971 fi 4972done 4973 done 4974IFS=$as_save_IFS 4975 4976if test $ac_prog_rejected = yes; then 4977 # We found a bogon in the path, so make sure we never use it. 4978 set dummy $ac_cv_prog_CC 4979 shift 4980 if test $# != 0; then 4981 # We chose a different compiler from the bogus one. 4982 # However, it has the same basename, so the bogon will be chosen 4983 # first if we set CC to just the basename; use the full file name. 4984 shift 4985 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4986 fi 4987fi 4988fi 4989fi 4990CC=$ac_cv_prog_CC 4991if test -n "$CC"; then 4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4993$as_echo "$CC" >&6; } 4994else 4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4996$as_echo "no" >&6; } 4997fi 4998 4999 5000fi 5001if test -z "$CC"; then 5002 if test -n "$ac_tool_prefix"; then 5003 for ac_prog in cl.exe 5004 do 5005 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5006set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5008$as_echo_n "checking for $ac_word... " >&6; } 5009if test "${ac_cv_prog_CC+set}" = set; then : 5010 $as_echo_n "(cached) " >&6 5011else 5012 if test -n "$CC"; then 5013 ac_cv_prog_CC="$CC" # Let the user override the test. 5014else 5015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5016for as_dir in $PATH 5017do 5018 IFS=$as_save_IFS 5019 test -z "$as_dir" && as_dir=. 5020 for ac_exec_ext in '' $ac_executable_extensions; do 5021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5022 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5024 break 2 5025 fi 5026done 5027 done 5028IFS=$as_save_IFS 5029 5030fi 5031fi 5032CC=$ac_cv_prog_CC 5033if test -n "$CC"; then 5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5035$as_echo "$CC" >&6; } 5036else 5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5038$as_echo "no" >&6; } 5039fi 5040 5041 5042 test -n "$CC" && break 5043 done 5044fi 5045if test -z "$CC"; then 5046 ac_ct_CC=$CC 5047 for ac_prog in cl.exe 5048do 5049 # Extract the first word of "$ac_prog", so it can be a program name with args. 5050set dummy $ac_prog; ac_word=$2 5051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5052$as_echo_n "checking for $ac_word... " >&6; } 5053if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 5054 $as_echo_n "(cached) " >&6 5055else 5056 if test -n "$ac_ct_CC"; then 5057 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5058else 5059as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5060for as_dir in $PATH 5061do 5062 IFS=$as_save_IFS 5063 test -z "$as_dir" && as_dir=. 5064 for ac_exec_ext in '' $ac_executable_extensions; do 5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5066 ac_cv_prog_ac_ct_CC="$ac_prog" 5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5068 break 2 5069 fi 5070done 5071 done 5072IFS=$as_save_IFS 5073 5074fi 5075fi 5076ac_ct_CC=$ac_cv_prog_ac_ct_CC 5077if test -n "$ac_ct_CC"; then 5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5079$as_echo "$ac_ct_CC" >&6; } 5080else 5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5082$as_echo "no" >&6; } 5083fi 5084 5085 5086 test -n "$ac_ct_CC" && break 5087done 5088 5089 if test "x$ac_ct_CC" = x; then 5090 CC="" 5091 else 5092 case $cross_compiling:$ac_tool_warned in 5093yes:) 5094{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5095$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5096ac_tool_warned=yes ;; 5097esac 5098 CC=$ac_ct_CC 5099 fi 5100fi 5101 5102fi 5103 5104 5105test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5106$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5107as_fn_error "no acceptable C compiler found in \$PATH 5108See \`config.log' for more details." "$LINENO" 5; } 5109 5110# Provide some information about the compiler. 5111$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5112set X $ac_compile 5113ac_compiler=$2 5114for ac_option in --version -v -V -qversion; do 5115 { { ac_try="$ac_compiler $ac_option >&5" 5116case "(($ac_try" in 5117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5118 *) ac_try_echo=$ac_try;; 5119esac 5120eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5121$as_echo "$ac_try_echo"; } >&5 5122 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5123 ac_status=$? 5124 if test -s conftest.err; then 5125 sed '10a\ 5126... rest of stderr output deleted ... 5127 10q' conftest.err >conftest.er1 5128 cat conftest.er1 >&5 5129 fi 5130 rm -f conftest.er1 conftest.err 5131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5132 test $ac_status = 0; } 5133done 5134 5135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5136$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5137if test "${ac_cv_c_compiler_gnu+set}" = set; then : 5138 $as_echo_n "(cached) " >&6 5139else 5140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5141/* end confdefs.h. */ 5142 5143int 5144main () 5145{ 5146#ifndef __GNUC__ 5147 choke me 5148#endif 5149 5150 ; 5151 return 0; 5152} 5153_ACEOF 5154if ac_fn_c_try_compile "$LINENO"; then : 5155 ac_compiler_gnu=yes 5156else 5157 ac_compiler_gnu=no 5158fi 5159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5160ac_cv_c_compiler_gnu=$ac_compiler_gnu 5161 5162fi 5163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5164$as_echo "$ac_cv_c_compiler_gnu" >&6; } 5165if test $ac_compiler_gnu = yes; then 5166 GCC=yes 5167else 5168 GCC= 5169fi 5170ac_test_CFLAGS=${CFLAGS+set} 5171ac_save_CFLAGS=$CFLAGS 5172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5173$as_echo_n "checking whether $CC accepts -g... " >&6; } 5174if test "${ac_cv_prog_cc_g+set}" = set; then : 5175 $as_echo_n "(cached) " >&6 5176else 5177 ac_save_c_werror_flag=$ac_c_werror_flag 5178 ac_c_werror_flag=yes 5179 ac_cv_prog_cc_g=no 5180 CFLAGS="-g" 5181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5182/* end confdefs.h. */ 5183 5184int 5185main () 5186{ 5187 5188 ; 5189 return 0; 5190} 5191_ACEOF 5192if ac_fn_c_try_compile "$LINENO"; then : 5193 ac_cv_prog_cc_g=yes 5194else 5195 CFLAGS="" 5196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5197/* end confdefs.h. */ 5198 5199int 5200main () 5201{ 5202 5203 ; 5204 return 0; 5205} 5206_ACEOF 5207if ac_fn_c_try_compile "$LINENO"; then : 5208 5209else 5210 ac_c_werror_flag=$ac_save_c_werror_flag 5211 CFLAGS="-g" 5212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5213/* end confdefs.h. */ 5214 5215int 5216main () 5217{ 5218 5219 ; 5220 return 0; 5221} 5222_ACEOF 5223if ac_fn_c_try_compile "$LINENO"; then : 5224 ac_cv_prog_cc_g=yes 5225fi 5226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5227fi 5228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5229fi 5230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5231 ac_c_werror_flag=$ac_save_c_werror_flag 5232fi 5233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5234$as_echo "$ac_cv_prog_cc_g" >&6; } 5235if test "$ac_test_CFLAGS" = set; then 5236 CFLAGS=$ac_save_CFLAGS 5237elif test $ac_cv_prog_cc_g = yes; then 5238 if test "$GCC" = yes; then 5239 CFLAGS="-g -O2" 5240 else 5241 CFLAGS="-g" 5242 fi 5243else 5244 if test "$GCC" = yes; then 5245 CFLAGS="-O2" 5246 else 5247 CFLAGS= 5248 fi 5249fi 5250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5251$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5252if test "${ac_cv_prog_cc_c89+set}" = set; then : 5253 $as_echo_n "(cached) " >&6 5254else 5255 ac_cv_prog_cc_c89=no 5256ac_save_CC=$CC 5257cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5258/* end confdefs.h. */ 5259#include <stdarg.h> 5260#include <stdio.h> 5261#include <sys/types.h> 5262#include <sys/stat.h> 5263/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5264struct buf { int x; }; 5265FILE * (*rcsopen) (struct buf *, struct stat *, int); 5266static char *e (p, i) 5267 char **p; 5268 int i; 5269{ 5270 return p[i]; 5271} 5272static char *f (char * (*g) (char **, int), char **p, ...) 5273{ 5274 char *s; 5275 va_list v; 5276 va_start (v,p); 5277 s = g (p, va_arg (v,int)); 5278 va_end (v); 5279 return s; 5280} 5281 5282/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5283 function prototypes and stuff, but not '\xHH' hex character constants. 5284 These don't provoke an error unfortunately, instead are silently treated 5285 as 'x'. The following induces an error, until -std is added to get 5286 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5287 array size at least. It's necessary to write '\x00'==0 to get something 5288 that's true only with -std. */ 5289int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5290 5291/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5292 inside strings and character constants. */ 5293#define FOO(x) 'x' 5294int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5295 5296int test (int i, double x); 5297struct s1 {int (*f) (int a);}; 5298struct s2 {int (*f) (double a);}; 5299int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5300int argc; 5301char **argv; 5302int 5303main () 5304{ 5305return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5306 ; 5307 return 0; 5308} 5309_ACEOF 5310for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5311 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5312do 5313 CC="$ac_save_CC $ac_arg" 5314 if ac_fn_c_try_compile "$LINENO"; then : 5315 ac_cv_prog_cc_c89=$ac_arg 5316fi 5317rm -f core conftest.err conftest.$ac_objext 5318 test "x$ac_cv_prog_cc_c89" != "xno" && break 5319done 5320rm -f conftest.$ac_ext 5321CC=$ac_save_CC 5322 5323fi 5324# AC_CACHE_VAL 5325case "x$ac_cv_prog_cc_c89" in 5326 x) 5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5328$as_echo "none needed" >&6; } ;; 5329 xno) 5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5331$as_echo "unsupported" >&6; } ;; 5332 *) 5333 CC="$CC $ac_cv_prog_cc_c89" 5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5335$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5336esac 5337if test "x$ac_cv_prog_cc_c89" != xno; then : 5338 5339fi 5340 5341ac_ext=c 5342ac_cpp='$CPP $CPPFLAGS' 5343ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5344ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5345ac_compiler_gnu=$ac_cv_c_compiler_gnu 5346 5347depcc="$CC" am_compiler_list= 5348 5349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5350$as_echo_n "checking dependency style of $depcc... " >&6; } 5351if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 5352 $as_echo_n "(cached) " >&6 5353else 5354 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5355 # We make a subdir and do the tests there. Otherwise we can end up 5356 # making bogus files that we don't know about and never remove. For 5357 # instance it was reported that on HP-UX the gcc test will end up 5358 # making a dummy file named `D' -- because `-MD' means `put the output 5359 # in D'. 5360 mkdir conftest.dir 5361 # Copy depcomp to subdir because otherwise we won't find it if we're 5362 # using a relative directory. 5363 cp "$am_depcomp" conftest.dir 5364 cd conftest.dir 5365 # We will build objects and dependencies in a subdirectory because 5366 # it helps to detect inapplicable dependency modes. For instance 5367 # both Tru64's cc and ICC support -MD to output dependencies as a 5368 # side effect of compilation, but ICC will put the dependencies in 5369 # the current directory while Tru64 will put them in the object 5370 # directory. 5371 mkdir sub 5372 5373 am_cv_CC_dependencies_compiler_type=none 5374 if test "$am_compiler_list" = ""; then 5375 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5376 fi 5377 am__universal=false 5378 case " $depcc " in #( 5379 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5380 esac 5381 5382 for depmode in $am_compiler_list; do 5383 # Setup a source with many dependencies, because some compilers 5384 # like to wrap large dependency lists on column 80 (with \), and 5385 # we should not choose a depcomp mode which is confused by this. 5386 # 5387 # We need to recreate these files for each test, as the compiler may 5388 # overwrite some of them when testing with obscure command lines. 5389 # This happens at least with the AIX C compiler. 5390 : > sub/conftest.c 5391 for i in 1 2 3 4 5 6; do 5392 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5393 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 5394 # Solaris 8's {/usr,}/bin/sh. 5395 touch sub/conftst$i.h 5396 done 5397 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5398 5399 # We check with `-c' and `-o' for the sake of the "dashmstdout" 5400 # mode. It turns out that the SunPro C++ compiler does not properly 5401 # handle `-M -o', and we need to detect this. Also, some Intel 5402 # versions had trouble with output in subdirs 5403 am__obj=sub/conftest.${OBJEXT-o} 5404 am__minus_obj="-o $am__obj" 5405 case $depmode in 5406 gcc) 5407 # This depmode causes a compiler race in universal mode. 5408 test "$am__universal" = false || continue 5409 ;; 5410 nosideeffect) 5411 # after this tag, mechanisms are not by side-effect, so they'll 5412 # only be used when explicitly requested 5413 if test "x$enable_dependency_tracking" = xyes; then 5414 continue 5415 else 5416 break 5417 fi 5418 ;; 5419 msvisualcpp | msvcmsys) 5420 # This compiler won't grok `-c -o', but also, the minuso test has 5421 # not run yet. These depmodes are late enough in the game, and 5422 # so weak that their functioning should not be impacted. 5423 am__obj=conftest.${OBJEXT-o} 5424 am__minus_obj= 5425 ;; 5426 none) break ;; 5427 esac 5428 if depmode=$depmode \ 5429 source=sub/conftest.c object=$am__obj \ 5430 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5431 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5432 >/dev/null 2>conftest.err && 5433 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5434 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5435 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5436 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5437 # icc doesn't choke on unknown options, it will just issue warnings 5438 # or remarks (even with -Werror). So we grep stderr for any message 5439 # that says an option was ignored or not supported. 5440 # When given -MP, icc 7.0 and 7.1 complain thusly: 5441 # icc: Command line warning: ignoring option '-M'; no argument required 5442 # The diagnosis changed in icc 8.0: 5443 # icc: Command line remark: option '-MP' not supported 5444 if (grep 'ignoring option' conftest.err || 5445 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5446 am_cv_CC_dependencies_compiler_type=$depmode 5447 break 5448 fi 5449 fi 5450 done 5451 5452 cd .. 5453 rm -rf conftest.dir 5454else 5455 am_cv_CC_dependencies_compiler_type=none 5456fi 5457 5458fi 5459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5460$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5461CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5462 5463 if 5464 test "x$enable_dependency_tracking" != xno \ 5465 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5466 am__fastdepCC_TRUE= 5467 am__fastdepCC_FALSE='#' 5468else 5469 am__fastdepCC_TRUE='#' 5470 am__fastdepCC_FALSE= 5471fi 5472 5473 5474if test "x$CC" != xcc; then 5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 5476$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } 5477else 5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 5479$as_echo_n "checking whether cc understands -c and -o together... " >&6; } 5480fi 5481set dummy $CC; ac_cc=`$as_echo "$2" | 5482 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 5483if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : 5484 $as_echo_n "(cached) " >&6 5485else 5486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5487/* end confdefs.h. */ 5488 5489int 5490main () 5491{ 5492 5493 ; 5494 return 0; 5495} 5496_ACEOF 5497# Make sure it works both with $CC and with simple cc. 5498# We do the test twice because some compilers refuse to overwrite an 5499# existing .o file with -o, though they will create one. 5500ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 5501rm -f conftest2.* 5502if { { case "(($ac_try" in 5503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5504 *) ac_try_echo=$ac_try;; 5505esac 5506eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5507$as_echo "$ac_try_echo"; } >&5 5508 (eval "$ac_try") 2>&5 5509 ac_status=$? 5510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5511 test $ac_status = 0; } && 5512 test -f conftest2.$ac_objext && { { case "(($ac_try" in 5513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5514 *) ac_try_echo=$ac_try;; 5515esac 5516eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5517$as_echo "$ac_try_echo"; } >&5 5518 (eval "$ac_try") 2>&5 5519 ac_status=$? 5520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5521 test $ac_status = 0; }; 5522then 5523 eval ac_cv_prog_cc_${ac_cc}_c_o=yes 5524 if test "x$CC" != xcc; then 5525 # Test first that cc exists at all. 5526 if { ac_try='cc -c conftest.$ac_ext >&5' 5527 { { case "(($ac_try" in 5528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5529 *) ac_try_echo=$ac_try;; 5530esac 5531eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5532$as_echo "$ac_try_echo"; } >&5 5533 (eval "$ac_try") 2>&5 5534 ac_status=$? 5535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5536 test $ac_status = 0; }; }; then 5537 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 5538 rm -f conftest2.* 5539 if { { case "(($ac_try" in 5540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5541 *) ac_try_echo=$ac_try;; 5542esac 5543eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5544$as_echo "$ac_try_echo"; } >&5 5545 (eval "$ac_try") 2>&5 5546 ac_status=$? 5547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5548 test $ac_status = 0; } && 5549 test -f conftest2.$ac_objext && { { case "(($ac_try" in 5550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5551 *) ac_try_echo=$ac_try;; 5552esac 5553eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5554$as_echo "$ac_try_echo"; } >&5 5555 (eval "$ac_try") 2>&5 5556 ac_status=$? 5557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5558 test $ac_status = 0; }; 5559 then 5560 # cc works too. 5561 : 5562 else 5563 # cc exists but doesn't like -o. 5564 eval ac_cv_prog_cc_${ac_cc}_c_o=no 5565 fi 5566 fi 5567 fi 5568else 5569 eval ac_cv_prog_cc_${ac_cc}_c_o=no 5570fi 5571rm -f core conftest* 5572 5573fi 5574if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5576$as_echo "yes" >&6; } 5577else 5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5579$as_echo "no" >&6; } 5580 5581$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h 5582 5583fi 5584 5585# FIXME: we rely on the cache variable name because 5586# there is no other way. 5587set dummy $CC 5588am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 5589eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o 5590if test "$am_t" != yes; then 5591 # Losing compiler, so override with the script. 5592 # FIXME: It is wrong to rewrite CC. 5593 # But if we don't then we get into trouble of one sort or another. 5594 # A longer-term fix would be to have automake use am__CC in this case, 5595 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5596 CC="$am_aux_dir/compile $CC" 5597fi 5598 5599 5600 5601 5602for ac_prog in cpp 5603do 5604 # Extract the first word of "$ac_prog", so it can be a program name with args. 5605set dummy $ac_prog; ac_word=$2 5606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5607$as_echo_n "checking for $ac_word... " >&6; } 5608if test "${ac_cv_path_RAWCPP+set}" = set; then : 5609 $as_echo_n "(cached) " >&6 5610else 5611 case $RAWCPP in 5612 [\\/]* | ?:[\\/]*) 5613 ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path. 5614 ;; 5615 *) 5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5617as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib" 5618for as_dir in $as_dummy 5619do 5620 IFS=$as_save_IFS 5621 test -z "$as_dir" && as_dir=. 5622 for ac_exec_ext in '' $ac_executable_extensions; do 5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5624 ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext" 5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5626 break 2 5627 fi 5628done 5629 done 5630IFS=$as_save_IFS 5631 5632 ;; 5633esac 5634fi 5635RAWCPP=$ac_cv_path_RAWCPP 5636if test -n "$RAWCPP"; then 5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5 5638$as_echo "$RAWCPP" >&6; } 5639else 5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5641$as_echo "no" >&6; } 5642fi 5643 5644 5645 test -n "$RAWCPP" && break 5646done 5647test -n "$RAWCPP" || RAWCPP="${CPP}" 5648 5649 5650# Check for flag to avoid builtin definitions - assumes unix is predefined, 5651# which is not the best choice for supporting other OS'es, but covers most 5652# of the ones we need for now. 5653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5 5654$as_echo_n "checking if $RAWCPP requires -undef... " >&6; } 5655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5656/* end confdefs.h. */ 5657Does cpp redefine unix ? 5658_ACEOF 5659if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5661$as_echo "no" >&6; } 5662else 5663 if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 5664 RAWCPPFLAGS=-undef 5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5666$as_echo "yes" >&6; } 5667 # under Cygwin unix is still defined even with -undef 5668 elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 5669 RAWCPPFLAGS="-undef -ansi" 5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5 5671$as_echo "yes, with -ansi" >&6; } 5672 else 5673 as_fn_error "${RAWCPP} defines unix with or without -undef. I don't know what to do." "$LINENO" 5 5674 fi 5675fi 5676rm -f conftest.$ac_ext 5677 5678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5 5679$as_echo_n "checking if $RAWCPP requires -traditional... " >&6; } 5680cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5681/* end confdefs.h. */ 5682Does cpp preserve "whitespace"? 5683_ACEOF 5684if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then 5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5686$as_echo "no" >&6; } 5687else 5688 if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then 5689 RAWCPPFLAGS="${RAWCPPFLAGS} -traditional" 5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5691$as_echo "yes" >&6; } 5692 else 5693 as_fn_error "${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." "$LINENO" 5 5694 fi 5695fi 5696rm -f conftest.$ac_ext 5697 5698 5699 5700# Extract the first word of "sed", so it can be a program name with args. 5701set dummy sed; ac_word=$2 5702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5703$as_echo_n "checking for $ac_word... " >&6; } 5704if test "${ac_cv_path_SED+set}" = set; then : 5705 $as_echo_n "(cached) " >&6 5706else 5707 case $SED in 5708 [\\/]* | ?:[\\/]*) 5709 ac_cv_path_SED="$SED" # Let the user override the test with a path. 5710 ;; 5711 *) 5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5713for as_dir in $PATH 5714do 5715 IFS=$as_save_IFS 5716 test -z "$as_dir" && as_dir=. 5717 for ac_exec_ext in '' $ac_executable_extensions; do 5718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5719 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" 5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5721 break 2 5722 fi 5723done 5724 done 5725IFS=$as_save_IFS 5726 5727 ;; 5728esac 5729fi 5730SED=$ac_cv_path_SED 5731if test -n "$SED"; then 5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 5733$as_echo "$SED" >&6; } 5734else 5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5736$as_echo "no" >&6; } 5737fi 5738 5739 5740 5741 5742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 5743$as_echo_n "checking return type of signal handlers... " >&6; } 5744if test "${ac_cv_type_signal+set}" = set; then : 5745 $as_echo_n "(cached) " >&6 5746else 5747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5748/* end confdefs.h. */ 5749#include <sys/types.h> 5750#include <signal.h> 5751 5752int 5753main () 5754{ 5755return *(signal (0, 0)) (0) == 1; 5756 ; 5757 return 0; 5758} 5759_ACEOF 5760if ac_fn_c_try_compile "$LINENO"; then : 5761 ac_cv_type_signal=int 5762else 5763 ac_cv_type_signal=void 5764fi 5765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5766fi 5767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 5768$as_echo "$ac_cv_type_signal" >&6; } 5769 5770cat >>confdefs.h <<_ACEOF 5771#define RETSIGTYPE $ac_cv_type_signal 5772_ACEOF 5773 5774 5775ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 5776if test "x$ac_cv_type_pid_t" = x""yes; then : 5777 5778else 5779 5780cat >>confdefs.h <<_ACEOF 5781#define pid_t int 5782_ACEOF 5783 5784fi 5785 5786for ac_header in vfork.h 5787do : 5788 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 5789if test "x$ac_cv_header_vfork_h" = x""yes; then : 5790 cat >>confdefs.h <<_ACEOF 5791#define HAVE_VFORK_H 1 5792_ACEOF 5793 5794fi 5795 5796done 5797 5798for ac_func in fork vfork 5799do : 5800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5801ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5802eval as_val=\$$as_ac_var 5803 if test "x$as_val" = x""yes; then : 5804 cat >>confdefs.h <<_ACEOF 5805#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5806_ACEOF 5807 5808fi 5809done 5810 5811if test "x$ac_cv_func_fork" = xyes; then 5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 5813$as_echo_n "checking for working fork... " >&6; } 5814if test "${ac_cv_func_fork_works+set}" = set; then : 5815 $as_echo_n "(cached) " >&6 5816else 5817 if test "$cross_compiling" = yes; then : 5818 ac_cv_func_fork_works=cross 5819else 5820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5821/* end confdefs.h. */ 5822$ac_includes_default 5823int 5824main () 5825{ 5826 5827 /* By Ruediger Kuhlmann. */ 5828 return fork () < 0; 5829 5830 ; 5831 return 0; 5832} 5833_ACEOF 5834if ac_fn_c_try_run "$LINENO"; then : 5835 ac_cv_func_fork_works=yes 5836else 5837 ac_cv_func_fork_works=no 5838fi 5839rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5840 conftest.$ac_objext conftest.beam conftest.$ac_ext 5841fi 5842 5843fi 5844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 5845$as_echo "$ac_cv_func_fork_works" >&6; } 5846 5847else 5848 ac_cv_func_fork_works=$ac_cv_func_fork 5849fi 5850if test "x$ac_cv_func_fork_works" = xcross; then 5851 case $host in 5852 *-*-amigaos* | *-*-msdosdjgpp*) 5853 # Override, as these systems have only a dummy fork() stub 5854 ac_cv_func_fork_works=no 5855 ;; 5856 *) 5857 ac_cv_func_fork_works=yes 5858 ;; 5859 esac 5860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 5861$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 5862fi 5863ac_cv_func_vfork_works=$ac_cv_func_vfork 5864if test "x$ac_cv_func_vfork" = xyes; then 5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 5866$as_echo_n "checking for working vfork... " >&6; } 5867if test "${ac_cv_func_vfork_works+set}" = set; then : 5868 $as_echo_n "(cached) " >&6 5869else 5870 if test "$cross_compiling" = yes; then : 5871 ac_cv_func_vfork_works=cross 5872else 5873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5874/* end confdefs.h. */ 5875/* Thanks to Paul Eggert for this test. */ 5876$ac_includes_default 5877#include <sys/wait.h> 5878#ifdef HAVE_VFORK_H 5879# include <vfork.h> 5880#endif 5881/* On some sparc systems, changes by the child to local and incoming 5882 argument registers are propagated back to the parent. The compiler 5883 is told about this with #include <vfork.h>, but some compilers 5884 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a 5885 static variable whose address is put into a register that is 5886 clobbered by the vfork. */ 5887static void 5888#ifdef __cplusplus 5889sparc_address_test (int arg) 5890# else 5891sparc_address_test (arg) int arg; 5892#endif 5893{ 5894 static pid_t child; 5895 if (!child) { 5896 child = vfork (); 5897 if (child < 0) { 5898 perror ("vfork"); 5899 _exit(2); 5900 } 5901 if (!child) { 5902 arg = getpid(); 5903 write(-1, "", 0); 5904 _exit (arg); 5905 } 5906 } 5907} 5908 5909int 5910main () 5911{ 5912 pid_t parent = getpid (); 5913 pid_t child; 5914 5915 sparc_address_test (0); 5916 5917 child = vfork (); 5918 5919 if (child == 0) { 5920 /* Here is another test for sparc vfork register problems. This 5921 test uses lots of local variables, at least as many local 5922 variables as main has allocated so far including compiler 5923 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 5924 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should 5925 reuse the register of parent for one of the local variables, 5926 since it will think that parent can't possibly be used any more 5927 in this routine. Assigning to the local variable will thus 5928 munge parent in the parent process. */ 5929 pid_t 5930 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), 5931 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); 5932 /* Convince the compiler that p..p7 are live; otherwise, it might 5933 use the same hardware register for all 8 local variables. */ 5934 if (p != p1 || p != p2 || p != p3 || p != p4 5935 || p != p5 || p != p6 || p != p7) 5936 _exit(1); 5937 5938 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent 5939 from child file descriptors. If the child closes a descriptor 5940 before it execs or exits, this munges the parent's descriptor 5941 as well. Test for this by closing stdout in the child. */ 5942 _exit(close(fileno(stdout)) != 0); 5943 } else { 5944 int status; 5945 struct stat st; 5946 5947 while (wait(&status) != child) 5948 ; 5949 return ( 5950 /* Was there some problem with vforking? */ 5951 child < 0 5952 5953 /* Did the child fail? (This shouldn't happen.) */ 5954 || status 5955 5956 /* Did the vfork/compiler bug occur? */ 5957 || parent != getpid() 5958 5959 /* Did the file descriptor bug occur? */ 5960 || fstat(fileno(stdout), &st) != 0 5961 ); 5962 } 5963} 5964_ACEOF 5965if ac_fn_c_try_run "$LINENO"; then : 5966 ac_cv_func_vfork_works=yes 5967else 5968 ac_cv_func_vfork_works=no 5969fi 5970rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5971 conftest.$ac_objext conftest.beam conftest.$ac_ext 5972fi 5973 5974fi 5975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 5976$as_echo "$ac_cv_func_vfork_works" >&6; } 5977 5978fi; 5979if test "x$ac_cv_func_fork_works" = xcross; then 5980 ac_cv_func_vfork_works=$ac_cv_func_vfork 5981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 5982$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 5983fi 5984 5985if test "x$ac_cv_func_vfork_works" = xyes; then 5986 5987$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h 5988 5989else 5990 5991$as_echo "#define vfork fork" >>confdefs.h 5992 5993fi 5994if test "x$ac_cv_func_fork_works" = xyes; then 5995 5996$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h 5997 5998fi 5999 6000 6001for ac_func in killpg 6002do : 6003 ac_fn_c_check_func "$LINENO" "killpg" "ac_cv_func_killpg" 6004if test "x$ac_cv_func_killpg" = x""yes; then : 6005 cat >>confdefs.h <<_ACEOF 6006#define HAVE_KILLPG 1 6007_ACEOF 6008 6009fi 6010done 6011 6012 6013 6014 6015 6016# Build options 6017DEFAULT_XRDB=xrdb 6018DEFAULT_XMODMAP=xmodmap 6019DEFAULT_TWM=twm 6020DEFAULT_XCLOCK=xclock 6021DEFAULT_XTERM=xterm 6022# You always want to specify the full path to the X server 6023DEFAULT_XSERVER=${bindir}/X 6024DEFAULT_XAUTH=xauth 6025DEFAULT_XINIT=xinit 6026DEFAULT_XINITDIR=${libdir}/X11/xinit 6027 6028 6029# Check whether --with-xrdb was given. 6030if test "${with_xrdb+set}" = set; then : 6031 withval=$with_xrdb; XRDB="$withval" 6032else 6033 XRDB="$DEFAULT_XRDB" 6034fi 6035 6036 6037 6038# Check whether --with-xmodmap was given. 6039if test "${with_xmodmap+set}" = set; then : 6040 withval=$with_xmodmap; XMODMAP="$withval" 6041else 6042 XMODMAP="$DEFAULT_XMODMAP" 6043fi 6044 6045 6046 6047# Check whether --with-twm was given. 6048if test "${with_twm+set}" = set; then : 6049 withval=$with_twm; TWM="$withval" 6050else 6051 TWM="$DEFAULT_TWM" 6052fi 6053 6054 6055 6056# Check whether --with-xclock was given. 6057if test "${with_xclock+set}" = set; then : 6058 withval=$with_xclock; XCLOCK="$withval" 6059else 6060 XCLOCK="$DEFAULT_XCLOCK" 6061fi 6062 6063 6064 6065# Check whether --with-xterm was given. 6066if test "${with_xterm+set}" = set; then : 6067 withval=$with_xterm; XTERM="$withval" 6068else 6069 XTERM="$DEFAULT_XTERM" 6070fi 6071 6072 6073 6074# Check whether --with-xserver was given. 6075if test "${with_xserver+set}" = set; then : 6076 withval=$with_xserver; XSERVER="$withval" 6077else 6078 XSERVER="$DEFAULT_XSERVER" 6079fi 6080 6081 6082 6083# Check whether --with-xauth was given. 6084if test "${with_xauth+set}" = set; then : 6085 withval=$with_xauth; XAUTH="$withval" 6086else 6087 XAUTH="$DEFAULT_XAUTH" 6088fi 6089 6090 6091 6092# Check whether --with-xinit was given. 6093if test "${with_xinit+set}" = set; then : 6094 withval=$with_xinit; XINIT="$withval" 6095else 6096 XINIT="$DEFAULT_XINIT" 6097fi 6098 6099 6100 6101# Check whether --with-xinitdir was given. 6102if test "${with_xinitdir+set}" = set; then : 6103 withval=$with_xinitdir; XINITDIR="$withval" 6104else 6105 XINITDIR="$DEFAULT_XINITDIR" 6106fi 6107 6108 6109 6110# Check whether --with-launchd was given. 6111if test "${with_launchd+set}" = set; then : 6112 withval=$with_launchd; LAUNCHD=$withval 6113else 6114 LAUNCHD=auto 6115fi 6116 6117 6118# Check whether --with-launchagents-dir was given. 6119if test "${with_launchagents_dir+set}" = set; then : 6120 withval=$with_launchagents_dir; launchagentsdir="${withval}" 6121else 6122 launchagentsdir="/Library/LaunchAgents" 6123fi 6124 6125 6126# Check whether --with-launchdaemons-dir was given. 6127if test "${with_launchdaemons_dir+set}" = set; then : 6128 withval=$with_launchdaemons_dir; launchdaemonsdir="${withval}" 6129else 6130 launchdaemonsdir="/Library/LaunchDaemons" 6131fi 6132 6133 6134# Check whether --with-launchd-id-prefix was given. 6135if test "${with_launchd_id_prefix+set}" = set; then : 6136 withval=$with_launchd_id_prefix; launchdidprefix="${withval}" 6137else 6138 launchdidprefix="org.x" 6139fi 6140 6141 6142if test "x$LAUNCHD" = "xauto"; then 6143 unset LAUNCHD 6144 # Extract the first word of "launchd", so it can be a program name with args. 6145set dummy launchd; ac_word=$2 6146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6147$as_echo_n "checking for $ac_word... " >&6; } 6148if test "${ac_cv_prog_LAUNCHD+set}" = set; then : 6149 $as_echo_n "(cached) " >&6 6150else 6151 if test -n "$LAUNCHD"; then 6152 ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test. 6153else 6154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6155for as_dir in $PATH 6156do 6157 IFS=$as_save_IFS 6158 test -z "$as_dir" && as_dir=. 6159 for ac_exec_ext in '' $ac_executable_extensions; do 6160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6161 ac_cv_prog_LAUNCHD="yes" 6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6163 break 2 6164 fi 6165done 6166 done 6167IFS=$as_save_IFS 6168 6169 test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no" 6170fi 6171fi 6172LAUNCHD=$ac_cv_prog_LAUNCHD 6173if test -n "$LAUNCHD"; then 6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5 6175$as_echo "$LAUNCHD" >&6; } 6176else 6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6178$as_echo "no" >&6; } 6179fi 6180 6181 6182fi 6183 6184TIGER_LAUNCHD=no 6185if test "x$LAUNCHD" = "xyes" ; then 6186 6187$as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h 6188 6189 case $host_os in 6190 darwin8*) 6191 TIGER_LAUNCHD=yes 6192 ;; 6193 esac 6194else 6195 launchagentsdir="" 6196 launchdaemonsdir="" 6197fi 6198 6199 6200cat >>confdefs.h <<_ACEOF 6201#define LAUNCHD_ID_PREFIX "$launchdidprefix" 6202_ACEOF 6203 6204 6205 6206 6207 if test "x$LAUNCHD" = "xyes"; then 6208 LAUNCHD_TRUE= 6209 LAUNCHD_FALSE='#' 6210else 6211 LAUNCHD_TRUE='#' 6212 LAUNCHD_FALSE= 6213fi 6214 6215 if test "x$TIGER_LAUNCHD" = "xyes"; then 6216 TIGER_LAUNCHD_TRUE= 6217 TIGER_LAUNCHD_FALSE='#' 6218else 6219 TIGER_LAUNCHD_TRUE='#' 6220 TIGER_LAUNCHD_FALSE= 6221fi 6222 6223 6224# Checks for pkg-config packages 6225 6226pkg_failed=no 6227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINIT" >&5 6228$as_echo_n "checking for XINIT... " >&6; } 6229 6230if test -n "$XINIT_CFLAGS"; then 6231 pkg_cv_XINIT_CFLAGS="$XINIT_CFLAGS" 6232 elif test -n "$PKG_CONFIG"; then 6233 if test -n "$PKG_CONFIG" && \ 6234 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 6235 ($PKG_CONFIG --exists --print-errors "x11") 2>&5 6236 ac_status=$? 6237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6238 test $ac_status = 0; }; then 6239 pkg_cv_XINIT_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null` 6240else 6241 pkg_failed=yes 6242fi 6243 else 6244 pkg_failed=untried 6245fi 6246if test -n "$XINIT_LIBS"; then 6247 pkg_cv_XINIT_LIBS="$XINIT_LIBS" 6248 elif test -n "$PKG_CONFIG"; then 6249 if test -n "$PKG_CONFIG" && \ 6250 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 6251 ($PKG_CONFIG --exists --print-errors "x11") 2>&5 6252 ac_status=$? 6253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6254 test $ac_status = 0; }; then 6255 pkg_cv_XINIT_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null` 6256else 6257 pkg_failed=yes 6258fi 6259 else 6260 pkg_failed=untried 6261fi 6262 6263 6264 6265if test $pkg_failed = yes; then 6266 6267if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6268 _pkg_short_errors_supported=yes 6269else 6270 _pkg_short_errors_supported=no 6271fi 6272 if test $_pkg_short_errors_supported = yes; then 6273 XINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1` 6274 else 6275 XINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1` 6276 fi 6277 # Put the nasty error message in config.log where it belongs 6278 echo "$XINIT_PKG_ERRORS" >&5 6279 6280 as_fn_error "Package requirements (x11) were not met: 6281 6282$XINIT_PKG_ERRORS 6283 6284Consider adjusting the PKG_CONFIG_PATH environment variable if you 6285installed software in a non-standard prefix. 6286 6287Alternatively, you may set the environment variables XINIT_CFLAGS 6288and XINIT_LIBS to avoid the need to call pkg-config. 6289See the pkg-config man page for more details. 6290" "$LINENO" 5 6291elif test $pkg_failed = untried; then 6292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6294as_fn_error "The pkg-config script could not be found or is too old. Make sure it 6295is in your PATH or set the PKG_CONFIG environment variable to the full 6296path to pkg-config. 6297 6298Alternatively, you may set the environment variables XINIT_CFLAGS 6299and XINIT_LIBS to avoid the need to call pkg-config. 6300See the pkg-config man page for more details. 6301 6302To get pkg-config, see <http://pkg-config.freedesktop.org/>. 6303See \`config.log' for more details." "$LINENO" 5; } 6304else 6305 XINIT_CFLAGS=$pkg_cv_XINIT_CFLAGS 6306 XINIT_LIBS=$pkg_cv_XINIT_LIBS 6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6308$as_echo "yes" >&6; } 6309 : 6310fi 6311 6312case $host_os in 6313 *bsd*) 6314 XINIT_CFLAGS="$XINIT_CFLAGS -DCSRG_BASED" 6315 ;; 6316esac 6317 6318 6319 6320 6321for ac_prog in mcookie 6322do 6323 # Extract the first word of "$ac_prog", so it can be a program name with args. 6324set dummy $ac_prog; ac_word=$2 6325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6326$as_echo_n "checking for $ac_word... " >&6; } 6327if test "${ac_cv_path_MCOOKIE+set}" = set; then : 6328 $as_echo_n "(cached) " >&6 6329else 6330 case $MCOOKIE in 6331 [\\/]* | ?:[\\/]*) 6332 ac_cv_path_MCOOKIE="$MCOOKIE" # Let the user override the test with a path. 6333 ;; 6334 *) 6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6336as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/local/bin" 6337for as_dir in $as_dummy 6338do 6339 IFS=$as_save_IFS 6340 test -z "$as_dir" && as_dir=. 6341 for ac_exec_ext in '' $ac_executable_extensions; do 6342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6343 ac_cv_path_MCOOKIE="$as_dir/$ac_word$ac_exec_ext" 6344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6345 break 2 6346 fi 6347done 6348 done 6349IFS=$as_save_IFS 6350 6351 ;; 6352esac 6353fi 6354MCOOKIE=$ac_cv_path_MCOOKIE 6355if test -n "$MCOOKIE"; then 6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCOOKIE" >&5 6357$as_echo "$MCOOKIE" >&6; } 6358else 6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6360$as_echo "no" >&6; } 6361fi 6362 6363 6364 test -n "$MCOOKIE" && break 6365done 6366test -n "$MCOOKIE" || MCOOKIE="$MCOOKIE" 6367 6368 6369case $host_os in 6370 *openbsd*) 6371 MCOOKIE='/usr/sbin/openssl rand -hex 16' 6372 ;; 6373 *solaris*) 6374 MCOOKIE="/usr/bin/od -X -A n -N 16 /dev/urandom | /usr/bin/tr -d ' '" 6375 ;; 6376esac 6377 6378if test "x$MCOOKIE" != x ; then 6379 STARTX_COOKIE_FLAGS='-DHAS_COOKIE_MAKER -DMK_COOKIE="$(MCOOKIE)"' 6380fi 6381 6382 6383# Additional substitutions in startx, xinitrc & man pages 6384ARCHMANDEFS="" 6385SHELL_CMD="/bin/sh" 6386XSERVERNAME="Xorg" 6387XCONFIGFILE="xorg.conf" 6388XCONFIGFILEMAN='${XCONFIGFILE} (__filemansuffix__)' 6389case $host_os in 6390 cygwin*) 6391 XSERVERNAME="XWin" 6392 XCONFIGFILE="XWinrc" 6393 ;; 6394 darwin*) 6395 XSERVERNAME="Xquartz" 6396 XCONFIGFILE="defaults" 6397 XCONFIGFILEMAN='defaults (1)' 6398 ;; 6399 *solaris*) 6400 SHELL_CMD="/bin/ksh" 6401 ;; 6402 *sco*) 6403 SHELL_CMD="/bin/ksh" 6404 ARCHMANDEFS="-D__SCOMAN__" 6405 ;; 6406esac 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423ac_config_files="$ac_config_files Makefile" 6424 6425cat >confcache <<\_ACEOF 6426# This file is a shell script that caches the results of configure 6427# tests run on this system so they can be shared between configure 6428# scripts and configure runs, see configure's option --config-cache. 6429# It is not useful on other systems. If it contains results you don't 6430# want to keep, you may remove or edit it. 6431# 6432# config.status only pays attention to the cache file if you give it 6433# the --recheck option to rerun configure. 6434# 6435# `ac_cv_env_foo' variables (set or unset) will be overridden when 6436# loading this file, other *unset* `ac_cv_foo' will be assigned the 6437# following values. 6438 6439_ACEOF 6440 6441# The following way of writing the cache mishandles newlines in values, 6442# but we know of no workaround that is simple, portable, and efficient. 6443# So, we kill variables containing newlines. 6444# Ultrix sh set writes to stderr and can't be redirected directly, 6445# and sets the high bit in the cache file unless we assign to the vars. 6446( 6447 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6448 eval ac_val=\$$ac_var 6449 case $ac_val in #( 6450 *${as_nl}*) 6451 case $ac_var in #( 6452 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6453$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6454 esac 6455 case $ac_var in #( 6456 _ | IFS | as_nl) ;; #( 6457 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6458 *) { eval $ac_var=; unset $ac_var;} ;; 6459 esac ;; 6460 esac 6461 done 6462 6463 (set) 2>&1 | 6464 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6465 *${as_nl}ac_space=\ *) 6466 # `set' does not quote correctly, so add quotes: double-quote 6467 # substitution turns \\\\ into \\, and sed turns \\ into \. 6468 sed -n \ 6469 "s/'/'\\\\''/g; 6470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6471 ;; #( 6472 *) 6473 # `set' quotes correctly as required by POSIX, so do not add quotes. 6474 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6475 ;; 6476 esac | 6477 sort 6478) | 6479 sed ' 6480 /^ac_cv_env_/b end 6481 t clear 6482 :clear 6483 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6484 t end 6485 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6486 :end' >>confcache 6487if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6488 if test -w "$cache_file"; then 6489 test "x$cache_file" != "x/dev/null" && 6490 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6491$as_echo "$as_me: updating cache $cache_file" >&6;} 6492 cat confcache >$cache_file 6493 else 6494 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6495$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6496 fi 6497fi 6498rm -f confcache 6499 6500test "x$prefix" = xNONE && prefix=$ac_default_prefix 6501# Let make expand exec_prefix. 6502test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6503 6504DEFS=-DHAVE_CONFIG_H 6505 6506ac_libobjs= 6507ac_ltlibobjs= 6508for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6509 # 1. Remove the extension, and $U if already installed. 6510 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6511 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6512 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6513 # will be set to the directory where LIBOBJS objects are built. 6514 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6515 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 6516done 6517LIBOBJS=$ac_libobjs 6518 6519LTLIBOBJS=$ac_ltlibobjs 6520 6521 6522 if test -n "$EXEEXT"; then 6523 am__EXEEXT_TRUE= 6524 am__EXEEXT_FALSE='#' 6525else 6526 am__EXEEXT_TRUE='#' 6527 am__EXEEXT_FALSE= 6528fi 6529 6530if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 6531 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. 6532Usually this means the macro was only invoked conditionally." "$LINENO" 5 6533fi 6534if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 6535 as_fn_error "conditional \"AMDEP\" was never defined. 6536Usually this means the macro was only invoked conditionally." "$LINENO" 5 6537fi 6538if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6539 as_fn_error "conditional \"am__fastdepCC\" was never defined. 6540Usually this means the macro was only invoked conditionally." "$LINENO" 5 6541fi 6542if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6543 as_fn_error "conditional \"am__fastdepCC\" was never defined. 6544Usually this means the macro was only invoked conditionally." "$LINENO" 5 6545fi 6546if test -z "${LAUNCHD_TRUE}" && test -z "${LAUNCHD_FALSE}"; then 6547 as_fn_error "conditional \"LAUNCHD\" was never defined. 6548Usually this means the macro was only invoked conditionally." "$LINENO" 5 6549fi 6550if test -z "${TIGER_LAUNCHD_TRUE}" && test -z "${TIGER_LAUNCHD_FALSE}"; then 6551 as_fn_error "conditional \"TIGER_LAUNCHD\" was never defined. 6552Usually this means the macro was only invoked conditionally." "$LINENO" 5 6553fi 6554 6555: ${CONFIG_STATUS=./config.status} 6556ac_write_fail=0 6557ac_clean_files_save=$ac_clean_files 6558ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6559{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6560$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6561as_write_fail=0 6562cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 6563#! $SHELL 6564# Generated by $as_me. 6565# Run this file to recreate the current configuration. 6566# Compiler output produced by configure, useful for debugging 6567# configure, is in config.log if it exists. 6568 6569debug=false 6570ac_cs_recheck=false 6571ac_cs_silent=false 6572 6573SHELL=\${CONFIG_SHELL-$SHELL} 6574export SHELL 6575_ASEOF 6576cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6577## -------------------- ## 6578## M4sh Initialization. ## 6579## -------------------- ## 6580 6581# Be more Bourne compatible 6582DUALCASE=1; export DUALCASE # for MKS sh 6583if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 6584 emulate sh 6585 NULLCMD=: 6586 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6587 # is contrary to our usage. Disable this feature. 6588 alias -g '${1+"$@"}'='"$@"' 6589 setopt NO_GLOB_SUBST 6590else 6591 case `(set -o) 2>/dev/null` in #( 6592 *posix*) : 6593 set -o posix ;; #( 6594 *) : 6595 ;; 6596esac 6597fi 6598 6599 6600as_nl=' 6601' 6602export as_nl 6603# Printing a long string crashes Solaris 7 /usr/bin/printf. 6604as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6605as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6606as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6607# Prefer a ksh shell builtin over an external printf program on Solaris, 6608# but without wasting forks for bash or zsh. 6609if test -z "$BASH_VERSION$ZSH_VERSION" \ 6610 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6611 as_echo='print -r --' 6612 as_echo_n='print -rn --' 6613elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6614 as_echo='printf %s\n' 6615 as_echo_n='printf %s' 6616else 6617 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6618 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6619 as_echo_n='/usr/ucb/echo -n' 6620 else 6621 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6622 as_echo_n_body='eval 6623 arg=$1; 6624 case $arg in #( 6625 *"$as_nl"*) 6626 expr "X$arg" : "X\\(.*\\)$as_nl"; 6627 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6628 esac; 6629 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6630 ' 6631 export as_echo_n_body 6632 as_echo_n='sh -c $as_echo_n_body as_echo' 6633 fi 6634 export as_echo_body 6635 as_echo='sh -c $as_echo_body as_echo' 6636fi 6637 6638# The user is always right. 6639if test "${PATH_SEPARATOR+set}" != set; then 6640 PATH_SEPARATOR=: 6641 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6642 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6643 PATH_SEPARATOR=';' 6644 } 6645fi 6646 6647 6648# IFS 6649# We need space, tab and new line, in precisely that order. Quoting is 6650# there to prevent editors from complaining about space-tab. 6651# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6652# splitting by setting IFS to empty value.) 6653IFS=" "" $as_nl" 6654 6655# Find who we are. Look in the path if we contain no directory separator. 6656case $0 in #(( 6657 *[\\/]* ) as_myself=$0 ;; 6658 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6659for as_dir in $PATH 6660do 6661 IFS=$as_save_IFS 6662 test -z "$as_dir" && as_dir=. 6663 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6664 done 6665IFS=$as_save_IFS 6666 6667 ;; 6668esac 6669# We did not find ourselves, most probably we were run as `sh COMMAND' 6670# in which case we are not to be found in the path. 6671if test "x$as_myself" = x; then 6672 as_myself=$0 6673fi 6674if test ! -f "$as_myself"; then 6675 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6676 exit 1 6677fi 6678 6679# Unset variables that we do not need and which cause bugs (e.g. in 6680# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6681# suppresses any "Segmentation fault" message there. '((' could 6682# trigger a bug in pdksh 5.2.14. 6683for as_var in BASH_ENV ENV MAIL MAILPATH 6684do eval test x\${$as_var+set} = xset \ 6685 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6686done 6687PS1='$ ' 6688PS2='> ' 6689PS4='+ ' 6690 6691# NLS nuisances. 6692LC_ALL=C 6693export LC_ALL 6694LANGUAGE=C 6695export LANGUAGE 6696 6697# CDPATH. 6698(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6699 6700 6701# as_fn_error ERROR [LINENO LOG_FD] 6702# --------------------------------- 6703# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6704# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6705# script with status $?, using 1 if that was 0. 6706as_fn_error () 6707{ 6708 as_status=$?; test $as_status -eq 0 && as_status=1 6709 if test "$3"; then 6710 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6711 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 6712 fi 6713 $as_echo "$as_me: error: $1" >&2 6714 as_fn_exit $as_status 6715} # as_fn_error 6716 6717 6718# as_fn_set_status STATUS 6719# ----------------------- 6720# Set $? to STATUS, without forking. 6721as_fn_set_status () 6722{ 6723 return $1 6724} # as_fn_set_status 6725 6726# as_fn_exit STATUS 6727# ----------------- 6728# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6729as_fn_exit () 6730{ 6731 set +e 6732 as_fn_set_status $1 6733 exit $1 6734} # as_fn_exit 6735 6736# as_fn_unset VAR 6737# --------------- 6738# Portably unset VAR. 6739as_fn_unset () 6740{ 6741 { eval $1=; unset $1;} 6742} 6743as_unset=as_fn_unset 6744# as_fn_append VAR VALUE 6745# ---------------------- 6746# Append the text in VALUE to the end of the definition contained in VAR. Take 6747# advantage of any shell optimizations that allow amortized linear growth over 6748# repeated appends, instead of the typical quadratic growth present in naive 6749# implementations. 6750if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6751 eval 'as_fn_append () 6752 { 6753 eval $1+=\$2 6754 }' 6755else 6756 as_fn_append () 6757 { 6758 eval $1=\$$1\$2 6759 } 6760fi # as_fn_append 6761 6762# as_fn_arith ARG... 6763# ------------------ 6764# Perform arithmetic evaluation on the ARGs, and store the result in the 6765# global $as_val. Take advantage of shells that can avoid forks. The arguments 6766# must be portable across $(()) and expr. 6767if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6768 eval 'as_fn_arith () 6769 { 6770 as_val=$(( $* )) 6771 }' 6772else 6773 as_fn_arith () 6774 { 6775 as_val=`expr "$@" || test $? -eq 1` 6776 } 6777fi # as_fn_arith 6778 6779 6780if expr a : '\(a\)' >/dev/null 2>&1 && 6781 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6782 as_expr=expr 6783else 6784 as_expr=false 6785fi 6786 6787if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6788 as_basename=basename 6789else 6790 as_basename=false 6791fi 6792 6793if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6794 as_dirname=dirname 6795else 6796 as_dirname=false 6797fi 6798 6799as_me=`$as_basename -- "$0" || 6800$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6801 X"$0" : 'X\(//\)$' \| \ 6802 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6803$as_echo X/"$0" | 6804 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6805 s//\1/ 6806 q 6807 } 6808 /^X\/\(\/\/\)$/{ 6809 s//\1/ 6810 q 6811 } 6812 /^X\/\(\/\).*/{ 6813 s//\1/ 6814 q 6815 } 6816 s/.*/./; q'` 6817 6818# Avoid depending upon Character Ranges. 6819as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6820as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6821as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6822as_cr_digits='0123456789' 6823as_cr_alnum=$as_cr_Letters$as_cr_digits 6824 6825ECHO_C= ECHO_N= ECHO_T= 6826case `echo -n x` in #((((( 6827-n*) 6828 case `echo 'xy\c'` in 6829 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6830 xy) ECHO_C='\c';; 6831 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6832 ECHO_T=' ';; 6833 esac;; 6834*) 6835 ECHO_N='-n';; 6836esac 6837 6838rm -f conf$$ conf$$.exe conf$$.file 6839if test -d conf$$.dir; then 6840 rm -f conf$$.dir/conf$$.file 6841else 6842 rm -f conf$$.dir 6843 mkdir conf$$.dir 2>/dev/null 6844fi 6845if (echo >conf$$.file) 2>/dev/null; then 6846 if ln -s conf$$.file conf$$ 2>/dev/null; then 6847 as_ln_s='ln -s' 6848 # ... but there are two gotchas: 6849 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6850 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6851 # In both cases, we have to default to `cp -p'. 6852 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6853 as_ln_s='cp -p' 6854 elif ln conf$$.file conf$$ 2>/dev/null; then 6855 as_ln_s=ln 6856 else 6857 as_ln_s='cp -p' 6858 fi 6859else 6860 as_ln_s='cp -p' 6861fi 6862rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6863rmdir conf$$.dir 2>/dev/null 6864 6865 6866# as_fn_mkdir_p 6867# ------------- 6868# Create "$as_dir" as a directory, including parents if necessary. 6869as_fn_mkdir_p () 6870{ 6871 6872 case $as_dir in #( 6873 -*) as_dir=./$as_dir;; 6874 esac 6875 test -d "$as_dir" || eval $as_mkdir_p || { 6876 as_dirs= 6877 while :; do 6878 case $as_dir in #( 6879 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6880 *) as_qdir=$as_dir;; 6881 esac 6882 as_dirs="'$as_qdir' $as_dirs" 6883 as_dir=`$as_dirname -- "$as_dir" || 6884$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6885 X"$as_dir" : 'X\(//\)[^/]' \| \ 6886 X"$as_dir" : 'X\(//\)$' \| \ 6887 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6888$as_echo X"$as_dir" | 6889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6890 s//\1/ 6891 q 6892 } 6893 /^X\(\/\/\)[^/].*/{ 6894 s//\1/ 6895 q 6896 } 6897 /^X\(\/\/\)$/{ 6898 s//\1/ 6899 q 6900 } 6901 /^X\(\/\).*/{ 6902 s//\1/ 6903 q 6904 } 6905 s/.*/./; q'` 6906 test -d "$as_dir" && break 6907 done 6908 test -z "$as_dirs" || eval "mkdir $as_dirs" 6909 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 6910 6911 6912} # as_fn_mkdir_p 6913if mkdir -p . 2>/dev/null; then 6914 as_mkdir_p='mkdir -p "$as_dir"' 6915else 6916 test -d ./-p && rmdir ./-p 6917 as_mkdir_p=false 6918fi 6919 6920if test -x / >/dev/null 2>&1; then 6921 as_test_x='test -x' 6922else 6923 if ls -dL / >/dev/null 2>&1; then 6924 as_ls_L_option=L 6925 else 6926 as_ls_L_option= 6927 fi 6928 as_test_x=' 6929 eval sh -c '\'' 6930 if test -d "$1"; then 6931 test -d "$1/."; 6932 else 6933 case $1 in #( 6934 -*)set "./$1";; 6935 esac; 6936 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 6937 ???[sx]*):;;*)false;;esac;fi 6938 '\'' sh 6939 ' 6940fi 6941as_executable_p=$as_test_x 6942 6943# Sed expression to map a string onto a valid CPP name. 6944as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6945 6946# Sed expression to map a string onto a valid variable name. 6947as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6948 6949 6950exec 6>&1 6951## ----------------------------------- ## 6952## Main body of $CONFIG_STATUS script. ## 6953## ----------------------------------- ## 6954_ASEOF 6955test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6956 6957cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6958# Save the log message, to keep $0 and so on meaningful, and to 6959# report actual input values of CONFIG_FILES etc. instead of their 6960# values after options handling. 6961ac_log=" 6962This file was extended by xinit $as_me 1.2.1, which was 6963generated by GNU Autoconf 2.65. Invocation command line was 6964 6965 CONFIG_FILES = $CONFIG_FILES 6966 CONFIG_HEADERS = $CONFIG_HEADERS 6967 CONFIG_LINKS = $CONFIG_LINKS 6968 CONFIG_COMMANDS = $CONFIG_COMMANDS 6969 $ $0 $@ 6970 6971on `(hostname || uname -n) 2>/dev/null | sed 1q` 6972" 6973 6974_ACEOF 6975 6976case $ac_config_files in *" 6977"*) set x $ac_config_files; shift; ac_config_files=$*;; 6978esac 6979 6980case $ac_config_headers in *" 6981"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 6982esac 6983 6984 6985cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6986# Files that config.status was made for. 6987config_files="$ac_config_files" 6988config_headers="$ac_config_headers" 6989config_commands="$ac_config_commands" 6990 6991_ACEOF 6992 6993cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6994ac_cs_usage="\ 6995\`$as_me' instantiates files and other configuration actions 6996from templates according to the current configuration. Unless the files 6997and actions are specified as TAGs, all are instantiated by default. 6998 6999Usage: $0 [OPTION]... [TAG]... 7000 7001 -h, --help print this help, then exit 7002 -V, --version print version number and configuration settings, then exit 7003 --config print configuration, then exit 7004 -q, --quiet, --silent 7005 do not print progress messages 7006 -d, --debug don't remove temporary files 7007 --recheck update $as_me by reconfiguring in the same conditions 7008 --file=FILE[:TEMPLATE] 7009 instantiate the configuration file FILE 7010 --header=FILE[:TEMPLATE] 7011 instantiate the configuration header FILE 7012 7013Configuration files: 7014$config_files 7015 7016Configuration headers: 7017$config_headers 7018 7019Configuration commands: 7020$config_commands 7021 7022Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 7023 7024_ACEOF 7025cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7026ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7027ac_cs_version="\\ 7028xinit config.status 1.2.1 7029configured by $0, generated by GNU Autoconf 2.65, 7030 with options \\"\$ac_cs_config\\" 7031 7032Copyright (C) 2009 Free Software Foundation, Inc. 7033This config.status script is free software; the Free Software Foundation 7034gives unlimited permission to copy, distribute and modify it." 7035 7036ac_pwd='$ac_pwd' 7037srcdir='$srcdir' 7038INSTALL='$INSTALL' 7039MKDIR_P='$MKDIR_P' 7040AWK='$AWK' 7041test -n "\$AWK" || AWK=awk 7042_ACEOF 7043 7044cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7045# The default lists apply if the user does not specify any file. 7046ac_need_defaults=: 7047while test $# != 0 7048do 7049 case $1 in 7050 --*=*) 7051 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7052 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7053 ac_shift=: 7054 ;; 7055 *) 7056 ac_option=$1 7057 ac_optarg=$2 7058 ac_shift=shift 7059 ;; 7060 esac 7061 7062 case $ac_option in 7063 # Handling of the options. 7064 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7065 ac_cs_recheck=: ;; 7066 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7067 $as_echo "$ac_cs_version"; exit ;; 7068 --config | --confi | --conf | --con | --co | --c ) 7069 $as_echo "$ac_cs_config"; exit ;; 7070 --debug | --debu | --deb | --de | --d | -d ) 7071 debug=: ;; 7072 --file | --fil | --fi | --f ) 7073 $ac_shift 7074 case $ac_optarg in 7075 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7076 esac 7077 as_fn_append CONFIG_FILES " '$ac_optarg'" 7078 ac_need_defaults=false;; 7079 --header | --heade | --head | --hea ) 7080 $ac_shift 7081 case $ac_optarg in 7082 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7083 esac 7084 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7085 ac_need_defaults=false;; 7086 --he | --h) 7087 # Conflict between --help and --header 7088 as_fn_error "ambiguous option: \`$1' 7089Try \`$0 --help' for more information.";; 7090 --help | --hel | -h ) 7091 $as_echo "$ac_cs_usage"; exit ;; 7092 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7093 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7094 ac_cs_silent=: ;; 7095 7096 # This is an error. 7097 -*) as_fn_error "unrecognized option: \`$1' 7098Try \`$0 --help' for more information." ;; 7099 7100 *) as_fn_append ac_config_targets " $1" 7101 ac_need_defaults=false ;; 7102 7103 esac 7104 shift 7105done 7106 7107ac_configure_extra_args= 7108 7109if $ac_cs_silent; then 7110 exec 6>/dev/null 7111 ac_configure_extra_args="$ac_configure_extra_args --silent" 7112fi 7113 7114_ACEOF 7115cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7116if \$ac_cs_recheck; then 7117 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7118 shift 7119 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7120 CONFIG_SHELL='$SHELL' 7121 export CONFIG_SHELL 7122 exec "\$@" 7123fi 7124 7125_ACEOF 7126cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7127exec 5>>config.log 7128{ 7129 echo 7130 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7131## Running $as_me. ## 7132_ASBOX 7133 $as_echo "$ac_log" 7134} >&5 7135 7136_ACEOF 7137cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7138# 7139# INIT-COMMANDS 7140# 7141AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 7142 7143_ACEOF 7144 7145cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7146 7147# Handling of arguments. 7148for ac_config_target in $ac_config_targets 7149do 7150 case $ac_config_target in 7151 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7152 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7153 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7154 7155 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7156 esac 7157done 7158 7159 7160# If the user did not use the arguments to specify the items to instantiate, 7161# then the envvar interface is used. Set only those that are not. 7162# We use the long form for the default assignment because of an extremely 7163# bizarre bug on SunOS 4.1.3. 7164if $ac_need_defaults; then 7165 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7166 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7167 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7168fi 7169 7170# Have a temporary directory for convenience. Make it in the build tree 7171# simply because there is no reason against having it here, and in addition, 7172# creating and moving files from /tmp can sometimes cause problems. 7173# Hook for its removal unless debugging. 7174# Note that there is a small window in which the directory will not be cleaned: 7175# after its creation but before its name has been assigned to `$tmp'. 7176$debug || 7177{ 7178 tmp= 7179 trap 'exit_status=$? 7180 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7181' 0 7182 trap 'as_fn_exit 1' 1 2 13 15 7183} 7184# Create a (secure) tmp directory for tmp files. 7185 7186{ 7187 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7188 test -n "$tmp" && test -d "$tmp" 7189} || 7190{ 7191 tmp=./conf$$-$RANDOM 7192 (umask 077 && mkdir "$tmp") 7193} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 7194 7195# Set up the scripts for CONFIG_FILES section. 7196# No need to generate them if there are no CONFIG_FILES. 7197# This happens for instance with `./config.status config.h'. 7198if test -n "$CONFIG_FILES"; then 7199 7200 7201ac_cr=`echo X | tr X '\015'` 7202# On cygwin, bash can eat \r inside `` if the user requested igncr. 7203# But we know of no other shell where ac_cr would be empty at this 7204# point, so we can use a bashism as a fallback. 7205if test "x$ac_cr" = x; then 7206 eval ac_cr=\$\'\\r\' 7207fi 7208ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7209if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7210 ac_cs_awk_cr='\r' 7211else 7212 ac_cs_awk_cr=$ac_cr 7213fi 7214 7215echo 'BEGIN {' >"$tmp/subs1.awk" && 7216_ACEOF 7217 7218 7219{ 7220 echo "cat >conf$$subs.awk <<_ACEOF" && 7221 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7222 echo "_ACEOF" 7223} >conf$$subs.sh || 7224 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7225ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 7226ac_delim='%!_!# ' 7227for ac_last_try in false false false false false :; do 7228 . ./conf$$subs.sh || 7229 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7230 7231 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7232 if test $ac_delim_n = $ac_delim_num; then 7233 break 7234 elif $ac_last_try; then 7235 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7236 else 7237 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7238 fi 7239done 7240rm -f conf$$subs.sh 7241 7242cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7243cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7244_ACEOF 7245sed -n ' 7246h 7247s/^/S["/; s/!.*/"]=/ 7248p 7249g 7250s/^[^!]*!// 7251:repl 7252t repl 7253s/'"$ac_delim"'$// 7254t delim 7255:nl 7256h 7257s/\(.\{148\}\)..*/\1/ 7258t more1 7259s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7260p 7261n 7262b repl 7263:more1 7264s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7265p 7266g 7267s/.\{148\}// 7268t nl 7269:delim 7270h 7271s/\(.\{148\}\)..*/\1/ 7272t more2 7273s/["\\]/\\&/g; s/^/"/; s/$/"/ 7274p 7275b 7276:more2 7277s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7278p 7279g 7280s/.\{148\}// 7281t delim 7282' <conf$$subs.awk | sed ' 7283/^[^""]/{ 7284 N 7285 s/\n// 7286} 7287' >>$CONFIG_STATUS || ac_write_fail=1 7288rm -f conf$$subs.awk 7289cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7290_ACAWK 7291cat >>"\$tmp/subs1.awk" <<_ACAWK && 7292 for (key in S) S_is_set[key] = 1 7293 FS = "" 7294 7295} 7296{ 7297 line = $ 0 7298 nfields = split(line, field, "@") 7299 substed = 0 7300 len = length(field[1]) 7301 for (i = 2; i < nfields; i++) { 7302 key = field[i] 7303 keylen = length(key) 7304 if (S_is_set[key]) { 7305 value = S[key] 7306 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7307 len += length(value) + length(field[++i]) 7308 substed = 1 7309 } else 7310 len += 1 + keylen 7311 } 7312 7313 print line 7314} 7315 7316_ACAWK 7317_ACEOF 7318cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7319if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7320 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7321else 7322 cat 7323fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7324 || as_fn_error "could not setup config files machinery" "$LINENO" 5 7325_ACEOF 7326 7327# VPATH may cause trouble with some makes, so we remove $(srcdir), 7328# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7329# trailing colons and then remove the whole line if VPATH becomes empty 7330# (actually we leave an empty line to preserve line numbers). 7331if test "x$srcdir" = x.; then 7332 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7333s/:*\$(srcdir):*/:/ 7334s/:*\${srcdir}:*/:/ 7335s/:*@srcdir@:*/:/ 7336s/^\([^=]*=[ ]*\):*/\1/ 7337s/:*$// 7338s/^[^=]*=[ ]*$// 7339}' 7340fi 7341 7342cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7343fi # test -n "$CONFIG_FILES" 7344 7345# Set up the scripts for CONFIG_HEADERS section. 7346# No need to generate them if there are no CONFIG_HEADERS. 7347# This happens for instance with `./config.status Makefile'. 7348if test -n "$CONFIG_HEADERS"; then 7349cat >"$tmp/defines.awk" <<\_ACAWK || 7350BEGIN { 7351_ACEOF 7352 7353# Transform confdefs.h into an awk script `defines.awk', embedded as 7354# here-document in config.status, that substitutes the proper values into 7355# config.h.in to produce config.h. 7356 7357# Create a delimiter string that does not exist in confdefs.h, to ease 7358# handling of long lines. 7359ac_delim='%!_!# ' 7360for ac_last_try in false false :; do 7361 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7362 if test -z "$ac_t"; then 7363 break 7364 elif $ac_last_try; then 7365 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 7366 else 7367 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7368 fi 7369done 7370 7371# For the awk script, D is an array of macro values keyed by name, 7372# likewise P contains macro parameters if any. Preserve backslash 7373# newline sequences. 7374 7375ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7376sed -n ' 7377s/.\{148\}/&'"$ac_delim"'/g 7378t rset 7379:rset 7380s/^[ ]*#[ ]*define[ ][ ]*/ / 7381t def 7382d 7383:def 7384s/\\$// 7385t bsnl 7386s/["\\]/\\&/g 7387s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7388D["\1"]=" \3"/p 7389s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7390d 7391:bsnl 7392s/["\\]/\\&/g 7393s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7394D["\1"]=" \3\\\\\\n"\\/p 7395t cont 7396s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7397t cont 7398d 7399:cont 7400n 7401s/.\{148\}/&'"$ac_delim"'/g 7402t clear 7403:clear 7404s/\\$// 7405t bsnlc 7406s/["\\]/\\&/g; s/^/"/; s/$/"/p 7407d 7408:bsnlc 7409s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7410b cont 7411' <confdefs.h | sed ' 7412s/'"$ac_delim"'/"\\\ 7413"/g' >>$CONFIG_STATUS || ac_write_fail=1 7414 7415cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7416 for (key in D) D_is_set[key] = 1 7417 FS = "" 7418} 7419/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7420 line = \$ 0 7421 split(line, arg, " ") 7422 if (arg[1] == "#") { 7423 defundef = arg[2] 7424 mac1 = arg[3] 7425 } else { 7426 defundef = substr(arg[1], 2) 7427 mac1 = arg[2] 7428 } 7429 split(mac1, mac2, "(") #) 7430 macro = mac2[1] 7431 prefix = substr(line, 1, index(line, defundef) - 1) 7432 if (D_is_set[macro]) { 7433 # Preserve the white space surrounding the "#". 7434 print prefix "define", macro P[macro] D[macro] 7435 next 7436 } else { 7437 # Replace #undef with comments. This is necessary, for example, 7438 # in the case of _POSIX_SOURCE, which is predefined and required 7439 # on some systems where configure will not decide to define it. 7440 if (defundef == "undef") { 7441 print "/*", prefix defundef, macro, "*/" 7442 next 7443 } 7444 } 7445} 7446{ print } 7447_ACAWK 7448_ACEOF 7449cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7450 as_fn_error "could not setup config headers machinery" "$LINENO" 5 7451fi # test -n "$CONFIG_HEADERS" 7452 7453 7454eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 7455shift 7456for ac_tag 7457do 7458 case $ac_tag in 7459 :[FHLC]) ac_mode=$ac_tag; continue;; 7460 esac 7461 case $ac_mode$ac_tag in 7462 :[FHL]*:*);; 7463 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 7464 :[FH]-) ac_tag=-:-;; 7465 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7466 esac 7467 ac_save_IFS=$IFS 7468 IFS=: 7469 set x $ac_tag 7470 IFS=$ac_save_IFS 7471 shift 7472 ac_file=$1 7473 shift 7474 7475 case $ac_mode in 7476 :L) ac_source=$1;; 7477 :[FH]) 7478 ac_file_inputs= 7479 for ac_f 7480 do 7481 case $ac_f in 7482 -) ac_f="$tmp/stdin";; 7483 *) # Look for the file first in the build tree, then in the source tree 7484 # (if the path is not absolute). The absolute path cannot be DOS-style, 7485 # because $ac_f cannot contain `:'. 7486 test -f "$ac_f" || 7487 case $ac_f in 7488 [\\/$]*) false;; 7489 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7490 esac || 7491 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7492 esac 7493 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7494 as_fn_append ac_file_inputs " '$ac_f'" 7495 done 7496 7497 # Let's still pretend it is `configure' which instantiates (i.e., don't 7498 # use $as_me), people would be surprised to read: 7499 # /* config.h. Generated by config.status. */ 7500 configure_input='Generated from '` 7501 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7502 `' by configure.' 7503 if test x"$ac_file" != x-; then 7504 configure_input="$ac_file. $configure_input" 7505 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7506$as_echo "$as_me: creating $ac_file" >&6;} 7507 fi 7508 # Neutralize special characters interpreted by sed in replacement strings. 7509 case $configure_input in #( 7510 *\&* | *\|* | *\\* ) 7511 ac_sed_conf_input=`$as_echo "$configure_input" | 7512 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7513 *) ac_sed_conf_input=$configure_input;; 7514 esac 7515 7516 case $ac_tag in 7517 *:-:* | *:-) cat >"$tmp/stdin" \ 7518 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 7519 esac 7520 ;; 7521 esac 7522 7523 ac_dir=`$as_dirname -- "$ac_file" || 7524$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7525 X"$ac_file" : 'X\(//\)[^/]' \| \ 7526 X"$ac_file" : 'X\(//\)$' \| \ 7527 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7528$as_echo X"$ac_file" | 7529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7530 s//\1/ 7531 q 7532 } 7533 /^X\(\/\/\)[^/].*/{ 7534 s//\1/ 7535 q 7536 } 7537 /^X\(\/\/\)$/{ 7538 s//\1/ 7539 q 7540 } 7541 /^X\(\/\).*/{ 7542 s//\1/ 7543 q 7544 } 7545 s/.*/./; q'` 7546 as_dir="$ac_dir"; as_fn_mkdir_p 7547 ac_builddir=. 7548 7549case "$ac_dir" in 7550.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7551*) 7552 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7553 # A ".." for each directory in $ac_dir_suffix. 7554 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7555 case $ac_top_builddir_sub in 7556 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7557 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7558 esac ;; 7559esac 7560ac_abs_top_builddir=$ac_pwd 7561ac_abs_builddir=$ac_pwd$ac_dir_suffix 7562# for backward compatibility: 7563ac_top_builddir=$ac_top_build_prefix 7564 7565case $srcdir in 7566 .) # We are building in place. 7567 ac_srcdir=. 7568 ac_top_srcdir=$ac_top_builddir_sub 7569 ac_abs_top_srcdir=$ac_pwd ;; 7570 [\\/]* | ?:[\\/]* ) # Absolute name. 7571 ac_srcdir=$srcdir$ac_dir_suffix; 7572 ac_top_srcdir=$srcdir 7573 ac_abs_top_srcdir=$srcdir ;; 7574 *) # Relative name. 7575 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7576 ac_top_srcdir=$ac_top_build_prefix$srcdir 7577 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7578esac 7579ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7580 7581 7582 case $ac_mode in 7583 :F) 7584 # 7585 # CONFIG_FILE 7586 # 7587 7588 case $INSTALL in 7589 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7590 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7591 esac 7592 ac_MKDIR_P=$MKDIR_P 7593 case $MKDIR_P in 7594 [\\/$]* | ?:[\\/]* ) ;; 7595 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 7596 esac 7597_ACEOF 7598 7599cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7600# If the template does not know about datarootdir, expand it. 7601# FIXME: This hack should be removed a few years after 2.60. 7602ac_datarootdir_hack=; ac_datarootdir_seen= 7603ac_sed_dataroot=' 7604/datarootdir/ { 7605 p 7606 q 7607} 7608/@datadir@/p 7609/@docdir@/p 7610/@infodir@/p 7611/@localedir@/p 7612/@mandir@/p' 7613case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7614*datarootdir*) ac_datarootdir_seen=yes;; 7615*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7617$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7618_ACEOF 7619cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7620 ac_datarootdir_hack=' 7621 s&@datadir@&$datadir&g 7622 s&@docdir@&$docdir&g 7623 s&@infodir@&$infodir&g 7624 s&@localedir@&$localedir&g 7625 s&@mandir@&$mandir&g 7626 s&\\\${datarootdir}&$datarootdir&g' ;; 7627esac 7628_ACEOF 7629 7630# Neutralize VPATH when `$srcdir' = `.'. 7631# Shell code in configure.ac might set extrasub. 7632# FIXME: do we really want to maintain this feature? 7633cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7634ac_sed_extra="$ac_vpsub 7635$extrasub 7636_ACEOF 7637cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7638:t 7639/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7640s|@configure_input@|$ac_sed_conf_input|;t t 7641s&@top_builddir@&$ac_top_builddir_sub&;t t 7642s&@top_build_prefix@&$ac_top_build_prefix&;t t 7643s&@srcdir@&$ac_srcdir&;t t 7644s&@abs_srcdir@&$ac_abs_srcdir&;t t 7645s&@top_srcdir@&$ac_top_srcdir&;t t 7646s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7647s&@builddir@&$ac_builddir&;t t 7648s&@abs_builddir@&$ac_abs_builddir&;t t 7649s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7650s&@INSTALL@&$ac_INSTALL&;t t 7651s&@MKDIR_P@&$ac_MKDIR_P&;t t 7652$ac_datarootdir_hack 7653" 7654eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7655 || as_fn_error "could not create $ac_file" "$LINENO" 5 7656 7657test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7658 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7659 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7661which seems to be undefined. Please make sure it is defined." >&5 7662$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7663which seems to be undefined. Please make sure it is defined." >&2;} 7664 7665 rm -f "$tmp/stdin" 7666 case $ac_file in 7667 -) cat "$tmp/out" && rm -f "$tmp/out";; 7668 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7669 esac \ 7670 || as_fn_error "could not create $ac_file" "$LINENO" 5 7671 ;; 7672 :H) 7673 # 7674 # CONFIG_HEADER 7675 # 7676 if test x"$ac_file" != x-; then 7677 { 7678 $as_echo "/* $configure_input */" \ 7679 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7680 } >"$tmp/config.h" \ 7681 || as_fn_error "could not create $ac_file" "$LINENO" 5 7682 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7683 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7684$as_echo "$as_me: $ac_file is unchanged" >&6;} 7685 else 7686 rm -f "$ac_file" 7687 mv "$tmp/config.h" "$ac_file" \ 7688 || as_fn_error "could not create $ac_file" "$LINENO" 5 7689 fi 7690 else 7691 $as_echo "/* $configure_input */" \ 7692 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7693 || as_fn_error "could not create -" "$LINENO" 5 7694 fi 7695# Compute "$ac_file"'s index in $config_headers. 7696_am_arg="$ac_file" 7697_am_stamp_count=1 7698for _am_header in $config_headers :; do 7699 case $_am_header in 7700 $_am_arg | $_am_arg:* ) 7701 break ;; 7702 * ) 7703 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 7704 esac 7705done 7706echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 7707$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7708 X"$_am_arg" : 'X\(//\)[^/]' \| \ 7709 X"$_am_arg" : 'X\(//\)$' \| \ 7710 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 7711$as_echo X"$_am_arg" | 7712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7713 s//\1/ 7714 q 7715 } 7716 /^X\(\/\/\)[^/].*/{ 7717 s//\1/ 7718 q 7719 } 7720 /^X\(\/\/\)$/{ 7721 s//\1/ 7722 q 7723 } 7724 /^X\(\/\).*/{ 7725 s//\1/ 7726 q 7727 } 7728 s/.*/./; q'`/stamp-h$_am_stamp_count 7729 ;; 7730 7731 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 7732$as_echo "$as_me: executing $ac_file commands" >&6;} 7733 ;; 7734 esac 7735 7736 7737 case $ac_file$ac_mode in 7738 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 7739 # Autoconf 2.62 quotes --file arguments for eval, but not when files 7740 # are listed without --file. Let's play safe and only enable the eval 7741 # if we detect the quoting. 7742 case $CONFIG_FILES in 7743 *\'*) eval set x "$CONFIG_FILES" ;; 7744 *) set x $CONFIG_FILES ;; 7745 esac 7746 shift 7747 for mf 7748 do 7749 # Strip MF so we end up with the name of the file. 7750 mf=`echo "$mf" | sed -e 's/:.*$//'` 7751 # Check whether this is an Automake generated Makefile or not. 7752 # We used to match only the files named `Makefile.in', but 7753 # some people rename them; so instead we look at the file content. 7754 # Grep'ing the first line is not enough: some people post-process 7755 # each Makefile.in and add a new line on top of each file to say so. 7756 # Grep'ing the whole file is not good either: AIX grep has a line 7757 # limit of 2048, but all sed's we know have understand at least 4000. 7758 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 7759 dirpart=`$as_dirname -- "$mf" || 7760$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7761 X"$mf" : 'X\(//\)[^/]' \| \ 7762 X"$mf" : 'X\(//\)$' \| \ 7763 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 7764$as_echo X"$mf" | 7765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7766 s//\1/ 7767 q 7768 } 7769 /^X\(\/\/\)[^/].*/{ 7770 s//\1/ 7771 q 7772 } 7773 /^X\(\/\/\)$/{ 7774 s//\1/ 7775 q 7776 } 7777 /^X\(\/\).*/{ 7778 s//\1/ 7779 q 7780 } 7781 s/.*/./; q'` 7782 else 7783 continue 7784 fi 7785 # Extract the definition of DEPDIR, am__include, and am__quote 7786 # from the Makefile without running `make'. 7787 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7788 test -z "$DEPDIR" && continue 7789 am__include=`sed -n 's/^am__include = //p' < "$mf"` 7790 test -z "am__include" && continue 7791 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 7792 # When using ansi2knr, U may be empty or an underscore; expand it 7793 U=`sed -n 's/^U = //p' < "$mf"` 7794 # Find all dependency output files, they are included files with 7795 # $(DEPDIR) in their names. We invoke sed twice because it is the 7796 # simplest approach to changing $(DEPDIR) to its actual value in the 7797 # expansion. 7798 for file in `sed -n " 7799 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 7800 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 7801 # Make sure the directory exists. 7802 test -f "$dirpart/$file" && continue 7803 fdir=`$as_dirname -- "$file" || 7804$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7805 X"$file" : 'X\(//\)[^/]' \| \ 7806 X"$file" : 'X\(//\)$' \| \ 7807 X"$file" : 'X\(/\)' \| . 2>/dev/null || 7808$as_echo X"$file" | 7809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7810 s//\1/ 7811 q 7812 } 7813 /^X\(\/\/\)[^/].*/{ 7814 s//\1/ 7815 q 7816 } 7817 /^X\(\/\/\)$/{ 7818 s//\1/ 7819 q 7820 } 7821 /^X\(\/\).*/{ 7822 s//\1/ 7823 q 7824 } 7825 s/.*/./; q'` 7826 as_dir=$dirpart/$fdir; as_fn_mkdir_p 7827 # echo "creating $dirpart/$file" 7828 echo '# dummy' > "$dirpart/$file" 7829 done 7830 done 7831} 7832 ;; 7833 7834 esac 7835done # for ac_tag 7836 7837 7838as_fn_exit 0 7839_ACEOF 7840ac_clean_files=$ac_clean_files_save 7841 7842test $ac_write_fail = 0 || 7843 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 7844 7845 7846# configure is writing to config.log, and then calls config.status. 7847# config.status does its own redirection, appending to config.log. 7848# Unfortunately, on DOS this fails, as config.log is still kept open 7849# by configure, so config.status won't be able to write to it; its 7850# output is simply discarded. So we exec the FD to /dev/null, 7851# effectively closing config.log, so it can be properly (re)opened and 7852# appended to by config.status. When coming back to configure, we 7853# need to make the FD available again. 7854if test "$no_create" != yes; then 7855 ac_cs_success=: 7856 ac_config_status_args= 7857 test "$silent" = yes && 7858 ac_config_status_args="$ac_config_status_args --quiet" 7859 exec 5>/dev/null 7860 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7861 exec 5>>config.log 7862 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7863 # would make configure fail if this is the last instruction. 7864 $ac_cs_success || as_fn_exit $? 7865fi 7866if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7868$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7869fi 7870 7871ac_config_files="$ac_config_files privileged_startx/Makefile" 7872 7873cat >confcache <<\_ACEOF 7874# This file is a shell script that caches the results of configure 7875# tests run on this system so they can be shared between configure 7876# scripts and configure runs, see configure's option --config-cache. 7877# It is not useful on other systems. If it contains results you don't 7878# want to keep, you may remove or edit it. 7879# 7880# config.status only pays attention to the cache file if you give it 7881# the --recheck option to rerun configure. 7882# 7883# `ac_cv_env_foo' variables (set or unset) will be overridden when 7884# loading this file, other *unset* `ac_cv_foo' will be assigned the 7885# following values. 7886 7887_ACEOF 7888 7889# The following way of writing the cache mishandles newlines in values, 7890# but we know of no workaround that is simple, portable, and efficient. 7891# So, we kill variables containing newlines. 7892# Ultrix sh set writes to stderr and can't be redirected directly, 7893# and sets the high bit in the cache file unless we assign to the vars. 7894( 7895 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7896 eval ac_val=\$$ac_var 7897 case $ac_val in #( 7898 *${as_nl}*) 7899 case $ac_var in #( 7900 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 7901$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 7902 esac 7903 case $ac_var in #( 7904 _ | IFS | as_nl) ;; #( 7905 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 7906 *) { eval $ac_var=; unset $ac_var;} ;; 7907 esac ;; 7908 esac 7909 done 7910 7911 (set) 2>&1 | 7912 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7913 *${as_nl}ac_space=\ *) 7914 # `set' does not quote correctly, so add quotes: double-quote 7915 # substitution turns \\\\ into \\, and sed turns \\ into \. 7916 sed -n \ 7917 "s/'/'\\\\''/g; 7918 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7919 ;; #( 7920 *) 7921 # `set' quotes correctly as required by POSIX, so do not add quotes. 7922 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7923 ;; 7924 esac | 7925 sort 7926) | 7927 sed ' 7928 /^ac_cv_env_/b end 7929 t clear 7930 :clear 7931 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7932 t end 7933 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7934 :end' >>confcache 7935if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7936 if test -w "$cache_file"; then 7937 test "x$cache_file" != "x/dev/null" && 7938 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7939$as_echo "$as_me: updating cache $cache_file" >&6;} 7940 cat confcache >$cache_file 7941 else 7942 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7943$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7944 fi 7945fi 7946rm -f confcache 7947 7948test "x$prefix" = xNONE && prefix=$ac_default_prefix 7949# Let make expand exec_prefix. 7950test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7951 7952DEFS=-DHAVE_CONFIG_H 7953 7954ac_libobjs= 7955ac_ltlibobjs= 7956for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7957 # 1. Remove the extension, and $U if already installed. 7958 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7959 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 7960 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7961 # will be set to the directory where LIBOBJS objects are built. 7962 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7963 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7964done 7965LIBOBJS=$ac_libobjs 7966 7967LTLIBOBJS=$ac_ltlibobjs 7968 7969 7970 if test -n "$EXEEXT"; then 7971 am__EXEEXT_TRUE= 7972 am__EXEEXT_FALSE='#' 7973else 7974 am__EXEEXT_TRUE='#' 7975 am__EXEEXT_FALSE= 7976fi 7977 7978if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 7979 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. 7980Usually this means the macro was only invoked conditionally." "$LINENO" 5 7981fi 7982if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 7983 as_fn_error "conditional \"AMDEP\" was never defined. 7984Usually this means the macro was only invoked conditionally." "$LINENO" 5 7985fi 7986if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 7987 as_fn_error "conditional \"am__fastdepCC\" was never defined. 7988Usually this means the macro was only invoked conditionally." "$LINENO" 5 7989fi 7990if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 7991 as_fn_error "conditional \"am__fastdepCC\" was never defined. 7992Usually this means the macro was only invoked conditionally." "$LINENO" 5 7993fi 7994if test -z "${LAUNCHD_TRUE}" && test -z "${LAUNCHD_FALSE}"; then 7995 as_fn_error "conditional \"LAUNCHD\" was never defined. 7996Usually this means the macro was only invoked conditionally." "$LINENO" 5 7997fi 7998if test -z "${TIGER_LAUNCHD_TRUE}" && test -z "${TIGER_LAUNCHD_FALSE}"; then 7999 as_fn_error "conditional \"TIGER_LAUNCHD\" was never defined. 8000Usually this means the macro was only invoked conditionally." "$LINENO" 5 8001fi 8002if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then 8003 as_fn_error "conditional \"am__EXEEXT\" was never defined. 8004Usually this means the macro was only invoked conditionally." "$LINENO" 5 8005fi 8006 8007: ${CONFIG_STATUS=./config.status} 8008ac_write_fail=0 8009ac_clean_files_save=$ac_clean_files 8010ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8011{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8012$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8013as_write_fail=0 8014cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 8015#! $SHELL 8016# Generated by $as_me. 8017# Run this file to recreate the current configuration. 8018# Compiler output produced by configure, useful for debugging 8019# configure, is in config.log if it exists. 8020 8021debug=false 8022ac_cs_recheck=false 8023ac_cs_silent=false 8024 8025SHELL=\${CONFIG_SHELL-$SHELL} 8026export SHELL 8027_ASEOF 8028cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 8029## -------------------- ## 8030## M4sh Initialization. ## 8031## -------------------- ## 8032 8033# Be more Bourne compatible 8034DUALCASE=1; export DUALCASE # for MKS sh 8035if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 8036 emulate sh 8037 NULLCMD=: 8038 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8039 # is contrary to our usage. Disable this feature. 8040 alias -g '${1+"$@"}'='"$@"' 8041 setopt NO_GLOB_SUBST 8042else 8043 case `(set -o) 2>/dev/null` in #( 8044 *posix*) : 8045 set -o posix ;; #( 8046 *) : 8047 ;; 8048esac 8049fi 8050 8051 8052as_nl=' 8053' 8054export as_nl 8055# Printing a long string crashes Solaris 7 /usr/bin/printf. 8056as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 8057as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8058as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8059# Prefer a ksh shell builtin over an external printf program on Solaris, 8060# but without wasting forks for bash or zsh. 8061if test -z "$BASH_VERSION$ZSH_VERSION" \ 8062 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8063 as_echo='print -r --' 8064 as_echo_n='print -rn --' 8065elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8066 as_echo='printf %s\n' 8067 as_echo_n='printf %s' 8068else 8069 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 8070 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 8071 as_echo_n='/usr/ucb/echo -n' 8072 else 8073 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 8074 as_echo_n_body='eval 8075 arg=$1; 8076 case $arg in #( 8077 *"$as_nl"*) 8078 expr "X$arg" : "X\\(.*\\)$as_nl"; 8079 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 8080 esac; 8081 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 8082 ' 8083 export as_echo_n_body 8084 as_echo_n='sh -c $as_echo_n_body as_echo' 8085 fi 8086 export as_echo_body 8087 as_echo='sh -c $as_echo_body as_echo' 8088fi 8089 8090# The user is always right. 8091if test "${PATH_SEPARATOR+set}" != set; then 8092 PATH_SEPARATOR=: 8093 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8094 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8095 PATH_SEPARATOR=';' 8096 } 8097fi 8098 8099 8100# IFS 8101# We need space, tab and new line, in precisely that order. Quoting is 8102# there to prevent editors from complaining about space-tab. 8103# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8104# splitting by setting IFS to empty value.) 8105IFS=" "" $as_nl" 8106 8107# Find who we are. Look in the path if we contain no directory separator. 8108case $0 in #(( 8109 *[\\/]* ) as_myself=$0 ;; 8110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8111for as_dir in $PATH 8112do 8113 IFS=$as_save_IFS 8114 test -z "$as_dir" && as_dir=. 8115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8116 done 8117IFS=$as_save_IFS 8118 8119 ;; 8120esac 8121# We did not find ourselves, most probably we were run as `sh COMMAND' 8122# in which case we are not to be found in the path. 8123if test "x$as_myself" = x; then 8124 as_myself=$0 8125fi 8126if test ! -f "$as_myself"; then 8127 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8128 exit 1 8129fi 8130 8131# Unset variables that we do not need and which cause bugs (e.g. in 8132# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8133# suppresses any "Segmentation fault" message there. '((' could 8134# trigger a bug in pdksh 5.2.14. 8135for as_var in BASH_ENV ENV MAIL MAILPATH 8136do eval test x\${$as_var+set} = xset \ 8137 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 8138done 8139PS1='$ ' 8140PS2='> ' 8141PS4='+ ' 8142 8143# NLS nuisances. 8144LC_ALL=C 8145export LC_ALL 8146LANGUAGE=C 8147export LANGUAGE 8148 8149# CDPATH. 8150(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8151 8152 8153# as_fn_error ERROR [LINENO LOG_FD] 8154# --------------------------------- 8155# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8156# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8157# script with status $?, using 1 if that was 0. 8158as_fn_error () 8159{ 8160 as_status=$?; test $as_status -eq 0 && as_status=1 8161 if test "$3"; then 8162 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8163 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 8164 fi 8165 $as_echo "$as_me: error: $1" >&2 8166 as_fn_exit $as_status 8167} # as_fn_error 8168 8169 8170# as_fn_set_status STATUS 8171# ----------------------- 8172# Set $? to STATUS, without forking. 8173as_fn_set_status () 8174{ 8175 return $1 8176} # as_fn_set_status 8177 8178# as_fn_exit STATUS 8179# ----------------- 8180# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8181as_fn_exit () 8182{ 8183 set +e 8184 as_fn_set_status $1 8185 exit $1 8186} # as_fn_exit 8187 8188# as_fn_unset VAR 8189# --------------- 8190# Portably unset VAR. 8191as_fn_unset () 8192{ 8193 { eval $1=; unset $1;} 8194} 8195as_unset=as_fn_unset 8196# as_fn_append VAR VALUE 8197# ---------------------- 8198# Append the text in VALUE to the end of the definition contained in VAR. Take 8199# advantage of any shell optimizations that allow amortized linear growth over 8200# repeated appends, instead of the typical quadratic growth present in naive 8201# implementations. 8202if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8203 eval 'as_fn_append () 8204 { 8205 eval $1+=\$2 8206 }' 8207else 8208 as_fn_append () 8209 { 8210 eval $1=\$$1\$2 8211 } 8212fi # as_fn_append 8213 8214# as_fn_arith ARG... 8215# ------------------ 8216# Perform arithmetic evaluation on the ARGs, and store the result in the 8217# global $as_val. Take advantage of shells that can avoid forks. The arguments 8218# must be portable across $(()) and expr. 8219if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8220 eval 'as_fn_arith () 8221 { 8222 as_val=$(( $* )) 8223 }' 8224else 8225 as_fn_arith () 8226 { 8227 as_val=`expr "$@" || test $? -eq 1` 8228 } 8229fi # as_fn_arith 8230 8231 8232if expr a : '\(a\)' >/dev/null 2>&1 && 8233 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8234 as_expr=expr 8235else 8236 as_expr=false 8237fi 8238 8239if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8240 as_basename=basename 8241else 8242 as_basename=false 8243fi 8244 8245if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8246 as_dirname=dirname 8247else 8248 as_dirname=false 8249fi 8250 8251as_me=`$as_basename -- "$0" || 8252$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8253 X"$0" : 'X\(//\)$' \| \ 8254 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8255$as_echo X/"$0" | 8256 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8257 s//\1/ 8258 q 8259 } 8260 /^X\/\(\/\/\)$/{ 8261 s//\1/ 8262 q 8263 } 8264 /^X\/\(\/\).*/{ 8265 s//\1/ 8266 q 8267 } 8268 s/.*/./; q'` 8269 8270# Avoid depending upon Character Ranges. 8271as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8272as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8273as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8274as_cr_digits='0123456789' 8275as_cr_alnum=$as_cr_Letters$as_cr_digits 8276 8277ECHO_C= ECHO_N= ECHO_T= 8278case `echo -n x` in #((((( 8279-n*) 8280 case `echo 'xy\c'` in 8281 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8282 xy) ECHO_C='\c';; 8283 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8284 ECHO_T=' ';; 8285 esac;; 8286*) 8287 ECHO_N='-n';; 8288esac 8289 8290rm -f conf$$ conf$$.exe conf$$.file 8291if test -d conf$$.dir; then 8292 rm -f conf$$.dir/conf$$.file 8293else 8294 rm -f conf$$.dir 8295 mkdir conf$$.dir 2>/dev/null 8296fi 8297if (echo >conf$$.file) 2>/dev/null; then 8298 if ln -s conf$$.file conf$$ 2>/dev/null; then 8299 as_ln_s='ln -s' 8300 # ... but there are two gotchas: 8301 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8302 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8303 # In both cases, we have to default to `cp -p'. 8304 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8305 as_ln_s='cp -p' 8306 elif ln conf$$.file conf$$ 2>/dev/null; then 8307 as_ln_s=ln 8308 else 8309 as_ln_s='cp -p' 8310 fi 8311else 8312 as_ln_s='cp -p' 8313fi 8314rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8315rmdir conf$$.dir 2>/dev/null 8316 8317 8318# as_fn_mkdir_p 8319# ------------- 8320# Create "$as_dir" as a directory, including parents if necessary. 8321as_fn_mkdir_p () 8322{ 8323 8324 case $as_dir in #( 8325 -*) as_dir=./$as_dir;; 8326 esac 8327 test -d "$as_dir" || eval $as_mkdir_p || { 8328 as_dirs= 8329 while :; do 8330 case $as_dir in #( 8331 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8332 *) as_qdir=$as_dir;; 8333 esac 8334 as_dirs="'$as_qdir' $as_dirs" 8335 as_dir=`$as_dirname -- "$as_dir" || 8336$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8337 X"$as_dir" : 'X\(//\)[^/]' \| \ 8338 X"$as_dir" : 'X\(//\)$' \| \ 8339 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8340$as_echo X"$as_dir" | 8341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8342 s//\1/ 8343 q 8344 } 8345 /^X\(\/\/\)[^/].*/{ 8346 s//\1/ 8347 q 8348 } 8349 /^X\(\/\/\)$/{ 8350 s//\1/ 8351 q 8352 } 8353 /^X\(\/\).*/{ 8354 s//\1/ 8355 q 8356 } 8357 s/.*/./; q'` 8358 test -d "$as_dir" && break 8359 done 8360 test -z "$as_dirs" || eval "mkdir $as_dirs" 8361 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 8362 8363 8364} # as_fn_mkdir_p 8365if mkdir -p . 2>/dev/null; then 8366 as_mkdir_p='mkdir -p "$as_dir"' 8367else 8368 test -d ./-p && rmdir ./-p 8369 as_mkdir_p=false 8370fi 8371 8372if test -x / >/dev/null 2>&1; then 8373 as_test_x='test -x' 8374else 8375 if ls -dL / >/dev/null 2>&1; then 8376 as_ls_L_option=L 8377 else 8378 as_ls_L_option= 8379 fi 8380 as_test_x=' 8381 eval sh -c '\'' 8382 if test -d "$1"; then 8383 test -d "$1/."; 8384 else 8385 case $1 in #( 8386 -*)set "./$1";; 8387 esac; 8388 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 8389 ???[sx]*):;;*)false;;esac;fi 8390 '\'' sh 8391 ' 8392fi 8393as_executable_p=$as_test_x 8394 8395# Sed expression to map a string onto a valid CPP name. 8396as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8397 8398# Sed expression to map a string onto a valid variable name. 8399as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 8400 8401 8402exec 6>&1 8403## ----------------------------------- ## 8404## Main body of $CONFIG_STATUS script. ## 8405## ----------------------------------- ## 8406_ASEOF 8407test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 8408 8409cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8410# Save the log message, to keep $0 and so on meaningful, and to 8411# report actual input values of CONFIG_FILES etc. instead of their 8412# values after options handling. 8413ac_log=" 8414This file was extended by xinit $as_me 1.2.1, which was 8415generated by GNU Autoconf 2.65. Invocation command line was 8416 8417 CONFIG_FILES = $CONFIG_FILES 8418 CONFIG_HEADERS = $CONFIG_HEADERS 8419 CONFIG_LINKS = $CONFIG_LINKS 8420 CONFIG_COMMANDS = $CONFIG_COMMANDS 8421 $ $0 $@ 8422 8423on `(hostname || uname -n) 2>/dev/null | sed 1q` 8424" 8425 8426_ACEOF 8427 8428case $ac_config_files in *" 8429"*) set x $ac_config_files; shift; ac_config_files=$*;; 8430esac 8431 8432case $ac_config_headers in *" 8433"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 8434esac 8435 8436 8437cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8438# Files that config.status was made for. 8439config_files="$ac_config_files" 8440config_headers="$ac_config_headers" 8441config_commands="$ac_config_commands" 8442 8443_ACEOF 8444 8445cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8446ac_cs_usage="\ 8447\`$as_me' instantiates files and other configuration actions 8448from templates according to the current configuration. Unless the files 8449and actions are specified as TAGs, all are instantiated by default. 8450 8451Usage: $0 [OPTION]... [TAG]... 8452 8453 -h, --help print this help, then exit 8454 -V, --version print version number and configuration settings, then exit 8455 --config print configuration, then exit 8456 -q, --quiet, --silent 8457 do not print progress messages 8458 -d, --debug don't remove temporary files 8459 --recheck update $as_me by reconfiguring in the same conditions 8460 --file=FILE[:TEMPLATE] 8461 instantiate the configuration file FILE 8462 --header=FILE[:TEMPLATE] 8463 instantiate the configuration header FILE 8464 8465Configuration files: 8466$config_files 8467 8468Configuration headers: 8469$config_headers 8470 8471Configuration commands: 8472$config_commands 8473 8474Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 8475 8476_ACEOF 8477cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8478ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 8479ac_cs_version="\\ 8480xinit config.status 1.2.1 8481configured by $0, generated by GNU Autoconf 2.65, 8482 with options \\"\$ac_cs_config\\" 8483 8484Copyright (C) 2009 Free Software Foundation, Inc. 8485This config.status script is free software; the Free Software Foundation 8486gives unlimited permission to copy, distribute and modify it." 8487 8488ac_pwd='$ac_pwd' 8489srcdir='$srcdir' 8490INSTALL='$INSTALL' 8491MKDIR_P='$MKDIR_P' 8492AWK='$AWK' 8493test -n "\$AWK" || AWK=awk 8494_ACEOF 8495 8496cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8497# The default lists apply if the user does not specify any file. 8498ac_need_defaults=: 8499while test $# != 0 8500do 8501 case $1 in 8502 --*=*) 8503 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8504 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8505 ac_shift=: 8506 ;; 8507 *) 8508 ac_option=$1 8509 ac_optarg=$2 8510 ac_shift=shift 8511 ;; 8512 esac 8513 8514 case $ac_option in 8515 # Handling of the options. 8516 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8517 ac_cs_recheck=: ;; 8518 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8519 $as_echo "$ac_cs_version"; exit ;; 8520 --config | --confi | --conf | --con | --co | --c ) 8521 $as_echo "$ac_cs_config"; exit ;; 8522 --debug | --debu | --deb | --de | --d | -d ) 8523 debug=: ;; 8524 --file | --fil | --fi | --f ) 8525 $ac_shift 8526 case $ac_optarg in 8527 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8528 esac 8529 as_fn_append CONFIG_FILES " '$ac_optarg'" 8530 ac_need_defaults=false;; 8531 --header | --heade | --head | --hea ) 8532 $ac_shift 8533 case $ac_optarg in 8534 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8535 esac 8536 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 8537 ac_need_defaults=false;; 8538 --he | --h) 8539 # Conflict between --help and --header 8540 as_fn_error "ambiguous option: \`$1' 8541Try \`$0 --help' for more information.";; 8542 --help | --hel | -h ) 8543 $as_echo "$ac_cs_usage"; exit ;; 8544 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8545 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8546 ac_cs_silent=: ;; 8547 8548 # This is an error. 8549 -*) as_fn_error "unrecognized option: \`$1' 8550Try \`$0 --help' for more information." ;; 8551 8552 *) as_fn_append ac_config_targets " $1" 8553 ac_need_defaults=false ;; 8554 8555 esac 8556 shift 8557done 8558 8559ac_configure_extra_args= 8560 8561if $ac_cs_silent; then 8562 exec 6>/dev/null 8563 ac_configure_extra_args="$ac_configure_extra_args --silent" 8564fi 8565 8566_ACEOF 8567cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8568if \$ac_cs_recheck; then 8569 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8570 shift 8571 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 8572 CONFIG_SHELL='$SHELL' 8573 export CONFIG_SHELL 8574 exec "\$@" 8575fi 8576 8577_ACEOF 8578cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8579exec 5>>config.log 8580{ 8581 echo 8582 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8583## Running $as_me. ## 8584_ASBOX 8585 $as_echo "$ac_log" 8586} >&5 8587 8588_ACEOF 8589cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8590# 8591# INIT-COMMANDS 8592# 8593AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 8594 8595_ACEOF 8596 8597cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8598 8599# Handling of arguments. 8600for ac_config_target in $ac_config_targets 8601do 8602 case $ac_config_target in 8603 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 8604 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8605 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8606 "privileged_startx/Makefile") CONFIG_FILES="$CONFIG_FILES privileged_startx/Makefile" ;; 8607 8608 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8609 esac 8610done 8611 8612 8613# If the user did not use the arguments to specify the items to instantiate, 8614# then the envvar interface is used. Set only those that are not. 8615# We use the long form for the default assignment because of an extremely 8616# bizarre bug on SunOS 4.1.3. 8617if $ac_need_defaults; then 8618 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 8619 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 8620 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 8621fi 8622 8623# Have a temporary directory for convenience. Make it in the build tree 8624# simply because there is no reason against having it here, and in addition, 8625# creating and moving files from /tmp can sometimes cause problems. 8626# Hook for its removal unless debugging. 8627# Note that there is a small window in which the directory will not be cleaned: 8628# after its creation but before its name has been assigned to `$tmp'. 8629$debug || 8630{ 8631 tmp= 8632 trap 'exit_status=$? 8633 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8634' 0 8635 trap 'as_fn_exit 1' 1 2 13 15 8636} 8637# Create a (secure) tmp directory for tmp files. 8638 8639{ 8640 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8641 test -n "$tmp" && test -d "$tmp" 8642} || 8643{ 8644 tmp=./conf$$-$RANDOM 8645 (umask 077 && mkdir "$tmp") 8646} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 8647 8648# Set up the scripts for CONFIG_FILES section. 8649# No need to generate them if there are no CONFIG_FILES. 8650# This happens for instance with `./config.status config.h'. 8651if test -n "$CONFIG_FILES"; then 8652 8653 8654ac_cr=`echo X | tr X '\015'` 8655# On cygwin, bash can eat \r inside `` if the user requested igncr. 8656# But we know of no other shell where ac_cr would be empty at this 8657# point, so we can use a bashism as a fallback. 8658if test "x$ac_cr" = x; then 8659 eval ac_cr=\$\'\\r\' 8660fi 8661ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 8662if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 8663 ac_cs_awk_cr='\r' 8664else 8665 ac_cs_awk_cr=$ac_cr 8666fi 8667 8668echo 'BEGIN {' >"$tmp/subs1.awk" && 8669_ACEOF 8670 8671 8672{ 8673 echo "cat >conf$$subs.awk <<_ACEOF" && 8674 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 8675 echo "_ACEOF" 8676} >conf$$subs.sh || 8677 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 8678ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 8679ac_delim='%!_!# ' 8680for ac_last_try in false false false false false :; do 8681 . ./conf$$subs.sh || 8682 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 8683 8684 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 8685 if test $ac_delim_n = $ac_delim_num; then 8686 break 8687 elif $ac_last_try; then 8688 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 8689 else 8690 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8691 fi 8692done 8693rm -f conf$$subs.sh 8694 8695cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8696cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 8697_ACEOF 8698sed -n ' 8699h 8700s/^/S["/; s/!.*/"]=/ 8701p 8702g 8703s/^[^!]*!// 8704:repl 8705t repl 8706s/'"$ac_delim"'$// 8707t delim 8708:nl 8709h 8710s/\(.\{148\}\)..*/\1/ 8711t more1 8712s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 8713p 8714n 8715b repl 8716:more1 8717s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8718p 8719g 8720s/.\{148\}// 8721t nl 8722:delim 8723h 8724s/\(.\{148\}\)..*/\1/ 8725t more2 8726s/["\\]/\\&/g; s/^/"/; s/$/"/ 8727p 8728b 8729:more2 8730s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8731p 8732g 8733s/.\{148\}// 8734t delim 8735' <conf$$subs.awk | sed ' 8736/^[^""]/{ 8737 N 8738 s/\n// 8739} 8740' >>$CONFIG_STATUS || ac_write_fail=1 8741rm -f conf$$subs.awk 8742cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8743_ACAWK 8744cat >>"\$tmp/subs1.awk" <<_ACAWK && 8745 for (key in S) S_is_set[key] = 1 8746 FS = "" 8747 8748} 8749{ 8750 line = $ 0 8751 nfields = split(line, field, "@") 8752 substed = 0 8753 len = length(field[1]) 8754 for (i = 2; i < nfields; i++) { 8755 key = field[i] 8756 keylen = length(key) 8757 if (S_is_set[key]) { 8758 value = S[key] 8759 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 8760 len += length(value) + length(field[++i]) 8761 substed = 1 8762 } else 8763 len += 1 + keylen 8764 } 8765 8766 print line 8767} 8768 8769_ACAWK 8770_ACEOF 8771cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8772if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8773 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 8774else 8775 cat 8776fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 8777 || as_fn_error "could not setup config files machinery" "$LINENO" 5 8778_ACEOF 8779 8780# VPATH may cause trouble with some makes, so we remove $(srcdir), 8781# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 8782# trailing colons and then remove the whole line if VPATH becomes empty 8783# (actually we leave an empty line to preserve line numbers). 8784if test "x$srcdir" = x.; then 8785 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8786s/:*\$(srcdir):*/:/ 8787s/:*\${srcdir}:*/:/ 8788s/:*@srcdir@:*/:/ 8789s/^\([^=]*=[ ]*\):*/\1/ 8790s/:*$// 8791s/^[^=]*=[ ]*$// 8792}' 8793fi 8794 8795cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8796fi # test -n "$CONFIG_FILES" 8797 8798# Set up the scripts for CONFIG_HEADERS section. 8799# No need to generate them if there are no CONFIG_HEADERS. 8800# This happens for instance with `./config.status Makefile'. 8801if test -n "$CONFIG_HEADERS"; then 8802cat >"$tmp/defines.awk" <<\_ACAWK || 8803BEGIN { 8804_ACEOF 8805 8806# Transform confdefs.h into an awk script `defines.awk', embedded as 8807# here-document in config.status, that substitutes the proper values into 8808# config.h.in to produce config.h. 8809 8810# Create a delimiter string that does not exist in confdefs.h, to ease 8811# handling of long lines. 8812ac_delim='%!_!# ' 8813for ac_last_try in false false :; do 8814 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 8815 if test -z "$ac_t"; then 8816 break 8817 elif $ac_last_try; then 8818 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 8819 else 8820 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8821 fi 8822done 8823 8824# For the awk script, D is an array of macro values keyed by name, 8825# likewise P contains macro parameters if any. Preserve backslash 8826# newline sequences. 8827 8828ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8829sed -n ' 8830s/.\{148\}/&'"$ac_delim"'/g 8831t rset 8832:rset 8833s/^[ ]*#[ ]*define[ ][ ]*/ / 8834t def 8835d 8836:def 8837s/\\$// 8838t bsnl 8839s/["\\]/\\&/g 8840s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8841D["\1"]=" \3"/p 8842s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 8843d 8844:bsnl 8845s/["\\]/\\&/g 8846s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8847D["\1"]=" \3\\\\\\n"\\/p 8848t cont 8849s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 8850t cont 8851d 8852:cont 8853n 8854s/.\{148\}/&'"$ac_delim"'/g 8855t clear 8856:clear 8857s/\\$// 8858t bsnlc 8859s/["\\]/\\&/g; s/^/"/; s/$/"/p 8860d 8861:bsnlc 8862s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 8863b cont 8864' <confdefs.h | sed ' 8865s/'"$ac_delim"'/"\\\ 8866"/g' >>$CONFIG_STATUS || ac_write_fail=1 8867 8868cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8869 for (key in D) D_is_set[key] = 1 8870 FS = "" 8871} 8872/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 8873 line = \$ 0 8874 split(line, arg, " ") 8875 if (arg[1] == "#") { 8876 defundef = arg[2] 8877 mac1 = arg[3] 8878 } else { 8879 defundef = substr(arg[1], 2) 8880 mac1 = arg[2] 8881 } 8882 split(mac1, mac2, "(") #) 8883 macro = mac2[1] 8884 prefix = substr(line, 1, index(line, defundef) - 1) 8885 if (D_is_set[macro]) { 8886 # Preserve the white space surrounding the "#". 8887 print prefix "define", macro P[macro] D[macro] 8888 next 8889 } else { 8890 # Replace #undef with comments. This is necessary, for example, 8891 # in the case of _POSIX_SOURCE, which is predefined and required 8892 # on some systems where configure will not decide to define it. 8893 if (defundef == "undef") { 8894 print "/*", prefix defundef, macro, "*/" 8895 next 8896 } 8897 } 8898} 8899{ print } 8900_ACAWK 8901_ACEOF 8902cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8903 as_fn_error "could not setup config headers machinery" "$LINENO" 5 8904fi # test -n "$CONFIG_HEADERS" 8905 8906 8907eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 8908shift 8909for ac_tag 8910do 8911 case $ac_tag in 8912 :[FHLC]) ac_mode=$ac_tag; continue;; 8913 esac 8914 case $ac_mode$ac_tag in 8915 :[FHL]*:*);; 8916 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 8917 :[FH]-) ac_tag=-:-;; 8918 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8919 esac 8920 ac_save_IFS=$IFS 8921 IFS=: 8922 set x $ac_tag 8923 IFS=$ac_save_IFS 8924 shift 8925 ac_file=$1 8926 shift 8927 8928 case $ac_mode in 8929 :L) ac_source=$1;; 8930 :[FH]) 8931 ac_file_inputs= 8932 for ac_f 8933 do 8934 case $ac_f in 8935 -) ac_f="$tmp/stdin";; 8936 *) # Look for the file first in the build tree, then in the source tree 8937 # (if the path is not absolute). The absolute path cannot be DOS-style, 8938 # because $ac_f cannot contain `:'. 8939 test -f "$ac_f" || 8940 case $ac_f in 8941 [\\/$]*) false;; 8942 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8943 esac || 8944 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 8945 esac 8946 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 8947 as_fn_append ac_file_inputs " '$ac_f'" 8948 done 8949 8950 # Let's still pretend it is `configure' which instantiates (i.e., don't 8951 # use $as_me), people would be surprised to read: 8952 # /* config.h. Generated by config.status. */ 8953 configure_input='Generated from '` 8954 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 8955 `' by configure.' 8956 if test x"$ac_file" != x-; then 8957 configure_input="$ac_file. $configure_input" 8958 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 8959$as_echo "$as_me: creating $ac_file" >&6;} 8960 fi 8961 # Neutralize special characters interpreted by sed in replacement strings. 8962 case $configure_input in #( 8963 *\&* | *\|* | *\\* ) 8964 ac_sed_conf_input=`$as_echo "$configure_input" | 8965 sed 's/[\\\\&|]/\\\\&/g'`;; #( 8966 *) ac_sed_conf_input=$configure_input;; 8967 esac 8968 8969 case $ac_tag in 8970 *:-:* | *:-) cat >"$tmp/stdin" \ 8971 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 8972 esac 8973 ;; 8974 esac 8975 8976 ac_dir=`$as_dirname -- "$ac_file" || 8977$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8978 X"$ac_file" : 'X\(//\)[^/]' \| \ 8979 X"$ac_file" : 'X\(//\)$' \| \ 8980 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8981$as_echo X"$ac_file" | 8982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8983 s//\1/ 8984 q 8985 } 8986 /^X\(\/\/\)[^/].*/{ 8987 s//\1/ 8988 q 8989 } 8990 /^X\(\/\/\)$/{ 8991 s//\1/ 8992 q 8993 } 8994 /^X\(\/\).*/{ 8995 s//\1/ 8996 q 8997 } 8998 s/.*/./; q'` 8999 as_dir="$ac_dir"; as_fn_mkdir_p 9000 ac_builddir=. 9001 9002case "$ac_dir" in 9003.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9004*) 9005 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 9006 # A ".." for each directory in $ac_dir_suffix. 9007 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9008 case $ac_top_builddir_sub in 9009 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9010 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9011 esac ;; 9012esac 9013ac_abs_top_builddir=$ac_pwd 9014ac_abs_builddir=$ac_pwd$ac_dir_suffix 9015# for backward compatibility: 9016ac_top_builddir=$ac_top_build_prefix 9017 9018case $srcdir in 9019 .) # We are building in place. 9020 ac_srcdir=. 9021 ac_top_srcdir=$ac_top_builddir_sub 9022 ac_abs_top_srcdir=$ac_pwd ;; 9023 [\\/]* | ?:[\\/]* ) # Absolute name. 9024 ac_srcdir=$srcdir$ac_dir_suffix; 9025 ac_top_srcdir=$srcdir 9026 ac_abs_top_srcdir=$srcdir ;; 9027 *) # Relative name. 9028 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9029 ac_top_srcdir=$ac_top_build_prefix$srcdir 9030 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9031esac 9032ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9033 9034 9035 case $ac_mode in 9036 :F) 9037 # 9038 # CONFIG_FILE 9039 # 9040 9041 case $INSTALL in 9042 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9043 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9044 esac 9045 ac_MKDIR_P=$MKDIR_P 9046 case $MKDIR_P in 9047 [\\/$]* | ?:[\\/]* ) ;; 9048 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 9049 esac 9050_ACEOF 9051 9052cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9053# If the template does not know about datarootdir, expand it. 9054# FIXME: This hack should be removed a few years after 2.60. 9055ac_datarootdir_hack=; ac_datarootdir_seen= 9056ac_sed_dataroot=' 9057/datarootdir/ { 9058 p 9059 q 9060} 9061/@datadir@/p 9062/@docdir@/p 9063/@infodir@/p 9064/@localedir@/p 9065/@mandir@/p' 9066case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9067*datarootdir*) ac_datarootdir_seen=yes;; 9068*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9070$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9071_ACEOF 9072cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9073 ac_datarootdir_hack=' 9074 s&@datadir@&$datadir&g 9075 s&@docdir@&$docdir&g 9076 s&@infodir@&$infodir&g 9077 s&@localedir@&$localedir&g 9078 s&@mandir@&$mandir&g 9079 s&\\\${datarootdir}&$datarootdir&g' ;; 9080esac 9081_ACEOF 9082 9083# Neutralize VPATH when `$srcdir' = `.'. 9084# Shell code in configure.ac might set extrasub. 9085# FIXME: do we really want to maintain this feature? 9086cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9087ac_sed_extra="$ac_vpsub 9088$extrasub 9089_ACEOF 9090cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9091:t 9092/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9093s|@configure_input@|$ac_sed_conf_input|;t t 9094s&@top_builddir@&$ac_top_builddir_sub&;t t 9095s&@top_build_prefix@&$ac_top_build_prefix&;t t 9096s&@srcdir@&$ac_srcdir&;t t 9097s&@abs_srcdir@&$ac_abs_srcdir&;t t 9098s&@top_srcdir@&$ac_top_srcdir&;t t 9099s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9100s&@builddir@&$ac_builddir&;t t 9101s&@abs_builddir@&$ac_abs_builddir&;t t 9102s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9103s&@INSTALL@&$ac_INSTALL&;t t 9104s&@MKDIR_P@&$ac_MKDIR_P&;t t 9105$ac_datarootdir_hack 9106" 9107eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9108 || as_fn_error "could not create $ac_file" "$LINENO" 5 9109 9110test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9111 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9112 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9114which seems to be undefined. Please make sure it is defined." >&5 9115$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9116which seems to be undefined. Please make sure it is defined." >&2;} 9117 9118 rm -f "$tmp/stdin" 9119 case $ac_file in 9120 -) cat "$tmp/out" && rm -f "$tmp/out";; 9121 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9122 esac \ 9123 || as_fn_error "could not create $ac_file" "$LINENO" 5 9124 ;; 9125 :H) 9126 # 9127 # CONFIG_HEADER 9128 # 9129 if test x"$ac_file" != x-; then 9130 { 9131 $as_echo "/* $configure_input */" \ 9132 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9133 } >"$tmp/config.h" \ 9134 || as_fn_error "could not create $ac_file" "$LINENO" 5 9135 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9136 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9137$as_echo "$as_me: $ac_file is unchanged" >&6;} 9138 else 9139 rm -f "$ac_file" 9140 mv "$tmp/config.h" "$ac_file" \ 9141 || as_fn_error "could not create $ac_file" "$LINENO" 5 9142 fi 9143 else 9144 $as_echo "/* $configure_input */" \ 9145 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9146 || as_fn_error "could not create -" "$LINENO" 5 9147 fi 9148# Compute "$ac_file"'s index in $config_headers. 9149_am_arg="$ac_file" 9150_am_stamp_count=1 9151for _am_header in $config_headers :; do 9152 case $_am_header in 9153 $_am_arg | $_am_arg:* ) 9154 break ;; 9155 * ) 9156 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9157 esac 9158done 9159echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9160$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9161 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9162 X"$_am_arg" : 'X\(//\)$' \| \ 9163 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9164$as_echo X"$_am_arg" | 9165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9166 s//\1/ 9167 q 9168 } 9169 /^X\(\/\/\)[^/].*/{ 9170 s//\1/ 9171 q 9172 } 9173 /^X\(\/\/\)$/{ 9174 s//\1/ 9175 q 9176 } 9177 /^X\(\/\).*/{ 9178 s//\1/ 9179 q 9180 } 9181 s/.*/./; q'`/stamp-h$_am_stamp_count 9182 ;; 9183 9184 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 9185$as_echo "$as_me: executing $ac_file commands" >&6;} 9186 ;; 9187 esac 9188 9189 9190 case $ac_file$ac_mode in 9191 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9192 # Autoconf 2.62 quotes --file arguments for eval, but not when files 9193 # are listed without --file. Let's play safe and only enable the eval 9194 # if we detect the quoting. 9195 case $CONFIG_FILES in 9196 *\'*) eval set x "$CONFIG_FILES" ;; 9197 *) set x $CONFIG_FILES ;; 9198 esac 9199 shift 9200 for mf 9201 do 9202 # Strip MF so we end up with the name of the file. 9203 mf=`echo "$mf" | sed -e 's/:.*$//'` 9204 # Check whether this is an Automake generated Makefile or not. 9205 # We used to match only the files named `Makefile.in', but 9206 # some people rename them; so instead we look at the file content. 9207 # Grep'ing the first line is not enough: some people post-process 9208 # each Makefile.in and add a new line on top of each file to say so. 9209 # Grep'ing the whole file is not good either: AIX grep has a line 9210 # limit of 2048, but all sed's we know have understand at least 4000. 9211 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 9212 dirpart=`$as_dirname -- "$mf" || 9213$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9214 X"$mf" : 'X\(//\)[^/]' \| \ 9215 X"$mf" : 'X\(//\)$' \| \ 9216 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 9217$as_echo X"$mf" | 9218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9219 s//\1/ 9220 q 9221 } 9222 /^X\(\/\/\)[^/].*/{ 9223 s//\1/ 9224 q 9225 } 9226 /^X\(\/\/\)$/{ 9227 s//\1/ 9228 q 9229 } 9230 /^X\(\/\).*/{ 9231 s//\1/ 9232 q 9233 } 9234 s/.*/./; q'` 9235 else 9236 continue 9237 fi 9238 # Extract the definition of DEPDIR, am__include, and am__quote 9239 # from the Makefile without running `make'. 9240 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 9241 test -z "$DEPDIR" && continue 9242 am__include=`sed -n 's/^am__include = //p' < "$mf"` 9243 test -z "am__include" && continue 9244 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 9245 # When using ansi2knr, U may be empty or an underscore; expand it 9246 U=`sed -n 's/^U = //p' < "$mf"` 9247 # Find all dependency output files, they are included files with 9248 # $(DEPDIR) in their names. We invoke sed twice because it is the 9249 # simplest approach to changing $(DEPDIR) to its actual value in the 9250 # expansion. 9251 for file in `sed -n " 9252 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 9253 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 9254 # Make sure the directory exists. 9255 test -f "$dirpart/$file" && continue 9256 fdir=`$as_dirname -- "$file" || 9257$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9258 X"$file" : 'X\(//\)[^/]' \| \ 9259 X"$file" : 'X\(//\)$' \| \ 9260 X"$file" : 'X\(/\)' \| . 2>/dev/null || 9261$as_echo X"$file" | 9262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9263 s//\1/ 9264 q 9265 } 9266 /^X\(\/\/\)[^/].*/{ 9267 s//\1/ 9268 q 9269 } 9270 /^X\(\/\/\)$/{ 9271 s//\1/ 9272 q 9273 } 9274 /^X\(\/\).*/{ 9275 s//\1/ 9276 q 9277 } 9278 s/.*/./; q'` 9279 as_dir=$dirpart/$fdir; as_fn_mkdir_p 9280 # echo "creating $dirpart/$file" 9281 echo '# dummy' > "$dirpart/$file" 9282 done 9283 done 9284} 9285 ;; 9286 9287 esac 9288done # for ac_tag 9289 9290 9291as_fn_exit 0 9292_ACEOF 9293ac_clean_files=$ac_clean_files_save 9294 9295test $ac_write_fail = 0 || 9296 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 9297 9298 9299# configure is writing to config.log, and then calls config.status. 9300# config.status does its own redirection, appending to config.log. 9301# Unfortunately, on DOS this fails, as config.log is still kept open 9302# by configure, so config.status won't be able to write to it; its 9303# output is simply discarded. So we exec the FD to /dev/null, 9304# effectively closing config.log, so it can be properly (re)opened and 9305# appended to by config.status. When coming back to configure, we 9306# need to make the FD available again. 9307if test "$no_create" != yes; then 9308 ac_cs_success=: 9309 ac_config_status_args= 9310 test "$silent" = yes && 9311 ac_config_status_args="$ac_config_status_args --quiet" 9312 exec 5>/dev/null 9313 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 9314 exec 5>>config.log 9315 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9316 # would make configure fail if this is the last instruction. 9317 $ac_cs_success || as_fn_exit $? 9318fi 9319if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9321$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9322fi 9323 9324