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