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