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