2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # 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.
10 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
30 # Support unset when possible.
31 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
37 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
39 { LANG
=C
; export LANG
; }
40 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
42 { LC_ALL
=C
; export LC_ALL
; }
43 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
45 { LC_TIME
=C
; export LC_TIME
; }
46 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE
=C
; export LC_CTYPE
; }
49 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE
=C
; export LANGUAGE
; }
52 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE
=C
; export LC_COLLATE
; }
55 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
58 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
63 # Name of the executable.
64 as_me
=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits
='0123456789'
81 as_cr_alnum
=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
99 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself
=$0 ;;
106 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir
=.
111 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x
; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
128 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir
=.
132 for as_base
in sh bash ksh sh5
; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
141 CONFIG_SHELL
=$as_dir/$as_base
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
169 chmod +x
$as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c
*,-n*) ECHO_N
= ECHO_C
='
185 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
186 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
189 if expr a
: '\(a\)' >/dev
/null
2>&1; then
195 rm -f conf$$ conf$$.exe conf$$.
file
197 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe
; then
201 # Don't use ln at all; we don't have any links
206 elif ln conf$$.
file conf$$
2>/dev
/null
; then
211 rm -f conf$$ conf$$.exe conf$$.
file
213 as_executable_p
="test -f"
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
242 ac_default_prefix
=/usr
/local
247 SHELL
=${CONFIG_SHELL-/bin/sh}
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
254 # Identity of this package.
261 ac_unique_file
="include/includes.h"
262 ac_default_prefix
=/usr
/local
/samba
263 # Factoring default headers for most tests.
264 ac_includes_default
="\
267 # include <sys/types.h>
270 # include <sys/stat.h>
281 # if !STDC_HEADERS && HAVE_MEMORY_H
287 # include <strings.h>
290 # include <inttypes.h>
301 # Initialize some variables set by options.
303 ac_init_version
=false
304 # The variables have the same names as the options, with
305 # dashes changed to underlines.
313 program_transform_name
=s
,x
,x
,
321 # Installation directory options.
322 # These are left unexpanded so users can "make install exec_prefix=/foo"
323 # and all the variables that are supposed to be based on exec_prefix
324 # by default will actually change.
325 # Use braces instead of parens because sh, perl, etc. also accept them.
326 bindir
='${exec_prefix}/bin'
327 sbindir
='${exec_prefix}/sbin'
328 libexecdir
='${exec_prefix}/libexec'
329 datadir
='${prefix}/share'
330 sysconfdir
='${prefix}/etc'
331 sharedstatedir
='${prefix}/com'
332 localstatedir
='${prefix}/var'
333 libdir
='${exec_prefix}/lib'
334 includedir
='${prefix}/include'
335 oldincludedir
='/usr/include'
336 infodir
='${prefix}/info'
337 mandir
='${prefix}/man'
342 # If the previous option needs an argument, assign it.
343 if test -n "$ac_prev"; then
344 eval "$ac_prev=\$ac_option"
349 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
351 # Accept the important Cygnus configure options, so we can diagnose typos.
355 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
357 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
360 -build |
--build |
--buil |
--bui |
--bu)
361 ac_prev
=build_alias
;;
362 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
363 build_alias
=$ac_optarg ;;
365 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
366 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
367 ac_prev
=cache_file
;;
368 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
369 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
370 cache_file
=$ac_optarg ;;
373 cache_file
=config.cache
;;
375 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
377 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
379 datadir
=$ac_optarg ;;
381 -disable-* |
--disable-*)
382 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
383 # Reject names that are not valid shell variable names.
384 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
385 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
386 { (exit 1); exit 1; }; }
387 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
388 eval "enable_$ac_feature=no" ;;
390 -enable-* |
--enable-*)
391 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
392 # Reject names that are not valid shell variable names.
393 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
394 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
395 { (exit 1); exit 1; }; }
396 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
398 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
401 eval "enable_$ac_feature='$ac_optarg'" ;;
403 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
404 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
405 |
--exec |
--exe |
--ex)
406 ac_prev
=exec_prefix
;;
407 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
408 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
409 |
--exec=* |
--exe=* |
--ex=*)
410 exec_prefix
=$ac_optarg ;;
412 -gas |
--gas |
--ga |
--g)
413 # Obsolete; use --with-gas.
416 -help |
--help |
--hel |
--he |
-h)
418 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
419 ac_init_help
=recursive
;;
420 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
421 ac_init_help
=short
;;
423 -host |
--host |
--hos |
--ho)
424 ac_prev
=host_alias
;;
425 -host=* |
--host=* |
--hos=* |
--ho=*)
426 host_alias
=$ac_optarg ;;
428 -includedir |
--includedir |
--includedi |
--included |
--include \
429 |
--includ |
--inclu |
--incl |
--inc)
430 ac_prev
=includedir
;;
431 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
432 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
433 includedir
=$ac_optarg ;;
435 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
437 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
438 infodir
=$ac_optarg ;;
440 -libdir |
--libdir |
--libdi |
--libd)
442 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
445 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
446 |
--libexe |
--libex |
--libe)
447 ac_prev
=libexecdir
;;
448 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
449 |
--libexe=* |
--libex=* |
--libe=*)
450 libexecdir
=$ac_optarg ;;
452 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
453 |
--localstate |
--localstat |
--localsta |
--localst \
454 |
--locals |
--local |
--loca |
--loc |
--lo)
455 ac_prev
=localstatedir
;;
456 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
457 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
458 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
459 localstatedir
=$ac_optarg ;;
461 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
463 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
467 # Obsolete; use --without-fp.
470 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
471 |
--no-cr |
--no-c |
-n)
474 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
475 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
478 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
479 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
480 |
--oldin |
--oldi |
--old |
--ol |
--o)
481 ac_prev
=oldincludedir
;;
482 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
483 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
484 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
485 oldincludedir
=$ac_optarg ;;
487 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
489 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
492 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
493 |
--program-pre |
--program-pr |
--program-p)
494 ac_prev
=program_prefix
;;
495 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
496 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
497 program_prefix
=$ac_optarg ;;
499 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
500 |
--program-suf |
--program-su |
--program-s)
501 ac_prev
=program_suffix
;;
502 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
503 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
504 program_suffix
=$ac_optarg ;;
506 -program-transform-name |
--program-transform-name \
507 |
--program-transform-nam |
--program-transform-na \
508 |
--program-transform-n |
--program-transform- \
509 |
--program-transform |
--program-transfor \
510 |
--program-transfo |
--program-transf \
511 |
--program-trans |
--program-tran \
512 |
--progr-tra |
--program-tr |
--program-t)
513 ac_prev
=program_transform_name
;;
514 -program-transform-name=* |
--program-transform-name=* \
515 |
--program-transform-nam=* |
--program-transform-na=* \
516 |
--program-transform-n=* |
--program-transform-=* \
517 |
--program-transform=* |
--program-transfor=* \
518 |
--program-transfo=* |
--program-transf=* \
519 |
--program-trans=* |
--program-tran=* \
520 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
521 program_transform_name
=$ac_optarg ;;
523 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
524 |
-silent |
--silent |
--silen |
--sile |
--sil)
527 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
529 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
531 sbindir
=$ac_optarg ;;
533 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
534 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
535 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
537 ac_prev
=sharedstatedir
;;
538 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
539 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
540 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
542 sharedstatedir
=$ac_optarg ;;
544 -site |
--site |
--sit)
546 -site=* |
--site=* |
--sit=*)
549 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
551 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
554 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
555 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
556 ac_prev
=sysconfdir
;;
557 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
558 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
559 sysconfdir
=$ac_optarg ;;
561 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
562 ac_prev
=target_alias
;;
563 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
564 target_alias
=$ac_optarg ;;
566 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
569 -version |
--version |
--versio |
--versi |
--vers |
-V)
573 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
574 # Reject names that are not valid shell variable names.
575 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
576 { echo "$as_me: error: invalid package name: $ac_package" >&2
577 { (exit 1); exit 1; }; }
578 ac_package
=`echo $ac_package| sed 's/-/_/g'`
580 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
583 eval "with_$ac_package='$ac_optarg'" ;;
585 -without-* |
--without-*)
586 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package | sed 's/-/_/g'`
592 eval "with_$ac_package=no" ;;
595 # Obsolete; use --with-x.
598 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
599 |
--x-incl |
--x-inc |
--x-in |
--x-i)
600 ac_prev
=x_includes
;;
601 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
602 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
603 x_includes
=$ac_optarg ;;
605 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
606 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
607 ac_prev
=x_libraries
;;
608 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
609 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
610 x_libraries
=$ac_optarg ;;
612 -*) { echo "$as_me: error: unrecognized option: $ac_option
613 Try \`$0 --help' for more information." >&2
614 { (exit 1); exit 1; }; }
618 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
619 # Reject names that are not valid shell variable names.
620 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
621 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
622 { (exit 1); exit 1; }; }
623 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
624 eval "$ac_envvar='$ac_optarg'"
628 # FIXME: should be removed in autoconf 3.0.
629 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
630 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
631 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
632 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
638 if test -n "$ac_prev"; then
639 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
640 { echo "$as_me: error: missing argument to $ac_option" >&2
641 { (exit 1); exit 1; }; }
644 # Be sure to have absolute paths.
645 for ac_var
in exec_prefix prefix
647 eval ac_val
=$
`echo $ac_var`
649 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
650 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
651 { (exit 1); exit 1; }; };;
655 # Be sure to have absolute paths.
656 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
657 localstatedir libdir includedir oldincludedir infodir mandir
659 eval ac_val
=$
`echo $ac_var`
661 [\\/$
]* | ?
:[\\/]* ) ;;
662 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
663 { (exit 1); exit 1; }; };;
667 # There might be people who depend on the old broken behavior: `$host'
668 # used to hold the argument of --host etc.
669 # FIXME: To remove some day.
674 # FIXME: To remove some day.
675 if test "x$host_alias" != x
; then
676 if test "x$build_alias" = x
; then
677 cross_compiling
=maybe
678 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
679 If a cross compiler is detected then cross compile mode will be used." >&2
680 elif test "x$build_alias" != "x$host_alias"; then
686 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
688 test "$silent" = yes && exec 6>/dev
/null
691 # Find the source files, if location was not specified.
692 if test -z "$srcdir"; then
693 ac_srcdir_defaulted
=yes
694 # Try the directory containing this script, then its parent.
695 ac_confdir
=`(dirname "$0") 2>/dev/null ||
696 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
697 X"$0" : 'X\(//\)[^/]' \| \
698 X"$0" : 'X\(//\)$' \| \
699 X"$0" : 'X\(/\)' \| \
700 . : '\(.\)' 2>/dev/null ||
702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
704 /^X\(\/\/\)$/{ s//\1/; q; }
705 /^X\(\/\).*/{ s//\1/; q; }
708 if test ! -r $srcdir/$ac_unique_file; then
712 ac_srcdir_defaulted
=no
714 if test ! -r $srcdir/$ac_unique_file; then
715 if test "$ac_srcdir_defaulted" = yes; then
716 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
717 { (exit 1); exit 1; }; }
719 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
720 { (exit 1); exit 1; }; }
723 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
724 ac_env_build_alias_set
=${build_alias+set}
725 ac_env_build_alias_value
=$build_alias
726 ac_cv_env_build_alias_set
=${build_alias+set}
727 ac_cv_env_build_alias_value
=$build_alias
728 ac_env_host_alias_set
=${host_alias+set}
729 ac_env_host_alias_value
=$host_alias
730 ac_cv_env_host_alias_set
=${host_alias+set}
731 ac_cv_env_host_alias_value
=$host_alias
732 ac_env_target_alias_set
=${target_alias+set}
733 ac_env_target_alias_value
=$target_alias
734 ac_cv_env_target_alias_set
=${target_alias+set}
735 ac_cv_env_target_alias_value
=$target_alias
736 ac_env_CC_set
=${CC+set}
738 ac_cv_env_CC_set
=${CC+set}
739 ac_cv_env_CC_value
=$CC
740 ac_env_CFLAGS_set
=${CFLAGS+set}
741 ac_env_CFLAGS_value
=$CFLAGS
742 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
743 ac_cv_env_CFLAGS_value
=$CFLAGS
744 ac_env_LDFLAGS_set
=${LDFLAGS+set}
745 ac_env_LDFLAGS_value
=$LDFLAGS
746 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
747 ac_cv_env_LDFLAGS_value
=$LDFLAGS
748 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
749 ac_env_CPPFLAGS_value
=$CPPFLAGS
750 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
751 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
752 ac_env_CPP_set
=${CPP+set}
753 ac_env_CPP_value
=$CPP
754 ac_cv_env_CPP_set
=${CPP+set}
755 ac_cv_env_CPP_value
=$CPP
758 # Report the --help message.
760 if test "$ac_init_help" = "long"; then
761 # Omit some internal or obsolete options to make the list less imposing.
762 # This message is too long to be a string in the A/UX 3.1 sh.
764 \`configure' configures this package to adapt to many kinds of systems.
766 Usage: $0 [OPTION]... [VAR=VALUE]...
768 To assign environment variables (e.g., CC, CFLAGS...), specify them as
769 VAR=VALUE. See below for descriptions of some of the useful variables.
771 Defaults for the options are specified in brackets.
774 -h, --help display this help and exit
775 --help=short display options specific to this package
776 --help=recursive display the short help of all the included packages
777 -V, --version display version information and exit
778 -q, --quiet, --silent do not print \`checking...' messages
779 --cache-file=FILE cache test results in FILE [disabled]
780 -C, --config-cache alias for \`--cache-file=config.cache'
781 -n, --no-create do not create output files
782 --srcdir=DIR find the sources in DIR [configure dir or \`..']
787 Installation directories:
788 --prefix=PREFIX install architecture-independent files in PREFIX
790 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
793 By default, \`make install' will install all the files in
794 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
795 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
796 for instance \`--prefix=\$HOME'.
798 For better control, use the options below.
800 Fine tuning of the installation directories:
801 --bindir=DIR user executables [EPREFIX/bin]
802 --sbindir=DIR system admin executables [EPREFIX/sbin]
803 --libexecdir=DIR program executables [EPREFIX/libexec]
804 --datadir=DIR read-only architecture-independent data [PREFIX/share]
805 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
806 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
807 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
808 --libdir=DIR object code libraries [EPREFIX/lib]
809 --includedir=DIR C header files [PREFIX/include]
810 --oldincludedir=DIR C header files for non-gcc [/usr/include]
811 --infodir=DIR info documentation [PREFIX/info]
812 --mandir=DIR man documentation [PREFIX/man]
818 --build=BUILD configure
for building on BUILD
[guessed
]
819 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
820 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
824 if test -n "$ac_init_help"; then
829 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
830 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
831 --enable-debug Turn on compiler debugging information
(default
=no
)
832 --enable-developer Turn on developer warnings and debugging
(default
=no
)
833 --enable-krb5developer Turn on developer warnings and debugging
, except
-Wstrict-prototypes (default
=no
)
834 --enable-dmalloc Enable heap debugging default
=no
835 --enable-cups Turn on CUPS support
(default
=auto
)
836 --disable-mysqltest Do not try to compile and run a
test MYSQL program
837 --disable-xmltest Do not try to compile and run a
test LIBXML program
840 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
841 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
842 --with-fhs Use FHS-compliant paths
(default
=no
)
843 --with-privatedir=DIR Where to put smbpasswd
($ac_default_prefix/private
)
844 --with-lockdir=DIR Where to put lock files
($ac_default_prefix/var
/locks
)
845 --with-piddir=DIR Where to put pid files
($ac_default_prefix/var
/locks
)
846 --with-swatdir=DIR Where to put SWAT files
($ac_default_prefix/swat
)
847 --with-configdir=DIR Where to put configuration files
(\
$libdir)
848 --with-logfilebase=DIR Where to put log files
(\$
(VARDIR
))
849 --with-readline=DIR Look
for readline include
/libs
in DIR
(default
=auto
)
850 --with-libiconv=BASEDIR Use libiconv
in BASEDIR
/lib and BASEDIR
/include
(default
=auto
)
851 --with-smbwrapper Include SMB wrapper support
(default
=no
)
852 --with-afs Include AFS clear-text auth support
(default
=no
)
853 --with-dce-dfs Include DCE
/DFS clear-text auth support
(default
=no
)
854 --with-ads Active Directory support
(default
yes)
855 --with-krb5=base-dir Locate Kerberos
5 support
(default
=/usr
)
856 --with-ldap LDAP support
(default
yes)
857 --with-mysql-prefix=PFX Prefix where MYSQL is installed
(optional
)
858 --with-mysql-exec-prefix=PFX Exec prefix where MYSQL is installed
(optional
)
859 --with-xml-prefix=PFX Prefix where libxml is installed
(optional
)
860 --with-xml-exec-prefix=PFX Exec prefix where libxml is installed
(optional
)
861 --with-automount Include automount support
(default
=no
)
862 --with-smbmount Include smbmount
(Linux only
) support
(default
=no
)
863 --with-pam Include PAM support
(default
=no
)
864 --with-pam_smbpass Build a PAM module to allow other applications to use our smbpasswd
file (default
=no
)
865 --with-ldapsam Include LDAP SAM
2.2 compatible configuration
(default
=no
)
866 --with-tdbsam Include experimental TDB SAM support
(default
=no
)
867 --with-nisplussam Include NISPLUS SAM support
(default
=no
)
868 --with-nisplus-home Include NISPLUS_HOME support
(default
=no
)
869 --with-syslog Include experimental SYSLOG support
(default
=no
)
870 --with-profiling-data Include gathering
source code profile information
(default
=no
)
871 --with-quotas Include experimental disk-quota support
(default
=no
)
872 --with-utmp Include experimental utmp accounting
(default
=no
)
873 --with-manpages-langs={en
,ja
,pl
} Choose man pages
' language(s). (en)
874 --with-libsmbclient Build the libsmbclient shared library (default=yes if shared libs supported)
875 --with-spinlocks Use spin locks instead of fcntl locks (default=no)
876 --with-acl-support Include ACL support (default=no)
877 --with-sendfile-support Check for sendfile support (default=yes)
878 --with-winbind Build winbind (default, if supported by OS)
879 --with-included-popt use bundled popt library, not from system
880 --with-python=PYTHONNAME build Python libraries
882 Some influential environment variables:
883 CC C compiler command
884 CFLAGS C compiler flags
885 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
886 nonstandard directory <lib dir>
887 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
888 headers in a nonstandard directory <include dir>
891 Use these variables to override the choices made by `configure' or to
help
892 it to
find libraries and programs with nonstandard names
/locations.
897 if test "$ac_init_help" = "recursive"; then
898 # If there are subdirs, report their specific --help.
900 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
901 test -d $ac_dir ||
continue
904 if test "$ac_dir" != .
; then
905 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
906 # A "../" for each directory in $ac_dir_suffix.
907 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
909 ac_dir_suffix
= ac_top_builddir
=
913 .
) # No --srcdir option. We are building in place.
915 if test -z "$ac_top_builddir"; then
918 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
920 [\\/]* | ?
:[\\/]* ) # Absolute path.
921 ac_srcdir
=$srcdir$ac_dir_suffix;
922 ac_top_srcdir
=$srcdir ;;
924 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
925 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
927 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
929 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
930 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
931 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
932 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
935 # Check for guested configure; otherwise get Cygnus style configure.
936 if test -f $ac_srcdir/configure.gnu
; then
938 $SHELL $ac_srcdir/configure.gnu
--help=recursive
939 elif test -f $ac_srcdir/configure
; then
941 $SHELL $ac_srcdir/configure
--help=recursive
942 elif test -f $ac_srcdir/configure.ac ||
943 test -f $ac_srcdir/configure.
in; then
947 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
953 test -n "$ac_init_help" && exit 0
954 if $ac_init_version; then
957 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
958 Free Software Foundation
, Inc.
959 This configure
script is free software
; the Free Software Foundation
960 gives unlimited permission to copy
, distribute and modify it.
966 This file contains any messages produced by compilers while
967 running configure, to aid debugging if configure makes a mistake.
969 It was created by $as_me, which was
970 generated by GNU Autoconf 2.53. Invocation command line was
981 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
982 uname -m = `(uname -m) 2>/dev/null || echo unknown`
983 uname -r = `(uname -r) 2>/dev/null || echo unknown`
984 uname -s = `(uname -s) 2>/dev/null || echo unknown`
985 uname -v = `(uname -v) 2>/dev/null || echo unknown`
987 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
988 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
990 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
991 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
992 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
993 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
994 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
995 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
996 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1004 test -z "$as_dir" && as_dir
=.
1005 echo "PATH: $as_dir"
1020 # Keep a trace of the command line.
1021 # Strip out --no-create and --no-recursion so they do not pile up.
1022 # Also quote any args containing shell meta-characters.
1028 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1029 |
--no-cr |
--no-c |
-n ) continue ;;
1030 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1031 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1033 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1034 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1036 case " $ac_configure_args " in
1037 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1038 *) ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1041 # Get rid of the leading space.
1044 # When interrupted or exit'd, cleanup temporary files, and complete
1045 # config.log. We remove comments because anyway the quotes in there
1046 # would cause problems or look ugly.
1047 # WARNING: Be sure not to use single quotes in there, as some shells,
1048 # such as our DU 5.0 friend, will then `close' the trap.
1049 trap 'exit_status=$?
1050 # Save into config.log some information that might help in debugging.
1054 ## ---------------- ##
1055 ## Cache variables. ##
1056 ## ---------------- ##
1059 # The following way of writing the cache mishandles newlines in values,
1062 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1065 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1070 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1075 if test -s confdefs.h; then
1082 sed "/^$/d" confdefs.h
1085 test "$ac_signal" != 0 &&
1086 echo "$as_me: caught signal $ac_signal"
1087 echo "$as_me: exit $exit_status"
1089 rm -f core core.* *.core &&
1090 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1093 for ac_signal
in 1 2 13 15; do
1094 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1098 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1099 rm -rf conftest
* confdefs.h
1100 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1103 # Predefined preprocessor variables.
1105 cat >>confdefs.h
<<_ACEOF
1106 #define PACKAGE_NAME "$PACKAGE_NAME"
1110 cat >>confdefs.h
<<_ACEOF
1111 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1115 cat >>confdefs.h
<<_ACEOF
1116 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1120 cat >>confdefs.h
<<_ACEOF
1121 #define PACKAGE_STRING "$PACKAGE_STRING"
1125 cat >>confdefs.h
<<_ACEOF
1126 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1130 # Let the site file select an alternate cache file if it wants to.
1131 # Prefer explicitly selected file to automatically selected ones.
1132 if test -z "$CONFIG_SITE"; then
1133 if test "x$prefix" != xNONE
; then
1134 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1136 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1139 for ac_site_file
in $CONFIG_SITE; do
1140 if test -r "$ac_site_file"; then
1141 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1142 echo "$as_me: loading site script $ac_site_file" >&6;}
1143 sed 's/^/| /' "$ac_site_file" >&5
1148 if test -r "$cache_file"; then
1149 # Some versions of bash will fail to source /dev/null (special
1150 # files actually), so we avoid doing that.
1151 if test -f "$cache_file"; then
1152 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1153 echo "$as_me: loading cache $cache_file" >&6;}
1155 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1156 *) . .
/$cache_file;;
1160 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1161 echo "$as_me: creating cache $cache_file" >&6;}
1165 # Check that the precious variables saved in the cache have kept the same
1167 ac_cache_corrupted
=false
1168 for ac_var
in `(set) 2>&1 |
1169 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1170 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1171 eval ac_new_set
=\
$ac_env_${ac_var}_set
1172 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1173 eval ac_new_val
="\$ac_env_${ac_var}_value"
1174 case $ac_old_set,$ac_new_set in
1176 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1177 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1178 ac_cache_corrupted
=: ;;
1180 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1181 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1182 ac_cache_corrupted
=: ;;
1185 if test "x$ac_old_val" != "x$ac_new_val"; then
1186 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1187 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1188 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1189 echo "$as_me: former value: $ac_old_val" >&2;}
1190 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1191 echo "$as_me: current value: $ac_new_val" >&2;}
1192 ac_cache_corrupted
=:
1195 # Pass precious variables to config.status.
1196 if test "$ac_new_set" = set; then
1198 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1199 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1200 *) ac_arg
=$ac_var=$ac_new_val ;;
1202 case " $ac_configure_args " in
1203 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1204 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1208 if $ac_cache_corrupted; then
1209 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1210 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1211 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1212 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1213 { (exit 1); exit 1; }; }
1217 ac_cpp
='$CPP $CPPFLAGS'
1218 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1219 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1220 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1239 ac_config_headers
="$ac_config_headers include/config.h"
1242 #################################################
1243 # Directory handling stuff to support both the
1244 # legacy SAMBA directories and FHS compliant
1249 # Check whether --with-fhs or --without-fhs was given.
1250 if test "${with_fhs+set}" = set; then
1252 configdir
="${sysconfdir}/samba"
1253 lockdir
="\${VARDIR}/cache/samba"
1254 piddir
="\${VARDIR}/run/samba"
1255 logfilebase
="\${VARDIR}/log/samba"
1256 privatedir
="\${CONFIGDIR}/private"
1257 libdir
="\${prefix}/lib/samba"
1258 swatdir
="\${DATADIR}/samba/swat"
1260 configdir
="\${LIBDIR}"
1261 logfilebase
="\${VARDIR}"
1262 lockdir
="\${VARDIR}/locks"
1263 piddir
="\${VARDIR}/locks"
1264 privatedir
="\${prefix}/private"
1265 swatdir
="\${prefix}/swat"
1268 #################################################
1269 # set private directory location
1271 # Check whether --with-privatedir or --without-privatedir was given.
1272 if test "${with_privatedir+set}" = set; then
1273 withval
="$with_privatedir"
1277 # Just in case anybody calls it without argument
1279 { echo "$as_me:$LINENO: WARNING: --with-privatedir called without argument - will use default" >&5
1280 echo "$as_me: WARNING: --with-privatedir called without argument - will use default" >&2;}
1283 privatedir
="$withval"
1288 #################################################
1289 # set lock directory location
1291 # Check whether --with-lockdir or --without-lockdir was given.
1292 if test "${with_lockdir+set}" = set; then
1293 withval
="$with_lockdir"
1297 # Just in case anybody calls it without argument
1299 { echo "$as_me:$LINENO: WARNING: --with-lockdir called without argument - will use default" >&5
1300 echo "$as_me: WARNING: --with-lockdir called without argument - will use default" >&2;}
1308 #################################################
1309 # set pid directory location
1311 # Check whether --with-piddir or --without-piddir was given.
1312 if test "${with_piddir+set}" = set; then
1313 withval
="$with_piddir"
1317 # Just in case anybody calls it without argument
1319 { echo "$as_me:$LINENO: WARNING: --with-piddir called without argument - will use default" >&5
1320 echo "$as_me: WARNING: --with-piddir called without argument - will use default" >&2;}
1328 #################################################
1329 # set SWAT directory location
1331 # Check whether --with-swatdir or --without-swatdir was given.
1332 if test "${with_swatdir+set}" = set; then
1333 withval
="$with_swatdir"
1337 # Just in case anybody does it
1339 { echo "$as_me:$LINENO: WARNING: --with-swatdir called without argument - will use default" >&5
1340 echo "$as_me: WARNING: --with-swatdir called without argument - will use default" >&2;}
1348 #################################################
1349 # set configuration directory location
1351 # Check whether --with-configdir or --without-configdir was given.
1352 if test "${with_configdir+set}" = set; then
1353 withval
="$with_configdir"
1357 # Just in case anybody does it
1359 { echo "$as_me:$LINENO: WARNING: --with-configdir called without argument - will use default" >&5
1360 echo "$as_me: WARNING: --with-configdir called without argument - will use default" >&2;}
1363 configdir
="$withval"
1368 #################################################
1369 # set log directory location
1371 # Check whether --with-logfilebase or --without-logfilebase was given.
1372 if test "${with_logfilebase+set}" = set; then
1373 withval
="$with_logfilebase"
1377 # Just in case anybody does it
1379 { echo "$as_me:$LINENO: WARNING: --with-logfilebase called without argument - will use default" >&5
1380 echo "$as_me: WARNING: --with-logfilebase called without argument - will use default" >&2;}
1383 logfilebase
="$withval"
1418 # compile with optimization and without debugging by default
1419 CFLAGS
="-O ${CFLAGS}"
1421 # Check whether --enable-debug or --disable-debug was given.
1422 if test "${enable_debug+set}" = set; then
1423 enableval
="$enable_debug"
1424 if eval "test x$enable_debug = xyes"; then
1425 CFLAGS
="${CFLAGS} -g"
1429 # Check whether --enable-developer or --disable-developer was given.
1430 if test "${enable_developer+set}" = set; then
1431 enableval
="$enable_developer"
1432 if eval "test x$enable_developer = xyes"; then
1433 CFLAGS
="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER"
1437 # Check whether --enable-krb5developer or --disable-krb5developer was given.
1438 if test "${enable_krb5developer+set}" = set; then
1439 enableval
="$enable_krb5developer"
1440 if eval "test x$enable_krb5developer = xyes"; then
1441 CFLAGS
="${CFLAGS} -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER"
1445 # Check whether --enable-dmalloc or --disable-dmalloc was given.
1446 if test "${enable_dmalloc+set}" = set; then
1447 enableval
="$enable_dmalloc"
1451 if test "x$enable_dmalloc" = xyes
1454 cat >>confdefs.h
<<\_ACEOF
1455 #define ENABLE_DMALLOC 1
1459 cat >>confdefs.h
<<\_ACEOF
1460 #define DMALLOC_FUNC_CHECK 1
1463 LIBS
="$LIBS -ldmalloc"
1467 ac_cpp
='$CPP $CPPFLAGS'
1468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1471 if test -n "$ac_tool_prefix"; then
1472 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1473 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1474 echo "$as_me:$LINENO: checking for $ac_word" >&5
1475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1476 if test "${ac_cv_prog_CC+set}" = set; then
1477 echo $ECHO_N "(cached) $ECHO_C" >&6
1479 if test -n "$CC"; then
1480 ac_cv_prog_CC
="$CC" # Let the user override the test.
1482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1486 test -z "$as_dir" && as_dir
=.
1487 for ac_exec_ext
in '' $ac_executable_extensions; do
1488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1489 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1499 if test -n "$CC"; then
1500 echo "$as_me:$LINENO: result: $CC" >&5
1501 echo "${ECHO_T}$CC" >&6
1503 echo "$as_me:$LINENO: result: no" >&5
1504 echo "${ECHO_T}no" >&6
1508 if test -z "$ac_cv_prog_CC"; then
1510 # Extract the first word of "gcc", so it can be a program name with args.
1511 set dummy gcc
; ac_word
=$2
1512 echo "$as_me:$LINENO: checking for $ac_word" >&5
1513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1514 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1515 echo $ECHO_N "(cached) $ECHO_C" >&6
1517 if test -n "$ac_ct_CC"; then
1518 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1524 test -z "$as_dir" && as_dir
=.
1525 for ac_exec_ext
in '' $ac_executable_extensions; do
1526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1527 ac_cv_prog_ac_ct_CC
="gcc"
1528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1536 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1537 if test -n "$ac_ct_CC"; then
1538 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1539 echo "${ECHO_T}$ac_ct_CC" >&6
1541 echo "$as_me:$LINENO: result: no" >&5
1542 echo "${ECHO_T}no" >&6
1550 if test -z "$CC"; then
1551 if test -n "$ac_tool_prefix"; then
1552 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1553 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1554 echo "$as_me:$LINENO: checking for $ac_word" >&5
1555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1556 if test "${ac_cv_prog_CC+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 if test -n "$CC"; then
1560 ac_cv_prog_CC
="$CC" # Let the user override the test.
1562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1566 test -z "$as_dir" && as_dir
=.
1567 for ac_exec_ext
in '' $ac_executable_extensions; do
1568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1569 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1579 if test -n "$CC"; then
1580 echo "$as_me:$LINENO: result: $CC" >&5
1581 echo "${ECHO_T}$CC" >&6
1583 echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1588 if test -z "$ac_cv_prog_CC"; then
1590 # Extract the first word of "cc", so it can be a program name with args.
1591 set dummy cc
; ac_word
=$2
1592 echo "$as_me:$LINENO: checking for $ac_word" >&5
1593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1594 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 if test -n "$ac_ct_CC"; then
1598 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1604 test -z "$as_dir" && as_dir
=.
1605 for ac_exec_ext
in '' $ac_executable_extensions; do
1606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1607 ac_cv_prog_ac_ct_CC
="cc"
1608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1616 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1617 if test -n "$ac_ct_CC"; then
1618 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1619 echo "${ECHO_T}$ac_ct_CC" >&6
1621 echo "$as_me:$LINENO: result: no" >&5
1622 echo "${ECHO_T}no" >&6
1631 if test -z "$CC"; then
1632 # Extract the first word of "cc", so it can be a program name with args.
1633 set dummy cc
; ac_word
=$2
1634 echo "$as_me:$LINENO: checking for $ac_word" >&5
1635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1636 if test "${ac_cv_prog_CC+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1639 if test -n "$CC"; then
1640 ac_cv_prog_CC
="$CC" # Let the user override the test.
1643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1647 test -z "$as_dir" && as_dir
=.
1648 for ac_exec_ext
in '' $ac_executable_extensions; do
1649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1650 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1651 ac_prog_rejected
=yes
1655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1661 if test $ac_prog_rejected = yes; then
1662 # We found a bogon in the path, so make sure we never use it.
1663 set dummy
$ac_cv_prog_CC
1665 if test $# != 0; then
1666 # We chose a different compiler from the bogus one.
1667 # However, it has the same basename, so the bogon will be chosen
1668 # first if we set CC to just the basename; use the full file name.
1670 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1678 if test -n "$CC"; then
1679 echo "$as_me:$LINENO: result: $CC" >&5
1680 echo "${ECHO_T}$CC" >&6
1682 echo "$as_me:$LINENO: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1687 if test -z "$CC"; then
1688 if test -n "$ac_tool_prefix"; then
1691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1692 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1693 echo "$as_me:$LINENO: checking for $ac_word" >&5
1694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1695 if test "${ac_cv_prog_CC+set}" = set; then
1696 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 if test -n "$CC"; then
1699 ac_cv_prog_CC
="$CC" # Let the user override the test.
1701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir
=.
1706 for ac_exec_ext
in '' $ac_executable_extensions; do
1707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1708 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 if test -n "$CC"; then
1719 echo "$as_me:$LINENO: result: $CC" >&5
1720 echo "${ECHO_T}$CC" >&6
1722 echo "$as_me:$LINENO: result: no" >&5
1723 echo "${ECHO_T}no" >&6
1726 test -n "$CC" && break
1729 if test -z "$CC"; then
1733 # Extract the first word of "$ac_prog", so it can be a program name with args.
1734 set dummy
$ac_prog; ac_word
=$2
1735 echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 if test -n "$ac_ct_CC"; then
1741 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir
=.
1748 for ac_exec_ext
in '' $ac_executable_extensions; do
1749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750 ac_cv_prog_ac_ct_CC
="$ac_prog"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1759 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1760 if test -n "$ac_ct_CC"; then
1761 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1762 echo "${ECHO_T}$ac_ct_CC" >&6
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1768 test -n "$ac_ct_CC" && break
1777 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1778 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1779 { (exit 1); exit 1; }; }
1781 # Provide some information about the compiler.
1782 echo "$as_me:$LINENO:" \
1783 "checking for C compiler version" >&5
1784 ac_compiler
=`set X $ac_compile; echo $2`
1785 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1786 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1789 (exit $ac_status); }
1790 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1791 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1794 (exit $ac_status); }
1795 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1796 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1799 (exit $ac_status); }
1801 cat >conftest.
$ac_ext <<_ACEOF
1802 #line $LINENO "configure"
1803 #include "confdefs.h"
1805 #ifdef F77_DUMMY_MAIN
1809 int F77_DUMMY_MAIN() { return 1; }
1819 ac_clean_files_save
=$ac_clean_files
1820 ac_clean_files
="$ac_clean_files a.out a.exe"
1821 # Try to create an executable without -o first, disregard a.out.
1822 # It will help us diagnose broken compilers, and finding out an intuition
1824 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1825 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1826 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1827 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1828 (eval $ac_link_default) 2>&5
1830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1831 (exit $ac_status); }; then
1832 # Find the output, starting from the most likely. This scheme is
1833 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1836 # Be careful to initialize this variable, since it used to be cached.
1837 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1839 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1840 ls a.out conftest 2>/dev/null;
1841 ls a.* conftest.* 2>/dev/null`; do
1843 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM
) ;;
1844 a.out
) # We found the default executable, but exeext='' is most
1847 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1848 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1855 echo "$as_me: failed program was:" >&5
1856 cat conftest.
$ac_ext >&5
1857 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1858 echo "$as_me: error: C compiler cannot create executables" >&2;}
1859 { (exit 77); exit 77; }; }
1862 ac_exeext
=$ac_cv_exeext
1863 echo "$as_me:$LINENO: result: $ac_file" >&5
1864 echo "${ECHO_T}$ac_file" >&6
1866 # Check the compiler produces executables we can run. If not, either
1867 # the compiler is broken, or we cross compile.
1868 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1869 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1870 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1871 # If not cross compiling, check that we can run a simple program.
1872 if test "$cross_compiling" != yes; then
1873 if { ac_try
='./$ac_file'
1874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1878 (exit $ac_status); }; }; then
1881 if test "$cross_compiling" = maybe
; then
1884 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1885 If you meant to cross compile, use \`--host'." >&5
1886 echo "$as_me: error: cannot run C compiled programs.
1887 If you meant to cross compile, use \`--host'." >&2;}
1888 { (exit 1); exit 1; }; }
1892 echo "$as_me:$LINENO: result: yes" >&5
1893 echo "${ECHO_T}yes" >&6
1895 rm -f a.out a.exe conftest
$ac_cv_exeext
1896 ac_clean_files
=$ac_clean_files_save
1897 # Check the compiler produces executables we can run. If not, either
1898 # the compiler is broken, or we cross compile.
1899 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1900 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1901 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1902 echo "${ECHO_T}$cross_compiling" >&6
1904 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1905 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1907 (eval $ac_link) 2>&5
1909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1910 (exit $ac_status); }; then
1911 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1912 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1913 # work properly (i.e., refer to `conftest.exe'), while it won't with
1915 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1917 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1918 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1925 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1926 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1927 { (exit 1); exit 1; }; }
1930 rm -f conftest
$ac_cv_exeext
1931 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1932 echo "${ECHO_T}$ac_cv_exeext" >&6
1934 rm -f conftest.
$ac_ext
1935 EXEEXT
=$ac_cv_exeext
1937 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1938 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1939 if test "${ac_cv_objext+set}" = set; then
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
1942 cat >conftest.
$ac_ext <<_ACEOF
1943 #line $LINENO "configure"
1944 #include "confdefs.h"
1946 #ifdef F77_DUMMY_MAIN
1950 int F77_DUMMY_MAIN() { return 1; }
1960 rm -f conftest.o conftest.obj
1961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1962 (eval $ac_compile) 2>&5
1964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1965 (exit $ac_status); }; then
1966 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1968 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1969 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1974 echo "$as_me: failed program was:" >&5
1975 cat conftest.
$ac_ext >&5
1976 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1977 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1978 { (exit 1); exit 1; }; }
1981 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1983 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1984 echo "${ECHO_T}$ac_cv_objext" >&6
1985 OBJEXT
=$ac_cv_objext
1987 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1988 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1989 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 cat >conftest.
$ac_ext <<_ACEOF
1993 #line $LINENO "configure"
1994 #include "confdefs.h"
1996 #ifdef F77_DUMMY_MAIN
2000 int F77_DUMMY_MAIN() { return 1; }
2013 rm -f conftest.
$ac_objext
2014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2015 (eval $ac_compile) 2>&5
2017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2018 (exit $ac_status); } &&
2019 { ac_try
='test -s conftest.$ac_objext'
2020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024 (exit $ac_status); }; }; then
2027 echo "$as_me: failed program was:" >&5
2028 cat conftest.
$ac_ext >&5
2031 rm -f conftest.
$ac_objext conftest.
$ac_ext
2032 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2035 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2036 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2037 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2038 ac_test_CFLAGS
=${CFLAGS+set}
2039 ac_save_CFLAGS
=$CFLAGS
2041 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2042 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2043 if test "${ac_cv_prog_cc_g+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 cat >conftest.
$ac_ext <<_ACEOF
2047 #line $LINENO "configure"
2048 #include "confdefs.h"
2050 #ifdef F77_DUMMY_MAIN
2054 int F77_DUMMY_MAIN() { return 1; }
2064 rm -f conftest.
$ac_objext
2065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2066 (eval $ac_compile) 2>&5
2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069 (exit $ac_status); } &&
2070 { ac_try
='test -s conftest.$ac_objext'
2071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075 (exit $ac_status); }; }; then
2078 echo "$as_me: failed program was:" >&5
2079 cat conftest.
$ac_ext >&5
2082 rm -f conftest.
$ac_objext conftest.
$ac_ext
2084 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2085 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2086 if test "$ac_test_CFLAGS" = set; then
2087 CFLAGS
=$ac_save_CFLAGS
2088 elif test $ac_cv_prog_cc_g = yes; then
2089 if test "$GCC" = yes; then
2095 if test "$GCC" = yes; then
2101 # Some people use a C++ compiler to compile C. Since we use `exit',
2102 # in C++ we need to declare it. In case someone uses the same compiler
2103 # for both compiling C and C++ we need to have the C++ compiler decide
2104 # the declaration of exit, since it's the most demanding environment.
2105 cat >conftest.
$ac_ext <<_ACEOF
2110 rm -f conftest.
$ac_objext
2111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2112 (eval $ac_compile) 2>&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); } &&
2116 { ac_try
='test -s conftest.$ac_objext'
2117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); }; }; then
2122 for ac_declaration
in \
2124 '#include <stdlib.h>' \
2125 'extern "C" void std::exit (int) throw (); using std::exit;' \
2126 'extern "C" void std::exit (int); using std::exit;' \
2127 'extern "C" void exit (int) throw ();' \
2128 'extern "C" void exit (int);' \
2131 cat >conftest.
$ac_ext <<_ACEOF
2132 #line $LINENO "configure"
2133 #include "confdefs.h"
2136 #ifdef F77_DUMMY_MAIN
2140 int F77_DUMMY_MAIN() { return 1; }
2150 rm -f conftest.
$ac_objext
2151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2152 (eval $ac_compile) 2>&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); } &&
2156 { ac_try
='test -s conftest.$ac_objext'
2157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; }; then
2164 echo "$as_me: failed program was:" >&5
2165 cat conftest.
$ac_ext >&5
2168 rm -f conftest.
$ac_objext conftest.
$ac_ext
2169 cat >conftest.
$ac_ext <<_ACEOF
2170 #line $LINENO "configure"
2171 #include "confdefs.h"
2173 #ifdef F77_DUMMY_MAIN
2177 int F77_DUMMY_MAIN() { return 1; }
2187 rm -f conftest.
$ac_objext
2188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2189 (eval $ac_compile) 2>&5
2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192 (exit $ac_status); } &&
2193 { ac_try
='test -s conftest.$ac_objext'
2194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }; }; then
2201 echo "$as_me: failed program was:" >&5
2202 cat conftest.
$ac_ext >&5
2204 rm -f conftest.
$ac_objext conftest.
$ac_ext
2207 if test -n "$ac_declaration"; then
2208 echo '#ifdef __cplusplus' >>confdefs.h
2209 echo $ac_declaration >>confdefs.h
2210 echo '#endif' >>confdefs.h
2214 echo "$as_me: failed program was:" >&5
2215 cat conftest.
$ac_ext >&5
2217 rm -f conftest.
$ac_objext conftest.
$ac_ext
2219 ac_cpp
='$CPP $CPPFLAGS'
2220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2225 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2226 if test -f $ac_dir/install-sh
; then
2228 ac_install_sh
="$ac_aux_dir/install-sh -c"
2230 elif test -f $ac_dir/install.sh
; then
2232 ac_install_sh
="$ac_aux_dir/install.sh -c"
2234 elif test -f $ac_dir/shtool
; then
2236 ac_install_sh
="$ac_aux_dir/shtool install -c"
2240 if test -z "$ac_aux_dir"; then
2241 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2242 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2243 { (exit 1); exit 1; }; }
2245 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2246 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2247 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2249 # Find a good install program. We prefer a C program (faster),
2250 # so one script is as good as another. But avoid the broken or
2251 # incompatible versions:
2252 # SysV /etc/install, /usr/sbin/install
2253 # SunOS /usr/etc/install
2254 # IRIX /sbin/install
2256 # AmigaOS /C/install, which installs bootblocks on floppy discs
2257 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2258 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2259 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2260 # ./install, which can be erroneously created by make from ./install.sh.
2261 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2262 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2263 if test -z "$INSTALL"; then
2264 if test "${ac_cv_path_install+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir
=.
2272 # Account for people who put trailing slashes in PATH elements.
2274 .
/ | .
// |
/cC
/* | \
2275 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2278 # OSF1 and SCO ODT 3.0 have their own names for install.
2279 # Don't use installbsd from OSF since it installs stuff as root
2281 for ac_prog
in ginstall scoinst
install; do
2282 for ac_exec_ext
in '' $ac_executable_extensions; do
2283 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2284 if test $ac_prog = install &&
2285 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2286 # AIX install. It has an incompatible calling convention.
2288 elif test $ac_prog = install &&
2289 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2290 # program-specific install script used by HP pwplus--don't use.
2293 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2305 if test "${ac_cv_path_install+set}" = set; then
2306 INSTALL
=$ac_cv_path_install
2308 # As a last resort, use the slow shell script. We don't cache a
2309 # path for INSTALL within a source directory, because that will
2310 # break other packages using the cache if that directory is
2311 # removed, or if the path is relative.
2312 INSTALL
=$ac_install_sh
2315 echo "$as_me:$LINENO: result: $INSTALL" >&5
2316 echo "${ECHO_T}$INSTALL" >&6
2318 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2319 # It thinks the first close brace ends the variable substitution.
2320 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2322 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2324 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2326 for ac_prog
in gawk mawk nawk
awk
2328 # Extract the first word of "$ac_prog", so it can be a program name with args.
2329 set dummy
$ac_prog; ac_word
=$2
2330 echo "$as_me:$LINENO: checking for $ac_word" >&5
2331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2332 if test "${ac_cv_prog_AWK+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 if test -n "$AWK"; then
2336 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2342 test -z "$as_dir" && as_dir
=.
2343 for ac_exec_ext
in '' $ac_executable_extensions; do
2344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2345 ac_cv_prog_AWK
="$ac_prog"
2346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2355 if test -n "$AWK"; then
2356 echo "$as_me:$LINENO: result: $AWK" >&5
2357 echo "${ECHO_T}$AWK" >&6
2359 echo "$as_me:$LINENO: result: no" >&5
2360 echo "${ECHO_T}no" >&6
2363 test -n "$AWK" && break
2368 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
2369 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
2370 if test "${ac_cv_prog_gnu_ld+set}" = set; then
2371 echo $ECHO_N "(cached) $ECHO_C" >&6
2373 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
2374 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
2375 ac_cv_prog_gnu_ld
=yes
2377 ac_cv_prog_gnu_ld
=no
2380 echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_ld" >&5
2381 echo "${ECHO_T}$ac_cv_prog_gnu_ld" >&6
2385 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2386 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2387 if test "${ac_cv_search_strerror+set}" = set; then
2388 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 ac_func_search_save_LIBS
=$LIBS
2391 ac_cv_search_strerror
=no
2392 cat >conftest.
$ac_ext <<_ACEOF
2393 #line $LINENO "configure"
2394 #include "confdefs.h"
2396 /* Override any gcc2 internal prototype to avoid an error. */
2400 /* We use char because int might match the return type of a gcc2
2401 builtin and then its argument prototype would still apply. */
2403 #ifdef F77_DUMMY_MAIN
2407 int F77_DUMMY_MAIN() { return 1; }
2417 rm -f conftest.
$ac_objext conftest
$ac_exeext
2418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2419 (eval $ac_link) 2>&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); } &&
2423 { ac_try
='test -s conftest$ac_exeext'
2424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; }; then
2429 ac_cv_search_strerror
="none required"
2431 echo "$as_me: failed program was:" >&5
2432 cat conftest.
$ac_ext >&5
2434 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2435 if test "$ac_cv_search_strerror" = no
; then
2436 for ac_lib
in cposix
; do
2437 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2438 cat >conftest.
$ac_ext <<_ACEOF
2439 #line $LINENO "configure"
2440 #include "confdefs.h"
2442 /* Override any gcc2 internal prototype to avoid an error. */
2446 /* We use char because int might match the return type of a gcc2
2447 builtin and then its argument prototype would still apply. */
2449 #ifdef F77_DUMMY_MAIN
2453 int F77_DUMMY_MAIN() { return 1; }
2463 rm -f conftest.
$ac_objext conftest
$ac_exeext
2464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2465 (eval $ac_link) 2>&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); } &&
2469 { ac_try
='test -s conftest$ac_exeext'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; }; then
2475 ac_cv_search_strerror
="-l$ac_lib"
2478 echo "$as_me: failed program was:" >&5
2479 cat conftest.
$ac_ext >&5
2481 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2484 LIBS
=$ac_func_search_save_LIBS
2486 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2487 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2488 if test "$ac_cv_search_strerror" != no
; then
2489 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2496 if test "x$CC" != xcc
; then
2497 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
2498 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
2500 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
2501 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
2503 set dummy
$CC; ac_cc
=`echo $2 |
2504 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
2505 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 cat >conftest.
$ac_ext <<_ACEOF
2509 #line $LINENO "configure"
2510 #include "confdefs.h"
2512 #ifdef F77_DUMMY_MAIN
2516 int F77_DUMMY_MAIN() { return 1; }
2526 # Make sure it works both with $CC and with simple cc.
2527 # We do the test twice because some compilers refuse to overwrite an
2528 # existing .o file with -o, though they will create one.
2529 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
2530 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); } &&
2535 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); };
2541 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
2542 if test "x$CC" != xcc
; then
2543 # Test first that cc exists at all.
2544 if { ac_try
='cc -c conftest.$ac_ext >&5'
2545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; }; then
2550 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
2551 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); } &&
2556 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); };
2565 # cc exists but doesn't like -o.
2566 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
2571 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
2576 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
2577 echo "$as_me:$LINENO: result: yes" >&5
2578 echo "${ECHO_T}yes" >&6
2580 echo "$as_me:$LINENO: result: no" >&5
2581 echo "${ECHO_T}no" >&6
2583 cat >>confdefs.h
<<\_ACEOF
2584 #define NO_MINUS_C_MINUS_O 1
2589 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = no"; then
2596 echo "$as_me:$LINENO: checking that the C compiler understands volatile" >&5
2597 echo $ECHO_N "checking that the C compiler understands volatile... $ECHO_C" >&6
2598 if test "${samba_cv_volatile+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2602 cat >conftest.
$ac_ext <<_ACEOF
2603 #line $LINENO "configure"
2604 #include "confdefs.h"
2605 #include <sys/types.h>
2606 #ifdef F77_DUMMY_MAIN
2610 int F77_DUMMY_MAIN() { return 1; }
2620 rm -f conftest.
$ac_objext
2621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2622 (eval $ac_compile) 2>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); } &&
2626 { ac_try
='test -s conftest.$ac_objext'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; }; then
2632 samba_cv_volatile
=yes
2634 echo "$as_me: failed program was:" >&5
2635 cat conftest.
$ac_ext >&5
2636 samba_cv_volatile
=no
2638 rm -f conftest.
$ac_objext conftest.
$ac_ext
2640 echo "$as_me:$LINENO: result: $samba_cv_volatile" >&5
2641 echo "${ECHO_T}$samba_cv_volatile" >&6
2642 if test x
"$samba_cv_volatile" = x
"yes"; then
2644 cat >>confdefs.h
<<\_ACEOF
2645 #define HAVE_VOLATILE 1
2651 # Make sure we can run config.sub.
2652 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2653 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2654 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2655 { (exit 1); exit 1; }; }
2657 echo "$as_me:$LINENO: checking build system type" >&5
2658 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2659 if test "${ac_cv_build+set}" = set; then
2660 echo $ECHO_N "(cached) $ECHO_C" >&6
2662 ac_cv_build_alias
=$build_alias
2663 test -z "$ac_cv_build_alias" &&
2664 ac_cv_build_alias
=`$ac_config_guess`
2665 test -z "$ac_cv_build_alias" &&
2666 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2667 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2668 { (exit 1); exit 1; }; }
2669 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2670 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2671 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2672 { (exit 1); exit 1; }; }
2675 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2676 echo "${ECHO_T}$ac_cv_build" >&6
2678 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2679 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2680 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2683 echo "$as_me:$LINENO: checking host system type" >&5
2684 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2685 if test "${ac_cv_host+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 ac_cv_host_alias
=$host_alias
2689 test -z "$ac_cv_host_alias" &&
2690 ac_cv_host_alias
=$ac_cv_build_alias
2691 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2692 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2693 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2694 { (exit 1); exit 1; }; }
2697 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2698 echo "${ECHO_T}$ac_cv_host" >&6
2700 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2701 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2702 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2705 echo "$as_me:$LINENO: checking target system type" >&5
2706 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2707 if test "${ac_cv_target+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 ac_cv_target_alias
=$target_alias
2711 test "x$ac_cv_target_alias" = "x" &&
2712 ac_cv_target_alias
=$ac_cv_host_alias
2713 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2714 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2715 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2716 { (exit 1); exit 1; }; }
2719 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2720 echo "${ECHO_T}$ac_cv_target" >&6
2721 target
=$ac_cv_target
2722 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2723 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2724 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2727 # The aliases save the names the user supplied, while $host etc.
2728 # will get canonicalized.
2729 test -n "$target_alias" &&
2730 test "$program_prefix$program_suffix$program_transform_name" = \
2732 program_prefix
=${target_alias}-
2735 *irix6
*) cat >> confdefs.h
<<\EOF
2736 #include <standards.h>
2744 echo "$as_me:$LINENO: checking config.cache system type" >&5
2745 echo $ECHO_N "checking config.cache system type... $ECHO_C" >&6
2746 if { test x
"${ac_cv_host_system_type+set}" = x
"set" &&
2747 test x
"$ac_cv_host_system_type" != x
"$host"; } ||
2748 { test x
"${ac_cv_build_system_type+set}" = x
"set" &&
2749 test x
"$ac_cv_build_system_type" != x
"$build"; } ||
2750 { test x
"${ac_cv_target_system_type+set}" = x
"set" &&
2751 test x
"$ac_cv_target_system_type" != x
"$target"; }; then
2752 echo "$as_me:$LINENO: result: different" >&5
2753 echo "${ECHO_T}different" >&6
2754 { { echo "$as_me:$LINENO: error: \"you must remove config.cache and restart configure\"" >&5
2755 echo "$as_me: error: \"you must remove config.cache and restart configure\"" >&2;}
2756 { (exit 1); exit 1; }; }
2758 echo "$as_me:$LINENO: result: same" >&5
2759 echo "${ECHO_T}same" >&6
2761 ac_cv_host_system_type
="$host"
2762 ac_cv_build_system_type
="$build"
2763 ac_cv_target_system_type
="$target"
2769 # Config CPPFLAG settings for strange OS's that must be set
2770 # before other tests.
2773 # Try to work out if this is the native HPUX compiler that uses the -Ae flag.
2776 echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Ae" >&5
2777 echo $ECHO_N "checking whether ${CC-cc} accepts -Ae... $ECHO_C" >&6
2778 if test "${ac_cv_prog_cc_Ae+set}" = set; then
2779 echo $ECHO_N "(cached) $ECHO_C" >&6
2781 echo 'void f(){}' > conftest.c
2782 if test -z "`${CC-cc} -Ae -c conftest.c 2>&1`"; then
2783 ac_cv_prog_cc_Ae
=yes
2790 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_Ae" >&5
2791 echo "${ECHO_T}$ac_cv_prog_cc_Ae" >&6
2792 # mmap on HPUX is completely broken...
2794 cat >>confdefs.h
<<\_ACEOF
2795 #define MMAP_BLACKLIST 1
2798 if test $ac_cv_prog_cc_Ae = yes; then
2799 CPPFLAGS
="$CPPFLAGS -Ae"
2802 # Defines needed for HPUX support.
2803 # HPUX has bigcrypt but (sometimes?) doesn't use it for
2804 # password hashing - hence the USE_BOTH_CRYPT_CALLS define.
2808 CPPFLAGS
="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4"
2810 cat >>confdefs.h
<<\_ACEOF
2811 #define USE_BOTH_CRYPT_CALLS 1
2815 cat >>confdefs.h
<<\_ACEOF
2816 #define _HPUX_SOURCE 1
2820 cat >>confdefs.h
<<\_ACEOF
2821 #define _POSIX_SOURCE 1
2825 cat >>confdefs.h
<<\_ACEOF
2826 #define _ALIGNMENT_REQUIRED 1
2830 cat >>confdefs.h
<<\_ACEOF
2831 #define _MAX_ALIGNMENT 4
2836 CPPFLAGS
="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4"
2838 cat >>confdefs.h
<<\_ACEOF
2839 #define USE_BOTH_CRYPT_CALLS 1
2843 cat >>confdefs.h
<<\_ACEOF
2844 #define _HPUX_SOURCE 1
2848 cat >>confdefs.h
<<\_ACEOF
2849 #define _POSIX_SOURCE 1
2853 cat >>confdefs.h
<<\_ACEOF
2854 #define _LARGEFILE64_SOURCE 1
2858 cat >>confdefs.h
<<\_ACEOF
2859 #define _ALIGNMENT_REQUIRED 1
2863 cat >>confdefs.h
<<\_ACEOF
2864 #define _MAX_ALIGNMENT 4
2873 # CRAY Unicos has broken const handling
2875 echo "$as_me:$LINENO: result: disabling const" >&5
2876 echo "${ECHO_T}disabling const" >&6
2877 CPPFLAGS
="$CPPFLAGS -Dconst="
2881 # AIX4.x doesn't even admit to having large
2882 # files *at all* unless the -D_LARGE_FILE or -D_LARGE_FILE_API flags are set.
2885 echo "$as_me:$LINENO: result: enabling large file support" >&5
2886 echo "${ECHO_T}enabling large file support" >&6
2887 CPPFLAGS
="$CPPFLAGS -D_LARGE_FILES"
2889 cat >>confdefs.h
<<\_ACEOF
2890 #define _LARGE_FILES 1
2895 # Defines needed for Solaris 2.6/2.7 aka 7.0 to make it admit
2896 # to the existance of large files..
2897 # Note that -D_LARGEFILE64_SOURCE is different from the Sun
2898 # recommendations on large file support, however it makes the
2899 # compile work using gcc 2.7 and 2.8, whereas using the Sun
2900 # recommendation makes the compile fail on gcc2.7. JRA.
2904 5.0*|
5.1*|
5.2*|
5.3*|
5.5*)
2905 echo "$as_me:$LINENO: result: no large file support" >&5
2906 echo "${ECHO_T}no large file support" >&6
2909 echo "$as_me:$LINENO: result: enabling large file support" >&5
2910 echo "${ECHO_T}enabling large file support" >&6
2911 if test "$ac_cv_c_compiler_gnu" = yes; then
2912 ${CC-cc} -v >conftest.c
2>&1
2913 ac_cv_gcc_compiler_version_number
=`grep 'gcc version' conftest.c`
2915 case "$ac_cv_gcc_compiler_version_number" in
2916 *"gcc version 2.6"*|
*"gcc version 2.7"*)
2917 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
2919 cat >>confdefs.h
<<\_ACEOF
2920 #define _LARGEFILE64_SOURCE 1
2925 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
2927 cat >>confdefs.h
<<\_ACEOF
2928 #define _LARGEFILE64_SOURCE 1
2932 cat >>confdefs.h
<<\_ACEOF
2933 #define _FILE_OFFSET_BITS 64
2939 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
2941 cat >>confdefs.h
<<\_ACEOF
2942 #define _LARGEFILE64_SOURCE 1
2946 cat >>confdefs.h
<<\_ACEOF
2947 #define _FILE_OFFSET_BITS 64
2955 # VOS may need to have POSIX support and System V compatibility enabled.
2959 *-D_POSIX_C_SOURCE*)
2962 CPPFLAGS
="$CPPFLAGS -D_POSIX_C_SOURCE=199506L"
2964 cat >>confdefs.h
<<\_ACEOF
2965 #define _POSIX_C_SOURCE 199506L
2971 *-D_SYSV*|
*-D_SVID_SOURCE*)
2974 CPPFLAGS
="$CPPFLAGS -D_SYSV"
2976 cat >>confdefs.h
<<\_ACEOF
2983 # Tests needed for SINIX large file support.
2986 if test $host = mips-sni-sysv4
; then
2987 echo "$as_me:$LINENO: checking for LFS support" >&5
2988 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
2989 old_CPPFLAGS
="$CPPFLAGS"
2990 CPPFLAGS
="-D_LARGEFILE64_SOURCE $CPPFLAGS"
2991 if test "$cross_compiling" = yes; then
2992 SINIX_LFS_SUPPORT
=cross
2994 cat >conftest.
$ac_ext <<_ACEOF
2995 #line $LINENO "configure"
2996 #include "confdefs.h"
3000 #if _LFS64_LARGEFILE == 1
3007 rm -f conftest
$ac_exeext
3008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3009 (eval $ac_link) 2>&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }; }; then
3018 SINIX_LFS_SUPPORT
=yes
3020 echo "$as_me: program exited with status $ac_status" >&5
3021 echo "$as_me: failed program was:" >&5
3022 cat conftest.
$ac_ext >&5
3024 SINIX_LFS_SUPPORT
=no
3026 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3028 CPPFLAGS
="$old_CPPFLAGS"
3029 if test x
$SINIX_LFS_SUPPORT = xyes
; then
3030 CPPFLAGS
="-D_LARGEFILE64_SOURCE $CPPFLAGS"
3032 cat >>confdefs.h
<<\_ACEOF
3033 #define _LARGEFILE64_SOURCE 1
3036 CFLAGS
="`getconf LFS64_CFLAGS` $CFLAGS"
3037 LDFLAGS
="`getconf LFS64_LDFLAGS` $LDFLAGS"
3038 LIBS
="`getconf LFS64_LIBS` $LIBS"
3040 echo "$as_me:$LINENO: result: $SINIX_LFS_SUPPORT" >&5
3041 echo "${ECHO_T}$SINIX_LFS_SUPPORT" >&6
3045 # Tests for linux LFS support. Need kernel 2.4 and glibc2.2 or greater support.
3048 echo "$as_me:$LINENO: checking for LFS support" >&5
3049 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
3050 old_CPPFLAGS
="$CPPFLAGS"
3051 CPPFLAGS
="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS"
3052 if test "$cross_compiling" = yes; then
3053 LINUX_LFS_SUPPORT
=cross
3055 cat >conftest.
$ac_ext <<_ACEOF
3056 #line $LINENO "configure"
3057 #include "confdefs.h"
3060 #include <sys/utsname.h>
3062 #if _LFS64_LARGEFILE == 1
3067 /* Ensure this is glibc 2.2 or higher */
3068 #if defined(__GLIBC__) && defined(__GLIBC_MINOR__)
3069 int libc_major = __GLIBC__;
3070 int libc_minor = __GLIBC_MINOR__;
3078 /* Ensure this is kernel 2.4 or higher */
3081 release = uts.release;
3082 major = atoi(strsep(&release, "."));
3083 minor = atoi(strsep(&release, "."));
3085 if (major > 2 || (major == 2 && minor > 3))
3094 rm -f conftest
$ac_exeext
3095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3096 (eval $ac_link) 2>&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }; }; then
3105 LINUX_LFS_SUPPORT
=yes
3107 echo "$as_me: program exited with status $ac_status" >&5
3108 echo "$as_me: failed program was:" >&5
3109 cat conftest.
$ac_ext >&5
3111 LINUX_LFS_SUPPORT
=no
3113 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3115 CPPFLAGS
="$old_CPPFLAGS"
3116 if test x
$LINUX_LFS_SUPPORT = xyes
; then
3117 CPPFLAGS
="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS"
3119 cat >>confdefs.h
<<\_ACEOF
3120 #define _LARGEFILE64_SOURCE 1
3124 cat >>confdefs.h
<<\_ACEOF
3125 #define _FILE_OFFSET_BITS 64
3129 cat >>confdefs.h
<<\_ACEOF
3130 #define _GNU_SOURCE 1
3134 echo "$as_me:$LINENO: result: $LINUX_LFS_SUPPORT" >&5
3135 echo "${ECHO_T}$LINUX_LFS_SUPPORT" >&6
3139 echo "$as_me:$LINENO: checking for LFS support" >&5
3140 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
3141 old_CPPFLAGS
="$CPPFLAGS"
3142 CPPFLAGS
="-D_LARGEFILE64_SOURCE -D_GNU_SOURCE $CPPFLAGS"
3143 if test "$cross_compiling" = yes; then
3144 GLIBC_LFS_SUPPORT
=cross
3146 cat >conftest.
$ac_ext <<_ACEOF
3147 #line $LINENO "configure"
3148 #include "confdefs.h"
3152 #if _LFS64_LARGEFILE == 1
3159 rm -f conftest
$ac_exeext
3160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3161 (eval $ac_link) 2>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; }; then
3170 GLIBC_LFS_SUPPORT
=yes
3172 echo "$as_me: program exited with status $ac_status" >&5
3173 echo "$as_me: failed program was:" >&5
3174 cat conftest.
$ac_ext >&5
3176 GLIBC_LFS_SUPPORT
=no
3178 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3180 CPPFLAGS
="$old_CPPFLAGS"
3181 if test x
$GLIBC_LFS_SUPPORT = xyes
; then
3182 CPPFLAGS
="-D_LARGEFILE64_SOURCE -D_GNU_SOURCE $CPPFLAGS"
3184 cat >>confdefs.h
<<\_ACEOF
3185 #define _LARGEFILE64_SOURCE 1
3189 cat >>confdefs.h
<<\_ACEOF
3190 #define _GNU_SOURCE 1
3194 echo "$as_me:$LINENO: result: $GLIBC_LFS_SUPPORT" >&5
3195 echo "${ECHO_T}$GLIBC_LFS_SUPPORT" >&6
3200 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3201 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3202 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3203 echo $ECHO_N "(cached) $ECHO_C" >&6
3205 ac_cv_prog_cc_stdc
=no
3207 cat >conftest.
$ac_ext <<_ACEOF
3208 #line $LINENO "configure"
3209 #include "confdefs.h"
3212 #include <sys/types.h>
3213 #include <sys/stat.h>
3214 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3215 struct buf { int x; };
3216 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3217 static char *e (p, i)
3223 static char *f (char * (*g) (char **, int), char **p, ...)
3228 s = g (p, va_arg (v,int));
3232 int test (int i, double x);
3233 struct s1 {int (*f) (int a);};
3234 struct s2 {int (*f) (double a);};
3235 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3238 #ifdef F77_DUMMY_MAIN
3242 int F77_DUMMY_MAIN() { return 1; }
3247 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3252 # Don't try gcc -ansi; that turns off useful extensions and
3253 # breaks some systems' header files.
3254 # AIX -qlanglvl=ansi
3255 # Ultrix and OSF/1 -std1
3256 # HP-UX 10.20 and later -Ae
3257 # HP-UX older versions -Aa -D_HPUX_SOURCE
3258 # SVR4 -Xc -D__EXTENSIONS__
3259 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3261 CC
="$ac_save_CC $ac_arg"
3262 rm -f conftest.
$ac_objext
3263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3264 (eval $ac_compile) 2>&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); } &&
3268 { ac_try
='test -s conftest.$ac_objext'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; }; then
3274 ac_cv_prog_cc_stdc
=$ac_arg
3277 echo "$as_me: failed program was:" >&5
3278 cat conftest.
$ac_ext >&5
3280 rm -f conftest.
$ac_objext
3282 rm -f conftest.
$ac_ext conftest.
$ac_objext
3287 case "x$ac_cv_prog_cc_stdc" in
3289 echo "$as_me:$LINENO: result: none needed" >&5
3290 echo "${ECHO_T}none needed" >&6 ;;
3292 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3294 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3297 echo "$as_me:$LINENO: checking for inline" >&5
3298 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3299 if test "${ac_cv_c_inline+set}" = set; then
3300 echo $ECHO_N "(cached) $ECHO_C" >&6
3303 for ac_kw
in inline __inline__ __inline
; do
3304 cat >conftest.
$ac_ext <<_ACEOF
3305 #line $LINENO "configure"
3306 #include "confdefs.h"
3308 static $ac_kw int static_foo () {return 0; }
3309 $ac_kw int foo () {return 0; }
3313 rm -f conftest.
$ac_objext
3314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3315 (eval $ac_compile) 2>&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); } &&
3319 { ac_try
='test -s conftest.$ac_objext'
3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; }; then
3325 ac_cv_c_inline
=$ac_kw; break
3327 echo "$as_me: failed program was:" >&5
3328 cat conftest.
$ac_ext >&5
3330 rm -f conftest.
$ac_objext conftest.
$ac_ext
3334 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3335 echo "${ECHO_T}$ac_cv_c_inline" >&6
3336 case $ac_cv_c_inline in
3339 cat >>confdefs.h
<<\_ACEOF
3343 *) cat >>confdefs.h
<<_ACEOF
3344 #define inline $ac_cv_c_inline
3350 ac_cpp
='$CPP $CPPFLAGS'
3351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3354 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3355 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3356 # On Suns, sometimes $CPP names a directory.
3357 if test -n "$CPP" && test -d "$CPP"; then
3360 if test -z "$CPP"; then
3361 if test "${ac_cv_prog_CPP+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3364 # Double quotes because CPP needs to be expanded
3365 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3368 for ac_c_preproc_warn_flag
in '' yes
3370 # Use a header file that comes with gcc, so configuring glibc
3371 # with a fresh cross-compiler works.
3372 # On the NeXT, cc -E runs the code through the compiler's parser,
3373 # not just through cpp. "Syntax error" is here to catch this case.
3374 cat >conftest.
$ac_ext <<_ACEOF
3375 #line $LINENO "configure"
3376 #include "confdefs.h"
3380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3381 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3383 egrep -v '^ *\+' conftest.er1
>conftest.err
3385 cat conftest.err
>&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); } >/dev
/null
; then
3388 if test -s conftest.err
; then
3389 ac_cpp_err
=$ac_c_preproc_warn_flag
3396 if test -z "$ac_cpp_err"; then
3399 echo "$as_me: failed program was:" >&5
3400 cat conftest.
$ac_ext >&5
3401 # Broken: fails on valid input.
3404 rm -f conftest.err conftest.
$ac_ext
3406 # OK, works on sane cases. Now check whether non-existent headers
3407 # can be detected and how.
3408 cat >conftest.
$ac_ext <<_ACEOF
3409 #line $LINENO "configure"
3410 #include "confdefs.h"
3411 #include <ac_nonexistent.h>
3413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3414 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3416 egrep -v '^ *\+' conftest.er1
>conftest.err
3418 cat conftest.err
>&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); } >/dev
/null
; then
3421 if test -s conftest.err
; then
3422 ac_cpp_err
=$ac_c_preproc_warn_flag
3429 if test -z "$ac_cpp_err"; then
3430 # Broken: success on invalid input.
3433 echo "$as_me: failed program was:" >&5
3434 cat conftest.
$ac_ext >&5
3435 # Passes both tests.
3439 rm -f conftest.err conftest.
$ac_ext
3442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3443 rm -f conftest.err conftest.
$ac_ext
3444 if $ac_preproc_ok; then
3456 echo "$as_me:$LINENO: result: $CPP" >&5
3457 echo "${ECHO_T}$CPP" >&6
3459 for ac_c_preproc_warn_flag
in '' yes
3461 # Use a header file that comes with gcc, so configuring glibc
3462 # with a fresh cross-compiler works.
3463 # On the NeXT, cc -E runs the code through the compiler's parser,
3464 # not just through cpp. "Syntax error" is here to catch this case.
3465 cat >conftest.
$ac_ext <<_ACEOF
3466 #line $LINENO "configure"
3467 #include "confdefs.h"
3471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3472 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3474 egrep -v '^ *\+' conftest.er1
>conftest.err
3476 cat conftest.err
>&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); } >/dev
/null
; then
3479 if test -s conftest.err
; then
3480 ac_cpp_err
=$ac_c_preproc_warn_flag
3487 if test -z "$ac_cpp_err"; then
3490 echo "$as_me: failed program was:" >&5
3491 cat conftest.
$ac_ext >&5
3492 # Broken: fails on valid input.
3495 rm -f conftest.err conftest.
$ac_ext
3497 # OK, works on sane cases. Now check whether non-existent headers
3498 # can be detected and how.
3499 cat >conftest.
$ac_ext <<_ACEOF
3500 #line $LINENO "configure"
3501 #include "confdefs.h"
3502 #include <ac_nonexistent.h>
3504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3505 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3507 egrep -v '^ *\+' conftest.er1
>conftest.err
3509 cat conftest.err
>&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } >/dev
/null
; then
3512 if test -s conftest.err
; then
3513 ac_cpp_err
=$ac_c_preproc_warn_flag
3520 if test -z "$ac_cpp_err"; then
3521 # Broken: success on invalid input.
3524 echo "$as_me: failed program was:" >&5
3525 cat conftest.
$ac_ext >&5
3526 # Passes both tests.
3530 rm -f conftest.err conftest.
$ac_ext
3533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3534 rm -f conftest.err conftest.
$ac_ext
3535 if $ac_preproc_ok; then
3538 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3539 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3540 { (exit 1); exit 1; }; }
3544 ac_cpp
='$CPP $CPPFLAGS'
3545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3550 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3551 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3552 if test "${ac_cv_header_stdc+set}" = set; then
3553 echo $ECHO_N "(cached) $ECHO_C" >&6
3555 cat >conftest.
$ac_ext <<_ACEOF
3556 #line $LINENO "configure"
3557 #include "confdefs.h"
3564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3565 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3567 egrep -v '^ *\+' conftest.er1
>conftest.err
3569 cat conftest.err
>&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); } >/dev
/null
; then
3572 if test -s conftest.err
; then
3573 ac_cpp_err
=$ac_c_preproc_warn_flag
3580 if test -z "$ac_cpp_err"; then
3581 ac_cv_header_stdc
=yes
3583 echo "$as_me: failed program was:" >&5
3584 cat conftest.
$ac_ext >&5
3585 ac_cv_header_stdc
=no
3587 rm -f conftest.err conftest.
$ac_ext
3589 if test $ac_cv_header_stdc = yes; then
3590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3591 cat >conftest.
$ac_ext <<_ACEOF
3592 #line $LINENO "configure"
3593 #include "confdefs.h"
3597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3598 egrep "memchr" >/dev
/null
2>&1; then
3601 ac_cv_header_stdc
=no
3607 if test $ac_cv_header_stdc = yes; then
3608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3609 cat >conftest.
$ac_ext <<_ACEOF
3610 #line $LINENO "configure"
3611 #include "confdefs.h"
3615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3616 egrep "free" >/dev
/null
2>&1; then
3619 ac_cv_header_stdc
=no
3625 if test $ac_cv_header_stdc = yes; then
3626 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3627 if test "$cross_compiling" = yes; then
3630 cat >conftest.
$ac_ext <<_ACEOF
3631 #line $LINENO "configure"
3632 #include "confdefs.h"
3634 #if ((' ' & 0x0FF) == 0x020)
3635 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3636 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3638 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3639 || ('j' <= (c) && (c) <= 'r') \
3640 || ('s' <= (c) && (c) <= 'z'))
3641 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3644 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3649 for (i = 0; i < 256; i++)
3650 if (XOR (islower (i), ISLOWER (i))
3651 || toupper (i) != TOUPPER (i))
3656 rm -f conftest
$ac_exeext
3657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3658 (eval $ac_link) 2>&5
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); }; }; then
3669 echo "$as_me: program exited with status $ac_status" >&5
3670 echo "$as_me: failed program was:" >&5
3671 cat conftest.
$ac_ext >&5
3673 ac_cv_header_stdc
=no
3675 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3679 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3680 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3681 if test $ac_cv_header_stdc = yes; then
3683 cat >>confdefs.h
<<\_ACEOF
3684 #define STDC_HEADERS 1
3695 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3696 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3697 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3698 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 cat >conftest.
$ac_ext <<_ACEOF
3703 #line $LINENO "configure"
3704 #include "confdefs.h"
3705 #include <sys/types.h>
3708 #ifdef F77_DUMMY_MAIN
3712 int F77_DUMMY_MAIN() { return 1; }
3723 rm -f conftest.
$ac_objext
3724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3725 (eval $ac_compile) 2>&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); } &&
3729 { ac_try
='test -s conftest.$ac_objext'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3735 eval "$as_ac_Header=yes"
3737 echo "$as_me: failed program was:" >&5
3738 cat conftest.
$ac_ext >&5
3739 eval "$as_ac_Header=no"
3741 rm -f conftest.
$ac_objext conftest.
$ac_ext
3743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3746 cat >>confdefs.h
<<_ACEOF
3747 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3750 ac_header_dirent
=$ac_hdr; break
3754 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3755 if test $ac_header_dirent = dirent.h
; then
3756 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3757 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3758 if test "${ac_cv_search_opendir+set}" = set; then
3759 echo $ECHO_N "(cached) $ECHO_C" >&6
3761 ac_func_search_save_LIBS
=$LIBS
3762 ac_cv_search_opendir
=no
3763 cat >conftest.
$ac_ext <<_ACEOF
3764 #line $LINENO "configure"
3765 #include "confdefs.h"
3767 /* Override any gcc2 internal prototype to avoid an error. */
3771 /* We use char because int might match the return type of a gcc2
3772 builtin and then its argument prototype would still apply. */
3774 #ifdef F77_DUMMY_MAIN
3778 int F77_DUMMY_MAIN() { return 1; }
3788 rm -f conftest.
$ac_objext conftest
$ac_exeext
3789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3790 (eval $ac_link) 2>&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); } &&
3794 { ac_try
='test -s conftest$ac_exeext'
3795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; }; then
3800 ac_cv_search_opendir
="none required"
3802 echo "$as_me: failed program was:" >&5
3803 cat conftest.
$ac_ext >&5
3805 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3806 if test "$ac_cv_search_opendir" = no
; then
3807 for ac_lib
in dir
; do
3808 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3809 cat >conftest.
$ac_ext <<_ACEOF
3810 #line $LINENO "configure"
3811 #include "confdefs.h"
3813 /* Override any gcc2 internal prototype to avoid an error. */
3817 /* We use char because int might match the return type of a gcc2
3818 builtin and then its argument prototype would still apply. */
3820 #ifdef F77_DUMMY_MAIN
3824 int F77_DUMMY_MAIN() { return 1; }
3834 rm -f conftest.
$ac_objext conftest
$ac_exeext
3835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3836 (eval $ac_link) 2>&5
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); } &&
3840 { ac_try
='test -s conftest$ac_exeext'
3841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3845 (exit $ac_status); }; }; then
3846 ac_cv_search_opendir
="-l$ac_lib"
3849 echo "$as_me: failed program was:" >&5
3850 cat conftest.
$ac_ext >&5
3852 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3855 LIBS
=$ac_func_search_save_LIBS
3857 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3858 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3859 if test "$ac_cv_search_opendir" != no
; then
3860 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3865 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3866 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3867 if test "${ac_cv_search_opendir+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3870 ac_func_search_save_LIBS
=$LIBS
3871 ac_cv_search_opendir
=no
3872 cat >conftest.
$ac_ext <<_ACEOF
3873 #line $LINENO "configure"
3874 #include "confdefs.h"
3876 /* Override any gcc2 internal prototype to avoid an error. */
3880 /* We use char because int might match the return type of a gcc2
3881 builtin and then its argument prototype would still apply. */
3883 #ifdef F77_DUMMY_MAIN
3887 int F77_DUMMY_MAIN() { return 1; }
3897 rm -f conftest.
$ac_objext conftest
$ac_exeext
3898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3899 (eval $ac_link) 2>&5
3901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902 (exit $ac_status); } &&
3903 { ac_try
='test -s conftest$ac_exeext'
3904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); }; }; then
3909 ac_cv_search_opendir
="none required"
3911 echo "$as_me: failed program was:" >&5
3912 cat conftest.
$ac_ext >&5
3914 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3915 if test "$ac_cv_search_opendir" = no
; then
3917 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3918 cat >conftest.
$ac_ext <<_ACEOF
3919 #line $LINENO "configure"
3920 #include "confdefs.h"
3922 /* Override any gcc2 internal prototype to avoid an error. */
3926 /* We use char because int might match the return type of a gcc2
3927 builtin and then its argument prototype would still apply. */
3929 #ifdef F77_DUMMY_MAIN
3933 int F77_DUMMY_MAIN() { return 1; }
3943 rm -f conftest.
$ac_objext conftest
$ac_exeext
3944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3945 (eval $ac_link) 2>&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } &&
3949 { ac_try
='test -s conftest$ac_exeext'
3950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); }; }; then
3955 ac_cv_search_opendir
="-l$ac_lib"
3958 echo "$as_me: failed program was:" >&5
3959 cat conftest.
$ac_ext >&5
3961 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3964 LIBS
=$ac_func_search_save_LIBS
3966 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3967 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3968 if test "$ac_cv_search_opendir" != no
; then
3969 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3975 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3976 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3977 if test "${ac_cv_header_time+set}" = set; then
3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3980 cat >conftest.
$ac_ext <<_ACEOF
3981 #line $LINENO "configure"
3982 #include "confdefs.h"
3983 #include <sys/types.h>
3984 #include <sys/time.h>
3987 #ifdef F77_DUMMY_MAIN
3991 int F77_DUMMY_MAIN() { return 1; }
3996 if ((struct tm *) 0)
4002 rm -f conftest.
$ac_objext
4003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4004 (eval $ac_compile) 2>&5
4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); } &&
4008 { ac_try
='test -s conftest.$ac_objext'
4009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); }; }; then
4014 ac_cv_header_time
=yes
4016 echo "$as_me: failed program was:" >&5
4017 cat conftest.
$ac_ext >&5
4018 ac_cv_header_time
=no
4020 rm -f conftest.
$ac_objext conftest.
$ac_ext
4022 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4023 echo "${ECHO_T}$ac_cv_header_time" >&6
4024 if test $ac_cv_header_time = yes; then
4026 cat >>confdefs.h
<<\_ACEOF
4027 #define TIME_WITH_SYS_TIME 1
4032 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4033 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4034 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4035 echo $ECHO_N "(cached) $ECHO_C" >&6
4037 cat >conftest.
$ac_ext <<_ACEOF
4038 #line $LINENO "configure"
4039 #include "confdefs.h"
4040 #include <sys/types.h>
4041 #include <sys/wait.h>
4043 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4046 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4049 #ifdef F77_DUMMY_MAIN
4053 int F77_DUMMY_MAIN() { return 1; }
4060 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4065 rm -f conftest.
$ac_objext
4066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4067 (eval $ac_compile) 2>&5
4069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); } &&
4071 { ac_try
='test -s conftest.$ac_objext'
4072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); }; }; then
4077 ac_cv_header_sys_wait_h
=yes
4079 echo "$as_me: failed program was:" >&5
4080 cat conftest.
$ac_ext >&5
4081 ac_cv_header_sys_wait_h
=no
4083 rm -f conftest.
$ac_objext conftest.
$ac_ext
4085 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4086 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4087 if test $ac_cv_header_sys_wait_h = yes; then
4089 cat >>confdefs.h
<<\_ACEOF
4090 #define HAVE_SYS_WAIT_H 1
4095 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4105 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4106 inttypes.h stdint.h unistd.h
4108 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4109 echo "$as_me:$LINENO: checking for $ac_header" >&5
4110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4112 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 cat >conftest.
$ac_ext <<_ACEOF
4115 #line $LINENO "configure"
4116 #include "confdefs.h"
4117 $ac_includes_default
4119 #include <$ac_header>
4121 rm -f conftest.
$ac_objext
4122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4123 (eval $ac_compile) 2>&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); } &&
4127 { ac_try
='test -s conftest.$ac_objext'
4128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); }; }; then
4133 eval "$as_ac_Header=yes"
4135 echo "$as_me: failed program was:" >&5
4136 cat conftest.
$ac_ext >&5
4137 eval "$as_ac_Header=no"
4139 rm -f conftest.
$ac_objext conftest.
$ac_ext
4141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4144 cat >>confdefs.h
<<_ACEOF
4145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4159 for ac_header
in arpa
/inet.h sys
/fcntl.h sys
/select.h fcntl.h sys
/time.h sys
/unistd.h
4161 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4163 echo "$as_me:$LINENO: checking for $ac_header" >&5
4164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4166 echo $ECHO_N "(cached) $ECHO_C" >&6
4168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4171 # Is the header compilable?
4172 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4174 cat >conftest.
$ac_ext <<_ACEOF
4175 #line $LINENO "configure"
4176 #include "confdefs.h"
4177 $ac_includes_default
4178 #include <$ac_header>
4180 rm -f conftest.
$ac_objext
4181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4182 (eval $ac_compile) 2>&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); } &&
4186 { ac_try
='test -s conftest.$ac_objext'
4187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); }; }; then
4192 ac_header_compiler
=yes
4194 echo "$as_me: failed program was:" >&5
4195 cat conftest.
$ac_ext >&5
4196 ac_header_compiler
=no
4198 rm -f conftest.
$ac_objext conftest.
$ac_ext
4199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4200 echo "${ECHO_T}$ac_header_compiler" >&6
4202 # Is the header present?
4203 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4204 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4205 cat >conftest.
$ac_ext <<_ACEOF
4206 #line $LINENO "configure"
4207 #include "confdefs.h"
4208 #include <$ac_header>
4210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4213 egrep -v '^ *\+' conftest.er1
>conftest.err
4215 cat conftest.err
>&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } >/dev
/null
; then
4218 if test -s conftest.err
; then
4219 ac_cpp_err
=$ac_c_preproc_warn_flag
4226 if test -z "$ac_cpp_err"; then
4227 ac_header_preproc
=yes
4229 echo "$as_me: failed program was:" >&5
4230 cat conftest.
$ac_ext >&5
4231 ac_header_preproc
=no
4233 rm -f conftest.err conftest.
$ac_ext
4234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4235 echo "${ECHO_T}$ac_header_preproc" >&6
4237 # So? What about this header?
4238 case $ac_header_compiler:$ac_header_preproc in
4240 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4241 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4252 echo "$as_me:$LINENO: checking for $ac_header" >&5
4253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4255 echo $ECHO_N "(cached) $ECHO_C" >&6
4257 eval "$as_ac_Header=$ac_header_preproc"
4259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4264 cat >>confdefs.h
<<_ACEOF
4265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4279 for ac_header
in unistd.h utime.h grp.h sys
/id.h limits.h memory.h net
/if.h
4281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4283 echo "$as_me:$LINENO: checking for $ac_header" >&5
4284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4291 # Is the header compilable?
4292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4294 cat >conftest.
$ac_ext <<_ACEOF
4295 #line $LINENO "configure"
4296 #include "confdefs.h"
4297 $ac_includes_default
4298 #include <$ac_header>
4300 rm -f conftest.
$ac_objext
4301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4302 (eval $ac_compile) 2>&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } &&
4306 { ac_try
='test -s conftest.$ac_objext'
4307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }; }; then
4312 ac_header_compiler
=yes
4314 echo "$as_me: failed program was:" >&5
4315 cat conftest.
$ac_ext >&5
4316 ac_header_compiler
=no
4318 rm -f conftest.
$ac_objext conftest.
$ac_ext
4319 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4320 echo "${ECHO_T}$ac_header_compiler" >&6
4322 # Is the header present?
4323 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4324 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4325 cat >conftest.
$ac_ext <<_ACEOF
4326 #line $LINENO "configure"
4327 #include "confdefs.h"
4328 #include <$ac_header>
4330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4331 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4333 egrep -v '^ *\+' conftest.er1
>conftest.err
4335 cat conftest.err
>&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } >/dev
/null
; then
4338 if test -s conftest.err
; then
4339 ac_cpp_err
=$ac_c_preproc_warn_flag
4346 if test -z "$ac_cpp_err"; then
4347 ac_header_preproc
=yes
4349 echo "$as_me: failed program was:" >&5
4350 cat conftest.
$ac_ext >&5
4351 ac_header_preproc
=no
4353 rm -f conftest.err conftest.
$ac_ext
4354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4355 echo "${ECHO_T}$ac_header_preproc" >&6
4357 # So? What about this header?
4358 case $ac_header_compiler:$ac_header_preproc in
4360 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4361 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4366 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4368 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4370 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4372 echo "$as_me:$LINENO: checking for $ac_header" >&5
4373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4375 echo $ECHO_N "(cached) $ECHO_C" >&6
4377 eval "$as_ac_Header=$ac_header_preproc"
4379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4384 cat >>confdefs.h
<<_ACEOF
4385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4397 for ac_header
in compat.h rpc
/rpc.h rpcsvc
/nis.h rpcsvc
/yp_prot.h rpcsvc
/ypclnt.h
4399 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4401 echo "$as_me:$LINENO: checking for $ac_header" >&5
4402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4404 echo $ECHO_N "(cached) $ECHO_C" >&6
4406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4409 # Is the header compilable?
4410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4412 cat >conftest.
$ac_ext <<_ACEOF
4413 #line $LINENO "configure"
4414 #include "confdefs.h"
4415 $ac_includes_default
4416 #include <$ac_header>
4418 rm -f conftest.
$ac_objext
4419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4420 (eval $ac_compile) 2>&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } &&
4424 { ac_try
='test -s conftest.$ac_objext'
4425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); }; }; then
4430 ac_header_compiler
=yes
4432 echo "$as_me: failed program was:" >&5
4433 cat conftest.
$ac_ext >&5
4434 ac_header_compiler
=no
4436 rm -f conftest.
$ac_objext conftest.
$ac_ext
4437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4438 echo "${ECHO_T}$ac_header_compiler" >&6
4440 # Is the header present?
4441 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4442 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4443 cat >conftest.
$ac_ext <<_ACEOF
4444 #line $LINENO "configure"
4445 #include "confdefs.h"
4446 #include <$ac_header>
4448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4449 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4451 egrep -v '^ *\+' conftest.er1
>conftest.err
4453 cat conftest.err
>&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); } >/dev
/null
; then
4456 if test -s conftest.err
; then
4457 ac_cpp_err
=$ac_c_preproc_warn_flag
4464 if test -z "$ac_cpp_err"; then
4465 ac_header_preproc
=yes
4467 echo "$as_me: failed program was:" >&5
4468 cat conftest.
$ac_ext >&5
4469 ac_header_preproc
=no
4471 rm -f conftest.err conftest.
$ac_ext
4472 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4473 echo "${ECHO_T}$ac_header_preproc" >&6
4475 # So? What about this header?
4476 case $ac_header_compiler:$ac_header_preproc in
4478 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4479 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4486 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4490 echo "$as_me:$LINENO: checking for $ac_header" >&5
4491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4495 eval "$as_ac_Header=$ac_header_preproc"
4497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4502 cat >>confdefs.h
<<_ACEOF
4503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4517 for ac_header
in sys
/param.h ctype.h sys
/wait.h sys
/resource.h sys
/ioctl.h sys
/ipc.h sys
/mode.h
4519 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4521 echo "$as_me:$LINENO: checking for $ac_header" >&5
4522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4529 # Is the header compilable?
4530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4532 cat >conftest.
$ac_ext <<_ACEOF
4533 #line $LINENO "configure"
4534 #include "confdefs.h"
4535 $ac_includes_default
4536 #include <$ac_header>
4538 rm -f conftest.
$ac_objext
4539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4540 (eval $ac_compile) 2>&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); } &&
4544 { ac_try
='test -s conftest.$ac_objext'
4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4550 ac_header_compiler
=yes
4552 echo "$as_me: failed program was:" >&5
4553 cat conftest.
$ac_ext >&5
4554 ac_header_compiler
=no
4556 rm -f conftest.
$ac_objext conftest.
$ac_ext
4557 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4558 echo "${ECHO_T}$ac_header_compiler" >&6
4560 # Is the header present?
4561 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4562 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4563 cat >conftest.
$ac_ext <<_ACEOF
4564 #line $LINENO "configure"
4565 #include "confdefs.h"
4566 #include <$ac_header>
4568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4569 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4571 egrep -v '^ *\+' conftest.er1
>conftest.err
4573 cat conftest.err
>&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); } >/dev
/null
; then
4576 if test -s conftest.err
; then
4577 ac_cpp_err
=$ac_c_preproc_warn_flag
4584 if test -z "$ac_cpp_err"; then
4585 ac_header_preproc
=yes
4587 echo "$as_me: failed program was:" >&5
4588 cat conftest.
$ac_ext >&5
4589 ac_header_preproc
=no
4591 rm -f conftest.err conftest.
$ac_ext
4592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4593 echo "${ECHO_T}$ac_header_preproc" >&6
4595 # So? What about this header?
4596 case $ac_header_compiler:$ac_header_preproc in
4598 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4599 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4610 echo "$as_me:$LINENO: checking for $ac_header" >&5
4611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 eval "$as_ac_Header=$ac_header_preproc"
4617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4622 cat >>confdefs.h
<<_ACEOF
4623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4638 for ac_header
in sys
/mman.h sys
/filio.h sys
/priv.h sys
/shm.h string.h
strings.h stdlib.h sys
/socket.h
4640 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4642 echo "$as_me:$LINENO: checking for $ac_header" >&5
4643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4650 # Is the header compilable?
4651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4653 cat >conftest.
$ac_ext <<_ACEOF
4654 #line $LINENO "configure"
4655 #include "confdefs.h"
4656 $ac_includes_default
4657 #include <$ac_header>
4659 rm -f conftest.
$ac_objext
4660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4661 (eval $ac_compile) 2>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } &&
4665 { ac_try
='test -s conftest.$ac_objext'
4666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then
4671 ac_header_compiler
=yes
4673 echo "$as_me: failed program was:" >&5
4674 cat conftest.
$ac_ext >&5
4675 ac_header_compiler
=no
4677 rm -f conftest.
$ac_objext conftest.
$ac_ext
4678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4679 echo "${ECHO_T}$ac_header_compiler" >&6
4681 # Is the header present?
4682 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4683 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4684 cat >conftest.
$ac_ext <<_ACEOF
4685 #line $LINENO "configure"
4686 #include "confdefs.h"
4687 #include <$ac_header>
4689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4690 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4692 egrep -v '^ *\+' conftest.er1
>conftest.err
4694 cat conftest.err
>&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } >/dev
/null
; then
4697 if test -s conftest.err
; then
4698 ac_cpp_err
=$ac_c_preproc_warn_flag
4705 if test -z "$ac_cpp_err"; then
4706 ac_header_preproc
=yes
4708 echo "$as_me: failed program was:" >&5
4709 cat conftest.
$ac_ext >&5
4710 ac_header_preproc
=no
4712 rm -f conftest.err conftest.
$ac_ext
4713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4714 echo "${ECHO_T}$ac_header_preproc" >&6
4716 # So? What about this header?
4717 case $ac_header_compiler:$ac_header_preproc in
4719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4731 echo "$as_me:$LINENO: checking for $ac_header" >&5
4732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4736 eval "$as_ac_Header=$ac_header_preproc"
4738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4743 cat >>confdefs.h
<<_ACEOF
4744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4757 for ac_header
in sys
/mount.h sys
/vfs.h sys
/fs
/s5param.h sys
/filsys.h termios.h termio.h
4759 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4761 echo "$as_me:$LINENO: checking for $ac_header" >&5
4762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4769 # Is the header compilable?
4770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4772 cat >conftest.
$ac_ext <<_ACEOF
4773 #line $LINENO "configure"
4774 #include "confdefs.h"
4775 $ac_includes_default
4776 #include <$ac_header>
4778 rm -f conftest.
$ac_objext
4779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4780 (eval $ac_compile) 2>&5
4782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); } &&
4784 { ac_try
='test -s conftest.$ac_objext'
4785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); }; }; then
4790 ac_header_compiler
=yes
4792 echo "$as_me: failed program was:" >&5
4793 cat conftest.
$ac_ext >&5
4794 ac_header_compiler
=no
4796 rm -f conftest.
$ac_objext conftest.
$ac_ext
4797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4798 echo "${ECHO_T}$ac_header_compiler" >&6
4800 # Is the header present?
4801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4803 cat >conftest.
$ac_ext <<_ACEOF
4804 #line $LINENO "configure"
4805 #include "confdefs.h"
4806 #include <$ac_header>
4808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4809 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4811 egrep -v '^ *\+' conftest.er1
>conftest.err
4813 cat conftest.err
>&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); } >/dev
/null
; then
4816 if test -s conftest.err
; then
4817 ac_cpp_err
=$ac_c_preproc_warn_flag
4824 if test -z "$ac_cpp_err"; then
4825 ac_header_preproc
=yes
4827 echo "$as_me: failed program was:" >&5
4828 cat conftest.
$ac_ext >&5
4829 ac_header_preproc
=no
4831 rm -f conftest.err conftest.
$ac_ext
4832 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4833 echo "${ECHO_T}$ac_header_preproc" >&6
4835 # So? What about this header?
4836 case $ac_header_compiler:$ac_header_preproc in
4838 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4839 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4840 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4841 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4850 echo "$as_me:$LINENO: checking for $ac_header" >&5
4851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4855 eval "$as_ac_Header=$ac_header_preproc"
4857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4862 cat >>confdefs.h
<<_ACEOF
4863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4876 for ac_header
in sys
/termio.h sys
/statfs.h sys
/dustat.h sys
/statvfs.h stdarg.h sys
/sockio.h
4878 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4880 echo "$as_me:$LINENO: checking for $ac_header" >&5
4881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4888 # Is the header compilable?
4889 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4890 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4891 cat >conftest.
$ac_ext <<_ACEOF
4892 #line $LINENO "configure"
4893 #include "confdefs.h"
4894 $ac_includes_default
4895 #include <$ac_header>
4897 rm -f conftest.
$ac_objext
4898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4899 (eval $ac_compile) 2>&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); } &&
4903 { ac_try
='test -s conftest.$ac_objext'
4904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); }; }; then
4909 ac_header_compiler
=yes
4911 echo "$as_me: failed program was:" >&5
4912 cat conftest.
$ac_ext >&5
4913 ac_header_compiler
=no
4915 rm -f conftest.
$ac_objext conftest.
$ac_ext
4916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4917 echo "${ECHO_T}$ac_header_compiler" >&6
4919 # Is the header present?
4920 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4922 cat >conftest.
$ac_ext <<_ACEOF
4923 #line $LINENO "configure"
4924 #include "confdefs.h"
4925 #include <$ac_header>
4927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4930 egrep -v '^ *\+' conftest.er1
>conftest.err
4932 cat conftest.err
>&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); } >/dev
/null
; then
4935 if test -s conftest.err
; then
4936 ac_cpp_err
=$ac_c_preproc_warn_flag
4943 if test -z "$ac_cpp_err"; then
4944 ac_header_preproc
=yes
4946 echo "$as_me: failed program was:" >&5
4947 cat conftest.
$ac_ext >&5
4948 ac_header_preproc
=no
4950 rm -f conftest.err conftest.
$ac_ext
4951 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4952 echo "${ECHO_T}$ac_header_preproc" >&6
4954 # So? What about this header?
4955 case $ac_header_compiler:$ac_header_preproc in
4957 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4958 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4969 echo "$as_me:$LINENO: checking for $ac_header" >&5
4970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4974 eval "$as_ac_Header=$ac_header_preproc"
4976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4981 cat >>confdefs.h
<<_ACEOF
4982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4994 for ac_header
in security
/pam_modules.h security
/_pam_macros.h ldap.h lber.h dlfcn.h
4996 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4998 echo "$as_me:$LINENO: checking for $ac_header" >&5
4999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5006 # Is the header compilable?
5007 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5008 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5009 cat >conftest.
$ac_ext <<_ACEOF
5010 #line $LINENO "configure"
5011 #include "confdefs.h"
5012 $ac_includes_default
5013 #include <$ac_header>
5015 rm -f conftest.
$ac_objext
5016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5017 (eval $ac_compile) 2>&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); } &&
5021 { ac_try
='test -s conftest.$ac_objext'
5022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); }; }; then
5027 ac_header_compiler
=yes
5029 echo "$as_me: failed program was:" >&5
5030 cat conftest.
$ac_ext >&5
5031 ac_header_compiler
=no
5033 rm -f conftest.
$ac_objext conftest.
$ac_ext
5034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5035 echo "${ECHO_T}$ac_header_compiler" >&6
5037 # Is the header present?
5038 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5040 cat >conftest.
$ac_ext <<_ACEOF
5041 #line $LINENO "configure"
5042 #include "confdefs.h"
5043 #include <$ac_header>
5045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5046 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5048 egrep -v '^ *\+' conftest.er1
>conftest.err
5050 cat conftest.err
>&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); } >/dev
/null
; then
5053 if test -s conftest.err
; then
5054 ac_cpp_err
=$ac_c_preproc_warn_flag
5061 if test -z "$ac_cpp_err"; then
5062 ac_header_preproc
=yes
5064 echo "$as_me: failed program was:" >&5
5065 cat conftest.
$ac_ext >&5
5066 ac_header_preproc
=no
5068 rm -f conftest.err conftest.
$ac_ext
5069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5070 echo "${ECHO_T}$ac_header_preproc" >&6
5072 # So? What about this header?
5073 case $ac_header_compiler:$ac_header_preproc in
5075 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5078 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5085 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5087 echo "$as_me:$LINENO: checking for $ac_header" >&5
5088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5090 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 eval "$as_ac_Header=$ac_header_preproc"
5094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5098 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5099 cat >>confdefs.h
<<_ACEOF
5100 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5109 for ac_header
in sys
/syslog.h syslog.h
5111 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5113 echo "$as_me:$LINENO: checking for $ac_header" >&5
5114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5116 echo $ECHO_N "(cached) $ECHO_C" >&6
5118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5121 # Is the header compilable?
5122 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5124 cat >conftest.
$ac_ext <<_ACEOF
5125 #line $LINENO "configure"
5126 #include "confdefs.h"
5127 $ac_includes_default
5128 #include <$ac_header>
5130 rm -f conftest.
$ac_objext
5131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5132 (eval $ac_compile) 2>&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } &&
5136 { ac_try
='test -s conftest.$ac_objext'
5137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); }; }; then
5142 ac_header_compiler
=yes
5144 echo "$as_me: failed program was:" >&5
5145 cat conftest.
$ac_ext >&5
5146 ac_header_compiler
=no
5148 rm -f conftest.
$ac_objext conftest.
$ac_ext
5149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5150 echo "${ECHO_T}$ac_header_compiler" >&6
5152 # Is the header present?
5153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5155 cat >conftest.
$ac_ext <<_ACEOF
5156 #line $LINENO "configure"
5157 #include "confdefs.h"
5158 #include <$ac_header>
5160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5161 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5163 egrep -v '^ *\+' conftest.er1
>conftest.err
5165 cat conftest.err
>&5
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); } >/dev
/null
; then
5168 if test -s conftest.err
; then
5169 ac_cpp_err
=$ac_c_preproc_warn_flag
5176 if test -z "$ac_cpp_err"; then
5177 ac_header_preproc
=yes
5179 echo "$as_me: failed program was:" >&5
5180 cat conftest.
$ac_ext >&5
5181 ac_header_preproc
=no
5183 rm -f conftest.err conftest.
$ac_ext
5184 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5185 echo "${ECHO_T}$ac_header_preproc" >&6
5187 # So? What about this header?
5188 case $ac_header_compiler:$ac_header_preproc in
5190 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5191 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5193 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5202 echo "$as_me:$LINENO: checking for $ac_header" >&5
5203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 eval "$as_ac_Header=$ac_header_preproc"
5209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5214 cat >>confdefs.h
<<_ACEOF
5215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5224 # HPUX has a bug in that including shadow.h causes a re-definition of MAXINT.
5225 # This causes configure to fail to detect it. Check for shadow separately on HPUX.
5229 cat >conftest.
$ac_ext <<_ACEOF
5230 #line $LINENO "configure"
5231 #include "confdefs.h"
5233 #ifdef F77_DUMMY_MAIN
5237 int F77_DUMMY_MAIN() { return 1; }
5247 rm -f conftest.
$ac_objext
5248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5249 (eval $ac_compile) 2>&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); } &&
5253 { ac_try
='test -s conftest.$ac_objext'
5254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); }; }; then
5259 ac_cv_header_shadow_h
=yes
5261 echo "$as_me: failed program was:" >&5
5262 cat conftest.
$ac_ext >&5
5263 ac_cv_header_shadow_h
=no
5265 rm -f conftest.
$ac_objext conftest.
$ac_ext
5266 if test x
"$ac_cv_header_shadow_h" = x
"yes"; then
5268 cat >>confdefs.h
<<\_ACEOF
5269 #define HAVE_SHADOW_H 1
5280 for ac_header
in shadow.h netinet
/ip.h netinet
/tcp.h netinet
/in_systm.h netinet
/in_ip.h
5282 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5284 echo "$as_me:$LINENO: checking for $ac_header" >&5
5285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5287 echo $ECHO_N "(cached) $ECHO_C" >&6
5289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5292 # Is the header compilable?
5293 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5294 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5295 cat >conftest.
$ac_ext <<_ACEOF
5296 #line $LINENO "configure"
5297 #include "confdefs.h"
5298 $ac_includes_default
5299 #include <$ac_header>
5301 rm -f conftest.
$ac_objext
5302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5303 (eval $ac_compile) 2>&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); } &&
5307 { ac_try
='test -s conftest.$ac_objext'
5308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 (exit $ac_status); }; }; then
5313 ac_header_compiler
=yes
5315 echo "$as_me: failed program was:" >&5
5316 cat conftest.
$ac_ext >&5
5317 ac_header_compiler
=no
5319 rm -f conftest.
$ac_objext conftest.
$ac_ext
5320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5321 echo "${ECHO_T}$ac_header_compiler" >&6
5323 # Is the header present?
5324 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5326 cat >conftest.
$ac_ext <<_ACEOF
5327 #line $LINENO "configure"
5328 #include "confdefs.h"
5329 #include <$ac_header>
5331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5332 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5334 egrep -v '^ *\+' conftest.er1
>conftest.err
5336 cat conftest.err
>&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); } >/dev
/null
; then
5339 if test -s conftest.err
; then
5340 ac_cpp_err
=$ac_c_preproc_warn_flag
5347 if test -z "$ac_cpp_err"; then
5348 ac_header_preproc
=yes
5350 echo "$as_me: failed program was:" >&5
5351 cat conftest.
$ac_ext >&5
5352 ac_header_preproc
=no
5354 rm -f conftest.err conftest.
$ac_ext
5355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5356 echo "${ECHO_T}$ac_header_preproc" >&6
5358 # So? What about this header?
5359 case $ac_header_compiler:$ac_header_preproc in
5361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5364 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5366 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5367 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5368 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5369 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5373 echo "$as_me:$LINENO: checking for $ac_header" >&5
5374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5376 echo $ECHO_N "(cached) $ECHO_C" >&6
5378 eval "$as_ac_Header=$ac_header_preproc"
5380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5385 cat >>confdefs.h
<<_ACEOF
5386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5399 for ac_header
in nss.h nss_common.h ns_api.h sys
/security.h security
/pam_appl.h security
/pam_modules.h
5401 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5403 echo "$as_me:$LINENO: checking for $ac_header" >&5
5404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5411 # Is the header compilable?
5412 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5413 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5414 cat >conftest.
$ac_ext <<_ACEOF
5415 #line $LINENO "configure"
5416 #include "confdefs.h"
5417 $ac_includes_default
5418 #include <$ac_header>
5420 rm -f conftest.
$ac_objext
5421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5422 (eval $ac_compile) 2>&5
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); } &&
5426 { ac_try
='test -s conftest.$ac_objext'
5427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); }; }; then
5432 ac_header_compiler
=yes
5434 echo "$as_me: failed program was:" >&5
5435 cat conftest.
$ac_ext >&5
5436 ac_header_compiler
=no
5438 rm -f conftest.
$ac_objext conftest.
$ac_ext
5439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5440 echo "${ECHO_T}$ac_header_compiler" >&6
5442 # Is the header present?
5443 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5444 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5445 cat >conftest.
$ac_ext <<_ACEOF
5446 #line $LINENO "configure"
5447 #include "confdefs.h"
5448 #include <$ac_header>
5450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5453 egrep -v '^ *\+' conftest.er1
>conftest.err
5455 cat conftest.err
>&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); } >/dev
/null
; then
5458 if test -s conftest.err
; then
5459 ac_cpp_err
=$ac_c_preproc_warn_flag
5466 if test -z "$ac_cpp_err"; then
5467 ac_header_preproc
=yes
5469 echo "$as_me: failed program was:" >&5
5470 cat conftest.
$ac_ext >&5
5471 ac_header_preproc
=no
5473 rm -f conftest.err conftest.
$ac_ext
5474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5475 echo "${ECHO_T}$ac_header_preproc" >&6
5477 # So? What about this header?
5478 case $ac_header_compiler:$ac_header_preproc in
5480 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5485 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5486 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5487 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5488 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5490 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5492 echo "$as_me:$LINENO: checking for $ac_header" >&5
5493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 eval "$as_ac_Header=$ac_header_preproc"
5499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5504 cat >>confdefs.h
<<_ACEOF
5505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5514 for ac_header
in stropts.h poll.h
5516 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5518 echo "$as_me:$LINENO: checking for $ac_header" >&5
5519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5521 echo $ECHO_N "(cached) $ECHO_C" >&6
5523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5526 # Is the header compilable?
5527 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5529 cat >conftest.
$ac_ext <<_ACEOF
5530 #line $LINENO "configure"
5531 #include "confdefs.h"
5532 $ac_includes_default
5533 #include <$ac_header>
5535 rm -f conftest.
$ac_objext
5536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5537 (eval $ac_compile) 2>&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); } &&
5541 { ac_try
='test -s conftest.$ac_objext'
5542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); }; }; then
5547 ac_header_compiler
=yes
5549 echo "$as_me: failed program was:" >&5
5550 cat conftest.
$ac_ext >&5
5551 ac_header_compiler
=no
5553 rm -f conftest.
$ac_objext conftest.
$ac_ext
5554 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5555 echo "${ECHO_T}$ac_header_compiler" >&6
5557 # Is the header present?
5558 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5559 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5560 cat >conftest.
$ac_ext <<_ACEOF
5561 #line $LINENO "configure"
5562 #include "confdefs.h"
5563 #include <$ac_header>
5565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5566 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5568 egrep -v '^ *\+' conftest.er1
>conftest.err
5570 cat conftest.err
>&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); } >/dev
/null
; then
5573 if test -s conftest.err
; then
5574 ac_cpp_err
=$ac_c_preproc_warn_flag
5581 if test -z "$ac_cpp_err"; then
5582 ac_header_preproc
=yes
5584 echo "$as_me: failed program was:" >&5
5585 cat conftest.
$ac_ext >&5
5586 ac_header_preproc
=no
5588 rm -f conftest.err conftest.
$ac_ext
5589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5590 echo "${ECHO_T}$ac_header_preproc" >&6
5592 # So? What about this header?
5593 case $ac_header_compiler:$ac_header_preproc in
5595 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5596 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5607 echo "$as_me:$LINENO: checking for $ac_header" >&5
5608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5610 echo $ECHO_N "(cached) $ECHO_C" >&6
5612 eval "$as_ac_Header=$ac_header_preproc"
5614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5619 cat >>confdefs.h
<<_ACEOF
5620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5630 for ac_header
in sys
/capability.h syscall.h sys
/syscall.h
5632 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5634 echo "$as_me:$LINENO: checking for $ac_header" >&5
5635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5642 # Is the header compilable?
5643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5645 cat >conftest.
$ac_ext <<_ACEOF
5646 #line $LINENO "configure"
5647 #include "confdefs.h"
5648 $ac_includes_default
5649 #include <$ac_header>
5651 rm -f conftest.
$ac_objext
5652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5653 (eval $ac_compile) 2>&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); } &&
5657 { ac_try
='test -s conftest.$ac_objext'
5658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662 (exit $ac_status); }; }; then
5663 ac_header_compiler
=yes
5665 echo "$as_me: failed program was:" >&5
5666 cat conftest.
$ac_ext >&5
5667 ac_header_compiler
=no
5669 rm -f conftest.
$ac_objext conftest.
$ac_ext
5670 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5671 echo "${ECHO_T}$ac_header_compiler" >&6
5673 # Is the header present?
5674 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5675 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5676 cat >conftest.
$ac_ext <<_ACEOF
5677 #line $LINENO "configure"
5678 #include "confdefs.h"
5679 #include <$ac_header>
5681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5682 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5684 egrep -v '^ *\+' conftest.er1
>conftest.err
5686 cat conftest.err
>&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); } >/dev
/null
; then
5689 if test -s conftest.err
; then
5690 ac_cpp_err
=$ac_c_preproc_warn_flag
5697 if test -z "$ac_cpp_err"; then
5698 ac_header_preproc
=yes
5700 echo "$as_me: failed program was:" >&5
5701 cat conftest.
$ac_ext >&5
5702 ac_header_preproc
=no
5704 rm -f conftest.err conftest.
$ac_ext
5705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5706 echo "${ECHO_T}$ac_header_preproc" >&6
5708 # So? What about this header?
5709 case $ac_header_compiler:$ac_header_preproc in
5711 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5712 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5723 echo "$as_me:$LINENO: checking for $ac_header" >&5
5724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 eval "$as_ac_Header=$ac_header_preproc"
5730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5735 cat >>confdefs.h
<<_ACEOF
5736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5746 for ac_header
in sys
/acl.h sys
/cdefs.h glob.h
5748 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5750 echo "$as_me:$LINENO: checking for $ac_header" >&5
5751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5758 # Is the header compilable?
5759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5761 cat >conftest.
$ac_ext <<_ACEOF
5762 #line $LINENO "configure"
5763 #include "confdefs.h"
5764 $ac_includes_default
5765 #include <$ac_header>
5767 rm -f conftest.
$ac_objext
5768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5769 (eval $ac_compile) 2>&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); } &&
5773 { ac_try
='test -s conftest.$ac_objext'
5774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); }; }; then
5779 ac_header_compiler
=yes
5781 echo "$as_me: failed program was:" >&5
5782 cat conftest.
$ac_ext >&5
5783 ac_header_compiler
=no
5785 rm -f conftest.
$ac_objext conftest.
$ac_ext
5786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5787 echo "${ECHO_T}$ac_header_compiler" >&6
5789 # Is the header present?
5790 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5792 cat >conftest.
$ac_ext <<_ACEOF
5793 #line $LINENO "configure"
5794 #include "confdefs.h"
5795 #include <$ac_header>
5797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5798 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5800 egrep -v '^ *\+' conftest.er1
>conftest.err
5802 cat conftest.err
>&5
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); } >/dev
/null
; then
5805 if test -s conftest.err
; then
5806 ac_cpp_err
=$ac_c_preproc_warn_flag
5813 if test -z "$ac_cpp_err"; then
5814 ac_header_preproc
=yes
5816 echo "$as_me: failed program was:" >&5
5817 cat conftest.
$ac_ext >&5
5818 ac_header_preproc
=no
5820 rm -f conftest.err conftest.
$ac_ext
5821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5822 echo "${ECHO_T}$ac_header_preproc" >&6
5824 # So? What about this header?
5825 case $ac_header_compiler:$ac_header_preproc in
5827 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5830 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5832 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5833 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5834 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5835 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5839 echo "$as_me:$LINENO: checking for $ac_header" >&5
5840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5842 echo $ECHO_N "(cached) $ECHO_C" >&6
5844 eval "$as_ac_Header=$ac_header_preproc"
5846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5851 cat >>confdefs.h
<<_ACEOF
5852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5860 # For experimental utmp support (lastlog on some BSD-like systems)
5864 for ac_header
in utmp.h utmpx.h lastlog.h
5866 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5868 echo "$as_me:$LINENO: checking for $ac_header" >&5
5869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5876 # Is the header compilable?
5877 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5878 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5879 cat >conftest.
$ac_ext <<_ACEOF
5880 #line $LINENO "configure"
5881 #include "confdefs.h"
5882 $ac_includes_default
5883 #include <$ac_header>
5885 rm -f conftest.
$ac_objext
5886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5887 (eval $ac_compile) 2>&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } &&
5891 { ac_try
='test -s conftest.$ac_objext'
5892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 (exit $ac_status); }; }; then
5897 ac_header_compiler
=yes
5899 echo "$as_me: failed program was:" >&5
5900 cat conftest.
$ac_ext >&5
5901 ac_header_compiler
=no
5903 rm -f conftest.
$ac_objext conftest.
$ac_ext
5904 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5905 echo "${ECHO_T}$ac_header_compiler" >&6
5907 # Is the header present?
5908 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5909 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5910 cat >conftest.
$ac_ext <<_ACEOF
5911 #line $LINENO "configure"
5912 #include "confdefs.h"
5913 #include <$ac_header>
5915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5916 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5918 egrep -v '^ *\+' conftest.er1
>conftest.err
5920 cat conftest.err
>&5
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922 (exit $ac_status); } >/dev
/null
; then
5923 if test -s conftest.err
; then
5924 ac_cpp_err
=$ac_c_preproc_warn_flag
5931 if test -z "$ac_cpp_err"; then
5932 ac_header_preproc
=yes
5934 echo "$as_me: failed program was:" >&5
5935 cat conftest.
$ac_ext >&5
5936 ac_header_preproc
=no
5938 rm -f conftest.err conftest.
$ac_ext
5939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5940 echo "${ECHO_T}$ac_header_preproc" >&6
5942 # So? What about this header?
5943 case $ac_header_compiler:$ac_header_preproc in
5945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5950 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5951 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5952 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5953 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5957 echo "$as_me:$LINENO: checking for $ac_header" >&5
5958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5962 eval "$as_ac_Header=$ac_header_preproc"
5964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5969 cat >>confdefs.h
<<_ACEOF
5970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5978 # For quotas on Veritas VxFS filesystems
5980 for ac_header
in sys
/fs
/vx_quota.h
5982 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5984 echo "$as_me:$LINENO: checking for $ac_header" >&5
5985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5987 echo $ECHO_N "(cached) $ECHO_C" >&6
5989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5992 # Is the header compilable?
5993 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5995 cat >conftest.
$ac_ext <<_ACEOF
5996 #line $LINENO "configure"
5997 #include "confdefs.h"
5998 $ac_includes_default
5999 #include <$ac_header>
6001 rm -f conftest.
$ac_objext
6002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6003 (eval $ac_compile) 2>&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); } &&
6007 { ac_try
='test -s conftest.$ac_objext'
6008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); }; }; then
6013 ac_header_compiler
=yes
6015 echo "$as_me: failed program was:" >&5
6016 cat conftest.
$ac_ext >&5
6017 ac_header_compiler
=no
6019 rm -f conftest.
$ac_objext conftest.
$ac_ext
6020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6021 echo "${ECHO_T}$ac_header_compiler" >&6
6023 # Is the header present?
6024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6026 cat >conftest.
$ac_ext <<_ACEOF
6027 #line $LINENO "configure"
6028 #include "confdefs.h"
6029 #include <$ac_header>
6031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6034 egrep -v '^ *\+' conftest.er1
>conftest.err
6036 cat conftest.err
>&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); } >/dev
/null
; then
6039 if test -s conftest.err
; then
6040 ac_cpp_err
=$ac_c_preproc_warn_flag
6047 if test -z "$ac_cpp_err"; then
6048 ac_header_preproc
=yes
6050 echo "$as_me: failed program was:" >&5
6051 cat conftest.
$ac_ext >&5
6052 ac_header_preproc
=no
6054 rm -f conftest.err conftest.
$ac_ext
6055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6056 echo "${ECHO_T}$ac_header_preproc" >&6
6058 # So? What about this header?
6059 case $ac_header_compiler:$ac_header_preproc in
6061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6066 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6067 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6068 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6069 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6073 echo "$as_me:$LINENO: checking for $ac_header" >&5
6074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6076 echo $ECHO_N "(cached) $ECHO_C" >&6
6078 eval "$as_ac_Header=$ac_header_preproc"
6080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6084 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6085 cat >>confdefs.h
<<_ACEOF
6086 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6094 # For quotas on Linux XFS filesystems
6096 for ac_header
in linux
/xqm.h
6098 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6100 echo "$as_me:$LINENO: checking for $ac_header" >&5
6101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6103 echo $ECHO_N "(cached) $ECHO_C" >&6
6105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6108 # Is the header compilable?
6109 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6111 cat >conftest.
$ac_ext <<_ACEOF
6112 #line $LINENO "configure"
6113 #include "confdefs.h"
6114 $ac_includes_default
6115 #include <$ac_header>
6117 rm -f conftest.
$ac_objext
6118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6119 (eval $ac_compile) 2>&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); } &&
6123 { ac_try
='test -s conftest.$ac_objext'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 ac_header_compiler
=yes
6131 echo "$as_me: failed program was:" >&5
6132 cat conftest.
$ac_ext >&5
6133 ac_header_compiler
=no
6135 rm -f conftest.
$ac_objext conftest.
$ac_ext
6136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6137 echo "${ECHO_T}$ac_header_compiler" >&6
6139 # Is the header present?
6140 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6141 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6142 cat >conftest.
$ac_ext <<_ACEOF
6143 #line $LINENO "configure"
6144 #include "confdefs.h"
6145 #include <$ac_header>
6147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6150 egrep -v '^ *\+' conftest.er1
>conftest.err
6152 cat conftest.err
>&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } >/dev
/null
; then
6155 if test -s conftest.err
; then
6156 ac_cpp_err
=$ac_c_preproc_warn_flag
6163 if test -z "$ac_cpp_err"; then
6164 ac_header_preproc
=yes
6166 echo "$as_me: failed program was:" >&5
6167 cat conftest.
$ac_ext >&5
6168 ac_header_preproc
=no
6170 rm -f conftest.err conftest.
$ac_ext
6171 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6172 echo "${ECHO_T}$ac_header_preproc" >&6
6174 # So? What about this header?
6175 case $ac_header_compiler:$ac_header_preproc in
6177 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6178 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6180 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6189 echo "$as_me:$LINENO: checking for $ac_header" >&5
6190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6192 echo $ECHO_N "(cached) $ECHO_C" >&6
6194 eval "$as_ac_Header=$ac_header_preproc"
6196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6201 cat >>confdefs.h
<<_ACEOF
6202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6210 for ac_header
in xfs
/xqm.h
6212 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6214 echo "$as_me:$LINENO: checking for $ac_header" >&5
6215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6217 echo $ECHO_N "(cached) $ECHO_C" >&6
6219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6222 # Is the header compilable?
6223 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6224 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6225 cat >conftest.
$ac_ext <<_ACEOF
6226 #line $LINENO "configure"
6227 #include "confdefs.h"
6228 $ac_includes_default
6229 #include <$ac_header>
6231 rm -f conftest.
$ac_objext
6232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6233 (eval $ac_compile) 2>&5
6235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236 (exit $ac_status); } &&
6237 { ac_try
='test -s conftest.$ac_objext'
6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); }; }; then
6243 ac_header_compiler
=yes
6245 echo "$as_me: failed program was:" >&5
6246 cat conftest.
$ac_ext >&5
6247 ac_header_compiler
=no
6249 rm -f conftest.
$ac_objext conftest.
$ac_ext
6250 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6251 echo "${ECHO_T}$ac_header_compiler" >&6
6253 # Is the header present?
6254 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6256 cat >conftest.
$ac_ext <<_ACEOF
6257 #line $LINENO "configure"
6258 #include "confdefs.h"
6259 #include <$ac_header>
6261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6264 egrep -v '^ *\+' conftest.er1
>conftest.err
6266 cat conftest.err
>&5
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); } >/dev
/null
; then
6269 if test -s conftest.err
; then
6270 ac_cpp_err
=$ac_c_preproc_warn_flag
6277 if test -z "$ac_cpp_err"; then
6278 ac_header_preproc
=yes
6280 echo "$as_me: failed program was:" >&5
6281 cat conftest.
$ac_ext >&5
6282 ac_header_preproc
=no
6284 rm -f conftest.err conftest.
$ac_ext
6285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6286 echo "${ECHO_T}$ac_header_preproc" >&6
6288 # So? What about this header?
6289 case $ac_header_compiler:$ac_header_preproc in
6291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6296 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6298 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6299 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6303 echo "$as_me:$LINENO: checking for $ac_header" >&5
6304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6306 echo $ECHO_N "(cached) $ECHO_C" >&6
6308 eval "$as_ac_Header=$ac_header_preproc"
6310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6315 cat >>confdefs.h
<<_ACEOF
6316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6324 echo "$as_me:$LINENO: checking for int" >&5
6325 echo $ECHO_N "checking for int... $ECHO_C" >&6
6326 if test "${ac_cv_type_int+set}" = set; then
6327 echo $ECHO_N "(cached) $ECHO_C" >&6
6329 cat >conftest.
$ac_ext <<_ACEOF
6330 #line $LINENO "configure"
6331 #include "confdefs.h"
6332 $ac_includes_default
6333 #ifdef F77_DUMMY_MAIN
6337 int F77_DUMMY_MAIN() { return 1; }
6350 rm -f conftest.
$ac_objext
6351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6352 (eval $ac_compile) 2>&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); } &&
6356 { ac_try
='test -s conftest.$ac_objext'
6357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); }; }; then
6364 echo "$as_me: failed program was:" >&5
6365 cat conftest.
$ac_ext >&5
6368 rm -f conftest.
$ac_objext conftest.
$ac_ext
6370 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
6371 echo "${ECHO_T}$ac_cv_type_int" >&6
6373 echo "$as_me:$LINENO: checking size of int" >&5
6374 echo $ECHO_N "checking size of int... $ECHO_C" >&6
6375 if test "${ac_cv_sizeof_int+set}" = set; then
6376 echo $ECHO_N "(cached) $ECHO_C" >&6
6378 if test "$ac_cv_type_int" = yes; then
6379 # The cast to unsigned long works around a bug in the HP C Compiler
6380 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6381 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6382 # This bug is HP SR number 8606223364.
6383 if test "$cross_compiling" = yes; then
6384 # Depending upon the size, compute the lo and hi bounds.
6385 cat >conftest.
$ac_ext <<_ACEOF
6386 #line $LINENO "configure"
6387 #include "confdefs.h"
6388 $ac_includes_default
6389 #ifdef F77_DUMMY_MAIN
6393 int F77_DUMMY_MAIN() { return 1; }
6398 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
6405 rm -f conftest.
$ac_objext
6406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6407 (eval $ac_compile) 2>&5
6409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6410 (exit $ac_status); } &&
6411 { ac_try
='test -s conftest.$ac_objext'
6412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); }; }; then
6419 cat >conftest.
$ac_ext <<_ACEOF
6420 #line $LINENO "configure"
6421 #include "confdefs.h"
6422 $ac_includes_default
6423 #ifdef F77_DUMMY_MAIN
6427 int F77_DUMMY_MAIN() { return 1; }
6432 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6439 rm -f conftest.
$ac_objext
6440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6441 (eval $ac_compile) 2>&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); } &&
6445 { ac_try
='test -s conftest.$ac_objext'
6446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); }; }; then
6451 ac_hi
=$ac_mid; break
6453 echo "$as_me: failed program was:" >&5
6454 cat conftest.
$ac_ext >&5
6455 ac_lo
=`expr $ac_mid + 1`
6456 if test $ac_lo -le $ac_mid; then
6460 ac_mid
=`expr 2 '*' $ac_mid + 1`
6462 rm -f conftest.
$ac_objext conftest.
$ac_ext
6465 echo "$as_me: failed program was:" >&5
6466 cat conftest.
$ac_ext >&5
6467 cat >conftest.
$ac_ext <<_ACEOF
6468 #line $LINENO "configure"
6469 #include "confdefs.h"
6470 $ac_includes_default
6471 #ifdef F77_DUMMY_MAIN
6475 int F77_DUMMY_MAIN() { return 1; }
6480 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
6487 rm -f conftest.
$ac_objext
6488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6489 (eval $ac_compile) 2>&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); } &&
6493 { ac_try
='test -s conftest.$ac_objext'
6494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); }; }; then
6501 cat >conftest.
$ac_ext <<_ACEOF
6502 #line $LINENO "configure"
6503 #include "confdefs.h"
6504 $ac_includes_default
6505 #ifdef F77_DUMMY_MAIN
6509 int F77_DUMMY_MAIN() { return 1; }
6514 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
6521 rm -f conftest.
$ac_objext
6522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6523 (eval $ac_compile) 2>&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); } &&
6527 { ac_try
='test -s conftest.$ac_objext'
6528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }; }; then
6533 ac_lo
=$ac_mid; break
6535 echo "$as_me: failed program was:" >&5
6536 cat conftest.
$ac_ext >&5
6537 ac_hi
=`expr '(' $ac_mid ')' - 1`
6538 if test $ac_mid -le $ac_hi; then
6542 ac_mid
=`expr 2 '*' $ac_mid`
6544 rm -f conftest.
$ac_objext conftest.
$ac_ext
6547 echo "$as_me: failed program was:" >&5
6548 cat conftest.
$ac_ext >&5
6551 rm -f conftest.
$ac_objext conftest.
$ac_ext
6553 rm -f conftest.
$ac_objext conftest.
$ac_ext
6554 # Binary search between lo and hi bounds.
6555 while test "x$ac_lo" != "x$ac_hi"; do
6556 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6557 cat >conftest.
$ac_ext <<_ACEOF
6558 #line $LINENO "configure"
6559 #include "confdefs.h"
6560 $ac_includes_default
6561 #ifdef F77_DUMMY_MAIN
6565 int F77_DUMMY_MAIN() { return 1; }
6570 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6577 rm -f conftest.
$ac_objext
6578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6579 (eval $ac_compile) 2>&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); } &&
6583 { ac_try
='test -s conftest.$ac_objext'
6584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); }; }; then
6591 echo "$as_me: failed program was:" >&5
6592 cat conftest.
$ac_ext >&5
6593 ac_lo
=`expr '(' $ac_mid ')' + 1`
6595 rm -f conftest.
$ac_objext conftest.
$ac_ext
6598 ?
*) ac_cv_sizeof_int
=$ac_lo;;
6599 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
6600 echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
6601 { (exit 1); exit 1; }; } ;;
6604 if test "$cross_compiling" = yes; then
6605 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6606 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6607 { (exit 1); exit 1; }; }
6609 cat >conftest.
$ac_ext <<_ACEOF
6610 #line $LINENO "configure"
6611 #include "confdefs.h"
6612 $ac_includes_default
6613 long longval () { return (long) (sizeof (int)); }
6614 unsigned long ulongval () { return (long) (sizeof (int)); }
6617 #ifdef F77_DUMMY_MAIN
6621 int F77_DUMMY_MAIN() { return 1; }
6627 FILE *f = fopen ("conftest.val", "w");
6630 if (((long) (sizeof (int))) < 0)
6632 long i = longval ();
6633 if (i != ((long) (sizeof (int))))
6635 fprintf (f, "%ld\n", i);
6639 unsigned long i = ulongval ();
6640 if (i != ((long) (sizeof (int))))
6642 fprintf (f, "%lu\n", i);
6644 exit (ferror (f) || fclose (f) != 0);
6650 rm -f conftest
$ac_exeext
6651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6652 (eval $ac_link) 2>&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); }; }; then
6661 ac_cv_sizeof_int
=`cat conftest.val`
6663 echo "$as_me: program exited with status $ac_status" >&5
6664 echo "$as_me: failed program was:" >&5
6665 cat conftest.
$ac_ext >&5
6667 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
6668 echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
6669 { (exit 1); exit 1; }; }
6671 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6679 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6680 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
6681 cat >>confdefs.h
<<_ACEOF
6682 #define SIZEOF_INT $ac_cv_sizeof_int
6686 echo "$as_me:$LINENO: checking for long" >&5
6687 echo $ECHO_N "checking for long... $ECHO_C" >&6
6688 if test "${ac_cv_type_long+set}" = set; then
6689 echo $ECHO_N "(cached) $ECHO_C" >&6
6691 cat >conftest.
$ac_ext <<_ACEOF
6692 #line $LINENO "configure"
6693 #include "confdefs.h"
6694 $ac_includes_default
6695 #ifdef F77_DUMMY_MAIN
6699 int F77_DUMMY_MAIN() { return 1; }
6712 rm -f conftest.
$ac_objext
6713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6714 (eval $ac_compile) 2>&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } &&
6718 { ac_try
='test -s conftest.$ac_objext'
6719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); }; }; then
6726 echo "$as_me: failed program was:" >&5
6727 cat conftest.
$ac_ext >&5
6730 rm -f conftest.
$ac_objext conftest.
$ac_ext
6732 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6733 echo "${ECHO_T}$ac_cv_type_long" >&6
6735 echo "$as_me:$LINENO: checking size of long" >&5
6736 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6737 if test "${ac_cv_sizeof_long+set}" = set; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6740 if test "$ac_cv_type_long" = yes; then
6741 # The cast to unsigned long works around a bug in the HP C Compiler
6742 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6743 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6744 # This bug is HP SR number 8606223364.
6745 if test "$cross_compiling" = yes; then
6746 # Depending upon the size, compute the lo and hi bounds.
6747 cat >conftest.
$ac_ext <<_ACEOF
6748 #line $LINENO "configure"
6749 #include "confdefs.h"
6750 $ac_includes_default
6751 #ifdef F77_DUMMY_MAIN
6755 int F77_DUMMY_MAIN() { return 1; }
6760 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6767 rm -f conftest.
$ac_objext
6768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6769 (eval $ac_compile) 2>&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } &&
6773 { ac_try
='test -s conftest.$ac_objext'
6774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); }; }; then
6781 cat >conftest.
$ac_ext <<_ACEOF
6782 #line $LINENO "configure"
6783 #include "confdefs.h"
6784 $ac_includes_default
6785 #ifdef F77_DUMMY_MAIN
6789 int F77_DUMMY_MAIN() { return 1; }
6794 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6801 rm -f conftest.
$ac_objext
6802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6803 (eval $ac_compile) 2>&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); } &&
6807 { ac_try
='test -s conftest.$ac_objext'
6808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); }; }; then
6813 ac_hi
=$ac_mid; break
6815 echo "$as_me: failed program was:" >&5
6816 cat conftest.
$ac_ext >&5
6817 ac_lo
=`expr $ac_mid + 1`
6818 if test $ac_lo -le $ac_mid; then
6822 ac_mid
=`expr 2 '*' $ac_mid + 1`
6824 rm -f conftest.
$ac_objext conftest.
$ac_ext
6827 echo "$as_me: failed program was:" >&5
6828 cat conftest.
$ac_ext >&5
6829 cat >conftest.
$ac_ext <<_ACEOF
6830 #line $LINENO "configure"
6831 #include "confdefs.h"
6832 $ac_includes_default
6833 #ifdef F77_DUMMY_MAIN
6837 int F77_DUMMY_MAIN() { return 1; }
6842 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6849 rm -f conftest.
$ac_objext
6850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6851 (eval $ac_compile) 2>&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); } &&
6855 { ac_try
='test -s conftest.$ac_objext'
6856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6860 (exit $ac_status); }; }; then
6863 cat >conftest.
$ac_ext <<_ACEOF
6864 #line $LINENO "configure"
6865 #include "confdefs.h"
6866 $ac_includes_default
6867 #ifdef F77_DUMMY_MAIN
6871 int F77_DUMMY_MAIN() { return 1; }
6876 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6883 rm -f conftest.
$ac_objext
6884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6885 (eval $ac_compile) 2>&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); } &&
6889 { ac_try
='test -s conftest.$ac_objext'
6890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; }; then
6895 ac_lo
=$ac_mid; break
6897 echo "$as_me: failed program was:" >&5
6898 cat conftest.
$ac_ext >&5
6899 ac_hi
=`expr '(' $ac_mid ')' - 1`
6900 if test $ac_mid -le $ac_hi; then
6904 ac_mid
=`expr 2 '*' $ac_mid`
6906 rm -f conftest.
$ac_objext conftest.
$ac_ext
6909 echo "$as_me: failed program was:" >&5
6910 cat conftest.
$ac_ext >&5
6913 rm -f conftest.
$ac_objext conftest.
$ac_ext
6915 rm -f conftest.
$ac_objext conftest.
$ac_ext
6916 # Binary search between lo and hi bounds.
6917 while test "x$ac_lo" != "x$ac_hi"; do
6918 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6919 cat >conftest.
$ac_ext <<_ACEOF
6920 #line $LINENO "configure"
6921 #include "confdefs.h"
6922 $ac_includes_default
6923 #ifdef F77_DUMMY_MAIN
6927 int F77_DUMMY_MAIN() { return 1; }
6932 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6939 rm -f conftest.
$ac_objext
6940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6941 (eval $ac_compile) 2>&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); } &&
6945 { ac_try
='test -s conftest.$ac_objext'
6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); }; }; then
6953 echo "$as_me: failed program was:" >&5
6954 cat conftest.
$ac_ext >&5
6955 ac_lo
=`expr '(' $ac_mid ')' + 1`
6957 rm -f conftest.
$ac_objext conftest.
$ac_ext
6960 ?
*) ac_cv_sizeof_long
=$ac_lo;;
6961 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
6962 echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
6963 { (exit 1); exit 1; }; } ;;
6966 if test "$cross_compiling" = yes; then
6967 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6968 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6969 { (exit 1); exit 1; }; }
6971 cat >conftest.
$ac_ext <<_ACEOF
6972 #line $LINENO "configure"
6973 #include "confdefs.h"
6974 $ac_includes_default
6975 long longval () { return (long) (sizeof (long)); }
6976 unsigned long ulongval () { return (long) (sizeof (long)); }
6979 #ifdef F77_DUMMY_MAIN
6983 int F77_DUMMY_MAIN() { return 1; }
6989 FILE *f = fopen ("conftest.val", "w");
6992 if (((long) (sizeof (long))) < 0)
6994 long i = longval ();
6995 if (i != ((long) (sizeof (long))))
6997 fprintf (f, "%ld\n", i);
7001 unsigned long i = ulongval ();
7002 if (i != ((long) (sizeof (long))))
7004 fprintf (f, "%lu\n", i);
7006 exit (ferror (f) || fclose (f) != 0);
7012 rm -f conftest
$ac_exeext
7013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7014 (eval $ac_link) 2>&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022 (exit $ac_status); }; }; then
7023 ac_cv_sizeof_long
=`cat conftest.val`
7025 echo "$as_me: program exited with status $ac_status" >&5
7026 echo "$as_me: failed program was:" >&5
7027 cat conftest.
$ac_ext >&5
7029 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
7030 echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
7031 { (exit 1); exit 1; }; }
7033 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7041 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7042 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7043 cat >>confdefs.h
<<_ACEOF
7044 #define SIZEOF_LONG $ac_cv_sizeof_long
7048 echo "$as_me:$LINENO: checking for short" >&5
7049 echo $ECHO_N "checking for short... $ECHO_C" >&6
7050 if test "${ac_cv_type_short+set}" = set; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7053 cat >conftest.
$ac_ext <<_ACEOF
7054 #line $LINENO "configure"
7055 #include "confdefs.h"
7056 $ac_includes_default
7057 #ifdef F77_DUMMY_MAIN
7061 int F77_DUMMY_MAIN() { return 1; }
7074 rm -f conftest.
$ac_objext
7075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7076 (eval $ac_compile) 2>&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); } &&
7080 { ac_try
='test -s conftest.$ac_objext'
7081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); }; }; then
7086 ac_cv_type_short
=yes
7088 echo "$as_me: failed program was:" >&5
7089 cat conftest.
$ac_ext >&5
7092 rm -f conftest.
$ac_objext conftest.
$ac_ext
7094 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
7095 echo "${ECHO_T}$ac_cv_type_short" >&6
7097 echo "$as_me:$LINENO: checking size of short" >&5
7098 echo $ECHO_N "checking size of short... $ECHO_C" >&6
7099 if test "${ac_cv_sizeof_short+set}" = set; then
7100 echo $ECHO_N "(cached) $ECHO_C" >&6
7102 if test "$ac_cv_type_short" = yes; then
7103 # The cast to unsigned long works around a bug in the HP C Compiler
7104 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7105 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7106 # This bug is HP SR number 8606223364.
7107 if test "$cross_compiling" = yes; then
7108 # Depending upon the size, compute the lo and hi bounds.
7109 cat >conftest.
$ac_ext <<_ACEOF
7110 #line $LINENO "configure"
7111 #include "confdefs.h"
7112 $ac_includes_default
7113 #ifdef F77_DUMMY_MAIN
7117 int F77_DUMMY_MAIN() { return 1; }
7122 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
7129 rm -f conftest.
$ac_objext
7130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7131 (eval $ac_compile) 2>&5
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); } &&
7135 { ac_try
='test -s conftest.$ac_objext'
7136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); }; }; then
7143 cat >conftest.
$ac_ext <<_ACEOF
7144 #line $LINENO "configure"
7145 #include "confdefs.h"
7146 $ac_includes_default
7147 #ifdef F77_DUMMY_MAIN
7151 int F77_DUMMY_MAIN() { return 1; }
7156 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
7163 rm -f conftest.
$ac_objext
7164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7165 (eval $ac_compile) 2>&5
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); } &&
7169 { ac_try
='test -s conftest.$ac_objext'
7170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); }; }; then
7175 ac_hi
=$ac_mid; break
7177 echo "$as_me: failed program was:" >&5
7178 cat conftest.
$ac_ext >&5
7179 ac_lo
=`expr $ac_mid + 1`
7180 if test $ac_lo -le $ac_mid; then
7184 ac_mid
=`expr 2 '*' $ac_mid + 1`
7186 rm -f conftest.
$ac_objext conftest.
$ac_ext
7189 echo "$as_me: failed program was:" >&5
7190 cat conftest.
$ac_ext >&5
7191 cat >conftest.
$ac_ext <<_ACEOF
7192 #line $LINENO "configure"
7193 #include "confdefs.h"
7194 $ac_includes_default
7195 #ifdef F77_DUMMY_MAIN
7199 int F77_DUMMY_MAIN() { return 1; }
7204 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
7211 rm -f conftest.
$ac_objext
7212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7213 (eval $ac_compile) 2>&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); } &&
7217 { ac_try
='test -s conftest.$ac_objext'
7218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }; }; then
7225 cat >conftest.
$ac_ext <<_ACEOF
7226 #line $LINENO "configure"
7227 #include "confdefs.h"
7228 $ac_includes_default
7229 #ifdef F77_DUMMY_MAIN
7233 int F77_DUMMY_MAIN() { return 1; }
7238 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
7245 rm -f conftest.
$ac_objext
7246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7247 (eval $ac_compile) 2>&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); } &&
7251 { ac_try
='test -s conftest.$ac_objext'
7252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; }; then
7257 ac_lo
=$ac_mid; break
7259 echo "$as_me: failed program was:" >&5
7260 cat conftest.
$ac_ext >&5
7261 ac_hi
=`expr '(' $ac_mid ')' - 1`
7262 if test $ac_mid -le $ac_hi; then
7266 ac_mid
=`expr 2 '*' $ac_mid`
7268 rm -f conftest.
$ac_objext conftest.
$ac_ext
7271 echo "$as_me: failed program was:" >&5
7272 cat conftest.
$ac_ext >&5
7275 rm -f conftest.
$ac_objext conftest.
$ac_ext
7277 rm -f conftest.
$ac_objext conftest.
$ac_ext
7278 # Binary search between lo and hi bounds.
7279 while test "x$ac_lo" != "x$ac_hi"; do
7280 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7281 cat >conftest.
$ac_ext <<_ACEOF
7282 #line $LINENO "configure"
7283 #include "confdefs.h"
7284 $ac_includes_default
7285 #ifdef F77_DUMMY_MAIN
7289 int F77_DUMMY_MAIN() { return 1; }
7294 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
7301 rm -f conftest.
$ac_objext
7302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7303 (eval $ac_compile) 2>&5
7305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306 (exit $ac_status); } &&
7307 { ac_try
='test -s conftest.$ac_objext'
7308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7312 (exit $ac_status); }; }; then
7315 echo "$as_me: failed program was:" >&5
7316 cat conftest.
$ac_ext >&5
7317 ac_lo
=`expr '(' $ac_mid ')' + 1`
7319 rm -f conftest.
$ac_objext conftest.
$ac_ext
7322 ?
*) ac_cv_sizeof_short
=$ac_lo;;
7323 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
7324 echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
7325 { (exit 1); exit 1; }; } ;;
7328 if test "$cross_compiling" = yes; then
7329 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
7330 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7331 { (exit 1); exit 1; }; }
7333 cat >conftest.
$ac_ext <<_ACEOF
7334 #line $LINENO "configure"
7335 #include "confdefs.h"
7336 $ac_includes_default
7337 long longval () { return (long) (sizeof (short)); }
7338 unsigned long ulongval () { return (long) (sizeof (short)); }
7341 #ifdef F77_DUMMY_MAIN
7345 int F77_DUMMY_MAIN() { return 1; }
7351 FILE *f = fopen ("conftest.val", "w");
7354 if (((long) (sizeof (short))) < 0)
7356 long i = longval ();
7357 if (i != ((long) (sizeof (short))))
7359 fprintf (f, "%ld\n", i);
7363 unsigned long i = ulongval ();
7364 if (i != ((long) (sizeof (short))))
7366 fprintf (f, "%lu\n", i);
7368 exit (ferror (f) || fclose (f) != 0);
7374 rm -f conftest
$ac_exeext
7375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7376 (eval $ac_link) 2>&5
7378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7379 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7385 ac_cv_sizeof_short
=`cat conftest.val`
7387 echo "$as_me: program exited with status $ac_status" >&5
7388 echo "$as_me: failed program was:" >&5
7389 cat conftest.
$ac_ext >&5
7391 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
7392 echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
7393 { (exit 1); exit 1; }; }
7395 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7400 ac_cv_sizeof_short
=0
7403 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
7404 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
7405 cat >>confdefs.h
<<_ACEOF
7406 #define SIZEOF_SHORT $ac_cv_sizeof_short
7411 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7412 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7413 if test "${ac_cv_c_const+set}" = set; then
7414 echo $ECHO_N "(cached) $ECHO_C" >&6
7416 cat >conftest.
$ac_ext <<_ACEOF
7417 #line $LINENO "configure"
7418 #include "confdefs.h"
7420 #ifdef F77_DUMMY_MAIN
7424 int F77_DUMMY_MAIN() { return 1; }
7429 /* FIXME: Include the comments suggested by Paul. */
7431 /* Ultrix mips cc rejects this. */
7432 typedef int charset[2];
7434 /* SunOS 4.1.1 cc rejects this. */
7435 char const *const *ccp;
7437 /* NEC SVR4.0.2 mips cc rejects this. */
7438 struct point {int x, y;};
7439 static struct point const zero = {0,0};
7440 /* AIX XL C 1.02.0.0 rejects this.
7441 It does not let you subtract one const X* pointer from another in
7442 an arm of an if-expression whose if-part is not a constant
7444 const char *g = "string";
7445 ccp = &g + (g ? g-g : 0);
7446 /* HPUX 7.0 cc rejects these. */
7449 ccp = (char const *const *) p;
7450 { /* SCO 3.2v4 cc rejects this. */
7452 char const *s = 0 ? (char *) 0 : (char const *) 0;
7456 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7458 const int *foo = &x[0];
7461 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7462 typedef const int *iptr;
7466 { /* AIX XL C 1.02.0.0 rejects this saying
7467 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7468 struct s { int j; const int *ap[3]; };
7469 struct s *b; b->j = 5;
7471 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7480 rm -f conftest.
$ac_objext
7481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7482 (eval $ac_compile) 2>&5
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } &&
7486 { ac_try
='test -s conftest.$ac_objext'
7487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 (exit $ac_status); }; }; then
7494 echo "$as_me: failed program was:" >&5
7495 cat conftest.
$ac_ext >&5
7498 rm -f conftest.
$ac_objext conftest.
$ac_ext
7500 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7501 echo "${ECHO_T}$ac_cv_c_const" >&6
7502 if test $ac_cv_c_const = no
; then
7504 cat >>confdefs.h
<<\_ACEOF
7510 echo "$as_me:$LINENO: checking for inline" >&5
7511 echo $ECHO_N "checking for inline... $ECHO_C" >&6
7512 if test "${ac_cv_c_inline+set}" = set; then
7513 echo $ECHO_N "(cached) $ECHO_C" >&6
7516 for ac_kw
in inline __inline__ __inline
; do
7517 cat >conftest.
$ac_ext <<_ACEOF
7518 #line $LINENO "configure"
7519 #include "confdefs.h"
7521 static $ac_kw int static_foo () {return 0; }
7522 $ac_kw int foo () {return 0; }
7526 rm -f conftest.
$ac_objext
7527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7528 (eval $ac_compile) 2>&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try
='test -s conftest.$ac_objext'
7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); }; }; then
7538 ac_cv_c_inline
=$ac_kw; break
7540 echo "$as_me: failed program was:" >&5
7541 cat conftest.
$ac_ext >&5
7543 rm -f conftest.
$ac_objext conftest.
$ac_ext
7547 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7548 echo "${ECHO_T}$ac_cv_c_inline" >&6
7549 case $ac_cv_c_inline in
7552 cat >>confdefs.h
<<\_ACEOF
7556 *) cat >>confdefs.h
<<_ACEOF
7557 #define inline $ac_cv_c_inline
7562 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7563 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7564 if test "${ac_cv_c_bigendian+set}" = set; then
7565 echo $ECHO_N "(cached) $ECHO_C" >&6
7567 # See if sys/param.h defines the BYTE_ORDER macro.
7568 cat >conftest.
$ac_ext <<_ACEOF
7569 #line $LINENO "configure"
7570 #include "confdefs.h"
7571 #include <sys/types.h>
7572 #include <sys/param.h>
7574 #ifdef F77_DUMMY_MAIN
7578 int F77_DUMMY_MAIN() { return 1; }
7583 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7591 rm -f conftest.
$ac_objext
7592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7593 (eval $ac_compile) 2>&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); } &&
7597 { ac_try
='test -s conftest.$ac_objext'
7598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); }; }; then
7603 # It does; now see whether it defined to BIG_ENDIAN or not.
7604 cat >conftest.
$ac_ext <<_ACEOF
7605 #line $LINENO "configure"
7606 #include "confdefs.h"
7607 #include <sys/types.h>
7608 #include <sys/param.h>
7610 #ifdef F77_DUMMY_MAIN
7614 int F77_DUMMY_MAIN() { return 1; }
7619 #if BYTE_ORDER != BIG_ENDIAN
7627 rm -f conftest.
$ac_objext
7628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7629 (eval $ac_compile) 2>&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); } &&
7633 { ac_try
='test -s conftest.$ac_objext'
7634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); }; }; then
7639 ac_cv_c_bigendian
=yes
7641 echo "$as_me: failed program was:" >&5
7642 cat conftest.
$ac_ext >&5
7643 ac_cv_c_bigendian
=no
7645 rm -f conftest.
$ac_objext conftest.
$ac_ext
7647 echo "$as_me: failed program was:" >&5
7648 cat conftest.
$ac_ext >&5
7649 # It does not; compile a test program.
7650 if test "$cross_compiling" = yes; then
7651 # try to guess the endianess by grep'ing values into an object file
7652 ac_cv_c_bigendian
=unknown
7653 cat >conftest.
$ac_ext <<_ACEOF
7654 #line $LINENO "configure"
7655 #include "confdefs.h"
7656 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7657 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7658 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
7659 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7660 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7661 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
7662 #ifdef F77_DUMMY_MAIN
7666 int F77_DUMMY_MAIN() { return 1; }
7671 _ascii (); _ebcdic ();
7676 rm -f conftest.
$ac_objext
7677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7678 (eval $ac_compile) 2>&5
7680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); } &&
7682 { ac_try
='test -s conftest.$ac_objext'
7683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); }; }; then
7688 if fgrep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
7689 ac_cv_c_bigendian
=yes
7691 if fgrep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
7692 if test "$ac_cv_c_bigendian" = unknown
; then
7693 ac_cv_c_bigendian
=no
7695 # finding both strings is unlikely to happen, but who knows?
7696 ac_cv_c_bigendian
=unknown
7700 echo "$as_me: failed program was:" >&5
7701 cat conftest.
$ac_ext >&5
7703 rm -f conftest.
$ac_objext conftest.
$ac_ext
7705 cat >conftest.
$ac_ext <<_ACEOF
7706 #line $LINENO "configure"
7707 #include "confdefs.h"
7711 /* Are we little or big endian? From Harbison&Steele. */
7715 char c[sizeof (long)];
7718 exit (u.c[sizeof (long) - 1] == 1);
7721 rm -f conftest
$ac_exeext
7722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7723 (eval $ac_link) 2>&5
7725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); }; }; then
7732 ac_cv_c_bigendian
=no
7734 echo "$as_me: program exited with status $ac_status" >&5
7735 echo "$as_me: failed program was:" >&5
7736 cat conftest.
$ac_ext >&5
7738 ac_cv_c_bigendian
=yes
7740 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7743 rm -f conftest.
$ac_objext conftest.
$ac_ext
7745 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7746 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7747 case $ac_cv_c_bigendian in
7750 cat >>confdefs.h
<<\_ACEOF
7751 #define WORDS_BIGENDIAN 1
7757 { { echo "$as_me:$LINENO: error: unknown endianess
7758 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
7759 echo "$as_me: error: unknown endianess
7760 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
7761 { (exit 1); exit 1; }; } ;;
7765 echo "$as_me:$LINENO: checking whether char is unsigned" >&5
7766 echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
7767 if test "${ac_cv_c_char_unsigned+set}" = set; then
7768 echo $ECHO_N "(cached) $ECHO_C" >&6
7770 cat >conftest.
$ac_ext <<_ACEOF
7771 #line $LINENO "configure"
7772 #include "confdefs.h"
7773 $ac_includes_default
7774 #ifdef F77_DUMMY_MAIN
7778 int F77_DUMMY_MAIN() { return 1; }
7783 static int test_array [1 - 2 * !(((char) -1) < 0)];
7790 rm -f conftest.
$ac_objext
7791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7792 (eval $ac_compile) 2>&5
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); } &&
7796 { ac_try
='test -s conftest.$ac_objext'
7797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); }; }; then
7802 ac_cv_c_char_unsigned
=no
7804 echo "$as_me: failed program was:" >&5
7805 cat conftest.
$ac_ext >&5
7806 ac_cv_c_char_unsigned
=yes
7808 rm -f conftest.
$ac_objext conftest.
$ac_ext
7810 echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
7811 echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
7812 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
7813 cat >>confdefs.h
<<\_ACEOF
7814 #define __CHAR_UNSIGNED__ 1
7820 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7821 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7822 if test "${ac_cv_type_signal+set}" = set; then
7823 echo $ECHO_N "(cached) $ECHO_C" >&6
7825 cat >conftest.
$ac_ext <<_ACEOF
7826 #line $LINENO "configure"
7827 #include "confdefs.h"
7828 #include <sys/types.h>
7834 extern "C" void (*signal (int, void (*)(int)))(int);
7836 void (*signal ()) ();
7839 #ifdef F77_DUMMY_MAIN
7843 int F77_DUMMY_MAIN() { return 1; }
7853 rm -f conftest.
$ac_objext
7854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7855 (eval $ac_compile) 2>&5
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); } &&
7859 { ac_try
='test -s conftest.$ac_objext'
7860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); }; }; then
7865 ac_cv_type_signal
=void
7867 echo "$as_me: failed program was:" >&5
7868 cat conftest.
$ac_ext >&5
7869 ac_cv_type_signal
=int
7871 rm -f conftest.
$ac_objext conftest.
$ac_ext
7873 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7874 echo "${ECHO_T}$ac_cv_type_signal" >&6
7876 cat >>confdefs.h
<<_ACEOF
7877 #define RETSIGTYPE $ac_cv_type_signal
7881 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7882 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
7883 if test "${ac_cv_type_uid_t+set}" = set; then
7884 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 cat >conftest.
$ac_ext <<_ACEOF
7887 #line $LINENO "configure"
7888 #include "confdefs.h"
7889 #include <sys/types.h>
7892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7893 egrep "uid_t" >/dev
/null
2>&1; then
7894 ac_cv_type_uid_t
=yes
7901 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7902 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
7903 if test $ac_cv_type_uid_t = no
; then
7905 cat >>confdefs.h
<<\_ACEOF
7910 cat >>confdefs.h
<<\_ACEOF
7916 echo "$as_me:$LINENO: checking for mode_t" >&5
7917 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
7918 if test "${ac_cv_type_mode_t+set}" = set; then
7919 echo $ECHO_N "(cached) $ECHO_C" >&6
7921 cat >conftest.
$ac_ext <<_ACEOF
7922 #line $LINENO "configure"
7923 #include "confdefs.h"
7924 $ac_includes_default
7925 #ifdef F77_DUMMY_MAIN
7929 int F77_DUMMY_MAIN() { return 1; }
7936 if (sizeof (mode_t))
7942 rm -f conftest.
$ac_objext
7943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7944 (eval $ac_compile) 2>&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); } &&
7948 { ac_try
='test -s conftest.$ac_objext'
7949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); }; }; then
7954 ac_cv_type_mode_t
=yes
7956 echo "$as_me: failed program was:" >&5
7957 cat conftest.
$ac_ext >&5
7958 ac_cv_type_mode_t
=no
7960 rm -f conftest.
$ac_objext conftest.
$ac_ext
7962 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
7963 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
7964 if test $ac_cv_type_mode_t = yes; then
7968 cat >>confdefs.h
<<_ACEOF
7974 echo "$as_me:$LINENO: checking for off_t" >&5
7975 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
7976 if test "${ac_cv_type_off_t+set}" = set; then
7977 echo $ECHO_N "(cached) $ECHO_C" >&6
7979 cat >conftest.
$ac_ext <<_ACEOF
7980 #line $LINENO "configure"
7981 #include "confdefs.h"
7982 $ac_includes_default
7983 #ifdef F77_DUMMY_MAIN
7987 int F77_DUMMY_MAIN() { return 1; }
8000 rm -f conftest.
$ac_objext
8001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8002 (eval $ac_compile) 2>&5
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); } &&
8006 { ac_try
='test -s conftest.$ac_objext'
8007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); }; }; then
8012 ac_cv_type_off_t
=yes
8014 echo "$as_me: failed program was:" >&5
8015 cat conftest.
$ac_ext >&5
8018 rm -f conftest.
$ac_objext conftest.
$ac_ext
8020 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
8021 echo "${ECHO_T}$ac_cv_type_off_t" >&6
8022 if test $ac_cv_type_off_t = yes; then
8026 cat >>confdefs.h
<<_ACEOF
8032 echo "$as_me:$LINENO: checking for size_t" >&5
8033 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8034 if test "${ac_cv_type_size_t+set}" = set; then
8035 echo $ECHO_N "(cached) $ECHO_C" >&6
8037 cat >conftest.
$ac_ext <<_ACEOF
8038 #line $LINENO "configure"
8039 #include "confdefs.h"
8040 $ac_includes_default
8041 #ifdef F77_DUMMY_MAIN
8045 int F77_DUMMY_MAIN() { return 1; }
8052 if (sizeof (size_t))
8058 rm -f conftest.
$ac_objext
8059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8060 (eval $ac_compile) 2>&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); } &&
8064 { ac_try
='test -s conftest.$ac_objext'
8065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }; }; then
8070 ac_cv_type_size_t
=yes
8072 echo "$as_me: failed program was:" >&5
8073 cat conftest.
$ac_ext >&5
8074 ac_cv_type_size_t
=no
8076 rm -f conftest.
$ac_objext conftest.
$ac_ext
8078 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8079 echo "${ECHO_T}$ac_cv_type_size_t" >&6
8080 if test $ac_cv_type_size_t = yes; then
8084 cat >>confdefs.h
<<_ACEOF
8085 #define size_t unsigned
8090 echo "$as_me:$LINENO: checking for pid_t" >&5
8091 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
8092 if test "${ac_cv_type_pid_t+set}" = set; then
8093 echo $ECHO_N "(cached) $ECHO_C" >&6
8095 cat >conftest.
$ac_ext <<_ACEOF
8096 #line $LINENO "configure"
8097 #include "confdefs.h"
8098 $ac_includes_default
8099 #ifdef F77_DUMMY_MAIN
8103 int F77_DUMMY_MAIN() { return 1; }
8116 rm -f conftest.
$ac_objext
8117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8118 (eval $ac_compile) 2>&5
8120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 (exit $ac_status); } &&
8122 { ac_try
='test -s conftest.$ac_objext'
8123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; }; then
8128 ac_cv_type_pid_t
=yes
8130 echo "$as_me: failed program was:" >&5
8131 cat conftest.
$ac_ext >&5
8134 rm -f conftest.
$ac_objext conftest.
$ac_ext
8136 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
8137 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
8138 if test $ac_cv_type_pid_t = yes; then
8142 cat >>confdefs.h
<<_ACEOF
8149 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
8150 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
8151 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
8152 echo $ECHO_N "(cached) $ECHO_C" >&6
8154 cat >conftest.
$ac_ext <<_ACEOF
8155 #line $LINENO "configure"
8156 #include "confdefs.h"
8157 $ac_includes_default
8158 #ifdef F77_DUMMY_MAIN
8162 int F77_DUMMY_MAIN() { return 1; }
8167 static struct stat ac_aggr;
8168 if (ac_aggr.st_rdev)
8174 rm -f conftest.
$ac_objext
8175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8176 (eval $ac_compile) 2>&5
8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8179 (exit $ac_status); } &&
8180 { ac_try
='test -s conftest.$ac_objext'
8181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); }; }; then
8186 ac_cv_member_struct_stat_st_rdev
=yes
8188 echo "$as_me: failed program was:" >&5
8189 cat conftest.
$ac_ext >&5
8190 ac_cv_member_struct_stat_st_rdev
=no
8192 rm -f conftest.
$ac_objext conftest.
$ac_ext
8194 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
8195 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
8196 if test $ac_cv_member_struct_stat_st_rdev = yes; then
8198 cat >>confdefs.h
<<_ACEOF
8199 #define HAVE_STRUCT_STAT_ST_RDEV 1
8203 cat >>confdefs.h
<<\_ACEOF
8204 #define HAVE_ST_RDEV 1
8210 echo "$as_me:$LINENO: checking for d_off in dirent" >&5
8211 echo $ECHO_N "checking for d_off in dirent... $ECHO_C" >&6
8212 if test "${ac_cv_dirent_d_off+set}" = set; then
8213 echo $ECHO_N "(cached) $ECHO_C" >&6
8215 cat >conftest.
$ac_ext <<_ACEOF
8216 #line $LINENO "configure"
8217 #include "confdefs.h"
8220 #include <sys/types.h>
8222 #ifdef F77_DUMMY_MAIN
8226 int F77_DUMMY_MAIN() { return 1; }
8231 struct dirent d; d.d_off;
8236 rm -f conftest.
$ac_objext
8237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8238 (eval $ac_compile) 2>&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); } &&
8242 { ac_try
='test -s conftest.$ac_objext'
8243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); }; }; then
8248 ac_cv_dirent_d_off
=yes
8250 echo "$as_me: failed program was:" >&5
8251 cat conftest.
$ac_ext >&5
8252 ac_cv_dirent_d_off
=no
8254 rm -f conftest.
$ac_objext conftest.
$ac_ext
8256 echo "$as_me:$LINENO: result: $ac_cv_dirent_d_off" >&5
8257 echo "${ECHO_T}$ac_cv_dirent_d_off" >&6
8258 if test $ac_cv_dirent_d_off = yes; then
8260 cat >>confdefs.h
<<\_ACEOF
8261 #define HAVE_DIRENT_D_OFF 1
8266 echo "$as_me:$LINENO: checking for ino_t" >&5
8267 echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
8268 if test "${ac_cv_type_ino_t+set}" = set; then
8269 echo $ECHO_N "(cached) $ECHO_C" >&6
8271 cat >conftest.
$ac_ext <<_ACEOF
8272 #line $LINENO "configure"
8273 #include "confdefs.h"
8274 $ac_includes_default
8275 #ifdef F77_DUMMY_MAIN
8279 int F77_DUMMY_MAIN() { return 1; }
8292 rm -f conftest.
$ac_objext
8293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8294 (eval $ac_compile) 2>&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); } &&
8298 { ac_try
='test -s conftest.$ac_objext'
8299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; }; then
8304 ac_cv_type_ino_t
=yes
8306 echo "$as_me: failed program was:" >&5
8307 cat conftest.
$ac_ext >&5
8310 rm -f conftest.
$ac_objext conftest.
$ac_ext
8312 echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
8313 echo "${ECHO_T}$ac_cv_type_ino_t" >&6
8314 if test $ac_cv_type_ino_t = yes; then
8318 cat >>confdefs.h
<<_ACEOF
8319 #define ino_t unsigned
8324 echo "$as_me:$LINENO: checking for loff_t" >&5
8325 echo $ECHO_N "checking for loff_t... $ECHO_C" >&6
8326 if test "${ac_cv_type_loff_t+set}" = set; then
8327 echo $ECHO_N "(cached) $ECHO_C" >&6
8329 cat >conftest.
$ac_ext <<_ACEOF
8330 #line $LINENO "configure"
8331 #include "confdefs.h"
8332 $ac_includes_default
8333 #ifdef F77_DUMMY_MAIN
8337 int F77_DUMMY_MAIN() { return 1; }
8344 if (sizeof (loff_t))
8350 rm -f conftest.
$ac_objext
8351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8352 (eval $ac_compile) 2>&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); } &&
8356 { ac_try
='test -s conftest.$ac_objext'
8357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); }; }; then
8362 ac_cv_type_loff_t
=yes
8364 echo "$as_me: failed program was:" >&5
8365 cat conftest.
$ac_ext >&5
8366 ac_cv_type_loff_t
=no
8368 rm -f conftest.
$ac_objext conftest.
$ac_ext
8370 echo "$as_me:$LINENO: result: $ac_cv_type_loff_t" >&5
8371 echo "${ECHO_T}$ac_cv_type_loff_t" >&6
8372 if test $ac_cv_type_loff_t = yes; then
8376 cat >>confdefs.h
<<_ACEOF
8377 #define loff_t off_t
8382 echo "$as_me:$LINENO: checking for offset_t" >&5
8383 echo $ECHO_N "checking for offset_t... $ECHO_C" >&6
8384 if test "${ac_cv_type_offset_t+set}" = set; then
8385 echo $ECHO_N "(cached) $ECHO_C" >&6
8387 cat >conftest.
$ac_ext <<_ACEOF
8388 #line $LINENO "configure"
8389 #include "confdefs.h"
8390 $ac_includes_default
8391 #ifdef F77_DUMMY_MAIN
8395 int F77_DUMMY_MAIN() { return 1; }
8402 if (sizeof (offset_t))
8408 rm -f conftest.
$ac_objext
8409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8410 (eval $ac_compile) 2>&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); } &&
8414 { ac_try
='test -s conftest.$ac_objext'
8415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); }; }; then
8420 ac_cv_type_offset_t
=yes
8422 echo "$as_me: failed program was:" >&5
8423 cat conftest.
$ac_ext >&5
8424 ac_cv_type_offset_t
=no
8426 rm -f conftest.
$ac_objext conftest.
$ac_ext
8428 echo "$as_me:$LINENO: result: $ac_cv_type_offset_t" >&5
8429 echo "${ECHO_T}$ac_cv_type_offset_t" >&6
8430 if test $ac_cv_type_offset_t = yes; then
8434 cat >>confdefs.h
<<_ACEOF
8435 #define offset_t loff_t
8440 echo "$as_me:$LINENO: checking for ssize_t" >&5
8441 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
8442 if test "${ac_cv_type_ssize_t+set}" = set; then
8443 echo $ECHO_N "(cached) $ECHO_C" >&6
8445 cat >conftest.
$ac_ext <<_ACEOF
8446 #line $LINENO "configure"
8447 #include "confdefs.h"
8448 $ac_includes_default
8449 #ifdef F77_DUMMY_MAIN
8453 int F77_DUMMY_MAIN() { return 1; }
8460 if (sizeof (ssize_t))
8466 rm -f conftest.
$ac_objext
8467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8468 (eval $ac_compile) 2>&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); } &&
8472 { ac_try
='test -s conftest.$ac_objext'
8473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); }; }; then
8478 ac_cv_type_ssize_t
=yes
8480 echo "$as_me: failed program was:" >&5
8481 cat conftest.
$ac_ext >&5
8482 ac_cv_type_ssize_t
=no
8484 rm -f conftest.
$ac_objext conftest.
$ac_ext
8486 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
8487 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
8488 if test $ac_cv_type_ssize_t = yes; then
8492 cat >>confdefs.h
<<_ACEOF
8498 echo "$as_me:$LINENO: checking for wchar_t" >&5
8499 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
8500 if test "${ac_cv_type_wchar_t+set}" = set; then
8501 echo $ECHO_N "(cached) $ECHO_C" >&6
8503 cat >conftest.
$ac_ext <<_ACEOF
8504 #line $LINENO "configure"
8505 #include "confdefs.h"
8506 $ac_includes_default
8507 #ifdef F77_DUMMY_MAIN
8511 int F77_DUMMY_MAIN() { return 1; }
8518 if (sizeof (wchar_t))
8524 rm -f conftest.
$ac_objext
8525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8526 (eval $ac_compile) 2>&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); } &&
8530 { ac_try
='test -s conftest.$ac_objext'
8531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); }; }; then
8536 ac_cv_type_wchar_t
=yes
8538 echo "$as_me: failed program was:" >&5
8539 cat conftest.
$ac_ext >&5
8540 ac_cv_type_wchar_t
=no
8542 rm -f conftest.
$ac_objext conftest.
$ac_ext
8544 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
8545 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
8546 if test $ac_cv_type_wchar_t = yes; then
8550 cat >>confdefs.h
<<_ACEOF
8551 #define wchar_t unsigned short
8557 ############################################
8558 # for cups support we need libcups, and a handful of header files
8560 # Check whether --enable-cups or --disable-cups was given.
8561 if test "${enable_cups+set}" = set; then
8562 enableval
="$enable_cups"
8566 if test x
$enable_cups != xno
; then
8567 # Extract the first word of "cups-config", so it can be a program name with args.
8568 set dummy cups-config
; ac_word
=$2
8569 echo "$as_me:$LINENO: checking for $ac_word" >&5
8570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8571 if test "${ac_cv_path_CUPS_CONFIG+set}" = set; then
8572 echo $ECHO_N "(cached) $ECHO_C" >&6
8574 case $CUPS_CONFIG in
8576 ac_cv_path_CUPS_CONFIG
="$CUPS_CONFIG" # Let the user override the test with a path.
8579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8583 test -z "$as_dir" && as_dir
=.
8584 for ac_exec_ext
in '' $ac_executable_extensions; do
8585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8586 ac_cv_path_CUPS_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8596 CUPS_CONFIG
=$ac_cv_path_CUPS_CONFIG
8598 if test -n "$CUPS_CONFIG"; then
8599 echo "$as_me:$LINENO: result: $CUPS_CONFIG" >&5
8600 echo "${ECHO_T}$CUPS_CONFIG" >&6
8602 echo "$as_me:$LINENO: result: no" >&5
8603 echo "${ECHO_T}no" >&6
8607 if test "x$CUPS_CONFIG" != x
; then
8609 cat >>confdefs.h
<<\_ACEOF
8613 CFLAGS
="$CFLAGS `$CUPS_CONFIG --cflags`"
8614 LDFLAGS
="$LDFLAGS `$CUPS_CONFIG --ldflags`"
8615 PRINTLIBS
="$PRINTLIBS `$CUPS_CONFIG --libs`"
8619 ############################################
8620 # we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the plugin loading code
8621 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
8622 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
8623 if test "${ac_cv_search_dlopen+set}" = set; then
8624 echo $ECHO_N "(cached) $ECHO_C" >&6
8626 ac_func_search_save_LIBS
=$LIBS
8627 ac_cv_search_dlopen
=no
8628 cat >conftest.
$ac_ext <<_ACEOF
8629 #line $LINENO "configure"
8630 #include "confdefs.h"
8632 /* Override any gcc2 internal prototype to avoid an error. */
8636 /* We use char because int might match the return type of a gcc2
8637 builtin and then its argument prototype would still apply. */
8639 #ifdef F77_DUMMY_MAIN
8643 int F77_DUMMY_MAIN() { return 1; }
8653 rm -f conftest.
$ac_objext conftest
$ac_exeext
8654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8655 (eval $ac_link) 2>&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); } &&
8659 { ac_try
='test -s conftest$ac_exeext'
8660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8664 (exit $ac_status); }; }; then
8665 ac_cv_search_dlopen
="none required"
8667 echo "$as_me: failed program was:" >&5
8668 cat conftest.
$ac_ext >&5
8670 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8671 if test "$ac_cv_search_dlopen" = no
; then
8672 for ac_lib
in dl
; do
8673 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8674 cat >conftest.
$ac_ext <<_ACEOF
8675 #line $LINENO "configure"
8676 #include "confdefs.h"
8678 /* Override any gcc2 internal prototype to avoid an error. */
8682 /* We use char because int might match the return type of a gcc2
8683 builtin and then its argument prototype would still apply. */
8685 #ifdef F77_DUMMY_MAIN
8689 int F77_DUMMY_MAIN() { return 1; }
8699 rm -f conftest.
$ac_objext conftest
$ac_exeext
8700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8701 (eval $ac_link) 2>&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } &&
8705 { ac_try
='test -s conftest$ac_exeext'
8706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); }; }; then
8711 ac_cv_search_dlopen
="-l$ac_lib"
8714 echo "$as_me: failed program was:" >&5
8715 cat conftest.
$ac_ext >&5
8717 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8720 LIBS
=$ac_func_search_save_LIBS
8722 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
8723 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
8724 if test "$ac_cv_search_dlopen" != no
; then
8725 test "$ac_cv_search_dlopen" = "none required" || LIBS
="$ac_cv_search_dlopen $LIBS"
8729 # dlopen/dlclose/dlsym/dlerror will be checked again later and defines will be set then
8731 ############################################
8732 # check if the compiler can do immediate structures
8733 echo "$as_me:$LINENO: checking for immediate structures" >&5
8734 echo $ECHO_N "checking for immediate structures... $ECHO_C" >&6
8735 if test "${samba_cv_immediate_structures+set}" = set; then
8736 echo $ECHO_N "(cached) $ECHO_C" >&6
8739 cat >conftest.
$ac_ext <<_ACEOF
8740 #line $LINENO "configure"
8741 #include "confdefs.h"
8744 #ifdef F77_DUMMY_MAIN
8748 int F77_DUMMY_MAIN() { return 1; }
8754 typedef struct {unsigned x;} FOOBAR;
8755 #define X_FOOBAR(x) ((FOOBAR) { x })
8756 #define FOO_ONE X_FOOBAR(1)
8768 rm -f conftest.
$ac_objext
8769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8770 (eval $ac_compile) 2>&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } &&
8774 { ac_try
='test -s conftest.$ac_objext'
8775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); }; }; then
8780 samba_cv_immediate_structures
=yes
8782 echo "$as_me: failed program was:" >&5
8783 cat conftest.
$ac_ext >&5
8784 samba_cv_immediate_structures
=no
8786 rm -f conftest.
$ac_objext conftest.
$ac_ext
8788 echo "$as_me:$LINENO: result: $samba_cv_immediate_structures" >&5
8789 echo "${ECHO_T}$samba_cv_immediate_structures" >&6
8790 if test x
"$samba_cv_immediate_structures" = x
"yes"; then
8792 cat >>confdefs.h
<<\_ACEOF
8793 #define HAVE_IMMEDIATE_STRUCTURES 1
8798 ############################################
8799 # check for unix domain sockets
8800 echo "$as_me:$LINENO: checking for unix domain sockets" >&5
8801 echo $ECHO_N "checking for unix domain sockets... $ECHO_C" >&6
8802 if test "${samba_cv_unixsocket+set}" = set; then
8803 echo $ECHO_N "(cached) $ECHO_C" >&6
8806 cat >conftest.
$ac_ext <<_ACEOF
8807 #line $LINENO "configure"
8808 #include "confdefs.h"
8810 #include <sys/types.h>
8813 #include <sys/socket.h>
8815 #ifdef F77_DUMMY_MAIN
8819 int F77_DUMMY_MAIN() { return 1; }
8825 struct sockaddr_un sunaddr;
8826 sunaddr.sun_family = AF_UNIX;
8832 rm -f conftest.
$ac_objext
8833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8834 (eval $ac_compile) 2>&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); } &&
8838 { ac_try
='test -s conftest.$ac_objext'
8839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 (exit $ac_status); }; }; then
8844 samba_cv_unixsocket
=yes
8846 echo "$as_me: failed program was:" >&5
8847 cat conftest.
$ac_ext >&5
8848 samba_cv_unixsocket
=no
8850 rm -f conftest.
$ac_objext conftest.
$ac_ext
8852 echo "$as_me:$LINENO: result: $samba_cv_unixsocket" >&5
8853 echo "${ECHO_T}$samba_cv_unixsocket" >&6
8854 if test x
"$samba_cv_unixsocket" = x
"yes"; then
8856 cat >>confdefs.h
<<\_ACEOF
8857 #define HAVE_UNIXSOCKET 1
8863 echo "$as_me:$LINENO: checking for socklen_t type" >&5
8864 echo $ECHO_N "checking for socklen_t type... $ECHO_C" >&6
8865 if test "${samba_cv_socklen_t+set}" = set; then
8866 echo $ECHO_N "(cached) $ECHO_C" >&6
8869 cat >conftest.
$ac_ext <<_ACEOF
8870 #line $LINENO "configure"
8871 #include "confdefs.h"
8873 #include <sys/types.h>
8878 #include <sys/socket.h>
8879 #ifdef F77_DUMMY_MAIN
8883 int F77_DUMMY_MAIN() { return 1; }
8893 rm -f conftest.
$ac_objext
8894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8895 (eval $ac_compile) 2>&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); } &&
8899 { ac_try
='test -s conftest.$ac_objext'
8900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); }; }; then
8905 samba_cv_socklen_t
=yes
8907 echo "$as_me: failed program was:" >&5
8908 cat conftest.
$ac_ext >&5
8909 samba_cv_socklen_t
=no
8911 rm -f conftest.
$ac_objext conftest.
$ac_ext
8913 echo "$as_me:$LINENO: result: $samba_cv_socklen_t" >&5
8914 echo "${ECHO_T}$samba_cv_socklen_t" >&6
8915 if test x
"$samba_cv_socklen_t" = x
"yes"; then
8917 cat >>confdefs.h
<<\_ACEOF
8918 #define HAVE_SOCKLEN_T_TYPE 1
8923 echo "$as_me:$LINENO: checking for sig_atomic_t type" >&5
8924 echo $ECHO_N "checking for sig_atomic_t type... $ECHO_C" >&6
8925 if test "${samba_cv_sig_atomic_t+set}" = set; then
8926 echo $ECHO_N "(cached) $ECHO_C" >&6
8929 cat >conftest.
$ac_ext <<_ACEOF
8930 #line $LINENO "configure"
8931 #include "confdefs.h"
8933 #include <sys/types.h>
8939 #ifdef F77_DUMMY_MAIN
8943 int F77_DUMMY_MAIN() { return 1; }
8953 rm -f conftest.
$ac_objext
8954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8955 (eval $ac_compile) 2>&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); } &&
8959 { ac_try
='test -s conftest.$ac_objext'
8960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); }; }; then
8965 samba_cv_sig_atomic_t
=yes
8967 echo "$as_me: failed program was:" >&5
8968 cat conftest.
$ac_ext >&5
8969 samba_cv_sig_atomic_t
=no
8971 rm -f conftest.
$ac_objext conftest.
$ac_ext
8973 echo "$as_me:$LINENO: result: $samba_cv_sig_atomic_t" >&5
8974 echo "${ECHO_T}$samba_cv_sig_atomic_t" >&6
8975 if test x
"$samba_cv_sig_atomic_t" = x
"yes"; then
8977 cat >>confdefs.h
<<\_ACEOF
8978 #define HAVE_SIG_ATOMIC_T_TYPE 1
8983 # stupid headers have the functions but no declaration. grrrr.
8985 echo "$as_me:$LINENO: checking for errno declaration" >&5
8986 echo $ECHO_N "checking for errno declaration... $ECHO_C" >&6
8987 if test "${ac_cv_have_errno_decl+set}" = set; then
8988 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 cat >conftest.
$ac_ext <<_ACEOF
8992 #line $LINENO "configure"
8993 #include "confdefs.h"
8995 #ifdef F77_DUMMY_MAIN
8999 int F77_DUMMY_MAIN() { return 1; }
9009 rm -f conftest.
$ac_objext
9010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9011 (eval $ac_compile) 2>&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 (exit $ac_status); } &&
9015 { ac_try
='test -s conftest.$ac_objext'
9016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); }; }; then
9021 ac_cv_have_errno_decl
=yes
9023 echo "$as_me: failed program was:" >&5
9024 cat conftest.
$ac_ext >&5
9025 ac_cv_have_errno_decl
=no
9027 rm -f conftest.
$ac_objext conftest.
$ac_ext
9029 echo "$as_me:$LINENO: result: $ac_cv_have_errno_decl" >&5
9030 echo "${ECHO_T}$ac_cv_have_errno_decl" >&6
9031 if test x
"$ac_cv_have_errno_decl" = x
"yes"; then
9033 cat >>confdefs.h
<<\_ACEOF
9034 #define HAVE_ERRNO_DECL 1
9040 echo "$as_me:$LINENO: checking for setresuid declaration" >&5
9041 echo $ECHO_N "checking for setresuid declaration... $ECHO_C" >&6
9042 if test "${ac_cv_have_setresuid_decl+set}" = set; then
9043 echo $ECHO_N "(cached) $ECHO_C" >&6
9046 cat >conftest.
$ac_ext <<_ACEOF
9047 #line $LINENO "configure"
9048 #include "confdefs.h"
9050 #ifdef F77_DUMMY_MAIN
9054 int F77_DUMMY_MAIN() { return 1; }
9059 int i = (int)setresuid
9064 rm -f conftest.
$ac_objext
9065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9066 (eval $ac_compile) 2>&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } &&
9070 { ac_try
='test -s conftest.$ac_objext'
9071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); }; }; then
9076 ac_cv_have_setresuid_decl
=yes
9078 echo "$as_me: failed program was:" >&5
9079 cat conftest.
$ac_ext >&5
9080 ac_cv_have_setresuid_decl
=no
9082 rm -f conftest.
$ac_objext conftest.
$ac_ext
9084 echo "$as_me:$LINENO: result: $ac_cv_have_setresuid_decl" >&5
9085 echo "${ECHO_T}$ac_cv_have_setresuid_decl" >&6
9086 if test x
"$ac_cv_have_setresuid_decl" = x
"yes"; then
9088 cat >>confdefs.h
<<\_ACEOF
9089 #define HAVE_SETRESUID_DECL 1
9095 echo "$as_me:$LINENO: checking for setresgid declaration" >&5
9096 echo $ECHO_N "checking for setresgid declaration... $ECHO_C" >&6
9097 if test "${ac_cv_have_setresgid_decl+set}" = set; then
9098 echo $ECHO_N "(cached) $ECHO_C" >&6
9101 cat >conftest.
$ac_ext <<_ACEOF
9102 #line $LINENO "configure"
9103 #include "confdefs.h"
9105 #ifdef F77_DUMMY_MAIN
9109 int F77_DUMMY_MAIN() { return 1; }
9114 int i = (int)setresgid
9119 rm -f conftest.
$ac_objext
9120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9121 (eval $ac_compile) 2>&5
9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124 (exit $ac_status); } &&
9125 { ac_try
='test -s conftest.$ac_objext'
9126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); }; }; then
9131 ac_cv_have_setresgid_decl
=yes
9133 echo "$as_me: failed program was:" >&5
9134 cat conftest.
$ac_ext >&5
9135 ac_cv_have_setresgid_decl
=no
9137 rm -f conftest.
$ac_objext conftest.
$ac_ext
9139 echo "$as_me:$LINENO: result: $ac_cv_have_setresgid_decl" >&5
9140 echo "${ECHO_T}$ac_cv_have_setresgid_decl" >&6
9141 if test x
"$ac_cv_have_setresgid_decl" = x
"yes"; then
9143 cat >>confdefs.h
<<\_ACEOF
9144 #define HAVE_SETRESGID_DECL 1
9150 echo "$as_me:$LINENO: checking for asprintf declaration" >&5
9151 echo $ECHO_N "checking for asprintf declaration... $ECHO_C" >&6
9152 if test "${ac_cv_have_asprintf_decl+set}" = set; then
9153 echo $ECHO_N "(cached) $ECHO_C" >&6
9156 cat >conftest.
$ac_ext <<_ACEOF
9157 #line $LINENO "configure"
9158 #include "confdefs.h"
9160 #ifdef F77_DUMMY_MAIN
9164 int F77_DUMMY_MAIN() { return 1; }
9169 int i = (int)asprintf
9174 rm -f conftest.
$ac_objext
9175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9176 (eval $ac_compile) 2>&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); } &&
9180 { ac_try
='test -s conftest.$ac_objext'
9181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9185 (exit $ac_status); }; }; then
9186 ac_cv_have_asprintf_decl
=yes
9188 echo "$as_me: failed program was:" >&5
9189 cat conftest.
$ac_ext >&5
9190 ac_cv_have_asprintf_decl
=no
9192 rm -f conftest.
$ac_objext conftest.
$ac_ext
9194 echo "$as_me:$LINENO: result: $ac_cv_have_asprintf_decl" >&5
9195 echo "${ECHO_T}$ac_cv_have_asprintf_decl" >&6
9196 if test x
"$ac_cv_have_asprintf_decl" = x
"yes"; then
9198 cat >>confdefs.h
<<\_ACEOF
9199 #define HAVE_ASPRINTF_DECL 1
9205 echo "$as_me:$LINENO: checking for vasprintf declaration" >&5
9206 echo $ECHO_N "checking for vasprintf declaration... $ECHO_C" >&6
9207 if test "${ac_cv_have_vasprintf_decl+set}" = set; then
9208 echo $ECHO_N "(cached) $ECHO_C" >&6
9211 cat >conftest.
$ac_ext <<_ACEOF
9212 #line $LINENO "configure"
9213 #include "confdefs.h"
9215 #ifdef F77_DUMMY_MAIN
9219 int F77_DUMMY_MAIN() { return 1; }
9224 int i = (int)vasprintf
9229 rm -f conftest.
$ac_objext
9230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9231 (eval $ac_compile) 2>&5
9233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9234 (exit $ac_status); } &&
9235 { ac_try
='test -s conftest.$ac_objext'
9236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9240 (exit $ac_status); }; }; then
9241 ac_cv_have_vasprintf_decl
=yes
9243 echo "$as_me: failed program was:" >&5
9244 cat conftest.
$ac_ext >&5
9245 ac_cv_have_vasprintf_decl
=no
9247 rm -f conftest.
$ac_objext conftest.
$ac_ext
9249 echo "$as_me:$LINENO: result: $ac_cv_have_vasprintf_decl" >&5
9250 echo "${ECHO_T}$ac_cv_have_vasprintf_decl" >&6
9251 if test x
"$ac_cv_have_vasprintf_decl" = x
"yes"; then
9253 cat >>confdefs.h
<<\_ACEOF
9254 #define HAVE_VASPRINTF_DECL 1
9260 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
9261 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
9262 if test "${ac_cv_have_vsnprintf_decl+set}" = set; then
9263 echo $ECHO_N "(cached) $ECHO_C" >&6
9266 cat >conftest.
$ac_ext <<_ACEOF
9267 #line $LINENO "configure"
9268 #include "confdefs.h"
9270 #ifdef F77_DUMMY_MAIN
9274 int F77_DUMMY_MAIN() { return 1; }
9279 int i = (int)vsnprintf
9284 rm -f conftest.
$ac_objext
9285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9286 (eval $ac_compile) 2>&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); } &&
9290 { ac_try
='test -s conftest.$ac_objext'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; }; then
9296 ac_cv_have_vsnprintf_decl
=yes
9298 echo "$as_me: failed program was:" >&5
9299 cat conftest.
$ac_ext >&5
9300 ac_cv_have_vsnprintf_decl
=no
9302 rm -f conftest.
$ac_objext conftest.
$ac_ext
9304 echo "$as_me:$LINENO: result: $ac_cv_have_vsnprintf_decl" >&5
9305 echo "${ECHO_T}$ac_cv_have_vsnprintf_decl" >&6
9306 if test x
"$ac_cv_have_vsnprintf_decl" = x
"yes"; then
9308 cat >>confdefs.h
<<\_ACEOF
9309 #define HAVE_VSNPRINTF_DECL 1
9315 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
9316 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
9317 if test "${ac_cv_have_snprintf_decl+set}" = set; then
9318 echo $ECHO_N "(cached) $ECHO_C" >&6
9321 cat >conftest.
$ac_ext <<_ACEOF
9322 #line $LINENO "configure"
9323 #include "confdefs.h"
9325 #ifdef F77_DUMMY_MAIN
9329 int F77_DUMMY_MAIN() { return 1; }
9334 int i = (int)snprintf
9339 rm -f conftest.
$ac_objext
9340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9341 (eval $ac_compile) 2>&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } &&
9345 { ac_try
='test -s conftest.$ac_objext'
9346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); }; }; then
9351 ac_cv_have_snprintf_decl
=yes
9353 echo "$as_me: failed program was:" >&5
9354 cat conftest.
$ac_ext >&5
9355 ac_cv_have_snprintf_decl
=no
9357 rm -f conftest.
$ac_objext conftest.
$ac_ext
9359 echo "$as_me:$LINENO: result: $ac_cv_have_snprintf_decl" >&5
9360 echo "${ECHO_T}$ac_cv_have_snprintf_decl" >&6
9361 if test x
"$ac_cv_have_snprintf_decl" = x
"yes"; then
9363 cat >>confdefs.h
<<\_ACEOF
9364 #define HAVE_SNPRINTF_DECL 1
9370 # and glibc has setresuid under linux but the function does
9371 # nothing until kernel 2.1.44! very dumb.
9372 echo "$as_me:$LINENO: checking for real setresuid" >&5
9373 echo $ECHO_N "checking for real setresuid... $ECHO_C" >&6
9374 if test "${samba_cv_have_setresuid+set}" = set; then
9375 echo $ECHO_N "(cached) $ECHO_C" >&6
9378 if test "$cross_compiling" = yes; then
9379 samba_cv_have_setresuid
=cross
9381 cat >conftest.
$ac_ext <<_ACEOF
9382 #line $LINENO "configure"
9383 #include "confdefs.h"
9385 main() { setresuid(1,1,1); setresuid(2,2,2); exit(errno==EPERM?0:1);}
9387 rm -f conftest
$ac_exeext
9388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9389 (eval $ac_link) 2>&5
9391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); }; }; then
9398 samba_cv_have_setresuid
=yes
9400 echo "$as_me: program exited with status $ac_status" >&5
9401 echo "$as_me: failed program was:" >&5
9402 cat conftest.
$ac_ext >&5
9404 samba_cv_have_setresuid
=no
9406 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9409 echo "$as_me:$LINENO: result: $samba_cv_have_setresuid" >&5
9410 echo "${ECHO_T}$samba_cv_have_setresuid" >&6
9411 if test x
"$samba_cv_have_setresuid" = x
"yes"; then
9413 cat >>confdefs.h
<<\_ACEOF
9414 #define HAVE_SETRESUID 1
9419 # Do the same check for setresguid...
9421 echo "$as_me:$LINENO: checking for real setresgid" >&5
9422 echo $ECHO_N "checking for real setresgid... $ECHO_C" >&6
9423 if test "${samba_cv_have_setresgid+set}" = set; then
9424 echo $ECHO_N "(cached) $ECHO_C" >&6
9427 if test "$cross_compiling" = yes; then
9428 samba_cv_have_setresgid
=cross
9430 cat >conftest.
$ac_ext <<_ACEOF
9431 #line $LINENO "configure"
9432 #include "confdefs.h"
9435 main() { errno = 0; setresgid(1,1,1); exit(errno != 0 ? (errno==EPERM ? 0 : 1) : 0);}
9437 rm -f conftest
$ac_exeext
9438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9439 (eval $ac_link) 2>&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); }; }; then
9448 samba_cv_have_setresgid
=yes
9450 echo "$as_me: program exited with status $ac_status" >&5
9451 echo "$as_me: failed program was:" >&5
9452 cat conftest.
$ac_ext >&5
9454 samba_cv_have_setresgid
=no
9456 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9459 echo "$as_me:$LINENO: result: $samba_cv_have_setresgid" >&5
9460 echo "${ECHO_T}$samba_cv_have_setresgid" >&6
9461 if test x
"$samba_cv_have_setresgid" = x
"yes"; then
9463 cat >>confdefs.h
<<\_ACEOF
9464 #define HAVE_SETRESGID 1
9469 echo "$as_me:$LINENO: checking for working memcmp" >&5
9470 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
9471 if test "${ac_cv_func_memcmp_working+set}" = set; then
9472 echo $ECHO_N "(cached) $ECHO_C" >&6
9474 if test "$cross_compiling" = yes; then
9475 ac_cv_func_memcmp_working
=no
9477 cat >conftest.
$ac_ext <<_ACEOF
9478 #line $LINENO "configure"
9479 #include "confdefs.h"
9481 #ifdef F77_DUMMY_MAIN
9485 int F77_DUMMY_MAIN() { return 1; }
9491 /* Some versions of memcmp are not 8-bit clean. */
9492 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
9493 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
9496 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
9497 or more and with at least one buffer not starting on a 4-byte boundary.
9498 William Lewis provided this test program. */
9503 for (i = 0; i < 4; i++)
9507 strcpy (a, "--------01111111");
9508 strcpy (b, "--------10000000");
9509 if (memcmp (a, b, 16) >= 0)
9519 rm -f conftest
$ac_exeext
9520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9521 (eval $ac_link) 2>&5
9523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); }; }; then
9530 ac_cv_func_memcmp_working
=yes
9532 echo "$as_me: program exited with status $ac_status" >&5
9533 echo "$as_me: failed program was:" >&5
9534 cat conftest.
$ac_ext >&5
9536 ac_cv_func_memcmp_working
=no
9538 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9541 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
9542 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
9543 test $ac_cv_func_memcmp_working = no
&& LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
9546 ###############################################
9547 # test for where we get crypt() from
9548 echo "$as_me:$LINENO: checking for library containing crypt" >&5
9549 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6
9550 if test "${ac_cv_search_crypt+set}" = set; then
9551 echo $ECHO_N "(cached) $ECHO_C" >&6
9553 ac_func_search_save_LIBS
=$LIBS
9554 ac_cv_search_crypt
=no
9555 cat >conftest.
$ac_ext <<_ACEOF
9556 #line $LINENO "configure"
9557 #include "confdefs.h"
9559 /* Override any gcc2 internal prototype to avoid an error. */
9563 /* We use char because int might match the return type of a gcc2
9564 builtin and then its argument prototype would still apply. */
9566 #ifdef F77_DUMMY_MAIN
9570 int F77_DUMMY_MAIN() { return 1; }
9580 rm -f conftest.
$ac_objext conftest
$ac_exeext
9581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9582 (eval $ac_link) 2>&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); } &&
9586 { ac_try
='test -s conftest$ac_exeext'
9587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 (exit $ac_status); }; }; then
9592 ac_cv_search_crypt
="none required"
9594 echo "$as_me: failed program was:" >&5
9595 cat conftest.
$ac_ext >&5
9597 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9598 if test "$ac_cv_search_crypt" = no
; then
9599 for ac_lib
in crypt; do
9600 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9601 cat >conftest.
$ac_ext <<_ACEOF
9602 #line $LINENO "configure"
9603 #include "confdefs.h"
9605 /* Override any gcc2 internal prototype to avoid an error. */
9609 /* We use char because int might match the return type of a gcc2
9610 builtin and then its argument prototype would still apply. */
9612 #ifdef F77_DUMMY_MAIN
9616 int F77_DUMMY_MAIN() { return 1; }
9626 rm -f conftest.
$ac_objext conftest
$ac_exeext
9627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9628 (eval $ac_link) 2>&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 (exit $ac_status); } &&
9632 { ac_try
='test -s conftest$ac_exeext'
9633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 (exit $ac_status); }; }; then
9638 ac_cv_search_crypt
="-l$ac_lib"
9641 echo "$as_me: failed program was:" >&5
9642 cat conftest.
$ac_ext >&5
9644 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9647 LIBS
=$ac_func_search_save_LIBS
9649 echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
9650 echo "${ECHO_T}$ac_cv_search_crypt" >&6
9651 if test "$ac_cv_search_crypt" != no
; then
9652 test "$ac_cv_search_crypt" = "none required" || LIBS
="$ac_cv_search_crypt $LIBS"
9653 AUTHLIBS
="$AUTHLIBS -lcrypt";
9655 cat >>confdefs.h
<<\_ACEOF
9656 #define HAVE_CRYPT 1
9662 ###############################################
9663 # Readline included by default unless explicitly asked not to
9664 test "${with_readline+set}" != "set" && with_readline
=yes
9666 # test for where we get readline() from
9667 echo "$as_me:$LINENO: checking whether to use readline" >&5
9668 echo $ECHO_N "checking whether to use readline... $ECHO_C" >&6
9670 # Check whether --with-readline or --without-readline was given.
9671 if test "${with_readline+set}" = set; then
9672 withval
="$with_readline"
9673 case "$with_readline" in
9675 echo "$as_me:$LINENO: result: yes" >&5
9676 echo "${ECHO_T}yes" >&6
9681 for ac_header
in readline.h
history.h readline
/readline.h
9683 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9685 echo "$as_me:$LINENO: checking for $ac_header" >&5
9686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9688 echo $ECHO_N "(cached) $ECHO_C" >&6
9690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9693 # Is the header compilable?
9694 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9695 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9696 cat >conftest.
$ac_ext <<_ACEOF
9697 #line $LINENO "configure"
9698 #include "confdefs.h"
9699 $ac_includes_default
9700 #include <$ac_header>
9702 rm -f conftest.
$ac_objext
9703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9704 (eval $ac_compile) 2>&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } &&
9708 { ac_try
='test -s conftest.$ac_objext'
9709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); }; }; then
9714 ac_header_compiler
=yes
9716 echo "$as_me: failed program was:" >&5
9717 cat conftest.
$ac_ext >&5
9718 ac_header_compiler
=no
9720 rm -f conftest.
$ac_objext conftest.
$ac_ext
9721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9722 echo "${ECHO_T}$ac_header_compiler" >&6
9724 # Is the header present?
9725 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9727 cat >conftest.
$ac_ext <<_ACEOF
9728 #line $LINENO "configure"
9729 #include "confdefs.h"
9730 #include <$ac_header>
9732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9733 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9735 egrep -v '^ *\+' conftest.er1
>conftest.err
9737 cat conftest.err
>&5
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); } >/dev
/null
; then
9740 if test -s conftest.err
; then
9741 ac_cpp_err
=$ac_c_preproc_warn_flag
9748 if test -z "$ac_cpp_err"; then
9749 ac_header_preproc
=yes
9751 echo "$as_me: failed program was:" >&5
9752 cat conftest.
$ac_ext >&5
9753 ac_header_preproc
=no
9755 rm -f conftest.err conftest.
$ac_ext
9756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9757 echo "${ECHO_T}$ac_header_preproc" >&6
9759 # So? What about this header?
9760 case $ac_header_compiler:$ac_header_preproc in
9762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9772 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9774 echo "$as_me:$LINENO: checking for $ac_header" >&5
9775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9777 echo $ECHO_N "(cached) $ECHO_C" >&6
9779 eval "$as_ac_Header=$ac_header_preproc"
9781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9786 cat >>confdefs.h
<<_ACEOF
9787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9795 for ac_header
in readline
/history.h
9797 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9799 echo "$as_me:$LINENO: checking for $ac_header" >&5
9800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9802 echo $ECHO_N "(cached) $ECHO_C" >&6
9804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9807 # Is the header compilable?
9808 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9809 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9810 cat >conftest.
$ac_ext <<_ACEOF
9811 #line $LINENO "configure"
9812 #include "confdefs.h"
9813 $ac_includes_default
9814 #include <$ac_header>
9816 rm -f conftest.
$ac_objext
9817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9818 (eval $ac_compile) 2>&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } &&
9822 { ac_try
='test -s conftest.$ac_objext'
9823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); }; }; then
9828 ac_header_compiler
=yes
9830 echo "$as_me: failed program was:" >&5
9831 cat conftest.
$ac_ext >&5
9832 ac_header_compiler
=no
9834 rm -f conftest.
$ac_objext conftest.
$ac_ext
9835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9836 echo "${ECHO_T}$ac_header_compiler" >&6
9838 # Is the header present?
9839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9841 cat >conftest.
$ac_ext <<_ACEOF
9842 #line $LINENO "configure"
9843 #include "confdefs.h"
9844 #include <$ac_header>
9846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9849 egrep -v '^ *\+' conftest.er1
>conftest.err
9851 cat conftest.err
>&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); } >/dev
/null
; then
9854 if test -s conftest.err
; then
9855 ac_cpp_err
=$ac_c_preproc_warn_flag
9862 if test -z "$ac_cpp_err"; then
9863 ac_header_preproc
=yes
9865 echo "$as_me: failed program was:" >&5
9866 cat conftest.
$ac_ext >&5
9867 ac_header_preproc
=no
9869 rm -f conftest.err conftest.
$ac_ext
9870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9871 echo "${ECHO_T}$ac_header_preproc" >&6
9873 # So? What about this header?
9874 case $ac_header_compiler:$ac_header_preproc in
9876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9888 echo "$as_me:$LINENO: checking for $ac_header" >&5
9889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9891 echo $ECHO_N "(cached) $ECHO_C" >&6
9893 eval "$as_ac_Header=$ac_header_preproc"
9895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9900 cat >>confdefs.h
<<_ACEOF
9901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9911 for ac_header
in readline.h readline
/readline.h
9913 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9915 echo "$as_me:$LINENO: checking for $ac_header" >&5
9916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9918 echo $ECHO_N "(cached) $ECHO_C" >&6
9920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9923 # Is the header compilable?
9924 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9926 cat >conftest.
$ac_ext <<_ACEOF
9927 #line $LINENO "configure"
9928 #include "confdefs.h"
9929 $ac_includes_default
9930 #include <$ac_header>
9932 rm -f conftest.
$ac_objext
9933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9934 (eval $ac_compile) 2>&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); } &&
9938 { ac_try
='test -s conftest.$ac_objext'
9939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); }; }; then
9944 ac_header_compiler
=yes
9946 echo "$as_me: failed program was:" >&5
9947 cat conftest.
$ac_ext >&5
9948 ac_header_compiler
=no
9950 rm -f conftest.
$ac_objext conftest.
$ac_ext
9951 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9952 echo "${ECHO_T}$ac_header_compiler" >&6
9954 # Is the header present?
9955 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9956 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9957 cat >conftest.
$ac_ext <<_ACEOF
9958 #line $LINENO "configure"
9959 #include "confdefs.h"
9960 #include <$ac_header>
9962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9965 egrep -v '^ *\+' conftest.er1
>conftest.err
9967 cat conftest.err
>&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } >/dev
/null
; then
9970 if test -s conftest.err
; then
9971 ac_cpp_err
=$ac_c_preproc_warn_flag
9978 if test -z "$ac_cpp_err"; then
9979 ac_header_preproc
=yes
9981 echo "$as_me: failed program was:" >&5
9982 cat conftest.
$ac_ext >&5
9983 ac_header_preproc
=no
9985 rm -f conftest.err conftest.
$ac_ext
9986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9987 echo "${ECHO_T}$ac_header_preproc" >&6
9989 # So? What about this header?
9990 case $ac_header_compiler:$ac_header_preproc in
9992 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9993 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10004 echo "$as_me:$LINENO: checking for $ac_header" >&5
10005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10007 echo $ECHO_N "(cached) $ECHO_C" >&6
10009 eval "$as_ac_Header=$ac_header_preproc"
10011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10016 cat >>confdefs.h
<<_ACEOF
10017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10020 for termlib
in ncurses curses termcap terminfo termlib
; do
10021 as_ac_Lib
=`echo "ac_cv_lib_${termlib}''_tgetent" | $as_tr_sh`
10022 echo "$as_me:$LINENO: checking for tgetent in -l${termlib}" >&5
10023 echo $ECHO_N "checking for tgetent in -l${termlib}... $ECHO_C" >&6
10024 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
10025 echo $ECHO_N "(cached) $ECHO_C" >&6
10027 ac_check_lib_save_LIBS
=$LIBS
10028 LIBS
="-l${termlib} $LIBS"
10029 cat >conftest.
$ac_ext <<_ACEOF
10030 #line $LINENO "configure"
10031 #include "confdefs.h"
10033 /* Override any gcc2 internal prototype to avoid an error. */
10037 /* We use char because int might match the return type of a gcc2
10038 builtin and then its argument prototype would still apply. */
10040 #ifdef F77_DUMMY_MAIN
10041 # ifdef __cplusplus
10044 int F77_DUMMY_MAIN() { return 1; }
10054 rm -f conftest.
$ac_objext conftest
$ac_exeext
10055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10056 (eval $ac_link) 2>&5
10058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059 (exit $ac_status); } &&
10060 { ac_try
='test -s conftest$ac_exeext'
10061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10062 (eval $ac_try) 2>&5
10064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065 (exit $ac_status); }; }; then
10066 eval "$as_ac_Lib=yes"
10068 echo "$as_me: failed program was:" >&5
10069 cat conftest.
$ac_ext >&5
10070 eval "$as_ac_Lib=no"
10072 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10073 LIBS
=$ac_check_lib_save_LIBS
10075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
10076 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
10077 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
10078 TERMLIBS
="-l${termlib}"; break
10082 echo "$as_me:$LINENO: checking for rl_callback_handler_install in -lreadline" >&5
10083 echo $ECHO_N "checking for rl_callback_handler_install in -lreadline... $ECHO_C" >&6
10084 if test "${ac_cv_lib_readline_rl_callback_handler_install+set}" = set; then
10085 echo $ECHO_N "(cached) $ECHO_C" >&6
10087 ac_check_lib_save_LIBS
=$LIBS
10088 LIBS
="-lreadline $TERMLIBS $LIBS"
10089 cat >conftest.
$ac_ext <<_ACEOF
10090 #line $LINENO "configure"
10091 #include "confdefs.h"
10093 /* Override any gcc2 internal prototype to avoid an error. */
10097 /* We use char because int might match the return type of a gcc2
10098 builtin and then its argument prototype would still apply. */
10099 char rl_callback_handler_install ();
10100 #ifdef F77_DUMMY_MAIN
10101 # ifdef __cplusplus
10104 int F77_DUMMY_MAIN() { return 1; }
10109 rl_callback_handler_install ();
10114 rm -f conftest.
$ac_objext conftest
$ac_exeext
10115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10116 (eval $ac_link) 2>&5
10118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); } &&
10120 { ac_try
='test -s conftest$ac_exeext'
10121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10122 (eval $ac_try) 2>&5
10124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10125 (exit $ac_status); }; }; then
10126 ac_cv_lib_readline_rl_callback_handler_install
=yes
10128 echo "$as_me: failed program was:" >&5
10129 cat conftest.
$ac_ext >&5
10130 ac_cv_lib_readline_rl_callback_handler_install
=no
10132 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10133 LIBS
=$ac_check_lib_save_LIBS
10135 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_callback_handler_install" >&5
10136 echo "${ECHO_T}$ac_cv_lib_readline_rl_callback_handler_install" >&6
10137 if test $ac_cv_lib_readline_rl_callback_handler_install = yes; then
10138 TERMLIBS
="-lreadline $TERMLIBS"
10140 cat >>confdefs.h
<<\_ACEOF
10141 #define HAVE_LIBREADLINE 1
10155 echo "$as_me:$LINENO: result: no" >&5
10156 echo "${ECHO_T}no" >&6
10159 echo "$as_me:$LINENO: result: yes" >&5
10160 echo "${ECHO_T}yes" >&6
10162 # Needed for AC_CHECK_HEADERS and AC_CHECK_LIB to look at
10163 # alternate readline path
10164 _ldflags
=${LDFLAGS}
10165 _cppflags
=${CPPFLAGS}
10167 # Add additional search path
10168 LDFLAGS
="-L$with_readline/lib $LDFLAGS"
10169 CPPFLAGS
="-I$with_readline/include $CPPFLAGS"
10174 for ac_header
in readline.h
history.h readline
/readline.h
10176 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10178 echo "$as_me:$LINENO: checking for $ac_header" >&5
10179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10186 # Is the header compilable?
10187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10189 cat >conftest.
$ac_ext <<_ACEOF
10190 #line $LINENO "configure"
10191 #include "confdefs.h"
10192 $ac_includes_default
10193 #include <$ac_header>
10195 rm -f conftest.
$ac_objext
10196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10197 (eval $ac_compile) 2>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } &&
10201 { ac_try
='test -s conftest.$ac_objext'
10202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10203 (eval $ac_try) 2>&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); }; }; then
10207 ac_header_compiler
=yes
10209 echo "$as_me: failed program was:" >&5
10210 cat conftest.
$ac_ext >&5
10211 ac_header_compiler
=no
10213 rm -f conftest.
$ac_objext conftest.
$ac_ext
10214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10215 echo "${ECHO_T}$ac_header_compiler" >&6
10217 # Is the header present?
10218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10220 cat >conftest.
$ac_ext <<_ACEOF
10221 #line $LINENO "configure"
10222 #include "confdefs.h"
10223 #include <$ac_header>
10225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10226 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10228 egrep -v '^ *\+' conftest.er1
>conftest.err
10230 cat conftest.err
>&5
10231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232 (exit $ac_status); } >/dev
/null
; then
10233 if test -s conftest.err
; then
10234 ac_cpp_err
=$ac_c_preproc_warn_flag
10241 if test -z "$ac_cpp_err"; then
10242 ac_header_preproc
=yes
10244 echo "$as_me: failed program was:" >&5
10245 cat conftest.
$ac_ext >&5
10246 ac_header_preproc
=no
10248 rm -f conftest.err conftest.
$ac_ext
10249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10250 echo "${ECHO_T}$ac_header_preproc" >&6
10252 # So? What about this header?
10253 case $ac_header_compiler:$ac_header_preproc in
10255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10267 echo "$as_me:$LINENO: checking for $ac_header" >&5
10268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10270 echo $ECHO_N "(cached) $ECHO_C" >&6
10272 eval "$as_ac_Header=$ac_header_preproc"
10274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10279 cat >>confdefs.h
<<_ACEOF
10280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10288 for ac_header
in readline
/history.h
10290 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10292 echo "$as_me:$LINENO: checking for $ac_header" >&5
10293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10295 echo $ECHO_N "(cached) $ECHO_C" >&6
10297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10300 # Is the header compilable?
10301 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10303 cat >conftest.
$ac_ext <<_ACEOF
10304 #line $LINENO "configure"
10305 #include "confdefs.h"
10306 $ac_includes_default
10307 #include <$ac_header>
10309 rm -f conftest.
$ac_objext
10310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10311 (eval $ac_compile) 2>&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } &&
10315 { ac_try
='test -s conftest.$ac_objext'
10316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10317 (eval $ac_try) 2>&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); }; }; then
10321 ac_header_compiler
=yes
10323 echo "$as_me: failed program was:" >&5
10324 cat conftest.
$ac_ext >&5
10325 ac_header_compiler
=no
10327 rm -f conftest.
$ac_objext conftest.
$ac_ext
10328 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10329 echo "${ECHO_T}$ac_header_compiler" >&6
10331 # Is the header present?
10332 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10333 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10334 cat >conftest.
$ac_ext <<_ACEOF
10335 #line $LINENO "configure"
10336 #include "confdefs.h"
10337 #include <$ac_header>
10339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10340 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10342 egrep -v '^ *\+' conftest.er1
>conftest.err
10344 cat conftest.err
>&5
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); } >/dev
/null
; then
10347 if test -s conftest.err
; then
10348 ac_cpp_err
=$ac_c_preproc_warn_flag
10355 if test -z "$ac_cpp_err"; then
10356 ac_header_preproc
=yes
10358 echo "$as_me: failed program was:" >&5
10359 cat conftest.
$ac_ext >&5
10360 ac_header_preproc
=no
10362 rm -f conftest.err conftest.
$ac_ext
10363 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10364 echo "${ECHO_T}$ac_header_preproc" >&6
10366 # So? What about this header?
10367 case $ac_header_compiler:$ac_header_preproc in
10369 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10370 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10381 echo "$as_me:$LINENO: checking for $ac_header" >&5
10382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10386 eval "$as_ac_Header=$ac_header_preproc"
10388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10393 cat >>confdefs.h
<<_ACEOF
10394 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10404 for ac_header
in readline.h readline
/readline.h
10406 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10408 echo "$as_me:$LINENO: checking for $ac_header" >&5
10409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10411 echo $ECHO_N "(cached) $ECHO_C" >&6
10413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10416 # Is the header compilable?
10417 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10418 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10419 cat >conftest.
$ac_ext <<_ACEOF
10420 #line $LINENO "configure"
10421 #include "confdefs.h"
10422 $ac_includes_default
10423 #include <$ac_header>
10425 rm -f conftest.
$ac_objext
10426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10427 (eval $ac_compile) 2>&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); } &&
10431 { ac_try
='test -s conftest.$ac_objext'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; }; then
10437 ac_header_compiler
=yes
10439 echo "$as_me: failed program was:" >&5
10440 cat conftest.
$ac_ext >&5
10441 ac_header_compiler
=no
10443 rm -f conftest.
$ac_objext conftest.
$ac_ext
10444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10445 echo "${ECHO_T}$ac_header_compiler" >&6
10447 # Is the header present?
10448 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10450 cat >conftest.
$ac_ext <<_ACEOF
10451 #line $LINENO "configure"
10452 #include "confdefs.h"
10453 #include <$ac_header>
10455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10456 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10458 egrep -v '^ *\+' conftest.er1
>conftest.err
10460 cat conftest.err
>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); } >/dev
/null
; then
10463 if test -s conftest.err
; then
10464 ac_cpp_err
=$ac_c_preproc_warn_flag
10471 if test -z "$ac_cpp_err"; then
10472 ac_header_preproc
=yes
10474 echo "$as_me: failed program was:" >&5
10475 cat conftest.
$ac_ext >&5
10476 ac_header_preproc
=no
10478 rm -f conftest.err conftest.
$ac_ext
10479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10480 echo "${ECHO_T}$ac_header_preproc" >&6
10482 # So? What about this header?
10483 case $ac_header_compiler:$ac_header_preproc in
10485 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10486 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10497 echo "$as_me:$LINENO: checking for $ac_header" >&5
10498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10500 echo $ECHO_N "(cached) $ECHO_C" >&6
10502 eval "$as_ac_Header=$ac_header_preproc"
10504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10509 cat >>confdefs.h
<<_ACEOF
10510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10513 for termlib
in ncurses curses termcap terminfo termlib
; do
10514 as_ac_Lib
=`echo "ac_cv_lib_${termlib}''_tgetent" | $as_tr_sh`
10515 echo "$as_me:$LINENO: checking for tgetent in -l${termlib}" >&5
10516 echo $ECHO_N "checking for tgetent in -l${termlib}... $ECHO_C" >&6
10517 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
10518 echo $ECHO_N "(cached) $ECHO_C" >&6
10520 ac_check_lib_save_LIBS
=$LIBS
10521 LIBS
="-l${termlib} $LIBS"
10522 cat >conftest.
$ac_ext <<_ACEOF
10523 #line $LINENO "configure"
10524 #include "confdefs.h"
10526 /* Override any gcc2 internal prototype to avoid an error. */
10530 /* We use char because int might match the return type of a gcc2
10531 builtin and then its argument prototype would still apply. */
10533 #ifdef F77_DUMMY_MAIN
10534 # ifdef __cplusplus
10537 int F77_DUMMY_MAIN() { return 1; }
10547 rm -f conftest.
$ac_objext conftest
$ac_exeext
10548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10549 (eval $ac_link) 2>&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); } &&
10553 { ac_try
='test -s conftest$ac_exeext'
10554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10555 (eval $ac_try) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; }; then
10559 eval "$as_ac_Lib=yes"
10561 echo "$as_me: failed program was:" >&5
10562 cat conftest.
$ac_ext >&5
10563 eval "$as_ac_Lib=no"
10565 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10566 LIBS
=$ac_check_lib_save_LIBS
10568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
10569 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
10570 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
10571 TERMLIBS
="-l${termlib}"; break
10575 echo "$as_me:$LINENO: checking for rl_callback_handler_install in -lreadline" >&5
10576 echo $ECHO_N "checking for rl_callback_handler_install in -lreadline... $ECHO_C" >&6
10577 if test "${ac_cv_lib_readline_rl_callback_handler_install+set}" = set; then
10578 echo $ECHO_N "(cached) $ECHO_C" >&6
10580 ac_check_lib_save_LIBS
=$LIBS
10581 LIBS
="-lreadline $TERMLIBS $LIBS"
10582 cat >conftest.
$ac_ext <<_ACEOF
10583 #line $LINENO "configure"
10584 #include "confdefs.h"
10586 /* Override any gcc2 internal prototype to avoid an error. */
10590 /* We use char because int might match the return type of a gcc2
10591 builtin and then its argument prototype would still apply. */
10592 char rl_callback_handler_install ();
10593 #ifdef F77_DUMMY_MAIN
10594 # ifdef __cplusplus
10597 int F77_DUMMY_MAIN() { return 1; }
10602 rl_callback_handler_install ();
10607 rm -f conftest.
$ac_objext conftest
$ac_exeext
10608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10609 (eval $ac_link) 2>&5
10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612 (exit $ac_status); } &&
10613 { ac_try
='test -s conftest$ac_exeext'
10614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10615 (eval $ac_try) 2>&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); }; }; then
10619 ac_cv_lib_readline_rl_callback_handler_install
=yes
10621 echo "$as_me: failed program was:" >&5
10622 cat conftest.
$ac_ext >&5
10623 ac_cv_lib_readline_rl_callback_handler_install
=no
10625 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10626 LIBS
=$ac_check_lib_save_LIBS
10628 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_callback_handler_install" >&5
10629 echo "${ECHO_T}$ac_cv_lib_readline_rl_callback_handler_install" >&6
10630 if test $ac_cv_lib_readline_rl_callback_handler_install = yes; then
10631 TERMLDFLAGS
="-L$with_readline/lib"
10632 TERMCPPFLAGS
="-I$with_readline/include"
10633 CPPFLAGS
="-I$with_readline/include $CPPFLAGS"
10634 TERMLIBS
="-lreadline $TERMLIBS"
10636 cat >>confdefs.h
<<\_ACEOF
10637 #define HAVE_LIBREADLINE 1
10642 TERMLIBS
= CPPFLAGS
=$_cppflags
10654 echo "$as_me:$LINENO: result: no" >&5
10655 echo "${ECHO_T}no" >&6
10661 # The readline API changed slightly from readline3 to readline4, so
10662 # code will generate warnings on one of them unless we have a few
10664 echo "$as_me:$LINENO: checking for rl_completion_matches in -lreadline" >&5
10665 echo $ECHO_N "checking for rl_completion_matches in -lreadline... $ECHO_C" >&6
10666 if test "${ac_cv_lib_readline_rl_completion_matches+set}" = set; then
10667 echo $ECHO_N "(cached) $ECHO_C" >&6
10669 ac_check_lib_save_LIBS
=$LIBS
10670 LIBS
="-lreadline $TERMLIBS $LIBS"
10671 cat >conftest.
$ac_ext <<_ACEOF
10672 #line $LINENO "configure"
10673 #include "confdefs.h"
10675 /* Override any gcc2 internal prototype to avoid an error. */
10679 /* We use char because int might match the return type of a gcc2
10680 builtin and then its argument prototype would still apply. */
10681 char rl_completion_matches ();
10682 #ifdef F77_DUMMY_MAIN
10683 # ifdef __cplusplus
10686 int F77_DUMMY_MAIN() { return 1; }
10691 rl_completion_matches ();
10696 rm -f conftest.
$ac_objext conftest
$ac_exeext
10697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10698 (eval $ac_link) 2>&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); } &&
10702 { ac_try
='test -s conftest$ac_exeext'
10703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10704 (eval $ac_try) 2>&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); }; }; then
10708 ac_cv_lib_readline_rl_completion_matches
=yes
10710 echo "$as_me: failed program was:" >&5
10711 cat conftest.
$ac_ext >&5
10712 ac_cv_lib_readline_rl_completion_matches
=no
10714 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10715 LIBS
=$ac_check_lib_save_LIBS
10717 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_completion_matches" >&5
10718 echo "${ECHO_T}$ac_cv_lib_readline_rl_completion_matches" >&6
10719 if test $ac_cv_lib_readline_rl_completion_matches = yes; then
10721 cat >>confdefs.h
<<\_ACEOF
10722 #define HAVE_NEW_LIBREADLINE 1
10728 # The following test taken from the cvs sources
10729 # If we can't find connect, try looking in -lsocket, -lnsl, and -linet.
10730 # The Irix 5 libc.so has connect and gethostbyname, but Irix 5 also has
10731 # libsocket.so which has a bad implementation of gethostbyname (it
10732 # only looks in /etc/hosts), so we only look for -lsocket if we need
10735 for ac_func
in connect
10737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10738 echo "$as_me:$LINENO: checking for $ac_func" >&5
10739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10740 if eval "test \"\${$as_ac_var+set}\" = set"; then
10741 echo $ECHO_N "(cached) $ECHO_C" >&6
10743 cat >conftest.
$ac_ext <<_ACEOF
10744 #line $LINENO "configure"
10745 #include "confdefs.h"
10746 /* System header to define __stub macros and hopefully few prototypes,
10747 which can conflict with char $ac_func (); below. */
10748 #include <assert.h>
10749 /* Override any gcc2 internal prototype to avoid an error. */
10753 /* We use char because int might match the return type of a gcc2
10754 builtin and then its argument prototype would still apply. */
10758 #ifdef F77_DUMMY_MAIN
10759 # ifdef __cplusplus
10762 int F77_DUMMY_MAIN() { return 1; }
10767 /* The GNU C library defines this for functions which it implements
10768 to always fail with ENOSYS. Some functions are actually named
10769 something starting with __ and the normal name is an alias. */
10770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10780 rm -f conftest.
$ac_objext conftest
$ac_exeext
10781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10782 (eval $ac_link) 2>&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); } &&
10786 { ac_try
='test -s conftest$ac_exeext'
10787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10788 (eval $ac_try) 2>&5
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); }; }; then
10792 eval "$as_ac_var=yes"
10794 echo "$as_me: failed program was:" >&5
10795 cat conftest.
$ac_ext >&5
10796 eval "$as_ac_var=no"
10798 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10802 if test `eval echo '${'$as_ac_var'}'` = yes; then
10803 cat >>confdefs.h
<<_ACEOF
10804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10810 if test x
"$ac_cv_func_connect" = x
"no"; then
10814 echo "$as_me:$LINENO: checking for printf in -lnsl_s" >&5
10815 echo $ECHO_N "checking for printf in -lnsl_s... $ECHO_C" >&6
10816 if test "${ac_cv_lib_nsl_s_printf+set}" = set; then
10817 echo $ECHO_N "(cached) $ECHO_C" >&6
10819 ac_check_lib_save_LIBS
=$LIBS
10820 LIBS
="-lnsl_s $LIBS"
10821 cat >conftest.
$ac_ext <<_ACEOF
10822 #line $LINENO "configure"
10823 #include "confdefs.h"
10825 /* Override any gcc2 internal prototype to avoid an error. */
10829 /* We use char because int might match the return type of a gcc2
10830 builtin and then its argument prototype would still apply. */
10832 #ifdef F77_DUMMY_MAIN
10833 # ifdef __cplusplus
10836 int F77_DUMMY_MAIN() { return 1; }
10846 rm -f conftest.
$ac_objext conftest
$ac_exeext
10847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10848 (eval $ac_link) 2>&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); } &&
10852 { ac_try
='test -s conftest$ac_exeext'
10853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10854 (eval $ac_try) 2>&5
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); }; }; then
10858 ac_cv_lib_nsl_s_printf
=yes
10860 echo "$as_me: failed program was:" >&5
10861 cat conftest.
$ac_ext >&5
10862 ac_cv_lib_nsl_s_printf
=no
10864 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10865 LIBS
=$ac_check_lib_save_LIBS
10867 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_s_printf" >&5
10868 echo "${ECHO_T}$ac_cv_lib_nsl_s_printf" >&6
10869 if test $ac_cv_lib_nsl_s_printf = yes; then
10870 cat >>confdefs.h
<<_ACEOF
10871 #define HAVE_LIBNSL_S 1
10874 LIBS
="-lnsl_s $LIBS"
10882 echo "$as_me:$LINENO: checking for printf in -lnsl" >&5
10883 echo $ECHO_N "checking for printf in -lnsl... $ECHO_C" >&6
10884 if test "${ac_cv_lib_nsl_printf+set}" = set; then
10885 echo $ECHO_N "(cached) $ECHO_C" >&6
10887 ac_check_lib_save_LIBS
=$LIBS
10889 cat >conftest.
$ac_ext <<_ACEOF
10890 #line $LINENO "configure"
10891 #include "confdefs.h"
10893 /* Override any gcc2 internal prototype to avoid an error. */
10897 /* We use char because int might match the return type of a gcc2
10898 builtin and then its argument prototype would still apply. */
10900 #ifdef F77_DUMMY_MAIN
10901 # ifdef __cplusplus
10904 int F77_DUMMY_MAIN() { return 1; }
10914 rm -f conftest.
$ac_objext conftest
$ac_exeext
10915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10916 (eval $ac_link) 2>&5
10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 (exit $ac_status); } &&
10920 { ac_try
='test -s conftest$ac_exeext'
10921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10922 (eval $ac_try) 2>&5
10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 (exit $ac_status); }; }; then
10926 ac_cv_lib_nsl_printf
=yes
10928 echo "$as_me: failed program was:" >&5
10929 cat conftest.
$ac_ext >&5
10930 ac_cv_lib_nsl_printf
=no
10932 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10933 LIBS
=$ac_check_lib_save_LIBS
10935 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_printf" >&5
10936 echo "${ECHO_T}$ac_cv_lib_nsl_printf" >&6
10937 if test $ac_cv_lib_nsl_printf = yes; then
10938 cat >>confdefs.h
<<_ACEOF
10939 #define HAVE_LIBNSL 1
10950 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10951 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10952 if test "${ac_cv_lib_socket_connect+set}" = set; then
10953 echo $ECHO_N "(cached) $ECHO_C" >&6
10955 ac_check_lib_save_LIBS
=$LIBS
10956 LIBS
="-lsocket $LIBS"
10957 cat >conftest.
$ac_ext <<_ACEOF
10958 #line $LINENO "configure"
10959 #include "confdefs.h"
10961 /* Override any gcc2 internal prototype to avoid an error. */
10965 /* We use char because int might match the return type of a gcc2
10966 builtin and then its argument prototype would still apply. */
10968 #ifdef F77_DUMMY_MAIN
10969 # ifdef __cplusplus
10972 int F77_DUMMY_MAIN() { return 1; }
10982 rm -f conftest.
$ac_objext conftest
$ac_exeext
10983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10984 (eval $ac_link) 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); } &&
10988 { ac_try
='test -s conftest$ac_exeext'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; }; then
10994 ac_cv_lib_socket_connect
=yes
10996 echo "$as_me: failed program was:" >&5
10997 cat conftest.
$ac_ext >&5
10998 ac_cv_lib_socket_connect
=no
11000 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11001 LIBS
=$ac_check_lib_save_LIBS
11003 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11004 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
11005 if test $ac_cv_lib_socket_connect = yes; then
11006 cat >>confdefs.h
<<_ACEOF
11007 #define HAVE_LIBSOCKET 1
11010 LIBS
="-lsocket $LIBS"
11018 echo "$as_me:$LINENO: checking for connect in -linet" >&5
11019 echo $ECHO_N "checking for connect in -linet... $ECHO_C" >&6
11020 if test "${ac_cv_lib_inet_connect+set}" = set; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11023 ac_check_lib_save_LIBS
=$LIBS
11024 LIBS
="-linet $LIBS"
11025 cat >conftest.
$ac_ext <<_ACEOF
11026 #line $LINENO "configure"
11027 #include "confdefs.h"
11029 /* Override any gcc2 internal prototype to avoid an error. */
11033 /* We use char because int might match the return type of a gcc2
11034 builtin and then its argument prototype would still apply. */
11036 #ifdef F77_DUMMY_MAIN
11037 # ifdef __cplusplus
11040 int F77_DUMMY_MAIN() { return 1; }
11050 rm -f conftest.
$ac_objext conftest
$ac_exeext
11051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11052 (eval $ac_link) 2>&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); } &&
11056 { ac_try
='test -s conftest$ac_exeext'
11057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11058 (eval $ac_try) 2>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }; }; then
11062 ac_cv_lib_inet_connect
=yes
11064 echo "$as_me: failed program was:" >&5
11065 cat conftest.
$ac_ext >&5
11066 ac_cv_lib_inet_connect
=no
11068 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11069 LIBS
=$ac_check_lib_save_LIBS
11071 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_connect" >&5
11072 echo "${ECHO_T}$ac_cv_lib_inet_connect" >&6
11073 if test $ac_cv_lib_inet_connect = yes; then
11074 cat >>confdefs.h
<<_ACEOF
11075 #define HAVE_LIBINET 1
11078 LIBS
="-linet $LIBS"
11083 if test x
"$ac_cv_lib_socket_connect" = x
"yes" ||
11084 test x
"$ac_cv_lib_inet_connect" = x
"yes"; then
11085 # ac_cv_func_connect=yes
11086 # don't! it would cause AC_CHECK_FUNC to succeed next time configure is run
11088 cat >>confdefs.h
<<\_ACEOF
11089 #define HAVE_CONNECT 1
11095 ###############################################
11096 # test for where we get yp_get_default_domain() from
11097 echo "$as_me:$LINENO: checking for library containing yp_get_default_domain" >&5
11098 echo $ECHO_N "checking for library containing yp_get_default_domain... $ECHO_C" >&6
11099 if test "${ac_cv_search_yp_get_default_domain+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11102 ac_func_search_save_LIBS
=$LIBS
11103 ac_cv_search_yp_get_default_domain
=no
11104 cat >conftest.
$ac_ext <<_ACEOF
11105 #line $LINENO "configure"
11106 #include "confdefs.h"
11108 /* Override any gcc2 internal prototype to avoid an error. */
11112 /* We use char because int might match the return type of a gcc2
11113 builtin and then its argument prototype would still apply. */
11114 char yp_get_default_domain ();
11115 #ifdef F77_DUMMY_MAIN
11116 # ifdef __cplusplus
11119 int F77_DUMMY_MAIN() { return 1; }
11124 yp_get_default_domain ();
11129 rm -f conftest.
$ac_objext conftest
$ac_exeext
11130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11131 (eval $ac_link) 2>&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } &&
11135 { ac_try
='test -s conftest$ac_exeext'
11136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11137 (eval $ac_try) 2>&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); }; }; then
11141 ac_cv_search_yp_get_default_domain
="none required"
11143 echo "$as_me: failed program was:" >&5
11144 cat conftest.
$ac_ext >&5
11146 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11147 if test "$ac_cv_search_yp_get_default_domain" = no
; then
11148 for ac_lib
in nsl
; do
11149 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11150 cat >conftest.
$ac_ext <<_ACEOF
11151 #line $LINENO "configure"
11152 #include "confdefs.h"
11154 /* Override any gcc2 internal prototype to avoid an error. */
11158 /* We use char because int might match the return type of a gcc2
11159 builtin and then its argument prototype would still apply. */
11160 char yp_get_default_domain ();
11161 #ifdef F77_DUMMY_MAIN
11162 # ifdef __cplusplus
11165 int F77_DUMMY_MAIN() { return 1; }
11170 yp_get_default_domain ();
11175 rm -f conftest.
$ac_objext conftest
$ac_exeext
11176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11177 (eval $ac_link) 2>&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } &&
11181 { ac_try
='test -s conftest$ac_exeext'
11182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11183 (eval $ac_try) 2>&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); }; }; then
11187 ac_cv_search_yp_get_default_domain
="-l$ac_lib"
11190 echo "$as_me: failed program was:" >&5
11191 cat conftest.
$ac_ext >&5
11193 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11196 LIBS
=$ac_func_search_save_LIBS
11198 echo "$as_me:$LINENO: result: $ac_cv_search_yp_get_default_domain" >&5
11199 echo "${ECHO_T}$ac_cv_search_yp_get_default_domain" >&6
11200 if test "$ac_cv_search_yp_get_default_domain" != no
; then
11201 test "$ac_cv_search_yp_get_default_domain" = "none required" || LIBS
="$ac_cv_search_yp_get_default_domain $LIBS"
11206 for ac_func
in yp_get_default_domain
11208 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11209 echo "$as_me:$LINENO: checking for $ac_func" >&5
11210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11211 if eval "test \"\${$as_ac_var+set}\" = set"; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 cat >conftest.
$ac_ext <<_ACEOF
11215 #line $LINENO "configure"
11216 #include "confdefs.h"
11217 /* System header to define __stub macros and hopefully few prototypes,
11218 which can conflict with char $ac_func (); below. */
11219 #include <assert.h>
11220 /* Override any gcc2 internal prototype to avoid an error. */
11224 /* We use char because int might match the return type of a gcc2
11225 builtin and then its argument prototype would still apply. */
11229 #ifdef F77_DUMMY_MAIN
11230 # ifdef __cplusplus
11233 int F77_DUMMY_MAIN() { return 1; }
11238 /* The GNU C library defines this for functions which it implements
11239 to always fail with ENOSYS. Some functions are actually named
11240 something starting with __ and the normal name is an alias. */
11241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11251 rm -f conftest.
$ac_objext conftest
$ac_exeext
11252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11253 (eval $ac_link) 2>&5
11255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11256 (exit $ac_status); } &&
11257 { ac_try
='test -s conftest$ac_exeext'
11258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11259 (eval $ac_try) 2>&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); }; }; then
11263 eval "$as_ac_var=yes"
11265 echo "$as_me: failed program was:" >&5
11266 cat conftest.
$ac_ext >&5
11267 eval "$as_ac_var=no"
11269 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11273 if test `eval echo '${'$as_ac_var'}'` = yes; then
11274 cat >>confdefs.h
<<_ACEOF
11275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11282 # Check if we have execl, if not we need to compile smbrun.
11284 for ac_func
in execl
11286 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11287 echo "$as_me:$LINENO: checking for $ac_func" >&5
11288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11289 if eval "test \"\${$as_ac_var+set}\" = set"; then
11290 echo $ECHO_N "(cached) $ECHO_C" >&6
11292 cat >conftest.
$ac_ext <<_ACEOF
11293 #line $LINENO "configure"
11294 #include "confdefs.h"
11295 /* System header to define __stub macros and hopefully few prototypes,
11296 which can conflict with char $ac_func (); below. */
11297 #include <assert.h>
11298 /* Override any gcc2 internal prototype to avoid an error. */
11302 /* We use char because int might match the return type of a gcc2
11303 builtin and then its argument prototype would still apply. */
11307 #ifdef F77_DUMMY_MAIN
11308 # ifdef __cplusplus
11311 int F77_DUMMY_MAIN() { return 1; }
11316 /* The GNU C library defines this for functions which it implements
11317 to always fail with ENOSYS. Some functions are actually named
11318 something starting with __ and the normal name is an alias. */
11319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11329 rm -f conftest.
$ac_objext conftest
$ac_exeext
11330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11331 (eval $ac_link) 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); } &&
11335 { ac_try
='test -s conftest$ac_exeext'
11336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11337 (eval $ac_try) 2>&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); }; }; then
11341 eval "$as_ac_var=yes"
11343 echo "$as_me: failed program was:" >&5
11344 cat conftest.
$ac_ext >&5
11345 eval "$as_ac_var=no"
11347 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11351 if test `eval echo '${'$as_ac_var'}'` = yes; then
11352 cat >>confdefs.h
<<_ACEOF
11353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11359 if test x
"$ac_cv_func_execl" = x
"no"; then
11360 EXTRA_BIN_PROGS
="$EXTRA_BIN_PROGS bin/smbrun\$(EXEEXT)"
11382 for ac_func
in dlopen dlclose dlsym dlerror waitpid getcwd strdup strndup strnlen strtoul strerror chown fchown
chmod fchmod chroot link mknod mknod64
11384 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11385 echo "$as_me:$LINENO: checking for $ac_func" >&5
11386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11387 if eval "test \"\${$as_ac_var+set}\" = set"; then
11388 echo $ECHO_N "(cached) $ECHO_C" >&6
11390 cat >conftest.
$ac_ext <<_ACEOF
11391 #line $LINENO "configure"
11392 #include "confdefs.h"
11393 /* System header to define __stub macros and hopefully few prototypes,
11394 which can conflict with char $ac_func (); below. */
11395 #include <assert.h>
11396 /* Override any gcc2 internal prototype to avoid an error. */
11400 /* We use char because int might match the return type of a gcc2
11401 builtin and then its argument prototype would still apply. */
11405 #ifdef F77_DUMMY_MAIN
11406 # ifdef __cplusplus
11409 int F77_DUMMY_MAIN() { return 1; }
11414 /* The GNU C library defines this for functions which it implements
11415 to always fail with ENOSYS. Some functions are actually named
11416 something starting with __ and the normal name is an alias. */
11417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11427 rm -f conftest.
$ac_objext conftest
$ac_exeext
11428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11429 (eval $ac_link) 2>&5
11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11432 (exit $ac_status); } &&
11433 { ac_try
='test -s conftest$ac_exeext'
11434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11435 (eval $ac_try) 2>&5
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); }; }; then
11439 eval "$as_ac_var=yes"
11441 echo "$as_me: failed program was:" >&5
11442 cat conftest.
$ac_ext >&5
11443 eval "$as_ac_var=no"
11445 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11449 if test `eval echo '${'$as_ac_var'}'` = yes; then
11450 cat >>confdefs.h
<<_ACEOF
11451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11468 for ac_func
in fstat strchr utime utimes getrlimit fsync bzero memset strlcpy strlcat setpgid
11470 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11471 echo "$as_me:$LINENO: checking for $ac_func" >&5
11472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11473 if eval "test \"\${$as_ac_var+set}\" = set"; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6
11476 cat >conftest.
$ac_ext <<_ACEOF
11477 #line $LINENO "configure"
11478 #include "confdefs.h"
11479 /* System header to define __stub macros and hopefully few prototypes,
11480 which can conflict with char $ac_func (); below. */
11481 #include <assert.h>
11482 /* Override any gcc2 internal prototype to avoid an error. */
11486 /* We use char because int might match the return type of a gcc2
11487 builtin and then its argument prototype would still apply. */
11491 #ifdef F77_DUMMY_MAIN
11492 # ifdef __cplusplus
11495 int F77_DUMMY_MAIN() { return 1; }
11500 /* The GNU C library defines this for functions which it implements
11501 to always fail with ENOSYS. Some functions are actually named
11502 something starting with __ and the normal name is an alias. */
11503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11513 rm -f conftest.
$ac_objext conftest
$ac_exeext
11514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11515 (eval $ac_link) 2>&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); } &&
11519 { ac_try
='test -s conftest$ac_exeext'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; }; then
11525 eval "$as_ac_var=yes"
11527 echo "$as_me: failed program was:" >&5
11528 cat conftest.
$ac_ext >&5
11529 eval "$as_ac_var=no"
11531 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11535 if test `eval echo '${'$as_ac_var'}'` = yes; then
11536 cat >>confdefs.h
<<_ACEOF
11537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11554 for ac_func
in memmove vsnprintf snprintf asprintf vasprintf setsid glob strpbrk pipe crypt16 getauthuid
11556 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11557 echo "$as_me:$LINENO: checking for $ac_func" >&5
11558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11559 if eval "test \"\${$as_ac_var+set}\" = set"; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 cat >conftest.
$ac_ext <<_ACEOF
11563 #line $LINENO "configure"
11564 #include "confdefs.h"
11565 /* System header to define __stub macros and hopefully few prototypes,
11566 which can conflict with char $ac_func (); below. */
11567 #include <assert.h>
11568 /* Override any gcc2 internal prototype to avoid an error. */
11572 /* We use char because int might match the return type of a gcc2
11573 builtin and then its argument prototype would still apply. */
11577 #ifdef F77_DUMMY_MAIN
11578 # ifdef __cplusplus
11581 int F77_DUMMY_MAIN() { return 1; }
11586 /* The GNU C library defines this for functions which it implements
11587 to always fail with ENOSYS. Some functions are actually named
11588 something starting with __ and the normal name is an alias. */
11589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11599 rm -f conftest.
$ac_objext conftest
$ac_exeext
11600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11601 (eval $ac_link) 2>&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); } &&
11605 { ac_try
='test -s conftest$ac_exeext'
11606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11607 (eval $ac_try) 2>&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); }; }; then
11611 eval "$as_ac_var=yes"
11613 echo "$as_me: failed program was:" >&5
11614 cat conftest.
$ac_ext >&5
11615 eval "$as_ac_var=no"
11617 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11621 if test `eval echo '${'$as_ac_var'}'` = yes; then
11622 cat >>confdefs.h
<<_ACEOF
11623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11638 for ac_func
in strftime sigprocmask sigblock sigaction sigset innetgr setnetgrent getnetgrent endnetgrent
11640 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11641 echo "$as_me:$LINENO: checking for $ac_func" >&5
11642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11643 if eval "test \"\${$as_ac_var+set}\" = set"; then
11644 echo $ECHO_N "(cached) $ECHO_C" >&6
11646 cat >conftest.
$ac_ext <<_ACEOF
11647 #line $LINENO "configure"
11648 #include "confdefs.h"
11649 /* System header to define __stub macros and hopefully few prototypes,
11650 which can conflict with char $ac_func (); below. */
11651 #include <assert.h>
11652 /* Override any gcc2 internal prototype to avoid an error. */
11656 /* We use char because int might match the return type of a gcc2
11657 builtin and then its argument prototype would still apply. */
11661 #ifdef F77_DUMMY_MAIN
11662 # ifdef __cplusplus
11665 int F77_DUMMY_MAIN() { return 1; }
11670 /* The GNU C library defines this for functions which it implements
11671 to always fail with ENOSYS. Some functions are actually named
11672 something starting with __ and the normal name is an alias. */
11673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11683 rm -f conftest.
$ac_objext conftest
$ac_exeext
11684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11685 (eval $ac_link) 2>&5
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); } &&
11689 { ac_try
='test -s conftest$ac_exeext'
11690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11691 (eval $ac_try) 2>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); }; }; then
11695 eval "$as_ac_var=yes"
11697 echo "$as_me: failed program was:" >&5
11698 cat conftest.
$ac_ext >&5
11699 eval "$as_ac_var=no"
11701 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11705 if test `eval echo '${'$as_ac_var'}'` = yes; then
11706 cat >>confdefs.h
<<_ACEOF
11707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11721 for ac_func
in initgroups
select poll rdchk getgrnam getgrent pathconf realpath
11723 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11724 echo "$as_me:$LINENO: checking for $ac_func" >&5
11725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11726 if eval "test \"\${$as_ac_var+set}\" = set"; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 cat >conftest.
$ac_ext <<_ACEOF
11730 #line $LINENO "configure"
11731 #include "confdefs.h"
11732 /* System header to define __stub macros and hopefully few prototypes,
11733 which can conflict with char $ac_func (); below. */
11734 #include <assert.h>
11735 /* Override any gcc2 internal prototype to avoid an error. */
11739 /* We use char because int might match the return type of a gcc2
11740 builtin and then its argument prototype would still apply. */
11744 #ifdef F77_DUMMY_MAIN
11745 # ifdef __cplusplus
11748 int F77_DUMMY_MAIN() { return 1; }
11753 /* The GNU C library defines this for functions which it implements
11754 to always fail with ENOSYS. Some functions are actually named
11755 something starting with __ and the normal name is an alias. */
11756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11766 rm -f conftest.
$ac_objext conftest
$ac_exeext
11767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11768 (eval $ac_link) 2>&5
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); } &&
11772 { ac_try
='test -s conftest$ac_exeext'
11773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11774 (eval $ac_try) 2>&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); }; }; then
11778 eval "$as_ac_var=yes"
11780 echo "$as_me: failed program was:" >&5
11781 cat conftest.
$ac_ext >&5
11782 eval "$as_ac_var=no"
11784 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11788 if test `eval echo '${'$as_ac_var'}'` = yes; then
11789 cat >>confdefs.h
<<_ACEOF
11790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11806 for ac_func
in setpriv setgidx setuidx setgroups sysconf mktime rename ftruncate stat64 fstat64
11808 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11809 echo "$as_me:$LINENO: checking for $ac_func" >&5
11810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11811 if eval "test \"\${$as_ac_var+set}\" = set"; then
11812 echo $ECHO_N "(cached) $ECHO_C" >&6
11814 cat >conftest.
$ac_ext <<_ACEOF
11815 #line $LINENO "configure"
11816 #include "confdefs.h"
11817 /* System header to define __stub macros and hopefully few prototypes,
11818 which can conflict with char $ac_func (); below. */
11819 #include <assert.h>
11820 /* Override any gcc2 internal prototype to avoid an error. */
11824 /* We use char because int might match the return type of a gcc2
11825 builtin and then its argument prototype would still apply. */
11829 #ifdef F77_DUMMY_MAIN
11830 # ifdef __cplusplus
11833 int F77_DUMMY_MAIN() { return 1; }
11838 /* The GNU C library defines this for functions which it implements
11839 to always fail with ENOSYS. Some functions are actually named
11840 something starting with __ and the normal name is an alias. */
11841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11851 rm -f conftest.
$ac_objext conftest
$ac_exeext
11852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11853 (eval $ac_link) 2>&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); } &&
11857 { ac_try
='test -s conftest$ac_exeext'
11858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11859 (eval $ac_try) 2>&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); }; }; then
11863 eval "$as_ac_var=yes"
11865 echo "$as_me: failed program was:" >&5
11866 cat conftest.
$ac_ext >&5
11867 eval "$as_ac_var=no"
11869 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11873 if test `eval echo '${'$as_ac_var'}'` = yes; then
11874 cat >>confdefs.h
<<_ACEOF
11875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11889 for ac_func
in lstat64 fopen64 atexit grantpt dup2 lseek64 ftruncate64 readdir64
11891 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11892 echo "$as_me:$LINENO: checking for $ac_func" >&5
11893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11894 if eval "test \"\${$as_ac_var+set}\" = set"; then
11895 echo $ECHO_N "(cached) $ECHO_C" >&6
11897 cat >conftest.
$ac_ext <<_ACEOF
11898 #line $LINENO "configure"
11899 #include "confdefs.h"
11900 /* System header to define __stub macros and hopefully few prototypes,
11901 which can conflict with char $ac_func (); below. */
11902 #include <assert.h>
11903 /* Override any gcc2 internal prototype to avoid an error. */
11907 /* We use char because int might match the return type of a gcc2
11908 builtin and then its argument prototype would still apply. */
11912 #ifdef F77_DUMMY_MAIN
11913 # ifdef __cplusplus
11916 int F77_DUMMY_MAIN() { return 1; }
11921 /* The GNU C library defines this for functions which it implements
11922 to always fail with ENOSYS. Some functions are actually named
11923 something starting with __ and the normal name is an alias. */
11924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11934 rm -f conftest.
$ac_objext conftest
$ac_exeext
11935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11936 (eval $ac_link) 2>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try
='test -s conftest$ac_exeext'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; }; then
11946 eval "$as_ac_var=yes"
11948 echo "$as_me: failed program was:" >&5
11949 cat conftest.
$ac_ext >&5
11950 eval "$as_ac_var=no"
11952 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11956 if test `eval echo '${'$as_ac_var'}'` = yes; then
11957 cat >>confdefs.h
<<_ACEOF
11958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11971 for ac_func
in fseek64 fseeko64 ftell64 ftello64 setluid getpwanam setlinebuf
11973 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11974 echo "$as_me:$LINENO: checking for $ac_func" >&5
11975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11976 if eval "test \"\${$as_ac_var+set}\" = set"; then
11977 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 cat >conftest.
$ac_ext <<_ACEOF
11980 #line $LINENO "configure"
11981 #include "confdefs.h"
11982 /* System header to define __stub macros and hopefully few prototypes,
11983 which can conflict with char $ac_func (); below. */
11984 #include <assert.h>
11985 /* Override any gcc2 internal prototype to avoid an error. */
11989 /* We use char because int might match the return type of a gcc2
11990 builtin and then its argument prototype would still apply. */
11994 #ifdef F77_DUMMY_MAIN
11995 # ifdef __cplusplus
11998 int F77_DUMMY_MAIN() { return 1; }
12003 /* The GNU C library defines this for functions which it implements
12004 to always fail with ENOSYS. Some functions are actually named
12005 something starting with __ and the normal name is an alias. */
12006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12016 rm -f conftest.
$ac_objext conftest
$ac_exeext
12017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12018 (eval $ac_link) 2>&5
12020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021 (exit $ac_status); } &&
12022 { ac_try
='test -s conftest$ac_exeext'
12023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12024 (eval $ac_try) 2>&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); }; }; then
12028 eval "$as_ac_var=yes"
12030 echo "$as_me: failed program was:" >&5
12031 cat conftest.
$ac_ext >&5
12032 eval "$as_ac_var=no"
12034 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12038 if test `eval echo '${'$as_ac_var'}'` = yes; then
12039 cat >>confdefs.h
<<_ACEOF
12040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12057 for ac_func
in srandom random srand rand setenv
usleep strcasecmp fcvt fcvtl symlink readlink
12059 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12060 echo "$as_me:$LINENO: checking for $ac_func" >&5
12061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12062 if eval "test \"\${$as_ac_var+set}\" = set"; then
12063 echo $ECHO_N "(cached) $ECHO_C" >&6
12065 cat >conftest.
$ac_ext <<_ACEOF
12066 #line $LINENO "configure"
12067 #include "confdefs.h"
12068 /* System header to define __stub macros and hopefully few prototypes,
12069 which can conflict with char $ac_func (); below. */
12070 #include <assert.h>
12071 /* Override any gcc2 internal prototype to avoid an error. */
12075 /* We use char because int might match the return type of a gcc2
12076 builtin and then its argument prototype would still apply. */
12080 #ifdef F77_DUMMY_MAIN
12081 # ifdef __cplusplus
12084 int F77_DUMMY_MAIN() { return 1; }
12089 /* The GNU C library defines this for functions which it implements
12090 to always fail with ENOSYS. Some functions are actually named
12091 something starting with __ and the normal name is an alias. */
12092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12102 rm -f conftest.
$ac_objext conftest
$ac_exeext
12103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12104 (eval $ac_link) 2>&5
12106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107 (exit $ac_status); } &&
12108 { ac_try
='test -s conftest$ac_exeext'
12109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12110 (eval $ac_try) 2>&5
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); }; }; then
12114 eval "$as_ac_var=yes"
12116 echo "$as_me: failed program was:" >&5
12117 cat conftest.
$ac_ext >&5
12118 eval "$as_ac_var=no"
12120 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12124 if test `eval echo '${'$as_ac_var'}'` = yes; then
12125 cat >>confdefs.h
<<_ACEOF
12126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12136 for ac_func
in syslog vsyslog getgrouplist timegm
12138 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12139 echo "$as_me:$LINENO: checking for $ac_func" >&5
12140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12141 if eval "test \"\${$as_ac_var+set}\" = set"; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 cat >conftest.
$ac_ext <<_ACEOF
12145 #line $LINENO "configure"
12146 #include "confdefs.h"
12147 /* System header to define __stub macros and hopefully few prototypes,
12148 which can conflict with char $ac_func (); below. */
12149 #include <assert.h>
12150 /* Override any gcc2 internal prototype to avoid an error. */
12154 /* We use char because int might match the return type of a gcc2
12155 builtin and then its argument prototype would still apply. */
12159 #ifdef F77_DUMMY_MAIN
12160 # ifdef __cplusplus
12163 int F77_DUMMY_MAIN() { return 1; }
12168 /* The GNU C library defines this for functions which it implements
12169 to always fail with ENOSYS. Some functions are actually named
12170 something starting with __ and the normal name is an alias. */
12171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12181 rm -f conftest.
$ac_objext conftest
$ac_exeext
12182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12183 (eval $ac_link) 2>&5
12185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 (exit $ac_status); } &&
12187 { ac_try
='test -s conftest$ac_exeext'
12188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12189 (eval $ac_try) 2>&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); }; }; then
12193 eval "$as_ac_var=yes"
12195 echo "$as_me: failed program was:" >&5
12196 cat conftest.
$ac_ext >&5
12197 eval "$as_ac_var=no"
12199 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12203 if test `eval echo '${'$as_ac_var'}'` = yes; then
12204 cat >>confdefs.h
<<_ACEOF
12205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12211 # setbuffer, shmget, shm_open are needed for smbtorture
12215 for ac_func
in setbuffer shmget shm_open
12217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12218 echo "$as_me:$LINENO: checking for $ac_func" >&5
12219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12220 if eval "test \"\${$as_ac_var+set}\" = set"; then
12221 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 cat >conftest.
$ac_ext <<_ACEOF
12224 #line $LINENO "configure"
12225 #include "confdefs.h"
12226 /* System header to define __stub macros and hopefully few prototypes,
12227 which can conflict with char $ac_func (); below. */
12228 #include <assert.h>
12229 /* Override any gcc2 internal prototype to avoid an error. */
12233 /* We use char because int might match the return type of a gcc2
12234 builtin and then its argument prototype would still apply. */
12238 #ifdef F77_DUMMY_MAIN
12239 # ifdef __cplusplus
12242 int F77_DUMMY_MAIN() { return 1; }
12247 /* The GNU C library defines this for functions which it implements
12248 to always fail with ENOSYS. Some functions are actually named
12249 something starting with __ and the normal name is an alias. */
12250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12260 rm -f conftest.
$ac_objext conftest
$ac_exeext
12261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12262 (eval $ac_link) 2>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } &&
12266 { ac_try
='test -s conftest$ac_exeext'
12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12268 (eval $ac_try) 2>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; }; then
12272 eval "$as_ac_var=yes"
12274 echo "$as_me: failed program was:" >&5
12275 cat conftest.
$ac_ext >&5
12276 eval "$as_ac_var=no"
12278 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12282 if test `eval echo '${'$as_ac_var'}'` = yes; then
12283 cat >>confdefs.h
<<_ACEOF
12284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12291 # syscall() is needed for smbwrapper.
12293 for ac_func
in syscall
12295 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12296 echo "$as_me:$LINENO: checking for $ac_func" >&5
12297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12298 if eval "test \"\${$as_ac_var+set}\" = set"; then
12299 echo $ECHO_N "(cached) $ECHO_C" >&6
12301 cat >conftest.
$ac_ext <<_ACEOF
12302 #line $LINENO "configure"
12303 #include "confdefs.h"
12304 /* System header to define __stub macros and hopefully few prototypes,
12305 which can conflict with char $ac_func (); below. */
12306 #include <assert.h>
12307 /* Override any gcc2 internal prototype to avoid an error. */
12311 /* We use char because int might match the return type of a gcc2
12312 builtin and then its argument prototype would still apply. */
12316 #ifdef F77_DUMMY_MAIN
12317 # ifdef __cplusplus
12320 int F77_DUMMY_MAIN() { return 1; }
12325 /* The GNU C library defines this for functions which it implements
12326 to always fail with ENOSYS. Some functions are actually named
12327 something starting with __ and the normal name is an alias. */
12328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12338 rm -f conftest.
$ac_objext conftest
$ac_exeext
12339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12340 (eval $ac_link) 2>&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); } &&
12344 { ac_try
='test -s conftest$ac_exeext'
12345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12346 (eval $ac_try) 2>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); }; }; then
12350 eval "$as_ac_var=yes"
12352 echo "$as_me: failed program was:" >&5
12353 cat conftest.
$ac_ext >&5
12354 eval "$as_ac_var=no"
12356 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12360 if test `eval echo '${'$as_ac_var'}'` = yes; then
12361 cat >>confdefs.h
<<_ACEOF
12362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12376 for ac_func
in _dup _dup2 _opendir _readdir _seekdir _telldir _closedir
12378 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12379 echo "$as_me:$LINENO: checking for $ac_func" >&5
12380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12381 if eval "test \"\${$as_ac_var+set}\" = set"; then
12382 echo $ECHO_N "(cached) $ECHO_C" >&6
12384 cat >conftest.
$ac_ext <<_ACEOF
12385 #line $LINENO "configure"
12386 #include "confdefs.h"
12387 /* System header to define __stub macros and hopefully few prototypes,
12388 which can conflict with char $ac_func (); below. */
12389 #include <assert.h>
12390 /* Override any gcc2 internal prototype to avoid an error. */
12394 /* We use char because int might match the return type of a gcc2
12395 builtin and then its argument prototype would still apply. */
12399 #ifdef F77_DUMMY_MAIN
12400 # ifdef __cplusplus
12403 int F77_DUMMY_MAIN() { return 1; }
12408 /* The GNU C library defines this for functions which it implements
12409 to always fail with ENOSYS. Some functions are actually named
12410 something starting with __ and the normal name is an alias. */
12411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12421 rm -f conftest.
$ac_objext conftest
$ac_exeext
12422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12423 (eval $ac_link) 2>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); } &&
12427 { ac_try
='test -s conftest$ac_exeext'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; }; then
12433 eval "$as_ac_var=yes"
12435 echo "$as_me: failed program was:" >&5
12436 cat conftest.
$ac_ext >&5
12437 eval "$as_ac_var=no"
12439 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12443 if test `eval echo '${'$as_ac_var'}'` = yes; then
12444 cat >>confdefs.h
<<_ACEOF
12445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12458 for ac_func
in __dup __dup2 __opendir __readdir __seekdir __telldir __closedir
12460 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12461 echo "$as_me:$LINENO: checking for $ac_func" >&5
12462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12463 if eval "test \"\${$as_ac_var+set}\" = set"; then
12464 echo $ECHO_N "(cached) $ECHO_C" >&6
12466 cat >conftest.
$ac_ext <<_ACEOF
12467 #line $LINENO "configure"
12468 #include "confdefs.h"
12469 /* System header to define __stub macros and hopefully few prototypes,
12470 which can conflict with char $ac_func (); below. */
12471 #include <assert.h>
12472 /* Override any gcc2 internal prototype to avoid an error. */
12476 /* We use char because int might match the return type of a gcc2
12477 builtin and then its argument prototype would still apply. */
12481 #ifdef F77_DUMMY_MAIN
12482 # ifdef __cplusplus
12485 int F77_DUMMY_MAIN() { return 1; }
12490 /* The GNU C library defines this for functions which it implements
12491 to always fail with ENOSYS. Some functions are actually named
12492 something starting with __ and the normal name is an alias. */
12493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12503 rm -f conftest.
$ac_objext conftest
$ac_exeext
12504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12505 (eval $ac_link) 2>&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } &&
12509 { ac_try
='test -s conftest$ac_exeext'
12510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12511 (eval $ac_try) 2>&5
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); }; }; then
12515 eval "$as_ac_var=yes"
12517 echo "$as_me: failed program was:" >&5
12518 cat conftest.
$ac_ext >&5
12519 eval "$as_ac_var=no"
12521 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12525 if test `eval echo '${'$as_ac_var'}'` = yes; then
12526 cat >>confdefs.h
<<_ACEOF
12527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12535 for ac_func
in __getcwd _getcwd
12537 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12538 echo "$as_me:$LINENO: checking for $ac_func" >&5
12539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12540 if eval "test \"\${$as_ac_var+set}\" = set"; then
12541 echo $ECHO_N "(cached) $ECHO_C" >&6
12543 cat >conftest.
$ac_ext <<_ACEOF
12544 #line $LINENO "configure"
12545 #include "confdefs.h"
12546 /* System header to define __stub macros and hopefully few prototypes,
12547 which can conflict with char $ac_func (); below. */
12548 #include <assert.h>
12549 /* Override any gcc2 internal prototype to avoid an error. */
12553 /* We use char because int might match the return type of a gcc2
12554 builtin and then its argument prototype would still apply. */
12558 #ifdef F77_DUMMY_MAIN
12559 # ifdef __cplusplus
12562 int F77_DUMMY_MAIN() { return 1; }
12567 /* The GNU C library defines this for functions which it implements
12568 to always fail with ENOSYS. Some functions are actually named
12569 something starting with __ and the normal name is an alias. */
12570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12580 rm -f conftest.
$ac_objext conftest
$ac_exeext
12581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12582 (eval $ac_link) 2>&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } &&
12586 { ac_try
='test -s conftest$ac_exeext'
12587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12588 (eval $ac_try) 2>&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); }; }; then
12592 eval "$as_ac_var=yes"
12594 echo "$as_me: failed program was:" >&5
12595 cat conftest.
$ac_ext >&5
12596 eval "$as_ac_var=no"
12598 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12602 if test `eval echo '${'$as_ac_var'}'` = yes; then
12603 cat >>confdefs.h
<<_ACEOF
12604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12613 for ac_func
in __xstat __fxstat __lxstat
12615 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12616 echo "$as_me:$LINENO: checking for $ac_func" >&5
12617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12618 if eval "test \"\${$as_ac_var+set}\" = set"; then
12619 echo $ECHO_N "(cached) $ECHO_C" >&6
12621 cat >conftest.
$ac_ext <<_ACEOF
12622 #line $LINENO "configure"
12623 #include "confdefs.h"
12624 /* System header to define __stub macros and hopefully few prototypes,
12625 which can conflict with char $ac_func (); below. */
12626 #include <assert.h>
12627 /* Override any gcc2 internal prototype to avoid an error. */
12631 /* We use char because int might match the return type of a gcc2
12632 builtin and then its argument prototype would still apply. */
12636 #ifdef F77_DUMMY_MAIN
12637 # ifdef __cplusplus
12640 int F77_DUMMY_MAIN() { return 1; }
12645 /* The GNU C library defines this for functions which it implements
12646 to always fail with ENOSYS. Some functions are actually named
12647 something starting with __ and the normal name is an alias. */
12648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12658 rm -f conftest.
$ac_objext conftest
$ac_exeext
12659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12660 (eval $ac_link) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } &&
12664 { ac_try
='test -s conftest$ac_exeext'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; }; then
12670 eval "$as_ac_var=yes"
12672 echo "$as_me: failed program was:" >&5
12673 cat conftest.
$ac_ext >&5
12674 eval "$as_ac_var=no"
12676 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12680 if test `eval echo '${'$as_ac_var'}'` = yes; then
12681 cat >>confdefs.h
<<_ACEOF
12682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12694 for ac_func
in _stat _lstat _fstat __stat __lstat __fstat
12696 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12697 echo "$as_me:$LINENO: checking for $ac_func" >&5
12698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12699 if eval "test \"\${$as_ac_var+set}\" = set"; then
12700 echo $ECHO_N "(cached) $ECHO_C" >&6
12702 cat >conftest.
$ac_ext <<_ACEOF
12703 #line $LINENO "configure"
12704 #include "confdefs.h"
12705 /* System header to define __stub macros and hopefully few prototypes,
12706 which can conflict with char $ac_func (); below. */
12707 #include <assert.h>
12708 /* Override any gcc2 internal prototype to avoid an error. */
12712 /* We use char because int might match the return type of a gcc2
12713 builtin and then its argument prototype would still apply. */
12717 #ifdef F77_DUMMY_MAIN
12718 # ifdef __cplusplus
12721 int F77_DUMMY_MAIN() { return 1; }
12726 /* The GNU C library defines this for functions which it implements
12727 to always fail with ENOSYS. Some functions are actually named
12728 something starting with __ and the normal name is an alias. */
12729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12739 rm -f conftest.
$ac_objext conftest
$ac_exeext
12740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12741 (eval $ac_link) 2>&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); } &&
12745 { ac_try
='test -s conftest$ac_exeext'
12746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 (eval $ac_try) 2>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); }; }; then
12751 eval "$as_ac_var=yes"
12753 echo "$as_me: failed program was:" >&5
12754 cat conftest.
$ac_ext >&5
12755 eval "$as_ac_var=no"
12757 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12761 if test `eval echo '${'$as_ac_var'}'` = yes; then
12762 cat >>confdefs.h
<<_ACEOF
12763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12777 for ac_func
in _acl __acl _facl __facl _open __open _chdir __chdir
12779 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12780 echo "$as_me:$LINENO: checking for $ac_func" >&5
12781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12782 if eval "test \"\${$as_ac_var+set}\" = set"; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 cat >conftest.
$ac_ext <<_ACEOF
12786 #line $LINENO "configure"
12787 #include "confdefs.h"
12788 /* System header to define __stub macros and hopefully few prototypes,
12789 which can conflict with char $ac_func (); below. */
12790 #include <assert.h>
12791 /* Override any gcc2 internal prototype to avoid an error. */
12795 /* We use char because int might match the return type of a gcc2
12796 builtin and then its argument prototype would still apply. */
12800 #ifdef F77_DUMMY_MAIN
12801 # ifdef __cplusplus
12804 int F77_DUMMY_MAIN() { return 1; }
12809 /* The GNU C library defines this for functions which it implements
12810 to always fail with ENOSYS. Some functions are actually named
12811 something starting with __ and the normal name is an alias. */
12812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12822 rm -f conftest.
$ac_objext conftest
$ac_exeext
12823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12824 (eval $ac_link) 2>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } &&
12828 { ac_try
='test -s conftest$ac_exeext'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; }; then
12834 eval "$as_ac_var=yes"
12836 echo "$as_me: failed program was:" >&5
12837 cat conftest.
$ac_ext >&5
12838 eval "$as_ac_var=no"
12840 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12844 if test `eval echo '${'$as_ac_var'}'` = yes; then
12845 cat >>confdefs.h
<<_ACEOF
12846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12858 for ac_func
in _close __close _fchdir __fchdir _fcntl __fcntl
12860 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12861 echo "$as_me:$LINENO: checking for $ac_func" >&5
12862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12863 if eval "test \"\${$as_ac_var+set}\" = set"; then
12864 echo $ECHO_N "(cached) $ECHO_C" >&6
12866 cat >conftest.
$ac_ext <<_ACEOF
12867 #line $LINENO "configure"
12868 #include "confdefs.h"
12869 /* System header to define __stub macros and hopefully few prototypes,
12870 which can conflict with char $ac_func (); below. */
12871 #include <assert.h>
12872 /* Override any gcc2 internal prototype to avoid an error. */
12876 /* We use char because int might match the return type of a gcc2
12877 builtin and then its argument prototype would still apply. */
12881 #ifdef F77_DUMMY_MAIN
12882 # ifdef __cplusplus
12885 int F77_DUMMY_MAIN() { return 1; }
12890 /* The GNU C library defines this for functions which it implements
12891 to always fail with ENOSYS. Some functions are actually named
12892 something starting with __ and the normal name is an alias. */
12893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12903 rm -f conftest.
$ac_objext conftest
$ac_exeext
12904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12905 (eval $ac_link) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); } &&
12909 { ac_try
='test -s conftest$ac_exeext'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; }; then
12915 eval "$as_ac_var=yes"
12917 echo "$as_me: failed program was:" >&5
12918 cat conftest.
$ac_ext >&5
12919 eval "$as_ac_var=no"
12921 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12925 if test `eval echo '${'$as_ac_var'}'` = yes; then
12926 cat >>confdefs.h
<<_ACEOF
12927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12940 for ac_func
in getdents _getdents __getdents _lseek __lseek _read __read
12942 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12943 echo "$as_me:$LINENO: checking for $ac_func" >&5
12944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12945 if eval "test \"\${$as_ac_var+set}\" = set"; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 cat >conftest.
$ac_ext <<_ACEOF
12949 #line $LINENO "configure"
12950 #include "confdefs.h"
12951 /* System header to define __stub macros and hopefully few prototypes,
12952 which can conflict with char $ac_func (); below. */
12953 #include <assert.h>
12954 /* Override any gcc2 internal prototype to avoid an error. */
12958 /* We use char because int might match the return type of a gcc2
12959 builtin and then its argument prototype would still apply. */
12963 #ifdef F77_DUMMY_MAIN
12964 # ifdef __cplusplus
12967 int F77_DUMMY_MAIN() { return 1; }
12972 /* The GNU C library defines this for functions which it implements
12973 to always fail with ENOSYS. Some functions are actually named
12974 something starting with __ and the normal name is an alias. */
12975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12985 rm -f conftest.
$ac_objext conftest
$ac_exeext
12986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12987 (eval $ac_link) 2>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } &&
12991 { ac_try
='test -s conftest$ac_exeext'
12992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12993 (eval $ac_try) 2>&5
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); }; }; then
12997 eval "$as_ac_var=yes"
12999 echo "$as_me: failed program was:" >&5
13000 cat conftest.
$ac_ext >&5
13001 eval "$as_ac_var=no"
13003 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13007 if test `eval echo '${'$as_ac_var'}'` = yes; then
13008 cat >>confdefs.h
<<_ACEOF
13009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13019 for ac_func
in _write __write _fork __fork
13021 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13022 echo "$as_me:$LINENO: checking for $ac_func" >&5
13023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13024 if eval "test \"\${$as_ac_var+set}\" = set"; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13027 cat >conftest.
$ac_ext <<_ACEOF
13028 #line $LINENO "configure"
13029 #include "confdefs.h"
13030 /* System header to define __stub macros and hopefully few prototypes,
13031 which can conflict with char $ac_func (); below. */
13032 #include <assert.h>
13033 /* Override any gcc2 internal prototype to avoid an error. */
13037 /* We use char because int might match the return type of a gcc2
13038 builtin and then its argument prototype would still apply. */
13042 #ifdef F77_DUMMY_MAIN
13043 # ifdef __cplusplus
13046 int F77_DUMMY_MAIN() { return 1; }
13051 /* The GNU C library defines this for functions which it implements
13052 to always fail with ENOSYS. Some functions are actually named
13053 something starting with __ and the normal name is an alias. */
13054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13064 rm -f conftest.
$ac_objext conftest
$ac_exeext
13065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13066 (eval $ac_link) 2>&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); } &&
13070 { ac_try
='test -s conftest$ac_exeext'
13071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 (eval $ac_try) 2>&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; }; then
13076 eval "$as_ac_var=yes"
13078 echo "$as_me: failed program was:" >&5
13079 cat conftest.
$ac_ext >&5
13080 eval "$as_ac_var=no"
13082 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13086 if test `eval echo '${'$as_ac_var'}'` = yes; then
13087 cat >>confdefs.h
<<_ACEOF
13088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13100 for ac_func
in _stat64 __stat64 _fstat64 __fstat64 _lstat64 __lstat64
13102 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13103 echo "$as_me:$LINENO: checking for $ac_func" >&5
13104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13105 if eval "test \"\${$as_ac_var+set}\" = set"; then
13106 echo $ECHO_N "(cached) $ECHO_C" >&6
13108 cat >conftest.
$ac_ext <<_ACEOF
13109 #line $LINENO "configure"
13110 #include "confdefs.h"
13111 /* System header to define __stub macros and hopefully few prototypes,
13112 which can conflict with char $ac_func (); below. */
13113 #include <assert.h>
13114 /* Override any gcc2 internal prototype to avoid an error. */
13118 /* We use char because int might match the return type of a gcc2
13119 builtin and then its argument prototype would still apply. */
13123 #ifdef F77_DUMMY_MAIN
13124 # ifdef __cplusplus
13127 int F77_DUMMY_MAIN() { return 1; }
13132 /* The GNU C library defines this for functions which it implements
13133 to always fail with ENOSYS. Some functions are actually named
13134 something starting with __ and the normal name is an alias. */
13135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13145 rm -f conftest.
$ac_objext conftest
$ac_exeext
13146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13147 (eval $ac_link) 2>&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); } &&
13151 { ac_try
='test -s conftest$ac_exeext'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; }; then
13157 eval "$as_ac_var=yes"
13159 echo "$as_me: failed program was:" >&5
13160 cat conftest.
$ac_ext >&5
13161 eval "$as_ac_var=no"
13163 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13167 if test `eval echo '${'$as_ac_var'}'` = yes; then
13168 cat >>confdefs.h
<<_ACEOF
13169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13182 for ac_func
in __sys_llseek llseek _llseek __llseek readdir64 _readdir64 __readdir64
13184 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13185 echo "$as_me:$LINENO: checking for $ac_func" >&5
13186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13187 if eval "test \"\${$as_ac_var+set}\" = set"; then
13188 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 cat >conftest.
$ac_ext <<_ACEOF
13191 #line $LINENO "configure"
13192 #include "confdefs.h"
13193 /* System header to define __stub macros and hopefully few prototypes,
13194 which can conflict with char $ac_func (); below. */
13195 #include <assert.h>
13196 /* Override any gcc2 internal prototype to avoid an error. */
13200 /* We use char because int might match the return type of a gcc2
13201 builtin and then its argument prototype would still apply. */
13205 #ifdef F77_DUMMY_MAIN
13206 # ifdef __cplusplus
13209 int F77_DUMMY_MAIN() { return 1; }
13214 /* The GNU C library defines this for functions which it implements
13215 to always fail with ENOSYS. Some functions are actually named
13216 something starting with __ and the normal name is an alias. */
13217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13227 rm -f conftest.
$ac_objext conftest
$ac_exeext
13228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13229 (eval $ac_link) 2>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); } &&
13233 { ac_try
='test -s conftest$ac_exeext'
13234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13235 (eval $ac_try) 2>&5
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); }; }; then
13239 eval "$as_ac_var=yes"
13241 echo "$as_me: failed program was:" >&5
13242 cat conftest.
$ac_ext >&5
13243 eval "$as_ac_var=no"
13245 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13249 if test `eval echo '${'$as_ac_var'}'` = yes; then
13250 cat >>confdefs.h
<<_ACEOF
13251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13263 for ac_func
in pread _pread __pread pread64 _pread64 __pread64
13265 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13266 echo "$as_me:$LINENO: checking for $ac_func" >&5
13267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13268 if eval "test \"\${$as_ac_var+set}\" = set"; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13271 cat >conftest.
$ac_ext <<_ACEOF
13272 #line $LINENO "configure"
13273 #include "confdefs.h"
13274 /* System header to define __stub macros and hopefully few prototypes,
13275 which can conflict with char $ac_func (); below. */
13276 #include <assert.h>
13277 /* Override any gcc2 internal prototype to avoid an error. */
13281 /* We use char because int might match the return type of a gcc2
13282 builtin and then its argument prototype would still apply. */
13286 #ifdef F77_DUMMY_MAIN
13287 # ifdef __cplusplus
13290 int F77_DUMMY_MAIN() { return 1; }
13295 /* The GNU C library defines this for functions which it implements
13296 to always fail with ENOSYS. Some functions are actually named
13297 something starting with __ and the normal name is an alias. */
13298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13308 rm -f conftest.
$ac_objext conftest
$ac_exeext
13309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13310 (eval $ac_link) 2>&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); } &&
13314 { ac_try
='test -s conftest$ac_exeext'
13315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13316 (eval $ac_try) 2>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }; }; then
13320 eval "$as_ac_var=yes"
13322 echo "$as_me: failed program was:" >&5
13323 cat conftest.
$ac_ext >&5
13324 eval "$as_ac_var=no"
13326 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13330 if test `eval echo '${'$as_ac_var'}'` = yes; then
13331 cat >>confdefs.h
<<_ACEOF
13332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13344 for ac_func
in pwrite _pwrite __pwrite pwrite64 _pwrite64 __pwrite64
13346 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13347 echo "$as_me:$LINENO: checking for $ac_func" >&5
13348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13349 if eval "test \"\${$as_ac_var+set}\" = set"; then
13350 echo $ECHO_N "(cached) $ECHO_C" >&6
13352 cat >conftest.
$ac_ext <<_ACEOF
13353 #line $LINENO "configure"
13354 #include "confdefs.h"
13355 /* System header to define __stub macros and hopefully few prototypes,
13356 which can conflict with char $ac_func (); below. */
13357 #include <assert.h>
13358 /* Override any gcc2 internal prototype to avoid an error. */
13362 /* We use char because int might match the return type of a gcc2
13363 builtin and then its argument prototype would still apply. */
13367 #ifdef F77_DUMMY_MAIN
13368 # ifdef __cplusplus
13371 int F77_DUMMY_MAIN() { return 1; }
13376 /* The GNU C library defines this for functions which it implements
13377 to always fail with ENOSYS. Some functions are actually named
13378 something starting with __ and the normal name is an alias. */
13379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13389 rm -f conftest.
$ac_objext conftest
$ac_exeext
13390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13391 (eval $ac_link) 2>&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); } &&
13395 { ac_try
='test -s conftest$ac_exeext'
13396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13397 (eval $ac_try) 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); }; }; then
13401 eval "$as_ac_var=yes"
13403 echo "$as_me: failed program was:" >&5
13404 cat conftest.
$ac_ext >&5
13405 eval "$as_ac_var=no"
13407 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13411 if test `eval echo '${'$as_ac_var'}'` = yes; then
13412 cat >>confdefs.h
<<_ACEOF
13413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13423 for ac_func
in open64 _open64 __open64 creat64
13425 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13426 echo "$as_me:$LINENO: checking for $ac_func" >&5
13427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13428 if eval "test \"\${$as_ac_var+set}\" = set"; then
13429 echo $ECHO_N "(cached) $ECHO_C" >&6
13431 cat >conftest.
$ac_ext <<_ACEOF
13432 #line $LINENO "configure"
13433 #include "confdefs.h"
13434 /* System header to define __stub macros and hopefully few prototypes,
13435 which can conflict with char $ac_func (); below. */
13436 #include <assert.h>
13437 /* Override any gcc2 internal prototype to avoid an error. */
13441 /* We use char because int might match the return type of a gcc2
13442 builtin and then its argument prototype would still apply. */
13446 #ifdef F77_DUMMY_MAIN
13447 # ifdef __cplusplus
13450 int F77_DUMMY_MAIN() { return 1; }
13455 /* The GNU C library defines this for functions which it implements
13456 to always fail with ENOSYS. Some functions are actually named
13457 something starting with __ and the normal name is an alias. */
13458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13468 rm -f conftest.
$ac_objext conftest
$ac_exeext
13469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13470 (eval $ac_link) 2>&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); } &&
13474 { ac_try
='test -s conftest$ac_exeext'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; }; then
13480 eval "$as_ac_var=yes"
13482 echo "$as_me: failed program was:" >&5
13483 cat conftest.
$ac_ext >&5
13484 eval "$as_ac_var=no"
13486 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13490 if test `eval echo '${'$as_ac_var'}'` = yes; then
13491 cat >>confdefs.h
<<_ACEOF
13492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13500 # stat64 family may need <sys/stat.h> on some systems, notably ReliantUNIX
13503 if test x
$ac_cv_func_stat64 = xno
; then
13504 echo "$as_me:$LINENO: checking for stat64 in <sys/stat.h>" >&5
13505 echo $ECHO_N "checking for stat64 in <sys/stat.h>... $ECHO_C" >&6
13506 cat >conftest.
$ac_ext <<_ACEOF
13507 #line $LINENO "configure"
13508 #include "confdefs.h"
13510 #if defined(HAVE_UNISTD_H)
13511 #include <unistd.h>
13513 #include <sys/stat.h>
13515 #ifdef F77_DUMMY_MAIN
13516 # ifdef __cplusplus
13519 int F77_DUMMY_MAIN() { return 1; }
13524 struct stat64 st64; exit(stat64(".",&st64));
13529 rm -f conftest.
$ac_objext conftest
$ac_exeext
13530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13531 (eval $ac_link) 2>&5
13533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13534 (exit $ac_status); } &&
13535 { ac_try
='test -s conftest$ac_exeext'
13536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13537 (eval $ac_try) 2>&5
13539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540 (exit $ac_status); }; }; then
13541 ac_cv_func_stat64
=yes
13543 echo "$as_me: failed program was:" >&5
13544 cat conftest.
$ac_ext >&5
13546 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13547 echo "$as_me:$LINENO: result: $ac_cv_func_stat64" >&5
13548 echo "${ECHO_T}$ac_cv_func_stat64" >&6
13549 if test x
$ac_cv_func_stat64 = xyes
; then
13551 cat >>confdefs.h
<<\_ACEOF
13552 #define HAVE_STAT64 1
13558 if test x
$ac_cv_func_lstat64 = xno
; then
13559 echo "$as_me:$LINENO: checking for lstat64 in <sys/stat.h>" >&5
13560 echo $ECHO_N "checking for lstat64 in <sys/stat.h>... $ECHO_C" >&6
13561 cat >conftest.
$ac_ext <<_ACEOF
13562 #line $LINENO "configure"
13563 #include "confdefs.h"
13565 #if defined(HAVE_UNISTD_H)
13566 #include <unistd.h>
13568 #include <sys/stat.h>
13570 #ifdef F77_DUMMY_MAIN
13571 # ifdef __cplusplus
13574 int F77_DUMMY_MAIN() { return 1; }
13579 struct stat64 st64; exit(lstat64(".",&st64));
13584 rm -f conftest.
$ac_objext conftest
$ac_exeext
13585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13586 (eval $ac_link) 2>&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); } &&
13590 { ac_try
='test -s conftest$ac_exeext'
13591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13592 (eval $ac_try) 2>&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); }; }; then
13596 ac_cv_func_lstat64
=yes
13598 echo "$as_me: failed program was:" >&5
13599 cat conftest.
$ac_ext >&5
13601 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13602 echo "$as_me:$LINENO: result: $ac_cv_func_lstat64" >&5
13603 echo "${ECHO_T}$ac_cv_func_lstat64" >&6
13604 if test x
$ac_cv_func_lstat64 = xyes
; then
13605 cat >>confdefs.h
<<\_ACEOF
13606 #define HAVE_LSTAT64 Whether lstat64() is available
13612 if test x
$ac_cv_func_fstat64 = xno
; then
13613 echo "$as_me:$LINENO: checking for fstat64 in <sys/stat.h>" >&5
13614 echo $ECHO_N "checking for fstat64 in <sys/stat.h>... $ECHO_C" >&6
13615 cat >conftest.
$ac_ext <<_ACEOF
13616 #line $LINENO "configure"
13617 #include "confdefs.h"
13619 #if defined(HAVE_UNISTD_H)
13620 #include <unistd.h>
13622 #include <sys/stat.h>
13624 #ifdef F77_DUMMY_MAIN
13625 # ifdef __cplusplus
13628 int F77_DUMMY_MAIN() { return 1; }
13633 struct stat64 st64; exit(fstat64(0,&st64));
13638 rm -f conftest.
$ac_objext conftest
$ac_exeext
13639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13640 (eval $ac_link) 2>&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); } &&
13644 { ac_try
='test -s conftest$ac_exeext'
13645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13646 (eval $ac_try) 2>&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); }; }; then
13650 ac_cv_func_fstat64
=yes
13652 echo "$as_me: failed program was:" >&5
13653 cat conftest.
$ac_ext >&5
13655 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13656 echo "$as_me:$LINENO: result: $ac_cv_func_fstat64" >&5
13657 echo "${ECHO_T}$ac_cv_func_fstat64" >&6
13658 if test x
$ac_cv_func_fstat64 = xyes
; then
13660 cat >>confdefs.h
<<\_ACEOF
13661 #define HAVE_FSTAT64 1
13667 #####################################
13668 # we might need the resolv library on some systems
13670 echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5
13671 echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6
13672 if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then
13673 echo $ECHO_N "(cached) $ECHO_C" >&6
13675 ac_check_lib_save_LIBS
=$LIBS
13676 LIBS
="-lresolv $LIBS"
13677 cat >conftest.
$ac_ext <<_ACEOF
13678 #line $LINENO "configure"
13679 #include "confdefs.h"
13681 /* Override any gcc2 internal prototype to avoid an error. */
13685 /* We use char because int might match the return type of a gcc2
13686 builtin and then its argument prototype would still apply. */
13688 #ifdef F77_DUMMY_MAIN
13689 # ifdef __cplusplus
13692 int F77_DUMMY_MAIN() { return 1; }
13702 rm -f conftest.
$ac_objext conftest
$ac_exeext
13703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13704 (eval $ac_link) 2>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); } &&
13708 { ac_try
='test -s conftest$ac_exeext'
13709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13710 (eval $ac_try) 2>&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); }; }; then
13714 ac_cv_lib_resolv_dn_expand
=yes
13716 echo "$as_me: failed program was:" >&5
13717 cat conftest.
$ac_ext >&5
13718 ac_cv_lib_resolv_dn_expand
=no
13720 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13721 LIBS
=$ac_check_lib_save_LIBS
13723 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
13724 echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6
13725 if test $ac_cv_lib_resolv_dn_expand = yes; then
13726 cat >>confdefs.h
<<_ACEOF
13727 #define HAVE_LIBRESOLV 1
13730 LIBS
="-lresolv $LIBS"
13736 # Check for the functions putprpwnam, set_auth_parameters,
13737 # getspnam, bigcrypt and getprpwnam in -lsec and -lsecurity
13738 # Needed for OSF1 and HPUX.
13743 for ac_func
in putprpwnam
13745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13746 echo "$as_me:$LINENO: checking for $ac_func" >&5
13747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13748 if eval "test \"\${$as_ac_var+set}\" = set"; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13751 cat >conftest.
$ac_ext <<_ACEOF
13752 #line $LINENO "configure"
13753 #include "confdefs.h"
13754 /* System header to define __stub macros and hopefully few prototypes,
13755 which can conflict with char $ac_func (); below. */
13756 #include <assert.h>
13757 /* Override any gcc2 internal prototype to avoid an error. */
13761 /* We use char because int might match the return type of a gcc2
13762 builtin and then its argument prototype would still apply. */
13766 #ifdef F77_DUMMY_MAIN
13767 # ifdef __cplusplus
13770 int F77_DUMMY_MAIN() { return 1; }
13775 /* The GNU C library defines this for functions which it implements
13776 to always fail with ENOSYS. Some functions are actually named
13777 something starting with __ and the normal name is an alias. */
13778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13788 rm -f conftest.
$ac_objext conftest
$ac_exeext
13789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13790 (eval $ac_link) 2>&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); } &&
13794 { ac_try
='test -s conftest$ac_exeext'
13795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13796 (eval $ac_try) 2>&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); }; }; then
13800 eval "$as_ac_var=yes"
13802 echo "$as_me: failed program was:" >&5
13803 cat conftest.
$ac_ext >&5
13804 eval "$as_ac_var=no"
13806 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13810 if test `eval echo '${'$as_ac_var'}'` = yes; then
13811 cat >>confdefs.h
<<_ACEOF
13812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13819 echo "$as_me:$LINENO: checking for putprpwnam in -lsecurity" >&5
13820 echo $ECHO_N "checking for putprpwnam in -lsecurity... $ECHO_C" >&6
13821 if test "${ac_cv_lib_security_putprpwnam+set}" = set; then
13822 echo $ECHO_N "(cached) $ECHO_C" >&6
13824 ac_check_lib_save_LIBS
=$LIBS
13825 LIBS
="-lsecurity $LIBS"
13826 cat >conftest.
$ac_ext <<_ACEOF
13827 #line $LINENO "configure"
13828 #include "confdefs.h"
13830 /* Override any gcc2 internal prototype to avoid an error. */
13834 /* We use char because int might match the return type of a gcc2
13835 builtin and then its argument prototype would still apply. */
13836 char putprpwnam ();
13837 #ifdef F77_DUMMY_MAIN
13838 # ifdef __cplusplus
13841 int F77_DUMMY_MAIN() { return 1; }
13851 rm -f conftest.
$ac_objext conftest
$ac_exeext
13852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13853 (eval $ac_link) 2>&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); } &&
13857 { ac_try
='test -s conftest$ac_exeext'
13858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13859 (eval $ac_try) 2>&5
13861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862 (exit $ac_status); }; }; then
13863 ac_cv_lib_security_putprpwnam
=yes
13865 echo "$as_me: failed program was:" >&5
13866 cat conftest.
$ac_ext >&5
13867 ac_cv_lib_security_putprpwnam
=no
13869 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13870 LIBS
=$ac_check_lib_save_LIBS
13872 echo "$as_me:$LINENO: result: $ac_cv_lib_security_putprpwnam" >&5
13873 echo "${ECHO_T}$ac_cv_lib_security_putprpwnam" >&6
13874 if test $ac_cv_lib_security_putprpwnam = yes; then
13875 cat >>confdefs.h
<<_ACEOF
13876 #define HAVE_LIBSECURITY 1
13879 LIBS
="-lsecurity $LIBS"
13884 for ac_func
in putprpwnam
13886 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13887 echo "$as_me:$LINENO: checking for $ac_func" >&5
13888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13889 if eval "test \"\${$as_ac_var+set}\" = set"; then
13890 echo $ECHO_N "(cached) $ECHO_C" >&6
13892 cat >conftest.
$ac_ext <<_ACEOF
13893 #line $LINENO "configure"
13894 #include "confdefs.h"
13895 /* System header to define __stub macros and hopefully few prototypes,
13896 which can conflict with char $ac_func (); below. */
13897 #include <assert.h>
13898 /* Override any gcc2 internal prototype to avoid an error. */
13902 /* We use char because int might match the return type of a gcc2
13903 builtin and then its argument prototype would still apply. */
13907 #ifdef F77_DUMMY_MAIN
13908 # ifdef __cplusplus
13911 int F77_DUMMY_MAIN() { return 1; }
13916 /* The GNU C library defines this for functions which it implements
13917 to always fail with ENOSYS. Some functions are actually named
13918 something starting with __ and the normal name is an alias. */
13919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13929 rm -f conftest.
$ac_objext conftest
$ac_exeext
13930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13931 (eval $ac_link) 2>&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); } &&
13935 { ac_try
='test -s conftest$ac_exeext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 eval "$as_ac_var=yes"
13943 echo "$as_me: failed program was:" >&5
13944 cat conftest.
$ac_ext >&5
13945 eval "$as_ac_var=no"
13947 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13951 if test `eval echo '${'$as_ac_var'}'` = yes; then
13952 cat >>confdefs.h
<<_ACEOF
13953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13964 for ac_func
in putprpwnam
13966 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13967 echo "$as_me:$LINENO: checking for $ac_func" >&5
13968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13969 if eval "test \"\${$as_ac_var+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13972 cat >conftest.
$ac_ext <<_ACEOF
13973 #line $LINENO "configure"
13974 #include "confdefs.h"
13975 /* System header to define __stub macros and hopefully few prototypes,
13976 which can conflict with char $ac_func (); below. */
13977 #include <assert.h>
13978 /* Override any gcc2 internal prototype to avoid an error. */
13982 /* We use char because int might match the return type of a gcc2
13983 builtin and then its argument prototype would still apply. */
13987 #ifdef F77_DUMMY_MAIN
13988 # ifdef __cplusplus
13991 int F77_DUMMY_MAIN() { return 1; }
13996 /* The GNU C library defines this for functions which it implements
13997 to always fail with ENOSYS. Some functions are actually named
13998 something starting with __ and the normal name is an alias. */
13999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14009 rm -f conftest.
$ac_objext conftest
$ac_exeext
14010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14011 (eval $ac_link) 2>&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); } &&
14015 { ac_try
='test -s conftest$ac_exeext'
14016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017 (eval $ac_try) 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; }; then
14021 eval "$as_ac_var=yes"
14023 echo "$as_me: failed program was:" >&5
14024 cat conftest.
$ac_ext >&5
14025 eval "$as_ac_var=no"
14027 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14031 if test `eval echo '${'$as_ac_var'}'` = yes; then
14032 cat >>confdefs.h
<<_ACEOF
14033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14040 echo "$as_me:$LINENO: checking for putprpwnam in -lsec" >&5
14041 echo $ECHO_N "checking for putprpwnam in -lsec... $ECHO_C" >&6
14042 if test "${ac_cv_lib_sec_putprpwnam+set}" = set; then
14043 echo $ECHO_N "(cached) $ECHO_C" >&6
14045 ac_check_lib_save_LIBS
=$LIBS
14047 cat >conftest.
$ac_ext <<_ACEOF
14048 #line $LINENO "configure"
14049 #include "confdefs.h"
14051 /* Override any gcc2 internal prototype to avoid an error. */
14055 /* We use char because int might match the return type of a gcc2
14056 builtin and then its argument prototype would still apply. */
14057 char putprpwnam ();
14058 #ifdef F77_DUMMY_MAIN
14059 # ifdef __cplusplus
14062 int F77_DUMMY_MAIN() { return 1; }
14072 rm -f conftest.
$ac_objext conftest
$ac_exeext
14073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14074 (eval $ac_link) 2>&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); } &&
14078 { ac_try
='test -s conftest$ac_exeext'
14079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14080 (eval $ac_try) 2>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; }; then
14084 ac_cv_lib_sec_putprpwnam
=yes
14086 echo "$as_me: failed program was:" >&5
14087 cat conftest.
$ac_ext >&5
14088 ac_cv_lib_sec_putprpwnam
=no
14090 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14091 LIBS
=$ac_check_lib_save_LIBS
14093 echo "$as_me:$LINENO: result: $ac_cv_lib_sec_putprpwnam" >&5
14094 echo "${ECHO_T}$ac_cv_lib_sec_putprpwnam" >&6
14095 if test $ac_cv_lib_sec_putprpwnam = yes; then
14096 cat >>confdefs.h
<<_ACEOF
14097 #define HAVE_LIBSEC 1
14105 for ac_func
in putprpwnam
14107 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14108 echo "$as_me:$LINENO: checking for $ac_func" >&5
14109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14110 if eval "test \"\${$as_ac_var+set}\" = set"; then
14111 echo $ECHO_N "(cached) $ECHO_C" >&6
14113 cat >conftest.
$ac_ext <<_ACEOF
14114 #line $LINENO "configure"
14115 #include "confdefs.h"
14116 /* System header to define __stub macros and hopefully few prototypes,
14117 which can conflict with char $ac_func (); below. */
14118 #include <assert.h>
14119 /* Override any gcc2 internal prototype to avoid an error. */
14123 /* We use char because int might match the return type of a gcc2
14124 builtin and then its argument prototype would still apply. */
14128 #ifdef F77_DUMMY_MAIN
14129 # ifdef __cplusplus
14132 int F77_DUMMY_MAIN() { return 1; }
14137 /* The GNU C library defines this for functions which it implements
14138 to always fail with ENOSYS. Some functions are actually named
14139 something starting with __ and the normal name is an alias. */
14140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14150 rm -f conftest.
$ac_objext conftest
$ac_exeext
14151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14152 (eval $ac_link) 2>&5
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); } &&
14156 { ac_try
='test -s conftest$ac_exeext'
14157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14158 (eval $ac_try) 2>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); }; }; then
14162 eval "$as_ac_var=yes"
14164 echo "$as_me: failed program was:" >&5
14165 cat conftest.
$ac_ext >&5
14166 eval "$as_ac_var=no"
14168 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14172 if test `eval echo '${'$as_ac_var'}'` = yes; then
14173 cat >>confdefs.h
<<_ACEOF
14174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14186 for ac_func
in set_auth_parameters
14188 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14189 echo "$as_me:$LINENO: checking for $ac_func" >&5
14190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14191 if eval "test \"\${$as_ac_var+set}\" = set"; then
14192 echo $ECHO_N "(cached) $ECHO_C" >&6
14194 cat >conftest.
$ac_ext <<_ACEOF
14195 #line $LINENO "configure"
14196 #include "confdefs.h"
14197 /* System header to define __stub macros and hopefully few prototypes,
14198 which can conflict with char $ac_func (); below. */
14199 #include <assert.h>
14200 /* Override any gcc2 internal prototype to avoid an error. */
14204 /* We use char because int might match the return type of a gcc2
14205 builtin and then its argument prototype would still apply. */
14209 #ifdef F77_DUMMY_MAIN
14210 # ifdef __cplusplus
14213 int F77_DUMMY_MAIN() { return 1; }
14218 /* The GNU C library defines this for functions which it implements
14219 to always fail with ENOSYS. Some functions are actually named
14220 something starting with __ and the normal name is an alias. */
14221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14231 rm -f conftest.
$ac_objext conftest
$ac_exeext
14232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14233 (eval $ac_link) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } &&
14237 { ac_try
='test -s conftest$ac_exeext'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; }; then
14243 eval "$as_ac_var=yes"
14245 echo "$as_me: failed program was:" >&5
14246 cat conftest.
$ac_ext >&5
14247 eval "$as_ac_var=no"
14249 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14253 if test `eval echo '${'$as_ac_var'}'` = yes; then
14254 cat >>confdefs.h
<<_ACEOF
14255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14262 echo "$as_me:$LINENO: checking for set_auth_parameters in -lsecurity" >&5
14263 echo $ECHO_N "checking for set_auth_parameters in -lsecurity... $ECHO_C" >&6
14264 if test "${ac_cv_lib_security_set_auth_parameters+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 ac_check_lib_save_LIBS
=$LIBS
14268 LIBS
="-lsecurity $LIBS"
14269 cat >conftest.
$ac_ext <<_ACEOF
14270 #line $LINENO "configure"
14271 #include "confdefs.h"
14273 /* Override any gcc2 internal prototype to avoid an error. */
14277 /* We use char because int might match the return type of a gcc2
14278 builtin and then its argument prototype would still apply. */
14279 char set_auth_parameters ();
14280 #ifdef F77_DUMMY_MAIN
14281 # ifdef __cplusplus
14284 int F77_DUMMY_MAIN() { return 1; }
14289 set_auth_parameters ();
14294 rm -f conftest.
$ac_objext conftest
$ac_exeext
14295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14296 (eval $ac_link) 2>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } &&
14300 { ac_try
='test -s conftest$ac_exeext'
14301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302 (eval $ac_try) 2>&5
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }; }; then
14306 ac_cv_lib_security_set_auth_parameters
=yes
14308 echo "$as_me: failed program was:" >&5
14309 cat conftest.
$ac_ext >&5
14310 ac_cv_lib_security_set_auth_parameters
=no
14312 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14313 LIBS
=$ac_check_lib_save_LIBS
14315 echo "$as_me:$LINENO: result: $ac_cv_lib_security_set_auth_parameters" >&5
14316 echo "${ECHO_T}$ac_cv_lib_security_set_auth_parameters" >&6
14317 if test $ac_cv_lib_security_set_auth_parameters = yes; then
14318 cat >>confdefs.h
<<_ACEOF
14319 #define HAVE_LIBSECURITY 1
14322 LIBS
="-lsecurity $LIBS"
14327 for ac_func
in set_auth_parameters
14329 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14330 echo "$as_me:$LINENO: checking for $ac_func" >&5
14331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14332 if eval "test \"\${$as_ac_var+set}\" = set"; then
14333 echo $ECHO_N "(cached) $ECHO_C" >&6
14335 cat >conftest.
$ac_ext <<_ACEOF
14336 #line $LINENO "configure"
14337 #include "confdefs.h"
14338 /* System header to define __stub macros and hopefully few prototypes,
14339 which can conflict with char $ac_func (); below. */
14340 #include <assert.h>
14341 /* Override any gcc2 internal prototype to avoid an error. */
14345 /* We use char because int might match the return type of a gcc2
14346 builtin and then its argument prototype would still apply. */
14350 #ifdef F77_DUMMY_MAIN
14351 # ifdef __cplusplus
14354 int F77_DUMMY_MAIN() { return 1; }
14359 /* The GNU C library defines this for functions which it implements
14360 to always fail with ENOSYS. Some functions are actually named
14361 something starting with __ and the normal name is an alias. */
14362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14372 rm -f conftest.
$ac_objext conftest
$ac_exeext
14373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14374 (eval $ac_link) 2>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); } &&
14378 { ac_try
='test -s conftest$ac_exeext'
14379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14380 (eval $ac_try) 2>&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); }; }; then
14384 eval "$as_ac_var=yes"
14386 echo "$as_me: failed program was:" >&5
14387 cat conftest.
$ac_ext >&5
14388 eval "$as_ac_var=no"
14390 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14394 if test `eval echo '${'$as_ac_var'}'` = yes; then
14395 cat >>confdefs.h
<<_ACEOF
14396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14407 for ac_func
in set_auth_parameters
14409 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14410 echo "$as_me:$LINENO: checking for $ac_func" >&5
14411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14412 if eval "test \"\${$as_ac_var+set}\" = set"; then
14413 echo $ECHO_N "(cached) $ECHO_C" >&6
14415 cat >conftest.
$ac_ext <<_ACEOF
14416 #line $LINENO "configure"
14417 #include "confdefs.h"
14418 /* System header to define __stub macros and hopefully few prototypes,
14419 which can conflict with char $ac_func (); below. */
14420 #include <assert.h>
14421 /* Override any gcc2 internal prototype to avoid an error. */
14425 /* We use char because int might match the return type of a gcc2
14426 builtin and then its argument prototype would still apply. */
14430 #ifdef F77_DUMMY_MAIN
14431 # ifdef __cplusplus
14434 int F77_DUMMY_MAIN() { return 1; }
14439 /* The GNU C library defines this for functions which it implements
14440 to always fail with ENOSYS. Some functions are actually named
14441 something starting with __ and the normal name is an alias. */
14442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14452 rm -f conftest.
$ac_objext conftest
$ac_exeext
14453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14454 (eval $ac_link) 2>&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } &&
14458 { ac_try
='test -s conftest$ac_exeext'
14459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14460 (eval $ac_try) 2>&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); }; }; then
14464 eval "$as_ac_var=yes"
14466 echo "$as_me: failed program was:" >&5
14467 cat conftest.
$ac_ext >&5
14468 eval "$as_ac_var=no"
14470 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14474 if test `eval echo '${'$as_ac_var'}'` = yes; then
14475 cat >>confdefs.h
<<_ACEOF
14476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14483 echo "$as_me:$LINENO: checking for set_auth_parameters in -lsec" >&5
14484 echo $ECHO_N "checking for set_auth_parameters in -lsec... $ECHO_C" >&6
14485 if test "${ac_cv_lib_sec_set_auth_parameters+set}" = set; then
14486 echo $ECHO_N "(cached) $ECHO_C" >&6
14488 ac_check_lib_save_LIBS
=$LIBS
14490 cat >conftest.
$ac_ext <<_ACEOF
14491 #line $LINENO "configure"
14492 #include "confdefs.h"
14494 /* Override any gcc2 internal prototype to avoid an error. */
14498 /* We use char because int might match the return type of a gcc2
14499 builtin and then its argument prototype would still apply. */
14500 char set_auth_parameters ();
14501 #ifdef F77_DUMMY_MAIN
14502 # ifdef __cplusplus
14505 int F77_DUMMY_MAIN() { return 1; }
14510 set_auth_parameters ();
14515 rm -f conftest.
$ac_objext conftest
$ac_exeext
14516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14517 (eval $ac_link) 2>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); } &&
14521 { ac_try
='test -s conftest$ac_exeext'
14522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14523 (eval $ac_try) 2>&5
14525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14526 (exit $ac_status); }; }; then
14527 ac_cv_lib_sec_set_auth_parameters
=yes
14529 echo "$as_me: failed program was:" >&5
14530 cat conftest.
$ac_ext >&5
14531 ac_cv_lib_sec_set_auth_parameters
=no
14533 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14534 LIBS
=$ac_check_lib_save_LIBS
14536 echo "$as_me:$LINENO: result: $ac_cv_lib_sec_set_auth_parameters" >&5
14537 echo "${ECHO_T}$ac_cv_lib_sec_set_auth_parameters" >&6
14538 if test $ac_cv_lib_sec_set_auth_parameters = yes; then
14539 cat >>confdefs.h
<<_ACEOF
14540 #define HAVE_LIBSEC 1
14548 for ac_func
in set_auth_parameters
14550 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14551 echo "$as_me:$LINENO: checking for $ac_func" >&5
14552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14553 if eval "test \"\${$as_ac_var+set}\" = set"; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14556 cat >conftest.
$ac_ext <<_ACEOF
14557 #line $LINENO "configure"
14558 #include "confdefs.h"
14559 /* System header to define __stub macros and hopefully few prototypes,
14560 which can conflict with char $ac_func (); below. */
14561 #include <assert.h>
14562 /* Override any gcc2 internal prototype to avoid an error. */
14566 /* We use char because int might match the return type of a gcc2
14567 builtin and then its argument prototype would still apply. */
14571 #ifdef F77_DUMMY_MAIN
14572 # ifdef __cplusplus
14575 int F77_DUMMY_MAIN() { return 1; }
14580 /* The GNU C library defines this for functions which it implements
14581 to always fail with ENOSYS. Some functions are actually named
14582 something starting with __ and the normal name is an alias. */
14583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14593 rm -f conftest.
$ac_objext conftest
$ac_exeext
14594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14595 (eval $ac_link) 2>&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } &&
14599 { ac_try
='test -s conftest$ac_exeext'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; }; then
14605 eval "$as_ac_var=yes"
14607 echo "$as_me: failed program was:" >&5
14608 cat conftest.
$ac_ext >&5
14609 eval "$as_ac_var=no"
14611 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14615 if test `eval echo '${'$as_ac_var'}'` = yes; then
14616 cat >>confdefs.h
<<_ACEOF
14617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14627 # UnixWare 7.x has its getspnam in -lgen
14630 for ac_func
in getspnam
14632 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14633 echo "$as_me:$LINENO: checking for $ac_func" >&5
14634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14635 if eval "test \"\${$as_ac_var+set}\" = set"; then
14636 echo $ECHO_N "(cached) $ECHO_C" >&6
14638 cat >conftest.
$ac_ext <<_ACEOF
14639 #line $LINENO "configure"
14640 #include "confdefs.h"
14641 /* System header to define __stub macros and hopefully few prototypes,
14642 which can conflict with char $ac_func (); below. */
14643 #include <assert.h>
14644 /* Override any gcc2 internal prototype to avoid an error. */
14648 /* We use char because int might match the return type of a gcc2
14649 builtin and then its argument prototype would still apply. */
14653 #ifdef F77_DUMMY_MAIN
14654 # ifdef __cplusplus
14657 int F77_DUMMY_MAIN() { return 1; }
14662 /* The GNU C library defines this for functions which it implements
14663 to always fail with ENOSYS. Some functions are actually named
14664 something starting with __ and the normal name is an alias. */
14665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14675 rm -f conftest.
$ac_objext conftest
$ac_exeext
14676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14677 (eval $ac_link) 2>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); } &&
14681 { ac_try
='test -s conftest$ac_exeext'
14682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14683 (eval $ac_try) 2>&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); }; }; then
14687 eval "$as_ac_var=yes"
14689 echo "$as_me: failed program was:" >&5
14690 cat conftest.
$ac_ext >&5
14691 eval "$as_ac_var=no"
14693 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14697 if test `eval echo '${'$as_ac_var'}'` = yes; then
14698 cat >>confdefs.h
<<_ACEOF
14699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14706 echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5
14707 echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6
14708 if test "${ac_cv_lib_gen_getspnam+set}" = set; then
14709 echo $ECHO_N "(cached) $ECHO_C" >&6
14711 ac_check_lib_save_LIBS
=$LIBS
14713 cat >conftest.
$ac_ext <<_ACEOF
14714 #line $LINENO "configure"
14715 #include "confdefs.h"
14717 /* Override any gcc2 internal prototype to avoid an error. */
14721 /* We use char because int might match the return type of a gcc2
14722 builtin and then its argument prototype would still apply. */
14724 #ifdef F77_DUMMY_MAIN
14725 # ifdef __cplusplus
14728 int F77_DUMMY_MAIN() { return 1; }
14738 rm -f conftest.
$ac_objext conftest
$ac_exeext
14739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14740 (eval $ac_link) 2>&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } &&
14744 { ac_try
='test -s conftest$ac_exeext'
14745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; }; then
14750 ac_cv_lib_gen_getspnam
=yes
14752 echo "$as_me: failed program was:" >&5
14753 cat conftest.
$ac_ext >&5
14754 ac_cv_lib_gen_getspnam
=no
14756 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14757 LIBS
=$ac_check_lib_save_LIBS
14759 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
14760 echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6
14761 if test $ac_cv_lib_gen_getspnam = yes; then
14762 cat >>confdefs.h
<<_ACEOF
14763 #define HAVE_LIBGEN 1
14771 for ac_func
in getspnam
14773 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14774 echo "$as_me:$LINENO: checking for $ac_func" >&5
14775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14776 if eval "test \"\${$as_ac_var+set}\" = set"; then
14777 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 cat >conftest.
$ac_ext <<_ACEOF
14780 #line $LINENO "configure"
14781 #include "confdefs.h"
14782 /* System header to define __stub macros and hopefully few prototypes,
14783 which can conflict with char $ac_func (); below. */
14784 #include <assert.h>
14785 /* Override any gcc2 internal prototype to avoid an error. */
14789 /* We use char because int might match the return type of a gcc2
14790 builtin and then its argument prototype would still apply. */
14794 #ifdef F77_DUMMY_MAIN
14795 # ifdef __cplusplus
14798 int F77_DUMMY_MAIN() { return 1; }
14803 /* The GNU C library defines this for functions which it implements
14804 to always fail with ENOSYS. Some functions are actually named
14805 something starting with __ and the normal name is an alias. */
14806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14816 rm -f conftest.
$ac_objext conftest
$ac_exeext
14817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14818 (eval $ac_link) 2>&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); } &&
14822 { ac_try
='test -s conftest$ac_exeext'
14823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14824 (eval $ac_try) 2>&5
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); }; }; then
14828 eval "$as_ac_var=yes"
14830 echo "$as_me: failed program was:" >&5
14831 cat conftest.
$ac_ext >&5
14832 eval "$as_ac_var=no"
14834 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14838 if test `eval echo '${'$as_ac_var'}'` = yes; then
14839 cat >>confdefs.h
<<_ACEOF
14840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14852 for ac_func
in getspnam
14854 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14855 echo "$as_me:$LINENO: checking for $ac_func" >&5
14856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14857 if eval "test \"\${$as_ac_var+set}\" = set"; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14860 cat >conftest.
$ac_ext <<_ACEOF
14861 #line $LINENO "configure"
14862 #include "confdefs.h"
14863 /* System header to define __stub macros and hopefully few prototypes,
14864 which can conflict with char $ac_func (); below. */
14865 #include <assert.h>
14866 /* Override any gcc2 internal prototype to avoid an error. */
14870 /* We use char because int might match the return type of a gcc2
14871 builtin and then its argument prototype would still apply. */
14875 #ifdef F77_DUMMY_MAIN
14876 # ifdef __cplusplus
14879 int F77_DUMMY_MAIN() { return 1; }
14884 /* The GNU C library defines this for functions which it implements
14885 to always fail with ENOSYS. Some functions are actually named
14886 something starting with __ and the normal name is an alias. */
14887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14897 rm -f conftest.
$ac_objext conftest
$ac_exeext
14898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14899 (eval $ac_link) 2>&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } &&
14903 { ac_try
='test -s conftest$ac_exeext'
14904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905 (eval $ac_try) 2>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; }; then
14909 eval "$as_ac_var=yes"
14911 echo "$as_me: failed program was:" >&5
14912 cat conftest.
$ac_ext >&5
14913 eval "$as_ac_var=no"
14915 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14919 if test `eval echo '${'$as_ac_var'}'` = yes; then
14920 cat >>confdefs.h
<<_ACEOF
14921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14928 echo "$as_me:$LINENO: checking for getspnam in -lsecurity" >&5
14929 echo $ECHO_N "checking for getspnam in -lsecurity... $ECHO_C" >&6
14930 if test "${ac_cv_lib_security_getspnam+set}" = set; then
14931 echo $ECHO_N "(cached) $ECHO_C" >&6
14933 ac_check_lib_save_LIBS
=$LIBS
14934 LIBS
="-lsecurity $LIBS"
14935 cat >conftest.
$ac_ext <<_ACEOF
14936 #line $LINENO "configure"
14937 #include "confdefs.h"
14939 /* Override any gcc2 internal prototype to avoid an error. */
14943 /* We use char because int might match the return type of a gcc2
14944 builtin and then its argument prototype would still apply. */
14946 #ifdef F77_DUMMY_MAIN
14947 # ifdef __cplusplus
14950 int F77_DUMMY_MAIN() { return 1; }
14960 rm -f conftest.
$ac_objext conftest
$ac_exeext
14961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14962 (eval $ac_link) 2>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); } &&
14966 { ac_try
='test -s conftest$ac_exeext'
14967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14968 (eval $ac_try) 2>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); }; }; then
14972 ac_cv_lib_security_getspnam
=yes
14974 echo "$as_me: failed program was:" >&5
14975 cat conftest.
$ac_ext >&5
14976 ac_cv_lib_security_getspnam
=no
14978 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14979 LIBS
=$ac_check_lib_save_LIBS
14981 echo "$as_me:$LINENO: result: $ac_cv_lib_security_getspnam" >&5
14982 echo "${ECHO_T}$ac_cv_lib_security_getspnam" >&6
14983 if test $ac_cv_lib_security_getspnam = yes; then
14984 cat >>confdefs.h
<<_ACEOF
14985 #define HAVE_LIBSECURITY 1
14988 LIBS
="-lsecurity $LIBS"
14993 for ac_func
in getspnam
14995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14996 echo "$as_me:$LINENO: checking for $ac_func" >&5
14997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14998 if eval "test \"\${$as_ac_var+set}\" = set"; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15001 cat >conftest.
$ac_ext <<_ACEOF
15002 #line $LINENO "configure"
15003 #include "confdefs.h"
15004 /* System header to define __stub macros and hopefully few prototypes,
15005 which can conflict with char $ac_func (); below. */
15006 #include <assert.h>
15007 /* Override any gcc2 internal prototype to avoid an error. */
15011 /* We use char because int might match the return type of a gcc2
15012 builtin and then its argument prototype would still apply. */
15016 #ifdef F77_DUMMY_MAIN
15017 # ifdef __cplusplus
15020 int F77_DUMMY_MAIN() { return 1; }
15025 /* The GNU C library defines this for functions which it implements
15026 to always fail with ENOSYS. Some functions are actually named
15027 something starting with __ and the normal name is an alias. */
15028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15038 rm -f conftest.
$ac_objext conftest
$ac_exeext
15039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15040 (eval $ac_link) 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); } &&
15044 { ac_try
='test -s conftest$ac_exeext'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; }; then
15050 eval "$as_ac_var=yes"
15052 echo "$as_me: failed program was:" >&5
15053 cat conftest.
$ac_ext >&5
15054 eval "$as_ac_var=no"
15056 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15060 if test `eval echo '${'$as_ac_var'}'` = yes; then
15061 cat >>confdefs.h
<<_ACEOF
15062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15073 for ac_func
in getspnam
15075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15076 echo "$as_me:$LINENO: checking for $ac_func" >&5
15077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15078 if eval "test \"\${$as_ac_var+set}\" = set"; then
15079 echo $ECHO_N "(cached) $ECHO_C" >&6
15081 cat >conftest.
$ac_ext <<_ACEOF
15082 #line $LINENO "configure"
15083 #include "confdefs.h"
15084 /* System header to define __stub macros and hopefully few prototypes,
15085 which can conflict with char $ac_func (); below. */
15086 #include <assert.h>
15087 /* Override any gcc2 internal prototype to avoid an error. */
15091 /* We use char because int might match the return type of a gcc2
15092 builtin and then its argument prototype would still apply. */
15096 #ifdef F77_DUMMY_MAIN
15097 # ifdef __cplusplus
15100 int F77_DUMMY_MAIN() { return 1; }
15105 /* The GNU C library defines this for functions which it implements
15106 to always fail with ENOSYS. Some functions are actually named
15107 something starting with __ and the normal name is an alias. */
15108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15118 rm -f conftest.
$ac_objext conftest
$ac_exeext
15119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15120 (eval $ac_link) 2>&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); } &&
15124 { ac_try
='test -s conftest$ac_exeext'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; }; then
15130 eval "$as_ac_var=yes"
15132 echo "$as_me: failed program was:" >&5
15133 cat conftest.
$ac_ext >&5
15134 eval "$as_ac_var=no"
15136 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15140 if test `eval echo '${'$as_ac_var'}'` = yes; then
15141 cat >>confdefs.h
<<_ACEOF
15142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15149 echo "$as_me:$LINENO: checking for getspnam in -lsec" >&5
15150 echo $ECHO_N "checking for getspnam in -lsec... $ECHO_C" >&6
15151 if test "${ac_cv_lib_sec_getspnam+set}" = set; then
15152 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 ac_check_lib_save_LIBS
=$LIBS
15156 cat >conftest.
$ac_ext <<_ACEOF
15157 #line $LINENO "configure"
15158 #include "confdefs.h"
15160 /* Override any gcc2 internal prototype to avoid an error. */
15164 /* We use char because int might match the return type of a gcc2
15165 builtin and then its argument prototype would still apply. */
15167 #ifdef F77_DUMMY_MAIN
15168 # ifdef __cplusplus
15171 int F77_DUMMY_MAIN() { return 1; }
15181 rm -f conftest.
$ac_objext conftest
$ac_exeext
15182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15183 (eval $ac_link) 2>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } &&
15187 { ac_try
='test -s conftest$ac_exeext'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; }; then
15193 ac_cv_lib_sec_getspnam
=yes
15195 echo "$as_me: failed program was:" >&5
15196 cat conftest.
$ac_ext >&5
15197 ac_cv_lib_sec_getspnam
=no
15199 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15200 LIBS
=$ac_check_lib_save_LIBS
15202 echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getspnam" >&5
15203 echo "${ECHO_T}$ac_cv_lib_sec_getspnam" >&6
15204 if test $ac_cv_lib_sec_getspnam = yes; then
15205 cat >>confdefs.h
<<_ACEOF
15206 #define HAVE_LIBSEC 1
15214 for ac_func
in getspnam
15216 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15217 echo "$as_me:$LINENO: checking for $ac_func" >&5
15218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15219 if eval "test \"\${$as_ac_var+set}\" = set"; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 cat >conftest.
$ac_ext <<_ACEOF
15223 #line $LINENO "configure"
15224 #include "confdefs.h"
15225 /* System header to define __stub macros and hopefully few prototypes,
15226 which can conflict with char $ac_func (); below. */
15227 #include <assert.h>
15228 /* Override any gcc2 internal prototype to avoid an error. */
15232 /* We use char because int might match the return type of a gcc2
15233 builtin and then its argument prototype would still apply. */
15237 #ifdef F77_DUMMY_MAIN
15238 # ifdef __cplusplus
15241 int F77_DUMMY_MAIN() { return 1; }
15246 /* The GNU C library defines this for functions which it implements
15247 to always fail with ENOSYS. Some functions are actually named
15248 something starting with __ and the normal name is an alias. */
15249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15259 rm -f conftest.
$ac_objext conftest
$ac_exeext
15260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15261 (eval $ac_link) 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); } &&
15265 { ac_try
='test -s conftest$ac_exeext'
15266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15267 (eval $ac_try) 2>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); }; }; then
15271 eval "$as_ac_var=yes"
15273 echo "$as_me: failed program was:" >&5
15274 cat conftest.
$ac_ext >&5
15275 eval "$as_ac_var=no"
15277 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15281 if test `eval echo '${'$as_ac_var'}'` = yes; then
15282 cat >>confdefs.h
<<_ACEOF
15283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15295 for ac_func
in bigcrypt
15297 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15298 echo "$as_me:$LINENO: checking for $ac_func" >&5
15299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15300 if eval "test \"\${$as_ac_var+set}\" = set"; then
15301 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 cat >conftest.
$ac_ext <<_ACEOF
15304 #line $LINENO "configure"
15305 #include "confdefs.h"
15306 /* System header to define __stub macros and hopefully few prototypes,
15307 which can conflict with char $ac_func (); below. */
15308 #include <assert.h>
15309 /* Override any gcc2 internal prototype to avoid an error. */
15313 /* We use char because int might match the return type of a gcc2
15314 builtin and then its argument prototype would still apply. */
15318 #ifdef F77_DUMMY_MAIN
15319 # ifdef __cplusplus
15322 int F77_DUMMY_MAIN() { return 1; }
15327 /* The GNU C library defines this for functions which it implements
15328 to always fail with ENOSYS. Some functions are actually named
15329 something starting with __ and the normal name is an alias. */
15330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15340 rm -f conftest.
$ac_objext conftest
$ac_exeext
15341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15342 (eval $ac_link) 2>&5
15344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); } &&
15346 { ac_try
='test -s conftest$ac_exeext'
15347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15348 (eval $ac_try) 2>&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); }; }; then
15352 eval "$as_ac_var=yes"
15354 echo "$as_me: failed program was:" >&5
15355 cat conftest.
$ac_ext >&5
15356 eval "$as_ac_var=no"
15358 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15362 if test `eval echo '${'$as_ac_var'}'` = yes; then
15363 cat >>confdefs.h
<<_ACEOF
15364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15371 echo "$as_me:$LINENO: checking for bigcrypt in -lsecurity" >&5
15372 echo $ECHO_N "checking for bigcrypt in -lsecurity... $ECHO_C" >&6
15373 if test "${ac_cv_lib_security_bigcrypt+set}" = set; then
15374 echo $ECHO_N "(cached) $ECHO_C" >&6
15376 ac_check_lib_save_LIBS
=$LIBS
15377 LIBS
="-lsecurity $LIBS"
15378 cat >conftest.
$ac_ext <<_ACEOF
15379 #line $LINENO "configure"
15380 #include "confdefs.h"
15382 /* Override any gcc2 internal prototype to avoid an error. */
15386 /* We use char because int might match the return type of a gcc2
15387 builtin and then its argument prototype would still apply. */
15389 #ifdef F77_DUMMY_MAIN
15390 # ifdef __cplusplus
15393 int F77_DUMMY_MAIN() { return 1; }
15403 rm -f conftest.
$ac_objext conftest
$ac_exeext
15404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15405 (eval $ac_link) 2>&5
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); } &&
15409 { ac_try
='test -s conftest$ac_exeext'
15410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15411 (eval $ac_try) 2>&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); }; }; then
15415 ac_cv_lib_security_bigcrypt
=yes
15417 echo "$as_me: failed program was:" >&5
15418 cat conftest.
$ac_ext >&5
15419 ac_cv_lib_security_bigcrypt
=no
15421 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15422 LIBS
=$ac_check_lib_save_LIBS
15424 echo "$as_me:$LINENO: result: $ac_cv_lib_security_bigcrypt" >&5
15425 echo "${ECHO_T}$ac_cv_lib_security_bigcrypt" >&6
15426 if test $ac_cv_lib_security_bigcrypt = yes; then
15427 cat >>confdefs.h
<<_ACEOF
15428 #define HAVE_LIBSECURITY 1
15431 LIBS
="-lsecurity $LIBS"
15436 for ac_func
in bigcrypt
15438 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15439 echo "$as_me:$LINENO: checking for $ac_func" >&5
15440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15441 if eval "test \"\${$as_ac_var+set}\" = set"; then
15442 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 cat >conftest.
$ac_ext <<_ACEOF
15445 #line $LINENO "configure"
15446 #include "confdefs.h"
15447 /* System header to define __stub macros and hopefully few prototypes,
15448 which can conflict with char $ac_func (); below. */
15449 #include <assert.h>
15450 /* Override any gcc2 internal prototype to avoid an error. */
15454 /* We use char because int might match the return type of a gcc2
15455 builtin and then its argument prototype would still apply. */
15459 #ifdef F77_DUMMY_MAIN
15460 # ifdef __cplusplus
15463 int F77_DUMMY_MAIN() { return 1; }
15468 /* The GNU C library defines this for functions which it implements
15469 to always fail with ENOSYS. Some functions are actually named
15470 something starting with __ and the normal name is an alias. */
15471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15481 rm -f conftest.
$ac_objext conftest
$ac_exeext
15482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15483 (eval $ac_link) 2>&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); } &&
15487 { ac_try
='test -s conftest$ac_exeext'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; }; then
15493 eval "$as_ac_var=yes"
15495 echo "$as_me: failed program was:" >&5
15496 cat conftest.
$ac_ext >&5
15497 eval "$as_ac_var=no"
15499 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15503 if test `eval echo '${'$as_ac_var'}'` = yes; then
15504 cat >>confdefs.h
<<_ACEOF
15505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15516 for ac_func
in bigcrypt
15518 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15519 echo "$as_me:$LINENO: checking for $ac_func" >&5
15520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15521 if eval "test \"\${$as_ac_var+set}\" = set"; then
15522 echo $ECHO_N "(cached) $ECHO_C" >&6
15524 cat >conftest.
$ac_ext <<_ACEOF
15525 #line $LINENO "configure"
15526 #include "confdefs.h"
15527 /* System header to define __stub macros and hopefully few prototypes,
15528 which can conflict with char $ac_func (); below. */
15529 #include <assert.h>
15530 /* Override any gcc2 internal prototype to avoid an error. */
15534 /* We use char because int might match the return type of a gcc2
15535 builtin and then its argument prototype would still apply. */
15539 #ifdef F77_DUMMY_MAIN
15540 # ifdef __cplusplus
15543 int F77_DUMMY_MAIN() { return 1; }
15548 /* The GNU C library defines this for functions which it implements
15549 to always fail with ENOSYS. Some functions are actually named
15550 something starting with __ and the normal name is an alias. */
15551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15561 rm -f conftest.
$ac_objext conftest
$ac_exeext
15562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15563 (eval $ac_link) 2>&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); } &&
15567 { ac_try
='test -s conftest$ac_exeext'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; }; then
15573 eval "$as_ac_var=yes"
15575 echo "$as_me: failed program was:" >&5
15576 cat conftest.
$ac_ext >&5
15577 eval "$as_ac_var=no"
15579 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15583 if test `eval echo '${'$as_ac_var'}'` = yes; then
15584 cat >>confdefs.h
<<_ACEOF
15585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15592 echo "$as_me:$LINENO: checking for bigcrypt in -lsec" >&5
15593 echo $ECHO_N "checking for bigcrypt in -lsec... $ECHO_C" >&6
15594 if test "${ac_cv_lib_sec_bigcrypt+set}" = set; then
15595 echo $ECHO_N "(cached) $ECHO_C" >&6
15597 ac_check_lib_save_LIBS
=$LIBS
15599 cat >conftest.
$ac_ext <<_ACEOF
15600 #line $LINENO "configure"
15601 #include "confdefs.h"
15603 /* Override any gcc2 internal prototype to avoid an error. */
15607 /* We use char because int might match the return type of a gcc2
15608 builtin and then its argument prototype would still apply. */
15610 #ifdef F77_DUMMY_MAIN
15611 # ifdef __cplusplus
15614 int F77_DUMMY_MAIN() { return 1; }
15624 rm -f conftest.
$ac_objext conftest
$ac_exeext
15625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15626 (eval $ac_link) 2>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); } &&
15630 { ac_try
='test -s conftest$ac_exeext'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; }; then
15636 ac_cv_lib_sec_bigcrypt
=yes
15638 echo "$as_me: failed program was:" >&5
15639 cat conftest.
$ac_ext >&5
15640 ac_cv_lib_sec_bigcrypt
=no
15642 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15643 LIBS
=$ac_check_lib_save_LIBS
15645 echo "$as_me:$LINENO: result: $ac_cv_lib_sec_bigcrypt" >&5
15646 echo "${ECHO_T}$ac_cv_lib_sec_bigcrypt" >&6
15647 if test $ac_cv_lib_sec_bigcrypt = yes; then
15648 cat >>confdefs.h
<<_ACEOF
15649 #define HAVE_LIBSEC 1
15657 for ac_func
in bigcrypt
15659 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15660 echo "$as_me:$LINENO: checking for $ac_func" >&5
15661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15662 if eval "test \"\${$as_ac_var+set}\" = set"; then
15663 echo $ECHO_N "(cached) $ECHO_C" >&6
15665 cat >conftest.
$ac_ext <<_ACEOF
15666 #line $LINENO "configure"
15667 #include "confdefs.h"
15668 /* System header to define __stub macros and hopefully few prototypes,
15669 which can conflict with char $ac_func (); below. */
15670 #include <assert.h>
15671 /* Override any gcc2 internal prototype to avoid an error. */
15675 /* We use char because int might match the return type of a gcc2
15676 builtin and then its argument prototype would still apply. */
15680 #ifdef F77_DUMMY_MAIN
15681 # ifdef __cplusplus
15684 int F77_DUMMY_MAIN() { return 1; }
15689 /* The GNU C library defines this for functions which it implements
15690 to always fail with ENOSYS. Some functions are actually named
15691 something starting with __ and the normal name is an alias. */
15692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15702 rm -f conftest.
$ac_objext conftest
$ac_exeext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15704 (eval $ac_link) 2>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } &&
15708 { ac_try
='test -s conftest$ac_exeext'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; }; then
15714 eval "$as_ac_var=yes"
15716 echo "$as_me: failed program was:" >&5
15717 cat conftest.
$ac_ext >&5
15718 eval "$as_ac_var=no"
15720 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15724 if test `eval echo '${'$as_ac_var'}'` = yes; then
15725 cat >>confdefs.h
<<_ACEOF
15726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15738 for ac_func
in getprpwnam
15740 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15741 echo "$as_me:$LINENO: checking for $ac_func" >&5
15742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15743 if eval "test \"\${$as_ac_var+set}\" = set"; then
15744 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 cat >conftest.
$ac_ext <<_ACEOF
15747 #line $LINENO "configure"
15748 #include "confdefs.h"
15749 /* System header to define __stub macros and hopefully few prototypes,
15750 which can conflict with char $ac_func (); below. */
15751 #include <assert.h>
15752 /* Override any gcc2 internal prototype to avoid an error. */
15756 /* We use char because int might match the return type of a gcc2
15757 builtin and then its argument prototype would still apply. */
15761 #ifdef F77_DUMMY_MAIN
15762 # ifdef __cplusplus
15765 int F77_DUMMY_MAIN() { return 1; }
15770 /* The GNU C library defines this for functions which it implements
15771 to always fail with ENOSYS. Some functions are actually named
15772 something starting with __ and the normal name is an alias. */
15773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15783 rm -f conftest.
$ac_objext conftest
$ac_exeext
15784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15785 (eval $ac_link) 2>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); } &&
15789 { ac_try
='test -s conftest$ac_exeext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 eval "$as_ac_var=yes"
15797 echo "$as_me: failed program was:" >&5
15798 cat conftest.
$ac_ext >&5
15799 eval "$as_ac_var=no"
15801 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15805 if test `eval echo '${'$as_ac_var'}'` = yes; then
15806 cat >>confdefs.h
<<_ACEOF
15807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15814 echo "$as_me:$LINENO: checking for getprpwnam in -lsecurity" >&5
15815 echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6
15816 if test "${ac_cv_lib_security_getprpwnam+set}" = set; then
15817 echo $ECHO_N "(cached) $ECHO_C" >&6
15819 ac_check_lib_save_LIBS
=$LIBS
15820 LIBS
="-lsecurity $LIBS"
15821 cat >conftest.
$ac_ext <<_ACEOF
15822 #line $LINENO "configure"
15823 #include "confdefs.h"
15825 /* Override any gcc2 internal prototype to avoid an error. */
15829 /* We use char because int might match the return type of a gcc2
15830 builtin and then its argument prototype would still apply. */
15831 char getprpwnam ();
15832 #ifdef F77_DUMMY_MAIN
15833 # ifdef __cplusplus
15836 int F77_DUMMY_MAIN() { return 1; }
15846 rm -f conftest.
$ac_objext conftest
$ac_exeext
15847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15848 (eval $ac_link) 2>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); } &&
15852 { ac_try
='test -s conftest$ac_exeext'
15853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15854 (eval $ac_try) 2>&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); }; }; then
15858 ac_cv_lib_security_getprpwnam
=yes
15860 echo "$as_me: failed program was:" >&5
15861 cat conftest.
$ac_ext >&5
15862 ac_cv_lib_security_getprpwnam
=no
15864 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15865 LIBS
=$ac_check_lib_save_LIBS
15867 echo "$as_me:$LINENO: result: $ac_cv_lib_security_getprpwnam" >&5
15868 echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6
15869 if test $ac_cv_lib_security_getprpwnam = yes; then
15870 cat >>confdefs.h
<<_ACEOF
15871 #define HAVE_LIBSECURITY 1
15874 LIBS
="-lsecurity $LIBS"
15879 for ac_func
in getprpwnam
15881 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15882 echo "$as_me:$LINENO: checking for $ac_func" >&5
15883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15884 if eval "test \"\${$as_ac_var+set}\" = set"; then
15885 echo $ECHO_N "(cached) $ECHO_C" >&6
15887 cat >conftest.
$ac_ext <<_ACEOF
15888 #line $LINENO "configure"
15889 #include "confdefs.h"
15890 /* System header to define __stub macros and hopefully few prototypes,
15891 which can conflict with char $ac_func (); below. */
15892 #include <assert.h>
15893 /* Override any gcc2 internal prototype to avoid an error. */
15897 /* We use char because int might match the return type of a gcc2
15898 builtin and then its argument prototype would still apply. */
15902 #ifdef F77_DUMMY_MAIN
15903 # ifdef __cplusplus
15906 int F77_DUMMY_MAIN() { return 1; }
15911 /* The GNU C library defines this for functions which it implements
15912 to always fail with ENOSYS. Some functions are actually named
15913 something starting with __ and the normal name is an alias. */
15914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15924 rm -f conftest.
$ac_objext conftest
$ac_exeext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15926 (eval $ac_link) 2>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); } &&
15930 { ac_try
='test -s conftest$ac_exeext'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; }; then
15936 eval "$as_ac_var=yes"
15938 echo "$as_me: failed program was:" >&5
15939 cat conftest.
$ac_ext >&5
15940 eval "$as_ac_var=no"
15942 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15946 if test `eval echo '${'$as_ac_var'}'` = yes; then
15947 cat >>confdefs.h
<<_ACEOF
15948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15959 for ac_func
in getprpwnam
15961 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15962 echo "$as_me:$LINENO: checking for $ac_func" >&5
15963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15964 if eval "test \"\${$as_ac_var+set}\" = set"; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6
15967 cat >conftest.
$ac_ext <<_ACEOF
15968 #line $LINENO "configure"
15969 #include "confdefs.h"
15970 /* System header to define __stub macros and hopefully few prototypes,
15971 which can conflict with char $ac_func (); below. */
15972 #include <assert.h>
15973 /* Override any gcc2 internal prototype to avoid an error. */
15977 /* We use char because int might match the return type of a gcc2
15978 builtin and then its argument prototype would still apply. */
15982 #ifdef F77_DUMMY_MAIN
15983 # ifdef __cplusplus
15986 int F77_DUMMY_MAIN() { return 1; }
15991 /* The GNU C library defines this for functions which it implements
15992 to always fail with ENOSYS. Some functions are actually named
15993 something starting with __ and the normal name is an alias. */
15994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16004 rm -f conftest.
$ac_objext conftest
$ac_exeext
16005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16006 (eval $ac_link) 2>&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } &&
16010 { ac_try
='test -s conftest$ac_exeext'
16011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16012 (eval $ac_try) 2>&5
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); }; }; then
16016 eval "$as_ac_var=yes"
16018 echo "$as_me: failed program was:" >&5
16019 cat conftest.
$ac_ext >&5
16020 eval "$as_ac_var=no"
16022 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16026 if test `eval echo '${'$as_ac_var'}'` = yes; then
16027 cat >>confdefs.h
<<_ACEOF
16028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16035 echo "$as_me:$LINENO: checking for getprpwnam in -lsec" >&5
16036 echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6
16037 if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then
16038 echo $ECHO_N "(cached) $ECHO_C" >&6
16040 ac_check_lib_save_LIBS
=$LIBS
16042 cat >conftest.
$ac_ext <<_ACEOF
16043 #line $LINENO "configure"
16044 #include "confdefs.h"
16046 /* Override any gcc2 internal prototype to avoid an error. */
16050 /* We use char because int might match the return type of a gcc2
16051 builtin and then its argument prototype would still apply. */
16052 char getprpwnam ();
16053 #ifdef F77_DUMMY_MAIN
16054 # ifdef __cplusplus
16057 int F77_DUMMY_MAIN() { return 1; }
16067 rm -f conftest.
$ac_objext conftest
$ac_exeext
16068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16069 (eval $ac_link) 2>&5
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); } &&
16073 { ac_try
='test -s conftest$ac_exeext'
16074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16075 (eval $ac_try) 2>&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); }; }; then
16079 ac_cv_lib_sec_getprpwnam
=yes
16081 echo "$as_me: failed program was:" >&5
16082 cat conftest.
$ac_ext >&5
16083 ac_cv_lib_sec_getprpwnam
=no
16085 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16086 LIBS
=$ac_check_lib_save_LIBS
16088 echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getprpwnam" >&5
16089 echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6
16090 if test $ac_cv_lib_sec_getprpwnam = yes; then
16091 cat >>confdefs.h
<<_ACEOF
16092 #define HAVE_LIBSEC 1
16100 for ac_func
in getprpwnam
16102 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16103 echo "$as_me:$LINENO: checking for $ac_func" >&5
16104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16105 if eval "test \"\${$as_ac_var+set}\" = set"; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16108 cat >conftest.
$ac_ext <<_ACEOF
16109 #line $LINENO "configure"
16110 #include "confdefs.h"
16111 /* System header to define __stub macros and hopefully few prototypes,
16112 which can conflict with char $ac_func (); below. */
16113 #include <assert.h>
16114 /* Override any gcc2 internal prototype to avoid an error. */
16118 /* We use char because int might match the return type of a gcc2
16119 builtin and then its argument prototype would still apply. */
16123 #ifdef F77_DUMMY_MAIN
16124 # ifdef __cplusplus
16127 int F77_DUMMY_MAIN() { return 1; }
16132 /* The GNU C library defines this for functions which it implements
16133 to always fail with ENOSYS. Some functions are actually named
16134 something starting with __ and the normal name is an alias. */
16135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16145 rm -f conftest.
$ac_objext conftest
$ac_exeext
16146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16147 (eval $ac_link) 2>&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } &&
16151 { ac_try
='test -s conftest$ac_exeext'
16152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16153 (eval $ac_try) 2>&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); }; }; then
16157 eval "$as_ac_var=yes"
16159 echo "$as_me: failed program was:" >&5
16160 cat conftest.
$ac_ext >&5
16161 eval "$as_ac_var=no"
16163 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16167 if test `eval echo '${'$as_ac_var'}'` = yes; then
16168 cat >>confdefs.h
<<_ACEOF
16169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16179 # this bit needs to be modified for each OS that is suported by
16180 # smbwrapper. You need to specify how to created a shared library and
16181 # how to compile C code to produce PIC object files
16183 # these are the defaults, good for lots of systems
16185 LDSHFLAGS
="-shared"
16192 # Assume non-shared by default and override below
16194 echo "$as_me:$LINENO: checking ability to build shared libraries" >&5
16195 echo $ECHO_N "checking ability to build shared libraries... $ECHO_C" >&6
16197 # and these are for particular systems
16200 cat >>confdefs.h
<<\_ACEOF
16205 LDSHFLAGS
="-shared"
16206 DYNEXP
="-Wl,--export-dynamic"
16208 SONAMEFLAG
="-Wl,-soname="
16209 cat >>confdefs.h
<<\_ACEOF
16210 #define STAT_ST_BLOCKSIZE 512
16215 cat >>confdefs.h
<<\_ACEOF
16222 if test "${GCC}" = "yes"; then
16224 if test "${ac_cv_prog_gnu_ld}" = "yes"; then
16229 ## ${CFLAGS} added for building 64-bit shared
16230 ## libs using Sun's Compiler
16231 LDSHFLAGS
="-G \${CFLAGS}"
16236 cat >>confdefs.h
<<\_ACEOF
16237 #define STAT_ST_BLOCKSIZE 512
16242 cat >>confdefs.h
<<\_ACEOF
16248 SONAMEFLAG
="-Wl,-h,"
16249 PICFLAG
="-KPIC" # Is this correct for SunOS
16250 cat >>confdefs.h
<<\_ACEOF
16251 #define STAT_ST_BLOCKSIZE 512
16255 *netbsd
* |
*freebsd
*) BLDSHARED
="true"
16256 LDSHFLAGS
="-shared"
16257 DYNEXP
="-Wl,--export-dynamic"
16258 SONAMEFLAG
="-Wl,-soname,"
16259 PICFLAG
="-fPIC -DPIC"
16261 cat >>confdefs.h
<<\_ACEOF
16262 #define STAT_ST_BLOCKSIZE 512
16266 *openbsd
*) BLDSHARED
="true"
16267 LDSHFLAGS
="-shared"
16268 DYNEXP
="-Wl,-Bdynamic"
16269 SONAMEFLAG
="-Wl,-soname,"
16272 cat >>confdefs.h
<<\_ACEOF
16273 #define STAT_ST_BLOCKSIZE 512
16278 cat >>confdefs.h
<<\_ACEOF
16284 cat >>confdefs.h
<<\_ACEOF
16290 ATTEMPT_WRAP32_BUILD
=yes
16292 LDSHFLAGS
="-set_version sgi1.0 -shared"
16293 SONAMEFLAG
="-soname "
16295 if test "${GCC}" = "yes"; then
16301 cat >>confdefs.h
<<\_ACEOF
16302 #define STAT_ST_BLOCKSIZE 512
16307 cat >>confdefs.h
<<\_ACEOF
16312 LDSHFLAGS
="-Wl,-bexpall,-bM:SRE,-bnoentry"
16313 DYNEXP
="-Wl,-brtl,-bexpall"
16315 if test "${GCC}" != "yes"; then
16316 ## for funky AIX compiler using strncpy()
16317 CFLAGS
="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000"
16321 cat >>confdefs.h
<<\_ACEOF
16322 #define STAT_ST_BLOCKSIZE DEV_BSIZE
16327 cat >>confdefs.h
<<\_ACEOF
16332 # Use special PIC flags for the native HP-UX compiler.
16333 if test $ac_cv_prog_cc_Ae = yes; then
16336 LDSHFLAGS
="-B symbolic -b -z"
16342 cat >>confdefs.h
<<\_ACEOF
16343 #define STAT_ST_BLOCKSIZE 8192
16348 cat >>confdefs.h
<<\_ACEOF
16352 cat >>confdefs.h
<<\_ACEOF
16353 #define STAT_ST_BLOCKSIZE 512
16358 cat >>confdefs.h
<<\_ACEOF
16363 LDSHFLAGS
="-shared"
16364 SONAMEFLAG
="-Wl,-soname,"
16366 cat >>confdefs.h
<<\_ACEOF
16367 #define STAT_ST_BLOCKSIZE 512
16372 cat >>confdefs.h
<<\_ACEOF
16376 cat >>confdefs.h
<<\_ACEOF
16377 #define STAT_ST_BLOCKSIZE 512
16382 cat >>confdefs.h
<<\_ACEOF
16387 LDSHFLAGS
="-shared"
16388 SONAMEFLAG
="-Wl,-soname,"
16390 cat >>confdefs.h
<<\_ACEOF
16391 #define STAT_ST_BLOCKSIZE 512
16396 cat >>confdefs.h
<<\_ACEOF
16400 cat >>confdefs.h
<<\_ACEOF
16401 #define STAT_ST_BLOCKSIZE 512
16405 *dgux
*) # Extract the first word of "groff", so it can be a program name with args.
16406 set dummy
groff; ac_word
=$2
16407 echo "$as_me:$LINENO: checking for $ac_word" >&5
16408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16409 if test "${ac_cv_prog_ROFF+set}" = set; then
16410 echo $ECHO_N "(cached) $ECHO_C" >&6
16412 if test -n "$ROFF"; then
16413 ac_cv_prog_ROFF
="$ROFF" # Let the user override the test.
16415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16416 for as_dir
in $PATH
16419 test -z "$as_dir" && as_dir
=.
16420 for ac_exec_ext
in '' $ac_executable_extensions; do
16421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16422 ac_cv_prog_ROFF
="groff -etpsR -Tascii -man"
16423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16431 ROFF
=$ac_cv_prog_ROFF
16432 if test -n "$ROFF"; then
16433 echo "$as_me:$LINENO: result: $ROFF" >&5
16434 echo "${ECHO_T}$ROFF" >&6
16436 echo "$as_me:$LINENO: result: no" >&5
16437 echo "${ECHO_T}no" >&6
16440 cat >>confdefs.h
<<\_ACEOF
16441 #define STAT_ST_BLOCKSIZE 512
16446 cat >>confdefs.h
<<\_ACEOF
16451 *-univel-*) if test "$GCC" != yes ; then
16453 cat >>confdefs.h
<<\_ACEOF
16454 #define HAVE_MEMSET 1
16462 cat >>confdefs.h
<<\_ACEOF
16463 #define RELIANTUNIX 1
16467 cat >>confdefs.h
<<\_ACEOF
16468 #define STAT_ST_BLOCKSIZE 512
16474 cat >>confdefs.h
<<\_ACEOF
16478 if test "$GCC" != yes ; then
16480 cat >>confdefs.h
<<\_ACEOF
16481 #define HAVE_MEMSET 1
16486 cat >>confdefs.h
<<\_ACEOF
16487 #define STAT_ST_BLOCKSIZE 512
16491 *vos
*) cat >>confdefs.h
<<\_ACEOF
16492 #define STAT_ST_BLOCKSIZE 4096
16499 cat >>confdefs.h
<<\_ACEOF
16500 #define STAT_ST_BLOCKSIZE 512
16506 echo "$as_me:$LINENO: result: $BLDSHARED" >&5
16507 echo "${ECHO_T}$BLDSHARED" >&6
16508 echo "$as_me:$LINENO: checking linker flags for shared libraries" >&5
16509 echo $ECHO_N "checking linker flags for shared libraries... $ECHO_C" >&6
16510 echo "$as_me:$LINENO: result: $LDSHFLAGS" >&5
16511 echo "${ECHO_T}$LDSHFLAGS" >&6
16512 echo "$as_me:$LINENO: checking compiler flags for position-independent code" >&5
16513 echo $ECHO_N "checking compiler flags for position-independent code... $ECHO_C" >&6
16514 echo "$as_me:$LINENO: result: $PICFLAGS" >&5
16515 echo "${ECHO_T}$PICFLAGS" >&6
16517 #######################################################
16518 # test whether building a shared library actually works
16519 if test $BLDSHARED = true
; then
16520 echo "$as_me:$LINENO: checking whether building shared libraries actually works" >&5
16521 echo $ECHO_N "checking whether building shared libraries actually works... $ECHO_C" >&6
16522 if test "${ac_cv_shlib_works+set}" = set; then
16523 echo $ECHO_N "(cached) $ECHO_C" >&6
16526 ac_cv_shlib_works
=no
16527 # try building a trivial shared library
16528 if test "$PICSUFFIX" = "po"; then
16529 $CC $CPPFLAGS $CFLAGS $PICFLAG -c -o shlib.po
${srcdir-.}/tests
/shlib.c
&&
16530 $CC $CPPFLAGS $CFLAGS `eval echo $LDSHFLAGS` -o shlib.so shlib.po
&&
16531 ac_cv_shlib_works
=yes
16533 $CC $CPPFLAGS $CFLAGS $PICFLAG -c -o shlib.
$PICSUFFIX ${srcdir-.}/tests
/shlib.c
&&
16534 mv shlib.
$PICSUFFIX shlib.po
&&
16535 $CC $CPPFLAGS $CFLAGS `eval echo $LDSHFLAGS` -o shlib.so shlib.po
&&
16536 ac_cv_shlib_works
=yes
16538 rm -f shlib.so shlib.po
16541 echo "$as_me:$LINENO: result: $ac_cv_shlib_works" >&5
16542 echo "${ECHO_T}$ac_cv_shlib_works" >&6
16543 if test $ac_cv_shlib_works = no
; then
16550 echo "$as_me:$LINENO: checking for long long" >&5
16551 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16552 if test "${samba_cv_have_longlong+set}" = set; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16556 if test "$cross_compiling" = yes; then
16557 samba_cv_have_longlong
=cross
16559 cat >conftest.
$ac_ext <<_ACEOF
16560 #line $LINENO "configure"
16561 #include "confdefs.h"
16563 main() { long long x = 1000000; x *= x; exit(((x/1000000) == 1000000)? 0: 1); }
16565 rm -f conftest
$ac_exeext
16566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16567 (eval $ac_link) 2>&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; }; then
16576 samba_cv_have_longlong
=yes
16578 echo "$as_me: program exited with status $ac_status" >&5
16579 echo "$as_me: failed program was:" >&5
16580 cat conftest.
$ac_ext >&5
16581 ( exit $ac_status )
16582 samba_cv_have_longlong
=no
16584 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16587 echo "$as_me:$LINENO: result: $samba_cv_have_longlong" >&5
16588 echo "${ECHO_T}$samba_cv_have_longlong" >&6
16589 if test x
"$samba_cv_have_longlong" = x
"yes"; then
16591 cat >>confdefs.h
<<\_ACEOF
16592 #define HAVE_LONGLONG 1
16598 # Check if the compiler supports the LL prefix on long long integers.
16601 echo "$as_me:$LINENO: checking for LL suffix on long long integers" >&5
16602 echo $ECHO_N "checking for LL suffix on long long integers... $ECHO_C" >&6
16603 if test "${samba_cv_compiler_supports_ll+set}" = set; then
16604 echo $ECHO_N "(cached) $ECHO_C" >&6
16607 cat >conftest.
$ac_ext <<_ACEOF
16608 #line $LINENO "configure"
16609 #include "confdefs.h"
16611 #ifdef F77_DUMMY_MAIN
16612 # ifdef __cplusplus
16615 int F77_DUMMY_MAIN() { return 1; }
16620 long long i = 0x8000000000LL
16625 rm -f conftest.
$ac_objext
16626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16627 (eval $ac_compile) 2>&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); } &&
16631 { ac_try
='test -s conftest.$ac_objext'
16632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16633 (eval $ac_try) 2>&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); }; }; then
16637 samba_cv_compiler_supports_ll
=yes
16639 echo "$as_me: failed program was:" >&5
16640 cat conftest.
$ac_ext >&5
16641 samba_cv_compiler_supports_ll
=no
16643 rm -f conftest.
$ac_objext conftest.
$ac_ext
16645 echo "$as_me:$LINENO: result: $samba_cv_compiler_supports_ll" >&5
16646 echo "${ECHO_T}$samba_cv_compiler_supports_ll" >&6
16647 if test x
"$samba_cv_compiler_supports_ll" = x
"yes"; then
16649 cat >>confdefs.h
<<\_ACEOF
16650 #define COMPILER_SUPPORTS_LL 1
16656 echo "$as_me:$LINENO: checking for 64 bit off_t" >&5
16657 echo $ECHO_N "checking for 64 bit off_t... $ECHO_C" >&6
16658 if test "${samba_cv_SIZEOF_OFF_T+set}" = set; then
16659 echo $ECHO_N "(cached) $ECHO_C" >&6
16662 if test "$cross_compiling" = yes; then
16663 samba_cv_SIZEOF_OFF_T
=cross
16665 cat >conftest.
$ac_ext <<_ACEOF
16666 #line $LINENO "configure"
16667 #include "confdefs.h"
16669 #include <sys/stat.h>
16670 main() { exit((sizeof(off_t) == 8) ? 0 : 1); }
16672 rm -f conftest
$ac_exeext
16673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16674 (eval $ac_link) 2>&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679 (eval $ac_try) 2>&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; }; then
16683 samba_cv_SIZEOF_OFF_T
=yes
16685 echo "$as_me: program exited with status $ac_status" >&5
16686 echo "$as_me: failed program was:" >&5
16687 cat conftest.
$ac_ext >&5
16688 ( exit $ac_status )
16689 samba_cv_SIZEOF_OFF_T
=no
16691 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16694 echo "$as_me:$LINENO: result: $samba_cv_SIZEOF_OFF_T" >&5
16695 echo "${ECHO_T}$samba_cv_SIZEOF_OFF_T" >&6
16696 if test x
"$samba_cv_SIZEOF_OFF_T" = x
"yes"; then
16698 cat >>confdefs.h
<<\_ACEOF
16699 #define SIZEOF_OFF_T 8
16704 echo "$as_me:$LINENO: checking for off64_t" >&5
16705 echo $ECHO_N "checking for off64_t... $ECHO_C" >&6
16706 if test "${samba_cv_HAVE_OFF64_T+set}" = set; then
16707 echo $ECHO_N "(cached) $ECHO_C" >&6
16710 if test "$cross_compiling" = yes; then
16711 samba_cv_HAVE_OFF64_T
=cross
16713 cat >conftest.
$ac_ext <<_ACEOF
16714 #line $LINENO "configure"
16715 #include "confdefs.h"
16717 #if defined(HAVE_UNISTD_H)
16718 #include <unistd.h>
16721 #include <sys/stat.h>
16722 main() { struct stat64 st; off64_t s; if (sizeof(off_t) == sizeof(off64_t)) exit(1); exit((lstat64("/dev/null", &st)==0)?0:1); }
16724 rm -f conftest
$ac_exeext
16725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16726 (eval $ac_link) 2>&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16731 (eval $ac_try) 2>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); }; }; then
16735 samba_cv_HAVE_OFF64_T
=yes
16737 echo "$as_me: program exited with status $ac_status" >&5
16738 echo "$as_me: failed program was:" >&5
16739 cat conftest.
$ac_ext >&5
16740 ( exit $ac_status )
16741 samba_cv_HAVE_OFF64_T
=no
16743 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16746 echo "$as_me:$LINENO: result: $samba_cv_HAVE_OFF64_T" >&5
16747 echo "${ECHO_T}$samba_cv_HAVE_OFF64_T" >&6
16748 if test x
"$samba_cv_HAVE_OFF64_T" = x
"yes"; then
16750 cat >>confdefs.h
<<\_ACEOF
16751 #define HAVE_OFF64_T 1
16756 echo "$as_me:$LINENO: checking for 64 bit ino_t" >&5
16757 echo $ECHO_N "checking for 64 bit ino_t... $ECHO_C" >&6
16758 if test "${samba_cv_SIZEOF_INO_T+set}" = set; then
16759 echo $ECHO_N "(cached) $ECHO_C" >&6
16762 if test "$cross_compiling" = yes; then
16763 samba_cv_SIZEOF_INO_T
=cross
16765 cat >conftest.
$ac_ext <<_ACEOF
16766 #line $LINENO "configure"
16767 #include "confdefs.h"
16769 #include <sys/stat.h>
16770 main() { exit((sizeof(ino_t) == 8) ? 0 : 1); }
16772 rm -f conftest
$ac_exeext
16773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16774 (eval $ac_link) 2>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16779 (eval $ac_try) 2>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); }; }; then
16783 samba_cv_SIZEOF_INO_T
=yes
16785 echo "$as_me: program exited with status $ac_status" >&5
16786 echo "$as_me: failed program was:" >&5
16787 cat conftest.
$ac_ext >&5
16788 ( exit $ac_status )
16789 samba_cv_SIZEOF_INO_T
=no
16791 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16794 echo "$as_me:$LINENO: result: $samba_cv_SIZEOF_INO_T" >&5
16795 echo "${ECHO_T}$samba_cv_SIZEOF_INO_T" >&6
16796 if test x
"$samba_cv_SIZEOF_INO_T" = x
"yes"; then
16798 cat >>confdefs.h
<<\_ACEOF
16799 #define SIZEOF_INO_T 8
16804 echo "$as_me:$LINENO: checking for ino64_t" >&5
16805 echo $ECHO_N "checking for ino64_t... $ECHO_C" >&6
16806 if test "${samba_cv_HAVE_INO64_T+set}" = set; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16810 if test "$cross_compiling" = yes; then
16811 samba_cv_HAVE_INO64_T
=cross
16813 cat >conftest.
$ac_ext <<_ACEOF
16814 #line $LINENO "configure"
16815 #include "confdefs.h"
16817 #if defined(HAVE_UNISTD_H)
16818 #include <unistd.h>
16821 #include <sys/stat.h>
16822 main() { struct stat64 st; ino64_t s; if (sizeof(ino_t) == sizeof(ino64_t)) exit(1); exit((lstat64("/dev/null", &st)==0)?0:1); }
16824 rm -f conftest
$ac_exeext
16825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16826 (eval $ac_link) 2>&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16831 (eval $ac_try) 2>&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); }; }; then
16835 samba_cv_HAVE_INO64_T
=yes
16837 echo "$as_me: program exited with status $ac_status" >&5
16838 echo "$as_me: failed program was:" >&5
16839 cat conftest.
$ac_ext >&5
16840 ( exit $ac_status )
16841 samba_cv_HAVE_INO64_T
=no
16843 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16846 echo "$as_me:$LINENO: result: $samba_cv_HAVE_INO64_T" >&5
16847 echo "${ECHO_T}$samba_cv_HAVE_INO64_T" >&6
16848 if test x
"$samba_cv_HAVE_INO64_T" = x
"yes"; then
16850 cat >>confdefs.h
<<\_ACEOF
16851 #define HAVE_INO64_T 1
16856 echo "$as_me:$LINENO: checking for dev64_t" >&5
16857 echo $ECHO_N "checking for dev64_t... $ECHO_C" >&6
16858 if test "${samba_cv_HAVE_DEV64_T+set}" = set; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16862 if test "$cross_compiling" = yes; then
16863 samba_cv_HAVE_DEV64_T
=cross
16865 cat >conftest.
$ac_ext <<_ACEOF
16866 #line $LINENO "configure"
16867 #include "confdefs.h"
16869 #if defined(HAVE_UNISTD_H)
16870 #include <unistd.h>
16873 #include <sys/stat.h>
16874 main() { struct stat64 st; dev64_t s; if (sizeof(dev_t) == sizeof(dev64_t)) exit(1); exit((lstat64("/dev/null", &st)==0)?0:1); }
16876 rm -f conftest
$ac_exeext
16877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16878 (eval $ac_link) 2>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16883 (eval $ac_try) 2>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); }; }; then
16887 samba_cv_HAVE_DEV64_T
=yes
16889 echo "$as_me: program exited with status $ac_status" >&5
16890 echo "$as_me: failed program was:" >&5
16891 cat conftest.
$ac_ext >&5
16892 ( exit $ac_status )
16893 samba_cv_HAVE_DEV64_T
=no
16895 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16898 echo "$as_me:$LINENO: result: $samba_cv_HAVE_DEV64_T" >&5
16899 echo "${ECHO_T}$samba_cv_HAVE_DEV64_T" >&6
16900 if test x
"$samba_cv_HAVE_DEV64_T" = x
"yes"; then
16902 cat >>confdefs.h
<<\_ACEOF
16903 #define HAVE_DEV64_T 1
16908 echo "$as_me:$LINENO: checking for struct dirent64" >&5
16909 echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6
16910 if test "${samba_cv_HAVE_STRUCT_DIRENT64+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 cat >conftest.
$ac_ext <<_ACEOF
16915 #line $LINENO "configure"
16916 #include "confdefs.h"
16918 #if defined(HAVE_UNISTD_H)
16919 #include <unistd.h>
16921 #include <sys/types.h>
16922 #include <dirent.h>
16923 #ifdef F77_DUMMY_MAIN
16924 # ifdef __cplusplus
16927 int F77_DUMMY_MAIN() { return 1; }
16932 struct dirent64 de;
16937 rm -f conftest.
$ac_objext
16938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16939 (eval $ac_compile) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); } &&
16943 { ac_try
='test -s conftest.$ac_objext'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; }; then
16949 samba_cv_HAVE_STRUCT_DIRENT64
=yes
16951 echo "$as_me: failed program was:" >&5
16952 cat conftest.
$ac_ext >&5
16953 samba_cv_HAVE_STRUCT_DIRENT64
=no
16955 rm -f conftest.
$ac_objext conftest.
$ac_ext
16957 echo "$as_me:$LINENO: result: $samba_cv_HAVE_STRUCT_DIRENT64" >&5
16958 echo "${ECHO_T}$samba_cv_HAVE_STRUCT_DIRENT64" >&6
16959 if test x
"$samba_cv_HAVE_STRUCT_DIRENT64" = x
"yes" && test x
"$ac_cv_func_readdir64" = x
"yes"; then
16961 cat >>confdefs.h
<<\_ACEOF
16962 #define HAVE_STRUCT_DIRENT64 1
16967 echo "$as_me:$LINENO: checking for major macro" >&5
16968 echo $ECHO_N "checking for major macro... $ECHO_C" >&6
16969 if test "${samba_cv_HAVE_DEVICE_MAJOR_FN+set}" = set; then
16970 echo $ECHO_N "(cached) $ECHO_C" >&6
16973 if test "$cross_compiling" = yes; then
16974 samba_cv_HAVE_DEVICE_MAJOR_FN
=cross
16976 cat >conftest.
$ac_ext <<_ACEOF
16977 #line $LINENO "configure"
16978 #include "confdefs.h"
16980 #if defined(HAVE_UNISTD_H)
16981 #include <unistd.h>
16983 #include <sys/types.h>
16984 main() { dev_t dev; int i = major(dev); return 0; }
16986 rm -f conftest
$ac_exeext
16987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16988 (eval $ac_link) 2>&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; }; then
16997 samba_cv_HAVE_DEVICE_MAJOR_FN
=yes
16999 echo "$as_me: program exited with status $ac_status" >&5
17000 echo "$as_me: failed program was:" >&5
17001 cat conftest.
$ac_ext >&5
17002 ( exit $ac_status )
17003 samba_cv_HAVE_DEVICE_MAJOR_FN
=no
17005 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17008 echo "$as_me:$LINENO: result: $samba_cv_HAVE_DEVICE_MAJOR_FN" >&5
17009 echo "${ECHO_T}$samba_cv_HAVE_DEVICE_MAJOR_FN" >&6
17010 if test x
"$samba_cv_HAVE_DEVICE_MAJOR_FN" = x
"yes"; then
17012 cat >>confdefs.h
<<\_ACEOF
17013 #define HAVE_DEVICE_MAJOR_FN 1
17018 echo "$as_me:$LINENO: checking for minor macro" >&5
17019 echo $ECHO_N "checking for minor macro... $ECHO_C" >&6
17020 if test "${samba_cv_HAVE_DEVICE_MINOR_FN+set}" = set; then
17021 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 if test "$cross_compiling" = yes; then
17025 samba_cv_HAVE_DEVICE_MINOR_FN
=cross
17027 cat >conftest.
$ac_ext <<_ACEOF
17028 #line $LINENO "configure"
17029 #include "confdefs.h"
17031 #if defined(HAVE_UNISTD_H)
17032 #include <unistd.h>
17034 #include <sys/types.h>
17035 main() { dev_t dev; int i = minor(dev); return 0; }
17037 rm -f conftest
$ac_exeext
17038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17039 (eval $ac_link) 2>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17044 (eval $ac_try) 2>&5
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); }; }; then
17048 samba_cv_HAVE_DEVICE_MINOR_FN
=yes
17050 echo "$as_me: program exited with status $ac_status" >&5
17051 echo "$as_me: failed program was:" >&5
17052 cat conftest.
$ac_ext >&5
17053 ( exit $ac_status )
17054 samba_cv_HAVE_DEVICE_MINOR_FN
=no
17056 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17059 echo "$as_me:$LINENO: result: $samba_cv_HAVE_DEVICE_MINOR_FN" >&5
17060 echo "${ECHO_T}$samba_cv_HAVE_DEVICE_MINOR_FN" >&6
17061 if test x
"$samba_cv_HAVE_DEVICE_MINOR_FN" = x
"yes"; then
17063 cat >>confdefs.h
<<\_ACEOF
17064 #define HAVE_DEVICE_MINOR_FN 1
17069 echo "$as_me:$LINENO: checking for unsigned char" >&5
17070 echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6
17071 if test "${samba_cv_HAVE_UNSIGNED_CHAR+set}" = set; then
17072 echo $ECHO_N "(cached) $ECHO_C" >&6
17075 if test "$cross_compiling" = yes; then
17076 samba_cv_HAVE_UNSIGNED_CHAR
=cross
17078 cat >conftest.
$ac_ext <<_ACEOF
17079 #line $LINENO "configure"
17080 #include "confdefs.h"
17082 main() { char c; c=250; exit((c > 0)?0:1); }
17084 rm -f conftest
$ac_exeext
17085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17086 (eval $ac_link) 2>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17091 (eval $ac_try) 2>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }; }; then
17095 samba_cv_HAVE_UNSIGNED_CHAR
=yes
17097 echo "$as_me: program exited with status $ac_status" >&5
17098 echo "$as_me: failed program was:" >&5
17099 cat conftest.
$ac_ext >&5
17100 ( exit $ac_status )
17101 samba_cv_HAVE_UNSIGNED_CHAR
=no
17103 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17106 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UNSIGNED_CHAR" >&5
17107 echo "${ECHO_T}$samba_cv_HAVE_UNSIGNED_CHAR" >&6
17108 if test x
"$samba_cv_HAVE_UNSIGNED_CHAR" = x
"yes"; then
17110 cat >>confdefs.h
<<\_ACEOF
17111 #define HAVE_UNSIGNED_CHAR 1
17116 echo "$as_me:$LINENO: checking for sin_len in sock" >&5
17117 echo $ECHO_N "checking for sin_len in sock... $ECHO_C" >&6
17118 if test "${samba_cv_HAVE_SOCK_SIN_LEN+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 cat >conftest.
$ac_ext <<_ACEOF
17123 #line $LINENO "configure"
17124 #include "confdefs.h"
17125 #include <sys/types.h>
17126 #include <sys/socket.h>
17127 #include <netinet/in.h>
17128 #ifdef F77_DUMMY_MAIN
17129 # ifdef __cplusplus
17132 int F77_DUMMY_MAIN() { return 1; }
17137 struct sockaddr_in sock; sock.sin_len = sizeof(sock);
17142 rm -f conftest.
$ac_objext
17143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17144 (eval $ac_compile) 2>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); } &&
17148 { ac_try
='test -s conftest.$ac_objext'
17149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150 (eval $ac_try) 2>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; }; then
17154 samba_cv_HAVE_SOCK_SIN_LEN
=yes
17156 echo "$as_me: failed program was:" >&5
17157 cat conftest.
$ac_ext >&5
17158 samba_cv_HAVE_SOCK_SIN_LEN
=no
17160 rm -f conftest.
$ac_objext conftest.
$ac_ext
17162 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SOCK_SIN_LEN" >&5
17163 echo "${ECHO_T}$samba_cv_HAVE_SOCK_SIN_LEN" >&6
17164 if test x
"$samba_cv_HAVE_SOCK_SIN_LEN" = x
"yes"; then
17166 cat >>confdefs.h
<<\_ACEOF
17167 #define HAVE_SOCK_SIN_LEN 1
17172 echo "$as_me:$LINENO: checking whether seekdir returns void" >&5
17173 echo $ECHO_N "checking whether seekdir returns void... $ECHO_C" >&6
17174 if test "${samba_cv_SEEKDIR_RETURNS_VOID+set}" = set; then
17175 echo $ECHO_N "(cached) $ECHO_C" >&6
17178 cat >conftest.
$ac_ext <<_ACEOF
17179 #line $LINENO "configure"
17180 #include "confdefs.h"
17181 #include <sys/types.h>
17182 #include <dirent.h>
17183 void seekdir(DIR *d, long loc) { return; }
17184 #ifdef F77_DUMMY_MAIN
17185 # ifdef __cplusplus
17188 int F77_DUMMY_MAIN() { return 1; }
17198 rm -f conftest.
$ac_objext
17199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17200 (eval $ac_compile) 2>&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); } &&
17204 { ac_try
='test -s conftest.$ac_objext'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; }; then
17210 samba_cv_SEEKDIR_RETURNS_VOID
=yes
17212 echo "$as_me: failed program was:" >&5
17213 cat conftest.
$ac_ext >&5
17214 samba_cv_SEEKDIR_RETURNS_VOID
=no
17216 rm -f conftest.
$ac_objext conftest.
$ac_ext
17218 echo "$as_me:$LINENO: result: $samba_cv_SEEKDIR_RETURNS_VOID" >&5
17219 echo "${ECHO_T}$samba_cv_SEEKDIR_RETURNS_VOID" >&6
17220 if test x
"$samba_cv_SEEKDIR_RETURNS_VOID" = x
"yes"; then
17222 cat >>confdefs.h
<<\_ACEOF
17223 #define SEEKDIR_RETURNS_VOID 1
17228 echo "$as_me:$LINENO: checking for __FUNCTION__ macro" >&5
17229 echo $ECHO_N "checking for __FUNCTION__ macro... $ECHO_C" >&6
17230 if test "${samba_cv_HAVE_FUNCTION_MACRO+set}" = set; then
17231 echo $ECHO_N "(cached) $ECHO_C" >&6
17234 cat >conftest.
$ac_ext <<_ACEOF
17235 #line $LINENO "configure"
17236 #include "confdefs.h"
17238 #ifdef F77_DUMMY_MAIN
17239 # ifdef __cplusplus
17242 int F77_DUMMY_MAIN() { return 1; }
17247 printf("%s\n", __FUNCTION__);
17252 rm -f conftest.
$ac_objext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17254 (eval $ac_compile) 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); } &&
17258 { ac_try
='test -s conftest.$ac_objext'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; }; then
17264 samba_cv_HAVE_FUNCTION_MACRO
=yes
17266 echo "$as_me: failed program was:" >&5
17267 cat conftest.
$ac_ext >&5
17268 samba_cv_HAVE_FUNCTION_MACRO
=no
17270 rm -f conftest.
$ac_objext conftest.
$ac_ext
17272 echo "$as_me:$LINENO: result: $samba_cv_HAVE_FUNCTION_MACRO" >&5
17273 echo "${ECHO_T}$samba_cv_HAVE_FUNCTION_MACRO" >&6
17274 if test x
"$samba_cv_HAVE_FUNCTION_MACRO" = x
"yes"; then
17276 cat >>confdefs.h
<<\_ACEOF
17277 #define HAVE_FUNCTION_MACRO 1
17282 echo "$as_me:$LINENO: checking if gettimeofday takes tz argument" >&5
17283 echo $ECHO_N "checking if gettimeofday takes tz argument... $ECHO_C" >&6
17284 if test "${samba_cv_HAVE_GETTIMEOFDAY_TZ+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17288 if test "$cross_compiling" = yes; then
17289 samba_cv_HAVE_GETTIMEOFDAY_TZ
=cross
17291 cat >conftest.
$ac_ext <<_ACEOF
17292 #line $LINENO "configure"
17293 #include "confdefs.h"
17295 #include <sys/time.h>
17296 #include <unistd.h>
17297 main() { struct timeval tv; exit(gettimeofday(&tv, NULL));}
17299 rm -f conftest
$ac_exeext
17300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17301 (eval $ac_link) 2>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; }; then
17310 samba_cv_HAVE_GETTIMEOFDAY_TZ
=yes
17312 echo "$as_me: program exited with status $ac_status" >&5
17313 echo "$as_me: failed program was:" >&5
17314 cat conftest.
$ac_ext >&5
17315 ( exit $ac_status )
17316 samba_cv_HAVE_GETTIMEOFDAY_TZ
=no
17318 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17321 echo "$as_me:$LINENO: result: $samba_cv_HAVE_GETTIMEOFDAY_TZ" >&5
17322 echo "${ECHO_T}$samba_cv_HAVE_GETTIMEOFDAY_TZ" >&6
17323 if test x
"$samba_cv_HAVE_GETTIMEOFDAY_TZ" = x
"yes"; then
17325 cat >>confdefs.h
<<\_ACEOF
17326 #define HAVE_GETTIMEOFDAY_TZ 1
17331 echo "$as_me:$LINENO: checking for __va_copy" >&5
17332 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
17333 if test "${samba_cv_HAVE_VA_COPY+set}" = set; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17337 cat >conftest.
$ac_ext <<_ACEOF
17338 #line $LINENO "configure"
17339 #include "confdefs.h"
17340 #include <stdarg.h>
17342 #ifdef F77_DUMMY_MAIN
17343 # ifdef __cplusplus
17346 int F77_DUMMY_MAIN() { return 1; }
17351 __va_copy(ap1,ap2);
17356 rm -f conftest.
$ac_objext conftest
$ac_exeext
17357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17358 (eval $ac_link) 2>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); } &&
17362 { ac_try
='test -s conftest$ac_exeext'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; }; then
17368 samba_cv_HAVE_VA_COPY
=yes
17370 echo "$as_me: failed program was:" >&5
17371 cat conftest.
$ac_ext >&5
17372 samba_cv_HAVE_VA_COPY
=no
17374 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17376 echo "$as_me:$LINENO: result: $samba_cv_HAVE_VA_COPY" >&5
17377 echo "${ECHO_T}$samba_cv_HAVE_VA_COPY" >&6
17378 if test x
"$samba_cv_HAVE_VA_COPY" = x
"yes"; then
17380 cat >>confdefs.h
<<\_ACEOF
17381 #define HAVE_VA_COPY 1
17386 echo "$as_me:$LINENO: checking for C99 vsnprintf" >&5
17387 echo $ECHO_N "checking for C99 vsnprintf... $ECHO_C" >&6
17388 if test "${samba_cv_HAVE_C99_VSNPRINTF+set}" = set; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17392 if test "$cross_compiling" = yes; then
17393 samba_cv_HAVE_C99_VSNPRINTF
=cross
17395 cat >conftest.
$ac_ext <<_ACEOF
17396 #line $LINENO "configure"
17397 #include "confdefs.h"
17399 #include <sys/types.h>
17400 #include <stdarg.h>
17401 void foo(const char *format, ...) {
17406 va_start(ap, format);
17407 len = vsnprintf(buf, 0, format, ap);
17409 if (len != 5) exit(1);
17411 va_start(ap, format);
17412 len = vsnprintf(0, 0, format, ap);
17414 if (len != 5) exit(1);
17416 if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) exit(1);
17420 main() { foo("hello"); }
17423 rm -f conftest
$ac_exeext
17424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17425 (eval $ac_link) 2>&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17430 (eval $ac_try) 2>&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); }; }; then
17434 samba_cv_HAVE_C99_VSNPRINTF
=yes
17436 echo "$as_me: program exited with status $ac_status" >&5
17437 echo "$as_me: failed program was:" >&5
17438 cat conftest.
$ac_ext >&5
17439 ( exit $ac_status )
17440 samba_cv_HAVE_C99_VSNPRINTF
=no
17442 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17445 echo "$as_me:$LINENO: result: $samba_cv_HAVE_C99_VSNPRINTF" >&5
17446 echo "${ECHO_T}$samba_cv_HAVE_C99_VSNPRINTF" >&6
17447 if test x
"$samba_cv_HAVE_C99_VSNPRINTF" = x
"yes"; then
17449 cat >>confdefs.h
<<\_ACEOF
17450 #define HAVE_C99_VSNPRINTF 1
17455 echo "$as_me:$LINENO: checking for broken readdir" >&5
17456 echo $ECHO_N "checking for broken readdir... $ECHO_C" >&6
17457 if test "${samba_cv_HAVE_BROKEN_READDIR+set}" = set; then
17458 echo $ECHO_N "(cached) $ECHO_C" >&6
17461 if test "$cross_compiling" = yes; then
17462 samba_cv_HAVE_BROKEN_READDIR
=cross
17464 cat >conftest.
$ac_ext <<_ACEOF
17465 #line $LINENO "configure"
17466 #include "confdefs.h"
17467 #include <sys/types.h>
17468 #include <dirent.h>
17469 main() { struct dirent *di; DIR *d = opendir("."); di = readdir(d);
17470 if (di && di->d_name[-2] == '.' && di->d_name[-1] == 0 &&
17471 di->d_name[0] == 0) exit(0); exit(1);}
17473 rm -f conftest
$ac_exeext
17474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17475 (eval $ac_link) 2>&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17480 (eval $ac_try) 2>&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); }; }; then
17484 samba_cv_HAVE_BROKEN_READDIR
=yes
17486 echo "$as_me: program exited with status $ac_status" >&5
17487 echo "$as_me: failed program was:" >&5
17488 cat conftest.
$ac_ext >&5
17489 ( exit $ac_status )
17490 samba_cv_HAVE_BROKEN_READDIR
=no
17492 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17495 echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_READDIR" >&5
17496 echo "${ECHO_T}$samba_cv_HAVE_BROKEN_READDIR" >&6
17497 if test x
"$samba_cv_HAVE_BROKEN_READDIR" = x
"yes"; then
17499 cat >>confdefs.h
<<\_ACEOF
17500 #define HAVE_BROKEN_READDIR 1
17505 echo "$as_me:$LINENO: checking for utimbuf" >&5
17506 echo $ECHO_N "checking for utimbuf... $ECHO_C" >&6
17507 if test "${samba_cv_HAVE_UTIMBUF+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17511 cat >conftest.
$ac_ext <<_ACEOF
17512 #line $LINENO "configure"
17513 #include "confdefs.h"
17514 #include <sys/types.h>
17516 #ifdef F77_DUMMY_MAIN
17517 # ifdef __cplusplus
17520 int F77_DUMMY_MAIN() { return 1; }
17525 struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; exit(utime("foo.c",&tbuf));
17530 rm -f conftest.
$ac_objext
17531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17532 (eval $ac_compile) 2>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } &&
17536 { ac_try
='test -s conftest.$ac_objext'
17537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538 (eval $ac_try) 2>&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); }; }; then
17542 samba_cv_HAVE_UTIMBUF
=yes
17544 echo "$as_me: failed program was:" >&5
17545 cat conftest.
$ac_ext >&5
17546 samba_cv_HAVE_UTIMBUF
=no
17548 rm -f conftest.
$ac_objext conftest.
$ac_ext
17550 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UTIMBUF" >&5
17551 echo "${ECHO_T}$samba_cv_HAVE_UTIMBUF" >&6
17552 if test x
"$samba_cv_HAVE_UTIMBUF" = x
"yes"; then
17554 cat >>confdefs.h
<<\_ACEOF
17555 #define HAVE_UTIMBUF 1
17566 for ac_func
in pututline pututxline updwtmp updwtmpx getutmpx
17568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17569 echo "$as_me:$LINENO: checking for $ac_func" >&5
17570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17571 if eval "test \"\${$as_ac_var+set}\" = set"; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17574 cat >conftest.
$ac_ext <<_ACEOF
17575 #line $LINENO "configure"
17576 #include "confdefs.h"
17577 /* System header to define __stub macros and hopefully few prototypes,
17578 which can conflict with char $ac_func (); below. */
17579 #include <assert.h>
17580 /* Override any gcc2 internal prototype to avoid an error. */
17584 /* We use char because int might match the return type of a gcc2
17585 builtin and then its argument prototype would still apply. */
17589 #ifdef F77_DUMMY_MAIN
17590 # ifdef __cplusplus
17593 int F77_DUMMY_MAIN() { return 1; }
17598 /* The GNU C library defines this for functions which it implements
17599 to always fail with ENOSYS. Some functions are actually named
17600 something starting with __ and the normal name is an alias. */
17601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17611 rm -f conftest.
$ac_objext conftest
$ac_exeext
17612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17613 (eval $ac_link) 2>&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); } &&
17617 { ac_try
='test -s conftest$ac_exeext'
17618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619 (eval $ac_try) 2>&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; }; then
17623 eval "$as_ac_var=yes"
17625 echo "$as_me: failed program was:" >&5
17626 cat conftest.
$ac_ext >&5
17627 eval "$as_ac_var=no"
17629 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17633 if test `eval echo '${'$as_ac_var'}'` = yes; then
17634 cat >>confdefs.h
<<_ACEOF
17635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17642 echo "$as_me:$LINENO: checking for ut_name in utmp" >&5
17643 echo $ECHO_N "checking for ut_name in utmp... $ECHO_C" >&6
17644 if test "${samba_cv_HAVE_UT_UT_NAME+set}" = set; then
17645 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 cat >conftest.
$ac_ext <<_ACEOF
17649 #line $LINENO "configure"
17650 #include "confdefs.h"
17651 #include <sys/types.h>
17653 #ifdef F77_DUMMY_MAIN
17654 # ifdef __cplusplus
17657 int F77_DUMMY_MAIN() { return 1; }
17662 struct utmp ut; ut.ut_name[0] = 'a';
17667 rm -f conftest.
$ac_objext
17668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17669 (eval $ac_compile) 2>&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); } &&
17673 { ac_try
='test -s conftest.$ac_objext'
17674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675 (eval $ac_try) 2>&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; }; then
17679 samba_cv_HAVE_UT_UT_NAME
=yes
17681 echo "$as_me: failed program was:" >&5
17682 cat conftest.
$ac_ext >&5
17683 samba_cv_HAVE_UT_UT_NAME
=no
17685 rm -f conftest.
$ac_objext conftest.
$ac_ext
17687 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_NAME" >&5
17688 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_NAME" >&6
17689 if test x
"$samba_cv_HAVE_UT_UT_NAME" = x
"yes"; then
17691 cat >>confdefs.h
<<\_ACEOF
17692 #define HAVE_UT_UT_NAME 1
17697 echo "$as_me:$LINENO: checking for ut_user in utmp" >&5
17698 echo $ECHO_N "checking for ut_user in utmp... $ECHO_C" >&6
17699 if test "${samba_cv_HAVE_UT_UT_USER+set}" = set; then
17700 echo $ECHO_N "(cached) $ECHO_C" >&6
17703 cat >conftest.
$ac_ext <<_ACEOF
17704 #line $LINENO "configure"
17705 #include "confdefs.h"
17706 #include <sys/types.h>
17708 #ifdef F77_DUMMY_MAIN
17709 # ifdef __cplusplus
17712 int F77_DUMMY_MAIN() { return 1; }
17717 struct utmp ut; ut.ut_user[0] = 'a';
17722 rm -f conftest.
$ac_objext
17723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17724 (eval $ac_compile) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); } &&
17728 { ac_try
='test -s conftest.$ac_objext'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; }; then
17734 samba_cv_HAVE_UT_UT_USER
=yes
17736 echo "$as_me: failed program was:" >&5
17737 cat conftest.
$ac_ext >&5
17738 samba_cv_HAVE_UT_UT_USER
=no
17740 rm -f conftest.
$ac_objext conftest.
$ac_ext
17742 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_USER" >&5
17743 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_USER" >&6
17744 if test x
"$samba_cv_HAVE_UT_UT_USER" = x
"yes"; then
17746 cat >>confdefs.h
<<\_ACEOF
17747 #define HAVE_UT_UT_USER 1
17752 echo "$as_me:$LINENO: checking for ut_id in utmp" >&5
17753 echo $ECHO_N "checking for ut_id in utmp... $ECHO_C" >&6
17754 if test "${samba_cv_HAVE_UT_UT_ID+set}" = set; then
17755 echo $ECHO_N "(cached) $ECHO_C" >&6
17758 cat >conftest.
$ac_ext <<_ACEOF
17759 #line $LINENO "configure"
17760 #include "confdefs.h"
17761 #include <sys/types.h>
17763 #ifdef F77_DUMMY_MAIN
17764 # ifdef __cplusplus
17767 int F77_DUMMY_MAIN() { return 1; }
17772 struct utmp ut; ut.ut_id[0] = 'a';
17777 rm -f conftest.
$ac_objext
17778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17779 (eval $ac_compile) 2>&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } &&
17783 { ac_try
='test -s conftest.$ac_objext'
17784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785 (eval $ac_try) 2>&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); }; }; then
17789 samba_cv_HAVE_UT_UT_ID
=yes
17791 echo "$as_me: failed program was:" >&5
17792 cat conftest.
$ac_ext >&5
17793 samba_cv_HAVE_UT_UT_ID
=no
17795 rm -f conftest.
$ac_objext conftest.
$ac_ext
17797 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_ID" >&5
17798 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_ID" >&6
17799 if test x
"$samba_cv_HAVE_UT_UT_ID" = x
"yes"; then
17801 cat >>confdefs.h
<<\_ACEOF
17802 #define HAVE_UT_UT_ID 1
17807 echo "$as_me:$LINENO: checking for ut_host in utmp" >&5
17808 echo $ECHO_N "checking for ut_host in utmp... $ECHO_C" >&6
17809 if test "${samba_cv_HAVE_UT_UT_HOST+set}" = set; then
17810 echo $ECHO_N "(cached) $ECHO_C" >&6
17813 cat >conftest.
$ac_ext <<_ACEOF
17814 #line $LINENO "configure"
17815 #include "confdefs.h"
17816 #include <sys/types.h>
17818 #ifdef F77_DUMMY_MAIN
17819 # ifdef __cplusplus
17822 int F77_DUMMY_MAIN() { return 1; }
17827 struct utmp ut; ut.ut_host[0] = 'a';
17832 rm -f conftest.
$ac_objext
17833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17834 (eval $ac_compile) 2>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } &&
17838 { ac_try
='test -s conftest.$ac_objext'
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; }; then
17844 samba_cv_HAVE_UT_UT_HOST
=yes
17846 echo "$as_me: failed program was:" >&5
17847 cat conftest.
$ac_ext >&5
17848 samba_cv_HAVE_UT_UT_HOST
=no
17850 rm -f conftest.
$ac_objext conftest.
$ac_ext
17852 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_HOST" >&5
17853 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_HOST" >&6
17854 if test x
"$samba_cv_HAVE_UT_UT_HOST" = x
"yes"; then
17856 cat >>confdefs.h
<<\_ACEOF
17857 #define HAVE_UT_UT_HOST 1
17862 echo "$as_me:$LINENO: checking for ut_time in utmp" >&5
17863 echo $ECHO_N "checking for ut_time in utmp... $ECHO_C" >&6
17864 if test "${samba_cv_HAVE_UT_UT_TIME+set}" = set; then
17865 echo $ECHO_N "(cached) $ECHO_C" >&6
17868 cat >conftest.
$ac_ext <<_ACEOF
17869 #line $LINENO "configure"
17870 #include "confdefs.h"
17871 #include <sys/types.h>
17873 #ifdef F77_DUMMY_MAIN
17874 # ifdef __cplusplus
17877 int F77_DUMMY_MAIN() { return 1; }
17882 struct utmp ut; time_t t; ut.ut_time = t;
17887 rm -f conftest.
$ac_objext
17888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17889 (eval $ac_compile) 2>&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); } &&
17893 { ac_try
='test -s conftest.$ac_objext'
17894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17895 (eval $ac_try) 2>&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); }; }; then
17899 samba_cv_HAVE_UT_UT_TIME
=yes
17901 echo "$as_me: failed program was:" >&5
17902 cat conftest.
$ac_ext >&5
17903 samba_cv_HAVE_UT_UT_TIME
=no
17905 rm -f conftest.
$ac_objext conftest.
$ac_ext
17907 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_TIME" >&5
17908 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_TIME" >&6
17909 if test x
"$samba_cv_HAVE_UT_UT_TIME" = x
"yes"; then
17911 cat >>confdefs.h
<<\_ACEOF
17912 #define HAVE_UT_UT_TIME 1
17917 echo "$as_me:$LINENO: checking for ut_tv in utmp" >&5
17918 echo $ECHO_N "checking for ut_tv in utmp... $ECHO_C" >&6
17919 if test "${samba_cv_HAVE_UT_UT_TV+set}" = set; then
17920 echo $ECHO_N "(cached) $ECHO_C" >&6
17923 cat >conftest.
$ac_ext <<_ACEOF
17924 #line $LINENO "configure"
17925 #include "confdefs.h"
17926 #include <sys/types.h>
17928 #ifdef F77_DUMMY_MAIN
17929 # ifdef __cplusplus
17932 int F77_DUMMY_MAIN() { return 1; }
17937 struct utmp ut; struct timeval tv; ut.ut_tv = tv;
17942 rm -f conftest.
$ac_objext
17943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17944 (eval $ac_compile) 2>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } &&
17948 { ac_try
='test -s conftest.$ac_objext'
17949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17950 (eval $ac_try) 2>&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); }; }; then
17954 samba_cv_HAVE_UT_UT_TV
=yes
17956 echo "$as_me: failed program was:" >&5
17957 cat conftest.
$ac_ext >&5
17958 samba_cv_HAVE_UT_UT_TV
=no
17960 rm -f conftest.
$ac_objext conftest.
$ac_ext
17962 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_TV" >&5
17963 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_TV" >&6
17964 if test x
"$samba_cv_HAVE_UT_UT_TV" = x
"yes"; then
17966 cat >>confdefs.h
<<\_ACEOF
17967 #define HAVE_UT_UT_TV 1
17972 echo "$as_me:$LINENO: checking for ut_type in utmp" >&5
17973 echo $ECHO_N "checking for ut_type in utmp... $ECHO_C" >&6
17974 if test "${samba_cv_HAVE_UT_UT_TYPE+set}" = set; then
17975 echo $ECHO_N "(cached) $ECHO_C" >&6
17978 cat >conftest.
$ac_ext <<_ACEOF
17979 #line $LINENO "configure"
17980 #include "confdefs.h"
17981 #include <sys/types.h>
17983 #ifdef F77_DUMMY_MAIN
17984 # ifdef __cplusplus
17987 int F77_DUMMY_MAIN() { return 1; }
17992 struct utmp ut; ut.ut_type = 0;
17997 rm -f conftest.
$ac_objext
17998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17999 (eval $ac_compile) 2>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } &&
18003 { ac_try
='test -s conftest.$ac_objext'
18004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18005 (eval $ac_try) 2>&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); }; }; then
18009 samba_cv_HAVE_UT_UT_TYPE
=yes
18011 echo "$as_me: failed program was:" >&5
18012 cat conftest.
$ac_ext >&5
18013 samba_cv_HAVE_UT_UT_TYPE
=no
18015 rm -f conftest.
$ac_objext conftest.
$ac_ext
18017 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_TYPE" >&5
18018 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_TYPE" >&6
18019 if test x
"$samba_cv_HAVE_UT_UT_TYPE" = x
"yes"; then
18021 cat >>confdefs.h
<<\_ACEOF
18022 #define HAVE_UT_UT_TYPE 1
18027 echo "$as_me:$LINENO: checking for ut_pid in utmp" >&5
18028 echo $ECHO_N "checking for ut_pid in utmp... $ECHO_C" >&6
18029 if test "${samba_cv_HAVE_UT_UT_PID+set}" = set; then
18030 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 cat >conftest.
$ac_ext <<_ACEOF
18034 #line $LINENO "configure"
18035 #include "confdefs.h"
18036 #include <sys/types.h>
18038 #ifdef F77_DUMMY_MAIN
18039 # ifdef __cplusplus
18042 int F77_DUMMY_MAIN() { return 1; }
18047 struct utmp ut; ut.ut_pid = 0;
18052 rm -f conftest.
$ac_objext
18053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18054 (eval $ac_compile) 2>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } &&
18058 { ac_try
='test -s conftest.$ac_objext'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; }; then
18064 samba_cv_HAVE_UT_UT_PID
=yes
18066 echo "$as_me: failed program was:" >&5
18067 cat conftest.
$ac_ext >&5
18068 samba_cv_HAVE_UT_UT_PID
=no
18070 rm -f conftest.
$ac_objext conftest.
$ac_ext
18072 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_PID" >&5
18073 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_PID" >&6
18074 if test x
"$samba_cv_HAVE_UT_UT_PID" = x
"yes"; then
18076 cat >>confdefs.h
<<\_ACEOF
18077 #define HAVE_UT_UT_PID 1
18082 echo "$as_me:$LINENO: checking for ut_exit in utmp" >&5
18083 echo $ECHO_N "checking for ut_exit in utmp... $ECHO_C" >&6
18084 if test "${samba_cv_HAVE_UT_UT_EXIT+set}" = set; then
18085 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 cat >conftest.
$ac_ext <<_ACEOF
18089 #line $LINENO "configure"
18090 #include "confdefs.h"
18091 #include <sys/types.h>
18093 #ifdef F77_DUMMY_MAIN
18094 # ifdef __cplusplus
18097 int F77_DUMMY_MAIN() { return 1; }
18102 struct utmp ut; ut.ut_exit.e_exit = 0;
18107 rm -f conftest.
$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); } &&
18113 { ac_try
='test -s conftest.$ac_objext'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; }; then
18119 samba_cv_HAVE_UT_UT_EXIT
=yes
18121 echo "$as_me: failed program was:" >&5
18122 cat conftest.
$ac_ext >&5
18123 samba_cv_HAVE_UT_UT_EXIT
=no
18125 rm -f conftest.
$ac_objext conftest.
$ac_ext
18127 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_EXIT" >&5
18128 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_EXIT" >&6
18129 if test x
"$samba_cv_HAVE_UT_UT_EXIT" = x
"yes"; then
18131 cat >>confdefs.h
<<\_ACEOF
18132 #define HAVE_UT_UT_EXIT 1
18137 echo "$as_me:$LINENO: checking for ut_addr in utmp" >&5
18138 echo $ECHO_N "checking for ut_addr in utmp... $ECHO_C" >&6
18139 if test "${samba_cv_HAVE_UT_UT_ADDR+set}" = set; then
18140 echo $ECHO_N "(cached) $ECHO_C" >&6
18143 cat >conftest.
$ac_ext <<_ACEOF
18144 #line $LINENO "configure"
18145 #include "confdefs.h"
18146 #include <sys/types.h>
18148 #ifdef F77_DUMMY_MAIN
18149 # ifdef __cplusplus
18152 int F77_DUMMY_MAIN() { return 1; }
18157 struct utmp ut; ut.ut_addr = 0;
18162 rm -f conftest.
$ac_objext
18163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18164 (eval $ac_compile) 2>&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); } &&
18168 { ac_try
='test -s conftest.$ac_objext'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18174 samba_cv_HAVE_UT_UT_ADDR
=yes
18176 echo "$as_me: failed program was:" >&5
18177 cat conftest.
$ac_ext >&5
18178 samba_cv_HAVE_UT_UT_ADDR
=no
18180 rm -f conftest.
$ac_objext conftest.
$ac_ext
18182 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_ADDR" >&5
18183 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_ADDR" >&6
18184 if test x
"$samba_cv_HAVE_UT_UT_ADDR" = x
"yes"; then
18186 cat >>confdefs.h
<<\_ACEOF
18187 #define HAVE_UT_UT_ADDR 1
18192 if test x
$ac_cv_func_pututline = xyes
; then
18193 echo "$as_me:$LINENO: checking whether pututline returns pointer" >&5
18194 echo $ECHO_N "checking whether pututline returns pointer... $ECHO_C" >&6
18195 if test "${samba_cv_PUTUTLINE_RETURNS_UTMP+set}" = set; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18199 cat >conftest.
$ac_ext <<_ACEOF
18200 #line $LINENO "configure"
18201 #include "confdefs.h"
18202 #include <sys/types.h>
18204 #ifdef F77_DUMMY_MAIN
18205 # ifdef __cplusplus
18208 int F77_DUMMY_MAIN() { return 1; }
18213 struct utmp utarg; struct utmp *utreturn; utreturn = pututline(&utarg);
18218 rm -f conftest.
$ac_objext
18219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18220 (eval $ac_compile) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } &&
18224 { ac_try
='test -s conftest.$ac_objext'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; }; then
18230 samba_cv_PUTUTLINE_RETURNS_UTMP
=yes
18232 echo "$as_me: failed program was:" >&5
18233 cat conftest.
$ac_ext >&5
18234 samba_cv_PUTUTLINE_RETURNS_UTMP
=no
18236 rm -f conftest.
$ac_objext conftest.
$ac_ext
18238 echo "$as_me:$LINENO: result: $samba_cv_PUTUTLINE_RETURNS_UTMP" >&5
18239 echo "${ECHO_T}$samba_cv_PUTUTLINE_RETURNS_UTMP" >&6
18240 if test x
"$samba_cv_PUTUTLINE_RETURNS_UTMP" = x
"yes"; then
18242 cat >>confdefs.h
<<\_ACEOF
18243 #define PUTUTLINE_RETURNS_UTMP 1
18249 echo "$as_me:$LINENO: checking for ut_syslen in utmpx" >&5
18250 echo $ECHO_N "checking for ut_syslen in utmpx... $ECHO_C" >&6
18251 if test "${samba_cv_HAVE_UX_UT_SYSLEN+set}" = set; then
18252 echo $ECHO_N "(cached) $ECHO_C" >&6
18255 cat >conftest.
$ac_ext <<_ACEOF
18256 #line $LINENO "configure"
18257 #include "confdefs.h"
18258 #include <sys/types.h>
18260 #ifdef F77_DUMMY_MAIN
18261 # ifdef __cplusplus
18264 int F77_DUMMY_MAIN() { return 1; }
18269 struct utmpx ux; ux.ut_syslen = 0;
18274 rm -f conftest.
$ac_objext
18275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18276 (eval $ac_compile) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } &&
18280 { ac_try
='test -s conftest.$ac_objext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18286 samba_cv_HAVE_UX_UT_SYSLEN
=yes
18288 echo "$as_me: failed program was:" >&5
18289 cat conftest.
$ac_ext >&5
18290 samba_cv_HAVE_UX_UT_SYSLEN
=no
18292 rm -f conftest.
$ac_objext conftest.
$ac_ext
18294 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UX_UT_SYSLEN" >&5
18295 echo "${ECHO_T}$samba_cv_HAVE_UX_UT_SYSLEN" >&6
18296 if test x
"$samba_cv_HAVE_UX_UT_SYSLEN" = x
"yes"; then
18298 cat >>confdefs.h
<<\_ACEOF
18299 #define HAVE_UX_UT_SYSLEN 1
18305 #################################################
18306 # check for libiconv support
18307 echo "$as_me:$LINENO: checking whether to use libiconv" >&5
18308 echo $ECHO_N "checking whether to use libiconv... $ECHO_C" >&6
18310 # Check whether --with-libiconv or --without-libiconv was given.
18311 if test "${with_libiconv+set}" = set; then
18312 withval
="$with_libiconv"
18315 echo "$as_me:$LINENO: result: no" >&5
18316 echo "${ECHO_T}no" >&6
18319 echo "$as_me:$LINENO: result: yes" >&5
18320 echo "${ECHO_T}yes" >&6
18321 CFLAGS
="$CFLAGS -I$withval/include"
18322 LDFLAGS
="$LDFLAGS -L$withval/lib"
18324 echo "$as_me:$LINENO: checking for iconv_open in -liconv" >&5
18325 echo $ECHO_N "checking for iconv_open in -liconv... $ECHO_C" >&6
18326 if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then
18327 echo $ECHO_N "(cached) $ECHO_C" >&6
18329 ac_check_lib_save_LIBS
=$LIBS
18330 LIBS
="-liconv $LIBS"
18331 cat >conftest.
$ac_ext <<_ACEOF
18332 #line $LINENO "configure"
18333 #include "confdefs.h"
18335 /* Override any gcc2 internal prototype to avoid an error. */
18339 /* We use char because int might match the return type of a gcc2
18340 builtin and then its argument prototype would still apply. */
18341 char iconv_open ();
18342 #ifdef F77_DUMMY_MAIN
18343 # ifdef __cplusplus
18346 int F77_DUMMY_MAIN() { return 1; }
18356 rm -f conftest.
$ac_objext conftest
$ac_exeext
18357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18358 (eval $ac_link) 2>&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } &&
18362 { ac_try
='test -s conftest$ac_exeext'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; }; then
18368 ac_cv_lib_iconv_iconv_open
=yes
18370 echo "$as_me: failed program was:" >&5
18371 cat conftest.
$ac_ext >&5
18372 ac_cv_lib_iconv_iconv_open
=no
18374 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18375 LIBS
=$ac_check_lib_save_LIBS
18377 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
18378 echo "${ECHO_T}$ac_cv_lib_iconv_iconv_open" >&6
18379 if test $ac_cv_lib_iconv_iconv_open = yes; then
18380 cat >>confdefs.h
<<_ACEOF
18381 #define HAVE_LIBICONV 1
18384 LIBS
="-liconv $LIBS"
18389 cat >>confdefs.h
<<_ACEOF
18390 #define WITH_LIBICONV "${withval}"
18396 echo "$as_me:$LINENO: result: no" >&5
18397 echo "${ECHO_T}no" >&6
18403 # check for iconv in libc
18404 echo "$as_me:$LINENO: checking for working iconv" >&5
18405 echo $ECHO_N "checking for working iconv... $ECHO_C" >&6
18406 if test "${samba_cv_HAVE_NATIVE_ICONV+set}" = set; then
18407 echo $ECHO_N "(cached) $ECHO_C" >&6
18410 if test "$cross_compiling" = yes; then
18411 samba_cv_HAVE_NATIVE_ICONV
=cross
18413 cat >conftest.
$ac_ext <<_ACEOF
18414 #line $LINENO "configure"
18415 #include "confdefs.h"
18419 iconv_t cd = iconv_open("ASCII", "UCS-2LE");
18420 if (cd == 0 || cd == (iconv_t)-1) return -1;
18425 rm -f conftest
$ac_exeext
18426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18427 (eval $ac_link) 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; }; then
18436 samba_cv_HAVE_NATIVE_ICONV
=yes
18438 echo "$as_me: program exited with status $ac_status" >&5
18439 echo "$as_me: failed program was:" >&5
18440 cat conftest.
$ac_ext >&5
18441 ( exit $ac_status )
18442 samba_cv_HAVE_NATIVE_ICONV
=no
18444 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18447 echo "$as_me:$LINENO: result: $samba_cv_HAVE_NATIVE_ICONV" >&5
18448 echo "${ECHO_T}$samba_cv_HAVE_NATIVE_ICONV" >&6
18449 if test x
"$samba_cv_HAVE_NATIVE_ICONV" = x
"yes"; then
18451 cat >>confdefs.h
<<\_ACEOF
18452 #define HAVE_NATIVE_ICONV 1
18458 echo "$as_me:$LINENO: checking for Linux kernel oplocks" >&5
18459 echo $ECHO_N "checking for Linux kernel oplocks... $ECHO_C" >&6
18460 if test "${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX+set}" = set; then
18461 echo $ECHO_N "(cached) $ECHO_C" >&6
18464 if test "$cross_compiling" = yes; then
18465 samba_cv_HAVE_KERNEL_OPLOCKS_LINUX
=cross
18467 cat >conftest.
$ac_ext <<_ACEOF
18468 #line $LINENO "configure"
18469 #include "confdefs.h"
18471 #include <sys/types.h>
18474 #define F_GETLEASE 1025
18477 int fd = open("/dev/null", O_RDONLY);
18478 return fcntl(fd, F_GETLEASE, 0) == -1;
18482 rm -f conftest
$ac_exeext
18483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18484 (eval $ac_link) 2>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18489 (eval $ac_try) 2>&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); }; }; then
18493 samba_cv_HAVE_KERNEL_OPLOCKS_LINUX
=yes
18495 echo "$as_me: program exited with status $ac_status" >&5
18496 echo "$as_me: failed program was:" >&5
18497 cat conftest.
$ac_ext >&5
18498 ( exit $ac_status )
18499 samba_cv_HAVE_KERNEL_OPLOCKS_LINUX
=no
18501 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18504 echo "$as_me:$LINENO: result: $samba_cv_HAVE_KERNEL_OPLOCKS_LINUX" >&5
18505 echo "${ECHO_T}$samba_cv_HAVE_KERNEL_OPLOCKS_LINUX" >&6
18506 if test x
"$samba_cv_HAVE_KERNEL_OPLOCKS_LINUX" = x
"yes"; then
18508 cat >>confdefs.h
<<\_ACEOF
18509 #define HAVE_KERNEL_OPLOCKS_LINUX 1
18514 echo "$as_me:$LINENO: checking for kernel change notify support" >&5
18515 echo $ECHO_N "checking for kernel change notify support... $ECHO_C" >&6
18516 if test "${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY+set}" = set; then
18517 echo $ECHO_N "(cached) $ECHO_C" >&6
18520 if test "$cross_compiling" = yes; then
18521 samba_cv_HAVE_KERNEL_CHANGE_NOTIFY
=cross
18523 cat >conftest.
$ac_ext <<_ACEOF
18524 #line $LINENO "configure"
18525 #include "confdefs.h"
18527 #include <sys/types.h>
18529 #include <signal.h>
18531 #define F_NOTIFY 1026
18534 exit(fcntl(open("/tmp", O_RDONLY), F_NOTIFY, 0) == -1 ? 1 : 0);
18538 rm -f conftest
$ac_exeext
18539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18540 (eval $ac_link) 2>&5
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18545 (eval $ac_try) 2>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; }; then
18549 samba_cv_HAVE_KERNEL_CHANGE_NOTIFY
=yes
18551 echo "$as_me: program exited with status $ac_status" >&5
18552 echo "$as_me: failed program was:" >&5
18553 cat conftest.
$ac_ext >&5
18554 ( exit $ac_status )
18555 samba_cv_HAVE_KERNEL_CHANGE_NOTIFY
=no
18557 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18560 echo "$as_me:$LINENO: result: $samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" >&5
18561 echo "${ECHO_T}$samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" >&6
18562 if test x
"$samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" = x
"yes"; then
18564 cat >>confdefs.h
<<\_ACEOF
18565 #define HAVE_KERNEL_CHANGE_NOTIFY 1
18570 echo "$as_me:$LINENO: checking for kernel share modes" >&5
18571 echo $ECHO_N "checking for kernel share modes... $ECHO_C" >&6
18572 if test "${samba_cv_HAVE_KERNEL_SHARE_MODES+set}" = set; then
18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 if test "$cross_compiling" = yes; then
18577 samba_cv_HAVE_KERNEL_SHARE_MODES
=cross
18579 cat >conftest.
$ac_ext <<_ACEOF
18580 #line $LINENO "configure"
18581 #include "confdefs.h"
18583 #include <sys/types.h>
18585 #include <signal.h>
18586 #include <sys/file.h>
18588 #define LOCK_MAND 32
18589 #define LOCK_READ 64
18592 exit(flock(open("/dev/null", O_RDWR), LOCK_MAND|LOCK_READ) != 0);
18596 rm -f conftest
$ac_exeext
18597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18598 (eval $ac_link) 2>&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18603 (eval $ac_try) 2>&5
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); }; }; then
18607 samba_cv_HAVE_KERNEL_SHARE_MODES
=yes
18609 echo "$as_me: program exited with status $ac_status" >&5
18610 echo "$as_me: failed program was:" >&5
18611 cat conftest.
$ac_ext >&5
18612 ( exit $ac_status )
18613 samba_cv_HAVE_KERNEL_SHARE_MODES
=no
18615 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18618 echo "$as_me:$LINENO: result: $samba_cv_HAVE_KERNEL_SHARE_MODES" >&5
18619 echo "${ECHO_T}$samba_cv_HAVE_KERNEL_SHARE_MODES" >&6
18620 if test x
"$samba_cv_HAVE_KERNEL_SHARE_MODES" = x
"yes"; then
18622 cat >>confdefs.h
<<\_ACEOF
18623 #define HAVE_KERNEL_SHARE_MODES 1
18631 echo "$as_me:$LINENO: checking for IRIX kernel oplock type definitions" >&5
18632 echo $ECHO_N "checking for IRIX kernel oplock type definitions... $ECHO_C" >&6
18633 if test "${samba_cv_HAVE_KERNEL_OPLOCKS_IRIX+set}" = set; then
18634 echo $ECHO_N "(cached) $ECHO_C" >&6
18637 cat >conftest.
$ac_ext <<_ACEOF
18638 #line $LINENO "configure"
18639 #include "confdefs.h"
18640 #include <sys/types.h>
18642 #ifdef F77_DUMMY_MAIN
18643 # ifdef __cplusplus
18646 int F77_DUMMY_MAIN() { return 1; }
18651 oplock_stat_t t; t.os_state = OP_REVOKE; t.os_dev = 1; t.os_ino = 1;
18656 rm -f conftest.
$ac_objext
18657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18658 (eval $ac_compile) 2>&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } &&
18662 { ac_try
='test -s conftest.$ac_objext'
18663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18664 (eval $ac_try) 2>&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); }; }; then
18668 samba_cv_HAVE_KERNEL_OPLOCKS_IRIX
=yes
18670 echo "$as_me: failed program was:" >&5
18671 cat conftest.
$ac_ext >&5
18672 samba_cv_HAVE_KERNEL_OPLOCKS_IRIX
=no
18674 rm -f conftest.
$ac_objext conftest.
$ac_ext
18676 echo "$as_me:$LINENO: result: $samba_cv_HAVE_KERNEL_OPLOCKS_IRIX" >&5
18677 echo "${ECHO_T}$samba_cv_HAVE_KERNEL_OPLOCKS_IRIX" >&6
18678 if test x
"$samba_cv_HAVE_KERNEL_OPLOCKS_IRIX" = x
"yes"; then
18680 cat >>confdefs.h
<<\_ACEOF
18681 #define HAVE_KERNEL_OPLOCKS_IRIX 1
18686 echo "$as_me:$LINENO: checking for irix specific capabilities" >&5
18687 echo $ECHO_N "checking for irix specific capabilities... $ECHO_C" >&6
18688 if test "${samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES+set}" = set; then
18689 echo $ECHO_N "(cached) $ECHO_C" >&6
18692 if test "$cross_compiling" = yes; then
18693 samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES
=cross
18695 cat >conftest.
$ac_ext <<_ACEOF
18696 #line $LINENO "configure"
18697 #include "confdefs.h"
18698 #include <sys/types.h>
18699 #include <sys/capability.h>
18702 if ((cap = cap_get_proc()) == NULL)
18704 cap->cap_effective |= CAP_NETWORK_MGT;
18705 cap->cap_inheritable |= CAP_NETWORK_MGT;
18711 rm -f conftest
$ac_exeext
18712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18713 (eval $ac_link) 2>&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18718 (eval $ac_try) 2>&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); }; }; then
18722 samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES
=yes
18724 echo "$as_me: program exited with status $ac_status" >&5
18725 echo "$as_me: failed program was:" >&5
18726 cat conftest.
$ac_ext >&5
18727 ( exit $ac_status )
18728 samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES
=no
18730 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18733 echo "$as_me:$LINENO: result: $samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES" >&5
18734 echo "${ECHO_T}$samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES" >&6
18735 if test x
"$samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES" = x
"yes"; then
18737 cat >>confdefs.h
<<\_ACEOF
18738 #define HAVE_IRIX_SPECIFIC_CAPABILITIES 1
18744 # Check for int16, uint16, int32 and uint32 in rpc/types.h included from rpc/rpc.h
18745 # This is *really* broken but some systems (DEC OSF1) do this.... JRA.
18748 echo "$as_me:$LINENO: checking for int16 typedef included by rpc/rpc.h" >&5
18749 echo $ECHO_N "checking for int16 typedef included by rpc/rpc.h... $ECHO_C" >&6
18750 if test "${samba_cv_HAVE_INT16_FROM_RPC_RPC_H+set}" = set; then
18751 echo $ECHO_N "(cached) $ECHO_C" >&6
18754 cat >conftest.
$ac_ext <<_ACEOF
18755 #line $LINENO "configure"
18756 #include "confdefs.h"
18757 #include <sys/types.h>
18758 #if defined(HAVE_RPC_RPC_H)
18759 #include <rpc/rpc.h>
18761 #ifdef F77_DUMMY_MAIN
18762 # ifdef __cplusplus
18765 int F77_DUMMY_MAIN() { return 1; }
18775 rm -f conftest.
$ac_objext
18776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18777 (eval $ac_compile) 2>&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); } &&
18781 { ac_try
='test -s conftest.$ac_objext'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 samba_cv_HAVE_INT16_FROM_RPC_RPC_H
=yes
18789 echo "$as_me: failed program was:" >&5
18790 cat conftest.
$ac_ext >&5
18791 samba_cv_HAVE_INT16_FROM_RPC_RPC_H
=no
18793 rm -f conftest.
$ac_objext conftest.
$ac_ext
18795 echo "$as_me:$LINENO: result: $samba_cv_HAVE_INT16_FROM_RPC_RPC_H" >&5
18796 echo "${ECHO_T}$samba_cv_HAVE_INT16_FROM_RPC_RPC_H" >&6
18797 if test x
"$samba_cv_HAVE_INT16_FROM_RPC_RPC_H" = x
"yes"; then
18799 cat >>confdefs.h
<<\_ACEOF
18800 #define HAVE_INT16_FROM_RPC_RPC_H 1
18805 echo "$as_me:$LINENO: checking for uint16 typedef included by rpc/rpc.h" >&5
18806 echo $ECHO_N "checking for uint16 typedef included by rpc/rpc.h... $ECHO_C" >&6
18807 if test "${samba_cv_HAVE_UINT16_FROM_RPC_RPC_H+set}" = set; then
18808 echo $ECHO_N "(cached) $ECHO_C" >&6
18811 cat >conftest.
$ac_ext <<_ACEOF
18812 #line $LINENO "configure"
18813 #include "confdefs.h"
18814 #include <sys/types.h>
18815 #if defined(HAVE_RPC_RPC_H)
18816 #include <rpc/rpc.h>
18818 #ifdef F77_DUMMY_MAIN
18819 # ifdef __cplusplus
18822 int F77_DUMMY_MAIN() { return 1; }
18832 rm -f conftest.
$ac_objext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18834 (eval $ac_compile) 2>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); } &&
18838 { ac_try
='test -s conftest.$ac_objext'
18839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18840 (eval $ac_try) 2>&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); }; }; then
18844 samba_cv_HAVE_UINT16_FROM_RPC_RPC_H
=yes
18846 echo "$as_me: failed program was:" >&5
18847 cat conftest.
$ac_ext >&5
18848 samba_cv_HAVE_UINT16_FROM_RPC_RPC_H
=no
18850 rm -f conftest.
$ac_objext conftest.
$ac_ext
18852 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UINT16_FROM_RPC_RPC_H" >&5
18853 echo "${ECHO_T}$samba_cv_HAVE_UINT16_FROM_RPC_RPC_H" >&6
18854 if test x
"$samba_cv_HAVE_UINT16_FROM_RPC_RPC_H" = x
"yes"; then
18856 cat >>confdefs.h
<<\_ACEOF
18857 #define HAVE_UINT16_FROM_RPC_RPC_H 1
18862 echo "$as_me:$LINENO: checking for int32 typedef included by rpc/rpc.h" >&5
18863 echo $ECHO_N "checking for int32 typedef included by rpc/rpc.h... $ECHO_C" >&6
18864 if test "${samba_cv_HAVE_INT32_FROM_RPC_RPC_H+set}" = set; then
18865 echo $ECHO_N "(cached) $ECHO_C" >&6
18868 cat >conftest.
$ac_ext <<_ACEOF
18869 #line $LINENO "configure"
18870 #include "confdefs.h"
18871 #include <sys/types.h>
18872 #if defined(HAVE_RPC_RPC_H)
18873 #include <rpc/rpc.h>
18875 #ifdef F77_DUMMY_MAIN
18876 # ifdef __cplusplus
18879 int F77_DUMMY_MAIN() { return 1; }
18889 rm -f conftest.
$ac_objext
18890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18891 (eval $ac_compile) 2>&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } &&
18895 { ac_try
='test -s conftest.$ac_objext'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; }; then
18901 samba_cv_HAVE_INT32_FROM_RPC_RPC_H
=yes
18903 echo "$as_me: failed program was:" >&5
18904 cat conftest.
$ac_ext >&5
18905 samba_cv_HAVE_INT32_FROM_RPC_RPC_H
=no
18907 rm -f conftest.
$ac_objext conftest.
$ac_ext
18909 echo "$as_me:$LINENO: result: $samba_cv_HAVE_INT32_FROM_RPC_RPC_H" >&5
18910 echo "${ECHO_T}$samba_cv_HAVE_INT32_FROM_RPC_RPC_H" >&6
18911 if test x
"$samba_cv_HAVE_INT32_FROM_RPC_RPC_H" = x
"yes"; then
18913 cat >>confdefs.h
<<\_ACEOF
18914 #define HAVE_INT32_FROM_RPC_RPC_H 1
18919 echo "$as_me:$LINENO: checking for uint32 typedef included by rpc/rpc.h" >&5
18920 echo $ECHO_N "checking for uint32 typedef included by rpc/rpc.h... $ECHO_C" >&6
18921 if test "${samba_cv_HAVE_UINT32_FROM_RPC_RPC_H+set}" = set; then
18922 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 cat >conftest.
$ac_ext <<_ACEOF
18926 #line $LINENO "configure"
18927 #include "confdefs.h"
18928 #include <sys/types.h>
18929 #if defined(HAVE_RPC_RPC_H)
18930 #include <rpc/rpc.h>
18932 #ifdef F77_DUMMY_MAIN
18933 # ifdef __cplusplus
18936 int F77_DUMMY_MAIN() { return 1; }
18946 rm -f conftest.
$ac_objext
18947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18948 (eval $ac_compile) 2>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); } &&
18952 { ac_try
='test -s conftest.$ac_objext'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; }; then
18958 samba_cv_HAVE_UINT32_FROM_RPC_RPC_H
=yes
18960 echo "$as_me: failed program was:" >&5
18961 cat conftest.
$ac_ext >&5
18962 samba_cv_HAVE_UINT32_FROM_RPC_RPC_H
=no
18964 rm -f conftest.
$ac_objext conftest.
$ac_ext
18966 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UINT32_FROM_RPC_RPC_H" >&5
18967 echo "${ECHO_T}$samba_cv_HAVE_UINT32_FROM_RPC_RPC_H" >&6
18968 if test x
"$samba_cv_HAVE_UINT32_FROM_RPC_RPC_H" = x
"yes"; then
18970 cat >>confdefs.h
<<\_ACEOF
18971 #define HAVE_UINT32_FROM_RPC_RPC_H 1
18977 echo "$as_me:$LINENO: checking for conflicting AUTH_ERROR define in rpc/rpc.h" >&5
18978 echo $ECHO_N "checking for conflicting AUTH_ERROR define in rpc/rpc.h... $ECHO_C" >&6
18979 if test "${samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18983 cat >conftest.
$ac_ext <<_ACEOF
18984 #line $LINENO "configure"
18985 #include "confdefs.h"
18986 #include <sys/types.h>
18987 #ifdef HAVE_SYS_SECURITY_H
18988 #include <sys/security.h>
18990 #endif /* HAVE_SYS_SECURITY_H */
18991 #if defined(HAVE_RPC_RPC_H)
18992 #include <rpc/rpc.h>
18994 #ifdef F77_DUMMY_MAIN
18995 # ifdef __cplusplus
18998 int F77_DUMMY_MAIN() { return 1; }
19008 rm -f conftest.
$ac_objext
19009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19010 (eval $ac_compile) 2>&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); } &&
19014 { ac_try
='test -s conftest.$ac_objext'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; }; then
19020 samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT
=no
19022 echo "$as_me: failed program was:" >&5
19023 cat conftest.
$ac_ext >&5
19024 samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT
=yes
19026 rm -f conftest.
$ac_objext conftest.
$ac_ext
19028 echo "$as_me:$LINENO: result: $samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT" >&5
19029 echo "${ECHO_T}$samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT" >&6
19030 if test x
"$samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT" = x
"yes"; then
19032 cat >>confdefs.h
<<\_ACEOF
19033 #define HAVE_RPC_AUTH_ERROR_CONFLICT 1
19038 echo "$as_me:$LINENO: checking for test routines" >&5
19039 echo $ECHO_N "checking for test routines... $ECHO_C" >&6
19040 if test "$cross_compiling" = yes; then
19041 { echo "$as_me:$LINENO: WARNING: cannot run when cross-compiling" >&5
19042 echo "$as_me: WARNING: cannot run when cross-compiling" >&2;}
19044 cat >conftest.
$ac_ext <<_ACEOF
19045 #line $LINENO "configure"
19046 #include "confdefs.h"
19047 #include "${srcdir-.}/tests/trivial.c"
19049 rm -f conftest
$ac_exeext
19050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19051 (eval $ac_link) 2>&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19056 (eval $ac_try) 2>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }; }; then
19060 echo "$as_me:$LINENO: result: yes" >&5
19061 echo "${ECHO_T}yes" >&6
19063 echo "$as_me: program exited with status $ac_status" >&5
19064 echo "$as_me: failed program was:" >&5
19065 cat conftest.
$ac_ext >&5
19066 ( exit $ac_status )
19067 { { echo "$as_me:$LINENO: error: cant find test code. Aborting config" >&5
19068 echo "$as_me: error: cant find test code. Aborting config" >&2;}
19069 { (exit 1); exit 1; }; }
19071 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19074 echo "$as_me:$LINENO: checking for ftruncate extend" >&5
19075 echo $ECHO_N "checking for ftruncate extend... $ECHO_C" >&6
19076 if test "${samba_cv_HAVE_FTRUNCATE_EXTEND+set}" = set; then
19077 echo $ECHO_N "(cached) $ECHO_C" >&6
19080 if test "$cross_compiling" = yes; then
19081 samba_cv_HAVE_FTRUNCATE_EXTEND
=cross
19083 cat >conftest.
$ac_ext <<_ACEOF
19084 #line $LINENO "configure"
19085 #include "confdefs.h"
19086 #include "${srcdir-.}/tests/ftruncate.c"
19088 rm -f conftest
$ac_exeext
19089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19090 (eval $ac_link) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19095 (eval $ac_try) 2>&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); }; }; then
19099 samba_cv_HAVE_FTRUNCATE_EXTEND
=yes
19101 echo "$as_me: program exited with status $ac_status" >&5
19102 echo "$as_me: failed program was:" >&5
19103 cat conftest.
$ac_ext >&5
19104 ( exit $ac_status )
19105 samba_cv_HAVE_FTRUNCATE_EXTEND
=no
19107 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19110 echo "$as_me:$LINENO: result: $samba_cv_HAVE_FTRUNCATE_EXTEND" >&5
19111 echo "${ECHO_T}$samba_cv_HAVE_FTRUNCATE_EXTEND" >&6
19112 if test x
"$samba_cv_HAVE_FTRUNCATE_EXTEND" = x
"yes"; then
19114 cat >>confdefs.h
<<\_ACEOF
19115 #define HAVE_FTRUNCATE_EXTEND 1
19120 echo "$as_me:$LINENO: checking for AF_LOCAL socket support" >&5
19121 echo $ECHO_N "checking for AF_LOCAL socket support... $ECHO_C" >&6
19122 if test "${samba_cv_HAVE_WORKING_AF_LOCAL+set}" = set; then
19123 echo $ECHO_N "(cached) $ECHO_C" >&6
19126 if test "$cross_compiling" = yes; then
19127 samba_cv_HAVE_WORKING_AF_LOCAL
=cross
19129 cat >conftest.
$ac_ext <<_ACEOF
19130 #line $LINENO "configure"
19131 #include "confdefs.h"
19132 #include "${srcdir-.}/tests/unixsock.c"
19134 rm -f conftest
$ac_exeext
19135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19136 (eval $ac_link) 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141 (eval $ac_try) 2>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); }; }; then
19145 samba_cv_HAVE_WORKING_AF_LOCAL
=yes
19147 echo "$as_me: program exited with status $ac_status" >&5
19148 echo "$as_me: failed program was:" >&5
19149 cat conftest.
$ac_ext >&5
19150 ( exit $ac_status )
19151 samba_cv_HAVE_WORKING_AF_LOCAL
=no
19153 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19156 echo "$as_me:$LINENO: result: $samba_cv_HAVE_WORKING_AF_LOCAL" >&5
19157 echo "${ECHO_T}$samba_cv_HAVE_WORKING_AF_LOCAL" >&6
19158 if test x
"$samba_cv_HAVE_WORKING_AF_LOCAL" != xno
19161 cat >>confdefs.h
<<\_ACEOF
19162 #define HAVE_WORKING_AF_LOCAL 1
19167 echo "$as_me:$LINENO: checking for broken getgroups" >&5
19168 echo $ECHO_N "checking for broken getgroups... $ECHO_C" >&6
19169 if test "${samba_cv_HAVE_BROKEN_GETGROUPS+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19173 if test "$cross_compiling" = yes; then
19174 samba_cv_HAVE_BROKEN_GETGROUPS
=cross
19176 cat >conftest.
$ac_ext <<_ACEOF
19177 #line $LINENO "configure"
19178 #include "confdefs.h"
19179 #include "${srcdir-.}/tests/getgroups.c"
19181 rm -f conftest
$ac_exeext
19182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19183 (eval $ac_link) 2>&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19188 (eval $ac_try) 2>&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); }; }; then
19192 samba_cv_HAVE_BROKEN_GETGROUPS
=yes
19194 echo "$as_me: program exited with status $ac_status" >&5
19195 echo "$as_me: failed program was:" >&5
19196 cat conftest.
$ac_ext >&5
19197 ( exit $ac_status )
19198 samba_cv_HAVE_BROKEN_GETGROUPS
=no
19200 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19203 echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_GETGROUPS" >&5
19204 echo "${ECHO_T}$samba_cv_HAVE_BROKEN_GETGROUPS" >&6
19205 if test x
"$samba_cv_HAVE_BROKEN_GETGROUPS" = x
"yes"; then
19207 cat >>confdefs.h
<<\_ACEOF
19208 #define HAVE_BROKEN_GETGROUPS 1
19213 echo "$as_me:$LINENO: checking whether getpass should be replaced" >&5
19214 echo $ECHO_N "checking whether getpass should be replaced... $ECHO_C" >&6
19215 if test "${samba_cv_REPLACE_GETPASS+set}" = set; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19219 SAVE_CPPFLAGS
="$CPPFLAGS"
19220 CPPFLAGS
="$CPPFLAGS -I${srcdir-.}/ -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/popt -I${srcdir-.}/smbwrapper"
19221 cat >conftest.
$ac_ext <<_ACEOF
19222 #line $LINENO "configure"
19223 #include "confdefs.h"
19225 #define REPLACE_GETPASS 1
19226 #define NO_CONFIG_H 1
19227 #define main dont_declare_main
19228 #include "${srcdir-.}/lib/getsmbpass.c"
19231 #ifdef F77_DUMMY_MAIN
19232 # ifdef __cplusplus
19235 int F77_DUMMY_MAIN() { return 1; }
19245 rm -f conftest.
$ac_objext
19246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19247 (eval $ac_compile) 2>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } &&
19251 { ac_try
='test -s conftest.$ac_objext'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; }; then
19257 samba_cv_REPLACE_GETPASS
=yes
19259 echo "$as_me: failed program was:" >&5
19260 cat conftest.
$ac_ext >&5
19261 samba_cv_REPLACE_GETPASS
=no
19263 rm -f conftest.
$ac_objext conftest.
$ac_ext
19264 CPPFLAGS
="$SAVE_CPPFLAGS"
19267 echo "$as_me:$LINENO: result: $samba_cv_REPLACE_GETPASS" >&5
19268 echo "${ECHO_T}$samba_cv_REPLACE_GETPASS" >&6
19269 if test x
"$samba_cv_REPLACE_GETPASS" = x
"yes"; then
19271 cat >>confdefs.h
<<\_ACEOF
19272 #define REPLACE_GETPASS 1
19277 echo "$as_me:$LINENO: checking for broken inet_ntoa" >&5
19278 echo $ECHO_N "checking for broken inet_ntoa... $ECHO_C" >&6
19279 if test "${samba_cv_REPLACE_INET_NTOA+set}" = set; then
19280 echo $ECHO_N "(cached) $ECHO_C" >&6
19283 if test "$cross_compiling" = yes; then
19284 samba_cv_REPLACE_INET_NTOA
=cross
19286 cat >conftest.
$ac_ext <<_ACEOF
19287 #line $LINENO "configure"
19288 #include "confdefs.h"
19291 #include <sys/types.h>
19292 #include <netinet/in.h>
19293 #ifdef HAVE_ARPA_INET_H
19294 #include <arpa/inet.h>
19296 main() { struct in_addr ip; ip.s_addr = 0x12345678;
19297 if (strcmp(inet_ntoa(ip),"18.52.86.120") &&
19298 strcmp(inet_ntoa(ip),"120.86.52.18")) { exit(0); }
19301 rm -f conftest
$ac_exeext
19302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19303 (eval $ac_link) 2>&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 samba_cv_REPLACE_INET_NTOA
=yes
19314 echo "$as_me: program exited with status $ac_status" >&5
19315 echo "$as_me: failed program was:" >&5
19316 cat conftest.
$ac_ext >&5
19317 ( exit $ac_status )
19318 samba_cv_REPLACE_INET_NTOA
=no
19320 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19323 echo "$as_me:$LINENO: result: $samba_cv_REPLACE_INET_NTOA" >&5
19324 echo "${ECHO_T}$samba_cv_REPLACE_INET_NTOA" >&6
19325 if test x
"$samba_cv_REPLACE_INET_NTOA" = x
"yes"; then
19327 cat >>confdefs.h
<<\_ACEOF
19328 #define REPLACE_INET_NTOA 1
19333 echo "$as_me:$LINENO: checking for secure mkstemp" >&5
19334 echo $ECHO_N "checking for secure mkstemp... $ECHO_C" >&6
19335 if test "${samba_cv_HAVE_SECURE_MKSTEMP+set}" = set; then
19336 echo $ECHO_N "(cached) $ECHO_C" >&6
19339 if test "$cross_compiling" = yes; then
19340 samba_cv_HAVE_SECURE_MKSTEMP
=cross
19342 cat >conftest.
$ac_ext <<_ACEOF
19343 #line $LINENO "configure"
19344 #include "confdefs.h"
19345 #include <stdlib.h>
19346 #include <sys/types.h>
19347 #include <sys/stat.h>
19348 #include <unistd.h>
19351 char tpl[20]="/tmp/test.XXXXXX";
19352 int fd = mkstemp(tpl);
19353 if (fd == -1) exit(1);
19355 if (fstat(fd, &st) != 0) exit(1);
19356 if ((st.st_mode & 0777) != 0600) exit(1);
19360 rm -f conftest
$ac_exeext
19361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19362 (eval $ac_link) 2>&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; }; then
19371 samba_cv_HAVE_SECURE_MKSTEMP
=yes
19373 echo "$as_me: program exited with status $ac_status" >&5
19374 echo "$as_me: failed program was:" >&5
19375 cat conftest.
$ac_ext >&5
19376 ( exit $ac_status )
19377 samba_cv_HAVE_SECURE_MKSTEMP
=no
19379 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19382 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SECURE_MKSTEMP" >&5
19383 echo "${ECHO_T}$samba_cv_HAVE_SECURE_MKSTEMP" >&6
19384 if test x
"$samba_cv_HAVE_SECURE_MKSTEMP" = x
"yes"; then
19386 cat >>confdefs.h
<<\_ACEOF
19387 #define HAVE_SECURE_MKSTEMP 1
19392 echo "$as_me:$LINENO: checking for sysconf(_SC_NGROUPS_MAX)" >&5
19393 echo $ECHO_N "checking for sysconf(_SC_NGROUPS_MAX)... $ECHO_C" >&6
19394 if test "${samba_cv_SYSCONF_SC_NGROUPS_MAX+set}" = set; then
19395 echo $ECHO_N "(cached) $ECHO_C" >&6
19398 if test "$cross_compiling" = yes; then
19399 samba_cv_SYSCONF_SC_NGROUPS_MAX
=cross
19401 cat >conftest.
$ac_ext <<_ACEOF
19402 #line $LINENO "configure"
19403 #include "confdefs.h"
19404 #include <unistd.h>
19405 main() { exit(sysconf(_SC_NGROUPS_MAX) == -1 ? 1 : 0); }
19407 rm -f conftest
$ac_exeext
19408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19409 (eval $ac_link) 2>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19414 (eval $ac_try) 2>&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); }; }; then
19418 samba_cv_SYSCONF_SC_NGROUPS_MAX
=yes
19420 echo "$as_me: program exited with status $ac_status" >&5
19421 echo "$as_me: failed program was:" >&5
19422 cat conftest.
$ac_ext >&5
19423 ( exit $ac_status )
19424 samba_cv_SYSCONF_SC_NGROUPS_MAX
=no
19426 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19429 echo "$as_me:$LINENO: result: $samba_cv_SYSCONF_SC_NGROUPS_MAX" >&5
19430 echo "${ECHO_T}$samba_cv_SYSCONF_SC_NGROUPS_MAX" >&6
19431 if test x
"$samba_cv_SYSCONF_SC_NGROUPS_MAX" = x
"yes"; then
19433 cat >>confdefs.h
<<\_ACEOF
19434 #define SYSCONF_SC_NGROUPS_MAX 1
19439 echo "$as_me:$LINENO: checking for root" >&5
19440 echo $ECHO_N "checking for root... $ECHO_C" >&6
19441 if test "${samba_cv_HAVE_ROOT+set}" = set; then
19442 echo $ECHO_N "(cached) $ECHO_C" >&6
19445 if test "$cross_compiling" = yes; then
19446 samba_cv_HAVE_ROOT
=cross
19448 cat >conftest.
$ac_ext <<_ACEOF
19449 #line $LINENO "configure"
19450 #include "confdefs.h"
19451 main() { exit(getuid() != 0); }
19453 rm -f conftest
$ac_exeext
19454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19455 (eval $ac_link) 2>&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460 (eval $ac_try) 2>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); }; }; then
19464 samba_cv_HAVE_ROOT
=yes
19466 echo "$as_me: program exited with status $ac_status" >&5
19467 echo "$as_me: failed program was:" >&5
19468 cat conftest.
$ac_ext >&5
19469 ( exit $ac_status )
19470 samba_cv_HAVE_ROOT
=no
19472 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19475 echo "$as_me:$LINENO: result: $samba_cv_HAVE_ROOT" >&5
19476 echo "${ECHO_T}$samba_cv_HAVE_ROOT" >&6
19477 if test x
"$samba_cv_HAVE_ROOT" = x
"yes"; then
19479 cat >>confdefs.h
<<\_ACEOF
19480 #define HAVE_ROOT 1
19484 { echo "$as_me:$LINENO: WARNING: running as non-root will disable some tests" >&5
19485 echo "$as_me: WARNING: running as non-root will disable some tests" >&2;}
19489 # look for a method of finding the list of network interfaces
19491 echo "$as_me:$LINENO: checking for iface AIX" >&5
19492 echo $ECHO_N "checking for iface AIX... $ECHO_C" >&6
19493 if test "${samba_cv_HAVE_IFACE_AIX+set}" = set; then
19494 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 if test "$cross_compiling" = yes; then
19498 samba_cv_HAVE_IFACE_AIX
=cross
19500 cat >conftest.
$ac_ext <<_ACEOF
19501 #line $LINENO "configure"
19502 #include "confdefs.h"
19504 #define HAVE_IFACE_AIX 1
19505 #define AUTOCONF_TEST 1
19506 #include "confdefs.h"
19507 #include "${srcdir-.}/lib/interfaces.c"
19509 rm -f conftest
$ac_exeext
19510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19511 (eval $ac_link) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; }; then
19520 samba_cv_HAVE_IFACE_AIX
=yes
19522 echo "$as_me: program exited with status $ac_status" >&5
19523 echo "$as_me: failed program was:" >&5
19524 cat conftest.
$ac_ext >&5
19525 ( exit $ac_status )
19526 samba_cv_HAVE_IFACE_AIX
=no
19528 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19531 echo "$as_me:$LINENO: result: $samba_cv_HAVE_IFACE_AIX" >&5
19532 echo "${ECHO_T}$samba_cv_HAVE_IFACE_AIX" >&6
19533 if test x
"$samba_cv_HAVE_IFACE_AIX" = x
"yes"; then
19535 cat >>confdefs.h
<<\_ACEOF
19536 #define HAVE_IFACE_AIX 1
19541 if test $iface = no
; then
19542 echo "$as_me:$LINENO: checking for iface ifconf" >&5
19543 echo $ECHO_N "checking for iface ifconf... $ECHO_C" >&6
19544 if test "${samba_cv_HAVE_IFACE_IFCONF+set}" = set; then
19545 echo $ECHO_N "(cached) $ECHO_C" >&6
19548 if test "$cross_compiling" = yes; then
19549 samba_cv_HAVE_IFACE_IFCONF
=cross
19551 cat >conftest.
$ac_ext <<_ACEOF
19552 #line $LINENO "configure"
19553 #include "confdefs.h"
19555 #define HAVE_IFACE_IFCONF 1
19556 #define AUTOCONF_TEST 1
19557 #include "confdefs.h"
19558 #include "${srcdir-.}/lib/interfaces.c"
19560 rm -f conftest
$ac_exeext
19561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19562 (eval $ac_link) 2>&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567 (eval $ac_try) 2>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); }; }; then
19571 samba_cv_HAVE_IFACE_IFCONF
=yes
19573 echo "$as_me: program exited with status $ac_status" >&5
19574 echo "$as_me: failed program was:" >&5
19575 cat conftest.
$ac_ext >&5
19576 ( exit $ac_status )
19577 samba_cv_HAVE_IFACE_IFCONF
=no
19579 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19582 echo "$as_me:$LINENO: result: $samba_cv_HAVE_IFACE_IFCONF" >&5
19583 echo "${ECHO_T}$samba_cv_HAVE_IFACE_IFCONF" >&6
19584 if test x
"$samba_cv_HAVE_IFACE_IFCONF" = x
"yes"; then
19586 cat >>confdefs.h
<<\_ACEOF
19587 #define HAVE_IFACE_IFCONF 1
19593 if test $iface = no
; then
19594 echo "$as_me:$LINENO: checking for iface ifreq" >&5
19595 echo $ECHO_N "checking for iface ifreq... $ECHO_C" >&6
19596 if test "${samba_cv_HAVE_IFACE_IFREQ+set}" = set; then
19597 echo $ECHO_N "(cached) $ECHO_C" >&6
19600 if test "$cross_compiling" = yes; then
19601 samba_cv_HAVE_IFACE_IFREQ
=cross
19603 cat >conftest.
$ac_ext <<_ACEOF
19604 #line $LINENO "configure"
19605 #include "confdefs.h"
19607 #define HAVE_IFACE_IFREQ 1
19608 #define AUTOCONF_TEST 1
19609 #include "confdefs.h"
19610 #include "${srcdir-.}/lib/interfaces.c"
19612 rm -f conftest
$ac_exeext
19613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19614 (eval $ac_link) 2>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19619 (eval $ac_try) 2>&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); }; }; then
19623 samba_cv_HAVE_IFACE_IFREQ
=yes
19625 echo "$as_me: program exited with status $ac_status" >&5
19626 echo "$as_me: failed program was:" >&5
19627 cat conftest.
$ac_ext >&5
19628 ( exit $ac_status )
19629 samba_cv_HAVE_IFACE_IFREQ
=no
19631 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19634 echo "$as_me:$LINENO: result: $samba_cv_HAVE_IFACE_IFREQ" >&5
19635 echo "${ECHO_T}$samba_cv_HAVE_IFACE_IFREQ" >&6
19636 if test x
"$samba_cv_HAVE_IFACE_IFREQ" = x
"yes"; then
19638 cat >>confdefs.h
<<\_ACEOF
19639 #define HAVE_IFACE_IFREQ 1
19646 ################################################
19647 # look for a method of setting the effective uid
19649 if test $seteuid = no
; then
19650 echo "$as_me:$LINENO: checking for setresuid" >&5
19651 echo $ECHO_N "checking for setresuid... $ECHO_C" >&6
19652 if test "${samba_cv_USE_SETRESUID+set}" = set; then
19653 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 if test "$cross_compiling" = yes; then
19657 samba_cv_USE_SETRESUID
=cross
19659 cat >conftest.
$ac_ext <<_ACEOF
19660 #line $LINENO "configure"
19661 #include "confdefs.h"
19663 #define AUTOCONF_TEST 1
19664 #define USE_SETRESUID 1
19665 #include "confdefs.h"
19666 #include "${srcdir-.}/lib/util_sec.c"
19668 rm -f conftest
$ac_exeext
19669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19670 (eval $ac_link) 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 (eval $ac_try) 2>&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; }; then
19679 samba_cv_USE_SETRESUID
=yes
19681 echo "$as_me: program exited with status $ac_status" >&5
19682 echo "$as_me: failed program was:" >&5
19683 cat conftest.
$ac_ext >&5
19684 ( exit $ac_status )
19685 samba_cv_USE_SETRESUID
=no
19687 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19690 echo "$as_me:$LINENO: result: $samba_cv_USE_SETRESUID" >&5
19691 echo "${ECHO_T}$samba_cv_USE_SETRESUID" >&6
19692 if test x
"$samba_cv_USE_SETRESUID" = x
"yes"; then
19694 cat >>confdefs.h
<<\_ACEOF
19695 #define USE_SETRESUID 1
19702 if test $seteuid = no
; then
19703 echo "$as_me:$LINENO: checking for setreuid" >&5
19704 echo $ECHO_N "checking for setreuid... $ECHO_C" >&6
19705 if test "${samba_cv_USE_SETREUID+set}" = set; then
19706 echo $ECHO_N "(cached) $ECHO_C" >&6
19709 if test "$cross_compiling" = yes; then
19710 samba_cv_USE_SETREUID
=cross
19712 cat >conftest.
$ac_ext <<_ACEOF
19713 #line $LINENO "configure"
19714 #include "confdefs.h"
19716 #define AUTOCONF_TEST 1
19717 #define USE_SETREUID 1
19718 #include "confdefs.h"
19719 #include "${srcdir-.}/lib/util_sec.c"
19721 rm -f conftest
$ac_exeext
19722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19723 (eval $ac_link) 2>&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19728 (eval $ac_try) 2>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); }; }; then
19732 samba_cv_USE_SETREUID
=yes
19734 echo "$as_me: program exited with status $ac_status" >&5
19735 echo "$as_me: failed program was:" >&5
19736 cat conftest.
$ac_ext >&5
19737 ( exit $ac_status )
19738 samba_cv_USE_SETREUID
=no
19740 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19743 echo "$as_me:$LINENO: result: $samba_cv_USE_SETREUID" >&5
19744 echo "${ECHO_T}$samba_cv_USE_SETREUID" >&6
19745 if test x
"$samba_cv_USE_SETREUID" = x
"yes"; then
19747 cat >>confdefs.h
<<\_ACEOF
19748 #define USE_SETREUID 1
19754 if test $seteuid = no
; then
19755 echo "$as_me:$LINENO: checking for seteuid" >&5
19756 echo $ECHO_N "checking for seteuid... $ECHO_C" >&6
19757 if test "${samba_cv_USE_SETEUID+set}" = set; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19761 if test "$cross_compiling" = yes; then
19762 samba_cv_USE_SETEUID
=cross
19764 cat >conftest.
$ac_ext <<_ACEOF
19765 #line $LINENO "configure"
19766 #include "confdefs.h"
19768 #define AUTOCONF_TEST 1
19769 #define USE_SETEUID 1
19770 #include "confdefs.h"
19771 #include "${srcdir-.}/lib/util_sec.c"
19773 rm -f conftest
$ac_exeext
19774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19775 (eval $ac_link) 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; }; then
19784 samba_cv_USE_SETEUID
=yes
19786 echo "$as_me: program exited with status $ac_status" >&5
19787 echo "$as_me: failed program was:" >&5
19788 cat conftest.
$ac_ext >&5
19789 ( exit $ac_status )
19790 samba_cv_USE_SETEUID
=no
19792 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19795 echo "$as_me:$LINENO: result: $samba_cv_USE_SETEUID" >&5
19796 echo "${ECHO_T}$samba_cv_USE_SETEUID" >&6
19797 if test x
"$samba_cv_USE_SETEUID" = x
"yes"; then
19799 cat >>confdefs.h
<<\_ACEOF
19800 #define USE_SETEUID 1
19806 if test $seteuid = no
; then
19807 echo "$as_me:$LINENO: checking for setuidx" >&5
19808 echo $ECHO_N "checking for setuidx... $ECHO_C" >&6
19809 if test "${samba_cv_USE_SETUIDX+set}" = set; then
19810 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 if test "$cross_compiling" = yes; then
19814 samba_cv_USE_SETUIDX
=cross
19816 cat >conftest.
$ac_ext <<_ACEOF
19817 #line $LINENO "configure"
19818 #include "confdefs.h"
19820 #define AUTOCONF_TEST 1
19821 #define USE_SETUIDX 1
19822 #include "confdefs.h"
19823 #include "${srcdir-.}/lib/util_sec.c"
19825 rm -f conftest
$ac_exeext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19827 (eval $ac_link) 2>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19832 (eval $ac_try) 2>&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); }; }; then
19836 samba_cv_USE_SETUIDX
=yes
19838 echo "$as_me: program exited with status $ac_status" >&5
19839 echo "$as_me: failed program was:" >&5
19840 cat conftest.
$ac_ext >&5
19841 ( exit $ac_status )
19842 samba_cv_USE_SETUIDX
=no
19844 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19847 echo "$as_me:$LINENO: result: $samba_cv_USE_SETUIDX" >&5
19848 echo "${ECHO_T}$samba_cv_USE_SETUIDX" >&6
19849 if test x
"$samba_cv_USE_SETUIDX" = x
"yes"; then
19851 cat >>confdefs.h
<<\_ACEOF
19852 #define USE_SETUIDX 1
19859 echo "$as_me:$LINENO: checking for working mmap" >&5
19860 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
19861 if test "${samba_cv_HAVE_MMAP+set}" = set; then
19862 echo $ECHO_N "(cached) $ECHO_C" >&6
19865 if test "$cross_compiling" = yes; then
19866 samba_cv_HAVE_MMAP
=cross
19868 cat >conftest.
$ac_ext <<_ACEOF
19869 #line $LINENO "configure"
19870 #include "confdefs.h"
19871 #include "${srcdir-.}/tests/shared_mmap.c"
19873 rm -f conftest
$ac_exeext
19874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19875 (eval $ac_link) 2>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19880 (eval $ac_try) 2>&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); }; }; then
19884 samba_cv_HAVE_MMAP
=yes
19886 echo "$as_me: program exited with status $ac_status" >&5
19887 echo "$as_me: failed program was:" >&5
19888 cat conftest.
$ac_ext >&5
19889 ( exit $ac_status )
19890 samba_cv_HAVE_MMAP
=no
19892 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19895 echo "$as_me:$LINENO: result: $samba_cv_HAVE_MMAP" >&5
19896 echo "${ECHO_T}$samba_cv_HAVE_MMAP" >&6
19897 if test x
"$samba_cv_HAVE_MMAP" = x
"yes"; then
19899 cat >>confdefs.h
<<\_ACEOF
19900 #define HAVE_MMAP 1
19905 echo "$as_me:$LINENO: checking for ftruncate needs root" >&5
19906 echo $ECHO_N "checking for ftruncate needs root... $ECHO_C" >&6
19907 if test "${samba_cv_FTRUNCATE_NEEDS_ROOT+set}" = set; then
19908 echo $ECHO_N "(cached) $ECHO_C" >&6
19911 if test "$cross_compiling" = yes; then
19912 samba_cv_FTRUNCATE_NEEDS_ROOT
=cross
19914 cat >conftest.
$ac_ext <<_ACEOF
19915 #line $LINENO "configure"
19916 #include "confdefs.h"
19917 #include "${srcdir-.}/tests/ftruncroot.c"
19919 rm -f conftest
$ac_exeext
19920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19921 (eval $ac_link) 2>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926 (eval $ac_try) 2>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; }; then
19930 samba_cv_FTRUNCATE_NEEDS_ROOT
=yes
19932 echo "$as_me: program exited with status $ac_status" >&5
19933 echo "$as_me: failed program was:" >&5
19934 cat conftest.
$ac_ext >&5
19935 ( exit $ac_status )
19936 samba_cv_FTRUNCATE_NEEDS_ROOT
=no
19938 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19941 echo "$as_me:$LINENO: result: $samba_cv_FTRUNCATE_NEEDS_ROOT" >&5
19942 echo "${ECHO_T}$samba_cv_FTRUNCATE_NEEDS_ROOT" >&6
19943 if test x
"$samba_cv_FTRUNCATE_NEEDS_ROOT" = x
"yes"; then
19945 cat >>confdefs.h
<<\_ACEOF
19946 #define FTRUNCATE_NEEDS_ROOT 1
19951 echo "$as_me:$LINENO: checking for fcntl locking" >&5
19952 echo $ECHO_N "checking for fcntl locking... $ECHO_C" >&6
19953 if test "${samba_cv_HAVE_FCNTL_LOCK+set}" = set; then
19954 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 if test "$cross_compiling" = yes; then
19958 samba_cv_HAVE_FCNTL_LOCK
=cross
19960 cat >conftest.
$ac_ext <<_ACEOF
19961 #line $LINENO "configure"
19962 #include "confdefs.h"
19963 #include "${srcdir-.}/tests/fcntl_lock.c"
19965 rm -f conftest
$ac_exeext
19966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19967 (eval $ac_link) 2>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19972 (eval $ac_try) 2>&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); }; }; then
19976 samba_cv_HAVE_FCNTL_LOCK
=yes
19978 echo "$as_me: program exited with status $ac_status" >&5
19979 echo "$as_me: failed program was:" >&5
19980 cat conftest.
$ac_ext >&5
19981 ( exit $ac_status )
19982 samba_cv_HAVE_FCNTL_LOCK
=no
19984 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19987 echo "$as_me:$LINENO: result: $samba_cv_HAVE_FCNTL_LOCK" >&5
19988 echo "${ECHO_T}$samba_cv_HAVE_FCNTL_LOCK" >&6
19989 if test x
"$samba_cv_HAVE_FCNTL_LOCK" = x
"yes"; then
19991 cat >>confdefs.h
<<\_ACEOF
19992 #define HAVE_FCNTL_LOCK 1
19997 echo "$as_me:$LINENO: checking for broken (glibc2.1/x86) 64 bit fcntl locking" >&5
19998 echo $ECHO_N "checking for broken (glibc2.1/x86) 64 bit fcntl locking... $ECHO_C" >&6
19999 if test "${samba_cv_HAVE_BROKEN_FCNTL64_LOCKS+set}" = set; then
20000 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 if test "$cross_compiling" = yes; then
20004 samba_cv_HAVE_BROKEN_FCNTL64_LOCKS
=cross
20006 cat >conftest.
$ac_ext <<_ACEOF
20007 #line $LINENO "configure"
20008 #include "confdefs.h"
20009 #include "${srcdir-.}/tests/fcntl_lock64.c"
20011 rm -f conftest
$ac_exeext
20012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20013 (eval $ac_link) 2>&5
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; }; then
20022 samba_cv_HAVE_BROKEN_FCNTL64_LOCKS
=yes
20024 echo "$as_me: program exited with status $ac_status" >&5
20025 echo "$as_me: failed program was:" >&5
20026 cat conftest.
$ac_ext >&5
20027 ( exit $ac_status )
20028 samba_cv_HAVE_BROKEN_FCNTL64_LOCKS
=no
20030 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20033 echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_FCNTL64_LOCKS" >&5
20034 echo "${ECHO_T}$samba_cv_HAVE_BROKEN_FCNTL64_LOCKS" >&6
20035 if test x
"$samba_cv_HAVE_BROKEN_FCNTL64_LOCKS" = x
"yes"; then
20037 cat >>confdefs.h
<<\_ACEOF
20038 #define HAVE_BROKEN_FCNTL64_LOCKS 1
20045 echo "$as_me:$LINENO: checking for 64 bit fcntl locking" >&5
20046 echo $ECHO_N "checking for 64 bit fcntl locking... $ECHO_C" >&6
20047 if test "${samba_cv_HAVE_STRUCT_FLOCK64+set}" = set; then
20048 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 if test "$cross_compiling" = yes; then
20052 samba_cv_HAVE_STRUCT_FLOCK64
=cross
20054 cat >conftest.
$ac_ext <<_ACEOF
20055 #line $LINENO "configure"
20056 #include "confdefs.h"
20058 #if defined(HAVE_UNISTD_H)
20059 #include <unistd.h>
20062 #include <stdlib.h>
20064 #ifdef HAVE_FCNTL_H
20068 #ifdef HAVE_SYS_FCNTL_H
20069 #include <sys/fcntl.h>
20071 main() { struct flock64 fl64;
20072 #if defined(F_SETLKW64) && defined(F_SETLK64) && defined(F_GETLK64)
20079 rm -f conftest
$ac_exeext
20080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20081 (eval $ac_link) 2>&5
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; }; then
20090 samba_cv_HAVE_STRUCT_FLOCK64
=yes
20092 echo "$as_me: program exited with status $ac_status" >&5
20093 echo "$as_me: failed program was:" >&5
20094 cat conftest.
$ac_ext >&5
20095 ( exit $ac_status )
20096 samba_cv_HAVE_STRUCT_FLOCK64
=no
20098 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20101 echo "$as_me:$LINENO: result: $samba_cv_HAVE_STRUCT_FLOCK64" >&5
20102 echo "${ECHO_T}$samba_cv_HAVE_STRUCT_FLOCK64" >&6
20104 if test x
"$samba_cv_HAVE_STRUCT_FLOCK64" = x
"yes"; then
20106 cat >>confdefs.h
<<\_ACEOF
20107 #define HAVE_STRUCT_FLOCK64 1
20113 echo "$as_me:$LINENO: checking for st_blocks in struct stat" >&5
20114 echo $ECHO_N "checking for st_blocks in struct stat... $ECHO_C" >&6
20115 if test "${samba_cv_HAVE_STAT_ST_BLOCKS+set}" = set; then
20116 echo $ECHO_N "(cached) $ECHO_C" >&6
20119 cat >conftest.
$ac_ext <<_ACEOF
20120 #line $LINENO "configure"
20121 #include "confdefs.h"
20122 #include <sys/types.h>
20123 #include <sys/stat.h>
20124 #include <unistd.h>
20125 #ifdef F77_DUMMY_MAIN
20126 # ifdef __cplusplus
20129 int F77_DUMMY_MAIN() { return 1; }
20134 struct stat st; st.st_blocks = 0;
20139 rm -f conftest.
$ac_objext
20140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20141 (eval $ac_compile) 2>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } &&
20145 { ac_try
='test -s conftest.$ac_objext'
20146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147 (eval $ac_try) 2>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); }; }; then
20151 samba_cv_HAVE_STAT_ST_BLOCKS
=yes
20153 echo "$as_me: failed program was:" >&5
20154 cat conftest.
$ac_ext >&5
20155 samba_cv_HAVE_STAT_ST_BLOCKS
=no
20157 rm -f conftest.
$ac_objext conftest.
$ac_ext
20159 echo "$as_me:$LINENO: result: $samba_cv_HAVE_STAT_ST_BLOCKS" >&5
20160 echo "${ECHO_T}$samba_cv_HAVE_STAT_ST_BLOCKS" >&6
20161 if test x
"$samba_cv_HAVE_STAT_ST_BLOCKS" = x
"yes"; then
20163 cat >>confdefs.h
<<\_ACEOF
20164 #define HAVE_STAT_ST_BLOCKS 1
20169 echo "$as_me:$LINENO: checking for st_blksize in struct stat" >&5
20170 echo $ECHO_N "checking for st_blksize in struct stat... $ECHO_C" >&6
20171 if test "${samba_cv_HAVE_STAT_ST_BLKSIZE+set}" = set; then
20172 echo $ECHO_N "(cached) $ECHO_C" >&6
20175 cat >conftest.
$ac_ext <<_ACEOF
20176 #line $LINENO "configure"
20177 #include "confdefs.h"
20178 #include <sys/types.h>
20179 #include <sys/stat.h>
20180 #include <unistd.h>
20181 #ifdef F77_DUMMY_MAIN
20182 # ifdef __cplusplus
20185 int F77_DUMMY_MAIN() { return 1; }
20190 struct stat st; st.st_blksize = 0;
20195 rm -f conftest.
$ac_objext
20196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20197 (eval $ac_compile) 2>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } &&
20201 { ac_try
='test -s conftest.$ac_objext'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; }; then
20207 samba_cv_HAVE_STAT_ST_BLKSIZE
=yes
20209 echo "$as_me: failed program was:" >&5
20210 cat conftest.
$ac_ext >&5
20211 samba_cv_HAVE_STAT_ST_BLKSIZE
=no
20213 rm -f conftest.
$ac_objext conftest.
$ac_ext
20215 echo "$as_me:$LINENO: result: $samba_cv_HAVE_STAT_ST_BLKSIZE" >&5
20216 echo "${ECHO_T}$samba_cv_HAVE_STAT_ST_BLKSIZE" >&6
20217 if test x
"$samba_cv_HAVE_STAT_ST_BLKSIZE" = x
"yes"; then
20219 cat >>confdefs.h
<<\_ACEOF
20220 #define HAVE_STAT_ST_BLKSIZE 1
20227 echo "$as_me:$LINENO: checking for broken RedHat 7.2 system header files" >&5
20228 echo $ECHO_N "checking for broken RedHat 7.2 system header files... $ECHO_C" >&6
20229 if test "${samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS+set}" = set; then
20230 echo $ECHO_N "(cached) $ECHO_C" >&6
20233 cat >conftest.
$ac_ext <<_ACEOF
20234 #line $LINENO "configure"
20235 #include "confdefs.h"
20237 #ifdef HAVE_SYS_VFS_H
20238 #include <sys/vfs.h>
20240 #ifdef HAVE_SYS_CAPABILITY_H
20241 #include <sys/capability.h>
20244 #ifdef F77_DUMMY_MAIN
20245 # ifdef __cplusplus
20248 int F77_DUMMY_MAIN() { return 1; }
20258 rm -f conftest.
$ac_objext
20259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20260 (eval $ac_compile) 2>&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); } &&
20264 { ac_try
='test -s conftest.$ac_objext'
20265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20266 (eval $ac_try) 2>&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); }; }; then
20270 samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS
=no
20272 echo "$as_me: failed program was:" >&5
20273 cat conftest.
$ac_ext >&5
20274 samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS
=yes
20276 rm -f conftest.
$ac_objext conftest.
$ac_ext
20278 echo "$as_me:$LINENO: result: $samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS" >&5
20279 echo "${ECHO_T}$samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS" >&6
20280 if test x
"$samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS" = x
"yes"; then
20282 cat >>confdefs.h
<<\_ACEOF
20283 #define BROKEN_REDHAT_7_SYSTEM_HEADERS 1
20290 echo "$as_me:$LINENO: checking for broken nisplus include files" >&5
20291 echo $ECHO_N "checking for broken nisplus include files... $ECHO_C" >&6
20292 if test "${samba_cv_BROKEN_NISPLUS_INCLUDE_FILES+set}" = set; then
20293 echo $ECHO_N "(cached) $ECHO_C" >&6
20296 cat >conftest.
$ac_ext <<_ACEOF
20297 #line $LINENO "configure"
20298 #include "confdefs.h"
20299 #include <sys/acl.h>
20300 #if defined(HAVE_RPCSVC_NIS_H)
20301 #include <rpcsvc/nis.h>
20303 #ifdef F77_DUMMY_MAIN
20304 # ifdef __cplusplus
20307 int F77_DUMMY_MAIN() { return 1; }
20317 rm -f conftest.
$ac_objext
20318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20319 (eval $ac_compile) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } &&
20323 { ac_try
='test -s conftest.$ac_objext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 samba_cv_BROKEN_NISPLUS_INCLUDE_FILES
=no
20331 echo "$as_me: failed program was:" >&5
20332 cat conftest.
$ac_ext >&5
20333 samba_cv_BROKEN_NISPLUS_INCLUDE_FILES
=yes
20335 rm -f conftest.
$ac_objext conftest.
$ac_ext
20337 echo "$as_me:$LINENO: result: $samba_cv_BROKEN_NISPLUS_INCLUDE_FILES" >&5
20338 echo "${ECHO_T}$samba_cv_BROKEN_NISPLUS_INCLUDE_FILES" >&6
20339 if test x
"$samba_cv_BROKEN_NISPLUS_INCLUDE_FILES" = x
"yes"; then
20341 cat >>confdefs.h
<<\_ACEOF
20342 #define BROKEN_NISPLUS_INCLUDE_FILES 1
20348 #################################################
20349 # check for smbwrapper support
20350 echo "$as_me:$LINENO: checking whether to use smbwrapper" >&5
20351 echo $ECHO_N "checking whether to use smbwrapper... $ECHO_C" >&6
20353 # Check whether --with-smbwrapper or --without-smbwrapper was given.
20354 if test "${with_smbwrapper+set}" = set; then
20355 withval
="$with_smbwrapper"
20358 echo "$as_me:$LINENO: result: yes" >&5
20359 echo "${ECHO_T}yes" >&6
20361 cat >>confdefs.h
<<\_ACEOF
20362 #define WITH_SMBWRAPPER 1
20365 WRAPPROG
="bin/smbsh\$(EXEEXT)"
20366 WRAP
="bin/smbwrapper.$SHLIBEXT"
20368 if test x
$ATTEMPT_WRAP32_BUILD = x
; then
20371 WRAP32
=bin
/smbwrapper
.32.
$SHLIBEXT
20374 # Conditions under which smbwrapper should not be built.
20376 if test x
$PICFLAG = x
; then
20377 echo No support
for PIC code
- disabling smbwrapper and smbsh
20381 elif test x
$ac_cv_func_syscall = xno
; then
20382 echo "$as_me:$LINENO: result: No syscall() -- disabling smbwrapper and smbsh" >&5
20383 echo "${ECHO_T}No syscall() -- disabling smbwrapper and smbsh" >&6
20388 EXTRA_ALL_TARGETS
="$EXTRA_ALL_TARGETS $WRAPPROG $WRAP $WRAP32"
20389 SMBWRAPPER
="$WRAPPROG $WRAP $WRAP32"
20392 echo "$as_me:$LINENO: result: no" >&5
20393 echo "${ECHO_T}no" >&6
20397 echo "$as_me:$LINENO: result: no" >&5
20398 echo "${ECHO_T}no" >&6
20402 #################################################
20403 # check for AFS clear-text auth support
20404 echo "$as_me:$LINENO: checking whether to use AFS clear-text auth" >&5
20405 echo $ECHO_N "checking whether to use AFS clear-text auth... $ECHO_C" >&6
20407 # Check whether --with-afs or --without-afs was given.
20408 if test "${with_afs+set}" = set; then
20409 withval
="$with_afs"
20412 echo "$as_me:$LINENO: result: yes" >&5
20413 echo "${ECHO_T}yes" >&6
20415 cat >>confdefs.h
<<\_ACEOF
20421 echo "$as_me:$LINENO: result: no" >&5
20422 echo "${ECHO_T}no" >&6
20426 echo "$as_me:$LINENO: result: no" >&5
20427 echo "${ECHO_T}no" >&6
20432 #################################################
20433 # check for the DFS clear-text auth system
20434 echo "$as_me:$LINENO: checking whether to use DFS clear-text auth" >&5
20435 echo $ECHO_N "checking whether to use DFS clear-text auth... $ECHO_C" >&6
20437 # Check whether --with-dfs or --without-dfs was given.
20438 if test "${with_dfs+set}" = set; then
20439 withval
="$with_dfs"
20442 echo "$as_me:$LINENO: result: yes" >&5
20443 echo "${ECHO_T}yes" >&6
20445 cat >>confdefs.h
<<\_ACEOF
20451 echo "$as_me:$LINENO: result: no" >&5
20452 echo "${ECHO_T}no" >&6
20456 echo "$as_me:$LINENO: result: no" >&5
20457 echo "${ECHO_T}no" >&6
20461 #################################################
20462 # active directory support
20464 with_ads_support
=yes
20465 echo "$as_me:$LINENO: checking whether to use Active Directory" >&5
20466 echo $ECHO_N "checking whether to use Active Directory... $ECHO_C" >&6
20469 # Check whether --with-ads or --without-ads was given.
20470 if test "${with_ads+set}" = set; then
20471 withval
="$with_ads"
20474 with_ads_support
=no
20479 if test x
"$with_ads_support" = x
"yes"; then
20481 cat >>confdefs.h
<<\_ACEOF
20487 echo "$as_me:$LINENO: result: $with_ads_support" >&5
20488 echo "${ECHO_T}$with_ads_support" >&6
20491 if test x
"$with_ads_support" = x
"yes"; then
20493 #################################################
20494 # check for location of Kerberos 5 install
20495 echo "$as_me:$LINENO: checking for kerberos 5 install path" >&5
20496 echo $ECHO_N "checking for kerberos 5 install path... $ECHO_C" >&6
20498 # Check whether --with-krb5 or --without-krb5 was given.
20499 if test "${with_krb5+set}" = set; then
20500 withval
="$with_krb5"
20503 echo "$as_me:$LINENO: result: no" >&5
20504 echo "${ECHO_T}no" >&6
20507 echo "$as_me:$LINENO: result: yes" >&5
20508 echo "${ECHO_T}yes" >&6
20509 LIBS
="$LIBS -lkrb5"
20510 CFLAGS
="$CFLAGS -I$withval/include"
20511 CPPFLAGS
="$CPPFLAGS -I$withval/include"
20512 LDFLAGS
="$LDFLAGS -L$withval/lib"
20517 echo "$as_me:$LINENO: result: no" >&5
20518 echo "${ECHO_T}no" >&6
20523 if test x
$FOUND_KRB5 = x
"no"; then
20524 #################################################
20525 # see if this box has the SuSE location for the heimdal kerberos implementation
20526 echo "$as_me:$LINENO: checking for /usr/include/heimdal" >&5
20527 echo $ECHO_N "checking for /usr/include/heimdal... $ECHO_C" >&6
20528 if test -d /usr
/include
/heimdal
-a -f /usr
/lib
/heimdal
/lib
/libkrb5.a
; then
20529 LIBS
="$LIBS -lkrb5"
20530 CFLAGS
="$CFLAGS -I/usr/include/heimdal"
20531 CPPFLAGS
="$CPPFLAGS -I/usr/include/heimdal"
20532 echo "$as_me:$LINENO: result: yes" >&5
20533 echo "${ECHO_T}yes" >&6
20535 echo "$as_me:$LINENO: result: no" >&5
20536 echo "${ECHO_T}no" >&6
20541 if test x
$FOUND_KRB5 = x
"no"; then
20542 #################################################
20543 # see if this box has the RedHat location for kerberos
20544 echo "$as_me:$LINENO: checking for /usr/kerberos" >&5
20545 echo $ECHO_N "checking for /usr/kerberos... $ECHO_C" >&6
20546 if test -d /usr
/kerberos
-a -f /usr
/kerberos
/lib
/libkrb5.a
; then
20547 LIBS
="$LIBS -lkrb5"
20548 LDFLAGS
="$LDFLAGS -L/usr/kerberos/lib"
20549 CFLAGS
="$CFLAGS -I/usr/kerberos/include"
20550 CPPFLAGS
="$CPPFLAGS -I/usr/kerberos/include"
20551 echo "$as_me:$LINENO: result: yes" >&5
20552 echo "${ECHO_T}yes" >&6
20554 echo "$as_me:$LINENO: result: no" >&5
20555 echo "${ECHO_T}no" >&6
20560 # now check for krb5.h. Some systems have the libraries without the headers!
20561 # note that this check is done here to allow for different kerberos
20564 for ac_header
in krb5.h
20566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20568 echo "$as_me:$LINENO: checking for $ac_header" >&5
20569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20571 echo $ECHO_N "(cached) $ECHO_C" >&6
20573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20576 # Is the header compilable?
20577 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20578 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20579 cat >conftest.
$ac_ext <<_ACEOF
20580 #line $LINENO "configure"
20581 #include "confdefs.h"
20582 $ac_includes_default
20583 #include <$ac_header>
20585 rm -f conftest.
$ac_objext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20587 (eval $ac_compile) 2>&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); } &&
20591 { ac_try
='test -s conftest.$ac_objext'
20592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20593 (eval $ac_try) 2>&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); }; }; then
20597 ac_header_compiler
=yes
20599 echo "$as_me: failed program was:" >&5
20600 cat conftest.
$ac_ext >&5
20601 ac_header_compiler
=no
20603 rm -f conftest.
$ac_objext conftest.
$ac_ext
20604 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20605 echo "${ECHO_T}$ac_header_compiler" >&6
20607 # Is the header present?
20608 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20609 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20610 cat >conftest.
$ac_ext <<_ACEOF
20611 #line $LINENO "configure"
20612 #include "confdefs.h"
20613 #include <$ac_header>
20615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20618 egrep -v '^ *\+' conftest.er1
>conftest.err
20620 cat conftest.err
>&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } >/dev
/null
; then
20623 if test -s conftest.err
; then
20624 ac_cpp_err
=$ac_c_preproc_warn_flag
20631 if test -z "$ac_cpp_err"; then
20632 ac_header_preproc
=yes
20634 echo "$as_me: failed program was:" >&5
20635 cat conftest.
$ac_ext >&5
20636 ac_header_preproc
=no
20638 rm -f conftest.err conftest.
$ac_ext
20639 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20640 echo "${ECHO_T}$ac_header_preproc" >&6
20642 # So? What about this header?
20643 case $ac_header_compiler:$ac_header_preproc in
20645 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20646 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
20650 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20652 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20653 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
20657 echo "$as_me:$LINENO: checking for $ac_header" >&5
20658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20660 echo $ECHO_N "(cached) $ECHO_C" >&6
20662 eval "$as_ac_Header=$ac_header_preproc"
20664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20669 cat >>confdefs.h
<<_ACEOF
20670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20678 # now check for gssapi headers. This is also done here to allow for
20679 # different kerberos include paths
20684 for ac_header
in gssapi.h gssapi
/gssapi_generic.h gssapi
/gssapi.h com_err.h
20686 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20688 echo "$as_me:$LINENO: checking for $ac_header" >&5
20689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20691 echo $ECHO_N "(cached) $ECHO_C" >&6
20693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20696 # Is the header compilable?
20697 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20698 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20699 cat >conftest.
$ac_ext <<_ACEOF
20700 #line $LINENO "configure"
20701 #include "confdefs.h"
20702 $ac_includes_default
20703 #include <$ac_header>
20705 rm -f conftest.
$ac_objext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20707 (eval $ac_compile) 2>&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } &&
20711 { ac_try
='test -s conftest.$ac_objext'
20712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20713 (eval $ac_try) 2>&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); }; }; then
20717 ac_header_compiler
=yes
20719 echo "$as_me: failed program was:" >&5
20720 cat conftest.
$ac_ext >&5
20721 ac_header_compiler
=no
20723 rm -f conftest.
$ac_objext conftest.
$ac_ext
20724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20725 echo "${ECHO_T}$ac_header_compiler" >&6
20727 # Is the header present?
20728 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20729 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20730 cat >conftest.
$ac_ext <<_ACEOF
20731 #line $LINENO "configure"
20732 #include "confdefs.h"
20733 #include <$ac_header>
20735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20736 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20738 egrep -v '^ *\+' conftest.er1
>conftest.err
20740 cat conftest.err
>&5
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); } >/dev
/null
; then
20743 if test -s conftest.err
; then
20744 ac_cpp_err
=$ac_c_preproc_warn_flag
20751 if test -z "$ac_cpp_err"; then
20752 ac_header_preproc
=yes
20754 echo "$as_me: failed program was:" >&5
20755 cat conftest.
$ac_ext >&5
20756 ac_header_preproc
=no
20758 rm -f conftest.err conftest.
$ac_ext
20759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20760 echo "${ECHO_T}$ac_header_preproc" >&6
20762 # So? What about this header?
20763 case $ac_header_compiler:$ac_header_preproc in
20765 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
20770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
20777 echo "$as_me:$LINENO: checking for $ac_header" >&5
20778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20780 echo $ECHO_N "(cached) $ECHO_C" >&6
20782 eval "$as_ac_Header=$ac_header_preproc"
20784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20789 cat >>confdefs.h
<<_ACEOF
20790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20798 ##################################################################
20799 # we might need the k5crypto and com_err libraries on some systems
20800 echo "$as_me:$LINENO: checking for _et_list in -lcom_err" >&5
20801 echo $ECHO_N "checking for _et_list in -lcom_err... $ECHO_C" >&6
20802 if test "${ac_cv_lib_com_err__et_list+set}" = set; then
20803 echo $ECHO_N "(cached) $ECHO_C" >&6
20805 ac_check_lib_save_LIBS
=$LIBS
20806 LIBS
="-lcom_err $LIBS"
20807 cat >conftest.
$ac_ext <<_ACEOF
20808 #line $LINENO "configure"
20809 #include "confdefs.h"
20811 /* Override any gcc2 internal prototype to avoid an error. */
20815 /* We use char because int might match the return type of a gcc2
20816 builtin and then its argument prototype would still apply. */
20818 #ifdef F77_DUMMY_MAIN
20819 # ifdef __cplusplus
20822 int F77_DUMMY_MAIN() { return 1; }
20832 rm -f conftest.
$ac_objext conftest
$ac_exeext
20833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20834 (eval $ac_link) 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); } &&
20838 { ac_try
='test -s conftest$ac_exeext'
20839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20840 (eval $ac_try) 2>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); }; }; then
20844 ac_cv_lib_com_err__et_list
=yes
20846 echo "$as_me: failed program was:" >&5
20847 cat conftest.
$ac_ext >&5
20848 ac_cv_lib_com_err__et_list
=no
20850 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20851 LIBS
=$ac_check_lib_save_LIBS
20853 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err__et_list" >&5
20854 echo "${ECHO_T}$ac_cv_lib_com_err__et_list" >&6
20855 if test $ac_cv_lib_com_err__et_list = yes; then
20856 LIBS
="$LIBS -lcom_err"
20859 echo "$as_me:$LINENO: checking for krb5_encrypt_data in -lk5crypto" >&5
20860 echo $ECHO_N "checking for krb5_encrypt_data in -lk5crypto... $ECHO_C" >&6
20861 if test "${ac_cv_lib_k5crypto_krb5_encrypt_data+set}" = set; then
20862 echo $ECHO_N "(cached) $ECHO_C" >&6
20864 ac_check_lib_save_LIBS
=$LIBS
20865 LIBS
="-lk5crypto $LIBS"
20866 cat >conftest.
$ac_ext <<_ACEOF
20867 #line $LINENO "configure"
20868 #include "confdefs.h"
20870 /* Override any gcc2 internal prototype to avoid an error. */
20874 /* We use char because int might match the return type of a gcc2
20875 builtin and then its argument prototype would still apply. */
20876 char krb5_encrypt_data ();
20877 #ifdef F77_DUMMY_MAIN
20878 # ifdef __cplusplus
20881 int F77_DUMMY_MAIN() { return 1; }
20886 krb5_encrypt_data ();
20891 rm -f conftest.
$ac_objext conftest
$ac_exeext
20892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20893 (eval $ac_link) 2>&5
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); } &&
20897 { ac_try
='test -s conftest$ac_exeext'
20898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20899 (eval $ac_try) 2>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); }; }; then
20903 ac_cv_lib_k5crypto_krb5_encrypt_data
=yes
20905 echo "$as_me: failed program was:" >&5
20906 cat conftest.
$ac_ext >&5
20907 ac_cv_lib_k5crypto_krb5_encrypt_data
=no
20909 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20910 LIBS
=$ac_check_lib_save_LIBS
20912 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_encrypt_data" >&5
20913 echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_encrypt_data" >&6
20914 if test $ac_cv_lib_k5crypto_krb5_encrypt_data = yes; then
20915 LIBS
="$LIBS -lk5crypto"
20919 echo "$as_me:$LINENO: checking for des_set_key in -lcrypto" >&5
20920 echo $ECHO_N "checking for des_set_key in -lcrypto... $ECHO_C" >&6
20921 if test "${ac_cv_lib_crypto_des_set_key+set}" = set; then
20922 echo $ECHO_N "(cached) $ECHO_C" >&6
20924 ac_check_lib_save_LIBS
=$LIBS
20925 LIBS
="-lcrypto $LIBS"
20926 cat >conftest.
$ac_ext <<_ACEOF
20927 #line $LINENO "configure"
20928 #include "confdefs.h"
20930 /* Override any gcc2 internal prototype to avoid an error. */
20934 /* We use char because int might match the return type of a gcc2
20935 builtin and then its argument prototype would still apply. */
20936 char des_set_key ();
20937 #ifdef F77_DUMMY_MAIN
20938 # ifdef __cplusplus
20941 int F77_DUMMY_MAIN() { return 1; }
20951 rm -f conftest.
$ac_objext conftest
$ac_exeext
20952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20953 (eval $ac_link) 2>&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); } &&
20957 { ac_try
='test -s conftest$ac_exeext'
20958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20959 (eval $ac_try) 2>&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); }; }; then
20963 ac_cv_lib_crypto_des_set_key
=yes
20965 echo "$as_me: failed program was:" >&5
20966 cat conftest.
$ac_ext >&5
20967 ac_cv_lib_crypto_des_set_key
=no
20969 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20970 LIBS
=$ac_check_lib_save_LIBS
20972 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_des_set_key" >&5
20973 echo "${ECHO_T}$ac_cv_lib_crypto_des_set_key" >&6
20974 if test $ac_cv_lib_crypto_des_set_key = yes; then
20975 LIBS
="$LIBS -lcrypto"
20978 echo "$as_me:$LINENO: checking for copy_Authenticator in -lasn1" >&5
20979 echo $ECHO_N "checking for copy_Authenticator in -lasn1... $ECHO_C" >&6
20980 if test "${ac_cv_lib_asn1_copy_Authenticator+set}" = set; then
20981 echo $ECHO_N "(cached) $ECHO_C" >&6
20983 ac_check_lib_save_LIBS
=$LIBS
20984 LIBS
="-lasn1 $LIBS"
20985 cat >conftest.
$ac_ext <<_ACEOF
20986 #line $LINENO "configure"
20987 #include "confdefs.h"
20989 /* Override any gcc2 internal prototype to avoid an error. */
20993 /* We use char because int might match the return type of a gcc2
20994 builtin and then its argument prototype would still apply. */
20995 char copy_Authenticator ();
20996 #ifdef F77_DUMMY_MAIN
20997 # ifdef __cplusplus
21000 int F77_DUMMY_MAIN() { return 1; }
21005 copy_Authenticator ();
21010 rm -f conftest.
$ac_objext conftest
$ac_exeext
21011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21012 (eval $ac_link) 2>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } &&
21016 { ac_try
='test -s conftest$ac_exeext'
21017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018 (eval $ac_try) 2>&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; }; then
21022 ac_cv_lib_asn1_copy_Authenticator
=yes
21024 echo "$as_me: failed program was:" >&5
21025 cat conftest.
$ac_ext >&5
21026 ac_cv_lib_asn1_copy_Authenticator
=no
21028 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21029 LIBS
=$ac_check_lib_save_LIBS
21031 echo "$as_me:$LINENO: result: $ac_cv_lib_asn1_copy_Authenticator" >&5
21032 echo "${ECHO_T}$ac_cv_lib_asn1_copy_Authenticator" >&6
21033 if test $ac_cv_lib_asn1_copy_Authenticator = yes; then
21034 LIBS
="$LIBS -lasn1 -lroken"
21037 # Heimdal checks. On static Heimdal gssapi must be linked before krb5.
21038 echo "$as_me:$LINENO: checking for gss_display_status in -lgssapi" >&5
21039 echo $ECHO_N "checking for gss_display_status in -lgssapi... $ECHO_C" >&6
21040 if test "${ac_cv_lib_gssapi_gss_display_status+set}" = set; then
21041 echo $ECHO_N "(cached) $ECHO_C" >&6
21043 ac_check_lib_save_LIBS
=$LIBS
21044 LIBS
="-lgssapi $LIBS"
21045 cat >conftest.
$ac_ext <<_ACEOF
21046 #line $LINENO "configure"
21047 #include "confdefs.h"
21049 /* Override any gcc2 internal prototype to avoid an error. */
21053 /* We use char because int might match the return type of a gcc2
21054 builtin and then its argument prototype would still apply. */
21055 char gss_display_status ();
21056 #ifdef F77_DUMMY_MAIN
21057 # ifdef __cplusplus
21060 int F77_DUMMY_MAIN() { return 1; }
21065 gss_display_status ();
21070 rm -f conftest.
$ac_objext conftest
$ac_exeext
21071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21072 (eval $ac_link) 2>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } &&
21076 { ac_try
='test -s conftest$ac_exeext'
21077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21078 (eval $ac_try) 2>&5
21080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21081 (exit $ac_status); }; }; then
21082 ac_cv_lib_gssapi_gss_display_status
=yes
21084 echo "$as_me: failed program was:" >&5
21085 cat conftest.
$ac_ext >&5
21086 ac_cv_lib_gssapi_gss_display_status
=no
21088 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21089 LIBS
=$ac_check_lib_save_LIBS
21091 echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_display_status" >&5
21092 echo "${ECHO_T}$ac_cv_lib_gssapi_gss_display_status" >&6
21093 if test $ac_cv_lib_gssapi_gss_display_status = yes; then
21094 LIBS
="$LIBS -lgssapi -lkrb5 -lasn1";
21096 cat >>confdefs.h
<<\_ACEOF
21097 #define HAVE_GSSAPI 1
21103 echo "$as_me:$LINENO: checking for krb5_set_real_time in -lkrb5" >&5
21104 echo $ECHO_N "checking for krb5_set_real_time in -lkrb5... $ECHO_C" >&6
21105 if test "${ac_cv_lib_krb5_krb5_set_real_time+set}" = set; then
21106 echo $ECHO_N "(cached) $ECHO_C" >&6
21108 ac_check_lib_save_LIBS
=$LIBS
21109 LIBS
="-lkrb5 $LIBS"
21110 cat >conftest.
$ac_ext <<_ACEOF
21111 #line $LINENO "configure"
21112 #include "confdefs.h"
21114 /* Override any gcc2 internal prototype to avoid an error. */
21118 /* We use char because int might match the return type of a gcc2
21119 builtin and then its argument prototype would still apply. */
21120 char krb5_set_real_time ();
21121 #ifdef F77_DUMMY_MAIN
21122 # ifdef __cplusplus
21125 int F77_DUMMY_MAIN() { return 1; }
21130 krb5_set_real_time ();
21135 rm -f conftest.
$ac_objext conftest
$ac_exeext
21136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21137 (eval $ac_link) 2>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } &&
21141 { ac_try
='test -s conftest$ac_exeext'
21142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143 (eval $ac_try) 2>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; }; then
21147 ac_cv_lib_krb5_krb5_set_real_time
=yes
21149 echo "$as_me: failed program was:" >&5
21150 cat conftest.
$ac_ext >&5
21151 ac_cv_lib_krb5_krb5_set_real_time
=no
21153 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21154 LIBS
=$ac_check_lib_save_LIBS
21156 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_set_real_time" >&5
21157 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_set_real_time" >&6
21158 if test $ac_cv_lib_krb5_krb5_set_real_time = yes; then
21160 cat >>confdefs.h
<<\_ACEOF
21161 #define HAVE_KRB5_SET_REAL_TIME 1
21166 echo "$as_me:$LINENO: checking for krb5_set_default_in_tkt_etypes in -lkrb5" >&5
21167 echo $ECHO_N "checking for krb5_set_default_in_tkt_etypes in -lkrb5... $ECHO_C" >&6
21168 if test "${ac_cv_lib_krb5_krb5_set_default_in_tkt_etypes+set}" = set; then
21169 echo $ECHO_N "(cached) $ECHO_C" >&6
21171 ac_check_lib_save_LIBS
=$LIBS
21172 LIBS
="-lkrb5 $LIBS"
21173 cat >conftest.
$ac_ext <<_ACEOF
21174 #line $LINENO "configure"
21175 #include "confdefs.h"
21177 /* Override any gcc2 internal prototype to avoid an error. */
21181 /* We use char because int might match the return type of a gcc2
21182 builtin and then its argument prototype would still apply. */
21183 char krb5_set_default_in_tkt_etypes ();
21184 #ifdef F77_DUMMY_MAIN
21185 # ifdef __cplusplus
21188 int F77_DUMMY_MAIN() { return 1; }
21193 krb5_set_default_in_tkt_etypes ();
21198 rm -f conftest.
$ac_objext conftest
$ac_exeext
21199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21200 (eval $ac_link) 2>&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); } &&
21204 { ac_try
='test -s conftest$ac_exeext'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; }; then
21210 ac_cv_lib_krb5_krb5_set_default_in_tkt_etypes
=yes
21212 echo "$as_me: failed program was:" >&5
21213 cat conftest.
$ac_ext >&5
21214 ac_cv_lib_krb5_krb5_set_default_in_tkt_etypes
=no
21216 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21217 LIBS
=$ac_check_lib_save_LIBS
21219 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_set_default_in_tkt_etypes" >&5
21220 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_set_default_in_tkt_etypes" >&6
21221 if test $ac_cv_lib_krb5_krb5_set_default_in_tkt_etypes = yes; then
21223 cat >>confdefs.h
<<\_ACEOF
21224 #define HAVE_KRB5_SET_DEFAULT_IN_TKT_ETYPES 1
21229 echo "$as_me:$LINENO: checking for krb5_set_default_tgs_ktypes in -lkrb5" >&5
21230 echo $ECHO_N "checking for krb5_set_default_tgs_ktypes in -lkrb5... $ECHO_C" >&6
21231 if test "${ac_cv_lib_krb5_krb5_set_default_tgs_ktypes+set}" = set; then
21232 echo $ECHO_N "(cached) $ECHO_C" >&6
21234 ac_check_lib_save_LIBS
=$LIBS
21235 LIBS
="-lkrb5 $LIBS"
21236 cat >conftest.
$ac_ext <<_ACEOF
21237 #line $LINENO "configure"
21238 #include "confdefs.h"
21240 /* Override any gcc2 internal prototype to avoid an error. */
21244 /* We use char because int might match the return type of a gcc2
21245 builtin and then its argument prototype would still apply. */
21246 char krb5_set_default_tgs_ktypes ();
21247 #ifdef F77_DUMMY_MAIN
21248 # ifdef __cplusplus
21251 int F77_DUMMY_MAIN() { return 1; }
21256 krb5_set_default_tgs_ktypes ();
21261 rm -f conftest.
$ac_objext conftest
$ac_exeext
21262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21263 (eval $ac_link) 2>&5
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); } &&
21267 { ac_try
='test -s conftest$ac_exeext'
21268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21269 (eval $ac_try) 2>&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); }; }; then
21273 ac_cv_lib_krb5_krb5_set_default_tgs_ktypes
=yes
21275 echo "$as_me: failed program was:" >&5
21276 cat conftest.
$ac_ext >&5
21277 ac_cv_lib_krb5_krb5_set_default_tgs_ktypes
=no
21279 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21280 LIBS
=$ac_check_lib_save_LIBS
21282 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_set_default_tgs_ktypes" >&5
21283 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_set_default_tgs_ktypes" >&6
21284 if test $ac_cv_lib_krb5_krb5_set_default_tgs_ktypes = yes; then
21286 cat >>confdefs.h
<<\_ACEOF
21287 #define HAVE_KRB5_SET_DEFAULT_TGS_KTYPES 1
21293 echo "$as_me:$LINENO: checking for krb5_principal2salt in -lkrb5" >&5
21294 echo $ECHO_N "checking for krb5_principal2salt in -lkrb5... $ECHO_C" >&6
21295 if test "${ac_cv_lib_krb5_krb5_principal2salt+set}" = set; then
21296 echo $ECHO_N "(cached) $ECHO_C" >&6
21298 ac_check_lib_save_LIBS
=$LIBS
21299 LIBS
="-lkrb5 $LIBS"
21300 cat >conftest.
$ac_ext <<_ACEOF
21301 #line $LINENO "configure"
21302 #include "confdefs.h"
21304 /* Override any gcc2 internal prototype to avoid an error. */
21308 /* We use char because int might match the return type of a gcc2
21309 builtin and then its argument prototype would still apply. */
21310 char krb5_principal2salt ();
21311 #ifdef F77_DUMMY_MAIN
21312 # ifdef __cplusplus
21315 int F77_DUMMY_MAIN() { return 1; }
21320 krb5_principal2salt ();
21325 rm -f conftest.
$ac_objext conftest
$ac_exeext
21326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21327 (eval $ac_link) 2>&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } &&
21331 { ac_try
='test -s conftest$ac_exeext'
21332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21333 (eval $ac_try) 2>&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); }; }; then
21337 ac_cv_lib_krb5_krb5_principal2salt
=yes
21339 echo "$as_me: failed program was:" >&5
21340 cat conftest.
$ac_ext >&5
21341 ac_cv_lib_krb5_krb5_principal2salt
=no
21343 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21344 LIBS
=$ac_check_lib_save_LIBS
21346 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_principal2salt" >&5
21347 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_principal2salt" >&6
21348 if test $ac_cv_lib_krb5_krb5_principal2salt = yes; then
21350 cat >>confdefs.h
<<\_ACEOF
21351 #define HAVE_KRB5_PRINCIPAL2SALT 1
21356 echo "$as_me:$LINENO: checking for krb5_use_enctype in -lkrb5" >&5
21357 echo $ECHO_N "checking for krb5_use_enctype in -lkrb5... $ECHO_C" >&6
21358 if test "${ac_cv_lib_krb5_krb5_use_enctype+set}" = set; then
21359 echo $ECHO_N "(cached) $ECHO_C" >&6
21361 ac_check_lib_save_LIBS
=$LIBS
21362 LIBS
="-lkrb5 $LIBS"
21363 cat >conftest.
$ac_ext <<_ACEOF
21364 #line $LINENO "configure"
21365 #include "confdefs.h"
21367 /* Override any gcc2 internal prototype to avoid an error. */
21371 /* We use char because int might match the return type of a gcc2
21372 builtin and then its argument prototype would still apply. */
21373 char krb5_use_enctype ();
21374 #ifdef F77_DUMMY_MAIN
21375 # ifdef __cplusplus
21378 int F77_DUMMY_MAIN() { return 1; }
21383 krb5_use_enctype ();
21388 rm -f conftest.
$ac_objext conftest
$ac_exeext
21389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21390 (eval $ac_link) 2>&5
21392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21393 (exit $ac_status); } &&
21394 { ac_try
='test -s conftest$ac_exeext'
21395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396 (eval $ac_try) 2>&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); }; }; then
21400 ac_cv_lib_krb5_krb5_use_enctype
=yes
21402 echo "$as_me: failed program was:" >&5
21403 cat conftest.
$ac_ext >&5
21404 ac_cv_lib_krb5_krb5_use_enctype
=no
21406 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21407 LIBS
=$ac_check_lib_save_LIBS
21409 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_use_enctype" >&5
21410 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_use_enctype" >&6
21411 if test $ac_cv_lib_krb5_krb5_use_enctype = yes; then
21413 cat >>confdefs.h
<<\_ACEOF
21414 #define HAVE_KRB5_USE_ENCTYPE 1
21419 echo "$as_me:$LINENO: checking for krb5_string_to_key in -lkrb5" >&5
21420 echo $ECHO_N "checking for krb5_string_to_key in -lkrb5... $ECHO_C" >&6
21421 if test "${ac_cv_lib_krb5_krb5_string_to_key+set}" = set; then
21422 echo $ECHO_N "(cached) $ECHO_C" >&6
21424 ac_check_lib_save_LIBS
=$LIBS
21425 LIBS
="-lkrb5 $LIBS"
21426 cat >conftest.
$ac_ext <<_ACEOF
21427 #line $LINENO "configure"
21428 #include "confdefs.h"
21430 /* Override any gcc2 internal prototype to avoid an error. */
21434 /* We use char because int might match the return type of a gcc2
21435 builtin and then its argument prototype would still apply. */
21436 char krb5_string_to_key ();
21437 #ifdef F77_DUMMY_MAIN
21438 # ifdef __cplusplus
21441 int F77_DUMMY_MAIN() { return 1; }
21446 krb5_string_to_key ();
21451 rm -f conftest.
$ac_objext conftest
$ac_exeext
21452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21453 (eval $ac_link) 2>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } &&
21457 { ac_try
='test -s conftest$ac_exeext'
21458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21459 (eval $ac_try) 2>&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); }; }; then
21463 ac_cv_lib_krb5_krb5_string_to_key
=yes
21465 echo "$as_me: failed program was:" >&5
21466 cat conftest.
$ac_ext >&5
21467 ac_cv_lib_krb5_krb5_string_to_key
=no
21469 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21470 LIBS
=$ac_check_lib_save_LIBS
21472 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_string_to_key" >&5
21473 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_string_to_key" >&6
21474 if test $ac_cv_lib_krb5_krb5_string_to_key = yes; then
21476 cat >>confdefs.h
<<\_ACEOF
21477 #define HAVE_KRB5_STRING_TO_KEY 1
21482 echo "$as_me:$LINENO: checking for krb5_get_pw_salt in -lkrb5" >&5
21483 echo $ECHO_N "checking for krb5_get_pw_salt in -lkrb5... $ECHO_C" >&6
21484 if test "${ac_cv_lib_krb5_krb5_get_pw_salt+set}" = set; then
21485 echo $ECHO_N "(cached) $ECHO_C" >&6
21487 ac_check_lib_save_LIBS
=$LIBS
21488 LIBS
="-lkrb5 $LIBS"
21489 cat >conftest.
$ac_ext <<_ACEOF
21490 #line $LINENO "configure"
21491 #include "confdefs.h"
21493 /* Override any gcc2 internal prototype to avoid an error. */
21497 /* We use char because int might match the return type of a gcc2
21498 builtin and then its argument prototype would still apply. */
21499 char krb5_get_pw_salt ();
21500 #ifdef F77_DUMMY_MAIN
21501 # ifdef __cplusplus
21504 int F77_DUMMY_MAIN() { return 1; }
21509 krb5_get_pw_salt ();
21514 rm -f conftest.
$ac_objext conftest
$ac_exeext
21515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21516 (eval $ac_link) 2>&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); } &&
21520 { ac_try
='test -s conftest$ac_exeext'
21521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21522 (eval $ac_try) 2>&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); }; }; then
21526 ac_cv_lib_krb5_krb5_get_pw_salt
=yes
21528 echo "$as_me: failed program was:" >&5
21529 cat conftest.
$ac_ext >&5
21530 ac_cv_lib_krb5_krb5_get_pw_salt
=no
21532 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21533 LIBS
=$ac_check_lib_save_LIBS
21535 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_pw_salt" >&5
21536 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_get_pw_salt" >&6
21537 if test $ac_cv_lib_krb5_krb5_get_pw_salt = yes; then
21539 cat >>confdefs.h
<<\_ACEOF
21540 #define HAVE_KRB5_GET_PW_SALT 1
21545 echo "$as_me:$LINENO: checking for krb5_string_to_key_salt in -lkrb5" >&5
21546 echo $ECHO_N "checking for krb5_string_to_key_salt in -lkrb5... $ECHO_C" >&6
21547 if test "${ac_cv_lib_krb5_krb5_string_to_key_salt+set}" = set; then
21548 echo $ECHO_N "(cached) $ECHO_C" >&6
21550 ac_check_lib_save_LIBS
=$LIBS
21551 LIBS
="-lkrb5 $LIBS"
21552 cat >conftest.
$ac_ext <<_ACEOF
21553 #line $LINENO "configure"
21554 #include "confdefs.h"
21556 /* Override any gcc2 internal prototype to avoid an error. */
21560 /* We use char because int might match the return type of a gcc2
21561 builtin and then its argument prototype would still apply. */
21562 char krb5_string_to_key_salt ();
21563 #ifdef F77_DUMMY_MAIN
21564 # ifdef __cplusplus
21567 int F77_DUMMY_MAIN() { return 1; }
21572 krb5_string_to_key_salt ();
21577 rm -f conftest.
$ac_objext conftest
$ac_exeext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21579 (eval $ac_link) 2>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); } &&
21583 { ac_try
='test -s conftest$ac_exeext'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; }; then
21589 ac_cv_lib_krb5_krb5_string_to_key_salt
=yes
21591 echo "$as_me: failed program was:" >&5
21592 cat conftest.
$ac_ext >&5
21593 ac_cv_lib_krb5_krb5_string_to_key_salt
=no
21595 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21596 LIBS
=$ac_check_lib_save_LIBS
21598 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_string_to_key_salt" >&5
21599 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_string_to_key_salt" >&6
21600 if test $ac_cv_lib_krb5_krb5_string_to_key_salt = yes; then
21602 cat >>confdefs.h
<<\_ACEOF
21603 #define HAVE_KRB5_STRING_TO_KEY_SALT 1
21608 echo "$as_me:$LINENO: checking for krb5_auth_con_setkey in -lkrb5" >&5
21609 echo $ECHO_N "checking for krb5_auth_con_setkey in -lkrb5... $ECHO_C" >&6
21610 if test "${ac_cv_lib_krb5_krb5_auth_con_setkey+set}" = set; then
21611 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 ac_check_lib_save_LIBS
=$LIBS
21614 LIBS
="-lkrb5 $LIBS"
21615 cat >conftest.
$ac_ext <<_ACEOF
21616 #line $LINENO "configure"
21617 #include "confdefs.h"
21619 /* Override any gcc2 internal prototype to avoid an error. */
21623 /* We use char because int might match the return type of a gcc2
21624 builtin and then its argument prototype would still apply. */
21625 char krb5_auth_con_setkey ();
21626 #ifdef F77_DUMMY_MAIN
21627 # ifdef __cplusplus
21630 int F77_DUMMY_MAIN() { return 1; }
21635 krb5_auth_con_setkey ();
21640 rm -f conftest.
$ac_objext conftest
$ac_exeext
21641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21642 (eval $ac_link) 2>&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } &&
21646 { ac_try
='test -s conftest$ac_exeext'
21647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21648 (eval $ac_try) 2>&5
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; }; then
21652 ac_cv_lib_krb5_krb5_auth_con_setkey
=yes
21654 echo "$as_me: failed program was:" >&5
21655 cat conftest.
$ac_ext >&5
21656 ac_cv_lib_krb5_krb5_auth_con_setkey
=no
21658 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21659 LIBS
=$ac_check_lib_save_LIBS
21661 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_auth_con_setkey" >&5
21662 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_auth_con_setkey" >&6
21663 if test $ac_cv_lib_krb5_krb5_auth_con_setkey = yes; then
21665 cat >>confdefs.h
<<\_ACEOF
21666 #define HAVE_KRB5_AUTH_CON_SETKEY 1
21671 echo "$as_me:$LINENO: checking for krb5_auth_con_setuseruserkey in -lkrb5" >&5
21672 echo $ECHO_N "checking for krb5_auth_con_setuseruserkey in -lkrb5... $ECHO_C" >&6
21673 if test "${ac_cv_lib_krb5_krb5_auth_con_setuseruserkey+set}" = set; then
21674 echo $ECHO_N "(cached) $ECHO_C" >&6
21676 ac_check_lib_save_LIBS
=$LIBS
21677 LIBS
="-lkrb5 $LIBS"
21678 cat >conftest.
$ac_ext <<_ACEOF
21679 #line $LINENO "configure"
21680 #include "confdefs.h"
21682 /* Override any gcc2 internal prototype to avoid an error. */
21686 /* We use char because int might match the return type of a gcc2
21687 builtin and then its argument prototype would still apply. */
21688 char krb5_auth_con_setuseruserkey ();
21689 #ifdef F77_DUMMY_MAIN
21690 # ifdef __cplusplus
21693 int F77_DUMMY_MAIN() { return 1; }
21698 krb5_auth_con_setuseruserkey ();
21703 rm -f conftest.
$ac_objext conftest
$ac_exeext
21704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21705 (eval $ac_link) 2>&5
21707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21708 (exit $ac_status); } &&
21709 { ac_try
='test -s conftest$ac_exeext'
21710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711 (eval $ac_try) 2>&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); }; }; then
21715 ac_cv_lib_krb5_krb5_auth_con_setuseruserkey
=yes
21717 echo "$as_me: failed program was:" >&5
21718 cat conftest.
$ac_ext >&5
21719 ac_cv_lib_krb5_krb5_auth_con_setuseruserkey
=no
21721 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21722 LIBS
=$ac_check_lib_save_LIBS
21724 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_auth_con_setuseruserkey" >&5
21725 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_auth_con_setuseruserkey" >&6
21726 if test $ac_cv_lib_krb5_krb5_auth_con_setuseruserkey = yes; then
21728 cat >>confdefs.h
<<\_ACEOF
21729 #define HAVE_KRB5_AUTH_CON_SETUSERUSERKEY 1
21734 echo "$as_me:$LINENO: checking for krb5_locate_kdc in -lkrb5" >&5
21735 echo $ECHO_N "checking for krb5_locate_kdc in -lkrb5... $ECHO_C" >&6
21736 if test "${ac_cv_lib_krb5_krb5_locate_kdc+set}" = set; then
21737 echo $ECHO_N "(cached) $ECHO_C" >&6
21739 ac_check_lib_save_LIBS
=$LIBS
21740 LIBS
="-lkrb5 $LIBS"
21741 cat >conftest.
$ac_ext <<_ACEOF
21742 #line $LINENO "configure"
21743 #include "confdefs.h"
21745 /* Override any gcc2 internal prototype to avoid an error. */
21749 /* We use char because int might match the return type of a gcc2
21750 builtin and then its argument prototype would still apply. */
21751 char krb5_locate_kdc ();
21752 #ifdef F77_DUMMY_MAIN
21753 # ifdef __cplusplus
21756 int F77_DUMMY_MAIN() { return 1; }
21761 krb5_locate_kdc ();
21766 rm -f conftest.
$ac_objext conftest
$ac_exeext
21767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21768 (eval $ac_link) 2>&5
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); } &&
21772 { ac_try
='test -s conftest$ac_exeext'
21773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21774 (eval $ac_try) 2>&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); }; }; then
21778 ac_cv_lib_krb5_krb5_locate_kdc
=yes
21780 echo "$as_me: failed program was:" >&5
21781 cat conftest.
$ac_ext >&5
21782 ac_cv_lib_krb5_krb5_locate_kdc
=no
21784 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21785 LIBS
=$ac_check_lib_save_LIBS
21787 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_locate_kdc" >&5
21788 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_locate_kdc" >&6
21789 if test $ac_cv_lib_krb5_krb5_locate_kdc = yes; then
21791 cat >>confdefs.h
<<\_ACEOF
21792 #define HAVE_KRB5_LOCATE_KDC 1
21798 echo "$as_me:$LINENO: checking for addrtype in krb5_address" >&5
21799 echo $ECHO_N "checking for addrtype in krb5_address... $ECHO_C" >&6
21800 if test "${samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS+set}" = set; then
21801 echo $ECHO_N "(cached) $ECHO_C" >&6
21804 cat >conftest.
$ac_ext <<_ACEOF
21805 #line $LINENO "configure"
21806 #include "confdefs.h"
21808 #ifdef F77_DUMMY_MAIN
21809 # ifdef __cplusplus
21812 int F77_DUMMY_MAIN() { return 1; }
21817 krb5_address kaddr; kaddr.addrtype = ADDRTYPE_INET;
21822 rm -f conftest.
$ac_objext
21823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21824 (eval $ac_compile) 2>&5
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); } &&
21828 { ac_try
='test -s conftest.$ac_objext'
21829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21830 (eval $ac_try) 2>&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); }; }; then
21834 samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS
=yes
21836 echo "$as_me: failed program was:" >&5
21837 cat conftest.
$ac_ext >&5
21838 samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS
=no
21840 rm -f conftest.
$ac_objext conftest.
$ac_ext
21842 echo "$as_me:$LINENO: result: $samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS" >&5
21843 echo "${ECHO_T}$samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS" >&6
21844 if test x
"$samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS" = x
"yes"; then
21846 cat >>confdefs.h
<<\_ACEOF
21847 #define HAVE_ADDRTYPE_IN_KRB5_ADDRESS 1
21852 echo "$as_me:$LINENO: checking for addr_type in krb5_address" >&5
21853 echo $ECHO_N "checking for addr_type in krb5_address... $ECHO_C" >&6
21854 if test "${samba_cv_HAVE_ADDR_TYPE_IN_KRB5_ADDRESS+set}" = set; then
21855 echo $ECHO_N "(cached) $ECHO_C" >&6
21858 cat >conftest.
$ac_ext <<_ACEOF
21859 #line $LINENO "configure"
21860 #include "confdefs.h"
21862 #ifdef F77_DUMMY_MAIN
21863 # ifdef __cplusplus
21866 int F77_DUMMY_MAIN() { return 1; }
21871 krb5_address kaddr; kaddr.addr_type = KRB5_ADDRESS_INET;
21876 rm -f conftest.
$ac_objext
21877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21878 (eval $ac_compile) 2>&5
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); } &&
21882 { ac_try
='test -s conftest.$ac_objext'
21883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21884 (eval $ac_try) 2>&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); }; }; then
21888 samba_cv_HAVE_ADDR_TYPE_IN_KRB5_ADDRESS
=yes
21890 echo "$as_me: failed program was:" >&5
21891 cat conftest.
$ac_ext >&5
21892 samba_cv_HAVE_ADDR_TYPE_IN_KRB5_ADDRESS
=no
21894 rm -f conftest.
$ac_objext conftest.
$ac_ext
21896 echo "$as_me:$LINENO: result: $samba_cv_HAVE_ADDR_TYPE_IN_KRB5_ADDRESS" >&5
21897 echo "${ECHO_T}$samba_cv_HAVE_ADDR_TYPE_IN_KRB5_ADDRESS" >&6
21898 if test x
"$samba_cv_HAVE_ADDR_TYPE_IN_KRB5_ADDRESS" = x
"yes"; then
21900 cat >>confdefs.h
<<\_ACEOF
21901 #define HAVE_ADDR_TYPE_IN_KRB5_ADDRESS 1
21906 echo "$as_me:$LINENO: checking for enc_part2 in krb5_ticket" >&5
21907 echo $ECHO_N "checking for enc_part2 in krb5_ticket... $ECHO_C" >&6
21908 if test "${samba_cv_HAVE_KRB5_TKT_ENC_PART2+set}" = set; then
21909 echo $ECHO_N "(cached) $ECHO_C" >&6
21912 cat >conftest.
$ac_ext <<_ACEOF
21913 #line $LINENO "configure"
21914 #include "confdefs.h"
21916 #ifdef F77_DUMMY_MAIN
21917 # ifdef __cplusplus
21920 int F77_DUMMY_MAIN() { return 1; }
21925 krb5_ticket tkt; tkt.enc_part2->authorization_data[0]->contents = NULL;
21930 rm -f conftest.
$ac_objext
21931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21932 (eval $ac_compile) 2>&5
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); } &&
21936 { ac_try
='test -s conftest.$ac_objext'
21937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21938 (eval $ac_try) 2>&5
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); }; }; then
21942 samba_cv_HAVE_KRB5_TKT_ENC_PART2
=yes
21944 echo "$as_me: failed program was:" >&5
21945 cat conftest.
$ac_ext >&5
21946 samba_cv_HAVE_KRB5_TKT_ENC_PART2
=no
21948 rm -f conftest.
$ac_objext conftest.
$ac_ext
21950 echo "$as_me:$LINENO: result: $samba_cv_HAVE_KRB5_TKT_ENC_PART2" >&5
21951 echo "${ECHO_T}$samba_cv_HAVE_KRB5_TKT_ENC_PART2" >&6
21952 if test x
"$samba_cv_HAVE_KRB5_TKT_ENC_PART2" = x
"yes"; then
21954 cat >>confdefs.h
<<\_ACEOF
21955 #define HAVE_KRB5_TKT_ENC_PART2 1
21960 ########################################################
21961 # now see if we can find the krb5 libs in standard paths
21962 # or as specified above
21963 echo "$as_me:$LINENO: checking for krb5_mk_req_extended in -lkrb5" >&5
21964 echo $ECHO_N "checking for krb5_mk_req_extended in -lkrb5... $ECHO_C" >&6
21965 if test "${ac_cv_lib_krb5_krb5_mk_req_extended+set}" = set; then
21966 echo $ECHO_N "(cached) $ECHO_C" >&6
21968 ac_check_lib_save_LIBS
=$LIBS
21969 LIBS
="-lkrb5 $LIBS"
21970 cat >conftest.
$ac_ext <<_ACEOF
21971 #line $LINENO "configure"
21972 #include "confdefs.h"
21974 /* Override any gcc2 internal prototype to avoid an error. */
21978 /* We use char because int might match the return type of a gcc2
21979 builtin and then its argument prototype would still apply. */
21980 char krb5_mk_req_extended ();
21981 #ifdef F77_DUMMY_MAIN
21982 # ifdef __cplusplus
21985 int F77_DUMMY_MAIN() { return 1; }
21990 krb5_mk_req_extended ();
21995 rm -f conftest.
$ac_objext conftest
$ac_exeext
21996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21997 (eval $ac_link) 2>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); } &&
22001 { ac_try
='test -s conftest$ac_exeext'
22002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22003 (eval $ac_try) 2>&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); }; }; then
22007 ac_cv_lib_krb5_krb5_mk_req_extended
=yes
22009 echo "$as_me: failed program was:" >&5
22010 cat conftest.
$ac_ext >&5
22011 ac_cv_lib_krb5_krb5_mk_req_extended
=no
22013 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22014 LIBS
=$ac_check_lib_save_LIBS
22016 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_mk_req_extended" >&5
22017 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_mk_req_extended" >&6
22018 if test $ac_cv_lib_krb5_krb5_mk_req_extended = yes; then
22019 LIBS
="$LIBS -lkrb5";
22021 cat >>confdefs.h
<<\_ACEOF
22022 #define HAVE_KRB5 1
22028 ########################################################
22029 # now see if we can find the gssapi libs in standard paths
22030 echo "$as_me:$LINENO: checking for gss_display_status in -lgssapi_krb5" >&5
22031 echo $ECHO_N "checking for gss_display_status in -lgssapi_krb5... $ECHO_C" >&6
22032 if test "${ac_cv_lib_gssapi_krb5_gss_display_status+set}" = set; then
22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22035 ac_check_lib_save_LIBS
=$LIBS
22036 LIBS
="-lgssapi_krb5 $LIBS"
22037 cat >conftest.
$ac_ext <<_ACEOF
22038 #line $LINENO "configure"
22039 #include "confdefs.h"
22041 /* Override any gcc2 internal prototype to avoid an error. */
22045 /* We use char because int might match the return type of a gcc2
22046 builtin and then its argument prototype would still apply. */
22047 char gss_display_status ();
22048 #ifdef F77_DUMMY_MAIN
22049 # ifdef __cplusplus
22052 int F77_DUMMY_MAIN() { return 1; }
22057 gss_display_status ();
22062 rm -f conftest.
$ac_objext conftest
$ac_exeext
22063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22064 (eval $ac_link) 2>&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } &&
22068 { ac_try
='test -s conftest$ac_exeext'
22069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070 (eval $ac_try) 2>&5
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; }; then
22074 ac_cv_lib_gssapi_krb5_gss_display_status
=yes
22076 echo "$as_me: failed program was:" >&5
22077 cat conftest.
$ac_ext >&5
22078 ac_cv_lib_gssapi_krb5_gss_display_status
=no
22080 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22081 LIBS
=$ac_check_lib_save_LIBS
22083 echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_display_status" >&5
22084 echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_display_status" >&6
22085 if test $ac_cv_lib_gssapi_krb5_gss_display_status = yes; then
22086 LIBS
="$LIBS -lgssapi_krb5";
22088 cat >>confdefs.h
<<\_ACEOF
22089 #define HAVE_GSSAPI 1
22096 ########################################################
22097 # Compile with LDAP support?
22099 with_ldap_support
=yes
22100 echo "$as_me:$LINENO: checking whether to use LDAP" >&5
22101 echo $ECHO_N "checking whether to use LDAP... $ECHO_C" >&6
22104 # Check whether --with-ldap or --without-ldap was given.
22105 if test "${with_ldap+set}" = set; then
22106 withval
="$with_ldap"
22109 with_ldap_support
=no
22114 echo "$as_me:$LINENO: result: $with_ldap_support" >&5
22115 echo "${ECHO_T}$with_ldap_support" >&6
22117 if test x
"$with_ldap_support" = x
"yes"; then
22119 ##################################################################
22120 # we might need the lber lib on some systems. To avoid link errors
22121 # this test must be before the libldap test
22122 echo "$as_me:$LINENO: checking for ber_scanf in -llber" >&5
22123 echo $ECHO_N "checking for ber_scanf in -llber... $ECHO_C" >&6
22124 if test "${ac_cv_lib_lber_ber_scanf+set}" = set; then
22125 echo $ECHO_N "(cached) $ECHO_C" >&6
22127 ac_check_lib_save_LIBS
=$LIBS
22128 LIBS
="-llber $LIBS"
22129 cat >conftest.
$ac_ext <<_ACEOF
22130 #line $LINENO "configure"
22131 #include "confdefs.h"
22133 /* Override any gcc2 internal prototype to avoid an error. */
22137 /* We use char because int might match the return type of a gcc2
22138 builtin and then its argument prototype would still apply. */
22140 #ifdef F77_DUMMY_MAIN
22141 # ifdef __cplusplus
22144 int F77_DUMMY_MAIN() { return 1; }
22154 rm -f conftest.
$ac_objext conftest
$ac_exeext
22155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22156 (eval $ac_link) 2>&5
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); } &&
22160 { ac_try
='test -s conftest$ac_exeext'
22161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22162 (eval $ac_try) 2>&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); }; }; then
22166 ac_cv_lib_lber_ber_scanf
=yes
22168 echo "$as_me: failed program was:" >&5
22169 cat conftest.
$ac_ext >&5
22170 ac_cv_lib_lber_ber_scanf
=no
22172 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22173 LIBS
=$ac_check_lib_save_LIBS
22175 echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_scanf" >&5
22176 echo "${ECHO_T}$ac_cv_lib_lber_ber_scanf" >&6
22177 if test $ac_cv_lib_lber_ber_scanf = yes; then
22178 LIBS
="$LIBS -llber"
22182 ########################################################
22183 # now see if we can find the ldap libs in standard paths
22184 if test x
$have_ldap != xyes
; then
22185 echo "$as_me:$LINENO: checking for ldap_domain2hostlist in -lldap" >&5
22186 echo $ECHO_N "checking for ldap_domain2hostlist in -lldap... $ECHO_C" >&6
22187 if test "${ac_cv_lib_ldap_ldap_domain2hostlist+set}" = set; then
22188 echo $ECHO_N "(cached) $ECHO_C" >&6
22190 ac_check_lib_save_LIBS
=$LIBS
22191 LIBS
="-lldap $LIBS"
22192 cat >conftest.
$ac_ext <<_ACEOF
22193 #line $LINENO "configure"
22194 #include "confdefs.h"
22196 /* Override any gcc2 internal prototype to avoid an error. */
22200 /* We use char because int might match the return type of a gcc2
22201 builtin and then its argument prototype would still apply. */
22202 char ldap_domain2hostlist ();
22203 #ifdef F77_DUMMY_MAIN
22204 # ifdef __cplusplus
22207 int F77_DUMMY_MAIN() { return 1; }
22212 ldap_domain2hostlist ();
22217 rm -f conftest.
$ac_objext conftest
$ac_exeext
22218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22219 (eval $ac_link) 2>&5
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); } &&
22223 { ac_try
='test -s conftest$ac_exeext'
22224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22225 (eval $ac_try) 2>&5
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); }; }; then
22229 ac_cv_lib_ldap_ldap_domain2hostlist
=yes
22231 echo "$as_me: failed program was:" >&5
22232 cat conftest.
$ac_ext >&5
22233 ac_cv_lib_ldap_ldap_domain2hostlist
=no
22235 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22236 LIBS
=$ac_check_lib_save_LIBS
22238 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_domain2hostlist" >&5
22239 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_domain2hostlist" >&6
22240 if test $ac_cv_lib_ldap_ldap_domain2hostlist = yes; then
22241 LIBS
="$LIBS -lldap";
22243 cat >>confdefs.h
<<\_ACEOF
22244 #define HAVE_LDAP 1
22250 ########################################################
22251 # If we have LDAP, does it's rebind procedure take 2 or 3 arguments?
22252 # Check found in pam_ldap 145.
22254 for ac_func
in ldap_set_rebind_proc
22256 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22257 echo "$as_me:$LINENO: checking for $ac_func" >&5
22258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22259 if eval "test \"\${$as_ac_var+set}\" = set"; then
22260 echo $ECHO_N "(cached) $ECHO_C" >&6
22262 cat >conftest.
$ac_ext <<_ACEOF
22263 #line $LINENO "configure"
22264 #include "confdefs.h"
22265 /* System header to define __stub macros and hopefully few prototypes,
22266 which can conflict with char $ac_func (); below. */
22267 #include <assert.h>
22268 /* Override any gcc2 internal prototype to avoid an error. */
22272 /* We use char because int might match the return type of a gcc2
22273 builtin and then its argument prototype would still apply. */
22277 #ifdef F77_DUMMY_MAIN
22278 # ifdef __cplusplus
22281 int F77_DUMMY_MAIN() { return 1; }
22286 /* The GNU C library defines this for functions which it implements
22287 to always fail with ENOSYS. Some functions are actually named
22288 something starting with __ and the normal name is an alias. */
22289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22299 rm -f conftest.
$ac_objext conftest
$ac_exeext
22300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22301 (eval $ac_link) 2>&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); } &&
22305 { ac_try
='test -s conftest$ac_exeext'
22306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22307 (eval $ac_try) 2>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); }; }; then
22311 eval "$as_ac_var=yes"
22313 echo "$as_me: failed program was:" >&5
22314 cat conftest.
$ac_ext >&5
22315 eval "$as_ac_var=no"
22317 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22321 if test `eval echo '${'$as_ac_var'}'` = yes; then
22322 cat >>confdefs.h
<<_ACEOF
22323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22329 echo "$as_me:$LINENO: checking whether ldap_set_rebind_proc takes 3 arguments" >&5
22330 echo $ECHO_N "checking whether ldap_set_rebind_proc takes 3 arguments... $ECHO_C" >&6
22331 if test "${pam_ldap_cv_ldap_set_rebind_proc+set}" = set; then
22332 echo $ECHO_N "(cached) $ECHO_C" >&6
22335 cat >conftest.
$ac_ext <<_ACEOF
22336 #line $LINENO "configure"
22337 #include "confdefs.h"
22341 #ifdef F77_DUMMY_MAIN
22342 # ifdef __cplusplus
22345 int F77_DUMMY_MAIN() { return 1; }
22350 ldap_set_rebind_proc(0, 0, 0);
22355 rm -f conftest.
$ac_objext
22356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22357 (eval $ac_compile) 2>&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); } &&
22361 { ac_try
='test -s conftest.$ac_objext'
22362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22363 (eval $ac_try) 2>&5
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); }; }; then
22367 pam_ldap_cv_ldap_set_rebind_proc
=3
22369 echo "$as_me: failed program was:" >&5
22370 cat conftest.
$ac_ext >&5
22371 pam_ldap_cv_ldap_set_rebind_proc
=2
22373 rm -f conftest.
$ac_objext conftest.
$ac_ext
22375 echo "$as_me:$LINENO: result: $pam_ldap_cv_ldap_set_rebind_proc" >&5
22376 echo "${ECHO_T}$pam_ldap_cv_ldap_set_rebind_proc" >&6
22378 cat >>confdefs.h
<<_ACEOF
22379 #define LDAP_SET_REBIND_PROC_ARGS $pam_ldap_cv_ldap_set_rebind_proc
22385 ########################################################
22386 # Compile with MySQL support?
22388 # Check whether --with-mysql-prefix or --without-mysql-prefix was given.
22389 if test "${with_mysql_prefix+set}" = set; then
22390 withval
="$with_mysql_prefix"
22391 mysql_prefix
="$withval"
22396 # Check whether --with-mysql-exec-prefix or --without-mysql-exec-prefix was given.
22397 if test "${with_mysql_exec_prefix+set}" = set; then
22398 withval
="$with_mysql_exec_prefix"
22399 mysql_exec_prefix
="$withval"
22401 mysql_exec_prefix
=""
22403 # Check whether --enable-mysqltest or --disable-mysqltest was given.
22404 if test "${enable_mysqltest+set}" = set; then
22405 enableval
="$enable_mysqltest"
22408 enable_mysqltest
=yes
22411 if test x
$mysql_exec_prefix != x
; then
22412 mysql_args
="$mysql_args --exec-prefix=$mysql_exec_prefix"
22413 if test x
${MYSQL_CONFIG+set} != xset
; then
22414 MYSQL_CONFIG
=$mysql_exec_prefix/bin
/mysql_config
22417 if test x
$mysql_prefix != x
; then
22418 mysql_args
="$mysql_args --prefix=$mysql_prefix"
22419 if test x
${MYSQL_CONFIG+set} != xset
; then
22420 MYSQL_CONFIG
=$mysql_prefix/bin
/mysql_config
22425 # Extract the first word of "mysql_config", so it can be a program name with args.
22426 set dummy mysql_config
; ac_word
=$2
22427 echo "$as_me:$LINENO: checking for $ac_word" >&5
22428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22429 if test "${ac_cv_path_MYSQL_CONFIG+set}" = set; then
22430 echo $ECHO_N "(cached) $ECHO_C" >&6
22432 case $MYSQL_CONFIG in
22434 ac_cv_path_MYSQL_CONFIG
="$MYSQL_CONFIG" # Let the user override the test with a path.
22437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22438 for as_dir
in $PATH
22441 test -z "$as_dir" && as_dir
=.
22442 for ac_exec_ext
in '' $ac_executable_extensions; do
22443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22444 ac_cv_path_MYSQL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22451 test -z "$ac_cv_path_MYSQL_CONFIG" && ac_cv_path_MYSQL_CONFIG
="no"
22455 MYSQL_CONFIG
=$ac_cv_path_MYSQL_CONFIG
22457 if test -n "$MYSQL_CONFIG"; then
22458 echo "$as_me:$LINENO: result: $MYSQL_CONFIG" >&5
22459 echo "${ECHO_T}$MYSQL_CONFIG" >&6
22461 echo "$as_me:$LINENO: result: no" >&5
22462 echo "${ECHO_T}no" >&6
22465 min_mysql_version
=0.11.0
22466 echo "$as_me:$LINENO: checking for MYSQL - version >= $min_mysql_version" >&5
22467 echo $ECHO_N "checking for MYSQL - version >= $min_mysql_version... $ECHO_C" >&6
22469 if test "$MYSQL_CONFIG" = "no" ; then
22472 MYSQL_CFLAGS
=`$MYSQL_CONFIG $mysqlconf_args --cflags | sed -e "s/'//g"`
22473 MYSQL_LIBS
=`$MYSQL_CONFIG $mysqlconf_args --libs | sed -e "s/'//g"`
22475 mysql_major_version
=`$MYSQL_CONFIG $mysql_args --version | \
22476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22477 mysql_minor_version
=`$MYSQL_CONFIG $mysql_args --version | \
22478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22479 mysql_micro_version
=`$MYSQL_CONFIG $mysql_config_args --version | \
22480 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22481 if test "x$enable_mysqltest" = "xyes" ; then
22482 ac_save_CFLAGS
="$CFLAGS"
22483 ac_save_LIBS
="$LIBS"
22484 CFLAGS
="$CFLAGS $MYSQL_CFLAGS"
22485 LIBS
="$LIBS $MYSQL_LIBS"
22486 rm -f conf.mysqltest
22487 if test "$cross_compiling" = yes; then
22488 echo $ac_n "cross compiling; assumed OK... $ac_c"
22490 cat >conftest.
$ac_ext <<_ACEOF
22491 #line $LINENO "configure"
22492 #include "confdefs.h"
22495 #include <stdlib.h>
22496 #include <string.h>
22500 my_strdup (char *str)
22506 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
22507 strcpy (new_str, str);
22515 int main (int argc, char *argv[])
22517 int major, minor, micro;
22520 /* This hangs on some systems (?)
22521 system ("touch conf.mysqltest");
22523 { FILE *fp = fopen("conf.mysqltest", "a"); if ( fp ) fclose(fp); }
22525 /* HP/UX 9 (%@#!) writes to sscanf strings */
22526 tmp_version = my_strdup("$min_mysql_version");
22527 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22528 printf("%s, bad version string\n", "$min_mysql_version");
22532 if (($mysql_major_version > major) ||
22533 (($mysql_major_version == major) && ($mysql_minor_version > minor)) ||
22534 (($mysql_major_version == major) && ($mysql_minor_version == minor) && ($mysql_micro_version >= micro)))
22540 printf("\n*** 'mysql_config --version' returned %d.%d.%d, but the minimum version\n", $mysql_major_version, $mysql_minor_version, $mysql_micro_version);
22541 printf("*** of MYSQL required is %d.%d.%d. If mysql_config is correct, then it is\n", major, minor, micro);
22542 printf("*** best to upgrade to the required version.\n");
22543 printf("*** If mysql_config was wrong, set the environment variable MYSQL_CONFIG\n");
22544 printf("*** to point to the correct copy of mysql_config, and remove the file\n");
22545 printf("*** config.cache before re-running configure\n");
22552 rm -f conftest
$ac_exeext
22553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22554 (eval $ac_link) 2>&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22559 (eval $ac_try) 2>&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); }; }; then
22565 echo "$as_me: program exited with status $ac_status" >&5
22566 echo "$as_me: failed program was:" >&5
22567 cat conftest.
$ac_ext >&5
22568 ( exit $ac_status )
22571 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22573 CFLAGS
="$ac_save_CFLAGS"
22574 LIBS
="$ac_save_LIBS"
22577 if test "x$no_mysql" = x
; then
22578 echo "$as_me:$LINENO: result: yes" >&5
22579 echo "${ECHO_T}yes" >&6
22580 MODULE_MYSQL
=bin
/pdb_mysql.so
22582 echo "$as_me:$LINENO: result: no" >&5
22583 echo "${ECHO_T}no" >&6
22584 if test "$MYSQL_CONFIG" = "no" ; then
22585 echo "*** The mysql_config script installed by MYSQL could not be found"
22586 echo "*** If MYSQL was installed in PREFIX, make sure PREFIX/bin is in"
22587 echo "*** your path, or set the MYSQL_CONFIG environment variable to the"
22588 echo "*** full path to mysql_config."
22590 if test -f conf.mysqltest
; then
22593 echo "*** Could not run MYSQL test program, checking why..."
22594 CFLAGS
="$CFLAGS $MYSQL_CFLAGS"
22595 LIBS
="$LIBS $MYSQL_LIBS"
22596 cat >conftest.
$ac_ext <<_ACEOF
22597 #line $LINENO "configure"
22598 #include "confdefs.h"
22603 int main(int argc, char *argv[])
22606 #define main K_and_R_C_main
22608 #ifdef F77_DUMMY_MAIN
22609 # ifdef __cplusplus
22612 int F77_DUMMY_MAIN() { return 1; }
22622 rm -f conftest.
$ac_objext conftest
$ac_exeext
22623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22624 (eval $ac_link) 2>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try
='test -s conftest$ac_exeext'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22634 echo "*** The test program compiled, but did not run. This usually means"
22635 echo "*** that the run-time linker is not finding MYSQL or finding the wrong"
22636 echo "*** version of MYSQL. If it is not finding MYSQL, you'll need to set your"
22637 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22638 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22639 echo "*** is required on your system"
22641 echo "*** If you have an old version installed, it is best to remove it, although"
22642 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22644 echo "$as_me: failed program was:" >&5
22645 cat conftest.
$ac_ext >&5
22646 echo "*** The test program failed to compile or link. See the file config.log for the"
22647 echo "*** exact error that occured. This usually means MYSQL was incorrectly installed"
22648 echo "*** or that you have moved MYSQL since it was installed. In the latter case, you"
22649 echo "*** may want to edit the mysql_config script: $MYSQL_CONFIG"
22651 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22652 CFLAGS
="$ac_save_CFLAGS"
22653 LIBS
="$ac_save_LIBS"
22662 rm -f conf.mysqltest
22664 CFLAGS
="$CFLAGS $MYSQL_CFLAGS"
22667 ########################################################
22668 # Compile with XML support?
22671 # Check whether --with-xml-prefix or --without-xml-prefix was given.
22672 if test "${with_xml_prefix+set}" = set; then
22673 withval
="$with_xml_prefix"
22674 xml_config_prefix
="$withval"
22676 xml_config_prefix
=""
22679 # Check whether --with-xml-exec-prefix or --without-xml-exec-prefix was given.
22680 if test "${with_xml_exec_prefix+set}" = set; then
22681 withval
="$with_xml_exec_prefix"
22682 xml_config_exec_prefix
="$withval"
22684 xml_config_exec_prefix
=""
22686 # Check whether --enable-xmltest or --disable-xmltest was given.
22687 if test "${enable_xmltest+set}" = set; then
22688 enableval
="$enable_xmltest"
22694 if test x
$xml_config_exec_prefix != x
; then
22695 xml_config_args
="$xml_config_args --exec-prefix=$xml_config_exec_prefix"
22696 if test x
${XML2_CONFIG+set} != xset
; then
22697 XML2_CONFIG
=$xml_config_exec_prefix/bin
/xml2-config
22700 if test x
$xml_config_prefix != x
; then
22701 xml_config_args
="$xml_config_args --prefix=$xml_config_prefix"
22702 if test x
${XML2_CONFIG+set} != xset
; then
22703 XML2_CONFIG
=$xml_config_prefix/bin
/xml2-config
22707 # Extract the first word of "xml2-config", so it can be a program name with args.
22708 set dummy xml2-config
; ac_word
=$2
22709 echo "$as_me:$LINENO: checking for $ac_word" >&5
22710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22711 if test "${ac_cv_path_XML2_CONFIG+set}" = set; then
22712 echo $ECHO_N "(cached) $ECHO_C" >&6
22714 case $XML2_CONFIG in
22716 ac_cv_path_XML2_CONFIG
="$XML2_CONFIG" # Let the user override the test with a path.
22719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22720 for as_dir
in $PATH
22723 test -z "$as_dir" && as_dir
=.
22724 for ac_exec_ext
in '' $ac_executable_extensions; do
22725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22726 ac_cv_path_XML2_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22733 test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG
="no"
22737 XML2_CONFIG
=$ac_cv_path_XML2_CONFIG
22739 if test -n "$XML2_CONFIG"; then
22740 echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5
22741 echo "${ECHO_T}$XML2_CONFIG" >&6
22743 echo "$as_me:$LINENO: result: no" >&5
22744 echo "${ECHO_T}no" >&6
22747 min_xml_version
=2.0.0
22748 echo "$as_me:$LINENO: checking for libxml - version >= $min_xml_version" >&5
22749 echo $ECHO_N "checking for libxml - version >= $min_xml_version... $ECHO_C" >&6
22751 if test "$XML2_CONFIG" = "no" ; then
22754 XML_CFLAGS
=`$XML2_CONFIG $xml_config_args --cflags`
22755 XML_LIBS
=`$XML2_CONFIG $xml_config_args --libs`
22756 xml_config_major_version
=`$XML2_CONFIG $xml_config_args --version | \
22757 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22758 xml_config_minor_version
=`$XML2_CONFIG $xml_config_args --version | \
22759 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22760 xml_config_micro_version
=`$XML2_CONFIG $xml_config_args --version | \
22761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22762 if test "x$enable_xmltest" = "xyes" ; then
22763 ac_save_CFLAGS
="$CFLAGS"
22764 ac_save_LIBS
="$LIBS"
22765 CFLAGS
="$CFLAGS $XML_CFLAGS"
22766 LIBS
="$XML_LIBS $LIBS"
22768 if test "$cross_compiling" = yes; then
22769 echo $ac_n "cross compiling; assumed OK... $ac_c"
22771 cat >conftest.
$ac_ext <<_ACEOF
22772 #line $LINENO "configure"
22773 #include "confdefs.h"
22775 #include <stdlib.h>
22777 #include <string.h>
22778 #include <libxml/xmlversion.h>
22783 int xml_major_version, xml_minor_version, xml_micro_version;
22784 int major, minor, micro;
22787 system("touch conf.xmltest");
22789 /* Capture xml2-config output via autoconf/configure variables */
22790 /* HP/UX 9 (%@#!) writes to sscanf strings */
22791 tmp_version = (char *)strdup("$min_xml_version");
22792 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22793 printf("%s, bad version string from xml2-config\n", "$min_xml_version");
22798 /* Capture the version information from the header files */
22799 tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
22800 if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) {
22801 printf("%s, bad version string from libxml includes\n", "LIBXML_DOTTED_VERSION");
22806 /* Compare xml2-config output to the libxml headers */
22807 if ((xml_major_version != $xml_config_major_version) ||
22808 (xml_minor_version != $xml_config_minor_version) ||
22809 (xml_micro_version != $xml_config_micro_version))
22811 printf("*** libxml header files (version %d.%d.%d) do not match\n",
22812 xml_major_version, xml_minor_version, xml_micro_version);
22813 printf("*** xml2-config (version %d.%d.%d)\n",
22814 $xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version);
22817 /* Compare the headers to the library to make sure we match */
22818 /* Less than ideal -- doesn't provide us with return value feedback,
22819 * only exits if there's a serious mismatch between header and library.
22821 LIBXML_TEST_VERSION;
22823 /* Test that the library is greater than our minimum version */
22824 if ((xml_major_version > major) ||
22825 ((xml_major_version == major) && (xml_minor_version > minor)) ||
22826 ((xml_major_version == major) && (xml_minor_version == minor) &&
22827 (xml_micro_version >= micro)))
22833 printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
22834 xml_major_version, xml_minor_version, xml_micro_version);
22835 printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
22836 major, minor, micro);
22837 printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
22839 printf("*** If you have already installed a sufficiently new version, this error\n");
22840 printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
22841 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22842 printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n");
22843 printf("*** correct copy of xml2-config. (In this case, you will have to\n");
22844 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22845 printf("*** so that the correct libraries are found at run-time))\n");
22851 rm -f conftest
$ac_exeext
22852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22853 (eval $ac_link) 2>&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858 (eval $ac_try) 2>&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; }; then
22864 echo "$as_me: program exited with status $ac_status" >&5
22865 echo "$as_me: failed program was:" >&5
22866 cat conftest.
$ac_ext >&5
22867 ( exit $ac_status )
22870 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22872 CFLAGS
="$ac_save_CFLAGS"
22873 LIBS
="$ac_save_LIBS"
22877 if test "x$no_xml" = x
; then
22878 echo "$as_me:$LINENO: result: yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&5
22879 echo "${ECHO_T}yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&6
22880 MODULE_XML
=bin
/pdb_xml.so
22882 echo "$as_me:$LINENO: result: no" >&5
22883 echo "${ECHO_T}no" >&6
22884 if test "$XML2_CONFIG" = "no" ; then
22885 echo "*** The xml2-config script installed by LIBXML could not be found"
22886 echo "*** If libxml was installed in PREFIX, make sure PREFIX/bin is in"
22887 echo "*** your path, or set the XML2_CONFIG environment variable to the"
22888 echo "*** full path to xml2-config."
22890 if test -f conf.xmltest
; then
22893 echo "*** Could not run libxml test program, checking why..."
22894 CFLAGS
="$CFLAGS $XML_CFLAGS"
22895 LIBS
="$LIBS $XML_LIBS"
22896 cat >conftest.
$ac_ext <<_ACEOF
22897 #line $LINENO "configure"
22898 #include "confdefs.h"
22900 #include <libxml/xmlversion.h>
22903 #ifdef F77_DUMMY_MAIN
22904 # ifdef __cplusplus
22907 int F77_DUMMY_MAIN() { return 1; }
22912 LIBXML_TEST_VERSION; return 0;
22917 rm -f conftest.
$ac_objext conftest
$ac_exeext
22918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22919 (eval $ac_link) 2>&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } &&
22923 { ac_try
='test -s conftest$ac_exeext'
22924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925 (eval $ac_try) 2>&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); }; }; then
22929 echo "*** The test program compiled, but did not run. This usually means"
22930 echo "*** that the run-time linker is not finding LIBXML or finding the wrong"
22931 echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"
22932 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22933 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22934 echo "*** is required on your system"
22936 echo "*** If you have an old version installed, it is best to remove it, although"
22937 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22939 echo "$as_me: failed program was:" >&5
22940 cat conftest.
$ac_ext >&5
22941 echo "*** The test program failed to compile or link. See the file config.log for the"
22942 echo "*** exact error that occured. This usually means LIBXML was incorrectly installed"
22943 echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
22944 echo "*** may want to edit the xml2-config script: $XML2_CONFIG"
22946 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22947 CFLAGS
="$ac_save_CFLAGS"
22948 LIBS
="$ac_save_LIBS"
22960 CFLAGS
="$CFLAGS $XML_CFLAGS"
22963 #################################################
22964 # check for automount support
22965 echo "$as_me:$LINENO: checking whether to use automount" >&5
22966 echo $ECHO_N "checking whether to use automount... $ECHO_C" >&6
22968 # Check whether --with-automount or --without-automount was given.
22969 if test "${with_automount+set}" = set; then
22970 withval
="$with_automount"
22973 echo "$as_me:$LINENO: result: yes" >&5
22974 echo "${ECHO_T}yes" >&6
22976 cat >>confdefs.h
<<\_ACEOF
22977 #define WITH_AUTOMOUNT 1
22982 echo "$as_me:$LINENO: result: no" >&5
22983 echo "${ECHO_T}no" >&6
22987 echo "$as_me:$LINENO: result: no" >&5
22988 echo "${ECHO_T}no" >&6
22992 #################################################
22993 # check for smbmount support
22994 echo "$as_me:$LINENO: checking whether to use smbmount" >&5
22995 echo $ECHO_N "checking whether to use smbmount... $ECHO_C" >&6
22997 # Check whether --with-smbmount or --without-smbmount was given.
22998 if test "${with_smbmount+set}" = set; then
22999 withval
="$with_smbmount"
23004 echo "$as_me:$LINENO: result: yes" >&5
23005 echo "${ECHO_T}yes" >&6
23007 cat >>confdefs.h
<<\_ACEOF
23008 #define WITH_SMBMOUNT 1
23011 EXTRA_BIN_PROGS
="$EXTRA_BIN_PROGS bin/smbmount bin/smbmnt bin/smbumount"
23014 { { echo "$as_me:$LINENO: error: not on a linux system!" >&5
23015 echo "$as_me: error: not on a linux system!" >&2;}
23016 { (exit 1); exit 1; }; }
23021 echo "$as_me:$LINENO: result: no" >&5
23022 echo "${ECHO_T}no" >&6
23026 echo "$as_me:$LINENO: result: no" >&5
23027 echo "${ECHO_T}no" >&6
23032 #################################################
23033 # check for a PAM clear-text auth, accounts, password and session support
23034 with_pam_for_crypt
=no
23035 echo "$as_me:$LINENO: checking whether to use PAM" >&5
23036 echo $ECHO_N "checking whether to use PAM... $ECHO_C" >&6
23038 # Check whether --with-pam or --without-pam was given.
23039 if test "${with_pam+set}" = set; then
23040 withval
="$with_pam"
23043 echo "$as_me:$LINENO: result: yes" >&5
23044 echo "${ECHO_T}yes" >&6
23046 cat >>confdefs.h
<<\_ACEOF
23050 AUTHLIBS
="$AUTHLIBS -lpam"
23051 with_pam_for_crypt
=yes
23054 echo "$as_me:$LINENO: result: no" >&5
23055 echo "${ECHO_T}no" >&6
23059 echo "$as_me:$LINENO: result: no" >&5
23060 echo "${ECHO_T}no" >&6
23064 # we can't build a pam module if we don't have pam.
23065 echo "$as_me:$LINENO: checking for pam_get_data in -lpam" >&5
23066 echo $ECHO_N "checking for pam_get_data in -lpam... $ECHO_C" >&6
23067 if test "${ac_cv_lib_pam_pam_get_data+set}" = set; then
23068 echo $ECHO_N "(cached) $ECHO_C" >&6
23070 ac_check_lib_save_LIBS
=$LIBS
23072 cat >conftest.
$ac_ext <<_ACEOF
23073 #line $LINENO "configure"
23074 #include "confdefs.h"
23076 /* Override any gcc2 internal prototype to avoid an error. */
23080 /* We use char because int might match the return type of a gcc2
23081 builtin and then its argument prototype would still apply. */
23082 char pam_get_data ();
23083 #ifdef F77_DUMMY_MAIN
23084 # ifdef __cplusplus
23087 int F77_DUMMY_MAIN() { return 1; }
23097 rm -f conftest.
$ac_objext conftest
$ac_exeext
23098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23099 (eval $ac_link) 2>&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); } &&
23103 { ac_try
='test -s conftest$ac_exeext'
23104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23105 (eval $ac_try) 2>&5
23107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23108 (exit $ac_status); }; }; then
23109 ac_cv_lib_pam_pam_get_data
=yes
23111 echo "$as_me: failed program was:" >&5
23112 cat conftest.
$ac_ext >&5
23113 ac_cv_lib_pam_pam_get_data
=no
23115 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23116 LIBS
=$ac_check_lib_save_LIBS
23118 echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_get_data" >&5
23119 echo "${ECHO_T}$ac_cv_lib_pam_pam_get_data" >&6
23120 if test $ac_cv_lib_pam_pam_get_data = yes; then
23122 cat >>confdefs.h
<<\_ACEOF
23123 #define HAVE_LIBPAM 1
23129 #################################################
23130 # check for pam_smbpass support
23131 echo "$as_me:$LINENO: checking whether to use pam_smbpass" >&5
23132 echo $ECHO_N "checking whether to use pam_smbpass... $ECHO_C" >&6
23134 # Check whether --with-pam_smbpass or --without-pam_smbpass was given.
23135 if test "${with_pam_smbpass+set}" = set; then
23136 withval
="$with_pam_smbpass"
23139 echo "$as_me:$LINENO: result: yes" >&5
23140 echo "${ECHO_T}yes" >&6
23142 # Conditions under which pam_smbpass should not be built.
23144 if test x
$PICFLAG = x
; then
23145 echo "$as_me:$LINENO: result: No support for PIC code - disabling pam_smbpass" >&5
23146 echo "${ECHO_T}No support for PIC code - disabling pam_smbpass" >&6
23147 elif test x
$ac_cv_lib_pam_pam_get_data = xno
; then
23148 echo "$as_me:$LINENO: result: No libpam found -- disabling pam_smbpass" >&5
23149 echo "${ECHO_T}No libpam found -- disabling pam_smbpass" >&6
23151 SHLIB_PROGS
="$SHLIB_PROGS bin/pam_smbpass.so"
23155 echo "$as_me:$LINENO: result: no" >&5
23156 echo "${ECHO_T}no" >&6
23160 echo "$as_me:$LINENO: result: no" >&5
23161 echo "${ECHO_T}no" >&6
23166 ###############################################
23167 # test for where we get crypt() from, but only
23169 if test x
"$with_pam_for_crypt" = x
"no"; then
23171 for ac_func
in crypt
23173 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23174 echo "$as_me:$LINENO: checking for $ac_func" >&5
23175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23176 if eval "test \"\${$as_ac_var+set}\" = set"; then
23177 echo $ECHO_N "(cached) $ECHO_C" >&6
23179 cat >conftest.
$ac_ext <<_ACEOF
23180 #line $LINENO "configure"
23181 #include "confdefs.h"
23182 /* System header to define __stub macros and hopefully few prototypes,
23183 which can conflict with char $ac_func (); below. */
23184 #include <assert.h>
23185 /* Override any gcc2 internal prototype to avoid an error. */
23189 /* We use char because int might match the return type of a gcc2
23190 builtin and then its argument prototype would still apply. */
23194 #ifdef F77_DUMMY_MAIN
23195 # ifdef __cplusplus
23198 int F77_DUMMY_MAIN() { return 1; }
23203 /* The GNU C library defines this for functions which it implements
23204 to always fail with ENOSYS. Some functions are actually named
23205 something starting with __ and the normal name is an alias. */
23206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23216 rm -f conftest.
$ac_objext conftest
$ac_exeext
23217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23218 (eval $ac_link) 2>&5
23220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221 (exit $ac_status); } &&
23222 { ac_try
='test -s conftest$ac_exeext'
23223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23224 (eval $ac_try) 2>&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); }; }; then
23228 eval "$as_ac_var=yes"
23230 echo "$as_me: failed program was:" >&5
23231 cat conftest.
$ac_ext >&5
23232 eval "$as_ac_var=no"
23234 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23238 if test `eval echo '${'$as_ac_var'}'` = yes; then
23239 cat >>confdefs.h
<<_ACEOF
23240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23246 if test x
"$ac_cv_func_crypt" = x
"no"; then
23247 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
23248 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
23249 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
23250 echo $ECHO_N "(cached) $ECHO_C" >&6
23252 ac_check_lib_save_LIBS
=$LIBS
23253 LIBS
="-lcrypt $LIBS"
23254 cat >conftest.
$ac_ext <<_ACEOF
23255 #line $LINENO "configure"
23256 #include "confdefs.h"
23258 /* Override any gcc2 internal prototype to avoid an error. */
23262 /* We use char because int might match the return type of a gcc2
23263 builtin and then its argument prototype would still apply. */
23265 #ifdef F77_DUMMY_MAIN
23266 # ifdef __cplusplus
23269 int F77_DUMMY_MAIN() { return 1; }
23279 rm -f conftest.
$ac_objext conftest
$ac_exeext
23280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23281 (eval $ac_link) 2>&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } &&
23285 { ac_try
='test -s conftest$ac_exeext'
23286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23287 (eval $ac_try) 2>&5
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); }; }; then
23291 ac_cv_lib_crypt_crypt
=yes
23293 echo "$as_me: failed program was:" >&5
23294 cat conftest.
$ac_ext >&5
23295 ac_cv_lib_crypt_crypt
=no
23297 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23298 LIBS
=$ac_check_lib_save_LIBS
23300 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
23301 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
23302 if test $ac_cv_lib_crypt_crypt = yes; then
23303 AUTHLIBS
="$AUTHLIBS -lcrypt";
23305 cat >>confdefs.h
<<\_ACEOF
23306 #define HAVE_CRYPT 1
23315 ## moved after the check for -lcrypt in order to
23316 ## ensure that the necessary libraries are included
23317 ## check checking for truncated salt. Wrapped by the
23318 ## $with_pam_for_crypt variable as above --jerry
23320 if test $with_pam_for_crypt = no
; then
23321 echo "$as_me:$LINENO: checking for a crypt that needs truncated salt" >&5
23322 echo $ECHO_N "checking for a crypt that needs truncated salt... $ECHO_C" >&6
23323 if test "${samba_cv_HAVE_TRUNCATED_SALT+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23328 LIBS
="$AUTHLIBS $LIBS"
23329 if test "$cross_compiling" = yes; then
23330 samba_cv_HAVE_TRUNCATED_SALT
=cross
23332 cat >conftest.
$ac_ext <<_ACEOF
23333 #line $LINENO "configure"
23334 #include "confdefs.h"
23335 #include "${srcdir-.}/tests/crypttest.c"
23337 rm -f conftest
$ac_exeext
23338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23339 (eval $ac_link) 2>&5
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23344 (eval $ac_try) 2>&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); }; }; then
23348 samba_cv_HAVE_TRUNCATED_SALT
=no
23350 echo "$as_me: program exited with status $ac_status" >&5
23351 echo "$as_me: failed program was:" >&5
23352 cat conftest.
$ac_ext >&5
23353 ( exit $ac_status )
23354 samba_cv_HAVE_TRUNCATED_SALT
=yes
23356 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23360 echo "$as_me:$LINENO: result: $samba_cv_HAVE_TRUNCATED_SALT" >&5
23361 echo "${ECHO_T}$samba_cv_HAVE_TRUNCATED_SALT" >&6
23362 if test x
"$samba_cv_HAVE_TRUNCATED_SALT" = x
"yes"; then
23364 cat >>confdefs.h
<<\_ACEOF
23365 #define HAVE_TRUNCATED_SALT 1
23371 ########################################################################################
23373 ## TESTS FOR SAM BACKENDS. KEEP THESE GROUPED TOGETHER
23375 ########################################################################################
23377 #################################################
23378 # check for a LDAP password database configuration backwards compatibility
23379 echo "$as_me:$LINENO: checking whether to use LDAP SAM 2.2 compatible configuration" >&5
23380 echo $ECHO_N "checking whether to use LDAP SAM 2.2 compatible configuration... $ECHO_C" >&6
23382 # Check whether --with-ldapsam or --without-ldapsam was given.
23383 if test "${with_ldapsam+set}" = set; then
23384 withval
="$with_ldapsam"
23387 echo "$as_me:$LINENO: result: yes" >&5
23388 echo "${ECHO_T}yes" >&6
23390 cat >>confdefs.h
<<\_ACEOF
23391 #define WITH_LDAP_SAMCONFIG 1
23396 echo "$as_me:$LINENO: result: no" >&5
23397 echo "${ECHO_T}no" >&6
23401 echo "$as_me:$LINENO: result: no" >&5
23402 echo "${ECHO_T}no" >&6
23406 #################################################
23407 # check for a TDB password database
23408 echo "$as_me:$LINENO: checking whether to use TDB SAM database" >&5
23409 echo $ECHO_N "checking whether to use TDB SAM database... $ECHO_C" >&6
23411 # Check whether --with-tdbsam or --without-tdbsam was given.
23412 if test "${with_tdbsam+set}" = set; then
23413 withval
="$with_tdbsam"
23416 echo "$as_me:$LINENO: result: yes" >&5
23417 echo "${ECHO_T}yes" >&6
23419 cat >>confdefs.h
<<\_ACEOF
23420 #define WITH_TDB_SAM 1
23425 echo "$as_me:$LINENO: result: no" >&5
23426 echo "${ECHO_T}no" >&6
23430 echo "$as_me:$LINENO: result: no" >&5
23431 echo "${ECHO_T}no" >&6
23435 #################################################
23436 # check for a NISPLUS password database
23437 echo "$as_me:$LINENO: checking whether to use NISPLUS SAM database" >&5
23438 echo $ECHO_N "checking whether to use NISPLUS SAM database... $ECHO_C" >&6
23440 # Check whether --with-nisplussam or --without-nisplussam was given.
23441 if test "${with_nisplussam+set}" = set; then
23442 withval
="$with_nisplussam"
23445 echo "$as_me:$LINENO: result: yes" >&5
23446 echo "${ECHO_T}yes" >&6
23448 cat >>confdefs.h
<<\_ACEOF
23449 #define WITH_NISPLUS_SAM 1
23454 echo "$as_me:$LINENO: result: no" >&5
23455 echo "${ECHO_T}no" >&6
23459 echo "$as_me:$LINENO: result: no" >&5
23460 echo "${ECHO_T}no" >&6
23464 ########################################################################################
23466 ## END OF TESTS FOR SAM BACKENDS.
23468 ########################################################################################
23470 #################################################
23471 # check for a NISPLUS_HOME support
23472 echo "$as_me:$LINENO: checking whether to use NISPLUS_HOME" >&5
23473 echo $ECHO_N "checking whether to use NISPLUS_HOME... $ECHO_C" >&6
23475 # Check whether --with-nisplus-home or --without-nisplus-home was given.
23476 if test "${with_nisplus_home+set}" = set; then
23477 withval
="$with_nisplus_home"
23480 echo "$as_me:$LINENO: result: yes" >&5
23481 echo "${ECHO_T}yes" >&6
23483 cat >>confdefs.h
<<\_ACEOF
23484 #define WITH_NISPLUS_HOME 1
23489 echo "$as_me:$LINENO: result: no" >&5
23490 echo "${ECHO_T}no" >&6
23494 echo "$as_me:$LINENO: result: no" >&5
23495 echo "${ECHO_T}no" >&6
23499 #################################################
23500 # check for syslog logging
23501 echo "$as_me:$LINENO: checking whether to use syslog logging" >&5
23502 echo $ECHO_N "checking whether to use syslog logging... $ECHO_C" >&6
23504 # Check whether --with-syslog or --without-syslog was given.
23505 if test "${with_syslog+set}" = set; then
23506 withval
="$with_syslog"
23509 echo "$as_me:$LINENO: result: yes" >&5
23510 echo "${ECHO_T}yes" >&6
23512 cat >>confdefs.h
<<\_ACEOF
23513 #define WITH_SYSLOG 1
23518 echo "$as_me:$LINENO: result: no" >&5
23519 echo "${ECHO_T}no" >&6
23523 echo "$as_me:$LINENO: result: no" >&5
23524 echo "${ECHO_T}no" >&6
23528 #################################################
23529 # check for a shared memory profiling support
23530 echo "$as_me:$LINENO: checking whether to use profiling" >&5
23531 echo $ECHO_N "checking whether to use profiling... $ECHO_C" >&6
23533 # Check whether --with-profiling-data or --without-profiling-data was given.
23534 if test "${with_profiling_data+set}" = set; then
23535 withval
="$with_profiling_data"
23538 echo "$as_me:$LINENO: result: yes" >&5
23539 echo "${ECHO_T}yes" >&6
23541 cat >>confdefs.h
<<\_ACEOF
23542 #define WITH_PROFILE 1
23547 echo "$as_me:$LINENO: result: no" >&5
23548 echo "${ECHO_T}no" >&6
23552 echo "$as_me:$LINENO: result: no" >&5
23553 echo "${ECHO_T}no" >&6
23558 #################################################
23559 # check for experimental disk-quotas support
23560 QUOTAOBJS
=smbd
/noquotas.o
23562 echo "$as_me:$LINENO: checking whether to support disk-quotas" >&5
23563 echo $ECHO_N "checking whether to support disk-quotas... $ECHO_C" >&6
23565 # Check whether --with-quotas or --without-quotas was given.
23566 if test "${with_quotas+set}" = set; then
23567 withval
="$with_quotas"
23570 echo "$as_me:$LINENO: result: yes" >&5
23571 echo "${ECHO_T}yes" >&6
23574 # Check for kernel 2.4.x quota braindamage...
23575 echo "$as_me:$LINENO: checking for linux 2.4.x quota braindamage.." >&5
23576 echo $ECHO_N "checking for linux 2.4.x quota braindamage..... $ECHO_C" >&6
23577 if test "${samba_cv_linux_2_4_quota_braindamage+set}" = set; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6
23581 cat >conftest.
$ac_ext <<_ACEOF
23582 #line $LINENO "configure"
23583 #include "confdefs.h"
23585 #include <sys/types.h>
23586 #include <asm/types.h>
23587 #include <linux/quota.h>
23588 #include <mntent.h>
23589 #include <linux/unistd.h>
23590 #ifdef F77_DUMMY_MAIN
23591 # ifdef __cplusplus
23594 int F77_DUMMY_MAIN() { return 1; }
23599 struct mem_dqblk D;
23604 rm -f conftest.
$ac_objext
23605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23606 (eval $ac_compile) 2>&5
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); } &&
23610 { ac_try
='test -s conftest.$ac_objext'
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; }; then
23616 samba_cv_linux_2_4_quota_braindamage
=yes
23618 echo "$as_me: failed program was:" >&5
23619 cat conftest.
$ac_ext >&5
23620 samba_cv_linux_2_4_quota_braindamage
=no
23622 rm -f conftest.
$ac_objext conftest.
$ac_ext
23624 echo "$as_me:$LINENO: result: $samba_cv_linux_2_4_quota_braindamage" >&5
23625 echo "${ECHO_T}$samba_cv_linux_2_4_quota_braindamage" >&6
23626 if test x
"$samba_cv_linux_2_4_quota_braindamage" = x
"yes"; then
23628 cat >>confdefs.h
<<\_ACEOF
23629 #define LINUX_QUOTAS_2 1
23634 cat >>confdefs.h
<<\_ACEOF
23635 #define LINUX_QUOTAS_1 1
23643 QUOTAOBJS
=smbd
/quotas.o
23645 cat >>confdefs.h
<<\_ACEOF
23646 #define WITH_QUOTAS 1
23651 echo "$as_me:$LINENO: result: no" >&5
23652 echo "${ECHO_T}no" >&6
23656 echo "$as_me:$LINENO: result: no" >&5
23657 echo "${ECHO_T}no" >&6
23662 #################################################
23663 # check for experimental utmp accounting
23665 echo "$as_me:$LINENO: checking whether to support utmp accounting" >&5
23666 echo $ECHO_N "checking whether to support utmp accounting... $ECHO_C" >&6
23668 # Check whether --with-utmp or --without-utmp was given.
23669 if test "${with_utmp+set}" = set; then
23670 withval
="$with_utmp"
23673 echo "$as_me:$LINENO: result: yes" >&5
23674 echo "${ECHO_T}yes" >&6
23676 cat >>confdefs.h
<<\_ACEOF
23677 #define WITH_UTMP 1
23682 echo "$as_me:$LINENO: result: no" >&5
23683 echo "${ECHO_T}no" >&6
23687 echo "$as_me:$LINENO: result: no" >&5
23688 echo "${ECHO_T}no" >&6
23692 #################################################
23693 # choose native language(s) of man pages
23694 echo "$as_me:$LINENO: checking chosen man pages' language(s)" >&5
23695 echo $ECHO_N "checking chosen man pages' language(s)... $ECHO_C" >&6
23697 # Check whether --with-manpages-langs or --without-manpages-langs was given.
23698 if test "${with_manpages_langs+set}" = set; then
23699 withval
="$with_manpages_langs"
23702 { echo "$as_me:$LINENO: WARNING: --with-manpages-langs called without argument - will use default" >&5
23703 echo "$as_me: WARNING: --with-manpages-langs called without argument - will use default" >&2;}
23707 manlangs
="$withval"
23711 echo "$as_me:$LINENO: result: $manlangs" >&5
23712 echo "${ECHO_T}$manlangs" >&6
23713 manlangs
=`echo $manlangs | sed "s/,/ /g"` # replacing commas with spaces to produce a list
23717 echo "$as_me:$LINENO: result: $manlangs" >&5
23718 echo "${ECHO_T}$manlangs" >&6
23723 #################################################
23724 # should we build libsmbclient?
23726 INSTALLCLIENTCMD_SH
=:
23727 INSTALLCLIENTCMD_A
=:
23728 LIBSMBCLIENT_SHARED
=
23730 echo "$as_me:$LINENO: checking whether to build the libsmbclient shared library" >&5
23731 echo $ECHO_N "checking whether to build the libsmbclient shared library... $ECHO_C" >&6
23733 # Check whether --with-libsmbclient or --without-libsmbclient was given.
23734 if test "${with_libsmbclient+set}" = set; then
23735 withval
="$with_libsmbclient"
23738 echo "$as_me:$LINENO: result: no" >&5
23739 echo "${ECHO_T}no" >&6
23742 if test $BLDSHARED = true
; then
23743 INSTALLCLIENTCMD_SH
="\$(INSTALLCMD)"
23744 LIBSMBCLIENT_SHARED
=bin
/libsmbclient.
$SHLIBEXT
23745 LIBSMBCLIENT
=libsmbclient
23746 echo "$as_me:$LINENO: result: yes" >&5
23747 echo "${ECHO_T}yes" >&6
23749 INSTALLCLIENTCMD_A
="\$(INSTALLCMD)"
23750 LIBSMBCLIENT
=libsmbclient
23751 echo "$as_me:$LINENO: result: no shared library support -- will supply static library" >&5
23752 echo "${ECHO_T}no shared library support -- will supply static library" >&6
23758 # if unspecified, default is to built it iff possible.
23759 if test $BLDSHARED = true
; then
23760 INSTALLCLIENTCMD_SH
="\$(INSTALLCMD)"
23761 LIBSMBCLIENT_SHARED
=bin
/libsmbclient.
$SHLIBEXT
23762 LIBSMBCLIENT
=libsmbclient
23763 echo "$as_me:$LINENO: result: yes" >&5
23764 echo "${ECHO_T}yes" >&6
23766 INSTALLCLIENTCMD_A
="\$(INSTALLCMD)"
23767 LIBSMBCLIENT
=libsmbclient
23768 echo "$as_me:$LINENO: result: no shared library support -- will supply static library" >&5
23769 echo "${ECHO_T}no shared library support -- will supply static library" >&6
23775 #################################################
23776 # these tests are taken from the GNU fileutils package
23777 { echo "$as_me:$LINENO: checking how to get filesystem space usage..." >&5
23778 echo "$as_me: checking how to get filesystem space usage..." >&6;}
23781 # Test for statvfs64.
23782 if test $space = no
; then
23784 echo "$as_me:$LINENO: checking statvfs64 function (SVR4)" >&5
23785 echo $ECHO_N "checking statvfs64 function (SVR4)... $ECHO_C" >&6
23786 if test "${fu_cv_sys_stat_statvfs64+set}" = set; then
23787 echo $ECHO_N "(cached) $ECHO_C" >&6
23789 if test "$cross_compiling" = yes; then
23790 fu_cv_sys_stat_statvfs64
=cross
23792 cat >conftest.
$ac_ext <<_ACEOF
23793 #line $LINENO "configure"
23794 #include "confdefs.h"
23796 #if defined(HAVE_UNISTD_H)
23797 #include <unistd.h>
23799 #include <sys/types.h>
23800 #include <sys/statvfs.h>
23803 struct statvfs64 fsd;
23804 exit (statvfs64 (".", &fsd));
23807 rm -f conftest
$ac_exeext
23808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23809 (eval $ac_link) 2>&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23814 (eval $ac_try) 2>&5
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); }; }; then
23818 fu_cv_sys_stat_statvfs64
=yes
23820 echo "$as_me: program exited with status $ac_status" >&5
23821 echo "$as_me: failed program was:" >&5
23822 cat conftest.
$ac_ext >&5
23823 ( exit $ac_status )
23824 fu_cv_sys_stat_statvfs64
=no
23826 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23829 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statvfs64" >&5
23830 echo "${ECHO_T}$fu_cv_sys_stat_statvfs64" >&6
23831 if test $fu_cv_sys_stat_statvfs64 = yes; then
23834 cat >>confdefs.h
<<\_ACEOF
23835 #define STAT_STATVFS64 1
23841 # Perform only the link test since it seems there are no variants of the
23842 # statvfs function. This check is more than just AC_CHECK_FUNCS(statvfs)
23843 # because that got a false positive on SCO OSR5. Adding the declaration
23844 # of a `struct statvfs' causes this test to fail (as it should) on such
23845 # systems. That system is reported to work fine with STAT_STATFS4 which
23846 # is what it gets when this test fails.
23847 if test $space = no
; then
23849 echo "$as_me:$LINENO: checking statvfs function (SVR4)" >&5
23850 echo $ECHO_N "checking statvfs function (SVR4)... $ECHO_C" >&6
23851 if test "${fu_cv_sys_stat_statvfs+set}" = set; then
23852 echo $ECHO_N "(cached) $ECHO_C" >&6
23854 cat >conftest.
$ac_ext <<_ACEOF
23855 #line $LINENO "configure"
23856 #include "confdefs.h"
23857 #include <sys/types.h>
23858 #include <sys/statvfs.h>
23859 #ifdef F77_DUMMY_MAIN
23860 # ifdef __cplusplus
23863 int F77_DUMMY_MAIN() { return 1; }
23868 struct statvfs fsd; statvfs (0, &fsd);
23873 rm -f conftest.
$ac_objext conftest
$ac_exeext
23874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23875 (eval $ac_link) 2>&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } &&
23879 { ac_try
='test -s conftest$ac_exeext'
23880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23881 (eval $ac_try) 2>&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); }; }; then
23885 fu_cv_sys_stat_statvfs
=yes
23887 echo "$as_me: failed program was:" >&5
23888 cat conftest.
$ac_ext >&5
23889 fu_cv_sys_stat_statvfs
=no
23891 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23893 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statvfs" >&5
23894 echo "${ECHO_T}$fu_cv_sys_stat_statvfs" >&6
23895 if test $fu_cv_sys_stat_statvfs = yes; then
23898 cat >>confdefs.h
<<\_ACEOF
23899 #define STAT_STATVFS 1
23905 if test $space = no
; then
23906 # DEC Alpha running OSF/1
23907 echo "$as_me:$LINENO: checking for 3-argument statfs function (DEC OSF/1)" >&5
23908 echo $ECHO_N "checking for 3-argument statfs function (DEC OSF/1)... $ECHO_C" >&6
23909 if test "${fu_cv_sys_stat_statfs3_osf1+set}" = set; then
23910 echo $ECHO_N "(cached) $ECHO_C" >&6
23912 if test "$cross_compiling" = yes; then
23913 fu_cv_sys_stat_statfs3_osf1
=no
23915 cat >conftest.
$ac_ext <<_ACEOF
23916 #line $LINENO "configure"
23917 #include "confdefs.h"
23919 #include <sys/param.h>
23920 #include <sys/types.h>
23921 #include <sys/mount.h>
23926 exit (statfs (".", &fsd, sizeof (struct statfs)));
23929 rm -f conftest
$ac_exeext
23930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23931 (eval $ac_link) 2>&5
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23936 (eval $ac_try) 2>&5
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); }; }; then
23940 fu_cv_sys_stat_statfs3_osf1
=yes
23942 echo "$as_me: program exited with status $ac_status" >&5
23943 echo "$as_me: failed program was:" >&5
23944 cat conftest.
$ac_ext >&5
23945 ( exit $ac_status )
23946 fu_cv_sys_stat_statfs3_osf1
=no
23948 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23952 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs3_osf1" >&5
23953 echo "${ECHO_T}$fu_cv_sys_stat_statfs3_osf1" >&6
23954 if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
23957 cat >>confdefs.h
<<\_ACEOF
23958 #define STAT_STATFS3_OSF1 1
23964 if test $space = no
; then
23966 echo "$as_me:$LINENO: checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)" >&5
23967 echo $ECHO_N "checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... $ECHO_C" >&6
23968 if test "${fu_cv_sys_stat_statfs2_bsize+set}" = set; then
23969 echo $ECHO_N "(cached) $ECHO_C" >&6
23971 if test "$cross_compiling" = yes; then
23972 fu_cv_sys_stat_statfs2_bsize
=no
23974 cat >conftest.
$ac_ext <<_ACEOF
23975 #line $LINENO "configure"
23976 #include "confdefs.h"
23978 #ifdef HAVE_SYS_PARAM_H
23979 #include <sys/param.h>
23981 #ifdef HAVE_SYS_MOUNT_H
23982 #include <sys/mount.h>
23984 #ifdef HAVE_SYS_VFS_H
23985 #include <sys/vfs.h>
23991 exit (statfs (".", &fsd));
23994 rm -f conftest
$ac_exeext
23995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23996 (eval $ac_link) 2>&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24001 (eval $ac_try) 2>&5
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); }; }; then
24005 fu_cv_sys_stat_statfs2_bsize
=yes
24007 echo "$as_me: program exited with status $ac_status" >&5
24008 echo "$as_me: failed program was:" >&5
24009 cat conftest.
$ac_ext >&5
24010 ( exit $ac_status )
24011 fu_cv_sys_stat_statfs2_bsize
=no
24013 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24017 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_bsize" >&5
24018 echo "${ECHO_T}$fu_cv_sys_stat_statfs2_bsize" >&6
24019 if test $fu_cv_sys_stat_statfs2_bsize = yes; then
24022 cat >>confdefs.h
<<\_ACEOF
24023 #define STAT_STATFS2_BSIZE 1
24029 if test $space = no
; then
24031 echo "$as_me:$LINENO: checking for four-argument statfs (AIX-3.2.5, SVR3)" >&5
24032 echo $ECHO_N "checking for four-argument statfs (AIX-3.2.5, SVR3)... $ECHO_C" >&6
24033 if test "${fu_cv_sys_stat_statfs4+set}" = set; then
24034 echo $ECHO_N "(cached) $ECHO_C" >&6
24036 if test "$cross_compiling" = yes; then
24037 fu_cv_sys_stat_statfs4
=no
24039 cat >conftest.
$ac_ext <<_ACEOF
24040 #line $LINENO "configure"
24041 #include "confdefs.h"
24042 #include <sys/types.h>
24043 #include <sys/statfs.h>
24047 exit (statfs (".", &fsd, sizeof fsd, 0));
24050 rm -f conftest
$ac_exeext
24051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24052 (eval $ac_link) 2>&5
24054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24057 (eval $ac_try) 2>&5
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); }; }; then
24061 fu_cv_sys_stat_statfs4
=yes
24063 echo "$as_me: program exited with status $ac_status" >&5
24064 echo "$as_me: failed program was:" >&5
24065 cat conftest.
$ac_ext >&5
24066 ( exit $ac_status )
24067 fu_cv_sys_stat_statfs4
=no
24069 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24073 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs4" >&5
24074 echo "${ECHO_T}$fu_cv_sys_stat_statfs4" >&6
24075 if test $fu_cv_sys_stat_statfs4 = yes; then
24078 cat >>confdefs.h
<<\_ACEOF
24079 #define STAT_STATFS4 1
24085 if test $space = no
; then
24086 # 4.4BSD and NetBSD
24087 echo "$as_me:$LINENO: checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)" >&5
24088 echo $ECHO_N "checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... $ECHO_C" >&6
24089 if test "${fu_cv_sys_stat_statfs2_fsize+set}" = set; then
24090 echo $ECHO_N "(cached) $ECHO_C" >&6
24092 if test "$cross_compiling" = yes; then
24093 fu_cv_sys_stat_statfs2_fsize
=no
24095 cat >conftest.
$ac_ext <<_ACEOF
24096 #line $LINENO "configure"
24097 #include "confdefs.h"
24098 #include <sys/types.h>
24099 #ifdef HAVE_SYS_PARAM_H
24100 #include <sys/param.h>
24102 #ifdef HAVE_SYS_MOUNT_H
24103 #include <sys/mount.h>
24109 exit (statfs (".", &fsd));
24112 rm -f conftest
$ac_exeext
24113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24114 (eval $ac_link) 2>&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24119 (eval $ac_try) 2>&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); }; }; then
24123 fu_cv_sys_stat_statfs2_fsize
=yes
24125 echo "$as_me: program exited with status $ac_status" >&5
24126 echo "$as_me: failed program was:" >&5
24127 cat conftest.
$ac_ext >&5
24128 ( exit $ac_status )
24129 fu_cv_sys_stat_statfs2_fsize
=no
24131 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24135 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_fsize" >&5
24136 echo "${ECHO_T}$fu_cv_sys_stat_statfs2_fsize" >&6
24137 if test $fu_cv_sys_stat_statfs2_fsize = yes; then
24140 cat >>confdefs.h
<<\_ACEOF
24141 #define STAT_STATFS2_FSIZE 1
24147 if test $space = no
; then
24149 echo "$as_me:$LINENO: checking for two-argument statfs with struct fs_data (Ultrix)" >&5
24150 echo $ECHO_N "checking for two-argument statfs with struct fs_data (Ultrix)... $ECHO_C" >&6
24151 if test "${fu_cv_sys_stat_fs_data+set}" = set; then
24152 echo $ECHO_N "(cached) $ECHO_C" >&6
24154 if test "$cross_compiling" = yes; then
24155 fu_cv_sys_stat_fs_data
=no
24157 cat >conftest.
$ac_ext <<_ACEOF
24158 #line $LINENO "configure"
24159 #include "confdefs.h"
24160 #include <sys/types.h>
24161 #ifdef HAVE_SYS_PARAM_H
24162 #include <sys/param.h>
24164 #ifdef HAVE_SYS_MOUNT_H
24165 #include <sys/mount.h>
24167 #ifdef HAVE_SYS_FS_TYPES_H
24168 #include <sys/fs_types.h>
24172 struct fs_data fsd;
24173 /* Ultrix's statfs returns 1 for success,
24174 0 for not mounted, -1 for failure. */
24175 exit (statfs (".", &fsd) != 1);
24178 rm -f conftest
$ac_exeext
24179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24180 (eval $ac_link) 2>&5
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24185 (eval $ac_try) 2>&5
24187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24188 (exit $ac_status); }; }; then
24189 fu_cv_sys_stat_fs_data
=yes
24191 echo "$as_me: program exited with status $ac_status" >&5
24192 echo "$as_me: failed program was:" >&5
24193 cat conftest.
$ac_ext >&5
24194 ( exit $ac_status )
24195 fu_cv_sys_stat_fs_data
=no
24197 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24201 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_fs_data" >&5
24202 echo "${ECHO_T}$fu_cv_sys_stat_fs_data" >&6
24203 if test $fu_cv_sys_stat_fs_data = yes; then
24206 cat >>confdefs.h
<<\_ACEOF
24207 #define STAT_STATFS2_FS_DATA 1
24214 # As a gating factor for large file support, in order to
24215 # use <4GB files we must have the following minimal support
24217 # long long, and a 64 bit off_t or off64_t.
24218 # If we don't have all of these then disable large
24221 echo "$as_me:$LINENO: checking if large file support can be enabled" >&5
24222 echo $ECHO_N "checking if large file support can be enabled... $ECHO_C" >&6
24223 cat >conftest.
$ac_ext <<_ACEOF
24224 #line $LINENO "configure"
24225 #include "confdefs.h"
24227 #if defined(HAVE_LONGLONG) && (defined(HAVE_OFF64_T) || (defined(SIZEOF_OFF_T) && (SIZEOF_OFF_T == 8)))
24228 #include <sys/types.h>
24233 #ifdef F77_DUMMY_MAIN
24234 # ifdef __cplusplus
24237 int F77_DUMMY_MAIN() { return 1; }
24247 rm -f conftest.
$ac_objext
24248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24249 (eval $ac_compile) 2>&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); } &&
24253 { ac_try
='test -s conftest.$ac_objext'
24254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24255 (eval $ac_try) 2>&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); }; }; then
24259 samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT
=yes
24261 echo "$as_me: failed program was:" >&5
24262 cat conftest.
$ac_ext >&5
24263 samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT
=no
24265 rm -f conftest.
$ac_objext conftest.
$ac_ext
24266 if test x
"$samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT" = x
"yes"; then
24268 cat >>confdefs.h
<<\_ACEOF
24269 #define HAVE_EXPLICIT_LARGEFILE_SUPPORT 1
24273 echo "$as_me:$LINENO: result: $samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT" >&5
24274 echo "${ECHO_T}$samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT" >&6
24277 # Check whether --with-spinlocks or --without-spinlocks was given.
24278 if test "${with_spinlocks+set}" = set; then
24279 withval
="$with_spinlocks"
24282 if test "x$with_spinlocks" = "xyes"; then
24284 cat >>confdefs.h
<<\_ACEOF
24285 #define USE_SPINLOCKS 1
24289 case "$host_cpu" in
24292 cat >>confdefs.h
<<\_ACEOF
24293 #define SPARC_SPINLOCKS 1
24298 i386|i486|i586|i686
)
24300 cat >>confdefs.h
<<\_ACEOF
24301 #define INTEL_SPINLOCKS 1
24308 cat >>confdefs.h
<<\_ACEOF
24309 #define MIPS_SPINLOCKS 1
24316 cat >>confdefs.h
<<\_ACEOF
24317 #define POWERPC_SPINLOCKS 1
24324 #################################################
24325 # check for ACL support
24327 echo "$as_me:$LINENO: checking whether to support ACLs" >&5
24328 echo $ECHO_N "checking whether to support ACLs... $ECHO_C" >&6
24330 # Check whether --with-acl-support or --without-acl-support was given.
24331 if test "${with_acl_support+set}" = set; then
24332 withval
="$with_acl_support"
24338 echo "$as_me:$LINENO: result: Using UnixWare ACLs" >&5
24339 echo "${ECHO_T}Using UnixWare ACLs" >&6
24341 cat >>confdefs.h
<<\_ACEOF
24342 #define HAVE_UNIXWARE_ACLS 1
24347 echo "$as_me:$LINENO: result: Using solaris ACLs" >&5
24348 echo "${ECHO_T}Using solaris ACLs" >&6
24350 cat >>confdefs.h
<<\_ACEOF
24351 #define HAVE_SOLARIS_ACLS 1
24356 echo "$as_me:$LINENO: result: Using HPUX ACLs" >&5
24357 echo "${ECHO_T}Using HPUX ACLs" >&6
24359 cat >>confdefs.h
<<\_ACEOF
24360 #define HAVE_HPUX_ACLS 1
24365 echo "$as_me:$LINENO: result: Using IRIX ACLs" >&5
24366 echo "${ECHO_T}Using IRIX ACLs" >&6
24368 cat >>confdefs.h
<<\_ACEOF
24369 #define HAVE_IRIX_ACLS 1
24374 echo "$as_me:$LINENO: result: Using AIX ACLs" >&5
24375 echo "${ECHO_T}Using AIX ACLs" >&6
24377 cat >>confdefs.h
<<\_ACEOF
24378 #define HAVE_AIX_ACLS 1
24383 echo "$as_me:$LINENO: result: Using Tru64 ACLs" >&5
24384 echo "${ECHO_T}Using Tru64 ACLs" >&6
24386 cat >>confdefs.h
<<\_ACEOF
24387 #define HAVE_TRU64_ACLS 1
24390 LIBS
="$LIBS -lpacl"
24394 echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
24395 echo $ECHO_N "checking for acl_get_file in -lacl... $ECHO_C" >&6
24396 if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then
24397 echo $ECHO_N "(cached) $ECHO_C" >&6
24399 ac_check_lib_save_LIBS
=$LIBS
24401 cat >conftest.
$ac_ext <<_ACEOF
24402 #line $LINENO "configure"
24403 #include "confdefs.h"
24405 /* Override any gcc2 internal prototype to avoid an error. */
24409 /* We use char because int might match the return type of a gcc2
24410 builtin and then its argument prototype would still apply. */
24411 char acl_get_file ();
24412 #ifdef F77_DUMMY_MAIN
24413 # ifdef __cplusplus
24416 int F77_DUMMY_MAIN() { return 1; }
24426 rm -f conftest.
$ac_objext conftest
$ac_exeext
24427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24428 (eval $ac_link) 2>&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); } &&
24432 { ac_try
='test -s conftest$ac_exeext'
24433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24434 (eval $ac_try) 2>&5
24436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24437 (exit $ac_status); }; }; then
24438 ac_cv_lib_acl_acl_get_file
=yes
24440 echo "$as_me: failed program was:" >&5
24441 cat conftest.
$ac_ext >&5
24442 ac_cv_lib_acl_acl_get_file
=no
24444 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24445 LIBS
=$ac_check_lib_save_LIBS
24447 echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
24448 echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6
24449 if test $ac_cv_lib_acl_acl_get_file = yes; then
24450 cat >>confdefs.h
<<_ACEOF
24451 #define HAVE_LIBACL 1
24458 echo "$as_me:$LINENO: checking for ACL support" >&5
24459 echo $ECHO_N "checking for ACL support... $ECHO_C" >&6
24460 if test "${samba_cv_HAVE_POSIX_ACLS+set}" = set; then
24461 echo $ECHO_N "(cached) $ECHO_C" >&6
24464 cat >conftest.
$ac_ext <<_ACEOF
24465 #line $LINENO "configure"
24466 #include "confdefs.h"
24467 #include <sys/types.h>
24468 #include <sys/acl.h>
24469 #ifdef F77_DUMMY_MAIN
24470 # ifdef __cplusplus
24473 int F77_DUMMY_MAIN() { return 1; }
24478 acl_t acl; int entry_id; acl_entry_t *entry_p; return acl_get_entry( acl, entry_id, entry_p);
24483 rm -f conftest.
$ac_objext conftest
$ac_exeext
24484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24485 (eval $ac_link) 2>&5
24487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24488 (exit $ac_status); } &&
24489 { ac_try
='test -s conftest$ac_exeext'
24490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24491 (eval $ac_try) 2>&5
24493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494 (exit $ac_status); }; }; then
24495 samba_cv_HAVE_POSIX_ACLS
=yes
24497 echo "$as_me: failed program was:" >&5
24498 cat conftest.
$ac_ext >&5
24499 samba_cv_HAVE_POSIX_ACLS
=no
24501 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24503 echo "$as_me:$LINENO: result: $samba_cv_HAVE_POSIX_ACLS" >&5
24504 echo "${ECHO_T}$samba_cv_HAVE_POSIX_ACLS" >&6
24505 if test x
"$samba_cv_HAVE_POSIX_ACLS" = x
"yes"; then
24506 echo "$as_me:$LINENO: result: Using posix ACLs" >&5
24507 echo "${ECHO_T}Using posix ACLs" >&6
24509 cat >>confdefs.h
<<\_ACEOF
24510 #define HAVE_POSIX_ACLS 1
24513 echo "$as_me:$LINENO: checking for acl_get_perm_np" >&5
24514 echo $ECHO_N "checking for acl_get_perm_np... $ECHO_C" >&6
24515 if test "${samba_cv_HAVE_ACL_GET_PERM_NP+set}" = set; then
24516 echo $ECHO_N "(cached) $ECHO_C" >&6
24519 cat >conftest.
$ac_ext <<_ACEOF
24520 #line $LINENO "configure"
24521 #include "confdefs.h"
24522 #include <sys/types.h>
24523 #include <sys/acl.h>
24524 #ifdef F77_DUMMY_MAIN
24525 # ifdef __cplusplus
24528 int F77_DUMMY_MAIN() { return 1; }
24533 acl_permset_t permset_d; acl_perm_t perm; return acl_get_perm_np( permset_d, perm);
24538 rm -f conftest.
$ac_objext conftest
$ac_exeext
24539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24540 (eval $ac_link) 2>&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } &&
24544 { ac_try
='test -s conftest$ac_exeext'
24545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24546 (eval $ac_try) 2>&5
24548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549 (exit $ac_status); }; }; then
24550 samba_cv_HAVE_ACL_GET_PERM_NP
=yes
24552 echo "$as_me: failed program was:" >&5
24553 cat conftest.
$ac_ext >&5
24554 samba_cv_HAVE_ACL_GET_PERM_NP
=no
24556 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24558 echo "$as_me:$LINENO: result: $samba_cv_HAVE_ACL_GET_PERM_NP" >&5
24559 echo "${ECHO_T}$samba_cv_HAVE_ACL_GET_PERM_NP" >&6
24560 if test x
"$samba_cv_HAVE_ACL_GET_PERM_NP" = x
"yes"; then
24562 cat >>confdefs.h
<<\_ACEOF
24563 #define HAVE_ACL_GET_PERM_NP 1
24572 echo "$as_me:$LINENO: result: no" >&5
24573 echo "${ECHO_T}no" >&6
24575 cat >>confdefs.h
<<\_ACEOF
24576 #define HAVE_NO_ACLS 1
24583 cat >>confdefs.h
<<\_ACEOF
24584 #define HAVE_NO_ACLS 1
24587 echo "$as_me:$LINENO: result: no" >&5
24588 echo "${ECHO_T}no" >&6
24592 #################################################
24593 # check for sendfile support
24595 with_sendfile_support
=yes
24596 echo "$as_me:$LINENO: checking whether to check to support sendfile" >&5
24597 echo $ECHO_N "checking whether to check to support sendfile... $ECHO_C" >&6
24599 # Check whether --with-sendfile-support or --without-sendfile-support was given.
24600 if test "${with_sendfile_support+set}" = set; then
24601 withval
="$with_sendfile_support"
24605 echo "$as_me:$LINENO: result: yes" >&5
24606 echo "${ECHO_T}yes" >&6;
24610 echo "$as_me:$LINENO: checking for linux sendfile64 support" >&5
24611 echo $ECHO_N "checking for linux sendfile64 support... $ECHO_C" >&6
24612 if test "${samba_cv_HAVE_SENDFILE64+set}" = set; then
24613 echo $ECHO_N "(cached) $ECHO_C" >&6
24616 cat >conftest.
$ac_ext <<_ACEOF
24617 #line $LINENO "configure"
24618 #include "confdefs.h"
24619 #include <sys/sendfile.h>
24620 #ifdef F77_DUMMY_MAIN
24621 # ifdef __cplusplus
24624 int F77_DUMMY_MAIN() { return 1; }
24633 ssize_t nwritten = sendfile64(tofd, fromfd, &offset, total);
24639 rm -f conftest.
$ac_objext conftest
$ac_exeext
24640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24641 (eval $ac_link) 2>&5
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); } &&
24645 { ac_try
='test -s conftest$ac_exeext'
24646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24647 (eval $ac_try) 2>&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); }; }; then
24651 samba_cv_HAVE_SENDFILE64
=yes
24653 echo "$as_me: failed program was:" >&5
24654 cat conftest.
$ac_ext >&5
24655 samba_cv_HAVE_SENDFILE64
=no
24657 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24659 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE64" >&5
24660 echo "${ECHO_T}$samba_cv_HAVE_SENDFILE64" >&6
24662 echo "$as_me:$LINENO: checking for linux sendfile support" >&5
24663 echo $ECHO_N "checking for linux sendfile support... $ECHO_C" >&6
24664 if test "${samba_cv_HAVE_SENDFILE+set}" = set; then
24665 echo $ECHO_N "(cached) $ECHO_C" >&6
24668 cat >conftest.
$ac_ext <<_ACEOF
24669 #line $LINENO "configure"
24670 #include "confdefs.h"
24671 #include <sys/sendfile.h>
24672 #ifdef F77_DUMMY_MAIN
24673 # ifdef __cplusplus
24676 int F77_DUMMY_MAIN() { return 1; }
24685 ssize_t nwritten = sendfile(tofd, fromfd, &offset, total);
24691 rm -f conftest.
$ac_objext conftest
$ac_exeext
24692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24693 (eval $ac_link) 2>&5
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); } &&
24697 { ac_try
='test -s conftest$ac_exeext'
24698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24699 (eval $ac_try) 2>&5
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702 (exit $ac_status); }; }; then
24703 samba_cv_HAVE_SENDFILE
=yes
24705 echo "$as_me: failed program was:" >&5
24706 cat conftest.
$ac_ext >&5
24707 samba_cv_HAVE_SENDFILE
=no
24709 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24711 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE" >&5
24712 echo "${ECHO_T}$samba_cv_HAVE_SENDFILE" >&6
24714 # Try and cope with broken Linux sendfile....
24715 echo "$as_me:$LINENO: checking for broken linux sendfile support" >&5
24716 echo $ECHO_N "checking for broken linux sendfile support... $ECHO_C" >&6
24717 if test "${samba_cv_HAVE_BROKEN_LINUX_SENDFILE+set}" = set; then
24718 echo $ECHO_N "(cached) $ECHO_C" >&6
24721 cat >conftest.
$ac_ext <<_ACEOF
24722 #line $LINENO "configure"
24723 #include "confdefs.h"
24725 #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)
24726 #undef _FILE_OFFSET_BITS
24728 #include <sys/sendfile.h>
24729 #ifdef F77_DUMMY_MAIN
24730 # ifdef __cplusplus
24733 int F77_DUMMY_MAIN() { return 1; }
24742 ssize_t nwritten = sendfile(tofd, fromfd, &offset, total);
24748 rm -f conftest.
$ac_objext conftest
$ac_exeext
24749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24750 (eval $ac_link) 2>&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } &&
24754 { ac_try
='test -s conftest$ac_exeext'
24755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24756 (eval $ac_try) 2>&5
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); }; }; then
24760 samba_cv_HAVE_BROKEN_LINUX_SENDFILE
=yes
24762 echo "$as_me: failed program was:" >&5
24763 cat conftest.
$ac_ext >&5
24764 samba_cv_HAVE_BROKEN_LINUX_SENDFILE
=no
24766 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24768 echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_LINUX_SENDFILE" >&5
24769 echo "${ECHO_T}$samba_cv_HAVE_BROKEN_LINUX_SENDFILE" >&6
24771 if test x
"$samba_cv_HAVE_SENDFILE64" = x
"yes"; then
24773 cat >>confdefs.h
<<\_ACEOF
24774 #define HAVE_SENDFILE64 1
24778 cat >>confdefs.h
<<\_ACEOF
24779 #define LINUX_SENDFILE_API 1
24783 cat >>confdefs.h
<<\_ACEOF
24784 #define WITH_SENDFILE 1
24787 elif test x
"$samba_cv_HAVE_SENDFILE" = x
"yes"; then
24789 cat >>confdefs.h
<<\_ACEOF
24790 #define HAVE_SENDFILE 1
24794 cat >>confdefs.h
<<\_ACEOF
24795 #define LINUX_SENDFILE_API 1
24799 cat >>confdefs.h
<<\_ACEOF
24800 #define WITH_SENDFILE 1
24803 elif test x
"$samba_cv_HAVE_BROKEN_LINUX_SENDFILE" = x
"yes"; then
24805 cat >>confdefs.h
<<\_ACEOF
24806 #define LINUX_BROKEN_SENDFILE_API 1
24810 cat >>confdefs.h
<<\_ACEOF
24811 #define WITH_SENDFILE 1
24815 echo "$as_me:$LINENO: result: no" >&5
24816 echo "${ECHO_T}no" >&6;
24821 echo "$as_me:$LINENO: checking for freebsd sendfile support" >&5
24822 echo $ECHO_N "checking for freebsd sendfile support... $ECHO_C" >&6
24823 if test "${samba_cv_HAVE_SENDFILE+set}" = set; then
24824 echo $ECHO_N "(cached) $ECHO_C" >&6
24827 cat >conftest.
$ac_ext <<_ACEOF
24828 #line $LINENO "configure"
24829 #include "confdefs.h"
24831 #include <sys/types.h>
24832 #include <unistd.h>
24833 #include <sys/socket.h>
24834 #include <sys/uio.h>
24835 #ifdef F77_DUMMY_MAIN
24836 # ifdef __cplusplus
24839 int F77_DUMMY_MAIN() { return 1; }
24845 int fromfd, tofd, ret, total=0;
24846 off_t offset, nwritten;
24847 struct sf_hdtr hdr;
24848 struct iovec hdtrl;
24849 hdr.headers = &hdtrl;
24851 hdr.trailers = NULL;
24853 hdtrl.iov_base = NULL;
24855 ret = sendfile(fromfd, tofd, offset, total, &hdr, &nwritten, 0);
24861 rm -f conftest.
$ac_objext conftest
$ac_exeext
24862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24863 (eval $ac_link) 2>&5
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); } &&
24867 { ac_try
='test -s conftest$ac_exeext'
24868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24869 (eval $ac_try) 2>&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); }; }; then
24873 samba_cv_HAVE_SENDFILE
=yes
24875 echo "$as_me: failed program was:" >&5
24876 cat conftest.
$ac_ext >&5
24877 samba_cv_HAVE_SENDFILE
=no
24879 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24881 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE" >&5
24882 echo "${ECHO_T}$samba_cv_HAVE_SENDFILE" >&6
24884 if test x
"$samba_cv_HAVE_SENDFILE" = x
"yes"; then
24886 cat >>confdefs.h
<<\_ACEOF
24887 #define HAVE_SENDFILE 1
24891 cat >>confdefs.h
<<\_ACEOF
24892 #define FREEBSD_SENDFILE_API 1
24896 cat >>confdefs.h
<<\_ACEOF
24897 #define WITH_SENDFILE 1
24901 echo "$as_me:$LINENO: result: no" >&5
24902 echo "${ECHO_T}no" >&6;
24907 echo "$as_me:$LINENO: checking for hpux sendfile64 support" >&5
24908 echo $ECHO_N "checking for hpux sendfile64 support... $ECHO_C" >&6
24909 if test "${samba_cv_HAVE_SENDFILE64+set}" = set; then
24910 echo $ECHO_N "(cached) $ECHO_C" >&6
24913 cat >conftest.
$ac_ext <<_ACEOF
24914 #line $LINENO "configure"
24915 #include "confdefs.h"
24917 #include <sys/socket.h>
24918 #include <sys/uio.h>
24919 #ifdef F77_DUMMY_MAIN
24920 # ifdef __cplusplus
24923 int F77_DUMMY_MAIN() { return 1; }
24931 struct iovec hdtrl[2];
24935 hdtrl[0].iov_base = 0;
24936 hdtrl[0].iov_len = 0;
24938 nwritten = sendfile64(tofd, fromfd, offset, total, &hdtrl[0], 0);
24944 rm -f conftest.
$ac_objext conftest
$ac_exeext
24945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24946 (eval $ac_link) 2>&5
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); } &&
24950 { ac_try
='test -s conftest$ac_exeext'
24951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24952 (eval $ac_try) 2>&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); }; }; then
24956 samba_cv_HAVE_SENDFILE64
=yes
24958 echo "$as_me: failed program was:" >&5
24959 cat conftest.
$ac_ext >&5
24960 samba_cv_HAVE_SENDFILE64
=no
24962 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24964 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE64" >&5
24965 echo "${ECHO_T}$samba_cv_HAVE_SENDFILE64" >&6
24966 if test x
"$samba_cv_HAVE_SENDFILE64" = x
"yes"; then
24968 cat >>confdefs.h
<<\_ACEOF
24969 #define HAVE_SENDFILE64 1
24973 cat >>confdefs.h
<<\_ACEOF
24974 #define HPUX_SENDFILE_API 1
24978 cat >>confdefs.h
<<\_ACEOF
24979 #define WITH_SENDFILE 1
24983 echo "$as_me:$LINENO: result: no" >&5
24984 echo "${ECHO_T}no" >&6;
24987 echo "$as_me:$LINENO: checking for hpux sendfile support" >&5
24988 echo $ECHO_N "checking for hpux sendfile support... $ECHO_C" >&6
24989 if test "${samba_cv_HAVE_SENDFILE+set}" = set; then
24990 echo $ECHO_N "(cached) $ECHO_C" >&6
24993 cat >conftest.
$ac_ext <<_ACEOF
24994 #line $LINENO "configure"
24995 #include "confdefs.h"
24997 #include <sys/socket.h>
24998 #include <sys/uio.h>
24999 #ifdef F77_DUMMY_MAIN
25000 # ifdef __cplusplus
25003 int F77_DUMMY_MAIN() { return 1; }
25011 struct iovec hdtrl[2];
25015 hdtrl[0].iov_base = 0;
25016 hdtrl[0].iov_len = 0;
25018 nwritten = sendfile(tofd, fromfd, offset, total, &hdtrl[0], 0);
25024 rm -f conftest.
$ac_objext conftest
$ac_exeext
25025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25026 (eval $ac_link) 2>&5
25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029 (exit $ac_status); } &&
25030 { ac_try
='test -s conftest$ac_exeext'
25031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25032 (eval $ac_try) 2>&5
25034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25035 (exit $ac_status); }; }; then
25036 samba_cv_HAVE_SENDFILE
=yes
25038 echo "$as_me: failed program was:" >&5
25039 cat conftest.
$ac_ext >&5
25040 samba_cv_HAVE_SENDFILE
=no
25042 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25044 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE" >&5
25045 echo "${ECHO_T}$samba_cv_HAVE_SENDFILE" >&6
25046 if test x
"$samba_cv_HAVE_SENDFILE" = x
"yes"; then
25048 cat >>confdefs.h
<<\_ACEOF
25049 #define HAVE_SENDFILE 1
25053 cat >>confdefs.h
<<\_ACEOF
25054 #define HPUX_SENDFILE_API 1
25058 cat >>confdefs.h
<<\_ACEOF
25059 #define WITH_SENDFILE 1
25063 echo "$as_me:$LINENO: result: no" >&5
25064 echo "${ECHO_T}no" >&6;
25070 echo "$as_me:$LINENO: checking for sendfilev in -lsendfile" >&5
25071 echo $ECHO_N "checking for sendfilev in -lsendfile... $ECHO_C" >&6
25072 if test "${ac_cv_lib_sendfile_sendfilev+set}" = set; then
25073 echo $ECHO_N "(cached) $ECHO_C" >&6
25075 ac_check_lib_save_LIBS
=$LIBS
25076 LIBS
="-lsendfile $LIBS"
25077 cat >conftest.
$ac_ext <<_ACEOF
25078 #line $LINENO "configure"
25079 #include "confdefs.h"
25081 /* Override any gcc2 internal prototype to avoid an error. */
25085 /* We use char because int might match the return type of a gcc2
25086 builtin and then its argument prototype would still apply. */
25088 #ifdef F77_DUMMY_MAIN
25089 # ifdef __cplusplus
25092 int F77_DUMMY_MAIN() { return 1; }
25102 rm -f conftest.
$ac_objext conftest
$ac_exeext
25103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25104 (eval $ac_link) 2>&5
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); } &&
25108 { ac_try
='test -s conftest$ac_exeext'
25109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25110 (eval $ac_try) 2>&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; }; then
25114 ac_cv_lib_sendfile_sendfilev
=yes
25116 echo "$as_me: failed program was:" >&5
25117 cat conftest.
$ac_ext >&5
25118 ac_cv_lib_sendfile_sendfilev
=no
25120 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25121 LIBS
=$ac_check_lib_save_LIBS
25123 echo "$as_me:$LINENO: result: $ac_cv_lib_sendfile_sendfilev" >&5
25124 echo "${ECHO_T}$ac_cv_lib_sendfile_sendfilev" >&6
25125 if test $ac_cv_lib_sendfile_sendfilev = yes; then
25126 cat >>confdefs.h
<<_ACEOF
25127 #define HAVE_LIBSENDFILE 1
25130 LIBS
="-lsendfile $LIBS"
25134 echo "$as_me:$LINENO: checking for solaris sendfilev64 support" >&5
25135 echo $ECHO_N "checking for solaris sendfilev64 support... $ECHO_C" >&6
25136 if test "${samba_cv_HAVE_SENDFILEV64+set}" = set; then
25137 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 cat >conftest.
$ac_ext <<_ACEOF
25141 #line $LINENO "configure"
25142 #include "confdefs.h"
25144 #include <sys/sendfile.h>
25145 #ifdef F77_DUMMY_MAIN
25146 # ifdef __cplusplus
25149 int F77_DUMMY_MAIN() { return 1; }
25157 struct sendfilevec vec[2];
25163 vec[0].sfv_fd = SFV_FD_SELF;
25164 vec[0].sfv_flag = 0;
25165 vec[0].sfv_off = 0;
25166 vec[0].sfv_len = 0;
25169 vec[1].sfv_flag = 0;
25170 vec[1].sfv_off = 0;
25171 vec[1].sfv_len = 0;
25172 nwritten = sendfilev64(tofd, vec, sfvcnt, &xferred);
25178 rm -f conftest.
$ac_objext conftest
$ac_exeext
25179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25180 (eval $ac_link) 2>&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); } &&
25184 { ac_try
='test -s conftest$ac_exeext'
25185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25186 (eval $ac_try) 2>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; }; then
25190 samba_cv_HAVE_SENDFILEV64
=yes
25192 echo "$as_me: failed program was:" >&5
25193 cat conftest.
$ac_ext >&5
25194 samba_cv_HAVE_SENDFILEV64
=no
25196 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25198 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILEV64" >&5
25199 echo "${ECHO_T}$samba_cv_HAVE_SENDFILEV64" >&6
25201 if test x
"$samba_cv_HAVE_SENDFILEV64" = x
"yes"; then
25203 cat >>confdefs.h
<<\_ACEOF
25204 #define HAVE_SENDFILEV64 1
25208 cat >>confdefs.h
<<\_ACEOF
25209 #define SOLARIS_SENDFILE_API 1
25213 cat >>confdefs.h
<<\_ACEOF
25214 #define WITH_SENDFILE 1
25218 echo "$as_me:$LINENO: result: no" >&5
25219 echo "${ECHO_T}no" >&6;
25222 echo "$as_me:$LINENO: checking for solaris sendfilev support" >&5
25223 echo $ECHO_N "checking for solaris sendfilev support... $ECHO_C" >&6
25224 if test "${samba_cv_HAVE_SENDFILEV+set}" = set; then
25225 echo $ECHO_N "(cached) $ECHO_C" >&6
25228 cat >conftest.
$ac_ext <<_ACEOF
25229 #line $LINENO "configure"
25230 #include "confdefs.h"
25232 #include <sys/sendfile.h>
25233 #ifdef F77_DUMMY_MAIN
25234 # ifdef __cplusplus
25237 int F77_DUMMY_MAIN() { return 1; }
25245 struct sendfilevec vec[2];
25251 vec[0].sfv_fd = SFV_FD_SELF;
25252 vec[0].sfv_flag = 0;
25253 vec[0].sfv_off = 0;
25254 vec[0].sfv_len = 0;
25257 vec[1].sfv_flag = 0;
25258 vec[1].sfv_off = 0;
25259 vec[1].sfv_len = 0;
25260 nwritten = sendfilev(tofd, vec, sfvcnt, &xferred);
25266 rm -f conftest.
$ac_objext conftest
$ac_exeext
25267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25268 (eval $ac_link) 2>&5
25270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25271 (exit $ac_status); } &&
25272 { ac_try
='test -s conftest$ac_exeext'
25273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25274 (eval $ac_try) 2>&5
25276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277 (exit $ac_status); }; }; then
25278 samba_cv_HAVE_SENDFILEV
=yes
25280 echo "$as_me: failed program was:" >&5
25281 cat conftest.
$ac_ext >&5
25282 samba_cv_HAVE_SENDFILEV
=no
25284 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25286 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILEV" >&5
25287 echo "${ECHO_T}$samba_cv_HAVE_SENDFILEV" >&6
25289 if test x
"$samba_cv_HAVE_SENDFILEV" = x
"yes"; then
25291 cat >>confdefs.h
<<\_ACEOF
25292 #define HAVE_SENDFILEV 1
25296 cat >>confdefs.h
<<\_ACEOF
25297 #define SOLARIS_SENDFILE_API 1
25301 cat >>confdefs.h
<<\_ACEOF
25302 #define WITH_SENDFILE 1
25306 echo "$as_me:$LINENO: result: no" >&5
25307 echo "${ECHO_T}no" >&6;
25316 echo "$as_me:$LINENO: result: no" >&5
25317 echo "${ECHO_T}no" >&6
25321 echo "$as_me:$LINENO: result: yes" >&5
25322 echo "${ECHO_T}yes" >&6
25327 #################################################
25328 # Check whether winbind is supported on this platform. If so we need to
25329 # build and install client programs, sbin programs and shared libraries
25331 echo "$as_me:$LINENO: checking whether to build winbind" >&5
25332 echo $ECHO_N "checking whether to build winbind... $ECHO_C" >&6
25334 # Initially, the value of $host_os decides whether winbind is supported
25342 WINBIND_NSS_EXTRA_OBJS
="nsswitch/winbind_nss_solaris.o"
25343 WINBIND_NSS_EXTRA_LIBS
="-lsocket"
25347 WINBIND_NSS_EXTRA_OBJS
="nsswitch/winbind_nss_solaris.o"
25351 winbind_no_reason
=", unsupported on $host_os"
25358 # Check the setting of --with-winbindd
25361 # Check whether --with-winbind or --without-winbind was given.
25362 if test "${with_winbind+set}" = set; then
25363 withval
="$with_winbind"
25376 # We need unix domain sockets for winbind
25378 if test x
"$HAVE_WINBIND" = x
"yes"; then
25379 if test x
"$samba_cv_unixsocket" = x
"no"; then
25380 winbind_no_reason
=", no unix domain socket support on $host_os"
25385 # Display test results
25387 if test x
"$HAVE_WINBIND" = x
"yes"; then
25388 echo "$as_me:$LINENO: result: yes" >&5
25389 echo "${ECHO_T}yes" >&6
25391 cat >>confdefs.h
<<\_ACEOF
25392 #define WITH_WINBIND 1
25396 EXTRA_BIN_PROGS
="$EXTRA_BIN_PROGS bin/wbinfo\$(EXEEXT)"
25397 EXTRA_SBIN_PROGS
="$EXTRA_SBIN_PROGS bin/winbindd\$(EXEEXT)"
25398 if test x
"$BLDSHARED" = x
"true"; then
25401 SHLIB_PROGS
="$SHLIB_PROGS nsswitch/libns_winbind.so"
25404 SHLIB_PROGS
="$SHLIB_PROGS nsswitch/libnss_winbind.so"
25407 if test x
"$with_pam" = x
"yes"; then
25408 SHLIB_PROGS
="$SHLIB_PROGS nsswitch/pam_winbind.so"
25412 echo "$as_me:$LINENO: result: no$winbind_no_reason" >&5
25413 echo "${ECHO_T}no$winbind_no_reason" >&6
25416 # Solaris has some extra fields in struct passwd that need to be
25417 # initialised otherwise nscd crashes. Unfortunately autoconf < 2.50
25418 # doesn't have the AC_CHECK_MEMBER macro which would be handy for checking
25421 #AC_CHECK_MEMBER(struct passwd.pw_comment,
25422 # AC_DEFINE(HAVE_PASSWD_PW_COMMENT, 1, [Defined if struct passwd has pw_comment field]),
25423 # [#include <pwd.h>])
25425 echo "$as_me:$LINENO: checking whether struct passwd has pw_comment" >&5
25426 echo $ECHO_N "checking whether struct passwd has pw_comment... $ECHO_C" >&6
25427 if test "${samba_cv_passwd_pw_comment+set}" = set; then
25428 echo $ECHO_N "(cached) $ECHO_C" >&6
25431 cat >conftest.
$ac_ext <<_ACEOF
25432 #line $LINENO "configure"
25433 #include "confdefs.h"
25435 #ifdef F77_DUMMY_MAIN
25436 # ifdef __cplusplus
25439 int F77_DUMMY_MAIN() { return 1; }
25444 struct passwd p; p.pw_comment;
25449 rm -f conftest.
$ac_objext
25450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25451 (eval $ac_compile) 2>&5
25453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25454 (exit $ac_status); } &&
25455 { ac_try
='test -s conftest.$ac_objext'
25456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25457 (eval $ac_try) 2>&5
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); }; }; then
25461 samba_cv_passwd_pw_comment
=yes
25463 echo "$as_me: failed program was:" >&5
25464 cat conftest.
$ac_ext >&5
25465 samba_cv_passwd_pw_comment
=no
25467 rm -f conftest.
$ac_objext conftest.
$ac_ext
25469 echo "$as_me:$LINENO: result: $samba_cv_passwd_pw_comment" >&5
25470 echo "${ECHO_T}$samba_cv_passwd_pw_comment" >&6
25471 if test x
"$samba_cv_passwd_pw_comment" = x
"yes"; then
25473 cat >>confdefs.h
<<\_ACEOF
25474 #define HAVE_PASSWD_PW_COMMENT 1
25479 #AC_CHECK_MEMBER(struct passwd.pw_age,
25480 # AC_DEFINE(HAVE_PASSWD_PW_AGE, 1, [Defined if struct passwd has pw_age field]),
25481 # [#include <pwd.h>])
25483 echo "$as_me:$LINENO: checking whether struct passwd has pw_age" >&5
25484 echo $ECHO_N "checking whether struct passwd has pw_age... $ECHO_C" >&6
25485 if test "${samba_cv_passwd_pw_age+set}" = set; then
25486 echo $ECHO_N "(cached) $ECHO_C" >&6
25489 cat >conftest.
$ac_ext <<_ACEOF
25490 #line $LINENO "configure"
25491 #include "confdefs.h"
25493 #ifdef F77_DUMMY_MAIN
25494 # ifdef __cplusplus
25497 int F77_DUMMY_MAIN() { return 1; }
25502 struct passwd p; p.pw_age;
25507 rm -f conftest.
$ac_objext
25508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25509 (eval $ac_compile) 2>&5
25511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25512 (exit $ac_status); } &&
25513 { ac_try
='test -s conftest.$ac_objext'
25514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25515 (eval $ac_try) 2>&5
25517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25518 (exit $ac_status); }; }; then
25519 samba_cv_passwd_pw_age
=yes
25521 echo "$as_me: failed program was:" >&5
25522 cat conftest.
$ac_ext >&5
25523 samba_cv_passwd_pw_age
=no
25525 rm -f conftest.
$ac_objext conftest.
$ac_ext
25527 echo "$as_me:$LINENO: result: $samba_cv_passwd_pw_age" >&5
25528 echo "${ECHO_T}$samba_cv_passwd_pw_age" >&6
25529 if test x
"$samba_cv_passwd_pw_age" = x
"yes"; then
25531 cat >>confdefs.h
<<\_ACEOF
25532 #define HAVE_PASSWD_PW_AGE 1
25537 #################################################
25538 # Check to see if we should use the included popt
25541 # Check whether --with-included-popt or --without-included-popt was given.
25542 if test "${with_included_popt+set}" = set; then
25543 withval
="$with_included_popt"
25554 if test x
"$INCLUDED_POPT" != x
"yes"; then
25555 echo "$as_me:$LINENO: checking for poptGetContext in -lpopt" >&5
25556 echo $ECHO_N "checking for poptGetContext in -lpopt... $ECHO_C" >&6
25557 if test "${ac_cv_lib_popt_poptGetContext+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25560 ac_check_lib_save_LIBS
=$LIBS
25561 LIBS
="-lpopt $LIBS"
25562 cat >conftest.
$ac_ext <<_ACEOF
25563 #line $LINENO "configure"
25564 #include "confdefs.h"
25566 /* Override any gcc2 internal prototype to avoid an error. */
25570 /* We use char because int might match the return type of a gcc2
25571 builtin and then its argument prototype would still apply. */
25572 char poptGetContext ();
25573 #ifdef F77_DUMMY_MAIN
25574 # ifdef __cplusplus
25577 int F77_DUMMY_MAIN() { return 1; }
25587 rm -f conftest.
$ac_objext conftest
$ac_exeext
25588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25589 (eval $ac_link) 2>&5
25591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25592 (exit $ac_status); } &&
25593 { ac_try
='test -s conftest$ac_exeext'
25594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25595 (eval $ac_try) 2>&5
25597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25598 (exit $ac_status); }; }; then
25599 ac_cv_lib_popt_poptGetContext
=yes
25601 echo "$as_me: failed program was:" >&5
25602 cat conftest.
$ac_ext >&5
25603 ac_cv_lib_popt_poptGetContext
=no
25605 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25606 LIBS
=$ac_check_lib_save_LIBS
25608 echo "$as_me:$LINENO: result: $ac_cv_lib_popt_poptGetContext" >&5
25609 echo "${ECHO_T}$ac_cv_lib_popt_poptGetContext" >&6
25610 if test $ac_cv_lib_popt_poptGetContext = yes; then
25618 echo "$as_me:$LINENO: checking whether to use included popt" >&5
25619 echo $ECHO_N "checking whether to use included popt... $ECHO_C" >&6
25620 if test x
"$INCLUDED_POPT" = x
"yes"; then
25621 echo "$as_me:$LINENO: result: yes" >&5
25622 echo "${ECHO_T}yes" >&6
25623 BUILD_POPT
='$(POPT_OBJS)'
25624 FLAGS1
="-I$srcdir/popt"
25626 echo "$as_me:$LINENO: result: no" >&5
25627 echo "${ECHO_T}no" >&6
25628 LIBS
="$LIBS -lpopt"
25633 #################################################
25634 # Check if the user wants Python
25636 # At the moment, you can use this to set which Python binary to link
25637 # against. (Libraries built for Python2.2 can't be used by 2.1,
25638 # though they can coexist in different directories.) In the future
25639 # this might make the Python stuff be built by default.
25641 # Defaulting python breaks the clean target if python isn't installed
25646 # Check whether --with-python or --without-python was given.
25647 if test "${with_python+set}" = set; then
25648 withval
="$with_python"
25649 case "${withval-python}" in
25652 EXTRA_ALL_TARGETS
="$EXTRA_ALL_TARGETS python_ext"
25658 PYTHON
=${withval-python}
25664 #################################################
25665 # do extra things if we are running insure
25667 if test "${ac_cv_prog_CC}" = "insure"; then
25668 CPPFLAGS
="$CPPFLAGS -D__INSURE__"
25671 #################################################
25672 # final configure stuff
25674 echo "$as_me:$LINENO: checking configure summary" >&5
25675 echo $ECHO_N "checking configure summary... $ECHO_C" >&6
25676 if test "$cross_compiling" = yes; then
25677 { echo "$as_me:$LINENO: WARNING: cannot run when cross-compiling" >&5
25678 echo "$as_me: WARNING: cannot run when cross-compiling" >&2;}
25680 cat >conftest.
$ac_ext <<_ACEOF
25681 #line $LINENO "configure"
25682 #include "confdefs.h"
25683 #include "${srcdir-.}/tests/summary.c"
25685 rm -f conftest
$ac_exeext
25686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25687 (eval $ac_link) 2>&5
25689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25692 (eval $ac_try) 2>&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); }; }; then
25696 echo "$as_me:$LINENO: result: yes" >&5
25697 echo "${ECHO_T}yes" >&6
25699 echo "$as_me: program exited with status $ac_status" >&5
25700 echo "$as_me: failed program was:" >&5
25701 cat conftest.
$ac_ext >&5
25702 ( exit $ac_status )
25703 { { echo "$as_me:$LINENO: error: summary failure. Aborting config" >&5
25704 echo "$as_me: error: summary failure. Aborting config" >&2;}
25705 { (exit 1); exit 1; }; }; exit 1;
25707 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25713 ac_config_files
="$ac_config_files include/stamp-h Makefile script/findsmb"
25714 cat >confcache
<<\_ACEOF
25715 # This file is a shell script that caches the results of configure
25716 # tests run on this system so they can be shared between configure
25717 # scripts and configure runs, see configure's option --config-cache.
25718 # It is not useful on other systems. If it contains results you don't
25719 # want to keep, you may remove or edit it.
25721 # config.status only pays attention to the cache file if you give it
25722 # the --recheck option to rerun configure.
25724 # `ac_cv_env_foo' variables (set or unset) will be overriden when
25725 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25726 # following values.
25730 # The following way of writing the cache mishandles newlines in values,
25731 # but we know of no workaround that is simple, portable, and efficient.
25732 # So, don't put newlines in cache variables' values.
25733 # Ultrix sh set writes to stderr and can't be redirected directly,
25734 # and sets the high bit in the cache file unless we assign to the vars.
25737 case `(ac_space=' '; set | grep ac_space) 2>&1` in
25739 # `set' does not quote correctly, so add quotes (double-quote
25740 # substitution turns \\\\ into \\, and sed turns \\ into \).
25743 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25746 # `set' quotes correctly as required by POSIX, so do not add quotes.
25748 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25755 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25757 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25759 if cmp -s $cache_file confcache
; then :; else
25760 if test -w $cache_file; then
25761 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25762 cat confcache
>$cache_file
25764 echo "not updating unwritable cache $cache_file"
25769 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25770 # Let make expand exec_prefix.
25771 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25773 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25774 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25775 # trailing colons and then remove the whole line if VPATH becomes empty
25776 # (actually we leave an empty line to preserve line numbers).
25777 if test "x$srcdir" = x.
; then
25778 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25779 s/:*\$(srcdir):*/:/;
25780 s/:*\${srcdir}:*/:/;
25782 s/^\([^=]*=[ ]*\):*/\1/;
25788 DEFS
=-DHAVE_CONFIG_H
25791 : ${CONFIG_STATUS=./config.status}
25792 ac_clean_files_save
=$ac_clean_files
25793 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25794 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25795 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25796 cat >$CONFIG_STATUS <<_ACEOF
25798 # Generated by $as_me.
25799 # Run this file to recreate the current configuration.
25800 # Compiler output produced by configure, useful for debugging
25801 # configure, is in config.log if it exists.
25804 SHELL=\${CONFIG_SHELL-$SHELL}
25807 cat >>$CONFIG_STATUS <<\_ACEOF
25809 ## --------------------- ##
25810 ## M4sh Initialization. ##
25811 ## --------------------- ##
25813 # Be Bourne compatible
25814 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25817 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25822 # Support unset when possible.
25823 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
25829 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
25830 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
25831 { LANG
=C
; export LANG
; }
25832 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
25833 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
25834 { LC_ALL
=C
; export LC_ALL
; }
25835 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
25836 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
25837 { LC_TIME
=C
; export LC_TIME
; }
25838 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
25839 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
25840 { LC_CTYPE
=C
; export LC_CTYPE
; }
25841 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
25842 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
25843 { LANGUAGE
=C
; export LANGUAGE
; }
25844 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
25845 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
25846 { LC_COLLATE
=C
; export LC_COLLATE
; }
25847 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
25848 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
25849 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
25850 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
25851 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
25852 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
25855 # Name of the executable.
25856 as_me
=`(basename "$0") 2>/dev/null ||
25857 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25858 X"$0" : 'X\(//\)$' \| \
25859 X"$0" : 'X\(/\)$' \| \
25860 . : '\(.\)' 2>/dev/null ||
25862 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
25863 /^X\/\(\/\/\)$/{ s//\1/; q; }
25864 /^X\/\(\/\).*/{ s//\1/; q; }
25867 # PATH needs CR, and LINENO needs CR and PATH.
25868 # Avoid depending upon Character Ranges.
25869 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25870 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25871 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25872 as_cr_digits
='0123456789'
25873 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25875 # The user is always right.
25876 if test "${PATH_SEPARATOR+set}" != set; then
25877 echo "#! /bin/sh" >conftest.sh
25878 echo "exit 0" >>conftest.sh
25879 chmod +x conftest.sh
25880 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
25889 as_lineno_1
=$LINENO
25890 as_lineno_2
=$LINENO
25891 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
25892 test "x$as_lineno_1" != "x$as_lineno_2" &&
25893 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
25894 # Find who we are. Look in the path if we contain no path at all
25897 *[\\/]* ) as_myself
=$0 ;;
25898 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25899 for as_dir
in $PATH
25902 test -z "$as_dir" && as_dir
=.
25903 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
25908 # We did not find ourselves, most probably we were run as `sh COMMAND'
25909 # in which case we are not to be found in the path.
25910 if test "x$as_myself" = x
; then
25913 if test ! -f "$as_myself"; then
25914 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
25915 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
25916 { (exit 1); exit 1; }; }
25918 case $CONFIG_SHELL in
25920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25921 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
25924 test -z "$as_dir" && as_dir
=.
25925 for as_base
in sh bash ksh sh5
; do
25928 if ("$as_dir/$as_base" -c '
25929 as_lineno_1=$LINENO
25930 as_lineno_2=$LINENO
25931 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25932 test "x$as_lineno_1" != "x$as_lineno_2" &&
25933 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
25934 CONFIG_SHELL
=$as_dir/$as_base
25935 export CONFIG_SHELL
25936 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
25944 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25945 # uniformly replaced by the line number. The first 'sed' inserts a
25946 # line-number line before each line; the second 'sed' does the real
25947 # work. The second script uses 'N' to pair each line-number line
25948 # with the numbered line, and appends trailing '-' during
25949 # substitution so that $LINENO is not a special case at line end.
25950 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25951 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
25952 sed '=' <$as_myself |
25957 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
25960 s,^['$as_cr_digits']*\n,,
25961 ' >$as_me.lineno
&&
25962 chmod +x
$as_me.lineno ||
25963 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
25964 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
25965 { (exit 1); exit 1; }; }
25967 # Don't try to exec as it changes $[0], causing all sort of problems
25968 # (the dirname of $[0] is not the place where we might find the
25969 # original and so on. Autoconf is especially sensible to this).
25971 # Exit status is that of the last command.
25976 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
25977 *c
*,-n*) ECHO_N
= ECHO_C
='
25979 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
25980 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
25983 if expr a
: '\(a\)' >/dev
/null
2>&1; then
25989 rm -f conf$$ conf$$.exe conf$$.
file
25991 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25992 # We could just check for DJGPP; but this test a) works b) is more generic
25993 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
25994 if test -f conf$$.exe
; then
25995 # Don't use ln at all; we don't have any links
26000 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26005 rm -f conf$$ conf$$.exe conf$$.
file
26007 as_executable_p
="test -f"
26009 # Sed expression to map a string onto a valid CPP name.
26010 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
26012 # Sed expression to map a string onto a valid variable name.
26013 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
26017 # We need space, tab and new line, in precisely that order.
26023 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
26027 # Open the log real soon, to keep \$[0] and so on meaningful, and to
26028 # report actual input values of CONFIG_FILES etc. instead of their
26029 # values after options handling. Logging --version etc. is OK.
26033 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26034 ## Running $as_me. ##
26039 This file was extended by $as_me, which was
26040 generated by GNU Autoconf 2.53. Invocation command line was
26042 CONFIG_FILES = $CONFIG_FILES
26043 CONFIG_HEADERS = $CONFIG_HEADERS
26044 CONFIG_LINKS = $CONFIG_LINKS
26045 CONFIG_COMMANDS = $CONFIG_COMMANDS
26049 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
26053 # Files that config.status was made for.
26054 if test -n "$ac_config_files"; then
26055 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
26058 if test -n "$ac_config_headers"; then
26059 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
26062 if test -n "$ac_config_links"; then
26063 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
26066 if test -n "$ac_config_commands"; then
26067 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
26070 cat >>$CONFIG_STATUS <<\_ACEOF
26073 \`$as_me' instantiates files from templates according to the
26074 current configuration.
26076 Usage: $0 [OPTIONS] [FILE]...
26078 -h, --help print this help, then exit
26079 -V, --version print version number, then exit
26080 -d, --debug don't remove temporary files
26081 --recheck update $as_me by reconfiguring in the same conditions
26082 --file=FILE[:TEMPLATE]
26083 instantiate the configuration file FILE
26084 --header=FILE[:TEMPLATE]
26085 instantiate the configuration header FILE
26087 Configuration files:
26090 Configuration headers:
26093 Report bugs to <bug-autoconf@gnu.org>."
26096 cat >>$CONFIG_STATUS <<_ACEOF
26099 configured by $0, generated by GNU Autoconf 2.53,
26100 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
26102 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
26103 Free Software Foundation, Inc.
26104 This config.status script is free software; the Free Software Foundation
26105 gives unlimited permission to copy, distribute and modify it."
26110 cat >>$CONFIG_STATUS <<\_ACEOF
26111 # If no file are specified by the user, then we need to provide default
26112 # value. By we need to know if files were specified by the user.
26118 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
26119 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
26121 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
26125 *) # This is not an option, so the user has probably given explicit
26127 ac_need_defaults
=false
;;
26131 # Handling of the options.
26133 cat >>$CONFIG_STATUS <<_ACEOF
26134 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26135 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
26136 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
26138 cat >>$CONFIG_STATUS <<\_ACEOF
26139 --version |
--vers* |
-V )
26140 echo "$ac_cs_version"; exit 0 ;;
26142 # Conflict between --help and --header
26143 { { echo "$as_me:$LINENO: error: ambiguous option: $1
26144 Try \`$0 --help' for more information." >&5
26145 echo "$as_me: error: ambiguous option: $1
26146 Try \`$0 --help' for more information." >&2;}
26147 { (exit 1); exit 1; }; };;
26148 --help |
--hel |
-h )
26149 echo "$ac_cs_usage"; exit 0 ;;
26150 --debug |
--d* |
-d )
26152 --file |
--fil |
--fi |
--f )
26154 CONFIG_FILES
="$CONFIG_FILES $1"
26155 ac_need_defaults
=false
;;
26156 --header |
--heade |
--head |
--hea )
26158 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
26159 ac_need_defaults
=false
;;
26161 # This is an error.
26162 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
26163 Try \`$0 --help' for more information." >&5
26164 echo "$as_me: error: unrecognized option: $1
26165 Try \`$0 --help' for more information." >&2;}
26166 { (exit 1); exit 1; }; } ;;
26168 *) ac_config_targets
="$ac_config_targets $1" ;;
26180 cat >>$CONFIG_STATUS <<\_ACEOF
26181 for ac_config_target
in $ac_config_targets
26183 case "$ac_config_target" in
26184 # Handling of arguments.
26185 "include/stamp-h" ) CONFIG_FILES
="$CONFIG_FILES include/stamp-h" ;;
26186 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26187 "script/findsmb" ) CONFIG_FILES
="$CONFIG_FILES script/findsmb" ;;
26188 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
26189 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26190 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26191 { (exit 1); exit 1; }; };;
26195 # If the user did not use the arguments to specify the items to instantiate,
26196 # then the envvar interface is used. Set only those that are not.
26197 # We use the long form for the default assignment because of an extremely
26198 # bizarre bug on SunOS 4.1.3.
26199 if $ac_need_defaults; then
26200 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26201 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26204 # Create a temporary directory, and hook for its removal unless debugging.
26207 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
26208 trap '{ (exit 1); exit 1; }' 1 2 13 15
26211 # Create a (secure) tmp directory for tmp files.
26214 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
26215 test -n "$tmp" && test -d "$tmp"
26218 tmp
=$TMPDIR/cs$$
-$RANDOM
26219 (umask 077 && mkdir
$tmp)
26222 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
26223 { (exit 1); exit 1; }
26228 cat >>$CONFIG_STATUS <<_ACEOF
26231 # CONFIG_FILES section.
26234 # No need to generate the scripts if there are no CONFIG_FILES.
26235 # This happens for instance when ./config.status config.h
26236 if test -n "\$CONFIG_FILES"; then
26237 # Protect against being on the right side of a sed subst in config.status.
26238 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
26239 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
26240 s,@SHELL@,$SHELL,;t t
26241 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
26242 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
26243 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
26244 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
26245 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
26246 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
26247 s,@exec_prefix@,$exec_prefix,;t t
26248 s,@prefix@,$prefix,;t t
26249 s,@program_transform_name@,$program_transform_name,;t t
26250 s,@bindir@,$bindir,;t t
26251 s,@sbindir@,$sbindir,;t t
26252 s,@libexecdir@,$libexecdir,;t t
26253 s,@datadir@,$datadir,;t t
26254 s,@sysconfdir@,$sysconfdir,;t t
26255 s,@sharedstatedir@,$sharedstatedir,;t t
26256 s,@localstatedir@,$localstatedir,;t t
26257 s,@libdir@,$libdir,;t t
26258 s,@includedir@,$includedir,;t t
26259 s,@oldincludedir@,$oldincludedir,;t t
26260 s,@infodir@,$infodir,;t t
26261 s,@mandir@,$mandir,;t t
26262 s,@build_alias@,$build_alias,;t t
26263 s,@host_alias@,$host_alias,;t t
26264 s,@target_alias@,$target_alias,;t t
26265 s,@DEFS@,$DEFS,;t t
26266 s,@ECHO_C@,$ECHO_C,;t t
26267 s,@ECHO_N@,$ECHO_N,;t t
26268 s,@ECHO_T@,$ECHO_T,;t t
26269 s,@LIBS@,$LIBS,;t t
26270 s,@configdir@,$configdir,;t t
26271 s,@lockdir@,$lockdir,;t t
26272 s,@piddir@,$piddir,;t t
26273 s,@logfilebase@,$logfilebase,;t t
26274 s,@privatedir@,$privatedir,;t t
26275 s,@swatdir@,$swatdir,;t t
26276 s,@LDSHFLAGS@,$LDSHFLAGS,;t t
26277 s,@SONAMEFLAG@,$SONAMEFLAG,;t t
26278 s,@SHLD@,$SHLD,;t t
26279 s,@HOST_OS@,$HOST_OS,;t t
26280 s,@PICFLAG@,$PICFLAG,;t t
26281 s,@PICSUFFIX@,$PICSUFFIX,;t t
26282 s,@POBAD_CC@,$POBAD_CC,;t t
26283 s,@SHLIBEXT@,$SHLIBEXT,;t t
26284 s,@INSTALLCLIENTCMD_SH@,$INSTALLCLIENTCMD_SH,;t t
26285 s,@INSTALLCLIENTCMD_A@,$INSTALLCLIENTCMD_A,;t t
26286 s,@LIBSMBCLIENT_SHARED@,$LIBSMBCLIENT_SHARED,;t t
26287 s,@LIBSMBCLIENT@,$LIBSMBCLIENT,;t t
26288 s,@PRINTLIBS@,$PRINTLIBS,;t t
26289 s,@AUTHLIBS@,$AUTHLIBS,;t t
26290 s,@SHLIB_PROGS@,$SHLIB_PROGS,;t t
26291 s,@SMBWRAPPER@,$SMBWRAPPER,;t t
26292 s,@EXTRA_BIN_PROGS@,$EXTRA_BIN_PROGS,;t t
26293 s,@EXTRA_SBIN_PROGS@,$EXTRA_SBIN_PROGS,;t t
26294 s,@EXTRA_ALL_TARGETS@,$EXTRA_ALL_TARGETS,;t t
26296 s,@CFLAGS@,$CFLAGS,;t t
26297 s,@LDFLAGS@,$LDFLAGS,;t t
26298 s,@CPPFLAGS@,$CPPFLAGS,;t t
26299 s,@ac_ct_CC@,$ac_ct_CC,;t t
26300 s,@EXEEXT@,$EXEEXT,;t t
26301 s,@OBJEXT@,$OBJEXT,;t t
26302 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26303 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26304 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
26306 s,@BROKEN_CC@,$BROKEN_CC,;t t
26307 s,@build@,$build,;t t
26308 s,@build_cpu@,$build_cpu,;t t
26309 s,@build_vendor@,$build_vendor,;t t
26310 s,@build_os@,$build_os,;t t
26311 s,@host@,$host,;t t
26312 s,@host_cpu@,$host_cpu,;t t
26313 s,@host_vendor@,$host_vendor,;t t
26314 s,@host_os@,$host_os,;t t
26315 s,@target@,$target,;t t
26316 s,@target_cpu@,$target_cpu,;t t
26317 s,@target_vendor@,$target_vendor,;t t
26318 s,@target_os@,$target_os,;t t
26320 s,@CUPS_CONFIG@,$CUPS_CONFIG,;t t
26321 s,@LIBOBJS@,$LIBOBJS,;t t
26322 s,@TERMLIBS@,$TERMLIBS,;t t
26323 s,@TERMLDFLAGS@,$TERMLDFLAGS,;t t
26324 s,@ROFF@,$ROFF,;t t
26325 s,@DYNEXP@,$DYNEXP,;t t
26326 s,@MYSQL_CONFIG@,$MYSQL_CONFIG,;t t
26327 s,@MYSQL_CFLAGS@,$MYSQL_CFLAGS,;t t
26328 s,@MYSQL_LIBS@,$MYSQL_LIBS,;t t
26329 s,@MODULE_MYSQL@,$MODULE_MYSQL,;t t
26330 s,@XML2_CONFIG@,$XML2_CONFIG,;t t
26331 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
26332 s,@XML_LIBS@,$XML_LIBS,;t t
26333 s,@MODULE_XML@,$MODULE_XML,;t t
26334 s,@QUOTAOBJS@,$QUOTAOBJS,;t t
26335 s,@manlangs@,$manlangs,;t t
26336 s,@WINBIND_NSS_EXTRA_OBJS@,$WINBIND_NSS_EXTRA_OBJS,;t t
26337 s,@WINBIND_NSS_EXTRA_LIBS@,$WINBIND_NSS_EXTRA_LIBS,;t t
26338 s,@BUILD_POPT@,$BUILD_POPT,;t t
26339 s,@FLAGS1@,$FLAGS1,;t t
26340 s,@PYTHON@,$PYTHON,;t t
26341 s,@builddir@,$builddir,;t t
26346 cat >>$CONFIG_STATUS <<\_ACEOF
26347 # Split the substitutions into bite-sized pieces for seds with
26348 # small command number limits, like on Digital OSF/1 and HP-UX.
26349 ac_max_sed_lines
=48
26350 ac_sed_frag
=1 # Number of current file.
26351 ac_beg
=1 # First line for current file.
26352 ac_end
=$ac_max_sed_lines # Line after last line for current file.
26355 while $ac_more_lines; do
26356 if test $ac_beg -gt 1; then
26357 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26359 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26361 if test ! -s $tmp/subs.frag
; then
26362 ac_more_lines
=false
26364 # The purpose of the label and of the branching condition is to
26365 # speed up the sed processing (if there are no `@' at all, there
26366 # is no need to browse any of the substitutions).
26367 # These are the two extra sed commands mentioned above.
26369 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
26370 if test -z "$ac_sed_cmds"; then
26371 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
26373 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
26375 ac_sed_frag
=`expr $ac_sed_frag + 1`
26377 ac_end
=`expr $ac_end + $ac_max_sed_lines`
26380 if test -z "$ac_sed_cmds"; then
26383 fi # test -n "$CONFIG_FILES"
26386 cat >>$CONFIG_STATUS <<\_ACEOF
26387 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
26388 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26390 - |
*:- |
*:-:* ) # input from stdin
26392 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26393 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26394 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26395 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26396 * ) ac_file_in
=$ac_file.
in ;;
26399 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
26400 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
26401 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26402 X"$ac_file" : 'X\(//\)[^/]' \| \
26403 X"$ac_file" : 'X\(//\)$' \| \
26404 X"$ac_file" : 'X\(/\)' \| \
26405 . : '\(.\)' 2>/dev/null ||
26407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26408 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26409 /^X\(\/\/\)$/{ s//\1/; q; }
26410 /^X\(\/\).*/{ s//\1/; q; }
26412 { case "$ac_dir" in
26413 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
26417 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
26418 case $as_mkdir_dir in
26419 # Skip DOS drivespec
26420 ?
:) as_incr_dir
=$as_mkdir_dir ;;
26422 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
26423 test -d "$as_incr_dir" ||
26424 mkdir
"$as_incr_dir" ||
26425 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
26426 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
26427 { (exit 1); exit 1; }; }
26434 if test "$ac_dir" != .
; then
26435 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26436 # A "../" for each directory in $ac_dir_suffix.
26437 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26439 ac_dir_suffix
= ac_top_builddir
=
26443 .
) # No --srcdir option. We are building in place.
26445 if test -z "$ac_top_builddir"; then
26448 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
26450 [\\/]* | ?
:[\\/]* ) # Absolute path.
26451 ac_srcdir
=$srcdir$ac_dir_suffix;
26452 ac_top_srcdir
=$srcdir ;;
26453 *) # Relative path.
26454 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
26455 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
26457 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
26459 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
26460 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
26461 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
26462 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
26466 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26467 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
26470 if test x
"$ac_file" != x-
; then
26471 { echo "$as_me:$LINENO: creating $ac_file" >&5
26472 echo "$as_me: creating $ac_file" >&6;}
26475 # Let's still pretend it is `configure' which instantiates (i.e., don't
26476 # use $as_me), people would be surprised to read:
26477 # /* config.h. Generated by config.status. */
26478 if test x
"$ac_file" = x-
; then
26481 configure_input
="$ac_file. "
26483 configure_input
=$configure_input"Generated from `echo $ac_file_in |
26484 sed 's,.*/,,'` by configure."
26486 # First look for the input files in the build tree, otherwise in the
26488 ac_file_inputs
=`IFS=:
26489 for f in $ac_file_in; do
26491 -) echo $tmp/stdin ;;
26493 # Absolute (can't be DOS-style, as IFS=:)
26494 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26495 echo "$as_me: error: cannot find input file: $f" >&2;}
26496 { (exit 1); exit 1; }; }
26499 if test -f "$f"; then
26502 elif test -f "$srcdir/$f"; then
26507 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26508 echo "$as_me: error: cannot find input file: $f" >&2;}
26509 { (exit 1); exit 1; }; }
26512 done` ||
{ (exit 1); exit 1; }
26514 cat >>$CONFIG_STATUS <<_ACEOF
26518 cat >>$CONFIG_STATUS <<\_ACEOF
26520 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26521 s
,@configure_input@
,$configure_input,;t t
26522 s
,@srcdir@
,$ac_srcdir,;t t
26523 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
26524 s
,@top_srcdir@
,$ac_top_srcdir,;t t
26525 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
26526 s
,@builddir@
,$ac_builddir,;t t
26527 s
,@abs_builddir@
,$ac_abs_builddir,;t t
26528 s
,@top_builddir@
,$ac_top_builddir,;t t
26529 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
26530 s
,@INSTALL@
,$ac_INSTALL,;t t
26531 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
26533 if test x"$ac_file" != x-; then
26534 mv $tmp/out $ac_file
26542 cat >>$CONFIG_STATUS <<\_ACEOF
26545 # CONFIG_HEADER section.
26548 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
26549 # NAME is the cpp macro being defined and VALUE is the value it is being given.
26551 # ac_d sets the value in "#define NAME VALUE" lines.
26552 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
26553 ac_dB
='[ ].*$,\1#\2'
26556 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
26557 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
26558 ac_uB
='$,\1#\2define\3'
26562 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
26563 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26565 - |
*:- |
*:-:* ) # input from stdin
26567 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26568 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26569 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26570 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26571 * ) ac_file_in
=$ac_file.
in ;;
26574 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
26575 echo "$as_me: creating $ac_file" >&6;}
26577 # First look for the input files in the build tree, otherwise in the
26579 ac_file_inputs
=`IFS=:
26580 for f in $ac_file_in; do
26582 -) echo $tmp/stdin ;;
26584 # Absolute (can't be DOS-style, as IFS=:)
26585 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26586 echo "$as_me: error: cannot find input file: $f" >&2;}
26587 { (exit 1); exit 1; }; }
26590 if test -f "$f"; then
26593 elif test -f "$srcdir/$f"; then
26598 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26599 echo "$as_me: error: cannot find input file: $f" >&2;}
26600 { (exit 1); exit 1; }; }
26603 done` ||
{ (exit 1); exit 1; }
26604 # Remove the trailing spaces.
26605 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
26609 # Transform confdefs.h into two sed scripts, `conftest.defines' and
26610 # `conftest.undefs', that substitutes the proper values into
26611 # config.h.in to produce config.h. The first handles `#define'
26612 # templates, and the second `#undef' templates.
26613 # And first: Protect against being on the right side of a sed subst in
26614 # config.status. Protect against being in an unquoted here document
26615 # in config.status.
26616 rm -f conftest.defines conftest.undefs
26617 # Using a here document instead of a string reduces the quoting nightmare.
26618 # Putting comments in sed scripts is not portable.
26620 # `end' is used to avoid that the second main sed command (meant for
26621 # 0-ary CPP macros) applies to n-ary macro definitions.
26622 # See the Autoconf documentation for `clear'.
26623 cat >confdef2sed.
sed <<\_ACEOF
26628 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
26630 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
26633 # If some macros were called several times there might be several times
26634 # the same #defines, which is useless. Nevertheless, we may not want to
26635 # sort them, since we want the *last* AC-DEFINE to be honored.
26636 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
26637 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
26638 rm -f confdef2sed.sed
26640 # This sed command replaces #undef with comments. This is necessary, for
26641 # example, in the case of _POSIX_SOURCE, which is predefined and required
26642 # on some systems where configure will not decide to define it.
26643 cat >>conftest.undefs <<\_ACEOF
26644 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
26647 # Break up conftest.defines because some shells have a limit on the size
26648 # of here documents, and old seds have small limits too (100 cmds).
26649 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
26650 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
26651 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
26652 echo ' :' >>$CONFIG_STATUS
26653 rm -f conftest.tail
26654 while grep . conftest.defines >/dev/null
26656 # Write a limited-size here document to $tmp/defines.sed.
26657 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
26658 # Speed up: don't consider the non `#define' lines.
26659 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
26660 # Work around the forget-to-reset-the-flag bug.
26661 echo 't clr' >>$CONFIG_STATUS
26662 echo ': clr' >>$CONFIG_STATUS
26663 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
26665 sed -f $tmp/defines.sed $tmp/in >$tmp/out
26667 mv $tmp/out $tmp/in
26669 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
26670 rm -f conftest.defines
26671 mv conftest.
tail conftest.defines
26673 rm -f conftest.defines
26674 echo ' fi # egrep' >>$CONFIG_STATUS
26675 echo >>$CONFIG_STATUS
26677 # Break up conftest.undefs because some shells have a limit on the size
26678 # of here documents, and old seds have small limits too (100 cmds).
26679 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
26680 rm -f conftest.
tail
26681 while grep . conftest.undefs
>/dev
/null
26683 # Write a limited-size here document to $tmp/undefs.sed.
26684 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
26685 # Speed up: don't consider the non
`#undef'
26686 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
26687 # Work around the forget-to-reset-the-flag bug.
26688 echo 't clr' >>$CONFIG_STATUS
26689 echo ': clr' >>$CONFIG_STATUS
26690 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
26692 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
26694 mv $tmp/out $tmp/in
26696 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
26697 rm -f conftest.undefs
26698 mv conftest.tail conftest.undefs
26700 rm -f conftest.undefs
26702 cat >>$CONFIG_STATUS <<\_ACEOF
26703 # Let's still pretend it is `configure
' which instantiates (i.e., don't
26704 # use $as_me), people would be surprised to read:
26705 # /* config.h. Generated by config.status. */
26706 if test x
"$ac_file" = x-
; then
26707 echo "/* Generated by configure. */" >$tmp/config.h
26709 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
26711 cat $tmp/in >>$tmp/config.h
26713 if test x
"$ac_file" != x-
; then
26714 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
26715 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26716 echo "$as_me: $ac_file is unchanged" >&6;}
26718 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
26719 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26720 X"$ac_file" : 'X\(//\)[^/]' \| \
26721 X"$ac_file" : 'X\(//\)$' \| \
26722 X"$ac_file" : 'X\(/\)' \| \
26723 . : '\(.\)' 2>/dev/null ||
26725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26726 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26727 /^X\(\/\/\)$/{ s//\1/; q; }
26728 /^X\(\/\).*/{ s//\1/; q; }
26730 { case "$ac_dir" in
26731 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
26735 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
26736 case $as_mkdir_dir in
26737 # Skip DOS drivespec
26738 ?
:) as_incr_dir
=$as_mkdir_dir ;;
26740 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
26741 test -d "$as_incr_dir" ||
26742 mkdir
"$as_incr_dir" ||
26743 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
26744 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
26745 { (exit 1); exit 1; }; }
26751 mv $tmp/config.h
$ac_file
26755 rm -f $tmp/config.h
26760 cat >>$CONFIG_STATUS <<\_ACEOF
26762 { (exit 0); exit 0; }
26764 chmod +x
$CONFIG_STATUS
26765 ac_clean_files
=$ac_clean_files_save
26768 # configure is writing to config.log, and then calls config.status.
26769 # config.status does its own redirection, appending to config.log.
26770 # Unfortunately, on DOS this fails, as config.log is still kept open
26771 # by configure, so config.status won't be able to write to it; its
26772 # output is simply discarded. So we exec the FD to /dev/null,
26773 # effectively closing config.log, so it can be properly (re)opened and
26774 # appended to by config.status. When coming back to configure, we
26775 # need to make the FD available again.
26776 if test "$no_create" != yes; then
26779 $SHELL $CONFIG_STATUS || ac_cs_success
=false
26781 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26782 # would make configure fail if this is the last instruction.
26783 $ac_cs_success ||
{ (exit 1); exit 1; }
26787 #################################################
26788 # Print very concise instructions on building/use
26789 if test "x$enable_dmalloc" = xyes
26791 echo "$as_me:$LINENO: result: Note: The dmalloc debug library will be included. To turn it on use" >&5
26792 echo "${ECHO_T}Note: The dmalloc debug library will be included. To turn it on use" >&6
26793 echo "$as_me:$LINENO: result: \$ eval \\`dmalloc samba\\`." >&5
26794 echo "${ECHO_T} \$ eval \\`dmalloc samba\\`." >&6