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