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