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