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