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