"Fossies" - the Fresh Open Source Software Archive 
Member "cgiwrap-4.1/configure" (16 Jun 2008, 279308 Bytes) of package /linux/www/old/cgiwrap-4.1.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
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
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if 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
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40 # The user is always right.
41 if 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
51 fi
52
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
58 fi
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.)
66 as_nl='
67 '
68 IFS=" "" $as_nl"
69
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
75 do
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
81
82 ;;
83 esac
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.
86 if test "x$as_myself" = x; then
87 as_myself=$0
88 fi
89 if 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; }
92 fi
93
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
101
102 # NLS nuisances.
103 for 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
107 do
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
113 done
114
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
121 fi
122
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
127 fi
128
129
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo 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
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
159 fi
160
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
164 }
165 as_func_success () {
166 as_func_return 0
167 }
168 as_func_failure () {
169 as_func_return 1
170 }
171 as_func_ret_success () {
172 return 0
173 }
174 as_func_ret_failure () {
175 return 1
176 }
177
178 exitcode=0
179 if as_func_success; then
180 :
181 else
182 exitcode=1
183 echo as_func_success failed.
184 fi
185
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
189 fi
190
191 if as_func_ret_success; then
192 :
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
196 fi
197
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
201 fi
202
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 :
205 else
206 exitcode=1
207 echo positional parameters were not saved.
208 fi
209
210 test \$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 :
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 do
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
232 done
233 IFS=$as_save_IFS
234
235
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if 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
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
251
252 fi
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
261 if 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
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 (as_func_return () {
278 (exit $1)
279 }
280 as_func_success () {
281 as_func_return 0
282 }
283 as_func_failure () {
284 as_func_return 1
285 }
286 as_func_ret_success () {
287 return 0
288 }
289 as_func_ret_failure () {
290 return 1
291 }
292
293 exitcode=0
294 if as_func_success; then
295 :
296 else
297 exitcode=1
298 echo as_func_success failed.
299 fi
300
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
304 fi
305
306 if as_func_ret_success; then
307 :
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
311 fi
312
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
316 fi
317
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
319 :
320 else
321 exitcode=1
322 echo positional parameters were not saved.
323 fi
324
325 test $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
336 fi
337
338 fi
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+"$@"}
348 fi
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; }
357 fi
358
359
360 fi
361
362 fi
363
364
365
366 (eval "as_func_return () {
367 (exit \$1)
368 }
369 as_func_success () {
370 as_func_return 0
371 }
372 as_func_failure () {
373 as_func_return 1
374 }
375 as_func_ret_success () {
376 return 0
377 }
378 as_func_ret_failure () {
379 return 1
380 }
381
382 exitcode=0
383 if as_func_success; then
384 :
385 else
386 exitcode=1
387 echo as_func_success failed.
388 fi
389
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
393 fi
394
395 if as_func_ret_success; then
396 :
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
400 fi
401
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
405 fi
406
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 :
409 else
410 exitcode=1
411 echo positional parameters were not saved.
412 fi
413
414 test \$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
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
470 fi
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `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';;
481 esac
482
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
488 fi
489
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
496 fi
497 echo >conf$$.file
498 if 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'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
510 fi
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
513
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
519 fi
520
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
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 '
541 fi
542 as_executable_p=$as_test_x
543
544 # Sed expression to map a string onto a valid CPP name.
545 as_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.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552 exec 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.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
571
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
578
579 ac_unique_file="cgiwrap.h"
580 # Factoring default headers for most tests.
581 ac_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
616 ac_subst_vars='SHELL
617 PATH_SEPARATOR
618 PACKAGE_NAME
619 PACKAGE_TARNAME
620 PACKAGE_VERSION
621 PACKAGE_STRING
622 PACKAGE_BUGREPORT
623 exec_prefix
624 prefix
625 program_transform_name
626 bindir
627 sbindir
628 libexecdir
629 datarootdir
630 datadir
631 sysconfdir
632 sharedstatedir
633 localstatedir
634 includedir
635 oldincludedir
636 docdir
637 infodir
638 htmldir
639 dvidir
640 pdfdir
641 psdir
642 libdir
643 localedir
644 mandir
645 DEFS
646 ECHO_C
647 ECHO_N
648 ECHO_T
649 LIBS
650 build_alias
651 host_alias
652 target_alias
653 build
654 build_cpu
655 build_vendor
656 build_os
657 host
658 host_cpu
659 host_vendor
660 host_os
661 target
662 target_cpu
663 target_vendor
664 target_os
665 VERSION
666 CC
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
673 SET_MAKE
674 PATH_PROG_PERL
675 PATH_PROG_PHP
676 PATH_PROG_ERUBY
677 PATH_PROG_ASP
678 GCC_WALL_OPT
679 INSTALLGROUP
680 INSTALLDIR
681 DOINSTALL
682 DOINSTALLPHP
683 DOINSTALLCGIWRAPD
684 DOINSTALLNPH
685 INSTALLMODE
686 GETUSERSHELL
687 AFSDIR
688 AFSLDFLAGS
689 AFSLIBS
690 CPP
691 GREP
692 EGREP
693 LIBOBJS
694 LTLIBOBJS'
695 ac_subst_files=''
696 ac_precious_vars='build_alias
697 host_alias
698 target_alias
699 CC
700 CFLAGS
701 LDFLAGS
702 LIBS
703 CPPFLAGS
704 CPP'
705
706
707 # Initialize some variables set by options.
708 ac_init_help=
709 ac_init_version=false
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
712 cache_file=/dev/null
713 exec_prefix=NONE
714 no_create=
715 no_recursion=
716 prefix=NONE
717 program_prefix=NONE
718 program_suffix=NONE
719 program_transform_name=s,x,x,
720 silent=
721 site=
722 srcdir=
723 verbose=
724 x_includes=NONE
725 x_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.)
733 bindir='${exec_prefix}/bin'
734 sbindir='${exec_prefix}/sbin'
735 libexecdir='${exec_prefix}/libexec'
736 datarootdir='${prefix}/share'
737 datadir='${datarootdir}'
738 sysconfdir='${prefix}/etc'
739 sharedstatedir='${prefix}/com'
740 localstatedir='${prefix}/var'
741 includedir='${prefix}/include'
742 oldincludedir='/usr/include'
743 docdir='${datarootdir}/doc/${PACKAGE}'
744 infodir='${datarootdir}/info'
745 htmldir='${docdir}'
746 dvidir='${docdir}'
747 pdfdir='${docdir}'
748 psdir='${docdir}'
749 libdir='${exec_prefix}/lib'
750 localedir='${datarootdir}/locale'
751 mandir='${datarootdir}/man'
752
753 ac_prev=
754 ac_dashdash=
755 for ac_option
756 do
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
1060 Try \`$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
1082 done
1083
1084 if 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; }; }
1088 fi
1089
1090 # Be sure to have absolute directory names.
1091 for 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
1095 do
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; }; }
1103 done
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.
1108 build=$build_alias
1109 host=$host_alias
1110 target=$target_alias
1111
1112 # FIXME: To remove some day.
1113 if 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
1121 fi
1122
1123 ac_tool_prefix=
1124 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1125
1126 test "$silent" = yes && exec 6>/dev/null
1127
1128
1129 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1130 ac_ls_di=`ls -di .` &&
1131 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1132 { echo "$as_me: error: Working directory cannot be determined" >&2
1133 { (exit 1); exit 1; }; }
1134 test "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.
1140 if 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 ||
1148 echo 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
1170 else
1171 ac_srcdir_defaulted=no
1172 fi
1173 if 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; }; }
1177 fi
1178 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1179 ac_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=.
1184 if test "$ac_abs_confdir" = "$ac_pwd"; then
1185 srcdir=.
1186 fi
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.
1190 case $srcdir in
1191 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1192 esac
1193 for 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}
1198 done
1199
1200 #
1201 # Report the --help message.
1202 #
1203 if 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
1209 Usage: $0 [OPTION]... [VAR=VALUE]...
1210
1211 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1212 VAR=VALUE. See below for descriptions of some of the useful variables.
1213
1214 Defaults for the options are specified in brackets.
1215
1216 Configuration:
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
1227 Installation 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
1233 By default, \`make install' will install all the files in
1234 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1235 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1236 for instance \`--prefix=\$HOME'.
1237
1238 For better control, use the options below.
1239
1240 Fine 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
1264 System 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
1269 fi
1270
1271 if test -n "$ac_init_help"; then
1272
1273 cat <<\_ACEOF
1274
1275 Optional 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 disable installation of 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
1435 Some 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
1445 Use these variables to override the choices made by `configure' or to help
1446 it to find libraries and programs with nonstandard names/locations.
1447
1448 _ACEOF
1449 ac_status=$?
1450 fi
1451
1452 if 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
1458 case "$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 ;;
1468 esac
1469 ac_abs_top_builddir=$ac_pwd
1470 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1471 # for backward compatibility:
1472 ac_top_builddir=$ac_top_build_prefix
1473
1474 case $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 ;;
1487 esac
1488 ac_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
1503 fi
1504
1505 test -n "$ac_init_help" && exit $ac_status
1506 if $ac_init_version; then
1507 cat <<\_ACEOF
1508 configure
1509 generated by GNU Autoconf 2.61
1510
1511 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1512 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1513 This configure script is free software; the Free Software Foundation
1514 gives unlimited permission to copy, distribute and modify it.
1515 _ACEOF
1516 exit
1517 fi
1518 cat >config.log <<_ACEOF
1519 This file contains any messages produced by compilers while
1520 running configure, to aid debugging if configure makes a mistake.
1521
1522 It was created by $as_me, which was
1523 generated by GNU Autoconf 2.61. Invocation command line was
1524
1525 $ $0 $@
1526
1527 _ACEOF
1528 exec 5>>config.log
1529 {
1530 cat <<_ASUNAME
1531 ## --------- ##
1532 ## Platform. ##
1533 ## --------- ##
1534
1535 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1536 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1537 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1538 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1539 uname -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
1554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1555 for as_dir in $PATH
1556 do
1557 IFS=$as_save_IFS
1558 test -z "$as_dir" && as_dir=.
1559 echo "PATH: $as_dir"
1560 done
1561 IFS=$as_save_IFS
1562
1563 } >&5
1564
1565 cat >&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.
1580 ac_configure_args=
1581 ac_configure_args0=
1582 ac_configure_args1=
1583 ac_must_keep_next=false
1584 for ac_pass in 1 2
1585 do
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
1619 done
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.
1628 trap '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
1647 echo "$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
1722 for ac_signal in 1 2 13 15; do
1723 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1724 done
1725 ac_signal=0
1726
1727 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1728 rm -f -r conftest* confdefs.h
1729
1730 # Predefined preprocessor variables.
1731
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE_NAME "$PACKAGE_NAME"
1734 _ACEOF
1735
1736
1737 cat >>confdefs.h <<_ACEOF
1738 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1739 _ACEOF
1740
1741
1742 cat >>confdefs.h <<_ACEOF
1743 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1744 _ACEOF
1745
1746
1747 cat >>confdefs.h <<_ACEOF
1748 #define PACKAGE_STRING "$PACKAGE_STRING"
1749 _ACEOF
1750
1751
1752 cat >>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.
1759 if test -n "$CONFIG_SITE"; then
1760 set x "$CONFIG_SITE"
1761 elif test "x$prefix" != xNONE; then
1762 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1763 else
1764 set x "$ac_default_prefix/share/config.site" \
1765 "$ac_default_prefix/etc/config.site"
1766 fi
1767 shift
1768 for ac_site_file
1769 do
1770 if test -r "$ac_site_file"; then
1771 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1772 echo "$as_me: loading site script $ac_site_file" >&6;}
1773 sed 's/^/| /' "$ac_site_file" >&5
1774 . "$ac_site_file"
1775 fi
1776 done
1777
1778 if 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
1783 echo "$as_me: loading cache $cache_file" >&6;}
1784 case $cache_file in
1785 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1786 *) . "./$cache_file";;
1787 esac
1788 fi
1789 else
1790 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1791 echo "$as_me: creating cache $cache_file" >&6;}
1792 >$cache_file
1793 fi
1794
1795 # Check that the precious variables saved in the cache have kept the same
1796 # value.
1797 ac_cache_corrupted=false
1798 for 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
1806 echo "$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
1810 echo "$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
1816 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1817 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1818 echo "$as_me: former value: $ac_old_val" >&2;}
1819 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1820 echo "$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
1835 done
1836 if $ac_cache_corrupted; then
1837 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1838 echo "$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
1840 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1841 { (exit 1); exit 1; }; }
1842 fi
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860 ac_ext=c
1861 ac_cpp='$CPP $CPPFLAGS'
1862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1865
1866
1867 ac_aux_dir=
1868 for 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
1882 done
1883 if test -z "$ac_aux_dir"; then
1884 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
1885 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
1886 { (exit 1); exit 1; }; }
1887 fi
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.
1893 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1894 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1895 ac_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
1901 echo "$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
1905 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1906 if test "${ac_cv_build+set}" = set; then
1907 echo $ECHO_N "(cached) $ECHO_C" >&6
1908 else
1909 ac_build_alias=$build_alias
1910 test "x$ac_build_alias" = x &&
1911 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1912 test "x$ac_build_alias" = x &&
1913 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1914 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1915 { (exit 1); exit 1; }; }
1916 ac_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
1918 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1919 { (exit 1); exit 1; }; }
1920
1921 fi
1922 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1923 echo "${ECHO_T}$ac_cv_build" >&6; }
1924 case $ac_cv_build in
1925 *-*-*) ;;
1926 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1927 echo "$as_me: error: invalid value of canonical build" >&2;}
1928 { (exit 1); exit 1; }; };;
1929 esac
1930 build=$ac_cv_build
1931 ac_save_IFS=$IFS; IFS='-'
1932 set x $ac_cv_build
1933 shift
1934 build_cpu=$1
1935 build_vendor=$2
1936 shift; shift
1937 # Remember, the first character of IFS is used to create $*,
1938 # except with old shells:
1939 build_os=$*
1940 IFS=$ac_save_IFS
1941 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1942
1943
1944 { echo "$as_me:$LINENO: checking host system type" >&5
1945 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1946 if test "${ac_cv_host+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 else
1949 if test "x$host_alias" = x; then
1950 ac_cv_host=$ac_cv_build
1951 else
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
1954 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1955 { (exit 1); exit 1; }; }
1956 fi
1957
1958 fi
1959 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1960 echo "${ECHO_T}$ac_cv_host" >&6; }
1961 case $ac_cv_host in
1962 *-*-*) ;;
1963 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1964 echo "$as_me: error: invalid value of canonical host" >&2;}
1965 { (exit 1); exit 1; }; };;
1966 esac
1967 host=$ac_cv_host
1968 ac_save_IFS=$IFS; IFS='-'
1969 set x $ac_cv_host
1970 shift
1971 host_cpu=$1
1972 host_vendor=$2
1973 shift; shift
1974 # Remember, the first character of IFS is used to create $*,
1975 # except with old shells:
1976 host_os=$*
1977 IFS=$ac_save_IFS
1978 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1979
1980
1981 { echo "$as_me:$LINENO: checking target system type" >&5
1982 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1983 if test "${ac_cv_target+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 else
1986 if test "x$target_alias" = x; then
1987 ac_cv_target=$ac_cv_host
1988 else
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
1991 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1992 { (exit 1); exit 1; }; }
1993 fi
1994
1995 fi
1996 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1997 echo "${ECHO_T}$ac_cv_target" >&6; }
1998 case $ac_cv_target in
1999 *-*-*) ;;
2000 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2001 echo "$as_me: error: invalid value of canonical target" >&2;}
2002 { (exit 1); exit 1; }; };;
2003 esac
2004 target=$ac_cv_target
2005 ac_save_IFS=$IFS; IFS='-'
2006 set x $ac_cv_target
2007 shift
2008 target_cpu=$1
2009 target_vendor=$2
2010 shift; shift
2011 # Remember, the first character of IFS is used to create $*,
2012 # except with old shells:
2013 target_os=$*
2014 IFS=$ac_save_IFS
2015 case $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.
2020 test -n "$target_alias" &&
2021 test "$program_prefix$program_suffix$program_transform_name" = \
2022 NONENONEs,x,x, &&
2023 program_prefix=${target_alias}-
2024 ac_config_headers="$ac_config_headers config.h"
2025
2026
2027 VERSION="4.1"
2028
2029
2030 ac_ext=c
2031 ac_cpp='$CPP $CPPFLAGS'
2032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2035 if 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.
2037 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2040 if test "${ac_cv_prog_CC+set}" = set; then
2041 echo $ECHO_N "(cached) $ECHO_C" >&6
2042 else
2043 if test -n "$CC"; then
2044 ac_cv_prog_CC="$CC" # Let the user override the test.
2045 else
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047 for as_dir in $PATH
2048 do
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
2057 done
2058 done
2059 IFS=$as_save_IFS
2060
2061 fi
2062 fi
2063 CC=$ac_cv_prog_CC
2064 if test -n "$CC"; then
2065 { echo "$as_me:$LINENO: result: $CC" >&5
2066 echo "${ECHO_T}$CC" >&6; }
2067 else
2068 { echo "$as_me:$LINENO: result: no" >&5
2069 echo "${ECHO_T}no" >&6; }
2070 fi
2071
2072
2073 fi
2074 if 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.
2077 set dummy gcc; ac_word=$2
2078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083 if test -n "$ac_ct_CC"; then
2084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2088 do
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
2097 done
2098 done
2099 IFS=$as_save_IFS
2100
2101 fi
2102 fi
2103 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2104 if test -n "$ac_ct_CC"; then
2105 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2106 echo "${ECHO_T}$ac_ct_CC" >&6; }
2107 else
2108 { echo "$as_me:$LINENO: result: no" >&5
2109 echo "${ECHO_T}no" >&6; }
2110 fi
2111
2112 if test "x$ac_ct_CC" = x; then
2113 CC=""
2114 else
2115 case $cross_compiling:$ac_tool_warned in
2116 yes:)
2117 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2118 whose name does not start with the host triplet. If you think this
2119 configuration is useful to you, please write to autoconf@gnu.org." >&5
2120 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2121 whose name does not start with the host triplet. If you think this
2122 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2123 ac_tool_warned=yes ;;
2124 esac
2125 CC=$ac_ct_CC
2126 fi
2127 else
2128 CC="$ac_cv_prog_CC"
2129 fi
2130
2131 if 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.
2134 set dummy ${ac_tool_prefix}cc; ac_word=$2
2135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2137 if test "${ac_cv_prog_CC+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2139 else
2140 if test -n "$CC"; then
2141 ac_cv_prog_CC="$CC" # Let the user override the test.
2142 else
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 for as_dir in $PATH
2145 do
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
2154 done
2155 done
2156 IFS=$as_save_IFS
2157
2158 fi
2159 fi
2160 CC=$ac_cv_prog_CC
2161 if test -n "$CC"; then
2162 { echo "$as_me:$LINENO: result: $CC" >&5
2163 echo "${ECHO_T}$CC" >&6; }
2164 else
2165 { echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6; }
2167 fi
2168
2169
2170 fi
2171 fi
2172 if test -z "$CC"; then
2173 # Extract the first word of "cc", so it can be a program name with args.
2174 set dummy cc; ac_word=$2
2175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2177 if test "${ac_cv_prog_CC+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 else
2180 if test -n "$CC"; then
2181 ac_cv_prog_CC="$CC" # Let the user override the test.
2182 else
2183 ac_prog_rejected=no
2184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2185 for as_dir in $PATH
2186 do
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
2199 done
2200 done
2201 IFS=$as_save_IFS
2202
2203 if 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
2214 fi
2215 fi
2216 fi
2217 CC=$ac_cv_prog_CC
2218 if test -n "$CC"; then
2219 { echo "$as_me:$LINENO: result: $CC" >&5
2220 echo "${ECHO_T}$CC" >&6; }
2221 else
2222 { echo "$as_me:$LINENO: result: no" >&5
2223 echo "${ECHO_T}no" >&6; }
2224 fi
2225
2226
2227 fi
2228 if 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.
2233 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2236 if test "${ac_cv_prog_CC+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 else
2239 if test -n "$CC"; then
2240 ac_cv_prog_CC="$CC" # Let the user override the test.
2241 else
2242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243 for as_dir in $PATH
2244 do
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
2253 done
2254 done
2255 IFS=$as_save_IFS
2256
2257 fi
2258 fi
2259 CC=$ac_cv_prog_CC
2260 if test -n "$CC"; then
2261 { echo "$as_me:$LINENO: result: $CC" >&5
2262 echo "${ECHO_T}$CC" >&6; }
2263 else
2264 { echo "$as_me:$LINENO: result: no" >&5
2265 echo "${ECHO_T}no" >&6; }
2266 fi
2267
2268
2269 test -n "$CC" && break
2270 done
2271 fi
2272 if test -z "$CC"; then
2273 ac_ct_CC=$CC
2274 for ac_prog in cl.exe
2275 do
2276 # Extract the first word of "$ac_prog", so it can be a program name with args.
2277 set dummy $ac_prog; ac_word=$2
2278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2280 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2282 else
2283 if test -n "$ac_ct_CC"; then
2284 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2285 else
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287 for as_dir in $PATH
2288 do
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
2297 done
2298 done
2299 IFS=$as_save_IFS
2300
2301 fi
2302 fi
2303 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2304 if test -n "$ac_ct_CC"; then
2305 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2306 echo "${ECHO_T}$ac_ct_CC" >&6; }
2307 else
2308 { echo "$as_me:$LINENO: result: no" >&5
2309 echo "${ECHO_T}no" >&6; }
2310 fi
2311
2312
2313 test -n "$ac_ct_CC" && break
2314 done
2315
2316 if test "x$ac_ct_CC" = x; then
2317 CC=""
2318 else
2319 case $cross_compiling:$ac_tool_warned in
2320 yes:)
2321 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2322 whose name does not start with the host triplet. If you think this
2323 configuration is useful to you, please write to autoconf@gnu.org." >&5
2324 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2325 whose name does not start with the host triplet. If you think this
2326 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2327 ac_tool_warned=yes ;;
2328 esac
2329 CC=$ac_ct_CC
2330 fi
2331 fi
2332
2333 fi
2334
2335
2336 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2337 See \`config.log' for more details." >&5
2338 echo "$as_me: error: no acceptable C compiler found in \$PATH
2339 See \`config.log' for more details." >&2;}
2340 { (exit 1); exit 1; }; }
2341
2342 # Provide some information about the compiler.
2343 echo "$as_me:$LINENO: checking for C compiler version" >&5
2344 ac_compiler=`set X $ac_compile; echo $2`
2345 { (ac_try="$ac_compiler --version >&5"
2346 case "(($ac_try" in
2347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2348 *) ac_try_echo=$ac_try;;
2349 esac
2350 eval "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"
2356 case "(($ac_try" in
2357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2358 *) ac_try_echo=$ac_try;;
2359 esac
2360 eval "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"
2366 case "(($ac_try" in
2367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2368 *) ac_try_echo=$ac_try;;
2369 esac
2370 eval "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
2376 cat >conftest.$ac_ext <<_ACEOF
2377 /* confdefs.h. */
2378 _ACEOF
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2382
2383 int
2384 main ()
2385 {
2386
2387 ;
2388 return 0;
2389 }
2390 _ACEOF
2391 ac_clean_files_save=$ac_clean_files
2392 ac_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
2397 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2398 ac_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.
2403 ac_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.
2408 ac_rmfiles=
2409 for ac_file in $ac_files
2410 do
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
2415 done
2416 rm -f $ac_rmfiles
2417
2418 if { (ac_try="$ac_link_default"
2419 case "(($ac_try" in
2420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2421 *) ac_try_echo=$ac_try;;
2422 esac
2423 eval "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.
2433 for ac_file in $ac_files ''
2434 do
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
2457 done
2458 test "$ac_cv_exeext" = no && ac_cv_exeext=
2459
2460 else
2461 ac_file=''
2462 fi
2463
2464 { echo "$as_me:$LINENO: result: $ac_file" >&5
2465 echo "${ECHO_T}$ac_file" >&6; }
2466 if test -z "$ac_file"; then
2467 echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.$ac_ext >&5
2469
2470 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2471 See \`config.log' for more details." >&5
2472 echo "$as_me: error: C compiler cannot create executables
2473 See \`config.log' for more details." >&2;}
2474 { (exit 77); exit 77; }; }
2475 fi
2476
2477 ac_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
2482 echo $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.
2485 if 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;;
2490 esac
2491 eval "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.
2502 If you meant to cross compile, use \`--host'.
2503 See \`config.log' for more details." >&5
2504 echo "$as_me: error: cannot run C compiled programs.
2505 If you meant to cross compile, use \`--host'.
2506 See \`config.log' for more details." >&2;}
2507 { (exit 1); exit 1; }; }
2508 fi
2509 fi
2510 fi
2511 { echo "$as_me:$LINENO: result: yes" >&5
2512 echo "${ECHO_T}yes" >&6; }
2513
2514 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2515 ac_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
2519 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2520 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2521 echo "${ECHO_T}$cross_compiling" >&6; }
2522
2523 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2524 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2525 if { (ac_try="$ac_link"
2526 case "(($ac_try" in
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2529 esac
2530 eval "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'.
2539 for 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
2547 done
2548 else
2549 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2550 See \`config.log' for more details." >&5
2551 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2552 See \`config.log' for more details." >&2;}
2553 { (exit 1); exit 1; }; }
2554 fi
2555
2556 rm -f conftest$ac_cv_exeext
2557 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2558 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2559
2560 rm -f conftest.$ac_ext
2561 EXEEXT=$ac_cv_exeext
2562 ac_exeext=$EXEEXT
2563 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2564 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2565 if test "${ac_cv_objext+set}" = set; then
2566 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 else
2568 cat >conftest.$ac_ext <<_ACEOF
2569 /* confdefs.h. */
2570 _ACEOF
2571 cat confdefs.h >>conftest.$ac_ext
2572 cat >>conftest.$ac_ext <<_ACEOF
2573 /* end confdefs.h. */
2574
2575 int
2576 main ()
2577 {
2578
2579 ;
2580 return 0;
2581 }
2582 _ACEOF
2583 rm -f conftest.o conftest.obj
2584 if { (ac_try="$ac_compile"
2585 case "(($ac_try" in
2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587 *) ac_try_echo=$ac_try;;
2588 esac
2589 eval "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
2601 done
2602 else
2603 echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.$ac_ext >&5
2605
2606 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2607 See \`config.log' for more details." >&5
2608 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2609 See \`config.log' for more details." >&2;}
2610 { (exit 1); exit 1; }; }
2611 fi
2612
2613 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2614 fi
2615 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2616 echo "${ECHO_T}$ac_cv_objext" >&6; }
2617 OBJEXT=$ac_cv_objext
2618 ac_objext=$OBJEXT
2619 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2620 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2621 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 else
2624 cat >conftest.$ac_ext <<_ACEOF
2625 /* confdefs.h. */
2626 _ACEOF
2627 cat confdefs.h >>conftest.$ac_ext
2628 cat >>conftest.$ac_ext <<_ACEOF
2629 /* end confdefs.h. */
2630
2631 int
2632 main ()
2633 {
2634 #ifndef __GNUC__
2635 choke me
2636 #endif
2637
2638 ;
2639 return 0;
2640 }
2641 _ACEOF
2642 rm -f conftest.$ac_objext
2643 if { (ac_try="$ac_compile"
2644 case "(($ac_try" in
2645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2646 *) ac_try_echo=$ac_try;;
2647 esac
2648 eval "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
2660 else
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2663
2664 ac_compiler_gnu=no
2665 fi
2666
2667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2668 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2669
2670 fi
2671 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2672 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2673 GCC=`test $ac_compiler_gnu = yes && echo yes`
2674 ac_test_CFLAGS=${CFLAGS+set}
2675 ac_save_CFLAGS=$CFLAGS
2676 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2677 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2678 if test "${ac_cv_prog_cc_g+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 else
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
2688 cat confdefs.h >>conftest.$ac_ext
2689 cat >>conftest.$ac_ext <<_ACEOF
2690 /* end confdefs.h. */
2691
2692 int
2693 main ()
2694 {
2695
2696 ;
2697 return 0;
2698 }
2699 _ACEOF
2700 rm -f conftest.$ac_objext
2701 if { (ac_try="$ac_compile"
2702 case "(($ac_try" in
2703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2704 *) ac_try_echo=$ac_try;;
2705 esac
2706 eval "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
2718 else
2719 echo "$as_me: failed program was:" >&5
2720 sed 's/^/| /' conftest.$ac_ext >&5
2721
2722 CFLAGS=""
2723 cat >conftest.$ac_ext <<_ACEOF
2724 /* confdefs.h. */
2725 _ACEOF
2726 cat confdefs.h >>conftest.$ac_ext
2727 cat >>conftest.$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2729
2730 int
2731 main ()
2732 {
2733
2734 ;
2735 return 0;
2736 }
2737 _ACEOF
2738 rm -f conftest.$ac_objext
2739 if { (ac_try="$ac_compile"
2740 case "(($ac_try" in
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2743 esac
2744 eval "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 :
2756 else
2757 echo "$as_me: failed program was:" >&5
2758 sed '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
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2768
2769 int
2770 main ()
2771 {
2772
2773 ;
2774 return 0;
2775 }
2776 _ACEOF
2777 rm -f conftest.$ac_objext
2778 if { (ac_try="$ac_compile"
2779 case "(($ac_try" in
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2782 esac
2783 eval "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
2795 else
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2798
2799
2800 fi
2801
2802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803 fi
2804
2805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2806 fi
2807
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2809 ac_c_werror_flag=$ac_save_c_werror_flag
2810 fi
2811 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2812 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2813 if test "$ac_test_CFLAGS" = set; then
2814 CFLAGS=$ac_save_CFLAGS
2815 elif 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
2821 else
2822 if test "$GCC" = yes; then
2823 CFLAGS="-O2"
2824 else
2825 CFLAGS=
2826 fi
2827 fi
2828 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2829 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2830 if test "${ac_cv_prog_cc_c89+set}" = set; then
2831 echo $ECHO_N "(cached) $ECHO_C" >&6
2832 else
2833 ac_cv_prog_cc_c89=no
2834 ac_save_CC=$CC
2835 cat >conftest.$ac_ext <<_ACEOF
2836 /* confdefs.h. */
2837 _ACEOF
2838 cat confdefs.h >>conftest.$ac_ext
2839 cat >>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. */
2846 struct buf { int x; };
2847 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2848 static char *e (p, i)
2849 char **p;
2850 int i;
2851 {
2852 return p[i];
2853 }
2854 static 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. */
2871 int 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'
2876 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2877
2878 int test (int i, double x);
2879 struct s1 {int (*f) (int a);};
2880 struct s2 {int (*f) (double a);};
2881 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2882 int argc;
2883 char **argv;
2884 int
2885 main ()
2886 {
2887 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2888 ;
2889 return 0;
2890 }
2891 _ACEOF
2892 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2893 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2894 do
2895 CC="$ac_save_CC $ac_arg"
2896 rm -f conftest.$ac_objext
2897 if { (ac_try="$ac_compile"
2898 case "(($ac_try" in
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2901 esac
2902 eval "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
2914 else
2915 echo "$as_me: failed program was:" >&5
2916 sed 's/^/| /' conftest.$ac_ext >&5
2917
2918
2919 fi
2920
2921 rm -f core conftest.err conftest.$ac_objext
2922 test "x$ac_cv_prog_cc_c89" != "xno" && break
2923 done
2924 rm -f conftest.$ac_ext
2925 CC=$ac_save_CC
2926
2927 fi
2928 # AC_CACHE_VAL
2929 case "x$ac_cv_prog_cc_c89" in
2930 x)
2931 { echo "$as_me:$LINENO: result: none needed" >&5
2932 echo "${ECHO_T}none needed" >&6; } ;;
2933 xno)
2934 { echo "$as_me:$LINENO: result: unsupported" >&5
2935 echo "${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
2939 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2940 esac
2941
2942
2943 ac_ext=c
2944 ac_cpp='$CPP $CPPFLAGS'
2945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2948
2949 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2950 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2951 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2952 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2954 else
2955 cat >conftest.make <<\_ACEOF
2956 SHELL = /bin/sh
2957 all:
2958 @echo '@@@%%%=$(MAKE)=@@@%%%'
2959 _ACEOF
2960 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2961 case `${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;;
2966 esac
2967 rm -f conftest.make
2968 fi
2969 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2970 { echo "$as_me:$LINENO: result: yes" >&5
2971 echo "${ECHO_T}yes" >&6; }
2972 SET_MAKE=
2973 else
2974 { echo "$as_me:$LINENO: result: no" >&5
2975 echo "${ECHO_T}no" >&6; }
2976 SET_MAKE="MAKE=${MAKE-make}"
2977 fi
2978
2979
2980
2981
2982 # Check whether --with-perl was given.
2983 if test "${with_perl+set}" = set; then
2984 withval=$with_perl;
2985 { echo "$as_me:$LINENO: checking for perl" >&5
2986 echo $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
2990 echo "${ECHO_T}$withval" >&6; }
2991 else
2992 { echo "$as_me:$LINENO: result: not found" >&5
2993 echo "${ECHO_T}not found" >&6; }
2994 fi
2995
2996 else
2997
2998 # Extract the first word of "perl", so it can be a program name with args.
2999 set dummy perl; ac_word=$2
3000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3002 if test "${ac_cv_path_PATH_PROG_PERL+set}" = set; then
3003 echo $ECHO_N "(cached) $ECHO_C" >&6
3004 else
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
3011 for as_dir in $PATH
3012 do
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
3021 done
3022 done
3023 IFS=$as_save_IFS
3024
3025 test -z "$ac_cv_path_PATH_PROG_PERL" && ac_cv_path_PATH_PROG_PERL="no"
3026 ;;
3027 esac
3028 fi
3029 PATH_PROG_PERL=$ac_cv_path_PATH_PROG_PERL
3030 if test -n "$PATH_PROG_PERL"; then
3031 { echo "$as_me:$LINENO: result: $PATH_PROG_PERL" >&5
3032 echo "${ECHO_T}$PATH_PROG_PERL" >&6; }
3033 else
3034 { echo "$as_me:$LINENO: result: no" >&5
3035 echo "${ECHO_T}no" >&6; }
3036 fi
3037
3038
3039
3040 fi
3041
3042
3043 { echo "$as_me:$LINENO: checking for use-redirect-url" >&5
3044 echo $ECHO_N "checking for use-redirect-url... $ECHO_C" >&6; }
3045
3046 # Check whether --with-use-redirect-url was given.
3047 if test "${with_use_redirect_url+set}" = set; then
3048 withval=$with_use_redirect_url;
3049 if test "x$withval" != xno; then
3050
3051 cat >>confdefs.h <<\_ACEOF
3052 #define CONF_USE_REDIRECT_URL
3053 _ACEOF
3054
3055 { echo "$as_me:$LINENO: result: enabled" >&5
3056 echo "${ECHO_T}enabled" >&6; }
3057 else
3058 { echo "$as_me:$LINENO: result: disabled" >&5
3059 echo "${ECHO_T}disabled" >&6; }
3060 fi
3061
3062 else
3063
3064 { echo "$as_me:$LINENO: result: disabled" >&5
3065 echo "${ECHO_T}disabled" >&6; }
3066
3067 fi
3068
3069
3070
3071 { echo "$as_me:$LINENO: checking for whether to use SCRIPT_URL to build SCRIPT_NAME" >&5
3072 echo $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.
3075 if test "${with_use_script_url+set}" = set; then
3076 withval=$with_use_script_url;
3077 if test "x$withval" != xno; then
3078
3079 cat >>confdefs.h <<\_ACEOF
3080 #define CONF_USE_SCRIPT_URL
3081 _ACEOF
3082
3083 { echo "$as_me:$LINENO: result: enabled" >&5
3084 echo "${ECHO_T}enabled" >&6; }
3085 else
3086 { echo "$as_me:$LINENO: result: disabled" >&5
3087 echo "${ECHO_T}disabled" >&6; }
3088 fi
3089
3090 else
3091
3092 { echo "$as_me:$LINENO: result: disabled" >&5
3093 echo "${ECHO_T}disabled" >&6; }
3094
3095 fi
3096
3097
3098
3099 { echo "$as_me:$LINENO: checking for require-redirect-url" >&5
3100 echo $ECHO_N "checking for require-redirect-url... $ECHO_C" >&6; }
3101
3102 # Check whether --with-require-redirect-url was given.
3103 if test "${with_require_redirect_url+set}" = set; then
3104 withval=$with_require_redirect_url;
3105 if test "x$withval" != xno; then
3106
3107 cat >>confdefs.h <<\_ACEOF
3108 #define CONF_REQUIRE_REDIRECT_URL
3109 _ACEOF
3110
3111 { echo "$as_me:$LINENO: result: enabled" >&5
3112 echo "${ECHO_T}enabled" >&6; }
3113 else
3114 { echo "$as_me:$LINENO: result: disabled" >&5
3115 echo "${ECHO_T}disabled" >&6; }
3116 fi
3117
3118 else
3119
3120 { echo "$as_me:$LINENO: result: disabled" >&5
3121 echo "${ECHO_T}disabled" >&6; }
3122
3123 fi
3124
3125
3126 { echo "$as_me:$LINENO: checking for quiet-errors" >&5
3127 echo $ECHO_N "checking for quiet-errors... $ECHO_C" >&6; }
3128
3129 # Check whether --with-quiet-errors was given.
3130 if test "${with_quiet_errors+set}" = set; then
3131 withval=$with_quiet_errors;
3132 if test "x$withval" != xno; then
3133
3134 cat >>confdefs.h <<\_ACEOF
3135 #define CONF_QUIET_ERRORS
3136 _ACEOF
3137
3138 { echo "$as_me:$LINENO: result: enabled" >&5
3139 echo "${ECHO_T}enabled" >&6; }
3140 else
3141 { echo "$as_me:$LINENO: result: disabled" >&5
3142 echo "${ECHO_T}disabled" >&6; }
3143 fi
3144
3145 else
3146
3147 { echo "$as_me:$LINENO: result: disabled" >&5
3148 echo "${ECHO_T}disabled" >&6; }
3149
3150 fi
3151
3152
3153 { echo "$as_me:$LINENO: checking for vhost-override" >&5
3154 echo $ECHO_N "checking for vhost-override... $ECHO_C" >&6; }
3155
3156 # Check whether --with-vhost-override was given.
3157 if test "${with_vhost_override+set}" = set; then
3158 withval=$with_vhost_override;
3159 if test "x$withval" != xno; then
3160
3161 cat >>confdefs.h <<\_ACEOF
3162 #define CONF_VHOST_OVERRIDE
3163 _ACEOF
3164
3165 { echo "$as_me:$LINENO: result: enabled" >&5
3166 echo "${ECHO_T}enabled" >&6; }
3167 else
3168 { echo "$as_me:$LINENO: result: disabled" >&5
3169 echo "${ECHO_T}disabled" >&6; }
3170 fi
3171
3172 else
3173
3174 { echo "$as_me:$LINENO: result: disabled" >&5
3175 echo "${ECHO_T}disabled" >&6; }
3176
3177 fi
3178
3179
3180 { echo "$as_me:$LINENO: checking for env-require-user" >&5
3181 echo $ECHO_N "checking for env-require-user... $ECHO_C" >&6; }
3182
3183 # Check whether --with-env-require-user was given.
3184 if test "${with_env_require_user+set}" = set; then
3185 withval=$with_env_require_user;
3186 if test "x$withval" != xno; then
3187
3188 cat >>confdefs.h <<\_ACEOF
3189 #define CONF_ENV_REQUIRE_USER
3190 _ACEOF
3191
3192 { echo "$as_me:$LINENO: result: enabled" >&5
3193 echo "${ECHO_T}enabled" >&6; }
3194 else
3195 { echo "$as_me:$LINENO: result: disabled" >&5
3196 echo "${ECHO_T}disabled" >&6; }
3197 fi
3198
3199 else
3200
3201 { echo "$as_me:$LINENO: result: disabled" >&5
3202 echo "${ECHO_T}disabled" >&6; }
3203
3204 fi
3205
3206
3207 { echo "$as_me:$LINENO: checking for block-svn-paths" >&5
3208 echo $ECHO_N "checking for block-svn-paths... $ECHO_C" >&6; }
3209
3210 # Check whether --with-block-svn-paths was given.
3211 if test "${with_block_svn_paths+set}" = set; then
3212 withval=$with_block_svn_paths;
3213 if test "x$withval" != xno; then
3214
3215 cat >>confdefs.h <<\_ACEOF
3216 #define CONF_BLOCK_SVN_PATHS
3217 _ACEOF
3218
3219 { echo "$as_me:$LINENO: result: enabled" >&5
3220 echo "${ECHO_T}enabled" >&6; }
3221 else
3222 { echo "$as_me:$LINENO: result: disabled" >&5
3223 echo "${ECHO_T}disabled" >&6; }
3224 fi
3225
3226 else
3227
3228 { echo "$as_me:$LINENO: result: disabled" >&5
3229 echo "${ECHO_T}disabled" >&6; }
3230
3231 fi
3232
3233
3234 { echo "$as_me:$LINENO: checking for block-cvs-paths" >&5
3235 echo $ECHO_N "checking for block-cvs-paths... $ECHO_C" >&6; }
3236
3237 # Check whether --with-block-cvs-paths was given.
3238 if test "${with_block_cvs_paths+set}" = set; then
3239 withval=$with_block_cvs_paths;
3240 if test "x$withval" != xno; then
3241
3242 cat >>confdefs.h <<\_ACEOF
3243 #define CONF_BLOCK_CVS_PATHS
3244 _ACEOF
3245
3246 { echo "$as_me:$LINENO: result: enabled" >&5
3247 echo "${ECHO_T}enabled" >&6; }
3248 else
3249 { echo "$as_me:$LINENO: result: disabled" >&5
3250 echo "${ECHO_T}disabled" >&6; }
3251 fi
3252
3253 else
3254
3255 { echo "$as_me:$LINENO: result: disabled" >&5
3256 echo "${ECHO_T}disabled" >&6; }
3257
3258 fi
3259
3260
3261
3262
3263 # Check whether --with-php was given.
3264 if test "${with_php+set}" = set; then
3265 withval=$with_php;
3266 { echo "$as_me:$LINENO: checking for php" >&5
3267 echo $ECHO_N "checking for php... $ECHO_C" >&6; }
3268 if test "x$withval" != x; then
3269 PATH_PROG_PHP="$withval"
3270
3271 cat >>confdefs.h <<_ACEOF
3272 #define PATH_PROG_PHP "$withval"
3273 _ACEOF
3274
3275 { echo "$as_me:$LINENO: result: $withval" >&5
3276 echo "${ECHO_T}$withval" >&6; }
3277 else
3278 { echo "$as_me:$LINENO: result: not found" >&5
3279 echo "${ECHO_T}not found" >&6; }
3280 fi
3281
3282 else
3283
3284 # Extract the first word of "php", so it can be a program name with args.
3285 set dummy php; ac_word=$2
3286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3288 if test "${ac_cv_path_PATH_PROG_PHP+set}" = set; then
3289 echo $ECHO_N "(cached) $ECHO_C" >&6
3290 else
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
3297 for as_dir in $PATH
3298 do
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
3307 done
3308 done
3309 IFS=$as_save_IFS
3310
3311 test -z "$ac_cv_path_PATH_PROG_PHP" && ac_cv_path_PATH_PROG_PHP="no"
3312 ;;
3313 esac
3314 fi
3315 PATH_PROG_PHP=$ac_cv_path_PATH_PROG_PHP
3316 if test -n "$PATH_PROG_PHP"; then
3317 { echo "$as_me:$LINENO: result: $PATH_PROG_PHP" >&5
3318 echo "${ECHO_T}$PATH_PROG_PHP" >&6; }
3319 else
3320 { echo "$as_me:$LINENO: result: no" >&5
3321 echo "${ECHO_T}no" >&6; }
3322 fi
3323
3324
3325 if test "x${PATH_PROG_PHP}" != "xno"; then
3326
3327 cat >>confdefs.h <<_ACEOF
3328 #define PATH_PROG_PHP "${PATH_PROG_PHP}"
3329 _ACEOF
3330
3331 fi
3332
3333 fi
3334
3335
3336
3337
3338 # Check whether --with-eruby was given.
3339 if test "${with_eruby+set}" = set; then
3340 withval=$with_eruby;
3341 { echo "$as_me:$LINENO: checking for eRuby interpreter" >&5
3342 echo $ECHO_N "checking for eRuby interpreter... $ECHO_C" >&6; }
3343 if test "x$withval" != x; then
3344 PATH_PROG_ERUBY="$withval"
3345
3346 cat >>confdefs.h <<_ACEOF
3347 #define PATH_PROG_ERUBY "$withval"
3348 _ACEOF
3349
3350 { echo "$as_me:$LINENO: result: $withval" >&5
3351 echo "${ECHO_T}$withval" >&6; }
3352 else
3353 { echo "$as_me:$LINENO: result: not found" >&5
3354 echo "${ECHO_T}not found" >&6; }
3355 fi
3356
3357 else
3358
3359 for ac_prog in eruby erb
3360 do
3361 # Extract the first word of "$ac_prog", so it can be a program name with args.
3362 set dummy $ac_prog; ac_word=$2
3363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3365 if test "${ac_cv_path_PATH_PROG_ERUBY+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3367 else
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
3374 for as_dir in $PATH
3375 do
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
3384 done
3385 done
3386 IFS=$as_save_IFS
3387
3388 ;;
3389 esac
3390 fi
3391 PATH_PROG_ERUBY=$ac_cv_path_PATH_PROG_ERUBY
3392 if test -n "$PATH_PROG_ERUBY"; then
3393 { echo "$as_me:$LINENO: result: $PATH_PROG_ERUBY" >&5
3394 echo "${ECHO_T}$PATH_PROG_ERUBY" >&6; }
3395 else
3396 { echo "$as_me:$LINENO: result: no" >&5
3397 echo "${ECHO_T}no" >&6; }
3398 fi
3399
3400
3401 test -n "$PATH_PROG_ERUBY" && break
3402 done
3403 test -n "$PATH_PROG_ERUBY" || PATH_PROG_ERUBY="no"
3404
3405 if test "x${PATH_PROG_ERUBY}" != "xno"; then
3406
3407 cat >>confdefs.h <<_ACEOF
3408 #define PATH_PROG_ERUBY "${PATH_PROG_ERUBY}"
3409 _ACEOF
3410
3411 fi
3412
3413 fi
3414
3415
3416
3417 # Check whether --with-asp was given.
3418 if test "${with_asp+set}" = set; then
3419 withval=$with_asp;
3420 { echo "$as_me:$LINENO: checking for asp interpreter" >&5
3421 echo $ECHO_N "checking for asp interpreter... $ECHO_C" >&6; }
3422 if test "x$withval" != x; then
3423 PATH_PROG_ASP="$withval"
3424
3425 cat >>confdefs.h <<_ACEOF
3426 #define PATH_PROG_ASP "$withval"
3427 _ACEOF
3428
3429 { echo "$as_me:$LINENO: result: $withval" >&5
3430 echo "${ECHO_T}$withval" >&6; }
3431 else
3432 { echo "$as_me:$LINENO: result: not found" >&5
3433 echo "${ECHO_T}not found" >&6; }
3434 fi
3435
3436 else
3437
3438 # Extract the first word of "asp-perl", so it can be a program name with args.
3439 set dummy asp-perl; ac_word=$2
3440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3442 if test "${ac_cv_path_PATH_PROG_ASP+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 else
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
3451 for as_dir in $PATH
3452 do
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
3461 done
3462 done
3463 IFS=$as_save_IFS
3464
3465 test -z "$ac_cv_path_PATH_PROG_ASP" && ac_cv_path_PATH_PROG_ASP="no"
3466 ;;
3467 esac
3468 fi
3469 PATH_PROG_ASP=$ac_cv_path_PATH_PROG_ASP
3470 if test -n "$PATH_PROG_ASP"; then
3471 { echo "$as_me:$LINENO: result: $PATH_PROG_ASP" >&5
3472 echo "${ECHO_T}$PATH_PROG_ASP" >&6; }
3473 else
3474 { echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6; }
3476 fi
3477
3478
3479 if test "x${PATH_PROG_ASP}" != "xno"; then
3480
3481 cat >>confdefs.h <<_ACEOF
3482 #define PATH_PROG_ASP "${PATH_PROG_ASP}"
3483 _ACEOF
3484
3485 fi
3486
3487 fi
3488
3489
3490
3491 charset="iso-8859-1"
3492 { echo "$as_me:$LINENO: checking for charset" >&5
3493 echo $ECHO_N "checking for charset... $ECHO_C" >&6; }
3494
3495 # Check whether --with-charset was given.
3496 if test "${with_charset+set}" = set; then
3497 withval=$with_charset;
3498 if test "x$withval" != x; then
3499 charset="$withval"
3500 fi
3501
3502 else
3503
3504 true
3505
3506 fi
3507
3508 { echo "$as_me:$LINENO: result: $charset" >&5
3509 echo "${ECHO_T}$charset" >&6; }
3510
3511 cat >>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
3521 echo $ECHO_N "checking for sigset... $ECHO_C" >&6; }
3522 if test "${ac_cv_func_sigset+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 else
3525 cat >conftest.$ac_ext <<_ACEOF
3526 /* confdefs.h. */
3527 _ACEOF
3528 cat confdefs.h >>conftest.$ac_ext
3529 cat >>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
3552 extern "C"
3553 #endif
3554 char 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
3559 choke me
3560 #endif
3561
3562 int
3563 main ()
3564 {
3565 return sigset ();
3566 ;
3567 return 0;
3568 }
3569 _ACEOF
3570 rm -f conftest.$ac_objext conftest$ac_exeext
3571 if { (ac_try="$ac_link"
3572 case "(($ac_try" in
3573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;;
3575 esac
3576 eval "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
3589 else
3590 echo "$as_me: failed program was:" >&5
3591 sed 's/^/| /' conftest.$ac_ext >&5
3592
3593 ac_cv_func_sigset=no
3594 fi
3595
3596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3597 conftest$ac_exeext conftest.$ac_ext
3598 fi
3599 { echo "$as_me:$LINENO: result: $ac_cv_func_sigset" >&5
3600 echo "${ECHO_T}$ac_cv_func_sigset" >&6; }
3601 if test $ac_cv_func_sigset = yes; then
3602
3603 cat >>confdefs.h <<\_ACEOF
3604 #define HAS_SIGSET
3605 _ACEOF
3606
3607 fi
3608
3609 { echo "$as_me:$LINENO: checking for initgroups" >&5
3610 echo $ECHO_N "checking for initgroups... $ECHO_C" >&6; }
3611 if test "${ac_cv_func_initgroups+set}" = set; then
3612 echo $ECHO_N "(cached) $ECHO_C" >&6
3613 else
3614 cat >conftest.$ac_ext <<_ACEOF
3615 /* confdefs.h. */
3616 _ACEOF
3617 cat confdefs.h >>conftest.$ac_ext
3618 cat >>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
3641 extern "C"
3642 #endif
3643 char 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
3648 choke me
3649 #endif
3650
3651 int
3652 main ()
3653 {
3654 return initgroups ();
3655 ;
3656 return 0;
3657 }
3658 _ACEOF
3659 rm -f conftest.$ac_objext conftest$ac_exeext
3660 if { (ac_try="$ac_link"
3661 case "(($ac_try" in
3662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3663 *) ac_try_echo=$ac_try;;
3664 esac
3665 eval "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
3678 else
3679 echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.$ac_ext >&5
3681
3682 ac_cv_func_initgroups=no
3683 fi
3684
3685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3686 conftest$ac_exeext conftest.$ac_ext
3687 fi
3688 { echo "$as_me:$LINENO: result: $ac_cv_func_initgroups" >&5
3689 echo "${ECHO_T}$ac_cv_func_initgroups" >&6; }
3690 if test $ac_cv_func_initgroups = yes; then
3691
3692 cat >>confdefs.h <<\_ACEOF
3693 #define HAS_INITGROUPS
3694 _ACEOF
3695
3696 fi
3697
3698 { echo "$as_me:$LINENO: checking for setgroups" >&5
3699 echo $ECHO_N "checking for setgroups... $ECHO_C" >&6; }
3700 if test "${ac_cv_func_setgroups+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 else
3703 cat >conftest.$ac_ext <<_ACEOF
3704 /* confdefs.h. */
3705 _ACEOF
3706 cat confdefs.h >>conftest.$ac_ext
3707 cat >>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
3730 extern "C"
3731 #endif
3732 char 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
3737 choke me
3738 #endif
3739
3740 int
3741 main ()
3742 {
3743 return setgroups ();
3744 ;
3745 return 0;
3746 }
3747 _ACEOF
3748 rm -f conftest.$ac_objext conftest$ac_exeext
3749 if { (ac_try="$ac_link"
3750 case "(($ac_try" in
3751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3752 *) ac_try_echo=$ac_try;;
3753 esac
3754 eval "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
3767 else
3768 echo "$as_me: failed program was:" >&5
3769 sed 's/^/| /' conftest.$ac_ext >&5
3770
3771 ac_cv_func_setgroups=no
3772 fi
3773
3774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3775 conftest$ac_exeext conftest.$ac_ext
3776 fi
3777 { echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5
3778 echo "${ECHO_T}$ac_cv_func_setgroups" >&6; }
3779 if test $ac_cv_func_setgroups = yes; then
3780
3781 cat >>confdefs.h <<\_ACEOF
3782 #define HAS_SETGROUPS
3783 _ACEOF
3784
3785 fi
3786
3787 { echo "$as_me:$LINENO: checking for getgroups" >&5
3788 echo $ECHO_N "checking for getgroups... $ECHO_C" >&6; }
3789 if test "${ac_cv_func_getgroups+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 else
3792 cat >conftest.$ac_ext <<_ACEOF
3793 /* confdefs.h. */
3794 _ACEOF
3795 cat confdefs.h >>conftest.$ac_ext
3796 cat >>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
3819 extern "C"
3820 #endif
3821 char 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
3826 choke me
3827 #endif
3828
3829 int
3830 main ()
3831 {
3832 return getgroups ();
3833 ;
3834 return 0;
3835 }
3836 _ACEOF
3837 rm -f conftest.$ac_objext conftest$ac_exeext
3838 if { (ac_try="$ac_link"
3839 case "(($ac_try" in
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3842 esac
3843 eval "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
3856 else
3857 echo "$as_me: failed program was:" >&5
3858 sed 's/^/| /' conftest.$ac_ext >&5
3859
3860 ac_cv_func_getgroups=no
3861 fi
3862
3863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3864 conftest$ac_exeext conftest.$ac_ext
3865 fi
3866 { echo "$as_me:$LINENO: result: $ac_cv_func_getgroups" >&5
3867 echo "${ECHO_T}$ac_cv_func_getgroups" >&6; }
3868 if test $ac_cv_func_getgroups = yes; then
3869
3870 cat >>confdefs.h <<\_ACEOF
3871 #define HAS_GETGROUPS
3872 _ACEOF
3873
3874 fi
3875
3876 { echo "$as_me:$LINENO: checking for setgid" >&5
3877 echo $ECHO_N "checking for setgid... $ECHO_C" >&6; }
3878 if test "${ac_cv_func_setgid+set}" = set; then
3879 echo $ECHO_N "(cached) $ECHO_C" >&6
3880 else
3881 cat >conftest.$ac_ext <<_ACEOF
3882 /* confdefs.h. */
3883 _ACEOF
3884 cat confdefs.h >>conftest.$ac_ext
3885 cat >>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
3908 extern "C"
3909 #endif
3910 char 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
3915 choke me
3916 #endif
3917
3918 int
3919 main ()
3920 {
3921 return setgid ();
3922 ;
3923 return 0;
3924 }
3925 _ACEOF
3926 rm -f conftest.$ac_objext conftest$ac_exeext
3927 if { (ac_try="$ac_link"
3928 case "(($ac_try" in
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3931 esac
3932 eval "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
3945 else
3946 echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.$ac_ext >&5
3948
3949 ac_cv_func_setgid=no
3950 fi
3951
3952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3953 conftest$ac_exeext conftest.$ac_ext
3954 fi
3955 { echo "$as_me:$LINENO: result: $ac_cv_func_setgid" >&5
3956 echo "${ECHO_T}$ac_cv_func_setgid" >&6; }
3957 if test $ac_cv_func_setgid = yes; then
3958
3959 cat >>confdefs.h <<\_ACEOF
3960 #define HAS_SETGID
3961 _ACEOF
3962
3963 fi
3964
3965 { echo "$as_me:$LINENO: checking for setuid" >&5
3966 echo $ECHO_N "checking for setuid... $ECHO_C" >&6; }
3967 if test "${ac_cv_func_setuid+set}" = set; then
3968 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 else
3970 cat >conftest.$ac_ext <<_ACEOF
3971 /* confdefs.h. */
3972 _ACEOF
3973 cat confdefs.h >>conftest.$ac_ext
3974 cat >>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
3997 extern "C"
3998 #endif
3999 char 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
4004 choke me
4005 #endif
4006
4007 int
4008 main ()
4009 {
4010 return setuid ();
4011 ;
4012 return 0;
4013 }
4014 _ACEOF
4015 rm -f conftest.$ac_objext conftest$ac_exeext
4016 if { (ac_try="$ac_link"
4017 case "(($ac_try" in
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4020 esac
4021 eval "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
4034 else
4035 echo "$as_me: failed program was:" >&5
4036 sed 's/^/| /' conftest.$ac_ext >&5
4037
4038 ac_cv_func_setuid=no
4039 fi
4040
4041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4042 conftest$ac_exeext conftest.$ac_ext
4043 fi
4044 { echo "$as_me:$LINENO: result: $ac_cv_func_setuid" >&5
4045 echo "${ECHO_T}$ac_cv_func_setuid" >&6; }
4046 if test $ac_cv_func_setuid = yes; then
4047
4048 cat >>confdefs.h <<\_ACEOF
4049 #define HAS_SETUID
4050 _ACEOF
4051
4052 fi
4053
4054 { echo "$as_me:$LINENO: checking for setegid" >&5
4055 echo $ECHO_N "checking for setegid... $ECHO_C" >&6; }
4056 if test "${ac_cv_func_setegid+set}" = set; then
4057 echo $ECHO_N "(cached) $ECHO_C" >&6
4058 else
4059 cat >conftest.$ac_ext <<_ACEOF
4060 /* confdefs.h. */
4061 _ACEOF
4062 cat confdefs.h >>conftest.$ac_ext
4063 cat >>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
4086 extern "C"
4087 #endif
4088 char 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
4093 choke me
4094 #endif
4095
4096 int
4097 main ()
4098 {
4099 return setegid ();
4100 ;
4101 return 0;
4102 }
4103 _ACEOF
4104 rm -f conftest.$ac_objext conftest$ac_exeext
4105 if { (ac_try="$ac_link"
4106 case "(($ac_try" in
4107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108 *) ac_try_echo=$ac_try;;
4109 esac
4110 eval "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
4123 else
4124 echo "$as_me: failed program was:" >&5
4125 sed 's/^/| /' conftest.$ac_ext >&5
4126
4127 ac_cv_func_setegid=no
4128 fi
4129
4130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4131 conftest$ac_exeext conftest.$ac_ext
4132 fi
4133 { echo "$as_me:$LINENO: result: $ac_cv_func_setegid" >&5
4134 echo "${ECHO_T}$ac_cv_func_setegid" >&6; }
4135 if test $ac_cv_func_setegid = yes; then
4136
4137 cat >>confdefs.h <<\_ACEOF
4138 #define HAS_SETEGID
4139 _ACEOF
4140
4141 fi
4142
4143 { echo "$as_me:$LINENO: checking for seteuid" >&5
4144 echo $ECHO_N "checking for seteuid... $ECHO_C" >&6; }
4145 if test "${ac_cv_func_seteuid+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4147 else
4148 cat >conftest.$ac_ext <<_ACEOF
4149 /* confdefs.h. */
4150 _ACEOF
4151 cat confdefs.h >>conftest.$ac_ext
4152 cat >>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
4175 extern "C"
4176 #endif
4177 char 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
4182 choke me
4183 #endif
4184
4185 int
4186 main ()
4187 {
4188 return seteuid ();
4189 ;
4190 return 0;
4191 }
4192 _ACEOF
4193 rm -f conftest.$ac_objext conftest$ac_exeext
4194 if { (ac_try="$ac_link"
4195 case "(($ac_try" in
4196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4197 *) ac_try_echo=$ac_try;;
4198 esac
4199 eval "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
4212 else
4213 echo "$as_me: failed program was:" >&5
4214 sed 's/^/| /' conftest.$ac_ext >&5
4215
4216 ac_cv_func_seteuid=no
4217 fi
4218
4219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4220 conftest$ac_exeext conftest.$ac_ext
4221 fi
4222 { echo "$as_me:$LINENO: result: $ac_cv_func_seteuid" >&5
4223 echo "${ECHO_T}$ac_cv_func_seteuid" >&6; }
4224 if test $ac_cv_func_seteuid = yes; then
4225
4226 cat >>confdefs.h <<\_ACEOF
4227 #define HAS_SETEUID
4228 _ACEOF
4229
4230 fi
4231
4232 { echo "$as_me:$LINENO: checking for setrgid" >&5
4233 echo $ECHO_N "checking for setrgid... $ECHO_C" >&6; }
4234 if test "${ac_cv_func_setrgid+set}" = set; then
4235 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 else
4237 cat >conftest.$ac_ext <<_ACEOF
4238 /* confdefs.h. */
4239 _ACEOF
4240 cat confdefs.h >>conftest.$ac_ext
4241 cat >>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
4264 extern "C"
4265 #endif
4266 char 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
4271 choke me
4272 #endif
4273
4274 int
4275 main ()
4276 {
4277 return setrgid ();
4278 ;
4279 return 0;
4280 }
4281 _ACEOF
4282 rm -f conftest.$ac_objext conftest$ac_exeext
4283 if { (ac_try="$ac_link"
4284 case "(($ac_try" in
4285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4286 *) ac_try_echo=$ac_try;;
4287 esac
4288 eval "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
4301 else
4302 echo "$as_me: failed program was:" >&5
4303 sed 's/^/| /' conftest.$ac_ext >&5
4304
4305 ac_cv_func_setrgid=no
4306 fi
4307
4308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4309 conftest$ac_exeext conftest.$ac_ext
4310 fi
4311 { echo "$as_me:$LINENO: result: $ac_cv_func_setrgid" >&5
4312 echo "${ECHO_T}$ac_cv_func_setrgid" >&6; }
4313 if test $ac_cv_func_setrgid = yes; then
4314
4315 cat >>confdefs.h <<\_ACEOF
4316 #define HAS_SETRGID
4317 _ACEOF
4318
4319 fi
4320
4321 { echo "$as_me:$LINENO: checking for setruid" >&5
4322 echo $ECHO_N "checking for setruid... $ECHO_C" >&6; }
4323 if test "${ac_cv_func_setruid+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 else
4326 cat >conftest.$ac_ext <<_ACEOF
4327 /* confdefs.h. */
4328 _ACEOF
4329 cat confdefs.h >>conftest.$ac_ext
4330 cat >>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
4353 extern "C"
4354 #endif
4355 char 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
4360 choke me
4361 #endif
4362
4363 int
4364 main ()
4365 {
4366 return setruid ();
4367 ;
4368 return 0;
4369 }
4370 _ACEOF
4371 rm -f conftest.$ac_objext conftest$ac_exeext
4372 if { (ac_try="$ac_link"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval "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
4390 else
4391 echo "$as_me: failed program was:" >&5
4392 sed 's/^/| /' conftest.$ac_ext >&5
4393
4394 ac_cv_func_setruid=no
4395 fi
4396
4397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4398 conftest$ac_exeext conftest.$ac_ext
4399 fi
4400 { echo "$as_me:$LINENO: result: $ac_cv_func_setruid" >&5
4401 echo "${ECHO_T}$ac_cv_func_setruid" >&6; }
4402 if test $ac_cv_func_setruid = yes; then
4403
4404 cat >>confdefs.h <<\_ACEOF
4405 #define HAS_SETRUID
4406 _ACEOF
4407
4408 fi
4409
4410 { echo "$as_me:$LINENO: checking for setregid" >&5
4411 echo $ECHO_N "checking for setregid... $ECHO_C" >&6; }
4412 if test "${ac_cv_func_setregid+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4414 else
4415 cat >conftest.$ac_ext <<_ACEOF
4416 /* confdefs.h. */
4417 _ACEOF
4418 cat confdefs.h >>conftest.$ac_ext
4419 cat >>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
4442 extern "C"
4443 #endif
4444 char 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
4449 choke me
4450 #endif
4451
4452 int
4453 main ()
4454 {
4455 return setregid ();
4456 ;
4457 return 0;
4458 }
4459 _ACEOF
4460 rm -f conftest.$ac_objext conftest$ac_exeext
4461 if { (ac_try="$ac_link"
4462 case "(($ac_try" in
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4465 esac
4466 eval "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
4479 else
4480 echo "$as_me: failed program was:" >&5
4481 sed 's/^/| /' conftest.$ac_ext >&5
4482
4483 ac_cv_func_setregid=no
4484 fi
4485
4486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4487 conftest$ac_exeext conftest.$ac_ext
4488 fi
4489 { echo "$as_me:$LINENO: result: $ac_cv_func_setregid" >&5
4490 echo "${ECHO_T}$ac_cv_func_setregid" >&6; }
4491 if test $ac_cv_func_setregid = yes; then
4492
4493 cat >>confdefs.h <<\_ACEOF
4494 #define HAS_SETREGID
4495 _ACEOF
4496
4497 fi
4498
4499 { echo "$as_me:$LINENO: checking for setreuid" >&5
4500 echo $ECHO_N "checking for setreuid... $ECHO_C" >&6; }
4501 if test "${ac_cv_func_setreuid+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 else
4504 cat >conftest.$ac_ext <<_ACEOF
4505 /* confdefs.h. */
4506 _ACEOF
4507 cat confdefs.h >>conftest.$ac_ext
4508 cat >>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
4531 extern "C"
4532 #endif
4533 char 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
4538 choke me
4539 #endif
4540
4541 int
4542 main ()
4543 {
4544 return setreuid ();
4545 ;
4546 return 0;
4547 }
4548 _ACEOF
4549 rm -f conftest.$ac_objext conftest$ac_exeext
4550 if { (ac_try="$ac_link"
4551 case "(($ac_try" in
4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4554 esac
4555 eval "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
4568 else
4569 echo "$as_me: failed program was:" >&5
4570 sed 's/^/| /' conftest.$ac_ext >&5
4571
4572 ac_cv_func_setreuid=no
4573 fi
4574
4575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4576 conftest$ac_exeext conftest.$ac_ext
4577 fi
4578 { echo "$as_me:$LINENO: result: $ac_cv_func_setreuid" >&5
4579 echo "${ECHO_T}$ac_cv_func_setreuid" >&6; }
4580 if test $ac_cv_func_setreuid = yes; then
4581
4582 cat >>confdefs.h <<\_ACEOF
4583 #define HAS_SETREUID
4584 _ACEOF
4585
4586 fi
4587
4588 { echo "$as_me:$LINENO: checking for setresgid" >&5
4589 echo $ECHO_N "checking for setresgid... $ECHO_C" >&6; }
4590 if test "${ac_cv_func_setresgid+set}" = set; then
4591 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 else
4593 cat >conftest.$ac_ext <<_ACEOF
4594 /* confdefs.h. */
4595 _ACEOF
4596 cat confdefs.h >>conftest.$ac_ext
4597 cat >>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
4620 extern "C"
4621 #endif
4622 char 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
4627 choke me
4628 #endif
4629
4630 int
4631 main ()
4632 {
4633 return setresgid ();
4634 ;
4635 return 0;
4636 }
4637 _ACEOF
4638 rm -f conftest.$ac_objext conftest$ac_exeext
4639 if { (ac_try="$ac_link"
4640 case "(($ac_try" in
4641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4642 *) ac_try_echo=$ac_try;;
4643 esac
4644 eval "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
4657 else
4658 echo "$as_me: failed program was:" >&5
4659 sed 's/^/| /' conftest.$ac_ext >&5
4660
4661 ac_cv_func_setresgid=no
4662 fi
4663
4664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4665 conftest$ac_exeext conftest.$ac_ext
4666 fi
4667 { echo "$as_me:$LINENO: result: $ac_cv_func_setresgid" >&5
4668 echo "${ECHO_T}$ac_cv_func_setresgid" >&6; }
4669 if test $ac_cv_func_setresgid = yes; then
4670
4671 cat >>confdefs.h <<\_ACEOF
4672 #define HAS_SETRESGID
4673 _ACEOF
4674
4675 fi
4676
4677 { echo "$as_me:$LINENO: checking for setresuid" >&5
4678 echo $ECHO_N "checking for setresuid... $ECHO_C" >&6; }
4679 if test "${ac_cv_func_setresuid+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 else
4682 cat >conftest.$ac_ext <<_ACEOF
4683 /* confdefs.h. */
4684 _ACEOF
4685 cat confdefs.h >>conftest.$ac_ext
4686 cat >>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
4709 extern "C"
4710 #endif
4711 char 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
4716 choke me
4717 #endif
4718
4719 int
4720 main ()
4721 {
4722 return setresuid ();
4723 ;
4724 return 0;
4725 }
4726 _ACEOF
4727 rm -f conftest.$ac_objext conftest$ac_exeext
4728 if { (ac_try="$ac_link"
4729 case "(($ac_try" in
4730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4731 *) ac_try_echo=$ac_try;;
4732 esac
4733 eval "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
4746 else
4747 echo "$as_me: failed program was:" >&5
4748 sed 's/^/| /' conftest.$ac_ext >&5
4749
4750 ac_cv_func_setresuid=no
4751 fi
4752
4753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4754 conftest$ac_exeext conftest.$ac_ext
4755 fi
4756 { echo "$as_me:$LINENO: result: $ac_cv_func_setresuid" >&5
4757 echo "${ECHO_T}$ac_cv_func_setresuid" >&6; }
4758 if test $ac_cv_func_setresuid = yes; then
4759
4760 cat >>confdefs.h <<\_ACEOF
4761 #define HAS_SETRESUID
4762 _ACEOF
4763
4764 fi
4765
4766 { echo "$as_me:$LINENO: checking for perror" >&5
4767 echo $ECHO_N "checking for perror... $ECHO_C" >&6; }
4768 if test "${ac_cv_func_perror+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 else
4771 cat >conftest.$ac_ext <<_ACEOF
4772 /* confdefs.h. */
4773 _ACEOF
4774 cat confdefs.h >>conftest.$ac_ext
4775 cat >>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
4798 extern "C"
4799 #endif
4800 char 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
4805 choke me
4806 #endif
4807
4808 int
4809 main ()
4810 {
4811 return perror ();
4812 ;
4813 return 0;
4814 }
4815 _ACEOF
4816 rm -f conftest.$ac_objext conftest$ac_exeext
4817 if { (ac_try="$ac_link"
4818 case "(($ac_try" in
4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4820 *) ac_try_echo=$ac_try;;
4821 esac
4822 eval "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
4835 else
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.$ac_ext >&5
4838
4839 ac_cv_func_perror=no
4840 fi
4841
4842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4843 conftest$ac_exeext conftest.$ac_ext
4844 fi
4845 { echo "$as_me:$LINENO: result: $ac_cv_func_perror" >&5
4846 echo "${ECHO_T}$ac_cv_func_perror" >&6; }
4847 if test $ac_cv_func_perror = yes; then
4848
4849 cat >>confdefs.h <<\_ACEOF
4850 #define HAS_PERROR
4851 _ACEOF
4852
4853 fi
4854
4855 { echo "$as_me:$LINENO: checking for strerror" >&5
4856 echo $ECHO_N "checking for strerror... $ECHO_C" >&6; }
4857 if test "${ac_cv_func_strerror+set}" = set; then
4858 echo $ECHO_N "(cached) $ECHO_C" >&6
4859 else
4860 cat >conftest.$ac_ext <<_ACEOF
4861 /* confdefs.h. */
4862 _ACEOF
4863 cat confdefs.h >>conftest.$ac_ext
4864 cat >>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
4887 extern "C"
4888 #endif
4889 char 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
4894 choke me
4895 #endif
4896
4897 int
4898 main ()
4899 {
4900 return strerror ();
4901 ;
4902 return 0;
4903 }
4904 _ACEOF
4905 rm -f conftest.$ac_objext conftest$ac_exeext
4906 if { (ac_try="$ac_link"
4907 case "(($ac_try" in
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4910 esac
4911 eval "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
4924 else
4925 echo "$as_me: failed program was:" >&5
4926 sed 's/^/| /' conftest.$ac_ext >&5
4927
4928 ac_cv_func_strerror=no
4929 fi
4930
4931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4932 conftest$ac_exeext conftest.$ac_ext
4933 fi
4934 { echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
4935 echo "${ECHO_T}$ac_cv_func_strerror" >&6; }
4936 if test $ac_cv_func_strerror = yes; then
4937
4938 cat >>confdefs.h <<\_ACEOF
4939 #define HAS_STRERROR
4940 _ACEOF
4941
4942 fi
4943
4944 { echo "$as_me:$LINENO: checking for strdup" >&5
4945 echo $ECHO_N "checking for strdup... $ECHO_C" >&6; }
4946 if test "${ac_cv_func_strdup+set}" = set; then
4947 echo $ECHO_N "(cached) $ECHO_C" >&6
4948 else
4949 cat >conftest.$ac_ext <<_ACEOF
4950 /* confdefs.h. */
4951 _ACEOF
4952 cat confdefs.h >>conftest.$ac_ext
4953 cat >>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
4976 extern "C"
4977 #endif
4978 char 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
4983 choke me
4984 #endif
4985
4986 int
4987 main ()
4988 {
4989 return strdup ();
4990 ;
4991 return 0;
4992 }
4993 _ACEOF
4994 rm -f conftest.$ac_objext conftest$ac_exeext
4995 if { (ac_try="$ac_link"
4996 case "(($ac_try" in
4997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4998 *) ac_try_echo=$ac_try;;
4999 esac
5000 eval "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
5013 else
5014 echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.$ac_ext >&5
5016
5017 ac_cv_func_strdup=no
5018 fi
5019
5020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5021 conftest$ac_exeext conftest.$ac_ext
5022 fi
5023 { echo "$as_me:$LINENO: result: $ac_cv_func_strdup" >&5
5024 echo "${ECHO_T}$ac_cv_func_strdup" >&6; }
5025 if test $ac_cv_func_strdup = yes; then
5026
5027 cat >>confdefs.h <<\_ACEOF
5028 #define HAS_STRDUP
5029 _ACEOF
5030
5031 fi
5032
5033 { echo "$as_me:$LINENO: checking for syslog" >&5
5034 echo $ECHO_N "checking for syslog... $ECHO_C" >&6; }
5035 if test "${ac_cv_func_syslog+set}" = set; then
5036 echo $ECHO_N "(cached) $ECHO_C" >&6
5037 else
5038 cat >conftest.$ac_ext <<_ACEOF
5039 /* confdefs.h. */
5040 _ACEOF
5041 cat confdefs.h >>conftest.$ac_ext
5042 cat >>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
5065 extern "C"
5066 #endif
5067 char 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
5072 choke me
5073 #endif
5074
5075 int
5076 main ()
5077 {
5078 return syslog ();
5079 ;
5080 return 0;
5081 }
5082 _ACEOF
5083 rm -f conftest.$ac_objext conftest$ac_exeext
5084 if { (ac_try="$ac_link"
5085 case "(($ac_try" in
5086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5087 *) ac_try_echo=$ac_try;;
5088 esac
5089 eval "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
5102 else
5103 echo "$as_me: failed program was:" >&5
5104 sed 's/^/| /' conftest.$ac_ext >&5
5105
5106 ac_cv_func_syslog=no
5107 fi
5108
5109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5110 conftest$ac_exeext conftest.$ac_ext
5111 fi
5112 { echo "$as_me:$LINENO: result: $ac_cv_func_syslog" >&5
5113 echo "${ECHO_T}$ac_cv_func_syslog" >&6; }
5114 if test $ac_cv_func_syslog = yes; then
5115
5116 cat >>confdefs.h <<\_ACEOF
5117 #define HAS_SYSLOG
5118 _ACEOF
5119
5120 fi
5121
5122 { echo "$as_me:$LINENO: checking for setrlimit" >&5
5123 echo $ECHO_N "checking for setrlimit... $ECHO_C" >&6; }
5124 if test "${ac_cv_func_setrlimit+set}" = set; then
5125 echo $ECHO_N "(cached) $ECHO_C" >&6
5126 else
5127 cat >conftest.$ac_ext <<_ACEOF
5128 /* confdefs.h. */
5129 _ACEOF
5130 cat confdefs.h >>conftest.$ac_ext
5131 cat >>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
5154 extern "C"
5155 #endif
5156 char 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
5161 choke me
5162 #endif
5163
5164 int
5165 main ()
5166 {
5167 return setrlimit ();
5168 ;
5169 return 0;
5170 }
5171 _ACEOF
5172 rm -f conftest.$ac_objext conftest$ac_exeext
5173 if { (ac_try="$ac_link"
5174 case "(($ac_try" in
5175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5176 *) ac_try_echo=$ac_try;;
5177 esac
5178 eval "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
5191 else
5192 echo "$as_me: failed program was:" >&5
5193 sed 's/^/| /' conftest.$ac_ext >&5
5194
5195 ac_cv_func_setrlimit=no
5196 fi
5197
5198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5199 conftest$ac_exeext conftest.$ac_ext
5200 fi
5201 { echo "$as_me:$LINENO: result: $ac_cv_func_setrlimit" >&5
5202 echo "${ECHO_T}$ac_cv_func_setrlimit" >&6; }
5203 if test $ac_cv_func_setrlimit = yes; then
5204
5205 cat >>confdefs.h <<\_ACEOF
5206 #define HAS_SETRLIMIT
5207 _ACEOF
5208
5209 fi
5210
5211 { echo "$as_me:$LINENO: checking for putenv" >&5
5212 echo $ECHO_N "checking for putenv... $ECHO_C" >&6; }
5213 if test "${ac_cv_func_putenv+set}" = set; then
5214 echo $ECHO_N "(cached) $ECHO_C" >&6
5215 else
5216 cat >conftest.$ac_ext <<_ACEOF
5217 /* confdefs.h. */
5218 _ACEOF
5219 cat confdefs.h >>conftest.$ac_ext
5220 cat >>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
5243 extern "C"
5244 #endif
5245 char 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
5250 choke me
5251 #endif
5252
5253 int
5254 main ()
5255 {
5256 return putenv ();
5257 ;
5258 return 0;
5259 }
5260 _ACEOF
5261 rm -f conftest.$ac_objext conftest$ac_exeext
5262 if { (ac_try="$ac_link"
5263 case "(($ac_try" in
5264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5265 *) ac_try_echo=$ac_try;;
5266 esac
5267 eval "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
5280 else
5281 echo "$as_me: failed program was:" >&5
5282 sed 's/^/| /' conftest.$ac_ext >&5
5283
5284 ac_cv_func_putenv=no
5285 fi
5286
5287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5288 conftest$ac_exeext conftest.$ac_ext
5289 fi
5290 { echo "$as_me:$LINENO: result: $ac_cv_func_putenv" >&5
5291 echo "${ECHO_T}$ac_cv_func_putenv" >&6; }
5292 if test $ac_cv_func_putenv = yes; then
5293
5294 cat >>confdefs.h <<\_ACEOF
5295 #define HAS_PUTENV
5296 _ACEOF
5297
5298 fi
5299
5300 { echo "$as_me:$LINENO: checking for unsetenv" >&5
5301 echo $ECHO_N "checking for unsetenv... $ECHO_C" >&6; }
5302 if test "${ac_cv_func_unsetenv+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 else
5305 cat >conftest.$ac_ext <<_ACEOF
5306 /* confdefs.h. */
5307 _ACEOF
5308 cat confdefs.h >>conftest.$ac_ext
5309 cat >>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
5332 extern "C"
5333 #endif
5334 char 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
5339 choke me
5340 #endif
5341
5342 int
5343 main ()
5344 {
5345 return unsetenv ();
5346 ;
5347 return 0;
5348 }
5349 _ACEOF
5350 rm -f conftest.$ac_objext conftest$ac_exeext
5351 if { (ac_try="$ac_link"
5352 case "(($ac_try" in
5353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5354 *) ac_try_echo=$ac_try;;
5355 esac
5356 eval "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
5369 else
5370 echo "$as_me: failed program was:" >&5
5371 sed 's/^/| /' conftest.$ac_ext >&5
5372
5373 ac_cv_func_unsetenv=no
5374 fi
5375
5376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5377 conftest$ac_exeext conftest.$ac_ext
5378 fi
5379 { echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv" >&5
5380 echo "${ECHO_T}$ac_cv_func_unsetenv" >&6; }
5381 if test $ac_cv_func_unsetenv = yes; then
5382
5383 cat >>confdefs.h <<\_ACEOF
5384 #define HAS_UNSETENV
5385 _ACEOF
5386
5387 fi
5388
5389 { echo "$as_me:$LINENO: checking for wait3" >&5
5390 echo $ECHO_N "checking for wait3... $ECHO_C" >&6; }
5391 if test "${ac_cv_func_wait3+set}" = set; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 else
5394 cat >conftest.$ac_ext <<_ACEOF
5395 /* confdefs.h. */
5396 _ACEOF
5397 cat confdefs.h >>conftest.$ac_ext
5398 cat >>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
5421 extern "C"
5422 #endif
5423 char 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
5428 choke me
5429 #endif
5430
5431 int
5432 main ()
5433 {
5434 return wait3 ();
5435 ;
5436 return 0;
5437 }
5438 _ACEOF
5439 rm -f conftest.$ac_objext conftest$ac_exeext
5440 if { (ac_try="$ac_link"
5441 case "(($ac_try" in
5442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5443 *) ac_try_echo=$ac_try;;
5444 esac
5445 eval "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
5458 else
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5461
5462 ac_cv_func_wait3=no
5463 fi
5464
5465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5466 conftest$ac_exeext conftest.$ac_ext
5467 fi
5468 { echo "$as_me:$LINENO: result: $ac_cv_func_wait3" >&5
5469 echo "${ECHO_T}$ac_cv_func_wait3" >&6; }
5470 if test $ac_cv_func_wait3 = yes; then
5471
5472 cat >>confdefs.h <<\_ACEOF
5473 #define HAS_WAIT3
5474 _ACEOF
5475
5476 fi
5477
5478 { echo "$as_me:$LINENO: checking for innetgr" >&5
5479 echo $ECHO_N "checking for innetgr... $ECHO_C" >&6; }
5480 if test "${ac_cv_func_innetgr+set}" = set; then
5481 echo $ECHO_N "(cached) $ECHO_C" >&6
5482 else
5483 cat >conftest.$ac_ext <<_ACEOF
5484 /* confdefs.h. */
5485 _ACEOF
5486 cat confdefs.h >>conftest.$ac_ext
5487 cat >>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
5510 extern "C"
5511 #endif
5512 char 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
5517 choke me
5518 #endif
5519
5520 int
5521 main ()
5522 {
5523 return innetgr ();
5524 ;
5525 return 0;
5526 }
5527 _ACEOF
5528 rm -f conftest.$ac_objext conftest$ac_exeext
5529 if { (ac_try="$ac_link"
5530 case "(($ac_try" in
5531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5532 *) ac_try_echo=$ac_try;;
5533 esac
5534 eval "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
5547 else
5548 echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.$ac_ext >&5
5550
5551 ac_cv_func_innetgr=no
5552 fi
5553
5554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5555 conftest$ac_exeext conftest.$ac_ext
5556 fi
5557 { echo "$as_me:$LINENO: result: $ac_cv_func_innetgr" >&5
5558 echo "${ECHO_T}$ac_cv_func_innetgr" >&6; }
5559 if test $ac_cv_func_innetgr = yes; then
5560
5561 cat >>confdefs.h <<\_ACEOF
5562 #define HAS_INNETGR
5563 _ACEOF
5564
5565 fi
5566
5567
5568 { echo "$as_me:$LINENO: checking for chroot prefix" >&5
5569 echo $ECHO_N "checking for chroot prefix... $ECHO_C" >&6; }
5570
5571 # Check whether --with-chroot was given.
5572 if 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
5576 echo "${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
5579 echo "${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
5582 echo "${ECHO_T}disabled, must specify value" >&6; }
5583 else
5584 { echo "$as_me:$LINENO: result: $withval" >&5
5585 echo "${ECHO_T}$withval" >&6; }
5586
5587 cat >>confdefs.h <<_ACEOF
5588 #define CONF_CHROOT_PREFIX "$withval"
5589 _ACEOF
5590
5591 fi
5592
5593 else
5594
5595 { echo "$as_me:$LINENO: result: disabled" >&5
5596 echo "${ECHO_T}disabled" >&6; }
5597
5598 fi
5599
5600
5601 { echo "$as_me:$LINENO: checking for local contact name" >&5
5602 echo $ECHO_N "checking for local contact name... $ECHO_C" >&6; }
5603
5604 # Check whether --with-local-contact-name was given.
5605 if 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
5609 echo "${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
5612 echo "${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
5615 echo "${ECHO_T}disabled, must specify value" >&6; }
5616 else
5617 { echo "$as_me:$LINENO: result: $withval" >&5
5618 echo "${ECHO_T}$withval" >&6; }
5619
5620 cat >>confdefs.h <<_ACEOF
5621 #define CONF_LOCAL_CONTACT_NAME "$withval"
5622 _ACEOF
5623
5624
5625 cat >>confdefs.h <<\_ACEOF
5626 #define CONF_LOCAL_INFO_ENABLED
5627 _ACEOF
5628
5629 fi
5630
5631 else
5632
5633 { echo "$as_me:$LINENO: result: disabled" >&5
5634 echo "${ECHO_T}disabled" >&6; }
5635
5636 fi
5637
5638
5639 { echo "$as_me:$LINENO: checking for local contact email" >&5
5640 echo $ECHO_N "checking for local contact email... $ECHO_C" >&6; }
5641
5642 # Check whether --with-local-contact-email was given.
5643 if 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
5647 echo "${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
5650 echo "${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
5653 echo "${ECHO_T}disabled, must specify value" >&6; }
5654 else
5655 { echo "$as_me:$LINENO: result: $withval" >&5
5656 echo "${ECHO_T}$withval" >&6; }
5657
5658 cat >>confdefs.h <<_ACEOF
5659 #define CONF_LOCAL_CONTACT_EMAIL "$withval"
5660 _ACEOF
5661
5662
5663 cat >>confdefs.h <<\_ACEOF
5664 #define CONF_LOCAL_INFO_ENABLED
5665 _ACEOF
5666
5667 fi
5668
5669 else
5670
5671 { echo "$as_me:$LINENO: result: disabled" >&5
5672 echo "${ECHO_T}disabled" >&6; }
5673
5674 fi
5675
5676
5677 { echo "$as_me:$LINENO: checking for local contact phone" >&5
5678 echo $ECHO_N "checking for local contact phone... $ECHO_C" >&6; }
5679
5680 # Check whether --with-local-contact-phone was given.
5681 if 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
5685 echo "${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
5688 echo "${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
5691 echo "${ECHO_T}disabled, must specify value" >&6; }
5692 else
5693 { echo "$as_me:$LINENO: result: $withval" >&5
5694 echo "${ECHO_T}$withval" >&6; }
5695
5696 cat >>confdefs.h <<_ACEOF
5697 #define CONF_LOCAL_CONTACT_PHONE "$withval"
5698 _ACEOF
5699
5700
5701 cat >>confdefs.h <<\_ACEOF
5702 #define CONF_LOCAL_INFO_ENABLED
5703 _ACEOF
5704
5705 fi
5706
5707 else
5708
5709 { echo "$as_me:$LINENO: result: disabled" >&5
5710 echo "${ECHO_T}disabled" >&6; }
5711
5712 fi
5713
5714
5715 { echo "$as_me:$LINENO: checking for local contact url" >&5
5716