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