1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.61. 4# 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## 12 13# Be more Bourne compatible 14DUALCASE=1; export DUALCASE # for MKS sh 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25esac 26 27fi 28 29 30 31 32# PATH needs CR 33# Avoid depending upon Character Ranges. 34as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37as_cr_digits='0123456789' 38as_cr_alnum=$as_cr_Letters$as_cr_digits 39 40# The user is always right. 41if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51fi 52 53# Support unset when possible. 54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56else 57 as_unset=false 58fi 59 60 61# IFS 62# We need space, tab and new line, in precisely that order. Quoting is 63# there to prevent editors from complaining about space-tab. 64# (If _AS_PATH_WALK were called with IFS unset, it would disable word 65# splitting by setting IFS to empty value.) 66as_nl=' 67' 68IFS=" "" $as_nl" 69 70# Find who we are. Look in the path if we contain no directory separator. 71case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74for as_dir in $PATH 75do 76 IFS=$as_save_IFS 77 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79done 80IFS=$as_save_IFS 81 82 ;; 83esac 84# We did not find ourselves, most probably we were run as `sh COMMAND' 85# in which case we are not to be found in the path. 86if test "x$as_myself" = x; then 87 as_myself=$0 88fi 89if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92fi 93 94# Work around bugs in pre-3.0 UWIN ksh. 95for as_var in ENV MAIL MAILPATH 96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97done 98PS1='$ ' 99PS2='> ' 100PS4='+ ' 101 102# NLS nuisances. 103for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112 fi 113done 114 115# Required to use basename. 116if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119else 120 as_expr=false 121fi 122 123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125else 126 as_basename=false 127fi 128 129 130# Name of the executable. 131as_me=`$as_basename -- "$0" || 132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150# CDPATH. 151$as_unset CDPATH 152 153 154if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157else 158 as_have_required=no 159fi 160 161 if test $as_have_required = yes && (eval ": 162(as_func_return () { 163 (exit \$1) 164} 165as_func_success () { 166 as_func_return 0 167} 168as_func_failure () { 169 as_func_return 1 170} 171as_func_ret_success () { 172 return 0 173} 174as_func_ret_failure () { 175 return 1 176} 177 178exitcode=0 179if as_func_success; then 180 : 181else 182 exitcode=1 183 echo as_func_success failed. 184fi 185 186if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189fi 190 191if as_func_ret_success; then 192 : 193else 194 exitcode=1 195 echo as_func_ret_success failed. 196fi 197 198if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201fi 202 203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205else 206 exitcode=1 207 echo positional parameters were not saved. 208fi 209 210test \$exitcode = 0) || { (exit 1); exit 1; } 211 212( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217") 2> /dev/null; then 218 : 219else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232done 233IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250esac 251 252fi 253 254 255: 256_ASEOF 257}; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$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 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271esac 272 273fi 274 275 276: 277(as_func_return () { 278 (exit $1) 279} 280as_func_success () { 281 as_func_return 0 282} 283as_func_failure () { 284 as_func_return 1 285} 286as_func_ret_success () { 287 return 0 288} 289as_func_ret_failure () { 290 return 1 291} 292 293exitcode=0 294if as_func_success; then 295 : 296else 297 exitcode=1 298 echo as_func_success failed. 299fi 300 301if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304fi 305 306if as_func_ret_success; then 307 : 308else 309 exitcode=1 310 echo as_func_ret_success failed. 311fi 312 313if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316fi 317 318if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320else 321 exitcode=1 322 echo positional parameters were not saved. 323fi 324 325test $exitcode = 0) || { (exit 1); exit 1; } 326 327( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333_ASEOF 334}; then 335 break 336fi 337 338fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357fi 358 359 360fi 361 362fi 363 364 365 366(eval "as_func_return () { 367 (exit \$1) 368} 369as_func_success () { 370 as_func_return 0 371} 372as_func_failure () { 373 as_func_return 1 374} 375as_func_ret_success () { 376 return 0 377} 378as_func_ret_failure () { 379 return 1 380} 381 382exitcode=0 383if as_func_success; then 384 : 385else 386 exitcode=1 387 echo as_func_success failed. 388fi 389 390if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393fi 394 395if as_func_ret_success; then 396 : 397else 398 exitcode=1 399 echo as_func_ret_success failed. 400fi 401 402if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405fi 406 407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409else 410 exitcode=1 411 echo positional parameters were not saved. 412fi 413 414test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419} 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 447 N 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450 t loop 451 s/-\n.*// 452 ' >$as_me.lineno && 453 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 456 457 # Don't try to exec as it changes $[0], causing all sort of problems 458 # (the dirname of $[0] is not the place where we might find the 459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 461 # Exit status is that of the last command. 462 exit 463} 464 465 466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468else 469 as_dirname=false 470fi 471 472ECHO_C= ECHO_N= ECHO_T= 473case `echo -n x` in 474-n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479*) 480 ECHO_N='-n';; 481esac 482 483if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 485 as_expr=expr 486else 487 as_expr=false 488fi 489 490rm -f conf$$ conf$$.exe conf$$.file 491if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496fi 497echo >conf$$.file 498if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 505 as_ln_s='cp -p' 506elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 508else 509 as_ln_s='cp -p' 510fi 511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512rmdir conf$$.dir 2>/dev/null 513 514if mkdir -p . 2>/dev/null; then 515 as_mkdir_p=: 516else 517 test -d ./-p && rmdir ./-p 518 as_mkdir_p=false 519fi 520 521if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541fi 542as_executable_p=$as_test_x 543 544# Sed expression to map a string onto a valid CPP name. 545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 546 547# Sed expression to map a string onto a valid variable name. 548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 549 550 551 552exec 7<&0 </dev/null 6>&1 553 554# Name of the host. 555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 556# so uname gets run too. 557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558 559# 560# Initializations. 561# 562ac_default_prefix=/usr/local 563ac_clean_files= 564ac_config_libobj_dir=. 565LIBOBJS= 566cross_compiling=no 567subdirs= 568MFLAGS= 569MAKEFLAGS= 570SHELL=${CONFIG_SHELL-/bin/sh} 571 572# Identity of this package. 573PACKAGE_NAME= 574PACKAGE_TARNAME= 575PACKAGE_VERSION= 576PACKAGE_STRING= 577PACKAGE_BUGREPORT= 578 579ac_unique_file="cgiwrap.h" 580# Factoring default headers for most tests. 581ac_includes_default="\ 582#include <stdio.h> 583#ifdef HAVE_SYS_TYPES_H 584# include <sys/types.h> 585#endif 586#ifdef HAVE_SYS_STAT_H 587# include <sys/stat.h> 588#endif 589#ifdef STDC_HEADERS 590# include <stdlib.h> 591# include <stddef.h> 592#else 593# ifdef HAVE_STDLIB_H 594# include <stdlib.h> 595# endif 596#endif 597#ifdef HAVE_STRING_H 598# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 599# include <memory.h> 600# endif 601# include <string.h> 602#endif 603#ifdef HAVE_STRINGS_H 604# include <strings.h> 605#endif 606#ifdef HAVE_INTTYPES_H 607# include <inttypes.h> 608#endif 609#ifdef HAVE_STDINT_H 610# include <stdint.h> 611#endif 612#ifdef HAVE_UNISTD_H 613# include <unistd.h> 614#endif" 615 616ac_subst_vars='SHELL 617PATH_SEPARATOR 618PACKAGE_NAME 619PACKAGE_TARNAME 620PACKAGE_VERSION 621PACKAGE_STRING 622PACKAGE_BUGREPORT 623exec_prefix 624prefix 625program_transform_name 626bindir 627sbindir 628libexecdir 629datarootdir 630datadir 631sysconfdir 632sharedstatedir 633localstatedir 634includedir 635oldincludedir 636docdir 637infodir 638htmldir 639dvidir 640pdfdir 641psdir 642libdir 643localedir 644mandir 645DEFS 646ECHO_C 647ECHO_N 648ECHO_T 649LIBS 650build_alias 651host_alias 652target_alias 653build 654build_cpu 655build_vendor 656build_os 657host 658host_cpu 659host_vendor 660host_os 661target 662target_cpu 663target_vendor 664target_os 665VERSION 666CC 667CFLAGS 668LDFLAGS 669CPPFLAGS 670ac_ct_CC 671EXEEXT 672OBJEXT 673SET_MAKE 674PATH_PROG_PERL 675PATH_PROG_PHP 676PATH_PROG_ERUBY 677PATH_PROG_ASP 678GCC_WALL_OPT 679INSTALLGROUP 680INSTALLDIR 681DOINSTALL 682DOINSTALLPHP 683DOINSTALLCGIWRAPD 684DOINSTALLNPH 685INSTALLMODE 686GETUSERSHELL 687AFSDIR 688AFSLDFLAGS 689AFSLIBS 690CPP 691GREP 692EGREP 693LIBOBJS 694LTLIBOBJS' 695ac_subst_files='' 696 ac_precious_vars='build_alias 697host_alias 698target_alias 699CC 700CFLAGS 701LDFLAGS 702LIBS 703CPPFLAGS 704CPP' 705 706 707# Initialize some variables set by options. 708ac_init_help= 709ac_init_version=false 710# The variables have the same names as the options, with 711# dashes changed to underlines. 712cache_file=/dev/null 713exec_prefix=NONE 714no_create= 715no_recursion= 716prefix=NONE 717program_prefix=NONE 718program_suffix=NONE 719program_transform_name=s,x,x, 720silent= 721site= 722srcdir= 723verbose= 724x_includes=NONE 725x_libraries=NONE 726 727# Installation directory options. 728# These are left unexpanded so users can "make install exec_prefix=/foo" 729# and all the variables that are supposed to be based on exec_prefix 730# by default will actually change. 731# Use braces instead of parens because sh, perl, etc. also accept them. 732# (The list follows the same order as the GNU Coding Standards.) 733bindir='${exec_prefix}/bin' 734sbindir='${exec_prefix}/sbin' 735libexecdir='${exec_prefix}/libexec' 736datarootdir='${prefix}/share' 737datadir='${datarootdir}' 738sysconfdir='${prefix}/etc' 739sharedstatedir='${prefix}/com' 740localstatedir='${prefix}/var' 741includedir='${prefix}/include' 742oldincludedir='/usr/include' 743docdir='${datarootdir}/doc/${PACKAGE}' 744infodir='${datarootdir}/info' 745htmldir='${docdir}' 746dvidir='${docdir}' 747pdfdir='${docdir}' 748psdir='${docdir}' 749libdir='${exec_prefix}/lib' 750localedir='${datarootdir}/locale' 751mandir='${datarootdir}/man' 752 753ac_prev= 754ac_dashdash= 755for ac_option 756do 757 # If the previous option needs an argument, assign it. 758 if test -n "$ac_prev"; then 759 eval $ac_prev=\$ac_option 760 ac_prev= 761 continue 762 fi 763 764 case $ac_option in 765 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 766 *) ac_optarg=yes ;; 767 esac 768 769 # Accept the important Cygnus configure options, so we can diagnose typos. 770 771 case $ac_dashdash$ac_option in 772 --) 773 ac_dashdash=yes ;; 774 775 -bindir | --bindir | --bindi | --bind | --bin | --bi) 776 ac_prev=bindir ;; 777 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 778 bindir=$ac_optarg ;; 779 780 -build | --build | --buil | --bui | --bu) 781 ac_prev=build_alias ;; 782 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 783 build_alias=$ac_optarg ;; 784 785 -cache-file | --cache-file | --cache-fil | --cache-fi \ 786 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 787 ac_prev=cache_file ;; 788 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 789 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 790 cache_file=$ac_optarg ;; 791 792 --config-cache | -C) 793 cache_file=config.cache ;; 794 795 -datadir | --datadir | --datadi | --datad) 796 ac_prev=datadir ;; 797 -datadir=* | --datadir=* | --datadi=* | --datad=*) 798 datadir=$ac_optarg ;; 799 800 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 801 | --dataroo | --dataro | --datar) 802 ac_prev=datarootdir ;; 803 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 804 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 805 datarootdir=$ac_optarg ;; 806 807 -disable-* | --disable-*) 808 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 809 # Reject names that are not valid shell variable names. 810 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 811 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 812 { (exit 1); exit 1; }; } 813 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 814 eval enable_$ac_feature=no ;; 815 816 -docdir | --docdir | --docdi | --doc | --do) 817 ac_prev=docdir ;; 818 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 819 docdir=$ac_optarg ;; 820 821 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 822 ac_prev=dvidir ;; 823 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 824 dvidir=$ac_optarg ;; 825 826 -enable-* | --enable-*) 827 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 828 # Reject names that are not valid shell variable names. 829 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 830 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 831 { (exit 1); exit 1; }; } 832 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 833 eval enable_$ac_feature=\$ac_optarg ;; 834 835 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 836 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 837 | --exec | --exe | --ex) 838 ac_prev=exec_prefix ;; 839 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 840 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 841 | --exec=* | --exe=* | --ex=*) 842 exec_prefix=$ac_optarg ;; 843 844 -gas | --gas | --ga | --g) 845 # Obsolete; use --with-gas. 846 with_gas=yes ;; 847 848 -help | --help | --hel | --he | -h) 849 ac_init_help=long ;; 850 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 851 ac_init_help=recursive ;; 852 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 853 ac_init_help=short ;; 854 855 -host | --host | --hos | --ho) 856 ac_prev=host_alias ;; 857 -host=* | --host=* | --hos=* | --ho=*) 858 host_alias=$ac_optarg ;; 859 860 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 861 ac_prev=htmldir ;; 862 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 863 | --ht=*) 864 htmldir=$ac_optarg ;; 865 866 -includedir | --includedir | --includedi | --included | --include \ 867 | --includ | --inclu | --incl | --inc) 868 ac_prev=includedir ;; 869 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 870 | --includ=* | --inclu=* | --incl=* | --inc=*) 871 includedir=$ac_optarg ;; 872 873 -infodir | --infodir | --infodi | --infod | --info | --inf) 874 ac_prev=infodir ;; 875 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 876 infodir=$ac_optarg ;; 877 878 -libdir | --libdir | --libdi | --libd) 879 ac_prev=libdir ;; 880 -libdir=* | --libdir=* | --libdi=* | --libd=*) 881 libdir=$ac_optarg ;; 882 883 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 884 | --libexe | --libex | --libe) 885 ac_prev=libexecdir ;; 886 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 887 | --libexe=* | --libex=* | --libe=*) 888 libexecdir=$ac_optarg ;; 889 890 -localedir | --localedir | --localedi | --localed | --locale) 891 ac_prev=localedir ;; 892 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 893 localedir=$ac_optarg ;; 894 895 -localstatedir | --localstatedir | --localstatedi | --localstated \ 896 | --localstate | --localstat | --localsta | --localst | --locals) 897 ac_prev=localstatedir ;; 898 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 899 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 900 localstatedir=$ac_optarg ;; 901 902 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 903 ac_prev=mandir ;; 904 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 905 mandir=$ac_optarg ;; 906 907 -nfp | --nfp | --nf) 908 # Obsolete; use --without-fp. 909 with_fp=no ;; 910 911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 912 | --no-cr | --no-c | -n) 913 no_create=yes ;; 914 915 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 916 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 917 no_recursion=yes ;; 918 919 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 920 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 921 | --oldin | --oldi | --old | --ol | --o) 922 ac_prev=oldincludedir ;; 923 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 924 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 925 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 926 oldincludedir=$ac_optarg ;; 927 928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 929 ac_prev=prefix ;; 930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 931 prefix=$ac_optarg ;; 932 933 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 934 | --program-pre | --program-pr | --program-p) 935 ac_prev=program_prefix ;; 936 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 937 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 938 program_prefix=$ac_optarg ;; 939 940 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 941 | --program-suf | --program-su | --program-s) 942 ac_prev=program_suffix ;; 943 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 944 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 945 program_suffix=$ac_optarg ;; 946 947 -program-transform-name | --program-transform-name \ 948 | --program-transform-nam | --program-transform-na \ 949 | --program-transform-n | --program-transform- \ 950 | --program-transform | --program-transfor \ 951 | --program-transfo | --program-transf \ 952 | --program-trans | --program-tran \ 953 | --progr-tra | --program-tr | --program-t) 954 ac_prev=program_transform_name ;; 955 -program-transform-name=* | --program-transform-name=* \ 956 | --program-transform-nam=* | --program-transform-na=* \ 957 | --program-transform-n=* | --program-transform-=* \ 958 | --program-transform=* | --program-transfor=* \ 959 | --program-transfo=* | --program-transf=* \ 960 | --program-trans=* | --program-tran=* \ 961 | --progr-tra=* | --program-tr=* | --program-t=*) 962 program_transform_name=$ac_optarg ;; 963 964 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 965 ac_prev=pdfdir ;; 966 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 967 pdfdir=$ac_optarg ;; 968 969 -psdir | --psdir | --psdi | --psd | --ps) 970 ac_prev=psdir ;; 971 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 972 psdir=$ac_optarg ;; 973 974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 975 | -silent | --silent | --silen | --sile | --sil) 976 silent=yes ;; 977 978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 979 ac_prev=sbindir ;; 980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 981 | --sbi=* | --sb=*) 982 sbindir=$ac_optarg ;; 983 984 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 986 | --sharedst | --shareds | --shared | --share | --shar \ 987 | --sha | --sh) 988 ac_prev=sharedstatedir ;; 989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 992 | --sha=* | --sh=*) 993 sharedstatedir=$ac_optarg ;; 994 995 -site | --site | --sit) 996 ac_prev=site ;; 997 -site=* | --site=* | --sit=*) 998 site=$ac_optarg ;; 999 1000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1001 ac_prev=srcdir ;; 1002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1003 srcdir=$ac_optarg ;; 1004 1005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1006 | --syscon | --sysco | --sysc | --sys | --sy) 1007 ac_prev=sysconfdir ;; 1008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1010 sysconfdir=$ac_optarg ;; 1011 1012 -target | --target | --targe | --targ | --tar | --ta | --t) 1013 ac_prev=target_alias ;; 1014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1015 target_alias=$ac_optarg ;; 1016 1017 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1018 verbose=yes ;; 1019 1020 -version | --version | --versio | --versi | --vers | -V) 1021 ac_init_version=: ;; 1022 1023 -with-* | --with-*) 1024 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1025 # Reject names that are not valid shell variable names. 1026 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1027 { echo "$as_me: error: invalid package name: $ac_package" >&2 1028 { (exit 1); exit 1; }; } 1029 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1030 eval with_$ac_package=\$ac_optarg ;; 1031 1032 -without-* | --without-*) 1033 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1034 # Reject names that are not valid shell variable names. 1035 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1036 { echo "$as_me: error: invalid package name: $ac_package" >&2 1037 { (exit 1); exit 1; }; } 1038 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1039 eval with_$ac_package=no ;; 1040 1041 --x) 1042 # Obsolete; use --with-x. 1043 with_x=yes ;; 1044 1045 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1046 | --x-incl | --x-inc | --x-in | --x-i) 1047 ac_prev=x_includes ;; 1048 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1049 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1050 x_includes=$ac_optarg ;; 1051 1052 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1053 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1054 ac_prev=x_libraries ;; 1055 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1056 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1057 x_libraries=$ac_optarg ;; 1058 1059 -*) { echo "$as_me: error: unrecognized option: $ac_option 1060Try \`$0 --help' for more information." >&2 1061 { (exit 1); exit 1; }; } 1062 ;; 1063 1064 *=*) 1065 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1066 # Reject names that are not valid shell variable names. 1067 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1068 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1069 { (exit 1); exit 1; }; } 1070 eval $ac_envvar=\$ac_optarg 1071 export $ac_envvar ;; 1072 1073 *) 1074 # FIXME: should be removed in autoconf 3.0. 1075 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1076 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1077 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1078 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1079 ;; 1080 1081 esac 1082done 1083 1084if test -n "$ac_prev"; then 1085 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1086 { echo "$as_me: error: missing argument to $ac_option" >&2 1087 { (exit 1); exit 1; }; } 1088fi 1089 1090# Be sure to have absolute directory names. 1091for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1092 datadir sysconfdir sharedstatedir localstatedir includedir \ 1093 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1094 libdir localedir mandir 1095do 1096 eval ac_val=\$$ac_var 1097 case $ac_val in 1098 [\\/$]* | ?:[\\/]* ) continue;; 1099 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1100 esac 1101 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1102 { (exit 1); exit 1; }; } 1103done 1104 1105# There might be people who depend on the old broken behavior: `$host' 1106# used to hold the argument of --host etc. 1107# FIXME: To remove some day. 1108build=$build_alias 1109host=$host_alias 1110target=$target_alias 1111 1112# FIXME: To remove some day. 1113if test "x$host_alias" != x; then 1114 if test "x$build_alias" = x; then 1115 cross_compiling=maybe 1116 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1117 If a cross compiler is detected then cross compile mode will be used." >&2 1118 elif test "x$build_alias" != "x$host_alias"; then 1119 cross_compiling=yes 1120 fi 1121fi 1122 1123ac_tool_prefix= 1124test -n "$host_alias" && ac_tool_prefix=$host_alias- 1125 1126test "$silent" = yes && exec 6>/dev/null 1127 1128 1129ac_pwd=`pwd` && test -n "$ac_pwd" && 1130ac_ls_di=`ls -di .` && 1131ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1132 { echo "$as_me: error: Working directory cannot be determined" >&2 1133 { (exit 1); exit 1; }; } 1134test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1135 { echo "$as_me: error: pwd does not report name of working directory" >&2 1136 { (exit 1); exit 1; }; } 1137 1138 1139# Find the source files, if location was not specified. 1140if test -z "$srcdir"; then 1141 ac_srcdir_defaulted=yes 1142 # Try the directory containing this script, then the parent directory. 1143 ac_confdir=`$as_dirname -- "$0" || 1144$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1145 X"$0" : 'X\(//\)[^/]' \| \ 1146 X"$0" : 'X\(//\)$' \| \ 1147 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1148echo X"$0" | 1149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1150 s//\1/ 1151 q 1152 } 1153 /^X\(\/\/\)[^/].*/{ 1154 s//\1/ 1155 q 1156 } 1157 /^X\(\/\/\)$/{ 1158 s//\1/ 1159 q 1160 } 1161 /^X\(\/\).*/{ 1162 s//\1/ 1163 q 1164 } 1165 s/.*/./; q'` 1166 srcdir=$ac_confdir 1167 if test ! -r "$srcdir/$ac_unique_file"; then 1168 srcdir=.. 1169 fi 1170else 1171 ac_srcdir_defaulted=no 1172fi 1173if test ! -r "$srcdir/$ac_unique_file"; then 1174 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1175 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1176 { (exit 1); exit 1; }; } 1177fi 1178ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1179ac_abs_confdir=`( 1180 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1181 { (exit 1); exit 1; }; } 1182 pwd)` 1183# When building in place, set srcdir=. 1184if test "$ac_abs_confdir" = "$ac_pwd"; then 1185 srcdir=. 1186fi 1187# Remove unnecessary trailing slashes from srcdir. 1188# Double slashes in file names in object file debugging info 1189# mess up M-x gdb in Emacs. 1190case $srcdir in 1191*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1192esac 1193for ac_var in $ac_precious_vars; do 1194 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1195 eval ac_env_${ac_var}_value=\$${ac_var} 1196 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1197 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1198done 1199 1200# 1201# Report the --help message. 1202# 1203if test "$ac_init_help" = "long"; then 1204 # Omit some internal or obsolete options to make the list less imposing. 1205 # This message is too long to be a string in the A/UX 3.1 sh. 1206 cat <<_ACEOF 1207\`configure' configures this package to adapt to many kinds of systems. 1208 1209Usage: $0 [OPTION]... [VAR=VALUE]... 1210 1211To assign environment variables (e.g., CC, CFLAGS...), specify them as 1212VAR=VALUE. See below for descriptions of some of the useful variables. 1213 1214Defaults for the options are specified in brackets. 1215 1216Configuration: 1217 -h, --help display this help and exit 1218 --help=short display options specific to this package 1219 --help=recursive display the short help of all the included packages 1220 -V, --version display version information and exit 1221 -q, --quiet, --silent do not print \`checking...' messages 1222 --cache-file=FILE cache test results in FILE [disabled] 1223 -C, --config-cache alias for \`--cache-file=config.cache' 1224 -n, --no-create do not create output files 1225 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1226 1227Installation directories: 1228 --prefix=PREFIX install architecture-independent files in PREFIX 1229 [$ac_default_prefix] 1230 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1231 [PREFIX] 1232 1233By default, \`make install' will install all the files in 1234\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1235an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1236for instance \`--prefix=\$HOME'. 1237 1238For better control, use the options below. 1239 1240Fine tuning of the installation directories: 1241 --bindir=DIR user executables [EPREFIX/bin] 1242 --sbindir=DIR system admin executables [EPREFIX/sbin] 1243 --libexecdir=DIR program executables [EPREFIX/libexec] 1244 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1245 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1246 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1247 --libdir=DIR object code libraries [EPREFIX/lib] 1248 --includedir=DIR C header files [PREFIX/include] 1249 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1250 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1251 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1252 --infodir=DIR info documentation [DATAROOTDIR/info] 1253 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1254 --mandir=DIR man documentation [DATAROOTDIR/man] 1255 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1256 --htmldir=DIR html documentation [DOCDIR] 1257 --dvidir=DIR dvi documentation [DOCDIR] 1258 --pdfdir=DIR pdf documentation [DOCDIR] 1259 --psdir=DIR ps documentation [DOCDIR] 1260_ACEOF 1261 1262 cat <<\_ACEOF 1263 1264System types: 1265 --build=BUILD configure for building on BUILD [guessed] 1266 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1267 --target=TARGET configure for building compilers for TARGET [HOST] 1268_ACEOF 1269fi 1270 1271if test -n "$ac_init_help"; then 1272 1273 cat <<\_ACEOF 1274 1275Optional Packages: 1276 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1277 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1278 --with-perl=PATH 1279 path to perl executable to use 1280 --with-use-redirect-url 1281 use REDIRECT_URL in building SCRIPT_NAME if available 1282 --with-use-script-url 1283 use SCRIPT_URL to build SCRIPT_NAME 1284 --with-require-redirect-url 1285 require REDIRECT_URL in environment, to force use of Action/Handlers 1286 --with-quiet-errors 1287 avoid releasing internal information in error messages 1288 --with-vhost-override 1289 allow overriding HTTP_HOST with CGIWRAP_AUTH_VHOST 1290 --with-env-require-user 1291 allow specifying CGIWRAP_REQUIRE_USER in env to restrict to specific userid 1292 --with-block-svn-paths 1293 prevent execution of any script in a .svn dir 1294 --with-block-cvs-paths 1295 prevent execution of any script in a CVS dir 1296 --with-php=PATH 1297 path to php executable to use 1298 --with-eruby=PATH 1299 path to eRuby interpreter to use 1300 --with-asp=PATH 1301 path to asp interpreter to use 1302 --with-charset=charset 1303 charset to output in content-type header for cgiwrap output 1304 --with-chroot=PATH 1305 define prefix to chroot to before execution 1306 DO NOT USE THIS unless you have read the cgiwrap chroot 1307 documentation and have set up the requisite structure 1308 --with-local-contact-name=NAME 1309 define name of local contact 1310 --with-local-contact-email=ADDRESS 1311 define email address of local contact 1312 --with-local-contact-phone=PHONE 1313 define phone number of local contact 1314 --with-local-contact-url=URL 1315 define url of local contact 1316 --with-local-site-url=URL 1317 define url of local site 1318 --with-local-doc-url=URL 1319 define url of local cgiwrap documentation 1320 --with-wall 1321 enable -Wall option on compile 1322 --with-install-group=GROUP (root) 1323 group to install cgiwrap as 1324 --with-install-dir=PATH 1325 path to installation directory 1326 --with-cgiwrapd 1327 install cgiwrapd 1328 --without-nph 1329 disable installation of nph-cgiwrap 1330 --with-cgi-dir=PATH (public_html/cgi-bin) 1331 path relative to home dir for cgi scripts 1332 --with-httpd-user=USER (http) 1333 define what userid the web server is running as 1334 --with-multiuser-cgi-dir=PATH (disabled) 1335 define a central shared cgi directory that acts as a fallback 1336 directory to search if the cgi script is not found in the user's 1337 own cgi directory. This can be dangerous if not used properly. 1338 --without-check-httpd-user 1339 don't check to make sure cgiwrap is being run by server userid 1340 --with-report-rusage 1341 report rusage and return status of cgi script after execution 1342 --with-php-interpreter 1343 pass script to php interpreter if filename matches 1344 --with-php-nonexec-only 1345 pass script to php interpreter only if not executable, otherwise use #! line 1346 --with-php-cgiwrap 1347 install separate php-cgiwrap executable 1348 --with-eruby-interpreter 1349 pass script to eRuby interpreter if filename matches 1350 --with-asp-interpreter 1351 pass script to asp interpreter if filename matches 1352 --with-asp-nonexec-only 1353 pass script to asp interpreter only if not executable, otherwise use #! line 1354 --without-strict-names 1355 disable check for !isprint() and isspace() in script path 1356 --without-check-owner 1357 disable check for matching owner 1358 --without-check-group 1359 disable check for matching group 1360 --without-check-setuid 1361 disable check for setuid script 1362 --without-check-setgid 1363 disable check for setgid script 1364 --without-check-group-writable 1365 disable check for group writable script 1366 --without-check-world-writable 1367 disable check for world writable script 1368 --without-check-symlink 1369 disable check for symlinked script 1370 --with-minimum-uid=UID (10) 1371 minimum uid to allow script execution 1372 --with-minimum-gid=GID (not checked) 1373 minimum gid to allow script execution 1374 --with-logging-syslog=LABEL 1375 enable logging script execution to syslog 1376 --with-logging-file=FILE (/usr/adm/cgiwrap.log) 1377 enable logging script execution to file 1378 --without-script-subdirs 1379 prevent users from storing scripts in subdirs 1380 --without-redirect-stderr 1381 don't redirect stderr to stdout in scripts 1382 --without-initgroups 1383 disable use of initgroups() to clear non-userid auxilliary groups 1384 --without-setgroups 1385 disable use of setgroups() to add userid's auxilliary groups 1386 --with-rewrite=FILE 1387 use a file to rewrite user directories 1388 --with-setenv-ld_library_path=STRING 1389 set LD_LIBRARY_PATH environment variable to STRING 1390 --with-setenv-path=STRING 1391 set PATH environment variable to STRING 1392 --with-setenv-tz=STRING 1393 set TZ environment variable to STRING 1394 --with-rlimit-cpu=SECONDS (10) 1395 limit cpu time with setrlimit 1396 --with-rlimit-vmem=BYTES (2500000) 1397 limit total virtual memory with setrlimit 1398 --with-rlimit-as=BYTES (2500000) 1399 limit total available memory with setrlimit 1400 --with-rlimit-fsize=BYTES (2500000) 1401 limit writable file size with setrlimit 1402 --with-rlimit-data=BYTES (2500000) 1403 limit data segment size with setrlimit 1404 --with-rlimit-stack=BYTES (2500000) 1405 limit stack segment size with setrlimit 1406 --with-rlimit-core=BYTES (2500000) 1407 limit core file size with setrlimit 1408 --with-rlimit-rss=BYTES (2500000) 1409 limit resident set size with setrlimit 1410 --with-rlimit-nproc=COUNT (32) 1411 limit number of processes with setrlimit 1412 --with-rlimit-nofile=COUNT (32) 1413 limit number of open files with setrlimit 1414 --with-rlimit-memlock=BYTES (2500000) 1415 limit lockable memory with setrlimit 1416 --with-soft-rlimit-only 1417 set soft rlimits only 1418 --with-allow-file=FILE (/usr/adm/cgiwrap.allow) 1419 limit cgiwrap usage 1420 --with-deny-file=FILE (/usr/adm/cgiwrap.deny) 1421 limit cgiwrap usage 1422 --with-allow-deny-netgroups (disabled) 1423 limit cgiwrap usage based on netgroup membership 1424 --with-vhost-allow-dir=FILE (disabled) 1425 limit cgiwrap usage on vhosts 1426 --with-vhost-deny-dir=FILE (disabled) 1427 limit cgiwrap usage on vhosts 1428 --with-host-checking 1429 allow specifying hosts in allow/deny files 1430 --with-check-shell 1431 user shell must be in system shells list 1432 --with-afs=DIR (/usr/afsws) 1433 enable afs setpag() support 1434 1435Some influential environment variables: 1436 CC C compiler command 1437 CFLAGS C compiler flags 1438 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1439 nonstandard directory <lib dir> 1440 LIBS libraries to pass to the linker, e.g. -l<library> 1441 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1442 you have headers in a nonstandard directory <include dir> 1443 CPP C preprocessor 1444 1445Use these variables to override the choices made by `configure' or to help 1446it to find libraries and programs with nonstandard names/locations. 1447 1448_ACEOF 1449ac_status=$? 1450fi 1451 1452if test "$ac_init_help" = "recursive"; then 1453 # If there are subdirs, report their specific --help. 1454 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1455 test -d "$ac_dir" || continue 1456 ac_builddir=. 1457 1458case "$ac_dir" in 1459.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1460*) 1461 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1462 # A ".." for each directory in $ac_dir_suffix. 1463 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1464 case $ac_top_builddir_sub in 1465 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1466 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1467 esac ;; 1468esac 1469ac_abs_top_builddir=$ac_pwd 1470ac_abs_builddir=$ac_pwd$ac_dir_suffix 1471# for backward compatibility: 1472ac_top_builddir=$ac_top_build_prefix 1473 1474case $srcdir in 1475 .) # We are building in place. 1476 ac_srcdir=. 1477 ac_top_srcdir=$ac_top_builddir_sub 1478 ac_abs_top_srcdir=$ac_pwd ;; 1479 [\\/]* | ?:[\\/]* ) # Absolute name. 1480 ac_srcdir=$srcdir$ac_dir_suffix; 1481 ac_top_srcdir=$srcdir 1482 ac_abs_top_srcdir=$srcdir ;; 1483 *) # Relative name. 1484 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1485 ac_top_srcdir=$ac_top_build_prefix$srcdir 1486 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1487esac 1488ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1489 1490 cd "$ac_dir" || { ac_status=$?; continue; } 1491 # Check for guested configure. 1492 if test -f "$ac_srcdir/configure.gnu"; then 1493 echo && 1494 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1495 elif test -f "$ac_srcdir/configure"; then 1496 echo && 1497 $SHELL "$ac_srcdir/configure" --help=recursive 1498 else 1499 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1500 fi || ac_status=$? 1501 cd "$ac_pwd" || { ac_status=$?; break; } 1502 done 1503fi 1504 1505test -n "$ac_init_help" && exit $ac_status 1506if $ac_init_version; then 1507 cat <<\_ACEOF 1508configure 1509generated by GNU Autoconf 2.61 1510 1511Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 15122002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1513This configure script is free software; the Free Software Foundation 1514gives unlimited permission to copy, distribute and modify it. 1515_ACEOF 1516 exit 1517fi 1518cat >config.log <<_ACEOF 1519This file contains any messages produced by compilers while 1520running configure, to aid debugging if configure makes a mistake. 1521 1522It was created by $as_me, which was 1523generated by GNU Autoconf 2.61. Invocation command line was 1524 1525 $ $0 $@ 1526 1527_ACEOF 1528exec 5>>config.log 1529{ 1530cat <<_ASUNAME 1531## --------- ## 1532## Platform. ## 1533## --------- ## 1534 1535hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1536uname -m = `(uname -m) 2>/dev/null || echo unknown` 1537uname -r = `(uname -r) 2>/dev/null || echo unknown` 1538uname -s = `(uname -s) 2>/dev/null || echo unknown` 1539uname -v = `(uname -v) 2>/dev/null || echo unknown` 1540 1541/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1542/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1543 1544/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1545/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1546/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1547/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1548/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1549/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1550/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1551 1552_ASUNAME 1553 1554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1555for as_dir in $PATH 1556do 1557 IFS=$as_save_IFS 1558 test -z "$as_dir" && as_dir=. 1559 echo "PATH: $as_dir" 1560done 1561IFS=$as_save_IFS 1562 1563} >&5 1564 1565cat >&5 <<_ACEOF 1566 1567 1568## ----------- ## 1569## Core tests. ## 1570## ----------- ## 1571 1572_ACEOF 1573 1574 1575# Keep a trace of the command line. 1576# Strip out --no-create and --no-recursion so they do not pile up. 1577# Strip out --silent because we don't want to record it for future runs. 1578# Also quote any args containing shell meta-characters. 1579# Make two passes to allow for proper duplicate-argument suppression. 1580ac_configure_args= 1581ac_configure_args0= 1582ac_configure_args1= 1583ac_must_keep_next=false 1584for ac_pass in 1 2 1585do 1586 for ac_arg 1587 do 1588 case $ac_arg in 1589 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1590 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1591 | -silent | --silent | --silen | --sile | --sil) 1592 continue ;; 1593 *\'*) 1594 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1595 esac 1596 case $ac_pass in 1597 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1598 2) 1599 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1600 if test $ac_must_keep_next = true; then 1601 ac_must_keep_next=false # Got value, back to normal. 1602 else 1603 case $ac_arg in 1604 *=* | --config-cache | -C | -disable-* | --disable-* \ 1605 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1606 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1607 | -with-* | --with-* | -without-* | --without-* | --x) 1608 case "$ac_configure_args0 " in 1609 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1610 esac 1611 ;; 1612 -* ) ac_must_keep_next=true ;; 1613 esac 1614 fi 1615 ac_configure_args="$ac_configure_args '$ac_arg'" 1616 ;; 1617 esac 1618 done 1619done 1620$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1621$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1622 1623# When interrupted or exit'd, cleanup temporary files, and complete 1624# config.log. We remove comments because anyway the quotes in there 1625# would cause problems or look ugly. 1626# WARNING: Use '\'' to represent an apostrophe within the trap. 1627# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1628trap 'exit_status=$? 1629 # Save into config.log some information that might help in debugging. 1630 { 1631 echo 1632 1633 cat <<\_ASBOX 1634## ---------------- ## 1635## Cache variables. ## 1636## ---------------- ## 1637_ASBOX 1638 echo 1639 # The following way of writing the cache mishandles newlines in values, 1640( 1641 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1642 eval ac_val=\$$ac_var 1643 case $ac_val in #( 1644 *${as_nl}*) 1645 case $ac_var in #( 1646 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1647echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1648 esac 1649 case $ac_var in #( 1650 _ | IFS | as_nl) ;; #( 1651 *) $as_unset $ac_var ;; 1652 esac ;; 1653 esac 1654 done 1655 (set) 2>&1 | 1656 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1657 *${as_nl}ac_space=\ *) 1658 sed -n \ 1659 "s/'\''/'\''\\\\'\'''\''/g; 1660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1661 ;; #( 1662 *) 1663 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1664 ;; 1665 esac | 1666 sort 1667) 1668 echo 1669 1670 cat <<\_ASBOX 1671## ----------------- ## 1672## Output variables. ## 1673## ----------------- ## 1674_ASBOX 1675 echo 1676 for ac_var in $ac_subst_vars 1677 do 1678 eval ac_val=\$$ac_var 1679 case $ac_val in 1680 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1681 esac 1682 echo "$ac_var='\''$ac_val'\''" 1683 done | sort 1684 echo 1685 1686 if test -n "$ac_subst_files"; then 1687 cat <<\_ASBOX 1688## ------------------- ## 1689## File substitutions. ## 1690## ------------------- ## 1691_ASBOX 1692 echo 1693 for ac_var in $ac_subst_files 1694 do 1695 eval ac_val=\$$ac_var 1696 case $ac_val in 1697 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1698 esac 1699 echo "$ac_var='\''$ac_val'\''" 1700 done | sort 1701 echo 1702 fi 1703 1704 if test -s confdefs.h; then 1705 cat <<\_ASBOX 1706## ----------- ## 1707## confdefs.h. ## 1708## ----------- ## 1709_ASBOX 1710 echo 1711 cat confdefs.h 1712 echo 1713 fi 1714 test "$ac_signal" != 0 && 1715 echo "$as_me: caught signal $ac_signal" 1716 echo "$as_me: exit $exit_status" 1717 } >&5 1718 rm -f core *.core core.conftest.* && 1719 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1720 exit $exit_status 1721' 0 1722for ac_signal in 1 2 13 15; do 1723 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1724done 1725ac_signal=0 1726 1727# confdefs.h avoids OS command line length limits that DEFS can exceed. 1728rm -f -r conftest* confdefs.h 1729 1730# Predefined preprocessor variables. 1731 1732cat >>confdefs.h <<_ACEOF 1733#define PACKAGE_NAME "$PACKAGE_NAME" 1734_ACEOF 1735 1736 1737cat >>confdefs.h <<_ACEOF 1738#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1739_ACEOF 1740 1741 1742cat >>confdefs.h <<_ACEOF 1743#define PACKAGE_VERSION "$PACKAGE_VERSION" 1744_ACEOF 1745 1746 1747cat >>confdefs.h <<_ACEOF 1748#define PACKAGE_STRING "$PACKAGE_STRING" 1749_ACEOF 1750 1751 1752cat >>confdefs.h <<_ACEOF 1753#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1754_ACEOF 1755 1756 1757# Let the site file select an alternate cache file if it wants to. 1758# Prefer explicitly selected file to automatically selected ones. 1759if test -n "$CONFIG_SITE"; then 1760 set x "$CONFIG_SITE" 1761elif test "x$prefix" != xNONE; then 1762 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1763else 1764 set x "$ac_default_prefix/share/config.site" \ 1765 "$ac_default_prefix/etc/config.site" 1766fi 1767shift 1768for ac_site_file 1769do 1770 if test -r "$ac_site_file"; then 1771 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1772echo "$as_me: loading site script $ac_site_file" >&6;} 1773 sed 's/^/| /' "$ac_site_file" >&5 1774 . "$ac_site_file" 1775 fi 1776done 1777 1778if test -r "$cache_file"; then 1779 # Some versions of bash will fail to source /dev/null (special 1780 # files actually), so we avoid doing that. 1781 if test -f "$cache_file"; then 1782 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1783echo "$as_me: loading cache $cache_file" >&6;} 1784 case $cache_file in 1785 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1786 *) . "./$cache_file";; 1787 esac 1788 fi 1789else 1790 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1791echo "$as_me: creating cache $cache_file" >&6;} 1792 >$cache_file 1793fi 1794 1795# Check that the precious variables saved in the cache have kept the same 1796# value. 1797ac_cache_corrupted=false 1798for ac_var in $ac_precious_vars; do 1799 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1800 eval ac_new_set=\$ac_env_${ac_var}_set 1801 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1802 eval ac_new_val=\$ac_env_${ac_var}_value 1803 case $ac_old_set,$ac_new_set in 1804 set,) 1805 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1806echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1807 ac_cache_corrupted=: ;; 1808 ,set) 1809 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1810echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1811 ac_cache_corrupted=: ;; 1812 ,);; 1813 *) 1814 if test "x$ac_old_val" != "x$ac_new_val"; then 1815 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1816echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1817 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1818echo "$as_me: former value: $ac_old_val" >&2;} 1819 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1820echo "$as_me: current value: $ac_new_val" >&2;} 1821 ac_cache_corrupted=: 1822 fi;; 1823 esac 1824 # Pass precious variables to config.status. 1825 if test "$ac_new_set" = set; then 1826 case $ac_new_val in 1827 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1828 *) ac_arg=$ac_var=$ac_new_val ;; 1829 esac 1830 case " $ac_configure_args " in 1831 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1832 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1833 esac 1834 fi 1835done 1836if $ac_cache_corrupted; then 1837 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1838echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1839 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1840echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1841 { (exit 1); exit 1; }; } 1842fi 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860ac_ext=c 1861ac_cpp='$CPP $CPPFLAGS' 1862ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1863ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1864ac_compiler_gnu=$ac_cv_c_compiler_gnu 1865 1866 1867ac_aux_dir= 1868for ac_dir in . "$srcdir"/.; do 1869 if test -f "$ac_dir/install-sh"; then 1870 ac_aux_dir=$ac_dir 1871 ac_install_sh="$ac_aux_dir/install-sh -c" 1872 break 1873 elif test -f "$ac_dir/install.sh"; then 1874 ac_aux_dir=$ac_dir 1875 ac_install_sh="$ac_aux_dir/install.sh -c" 1876 break 1877 elif test -f "$ac_dir/shtool"; then 1878 ac_aux_dir=$ac_dir 1879 ac_install_sh="$ac_aux_dir/shtool install -c" 1880 break 1881 fi 1882done 1883if test -z "$ac_aux_dir"; then 1884 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5 1885echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;} 1886 { (exit 1); exit 1; }; } 1887fi 1888 1889# These three variables are undocumented and unsupported, 1890# and are intended to be withdrawn in a future Autoconf release. 1891# They can cause serious problems if a builder's source tree is in a directory 1892# whose full name contains unusual characters. 1893ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1894ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1895ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1896 1897 1898# Make sure we can run config.sub. 1899$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1900 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1901echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1902 { (exit 1); exit 1; }; } 1903 1904{ echo "$as_me:$LINENO: checking build system type" >&5 1905echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1906if test "${ac_cv_build+set}" = set; then 1907 echo $ECHO_N "(cached) $ECHO_C" >&6 1908else 1909 ac_build_alias=$build_alias 1910test "x$ac_build_alias" = x && 1911 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1912test "x$ac_build_alias" = x && 1913 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1914echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1915 { (exit 1); exit 1; }; } 1916ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1917 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1918echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1919 { (exit 1); exit 1; }; } 1920 1921fi 1922{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1923echo "${ECHO_T}$ac_cv_build" >&6; } 1924case $ac_cv_build in 1925*-*-*) ;; 1926*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1927echo "$as_me: error: invalid value of canonical build" >&2;} 1928 { (exit 1); exit 1; }; };; 1929esac 1930build=$ac_cv_build 1931ac_save_IFS=$IFS; IFS='-' 1932set x $ac_cv_build 1933shift 1934build_cpu=$1 1935build_vendor=$2 1936shift; shift 1937# Remember, the first character of IFS is used to create $*, 1938# except with old shells: 1939build_os=$* 1940IFS=$ac_save_IFS 1941case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1942 1943 1944{ echo "$as_me:$LINENO: checking host system type" >&5 1945echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1946if test "${ac_cv_host+set}" = set; then 1947 echo $ECHO_N "(cached) $ECHO_C" >&6 1948else 1949 if test "x$host_alias" = x; then 1950 ac_cv_host=$ac_cv_build 1951else 1952 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1953 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1954echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1955 { (exit 1); exit 1; }; } 1956fi 1957 1958fi 1959{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1960echo "${ECHO_T}$ac_cv_host" >&6; } 1961case $ac_cv_host in 1962*-*-*) ;; 1963*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1964echo "$as_me: error: invalid value of canonical host" >&2;} 1965 { (exit 1); exit 1; }; };; 1966esac 1967host=$ac_cv_host 1968ac_save_IFS=$IFS; IFS='-' 1969set x $ac_cv_host 1970shift 1971host_cpu=$1 1972host_vendor=$2 1973shift; shift 1974# Remember, the first character of IFS is used to create $*, 1975# except with old shells: 1976host_os=$* 1977IFS=$ac_save_IFS 1978case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1979 1980 1981{ echo "$as_me:$LINENO: checking target system type" >&5 1982echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1983if test "${ac_cv_target+set}" = set; then 1984 echo $ECHO_N "(cached) $ECHO_C" >&6 1985else 1986 if test "x$target_alias" = x; then 1987 ac_cv_target=$ac_cv_host 1988else 1989 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1990 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1991echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1992 { (exit 1); exit 1; }; } 1993fi 1994 1995fi 1996{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1997echo "${ECHO_T}$ac_cv_target" >&6; } 1998case $ac_cv_target in 1999*-*-*) ;; 2000*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 2001echo "$as_me: error: invalid value of canonical target" >&2;} 2002 { (exit 1); exit 1; }; };; 2003esac 2004target=$ac_cv_target 2005ac_save_IFS=$IFS; IFS='-' 2006set x $ac_cv_target 2007shift 2008target_cpu=$1 2009target_vendor=$2 2010shift; shift 2011# Remember, the first character of IFS is used to create $*, 2012# except with old shells: 2013target_os=$* 2014IFS=$ac_save_IFS 2015case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2016 2017 2018# The aliases save the names the user supplied, while $host etc. 2019# will get canonicalized. 2020test -n "$target_alias" && 2021 test "$program_prefix$program_suffix$program_transform_name" = \ 2022 NONENONEs,x,x, && 2023 program_prefix=${target_alias}- 2024ac_config_headers="$ac_config_headers config.h" 2025 2026 2027VERSION="4.1" 2028 2029 2030ac_ext=c 2031ac_cpp='$CPP $CPPFLAGS' 2032ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2033ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2034ac_compiler_gnu=$ac_cv_c_compiler_gnu 2035if test -n "$ac_tool_prefix"; then 2036 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2037set dummy ${ac_tool_prefix}gcc; ac_word=$2 2038{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2039echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2040if test "${ac_cv_prog_CC+set}" = set; then 2041 echo $ECHO_N "(cached) $ECHO_C" >&6 2042else 2043 if test -n "$CC"; then 2044 ac_cv_prog_CC="$CC" # Let the user override the test. 2045else 2046as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2047for as_dir in $PATH 2048do 2049 IFS=$as_save_IFS 2050 test -z "$as_dir" && as_dir=. 2051 for ac_exec_ext in '' $ac_executable_extensions; do 2052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2053 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2055 break 2 2056 fi 2057done 2058done 2059IFS=$as_save_IFS 2060 2061fi 2062fi 2063CC=$ac_cv_prog_CC 2064if test -n "$CC"; then 2065 { echo "$as_me:$LINENO: result: $CC" >&5 2066echo "${ECHO_T}$CC" >&6; } 2067else 2068 { echo "$as_me:$LINENO: result: no" >&5 2069echo "${ECHO_T}no" >&6; } 2070fi 2071 2072 2073fi 2074if test -z "$ac_cv_prog_CC"; then 2075 ac_ct_CC=$CC 2076 # Extract the first word of "gcc", so it can be a program name with args. 2077set dummy gcc; ac_word=$2 2078{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2079echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2080if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2081 echo $ECHO_N "(cached) $ECHO_C" >&6 2082else 2083 if test -n "$ac_ct_CC"; then 2084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2085else 2086as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2087for as_dir in $PATH 2088do 2089 IFS=$as_save_IFS 2090 test -z "$as_dir" && as_dir=. 2091 for ac_exec_ext in '' $ac_executable_extensions; do 2092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2093 ac_cv_prog_ac_ct_CC="gcc" 2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2095 break 2 2096 fi 2097done 2098done 2099IFS=$as_save_IFS 2100 2101fi 2102fi 2103ac_ct_CC=$ac_cv_prog_ac_ct_CC 2104if test -n "$ac_ct_CC"; then 2105 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2106echo "${ECHO_T}$ac_ct_CC" >&6; } 2107else 2108 { echo "$as_me:$LINENO: result: no" >&5 2109echo "${ECHO_T}no" >&6; } 2110fi 2111 2112 if test "x$ac_ct_CC" = x; then 2113 CC="" 2114 else 2115 case $cross_compiling:$ac_tool_warned in 2116yes:) 2117{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2118whose name does not start with the host triplet. If you think this 2119configuration is useful to you, please write to autoconf@gnu.org." >&5 2120echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2121whose name does not start with the host triplet. If you think this 2122configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2123ac_tool_warned=yes ;; 2124esac 2125 CC=$ac_ct_CC 2126 fi 2127else 2128 CC="$ac_cv_prog_CC" 2129fi 2130 2131if test -z "$CC"; then 2132 if test -n "$ac_tool_prefix"; then 2133 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2134set dummy ${ac_tool_prefix}cc; ac_word=$2 2135{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2136echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2137if test "${ac_cv_prog_CC+set}" = set; then 2138 echo $ECHO_N "(cached) $ECHO_C" >&6 2139else 2140 if test -n "$CC"; then 2141 ac_cv_prog_CC="$CC" # Let the user override the test. 2142else 2143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2144for as_dir in $PATH 2145do 2146 IFS=$as_save_IFS 2147 test -z "$as_dir" && as_dir=. 2148 for ac_exec_ext in '' $ac_executable_extensions; do 2149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2150 ac_cv_prog_CC="${ac_tool_prefix}cc" 2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2152 break 2 2153 fi 2154done 2155done 2156IFS=$as_save_IFS 2157 2158fi 2159fi 2160CC=$ac_cv_prog_CC 2161if test -n "$CC"; then 2162 { echo "$as_me:$LINENO: result: $CC" >&5 2163echo "${ECHO_T}$CC" >&6; } 2164else 2165 { echo "$as_me:$LINENO: result: no" >&5 2166echo "${ECHO_T}no" >&6; } 2167fi 2168 2169 2170 fi 2171fi 2172if test -z "$CC"; then 2173 # Extract the first word of "cc", so it can be a program name with args. 2174set dummy cc; ac_word=$2 2175{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2176echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2177if test "${ac_cv_prog_CC+set}" = set; then 2178 echo $ECHO_N "(cached) $ECHO_C" >&6 2179else 2180 if test -n "$CC"; then 2181 ac_cv_prog_CC="$CC" # Let the user override the test. 2182else 2183 ac_prog_rejected=no 2184as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2185for as_dir in $PATH 2186do 2187 IFS=$as_save_IFS 2188 test -z "$as_dir" && as_dir=. 2189 for ac_exec_ext in '' $ac_executable_extensions; do 2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2191 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2192 ac_prog_rejected=yes 2193 continue 2194 fi 2195 ac_cv_prog_CC="cc" 2196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2197 break 2 2198 fi 2199done 2200done 2201IFS=$as_save_IFS 2202 2203if test $ac_prog_rejected = yes; then 2204 # We found a bogon in the path, so make sure we never use it. 2205 set dummy $ac_cv_prog_CC 2206 shift 2207 if test $# != 0; then 2208 # We chose a different compiler from the bogus one. 2209 # However, it has the same basename, so the bogon will be chosen 2210 # first if we set CC to just the basename; use the full file name. 2211 shift 2212 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2213 fi 2214fi 2215fi 2216fi 2217CC=$ac_cv_prog_CC 2218if test -n "$CC"; then 2219 { echo "$as_me:$LINENO: result: $CC" >&5 2220echo "${ECHO_T}$CC" >&6; } 2221else 2222 { echo "$as_me:$LINENO: result: no" >&5 2223echo "${ECHO_T}no" >&6; } 2224fi 2225 2226 2227fi 2228if test -z "$CC"; then 2229 if test -n "$ac_tool_prefix"; then 2230 for ac_prog in cl.exe 2231 do 2232 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2233set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2234{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2235echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2236if test "${ac_cv_prog_CC+set}" = set; then 2237 echo $ECHO_N "(cached) $ECHO_C" >&6 2238else 2239 if test -n "$CC"; then 2240 ac_cv_prog_CC="$CC" # Let the user override the test. 2241else 2242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2243for as_dir in $PATH 2244do 2245 IFS=$as_save_IFS 2246 test -z "$as_dir" && as_dir=. 2247 for ac_exec_ext in '' $ac_executable_extensions; do 2248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2249 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2251 break 2 2252 fi 2253done 2254done 2255IFS=$as_save_IFS 2256 2257fi 2258fi 2259CC=$ac_cv_prog_CC 2260if test -n "$CC"; then 2261 { echo "$as_me:$LINENO: result: $CC" >&5 2262echo "${ECHO_T}$CC" >&6; } 2263else 2264 { echo "$as_me:$LINENO: result: no" >&5 2265echo "${ECHO_T}no" >&6; } 2266fi 2267 2268 2269 test -n "$CC" && break 2270 done 2271fi 2272if test -z "$CC"; then 2273 ac_ct_CC=$CC 2274 for ac_prog in cl.exe 2275do 2276 # Extract the first word of "$ac_prog", so it can be a program name with args. 2277set dummy $ac_prog; ac_word=$2 2278{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2279echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2280if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2281 echo $ECHO_N "(cached) $ECHO_C" >&6 2282else 2283 if test -n "$ac_ct_CC"; then 2284 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2285else 2286as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2287for as_dir in $PATH 2288do 2289 IFS=$as_save_IFS 2290 test -z "$as_dir" && as_dir=. 2291 for ac_exec_ext in '' $ac_executable_extensions; do 2292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2293 ac_cv_prog_ac_ct_CC="$ac_prog" 2294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2295 break 2 2296 fi 2297done 2298done 2299IFS=$as_save_IFS 2300 2301fi 2302fi 2303ac_ct_CC=$ac_cv_prog_ac_ct_CC 2304if test -n "$ac_ct_CC"; then 2305 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2306echo "${ECHO_T}$ac_ct_CC" >&6; } 2307else 2308 { echo "$as_me:$LINENO: result: no" >&5 2309echo "${ECHO_T}no" >&6; } 2310fi 2311 2312 2313 test -n "$ac_ct_CC" && break 2314done 2315 2316 if test "x$ac_ct_CC" = x; then 2317 CC="" 2318 else 2319 case $cross_compiling:$ac_tool_warned in 2320yes:) 2321{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2322whose name does not start with the host triplet. If you think this 2323configuration is useful to you, please write to autoconf@gnu.org." >&5 2324echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2325whose name does not start with the host triplet. If you think this 2326configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2327ac_tool_warned=yes ;; 2328esac 2329 CC=$ac_ct_CC 2330 fi 2331fi 2332 2333fi 2334 2335 2336test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2337See \`config.log' for more details." >&5 2338echo "$as_me: error: no acceptable C compiler found in \$PATH 2339See \`config.log' for more details." >&2;} 2340 { (exit 1); exit 1; }; } 2341 2342# Provide some information about the compiler. 2343echo "$as_me:$LINENO: checking for C compiler version" >&5 2344ac_compiler=`set X $ac_compile; echo $2` 2345{ (ac_try="$ac_compiler --version >&5" 2346case "(($ac_try" in 2347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2348 *) ac_try_echo=$ac_try;; 2349esac 2350eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2351 (eval "$ac_compiler --version >&5") 2>&5 2352 ac_status=$? 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2354 (exit $ac_status); } 2355{ (ac_try="$ac_compiler -v >&5" 2356case "(($ac_try" in 2357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2358 *) ac_try_echo=$ac_try;; 2359esac 2360eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2361 (eval "$ac_compiler -v >&5") 2>&5 2362 ac_status=$? 2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2364 (exit $ac_status); } 2365{ (ac_try="$ac_compiler -V >&5" 2366case "(($ac_try" in 2367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2368 *) ac_try_echo=$ac_try;; 2369esac 2370eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2371 (eval "$ac_compiler -V >&5") 2>&5 2372 ac_status=$? 2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2374 (exit $ac_status); } 2375 2376cat >conftest.$ac_ext <<_ACEOF 2377/* confdefs.h. */ 2378_ACEOF 2379cat confdefs.h >>conftest.$ac_ext 2380cat >>conftest.$ac_ext <<_ACEOF 2381/* end confdefs.h. */ 2382 2383int 2384main () 2385{ 2386 2387 ; 2388 return 0; 2389} 2390_ACEOF 2391ac_clean_files_save=$ac_clean_files 2392ac_clean_files="$ac_clean_files a.out a.exe b.out" 2393# Try to create an executable without -o first, disregard a.out. 2394# It will help us diagnose broken compilers, and finding out an intuition 2395# of exeext. 2396{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2397echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2398ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2399# 2400# List of possible output files, starting from the most likely. 2401# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2402# only as a last resort. b.out is created by i960 compilers. 2403ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2404# 2405# The IRIX 6 linker writes into existing files which may not be 2406# executable, retaining their permissions. Remove them first so a 2407# subsequent execution test works. 2408ac_rmfiles= 2409for ac_file in $ac_files 2410do 2411 case $ac_file in 2412 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2413 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2414 esac 2415done 2416rm -f $ac_rmfiles 2417 2418if { (ac_try="$ac_link_default" 2419case "(($ac_try" in 2420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2421 *) ac_try_echo=$ac_try;; 2422esac 2423eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2424 (eval "$ac_link_default") 2>&5 2425 ac_status=$? 2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2427 (exit $ac_status); }; then 2428 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2429# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2430# in a Makefile. We should not override ac_cv_exeext if it was cached, 2431# so that the user can short-circuit this test for compilers unknown to 2432# Autoconf. 2433for ac_file in $ac_files '' 2434do 2435 test -f "$ac_file" || continue 2436 case $ac_file in 2437 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2438 ;; 2439 [ab].out ) 2440 # We found the default executable, but exeext='' is most 2441 # certainly right. 2442 break;; 2443 *.* ) 2444 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2445 then :; else 2446 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2447 fi 2448 # We set ac_cv_exeext here because the later test for it is not 2449 # safe: cross compilers may not add the suffix if given an `-o' 2450 # argument, so we may need to know it at that point already. 2451 # Even if this section looks crufty: it has the advantage of 2452 # actually working. 2453 break;; 2454 * ) 2455 break;; 2456 esac 2457done 2458test "$ac_cv_exeext" = no && ac_cv_exeext= 2459 2460else 2461 ac_file='' 2462fi 2463 2464{ echo "$as_me:$LINENO: result: $ac_file" >&5 2465echo "${ECHO_T}$ac_file" >&6; } 2466if test -z "$ac_file"; then 2467 echo "$as_me: failed program was:" >&5 2468sed 's/^/| /' conftest.$ac_ext >&5 2469 2470{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2471See \`config.log' for more details." >&5 2472echo "$as_me: error: C compiler cannot create executables 2473See \`config.log' for more details." >&2;} 2474 { (exit 77); exit 77; }; } 2475fi 2476 2477ac_exeext=$ac_cv_exeext 2478 2479# Check that the compiler produces executables we can run. If not, either 2480# the compiler is broken, or we cross compile. 2481{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2482echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2483# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2484# If not cross compiling, check that we can run a simple program. 2485if test "$cross_compiling" != yes; then 2486 if { ac_try='./$ac_file' 2487 { (case "(($ac_try" in 2488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2489 *) ac_try_echo=$ac_try;; 2490esac 2491eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2492 (eval "$ac_try") 2>&5 2493 ac_status=$? 2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2495 (exit $ac_status); }; }; then 2496 cross_compiling=no 2497 else 2498 if test "$cross_compiling" = maybe; then 2499 cross_compiling=yes 2500 else 2501 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2502If you meant to cross compile, use \`--host'. 2503See \`config.log' for more details." >&5 2504echo "$as_me: error: cannot run C compiled programs. 2505If you meant to cross compile, use \`--host'. 2506See \`config.log' for more details." >&2;} 2507 { (exit 1); exit 1; }; } 2508 fi 2509 fi 2510fi 2511{ echo "$as_me:$LINENO: result: yes" >&5 2512echo "${ECHO_T}yes" >&6; } 2513 2514rm -f a.out a.exe conftest$ac_cv_exeext b.out 2515ac_clean_files=$ac_clean_files_save 2516# Check that the compiler produces executables we can run. If not, either 2517# the compiler is broken, or we cross compile. 2518{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2519echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2520{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2521echo "${ECHO_T}$cross_compiling" >&6; } 2522 2523{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2524echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2525if { (ac_try="$ac_link" 2526case "(($ac_try" in 2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2528 *) ac_try_echo=$ac_try;; 2529esac 2530eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2531 (eval "$ac_link") 2>&5 2532 ac_status=$? 2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2534 (exit $ac_status); }; then 2535 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2536# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2537# work properly (i.e., refer to `conftest.exe'), while it won't with 2538# `rm'. 2539for ac_file in conftest.exe conftest conftest.*; do 2540 test -f "$ac_file" || continue 2541 case $ac_file in 2542 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2543 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2544 break;; 2545 * ) break;; 2546 esac 2547done 2548else 2549 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2550See \`config.log' for more details." >&5 2551echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2552See \`config.log' for more details." >&2;} 2553 { (exit 1); exit 1; }; } 2554fi 2555 2556rm -f conftest$ac_cv_exeext 2557{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2558echo "${ECHO_T}$ac_cv_exeext" >&6; } 2559 2560rm -f conftest.$ac_ext 2561EXEEXT=$ac_cv_exeext 2562ac_exeext=$EXEEXT 2563{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2564echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2565if test "${ac_cv_objext+set}" = set; then 2566 echo $ECHO_N "(cached) $ECHO_C" >&6 2567else 2568 cat >conftest.$ac_ext <<_ACEOF 2569/* confdefs.h. */ 2570_ACEOF 2571cat confdefs.h >>conftest.$ac_ext 2572cat >>conftest.$ac_ext <<_ACEOF 2573/* end confdefs.h. */ 2574 2575int 2576main () 2577{ 2578 2579 ; 2580 return 0; 2581} 2582_ACEOF 2583rm -f conftest.o conftest.obj 2584if { (ac_try="$ac_compile" 2585case "(($ac_try" in 2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2587 *) ac_try_echo=$ac_try;; 2588esac 2589eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2590 (eval "$ac_compile") 2>&5 2591 ac_status=$? 2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2593 (exit $ac_status); }; then 2594 for ac_file in conftest.o conftest.obj conftest.*; do 2595 test -f "$ac_file" || continue; 2596 case $ac_file in 2597 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2598 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2599 break;; 2600 esac 2601done 2602else 2603 echo "$as_me: failed program was:" >&5 2604sed 's/^/| /' conftest.$ac_ext >&5 2605 2606{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2607See \`config.log' for more details." >&5 2608echo "$as_me: error: cannot compute suffix of object files: cannot compile 2609See \`config.log' for more details." >&2;} 2610 { (exit 1); exit 1; }; } 2611fi 2612 2613rm -f conftest.$ac_cv_objext conftest.$ac_ext 2614fi 2615{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2616echo "${ECHO_T}$ac_cv_objext" >&6; } 2617OBJEXT=$ac_cv_objext 2618ac_objext=$OBJEXT 2619{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2620echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2621if test "${ac_cv_c_compiler_gnu+set}" = set; then 2622 echo $ECHO_N "(cached) $ECHO_C" >&6 2623else 2624 cat >conftest.$ac_ext <<_ACEOF 2625/* confdefs.h. */ 2626_ACEOF 2627cat confdefs.h >>conftest.$ac_ext 2628cat >>conftest.$ac_ext <<_ACEOF 2629/* end confdefs.h. */ 2630 2631int 2632main () 2633{ 2634#ifndef __GNUC__ 2635 choke me 2636#endif 2637 2638 ; 2639 return 0; 2640} 2641_ACEOF 2642rm -f conftest.$ac_objext 2643if { (ac_try="$ac_compile" 2644case "(($ac_try" in 2645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2646 *) ac_try_echo=$ac_try;; 2647esac 2648eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2649 (eval "$ac_compile") 2>conftest.er1 2650 ac_status=$? 2651 grep -v '^ *+' conftest.er1 >conftest.err 2652 rm -f conftest.er1 2653 cat conftest.err >&5 2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2655 (exit $ac_status); } && { 2656 test -z "$ac_c_werror_flag" || 2657 test ! -s conftest.err 2658 } && test -s conftest.$ac_objext; then 2659 ac_compiler_gnu=yes 2660else 2661 echo "$as_me: failed program was:" >&5 2662sed 's/^/| /' conftest.$ac_ext >&5 2663 2664 ac_compiler_gnu=no 2665fi 2666 2667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2668ac_cv_c_compiler_gnu=$ac_compiler_gnu 2669 2670fi 2671{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2672echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2673GCC=`test $ac_compiler_gnu = yes && echo yes` 2674ac_test_CFLAGS=${CFLAGS+set} 2675ac_save_CFLAGS=$CFLAGS 2676{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2677echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2678if test "${ac_cv_prog_cc_g+set}" = set; then 2679 echo $ECHO_N "(cached) $ECHO_C" >&6 2680else 2681 ac_save_c_werror_flag=$ac_c_werror_flag 2682 ac_c_werror_flag=yes 2683 ac_cv_prog_cc_g=no 2684 CFLAGS="-g" 2685 cat >conftest.$ac_ext <<_ACEOF 2686/* confdefs.h. */ 2687_ACEOF 2688cat confdefs.h >>conftest.$ac_ext 2689cat >>conftest.$ac_ext <<_ACEOF 2690/* end confdefs.h. */ 2691 2692int 2693main () 2694{ 2695 2696 ; 2697 return 0; 2698} 2699_ACEOF 2700rm -f conftest.$ac_objext 2701if { (ac_try="$ac_compile" 2702case "(($ac_try" in 2703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2704 *) ac_try_echo=$ac_try;; 2705esac 2706eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2707 (eval "$ac_compile") 2>conftest.er1 2708 ac_status=$? 2709 grep -v '^ *+' conftest.er1 >conftest.err 2710 rm -f conftest.er1 2711 cat conftest.err >&5 2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2713 (exit $ac_status); } && { 2714 test -z "$ac_c_werror_flag" || 2715 test ! -s conftest.err 2716 } && test -s conftest.$ac_objext; then 2717 ac_cv_prog_cc_g=yes 2718else 2719 echo "$as_me: failed program was:" >&5 2720sed 's/^/| /' conftest.$ac_ext >&5 2721 2722 CFLAGS="" 2723 cat >conftest.$ac_ext <<_ACEOF 2724/* confdefs.h. */ 2725_ACEOF 2726cat confdefs.h >>conftest.$ac_ext 2727cat >>conftest.$ac_ext <<_ACEOF 2728/* end confdefs.h. */ 2729 2730int 2731main () 2732{ 2733 2734 ; 2735 return 0; 2736} 2737_ACEOF 2738rm -f conftest.$ac_objext 2739if { (ac_try="$ac_compile" 2740case "(($ac_try" in 2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2742 *) ac_try_echo=$ac_try;; 2743esac 2744eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2745 (eval "$ac_compile") 2>conftest.er1 2746 ac_status=$? 2747 grep -v '^ *+' conftest.er1 >conftest.err 2748 rm -f conftest.er1 2749 cat conftest.err >&5 2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2751 (exit $ac_status); } && { 2752 test -z "$ac_c_werror_flag" || 2753 test ! -s conftest.err 2754 } && test -s conftest.$ac_objext; then 2755 : 2756else 2757 echo "$as_me: failed program was:" >&5 2758sed 's/^/| /' conftest.$ac_ext >&5 2759 2760 ac_c_werror_flag=$ac_save_c_werror_flag 2761 CFLAGS="-g" 2762 cat >conftest.$ac_ext <<_ACEOF 2763/* confdefs.h. */ 2764_ACEOF 2765cat confdefs.h >>conftest.$ac_ext 2766cat >>conftest.$ac_ext <<_ACEOF 2767/* end confdefs.h. */ 2768 2769int 2770main () 2771{ 2772 2773 ; 2774 return 0; 2775} 2776_ACEOF 2777rm -f conftest.$ac_objext 2778if { (ac_try="$ac_compile" 2779case "(($ac_try" in 2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2781 *) ac_try_echo=$ac_try;; 2782esac 2783eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2784 (eval "$ac_compile") 2>conftest.er1 2785 ac_status=$? 2786 grep -v '^ *+' conftest.er1 >conftest.err 2787 rm -f conftest.er1 2788 cat conftest.err >&5 2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2790 (exit $ac_status); } && { 2791 test -z "$ac_c_werror_flag" || 2792 test ! -s conftest.err 2793 } && test -s conftest.$ac_objext; then 2794 ac_cv_prog_cc_g=yes 2795else 2796 echo "$as_me: failed program was:" >&5 2797sed 's/^/| /' conftest.$ac_ext >&5 2798 2799 2800fi 2801 2802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2803fi 2804 2805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2806fi 2807 2808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2809 ac_c_werror_flag=$ac_save_c_werror_flag 2810fi 2811{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2812echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2813if test "$ac_test_CFLAGS" = set; then 2814 CFLAGS=$ac_save_CFLAGS 2815elif test $ac_cv_prog_cc_g = yes; then 2816 if test "$GCC" = yes; then 2817 CFLAGS="-g -O2" 2818 else 2819 CFLAGS="-g" 2820 fi 2821else 2822 if test "$GCC" = yes; then 2823 CFLAGS="-O2" 2824 else 2825 CFLAGS= 2826 fi 2827fi 2828{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2829echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2830if test "${ac_cv_prog_cc_c89+set}" = set; then 2831 echo $ECHO_N "(cached) $ECHO_C" >&6 2832else 2833 ac_cv_prog_cc_c89=no 2834ac_save_CC=$CC 2835cat >conftest.$ac_ext <<_ACEOF 2836/* confdefs.h. */ 2837_ACEOF 2838cat confdefs.h >>conftest.$ac_ext 2839cat >>conftest.$ac_ext <<_ACEOF 2840/* end confdefs.h. */ 2841#include <stdarg.h> 2842#include <stdio.h> 2843#include <sys/types.h> 2844#include <sys/stat.h> 2845/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2846struct buf { int x; }; 2847FILE * (*rcsopen) (struct buf *, struct stat *, int); 2848static char *e (p, i) 2849 char **p; 2850 int i; 2851{ 2852 return p[i]; 2853} 2854static char *f (char * (*g) (char **, int), char **p, ...) 2855{ 2856 char *s; 2857 va_list v; 2858 va_start (v,p); 2859 s = g (p, va_arg (v,int)); 2860 va_end (v); 2861 return s; 2862} 2863 2864/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2865 function prototypes and stuff, but not '\xHH' hex character constants. 2866 These don't provoke an error unfortunately, instead are silently treated 2867 as 'x'. The following induces an error, until -std is added to get 2868 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2869 array size at least. It's necessary to write '\x00'==0 to get something 2870 that's true only with -std. */ 2871int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2872 2873/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2874 inside strings and character constants. */ 2875#define FOO(x) 'x' 2876int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2877 2878int test (int i, double x); 2879struct s1 {int (*f) (int a);}; 2880struct s2 {int (*f) (double a);}; 2881int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2882int argc; 2883char **argv; 2884int 2885main () 2886{ 2887return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2888 ; 2889 return 0; 2890} 2891_ACEOF 2892for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2893 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2894do 2895 CC="$ac_save_CC $ac_arg" 2896 rm -f conftest.$ac_objext 2897if { (ac_try="$ac_compile" 2898case "(($ac_try" in 2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2900 *) ac_try_echo=$ac_try;; 2901esac 2902eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2903 (eval "$ac_compile") 2>conftest.er1 2904 ac_status=$? 2905 grep -v '^ *+' conftest.er1 >conftest.err 2906 rm -f conftest.er1 2907 cat conftest.err >&5 2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2909 (exit $ac_status); } && { 2910 test -z "$ac_c_werror_flag" || 2911 test ! -s conftest.err 2912 } && test -s conftest.$ac_objext; then 2913 ac_cv_prog_cc_c89=$ac_arg 2914else 2915 echo "$as_me: failed program was:" >&5 2916sed 's/^/| /' conftest.$ac_ext >&5 2917 2918 2919fi 2920 2921rm -f core conftest.err conftest.$ac_objext 2922 test "x$ac_cv_prog_cc_c89" != "xno" && break 2923done 2924rm -f conftest.$ac_ext 2925CC=$ac_save_CC 2926 2927fi 2928# AC_CACHE_VAL 2929case "x$ac_cv_prog_cc_c89" in 2930 x) 2931 { echo "$as_me:$LINENO: result: none needed" >&5 2932echo "${ECHO_T}none needed" >&6; } ;; 2933 xno) 2934 { echo "$as_me:$LINENO: result: unsupported" >&5 2935echo "${ECHO_T}unsupported" >&6; } ;; 2936 *) 2937 CC="$CC $ac_cv_prog_cc_c89" 2938 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2939echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2940esac 2941 2942 2943ac_ext=c 2944ac_cpp='$CPP $CPPFLAGS' 2945ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2946ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2947ac_compiler_gnu=$ac_cv_c_compiler_gnu 2948 2949{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2950echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2951set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2952if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2953 echo $ECHO_N "(cached) $ECHO_C" >&6 2954else 2955 cat >conftest.make <<\_ACEOF 2956SHELL = /bin/sh 2957all: 2958 @echo '@@@%%%=$(MAKE)=@@@%%%' 2959_ACEOF 2960# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2961case `${MAKE-make} -f conftest.make 2>/dev/null` in 2962 *@@@%%%=?*=@@@%%%*) 2963 eval ac_cv_prog_make_${ac_make}_set=yes;; 2964 *) 2965 eval ac_cv_prog_make_${ac_make}_set=no;; 2966esac 2967rm -f conftest.make 2968fi 2969if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2970 { echo "$as_me:$LINENO: result: yes" >&5 2971echo "${ECHO_T}yes" >&6; } 2972 SET_MAKE= 2973else 2974 { echo "$as_me:$LINENO: result: no" >&5 2975echo "${ECHO_T}no" >&6; } 2976 SET_MAKE="MAKE=${MAKE-make}" 2977fi 2978 2979 2980 2981 2982# Check whether --with-perl was given. 2983if test "${with_perl+set}" = set; then 2984 withval=$with_perl; 2985 { echo "$as_me:$LINENO: checking for perl" >&5 2986echo $ECHO_N "checking for perl... $ECHO_C" >&6; } 2987 if test "x$withval" != x; then 2988 PATH_PROG_PERL="$withval" 2989 { echo "$as_me:$LINENO: result: $withval" >&5 2990echo "${ECHO_T}$withval" >&6; } 2991 else 2992 { echo "$as_me:$LINENO: result: not found" >&5 2993echo "${ECHO_T}not found" >&6; } 2994 fi 2995 2996else 2997 2998 # Extract the first word of "perl", so it can be a program name with args. 2999set dummy perl; ac_word=$2 3000{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3001echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3002if test "${ac_cv_path_PATH_PROG_PERL+set}" = set; then 3003 echo $ECHO_N "(cached) $ECHO_C" >&6 3004else 3005 case $PATH_PROG_PERL in 3006 [\\/]* | ?:[\\/]*) 3007 ac_cv_path_PATH_PROG_PERL="$PATH_PROG_PERL" # Let the user override the test with a path. 3008 ;; 3009 *) 3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3011for as_dir in $PATH 3012do 3013 IFS=$as_save_IFS 3014 test -z "$as_dir" && as_dir=. 3015 for ac_exec_ext in '' $ac_executable_extensions; do 3016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3017 ac_cv_path_PATH_PROG_PERL="$as_dir/$ac_word$ac_exec_ext" 3018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3019 break 2 3020 fi 3021done 3022done 3023IFS=$as_save_IFS 3024 3025 test -z "$ac_cv_path_PATH_PROG_PERL" && ac_cv_path_PATH_PROG_PERL="no" 3026 ;; 3027esac 3028fi 3029PATH_PROG_PERL=$ac_cv_path_PATH_PROG_PERL 3030if test -n "$PATH_PROG_PERL"; then 3031 { echo "$as_me:$LINENO: result: $PATH_PROG_PERL" >&5 3032echo "${ECHO_T}$PATH_PROG_PERL" >&6; } 3033else 3034 { echo "$as_me:$LINENO: result: no" >&5 3035echo "${ECHO_T}no" >&6; } 3036fi 3037 3038 3039 3040fi 3041 3042 3043{ echo "$as_me:$LINENO: checking for use-redirect-url" >&5 3044echo $ECHO_N "checking for use-redirect-url... $ECHO_C" >&6; } 3045 3046# Check whether --with-use-redirect-url was given. 3047if test "${with_use_redirect_url+set}" = set; then 3048 withval=$with_use_redirect_url; 3049 if test "x$withval" != xno; then 3050 3051cat >>confdefs.h <<\_ACEOF 3052#define CONF_USE_REDIRECT_URL 3053_ACEOF 3054 3055 { echo "$as_me:$LINENO: result: enabled" >&5 3056echo "${ECHO_T}enabled" >&6; } 3057 else 3058 { echo "$as_me:$LINENO: result: disabled" >&5 3059echo "${ECHO_T}disabled" >&6; } 3060 fi 3061 3062else 3063 3064 { echo "$as_me:$LINENO: result: disabled" >&5 3065echo "${ECHO_T}disabled" >&6; } 3066 3067fi 3068 3069 3070 3071{ echo "$as_me:$LINENO: checking for whether to use SCRIPT_URL to build SCRIPT_NAME" >&5 3072echo $ECHO_N "checking for whether to use SCRIPT_URL to build SCRIPT_NAME... $ECHO_C" >&6; } 3073 3074# Check whether --with-use-script-url was given. 3075if test "${with_use_script_url+set}" = set; then 3076 withval=$with_use_script_url; 3077 if test "x$withval" != xno; then 3078 3079cat >>confdefs.h <<\_ACEOF 3080#define CONF_USE_SCRIPT_URL 3081_ACEOF 3082 3083 { echo "$as_me:$LINENO: result: enabled" >&5 3084echo "${ECHO_T}enabled" >&6; } 3085 else 3086 { echo "$as_me:$LINENO: result: disabled" >&5 3087echo "${ECHO_T}disabled" >&6; } 3088 fi 3089 3090else 3091 3092 { echo "$as_me:$LINENO: result: disabled" >&5 3093echo "${ECHO_T}disabled" >&6; } 3094 3095fi 3096 3097 3098 3099{ echo "$as_me:$LINENO: checking for require-redirect-url" >&5 3100echo $ECHO_N "checking for require-redirect-url... $ECHO_C" >&6; } 3101 3102# Check whether --with-require-redirect-url was given. 3103if test "${with_require_redirect_url+set}" = set; then 3104 withval=$with_require_redirect_url; 3105 if test "x$withval" != xno; then 3106 3107cat >>confdefs.h <<\_ACEOF 3108#define CONF_REQUIRE_REDIRECT_URL 3109_ACEOF 3110 3111 { echo "$as_me:$LINENO: result: enabled" >&5 3112echo "${ECHO_T}enabled" >&6; } 3113 else 3114 { echo "$as_me:$LINENO: result: disabled" >&5 3115echo "${ECHO_T}disabled" >&6; } 3116 fi 3117 3118else 3119 3120 { echo "$as_me:$LINENO: result: disabled" >&5 3121echo "${ECHO_T}disabled" >&6; } 3122 3123fi 3124 3125 3126{ echo "$as_me:$LINENO: checking for quiet-errors" >&5 3127echo $ECHO_N "checking for quiet-errors... $ECHO_C" >&6; } 3128 3129# Check whether --with-quiet-errors was given. 3130if test "${with_quiet_errors+set}" = set; then 3131 withval=$with_quiet_errors; 3132 if test "x$withval" != xno; then 3133 3134cat >>confdefs.h <<\_ACEOF 3135#define CONF_QUIET_ERRORS 3136_ACEOF 3137 3138 { echo "$as_me:$LINENO: result: enabled" >&5 3139echo "${ECHO_T}enabled" >&6; } 3140 else 3141 { echo "$as_me:$LINENO: result: disabled" >&5 3142echo "${ECHO_T}disabled" >&6; } 3143 fi 3144 3145else 3146 3147 { echo "$as_me:$LINENO: result: disabled" >&5 3148echo "${ECHO_T}disabled" >&6; } 3149 3150fi 3151 3152 3153{ echo "$as_me:$LINENO: checking for vhost-override" >&5 3154echo $ECHO_N "checking for vhost-override... $ECHO_C" >&6; } 3155 3156# Check whether --with-vhost-override was given. 3157if test "${with_vhost_override+set}" = set; then 3158 withval=$with_vhost_override; 3159 if test "x$withval" != xno; then 3160 3161cat >>confdefs.h <<\_ACEOF 3162#define CONF_VHOST_OVERRIDE 3163_ACEOF 3164 3165 { echo "$as_me:$LINENO: result: enabled" >&5 3166echo "${ECHO_T}enabled" >&6; } 3167 else 3168 { echo "$as_me:$LINENO: result: disabled" >&5 3169echo "${ECHO_T}disabled" >&6; } 3170 fi 3171 3172else 3173 3174 { echo "$as_me:$LINENO: result: disabled" >&5 3175echo "${ECHO_T}disabled" >&6; } 3176 3177fi 3178 3179 3180{ echo "$as_me:$LINENO: checking for env-require-user" >&5 3181echo $ECHO_N "checking for env-require-user... $ECHO_C" >&6; } 3182 3183# Check whether --with-env-require-user was given. 3184if test "${with_env_require_user+set}" = set; then 3185 withval=$with_env_require_user; 3186 if test "x$withval" != xno; then 3187 3188cat >>confdefs.h <<\_ACEOF 3189#define CONF_ENV_REQUIRE_USER 3190_ACEOF 3191 3192 { echo "$as_me:$LINENO: result: enabled" >&5 3193echo "${ECHO_T}enabled" >&6; } 3194 else 3195 { echo "$as_me:$LINENO: result: disabled" >&5 3196echo "${ECHO_T}disabled" >&6; } 3197 fi 3198 3199else 3200 3201 { echo "$as_me:$LINENO: result: disabled" >&5 3202echo "${ECHO_T}disabled" >&6; } 3203 3204fi 3205 3206 3207{ echo "$as_me:$LINENO: checking for block-svn-paths" >&5 3208echo $ECHO_N "checking for block-svn-paths... $ECHO_C" >&6; } 3209 3210# Check whether --with-block-svn-paths was given. 3211if test "${with_block_svn_paths+set}" = set; then 3212 withval=$with_block_svn_paths; 3213 if test "x$withval" != xno; then 3214 3215cat >>confdefs.h <<\_ACEOF 3216#define CONF_BLOCK_SVN_PATHS 3217_ACEOF 3218 3219 { echo "$as_me:$LINENO: result: enabled" >&5 3220echo "${ECHO_T}enabled" >&6; } 3221 else 3222 { echo "$as_me:$LINENO: result: disabled" >&5 3223echo "${ECHO_T}disabled" >&6; } 3224 fi 3225 3226else 3227 3228 { echo "$as_me:$LINENO: result: disabled" >&5 3229echo "${ECHO_T}disabled" >&6; } 3230 3231fi 3232 3233 3234{ echo "$as_me:$LINENO: checking for block-cvs-paths" >&5 3235echo $ECHO_N "checking for block-cvs-paths... $ECHO_C" >&6; } 3236 3237# Check whether --with-block-cvs-paths was given. 3238if test "${with_block_cvs_paths+set}" = set; then 3239 withval=$with_block_cvs_paths; 3240 if test "x$withval" != xno; then 3241 3242cat >>confdefs.h <<\_ACEOF 3243#define CONF_BLOCK_CVS_PATHS 3244_ACEOF 3245 3246 { echo "$as_me:$LINENO: result: enabled" >&5 3247echo "${ECHO_T}enabled" >&6; } 3248 else 3249 { echo "$as_me:$LINENO: result: disabled" >&5 3250echo "${ECHO_T}disabled" >&6; } 3251 fi 3252 3253else 3254 3255 { echo "$as_me:$LINENO: result: disabled" >&5 3256echo "${ECHO_T}disabled" >&6; } 3257 3258fi 3259 3260 3261 3262 3263# Check whether --with-php was given. 3264if test "${with_php+set}" = set; then 3265 withval=$with_php; 3266 { echo "$as_me:$LINENO: checking for php" >&5 3267echo $ECHO_N "checking for php... $ECHO_C" >&6; } 3268 if test "x$withval" != x; then 3269 PATH_PROG_PHP="$withval" 3270 3271cat >>confdefs.h <<_ACEOF 3272#define PATH_PROG_PHP "$withval" 3273_ACEOF 3274 3275 { echo "$as_me:$LINENO: result: $withval" >&5 3276echo "${ECHO_T}$withval" >&6; } 3277 else 3278 { echo "$as_me:$LINENO: result: not found" >&5 3279echo "${ECHO_T}not found" >&6; } 3280 fi 3281 3282else 3283 3284 # Extract the first word of "php", so it can be a program name with args. 3285set dummy php; ac_word=$2 3286{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3287echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3288if test "${ac_cv_path_PATH_PROG_PHP+set}" = set; then 3289 echo $ECHO_N "(cached) $ECHO_C" >&6 3290else 3291 case $PATH_PROG_PHP in 3292 [\\/]* | ?:[\\/]*) 3293 ac_cv_path_PATH_PROG_PHP="$PATH_PROG_PHP" # Let the user override the test with a path. 3294 ;; 3295 *) 3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3297for as_dir in $PATH 3298do 3299 IFS=$as_save_IFS 3300 test -z "$as_dir" && as_dir=. 3301 for ac_exec_ext in '' $ac_executable_extensions; do 3302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3303 ac_cv_path_PATH_PROG_PHP="$as_dir/$ac_word$ac_exec_ext" 3304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3305 break 2 3306 fi 3307done 3308done 3309IFS=$as_save_IFS 3310 3311 test -z "$ac_cv_path_PATH_PROG_PHP" && ac_cv_path_PATH_PROG_PHP="no" 3312 ;; 3313esac 3314fi 3315PATH_PROG_PHP=$ac_cv_path_PATH_PROG_PHP 3316if test -n "$PATH_PROG_PHP"; then 3317 { echo "$as_me:$LINENO: result: $PATH_PROG_PHP" >&5 3318echo "${ECHO_T}$PATH_PROG_PHP" >&6; } 3319else 3320 { echo "$as_me:$LINENO: result: no" >&5 3321echo "${ECHO_T}no" >&6; } 3322fi 3323 3324 3325 if test "x${PATH_PROG_PHP}" != "xno"; then 3326 3327cat >>confdefs.h <<_ACEOF 3328#define PATH_PROG_PHP "${PATH_PROG_PHP}" 3329_ACEOF 3330 3331 fi 3332 3333fi 3334 3335 3336 3337 3338# Check whether --with-eruby was given. 3339if test "${with_eruby+set}" = set; then 3340 withval=$with_eruby; 3341 { echo "$as_me:$LINENO: checking for eRuby interpreter" >&5 3342echo $ECHO_N "checking for eRuby interpreter... $ECHO_C" >&6; } 3343 if test "x$withval" != x; then 3344 PATH_PROG_ERUBY="$withval" 3345 3346cat >>confdefs.h <<_ACEOF 3347#define PATH_PROG_ERUBY "$withval" 3348_ACEOF 3349 3350 { echo "$as_me:$LINENO: result: $withval" >&5 3351echo "${ECHO_T}$withval" >&6; } 3352 else 3353 { echo "$as_me:$LINENO: result: not found" >&5 3354echo "${ECHO_T}not found" >&6; } 3355 fi 3356 3357else 3358 3359 for ac_prog in eruby erb 3360do 3361 # Extract the first word of "$ac_prog", so it can be a program name with args. 3362set dummy $ac_prog; ac_word=$2 3363{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3364echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3365if test "${ac_cv_path_PATH_PROG_ERUBY+set}" = set; then 3366 echo $ECHO_N "(cached) $ECHO_C" >&6 3367else 3368 case $PATH_PROG_ERUBY in 3369 [\\/]* | ?:[\\/]*) 3370 ac_cv_path_PATH_PROG_ERUBY="$PATH_PROG_ERUBY" # Let the user override the test with a path. 3371 ;; 3372 *) 3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3374for as_dir in $PATH 3375do 3376 IFS=$as_save_IFS 3377 test -z "$as_dir" && as_dir=. 3378 for ac_exec_ext in '' $ac_executable_extensions; do 3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3380 ac_cv_path_PATH_PROG_ERUBY="$as_dir/$ac_word$ac_exec_ext" 3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3382 break 2 3383 fi 3384done 3385done 3386IFS=$as_save_IFS 3387 3388 ;; 3389esac 3390fi 3391PATH_PROG_ERUBY=$ac_cv_path_PATH_PROG_ERUBY 3392if test -n "$PATH_PROG_ERUBY"; then 3393 { echo "$as_me:$LINENO: result: $PATH_PROG_ERUBY" >&5 3394echo "${ECHO_T}$PATH_PROG_ERUBY" >&6; } 3395else 3396 { echo "$as_me:$LINENO: result: no" >&5 3397echo "${ECHO_T}no" >&6; } 3398fi 3399 3400 3401 test -n "$PATH_PROG_ERUBY" && break 3402done 3403test -n "$PATH_PROG_ERUBY" || PATH_PROG_ERUBY="no" 3404 3405 if test "x${PATH_PROG_ERUBY}" != "xno"; then 3406 3407cat >>confdefs.h <<_ACEOF 3408#define PATH_PROG_ERUBY "${PATH_PROG_ERUBY}" 3409_ACEOF 3410 3411 fi 3412 3413fi 3414 3415 3416 3417# Check whether --with-asp was given. 3418if test "${with_asp+set}" = set; then 3419 withval=$with_asp; 3420 { echo "$as_me:$LINENO: checking for asp interpreter" >&5 3421echo $ECHO_N "checking for asp interpreter... $ECHO_C" >&6; } 3422 if test "x$withval" != x; then 3423 PATH_PROG_ASP="$withval" 3424 3425cat >>confdefs.h <<_ACEOF 3426#define PATH_PROG_ASP "$withval" 3427_ACEOF 3428 3429 { echo "$as_me:$LINENO: result: $withval" >&5 3430echo "${ECHO_T}$withval" >&6; } 3431 else 3432 { echo "$as_me:$LINENO: result: not found" >&5 3433echo "${ECHO_T}not found" >&6; } 3434 fi 3435 3436else 3437 3438 # Extract the first word of "asp-perl", so it can be a program name with args. 3439set dummy asp-perl; ac_word=$2 3440{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3441echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3442if test "${ac_cv_path_PATH_PROG_ASP+set}" = set; then 3443 echo $ECHO_N "(cached) $ECHO_C" >&6 3444else 3445 case $PATH_PROG_ASP in 3446 [\\/]* | ?:[\\/]*) 3447 ac_cv_path_PATH_PROG_ASP="$PATH_PROG_ASP" # Let the user override the test with a path. 3448 ;; 3449 *) 3450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3451for as_dir in $PATH 3452do 3453 IFS=$as_save_IFS 3454 test -z "$as_dir" && as_dir=. 3455 for ac_exec_ext in '' $ac_executable_extensions; do 3456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3457 ac_cv_path_PATH_PROG_ASP="$as_dir/$ac_word$ac_exec_ext" 3458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3459 break 2 3460 fi 3461done 3462done 3463IFS=$as_save_IFS 3464 3465 test -z "$ac_cv_path_PATH_PROG_ASP" && ac_cv_path_PATH_PROG_ASP="no" 3466 ;; 3467esac 3468fi 3469PATH_PROG_ASP=$ac_cv_path_PATH_PROG_ASP 3470if test -n "$PATH_PROG_ASP"; then 3471 { echo "$as_me:$LINENO: result: $PATH_PROG_ASP" >&5 3472echo "${ECHO_T}$PATH_PROG_ASP" >&6; } 3473else 3474 { echo "$as_me:$LINENO: result: no" >&5 3475echo "${ECHO_T}no" >&6; } 3476fi 3477 3478 3479 if test "x${PATH_PROG_ASP}" != "xno"; then 3480 3481cat >>confdefs.h <<_ACEOF 3482#define PATH_PROG_ASP "${PATH_PROG_ASP}" 3483_ACEOF 3484 3485 fi 3486 3487fi 3488 3489 3490 3491charset="iso-8859-1" 3492{ echo "$as_me:$LINENO: checking for charset" >&5 3493echo $ECHO_N "checking for charset... $ECHO_C" >&6; } 3494 3495# Check whether --with-charset was given. 3496if test "${with_charset+set}" = set; then 3497 withval=$with_charset; 3498 if test "x$withval" != x; then 3499 charset="$withval" 3500 fi 3501 3502else 3503 3504 true 3505 3506fi 3507 3508{ echo "$as_me:$LINENO: result: $charset" >&5 3509echo "${ECHO_T}$charset" >&6; } 3510 3511cat >>confdefs.h <<_ACEOF 3512#define HTTP_CHARSET "$charset" 3513_ACEOF 3514 3515 3516 3517 3518 3519 3520{ echo "$as_me:$LINENO: checking for sigset" >&5 3521echo $ECHO_N "checking for sigset... $ECHO_C" >&6; } 3522if test "${ac_cv_func_sigset+set}" = set; then 3523 echo $ECHO_N "(cached) $ECHO_C" >&6 3524else 3525 cat >conftest.$ac_ext <<_ACEOF 3526/* confdefs.h. */ 3527_ACEOF 3528cat confdefs.h >>conftest.$ac_ext 3529cat >>conftest.$ac_ext <<_ACEOF 3530/* end confdefs.h. */ 3531/* Define sigset to an innocuous variant, in case <limits.h> declares sigset. 3532 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3533#define sigset innocuous_sigset 3534 3535/* System header to define __stub macros and hopefully few prototypes, 3536 which can conflict with char sigset (); below. 3537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3538 <limits.h> exists even on freestanding compilers. */ 3539 3540#ifdef __STDC__ 3541# include <limits.h> 3542#else 3543# include <assert.h> 3544#endif 3545 3546#undef sigset 3547 3548/* Override any GCC internal prototype to avoid an error. 3549 Use char because int might match the return type of a GCC 3550 builtin and then its argument prototype would still apply. */ 3551#ifdef __cplusplus 3552extern "C" 3553#endif 3554char sigset (); 3555/* The GNU C library defines this for functions which it implements 3556 to always fail with ENOSYS. Some functions are actually named 3557 something starting with __ and the normal name is an alias. */ 3558#if defined __stub_sigset || defined __stub___sigset 3559choke me 3560#endif 3561 3562int 3563main () 3564{ 3565return sigset (); 3566 ; 3567 return 0; 3568} 3569_ACEOF 3570rm -f conftest.$ac_objext conftest$ac_exeext 3571if { (ac_try="$ac_link" 3572case "(($ac_try" in 3573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3574 *) ac_try_echo=$ac_try;; 3575esac 3576eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3577 (eval "$ac_link") 2>conftest.er1 3578 ac_status=$? 3579 grep -v '^ *+' conftest.er1 >conftest.err 3580 rm -f conftest.er1 3581 cat conftest.err >&5 3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3583 (exit $ac_status); } && { 3584 test -z "$ac_c_werror_flag" || 3585 test ! -s conftest.err 3586 } && test -s conftest$ac_exeext && 3587 $as_test_x conftest$ac_exeext; then 3588 ac_cv_func_sigset=yes 3589else 3590 echo "$as_me: failed program was:" >&5 3591sed 's/^/| /' conftest.$ac_ext >&5 3592 3593 ac_cv_func_sigset=no 3594fi 3595 3596rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3597 conftest$ac_exeext conftest.$ac_ext 3598fi 3599{ echo "$as_me:$LINENO: result: $ac_cv_func_sigset" >&5 3600echo "${ECHO_T}$ac_cv_func_sigset" >&6; } 3601if test $ac_cv_func_sigset = yes; then 3602 3603cat >>confdefs.h <<\_ACEOF 3604#define HAS_SIGSET 3605_ACEOF 3606 3607fi 3608 3609{ echo "$as_me:$LINENO: checking for initgroups" >&5 3610echo $ECHO_N "checking for initgroups... $ECHO_C" >&6; } 3611if test "${ac_cv_func_initgroups+set}" = set; then 3612 echo $ECHO_N "(cached) $ECHO_C" >&6 3613else 3614 cat >conftest.$ac_ext <<_ACEOF 3615/* confdefs.h. */ 3616_ACEOF 3617cat confdefs.h >>conftest.$ac_ext 3618cat >>conftest.$ac_ext <<_ACEOF 3619/* end confdefs.h. */ 3620/* Define initgroups to an innocuous variant, in case <limits.h> declares initgroups. 3621 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3622#define initgroups innocuous_initgroups 3623 3624/* System header to define __stub macros and hopefully few prototypes, 3625 which can conflict with char initgroups (); below. 3626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3627 <limits.h> exists even on freestanding compilers. */ 3628 3629#ifdef __STDC__ 3630# include <limits.h> 3631#else 3632# include <assert.h> 3633#endif 3634 3635#undef initgroups 3636 3637/* Override any GCC internal prototype to avoid an error. 3638 Use char because int might match the return type of a GCC 3639 builtin and then its argument prototype would still apply. */ 3640#ifdef __cplusplus 3641extern "C" 3642#endif 3643char initgroups (); 3644/* The GNU C library defines this for functions which it implements 3645 to always fail with ENOSYS. Some functions are actually named 3646 something starting with __ and the normal name is an alias. */ 3647#if defined __stub_initgroups || defined __stub___initgroups 3648choke me 3649#endif 3650 3651int 3652main () 3653{ 3654return initgroups (); 3655 ; 3656 return 0; 3657} 3658_ACEOF 3659rm -f conftest.$ac_objext conftest$ac_exeext 3660if { (ac_try="$ac_link" 3661case "(($ac_try" in 3662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3663 *) ac_try_echo=$ac_try;; 3664esac 3665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3666 (eval "$ac_link") 2>conftest.er1 3667 ac_status=$? 3668 grep -v '^ *+' conftest.er1 >conftest.err 3669 rm -f conftest.er1 3670 cat conftest.err >&5 3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3672 (exit $ac_status); } && { 3673 test -z "$ac_c_werror_flag" || 3674 test ! -s conftest.err 3675 } && test -s conftest$ac_exeext && 3676 $as_test_x conftest$ac_exeext; then 3677 ac_cv_func_initgroups=yes 3678else 3679 echo "$as_me: failed program was:" >&5 3680sed 's/^/| /' conftest.$ac_ext >&5 3681 3682 ac_cv_func_initgroups=no 3683fi 3684 3685rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3686 conftest$ac_exeext conftest.$ac_ext 3687fi 3688{ echo "$as_me:$LINENO: result: $ac_cv_func_initgroups" >&5 3689echo "${ECHO_T}$ac_cv_func_initgroups" >&6; } 3690if test $ac_cv_func_initgroups = yes; then 3691 3692cat >>confdefs.h <<\_ACEOF 3693#define HAS_INITGROUPS 3694_ACEOF 3695 3696fi 3697 3698{ echo "$as_me:$LINENO: checking for setgroups" >&5 3699echo $ECHO_N "checking for setgroups... $ECHO_C" >&6; } 3700if test "${ac_cv_func_setgroups+set}" = set; then 3701 echo $ECHO_N "(cached) $ECHO_C" >&6 3702else 3703 cat >conftest.$ac_ext <<_ACEOF 3704/* confdefs.h. */ 3705_ACEOF 3706cat confdefs.h >>conftest.$ac_ext 3707cat >>conftest.$ac_ext <<_ACEOF 3708/* end confdefs.h. */ 3709/* Define setgroups to an innocuous variant, in case <limits.h> declares setgroups. 3710 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3711#define setgroups innocuous_setgroups 3712 3713/* System header to define __stub macros and hopefully few prototypes, 3714 which can conflict with char setgroups (); below. 3715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3716 <limits.h> exists even on freestanding compilers. */ 3717 3718#ifdef __STDC__ 3719# include <limits.h> 3720#else 3721# include <assert.h> 3722#endif 3723 3724#undef setgroups 3725 3726/* Override any GCC internal prototype to avoid an error. 3727 Use char because int might match the return type of a GCC 3728 builtin and then its argument prototype would still apply. */ 3729#ifdef __cplusplus 3730extern "C" 3731#endif 3732char setgroups (); 3733/* The GNU C library defines this for functions which it implements 3734 to always fail with ENOSYS. Some functions are actually named 3735 something starting with __ and the normal name is an alias. */ 3736#if defined __stub_setgroups || defined __stub___setgroups 3737choke me 3738#endif 3739 3740int 3741main () 3742{ 3743return setgroups (); 3744 ; 3745 return 0; 3746} 3747_ACEOF 3748rm -f conftest.$ac_objext conftest$ac_exeext 3749if { (ac_try="$ac_link" 3750case "(($ac_try" in 3751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3752 *) ac_try_echo=$ac_try;; 3753esac 3754eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3755 (eval "$ac_link") 2>conftest.er1 3756 ac_status=$? 3757 grep -v '^ *+' conftest.er1 >conftest.err 3758 rm -f conftest.er1 3759 cat conftest.err >&5 3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3761 (exit $ac_status); } && { 3762 test -z "$ac_c_werror_flag" || 3763 test ! -s conftest.err 3764 } && test -s conftest$ac_exeext && 3765 $as_test_x conftest$ac_exeext; then 3766 ac_cv_func_setgroups=yes 3767else 3768 echo "$as_me: failed program was:" >&5 3769sed 's/^/| /' conftest.$ac_ext >&5 3770 3771 ac_cv_func_setgroups=no 3772fi 3773 3774rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3775 conftest$ac_exeext conftest.$ac_ext 3776fi 3777{ echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5 3778echo "${ECHO_T}$ac_cv_func_setgroups" >&6; } 3779if test $ac_cv_func_setgroups = yes; then 3780 3781cat >>confdefs.h <<\_ACEOF 3782#define HAS_SETGROUPS 3783_ACEOF 3784 3785fi 3786 3787{ echo "$as_me:$LINENO: checking for getgroups" >&5 3788echo $ECHO_N "checking for getgroups... $ECHO_C" >&6; } 3789if test "${ac_cv_func_getgroups+set}" = set; then 3790 echo $ECHO_N "(cached) $ECHO_C" >&6 3791else 3792 cat >conftest.$ac_ext <<_ACEOF 3793/* confdefs.h. */ 3794_ACEOF 3795cat confdefs.h >>conftest.$ac_ext 3796cat >>conftest.$ac_ext <<_ACEOF 3797/* end confdefs.h. */ 3798/* Define getgroups to an innocuous variant, in case <limits.h> declares getgroups. 3799 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3800#define getgroups innocuous_getgroups 3801 3802/* System header to define __stub macros and hopefully few prototypes, 3803 which can conflict with char getgroups (); below. 3804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3805 <limits.h> exists even on freestanding compilers. */ 3806 3807#ifdef __STDC__ 3808# include <limits.h> 3809#else 3810# include <assert.h> 3811#endif 3812 3813#undef getgroups 3814 3815/* Override any GCC internal prototype to avoid an error. 3816 Use char because int might match the return type of a GCC 3817 builtin and then its argument prototype would still apply. */ 3818#ifdef __cplusplus 3819extern "C" 3820#endif 3821char getgroups (); 3822/* The GNU C library defines this for functions which it implements 3823 to always fail with ENOSYS. Some functions are actually named 3824 something starting with __ and the normal name is an alias. */ 3825#if defined __stub_getgroups || defined __stub___getgroups 3826choke me 3827#endif 3828 3829int 3830main () 3831{ 3832return getgroups (); 3833 ; 3834 return 0; 3835} 3836_ACEOF 3837rm -f conftest.$ac_objext conftest$ac_exeext 3838if { (ac_try="$ac_link" 3839case "(($ac_try" in 3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3841 *) ac_try_echo=$ac_try;; 3842esac 3843eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3844 (eval "$ac_link") 2>conftest.er1 3845 ac_status=$? 3846 grep -v '^ *+' conftest.er1 >conftest.err 3847 rm -f conftest.er1 3848 cat conftest.err >&5 3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3850 (exit $ac_status); } && { 3851 test -z "$ac_c_werror_flag" || 3852 test ! -s conftest.err 3853 } && test -s conftest$ac_exeext && 3854 $as_test_x conftest$ac_exeext; then 3855 ac_cv_func_getgroups=yes 3856else 3857 echo "$as_me: failed program was:" >&5 3858sed 's/^/| /' conftest.$ac_ext >&5 3859 3860 ac_cv_func_getgroups=no 3861fi 3862 3863rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3864 conftest$ac_exeext conftest.$ac_ext 3865fi 3866{ echo "$as_me:$LINENO: result: $ac_cv_func_getgroups" >&5 3867echo "${ECHO_T}$ac_cv_func_getgroups" >&6; } 3868if test $ac_cv_func_getgroups = yes; then 3869 3870cat >>confdefs.h <<\_ACEOF 3871#define HAS_GETGROUPS 3872_ACEOF 3873 3874fi 3875 3876{ echo "$as_me:$LINENO: checking for setgid" >&5 3877echo $ECHO_N "checking for setgid... $ECHO_C" >&6; } 3878if test "${ac_cv_func_setgid+set}" = set; then 3879 echo $ECHO_N "(cached) $ECHO_C" >&6 3880else 3881 cat >conftest.$ac_ext <<_ACEOF 3882/* confdefs.h. */ 3883_ACEOF 3884cat confdefs.h >>conftest.$ac_ext 3885cat >>conftest.$ac_ext <<_ACEOF 3886/* end confdefs.h. */ 3887/* Define setgid to an innocuous variant, in case <limits.h> declares setgid. 3888 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3889#define setgid innocuous_setgid 3890 3891/* System header to define __stub macros and hopefully few prototypes, 3892 which can conflict with char setgid (); below. 3893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3894 <limits.h> exists even on freestanding compilers. */ 3895 3896#ifdef __STDC__ 3897# include <limits.h> 3898#else 3899# include <assert.h> 3900#endif 3901 3902#undef setgid 3903 3904/* Override any GCC internal prototype to avoid an error. 3905 Use char because int might match the return type of a GCC 3906 builtin and then its argument prototype would still apply. */ 3907#ifdef __cplusplus 3908extern "C" 3909#endif 3910char setgid (); 3911/* The GNU C library defines this for functions which it implements 3912 to always fail with ENOSYS. Some functions are actually named 3913 something starting with __ and the normal name is an alias. */ 3914#if defined __stub_setgid || defined __stub___setgid 3915choke me 3916#endif 3917 3918int 3919main () 3920{ 3921return setgid (); 3922 ; 3923 return 0; 3924} 3925_ACEOF 3926rm -f conftest.$ac_objext conftest$ac_exeext 3927if { (ac_try="$ac_link" 3928case "(($ac_try" in 3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3930 *) ac_try_echo=$ac_try;; 3931esac 3932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3933 (eval "$ac_link") 2>conftest.er1 3934 ac_status=$? 3935 grep -v '^ *+' conftest.er1 >conftest.err 3936 rm -f conftest.er1 3937 cat conftest.err >&5 3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3939 (exit $ac_status); } && { 3940 test -z "$ac_c_werror_flag" || 3941 test ! -s conftest.err 3942 } && test -s conftest$ac_exeext && 3943 $as_test_x conftest$ac_exeext; then 3944 ac_cv_func_setgid=yes 3945else 3946 echo "$as_me: failed program was:" >&5 3947sed 's/^/| /' conftest.$ac_ext >&5 3948 3949 ac_cv_func_setgid=no 3950fi 3951 3952rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3953 conftest$ac_exeext conftest.$ac_ext 3954fi 3955{ echo "$as_me:$LINENO: result: $ac_cv_func_setgid" >&5 3956echo "${ECHO_T}$ac_cv_func_setgid" >&6; } 3957if test $ac_cv_func_setgid = yes; then 3958 3959cat >>confdefs.h <<\_ACEOF 3960#define HAS_SETGID 3961_ACEOF 3962 3963fi 3964 3965{ echo "$as_me:$LINENO: checking for setuid" >&5 3966echo $ECHO_N "checking for setuid... $ECHO_C" >&6; } 3967if test "${ac_cv_func_setuid+set}" = set; then 3968 echo $ECHO_N "(cached) $ECHO_C" >&6 3969else 3970 cat >conftest.$ac_ext <<_ACEOF 3971/* confdefs.h. */ 3972_ACEOF 3973cat confdefs.h >>conftest.$ac_ext 3974cat >>conftest.$ac_ext <<_ACEOF 3975/* end confdefs.h. */ 3976/* Define setuid to an innocuous variant, in case <limits.h> declares setuid. 3977 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3978#define setuid innocuous_setuid 3979 3980/* System header to define __stub macros and hopefully few prototypes, 3981 which can conflict with char setuid (); below. 3982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3983 <limits.h> exists even on freestanding compilers. */ 3984 3985#ifdef __STDC__ 3986# include <limits.h> 3987#else 3988# include <assert.h> 3989#endif 3990 3991#undef setuid 3992 3993/* Override any GCC internal prototype to avoid an error. 3994 Use char because int might match the return type of a GCC 3995 builtin and then its argument prototype would still apply. */ 3996#ifdef __cplusplus 3997extern "C" 3998#endif 3999char setuid (); 4000/* The GNU C library defines this for functions which it implements 4001 to always fail with ENOSYS. Some functions are actually named 4002 something starting with __ and the normal name is an alias. */ 4003#if defined __stub_setuid || defined __stub___setuid 4004choke me 4005#endif 4006 4007int 4008main () 4009{ 4010return setuid (); 4011 ; 4012 return 0; 4013} 4014_ACEOF 4015rm -f conftest.$ac_objext conftest$ac_exeext 4016if { (ac_try="$ac_link" 4017case "(($ac_try" in 4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4019 *) ac_try_echo=$ac_try;; 4020esac 4021eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4022 (eval "$ac_link") 2>conftest.er1 4023 ac_status=$? 4024 grep -v '^ *+' conftest.er1 >conftest.err 4025 rm -f conftest.er1 4026 cat conftest.err >&5 4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4028 (exit $ac_status); } && { 4029 test -z "$ac_c_werror_flag" || 4030 test ! -s conftest.err 4031 } && test -s conftest$ac_exeext && 4032 $as_test_x conftest$ac_exeext; then 4033 ac_cv_func_setuid=yes 4034else 4035 echo "$as_me: failed program was:" >&5 4036sed 's/^/| /' conftest.$ac_ext >&5 4037 4038 ac_cv_func_setuid=no 4039fi 4040 4041rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4042 conftest$ac_exeext conftest.$ac_ext 4043fi 4044{ echo "$as_me:$LINENO: result: $ac_cv_func_setuid" >&5 4045echo "${ECHO_T}$ac_cv_func_setuid" >&6; } 4046if test $ac_cv_func_setuid = yes; then 4047 4048cat >>confdefs.h <<\_ACEOF 4049#define HAS_SETUID 4050_ACEOF 4051 4052fi 4053 4054{ echo "$as_me:$LINENO: checking for setegid" >&5 4055echo $ECHO_N "checking for setegid... $ECHO_C" >&6; } 4056if test "${ac_cv_func_setegid+set}" = set; then 4057 echo $ECHO_N "(cached) $ECHO_C" >&6 4058else 4059 cat >conftest.$ac_ext <<_ACEOF 4060/* confdefs.h. */ 4061_ACEOF 4062cat confdefs.h >>conftest.$ac_ext 4063cat >>conftest.$ac_ext <<_ACEOF 4064/* end confdefs.h. */ 4065/* Define setegid to an innocuous variant, in case <limits.h> declares setegid. 4066 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4067#define setegid innocuous_setegid 4068 4069/* System header to define __stub macros and hopefully few prototypes, 4070 which can conflict with char setegid (); below. 4071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4072 <limits.h> exists even on freestanding compilers. */ 4073 4074#ifdef __STDC__ 4075# include <limits.h> 4076#else 4077# include <assert.h> 4078#endif 4079 4080#undef setegid 4081 4082/* Override any GCC internal prototype to avoid an error. 4083 Use char because int might match the return type of a GCC 4084 builtin and then its argument prototype would still apply. */ 4085#ifdef __cplusplus 4086extern "C" 4087#endif 4088char setegid (); 4089/* The GNU C library defines this for functions which it implements 4090 to always fail with ENOSYS. Some functions are actually named 4091 something starting with __ and the normal name is an alias. */ 4092#if defined __stub_setegid || defined __stub___setegid 4093choke me 4094#endif 4095 4096int 4097main () 4098{ 4099return setegid (); 4100 ; 4101 return 0; 4102} 4103_ACEOF 4104rm -f conftest.$ac_objext conftest$ac_exeext 4105if { (ac_try="$ac_link" 4106case "(($ac_try" in 4107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4108 *) ac_try_echo=$ac_try;; 4109esac 4110eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4111 (eval "$ac_link") 2>conftest.er1 4112 ac_status=$? 4113 grep -v '^ *+' conftest.er1 >conftest.err 4114 rm -f conftest.er1 4115 cat conftest.err >&5 4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4117 (exit $ac_status); } && { 4118 test -z "$ac_c_werror_flag" || 4119 test ! -s conftest.err 4120 } && test -s conftest$ac_exeext && 4121 $as_test_x conftest$ac_exeext; then 4122 ac_cv_func_setegid=yes 4123else 4124 echo "$as_me: failed program was:" >&5 4125sed 's/^/| /' conftest.$ac_ext >&5 4126 4127 ac_cv_func_setegid=no 4128fi 4129 4130rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4131 conftest$ac_exeext conftest.$ac_ext 4132fi 4133{ echo "$as_me:$LINENO: result: $ac_cv_func_setegid" >&5 4134echo "${ECHO_T}$ac_cv_func_setegid" >&6; } 4135if test $ac_cv_func_setegid = yes; then 4136 4137cat >>confdefs.h <<\_ACEOF 4138#define HAS_SETEGID 4139_ACEOF 4140 4141fi 4142 4143{ echo "$as_me:$LINENO: checking for seteuid" >&5 4144echo $ECHO_N "checking for seteuid... $ECHO_C" >&6; } 4145if test "${ac_cv_func_seteuid+set}" = set; then 4146 echo $ECHO_N "(cached) $ECHO_C" >&6 4147else 4148 cat >conftest.$ac_ext <<_ACEOF 4149/* confdefs.h. */ 4150_ACEOF 4151cat confdefs.h >>conftest.$ac_ext 4152cat >>conftest.$ac_ext <<_ACEOF 4153/* end confdefs.h. */ 4154/* Define seteuid to an innocuous variant, in case <limits.h> declares seteuid. 4155 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4156#define seteuid innocuous_seteuid 4157 4158/* System header to define __stub macros and hopefully few prototypes, 4159 which can conflict with char seteuid (); below. 4160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4161 <limits.h> exists even on freestanding compilers. */ 4162 4163#ifdef __STDC__ 4164# include <limits.h> 4165#else 4166# include <assert.h> 4167#endif 4168 4169#undef seteuid 4170 4171/* Override any GCC internal prototype to avoid an error. 4172 Use char because int might match the return type of a GCC 4173 builtin and then its argument prototype would still apply. */ 4174#ifdef __cplusplus 4175extern "C" 4176#endif 4177char seteuid (); 4178/* The GNU C library defines this for functions which it implements 4179 to always fail with ENOSYS. Some functions are actually named 4180 something starting with __ and the normal name is an alias. */ 4181#if defined __stub_seteuid || defined __stub___seteuid 4182choke me 4183#endif 4184 4185int 4186main () 4187{ 4188return seteuid (); 4189 ; 4190 return 0; 4191} 4192_ACEOF 4193rm -f conftest.$ac_objext conftest$ac_exeext 4194if { (ac_try="$ac_link" 4195case "(($ac_try" in 4196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4197 *) ac_try_echo=$ac_try;; 4198esac 4199eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4200 (eval "$ac_link") 2>conftest.er1 4201 ac_status=$? 4202 grep -v '^ *+' conftest.er1 >conftest.err 4203 rm -f conftest.er1 4204 cat conftest.err >&5 4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4206 (exit $ac_status); } && { 4207 test -z "$ac_c_werror_flag" || 4208 test ! -s conftest.err 4209 } && test -s conftest$ac_exeext && 4210 $as_test_x conftest$ac_exeext; then 4211 ac_cv_func_seteuid=yes 4212else 4213 echo "$as_me: failed program was:" >&5 4214sed 's/^/| /' conftest.$ac_ext >&5 4215 4216 ac_cv_func_seteuid=no 4217fi 4218 4219rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4220 conftest$ac_exeext conftest.$ac_ext 4221fi 4222{ echo "$as_me:$LINENO: result: $ac_cv_func_seteuid" >&5 4223echo "${ECHO_T}$ac_cv_func_seteuid" >&6; } 4224if test $ac_cv_func_seteuid = yes; then 4225 4226cat >>confdefs.h <<\_ACEOF 4227#define HAS_SETEUID 4228_ACEOF 4229 4230fi 4231 4232{ echo "$as_me:$LINENO: checking for setrgid" >&5 4233echo $ECHO_N "checking for setrgid... $ECHO_C" >&6; } 4234if test "${ac_cv_func_setrgid+set}" = set; then 4235 echo $ECHO_N "(cached) $ECHO_C" >&6 4236else 4237 cat >conftest.$ac_ext <<_ACEOF 4238/* confdefs.h. */ 4239_ACEOF 4240cat confdefs.h >>conftest.$ac_ext 4241cat >>conftest.$ac_ext <<_ACEOF 4242/* end confdefs.h. */ 4243/* Define setrgid to an innocuous variant, in case <limits.h> declares setrgid. 4244 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4245#define setrgid innocuous_setrgid 4246 4247/* System header to define __stub macros and hopefully few prototypes, 4248 which can conflict with char setrgid (); below. 4249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4250 <limits.h> exists even on freestanding compilers. */ 4251 4252#ifdef __STDC__ 4253# include <limits.h> 4254#else 4255# include <assert.h> 4256#endif 4257 4258#undef setrgid 4259 4260/* Override any GCC internal prototype to avoid an error. 4261 Use char because int might match the return type of a GCC 4262 builtin and then its argument prototype would still apply. */ 4263#ifdef __cplusplus 4264extern "C" 4265#endif 4266char setrgid (); 4267/* The GNU C library defines this for functions which it implements 4268 to always fail with ENOSYS. Some functions are actually named 4269 something starting with __ and the normal name is an alias. */ 4270#if defined __stub_setrgid || defined __stub___setrgid 4271choke me 4272#endif 4273 4274int 4275main () 4276{ 4277return setrgid (); 4278 ; 4279 return 0; 4280} 4281_ACEOF 4282rm -f conftest.$ac_objext conftest$ac_exeext 4283if { (ac_try="$ac_link" 4284case "(($ac_try" in 4285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4286 *) ac_try_echo=$ac_try;; 4287esac 4288eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4289 (eval "$ac_link") 2>conftest.er1 4290 ac_status=$? 4291 grep -v '^ *+' conftest.er1 >conftest.err 4292 rm -f conftest.er1 4293 cat conftest.err >&5 4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4295 (exit $ac_status); } && { 4296 test -z "$ac_c_werror_flag" || 4297 test ! -s conftest.err 4298 } && test -s conftest$ac_exeext && 4299 $as_test_x conftest$ac_exeext; then 4300 ac_cv_func_setrgid=yes 4301else 4302 echo "$as_me: failed program was:" >&5 4303sed 's/^/| /' conftest.$ac_ext >&5 4304 4305 ac_cv_func_setrgid=no 4306fi 4307 4308rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4309 conftest$ac_exeext conftest.$ac_ext 4310fi 4311{ echo "$as_me:$LINENO: result: $ac_cv_func_setrgid" >&5 4312echo "${ECHO_T}$ac_cv_func_setrgid" >&6; } 4313if test $ac_cv_func_setrgid = yes; then 4314 4315cat >>confdefs.h <<\_ACEOF 4316#define HAS_SETRGID 4317_ACEOF 4318 4319fi 4320 4321{ echo "$as_me:$LINENO: checking for setruid" >&5 4322echo $ECHO_N "checking for setruid... $ECHO_C" >&6; } 4323if test "${ac_cv_func_setruid+set}" = set; then 4324 echo $ECHO_N "(cached) $ECHO_C" >&6 4325else 4326 cat >conftest.$ac_ext <<_ACEOF 4327/* confdefs.h. */ 4328_ACEOF 4329cat confdefs.h >>conftest.$ac_ext 4330cat >>conftest.$ac_ext <<_ACEOF 4331/* end confdefs.h. */ 4332/* Define setruid to an innocuous variant, in case <limits.h> declares setruid. 4333 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4334#define setruid innocuous_setruid 4335 4336/* System header to define __stub macros and hopefully few prototypes, 4337 which can conflict with char setruid (); below. 4338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4339 <limits.h> exists even on freestanding compilers. */ 4340 4341#ifdef __STDC__ 4342# include <limits.h> 4343#else 4344# include <assert.h> 4345#endif 4346 4347#undef setruid 4348 4349/* Override any GCC internal prototype to avoid an error. 4350 Use char because int might match the return type of a GCC 4351 builtin and then its argument prototype would still apply. */ 4352#ifdef __cplusplus 4353extern "C" 4354#endif 4355char setruid (); 4356/* The GNU C library defines this for functions which it implements 4357 to always fail with ENOSYS. Some functions are actually named 4358 something starting with __ and the normal name is an alias. */ 4359#if defined __stub_setruid || defined __stub___setruid 4360choke me 4361#endif 4362 4363int 4364main () 4365{ 4366return setruid (); 4367 ; 4368 return 0; 4369} 4370_ACEOF 4371rm -f conftest.$ac_objext conftest$ac_exeext 4372if { (ac_try="$ac_link" 4373case "(($ac_try" in 4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4375 *) ac_try_echo=$ac_try;; 4376esac 4377eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4378 (eval "$ac_link") 2>conftest.er1 4379 ac_status=$? 4380 grep -v '^ *+' conftest.er1 >conftest.err 4381 rm -f conftest.er1 4382 cat conftest.err >&5 4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4384 (exit $ac_status); } && { 4385 test -z "$ac_c_werror_flag" || 4386 test ! -s conftest.err 4387 } && test -s conftest$ac_exeext && 4388 $as_test_x conftest$ac_exeext; then 4389 ac_cv_func_setruid=yes 4390else 4391 echo "$as_me: failed program was:" >&5 4392sed 's/^/| /' conftest.$ac_ext >&5 4393 4394 ac_cv_func_setruid=no 4395fi 4396 4397rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4398 conftest$ac_exeext conftest.$ac_ext 4399fi 4400{ echo "$as_me:$LINENO: result: $ac_cv_func_setruid" >&5 4401echo "${ECHO_T}$ac_cv_func_setruid" >&6; } 4402if test $ac_cv_func_setruid = yes; then 4403 4404cat >>confdefs.h <<\_ACEOF 4405#define HAS_SETRUID 4406_ACEOF 4407 4408fi 4409 4410{ echo "$as_me:$LINENO: checking for setregid" >&5 4411echo $ECHO_N "checking for setregid... $ECHO_C" >&6; } 4412if test "${ac_cv_func_setregid+set}" = set; then 4413 echo $ECHO_N "(cached) $ECHO_C" >&6 4414else 4415 cat >conftest.$ac_ext <<_ACEOF 4416/* confdefs.h. */ 4417_ACEOF 4418cat confdefs.h >>conftest.$ac_ext 4419cat >>conftest.$ac_ext <<_ACEOF 4420/* end confdefs.h. */ 4421/* Define setregid to an innocuous variant, in case <limits.h> declares setregid. 4422 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4423#define setregid innocuous_setregid 4424 4425/* System header to define __stub macros and hopefully few prototypes, 4426 which can conflict with char setregid (); below. 4427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4428 <limits.h> exists even on freestanding compilers. */ 4429 4430#ifdef __STDC__ 4431# include <limits.h> 4432#else 4433# include <assert.h> 4434#endif 4435 4436#undef setregid 4437 4438/* Override any GCC internal prototype to avoid an error. 4439 Use char because int might match the return type of a GCC 4440 builtin and then its argument prototype would still apply. */ 4441#ifdef __cplusplus 4442extern "C" 4443#endif 4444char setregid (); 4445/* The GNU C library defines this for functions which it implements 4446 to always fail with ENOSYS. Some functions are actually named 4447 something starting with __ and the normal name is an alias. */ 4448#if defined __stub_setregid || defined __stub___setregid 4449choke me 4450#endif 4451 4452int 4453main () 4454{ 4455return setregid (); 4456 ; 4457 return 0; 4458} 4459_ACEOF 4460rm -f conftest.$ac_objext conftest$ac_exeext 4461if { (ac_try="$ac_link" 4462case "(($ac_try" in 4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4464 *) ac_try_echo=$ac_try;; 4465esac 4466eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4467 (eval "$ac_link") 2>conftest.er1 4468 ac_status=$? 4469 grep -v '^ *+' conftest.er1 >conftest.err 4470 rm -f conftest.er1 4471 cat conftest.err >&5 4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4473 (exit $ac_status); } && { 4474 test -z "$ac_c_werror_flag" || 4475 test ! -s conftest.err 4476 } && test -s conftest$ac_exeext && 4477 $as_test_x conftest$ac_exeext; then 4478 ac_cv_func_setregid=yes 4479else 4480 echo "$as_me: failed program was:" >&5 4481sed 's/^/| /' conftest.$ac_ext >&5 4482 4483 ac_cv_func_setregid=no 4484fi 4485 4486rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4487 conftest$ac_exeext conftest.$ac_ext 4488fi 4489{ echo "$as_me:$LINENO: result: $ac_cv_func_setregid" >&5 4490echo "${ECHO_T}$ac_cv_func_setregid" >&6; } 4491if test $ac_cv_func_setregid = yes; then 4492 4493cat >>confdefs.h <<\_ACEOF 4494#define HAS_SETREGID 4495_ACEOF 4496 4497fi 4498 4499{ echo "$as_me:$LINENO: checking for setreuid" >&5 4500echo $ECHO_N "checking for setreuid... $ECHO_C" >&6; } 4501if test "${ac_cv_func_setreuid+set}" = set; then 4502 echo $ECHO_N "(cached) $ECHO_C" >&6 4503else 4504 cat >conftest.$ac_ext <<_ACEOF 4505/* confdefs.h. */ 4506_ACEOF 4507cat confdefs.h >>conftest.$ac_ext 4508cat >>conftest.$ac_ext <<_ACEOF 4509/* end confdefs.h. */ 4510/* Define setreuid to an innocuous variant, in case <limits.h> declares setreuid. 4511 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4512#define setreuid innocuous_setreuid 4513 4514/* System header to define __stub macros and hopefully few prototypes, 4515 which can conflict with char setreuid (); below. 4516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4517 <limits.h> exists even on freestanding compilers. */ 4518 4519#ifdef __STDC__ 4520# include <limits.h> 4521#else 4522# include <assert.h> 4523#endif 4524 4525#undef setreuid 4526 4527/* Override any GCC internal prototype to avoid an error. 4528 Use char because int might match the return type of a GCC 4529 builtin and then its argument prototype would still apply. */ 4530#ifdef __cplusplus 4531extern "C" 4532#endif 4533char setreuid (); 4534/* The GNU C library defines this for functions which it implements 4535 to always fail with ENOSYS. Some functions are actually named 4536 something starting with __ and the normal name is an alias. */ 4537#if defined __stub_setreuid || defined __stub___setreuid 4538choke me 4539#endif 4540 4541int 4542main () 4543{ 4544return setreuid (); 4545 ; 4546 return 0; 4547} 4548_ACEOF 4549rm -f conftest.$ac_objext conftest$ac_exeext 4550if { (ac_try="$ac_link" 4551case "(($ac_try" in 4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4553 *) ac_try_echo=$ac_try;; 4554esac 4555eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4556 (eval "$ac_link") 2>conftest.er1 4557 ac_status=$? 4558 grep -v '^ *+' conftest.er1 >conftest.err 4559 rm -f conftest.er1 4560 cat conftest.err >&5 4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4562 (exit $ac_status); } && { 4563 test -z "$ac_c_werror_flag" || 4564 test ! -s conftest.err 4565 } && test -s conftest$ac_exeext && 4566 $as_test_x conftest$ac_exeext; then 4567 ac_cv_func_setreuid=yes 4568else 4569 echo "$as_me: failed program was:" >&5 4570sed 's/^/| /' conftest.$ac_ext >&5 4571 4572 ac_cv_func_setreuid=no 4573fi 4574 4575rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4576 conftest$ac_exeext conftest.$ac_ext 4577fi 4578{ echo "$as_me:$LINENO: result: $ac_cv_func_setreuid" >&5 4579echo "${ECHO_T}$ac_cv_func_setreuid" >&6; } 4580if test $ac_cv_func_setreuid = yes; then 4581 4582cat >>confdefs.h <<\_ACEOF 4583#define HAS_SETREUID 4584_ACEOF 4585 4586fi 4587 4588{ echo "$as_me:$LINENO: checking for setresgid" >&5 4589echo $ECHO_N "checking for setresgid... $ECHO_C" >&6; } 4590if test "${ac_cv_func_setresgid+set}" = set; then 4591 echo $ECHO_N "(cached) $ECHO_C" >&6 4592else 4593 cat >conftest.$ac_ext <<_ACEOF 4594/* confdefs.h. */ 4595_ACEOF 4596cat confdefs.h >>conftest.$ac_ext 4597cat >>conftest.$ac_ext <<_ACEOF 4598/* end confdefs.h. */ 4599/* Define setresgid to an innocuous variant, in case <limits.h> declares setresgid. 4600 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4601#define setresgid innocuous_setresgid 4602 4603/* System header to define __stub macros and hopefully few prototypes, 4604 which can conflict with char setresgid (); below. 4605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4606 <limits.h> exists even on freestanding compilers. */ 4607 4608#ifdef __STDC__ 4609# include <limits.h> 4610#else 4611# include <assert.h> 4612#endif 4613 4614#undef setresgid 4615 4616/* Override any GCC internal prototype to avoid an error. 4617 Use char because int might match the return type of a GCC 4618 builtin and then its argument prototype would still apply. */ 4619#ifdef __cplusplus 4620extern "C" 4621#endif 4622char setresgid (); 4623/* The GNU C library defines this for functions which it implements 4624 to always fail with ENOSYS. Some functions are actually named 4625 something starting with __ and the normal name is an alias. */ 4626#if defined __stub_setresgid || defined __stub___setresgid 4627choke me 4628#endif 4629 4630int 4631main () 4632{ 4633return setresgid (); 4634 ; 4635 return 0; 4636} 4637_ACEOF 4638rm -f conftest.$ac_objext conftest$ac_exeext 4639if { (ac_try="$ac_link" 4640case "(($ac_try" in 4641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4642 *) ac_try_echo=$ac_try;; 4643esac 4644eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4645 (eval "$ac_link") 2>conftest.er1 4646 ac_status=$? 4647 grep -v '^ *+' conftest.er1 >conftest.err 4648 rm -f conftest.er1 4649 cat conftest.err >&5 4650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4651 (exit $ac_status); } && { 4652 test -z "$ac_c_werror_flag" || 4653 test ! -s conftest.err 4654 } && test -s conftest$ac_exeext && 4655 $as_test_x conftest$ac_exeext; then 4656 ac_cv_func_setresgid=yes 4657else 4658 echo "$as_me: failed program was:" >&5 4659sed 's/^/| /' conftest.$ac_ext >&5 4660 4661 ac_cv_func_setresgid=no 4662fi 4663 4664rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4665 conftest$ac_exeext conftest.$ac_ext 4666fi 4667{ echo "$as_me:$LINENO: result: $ac_cv_func_setresgid" >&5 4668echo "${ECHO_T}$ac_cv_func_setresgid" >&6; } 4669if test $ac_cv_func_setresgid = yes; then 4670 4671cat >>confdefs.h <<\_ACEOF 4672#define HAS_SETRESGID 4673_ACEOF 4674 4675fi 4676 4677{ echo "$as_me:$LINENO: checking for setresuid" >&5 4678echo $ECHO_N "checking for setresuid... $ECHO_C" >&6; } 4679if test "${ac_cv_func_setresuid+set}" = set; then 4680 echo $ECHO_N "(cached) $ECHO_C" >&6 4681else 4682 cat >conftest.$ac_ext <<_ACEOF 4683/* confdefs.h. */ 4684_ACEOF 4685cat confdefs.h >>conftest.$ac_ext 4686cat >>conftest.$ac_ext <<_ACEOF 4687/* end confdefs.h. */ 4688/* Define setresuid to an innocuous variant, in case <limits.h> declares setresuid. 4689 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4690#define setresuid innocuous_setresuid 4691 4692/* System header to define __stub macros and hopefully few prototypes, 4693 which can conflict with char setresuid (); below. 4694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4695 <limits.h> exists even on freestanding compilers. */ 4696 4697#ifdef __STDC__ 4698# include <limits.h> 4699#else 4700# include <assert.h> 4701#endif 4702 4703#undef setresuid 4704 4705/* Override any GCC internal prototype to avoid an error. 4706 Use char because int might match the return type of a GCC 4707 builtin and then its argument prototype would still apply. */ 4708#ifdef __cplusplus 4709extern "C" 4710#endif 4711char setresuid (); 4712/* The GNU C library defines this for functions which it implements 4713 to always fail with ENOSYS. Some functions are actually named 4714 something starting with __ and the normal name is an alias. */ 4715#if defined __stub_setresuid || defined __stub___setresuid 4716choke me 4717#endif 4718 4719int 4720main () 4721{ 4722return setresuid (); 4723 ; 4724 return 0; 4725} 4726_ACEOF 4727rm -f conftest.$ac_objext conftest$ac_exeext 4728if { (ac_try="$ac_link" 4729case "(($ac_try" in 4730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4731 *) ac_try_echo=$ac_try;; 4732esac 4733eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4734 (eval "$ac_link") 2>conftest.er1 4735 ac_status=$? 4736 grep -v '^ *+' conftest.er1 >conftest.err 4737 rm -f conftest.er1 4738 cat conftest.err >&5 4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4740 (exit $ac_status); } && { 4741 test -z "$ac_c_werror_flag" || 4742 test ! -s conftest.err 4743 } && test -s conftest$ac_exeext && 4744 $as_test_x conftest$ac_exeext; then 4745 ac_cv_func_setresuid=yes 4746else 4747 echo "$as_me: failed program was:" >&5 4748sed 's/^/| /' conftest.$ac_ext >&5 4749 4750 ac_cv_func_setresuid=no 4751fi 4752 4753rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4754 conftest$ac_exeext conftest.$ac_ext 4755fi 4756{ echo "$as_me:$LINENO: result: $ac_cv_func_setresuid" >&5 4757echo "${ECHO_T}$ac_cv_func_setresuid" >&6; } 4758if test $ac_cv_func_setresuid = yes; then 4759 4760cat >>confdefs.h <<\_ACEOF 4761#define HAS_SETRESUID 4762_ACEOF 4763 4764fi 4765 4766{ echo "$as_me:$LINENO: checking for perror" >&5 4767echo $ECHO_N "checking for perror... $ECHO_C" >&6; } 4768if test "${ac_cv_func_perror+set}" = set; then 4769 echo $ECHO_N "(cached) $ECHO_C" >&6 4770else 4771 cat >conftest.$ac_ext <<_ACEOF 4772/* confdefs.h. */ 4773_ACEOF 4774cat confdefs.h >>conftest.$ac_ext 4775cat >>conftest.$ac_ext <<_ACEOF 4776/* end confdefs.h. */ 4777/* Define perror to an innocuous variant, in case <limits.h> declares perror. 4778 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4779#define perror innocuous_perror 4780 4781/* System header to define __stub macros and hopefully few prototypes, 4782 which can conflict with char perror (); below. 4783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4784 <limits.h> exists even on freestanding compilers. */ 4785 4786#ifdef __STDC__ 4787# include <limits.h> 4788#else 4789# include <assert.h> 4790#endif 4791 4792#undef perror 4793 4794/* Override any GCC internal prototype to avoid an error. 4795 Use char because int might match the return type of a GCC 4796 builtin and then its argument prototype would still apply. */ 4797#ifdef __cplusplus 4798extern "C" 4799#endif 4800char perror (); 4801/* The GNU C library defines this for functions which it implements 4802 to always fail with ENOSYS. Some functions are actually named 4803 something starting with __ and the normal name is an alias. */ 4804#if defined __stub_perror || defined __stub___perror 4805choke me 4806#endif 4807 4808int 4809main () 4810{ 4811return perror (); 4812 ; 4813 return 0; 4814} 4815_ACEOF 4816rm -f conftest.$ac_objext conftest$ac_exeext 4817if { (ac_try="$ac_link" 4818case "(($ac_try" in 4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4820 *) ac_try_echo=$ac_try;; 4821esac 4822eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4823 (eval "$ac_link") 2>conftest.er1 4824 ac_status=$? 4825 grep -v '^ *+' conftest.er1 >conftest.err 4826 rm -f conftest.er1 4827 cat conftest.err >&5 4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4829 (exit $ac_status); } && { 4830 test -z "$ac_c_werror_flag" || 4831 test ! -s conftest.err 4832 } && test -s conftest$ac_exeext && 4833 $as_test_x conftest$ac_exeext; then 4834 ac_cv_func_perror=yes 4835else 4836 echo "$as_me: failed program was:" >&5 4837sed 's/^/| /' conftest.$ac_ext >&5 4838 4839 ac_cv_func_perror=no 4840fi 4841 4842rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4843 conftest$ac_exeext conftest.$ac_ext 4844fi 4845{ echo "$as_me:$LINENO: result: $ac_cv_func_perror" >&5 4846echo "${ECHO_T}$ac_cv_func_perror" >&6; } 4847if test $ac_cv_func_perror = yes; then 4848 4849cat >>confdefs.h <<\_ACEOF 4850#define HAS_PERROR 4851_ACEOF 4852 4853fi 4854 4855{ echo "$as_me:$LINENO: checking for strerror" >&5 4856echo $ECHO_N "checking for strerror... $ECHO_C" >&6; } 4857if test "${ac_cv_func_strerror+set}" = set; then 4858 echo $ECHO_N "(cached) $ECHO_C" >&6 4859else 4860 cat >conftest.$ac_ext <<_ACEOF 4861/* confdefs.h. */ 4862_ACEOF 4863cat confdefs.h >>conftest.$ac_ext 4864cat >>conftest.$ac_ext <<_ACEOF 4865/* end confdefs.h. */ 4866/* Define strerror to an innocuous variant, in case <limits.h> declares strerror. 4867 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4868#define strerror innocuous_strerror 4869 4870/* System header to define __stub macros and hopefully few prototypes, 4871 which can conflict with char strerror (); below. 4872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4873 <limits.h> exists even on freestanding compilers. */ 4874 4875#ifdef __STDC__ 4876# include <limits.h> 4877#else 4878# include <assert.h> 4879#endif 4880 4881#undef strerror 4882 4883/* Override any GCC internal prototype to avoid an error. 4884 Use char because int might match the return type of a GCC 4885 builtin and then its argument prototype would still apply. */ 4886#ifdef __cplusplus 4887extern "C" 4888#endif 4889char strerror (); 4890/* The GNU C library defines this for functions which it implements 4891 to always fail with ENOSYS. Some functions are actually named 4892 something starting with __ and the normal name is an alias. */ 4893#if defined __stub_strerror || defined __stub___strerror 4894choke me 4895#endif 4896 4897int 4898main () 4899{ 4900return strerror (); 4901 ; 4902 return 0; 4903} 4904_ACEOF 4905rm -f conftest.$ac_objext conftest$ac_exeext 4906if { (ac_try="$ac_link" 4907case "(($ac_try" in 4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4909 *) ac_try_echo=$ac_try;; 4910esac 4911eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4912 (eval "$ac_link") 2>conftest.er1 4913 ac_status=$? 4914 grep -v '^ *+' conftest.er1 >conftest.err 4915 rm -f conftest.er1 4916 cat conftest.err >&5 4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4918 (exit $ac_status); } && { 4919 test -z "$ac_c_werror_flag" || 4920 test ! -s conftest.err 4921 } && test -s conftest$ac_exeext && 4922 $as_test_x conftest$ac_exeext; then 4923 ac_cv_func_strerror=yes 4924else 4925 echo "$as_me: failed program was:" >&5 4926sed 's/^/| /' conftest.$ac_ext >&5 4927 4928 ac_cv_func_strerror=no 4929fi 4930 4931rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4932 conftest$ac_exeext conftest.$ac_ext 4933fi 4934{ echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5 4935echo "${ECHO_T}$ac_cv_func_strerror" >&6; } 4936if test $ac_cv_func_strerror = yes; then 4937 4938cat >>confdefs.h <<\_ACEOF 4939#define HAS_STRERROR 4940_ACEOF 4941 4942fi 4943 4944{ echo "$as_me:$LINENO: checking for strdup" >&5 4945echo $ECHO_N "checking for strdup... $ECHO_C" >&6; } 4946if test "${ac_cv_func_strdup+set}" = set; then 4947 echo $ECHO_N "(cached) $ECHO_C" >&6 4948else 4949 cat >conftest.$ac_ext <<_ACEOF 4950/* confdefs.h. */ 4951_ACEOF 4952cat confdefs.h >>conftest.$ac_ext 4953cat >>conftest.$ac_ext <<_ACEOF 4954/* end confdefs.h. */ 4955/* Define strdup to an innocuous variant, in case <limits.h> declares strdup. 4956 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4957#define strdup innocuous_strdup 4958 4959/* System header to define __stub macros and hopefully few prototypes, 4960 which can conflict with char strdup (); below. 4961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4962 <limits.h> exists even on freestanding compilers. */ 4963 4964#ifdef __STDC__ 4965# include <limits.h> 4966#else 4967# include <assert.h> 4968#endif 4969 4970#undef strdup 4971 4972/* Override any GCC internal prototype to avoid an error. 4973 Use char because int might match the return type of a GCC 4974 builtin and then its argument prototype would still apply. */ 4975#ifdef __cplusplus 4976extern "C" 4977#endif 4978char strdup (); 4979/* The GNU C library defines this for functions which it implements 4980 to always fail with ENOSYS. Some functions are actually named 4981 something starting with __ and the normal name is an alias. */ 4982#if defined __stub_strdup || defined __stub___strdup 4983choke me 4984#endif 4985 4986int 4987main () 4988{ 4989return strdup (); 4990 ; 4991 return 0; 4992} 4993_ACEOF 4994rm -f conftest.$ac_objext conftest$ac_exeext 4995if { (ac_try="$ac_link" 4996case "(($ac_try" in 4997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4998 *) ac_try_echo=$ac_try;; 4999esac 5000eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5001 (eval "$ac_link") 2>conftest.er1 5002 ac_status=$? 5003 grep -v '^ *+' conftest.er1 >conftest.err 5004 rm -f conftest.er1 5005 cat conftest.err >&5 5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5007 (exit $ac_status); } && { 5008 test -z "$ac_c_werror_flag" || 5009 test ! -s conftest.err 5010 } && test -s conftest$ac_exeext && 5011 $as_test_x conftest$ac_exeext; then 5012 ac_cv_func_strdup=yes 5013else 5014 echo "$as_me: failed program was:" >&5 5015sed 's/^/| /' conftest.$ac_ext >&5 5016 5017 ac_cv_func_strdup=no 5018fi 5019 5020rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5021 conftest$ac_exeext conftest.$ac_ext 5022fi 5023{ echo "$as_me:$LINENO: result: $ac_cv_func_strdup" >&5 5024echo "${ECHO_T}$ac_cv_func_strdup" >&6; } 5025if test $ac_cv_func_strdup = yes; then 5026 5027cat >>confdefs.h <<\_ACEOF 5028#define HAS_STRDUP 5029_ACEOF 5030 5031fi 5032 5033{ echo "$as_me:$LINENO: checking for syslog" >&5 5034echo $ECHO_N "checking for syslog... $ECHO_C" >&6; } 5035if test "${ac_cv_func_syslog+set}" = set; then 5036 echo $ECHO_N "(cached) $ECHO_C" >&6 5037else 5038 cat >conftest.$ac_ext <<_ACEOF 5039/* confdefs.h. */ 5040_ACEOF 5041cat confdefs.h >>conftest.$ac_ext 5042cat >>conftest.$ac_ext <<_ACEOF 5043/* end confdefs.h. */ 5044/* Define syslog to an innocuous variant, in case <limits.h> declares syslog. 5045 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5046#define syslog innocuous_syslog 5047 5048/* System header to define __stub macros and hopefully few prototypes, 5049 which can conflict with char syslog (); below. 5050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5051 <limits.h> exists even on freestanding compilers. */ 5052 5053#ifdef __STDC__ 5054# include <limits.h> 5055#else 5056# include <assert.h> 5057#endif 5058 5059#undef syslog 5060 5061/* Override any GCC internal prototype to avoid an error. 5062 Use char because int might match the return type of a GCC 5063 builtin and then its argument prototype would still apply. */ 5064#ifdef __cplusplus 5065extern "C" 5066#endif 5067char syslog (); 5068/* The GNU C library defines this for functions which it implements 5069 to always fail with ENOSYS. Some functions are actually named 5070 something starting with __ and the normal name is an alias. */ 5071#if defined __stub_syslog || defined __stub___syslog 5072choke me 5073#endif 5074 5075int 5076main () 5077{ 5078return syslog (); 5079 ; 5080 return 0; 5081} 5082_ACEOF 5083rm -f conftest.$ac_objext conftest$ac_exeext 5084if { (ac_try="$ac_link" 5085case "(($ac_try" in 5086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5087 *) ac_try_echo=$ac_try;; 5088esac 5089eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5090 (eval "$ac_link") 2>conftest.er1 5091 ac_status=$? 5092 grep -v '^ *+' conftest.er1 >conftest.err 5093 rm -f conftest.er1 5094 cat conftest.err >&5 5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5096 (exit $ac_status); } && { 5097 test -z "$ac_c_werror_flag" || 5098 test ! -s conftest.err 5099 } && test -s conftest$ac_exeext && 5100 $as_test_x conftest$ac_exeext; then 5101 ac_cv_func_syslog=yes 5102else 5103 echo "$as_me: failed program was:" >&5 5104sed 's/^/| /' conftest.$ac_ext >&5 5105 5106 ac_cv_func_syslog=no 5107fi 5108 5109rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5110 conftest$ac_exeext conftest.$ac_ext 5111fi 5112{ echo "$as_me:$LINENO: result: $ac_cv_func_syslog" >&5 5113echo "${ECHO_T}$ac_cv_func_syslog" >&6; } 5114if test $ac_cv_func_syslog = yes; then 5115 5116cat >>confdefs.h <<\_ACEOF 5117#define HAS_SYSLOG 5118_ACEOF 5119 5120fi 5121 5122{ echo "$as_me:$LINENO: checking for setrlimit" >&5 5123echo $ECHO_N "checking for setrlimit... $ECHO_C" >&6; } 5124if test "${ac_cv_func_setrlimit+set}" = set; then 5125 echo $ECHO_N "(cached) $ECHO_C" >&6 5126else 5127 cat >conftest.$ac_ext <<_ACEOF 5128/* confdefs.h. */ 5129_ACEOF 5130cat confdefs.h >>conftest.$ac_ext 5131cat >>conftest.$ac_ext <<_ACEOF 5132/* end confdefs.h. */ 5133/* Define setrlimit to an innocuous variant, in case <limits.h> declares setrlimit. 5134 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5135#define setrlimit innocuous_setrlimit 5136 5137/* System header to define __stub macros and hopefully few prototypes, 5138 which can conflict with char setrlimit (); below. 5139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5140 <limits.h> exists even on freestanding compilers. */ 5141 5142#ifdef __STDC__ 5143# include <limits.h> 5144#else 5145# include <assert.h> 5146#endif 5147 5148#undef setrlimit 5149 5150/* Override any GCC internal prototype to avoid an error. 5151 Use char because int might match the return type of a GCC 5152 builtin and then its argument prototype would still apply. */ 5153#ifdef __cplusplus 5154extern "C" 5155#endif 5156char setrlimit (); 5157/* The GNU C library defines this for functions which it implements 5158 to always fail with ENOSYS. Some functions are actually named 5159 something starting with __ and the normal name is an alias. */ 5160#if defined __stub_setrlimit || defined __stub___setrlimit 5161choke me 5162#endif 5163 5164int 5165main () 5166{ 5167return setrlimit (); 5168 ; 5169 return 0; 5170} 5171_ACEOF 5172rm -f conftest.$ac_objext conftest$ac_exeext 5173if { (ac_try="$ac_link" 5174case "(($ac_try" in 5175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5176 *) ac_try_echo=$ac_try;; 5177esac 5178eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5179 (eval "$ac_link") 2>conftest.er1 5180 ac_status=$? 5181 grep -v '^ *+' conftest.er1 >conftest.err 5182 rm -f conftest.er1 5183 cat conftest.err >&5 5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5185 (exit $ac_status); } && { 5186 test -z "$ac_c_werror_flag" || 5187 test ! -s conftest.err 5188 } && test -s conftest$ac_exeext && 5189 $as_test_x conftest$ac_exeext; then 5190 ac_cv_func_setrlimit=yes 5191else 5192 echo "$as_me: failed program was:" >&5 5193sed 's/^/| /' conftest.$ac_ext >&5 5194 5195 ac_cv_func_setrlimit=no 5196fi 5197 5198rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5199 conftest$ac_exeext conftest.$ac_ext 5200fi 5201{ echo "$as_me:$LINENO: result: $ac_cv_func_setrlimit" >&5 5202echo "${ECHO_T}$ac_cv_func_setrlimit" >&6; } 5203if test $ac_cv_func_setrlimit = yes; then 5204 5205cat >>confdefs.h <<\_ACEOF 5206#define HAS_SETRLIMIT 5207_ACEOF 5208 5209fi 5210 5211{ echo "$as_me:$LINENO: checking for putenv" >&5 5212echo $ECHO_N "checking for putenv... $ECHO_C" >&6; } 5213if test "${ac_cv_func_putenv+set}" = set; then 5214 echo $ECHO_N "(cached) $ECHO_C" >&6 5215else 5216 cat >conftest.$ac_ext <<_ACEOF 5217/* confdefs.h. */ 5218_ACEOF 5219cat confdefs.h >>conftest.$ac_ext 5220cat >>conftest.$ac_ext <<_ACEOF 5221/* end confdefs.h. */ 5222/* Define putenv to an innocuous variant, in case <limits.h> declares putenv. 5223 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5224#define putenv innocuous_putenv 5225 5226/* System header to define __stub macros and hopefully few prototypes, 5227 which can conflict with char putenv (); below. 5228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5229 <limits.h> exists even on freestanding compilers. */ 5230 5231#ifdef __STDC__ 5232# include <limits.h> 5233#else 5234# include <assert.h> 5235#endif 5236 5237#undef putenv 5238 5239/* Override any GCC internal prototype to avoid an error. 5240 Use char because int might match the return type of a GCC 5241 builtin and then its argument prototype would still apply. */ 5242#ifdef __cplusplus 5243extern "C" 5244#endif 5245char putenv (); 5246/* The GNU C library defines this for functions which it implements 5247 to always fail with ENOSYS. Some functions are actually named 5248 something starting with __ and the normal name is an alias. */ 5249#if defined __stub_putenv || defined __stub___putenv 5250choke me 5251#endif 5252 5253int 5254main () 5255{ 5256return putenv (); 5257 ; 5258 return 0; 5259} 5260_ACEOF 5261rm -f conftest.$ac_objext conftest$ac_exeext 5262if { (ac_try="$ac_link" 5263case "(($ac_try" in 5264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5265 *) ac_try_echo=$ac_try;; 5266esac 5267eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5268 (eval "$ac_link") 2>conftest.er1 5269 ac_status=$? 5270 grep -v '^ *+' conftest.er1 >conftest.err 5271 rm -f conftest.er1 5272 cat conftest.err >&5 5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5274 (exit $ac_status); } && { 5275 test -z "$ac_c_werror_flag" || 5276 test ! -s conftest.err 5277 } && test -s conftest$ac_exeext && 5278 $as_test_x conftest$ac_exeext; then 5279 ac_cv_func_putenv=yes 5280else 5281 echo "$as_me: failed program was:" >&5 5282sed 's/^/| /' conftest.$ac_ext >&5 5283 5284 ac_cv_func_putenv=no 5285fi 5286 5287rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5288 conftest$ac_exeext conftest.$ac_ext 5289fi 5290{ echo "$as_me:$LINENO: result: $ac_cv_func_putenv" >&5 5291echo "${ECHO_T}$ac_cv_func_putenv" >&6; } 5292if test $ac_cv_func_putenv = yes; then 5293 5294cat >>confdefs.h <<\_ACEOF 5295#define HAS_PUTENV 5296_ACEOF 5297 5298fi 5299 5300{ echo "$as_me:$LINENO: checking for unsetenv" >&5 5301echo $ECHO_N "checking for unsetenv... $ECHO_C" >&6; } 5302if test "${ac_cv_func_unsetenv+set}" = set; then 5303 echo $ECHO_N "(cached) $ECHO_C" >&6 5304else 5305 cat >conftest.$ac_ext <<_ACEOF 5306/* confdefs.h. */ 5307_ACEOF 5308cat confdefs.h >>conftest.$ac_ext 5309cat >>conftest.$ac_ext <<_ACEOF 5310/* end confdefs.h. */ 5311/* Define unsetenv to an innocuous variant, in case <limits.h> declares unsetenv. 5312 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5313#define unsetenv innocuous_unsetenv 5314 5315/* System header to define __stub macros and hopefully few prototypes, 5316 which can conflict with char unsetenv (); below. 5317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5318 <limits.h> exists even on freestanding compilers. */ 5319 5320#ifdef __STDC__ 5321# include <limits.h> 5322#else 5323# include <assert.h> 5324#endif 5325 5326#undef unsetenv 5327 5328/* Override any GCC internal prototype to avoid an error. 5329 Use char because int might match the return type of a GCC 5330 builtin and then its argument prototype would still apply. */ 5331#ifdef __cplusplus 5332extern "C" 5333#endif 5334char unsetenv (); 5335/* The GNU C library defines this for functions which it implements 5336 to always fail with ENOSYS. Some functions are actually named 5337 something starting with __ and the normal name is an alias. */ 5338#if defined __stub_unsetenv || defined __stub___unsetenv 5339choke me 5340#endif 5341 5342int 5343main () 5344{ 5345return unsetenv (); 5346 ; 5347 return 0; 5348} 5349_ACEOF 5350rm -f conftest.$ac_objext conftest$ac_exeext 5351if { (ac_try="$ac_link" 5352case "(($ac_try" in 5353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5354 *) ac_try_echo=$ac_try;; 5355esac 5356eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5357 (eval "$ac_link") 2>conftest.er1 5358 ac_status=$? 5359 grep -v '^ *+' conftest.er1 >conftest.err 5360 rm -f conftest.er1 5361 cat conftest.err >&5 5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5363 (exit $ac_status); } && { 5364 test -z "$ac_c_werror_flag" || 5365 test ! -s conftest.err 5366 } && test -s conftest$ac_exeext && 5367 $as_test_x conftest$ac_exeext; then 5368 ac_cv_func_unsetenv=yes 5369else 5370 echo "$as_me: failed program was:" >&5 5371sed 's/^/| /' conftest.$ac_ext >&5 5372 5373 ac_cv_func_unsetenv=no 5374fi 5375 5376rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5377 conftest$ac_exeext conftest.$ac_ext 5378fi 5379{ echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv" >&5 5380echo "${ECHO_T}$ac_cv_func_unsetenv" >&6; } 5381if test $ac_cv_func_unsetenv = yes; then 5382 5383cat >>confdefs.h <<\_ACEOF 5384#define HAS_UNSETENV 5385_ACEOF 5386 5387fi 5388 5389{ echo "$as_me:$LINENO: checking for wait3" >&5 5390echo $ECHO_N "checking for wait3... $ECHO_C" >&6; } 5391if test "${ac_cv_func_wait3+set}" = set; then 5392 echo $ECHO_N "(cached) $ECHO_C" >&6 5393else 5394 cat >conftest.$ac_ext <<_ACEOF 5395/* confdefs.h. */ 5396_ACEOF 5397cat confdefs.h >>conftest.$ac_ext 5398cat >>conftest.$ac_ext <<_ACEOF 5399/* end confdefs.h. */ 5400/* Define wait3 to an innocuous variant, in case <limits.h> declares wait3. 5401 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5402#define wait3 innocuous_wait3 5403 5404/* System header to define __stub macros and hopefully few prototypes, 5405 which can conflict with char wait3 (); below. 5406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5407 <limits.h> exists even on freestanding compilers. */ 5408 5409#ifdef __STDC__ 5410# include <limits.h> 5411#else 5412# include <assert.h> 5413#endif 5414 5415#undef wait3 5416 5417/* Override any GCC internal prototype to avoid an error. 5418 Use char because int might match the return type of a GCC 5419 builtin and then its argument prototype would still apply. */ 5420#ifdef __cplusplus 5421extern "C" 5422#endif 5423char wait3 (); 5424/* The GNU C library defines this for functions which it implements 5425 to always fail with ENOSYS. Some functions are actually named 5426 something starting with __ and the normal name is an alias. */ 5427#if defined __stub_wait3 || defined __stub___wait3 5428choke me 5429#endif 5430 5431int 5432main () 5433{ 5434return wait3 (); 5435 ; 5436 return 0; 5437} 5438_ACEOF 5439rm -f conftest.$ac_objext conftest$ac_exeext 5440if { (ac_try="$ac_link" 5441case "(($ac_try" in 5442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5443 *) ac_try_echo=$ac_try;; 5444esac 5445eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5446 (eval "$ac_link") 2>conftest.er1 5447 ac_status=$? 5448 grep -v '^ *+' conftest.er1 >conftest.err 5449 rm -f conftest.er1 5450 cat conftest.err >&5 5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5452 (exit $ac_status); } && { 5453 test -z "$ac_c_werror_flag" || 5454 test ! -s conftest.err 5455 } && test -s conftest$ac_exeext && 5456 $as_test_x conftest$ac_exeext; then 5457 ac_cv_func_wait3=yes 5458else 5459 echo "$as_me: failed program was:" >&5 5460sed 's/^/| /' conftest.$ac_ext >&5 5461 5462 ac_cv_func_wait3=no 5463fi 5464 5465rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5466 conftest$ac_exeext conftest.$ac_ext 5467fi 5468{ echo "$as_me:$LINENO: result: $ac_cv_func_wait3" >&5 5469echo "${ECHO_T}$ac_cv_func_wait3" >&6; } 5470if test $ac_cv_func_wait3 = yes; then 5471 5472cat >>confdefs.h <<\_ACEOF 5473#define HAS_WAIT3 5474_ACEOF 5475 5476fi 5477 5478{ echo "$as_me:$LINENO: checking for innetgr" >&5 5479echo $ECHO_N "checking for innetgr... $ECHO_C" >&6; } 5480if test "${ac_cv_func_innetgr+set}" = set; then 5481 echo $ECHO_N "(cached) $ECHO_C" >&6 5482else 5483 cat >conftest.$ac_ext <<_ACEOF 5484/* confdefs.h. */ 5485_ACEOF 5486cat confdefs.h >>conftest.$ac_ext 5487cat >>conftest.$ac_ext <<_ACEOF 5488/* end confdefs.h. */ 5489/* Define innetgr to an innocuous variant, in case <limits.h> declares innetgr. 5490 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5491#define innetgr innocuous_innetgr 5492 5493/* System header to define __stub macros and hopefully few prototypes, 5494 which can conflict with char innetgr (); below. 5495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5496 <limits.h> exists even on freestanding compilers. */ 5497 5498#ifdef __STDC__ 5499# include <limits.h> 5500#else 5501# include <assert.h> 5502#endif 5503 5504#undef innetgr 5505 5506/* Override any GCC internal prototype to avoid an error. 5507 Use char because int might match the return type of a GCC 5508 builtin and then its argument prototype would still apply. */ 5509#ifdef __cplusplus 5510extern "C" 5511#endif 5512char innetgr (); 5513/* The GNU C library defines this for functions which it implements 5514 to always fail with ENOSYS. Some functions are actually named 5515 something starting with __ and the normal name is an alias. */ 5516#if defined __stub_innetgr || defined __stub___innetgr 5517choke me 5518#endif 5519 5520int 5521main () 5522{ 5523return innetgr (); 5524 ; 5525 return 0; 5526} 5527_ACEOF 5528rm -f conftest.$ac_objext conftest$ac_exeext 5529if { (ac_try="$ac_link" 5530case "(($ac_try" in 5531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5532 *) ac_try_echo=$ac_try;; 5533esac 5534eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5535 (eval "$ac_link") 2>conftest.er1 5536 ac_status=$? 5537 grep -v '^ *+' conftest.er1 >conftest.err 5538 rm -f conftest.er1 5539 cat conftest.err >&5 5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5541 (exit $ac_status); } && { 5542 test -z "$ac_c_werror_flag" || 5543 test ! -s conftest.err 5544 } && test -s conftest$ac_exeext && 5545 $as_test_x conftest$ac_exeext; then 5546 ac_cv_func_innetgr=yes 5547else 5548 echo "$as_me: failed program was:" >&5 5549sed 's/^/| /' conftest.$ac_ext >&5 5550 5551 ac_cv_func_innetgr=no 5552fi 5553 5554rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5555 conftest$ac_exeext conftest.$ac_ext 5556fi 5557{ echo "$as_me:$LINENO: result: $ac_cv_func_innetgr" >&5 5558echo "${ECHO_T}$ac_cv_func_innetgr" >&6; } 5559if test $ac_cv_func_innetgr = yes; then 5560 5561cat >>confdefs.h <<\_ACEOF 5562#define HAS_INNETGR 5563_ACEOF 5564 5565fi 5566 5567 5568{ echo "$as_me:$LINENO: checking for chroot prefix" >&5 5569echo $ECHO_N "checking for chroot prefix... $ECHO_C" >&6; } 5570 5571# Check whether --with-chroot was given. 5572if test "${with_chroot+set}" = set; then 5573 withval=$with_chroot; 5574 if test "x$withval" = xyes; then 5575 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5576echo "${ECHO_T}disabled, must specify value" >&6; } 5577 elif test "x$withval" = xno; then 5578 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5579echo "${ECHO_T}disabled, must specify value" >&6; } 5580 elif test "x$withval" = x; then 5581 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5582echo "${ECHO_T}disabled, must specify value" >&6; } 5583 else 5584 { echo "$as_me:$LINENO: result: $withval" >&5 5585echo "${ECHO_T}$withval" >&6; } 5586 5587cat >>confdefs.h <<_ACEOF 5588#define CONF_CHROOT_PREFIX "$withval" 5589_ACEOF 5590 5591 fi 5592 5593else 5594 5595 { echo "$as_me:$LINENO: result: disabled" >&5 5596echo "${ECHO_T}disabled" >&6; } 5597 5598fi 5599 5600 5601{ echo "$as_me:$LINENO: checking for local contact name" >&5 5602echo $ECHO_N "checking for local contact name... $ECHO_C" >&6; } 5603 5604# Check whether --with-local-contact-name was given. 5605if test "${with_local_contact_name+set}" = set; then 5606 withval=$with_local_contact_name; 5607 if test "x$withval" = xyes; then 5608 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5609echo "${ECHO_T}disabled, must specify value" >&6; } 5610 elif test "x$withval" = xno; then 5611 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5612echo "${ECHO_T}disabled, must specify value" >&6; } 5613 elif test "x$withval" = x; then 5614 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5615echo "${ECHO_T}disabled, must specify value" >&6; } 5616 else 5617 { echo "$as_me:$LINENO: result: $withval" >&5 5618echo "${ECHO_T}$withval" >&6; } 5619 5620cat >>confdefs.h <<_ACEOF 5621#define CONF_LOCAL_CONTACT_NAME "$withval" 5622_ACEOF 5623 5624 5625cat >>confdefs.h <<\_ACEOF 5626#define CONF_LOCAL_INFO_ENABLED 5627_ACEOF 5628 5629 fi 5630 5631else 5632 5633 { echo "$as_me:$LINENO: result: disabled" >&5 5634echo "${ECHO_T}disabled" >&6; } 5635 5636fi 5637 5638 5639{ echo "$as_me:$LINENO: checking for local contact email" >&5 5640echo $ECHO_N "checking for local contact email... $ECHO_C" >&6; } 5641 5642# Check whether --with-local-contact-email was given. 5643if test "${with_local_contact_email+set}" = set; then 5644 withval=$with_local_contact_email; 5645 if test "x$withval" = xyes; then 5646 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5647echo "${ECHO_T}disabled, must specify value" >&6; } 5648 elif test "x$withval" = xno; then 5649 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5650echo "${ECHO_T}disabled, must specify value" >&6; } 5651 elif test "x$withval" = x; then 5652 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5653echo "${ECHO_T}disabled, must specify value" >&6; } 5654 else 5655 { echo "$as_me:$LINENO: result: $withval" >&5 5656echo "${ECHO_T}$withval" >&6; } 5657 5658cat >>confdefs.h <<_ACEOF 5659#define CONF_LOCAL_CONTACT_EMAIL "$withval" 5660_ACEOF 5661 5662 5663cat >>confdefs.h <<\_ACEOF 5664#define CONF_LOCAL_INFO_ENABLED 5665_ACEOF 5666 5667 fi 5668 5669else 5670 5671 { echo "$as_me:$LINENO: result: disabled" >&5 5672echo "${ECHO_T}disabled" >&6; } 5673 5674fi 5675 5676 5677{ echo "$as_me:$LINENO: checking for local contact phone" >&5 5678echo $ECHO_N "checking for local contact phone... $ECHO_C" >&6; } 5679 5680# Check whether --with-local-contact-phone was given. 5681if test "${with_local_contact_phone+set}" = set; then 5682 withval=$with_local_contact_phone; 5683 if test "x$withval" = xyes; then 5684 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5685echo "${ECHO_T}disabled, must specify value" >&6; } 5686 elif test "x$withval" = xno; then 5687 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5688echo "${ECHO_T}disabled, must specify value" >&6; } 5689 elif test "x$withval" = x; then 5690 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5691echo "${ECHO_T}disabled, must specify value" >&6; } 5692 else 5693 { echo "$as_me:$LINENO: result: $withval" >&5 5694echo "${ECHO_T}$withval" >&6; } 5695 5696cat >>confdefs.h <<_ACEOF 5697#define CONF_LOCAL_CONTACT_PHONE "$withval" 5698_ACEOF 5699 5700 5701cat >>confdefs.h <<\_ACEOF 5702#define CONF_LOCAL_INFO_ENABLED 5703_ACEOF 5704 5705 fi 5706 5707else 5708 5709 { echo "$as_me:$LINENO: result: disabled" >&5 5710echo "${ECHO_T}disabled" >&6; } 5711 5712fi 5713 5714 5715{ echo "$as_me:$LINENO: checking for local contact url" >&5 5716echo $ECHO_N "checking for local contact url... $ECHO_C" >&6; } 5717 5718# Check whether --with-local-contact-url was given. 5719if test "${with_local_contact_url+set}" = set; then 5720 withval=$with_local_contact_url; 5721 if test "x$withval" = xyes; then 5722 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5723echo "${ECHO_T}disabled, must specify value" >&6; } 5724 elif test "x$withval" = xno; then 5725 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5726echo "${ECHO_T}disabled, must specify value" >&6; } 5727 elif test "x$withval" = x; then 5728 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5729echo "${ECHO_T}disabled, must specify value" >&6; } 5730 else 5731 { echo "$as_me:$LINENO: result: $withval" >&5 5732echo "${ECHO_T}$withval" >&6; } 5733 5734cat >>confdefs.h <<_ACEOF 5735#define CONF_LOCAL_CONTACT_URL "$withval" 5736_ACEOF 5737 5738 5739cat >>confdefs.h <<\_ACEOF 5740#define CONF_LOCAL_INFO_ENABLED 5741_ACEOF 5742 5743 fi 5744 5745else 5746 5747 { echo "$as_me:$LINENO: result: disabled" >&5 5748echo "${ECHO_T}disabled" >&6; } 5749 5750fi 5751 5752 5753{ echo "$as_me:$LINENO: checking for local site url" >&5 5754echo $ECHO_N "checking for local site url... $ECHO_C" >&6; } 5755 5756# Check whether --with-local-site-url was given. 5757if test "${with_local_site_url+set}" = set; then 5758 withval=$with_local_site_url; 5759 if test "x$withval" = xyes; then 5760 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5761echo "${ECHO_T}disabled, must specify value" >&6; } 5762 elif test "x$withval" = xno; then 5763 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5764echo "${ECHO_T}disabled, must specify value" >&6; } 5765 elif test "x$withval" = x; then 5766 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5767echo "${ECHO_T}disabled, must specify value" >&6; } 5768 else 5769 { echo "$as_me:$LINENO: result: $withval" >&5 5770echo "${ECHO_T}$withval" >&6; } 5771 5772cat >>confdefs.h <<_ACEOF 5773#define CONF_LOCAL_SITE_URL "$withval" 5774_ACEOF 5775 5776 5777cat >>confdefs.h <<\_ACEOF 5778#define CONF_LOCAL_INFO_ENABLED 5779_ACEOF 5780 5781 fi 5782 5783else 5784 5785 { echo "$as_me:$LINENO: result: disabled" >&5 5786echo "${ECHO_T}disabled" >&6; } 5787 5788fi 5789 5790 5791{ echo "$as_me:$LINENO: checking for local cgiwrap docs" >&5 5792echo $ECHO_N "checking for local cgiwrap docs... $ECHO_C" >&6; } 5793 5794# Check whether --with-local-doc-url was given. 5795if test "${with_local_doc_url+set}" = set; then 5796 withval=$with_local_doc_url; 5797 if test "x$withval" = xyes; then 5798 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5799echo "${ECHO_T}disabled, must specify value" >&6; } 5800 elif test "x$withval" = xno; then 5801 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5802echo "${ECHO_T}disabled, must specify value" >&6; } 5803 elif test "x$withval" = x; then 5804 { echo "$as_me:$LINENO: result: disabled, must specify value" >&5 5805echo "${ECHO_T}disabled, must specify value" >&6; } 5806 else 5807 { echo "$as_me:$LINENO: result: $withval" >&5 5808echo "${ECHO_T}$withval" >&6; } 5809 5810cat >>confdefs.h <<_ACEOF 5811#define CONF_LOCAL_DOC_URL "$withval" 5812_ACEOF 5813 5814 5815cat >>confdefs.h <<\_ACEOF 5816#define CONF_LOCAL_INFO_ENABLED 5817_ACEOF 5818 5819 fi 5820 5821else 5822 5823 { echo "$as_me:$LINENO: result: disabled" >&5 5824echo "${ECHO_T}disabled" >&6; } 5825 5826fi 5827 5828 5829 5830{ echo "$as_me:$LINENO: checking for with-wall" >&5 5831echo $ECHO_N "checking for with-wall... $ECHO_C" >&6; } 5832 5833# Check whether --with-wall was given. 5834if test "${with_wall+set}" = set; then 5835 withval=$with_wall; 5836 if test "x$withval" = xno; then 5837 { echo "$as_me:$LINENO: result: disabled" >&5 5838echo "${ECHO_T}disabled" >&6; } 5839 withval= 5840 else 5841 { echo "$as_me:$LINENO: result: enabled" >&5 5842echo "${ECHO_T}enabled" >&6; } 5843 withval="-Wall" 5844 fi 5845 5846 GCC_WALL_OPT="$withval" 5847 5848else 5849 5850 { echo "$as_me:$LINENO: result: disabled" >&5 5851echo "${ECHO_T}disabled" >&6; } 5852 GCC_WALL_OPT="" 5853 5854fi 5855 5856 5857 5858{ echo "$as_me:$LINENO: checking for installation group" >&5 5859echo $ECHO_N "checking for installation group... $ECHO_C" >&6; } 5860 5861# Check whether --with-install-group was given. 5862if test "${with_install_group+set}" = set; then 5863 withval=$with_install_group; 5864 if test "x$withval" = xyes; then 5865 withval=root 5866 fi 5867 if test "x$withval" = xno; then 5868 withval=root 5869 fi 5870 if test "x$withval" = x; then 5871 withval=root 5872 fi 5873 5874 INSTALLGROUP="$withval" 5875 5876else 5877 5878 withval=root 5879 INSTALLGROUP="$withval" 5880 5881fi 5882 5883{ echo "$as_me:$LINENO: result: $withval" >&5 5884echo "${ECHO_T}$withval" >&6; } 5885 5886 5887{ echo "$as_me:$LINENO: checking for installation directory" >&5 5888echo $ECHO_N "checking for installation directory... $ECHO_C" >&6; } 5889 5890# Check whether --with-install-dir was given. 5891if test "${with_install_dir+set}" = set; then 5892 withval=$with_install_dir; 5893 if test "x$withval" != x; then 5894 INSTALLDIR="$withval" 5895 DOINSTALL="" 5896 if test "x${PATH_PROG_PHP}" != "xno"; then 5897 DOINSTALLPHP="" 5898 else 5899 DOINSTALLPHP="#" 5900 fi 5901 { echo "$as_me:$LINENO: result: $withval" >&5 5902echo "${ECHO_T}$withval" >&6; } 5903 else 5904 { echo "$as_me:$LINENO: result: not found" >&5 5905echo "${ECHO_T}not found" >&6; } 5906 DOINSTALL="#" 5907 DOINSTALLPHP="#" 5908 fi 5909 5910else 5911 5912 { echo "$as_me:$LINENO: result: not found" >&5 5913echo "${ECHO_T}not found" >&6; } 5914 DOINSTALL="#" 5915 DOINSTALLPHP="#" 5916 5917fi 5918 5919 5920 5921 5922 5923{ echo "$as_me:$LINENO: checking for whether to install cgiwrapd" >&5 5924echo $ECHO_N "checking for whether to install cgiwrapd... $ECHO_C" >&6; } 5925 5926# Check whether --with-cgiwrapd was given. 5927if test "${with_cgiwrapd+set}" = set; then 5928 withval=$with_cgiwrapd; 5929 if test x"$withval" != xno; then 5930 { echo "$as_me:$LINENO: result: yes" >&5 5931echo "${ECHO_T}yes" >&6; } 5932 DOINSTALLCGIWRAPD="" 5933 else 5934 { echo "$as_me:$LINENO: result: no" >&5 5935echo "${ECHO_T}no" >&6; } 5936 DOINSTALLCGIWRAPD="#" 5937 fi 5938else 5939 5940 { echo "$as_me:$LINENO: result: no" >&5 5941echo "${ECHO_T}no" >&6; } 5942 DOINSTALLCGIWRAPD="#" 5943 5944fi 5945 5946 5947 5948{ echo "$as_me:$LINENO: checking for whether to disable nph-cgiwrap" >&5 5949echo $ECHO_N "checking for whether to disable nph-cgiwrap... $ECHO_C" >&6; } 5950 5951# Check whether --with-nph was given. 5952if test "${with_nph+set}" = set; then 5953 withval=$with_nph; 5954 { echo "$as_me:$LINENO: result: disabled" >&5 5955echo "${ECHO_T}disabled" >&6; } 5956 DOINSTALLNPH="#" 5957 5958else 5959 5960 { echo "$as_me:$LINENO: result: enabled" >&5 5961echo "${ECHO_T}enabled" >&6; } 5962 DOINSTALLNPH="" 5963 5964fi 5965 5966 5967 5968 5969{ echo "$as_me:$LINENO: checking for path to cgi scripts" >&5 5970echo $ECHO_N "checking for path to cgi scripts... $ECHO_C" >&6; } 5971 5972# Check whether --with-cgi-dir was given. 5973if test "${with_cgi_dir+set}" = set; then 5974 withval=$with_cgi_dir; 5975 if test "x$withval" != xno; then 5976 5977cat >>confdefs.h <<_ACEOF 5978#define CONF_CGIDIR "$withval" 5979_ACEOF 5980 5981 { echo "$as_me:$LINENO: result: $withval" >&5 5982echo "${ECHO_T}$withval" >&6; } 5983 else 5984 { { echo "$as_me:$LINENO: error: must be defined" >&5 5985echo "$as_me: error: must be defined" >&2;} 5986 { (exit 1); exit 1; }; } 5987 fi 5988 5989else 5990 5991 { echo "$as_me:$LINENO: result: public_html/cgi-bin" >&5 5992echo "${ECHO_T}public_html/cgi-bin" >&6; } 5993 5994cat >>confdefs.h <<_ACEOF 5995#define CONF_CGIDIR "public_html/cgi-bin" 5996_ACEOF 5997 5998 5999fi 6000 6001 6002 6003{ echo "$as_me:$LINENO: checking for httpd-user" >&5 6004echo $ECHO_N "checking for httpd-user... $ECHO_C" >&6; } 6005 6006# Check whether --with-httpd-user was given. 6007if test "${with_httpd_user+set}" = set; then 6008 withval=$with_httpd_user; 6009 if test "x$withval" = xyes; then 6010 withval=http 6011 fi 6012 if test "x$withval" = xno; then 6013 withval=http 6014 fi 6015 if test "x$withval" = x; then 6016 withval=http 6017 fi 6018 6019cat >>confdefs.h <<_ACEOF 6020#define CONF_HTTPD_USER "$withval" 6021_ACEOF 6022 6023 6024else 6025 6026 6027cat >>confdefs.h <<_ACEOF 6028#define CONF_HTTPD_USER "$withval" 6029_ACEOF 6030 6031 withval=http 6032 6033fi 6034 6035{ echo "$as_me:$LINENO: result: server running as \"$withval\"" >&5 6036echo "${ECHO_T}server running as \"$withval\"" >&6; } 6037 6038{ echo "$as_me:$LINENO: checking for multiuser-cgi-dir" >&5 6039echo $ECHO_N "checking for multiuser-cgi-dir... $ECHO_C" >&6; } 6040 6041# Check whether --with-multiuser-cgi-dir was given. 6042if test "${with_multiuser_cgi_dir+set}" = set; then 6043 withval=$with_multiuser_cgi_dir; 6044 if test "x$withval" = xyes; then 6045 { echo "$as_me:$LINENO: result: must specify path, disabled." >&5 6046echo "${ECHO_T}must specify path, disabled." >&6; } 6047 elif test "x$withval" = xno; then 6048 { echo "$as_me:$LINENO: result: must specify path, disabled." >&5 6049echo "${ECHO_T}must specify path, disabled." >&6; } 6050 elif test "x$withval" = x; then 6051 { echo "$as_me:$LINENO: result: must specify path, disabled." >&5 6052echo "${ECHO_T}must specify path, disabled." >&6; } 6053 else 6054 { echo "$as_me:$LINENO: result: $withval" >&5 6055echo "${ECHO_T}$withval" >&6; } 6056 6057cat >>confdefs.h <<_ACEOF 6058#define CONF_MULTIUSER_CGI_DIR "$withval" 6059_ACEOF 6060 6061 fi 6062 6063else 6064 6065 { echo "$as_me:$LINENO: result: disabled." >&5 6066echo "${ECHO_T}disabled." >&6; } 6067 6068fi 6069 6070 6071{ echo "$as_me:$LINENO: checking for check-httpd-user" >&5 6072echo $ECHO_N "checking for check-httpd-user... $ECHO_C" >&6; } 6073 6074# Check whether --with-check-httpd-user was given. 6075if test "${with_check_httpd_user+set}" = set; then 6076 withval=$with_check_httpd_user; 6077 { echo "$as_me:$LINENO: result: disabled, server userid will be checked" >&5 6078echo "${ECHO_T}disabled, server userid will be checked" >&6; } 6079 INSTALLMODE=4750 6080 6081else 6082 6083 6084cat >>confdefs.h <<\_ACEOF 6085#define CONF_CHECK_HTTPD_USER 6086_ACEOF 6087 6088 { echo "$as_me:$LINENO: result: enabled, be sure to restrict permissions" >&5 6089echo "${ECHO_T}enabled, be sure to restrict permissions" >&6; } 6090 INSTALLMODE=4755 6091 6092fi 6093 6094 6095 6096{ echo "$as_me:$LINENO: checking for report-rusage" >&5 6097echo $ECHO_N "checking for report-rusage... $ECHO_C" >&6; } 6098 6099# Check whether --with-report-rusage was given. 6100if test "${with_report_rusage+set}" = set; then 6101 withval=$with_report_rusage; 6102 if test "x$withval" != xno; then 6103 6104cat >>confdefs.h <<\_ACEOF 6105#define CONF_REPORT_RUSAGE 6106_ACEOF 6107 6108 { echo "$as_me:$LINENO: result: enabled, rusage and return code will be logged" >&5 6109echo "${ECHO_T}enabled, rusage and return code will be logged" >&6; } 6110 else 6111 { echo "$as_me:$LINENO: result: disabled, rusage and return code will not be logged" >&5 6112echo "${ECHO_T}disabled, rusage and return code will not be logged" >&6; } 6113 fi 6114 6115else 6116 6117 { echo "$as_me:$LINENO: result: disabled, rusage and return code will not be logged" >&5 6118echo "${ECHO_T}disabled, rusage and return code will not be logged" >&6; } 6119 6120fi 6121 6122 6123{ echo "$as_me:$LINENO: checking for php-interpreter support" >&5 6124echo $ECHO_N "checking for php-interpreter support... $ECHO_C" >&6; } 6125 6126# Check whether --with-php-interpreter was given. 6127if test "${with_php_interpreter+set}" = set; then 6128 withval=$with_php_interpreter; 6129 if test "x$withval" != xno; then 6130 6131cat >>confdefs.h <<\_ACEOF 6132#define CONF_PHP_INTERPRETER 6133_ACEOF 6134 6135 { echo "$as_me:$LINENO: result: enabled, php will be handled specially" >&5 6136echo "${ECHO_T}enabled, php will be handled specially" >&6; } 6137 else 6138 { echo "$as_me:$LINENO: result: disabled, no special handling for php scripts" >&5 6139echo "${ECHO_T}disabled, no special handling for php scripts" >&6; } 6140 fi 6141 6142else 6143 6144 { echo "$as_me:$LINENO: result: disabled, no special handling for php scripts" >&5 6145echo "${ECHO_T}disabled, no special handling for php scripts" >&6; } 6146 6147fi 6148 6149 6150{ echo "$as_me:$LINENO: checking for whether to enable special support on non-executable files only" >&5 6151echo $ECHO_N "checking for whether to enable special support on non-executable files only... $ECHO_C" >&6; } 6152 6153# Check whether --with-php-nonexec-only was given. 6154if test "${with_php_nonexec_only+set}" = set; then 6155 withval=$with_php_nonexec_only; 6156 if test "x$withval" != xno; then 6157 6158cat >>confdefs.h <<\_ACEOF 6159#define CONF_PHP_NONEXEC_ONLY 6160_ACEOF 6161 6162 { echo "$as_me:$LINENO: result: enabled if php enabled, php will be handled specially only for nonexecutable files" >&5 6163echo "${ECHO_T}enabled if php enabled, php will be handled specially only for nonexecutable files" >&6; } 6164 else 6165 { echo "$as_me:$LINENO: result: disabled, all php scripts handled the same if php enabled" >&5 6166echo "${ECHO_T}disabled, all php scripts handled the same if php enabled" >&6; } 6167 fi 6168 6169else 6170 6171 { echo "$as_me:$LINENO: result: disabled, all php scripts handled the same if php enabled" >&5 6172echo "${ECHO_T}disabled, all php scripts handled the same if php enabled" >&6; } 6173 6174fi 6175 6176 6177{ echo "$as_me:$LINENO: checking for whether to install separate php-cgiwrap wrapper" >&5 6178echo $ECHO_N "checking for whether to install separate php-cgiwrap wrapper... $ECHO_C" >&6; } 6179 6180# Check whether --with-php-cgiwrap was given. 6181if test "${with_php_cgiwrap+set}" = set; then 6182 withval=$with_php_cgiwrap; 6183 if test "x$withval" != xno; then 6184 { echo "$as_me:$LINENO: result: enabled" >&5 6185echo "${ECHO_T}enabled" >&6; } 6186 else 6187 DOINSTALLPHP="#" 6188 { echo "$as_me:$LINENO: result: disabled" >&5 6189echo "${ECHO_T}disabled" >&6; }; 6190 fi 6191 6192else 6193 6194 DOINSTALLPHP="#" 6195 { echo "$as_me:$LINENO: result: disabled" >&5 6196echo "${ECHO_T}disabled" >&6; }; 6197 6198fi 6199 6200 6201 6202 6203 6204{ echo "$as_me:$LINENO: checking for eruby-interpreter support" >&5 6205echo $ECHO_N "checking for eruby-interpreter support... $ECHO_C" >&6; } 6206 6207# Check whether --with-eruby-interpreter was given. 6208if test "${with_eruby_interpreter+set}" = set; then 6209 withval=$with_eruby_interpreter; 6210 if test "x$withval" != xno; then 6211 6212cat >>confdefs.h <<\_ACEOF 6213#define CONF_ERUBY_INTERPRETER 6214_ACEOF 6215 6216 { echo "$as_me:$LINENO: result: enabled, rhtml will be handled specially" >&5 6217echo "${ECHO_T}enabled, rhtml will be handled specially" >&6; } 6218 else 6219 { echo "$as_me:$LINENO: result: disabled, no special handling for rhtml files" >&5 6220echo "${ECHO_T}disabled, no special handling for rhtml files" >&6; } 6221 fi 6222 6223else 6224 6225 { echo "$as_me:$LINENO: result: disabled, no special handling for rhtml files" >&5 6226echo "${ECHO_T}disabled, no special handling for rhtml files" >&6; } 6227 6228fi 6229 6230 6231{ echo "$as_me:$LINENO: checking for asp-interpreter support" >&5 6232echo $ECHO_N "checking for asp-interpreter support... $ECHO_C" >&6; } 6233 6234# Check whether --with-asp-interpreter was given. 6235if test "${with_asp_interpreter+set}" = set; then 6236 withval=$with_asp_interpreter; 6237 if test "x$withval" != xno; then 6238 6239cat >>confdefs.h <<\_ACEOF 6240#define CONF_ASP_INTERPRETER 6241_ACEOF 6242 6243 { echo "$as_me:$LINENO: result: enabled, asp will be handled specially" >&5 6244echo "${ECHO_T}enabled, asp will be handled specially" >&6; } 6245 else 6246 { echo "$as_me:$LINENO: result: disabled, no special handling for asp scripts" >&5 6247echo "${ECHO_T}disabled, no special handling for asp scripts" >&6; } 6248 fi 6249 6250else 6251 6252 { echo "$as_me:$LINENO: result: disabled, no special handling for asp scripts" >&5 6253echo "${ECHO_T}disabled, no special handling for asp scripts" >&6; } 6254 6255fi 6256 6257 6258{ echo "$as_me:$LINENO: checking for whether to enable special support on non-executable files only" >&5 6259echo $ECHO_N "checking for whether to enable special support on non-executable files only... $ECHO_C" >&6; } 6260 6261# Check whether --with-asp-nonexec-only was given. 6262if test "${with_asp_nonexec_only+set}" = set; then 6263 withval=$with_asp_nonexec_only; 6264 if test "x$withval" != xno; then 6265 6266cat >>confdefs.h <<\_ACEOF 6267#define CONF_ASP_NONEXEC_ONLY 6268_ACEOF 6269 6270 { echo "$as_me:$LINENO: result: enabled if asp enabled, asp will be handled specially only for nonexecutable files" >&5 6271echo "${ECHO_T}enabled if asp enabled, asp will be handled specially only for nonexecutable files" >&6; } 6272 else 6273 { echo "$as_me:$LINENO: result: disabled, all asp scripts handled the same if asp enabled" >&5 6274echo "${ECHO_T}disabled, all asp scripts handled the same if asp enabled" >&6; } 6275 fi 6276 6277else 6278 6279 { echo "$as_me:$LINENO: result: disabled, all asp scripts handled the same if asp enabled" >&5 6280echo "${ECHO_T}disabled, all asp scripts handled the same if asp enabled" >&6; } 6281 6282fi 6283 6284 6285 6286 6287{ echo "$as_me:$LINENO: checking for strict-names" >&5 6288echo $ECHO_N "checking for strict-names... $ECHO_C" >&6; } 6289 6290# Check whether --with-strict-names was given. 6291if test "${with_strict_names+set}" = set; then 6292 withval=$with_strict_names; 6293 if test "x$withval" != xno; then 6294 6295cat >>confdefs.h <<\_ACEOF 6296#define CONF_STRICT_NAMES 6297_ACEOF 6298 6299 { echo "$as_me:$LINENO: result: enabled, script must be all alphanumeric" >&5 6300echo "${ECHO_T}enabled, script must be all alphanumeric" >&6; } 6301 else 6302 { echo "$as_me:$LINENO: result: disabled, script name not checked" >&5 6303echo "${ECHO_T}disabled, script name not checked" >&6; } 6304 fi 6305 6306else 6307 6308 6309cat >>confdefs.h <<\_ACEOF 6310#define CONF_STRICT_NAMES 6311_ACEOF 6312 6313 { echo "$as_me:$LINENO: result: enabled, script name must be all alphanumeric" >&5 6314echo "${ECHO_T}enabled, script name must be all alphanumeric" >&6; } 6315 6316fi 6317 6318 6319{ echo "$as_me:$LINENO: checking for check-owner" >&5 6320echo $ECHO_N "checking for check-owner... $ECHO_C" >&6; } 6321 6322# Check whether --with-check-owner was given. 6323if test "${with_check_owner+set}" = set; then 6324 withval=$with_check_owner; 6325 if test "x$withval" != xno; then 6326 6327cat >>confdefs.h <<\_ACEOF 6328#define CONF_CHECK_SCRUID 6329_ACEOF 6330 6331 { echo "$as_me:$LINENO: result: enabled, owner of script must match" >&5 6332echo "${ECHO_T}enabled, owner of script must match" >&6; } 6333 else 6334 { echo "$as_me:$LINENO: result: disabled, owner of script can be different" >&5 6335echo "${ECHO_T}disabled, owner of script can be different" >&6; } 6336 fi 6337 6338else 6339 6340 6341cat >>confdefs.h <<\_ACEOF 6342#define CONF_CHECK_SCRUID 6343_ACEOF 6344 6345 { echo "$as_me:$LINENO: result: enabled, owner of script must match" >&5 6346echo "${ECHO_T}enabled, owner of script must match" >&6; } 6347 6348fi 6349 6350 6351{ echo "$as_me:$LINENO: checking for check-group" >&5 6352echo $ECHO_N "checking for check-group... $ECHO_C" >&6; } 6353 6354# Check whether --with-check-group was given. 6355if test "${with_check_group+set}" = set; then 6356 withval=$with_check_group; 6357 if test "x$withval" != xno; then 6358 6359cat >>confdefs.h <<\_ACEOF 6360#define CONF_CHECK_SCRGID 6361_ACEOF 6362 6363 { echo "$as_me:$LINENO: result: enabled, group of script must match" >&5 6364echo "${ECHO_T}enabled, group of script must match" >&6; } 6365 else 6366 { echo "$as_me:$LINENO: result: disabled, group of script can be different" >&5 6367echo "${ECHO_T}disabled, group of script can be different" >&6; } 6368 fi 6369 6370else 6371 6372 6373cat >>confdefs.h <<\_ACEOF 6374#define CONF_CHECK_SCRGID 6375_ACEOF 6376 6377 { echo "$as_me:$LINENO: result: enabled, group of script must match" >&5 6378echo "${ECHO_T}enabled, group of script must match" >&6; } 6379 6380fi 6381 6382 6383{ echo "$as_me:$LINENO: checking for check-setuid" >&5 6384echo $ECHO_N "checking for check-setuid... $ECHO_C" >&6; } 6385 6386# Check whether --with-check-setuid was given. 6387if test "${with_check_setuid+set}" = set; then 6388 withval=$with_check_setuid; 6389 if test "x$withval" != xno; then 6390 6391cat >>confdefs.h <<\_ACEOF 6392#define CONF_CHECK_SCRSUID 6393_ACEOF 6394 6395 { echo "$as_me:$LINENO: result: enabled, script cannot be setuid" >&5 6396echo "${ECHO_T}enabled, script cannot be setuid" >&6; } 6397 else 6398 { echo "$as_me:$LINENO: result: disabled, script can be setuid" >&5 6399echo "${ECHO_T}disabled, script can be setuid" >&6; } 6400 fi 6401 6402else 6403 6404 { echo "$as_me:$LINENO: result: enabled, script cannot be setuid" >&5 6405echo "${ECHO_T}enabled, script cannot be setuid" >&6; } 6406 6407cat >>confdefs.h <<\_ACEOF 6408#define CONF_CHECK_SCRSUID 6409_ACEOF 6410 6411 6412fi 6413 6414 6415{ echo "$as_me:$LINENO: checking for check-setgid" >&5 6416echo $ECHO_N "checking for check-setgid... $ECHO_C" >&6; } 6417 6418# Check whether --with-check-setgid was given. 6419if test "${with_check_setgid+set}" = set; then 6420 withval=$with_check_setgid; 6421 if test "x$withval" != xno; then 6422 6423cat >>confdefs.h <<\_ACEOF 6424#define CONF_CHECK_SCRSGID 6425_ACEOF 6426 6427 { echo "$as_me:$LINENO: result: enabled, script cannot be setuid" >&5 6428echo "${ECHO_T}enabled, script cannot be setuid" >&6; } 6429 else 6430 { echo "$as_me:$LINENO: result: disabled, script can be setgid" >&5 6431echo "${ECHO_T}disabled, script can be setgid" >&6; } 6432 fi 6433 6434else 6435 6436 { echo "$as_me:$LINENO: result: enabled, script cannot be setgid" >&5 6437echo "${ECHO_T}enabled, script cannot be setgid" >&6; } 6438 6439cat >>confdefs.h <<\_ACEOF 6440#define CONF_CHECK_SCRSGID 6441_ACEOF 6442 6443 6444fi 6445 6446 6447{ echo "$as_me:$LINENO: checking for check-group-writable" >&5 6448echo $ECHO_N "checking for check-group-writable... $ECHO_C" >&6; } 6449 6450# Check whether --with-check-group-writable was given. 6451if test "${with_check_group_writable+set}" = set; then 6452 withval=$with_check_group_writable; 6453 if test "x$withval" != xno; then 6454 6455cat >>confdefs.h <<\_ACEOF 6456#define CONF_CHECK_SCRGWRITE 6457_ACEOF 6458 6459 { echo "$as_me:$LINENO: result: enabled, script cannot be group writable" >&5 6460echo "${ECHO_T}enabled, script cannot be group writable" >&6; } 6461 else 6462 { echo "$as_me:$LINENO: result: disabled, script can be group writable" >&5 6463echo "${ECHO_T}disabled, script can be group writable" >&6; } 6464 fi 6465 6466else 6467 6468 6469cat >>confdefs.h <<\_ACEOF 6470#define CONF_CHECK_SCRGWRITE 6471_ACEOF 6472 6473 { echo "$as_me:$LINENO: result: enabled, script cannot be group writable" >&5 6474echo "${ECHO_T}enabled, script cannot be group writable" >&6; } 6475 6476fi 6477 6478 6479{ echo "$as_me:$LINENO: checking for check-world-writable" >&5 6480echo $ECHO_N "checking for check-world-writable... $ECHO_C" >&6; } 6481 6482# Check whether --with-check-world-writable was given. 6483if test "${with_check_world_writable+set}" = set; then 6484 withval=$with_check_world_writable; 6485 if test "x$withval" != xno; then 6486 6487cat >>confdefs.h <<\_ACEOF 6488#define CONF_CHECK_SCROWRITE 6489_ACEOF 6490 6491 { echo "$as_me:$LINENO: result: enabled, script cannot be world writable" >&5 6492echo "${ECHO_T}enabled, script cannot be world writable" >&6; } 6493 else 6494 { echo "$as_me:$LINENO: result: disabled, script can be world writable" >&5 6495echo "${ECHO_T}disabled, script can be world writable" >&6; } 6496 fi 6497 6498else 6499 6500 6501cat >>confdefs.h <<\_ACEOF 6502#define CONF_CHECK_SCROWRITE 6503_ACEOF 6504 6505 { echo "$as_me:$LINENO: result: enabled, script cannot be world writable" >&5 6506echo "${ECHO_T}enabled, script cannot be world writable" >&6; } 6507 6508fi 6509 6510 6511{ echo "$as_me:$LINENO: checking for check-symlink" >&5 6512echo $ECHO_N "checking for check-symlink... $ECHO_C" >&6; } 6513 6514# Check whether --with-check-symlink was given. 6515if test "${with_check_symlink+set}" = set; then 6516 withval=$with_check_symlink; 6517 if test "x$withval" != xno; then 6518 6519cat >>confdefs.h <<\_ACEOF 6520#define CONF_CHECK_SYMLINK 6521_ACEOF 6522 6523 { echo "$as_me:$LINENO: result: enabled, script cannot be a symlink" >&5 6524echo "${ECHO_T}enabled, script cannot be a symlink" >&6; } 6525 else 6526 { echo "$as_me:$LINENO: result: disabled, script can be a symlink" >&5 6527echo "${ECHO_T}disabled, script can be a symlink" >&6; } 6528 fi 6529 6530else 6531 6532 { echo "$as_me:$LINENO: result: enabled, script cannot be a symlink" >&5 6533echo "${ECHO_T}enabled, script cannot be a symlink" >&6; } 6534 6535cat >>confdefs.h <<\_ACEOF 6536#define CONF_CHECK_SYMLINK 6537_ACEOF 6538 6539 6540fi 6541 6542 6543{ echo "$as_me:$LINENO: checking for minimum uid" >&5 6544echo $ECHO_N "checking for minimum uid... $ECHO_C" >&6; } 6545 6546# Check whether --with-minimum-uid was given. 6547if test "${with_minimum_uid+set}" = set; then 6548 withval=$with_minimum_uid; 6549 if test "x$withval" != xno; then 6550 6551cat >>confdefs.h <<_ACEOF 6552#define CONF_MINIMUM_UID $withval 6553_ACEOF 6554 6555 { echo "$as_me:$LINENO: result: $withval" >&5 6556echo "${ECHO_T}$withval" >&6; } 6557 else 6558 { echo "$as_me:$LINENO: result: disabled" >&5 6559echo "${ECHO_T}disabled" >&6; } 6560 fi 6561 6562else 6563 6564 { echo "$as_me:$LINENO: result: 10" >&5 6565echo "${ECHO_T}10" >&6; } 6566 6567cat >>confdefs.h <<_ACEOF 6568#define CONF_MINIMUM_UID 10 6569_ACEOF 6570 6571 6572fi 6573 6574 6575{ echo "$as_me:$LINENO: checking for minimum gid (primary and auxilliary)" >&5 6576echo $ECHO_N "checking for minimum gid (primary and auxilliary)... $ECHO_C" >&6; } 6577 6578# Check whether --with-minimum-gid was given. 6579if test "${with_minimum_gid+set}" = set; then 6580 withval=$with_minimum_gid; 6581 if test "x$withval" != xno; then 6582 6583cat >>confdefs.h <<_ACEOF 6584#define CONF_MINIMUM_GID $withval 6585_ACEOF 6586 6587 { echo "$as_me:$LINENO: result: $withval" >&5 6588echo "${ECHO_T}$withval" >&6; } 6589 else 6590 { echo "$as_me:$LINENO: result: disabled" >&5 6591echo "${ECHO_T}disabled" >&6; } 6592 fi 6593 6594else 6595 6596 { echo "$as_me:$LINENO: result: disabled" >&5 6597echo "${ECHO_T}disabled" >&6; } 6598 6599fi 6600 6601 6602 6603{ echo "$as_me:$LINENO: checking for logging-syslog" >&5 6604echo $ECHO_N "checking for logging-syslog... $ECHO_C" >&6; } 6605 6606# Check whether --with-logging-syslog was given. 6607if test "${with_logging_syslog+set}" = set; then 6608 withval=$with_logging_syslog; 6609 if test "x$withval" != xno; then 6610 6611cat >>confdefs.h <<\_ACEOF 6612#define CONF_LOG_USESYSLOG 6613_ACEOF 6614 6615 6616cat >>confdefs.h <<_ACEOF 6617#define CONF_LOG_LABEL "$withval" 6618_ACEOF 6619 6620 { echo "$as_me:$LINENO: result: enabled, label is '${withval}'" >&5 6621echo "${ECHO_T}enabled, label is '${withval}'" >&6; } 6622 else 6623 { echo "$as_me:$LINENO: result: disabled" >&5 6624echo "${ECHO_T}disabled" >&6; } 6625 fi 6626 6627else 6628 6629 { echo "$as_me:$LINENO: result: disabled" >&5 6630echo "${ECHO_T}disabled" >&6; } 6631 6632fi 6633 6634 6635{ echo "$as_me:$LINENO: checking for logging-file" >&5 6636echo $ECHO_N "checking for logging-file... $ECHO_C" >&6; } 6637 6638# Check whether --with-logging-file was given. 6639if test "${with_logging_file+set}" = set; then 6640 withval=$with_logging_file; 6641 if test "x$withval" = x; then 6642 withval="/usr/adm/cgiwrap.log" 6643 fi 6644 6645 if test "x$withval" != xno; then 6646 6647cat >>confdefs.h <<\_ACEOF 6648#define CONF_LOG_USEFILE 6649_ACEOF 6650 6651 6652cat >>confdefs.h <<_ACEOF 6653#define CONF_LOG_LOGFILE "$withval" 6654_ACEOF 6655 6656 { echo "$as_me:$LINENO: result: enabled, logging to file '${withval}'" >&5 6657echo "${ECHO_T}enabled, logging to file '${withval}'" >&6; } 6658 else 6659 { echo "$as_me:$LINENO: result: disabled" >&5 6660echo "${ECHO_T}disabled" >&6; } 6661 fi 6662 6663else 6664 6665 { echo "$as_me:$LINENO: result: disabled" >&5 6666echo "${ECHO_T}disabled" >&6; } 6667 6668fi 6669 6670 6671 6672{ echo "$as_me:$LINENO: checking for script-subdirs" >&5 6673echo $ECHO_N "checking for script-subdirs... $ECHO_C" >&6; } 6674 6675# Check whether --with-script-subdirs was given. 6676if test "${with_script_subdirs+set}" = set; then 6677 withval=$with_script_subdirs; 6678 if test "x$withval" != xno; then 6679 6680cat >>confdefs.h <<\_ACEOF 6681#define CONF_SUBDIRS 6682_ACEOF 6683 6684 { echo "$as_me:$LINENO: result: enabled, scripts allowed in subdirectories" >&5 6685echo "${ECHO_T}enabled, scripts allowed in subdirectories" >&6; } 6686 else 6687 { echo "$as_me:$LINENO: result: disabled, scripts not allowed in subdirectories" >&5 6688echo "${ECHO_T}disabled, scripts not allowed in subdirectories" >&6; } 6689 fi 6690 6691else 6692 6693 6694cat >>confdefs.h <<\_ACEOF 6695#define CONF_SUBDIRS 6696_ACEOF 6697 6698 { echo "$as_me:$LINENO: result: enabled, scripts allowed in subdirectories" >&5 6699echo "${ECHO_T}enabled, scripts allowed in subdirectories" >&6; } 6700 6701fi 6702 6703 6704 6705{ echo "$as_me:$LINENO: checking for redirect-stderr" >&5 6706echo $ECHO_N "checking for redirect-stderr... $ECHO_C" >&6; } 6707 6708# Check whether --with-redirect-stderr was given. 6709if test "${with_redirect_stderr+set}" = set; then 6710 withval=$with_redirect_stderr; 6711 if test "x$withval" != xno; then 6712 6713cat >>confdefs.h <<\_ACEOF 6714#define CONF_REDIR_STDERR 6715_ACEOF 6716 6717 { echo "$as_me:$LINENO: result: enabled, stderr output will go to stdout" >&5 6718echo "${ECHO_T}enabled, stderr output will go to stdout" >&6; } 6719 else 6720 { echo "$as_me:$LINENO: result: disabled, server will get stderr output" >&5 6721echo "${ECHO_T}disabled, server will get stderr output" >&6; } 6722 fi 6723 6724else 6725 6726 6727cat >>confdefs.h <<\_ACEOF 6728#define CONF_REDIR_STDERR 6729_ACEOF 6730 6731 { echo "$as_me:$LINENO: result: enabled, stderr output will go to stdout" >&5 6732echo "${ECHO_T}enabled, stderr output will go to stdout" >&6; } 6733 6734fi 6735 6736 6737 6738{ echo "$as_me:$LINENO: checking for initgroups" >&5 6739echo $ECHO_N "checking for initgroups... $ECHO_C" >&6; } 6740 6741# Check whether --with-initgroups was given. 6742if test "${with_initgroups+set}" = set; then 6743 withval=$with_initgroups; 6744 if test "x$withval" != xno; then 6745 6746cat >>confdefs.h <<\_ACEOF 6747#define CONF_INITGROUPS 6748_ACEOF 6749 6750 { echo "$as_me:$LINENO: result: enabled, aux groups will be cleared" >&5 6751echo "${ECHO_T}enabled, aux groups will be cleared" >&6; } 6752 else 6753 { echo "$as_me:$LINENO: result: disabled, aux groups will not be cleared" >&5 6754echo "${ECHO_T}disabled, aux groups will not be cleared" >&6; } 6755 fi 6756 6757else 6758 6759 6760cat >>confdefs.h <<\_ACEOF 6761#define CONF_INITGROUPS 6762_ACEOF 6763 6764 { echo "$as_me:$LINENO: result: enabled, aux groups will be cleared" >&5 6765echo "${ECHO_T}enabled, aux groups will be cleared" >&6; } 6766 6767fi 6768 6769 6770{ echo "$as_me:$LINENO: checking for setgroups" >&5 6771echo $ECHO_N "checking for setgroups... $ECHO_C" >&6; } 6772 6773# Check whether --with-setgroups was given. 6774if test "${with_setgroups+set}" = set; then 6775 withval=$with_setgroups; 6776 if test "x$withval" != xno; then 6777 6778cat >>confdefs.h <<\_ACEOF 6779#define CONF_SETGROUPS 6780_ACEOF 6781 6782 { echo "$as_me:$LINENO: result: enabled, aux groups will be set" >&5 6783echo "${ECHO_T}enabled, aux groups will be set" >&6; } 6784 else 6785 { echo "$as_me:$LINENO: result: disabled, aux groups will not be set" >&5 6786echo "${ECHO_T}disabled, aux groups will not be set" >&6; } 6787 fi 6788 6789else 6790 6791 6792cat >>confdefs.h <<\_ACEOF 6793#define CONF_SETGROUPS 6794_ACEOF 6795 6796 { echo "$as_me:$LINENO: result: enabled, aux groups will be set" >&5 6797echo "${ECHO_T}enabled, aux groups will be set" >&6; } 6798 6799fi 6800 6801 6802 6803{ echo "$as_me:$LINENO: checking for user directory rewrite" >&5 6804echo $ECHO_N "checking for user directory rewrite... $ECHO_C" >&6; } 6805 6806# Check whether --with-rewrite was given. 6807if test "${with_rewrite+set}" = set; then 6808 withval=$with_rewrite; 6809 if test "x$withval" != xno; then 6810 6811cat >>confdefs.h <<_ACEOF 6812#define CONF_USERDIRFILE "$withval" 6813_ACEOF 6814 6815 { echo "$as_me:$LINENO: result: enabled, rewrite file is \"$withval\"" >&5 6816echo "${ECHO_T}enabled, rewrite file is \"$withval\"" >&6; } 6817 else 6818 { echo "$as_me:$LINENO: result: disabled, no rewrite file will be used" >&5 6819echo "${ECHO_T}disabled, no rewrite file will be used" >&6; } 6820 fi 6821 6822else 6823 6824 { echo "$as_me:$LINENO: result: disabled, no rewrite file will be used" >&5 6825echo "${ECHO_T}disabled, no rewrite file will be used" >&6; } 6826 6827fi 6828 6829 6830 6831 6832 6833 6834 { echo "$as_me:$LINENO: checking for setenv-ld_library_path" >&5 6835echo $ECHO_N "checking for setenv-ld_library_path... $ECHO_C" >&6; } 6836 6837# Check whether --with-setenv-ld_library_path was given. 6838if test "${with_setenv_ld_library_path+set}" = set; then 6839 withval=$with_setenv_ld_library_path; 6840 if test "x$withval" = xyes; then 6841 { echo "$as_me:$LINENO: result: no value specified" >&5 6842echo "${ECHO_T}no value specified" >&6; } 6843 elif test "x$withval" = x; then 6844 { echo "$as_me:$LINENO: result: no value specified" >&5 6845echo "${ECHO_T}no value specified" >&6; } 6846 elif test "x$withval" = xno; then 6847 { echo "$as_me:$LINENO: result: disabled" >&5 6848echo "${ECHO_T}disabled" >&6; } 6849 else 6850 6851cat >>confdefs.h <<\_ACEOF 6852#define CONF_SETENV_ANY 6853_ACEOF 6854 6855 6856cat >>confdefs.h <<_ACEOF 6857#define CONF_SETENV_LD_LIBRARY_PATH "$withval" 6858_ACEOF 6859 6860 { echo "$as_me:$LINENO: result: enabled, set to (\"$withval\")" >&5 6861echo "${ECHO_T}enabled, set to (\"$withval\")" >&6; } 6862 fi 6863 6864else 6865 6866 { echo "$as_me:$LINENO: result: disabled" >&5 6867echo "${ECHO_T}disabled" >&6; } 6868 6869fi 6870 6871 6872 6873 { echo "$as_me:$LINENO: checking for setenv-path" >&5 6874echo $ECHO_N "checking for setenv-path... $ECHO_C" >&6; } 6875 6876# Check whether --with-setenv-path was given. 6877if test "${with_setenv_path+set}" = set; then 6878 withval=$with_setenv_path; 6879 if test "x$withval" = xyes; then 6880 { echo "$as_me:$LINENO: result: no value specified" >&5 6881echo "${ECHO_T}no value specified" >&6; } 6882 elif test "x$withval" = x; then 6883 { echo "$as_me:$LINENO: result: no value specified" >&5 6884echo "${ECHO_T}no value specified" >&6; } 6885 elif test "x$withval" = xno; then 6886 { echo "$as_me:$LINENO: result: disabled" >&5 6887echo "${ECHO_T}disabled" >&6; } 6888 else 6889 6890cat >>confdefs.h <<\_ACEOF 6891#define CONF_SETENV_ANY 6892_ACEOF 6893 6894 6895cat >>confdefs.h <<_ACEOF 6896#define CONF_SETENV_PATH "$withval" 6897_ACEOF 6898 6899 { echo "$as_me:$LINENO: result: enabled, set to (\"$withval\")" >&5 6900echo "${ECHO_T}enabled, set to (\"$withval\")" >&6; } 6901 fi 6902 6903else 6904 6905 { echo "$as_me:$LINENO: result: disabled" >&5 6906echo "${ECHO_T}disabled" >&6; } 6907 6908fi 6909 6910 6911 6912 { echo "$as_me:$LINENO: checking for setenv-tz" >&5 6913echo $ECHO_N "checking for setenv-tz... $ECHO_C" >&6; } 6914 6915# Check whether --with-setenv-tz was given. 6916if test "${with_setenv_tz+set}" = set; then 6917 withval=$with_setenv_tz; 6918 if test "x$withval" = xyes; then 6919 { echo "$as_me:$LINENO: result: no value specified" >&5 6920echo "${ECHO_T}no value specified" >&6; } 6921 elif test "x$withval" = x; then 6922 { echo "$as_me:$LINENO: result: no value specified" >&5 6923echo "${ECHO_T}no value specified" >&6; } 6924 elif test "x$withval" = xno; then 6925 { echo "$as_me:$LINENO: result: disabled" >&5 6926echo "${ECHO_T}disabled" >&6; } 6927 else 6928 6929cat >>confdefs.h <<\_ACEOF 6930#define CONF_SETENV_ANY 6931_ACEOF 6932 6933 6934cat >>confdefs.h <<_ACEOF 6935#define CONF_SETENV_TZ "$withval" 6936_ACEOF 6937 6938 { echo "$as_me:$LINENO: result: enabled, set to (\"$withval\")" >&5 6939echo "${ECHO_T}enabled, set to (\"$withval\")" >&6; } 6940 fi 6941 6942else 6943 6944 { echo "$as_me:$LINENO: result: disabled" >&5 6945echo "${ECHO_T}disabled" >&6; } 6946 6947fi 6948 6949 6950 6951 6952 6953 6954 6955 { echo "$as_me:$LINENO: checking for limit rlimit-cpu" >&5 6956echo $ECHO_N "checking for limit rlimit-cpu... $ECHO_C" >&6; } 6957 6958# Check whether --with-rlimit-cpu was given. 6959if test "${with_rlimit_cpu+set}" = set; then 6960 withval=$with_rlimit_cpu; 6961 if test "x$withval" = xyes; then 6962 withval=10 6963 fi 6964 if test "x$withval" = x; then 6965 withval=10 6966 fi 6967 if test "x$withval" != xno; then 6968 6969cat >>confdefs.h <<\_ACEOF 6970#define CONF_USE_RLIMIT_ANY 6971_ACEOF 6972 6973 6974cat >>confdefs.h <<_ACEOF 6975#define CONF_USE_RLIMIT_CPU $withval 6976_ACEOF 6977 6978 { echo "$as_me:$LINENO: result: \"$withval\" cpu seconds" >&5 6979echo "${ECHO_T}\"$withval\" cpu seconds" >&6; } 6980 else 6981 { echo "$as_me:$LINENO: result: none" >&5 6982echo "${ECHO_T}none" >&6; } 6983 fi 6984 6985else 6986 6987 { echo "$as_me:$LINENO: result: none" >&5 6988echo "${ECHO_T}none" >&6; } 6989 6990fi 6991 6992 6993 6994 { echo "$as_me:$LINENO: checking for limit rlimit-vmem" >&5 6995echo $ECHO_N "checking for limit rlimit-vmem... $ECHO_C" >&6; } 6996 6997# Check whether --with-rlimit-vmem was given. 6998if test "${with_rlimit_vmem+set}" = set; then 6999 withval=$with_rlimit_vmem; 7000 if test "x$withval" = xyes; then 7001 withval=2500000 7002 fi 7003 if test "x$withval" = x; then 7004 withval=2500000 7005 fi 7006 if test "x$withval" != xno; then 7007 7008cat >>confdefs.h <<\_ACEOF 7009#define CONF_USE_RLIMIT_ANY 7010_ACEOF 7011 7012 7013cat >>confdefs.h <<_ACEOF 7014#define CONF_USE_RLIMIT_VMEM $withval 7015_ACEOF 7016 7017 { echo "$as_me:$LINENO: result: \"$withval\" bytes" >&5 7018echo "${ECHO_T}\"$withval\" bytes" >&6; } 7019 else 7020 { echo "$as_me:$LINENO: result: none" >&5 7021echo "${ECHO_T}none" >&6; } 7022 fi 7023 7024else 7025 7026 { echo "$as_me:$LINENO: result: none" >&5 7027echo "${ECHO_T}none" >&6; } 7028 7029fi 7030 7031 7032 7033 { echo "$as_me:$LINENO: checking for limit rlimit-as" >&5 7034echo $ECHO_N "checking for limit rlimit-as... $ECHO_C" >&6; } 7035 7036# Check whether --with-rlimit-as was given. 7037if test "${with_rlimit_as+set}" = set; then 7038 withval=$with_rlimit_as; 7039 if test "x$withval" = xyes; then 7040 withval=2500000 7041 fi 7042 if test "x$withval" = x; then 7043 withval=2500000 7044 fi 7045 if test "x$withval" != xno; then 7046 7047cat >>confdefs.h <<\_ACEOF 7048#define CONF_USE_RLIMIT_ANY 7049_ACEOF 7050 7051 7052cat >>confdefs.h <<_ACEOF 7053#define CONF_USE_RLIMIT_AS $withval 7054_ACEOF 7055 7056 { echo "$as_me:$LINENO: result: \"$withval\" bytes" >&5 7057echo "${ECHO_T}\"$withval\" bytes" >&6; } 7058 else 7059 { echo "$as_me:$LINENO: result: none" >&5 7060echo "${ECHO_T}none" >&6; } 7061 fi 7062 7063else 7064 7065 { echo "$as_me:$LINENO: result: none" >&5 7066echo "${ECHO_T}none" >&6; } 7067 7068fi 7069 7070 7071 7072 { echo "$as_me:$LINENO: checking for limit rlimit-fsize" >&5 7073echo $ECHO_N "checking for limit rlimit-fsize... $ECHO_C" >&6; } 7074 7075# Check whether --with-rlimit-fsize was given. 7076if test "${with_rlimit_fsize+set}" = set; then 7077 withval=$with_rlimit_fsize; 7078 if test "x$withval" = xyes; then 7079 withval=2500000 7080 fi 7081 if test "x$withval" = x; then 7082 withval=2500000 7083 fi 7084 if test "x$withval" != xno; then 7085 7086cat >>confdefs.h <<\_ACEOF 7087#define CONF_USE_RLIMIT_ANY 7088_ACEOF 7089 7090 7091cat >>confdefs.h <<_ACEOF 7092#define CONF_USE_RLIMIT_FSIZE $withval 7093_ACEOF 7094 7095 { echo "$as_me:$LINENO: result: \"$withval\" bytes" >&5 7096echo "${ECHO_T}\"$withval\" bytes" >&6; } 7097 else 7098 { echo "$as_me:$LINENO: result: none" >&5 7099echo "${ECHO_T}none" >&6; } 7100 fi 7101 7102else 7103 7104 { echo "$as_me:$LINENO: result: none" >&5 7105echo "${ECHO_T}none" >&6; } 7106 7107fi 7108 7109 7110 7111 { echo "$as_me:$LINENO: checking for limit rlimit-data" >&5 7112echo $ECHO_N "checking for limit rlimit-data... $ECHO_C" >&6; } 7113 7114# Check whether --with-rlimit-data was given. 7115if test "${with_rlimit_data+set}" = set; then 7116 withval=$with_rlimit_data; 7117 if test "x$withval" = xyes; then 7118 withval=2500000 7119 fi 7120 if test "x$withval" = x; then 7121 withval=2500000 7122 fi 7123 if test "x$withval" != xno; then 7124 7125cat >>confdefs.h <<\_ACEOF 7126#define CONF_USE_RLIMIT_ANY 7127_ACEOF 7128 7129 7130cat >>confdefs.h <<_ACEOF 7131#define CONF_USE_RLIMIT_DATA $withval 7132_ACEOF 7133 7134 { echo "$as_me:$LINENO: result: \"$withval\" bytes" >&5 7135echo "${ECHO_T}\"$withval\" bytes" >&6; } 7136 else 7137 { echo "$as_me:$LINENO: result: none" >&5 7138echo "${ECHO_T}none" >&6; } 7139 fi 7140 7141else 7142 7143 { echo "$as_me:$LINENO: result: none" >&5 7144echo "${ECHO_T}none" >&6; } 7145 7146fi 7147 7148 7149 7150 { echo "$as_me:$LINENO: checking for limit rlimit-stack" >&5 7151echo $ECHO_N "checking for limit rlimit-stack... $ECHO_C" >&6; } 7152 7153# Check whether --with-rlimit-stack was given. 7154if test "${with_rlimit_stack+set}" = set; then 7155 withval=$with_rlimit_stack; 7156 if test "x$withval" = xyes; then 7157 withval=2500000 7158 fi 7159 if test "x$withval" = x; then 7160 withval=2500000 7161 fi 7162 if test "x$withval" != xno; then 7163 7164cat >>confdefs.h <<\_ACEOF 7165#define CONF_USE_RLIMIT_ANY 7166_ACEOF 7167 7168 7169cat >>confdefs.h <<_ACEOF 7170#define CONF_USE_RLIMIT_STACK $withval 7171_ACEOF 7172 7173 { echo "$as_me:$LINENO: result: \"$withval\" bytes" >&5 7174echo "${ECHO_T}\"$withval\" bytes" >&6; } 7175 else 7176 { echo "$as_me:$LINENO: result: none" >&5 7177echo "${ECHO_T}none" >&6; } 7178 fi 7179 7180else 7181 7182 { echo "$as_me:$LINENO: result: none" >&5 7183echo "${ECHO_T}none" >&6; } 7184 7185fi 7186 7187 7188 7189 { echo "$as_me:$LINENO: checking for limit rlimit-core" >&5 7190echo $ECHO_N "checking for limit rlimit-core... $ECHO_C" >&6; } 7191 7192# Check whether --with-rlimit-core was given. 7193if test "${with_rlimit_core+set}" = set; then 7194 withval=$with_rlimit_core; 7195 if test "x$withval" = xyes; then 7196 withval=2500000 7197 fi 7198 if test "x$withval" = x; then 7199 withval=2500000 7200 fi 7201 if test "x$withval" != xno; then 7202 7203cat >>confdefs.h <<\_ACEOF 7204#define CONF_USE_RLIMIT_ANY 7205_ACEOF 7206 7207 7208cat >>confdefs.h <<_ACEOF 7209#define CONF_USE_RLIMIT_CORE $withval 7210_ACEOF 7211 7212 { echo "$as_me:$LINENO: result: \"$withval\" bytes" >&5 7213echo "${ECHO_T}\"$withval\" bytes" >&6; } 7214 else 7215 { echo "$as_me:$LINENO: result: none" >&5 7216echo "${ECHO_T}none" >&6; } 7217 fi 7218 7219else 7220 7221 { echo "$as_me:$LINENO: result: none" >&5 7222echo "${ECHO_T}none" >&6; } 7223 7224fi 7225 7226 7227 7228 { echo "$as_me:$LINENO: checking for limit rlimit-rss" >&5 7229echo $ECHO_N "checking for limit rlimit-rss... $ECHO_C" >&6; } 7230 7231# Check whether --with-rlimit-rss was given. 7232if test "${with_rlimit_rss+set}" = set; then 7233 withval=$with_rlimit_rss; 7234 if test "x$withval" = xyes; then 7235 withval=2500000 7236 fi 7237 if test "x$withval" = x; then 7238 withval=2500000 7239 fi 7240 if test "x$withval" != xno; then 7241 7242cat >>confdefs.h <<\_ACEOF 7243#define CONF_USE_RLIMIT_ANY 7244_ACEOF 7245 7246 7247cat >>confdefs.h <<_ACEOF 7248#define CONF_USE_RLIMIT_RSS $withval 7249_ACEOF 7250 7251 { echo "$as_me:$LINENO: result: \"$withval\" bytes" >&5 7252echo "${ECHO_T}\"$withval\" bytes" >&6; } 7253 else 7254 { echo "$as_me:$LINENO: result: none" >&5 7255echo "${ECHO_T}none" >&6; } 7256 fi 7257 7258else 7259 7260 { echo "$as_me:$LINENO: result: none" >&5 7261echo "${ECHO_T}none" >&6; } 7262 7263fi 7264 7265 7266 7267 { echo "$as_me:$LINENO: checking for limit rlimit-nproc" >&5 7268echo $ECHO_N "checking for limit rlimit-nproc... $ECHO_C" >&6; } 7269 7270# Check whether --with-rlimit-nproc was given. 7271if test "${with_rlimit_nproc+set}" = set; then 7272 withval=$with_rlimit_nproc; 7273 if test "x$withval" = xyes; then 7274 withval=32 7275 fi 7276 if test "x$withval" = x; then 7277 withval=32 7278 fi 7279 if test "x$withval" != xno; then 7280 7281cat >>confdefs.h <<\_ACEOF 7282#define CONF_USE_RLIMIT_ANY 7283_ACEOF 7284 7285 7286cat >>confdefs.h <<_ACEOF 7287#define CONF_USE_RLIMIT_NPROC $withval 7288_ACEOF 7289 7290 { echo "$as_me:$LINENO: result: \"$withval\" processes" >&5 7291echo "${ECHO_T}\"$withval\" processes" >&6; } 7292 else 7293 { echo "$as_me:$LINENO: result: none" >&5 7294echo "${ECHO_T}none" >&6; } 7295 fi 7296 7297else 7298 7299 { echo "$as_me:$LINENO: result: none" >&5 7300echo "${ECHO_T}none" >&6; } 7301 7302fi 7303 7304 7305 7306 { echo "$as_me:$LINENO: checking for limit rlimit-nofile" >&5 7307echo $ECHO_N "checking for limit rlimit-nofile... $ECHO_C" >&6; } 7308 7309# Check whether --with-rlimit-nofile was given. 7310if test "${with_rlimit_nofile+set}" = set; then 7311 withval=$with_rlimit_nofile; 7312 if test "x$withval" = xyes; then 7313 withval=32 7314 fi 7315 if test "x$withval" = x; then 7316 withval=32 7317 fi 7318 if test "x$withval" != xno; then 7319 7320cat >>confdefs.h <<\_ACEOF 7321#define CONF_USE_RLIMIT_ANY 7322_ACEOF 7323 7324 7325cat >>confdefs.h <<_ACEOF 7326#define CONF_USE_RLIMIT_NOFILE $withval 7327_ACEOF 7328 7329 { echo "$as_me:$LINENO: result: \"$withval\" files" >&5 7330echo "${ECHO_T}\"$withval\" files" >&6; } 7331 else 7332 { echo "$as_me:$LINENO: result: none" >&5 7333echo "${ECHO_T}none" >&6; } 7334 fi 7335 7336else 7337 7338 { echo "$as_me:$LINENO: result: none" >&5 7339echo "${ECHO_T}none" >&6; } 7340 7341fi 7342 7343 7344 7345 { echo "$as_me:$LINENO: checking for limit rlimit-memlock" >&5 7346echo $ECHO_N "checking for limit rlimit-memlock... $ECHO_C" >&6; } 7347 7348# Check whether --with-rlimit-memlock was given. 7349if test "${with_rlimit_memlock+set}" = set; then 7350 withval=$with_rlimit_memlock; 7351 if test "x$withval" = xyes; then 7352 withval=2500000 7353 fi 7354 if test "x$withval" = x; then 7355 withval=2500000 7356 fi 7357 if test "x$withval" != xno; then 7358 7359cat >>confdefs.h <<\_ACEOF 7360#define CONF_USE_RLIMIT_ANY 7361_ACEOF 7362 7363 7364cat >>confdefs.h <<_ACEOF 7365#define CONF_USE_RLIMIT_MEMLOCK $withval 7366_ACEOF 7367 7368 { echo "$as_me:$LINENO: result: \"$withval\" bytes" >&5 7369echo "${ECHO_T}\"$withval\" bytes" >&6; } 7370 else 7371 { echo "$as_me:$LINENO: result: none" >&5 7372echo "${ECHO_T}none" >&6; } 7373 fi 7374 7375else 7376 7377 { echo "$as_me:$LINENO: result: none" >&5 7378echo "${ECHO_T}none" >&6; } 7379 7380fi 7381 7382 7383 7384{ echo "$as_me:$LINENO: checking for soft-rlimit-only support" >&5 7385echo $ECHO_N "checking for soft-rlimit-only support... $ECHO_C" >&6; } 7386 7387# Check whether --with-soft-rlimit-only was given. 7388if test "${with_soft_rlimit_only+set}" = set; then 7389 withval=$with_soft_rlimit_only; 7390 if test "x$withval" != xno; then 7391 7392cat >>confdefs.h <<\_ACEOF 7393#define CONF_SOFT_RLIMIT_ONLY 7394_ACEOF 7395 7396 { echo "$as_me:$LINENO: result: will only set soft resource limits" >&5 7397echo "${ECHO_T}will only set soft resource limits" >&6; } 7398 else 7399 { echo "$as_me:$LINENO: result: will set both hard and soft resource limits" >&5 7400echo "${ECHO_T}will set both hard and soft resource limits" >&6; } 7401 fi 7402 7403else 7404 7405 { echo "$as_me:$LINENO: result: will set both hard and soft resource limits" >&5 7406echo "${ECHO_T}will set both hard and soft resource limits" >&6; } 7407 7408fi 7409 7410 7411 7412 7413{ echo "$as_me:$LINENO: checking for allow-file" >&5 7414echo $ECHO_N "checking for allow-file... $ECHO_C" >&6; } 7415 7416# Check whether --with-allow-file was given. 7417if test "${with_allow_file+set}" = set; then 7418 withval=$with_allow_file; 7419 if test "x$withval" = x; then 7420 withval="/usr/adm/cgiwrap.allow" 7421 fi 7422 if test "x$withval" != xno; then 7423 7424cat >>confdefs.h <<_ACEOF 7425#define CONF_ALLOWFILE "$withval" 7426_ACEOF 7427 7428 { echo "$as_me:$LINENO: result: enabled, file is \"$withval\"" >&5 7429echo "${ECHO_T}enabled, file is \"$withval\"" >&6; } 7430 else 7431 { echo "$as_me:$LINENO: result: disabled" >&5 7432echo "${ECHO_T}disabled" >&6; } 7433 fi 7434 7435else 7436 7437 { echo "$as_me:$LINENO: result: disabled" >&5 7438echo "${ECHO_T}disabled" >&6; } 7439 7440fi 7441 7442 7443{ echo "$as_me:$LINENO: checking for deny-file" >&5 7444echo $ECHO_N "checking for deny-file... $ECHO_C" >&6; } 7445 7446# Check whether --with-deny-file was given. 7447if test "${with_deny_file+set}" = set; then 7448 withval=$with_deny_file; 7449 if test "x$withval" = x; then 7450 withval="/usr/adm/cgiwrap.deny" 7451 fi 7452 if test "x$withval" != xno; then 7453 7454cat >>confdefs.h <<_ACEOF 7455#define CONF_DENYFILE "$withval" 7456_ACEOF 7457 7458 { echo "$as_me:$LINENO: result: enabled, file is \"$withval\"" >&5 7459echo "${ECHO_T}enabled, file is \"$withval\"" >&6; } 7460 else 7461 { echo "$as_me:$LINENO: result: disabled" >&5 7462echo "${ECHO_T}disabled" >&6; } 7463 fi 7464 7465else 7466 7467 { echo "$as_me:$LINENO: result: disabled" >&5 7468echo "${ECHO_T}disabled" >&6; } 7469 7470fi 7471 7472 7473 7474 7475{ echo "$as_me:$LINENO: checking for allow-deny-netgroups" >&5 7476echo $ECHO_N "checking for allow-deny-netgroups... $ECHO_C" >&6; } 7477 7478# Check whether --with-allow-deny-netgroups was given. 7479if test "${with_allow_deny_netgroups+set}" = set; then 7480 withval=$with_allow_deny_netgroups; 7481 if test "x$withval" = x; then 7482 { echo "$as_me:$LINENO: result: disabled" >&5 7483echo "${ECHO_T}disabled" >&6; } 7484 elif test "x$withval" != xno; then 7485 7486cat >>confdefs.h <<\_ACEOF 7487#define CONF_ALLOWDENY_NETGROUPS 7488_ACEOF 7489 7490 { echo "$as_me:$LINENO: result: enabled" >&5 7491echo "${ECHO_T}enabled" >&6; } 7492 else 7493 { echo "$as_me:$LINENO: result: disabled" >&5 7494echo "${ECHO_T}disabled" >&6; } 7495 fi 7496 7497else 7498 7499 { echo "$as_me:$LINENO: result: disabled" >&5 7500echo "${ECHO_T}disabled" >&6; } 7501 7502fi 7503 7504 7505{ echo "$as_me:$LINENO: checking for vhost-allow-dir" >&5 7506echo $ECHO_N "checking for vhost-allow-dir... $ECHO_C" >&6; } 7507 7508# Check whether --with-vhost-allow-dir was given. 7509if test "${with_vhost_allow_dir+set}" = set; then 7510 withval=$with_vhost_allow_dir; 7511 if test "x$withval" = x; then 7512 { echo "$as_me:$LINENO: result: disabled" >&5 7513echo "${ECHO_T}disabled" >&6; } 7514 elif test "x$withval" != xno; then 7515 7516cat >>confdefs.h <<_ACEOF 7517#define CONF_VHOST_ALLOWDIR "$withval" 7518_ACEOF 7519 7520 { echo "$as_me:$LINENO: result: enabled, dir is \"$withval\"" >&5 7521echo "${ECHO_T}enabled, dir is \"$withval\"" >&6; } 7522 else 7523 { echo "$as_me:$LINENO: result: disabled" >&5 7524echo "${ECHO_T}disabled" >&6; } 7525 fi 7526 7527else 7528 7529 { echo "$as_me:$LINENO: result: disabled" >&5 7530echo "${ECHO_T}disabled" >&6; } 7531 7532fi 7533 7534 7535{ echo "$as_me:$LINENO: checking for vhost-deny-dir" >&5 7536echo $ECHO_N "checking for vhost-deny-dir... $ECHO_C" >&6; } 7537 7538# Check whether --with-vhost-deny-dir was given. 7539if test "${with_vhost_deny_dir+set}" = set; then 7540 withval=$with_vhost_deny_dir; 7541 if test "x$withval" = x; then 7542 { echo "$as_me:$LINENO: result: disabled" >&5 7543echo "${ECHO_T}disabled" >&6; } 7544 elif test "x$withval" != xno; then 7545 7546cat >>confdefs.h <<_ACEOF 7547#define CONF_VHOST_DENYDIR "$withval" 7548_ACEOF 7549 7550 { echo "$as_me:$LINENO: result: enabled, dir is \"$withval\"" >&5 7551echo "${ECHO_T}enabled, dir is \"$withval\"" >&6; } 7552 else 7553 { echo "$as_me:$LINENO: result: disabled" >&5 7554echo "${ECHO_T}disabled" >&6; } 7555 fi 7556 7557else 7558 7559 { echo "$as_me:$LINENO: result: disabled" >&5 7560echo "${ECHO_T}disabled" >&6; } 7561 7562fi 7563 7564 7565{ echo "$as_me:$LINENO: checking for host checking" >&5 7566echo $ECHO_N "checking for host checking... $ECHO_C" >&6; } 7567 7568# Check whether --with-host-checking was given. 7569if test "${with_host_checking+set}" = set; then 7570 withval=$with_host_checking; 7571 if test "x$withval" != xno; then 7572 7573cat >>confdefs.h <<\_ACEOF 7574#define CONF_CHECKHOST 7575_ACEOF 7576 7577 { echo "$as_me:$LINENO: result: enabled" >&5 7578echo "${ECHO_T}enabled" >&6; } 7579 else 7580 { echo "$as_me:$LINENO: result: disabled" >&5 7581echo "${ECHO_T}disabled" >&6; } 7582 fi 7583 7584else 7585 7586 { echo "$as_me:$LINENO: result: disabled" >&5 7587echo "${ECHO_T}disabled" >&6; } 7588 7589fi 7590 7591 7592{ echo "$as_me:$LINENO: checking for shell checking" >&5 7593echo $ECHO_N "checking for shell checking... $ECHO_C" >&6; } 7594 7595# Check whether --with-check-shell was given. 7596if test "${with_check_shell+set}" = set; then 7597 withval=$with_check_shell; 7598 GETUSERSHELL="" 7599 if test "x$withval" != xno; then 7600 7601cat >>confdefs.h <<\_ACEOF 7602#define CONF_CHECKSHELL 7603_ACEOF 7604 7605 { echo "$as_me:$LINENO: result: enabled" >&5 7606echo "${ECHO_T}enabled" >&6; } 7607 { echo "$as_me:$LINENO: checking for getusershell" >&5 7608echo $ECHO_N "checking for getusershell... $ECHO_C" >&6; } 7609if test "${ac_cv_func_getusershell+set}" = set; then 7610 echo $ECHO_N "(cached) $ECHO_C" >&6 7611else 7612 cat >conftest.$ac_ext <<_ACEOF 7613/* confdefs.h. */ 7614_ACEOF 7615cat confdefs.h >>conftest.$ac_ext 7616cat >>conftest.$ac_ext <<_ACEOF 7617/* end confdefs.h. */ 7618/* Define getusershell to an innocuous variant, in case <limits.h> declares getusershell. 7619 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7620#define getusershell innocuous_getusershell 7621 7622/* System header to define __stub macros and hopefully few prototypes, 7623 which can conflict with char getusershell (); below. 7624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7625 <limits.h> exists even on freestanding compilers. */ 7626 7627#ifdef __STDC__ 7628# include <limits.h> 7629#else 7630# include <assert.h> 7631#endif 7632 7633#undef getusershell 7634 7635/* Override any GCC internal prototype to avoid an error. 7636 Use char because int might match the return type of a GCC 7637 builtin and then its argument prototype would still apply. */ 7638#ifdef __cplusplus 7639extern "C" 7640#endif 7641char getusershell (); 7642/* The GNU C library defines this for functions which it implements 7643 to always fail with ENOSYS. Some functions are actually named 7644 something starting with __ and the normal name is an alias. */ 7645#if defined __stub_getusershell || defined __stub___getusershell 7646choke me 7647#endif 7648 7649int 7650main () 7651{ 7652return getusershell (); 7653 ; 7654 return 0; 7655} 7656_ACEOF 7657rm -f conftest.$ac_objext conftest$ac_exeext 7658if { (ac_try="$ac_link" 7659case "(($ac_try" in 7660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7661 *) ac_try_echo=$ac_try;; 7662esac 7663eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7664 (eval "$ac_link") 2>conftest.er1 7665 ac_status=$? 7666 grep -v '^ *+' conftest.er1 >conftest.err 7667 rm -f conftest.er1 7668 cat conftest.err >&5 7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7670 (exit $ac_status); } && { 7671 test -z "$ac_c_werror_flag" || 7672 test ! -s conftest.err 7673 } && test -s conftest$ac_exeext && 7674 $as_test_x conftest$ac_exeext; then 7675 ac_cv_func_getusershell=yes 7676else 7677 echo "$as_me: failed program was:" >&5 7678sed 's/^/| /' conftest.$ac_ext >&5 7679 7680 ac_cv_func_getusershell=no 7681fi 7682 7683rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7684 conftest$ac_exeext conftest.$ac_ext 7685fi 7686{ echo "$as_me:$LINENO: result: $ac_cv_func_getusershell" >&5 7687echo "${ECHO_T}$ac_cv_func_getusershell" >&6; } 7688if test $ac_cv_func_getusershell = yes; then 7689 : 7690else 7691 GETUSERSHELL="getusershell.o" 7692fi 7693 7694 { echo "$as_me:$LINENO: checking for OS specific getusershell support" >&5 7695echo $ECHO_N "checking for OS specific getusershell support... $ECHO_C" >&6; } 7696 os_specific_msg="none needed" 7697 case $target_os in 7698 aix* ) 7699 LIBS="$LIBS -ls" 7700 os_specific_msg="-ls" 7701 ;; 7702 esac 7703 { echo "$as_me:$LINENO: result: $os_specific_msg" >&5 7704echo "${ECHO_T}$os_specific_msg" >&6; } 7705 else 7706 { echo "$as_me:$LINENO: result: disabled" >&5 7707echo "${ECHO_T}disabled" >&6; } 7708 fi 7709 7710else 7711 7712 GETUSERSHELL="" 7713 { echo "$as_me:$LINENO: result: disabled" >&5 7714echo "${ECHO_T}disabled" >&6; } 7715 7716fi 7717 7718 7719 7720{ echo "$as_me:$LINENO: checking for afs setpag() support" >&5 7721echo $ECHO_N "checking for afs setpag() support... $ECHO_C" >&6; } 7722 7723# Check whether --with-afs was given. 7724if test "${with_afs+set}" = set; then 7725 withval=$with_afs; 7726 if test "x$withval" = xno; then 7727 { echo "$as_me:$LINENO: result: disabled" >&5 7728echo "${ECHO_T}disabled" >&6; } 7729 else 7730 if test "x$withval" = x; then 7731 withval="/usr/afsws" 7732 fi 7733 if test "x$withval" = xyes; then 7734 withval="/usr/afsws" 7735 fi 7736 AFSDIR="$withval" 7737 AFSLDFLAGS="-L${AFSDIR}/lib -L${AFSDIR}/lib/afs" 7738 AFSLIBS="-lsys -lrx -llwp ${AFSDIR}/lib/afs/util.a" 7739 7740cat >>confdefs.h <<\_ACEOF 7741#define CONF_AFS_SETPAG 7742_ACEOF 7743 7744 { echo "$as_me:$LINENO: result: enabled, afs dir is \"$withval\"" >&5 7745echo "${ECHO_T}enabled, afs dir is \"$withval\"" >&6; } 7746 fi 7747 7748else 7749 7750 { echo "$as_me:$LINENO: result: disabled" >&5 7751echo "${ECHO_T}disabled" >&6; } 7752 7753fi 7754 7755 7756if test "x$AFSDIR" != x; then 7757 { echo "$as_me:$LINENO: checking for extra requirements for AFS support" >&5 7758echo $ECHO_N "checking for extra requirements for AFS support... $ECHO_C" >&6; } 7759 os_specific_msg="none needed" 7760 case $target_os in 7761 hpux* ) 7762 EXTRA_AFS_LIBS="-lBSD" 7763 AFSLIBS="$AFSLIBS $EXTRA_AFS_LIBS" 7764 os_specific_msg="$EXTRA_AFS_LIBS" 7765 ;; 7766 *solaris*) 7767 EXTRA_AFS_LIBS="-lnsl -lsocket -L/usr/ucblib -lucb" 7768 AFSLIBS="$AFSLIBS $EXTRA_AFS_LIBS" 7769 os_specific_msg="$EXTRA_AFS_LIBS" 7770 ;; 7771 esac 7772 { echo "$as_me:$LINENO: result: $os_specific_msg" >&5 7773echo "${ECHO_T}$os_specific_msg" >&6; } 7774fi 7775 7776 7777 7778 7779 7780ac_ext=c 7781ac_cpp='$CPP $CPPFLAGS' 7782ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7783ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7784ac_compiler_gnu=$ac_cv_c_compiler_gnu 7785{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 7786echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 7787# On Suns, sometimes $CPP names a directory. 7788if test -n "$CPP" && test -d "$CPP"; then 7789 CPP= 7790fi 7791if test -z "$CPP"; then 7792 if test "${ac_cv_prog_CPP+set}" = set; then 7793 echo $ECHO_N "(cached) $ECHO_C" >&6 7794else 7795 # Double quotes because CPP needs to be expanded 7796 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7797 do 7798 ac_preproc_ok=false 7799for ac_c_preproc_warn_flag in '' yes 7800do 7801 # Use a header file that comes with gcc, so configuring glibc 7802 # with a fresh cross-compiler works. 7803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7804 # <limits.h> exists even on freestanding compilers. 7805 # On the NeXT, cc -E runs the code through the compiler's parser, 7806 # not just through cpp. "Syntax error" is here to catch this case. 7807 cat >conftest.$ac_ext <<_ACEOF 7808/* confdefs.h. */ 7809_ACEOF 7810cat confdefs.h >>conftest.$ac_ext 7811cat >>conftest.$ac_ext <<_ACEOF 7812/* end confdefs.h. */ 7813#ifdef __STDC__ 7814# include <limits.h> 7815#else 7816# include <assert.h> 7817#endif 7818 Syntax error 7819_ACEOF 7820if { (ac_try="$ac_cpp conftest.$ac_ext" 7821case "(($ac_try" in 7822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7823 *) ac_try_echo=$ac_try;; 7824esac 7825eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7827 ac_status=$? 7828 grep -v '^ *+' conftest.er1 >conftest.err 7829 rm -f conftest.er1 7830 cat conftest.err >&5 7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7832 (exit $ac_status); } >/dev/null && { 7833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7834 test ! -s conftest.err 7835 }; then 7836 : 7837else 7838 echo "$as_me: failed program was:" >&5 7839sed 's/^/| /' conftest.$ac_ext >&5 7840 7841 # Broken: fails on valid input. 7842continue 7843fi 7844 7845rm -f conftest.err conftest.$ac_ext 7846 7847 # OK, works on sane cases. Now check whether nonexistent headers 7848 # can be detected and how. 7849 cat >conftest.$ac_ext <<_ACEOF 7850/* confdefs.h. */ 7851_ACEOF 7852cat confdefs.h >>conftest.$ac_ext 7853cat >>conftest.$ac_ext <<_ACEOF 7854/* end confdefs.h. */ 7855#include <ac_nonexistent.h> 7856_ACEOF 7857if { (ac_try="$ac_cpp conftest.$ac_ext" 7858case "(($ac_try" in 7859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7860 *) ac_try_echo=$ac_try;; 7861esac 7862eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7864 ac_status=$? 7865 grep -v '^ *+' conftest.er1 >conftest.err 7866 rm -f conftest.er1 7867 cat conftest.err >&5 7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7869 (exit $ac_status); } >/dev/null && { 7870 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7871 test ! -s conftest.err 7872 }; then 7873 # Broken: success on invalid input. 7874continue 7875else 7876 echo "$as_me: failed program was:" >&5 7877sed 's/^/| /' conftest.$ac_ext >&5 7878 7879 # Passes both tests. 7880ac_preproc_ok=: 7881break 7882fi 7883 7884rm -f conftest.err conftest.$ac_ext 7885 7886done 7887# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7888rm -f conftest.err conftest.$ac_ext 7889if $ac_preproc_ok; then 7890 break 7891fi 7892 7893 done 7894 ac_cv_prog_CPP=$CPP 7895 7896fi 7897 CPP=$ac_cv_prog_CPP 7898else 7899 ac_cv_prog_CPP=$CPP 7900fi 7901{ echo "$as_me:$LINENO: result: $CPP" >&5 7902echo "${ECHO_T}$CPP" >&6; } 7903ac_preproc_ok=false 7904for ac_c_preproc_warn_flag in '' yes 7905do 7906 # Use a header file that comes with gcc, so configuring glibc 7907 # with a fresh cross-compiler works. 7908 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7909 # <limits.h> exists even on freestanding compilers. 7910 # On the NeXT, cc -E runs the code through the compiler's parser, 7911 # not just through cpp. "Syntax error" is here to catch this case. 7912 cat >conftest.$ac_ext <<_ACEOF 7913/* confdefs.h. */ 7914_ACEOF 7915cat confdefs.h >>conftest.$ac_ext 7916cat >>conftest.$ac_ext <<_ACEOF 7917/* end confdefs.h. */ 7918#ifdef __STDC__ 7919# include <limits.h> 7920#else 7921# include <assert.h> 7922#endif 7923 Syntax error 7924_ACEOF 7925if { (ac_try="$ac_cpp conftest.$ac_ext" 7926case "(($ac_try" in 7927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7928 *) ac_try_echo=$ac_try;; 7929esac 7930eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7931 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7932 ac_status=$? 7933 grep -v '^ *+' conftest.er1 >conftest.err 7934 rm -f conftest.er1 7935 cat conftest.err >&5 7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7937 (exit $ac_status); } >/dev/null && { 7938 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7939 test ! -s conftest.err 7940 }; then 7941 : 7942else 7943 echo "$as_me: failed program was:" >&5 7944sed 's/^/| /' conftest.$ac_ext >&5 7945 7946 # Broken: fails on valid input. 7947continue 7948fi 7949 7950rm -f conftest.err conftest.$ac_ext 7951 7952 # OK, works on sane cases. Now check whether nonexistent headers 7953 # can be detected and how. 7954 cat >conftest.$ac_ext <<_ACEOF 7955/* confdefs.h. */ 7956_ACEOF 7957cat confdefs.h >>conftest.$ac_ext 7958cat >>conftest.$ac_ext <<_ACEOF 7959/* end confdefs.h. */ 7960#include <ac_nonexistent.h> 7961_ACEOF 7962if { (ac_try="$ac_cpp conftest.$ac_ext" 7963case "(($ac_try" in 7964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7965 *) ac_try_echo=$ac_try;; 7966esac 7967eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7969 ac_status=$? 7970 grep -v '^ *+' conftest.er1 >conftest.err 7971 rm -f conftest.er1 7972 cat conftest.err >&5 7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7974 (exit $ac_status); } >/dev/null && { 7975 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7976 test ! -s conftest.err 7977 }; then 7978 # Broken: success on invalid input. 7979continue 7980else 7981 echo "$as_me: failed program was:" >&5 7982sed 's/^/| /' conftest.$ac_ext >&5 7983 7984 # Passes both tests. 7985ac_preproc_ok=: 7986break 7987fi 7988 7989rm -f conftest.err conftest.$ac_ext 7990 7991done 7992# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7993rm -f conftest.err conftest.$ac_ext 7994if $ac_preproc_ok; then 7995 : 7996else 7997 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7998See \`config.log' for more details." >&5 7999echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 8000See \`config.log' for more details." >&2;} 8001 { (exit 1); exit 1; }; } 8002fi 8003 8004ac_ext=c 8005ac_cpp='$CPP $CPPFLAGS' 8006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8008ac_compiler_gnu=$ac_cv_c_compiler_gnu 8009 8010 8011{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 8012echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 8013if test "${ac_cv_path_GREP+set}" = set; then 8014 echo $ECHO_N "(cached) $ECHO_C" >&6 8015else 8016 # Extract the first word of "grep ggrep" to use in msg output 8017if test -z "$GREP"; then 8018set dummy grep ggrep; ac_prog_name=$2 8019if test "${ac_cv_path_GREP+set}" = set; then 8020 echo $ECHO_N "(cached) $ECHO_C" >&6 8021else 8022 ac_path_GREP_found=false 8023# Loop through the user's path and test for each of PROGNAME-LIST 8024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8025for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 8026do 8027 IFS=$as_save_IFS 8028 test -z "$as_dir" && as_dir=. 8029 for ac_prog in grep ggrep; do 8030 for ac_exec_ext in '' $ac_executable_extensions; do 8031 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 8032 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 8033 # Check for GNU ac_path_GREP and select it if it is found. 8034 # Check for GNU $ac_path_GREP 8035case `"$ac_path_GREP" --version 2>&1` in 8036*GNU*) 8037 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 8038*) 8039 ac_count=0 8040 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 8041 while : 8042 do 8043 cat "conftest.in" "conftest.in" >"conftest.tmp" 8044 mv "conftest.tmp" "conftest.in" 8045 cp "conftest.in" "conftest.nl" 8046 echo 'GREP' >> "conftest.nl" 8047 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 8048 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 8049 ac_count=`expr $ac_count + 1` 8050 if test $ac_count -gt ${ac_path_GREP_max-0}; then 8051 # Best one so far, save it but keep looking for a better one 8052 ac_cv_path_GREP="$ac_path_GREP" 8053 ac_path_GREP_max=$ac_count 8054 fi 8055 # 10*(2^10) chars as input seems more than enough 8056 test $ac_count -gt 10 && break 8057 done 8058 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 8059esac 8060 8061 8062 $ac_path_GREP_found && break 3 8063 done 8064done 8065 8066done 8067IFS=$as_save_IFS 8068 8069 8070fi 8071 8072GREP="$ac_cv_path_GREP" 8073if test -z "$GREP"; then 8074 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 8075echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 8076 { (exit 1); exit 1; }; } 8077fi 8078 8079else 8080 ac_cv_path_GREP=$GREP 8081fi 8082 8083 8084fi 8085{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 8086echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 8087 GREP="$ac_cv_path_GREP" 8088 8089 8090{ echo "$as_me:$LINENO: checking for egrep" >&5 8091echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 8092if test "${ac_cv_path_EGREP+set}" = set; then 8093 echo $ECHO_N "(cached) $ECHO_C" >&6 8094else 8095 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 8096 then ac_cv_path_EGREP="$GREP -E" 8097 else 8098 # Extract the first word of "egrep" to use in msg output 8099if test -z "$EGREP"; then 8100set dummy egrep; ac_prog_name=$2 8101if test "${ac_cv_path_EGREP+set}" = set; then 8102 echo $ECHO_N "(cached) $ECHO_C" >&6 8103else 8104 ac_path_EGREP_found=false 8105# Loop through the user's path and test for each of PROGNAME-LIST 8106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8107for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 8108do 8109 IFS=$as_save_IFS 8110 test -z "$as_dir" && as_dir=. 8111 for ac_prog in egrep; do 8112 for ac_exec_ext in '' $ac_executable_extensions; do 8113 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 8114 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 8115 # Check for GNU ac_path_EGREP and select it if it is found. 8116 # Check for GNU $ac_path_EGREP 8117case `"$ac_path_EGREP" --version 2>&1` in 8118*GNU*) 8119 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 8120*) 8121 ac_count=0 8122 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 8123 while : 8124 do 8125 cat "conftest.in" "conftest.in" >"conftest.tmp" 8126 mv "conftest.tmp" "conftest.in" 8127 cp "conftest.in" "conftest.nl" 8128 echo 'EGREP' >> "conftest.nl" 8129 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 8130 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 8131 ac_count=`expr $ac_count + 1` 8132 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 8133 # Best one so far, save it but keep looking for a better one 8134 ac_cv_path_EGREP="$ac_path_EGREP" 8135 ac_path_EGREP_max=$ac_count 8136 fi 8137 # 10*(2^10) chars as input seems more than enough 8138 test $ac_count -gt 10 && break 8139 done 8140 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 8141esac 8142 8143 8144 $ac_path_EGREP_found && break 3 8145 done 8146done 8147 8148done 8149IFS=$as_save_IFS 8150 8151 8152fi 8153 8154EGREP="$ac_cv_path_EGREP" 8155if test -z "$EGREP"; then 8156 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 8157echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 8158 { (exit 1); exit 1; }; } 8159fi 8160 8161else 8162 ac_cv_path_EGREP=$EGREP 8163fi 8164 8165 8166 fi 8167fi 8168{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 8169echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 8170 EGREP="$ac_cv_path_EGREP" 8171 8172 8173{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 8174echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 8175if test "${ac_cv_header_stdc+set}" = set; then 8176 echo $ECHO_N "(cached) $ECHO_C" >&6 8177else 8178 cat >conftest.$ac_ext <<_ACEOF 8179/* confdefs.h. */ 8180_ACEOF 8181cat confdefs.h >>conftest.$ac_ext 8182cat >>conftest.$ac_ext <<_ACEOF 8183/* end confdefs.h. */ 8184#include <stdlib.h> 8185#include <stdarg.h> 8186#include <string.h> 8187#include <float.h> 8188 8189int 8190main () 8191{ 8192 8193 ; 8194 return 0; 8195} 8196_ACEOF 8197rm -f conftest.$ac_objext 8198if { (ac_try="$ac_compile" 8199case "(($ac_try" in 8200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8201 *) ac_try_echo=$ac_try;; 8202esac 8203eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8204 (eval "$ac_compile") 2>conftest.er1 8205 ac_status=$? 8206 grep -v '^ *+' conftest.er1 >conftest.err 8207 rm -f conftest.er1 8208 cat conftest.err >&5 8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8210 (exit $ac_status); } && { 8211 test -z "$ac_c_werror_flag" || 8212 test ! -s conftest.err 8213 } && test -s conftest.$ac_objext; then 8214 ac_cv_header_stdc=yes 8215else 8216 echo "$as_me: failed program was:" >&5 8217sed 's/^/| /' conftest.$ac_ext >&5 8218 8219 ac_cv_header_stdc=no 8220fi 8221 8222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8223 8224if test $ac_cv_header_stdc = yes; then 8225 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8226 cat >conftest.$ac_ext <<_ACEOF 8227/* confdefs.h. */ 8228_ACEOF 8229cat confdefs.h >>conftest.$ac_ext 8230cat >>conftest.$ac_ext <<_ACEOF 8231/* end confdefs.h. */ 8232#include <string.h> 8233 8234_ACEOF 8235if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8236 $EGREP "memchr" >/dev/null 2>&1; then 8237 : 8238else 8239 ac_cv_header_stdc=no 8240fi 8241rm -f conftest* 8242 8243fi 8244 8245if test $ac_cv_header_stdc = yes; then 8246 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8247 cat >conftest.$ac_ext <<_ACEOF 8248/* confdefs.h. */ 8249_ACEOF 8250cat confdefs.h >>conftest.$ac_ext 8251cat >>conftest.$ac_ext <<_ACEOF 8252/* end confdefs.h. */ 8253#include <stdlib.h> 8254 8255_ACEOF 8256if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8257 $EGREP "free" >/dev/null 2>&1; then 8258 : 8259else 8260 ac_cv_header_stdc=no 8261fi 8262rm -f conftest* 8263 8264fi 8265 8266if test $ac_cv_header_stdc = yes; then 8267 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8268 if test "$cross_compiling" = yes; then 8269 : 8270else 8271 cat >conftest.$ac_ext <<_ACEOF 8272/* confdefs.h. */ 8273_ACEOF 8274cat confdefs.h >>conftest.$ac_ext 8275cat >>conftest.$ac_ext <<_ACEOF 8276/* end confdefs.h. */ 8277#include <ctype.h> 8278#include <stdlib.h> 8279#if ((' ' & 0x0FF) == 0x020) 8280# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8281# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8282#else 8283# define ISLOWER(c) \ 8284 (('a' <= (c) && (c) <= 'i') \ 8285 || ('j' <= (c) && (c) <= 'r') \ 8286 || ('s' <= (c) && (c) <= 'z')) 8287# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8288#endif 8289 8290#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8291int 8292main () 8293{ 8294 int i; 8295 for (i = 0; i < 256; i++) 8296 if (XOR (islower (i), ISLOWER (i)) 8297 || toupper (i) != TOUPPER (i)) 8298 return 2; 8299 return 0; 8300} 8301_ACEOF 8302rm -f conftest$ac_exeext 8303if { (ac_try="$ac_link" 8304case "(($ac_try" in 8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8306 *) ac_try_echo=$ac_try;; 8307esac 8308eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8309 (eval "$ac_link") 2>&5 8310 ac_status=$? 8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8313 { (case "(($ac_try" in 8314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8315 *) ac_try_echo=$ac_try;; 8316esac 8317eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8318 (eval "$ac_try") 2>&5 8319 ac_status=$? 8320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8321 (exit $ac_status); }; }; then 8322 : 8323else 8324 echo "$as_me: program exited with status $ac_status" >&5 8325echo "$as_me: failed program was:" >&5 8326sed 's/^/| /' conftest.$ac_ext >&5 8327 8328( exit $ac_status ) 8329ac_cv_header_stdc=no 8330fi 8331rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8332fi 8333 8334 8335fi 8336fi 8337{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 8338echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 8339if test $ac_cv_header_stdc = yes; then 8340 8341cat >>confdefs.h <<\_ACEOF 8342#define STDC_HEADERS 1 8343_ACEOF 8344 8345fi 8346 8347# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8358 inttypes.h stdint.h unistd.h 8359do 8360as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8361{ echo "$as_me:$LINENO: checking for $ac_header" >&5 8362echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8363if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8364 echo $ECHO_N "(cached) $ECHO_C" >&6 8365else 8366 cat >conftest.$ac_ext <<_ACEOF 8367/* confdefs.h. */ 8368_ACEOF 8369cat confdefs.h >>conftest.$ac_ext 8370cat >>conftest.$ac_ext <<_ACEOF 8371/* end confdefs.h. */ 8372$ac_includes_default 8373 8374#include <$ac_header> 8375_ACEOF 8376rm -f conftest.$ac_objext 8377if { (ac_try="$ac_compile" 8378case "(($ac_try" in 8379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8380 *) ac_try_echo=$ac_try;; 8381esac 8382eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8383 (eval "$ac_compile") 2>conftest.er1 8384 ac_status=$? 8385 grep -v '^ *+' conftest.er1 >conftest.err 8386 rm -f conftest.er1 8387 cat conftest.err >&5 8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8389 (exit $ac_status); } && { 8390 test -z "$ac_c_werror_flag" || 8391 test ! -s conftest.err 8392 } && test -s conftest.$ac_objext; then 8393 eval "$as_ac_Header=yes" 8394else 8395 echo "$as_me: failed program was:" >&5 8396sed 's/^/| /' conftest.$ac_ext >&5 8397 8398 eval "$as_ac_Header=no" 8399fi 8400 8401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8402fi 8403ac_res=`eval echo '${'$as_ac_Header'}'` 8404 { echo "$as_me:$LINENO: result: $ac_res" >&5 8405echo "${ECHO_T}$ac_res" >&6; } 8406if test `eval echo '${'$as_ac_Header'}'` = yes; then 8407 cat >>confdefs.h <<_ACEOF 8408#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8409_ACEOF 8410 8411fi 8412 8413done 8414 8415 8416 8417 8418 8419 8420 8421for ac_header in limits.h stdlib.h pwd.h string.h strings.h 8422do 8423as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8424if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8425 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8426echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8427if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8428 echo $ECHO_N "(cached) $ECHO_C" >&6 8429fi 8430ac_res=`eval echo '${'$as_ac_Header'}'` 8431 { echo "$as_me:$LINENO: result: $ac_res" >&5 8432echo "${ECHO_T}$ac_res" >&6; } 8433else 8434 # Is the header compilable? 8435{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 8436echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8437cat >conftest.$ac_ext <<_ACEOF 8438/* confdefs.h. */ 8439_ACEOF 8440cat confdefs.h >>conftest.$ac_ext 8441cat >>conftest.$ac_ext <<_ACEOF 8442/* end confdefs.h. */ 8443$ac_includes_default 8444#include <$ac_header> 8445_ACEOF 8446rm -f conftest.$ac_objext 8447if { (ac_try="$ac_compile" 8448case "(($ac_try" in 8449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8450 *) ac_try_echo=$ac_try;; 8451esac 8452eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8453 (eval "$ac_compile") 2>conftest.er1 8454 ac_status=$? 8455 grep -v '^ *+' conftest.er1 >conftest.err 8456 rm -f conftest.er1 8457 cat conftest.err >&5 8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8459 (exit $ac_status); } && { 8460 test -z "$ac_c_werror_flag" || 8461 test ! -s conftest.err 8462 } && test -s conftest.$ac_objext; then 8463 ac_header_compiler=yes 8464else 8465 echo "$as_me: failed program was:" >&5 8466sed 's/^/| /' conftest.$ac_ext >&5 8467 8468 ac_header_compiler=no 8469fi 8470 8471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8472{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8473echo "${ECHO_T}$ac_header_compiler" >&6; } 8474 8475# Is the header present? 8476{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 8477echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8478cat >conftest.$ac_ext <<_ACEOF 8479/* confdefs.h. */ 8480_ACEOF 8481cat confdefs.h >>conftest.$ac_ext 8482cat >>conftest.$ac_ext <<_ACEOF 8483/* end confdefs.h. */ 8484#include <$ac_header> 8485_ACEOF 8486if { (ac_try="$ac_cpp conftest.$ac_ext" 8487case "(($ac_try" in 8488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8489 *) ac_try_echo=$ac_try;; 8490esac 8491eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8492 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8493 ac_status=$? 8494 grep -v '^ *+' conftest.er1 >conftest.err 8495 rm -f conftest.er1 8496 cat conftest.err >&5 8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8498 (exit $ac_status); } >/dev/null && { 8499 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8500 test ! -s conftest.err 8501 }; then 8502 ac_header_preproc=yes 8503else 8504 echo "$as_me: failed program was:" >&5 8505sed 's/^/| /' conftest.$ac_ext >&5 8506 8507 ac_header_preproc=no 8508fi 8509 8510rm -f conftest.err conftest.$ac_ext 8511{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8512echo "${ECHO_T}$ac_header_preproc" >&6; } 8513 8514# So? What about this header? 8515case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8516 yes:no: ) 8517 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8518echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8520echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8521 ac_header_preproc=yes 8522 ;; 8523 no:yes:* ) 8524 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8525echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8526 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8527echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8528 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8529echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8530 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8531echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8533echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8534 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8535echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8536 8537 ;; 8538esac 8539{ echo "$as_me:$LINENO: checking for $ac_header" >&5 8540echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8541if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8542 echo $ECHO_N "(cached) $ECHO_C" >&6 8543else 8544 eval "$as_ac_Header=\$ac_header_preproc" 8545fi 8546ac_res=`eval echo '${'$as_ac_Header'}'` 8547 { echo "$as_me:$LINENO: result: $ac_res" >&5 8548echo "${ECHO_T}$ac_res" >&6; } 8549 8550fi 8551if test `eval echo '${'$as_ac_Header'}'` = yes; then 8552 cat >>confdefs.h <<_ACEOF 8553#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8554_ACEOF 8555 8556fi 8557 8558done 8559 8560 8561 8562 8563 8564for ac_header in sys/resource.h sys/types.h sys/time.h unistd.h 8565do 8566as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8567if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8568 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8569echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8570if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8571 echo $ECHO_N "(cached) $ECHO_C" >&6 8572fi 8573ac_res=`eval echo '${'$as_ac_Header'}'` 8574 { echo "$as_me:$LINENO: result: $ac_res" >&5 8575echo "${ECHO_T}$ac_res" >&6; } 8576else 8577 # Is the header compilable? 8578{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 8579echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8580cat >conftest.$ac_ext <<_ACEOF 8581/* confdefs.h. */ 8582_ACEOF 8583cat confdefs.h >>conftest.$ac_ext 8584cat >>conftest.$ac_ext <<_ACEOF 8585/* end confdefs.h. */ 8586$ac_includes_default 8587#include <$ac_header> 8588_ACEOF 8589rm -f conftest.$ac_objext 8590if { (ac_try="$ac_compile" 8591case "(($ac_try" in 8592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8593 *) ac_try_echo=$ac_try;; 8594esac 8595eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8596 (eval "$ac_compile") 2>conftest.er1 8597 ac_status=$? 8598 grep -v '^ *+' conftest.er1 >conftest.err 8599 rm -f conftest.er1 8600 cat conftest.err >&5 8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8602 (exit $ac_status); } && { 8603 test -z "$ac_c_werror_flag" || 8604 test ! -s conftest.err 8605 } && test -s conftest.$ac_objext; then 8606 ac_header_compiler=yes 8607else 8608 echo "$as_me: failed program was:" >&5 8609sed 's/^/| /' conftest.$ac_ext >&5 8610 8611 ac_header_compiler=no 8612fi 8613 8614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8615{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8616echo "${ECHO_T}$ac_header_compiler" >&6; } 8617 8618# Is the header present? 8619{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 8620echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8621cat >conftest.$ac_ext <<_ACEOF 8622/* confdefs.h. */ 8623_ACEOF 8624cat confdefs.h >>conftest.$ac_ext 8625cat >>conftest.$ac_ext <<_ACEOF 8626/* end confdefs.h. */ 8627#include <$ac_header> 8628_ACEOF 8629if { (ac_try="$ac_cpp conftest.$ac_ext" 8630case "(($ac_try" in 8631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8632 *) ac_try_echo=$ac_try;; 8633esac 8634eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8636 ac_status=$? 8637 grep -v '^ *+' conftest.er1 >conftest.err 8638 rm -f conftest.er1 8639 cat conftest.err >&5 8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8641 (exit $ac_status); } >/dev/null && { 8642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8643 test ! -s conftest.err 8644 }; then 8645 ac_header_preproc=yes 8646else 8647 echo "$as_me: failed program was:" >&5 8648sed 's/^/| /' conftest.$ac_ext >&5 8649 8650 ac_header_preproc=no 8651fi 8652 8653rm -f conftest.err conftest.$ac_ext 8654{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8655echo "${ECHO_T}$ac_header_preproc" >&6; } 8656 8657# So? What about this header? 8658case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8659 yes:no: ) 8660 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8661echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8663echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8664 ac_header_preproc=yes 8665 ;; 8666 no:yes:* ) 8667 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8668echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8669 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8670echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8671 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8672echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8673 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8674echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8676echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8677 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8678echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8679 8680 ;; 8681esac 8682{ echo "$as_me:$LINENO: checking for $ac_header" >&5 8683echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8684if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8685 echo $ECHO_N "(cached) $ECHO_C" >&6 8686else 8687 eval "$as_ac_Header=\$ac_header_preproc" 8688fi 8689ac_res=`eval echo '${'$as_ac_Header'}'` 8690 { echo "$as_me:$LINENO: result: $ac_res" >&5 8691echo "${ECHO_T}$ac_res" >&6; } 8692 8693fi 8694if test `eval echo '${'$as_ac_Header'}'` = yes; then 8695 cat >>confdefs.h <<_ACEOF 8696#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8697_ACEOF 8698 8699fi 8700 8701done 8702 8703 8704 8705 8706 8707 8708 8709for ac_header in syslog.h fcntl.h sys/stat.h signal.h ctype.h grp.h 8710do 8711as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8712if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8713 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8714echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8715if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8716 echo $ECHO_N "(cached) $ECHO_C" >&6 8717fi 8718ac_res=`eval echo '${'$as_ac_Header'}'` 8719 { echo "$as_me:$LINENO: result: $ac_res" >&5 8720echo "${ECHO_T}$ac_res" >&6; } 8721else 8722 # Is the header compilable? 8723{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 8724echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8725cat >conftest.$ac_ext <<_ACEOF 8726/* confdefs.h. */ 8727_ACEOF 8728cat confdefs.h >>conftest.$ac_ext 8729cat >>conftest.$ac_ext <<_ACEOF 8730/* end confdefs.h. */ 8731$ac_includes_default 8732#include <$ac_header> 8733_ACEOF 8734rm -f conftest.$ac_objext 8735if { (ac_try="$ac_compile" 8736case "(($ac_try" in 8737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8738 *) ac_try_echo=$ac_try;; 8739esac 8740eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8741 (eval "$ac_compile") 2>conftest.er1 8742 ac_status=$? 8743 grep -v '^ *+' conftest.er1 >conftest.err 8744 rm -f conftest.er1 8745 cat conftest.err >&5 8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8747 (exit $ac_status); } && { 8748 test -z "$ac_c_werror_flag" || 8749 test ! -s conftest.err 8750 } && test -s conftest.$ac_objext; then 8751 ac_header_compiler=yes 8752else 8753 echo "$as_me: failed program was:" >&5 8754sed 's/^/| /' conftest.$ac_ext >&5 8755 8756 ac_header_compiler=no 8757fi 8758 8759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8760{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8761echo "${ECHO_T}$ac_header_compiler" >&6; } 8762 8763# Is the header present? 8764{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 8765echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8766cat >conftest.$ac_ext <<_ACEOF 8767/* confdefs.h. */ 8768_ACEOF 8769cat confdefs.h >>conftest.$ac_ext 8770cat >>conftest.$ac_ext <<_ACEOF 8771/* end confdefs.h. */ 8772#include <$ac_header> 8773_ACEOF 8774if { (ac_try="$ac_cpp conftest.$ac_ext" 8775case "(($ac_try" in 8776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8777 *) ac_try_echo=$ac_try;; 8778esac 8779eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8781 ac_status=$? 8782 grep -v '^ *+' conftest.er1 >conftest.err 8783 rm -f conftest.er1 8784 cat conftest.err >&5 8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8786 (exit $ac_status); } >/dev/null && { 8787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8788 test ! -s conftest.err 8789 }; then 8790 ac_header_preproc=yes 8791else 8792 echo "$as_me: failed program was:" >&5 8793sed 's/^/| /' conftest.$ac_ext >&5 8794 8795 ac_header_preproc=no 8796fi 8797 8798rm -f conftest.err conftest.$ac_ext 8799{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8800echo "${ECHO_T}$ac_header_preproc" >&6; } 8801 8802# So? What about this header? 8803case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8804 yes:no: ) 8805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8806echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8808echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8809 ac_header_preproc=yes 8810 ;; 8811 no:yes:* ) 8812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8813echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8815echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8817echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8819echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8821echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8823echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8824 8825 ;; 8826esac 8827{ echo "$as_me:$LINENO: checking for $ac_header" >&5 8828echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8829if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8830 echo $ECHO_N "(cached) $ECHO_C" >&6 8831else 8832 eval "$as_ac_Header=\$ac_header_preproc" 8833fi 8834ac_res=`eval echo '${'$as_ac_Header'}'` 8835 { echo "$as_me:$LINENO: result: $ac_res" >&5 8836echo "${ECHO_T}$ac_res" >&6; } 8837 8838fi 8839if test `eval echo '${'$as_ac_Header'}'` = yes; then 8840 cat >>confdefs.h <<_ACEOF 8841#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8842_ACEOF 8843 8844fi 8845 8846done 8847 8848 8849 8850 8851 8852 8853for ac_header in errno.h sys/errno.h sys/wait.h time.h sys/signal.h 8854do 8855as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8856if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8857 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8858echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8859if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8860 echo $ECHO_N "(cached) $ECHO_C" >&6 8861fi 8862ac_res=`eval echo '${'$as_ac_Header'}'` 8863 { echo "$as_me:$LINENO: result: $ac_res" >&5 8864echo "${ECHO_T}$ac_res" >&6; } 8865else 8866 # Is the header compilable? 8867{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 8868echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8869cat >conftest.$ac_ext <<_ACEOF 8870/* confdefs.h. */ 8871_ACEOF 8872cat confdefs.h >>conftest.$ac_ext 8873cat >>conftest.$ac_ext <<_ACEOF 8874/* end confdefs.h. */ 8875$ac_includes_default 8876#include <$ac_header> 8877_ACEOF 8878rm -f conftest.$ac_objext 8879if { (ac_try="$ac_compile" 8880case "(($ac_try" in 8881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8882 *) ac_try_echo=$ac_try;; 8883esac 8884eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8885 (eval "$ac_compile") 2>conftest.er1 8886 ac_status=$? 8887 grep -v '^ *+' conftest.er1 >conftest.err 8888 rm -f conftest.er1 8889 cat conftest.err >&5 8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8891 (exit $ac_status); } && { 8892 test -z "$ac_c_werror_flag" || 8893 test ! -s conftest.err 8894 } && test -s conftest.$ac_objext; then 8895 ac_header_compiler=yes 8896else 8897 echo "$as_me: failed program was:" >&5 8898sed 's/^/| /' conftest.$ac_ext >&5 8899 8900 ac_header_compiler=no 8901fi 8902 8903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8904{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8905echo "${ECHO_T}$ac_header_compiler" >&6; } 8906 8907# Is the header present? 8908{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 8909echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8910cat >conftest.$ac_ext <<_ACEOF 8911/* confdefs.h. */ 8912_ACEOF 8913cat confdefs.h >>conftest.$ac_ext 8914cat >>conftest.$ac_ext <<_ACEOF 8915/* end confdefs.h. */ 8916#include <$ac_header> 8917_ACEOF 8918if { (ac_try="$ac_cpp conftest.$ac_ext" 8919case "(($ac_try" in 8920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8921 *) ac_try_echo=$ac_try;; 8922esac 8923eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8925 ac_status=$? 8926 grep -v '^ *+' conftest.er1 >conftest.err 8927 rm -f conftest.er1 8928 cat conftest.err >&5 8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8930 (exit $ac_status); } >/dev/null && { 8931 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8932 test ! -s conftest.err 8933 }; then 8934 ac_header_preproc=yes 8935else 8936 echo "$as_me: failed program was:" >&5 8937sed 's/^/| /' conftest.$ac_ext >&5 8938 8939 ac_header_preproc=no 8940fi 8941 8942rm -f conftest.err conftest.$ac_ext 8943{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8944echo "${ECHO_T}$ac_header_preproc" >&6; } 8945 8946# So? What about this header? 8947case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8948 yes:no: ) 8949 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8950echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8952echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8953 ac_header_preproc=yes 8954 ;; 8955 no:yes:* ) 8956 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8957echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8958 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8959echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8960 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8961echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8962 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8963echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8965echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8966 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8967echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8968 8969 ;; 8970esac 8971{ echo "$as_me:$LINENO: checking for $ac_header" >&5 8972echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8973if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8974 echo $ECHO_N "(cached) $ECHO_C" >&6 8975else 8976 eval "$as_ac_Header=\$ac_header_preproc" 8977fi 8978ac_res=`eval echo '${'$as_ac_Header'}'` 8979 { echo "$as_me:$LINENO: result: $ac_res" >&5 8980echo "${ECHO_T}$ac_res" >&6; } 8981 8982fi 8983if test `eval echo '${'$as_ac_Header'}'` = yes; then 8984 cat >>confdefs.h <<_ACEOF 8985#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8986_ACEOF 8987 8988fi 8989 8990done 8991 8992 8993ac_config_files="$ac_config_files Makefile unsup/loganalyze.pl" 8994 8995cat >confcache <<\_ACEOF 8996# This file is a shell script that caches the results of configure 8997# tests run on this system so they can be shared between configure 8998# scripts and configure runs, see configure's option --config-cache. 8999# It is not useful on other systems. If it contains results you don't 9000# want to keep, you may remove or edit it. 9001# 9002# config.status only pays attention to the cache file if you give it 9003# the --recheck option to rerun configure. 9004# 9005# `ac_cv_env_foo' variables (set or unset) will be overridden when 9006# loading this file, other *unset* `ac_cv_foo' will be assigned the 9007# following values. 9008 9009_ACEOF 9010 9011# The following way of writing the cache mishandles newlines in values, 9012# but we know of no workaround that is simple, portable, and efficient. 9013# So, we kill variables containing newlines. 9014# Ultrix sh set writes to stderr and can't be redirected directly, 9015# and sets the high bit in the cache file unless we assign to the vars. 9016( 9017 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9018 eval ac_val=\$$ac_var 9019 case $ac_val in #( 9020 *${as_nl}*) 9021 case $ac_var in #( 9022 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 9023echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 9024 esac 9025 case $ac_var in #( 9026 _ | IFS | as_nl) ;; #( 9027 *) $as_unset $ac_var ;; 9028 esac ;; 9029 esac 9030 done 9031 9032 (set) 2>&1 | 9033 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9034 *${as_nl}ac_space=\ *) 9035 # `set' does not quote correctly, so add quotes (double-quote 9036 # substitution turns \\\\ into \\, and sed turns \\ into \). 9037 sed -n \ 9038 "s/'/'\\\\''/g; 9039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9040 ;; #( 9041 *) 9042 # `set' quotes correctly as required by POSIX, so do not add quotes. 9043 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 9044 ;; 9045 esac | 9046 sort 9047) | 9048 sed ' 9049 /^ac_cv_env_/b end 9050 t clear 9051 :clear 9052 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 9053 t end 9054 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9055 :end' >>confcache 9056if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9057 if test -w "$cache_file"; then 9058 test "x$cache_file" != "x/dev/null" && 9059 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 9060echo "$as_me: updating cache $cache_file" >&6;} 9061 cat confcache >$cache_file 9062 else 9063 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9064echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9065 fi 9066fi 9067rm -f confcache 9068 9069test "x$prefix" = xNONE && prefix=$ac_default_prefix 9070# Let make expand exec_prefix. 9071test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 9072 9073DEFS=-DHAVE_CONFIG_H 9074 9075ac_libobjs= 9076ac_ltlibobjs= 9077for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9078 # 1. Remove the extension, and $U if already installed. 9079 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9080 ac_i=`echo "$ac_i" | sed "$ac_script"` 9081 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9082 # will be set to the directory where LIBOBJS objects are built. 9083 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9084 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 9085done 9086LIBOBJS=$ac_libobjs 9087 9088LTLIBOBJS=$ac_ltlibobjs 9089 9090 9091 9092: ${CONFIG_STATUS=./config.status} 9093ac_clean_files_save=$ac_clean_files 9094ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9095{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9096echo "$as_me: creating $CONFIG_STATUS" >&6;} 9097cat >$CONFIG_STATUS <<_ACEOF 9098#! $SHELL 9099# Generated by $as_me. 9100# Run this file to recreate the current configuration. 9101# Compiler output produced by configure, useful for debugging 9102# configure, is in config.log if it exists. 9103 9104debug=false 9105ac_cs_recheck=false 9106ac_cs_silent=false 9107SHELL=\${CONFIG_SHELL-$SHELL} 9108_ACEOF 9109 9110cat >>$CONFIG_STATUS <<\_ACEOF 9111## --------------------- ## 9112## M4sh Initialization. ## 9113## --------------------- ## 9114 9115# Be more Bourne compatible 9116DUALCASE=1; export DUALCASE # for MKS sh 9117if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9118 emulate sh 9119 NULLCMD=: 9120 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 9121 # is contrary to our usage. Disable this feature. 9122 alias -g '${1+"$@"}'='"$@"' 9123 setopt NO_GLOB_SUBST 9124else 9125 case `(set -o) 2>/dev/null` in 9126 *posix*) set -o posix ;; 9127esac 9128 9129fi 9130 9131 9132 9133 9134# PATH needs CR 9135# Avoid depending upon Character Ranges. 9136as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9137as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9138as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9139as_cr_digits='0123456789' 9140as_cr_alnum=$as_cr_Letters$as_cr_digits 9141 9142# The user is always right. 9143if test "${PATH_SEPARATOR+set}" != set; then 9144 echo "#! /bin/sh" >conf$$.sh 9145 echo "exit 0" >>conf$$.sh 9146 chmod +x conf$$.sh 9147 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 9148 PATH_SEPARATOR=';' 9149 else 9150 PATH_SEPARATOR=: 9151 fi 9152 rm -f conf$$.sh 9153fi 9154 9155# Support unset when possible. 9156if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9157 as_unset=unset 9158else 9159 as_unset=false 9160fi 9161 9162 9163# IFS 9164# We need space, tab and new line, in precisely that order. Quoting is 9165# there to prevent editors from complaining about space-tab. 9166# (If _AS_PATH_WALK were called with IFS unset, it would disable word 9167# splitting by setting IFS to empty value.) 9168as_nl=' 9169' 9170IFS=" "" $as_nl" 9171 9172# Find who we are. Look in the path if we contain no directory separator. 9173case $0 in 9174 *[\\/]* ) as_myself=$0 ;; 9175 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9176for as_dir in $PATH 9177do 9178 IFS=$as_save_IFS 9179 test -z "$as_dir" && as_dir=. 9180 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9181done 9182IFS=$as_save_IFS 9183 9184 ;; 9185esac 9186# We did not find ourselves, most probably we were run as `sh COMMAND' 9187# in which case we are not to be found in the path. 9188if test "x$as_myself" = x; then 9189 as_myself=$0 9190fi 9191if test ! -f "$as_myself"; then 9192 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9193 { (exit 1); exit 1; } 9194fi 9195 9196# Work around bugs in pre-3.0 UWIN ksh. 9197for as_var in ENV MAIL MAILPATH 9198do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9199done 9200PS1='$ ' 9201PS2='> ' 9202PS4='+ ' 9203 9204# NLS nuisances. 9205for as_var in \ 9206 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 9207 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 9208 LC_TELEPHONE LC_TIME 9209do 9210 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 9211 eval $as_var=C; export $as_var 9212 else 9213 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9214 fi 9215done 9216 9217# Required to use basename. 9218if expr a : '\(a\)' >/dev/null 2>&1 && 9219 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9220 as_expr=expr 9221else 9222 as_expr=false 9223fi 9224 9225if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9226 as_basename=basename 9227else 9228 as_basename=false 9229fi 9230 9231 9232# Name of the executable. 9233as_me=`$as_basename -- "$0" || 9234$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9235 X"$0" : 'X\(//\)$' \| \ 9236 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9237echo X/"$0" | 9238 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9239 s//\1/ 9240 q 9241 } 9242 /^X\/\(\/\/\)$/{ 9243 s//\1/ 9244 q 9245 } 9246 /^X\/\(\/\).*/{ 9247 s//\1/ 9248 q 9249 } 9250 s/.*/./; q'` 9251 9252# CDPATH. 9253$as_unset CDPATH 9254 9255 9256 9257 as_lineno_1=$LINENO 9258 as_lineno_2=$LINENO 9259 test "x$as_lineno_1" != "x$as_lineno_2" && 9260 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 9261 9262 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 9263 # uniformly replaced by the line number. The first 'sed' inserts a 9264 # line-number line after each line using $LINENO; the second 'sed' 9265 # does the real work. The second script uses 'N' to pair each 9266 # line-number line with the line containing $LINENO, and appends 9267 # trailing '-' during substitution so that $LINENO is not a special 9268 # case at line end. 9269 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 9270 # scripts with optimization help from Paolo Bonzini. Blame Lee 9271 # E. McMahon (1931-1989) for sed's syntax. :-) 9272 sed -n ' 9273 p 9274 /[$]LINENO/= 9275 ' <$as_myself | 9276 sed ' 9277 s/[$]LINENO.*/&-/ 9278 t lineno 9279 b 9280 :lineno 9281 N 9282 :loop 9283 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 9284 t loop 9285 s/-\n.*// 9286 ' >$as_me.lineno && 9287 chmod +x "$as_me.lineno" || 9288 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 9289 { (exit 1); exit 1; }; } 9290 9291 # Don't try to exec as it changes $[0], causing all sort of problems 9292 # (the dirname of $[0] is not the place where we might find the 9293 # original and so on. Autoconf is especially sensitive to this). 9294 . "./$as_me.lineno" 9295 # Exit status is that of the last command. 9296 exit 9297} 9298 9299 9300if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9301 as_dirname=dirname 9302else 9303 as_dirname=false 9304fi 9305 9306ECHO_C= ECHO_N= ECHO_T= 9307case `echo -n x` in 9308-n*) 9309 case `echo 'x\c'` in 9310 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9311 *) ECHO_C='\c';; 9312 esac;; 9313*) 9314 ECHO_N='-n';; 9315esac 9316 9317if expr a : '\(a\)' >/dev/null 2>&1 && 9318 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9319 as_expr=expr 9320else 9321 as_expr=false 9322fi 9323 9324rm -f conf$$ conf$$.exe conf$$.file 9325if test -d conf$$.dir; then 9326 rm -f conf$$.dir/conf$$.file 9327else 9328 rm -f conf$$.dir 9329 mkdir conf$$.dir 9330fi 9331echo >conf$$.file 9332if ln -s conf$$.file conf$$ 2>/dev/null; then 9333 as_ln_s='ln -s' 9334 # ... but there are two gotchas: 9335 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9336 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9337 # In both cases, we have to default to `cp -p'. 9338 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9339 as_ln_s='cp -p' 9340elif ln conf$$.file conf$$ 2>/dev/null; then 9341 as_ln_s=ln 9342else 9343 as_ln_s='cp -p' 9344fi 9345rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9346rmdir conf$$.dir 2>/dev/null 9347 9348if mkdir -p . 2>/dev/null; then 9349 as_mkdir_p=: 9350else 9351 test -d ./-p && rmdir ./-p 9352 as_mkdir_p=false 9353fi 9354 9355if test -x / >/dev/null 2>&1; then 9356 as_test_x='test -x' 9357else 9358 if ls -dL / >/dev/null 2>&1; then 9359 as_ls_L_option=L 9360 else 9361 as_ls_L_option= 9362 fi 9363 as_test_x=' 9364 eval sh -c '\'' 9365 if test -d "$1"; then 9366 test -d "$1/."; 9367 else 9368 case $1 in 9369 -*)set "./$1";; 9370 esac; 9371 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9372 ???[sx]*):;;*)false;;esac;fi 9373 '\'' sh 9374 ' 9375fi 9376as_executable_p=$as_test_x 9377 9378# Sed expression to map a string onto a valid CPP name. 9379as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 9380 9381# Sed expression to map a string onto a valid variable name. 9382as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 9383 9384 9385exec 6>&1 9386 9387# Save the log message, to keep $[0] and so on meaningful, and to 9388# report actual input values of CONFIG_FILES etc. instead of their 9389# values after options handling. 9390ac_log=" 9391This file was extended by $as_me, which was 9392generated by GNU Autoconf 2.61. Invocation command line was 9393 9394 CONFIG_FILES = $CONFIG_FILES 9395 CONFIG_HEADERS = $CONFIG_HEADERS 9396 CONFIG_LINKS = $CONFIG_LINKS 9397 CONFIG_COMMANDS = $CONFIG_COMMANDS 9398 $ $0 $@ 9399 9400on `(hostname || uname -n) 2>/dev/null | sed 1q` 9401" 9402 9403_ACEOF 9404 9405cat >>$CONFIG_STATUS <<_ACEOF 9406# Files that config.status was made for. 9407config_files="$ac_config_files" 9408config_headers="$ac_config_headers" 9409 9410_ACEOF 9411 9412cat >>$CONFIG_STATUS <<\_ACEOF 9413ac_cs_usage="\ 9414\`$as_me' instantiates files from templates according to the 9415current configuration. 9416 9417Usage: $0 [OPTIONS] [FILE]... 9418 9419 -h, --help print this help, then exit 9420 -V, --version print version number and configuration settings, then exit 9421 -q, --quiet do not print progress messages 9422 -d, --debug don't remove temporary files 9423 --recheck update $as_me by reconfiguring in the same conditions 9424 --file=FILE[:TEMPLATE] 9425 instantiate the configuration file FILE 9426 --header=FILE[:TEMPLATE] 9427 instantiate the configuration header FILE 9428 9429Configuration files: 9430$config_files 9431 9432Configuration headers: 9433$config_headers 9434 9435Report bugs to <bug-autoconf@gnu.org>." 9436 9437_ACEOF 9438cat >>$CONFIG_STATUS <<_ACEOF 9439ac_cs_version="\\ 9440config.status 9441configured by $0, generated by GNU Autoconf 2.61, 9442 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9443 9444Copyright (C) 2006 Free Software Foundation, Inc. 9445This config.status script is free software; the Free Software Foundation 9446gives unlimited permission to copy, distribute and modify it." 9447 9448ac_pwd='$ac_pwd' 9449srcdir='$srcdir' 9450_ACEOF 9451 9452cat >>$CONFIG_STATUS <<\_ACEOF 9453# If no file are specified by the user, then we need to provide default 9454# value. By we need to know if files were specified by the user. 9455ac_need_defaults=: 9456while test $# != 0 9457do 9458 case $1 in 9459 --*=*) 9460 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9461 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9462 ac_shift=: 9463 ;; 9464 *) 9465 ac_option=$1 9466 ac_optarg=$2 9467 ac_shift=shift 9468 ;; 9469 esac 9470 9471 case $ac_option in 9472 # Handling of the options. 9473 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9474 ac_cs_recheck=: ;; 9475 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9476 echo "$ac_cs_version"; exit ;; 9477 --debug | --debu | --deb | --de | --d | -d ) 9478 debug=: ;; 9479 --file | --fil | --fi | --f ) 9480 $ac_shift 9481 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 9482 ac_need_defaults=false;; 9483 --header | --heade | --head | --hea ) 9484 $ac_shift 9485 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 9486 ac_need_defaults=false;; 9487 --he | --h) 9488 # Conflict between --help and --header 9489 { echo "$as_me: error: ambiguous option: $1 9490Try \`$0 --help' for more information." >&2 9491 { (exit 1); exit 1; }; };; 9492 --help | --hel | -h ) 9493 echo "$ac_cs_usage"; exit ;; 9494 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9495 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9496 ac_cs_silent=: ;; 9497 9498 # This is an error. 9499 -*) { echo "$as_me: error: unrecognized option: $1 9500Try \`$0 --help' for more information." >&2 9501 { (exit 1); exit 1; }; } ;; 9502 9503 *) ac_config_targets="$ac_config_targets $1" 9504 ac_need_defaults=false ;; 9505 9506 esac 9507 shift 9508done 9509 9510ac_configure_extra_args= 9511 9512if $ac_cs_silent; then 9513 exec 6>/dev/null 9514 ac_configure_extra_args="$ac_configure_extra_args --silent" 9515fi 9516 9517_ACEOF 9518cat >>$CONFIG_STATUS <<_ACEOF 9519if \$ac_cs_recheck; then 9520 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 9521 CONFIG_SHELL=$SHELL 9522 export CONFIG_SHELL 9523 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9524fi 9525 9526_ACEOF 9527cat >>$CONFIG_STATUS <<\_ACEOF 9528exec 5>>config.log 9529{ 9530 echo 9531 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 9532## Running $as_me. ## 9533_ASBOX 9534 echo "$ac_log" 9535} >&5 9536 9537_ACEOF 9538cat >>$CONFIG_STATUS <<_ACEOF 9539_ACEOF 9540 9541cat >>$CONFIG_STATUS <<\_ACEOF 9542 9543# Handling of arguments. 9544for ac_config_target in $ac_config_targets 9545do 9546 case $ac_config_target in 9547 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9548 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9549 "unsup/loganalyze.pl") CONFIG_FILES="$CONFIG_FILES unsup/loganalyze.pl" ;; 9550 9551 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9552echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 9553 { (exit 1); exit 1; }; };; 9554 esac 9555done 9556 9557 9558# If the user did not use the arguments to specify the items to instantiate, 9559# then the envvar interface is used. Set only those that are not. 9560# We use the long form for the default assignment because of an extremely 9561# bizarre bug on SunOS 4.1.3. 9562if $ac_need_defaults; then 9563 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 9564 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 9565fi 9566 9567# Have a temporary directory for convenience. Make it in the build tree 9568# simply because there is no reason against having it here, and in addition, 9569# creating and moving files from /tmp can sometimes cause problems. 9570# Hook for its removal unless debugging. 9571# Note that there is a small window in which the directory will not be cleaned: 9572# after its creation but before its name has been assigned to `$tmp'. 9573$debug || 9574{ 9575 tmp= 9576 trap 'exit_status=$? 9577 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9578' 0 9579 trap '{ (exit 1); exit 1; }' 1 2 13 15 9580} 9581# Create a (secure) tmp directory for tmp files. 9582 9583{ 9584 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9585 test -n "$tmp" && test -d "$tmp" 9586} || 9587{ 9588 tmp=./conf$$-$RANDOM 9589 (umask 077 && mkdir "$tmp") 9590} || 9591{ 9592 echo "$me: cannot create a temporary directory in ." >&2 9593 { (exit 1); exit 1; } 9594} 9595 9596# 9597# Set up the sed scripts for CONFIG_FILES section. 9598# 9599 9600# No need to generate the scripts if there are no CONFIG_FILES. 9601# This happens for instance when ./config.status config.h 9602if test -n "$CONFIG_FILES"; then 9603 9604_ACEOF 9605 9606 9607 9608ac_delim='%!_!# ' 9609for ac_last_try in false false false false false :; do 9610 cat >conf$$subs.sed <<_ACEOF 9611SHELL!$SHELL$ac_delim 9612PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 9613PACKAGE_NAME!$PACKAGE_NAME$ac_delim 9614PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 9615PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 9616PACKAGE_STRING!$PACKAGE_STRING$ac_delim 9617PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 9618exec_prefix!$exec_prefix$ac_delim 9619prefix!$prefix$ac_delim 9620program_transform_name!$program_transform_name$ac_delim 9621bindir!$bindir$ac_delim 9622sbindir!$sbindir$ac_delim 9623libexecdir!$libexecdir$ac_delim 9624datarootdir!$datarootdir$ac_delim 9625datadir!$datadir$ac_delim 9626sysconfdir!$sysconfdir$ac_delim 9627sharedstatedir!$sharedstatedir$ac_delim 9628localstatedir!$localstatedir$ac_delim 9629includedir!$includedir$ac_delim 9630oldincludedir!$oldincludedir$ac_delim 9631docdir!$docdir$ac_delim 9632infodir!$infodir$ac_delim 9633htmldir!$htmldir$ac_delim 9634dvidir!$dvidir$ac_delim 9635pdfdir!$pdfdir$ac_delim 9636psdir!$psdir$ac_delim 9637libdir!$libdir$ac_delim 9638localedir!$localedir$ac_delim 9639mandir!$mandir$ac_delim 9640DEFS!$DEFS$ac_delim 9641ECHO_C!$ECHO_C$ac_delim 9642ECHO_N!$ECHO_N$ac_delim 9643ECHO_T!$ECHO_T$ac_delim 9644LIBS!$LIBS$ac_delim 9645build_alias!$build_alias$ac_delim 9646host_alias!$host_alias$ac_delim 9647target_alias!$target_alias$ac_delim 9648build!$build$ac_delim 9649build_cpu!$build_cpu$ac_delim 9650build_vendor!$build_vendor$ac_delim 9651build_os!$build_os$ac_delim 9652host!$host$ac_delim 9653host_cpu!$host_cpu$ac_delim 9654host_vendor!$host_vendor$ac_delim 9655host_os!$host_os$ac_delim 9656target!$target$ac_delim 9657target_cpu!$target_cpu$ac_delim 9658target_vendor!$target_vendor$ac_delim 9659target_os!$target_os$ac_delim 9660VERSION!$VERSION$ac_delim 9661CC!$CC$ac_delim 9662CFLAGS!$CFLAGS$ac_delim 9663LDFLAGS!$LDFLAGS$ac_delim 9664CPPFLAGS!$CPPFLAGS$ac_delim 9665ac_ct_CC!$ac_ct_CC$ac_delim 9666EXEEXT!$EXEEXT$ac_delim 9667OBJEXT!$OBJEXT$ac_delim 9668SET_MAKE!$SET_MAKE$ac_delim 9669PATH_PROG_PERL!$PATH_PROG_PERL$ac_delim 9670PATH_PROG_PHP!$PATH_PROG_PHP$ac_delim 9671PATH_PROG_ERUBY!$PATH_PROG_ERUBY$ac_delim 9672PATH_PROG_ASP!$PATH_PROG_ASP$ac_delim 9673GCC_WALL_OPT!$GCC_WALL_OPT$ac_delim 9674INSTALLGROUP!$INSTALLGROUP$ac_delim 9675INSTALLDIR!$INSTALLDIR$ac_delim 9676DOINSTALL!$DOINSTALL$ac_delim 9677DOINSTALLPHP!$DOINSTALLPHP$ac_delim 9678DOINSTALLCGIWRAPD!$DOINSTALLCGIWRAPD$ac_delim 9679DOINSTALLNPH!$DOINSTALLNPH$ac_delim 9680INSTALLMODE!$INSTALLMODE$ac_delim 9681GETUSERSHELL!$GETUSERSHELL$ac_delim 9682AFSDIR!$AFSDIR$ac_delim 9683AFSLDFLAGS!$AFSLDFLAGS$ac_delim 9684AFSLIBS!$AFSLIBS$ac_delim 9685CPP!$CPP$ac_delim 9686GREP!$GREP$ac_delim 9687EGREP!$EGREP$ac_delim 9688LIBOBJS!$LIBOBJS$ac_delim 9689LTLIBOBJS!$LTLIBOBJS$ac_delim 9690_ACEOF 9691 9692 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then 9693 break 9694 elif $ac_last_try; then 9695 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9696echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9697 { (exit 1); exit 1; }; } 9698 else 9699 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9700 fi 9701done 9702 9703ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 9704if test -n "$ac_eof"; then 9705 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 9706 ac_eof=`expr $ac_eof + 1` 9707fi 9708 9709cat >>$CONFIG_STATUS <<_ACEOF 9710cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 9711/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 9712_ACEOF 9713sed ' 9714s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 9715s/^/s,@/; s/!/@,|#_!!_#|/ 9716:n 9717t n 9718s/'"$ac_delim"'$/,g/; t 9719s/$/\\/; p 9720N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 9721' >>$CONFIG_STATUS <conf$$subs.sed 9722rm -f conf$$subs.sed 9723cat >>$CONFIG_STATUS <<_ACEOF 9724:end 9725s/|#_!!_#|//g 9726CEOF$ac_eof 9727_ACEOF 9728 9729 9730# VPATH may cause trouble with some makes, so we remove $(srcdir), 9731# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9732# trailing colons and then remove the whole line if VPATH becomes empty 9733# (actually we leave an empty line to preserve line numbers). 9734if test "x$srcdir" = x.; then 9735 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9736s/:*\$(srcdir):*/:/ 9737s/:*\${srcdir}:*/:/ 9738s/:*@srcdir@:*/:/ 9739s/^\([^=]*=[ ]*\):*/\1/ 9740s/:*$// 9741s/^[^=]*=[ ]*$// 9742}' 9743fi 9744 9745cat >>$CONFIG_STATUS <<\_ACEOF 9746fi # test -n "$CONFIG_FILES" 9747 9748 9749for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 9750do 9751 case $ac_tag in 9752 :[FHLC]) ac_mode=$ac_tag; continue;; 9753 esac 9754 case $ac_mode$ac_tag in 9755 :[FHL]*:*);; 9756 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 9757echo "$as_me: error: Invalid tag $ac_tag." >&2;} 9758 { (exit 1); exit 1; }; };; 9759 :[FH]-) ac_tag=-:-;; 9760 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9761 esac 9762 ac_save_IFS=$IFS 9763 IFS=: 9764 set x $ac_tag 9765 IFS=$ac_save_IFS 9766 shift 9767 ac_file=$1 9768 shift 9769 9770 case $ac_mode in 9771 :L) ac_source=$1;; 9772 :[FH]) 9773 ac_file_inputs= 9774 for ac_f 9775 do 9776 case $ac_f in 9777 -) ac_f="$tmp/stdin";; 9778 *) # Look for the file first in the build tree, then in the source tree 9779 # (if the path is not absolute). The absolute path cannot be DOS-style, 9780 # because $ac_f cannot contain `:'. 9781 test -f "$ac_f" || 9782 case $ac_f in 9783 [\\/$]*) false;; 9784 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9785 esac || 9786 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 9787echo "$as_me: error: cannot find input file: $ac_f" >&2;} 9788 { (exit 1); exit 1; }; };; 9789 esac 9790 ac_file_inputs="$ac_file_inputs $ac_f" 9791 done 9792 9793 # Let's still pretend it is `configure' which instantiates (i.e., don't 9794 # use $as_me), people would be surprised to read: 9795 # /* config.h. Generated by config.status. */ 9796 configure_input="Generated from "`IFS=: 9797 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 9798 if test x"$ac_file" != x-; then 9799 configure_input="$ac_file. $configure_input" 9800 { echo "$as_me:$LINENO: creating $ac_file" >&5 9801echo "$as_me: creating $ac_file" >&6;} 9802 fi 9803 9804 case $ac_tag in 9805 *:-:* | *:-) cat >"$tmp/stdin";; 9806 esac 9807 ;; 9808 esac 9809 9810 ac_dir=`$as_dirname -- "$ac_file" || 9811$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9812 X"$ac_file" : 'X\(//\)[^/]' \| \ 9813 X"$ac_file" : 'X\(//\)$' \| \ 9814 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9815echo X"$ac_file" | 9816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9817 s//\1/ 9818 q 9819 } 9820 /^X\(\/\/\)[^/].*/{ 9821 s//\1/ 9822 q 9823 } 9824 /^X\(\/\/\)$/{ 9825 s//\1/ 9826 q 9827 } 9828 /^X\(\/\).*/{ 9829 s//\1/ 9830 q 9831 } 9832 s/.*/./; q'` 9833 { as_dir="$ac_dir" 9834 case $as_dir in #( 9835 -*) as_dir=./$as_dir;; 9836 esac 9837 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9838 as_dirs= 9839 while :; do 9840 case $as_dir in #( 9841 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 9842 *) as_qdir=$as_dir;; 9843 esac 9844 as_dirs="'$as_qdir' $as_dirs" 9845 as_dir=`$as_dirname -- "$as_dir" || 9846$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9847 X"$as_dir" : 'X\(//\)[^/]' \| \ 9848 X"$as_dir" : 'X\(//\)$' \| \ 9849 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9850echo X"$as_dir" | 9851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9852 s//\1/ 9853 q 9854 } 9855 /^X\(\/\/\)[^/].*/{ 9856 s//\1/ 9857 q 9858 } 9859 /^X\(\/\/\)$/{ 9860 s//\1/ 9861 q 9862 } 9863 /^X\(\/\).*/{ 9864 s//\1/ 9865 q 9866 } 9867 s/.*/./; q'` 9868 test -d "$as_dir" && break 9869 done 9870 test -z "$as_dirs" || eval "mkdir $as_dirs" 9871 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9872echo "$as_me: error: cannot create directory $as_dir" >&2;} 9873 { (exit 1); exit 1; }; }; } 9874 ac_builddir=. 9875 9876case "$ac_dir" in 9877.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9878*) 9879 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9880 # A ".." for each directory in $ac_dir_suffix. 9881 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 9882 case $ac_top_builddir_sub in 9883 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9884 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9885 esac ;; 9886esac 9887ac_abs_top_builddir=$ac_pwd 9888ac_abs_builddir=$ac_pwd$ac_dir_suffix 9889# for backward compatibility: 9890ac_top_builddir=$ac_top_build_prefix 9891 9892case $srcdir in 9893 .) # We are building in place. 9894 ac_srcdir=. 9895 ac_top_srcdir=$ac_top_builddir_sub 9896 ac_abs_top_srcdir=$ac_pwd ;; 9897 [\\/]* | ?:[\\/]* ) # Absolute name. 9898 ac_srcdir=$srcdir$ac_dir_suffix; 9899 ac_top_srcdir=$srcdir 9900 ac_abs_top_srcdir=$srcdir ;; 9901 *) # Relative name. 9902 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9903 ac_top_srcdir=$ac_top_build_prefix$srcdir 9904 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9905esac 9906ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9907 9908 9909 case $ac_mode in 9910 :F) 9911 # 9912 # CONFIG_FILE 9913 # 9914 9915_ACEOF 9916 9917cat >>$CONFIG_STATUS <<\_ACEOF 9918# If the template does not know about datarootdir, expand it. 9919# FIXME: This hack should be removed a few years after 2.60. 9920ac_datarootdir_hack=; ac_datarootdir_seen= 9921 9922case `sed -n '/datarootdir/ { 9923 p 9924 q 9925} 9926/@datadir@/p 9927/@docdir@/p 9928/@infodir@/p 9929/@localedir@/p 9930/@mandir@/p 9931' $ac_file_inputs` in 9932*datarootdir*) ac_datarootdir_seen=yes;; 9933*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9934 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9935echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9936_ACEOF 9937cat >>$CONFIG_STATUS <<_ACEOF 9938 ac_datarootdir_hack=' 9939 s&@datadir@&$datadir&g 9940 s&@docdir@&$docdir&g 9941 s&@infodir@&$infodir&g 9942 s&@localedir@&$localedir&g 9943 s&@mandir@&$mandir&g 9944 s&\\\${datarootdir}&$datarootdir&g' ;; 9945esac 9946_ACEOF 9947 9948# Neutralize VPATH when `$srcdir' = `.'. 9949# Shell code in configure.ac might set extrasub. 9950# FIXME: do we really want to maintain this feature? 9951cat >>$CONFIG_STATUS <<_ACEOF 9952 sed "$ac_vpsub 9953$extrasub 9954_ACEOF 9955cat >>$CONFIG_STATUS <<\_ACEOF 9956:t 9957/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9958s&@configure_input@&$configure_input&;t t 9959s&@top_builddir@&$ac_top_builddir_sub&;t t 9960s&@srcdir@&$ac_srcdir&;t t 9961s&@abs_srcdir@&$ac_abs_srcdir&;t t 9962s&@top_srcdir@&$ac_top_srcdir&;t t 9963s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9964s&@builddir@&$ac_builddir&;t t 9965s&@abs_builddir@&$ac_abs_builddir&;t t 9966s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9967$ac_datarootdir_hack 9968" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 9969 9970test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9971 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9972 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9973 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9974which seems to be undefined. Please make sure it is defined." >&5 9975echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9976which seems to be undefined. Please make sure it is defined." >&2;} 9977 9978 rm -f "$tmp/stdin" 9979 case $ac_file in 9980 -) cat "$tmp/out"; rm -f "$tmp/out";; 9981 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 9982 esac 9983 ;; 9984 :H) 9985 # 9986 # CONFIG_HEADER 9987 # 9988_ACEOF 9989 9990# Transform confdefs.h into a sed script `conftest.defines', that 9991# substitutes the proper values into config.h.in to produce config.h. 9992rm -f conftest.defines conftest.tail 9993# First, append a space to every undef/define line, to ease matching. 9994echo 's/$/ /' >conftest.defines 9995# Then, protect against being on the right side of a sed subst, or in 9996# an unquoted here document, in config.status. If some macros were 9997# called several times there might be several #defines for the same 9998# symbol, which is useless. But do not sort them, since the last 9999# AC_DEFINE must be honored. 10000ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10001# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 10002# NAME is the cpp macro being defined, VALUE is the value it is being given. 10003# PARAMS is the parameter list in the macro definition--in most cases, it's 10004# just an empty string. 10005ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 10006ac_dB='\\)[ (].*,\\1define\\2' 10007ac_dC=' ' 10008ac_dD=' ,' 10009 10010uniq confdefs.h | 10011 sed -n ' 10012 t rset 10013 :rset 10014 s/^[ ]*#[ ]*define[ ][ ]*// 10015 t ok 10016 d 10017 :ok 10018 s/[\\&,]/\\&/g 10019 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 10020 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 10021 ' >>conftest.defines 10022 10023# Remove the space that was appended to ease matching. 10024# Then replace #undef with comments. This is necessary, for 10025# example, in the case of _POSIX_SOURCE, which is predefined and required 10026# on some systems where configure will not decide to define it. 10027# (The regexp can be short, since the line contains either #define or #undef.) 10028echo 's/ $// 10029s,^[ #]*u.*,/* & */,' >>conftest.defines 10030 10031# Break up conftest.defines: 10032ac_max_sed_lines=50 10033 10034# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 10035# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 10036# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 10037# et cetera. 10038ac_in='$ac_file_inputs' 10039ac_out='"$tmp/out1"' 10040ac_nxt='"$tmp/out2"' 10041 10042while : 10043do 10044 # Write a here document: 10045 cat >>$CONFIG_STATUS <<_ACEOF 10046 # First, check the format of the line: 10047 cat >"\$tmp/defines.sed" <<\\CEOF 10048/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 10049/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 10050b 10051:def 10052_ACEOF 10053 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 10054 echo 'CEOF 10055 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 10056 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 10057 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 10058 grep . conftest.tail >/dev/null || break 10059 rm -f conftest.defines 10060 mv conftest.tail conftest.defines 10061done 10062rm -f conftest.defines conftest.tail 10063 10064echo "ac_result=$ac_in" >>$CONFIG_STATUS 10065cat >>$CONFIG_STATUS <<\_ACEOF 10066 if test x"$ac_file" != x-; then 10067 echo "/* $configure_input */" >"$tmp/config.h" 10068 cat "$ac_result" >>"$tmp/config.h" 10069 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 10070 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10071echo "$as_me: $ac_file is unchanged" >&6;} 10072 else 10073 rm -f $ac_file 10074 mv "$tmp/config.h" $ac_file 10075 fi 10076 else 10077 echo "/* $configure_input */" 10078 cat "$ac_result" 10079 fi 10080 rm -f "$tmp/out12" 10081 ;; 10082 10083 10084 esac 10085 10086done # for ac_tag 10087 10088 10089{ (exit 0); exit 0; } 10090_ACEOF 10091chmod +x $CONFIG_STATUS 10092ac_clean_files=$ac_clean_files_save 10093 10094 10095# configure is writing to config.log, and then calls config.status. 10096# config.status does its own redirection, appending to config.log. 10097# Unfortunately, on DOS this fails, as config.log is still kept open 10098# by configure, so config.status won't be able to write to it; its 10099# output is simply discarded. So we exec the FD to /dev/null, 10100# effectively closing config.log, so it can be properly (re)opened and 10101# appended to by config.status. When coming back to configure, we 10102# need to make the FD available again. 10103if test "$no_create" != yes; then 10104 ac_cs_success=: 10105 ac_config_status_args= 10106 test "$silent" = yes && 10107 ac_config_status_args="$ac_config_status_args --quiet" 10108 exec 5>/dev/null 10109 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 10110 exec 5>>config.log 10111 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 10112 # would make configure fail if this is the last instruction. 10113 $ac_cs_success || { (exit 1); exit 1; } 10114fi 10115 10116