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