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