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