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