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