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-sam Build new
(experimental
) SAM database
(default
=no
)
866 --with-ldapsam Include LDAP SAM
2.2 compatible configuration
(default
=no
)
867 --with-tdbsam Include experimental TDB SAM support
(default
=no
)
868 --with-nisplussam Include NISPLUS SAM support
(default
=no
)
869 --with-nisplus-home Include NISPLUS_HOME support
(default
=no
)
870 --with-syslog Include experimental SYSLOG support
(default
=no
)
871 --with-profiling-data Include gathering
source code profile information
(default
=no
)
872 --with-quotas Include experimental disk-quota support
(default
=no
)
873 --with-utmp Include experimental utmp accounting
(default
=no
)
874 --with-manpages-langs={en
,ja
,pl
} Choose man pages
' language(s). (en)
875 --with-libsmbclient Build the libsmbclient shared library (default=yes)
876 --with-spinlocks Use spin locks instead of fcntl locks (default=no)
877 --with-acl-support Include ACL support (default=no)
878 --with-sendfile-support Check for sendfile support (default=yes)
879 --with-winbind Build winbind (default, if supported by OS)
880 --with-included-popt use bundled popt library, not from system
881 --with-python=PYTHONNAME build Python libraries
883 Some influential environment variables:
884 CC C compiler command
885 CFLAGS C compiler flags
886 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
887 nonstandard directory <lib dir>
888 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
889 headers in a nonstandard directory <include dir>
892 Use these variables to override the choices made by `configure' or to
help
893 it to
find libraries and programs with nonstandard names
/locations.
898 if test "$ac_init_help" = "recursive"; then
899 # If there are subdirs, report their specific --help.
901 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
902 test -d $ac_dir ||
continue
905 if test "$ac_dir" != .
; then
906 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
907 # A "../" for each directory in $ac_dir_suffix.
908 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
910 ac_dir_suffix
= ac_top_builddir
=
914 .
) # No --srcdir option. We are building in place.
916 if test -z "$ac_top_builddir"; then
919 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
921 [\\/]* | ?
:[\\/]* ) # Absolute path.
922 ac_srcdir
=$srcdir$ac_dir_suffix;
923 ac_top_srcdir
=$srcdir ;;
925 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
926 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
928 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
930 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
931 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
932 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
933 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
936 # Check for guested configure; otherwise get Cygnus style configure.
937 if test -f $ac_srcdir/configure.gnu
; then
939 $SHELL $ac_srcdir/configure.gnu
--help=recursive
940 elif test -f $ac_srcdir/configure
; then
942 $SHELL $ac_srcdir/configure
--help=recursive
943 elif test -f $ac_srcdir/configure.ac ||
944 test -f $ac_srcdir/configure.
in; then
948 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
954 test -n "$ac_init_help" && exit 0
955 if $ac_init_version; then
958 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
959 Free Software Foundation
, Inc.
960 This configure
script is free software
; the Free Software Foundation
961 gives unlimited permission to copy
, distribute and modify it.
967 This file contains any messages produced by compilers while
968 running configure, to aid debugging if configure makes a mistake.
970 It was created by $as_me, which was
971 generated by GNU Autoconf 2.53. Invocation command line was
982 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
983 uname -m = `(uname -m) 2>/dev/null || echo unknown`
984 uname -r = `(uname -r) 2>/dev/null || echo unknown`
985 uname -s = `(uname -s) 2>/dev/null || echo unknown`
986 uname -v = `(uname -v) 2>/dev/null || echo unknown`
988 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
989 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
991 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
992 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
993 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
994 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
995 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
996 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
997 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1005 test -z "$as_dir" && as_dir
=.
1006 echo "PATH: $as_dir"
1021 # Keep a trace of the command line.
1022 # Strip out --no-create and --no-recursion so they do not pile up.
1023 # Also quote any args containing shell meta-characters.
1029 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1030 |
--no-cr |
--no-c |
-n ) continue ;;
1031 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1032 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1034 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1035 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1037 case " $ac_configure_args " in
1038 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1039 *) ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1042 # Get rid of the leading space.
1045 # When interrupted or exit'd, cleanup temporary files, and complete
1046 # config.log. We remove comments because anyway the quotes in there
1047 # would cause problems or look ugly.
1048 # WARNING: Be sure not to use single quotes in there, as some shells,
1049 # such as our DU 5.0 friend, will then `close' the trap.
1050 trap 'exit_status=$?
1051 # Save into config.log some information that might help in debugging.
1055 ## ---------------- ##
1056 ## Cache variables. ##
1057 ## ---------------- ##
1060 # The following way of writing the cache mishandles newlines in values,
1063 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1066 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1067 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1071 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1076 if test -s confdefs.h; then
1083 sed "/^$/d" confdefs.h
1086 test "$ac_signal" != 0 &&
1087 echo "$as_me: caught signal $ac_signal"
1088 echo "$as_me: exit $exit_status"
1090 rm -f core core.* *.core &&
1091 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1094 for ac_signal
in 1 2 13 15; do
1095 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1099 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1100 rm -rf conftest
* confdefs.h
1101 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1104 # Predefined preprocessor variables.
1106 cat >>confdefs.h
<<_ACEOF
1107 #define PACKAGE_NAME "$PACKAGE_NAME"
1111 cat >>confdefs.h
<<_ACEOF
1112 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1116 cat >>confdefs.h
<<_ACEOF
1117 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1121 cat >>confdefs.h
<<_ACEOF
1122 #define PACKAGE_STRING "$PACKAGE_STRING"
1126 cat >>confdefs.h
<<_ACEOF
1127 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1131 # Let the site file select an alternate cache file if it wants to.
1132 # Prefer explicitly selected file to automatically selected ones.
1133 if test -z "$CONFIG_SITE"; then
1134 if test "x$prefix" != xNONE
; then
1135 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1137 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1140 for ac_site_file
in $CONFIG_SITE; do
1141 if test -r "$ac_site_file"; then
1142 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1143 echo "$as_me: loading site script $ac_site_file" >&6;}
1144 sed 's/^/| /' "$ac_site_file" >&5
1149 if test -r "$cache_file"; then
1150 # Some versions of bash will fail to source /dev/null (special
1151 # files actually), so we avoid doing that.
1152 if test -f "$cache_file"; then
1153 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1154 echo "$as_me: loading cache $cache_file" >&6;}
1156 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1157 *) . .
/$cache_file;;
1161 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1162 echo "$as_me: creating cache $cache_file" >&6;}
1166 # Check that the precious variables saved in the cache have kept the same
1168 ac_cache_corrupted
=false
1169 for ac_var
in `(set) 2>&1 |
1170 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1171 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1172 eval ac_new_set
=\
$ac_env_${ac_var}_set
1173 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1174 eval ac_new_val
="\$ac_env_${ac_var}_value"
1175 case $ac_old_set,$ac_new_set in
1177 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1178 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1179 ac_cache_corrupted
=: ;;
1181 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1182 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1183 ac_cache_corrupted
=: ;;
1186 if test "x$ac_old_val" != "x$ac_new_val"; then
1187 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1188 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1189 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1190 echo "$as_me: former value: $ac_old_val" >&2;}
1191 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1192 echo "$as_me: current value: $ac_new_val" >&2;}
1193 ac_cache_corrupted
=:
1196 # Pass precious variables to config.status.
1197 if test "$ac_new_set" = set; then
1199 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1200 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1201 *) ac_arg
=$ac_var=$ac_new_val ;;
1203 case " $ac_configure_args " in
1204 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1205 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1209 if $ac_cache_corrupted; then
1210 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1211 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1212 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1213 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1214 { (exit 1); exit 1; }; }
1218 ac_cpp
='$CPP $CPPFLAGS'
1219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1240 ac_config_headers
="$ac_config_headers include/config.h"
1243 #################################################
1244 # Directory handling stuff to support both the
1245 # legacy SAMBA directories and FHS compliant
1250 # Check whether --with-fhs or --without-fhs was given.
1251 if test "${with_fhs+set}" = set; then
1253 configdir
="${sysconfdir}/samba"
1254 lockdir
="\${VARDIR}/cache/samba"
1255 piddir
="\${VARDIR}/run/samba"
1256 logfilebase
="\${VARDIR}/log/samba"
1257 privatedir
="\${CONFIGDIR}/private"
1258 libdir
="\${prefix}/lib/samba"
1259 swatdir
="\${DATADIR}/samba/swat"
1261 configdir
="\${LIBDIR}"
1262 logfilebase
="\${VARDIR}"
1263 lockdir
="\${VARDIR}/locks"
1264 piddir
="\${VARDIR}/locks"
1265 privatedir
="\${prefix}/private"
1266 swatdir
="\${prefix}/swat"
1269 #################################################
1270 # set private directory location
1272 # Check whether --with-privatedir or --without-privatedir was given.
1273 if test "${with_privatedir+set}" = set; then
1274 withval
="$with_privatedir"
1278 # Just in case anybody calls it without argument
1280 { echo "$as_me:$LINENO: WARNING: --with-privatedir called without argument - will use default" >&5
1281 echo "$as_me: WARNING: --with-privatedir called without argument - will use default" >&2;}
1284 privatedir
="$withval"
1289 #################################################
1290 # set lock directory location
1292 # Check whether --with-lockdir or --without-lockdir was given.
1293 if test "${with_lockdir+set}" = set; then
1294 withval
="$with_lockdir"
1298 # Just in case anybody calls it without argument
1300 { echo "$as_me:$LINENO: WARNING: --with-lockdir called without argument - will use default" >&5
1301 echo "$as_me: WARNING: --with-lockdir called without argument - will use default" >&2;}
1309 #################################################
1310 # set pid directory location
1312 # Check whether --with-piddir or --without-piddir was given.
1313 if test "${with_piddir+set}" = set; then
1314 withval
="$with_piddir"
1318 # Just in case anybody calls it without argument
1320 { echo "$as_me:$LINENO: WARNING: --with-piddir called without argument - will use default" >&5
1321 echo "$as_me: WARNING: --with-piddir called without argument - will use default" >&2;}
1329 #################################################
1330 # set SWAT directory location
1332 # Check whether --with-swatdir or --without-swatdir was given.
1333 if test "${with_swatdir+set}" = set; then
1334 withval
="$with_swatdir"
1338 # Just in case anybody does it
1340 { echo "$as_me:$LINENO: WARNING: --with-swatdir called without argument - will use default" >&5
1341 echo "$as_me: WARNING: --with-swatdir called without argument - will use default" >&2;}
1349 #################################################
1350 # set configuration directory location
1352 # Check whether --with-configdir or --without-configdir was given.
1353 if test "${with_configdir+set}" = set; then
1354 withval
="$with_configdir"
1358 # Just in case anybody does it
1360 { echo "$as_me:$LINENO: WARNING: --with-configdir called without argument - will use default" >&5
1361 echo "$as_me: WARNING: --with-configdir called without argument - will use default" >&2;}
1364 configdir
="$withval"
1369 #################################################
1370 # set log directory location
1372 # Check whether --with-logfilebase or --without-logfilebase was given.
1373 if test "${with_logfilebase+set}" = set; then
1374 withval
="$with_logfilebase"
1378 # Just in case anybody does it
1380 { echo "$as_me:$LINENO: WARNING: --with-logfilebase called without argument - will use default" >&5
1381 echo "$as_me: WARNING: --with-logfilebase called without argument - will use default" >&2;}
1384 logfilebase
="$withval"
1417 # compile with optimization and without debugging by default
1418 CFLAGS
="-O ${CFLAGS}"
1420 # Check whether --enable-debug or --disable-debug was given.
1421 if test "${enable_debug+set}" = set; then
1422 enableval
="$enable_debug"
1423 if eval "test x$enable_debug = xyes"; then
1424 CFLAGS
="${CFLAGS} -g"
1428 # Check whether --enable-developer or --disable-developer was given.
1429 if test "${enable_developer+set}" = set; then
1430 enableval
="$enable_developer"
1431 if eval "test x$enable_developer = xyes"; then
1432 CFLAGS
="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER"
1436 # Check whether --enable-krb5developer or --disable-krb5developer was given.
1437 if test "${enable_krb5developer+set}" = set; then
1438 enableval
="$enable_krb5developer"
1439 if eval "test x$enable_krb5developer = xyes"; then
1440 CFLAGS
="${CFLAGS} -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER"
1444 # Check whether --enable-dmalloc or --disable-dmalloc was given.
1445 if test "${enable_dmalloc+set}" = set; then
1446 enableval
="$enable_dmalloc"
1450 if test "x$enable_dmalloc" = xyes
1453 cat >>confdefs.h
<<\_ACEOF
1454 #define ENABLE_DMALLOC 1
1458 cat >>confdefs.h
<<\_ACEOF
1459 #define DMALLOC_FUNC_CHECK 1
1462 LIBS
="$LIBS -ldmalloc"
1466 ac_cpp
='$CPP $CPPFLAGS'
1467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1470 if test -n "$ac_tool_prefix"; then
1471 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1472 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_CC+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1478 if test -n "$CC"; then
1479 ac_cv_prog_CC
="$CC" # Let the user override the test.
1481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1485 test -z "$as_dir" && as_dir
=.
1486 for ac_exec_ext
in '' $ac_executable_extensions; do
1487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1488 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1498 if test -n "$CC"; then
1499 echo "$as_me:$LINENO: result: $CC" >&5
1500 echo "${ECHO_T}$CC" >&6
1502 echo "$as_me:$LINENO: result: no" >&5
1503 echo "${ECHO_T}no" >&6
1507 if test -z "$ac_cv_prog_CC"; then
1509 # Extract the first word of "gcc", so it can be a program name with args.
1510 set dummy gcc
; ac_word
=$2
1511 echo "$as_me:$LINENO: checking for $ac_word" >&5
1512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1516 if test -n "$ac_ct_CC"; then
1517 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1523 test -z "$as_dir" && as_dir
=.
1524 for ac_exec_ext
in '' $ac_executable_extensions; do
1525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1526 ac_cv_prog_ac_ct_CC
="gcc"
1527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1535 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1536 if test -n "$ac_ct_CC"; then
1537 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1538 echo "${ECHO_T}$ac_ct_CC" >&6
1540 echo "$as_me:$LINENO: result: no" >&5
1541 echo "${ECHO_T}no" >&6
1549 if test -z "$CC"; then
1550 if test -n "$ac_tool_prefix"; then
1551 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1552 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1553 echo "$as_me:$LINENO: checking for $ac_word" >&5
1554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1555 if test "${ac_cv_prog_CC+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 if test -n "$CC"; then
1559 ac_cv_prog_CC
="$CC" # Let the user override the test.
1561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1565 test -z "$as_dir" && as_dir
=.
1566 for ac_exec_ext
in '' $ac_executable_extensions; do
1567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1568 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1578 if test -n "$CC"; then
1579 echo "$as_me:$LINENO: result: $CC" >&5
1580 echo "${ECHO_T}$CC" >&6
1582 echo "$as_me:$LINENO: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1587 if test -z "$ac_cv_prog_CC"; then
1589 # Extract the first word of "cc", so it can be a program name with args.
1590 set dummy cc
; ac_word
=$2
1591 echo "$as_me:$LINENO: checking for $ac_word" >&5
1592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1593 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 if test -n "$ac_ct_CC"; then
1597 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1603 test -z "$as_dir" && as_dir
=.
1604 for ac_exec_ext
in '' $ac_executable_extensions; do
1605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1606 ac_cv_prog_ac_ct_CC
="cc"
1607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1615 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1616 if test -n "$ac_ct_CC"; then
1617 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1618 echo "${ECHO_T}$ac_ct_CC" >&6
1620 echo "$as_me:$LINENO: result: no" >&5
1621 echo "${ECHO_T}no" >&6
1630 if test -z "$CC"; then
1631 # Extract the first word of "cc", so it can be a program name with args.
1632 set dummy cc
; ac_word
=$2
1633 echo "$as_me:$LINENO: checking for $ac_word" >&5
1634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1635 if test "${ac_cv_prog_CC+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 if test -n "$CC"; then
1639 ac_cv_prog_CC
="$CC" # Let the user override the test.
1642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1646 test -z "$as_dir" && as_dir
=.
1647 for ac_exec_ext
in '' $ac_executable_extensions; do
1648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1649 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1650 ac_prog_rejected
=yes
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 if test $ac_prog_rejected = yes; then
1661 # We found a bogon in the path, so make sure we never use it.
1662 set dummy
$ac_cv_prog_CC
1664 if test $# != 0; then
1665 # We chose a different compiler from the bogus one.
1666 # However, it has the same basename, so the bogon will be chosen
1667 # first if we set CC to just the basename; use the full file name.
1669 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1677 if test -n "$CC"; then
1678 echo "$as_me:$LINENO: result: $CC" >&5
1679 echo "${ECHO_T}$CC" >&6
1681 echo "$as_me:$LINENO: result: no" >&5
1682 echo "${ECHO_T}no" >&6
1686 if test -z "$CC"; then
1687 if test -n "$ac_tool_prefix"; then
1690 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1691 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_CC+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 if test -n "$CC"; then
1698 ac_cv_prog_CC
="$CC" # Let the user override the test.
1700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir
=.
1705 for ac_exec_ext
in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1717 if test -n "$CC"; then
1718 echo "$as_me:$LINENO: result: $CC" >&5
1719 echo "${ECHO_T}$CC" >&6
1721 echo "$as_me:$LINENO: result: no" >&5
1722 echo "${ECHO_T}no" >&6
1725 test -n "$CC" && break
1728 if test -z "$CC"; then
1732 # Extract the first word of "$ac_prog", so it can be a program name with args.
1733 set dummy
$ac_prog; ac_word
=$2
1734 echo "$as_me:$LINENO: checking for $ac_word" >&5
1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1739 if test -n "$ac_ct_CC"; then
1740 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1746 test -z "$as_dir" && as_dir
=.
1747 for ac_exec_ext
in '' $ac_executable_extensions; do
1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1749 ac_cv_prog_ac_ct_CC
="$ac_prog"
1750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1758 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1759 if test -n "$ac_ct_CC"; then
1760 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1761 echo "${ECHO_T}$ac_ct_CC" >&6
1763 echo "$as_me:$LINENO: result: no" >&5
1764 echo "${ECHO_T}no" >&6
1767 test -n "$ac_ct_CC" && break
1776 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1777 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1778 { (exit 1); exit 1; }; }
1780 # Provide some information about the compiler.
1781 echo "$as_me:$LINENO:" \
1782 "checking for C compiler version" >&5
1783 ac_compiler
=`set X $ac_compile; echo $2`
1784 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1785 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1788 (exit $ac_status); }
1789 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1790 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793 (exit $ac_status); }
1794 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1795 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1798 (exit $ac_status); }
1800 cat >conftest.
$ac_ext <<_ACEOF
1801 #line $LINENO "configure"
1802 #include "confdefs.h"
1804 #ifdef F77_DUMMY_MAIN
1808 int F77_DUMMY_MAIN() { return 1; }
1818 ac_clean_files_save
=$ac_clean_files
1819 ac_clean_files
="$ac_clean_files a.out a.exe"
1820 # Try to create an executable without -o first, disregard a.out.
1821 # It will help us diagnose broken compilers, and finding out an intuition
1823 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1824 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1825 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1826 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1827 (eval $ac_link_default) 2>&5
1829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1830 (exit $ac_status); }; then
1831 # Find the output, starting from the most likely. This scheme is
1832 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1835 # Be careful to initialize this variable, since it used to be cached.
1836 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1838 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1839 ls a.out conftest 2>/dev/null;
1840 ls a.* conftest.* 2>/dev/null`; do
1842 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM
) ;;
1843 a.out
) # We found the default executable, but exeext='' is most
1846 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1847 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1854 echo "$as_me: failed program was:" >&5
1855 cat conftest.
$ac_ext >&5
1856 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1857 echo "$as_me: error: C compiler cannot create executables" >&2;}
1858 { (exit 77); exit 77; }; }
1861 ac_exeext
=$ac_cv_exeext
1862 echo "$as_me:$LINENO: result: $ac_file" >&5
1863 echo "${ECHO_T}$ac_file" >&6
1865 # Check the compiler produces executables we can run. If not, either
1866 # the compiler is broken, or we cross compile.
1867 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1868 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1869 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1870 # If not cross compiling, check that we can run a simple program.
1871 if test "$cross_compiling" != yes; then
1872 if { ac_try
='./$ac_file'
1873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1877 (exit $ac_status); }; }; then
1880 if test "$cross_compiling" = maybe
; then
1883 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1884 If you meant to cross compile, use \`--host'." >&5
1885 echo "$as_me: error: cannot run C compiled programs.
1886 If you meant to cross compile, use \`--host'." >&2;}
1887 { (exit 1); exit 1; }; }
1891 echo "$as_me:$LINENO: result: yes" >&5
1892 echo "${ECHO_T}yes" >&6
1894 rm -f a.out a.exe conftest
$ac_cv_exeext
1895 ac_clean_files
=$ac_clean_files_save
1896 # Check the compiler produces executables we can run. If not, either
1897 # the compiler is broken, or we cross compile.
1898 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1899 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1900 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1901 echo "${ECHO_T}$cross_compiling" >&6
1903 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1904 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1906 (eval $ac_link) 2>&5
1908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1909 (exit $ac_status); }; then
1910 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1911 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1912 # work properly (i.e., refer to `conftest.exe'), while it won't with
1914 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1916 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1917 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1924 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1925 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1926 { (exit 1); exit 1; }; }
1929 rm -f conftest
$ac_cv_exeext
1930 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1931 echo "${ECHO_T}$ac_cv_exeext" >&6
1933 rm -f conftest.
$ac_ext
1934 EXEEXT
=$ac_cv_exeext
1936 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1937 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1938 if test "${ac_cv_objext+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 cat >conftest.
$ac_ext <<_ACEOF
1942 #line $LINENO "configure"
1943 #include "confdefs.h"
1945 #ifdef F77_DUMMY_MAIN
1949 int F77_DUMMY_MAIN() { return 1; }
1959 rm -f conftest.o conftest.obj
1960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1961 (eval $ac_compile) 2>&5
1963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1964 (exit $ac_status); }; then
1965 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1967 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1968 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1973 echo "$as_me: failed program was:" >&5
1974 cat conftest.
$ac_ext >&5
1975 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1976 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1977 { (exit 1); exit 1; }; }
1980 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1982 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1983 echo "${ECHO_T}$ac_cv_objext" >&6
1984 OBJEXT
=$ac_cv_objext
1986 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1987 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1988 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 cat >conftest.
$ac_ext <<_ACEOF
1992 #line $LINENO "configure"
1993 #include "confdefs.h"
1995 #ifdef F77_DUMMY_MAIN
1999 int F77_DUMMY_MAIN() { return 1; }
2012 rm -f conftest.
$ac_objext
2013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2014 (eval $ac_compile) 2>&5
2016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2017 (exit $ac_status); } &&
2018 { ac_try
='test -s conftest.$ac_objext'
2019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2023 (exit $ac_status); }; }; then
2026 echo "$as_me: failed program was:" >&5
2027 cat conftest.
$ac_ext >&5
2030 rm -f conftest.
$ac_objext conftest.
$ac_ext
2031 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2034 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2035 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2036 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2037 ac_test_CFLAGS
=${CFLAGS+set}
2038 ac_save_CFLAGS
=$CFLAGS
2040 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2041 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2042 if test "${ac_cv_prog_cc_g+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2045 cat >conftest.
$ac_ext <<_ACEOF
2046 #line $LINENO "configure"
2047 #include "confdefs.h"
2049 #ifdef F77_DUMMY_MAIN
2053 int F77_DUMMY_MAIN() { return 1; }
2063 rm -f conftest.
$ac_objext
2064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2065 (eval $ac_compile) 2>&5
2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068 (exit $ac_status); } &&
2069 { ac_try
='test -s conftest.$ac_objext'
2070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074 (exit $ac_status); }; }; then
2077 echo "$as_me: failed program was:" >&5
2078 cat conftest.
$ac_ext >&5
2081 rm -f conftest.
$ac_objext conftest.
$ac_ext
2083 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2084 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2085 if test "$ac_test_CFLAGS" = set; then
2086 CFLAGS
=$ac_save_CFLAGS
2087 elif test $ac_cv_prog_cc_g = yes; then
2088 if test "$GCC" = yes; then
2094 if test "$GCC" = yes; then
2100 # Some people use a C++ compiler to compile C. Since we use `exit',
2101 # in C++ we need to declare it. In case someone uses the same compiler
2102 # for both compiling C and C++ we need to have the C++ compiler decide
2103 # the declaration of exit, since it's the most demanding environment.
2104 cat >conftest.
$ac_ext <<_ACEOF
2109 rm -f conftest.
$ac_objext
2110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2111 (eval $ac_compile) 2>&5
2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); } &&
2115 { ac_try
='test -s conftest.$ac_objext'
2116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; }; then
2121 for ac_declaration
in \
2123 '#include <stdlib.h>' \
2124 'extern "C" void std::exit (int) throw (); using std::exit;' \
2125 'extern "C" void std::exit (int); using std::exit;' \
2126 'extern "C" void exit (int) throw ();' \
2127 'extern "C" void exit (int);' \
2130 cat >conftest.
$ac_ext <<_ACEOF
2131 #line $LINENO "configure"
2132 #include "confdefs.h"
2135 #ifdef F77_DUMMY_MAIN
2139 int F77_DUMMY_MAIN() { return 1; }
2149 rm -f conftest.
$ac_objext
2150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2151 (eval $ac_compile) 2>&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); } &&
2155 { ac_try
='test -s conftest.$ac_objext'
2156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; }; then
2163 echo "$as_me: failed program was:" >&5
2164 cat conftest.
$ac_ext >&5
2167 rm -f conftest.
$ac_objext conftest.
$ac_ext
2168 cat >conftest.
$ac_ext <<_ACEOF
2169 #line $LINENO "configure"
2170 #include "confdefs.h"
2172 #ifdef F77_DUMMY_MAIN
2176 int F77_DUMMY_MAIN() { return 1; }
2186 rm -f conftest.
$ac_objext
2187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2188 (eval $ac_compile) 2>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); } &&
2192 { ac_try
='test -s conftest.$ac_objext'
2193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }; }; then
2200 echo "$as_me: failed program was:" >&5
2201 cat conftest.
$ac_ext >&5
2203 rm -f conftest.
$ac_objext conftest.
$ac_ext
2206 if test -n "$ac_declaration"; then
2207 echo '#ifdef __cplusplus' >>confdefs.h
2208 echo $ac_declaration >>confdefs.h
2209 echo '#endif' >>confdefs.h
2213 echo "$as_me: failed program was:" >&5
2214 cat conftest.
$ac_ext >&5
2216 rm -f conftest.
$ac_objext conftest.
$ac_ext
2218 ac_cpp
='$CPP $CPPFLAGS'
2219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2224 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2225 if test -f $ac_dir/install-sh
; then
2227 ac_install_sh
="$ac_aux_dir/install-sh -c"
2229 elif test -f $ac_dir/install.sh
; then
2231 ac_install_sh
="$ac_aux_dir/install.sh -c"
2233 elif test -f $ac_dir/shtool
; then
2235 ac_install_sh
="$ac_aux_dir/shtool install -c"
2239 if test -z "$ac_aux_dir"; then
2240 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2241 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2242 { (exit 1); exit 1; }; }
2244 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2245 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2246 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2248 # Find a good install program. We prefer a C program (faster),
2249 # so one script is as good as another. But avoid the broken or
2250 # incompatible versions:
2251 # SysV /etc/install, /usr/sbin/install
2252 # SunOS /usr/etc/install
2253 # IRIX /sbin/install
2255 # AmigaOS /C/install, which installs bootblocks on floppy discs
2256 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2257 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2258 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2259 # ./install, which can be erroneously created by make from ./install.sh.
2260 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2261 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2262 if test -z "$INSTALL"; then
2263 if test "${ac_cv_path_install+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2270 test -z "$as_dir" && as_dir
=.
2271 # Account for people who put trailing slashes in PATH elements.
2273 .
/ | .
// |
/cC
/* | \
2274 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2277 # OSF1 and SCO ODT 3.0 have their own names for install.
2278 # Don't use installbsd from OSF since it installs stuff as root
2280 for ac_prog
in ginstall scoinst
install; do
2281 for ac_exec_ext
in '' $ac_executable_extensions; do
2282 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2283 if test $ac_prog = install &&
2284 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2285 # AIX install. It has an incompatible calling convention.
2287 elif test $ac_prog = install &&
2288 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2289 # program-specific install script used by HP pwplus--don't use.
2292 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2304 if test "${ac_cv_path_install+set}" = set; then
2305 INSTALL
=$ac_cv_path_install
2307 # As a last resort, use the slow shell script. We don't cache a
2308 # path for INSTALL within a source directory, because that will
2309 # break other packages using the cache if that directory is
2310 # removed, or if the path is relative.
2311 INSTALL
=$ac_install_sh
2314 echo "$as_me:$LINENO: result: $INSTALL" >&5
2315 echo "${ECHO_T}$INSTALL" >&6
2317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2318 # It thinks the first close brace ends the variable substitution.
2319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2323 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2325 for ac_prog
in gawk mawk nawk
awk
2327 # Extract the first word of "$ac_prog", so it can be a program name with args.
2328 set dummy
$ac_prog; ac_word
=$2
2329 echo "$as_me:$LINENO: checking for $ac_word" >&5
2330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2331 if test "${ac_cv_prog_AWK+set}" = set; then
2332 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 if test -n "$AWK"; then
2335 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir
=.
2342 for ac_exec_ext
in '' $ac_executable_extensions; do
2343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2344 ac_cv_prog_AWK
="$ac_prog"
2345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 if test -n "$AWK"; then
2355 echo "$as_me:$LINENO: result: $AWK" >&5
2356 echo "${ECHO_T}$AWK" >&6
2358 echo "$as_me:$LINENO: result: no" >&5
2359 echo "${ECHO_T}no" >&6
2362 test -n "$AWK" && break
2367 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
2368 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
2369 if test "${ac_cv_prog_gnu_ld+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2372 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
2373 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
2374 ac_cv_prog_gnu_ld
=yes
2376 ac_cv_prog_gnu_ld
=no
2379 echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_ld" >&5
2380 echo "${ECHO_T}$ac_cv_prog_gnu_ld" >&6
2384 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2385 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2386 if test "${ac_cv_search_strerror+set}" = set; then
2387 echo $ECHO_N "(cached) $ECHO_C" >&6
2389 ac_func_search_save_LIBS
=$LIBS
2390 ac_cv_search_strerror
=no
2391 cat >conftest.
$ac_ext <<_ACEOF
2392 #line $LINENO "configure"
2393 #include "confdefs.h"
2395 /* Override any gcc2 internal prototype to avoid an error. */
2399 /* We use char because int might match the return type of a gcc2
2400 builtin and then its argument prototype would still apply. */
2402 #ifdef F77_DUMMY_MAIN
2406 int F77_DUMMY_MAIN() { return 1; }
2416 rm -f conftest.
$ac_objext conftest
$ac_exeext
2417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2418 (eval $ac_link) 2>&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); } &&
2422 { ac_try
='test -s conftest$ac_exeext'
2423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; }; then
2428 ac_cv_search_strerror
="none required"
2430 echo "$as_me: failed program was:" >&5
2431 cat conftest.
$ac_ext >&5
2433 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2434 if test "$ac_cv_search_strerror" = no
; then
2435 for ac_lib
in cposix
; do
2436 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2437 cat >conftest.
$ac_ext <<_ACEOF
2438 #line $LINENO "configure"
2439 #include "confdefs.h"
2441 /* Override any gcc2 internal prototype to avoid an error. */
2445 /* We use char because int might match the return type of a gcc2
2446 builtin and then its argument prototype would still apply. */
2448 #ifdef F77_DUMMY_MAIN
2452 int F77_DUMMY_MAIN() { return 1; }
2462 rm -f conftest.
$ac_objext conftest
$ac_exeext
2463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2464 (eval $ac_link) 2>&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); } &&
2468 { ac_try
='test -s conftest$ac_exeext'
2469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); }; }; then
2474 ac_cv_search_strerror
="-l$ac_lib"
2477 echo "$as_me: failed program was:" >&5
2478 cat conftest.
$ac_ext >&5
2480 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2483 LIBS
=$ac_func_search_save_LIBS
2485 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2486 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2487 if test "$ac_cv_search_strerror" != no
; then
2488 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2495 if test "x$CC" != xcc
; then
2496 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
2497 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
2499 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
2500 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
2502 set dummy
$CC; ac_cc
=`echo $2 |
2503 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
2504 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 cat >conftest.
$ac_ext <<_ACEOF
2508 #line $LINENO "configure"
2509 #include "confdefs.h"
2511 #ifdef F77_DUMMY_MAIN
2515 int F77_DUMMY_MAIN() { return 1; }
2525 # Make sure it works both with $CC and with simple cc.
2526 # We do the test twice because some compilers refuse to overwrite an
2527 # existing .o file with -o, though they will create one.
2528 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
2529 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); } &&
2534 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); };
2540 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
2541 if test "x$CC" != xcc
; then
2542 # Test first that cc exists at all.
2543 if { ac_try
='cc -c conftest.$ac_ext >&5'
2544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; }; then
2549 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
2550 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); } &&
2555 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); };
2564 # cc exists but doesn't like -o.
2565 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
2570 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
2575 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
2576 echo "$as_me:$LINENO: result: yes" >&5
2577 echo "${ECHO_T}yes" >&6
2579 echo "$as_me:$LINENO: result: no" >&5
2580 echo "${ECHO_T}no" >&6
2582 cat >>confdefs.h
<<\_ACEOF
2583 #define NO_MINUS_C_MINUS_O 1
2588 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = no"; then
2595 echo "$as_me:$LINENO: checking that the C compiler understands volatile" >&5
2596 echo $ECHO_N "checking that the C compiler understands volatile... $ECHO_C" >&6
2597 if test "${samba_cv_volatile+set}" = set; then
2598 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 cat >conftest.
$ac_ext <<_ACEOF
2602 #line $LINENO "configure"
2603 #include "confdefs.h"
2604 #include <sys/types.h>
2605 #ifdef F77_DUMMY_MAIN
2609 int F77_DUMMY_MAIN() { return 1; }
2619 rm -f conftest.
$ac_objext
2620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2621 (eval $ac_compile) 2>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); } &&
2625 { ac_try
='test -s conftest.$ac_objext'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; }; then
2631 samba_cv_volatile
=yes
2633 echo "$as_me: failed program was:" >&5
2634 cat conftest.
$ac_ext >&5
2635 samba_cv_volatile
=no
2637 rm -f conftest.
$ac_objext conftest.
$ac_ext
2639 echo "$as_me:$LINENO: result: $samba_cv_volatile" >&5
2640 echo "${ECHO_T}$samba_cv_volatile" >&6
2641 if test x
"$samba_cv_volatile" = x
"yes"; then
2643 cat >>confdefs.h
<<\_ACEOF
2644 #define HAVE_VOLATILE 1
2650 # Make sure we can run config.sub.
2651 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2652 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2653 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2654 { (exit 1); exit 1; }; }
2656 echo "$as_me:$LINENO: checking build system type" >&5
2657 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2658 if test "${ac_cv_build+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 ac_cv_build_alias
=$build_alias
2662 test -z "$ac_cv_build_alias" &&
2663 ac_cv_build_alias
=`$ac_config_guess`
2664 test -z "$ac_cv_build_alias" &&
2665 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2666 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2667 { (exit 1); exit 1; }; }
2668 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2669 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2670 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2671 { (exit 1); exit 1; }; }
2674 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2675 echo "${ECHO_T}$ac_cv_build" >&6
2677 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2678 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2679 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2682 echo "$as_me:$LINENO: checking host system type" >&5
2683 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2684 if test "${ac_cv_host+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 ac_cv_host_alias
=$host_alias
2688 test -z "$ac_cv_host_alias" &&
2689 ac_cv_host_alias
=$ac_cv_build_alias
2690 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2691 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2692 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2693 { (exit 1); exit 1; }; }
2696 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2697 echo "${ECHO_T}$ac_cv_host" >&6
2699 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2700 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2701 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2704 echo "$as_me:$LINENO: checking target system type" >&5
2705 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2706 if test "${ac_cv_target+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 ac_cv_target_alias
=$target_alias
2710 test "x$ac_cv_target_alias" = "x" &&
2711 ac_cv_target_alias
=$ac_cv_host_alias
2712 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2713 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2714 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2715 { (exit 1); exit 1; }; }
2718 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2719 echo "${ECHO_T}$ac_cv_target" >&6
2720 target
=$ac_cv_target
2721 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2722 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2723 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2726 # The aliases save the names the user supplied, while $host etc.
2727 # will get canonicalized.
2728 test -n "$target_alias" &&
2729 test "$program_prefix$program_suffix$program_transform_name" = \
2731 program_prefix
=${target_alias}-
2734 *irix6
*) cat >> confdefs.h
<<\EOF
2735 #include <standards.h>
2743 echo "$as_me:$LINENO: checking config.cache system type" >&5
2744 echo $ECHO_N "checking config.cache system type... $ECHO_C" >&6
2745 if { test x
"${ac_cv_host_system_type+set}" = x
"set" &&
2746 test x
"$ac_cv_host_system_type" != x
"$host"; } ||
2747 { test x
"${ac_cv_build_system_type+set}" = x
"set" &&
2748 test x
"$ac_cv_build_system_type" != x
"$build"; } ||
2749 { test x
"${ac_cv_target_system_type+set}" = x
"set" &&
2750 test x
"$ac_cv_target_system_type" != x
"$target"; }; then
2751 echo "$as_me:$LINENO: result: different" >&5
2752 echo "${ECHO_T}different" >&6
2753 { { echo "$as_me:$LINENO: error: \"you must remove config.cache and restart configure\"" >&5
2754 echo "$as_me: error: \"you must remove config.cache and restart configure\"" >&2;}
2755 { (exit 1); exit 1; }; }
2757 echo "$as_me:$LINENO: result: same" >&5
2758 echo "${ECHO_T}same" >&6
2760 ac_cv_host_system_type
="$host"
2761 ac_cv_build_system_type
="$build"
2762 ac_cv_target_system_type
="$target"
2768 # Config CPPFLAG settings for strange OS's that must be set
2769 # before other tests.
2772 # Try to work out if this is the native HPUX compiler that uses the -Ae flag.
2775 echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -Ae" >&5
2776 echo $ECHO_N "checking whether ${CC-cc} accepts -Ae... $ECHO_C" >&6
2777 if test "${ac_cv_prog_cc_Ae+set}" = set; then
2778 echo $ECHO_N "(cached) $ECHO_C" >&6
2780 echo 'void f(){}' > conftest.c
2781 if test -z "`${CC-cc} -Ae -c conftest.c 2>&1`"; then
2782 ac_cv_prog_cc_Ae
=yes
2789 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_Ae" >&5
2790 echo "${ECHO_T}$ac_cv_prog_cc_Ae" >&6
2791 # mmap on HPUX is completely broken...
2793 cat >>confdefs.h
<<\_ACEOF
2794 #define MMAP_BLACKLIST 1
2797 if test $ac_cv_prog_cc_Ae = yes; then
2798 CPPFLAGS
="$CPPFLAGS -Ae"
2801 # Defines needed for HPUX support.
2802 # HPUX has bigcrypt but (sometimes?) doesn't use it for
2803 # password hashing - hence the USE_BOTH_CRYPT_CALLS define.
2807 CPPFLAGS
="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4"
2809 cat >>confdefs.h
<<\_ACEOF
2810 #define USE_BOTH_CRYPT_CALLS 1
2814 cat >>confdefs.h
<<\_ACEOF
2815 #define _HPUX_SOURCE 1
2819 cat >>confdefs.h
<<\_ACEOF
2820 #define _POSIX_SOURCE 1
2824 cat >>confdefs.h
<<\_ACEOF
2825 #define _ALIGNMENT_REQUIRED 1
2829 cat >>confdefs.h
<<\_ACEOF
2830 #define _MAX_ALIGNMENT 4
2835 CPPFLAGS
="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4"
2837 cat >>confdefs.h
<<\_ACEOF
2838 #define USE_BOTH_CRYPT_CALLS 1
2842 cat >>confdefs.h
<<\_ACEOF
2843 #define _HPUX_SOURCE 1
2847 cat >>confdefs.h
<<\_ACEOF
2848 #define _POSIX_SOURCE 1
2852 cat >>confdefs.h
<<\_ACEOF
2853 #define _LARGEFILE64_SOURCE 1
2857 cat >>confdefs.h
<<\_ACEOF
2858 #define _ALIGNMENT_REQUIRED 1
2862 cat >>confdefs.h
<<\_ACEOF
2863 #define _MAX_ALIGNMENT 4
2872 # CRAY Unicos has broken const handling
2874 echo "$as_me:$LINENO: result: disabling const" >&5
2875 echo "${ECHO_T}disabling const" >&6
2876 CPPFLAGS
="$CPPFLAGS -Dconst="
2880 # AIX4.x doesn't even admit to having large
2881 # files *at all* unless the -D_LARGE_FILE or -D_LARGE_FILE_API flags are set.
2884 echo "$as_me:$LINENO: result: enabling large file support" >&5
2885 echo "${ECHO_T}enabling large file support" >&6
2886 CPPFLAGS
="$CPPFLAGS -D_LARGE_FILES"
2888 cat >>confdefs.h
<<\_ACEOF
2889 #define _LARGE_FILES 1
2894 # Defines needed for Solaris 2.6/2.7 aka 7.0 to make it admit
2895 # to the existance of large files..
2896 # Note that -D_LARGEFILE64_SOURCE is different from the Sun
2897 # recommendations on large file support, however it makes the
2898 # compile work using gcc 2.7 and 2.8, whereas using the Sun
2899 # recommendation makes the compile fail on gcc2.7. JRA.
2903 5.0*|
5.1*|
5.2*|
5.3*|
5.5*)
2904 echo "$as_me:$LINENO: result: no large file support" >&5
2905 echo "${ECHO_T}no large file support" >&6
2908 echo "$as_me:$LINENO: result: enabling large file support" >&5
2909 echo "${ECHO_T}enabling large file support" >&6
2910 if test "$ac_cv_c_compiler_gnu" = yes; then
2911 ${CC-cc} -v >conftest.c
2>&1
2912 ac_cv_gcc_compiler_version_number
=`grep 'gcc version' conftest.c`
2914 case "$ac_cv_gcc_compiler_version_number" in
2915 *"gcc version 2.6"*|
*"gcc version 2.7"*)
2916 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
2918 cat >>confdefs.h
<<\_ACEOF
2919 #define _LARGEFILE64_SOURCE 1
2924 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
2926 cat >>confdefs.h
<<\_ACEOF
2927 #define _LARGEFILE64_SOURCE 1
2931 cat >>confdefs.h
<<\_ACEOF
2932 #define _FILE_OFFSET_BITS 64
2938 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
2940 cat >>confdefs.h
<<\_ACEOF
2941 #define _LARGEFILE64_SOURCE 1
2945 cat >>confdefs.h
<<\_ACEOF
2946 #define _FILE_OFFSET_BITS 64
2954 # Tests needed for SINIX large file support.
2957 if test $host = mips-sni-sysv4
; then
2958 echo "$as_me:$LINENO: checking for LFS support" >&5
2959 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
2960 old_CPPFLAGS
="$CPPFLAGS"
2961 CPPFLAGS
="-D_LARGEFILE64_SOURCE $CPPFLAGS"
2962 if test "$cross_compiling" = yes; then
2963 SINIX_LFS_SUPPORT
=cross
2965 cat >conftest.
$ac_ext <<_ACEOF
2966 #line $LINENO "configure"
2967 #include "confdefs.h"
2971 #if _LFS64_LARGEFILE == 1
2978 rm -f conftest
$ac_exeext
2979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2980 (eval $ac_link) 2>&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); }; }; then
2989 SINIX_LFS_SUPPORT
=yes
2991 echo "$as_me: program exited with status $ac_status" >&5
2992 echo "$as_me: failed program was:" >&5
2993 cat conftest.
$ac_ext >&5
2995 SINIX_LFS_SUPPORT
=no
2997 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2999 CPPFLAGS
="$old_CPPFLAGS"
3000 if test x
$SINIX_LFS_SUPPORT = xyes
; then
3001 CPPFLAGS
="-D_LARGEFILE64_SOURCE $CPPFLAGS"
3003 cat >>confdefs.h
<<\_ACEOF
3004 #define _LARGEFILE64_SOURCE 1
3007 CFLAGS
="`getconf LFS64_CFLAGS` $CFLAGS"
3008 LDFLAGS
="`getconf LFS64_LDFLAGS` $LDFLAGS"
3009 LIBS
="`getconf LFS64_LIBS` $LIBS"
3011 echo "$as_me:$LINENO: result: $SINIX_LFS_SUPPORT" >&5
3012 echo "${ECHO_T}$SINIX_LFS_SUPPORT" >&6
3016 # Tests for linux LFS support. Need kernel 2.4 and glibc2.2 or greater support.
3019 echo "$as_me:$LINENO: checking for LFS support" >&5
3020 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
3021 old_CPPFLAGS
="$CPPFLAGS"
3022 CPPFLAGS
="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS"
3023 if test "$cross_compiling" = yes; then
3024 LINUX_LFS_SUPPORT
=cross
3026 cat >conftest.
$ac_ext <<_ACEOF
3027 #line $LINENO "configure"
3028 #include "confdefs.h"
3031 #include <sys/utsname.h>
3033 #if _LFS64_LARGEFILE == 1
3038 /* Ensure this is glibc 2.2 or higher */
3039 #if defined(__GLIBC__) && defined(__GLIBC_MINOR__)
3040 int libc_major = __GLIBC__;
3041 int libc_minor = __GLIBC_MINOR__;
3049 /* Ensure this is kernel 2.4 or higher */
3052 release = uts.release;
3053 major = atoi(strsep(&release, "."));
3054 minor = atoi(strsep(&release, "."));
3056 if (major > 2 || (major == 2 && minor > 3))
3065 rm -f conftest
$ac_exeext
3066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3067 (eval $ac_link) 2>&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; }; then
3076 LINUX_LFS_SUPPORT
=yes
3078 echo "$as_me: program exited with status $ac_status" >&5
3079 echo "$as_me: failed program was:" >&5
3080 cat conftest.
$ac_ext >&5
3082 LINUX_LFS_SUPPORT
=no
3084 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3086 CPPFLAGS
="$old_CPPFLAGS"
3087 if test x
$LINUX_LFS_SUPPORT = xyes
; then
3088 CPPFLAGS
="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS"
3090 cat >>confdefs.h
<<\_ACEOF
3091 #define _LARGEFILE64_SOURCE 1
3095 cat >>confdefs.h
<<\_ACEOF
3096 #define _FILE_OFFSET_BITS 64
3100 cat >>confdefs.h
<<\_ACEOF
3101 #define _GNU_SOURCE 1
3105 echo "$as_me:$LINENO: result: $LINUX_LFS_SUPPORT" >&5
3106 echo "${ECHO_T}$LINUX_LFS_SUPPORT" >&6
3110 echo "$as_me:$LINENO: checking for LFS support" >&5
3111 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
3112 old_CPPFLAGS
="$CPPFLAGS"
3113 CPPFLAGS
="-D_LARGEFILE64_SOURCE -D_GNU_SOURCE $CPPFLAGS"
3114 if test "$cross_compiling" = yes; then
3115 GLIBC_LFS_SUPPORT
=cross
3117 cat >conftest.
$ac_ext <<_ACEOF
3118 #line $LINENO "configure"
3119 #include "confdefs.h"
3123 #if _LFS64_LARGEFILE == 1
3130 rm -f conftest
$ac_exeext
3131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3132 (eval $ac_link) 2>&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); }; }; then
3141 GLIBC_LFS_SUPPORT
=yes
3143 echo "$as_me: program exited with status $ac_status" >&5
3144 echo "$as_me: failed program was:" >&5
3145 cat conftest.
$ac_ext >&5
3147 GLIBC_LFS_SUPPORT
=no
3149 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3151 CPPFLAGS
="$old_CPPFLAGS"
3152 if test x
$GLIBC_LFS_SUPPORT = xyes
; then
3153 CPPFLAGS
="-D_LARGEFILE64_SOURCE -D_GNU_SOURCE $CPPFLAGS"
3155 cat >>confdefs.h
<<\_ACEOF
3156 #define _LARGEFILE64_SOURCE 1
3160 cat >>confdefs.h
<<\_ACEOF
3161 #define _GNU_SOURCE 1
3165 echo "$as_me:$LINENO: result: $GLIBC_LFS_SUPPORT" >&5
3166 echo "${ECHO_T}$GLIBC_LFS_SUPPORT" >&6
3171 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3172 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3173 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3176 ac_cv_prog_cc_stdc
=no
3178 cat >conftest.
$ac_ext <<_ACEOF
3179 #line $LINENO "configure"
3180 #include "confdefs.h"
3183 #include <sys/types.h>
3184 #include <sys/stat.h>
3185 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3186 struct buf { int x; };
3187 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3188 static char *e (p, i)
3194 static char *f (char * (*g) (char **, int), char **p, ...)
3199 s = g (p, va_arg (v,int));
3203 int test (int i, double x);
3204 struct s1 {int (*f) (int a);};
3205 struct s2 {int (*f) (double a);};
3206 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3209 #ifdef F77_DUMMY_MAIN
3213 int F77_DUMMY_MAIN() { return 1; }
3218 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3223 # Don't try gcc -ansi; that turns off useful extensions and
3224 # breaks some systems' header files.
3225 # AIX -qlanglvl=ansi
3226 # Ultrix and OSF/1 -std1
3227 # HP-UX 10.20 and later -Ae
3228 # HP-UX older versions -Aa -D_HPUX_SOURCE
3229 # SVR4 -Xc -D__EXTENSIONS__
3230 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3232 CC
="$ac_save_CC $ac_arg"
3233 rm -f conftest.
$ac_objext
3234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3235 (eval $ac_compile) 2>&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } &&
3239 { ac_try
='test -s conftest.$ac_objext'
3240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); }; }; then
3245 ac_cv_prog_cc_stdc
=$ac_arg
3248 echo "$as_me: failed program was:" >&5
3249 cat conftest.
$ac_ext >&5
3251 rm -f conftest.
$ac_objext
3253 rm -f conftest.
$ac_ext conftest.
$ac_objext
3258 case "x$ac_cv_prog_cc_stdc" in
3260 echo "$as_me:$LINENO: result: none needed" >&5
3261 echo "${ECHO_T}none needed" >&6 ;;
3263 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3264 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3265 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3268 echo "$as_me:$LINENO: checking for inline" >&5
3269 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3270 if test "${ac_cv_c_inline+set}" = set; then
3271 echo $ECHO_N "(cached) $ECHO_C" >&6
3274 for ac_kw
in inline __inline__ __inline
; do
3275 cat >conftest.
$ac_ext <<_ACEOF
3276 #line $LINENO "configure"
3277 #include "confdefs.h"
3279 static $ac_kw int static_foo () {return 0; }
3280 $ac_kw int foo () {return 0; }
3284 rm -f conftest.
$ac_objext
3285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3286 (eval $ac_compile) 2>&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } &&
3290 { ac_try
='test -s conftest.$ac_objext'
3291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }; }; then
3296 ac_cv_c_inline
=$ac_kw; break
3298 echo "$as_me: failed program was:" >&5
3299 cat conftest.
$ac_ext >&5
3301 rm -f conftest.
$ac_objext conftest.
$ac_ext
3305 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3306 echo "${ECHO_T}$ac_cv_c_inline" >&6
3307 case $ac_cv_c_inline in
3310 cat >>confdefs.h
<<\_ACEOF
3314 *) cat >>confdefs.h
<<_ACEOF
3315 #define inline $ac_cv_c_inline
3321 ac_cpp
='$CPP $CPPFLAGS'
3322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3325 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3326 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3327 # On Suns, sometimes $CPP names a directory.
3328 if test -n "$CPP" && test -d "$CPP"; then
3331 if test -z "$CPP"; then
3332 if test "${ac_cv_prog_CPP+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 # Double quotes because CPP needs to be expanded
3336 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3339 for ac_c_preproc_warn_flag
in '' yes
3341 # Use a header file that comes with gcc, so configuring glibc
3342 # with a fresh cross-compiler works.
3343 # On the NeXT, cc -E runs the code through the compiler's parser,
3344 # not just through cpp. "Syntax error" is here to catch this case.
3345 cat >conftest.
$ac_ext <<_ACEOF
3346 #line $LINENO "configure"
3347 #include "confdefs.h"
3351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3354 egrep -v '^ *\+' conftest.er1
>conftest.err
3356 cat conftest.err
>&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); } >/dev
/null
; then
3359 if test -s conftest.err
; then
3360 ac_cpp_err
=$ac_c_preproc_warn_flag
3367 if test -z "$ac_cpp_err"; then
3370 echo "$as_me: failed program was:" >&5
3371 cat conftest.
$ac_ext >&5
3372 # Broken: fails on valid input.
3375 rm -f conftest.err conftest.
$ac_ext
3377 # OK, works on sane cases. Now check whether non-existent headers
3378 # can be detected and how.
3379 cat >conftest.
$ac_ext <<_ACEOF
3380 #line $LINENO "configure"
3381 #include "confdefs.h"
3382 #include <ac_nonexistent.h>
3384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3385 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3387 egrep -v '^ *\+' conftest.er1
>conftest.err
3389 cat conftest.err
>&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } >/dev
/null
; then
3392 if test -s conftest.err
; then
3393 ac_cpp_err
=$ac_c_preproc_warn_flag
3400 if test -z "$ac_cpp_err"; then
3401 # Broken: success on invalid input.
3404 echo "$as_me: failed program was:" >&5
3405 cat conftest.
$ac_ext >&5
3406 # Passes both tests.
3410 rm -f conftest.err conftest.
$ac_ext
3413 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3414 rm -f conftest.err conftest.
$ac_ext
3415 if $ac_preproc_ok; then
3427 echo "$as_me:$LINENO: result: $CPP" >&5
3428 echo "${ECHO_T}$CPP" >&6
3430 for ac_c_preproc_warn_flag
in '' yes
3432 # Use a header file that comes with gcc, so configuring glibc
3433 # with a fresh cross-compiler works.
3434 # On the NeXT, cc -E runs the code through the compiler's parser,
3435 # not just through cpp. "Syntax error" is here to catch this case.
3436 cat >conftest.
$ac_ext <<_ACEOF
3437 #line $LINENO "configure"
3438 #include "confdefs.h"
3442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3443 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3445 egrep -v '^ *\+' conftest.er1
>conftest.err
3447 cat conftest.err
>&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } >/dev
/null
; then
3450 if test -s conftest.err
; then
3451 ac_cpp_err
=$ac_c_preproc_warn_flag
3458 if test -z "$ac_cpp_err"; then
3461 echo "$as_me: failed program was:" >&5
3462 cat conftest.
$ac_ext >&5
3463 # Broken: fails on valid input.
3466 rm -f conftest.err conftest.
$ac_ext
3468 # OK, works on sane cases. Now check whether non-existent headers
3469 # can be detected and how.
3470 cat >conftest.
$ac_ext <<_ACEOF
3471 #line $LINENO "configure"
3472 #include "confdefs.h"
3473 #include <ac_nonexistent.h>
3475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3476 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3478 egrep -v '^ *\+' conftest.er1
>conftest.err
3480 cat conftest.err
>&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } >/dev
/null
; then
3483 if test -s conftest.err
; then
3484 ac_cpp_err
=$ac_c_preproc_warn_flag
3491 if test -z "$ac_cpp_err"; then
3492 # Broken: success on invalid input.
3495 echo "$as_me: failed program was:" >&5
3496 cat conftest.
$ac_ext >&5
3497 # Passes both tests.
3501 rm -f conftest.err conftest.
$ac_ext
3504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3505 rm -f conftest.err conftest.
$ac_ext
3506 if $ac_preproc_ok; then
3509 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3510 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3511 { (exit 1); exit 1; }; }
3515 ac_cpp
='$CPP $CPPFLAGS'
3516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3521 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3522 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3523 if test "${ac_cv_header_stdc+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 cat >conftest.
$ac_ext <<_ACEOF
3527 #line $LINENO "configure"
3528 #include "confdefs.h"
3535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3536 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3538 egrep -v '^ *\+' conftest.er1
>conftest.err
3540 cat conftest.err
>&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } >/dev
/null
; then
3543 if test -s conftest.err
; then
3544 ac_cpp_err
=$ac_c_preproc_warn_flag
3551 if test -z "$ac_cpp_err"; then
3552 ac_cv_header_stdc
=yes
3554 echo "$as_me: failed program was:" >&5
3555 cat conftest.
$ac_ext >&5
3556 ac_cv_header_stdc
=no
3558 rm -f conftest.err conftest.
$ac_ext
3560 if test $ac_cv_header_stdc = yes; then
3561 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3562 cat >conftest.
$ac_ext <<_ACEOF
3563 #line $LINENO "configure"
3564 #include "confdefs.h"
3568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3569 egrep "memchr" >/dev
/null
2>&1; then
3572 ac_cv_header_stdc
=no
3578 if test $ac_cv_header_stdc = yes; then
3579 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3580 cat >conftest.
$ac_ext <<_ACEOF
3581 #line $LINENO "configure"
3582 #include "confdefs.h"
3586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3587 egrep "free" >/dev
/null
2>&1; then
3590 ac_cv_header_stdc
=no
3596 if test $ac_cv_header_stdc = yes; then
3597 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3598 if test "$cross_compiling" = yes; then
3601 cat >conftest.
$ac_ext <<_ACEOF
3602 #line $LINENO "configure"
3603 #include "confdefs.h"
3605 #if ((' ' & 0x0FF) == 0x020)
3606 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3607 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3609 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3610 || ('j' <= (c) && (c) <= 'r') \
3611 || ('s' <= (c) && (c) <= 'z'))
3612 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3615 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3620 for (i = 0; i < 256; i++)
3621 if (XOR (islower (i), ISLOWER (i))
3622 || toupper (i) != TOUPPER (i))
3627 rm -f conftest
$ac_exeext
3628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3629 (eval $ac_link) 2>&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); }; }; then
3640 echo "$as_me: program exited with status $ac_status" >&5
3641 echo "$as_me: failed program was:" >&5
3642 cat conftest.
$ac_ext >&5
3644 ac_cv_header_stdc
=no
3646 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3650 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3651 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3652 if test $ac_cv_header_stdc = yes; then
3654 cat >>confdefs.h
<<\_ACEOF
3655 #define STDC_HEADERS 1
3666 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3667 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3668 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3669 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3671 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 cat >conftest.
$ac_ext <<_ACEOF
3674 #line $LINENO "configure"
3675 #include "confdefs.h"
3676 #include <sys/types.h>
3679 #ifdef F77_DUMMY_MAIN
3683 int F77_DUMMY_MAIN() { return 1; }
3694 rm -f conftest.
$ac_objext
3695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3696 (eval $ac_compile) 2>&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); } &&
3700 { ac_try
='test -s conftest.$ac_objext'
3701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); }; }; then
3706 eval "$as_ac_Header=yes"
3708 echo "$as_me: failed program was:" >&5
3709 cat conftest.
$ac_ext >&5
3710 eval "$as_ac_Header=no"
3712 rm -f conftest.
$ac_objext conftest.
$ac_ext
3714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3717 cat >>confdefs.h
<<_ACEOF
3718 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3721 ac_header_dirent
=$ac_hdr; break
3725 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3726 if test $ac_header_dirent = dirent.h
; then
3727 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3728 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3729 if test "${ac_cv_search_opendir+set}" = set; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6
3732 ac_func_search_save_LIBS
=$LIBS
3733 ac_cv_search_opendir
=no
3734 cat >conftest.
$ac_ext <<_ACEOF
3735 #line $LINENO "configure"
3736 #include "confdefs.h"
3738 /* Override any gcc2 internal prototype to avoid an error. */
3742 /* We use char because int might match the return type of a gcc2
3743 builtin and then its argument prototype would still apply. */
3745 #ifdef F77_DUMMY_MAIN
3749 int F77_DUMMY_MAIN() { return 1; }
3759 rm -f conftest.
$ac_objext conftest
$ac_exeext
3760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3761 (eval $ac_link) 2>&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); } &&
3765 { ac_try
='test -s conftest$ac_exeext'
3766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); }; }; then
3771 ac_cv_search_opendir
="none required"
3773 echo "$as_me: failed program was:" >&5
3774 cat conftest.
$ac_ext >&5
3776 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3777 if test "$ac_cv_search_opendir" = no
; then
3778 for ac_lib
in dir
; do
3779 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3780 cat >conftest.
$ac_ext <<_ACEOF
3781 #line $LINENO "configure"
3782 #include "confdefs.h"
3784 /* Override any gcc2 internal prototype to avoid an error. */
3788 /* We use char because int might match the return type of a gcc2
3789 builtin and then its argument prototype would still apply. */
3791 #ifdef F77_DUMMY_MAIN
3795 int F77_DUMMY_MAIN() { return 1; }
3805 rm -f conftest.
$ac_objext conftest
$ac_exeext
3806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3807 (eval $ac_link) 2>&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } &&
3811 { ac_try
='test -s conftest$ac_exeext'
3812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); }; }; then
3817 ac_cv_search_opendir
="-l$ac_lib"
3820 echo "$as_me: failed program was:" >&5
3821 cat conftest.
$ac_ext >&5
3823 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3826 LIBS
=$ac_func_search_save_LIBS
3828 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3829 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3830 if test "$ac_cv_search_opendir" != no
; then
3831 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3836 echo "$as_me:$LINENO: checking for library containing opendir" >&5
3837 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3838 if test "${ac_cv_search_opendir+set}" = set; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 ac_func_search_save_LIBS
=$LIBS
3842 ac_cv_search_opendir
=no
3843 cat >conftest.
$ac_ext <<_ACEOF
3844 #line $LINENO "configure"
3845 #include "confdefs.h"
3847 /* Override any gcc2 internal prototype to avoid an error. */
3851 /* We use char because int might match the return type of a gcc2
3852 builtin and then its argument prototype would still apply. */
3854 #ifdef F77_DUMMY_MAIN
3858 int F77_DUMMY_MAIN() { return 1; }
3868 rm -f conftest.
$ac_objext conftest
$ac_exeext
3869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3870 (eval $ac_link) 2>&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); } &&
3874 { ac_try
='test -s conftest$ac_exeext'
3875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }; }; then
3880 ac_cv_search_opendir
="none required"
3882 echo "$as_me: failed program was:" >&5
3883 cat conftest.
$ac_ext >&5
3885 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3886 if test "$ac_cv_search_opendir" = no
; then
3888 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3889 cat >conftest.
$ac_ext <<_ACEOF
3890 #line $LINENO "configure"
3891 #include "confdefs.h"
3893 /* Override any gcc2 internal prototype to avoid an error. */
3897 /* We use char because int might match the return type of a gcc2
3898 builtin and then its argument prototype would still apply. */
3900 #ifdef F77_DUMMY_MAIN
3904 int F77_DUMMY_MAIN() { return 1; }
3914 rm -f conftest.
$ac_objext conftest
$ac_exeext
3915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3916 (eval $ac_link) 2>&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); } &&
3920 { ac_try
='test -s conftest$ac_exeext'
3921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); }; }; then
3926 ac_cv_search_opendir
="-l$ac_lib"
3929 echo "$as_me: failed program was:" >&5
3930 cat conftest.
$ac_ext >&5
3932 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3935 LIBS
=$ac_func_search_save_LIBS
3937 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3938 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3939 if test "$ac_cv_search_opendir" != no
; then
3940 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
3946 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3947 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3948 if test "${ac_cv_header_time+set}" = set; then
3949 echo $ECHO_N "(cached) $ECHO_C" >&6
3951 cat >conftest.
$ac_ext <<_ACEOF
3952 #line $LINENO "configure"
3953 #include "confdefs.h"
3954 #include <sys/types.h>
3955 #include <sys/time.h>
3958 #ifdef F77_DUMMY_MAIN
3962 int F77_DUMMY_MAIN() { return 1; }
3967 if ((struct tm *) 0)
3973 rm -f conftest.
$ac_objext
3974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3975 (eval $ac_compile) 2>&5
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); } &&
3979 { ac_try
='test -s conftest.$ac_objext'
3980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); }; }; then
3985 ac_cv_header_time
=yes
3987 echo "$as_me: failed program was:" >&5
3988 cat conftest.
$ac_ext >&5
3989 ac_cv_header_time
=no
3991 rm -f conftest.
$ac_objext conftest.
$ac_ext
3993 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3994 echo "${ECHO_T}$ac_cv_header_time" >&6
3995 if test $ac_cv_header_time = yes; then
3997 cat >>confdefs.h
<<\_ACEOF
3998 #define TIME_WITH_SYS_TIME 1
4003 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4004 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4005 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4006 echo $ECHO_N "(cached) $ECHO_C" >&6
4008 cat >conftest.
$ac_ext <<_ACEOF
4009 #line $LINENO "configure"
4010 #include "confdefs.h"
4011 #include <sys/types.h>
4012 #include <sys/wait.h>
4014 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4017 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4020 #ifdef F77_DUMMY_MAIN
4024 int F77_DUMMY_MAIN() { return 1; }
4031 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4036 rm -f conftest.
$ac_objext
4037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4038 (eval $ac_compile) 2>&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); } &&
4042 { ac_try
='test -s conftest.$ac_objext'
4043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); }; }; then
4048 ac_cv_header_sys_wait_h
=yes
4050 echo "$as_me: failed program was:" >&5
4051 cat conftest.
$ac_ext >&5
4052 ac_cv_header_sys_wait_h
=no
4054 rm -f conftest.
$ac_objext conftest.
$ac_ext
4056 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4057 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4058 if test $ac_cv_header_sys_wait_h = yes; then
4060 cat >>confdefs.h
<<\_ACEOF
4061 #define HAVE_SYS_WAIT_H 1
4066 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4076 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4077 inttypes.h stdint.h unistd.h
4079 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4080 echo "$as_me:$LINENO: checking for $ac_header" >&5
4081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4083 echo $ECHO_N "(cached) $ECHO_C" >&6
4085 cat >conftest.
$ac_ext <<_ACEOF
4086 #line $LINENO "configure"
4087 #include "confdefs.h"
4088 $ac_includes_default
4090 #include <$ac_header>
4092 rm -f conftest.
$ac_objext
4093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4094 (eval $ac_compile) 2>&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); } &&
4098 { ac_try
='test -s conftest.$ac_objext'
4099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); }; }; then
4104 eval "$as_ac_Header=yes"
4106 echo "$as_me: failed program was:" >&5
4107 cat conftest.
$ac_ext >&5
4108 eval "$as_ac_Header=no"
4110 rm -f conftest.
$ac_objext conftest.
$ac_ext
4112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4115 cat >>confdefs.h
<<_ACEOF
4116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4130 for ac_header
in arpa
/inet.h sys
/fcntl.h sys
/select.h fcntl.h sys
/time.h sys
/unistd.h
4132 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4134 echo "$as_me:$LINENO: checking for $ac_header" >&5
4135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4142 # Is the header compilable?
4143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4145 cat >conftest.
$ac_ext <<_ACEOF
4146 #line $LINENO "configure"
4147 #include "confdefs.h"
4148 $ac_includes_default
4149 #include <$ac_header>
4151 rm -f conftest.
$ac_objext
4152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4153 (eval $ac_compile) 2>&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } &&
4157 { ac_try
='test -s conftest.$ac_objext'
4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; }; then
4163 ac_header_compiler
=yes
4165 echo "$as_me: failed program was:" >&5
4166 cat conftest.
$ac_ext >&5
4167 ac_header_compiler
=no
4169 rm -f conftest.
$ac_objext conftest.
$ac_ext
4170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4171 echo "${ECHO_T}$ac_header_compiler" >&6
4173 # Is the header present?
4174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4176 cat >conftest.
$ac_ext <<_ACEOF
4177 #line $LINENO "configure"
4178 #include "confdefs.h"
4179 #include <$ac_header>
4181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4182 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4184 egrep -v '^ *\+' conftest.er1
>conftest.err
4186 cat conftest.err
>&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); } >/dev
/null
; then
4189 if test -s conftest.err
; then
4190 ac_cpp_err
=$ac_c_preproc_warn_flag
4197 if test -z "$ac_cpp_err"; then
4198 ac_header_preproc
=yes
4200 echo "$as_me: failed program was:" >&5
4201 cat conftest.
$ac_ext >&5
4202 ac_header_preproc
=no
4204 rm -f conftest.err conftest.
$ac_ext
4205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4206 echo "${ECHO_T}$ac_header_preproc" >&6
4208 # So? What about this header?
4209 case $ac_header_compiler:$ac_header_preproc in
4211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4223 echo "$as_me:$LINENO: checking for $ac_header" >&5
4224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 eval "$as_ac_Header=$ac_header_preproc"
4230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4235 cat >>confdefs.h
<<_ACEOF
4236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4250 for ac_header
in unistd.h utime.h grp.h sys
/id.h limits.h memory.h net
/if.h
4252 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4254 echo "$as_me:$LINENO: checking for $ac_header" >&5
4255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4257 echo $ECHO_N "(cached) $ECHO_C" >&6
4259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4262 # Is the header compilable?
4263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4265 cat >conftest.
$ac_ext <<_ACEOF
4266 #line $LINENO "configure"
4267 #include "confdefs.h"
4268 $ac_includes_default
4269 #include <$ac_header>
4271 rm -f conftest.
$ac_objext
4272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4273 (eval $ac_compile) 2>&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); } &&
4277 { ac_try
='test -s conftest.$ac_objext'
4278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); }; }; then
4283 ac_header_compiler
=yes
4285 echo "$as_me: failed program was:" >&5
4286 cat conftest.
$ac_ext >&5
4287 ac_header_compiler
=no
4289 rm -f conftest.
$ac_objext conftest.
$ac_ext
4290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4291 echo "${ECHO_T}$ac_header_compiler" >&6
4293 # Is the header present?
4294 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4296 cat >conftest.
$ac_ext <<_ACEOF
4297 #line $LINENO "configure"
4298 #include "confdefs.h"
4299 #include <$ac_header>
4301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4304 egrep -v '^ *\+' conftest.er1
>conftest.err
4306 cat conftest.err
>&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); } >/dev
/null
; then
4309 if test -s conftest.err
; then
4310 ac_cpp_err
=$ac_c_preproc_warn_flag
4317 if test -z "$ac_cpp_err"; then
4318 ac_header_preproc
=yes
4320 echo "$as_me: failed program was:" >&5
4321 cat conftest.
$ac_ext >&5
4322 ac_header_preproc
=no
4324 rm -f conftest.err conftest.
$ac_ext
4325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4326 echo "${ECHO_T}$ac_header_preproc" >&6
4328 # So? What about this header?
4329 case $ac_header_compiler:$ac_header_preproc in
4331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4334 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4343 echo "$as_me:$LINENO: checking for $ac_header" >&5
4344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 eval "$as_ac_Header=$ac_header_preproc"
4350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4355 cat >>confdefs.h
<<_ACEOF
4356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4368 for ac_header
in compat.h rpc
/rpc.h rpcsvc
/nis.h rpcsvc
/yp_prot.h rpcsvc
/ypclnt.h
4370 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4380 # Is the header compilable?
4381 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4383 cat >conftest.
$ac_ext <<_ACEOF
4384 #line $LINENO "configure"
4385 #include "confdefs.h"
4386 $ac_includes_default
4387 #include <$ac_header>
4389 rm -f conftest.
$ac_objext
4390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4391 (eval $ac_compile) 2>&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); } &&
4395 { ac_try
='test -s conftest.$ac_objext'
4396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; }; then
4401 ac_header_compiler
=yes
4403 echo "$as_me: failed program was:" >&5
4404 cat conftest.
$ac_ext >&5
4405 ac_header_compiler
=no
4407 rm -f conftest.
$ac_objext conftest.
$ac_ext
4408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4409 echo "${ECHO_T}$ac_header_compiler" >&6
4411 # Is the header present?
4412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4414 cat >conftest.
$ac_ext <<_ACEOF
4415 #line $LINENO "configure"
4416 #include "confdefs.h"
4417 #include <$ac_header>
4419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4422 egrep -v '^ *\+' conftest.er1
>conftest.err
4424 cat conftest.err
>&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); } >/dev
/null
; then
4427 if test -s conftest.err
; then
4428 ac_cpp_err
=$ac_c_preproc_warn_flag
4435 if test -z "$ac_cpp_err"; then
4436 ac_header_preproc
=yes
4438 echo "$as_me: failed program was:" >&5
4439 cat conftest.
$ac_ext >&5
4440 ac_header_preproc
=no
4442 rm -f conftest.err conftest.
$ac_ext
4443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4444 echo "${ECHO_T}$ac_header_preproc" >&6
4446 # So? What about this header?
4447 case $ac_header_compiler:$ac_header_preproc in
4449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4450 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4461 echo "$as_me:$LINENO: checking for $ac_header" >&5
4462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4464 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 eval "$as_ac_Header=$ac_header_preproc"
4468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4473 cat >>confdefs.h
<<_ACEOF
4474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4488 for ac_header
in sys
/param.h ctype.h sys
/wait.h sys
/resource.h sys
/ioctl.h sys
/ipc.h sys
/mode.h
4490 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4492 echo "$as_me:$LINENO: checking for $ac_header" >&5
4493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4495 echo $ECHO_N "(cached) $ECHO_C" >&6
4497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4500 # Is the header compilable?
4501 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4503 cat >conftest.
$ac_ext <<_ACEOF
4504 #line $LINENO "configure"
4505 #include "confdefs.h"
4506 $ac_includes_default
4507 #include <$ac_header>
4509 rm -f conftest.
$ac_objext
4510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4511 (eval $ac_compile) 2>&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } &&
4515 { ac_try
='test -s conftest.$ac_objext'
4516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); }; }; then
4521 ac_header_compiler
=yes
4523 echo "$as_me: failed program was:" >&5
4524 cat conftest.
$ac_ext >&5
4525 ac_header_compiler
=no
4527 rm -f conftest.
$ac_objext conftest.
$ac_ext
4528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4529 echo "${ECHO_T}$ac_header_compiler" >&6
4531 # Is the header present?
4532 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4534 cat >conftest.
$ac_ext <<_ACEOF
4535 #line $LINENO "configure"
4536 #include "confdefs.h"
4537 #include <$ac_header>
4539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4542 egrep -v '^ *\+' conftest.er1
>conftest.err
4544 cat conftest.err
>&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } >/dev
/null
; then
4547 if test -s conftest.err
; then
4548 ac_cpp_err
=$ac_c_preproc_warn_flag
4555 if test -z "$ac_cpp_err"; then
4556 ac_header_preproc
=yes
4558 echo "$as_me: failed program was:" >&5
4559 cat conftest.
$ac_ext >&5
4560 ac_header_preproc
=no
4562 rm -f conftest.err conftest.
$ac_ext
4563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4564 echo "${ECHO_T}$ac_header_preproc" >&6
4566 # So? What about this header?
4567 case $ac_header_compiler:$ac_header_preproc in
4569 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4574 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4575 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4576 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4577 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4581 echo "$as_me:$LINENO: checking for $ac_header" >&5
4582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 eval "$as_ac_Header=$ac_header_preproc"
4588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4593 cat >>confdefs.h
<<_ACEOF
4594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4609 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
4611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4613 echo "$as_me:$LINENO: checking for $ac_header" >&5
4614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4621 # Is the header compilable?
4622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4624 cat >conftest.
$ac_ext <<_ACEOF
4625 #line $LINENO "configure"
4626 #include "confdefs.h"
4627 $ac_includes_default
4628 #include <$ac_header>
4630 rm -f conftest.
$ac_objext
4631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4632 (eval $ac_compile) 2>&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); } &&
4636 { ac_try
='test -s conftest.$ac_objext'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; }; then
4642 ac_header_compiler
=yes
4644 echo "$as_me: failed program was:" >&5
4645 cat conftest.
$ac_ext >&5
4646 ac_header_compiler
=no
4648 rm -f conftest.
$ac_objext conftest.
$ac_ext
4649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4650 echo "${ECHO_T}$ac_header_compiler" >&6
4652 # Is the header present?
4653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4655 cat >conftest.
$ac_ext <<_ACEOF
4656 #line $LINENO "configure"
4657 #include "confdefs.h"
4658 #include <$ac_header>
4660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4661 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4663 egrep -v '^ *\+' conftest.er1
>conftest.err
4665 cat conftest.err
>&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); } >/dev
/null
; then
4668 if test -s conftest.err
; then
4669 ac_cpp_err
=$ac_c_preproc_warn_flag
4676 if test -z "$ac_cpp_err"; then
4677 ac_header_preproc
=yes
4679 echo "$as_me: failed program was:" >&5
4680 cat conftest.
$ac_ext >&5
4681 ac_header_preproc
=no
4683 rm -f conftest.err conftest.
$ac_ext
4684 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4685 echo "${ECHO_T}$ac_header_preproc" >&6
4687 # So? What about this header?
4688 case $ac_header_compiler:$ac_header_preproc in
4690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4698 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4702 echo "$as_me:$LINENO: checking for $ac_header" >&5
4703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4705 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 eval "$as_ac_Header=$ac_header_preproc"
4709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4710 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4714 cat >>confdefs.h
<<_ACEOF
4715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4728 for ac_header
in sys
/mount.h sys
/vfs.h sys
/fs
/s5param.h sys
/filsys.h termios.h termio.h
4730 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4732 echo "$as_me:$LINENO: checking for $ac_header" >&5
4733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4735 echo $ECHO_N "(cached) $ECHO_C" >&6
4737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4740 # Is the header compilable?
4741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4743 cat >conftest.
$ac_ext <<_ACEOF
4744 #line $LINENO "configure"
4745 #include "confdefs.h"
4746 $ac_includes_default
4747 #include <$ac_header>
4749 rm -f conftest.
$ac_objext
4750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4751 (eval $ac_compile) 2>&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); } &&
4755 { ac_try
='test -s conftest.$ac_objext'
4756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); }; }; then
4761 ac_header_compiler
=yes
4763 echo "$as_me: failed program was:" >&5
4764 cat conftest.
$ac_ext >&5
4765 ac_header_compiler
=no
4767 rm -f conftest.
$ac_objext conftest.
$ac_ext
4768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4769 echo "${ECHO_T}$ac_header_compiler" >&6
4771 # Is the header present?
4772 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4773 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4774 cat >conftest.
$ac_ext <<_ACEOF
4775 #line $LINENO "configure"
4776 #include "confdefs.h"
4777 #include <$ac_header>
4779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4780 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4782 egrep -v '^ *\+' conftest.er1
>conftest.err
4784 cat conftest.err
>&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); } >/dev
/null
; then
4787 if test -s conftest.err
; then
4788 ac_cpp_err
=$ac_c_preproc_warn_flag
4795 if test -z "$ac_cpp_err"; then
4796 ac_header_preproc
=yes
4798 echo "$as_me: failed program was:" >&5
4799 cat conftest.
$ac_ext >&5
4800 ac_header_preproc
=no
4802 rm -f conftest.err conftest.
$ac_ext
4803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4804 echo "${ECHO_T}$ac_header_preproc" >&6
4806 # So? What about this header?
4807 case $ac_header_compiler:$ac_header_preproc in
4809 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4810 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4812 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4815 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4817 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4821 echo "$as_me:$LINENO: checking for $ac_header" >&5
4822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4824 echo $ECHO_N "(cached) $ECHO_C" >&6
4826 eval "$as_ac_Header=$ac_header_preproc"
4828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4833 cat >>confdefs.h
<<_ACEOF
4834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4847 for ac_header
in sys
/termio.h sys
/statfs.h sys
/dustat.h sys
/statvfs.h stdarg.h sys
/sockio.h
4849 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4851 echo "$as_me:$LINENO: checking for $ac_header" >&5
4852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4859 # Is the header compilable?
4860 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4861 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4862 cat >conftest.
$ac_ext <<_ACEOF
4863 #line $LINENO "configure"
4864 #include "confdefs.h"
4865 $ac_includes_default
4866 #include <$ac_header>
4868 rm -f conftest.
$ac_objext
4869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4870 (eval $ac_compile) 2>&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } &&
4874 { ac_try
='test -s conftest.$ac_objext'
4875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); }; }; then
4880 ac_header_compiler
=yes
4882 echo "$as_me: failed program was:" >&5
4883 cat conftest.
$ac_ext >&5
4884 ac_header_compiler
=no
4886 rm -f conftest.
$ac_objext conftest.
$ac_ext
4887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4888 echo "${ECHO_T}$ac_header_compiler" >&6
4890 # Is the header present?
4891 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4892 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4893 cat >conftest.
$ac_ext <<_ACEOF
4894 #line $LINENO "configure"
4895 #include "confdefs.h"
4896 #include <$ac_header>
4898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4899 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4901 egrep -v '^ *\+' conftest.er1
>conftest.err
4903 cat conftest.err
>&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); } >/dev
/null
; then
4906 if test -s conftest.err
; then
4907 ac_cpp_err
=$ac_c_preproc_warn_flag
4914 if test -z "$ac_cpp_err"; then
4915 ac_header_preproc
=yes
4917 echo "$as_me: failed program was:" >&5
4918 cat conftest.
$ac_ext >&5
4919 ac_header_preproc
=no
4921 rm -f conftest.err conftest.
$ac_ext
4922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4923 echo "${ECHO_T}$ac_header_preproc" >&6
4925 # So? What about this header?
4926 case $ac_header_compiler:$ac_header_preproc in
4928 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4929 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4931 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4933 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4934 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4935 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4936 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4940 echo "$as_me:$LINENO: checking for $ac_header" >&5
4941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4943 echo $ECHO_N "(cached) $ECHO_C" >&6
4945 eval "$as_ac_Header=$ac_header_preproc"
4947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4952 cat >>confdefs.h
<<_ACEOF
4953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4965 for ac_header
in security
/pam_modules.h security
/_pam_macros.h ldap.h lber.h dlfcn.h
4967 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4977 # Is the header compilable?
4978 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4980 cat >conftest.
$ac_ext <<_ACEOF
4981 #line $LINENO "configure"
4982 #include "confdefs.h"
4983 $ac_includes_default
4984 #include <$ac_header>
4986 rm -f conftest.
$ac_objext
4987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4988 (eval $ac_compile) 2>&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); } &&
4992 { ac_try
='test -s conftest.$ac_objext'
4993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); }; }; then
4998 ac_header_compiler
=yes
5000 echo "$as_me: failed program was:" >&5
5001 cat conftest.
$ac_ext >&5
5002 ac_header_compiler
=no
5004 rm -f conftest.
$ac_objext conftest.
$ac_ext
5005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5006 echo "${ECHO_T}$ac_header_compiler" >&6
5008 # Is the header present?
5009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5011 cat >conftest.
$ac_ext <<_ACEOF
5012 #line $LINENO "configure"
5013 #include "confdefs.h"
5014 #include <$ac_header>
5016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5017 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5019 egrep -v '^ *\+' conftest.er1
>conftest.err
5021 cat conftest.err
>&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } >/dev
/null
; then
5024 if test -s conftest.err
; then
5025 ac_cpp_err
=$ac_c_preproc_warn_flag
5032 if test -z "$ac_cpp_err"; then
5033 ac_header_preproc
=yes
5035 echo "$as_me: failed program was:" >&5
5036 cat conftest.
$ac_ext >&5
5037 ac_header_preproc
=no
5039 rm -f conftest.err conftest.
$ac_ext
5040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5041 echo "${ECHO_T}$ac_header_preproc" >&6
5043 # So? What about this header?
5044 case $ac_header_compiler:$ac_header_preproc in
5046 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5047 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5051 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5052 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5053 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5054 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5058 echo "$as_me:$LINENO: checking for $ac_header" >&5
5059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5063 eval "$as_ac_Header=$ac_header_preproc"
5065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5070 cat >>confdefs.h
<<_ACEOF
5071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5080 for ac_header
in sys
/syslog.h syslog.h
5082 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5084 echo "$as_me:$LINENO: checking for $ac_header" >&5
5085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5087 echo $ECHO_N "(cached) $ECHO_C" >&6
5089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5092 # Is the header compilable?
5093 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5095 cat >conftest.
$ac_ext <<_ACEOF
5096 #line $LINENO "configure"
5097 #include "confdefs.h"
5098 $ac_includes_default
5099 #include <$ac_header>
5101 rm -f conftest.
$ac_objext
5102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5103 (eval $ac_compile) 2>&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); } &&
5107 { ac_try
='test -s conftest.$ac_objext'
5108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); }; }; then
5113 ac_header_compiler
=yes
5115 echo "$as_me: failed program was:" >&5
5116 cat conftest.
$ac_ext >&5
5117 ac_header_compiler
=no
5119 rm -f conftest.
$ac_objext conftest.
$ac_ext
5120 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5121 echo "${ECHO_T}$ac_header_compiler" >&6
5123 # Is the header present?
5124 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5126 cat >conftest.
$ac_ext <<_ACEOF
5127 #line $LINENO "configure"
5128 #include "confdefs.h"
5129 #include <$ac_header>
5131 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5132 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5134 egrep -v '^ *\+' conftest.er1
>conftest.err
5136 cat conftest.err
>&5
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); } >/dev
/null
; then
5139 if test -s conftest.err
; then
5140 ac_cpp_err
=$ac_c_preproc_warn_flag
5147 if test -z "$ac_cpp_err"; then
5148 ac_header_preproc
=yes
5150 echo "$as_me: failed program was:" >&5
5151 cat conftest.
$ac_ext >&5
5152 ac_header_preproc
=no
5154 rm -f conftest.err conftest.
$ac_ext
5155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5156 echo "${ECHO_T}$ac_header_preproc" >&6
5158 # So? What about this header?
5159 case $ac_header_compiler:$ac_header_preproc in
5161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5164 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5171 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5173 echo "$as_me:$LINENO: checking for $ac_header" >&5
5174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5176 echo $ECHO_N "(cached) $ECHO_C" >&6
5178 eval "$as_ac_Header=$ac_header_preproc"
5180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5184 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5185 cat >>confdefs.h
<<_ACEOF
5186 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5195 # HPUX has a bug in that including shadow.h causes a re-definition of MAXINT.
5196 # This causes configure to fail to detect it. Check for shadow separately on HPUX.
5200 cat >conftest.
$ac_ext <<_ACEOF
5201 #line $LINENO "configure"
5202 #include "confdefs.h"
5204 #ifdef F77_DUMMY_MAIN
5208 int F77_DUMMY_MAIN() { return 1; }
5218 rm -f conftest.
$ac_objext
5219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5220 (eval $ac_compile) 2>&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); } &&
5224 { ac_try
='test -s conftest.$ac_objext'
5225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); }; }; then
5230 ac_cv_header_shadow_h
=yes
5232 echo "$as_me: failed program was:" >&5
5233 cat conftest.
$ac_ext >&5
5234 ac_cv_header_shadow_h
=no
5236 rm -f conftest.
$ac_objext conftest.
$ac_ext
5237 if test x
"$ac_cv_header_shadow_h" = x
"yes"; then
5239 cat >>confdefs.h
<<\_ACEOF
5240 #define HAVE_SHADOW_H 1
5251 for ac_header
in shadow.h netinet
/ip.h netinet
/tcp.h netinet
/in_systm.h netinet
/in_ip.h
5253 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5255 echo "$as_me:$LINENO: checking for $ac_header" >&5
5256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5258 echo $ECHO_N "(cached) $ECHO_C" >&6
5260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5263 # Is the header compilable?
5264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5266 cat >conftest.
$ac_ext <<_ACEOF
5267 #line $LINENO "configure"
5268 #include "confdefs.h"
5269 $ac_includes_default
5270 #include <$ac_header>
5272 rm -f conftest.
$ac_objext
5273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5274 (eval $ac_compile) 2>&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); } &&
5278 { ac_try
='test -s conftest.$ac_objext'
5279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); }; }; then
5284 ac_header_compiler
=yes
5286 echo "$as_me: failed program was:" >&5
5287 cat conftest.
$ac_ext >&5
5288 ac_header_compiler
=no
5290 rm -f conftest.
$ac_objext conftest.
$ac_ext
5291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5292 echo "${ECHO_T}$ac_header_compiler" >&6
5294 # Is the header present?
5295 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5297 cat >conftest.
$ac_ext <<_ACEOF
5298 #line $LINENO "configure"
5299 #include "confdefs.h"
5300 #include <$ac_header>
5302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5305 egrep -v '^ *\+' conftest.er1
>conftest.err
5307 cat conftest.err
>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); } >/dev
/null
; then
5310 if test -s conftest.err
; then
5311 ac_cpp_err
=$ac_c_preproc_warn_flag
5318 if test -z "$ac_cpp_err"; then
5319 ac_header_preproc
=yes
5321 echo "$as_me: failed program was:" >&5
5322 cat conftest.
$ac_ext >&5
5323 ac_header_preproc
=no
5325 rm -f conftest.err conftest.
$ac_ext
5326 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5327 echo "${ECHO_T}$ac_header_preproc" >&6
5329 # So? What about this header?
5330 case $ac_header_compiler:$ac_header_preproc in
5332 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5333 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5334 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5335 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5344 echo "$as_me:$LINENO: checking for $ac_header" >&5
5345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5347 echo $ECHO_N "(cached) $ECHO_C" >&6
5349 eval "$as_ac_Header=$ac_header_preproc"
5351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5356 cat >>confdefs.h
<<_ACEOF
5357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5370 for ac_header
in nss.h nss_common.h ns_api.h sys
/security.h security
/pam_appl.h security
/pam_modules.h
5372 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5374 echo "$as_me:$LINENO: checking for $ac_header" >&5
5375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5382 # Is the header compilable?
5383 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5385 cat >conftest.
$ac_ext <<_ACEOF
5386 #line $LINENO "configure"
5387 #include "confdefs.h"
5388 $ac_includes_default
5389 #include <$ac_header>
5391 rm -f conftest.
$ac_objext
5392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5393 (eval $ac_compile) 2>&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } &&
5397 { ac_try
='test -s conftest.$ac_objext'
5398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402 (exit $ac_status); }; }; then
5403 ac_header_compiler
=yes
5405 echo "$as_me: failed program was:" >&5
5406 cat conftest.
$ac_ext >&5
5407 ac_header_compiler
=no
5409 rm -f conftest.
$ac_objext conftest.
$ac_ext
5410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5411 echo "${ECHO_T}$ac_header_compiler" >&6
5413 # Is the header present?
5414 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5415 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5416 cat >conftest.
$ac_ext <<_ACEOF
5417 #line $LINENO "configure"
5418 #include "confdefs.h"
5419 #include <$ac_header>
5421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5422 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5424 egrep -v '^ *\+' conftest.er1
>conftest.err
5426 cat conftest.err
>&5
5427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428 (exit $ac_status); } >/dev
/null
; then
5429 if test -s conftest.err
; then
5430 ac_cpp_err
=$ac_c_preproc_warn_flag
5437 if test -z "$ac_cpp_err"; then
5438 ac_header_preproc
=yes
5440 echo "$as_me: failed program was:" >&5
5441 cat conftest.
$ac_ext >&5
5442 ac_header_preproc
=no
5444 rm -f conftest.err conftest.
$ac_ext
5445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5446 echo "${ECHO_T}$ac_header_preproc" >&6
5448 # So? What about this header?
5449 case $ac_header_compiler:$ac_header_preproc in
5451 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5461 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5463 echo "$as_me:$LINENO: checking for $ac_header" >&5
5464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5468 eval "$as_ac_Header=$ac_header_preproc"
5470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5475 cat >>confdefs.h
<<_ACEOF
5476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5485 for ac_header
in stropts.h poll.h
5487 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5489 echo "$as_me:$LINENO: checking for $ac_header" >&5
5490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5497 # Is the header compilable?
5498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5500 cat >conftest.
$ac_ext <<_ACEOF
5501 #line $LINENO "configure"
5502 #include "confdefs.h"
5503 $ac_includes_default
5504 #include <$ac_header>
5506 rm -f conftest.
$ac_objext
5507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5508 (eval $ac_compile) 2>&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); } &&
5512 { ac_try
='test -s conftest.$ac_objext'
5513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); }; }; then
5518 ac_header_compiler
=yes
5520 echo "$as_me: failed program was:" >&5
5521 cat conftest.
$ac_ext >&5
5522 ac_header_compiler
=no
5524 rm -f conftest.
$ac_objext conftest.
$ac_ext
5525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5526 echo "${ECHO_T}$ac_header_compiler" >&6
5528 # Is the header present?
5529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5531 cat >conftest.
$ac_ext <<_ACEOF
5532 #line $LINENO "configure"
5533 #include "confdefs.h"
5534 #include <$ac_header>
5536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5537 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5539 egrep -v '^ *\+' conftest.er1
>conftest.err
5541 cat conftest.err
>&5
5542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543 (exit $ac_status); } >/dev
/null
; then
5544 if test -s conftest.err
; then
5545 ac_cpp_err
=$ac_c_preproc_warn_flag
5552 if test -z "$ac_cpp_err"; then
5553 ac_header_preproc
=yes
5555 echo "$as_me: failed program was:" >&5
5556 cat conftest.
$ac_ext >&5
5557 ac_header_preproc
=no
5559 rm -f conftest.err conftest.
$ac_ext
5560 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5561 echo "${ECHO_T}$ac_header_preproc" >&6
5563 # So? What about this header?
5564 case $ac_header_compiler:$ac_header_preproc in
5566 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5567 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5569 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5571 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5572 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5573 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5574 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5578 echo "$as_me:$LINENO: checking for $ac_header" >&5
5579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5581 echo $ECHO_N "(cached) $ECHO_C" >&6
5583 eval "$as_ac_Header=$ac_header_preproc"
5585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5590 cat >>confdefs.h
<<_ACEOF
5591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5601 for ac_header
in sys
/capability.h syscall.h sys
/syscall.h
5603 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5605 echo "$as_me:$LINENO: checking for $ac_header" >&5
5606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5608 echo $ECHO_N "(cached) $ECHO_C" >&6
5610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5613 # Is the header compilable?
5614 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5615 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5616 cat >conftest.
$ac_ext <<_ACEOF
5617 #line $LINENO "configure"
5618 #include "confdefs.h"
5619 $ac_includes_default
5620 #include <$ac_header>
5622 rm -f conftest.
$ac_objext
5623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5624 (eval $ac_compile) 2>&5
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); } &&
5628 { ac_try
='test -s conftest.$ac_objext'
5629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); }; }; then
5634 ac_header_compiler
=yes
5636 echo "$as_me: failed program was:" >&5
5637 cat conftest.
$ac_ext >&5
5638 ac_header_compiler
=no
5640 rm -f conftest.
$ac_objext conftest.
$ac_ext
5641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5642 echo "${ECHO_T}$ac_header_compiler" >&6
5644 # Is the header present?
5645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5647 cat >conftest.
$ac_ext <<_ACEOF
5648 #line $LINENO "configure"
5649 #include "confdefs.h"
5650 #include <$ac_header>
5652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5653 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5655 egrep -v '^ *\+' conftest.er1
>conftest.err
5657 cat conftest.err
>&5
5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659 (exit $ac_status); } >/dev
/null
; then
5660 if test -s conftest.err
; then
5661 ac_cpp_err
=$ac_c_preproc_warn_flag
5668 if test -z "$ac_cpp_err"; then
5669 ac_header_preproc
=yes
5671 echo "$as_me: failed program was:" >&5
5672 cat conftest.
$ac_ext >&5
5673 ac_header_preproc
=no
5675 rm -f conftest.err conftest.
$ac_ext
5676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5677 echo "${ECHO_T}$ac_header_preproc" >&6
5679 # So? What about this header?
5680 case $ac_header_compiler:$ac_header_preproc in
5682 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5683 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5694 echo "$as_me:$LINENO: checking for $ac_header" >&5
5695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5697 echo $ECHO_N "(cached) $ECHO_C" >&6
5699 eval "$as_ac_Header=$ac_header_preproc"
5701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5705 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5706 cat >>confdefs.h
<<_ACEOF
5707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5717 for ac_header
in sys
/acl.h sys
/cdefs.h glob.h
5719 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5721 echo "$as_me:$LINENO: checking for $ac_header" >&5
5722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5724 echo $ECHO_N "(cached) $ECHO_C" >&6
5726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5729 # Is the header compilable?
5730 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5731 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5732 cat >conftest.
$ac_ext <<_ACEOF
5733 #line $LINENO "configure"
5734 #include "confdefs.h"
5735 $ac_includes_default
5736 #include <$ac_header>
5738 rm -f conftest.
$ac_objext
5739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5740 (eval $ac_compile) 2>&5
5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743 (exit $ac_status); } &&
5744 { ac_try
='test -s conftest.$ac_objext'
5745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); }; }; then
5750 ac_header_compiler
=yes
5752 echo "$as_me: failed program was:" >&5
5753 cat conftest.
$ac_ext >&5
5754 ac_header_compiler
=no
5756 rm -f conftest.
$ac_objext conftest.
$ac_ext
5757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5758 echo "${ECHO_T}$ac_header_compiler" >&6
5760 # Is the header present?
5761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5763 cat >conftest.
$ac_ext <<_ACEOF
5764 #line $LINENO "configure"
5765 #include "confdefs.h"
5766 #include <$ac_header>
5768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5769 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5771 egrep -v '^ *\+' conftest.er1
>conftest.err
5773 cat conftest.err
>&5
5774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); } >/dev
/null
; then
5776 if test -s conftest.err
; then
5777 ac_cpp_err
=$ac_c_preproc_warn_flag
5784 if test -z "$ac_cpp_err"; then
5785 ac_header_preproc
=yes
5787 echo "$as_me: failed program was:" >&5
5788 cat conftest.
$ac_ext >&5
5789 ac_header_preproc
=no
5791 rm -f conftest.err conftest.
$ac_ext
5792 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5793 echo "${ECHO_T}$ac_header_preproc" >&6
5795 # So? What about this header?
5796 case $ac_header_compiler:$ac_header_preproc in
5798 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5799 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5803 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5804 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5805 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5806 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5810 echo "$as_me:$LINENO: checking for $ac_header" >&5
5811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5813 echo $ECHO_N "(cached) $ECHO_C" >&6
5815 eval "$as_ac_Header=$ac_header_preproc"
5817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5822 cat >>confdefs.h
<<_ACEOF
5823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5831 # For experimental utmp support (lastlog on some BSD-like systems)
5835 for ac_header
in utmp.h utmpx.h lastlog.h
5837 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5847 # Is the header compilable?
5848 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5849 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5850 cat >conftest.
$ac_ext <<_ACEOF
5851 #line $LINENO "configure"
5852 #include "confdefs.h"
5853 $ac_includes_default
5854 #include <$ac_header>
5856 rm -f conftest.
$ac_objext
5857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5858 (eval $ac_compile) 2>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); } &&
5862 { ac_try
='test -s conftest.$ac_objext'
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); }; }; then
5868 ac_header_compiler
=yes
5870 echo "$as_me: failed program was:" >&5
5871 cat conftest.
$ac_ext >&5
5872 ac_header_compiler
=no
5874 rm -f conftest.
$ac_objext conftest.
$ac_ext
5875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5876 echo "${ECHO_T}$ac_header_compiler" >&6
5878 # Is the header present?
5879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5881 cat >conftest.
$ac_ext <<_ACEOF
5882 #line $LINENO "configure"
5883 #include "confdefs.h"
5884 #include <$ac_header>
5886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5887 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5889 egrep -v '^ *\+' conftest.er1
>conftest.err
5891 cat conftest.err
>&5
5892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); } >/dev
/null
; then
5894 if test -s conftest.err
; then
5895 ac_cpp_err
=$ac_c_preproc_warn_flag
5902 if test -z "$ac_cpp_err"; then
5903 ac_header_preproc
=yes
5905 echo "$as_me: failed program was:" >&5
5906 cat conftest.
$ac_ext >&5
5907 ac_header_preproc
=no
5909 rm -f conftest.err conftest.
$ac_ext
5910 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5911 echo "${ECHO_T}$ac_header_preproc" >&6
5913 # So? What about this header?
5914 case $ac_header_compiler:$ac_header_preproc in
5916 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5917 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5921 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5923 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5924 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5928 echo "$as_me:$LINENO: checking for $ac_header" >&5
5929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5931 echo $ECHO_N "(cached) $ECHO_C" >&6
5933 eval "$as_ac_Header=$ac_header_preproc"
5935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5940 cat >>confdefs.h
<<_ACEOF
5941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5949 # For quotas on Veritas VxFS filesystems
5951 for ac_header
in sys
/fs
/vx_quota.h
5953 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5955 echo "$as_me:$LINENO: checking for $ac_header" >&5
5956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5963 # Is the header compilable?
5964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5966 cat >conftest.
$ac_ext <<_ACEOF
5967 #line $LINENO "configure"
5968 #include "confdefs.h"
5969 $ac_includes_default
5970 #include <$ac_header>
5972 rm -f conftest.
$ac_objext
5973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5974 (eval $ac_compile) 2>&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); } &&
5978 { ac_try
='test -s conftest.$ac_objext'
5979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983 (exit $ac_status); }; }; then
5984 ac_header_compiler
=yes
5986 echo "$as_me: failed program was:" >&5
5987 cat conftest.
$ac_ext >&5
5988 ac_header_compiler
=no
5990 rm -f conftest.
$ac_objext conftest.
$ac_ext
5991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5992 echo "${ECHO_T}$ac_header_compiler" >&6
5994 # Is the header present?
5995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5997 cat >conftest.
$ac_ext <<_ACEOF
5998 #line $LINENO "configure"
5999 #include "confdefs.h"
6000 #include <$ac_header>
6002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6003 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6005 egrep -v '^ *\+' conftest.er1
>conftest.err
6007 cat conftest.err
>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } >/dev
/null
; then
6010 if test -s conftest.err
; then
6011 ac_cpp_err
=$ac_c_preproc_warn_flag
6018 if test -z "$ac_cpp_err"; then
6019 ac_header_preproc
=yes
6021 echo "$as_me: failed program was:" >&5
6022 cat conftest.
$ac_ext >&5
6023 ac_header_preproc
=no
6025 rm -f conftest.err conftest.
$ac_ext
6026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6027 echo "${ECHO_T}$ac_header_preproc" >&6
6029 # So? What about this header?
6030 case $ac_header_compiler:$ac_header_preproc in
6032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6044 echo "$as_me:$LINENO: checking for $ac_header" >&5
6045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6047 echo $ECHO_N "(cached) $ECHO_C" >&6
6049 eval "$as_ac_Header=$ac_header_preproc"
6051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6056 cat >>confdefs.h
<<_ACEOF
6057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6065 # For quotas on Linux XFS filesystems
6067 for ac_header
in linux
/xqm.h
6069 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6071 echo "$as_me:$LINENO: checking for $ac_header" >&5
6072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6074 echo $ECHO_N "(cached) $ECHO_C" >&6
6076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6079 # Is the header compilable?
6080 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6081 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6082 cat >conftest.
$ac_ext <<_ACEOF
6083 #line $LINENO "configure"
6084 #include "confdefs.h"
6085 $ac_includes_default
6086 #include <$ac_header>
6088 rm -f conftest.
$ac_objext
6089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6090 (eval $ac_compile) 2>&5
6092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093 (exit $ac_status); } &&
6094 { ac_try
='test -s conftest.$ac_objext'
6095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); }; }; then
6100 ac_header_compiler
=yes
6102 echo "$as_me: failed program was:" >&5
6103 cat conftest.
$ac_ext >&5
6104 ac_header_compiler
=no
6106 rm -f conftest.
$ac_objext conftest.
$ac_ext
6107 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6108 echo "${ECHO_T}$ac_header_compiler" >&6
6110 # Is the header present?
6111 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6112 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6113 cat >conftest.
$ac_ext <<_ACEOF
6114 #line $LINENO "configure"
6115 #include "confdefs.h"
6116 #include <$ac_header>
6118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6121 egrep -v '^ *\+' conftest.er1
>conftest.err
6123 cat conftest.err
>&5
6124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6125 (exit $ac_status); } >/dev
/null
; then
6126 if test -s conftest.err
; then
6127 ac_cpp_err
=$ac_c_preproc_warn_flag
6134 if test -z "$ac_cpp_err"; then
6135 ac_header_preproc
=yes
6137 echo "$as_me: failed program was:" >&5
6138 cat conftest.
$ac_ext >&5
6139 ac_header_preproc
=no
6141 rm -f conftest.err conftest.
$ac_ext
6142 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6143 echo "${ECHO_T}$ac_header_preproc" >&6
6145 # So? What about this header?
6146 case $ac_header_compiler:$ac_header_preproc in
6148 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6149 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6156 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6160 echo "$as_me:$LINENO: checking for $ac_header" >&5
6161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6163 echo $ECHO_N "(cached) $ECHO_C" >&6
6165 eval "$as_ac_Header=$ac_header_preproc"
6167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6172 cat >>confdefs.h
<<_ACEOF
6173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6181 for ac_header
in xfs
/xqm.h
6183 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6185 echo "$as_me:$LINENO: checking for $ac_header" >&5
6186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6188 echo $ECHO_N "(cached) $ECHO_C" >&6
6190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6193 # Is the header compilable?
6194 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6195 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6196 cat >conftest.
$ac_ext <<_ACEOF
6197 #line $LINENO "configure"
6198 #include "confdefs.h"
6199 $ac_includes_default
6200 #include <$ac_header>
6202 rm -f conftest.
$ac_objext
6203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6204 (eval $ac_compile) 2>&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); } &&
6208 { ac_try
='test -s conftest.$ac_objext'
6209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 (exit $ac_status); }; }; then
6214 ac_header_compiler
=yes
6216 echo "$as_me: failed program was:" >&5
6217 cat conftest.
$ac_ext >&5
6218 ac_header_compiler
=no
6220 rm -f conftest.
$ac_objext conftest.
$ac_ext
6221 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6222 echo "${ECHO_T}$ac_header_compiler" >&6
6224 # Is the header present?
6225 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6226 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6227 cat >conftest.
$ac_ext <<_ACEOF
6228 #line $LINENO "configure"
6229 #include "confdefs.h"
6230 #include <$ac_header>
6232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6235 egrep -v '^ *\+' conftest.er1
>conftest.err
6237 cat conftest.err
>&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); } >/dev
/null
; then
6240 if test -s conftest.err
; then
6241 ac_cpp_err
=$ac_c_preproc_warn_flag
6248 if test -z "$ac_cpp_err"; then
6249 ac_header_preproc
=yes
6251 echo "$as_me: failed program was:" >&5
6252 cat conftest.
$ac_ext >&5
6253 ac_header_preproc
=no
6255 rm -f conftest.err conftest.
$ac_ext
6256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6257 echo "${ECHO_T}$ac_header_preproc" >&6
6259 # So? What about this header?
6260 case $ac_header_compiler:$ac_header_preproc in
6262 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6263 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6272 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6274 echo "$as_me:$LINENO: checking for $ac_header" >&5
6275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6277 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 eval "$as_ac_Header=$ac_header_preproc"
6281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6286 cat >>confdefs.h
<<_ACEOF
6287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6295 echo "$as_me:$LINENO: checking for int" >&5
6296 echo $ECHO_N "checking for int... $ECHO_C" >&6
6297 if test "${ac_cv_type_int+set}" = set; then
6298 echo $ECHO_N "(cached) $ECHO_C" >&6
6300 cat >conftest.
$ac_ext <<_ACEOF
6301 #line $LINENO "configure"
6302 #include "confdefs.h"
6303 $ac_includes_default
6304 #ifdef F77_DUMMY_MAIN
6308 int F77_DUMMY_MAIN() { return 1; }
6321 rm -f conftest.
$ac_objext
6322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6323 (eval $ac_compile) 2>&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); } &&
6327 { ac_try
='test -s conftest.$ac_objext'
6328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); }; }; then
6335 echo "$as_me: failed program was:" >&5
6336 cat conftest.
$ac_ext >&5
6339 rm -f conftest.
$ac_objext conftest.
$ac_ext
6341 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
6342 echo "${ECHO_T}$ac_cv_type_int" >&6
6344 echo "$as_me:$LINENO: checking size of int" >&5
6345 echo $ECHO_N "checking size of int... $ECHO_C" >&6
6346 if test "${ac_cv_sizeof_int+set}" = set; then
6347 echo $ECHO_N "(cached) $ECHO_C" >&6
6349 if test "$ac_cv_type_int" = yes; then
6350 # The cast to unsigned long works around a bug in the HP C Compiler
6351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6353 # This bug is HP SR number 8606223364.
6354 if test "$cross_compiling" = yes; then
6355 # Depending upon the size, compute the lo and hi bounds.
6356 cat >conftest.
$ac_ext <<_ACEOF
6357 #line $LINENO "configure"
6358 #include "confdefs.h"
6359 $ac_includes_default
6360 #ifdef F77_DUMMY_MAIN
6364 int F77_DUMMY_MAIN() { return 1; }
6369 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
6376 rm -f conftest.
$ac_objext
6377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6378 (eval $ac_compile) 2>&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); } &&
6382 { ac_try
='test -s conftest.$ac_objext'
6383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); }; }; then
6390 cat >conftest.
$ac_ext <<_ACEOF
6391 #line $LINENO "configure"
6392 #include "confdefs.h"
6393 $ac_includes_default
6394 #ifdef F77_DUMMY_MAIN
6398 int F77_DUMMY_MAIN() { return 1; }
6403 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6410 rm -f conftest.
$ac_objext
6411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6412 (eval $ac_compile) 2>&5
6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6415 (exit $ac_status); } &&
6416 { ac_try
='test -s conftest.$ac_objext'
6417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); }; }; then
6422 ac_hi
=$ac_mid; break
6424 echo "$as_me: failed program was:" >&5
6425 cat conftest.
$ac_ext >&5
6426 ac_lo
=`expr $ac_mid + 1`
6427 if test $ac_lo -le $ac_mid; then
6431 ac_mid
=`expr 2 '*' $ac_mid + 1`
6433 rm -f conftest.
$ac_objext conftest.
$ac_ext
6436 echo "$as_me: failed program was:" >&5
6437 cat conftest.
$ac_ext >&5
6438 cat >conftest.
$ac_ext <<_ACEOF
6439 #line $LINENO "configure"
6440 #include "confdefs.h"
6441 $ac_includes_default
6442 #ifdef F77_DUMMY_MAIN
6446 int F77_DUMMY_MAIN() { return 1; }
6451 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
6458 rm -f conftest.
$ac_objext
6459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6460 (eval $ac_compile) 2>&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } &&
6464 { ac_try
='test -s conftest.$ac_objext'
6465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); }; }; then
6472 cat >conftest.
$ac_ext <<_ACEOF
6473 #line $LINENO "configure"
6474 #include "confdefs.h"
6475 $ac_includes_default
6476 #ifdef F77_DUMMY_MAIN
6480 int F77_DUMMY_MAIN() { return 1; }
6485 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
6492 rm -f conftest.
$ac_objext
6493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6494 (eval $ac_compile) 2>&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); } &&
6498 { ac_try
='test -s conftest.$ac_objext'
6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); }; }; then
6504 ac_lo
=$ac_mid; break
6506 echo "$as_me: failed program was:" >&5
6507 cat conftest.
$ac_ext >&5
6508 ac_hi
=`expr '(' $ac_mid ')' - 1`
6509 if test $ac_mid -le $ac_hi; then
6513 ac_mid
=`expr 2 '*' $ac_mid`
6515 rm -f conftest.
$ac_objext conftest.
$ac_ext
6518 echo "$as_me: failed program was:" >&5
6519 cat conftest.
$ac_ext >&5
6522 rm -f conftest.
$ac_objext conftest.
$ac_ext
6524 rm -f conftest.
$ac_objext conftest.
$ac_ext
6525 # Binary search between lo and hi bounds.
6526 while test "x$ac_lo" != "x$ac_hi"; do
6527 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6528 cat >conftest.
$ac_ext <<_ACEOF
6529 #line $LINENO "configure"
6530 #include "confdefs.h"
6531 $ac_includes_default
6532 #ifdef F77_DUMMY_MAIN
6536 int F77_DUMMY_MAIN() { return 1; }
6541 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6548 rm -f conftest.
$ac_objext
6549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6550 (eval $ac_compile) 2>&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); } &&
6554 { ac_try
='test -s conftest.$ac_objext'
6555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); }; }; then
6562 echo "$as_me: failed program was:" >&5
6563 cat conftest.
$ac_ext >&5
6564 ac_lo
=`expr '(' $ac_mid ')' + 1`
6566 rm -f conftest.
$ac_objext conftest.
$ac_ext
6569 ?
*) ac_cv_sizeof_int
=$ac_lo;;
6570 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
6571 echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
6572 { (exit 1); exit 1; }; } ;;
6575 if test "$cross_compiling" = yes; then
6576 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6577 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6578 { (exit 1); exit 1; }; }
6580 cat >conftest.
$ac_ext <<_ACEOF
6581 #line $LINENO "configure"
6582 #include "confdefs.h"
6583 $ac_includes_default
6584 long longval () { return (long) (sizeof (int)); }
6585 unsigned long ulongval () { return (long) (sizeof (int)); }
6588 #ifdef F77_DUMMY_MAIN
6592 int F77_DUMMY_MAIN() { return 1; }
6598 FILE *f = fopen ("conftest.val", "w");
6601 if (((long) (sizeof (int))) < 0)
6603 long i = longval ();
6604 if (i != ((long) (sizeof (int))))
6606 fprintf (f, "%ld\n", i);
6610 unsigned long i = ulongval ();
6611 if (i != ((long) (sizeof (int))))
6613 fprintf (f, "%lu\n", i);
6615 exit (ferror (f) || fclose (f) != 0);
6621 rm -f conftest
$ac_exeext
6622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6623 (eval $ac_link) 2>&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); }; }; then
6632 ac_cv_sizeof_int
=`cat conftest.val`
6634 echo "$as_me: program exited with status $ac_status" >&5
6635 echo "$as_me: failed program was:" >&5
6636 cat conftest.
$ac_ext >&5
6638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
6639 echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
6640 { (exit 1); exit 1; }; }
6642 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6650 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6651 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
6652 cat >>confdefs.h
<<_ACEOF
6653 #define SIZEOF_INT $ac_cv_sizeof_int
6657 echo "$as_me:$LINENO: checking for long" >&5
6658 echo $ECHO_N "checking for long... $ECHO_C" >&6
6659 if test "${ac_cv_type_long+set}" = set; then
6660 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 cat >conftest.
$ac_ext <<_ACEOF
6663 #line $LINENO "configure"
6664 #include "confdefs.h"
6665 $ac_includes_default
6666 #ifdef F77_DUMMY_MAIN
6670 int F77_DUMMY_MAIN() { return 1; }
6683 rm -f conftest.
$ac_objext
6684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6685 (eval $ac_compile) 2>&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); } &&
6689 { ac_try
='test -s conftest.$ac_objext'
6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); }; }; then
6697 echo "$as_me: failed program was:" >&5
6698 cat conftest.
$ac_ext >&5
6701 rm -f conftest.
$ac_objext conftest.
$ac_ext
6703 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6704 echo "${ECHO_T}$ac_cv_type_long" >&6
6706 echo "$as_me:$LINENO: checking size of long" >&5
6707 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6708 if test "${ac_cv_sizeof_long+set}" = set; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 if test "$ac_cv_type_long" = yes; then
6712 # The cast to unsigned long works around a bug in the HP C Compiler
6713 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6714 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6715 # This bug is HP SR number 8606223364.
6716 if test "$cross_compiling" = yes; then
6717 # Depending upon the size, compute the lo and hi bounds.
6718 cat >conftest.
$ac_ext <<_ACEOF
6719 #line $LINENO "configure"
6720 #include "confdefs.h"
6721 $ac_includes_default
6722 #ifdef F77_DUMMY_MAIN
6726 int F77_DUMMY_MAIN() { return 1; }
6731 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6738 rm -f conftest.
$ac_objext
6739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6740 (eval $ac_compile) 2>&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); } &&
6744 { ac_try
='test -s conftest.$ac_objext'
6745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); }; }; then
6752 cat >conftest.
$ac_ext <<_ACEOF
6753 #line $LINENO "configure"
6754 #include "confdefs.h"
6755 $ac_includes_default
6756 #ifdef F77_DUMMY_MAIN
6760 int F77_DUMMY_MAIN() { return 1; }
6765 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6772 rm -f conftest.
$ac_objext
6773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6774 (eval $ac_compile) 2>&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); } &&
6778 { ac_try
='test -s conftest.$ac_objext'
6779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); }; }; then
6784 ac_hi
=$ac_mid; break
6786 echo "$as_me: failed program was:" >&5
6787 cat conftest.
$ac_ext >&5
6788 ac_lo
=`expr $ac_mid + 1`
6789 if test $ac_lo -le $ac_mid; then
6793 ac_mid
=`expr 2 '*' $ac_mid + 1`
6795 rm -f conftest.
$ac_objext conftest.
$ac_ext
6798 echo "$as_me: failed program was:" >&5
6799 cat conftest.
$ac_ext >&5
6800 cat >conftest.
$ac_ext <<_ACEOF
6801 #line $LINENO "configure"
6802 #include "confdefs.h"
6803 $ac_includes_default
6804 #ifdef F77_DUMMY_MAIN
6808 int F77_DUMMY_MAIN() { return 1; }
6813 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6820 rm -f conftest.
$ac_objext
6821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6822 (eval $ac_compile) 2>&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); } &&
6826 { ac_try
='test -s conftest.$ac_objext'
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; }; then
6834 cat >conftest.
$ac_ext <<_ACEOF
6835 #line $LINENO "configure"
6836 #include "confdefs.h"
6837 $ac_includes_default
6838 #ifdef F77_DUMMY_MAIN
6842 int F77_DUMMY_MAIN() { return 1; }
6847 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6854 rm -f conftest.
$ac_objext
6855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6856 (eval $ac_compile) 2>&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); } &&
6860 { ac_try
='test -s conftest.$ac_objext'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); }; }; then
6866 ac_lo
=$ac_mid; break
6868 echo "$as_me: failed program was:" >&5
6869 cat conftest.
$ac_ext >&5
6870 ac_hi
=`expr '(' $ac_mid ')' - 1`
6871 if test $ac_mid -le $ac_hi; then
6875 ac_mid
=`expr 2 '*' $ac_mid`
6877 rm -f conftest.
$ac_objext conftest.
$ac_ext
6880 echo "$as_me: failed program was:" >&5
6881 cat conftest.
$ac_ext >&5
6884 rm -f conftest.
$ac_objext conftest.
$ac_ext
6886 rm -f conftest.
$ac_objext conftest.
$ac_ext
6887 # Binary search between lo and hi bounds.
6888 while test "x$ac_lo" != "x$ac_hi"; do
6889 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6890 cat >conftest.
$ac_ext <<_ACEOF
6891 #line $LINENO "configure"
6892 #include "confdefs.h"
6893 $ac_includes_default
6894 #ifdef F77_DUMMY_MAIN
6898 int F77_DUMMY_MAIN() { return 1; }
6903 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6910 rm -f conftest.
$ac_objext
6911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6912 (eval $ac_compile) 2>&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); } &&
6916 { ac_try
='test -s conftest.$ac_objext'
6917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 (exit $ac_status); }; }; then
6924 echo "$as_me: failed program was:" >&5
6925 cat conftest.
$ac_ext >&5
6926 ac_lo
=`expr '(' $ac_mid ')' + 1`
6928 rm -f conftest.
$ac_objext conftest.
$ac_ext
6931 ?
*) ac_cv_sizeof_long
=$ac_lo;;
6932 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
6933 echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
6934 { (exit 1); exit 1; }; } ;;
6937 if test "$cross_compiling" = yes; then
6938 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6939 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6940 { (exit 1); exit 1; }; }
6942 cat >conftest.
$ac_ext <<_ACEOF
6943 #line $LINENO "configure"
6944 #include "confdefs.h"
6945 $ac_includes_default
6946 long longval () { return (long) (sizeof (long)); }
6947 unsigned long ulongval () { return (long) (sizeof (long)); }
6950 #ifdef F77_DUMMY_MAIN
6954 int F77_DUMMY_MAIN() { return 1; }
6960 FILE *f = fopen ("conftest.val", "w");
6963 if (((long) (sizeof (long))) < 0)
6965 long i = longval ();
6966 if (i != ((long) (sizeof (long))))
6968 fprintf (f, "%ld\n", i);
6972 unsigned long i = ulongval ();
6973 if (i != ((long) (sizeof (long))))
6975 fprintf (f, "%lu\n", i);
6977 exit (ferror (f) || fclose (f) != 0);
6983 rm -f conftest
$ac_exeext
6984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6985 (eval $ac_link) 2>&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); }; }; then
6994 ac_cv_sizeof_long
=`cat conftest.val`
6996 echo "$as_me: program exited with status $ac_status" >&5
6997 echo "$as_me: failed program was:" >&5
6998 cat conftest.
$ac_ext >&5
7000 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
7001 echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
7002 { (exit 1); exit 1; }; }
7004 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7012 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7013 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7014 cat >>confdefs.h
<<_ACEOF
7015 #define SIZEOF_LONG $ac_cv_sizeof_long
7019 echo "$as_me:$LINENO: checking for short" >&5
7020 echo $ECHO_N "checking for short... $ECHO_C" >&6
7021 if test "${ac_cv_type_short+set}" = set; then
7022 echo $ECHO_N "(cached) $ECHO_C" >&6
7024 cat >conftest.
$ac_ext <<_ACEOF
7025 #line $LINENO "configure"
7026 #include "confdefs.h"
7027 $ac_includes_default
7028 #ifdef F77_DUMMY_MAIN
7032 int F77_DUMMY_MAIN() { return 1; }
7045 rm -f conftest.
$ac_objext
7046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7047 (eval $ac_compile) 2>&5
7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); } &&
7051 { ac_try
='test -s conftest.$ac_objext'
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; }; then
7057 ac_cv_type_short
=yes
7059 echo "$as_me: failed program was:" >&5
7060 cat conftest.
$ac_ext >&5
7063 rm -f conftest.
$ac_objext conftest.
$ac_ext
7065 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
7066 echo "${ECHO_T}$ac_cv_type_short" >&6
7068 echo "$as_me:$LINENO: checking size of short" >&5
7069 echo $ECHO_N "checking size of short... $ECHO_C" >&6
7070 if test "${ac_cv_sizeof_short+set}" = set; then
7071 echo $ECHO_N "(cached) $ECHO_C" >&6
7073 if test "$ac_cv_type_short" = yes; then
7074 # The cast to unsigned long works around a bug in the HP C Compiler
7075 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7076 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7077 # This bug is HP SR number 8606223364.
7078 if test "$cross_compiling" = yes; then
7079 # Depending upon the size, compute the lo and hi bounds.
7080 cat >conftest.
$ac_ext <<_ACEOF
7081 #line $LINENO "configure"
7082 #include "confdefs.h"
7083 $ac_includes_default
7084 #ifdef F77_DUMMY_MAIN
7088 int F77_DUMMY_MAIN() { return 1; }
7093 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
7100 rm -f conftest.
$ac_objext
7101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7102 (eval $ac_compile) 2>&5
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); } &&
7106 { ac_try
='test -s conftest.$ac_objext'
7107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111 (exit $ac_status); }; }; then
7114 cat >conftest.
$ac_ext <<_ACEOF
7115 #line $LINENO "configure"
7116 #include "confdefs.h"
7117 $ac_includes_default
7118 #ifdef F77_DUMMY_MAIN
7122 int F77_DUMMY_MAIN() { return 1; }
7127 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
7134 rm -f conftest.
$ac_objext
7135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7136 (eval $ac_compile) 2>&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); } &&
7140 { ac_try
='test -s conftest.$ac_objext'
7141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); }; }; then
7146 ac_hi
=$ac_mid; break
7148 echo "$as_me: failed program was:" >&5
7149 cat conftest.
$ac_ext >&5
7150 ac_lo
=`expr $ac_mid + 1`
7151 if test $ac_lo -le $ac_mid; then
7155 ac_mid
=`expr 2 '*' $ac_mid + 1`
7157 rm -f conftest.
$ac_objext conftest.
$ac_ext
7160 echo "$as_me: failed program was:" >&5
7161 cat conftest.
$ac_ext >&5
7162 cat >conftest.
$ac_ext <<_ACEOF
7163 #line $LINENO "configure"
7164 #include "confdefs.h"
7165 $ac_includes_default
7166 #ifdef F77_DUMMY_MAIN
7170 int F77_DUMMY_MAIN() { return 1; }
7175 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
7182 rm -f conftest.
$ac_objext
7183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7184 (eval $ac_compile) 2>&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } &&
7188 { ac_try
='test -s conftest.$ac_objext'
7189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 (exit $ac_status); }; }; then
7196 cat >conftest.
$ac_ext <<_ACEOF
7197 #line $LINENO "configure"
7198 #include "confdefs.h"
7199 $ac_includes_default
7200 #ifdef F77_DUMMY_MAIN
7204 int F77_DUMMY_MAIN() { return 1; }
7209 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
7216 rm -f conftest.
$ac_objext
7217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7218 (eval $ac_compile) 2>&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); } &&
7222 { ac_try
='test -s conftest.$ac_objext'
7223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); }; }; then
7228 ac_lo
=$ac_mid; break
7230 echo "$as_me: failed program was:" >&5
7231 cat conftest.
$ac_ext >&5
7232 ac_hi
=`expr '(' $ac_mid ')' - 1`
7233 if test $ac_mid -le $ac_hi; then
7237 ac_mid
=`expr 2 '*' $ac_mid`
7239 rm -f conftest.
$ac_objext conftest.
$ac_ext
7242 echo "$as_me: failed program was:" >&5
7243 cat conftest.
$ac_ext >&5
7246 rm -f conftest.
$ac_objext conftest.
$ac_ext
7248 rm -f conftest.
$ac_objext conftest.
$ac_ext
7249 # Binary search between lo and hi bounds.
7250 while test "x$ac_lo" != "x$ac_hi"; do
7251 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7252 cat >conftest.
$ac_ext <<_ACEOF
7253 #line $LINENO "configure"
7254 #include "confdefs.h"
7255 $ac_includes_default
7256 #ifdef F77_DUMMY_MAIN
7260 int F77_DUMMY_MAIN() { return 1; }
7265 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
7272 rm -f conftest.
$ac_objext
7273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7274 (eval $ac_compile) 2>&5
7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 (exit $ac_status); } &&
7278 { ac_try
='test -s conftest.$ac_objext'
7279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); }; }; then
7286 echo "$as_me: failed program was:" >&5
7287 cat conftest.
$ac_ext >&5
7288 ac_lo
=`expr '(' $ac_mid ')' + 1`
7290 rm -f conftest.
$ac_objext conftest.
$ac_ext
7293 ?
*) ac_cv_sizeof_short
=$ac_lo;;
7294 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
7295 echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
7296 { (exit 1); exit 1; }; } ;;
7299 if test "$cross_compiling" = yes; then
7300 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
7301 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7302 { (exit 1); exit 1; }; }
7304 cat >conftest.
$ac_ext <<_ACEOF
7305 #line $LINENO "configure"
7306 #include "confdefs.h"
7307 $ac_includes_default
7308 long longval () { return (long) (sizeof (short)); }
7309 unsigned long ulongval () { return (long) (sizeof (short)); }
7312 #ifdef F77_DUMMY_MAIN
7316 int F77_DUMMY_MAIN() { return 1; }
7322 FILE *f = fopen ("conftest.val", "w");
7325 if (((long) (sizeof (short))) < 0)
7327 long i = longval ();
7328 if (i != ((long) (sizeof (short))))
7330 fprintf (f, "%ld\n", i);
7334 unsigned long i = ulongval ();
7335 if (i != ((long) (sizeof (short))))
7337 fprintf (f, "%lu\n", i);
7339 exit (ferror (f) || fclose (f) != 0);
7345 rm -f conftest
$ac_exeext
7346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7347 (eval $ac_link) 2>&5
7349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355 (exit $ac_status); }; }; then
7356 ac_cv_sizeof_short
=`cat conftest.val`
7358 echo "$as_me: program exited with status $ac_status" >&5
7359 echo "$as_me: failed program was:" >&5
7360 cat conftest.
$ac_ext >&5
7362 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
7363 echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
7364 { (exit 1); exit 1; }; }
7366 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7371 ac_cv_sizeof_short
=0
7374 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
7375 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
7376 cat >>confdefs.h
<<_ACEOF
7377 #define SIZEOF_SHORT $ac_cv_sizeof_short
7382 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7383 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7384 if test "${ac_cv_c_const+set}" = set; then
7385 echo $ECHO_N "(cached) $ECHO_C" >&6
7387 cat >conftest.
$ac_ext <<_ACEOF
7388 #line $LINENO "configure"
7389 #include "confdefs.h"
7391 #ifdef F77_DUMMY_MAIN
7395 int F77_DUMMY_MAIN() { return 1; }
7400 /* FIXME: Include the comments suggested by Paul. */
7402 /* Ultrix mips cc rejects this. */
7403 typedef int charset[2];
7405 /* SunOS 4.1.1 cc rejects this. */
7406 char const *const *ccp;
7408 /* NEC SVR4.0.2 mips cc rejects this. */
7409 struct point {int x, y;};
7410 static struct point const zero = {0,0};
7411 /* AIX XL C 1.02.0.0 rejects this.
7412 It does not let you subtract one const X* pointer from another in
7413 an arm of an if-expression whose if-part is not a constant
7415 const char *g = "string";
7416 ccp = &g + (g ? g-g : 0);
7417 /* HPUX 7.0 cc rejects these. */
7420 ccp = (char const *const *) p;
7421 { /* SCO 3.2v4 cc rejects this. */
7423 char const *s = 0 ? (char *) 0 : (char const *) 0;
7427 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7429 const int *foo = &x[0];
7432 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7433 typedef const int *iptr;
7437 { /* AIX XL C 1.02.0.0 rejects this saying
7438 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7439 struct s { int j; const int *ap[3]; };
7440 struct s *b; b->j = 5;
7442 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7451 rm -f conftest.
$ac_objext
7452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7453 (eval $ac_compile) 2>&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); } &&
7457 { ac_try
='test -s conftest.$ac_objext'
7458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); }; }; then
7465 echo "$as_me: failed program was:" >&5
7466 cat conftest.
$ac_ext >&5
7469 rm -f conftest.
$ac_objext conftest.
$ac_ext
7471 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7472 echo "${ECHO_T}$ac_cv_c_const" >&6
7473 if test $ac_cv_c_const = no
; then
7475 cat >>confdefs.h
<<\_ACEOF
7481 echo "$as_me:$LINENO: checking for inline" >&5
7482 echo $ECHO_N "checking for inline... $ECHO_C" >&6
7483 if test "${ac_cv_c_inline+set}" = set; then
7484 echo $ECHO_N "(cached) $ECHO_C" >&6
7487 for ac_kw
in inline __inline__ __inline
; do
7488 cat >conftest.
$ac_ext <<_ACEOF
7489 #line $LINENO "configure"
7490 #include "confdefs.h"
7492 static $ac_kw int static_foo () {return 0; }
7493 $ac_kw int foo () {return 0; }
7497 rm -f conftest.
$ac_objext
7498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7499 (eval $ac_compile) 2>&5
7501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); } &&
7503 { ac_try
='test -s conftest.$ac_objext'
7504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); }; }; then
7509 ac_cv_c_inline
=$ac_kw; break
7511 echo "$as_me: failed program was:" >&5
7512 cat conftest.
$ac_ext >&5
7514 rm -f conftest.
$ac_objext conftest.
$ac_ext
7518 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7519 echo "${ECHO_T}$ac_cv_c_inline" >&6
7520 case $ac_cv_c_inline in
7523 cat >>confdefs.h
<<\_ACEOF
7527 *) cat >>confdefs.h
<<_ACEOF
7528 #define inline $ac_cv_c_inline
7533 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7534 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7535 if test "${ac_cv_c_bigendian+set}" = set; then
7536 echo $ECHO_N "(cached) $ECHO_C" >&6
7538 # See if sys/param.h defines the BYTE_ORDER macro.
7539 cat >conftest.
$ac_ext <<_ACEOF
7540 #line $LINENO "configure"
7541 #include "confdefs.h"
7542 #include <sys/types.h>
7543 #include <sys/param.h>
7545 #ifdef F77_DUMMY_MAIN
7549 int F77_DUMMY_MAIN() { return 1; }
7554 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7562 rm -f conftest.
$ac_objext
7563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7564 (eval $ac_compile) 2>&5
7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); } &&
7568 { ac_try
='test -s conftest.$ac_objext'
7569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); }; }; then
7574 # It does; now see whether it defined to BIG_ENDIAN or not.
7575 cat >conftest.
$ac_ext <<_ACEOF
7576 #line $LINENO "configure"
7577 #include "confdefs.h"
7578 #include <sys/types.h>
7579 #include <sys/param.h>
7581 #ifdef F77_DUMMY_MAIN
7585 int F77_DUMMY_MAIN() { return 1; }
7590 #if BYTE_ORDER != BIG_ENDIAN
7598 rm -f conftest.
$ac_objext
7599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7600 (eval $ac_compile) 2>&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); } &&
7604 { ac_try
='test -s conftest.$ac_objext'
7605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; }; then
7610 ac_cv_c_bigendian
=yes
7612 echo "$as_me: failed program was:" >&5
7613 cat conftest.
$ac_ext >&5
7614 ac_cv_c_bigendian
=no
7616 rm -f conftest.
$ac_objext conftest.
$ac_ext
7618 echo "$as_me: failed program was:" >&5
7619 cat conftest.
$ac_ext >&5
7620 # It does not; compile a test program.
7621 if test "$cross_compiling" = yes; then
7622 # try to guess the endianess by grep'ing values into an object file
7623 ac_cv_c_bigendian
=unknown
7624 cat >conftest.
$ac_ext <<_ACEOF
7625 #line $LINENO "configure"
7626 #include "confdefs.h"
7627 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7628 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7629 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
7630 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7631 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7632 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
7633 #ifdef F77_DUMMY_MAIN
7637 int F77_DUMMY_MAIN() { return 1; }
7642 _ascii (); _ebcdic ();
7647 rm -f conftest.
$ac_objext
7648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7649 (eval $ac_compile) 2>&5
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); } &&
7653 { ac_try
='test -s conftest.$ac_objext'
7654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); }; }; then
7659 if fgrep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
7660 ac_cv_c_bigendian
=yes
7662 if fgrep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
7663 if test "$ac_cv_c_bigendian" = unknown
; then
7664 ac_cv_c_bigendian
=no
7666 # finding both strings is unlikely to happen, but who knows?
7667 ac_cv_c_bigendian
=unknown
7671 echo "$as_me: failed program was:" >&5
7672 cat conftest.
$ac_ext >&5
7674 rm -f conftest.
$ac_objext conftest.
$ac_ext
7676 cat >conftest.
$ac_ext <<_ACEOF
7677 #line $LINENO "configure"
7678 #include "confdefs.h"
7682 /* Are we little or big endian? From Harbison&Steele. */
7686 char c[sizeof (long)];
7689 exit (u.c[sizeof (long) - 1] == 1);
7692 rm -f conftest
$ac_exeext
7693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7694 (eval $ac_link) 2>&5
7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); }; }; then
7703 ac_cv_c_bigendian
=no
7705 echo "$as_me: program exited with status $ac_status" >&5
7706 echo "$as_me: failed program was:" >&5
7707 cat conftest.
$ac_ext >&5
7709 ac_cv_c_bigendian
=yes
7711 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7714 rm -f conftest.
$ac_objext conftest.
$ac_ext
7716 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7717 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7718 case $ac_cv_c_bigendian in
7721 cat >>confdefs.h
<<\_ACEOF
7722 #define WORDS_BIGENDIAN 1
7728 { { echo "$as_me:$LINENO: error: unknown endianess
7729 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
7730 echo "$as_me: error: unknown endianess
7731 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
7732 { (exit 1); exit 1; }; } ;;
7736 echo "$as_me:$LINENO: checking whether char is unsigned" >&5
7737 echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
7738 if test "${ac_cv_c_char_unsigned+set}" = set; then
7739 echo $ECHO_N "(cached) $ECHO_C" >&6
7741 cat >conftest.
$ac_ext <<_ACEOF
7742 #line $LINENO "configure"
7743 #include "confdefs.h"
7744 $ac_includes_default
7745 #ifdef F77_DUMMY_MAIN
7749 int F77_DUMMY_MAIN() { return 1; }
7754 static int test_array [1 - 2 * !(((char) -1) < 0)];
7761 rm -f conftest.
$ac_objext
7762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7763 (eval $ac_compile) 2>&5
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); } &&
7767 { ac_try
='test -s conftest.$ac_objext'
7768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7772 (exit $ac_status); }; }; then
7773 ac_cv_c_char_unsigned
=no
7775 echo "$as_me: failed program was:" >&5
7776 cat conftest.
$ac_ext >&5
7777 ac_cv_c_char_unsigned
=yes
7779 rm -f conftest.
$ac_objext conftest.
$ac_ext
7781 echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
7782 echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
7783 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
7784 cat >>confdefs.h
<<\_ACEOF
7785 #define __CHAR_UNSIGNED__ 1
7791 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7792 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7793 if test "${ac_cv_type_signal+set}" = set; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 cat >conftest.
$ac_ext <<_ACEOF
7797 #line $LINENO "configure"
7798 #include "confdefs.h"
7799 #include <sys/types.h>
7805 extern "C" void (*signal (int, void (*)(int)))(int);
7807 void (*signal ()) ();
7810 #ifdef F77_DUMMY_MAIN
7814 int F77_DUMMY_MAIN() { return 1; }
7824 rm -f conftest.
$ac_objext
7825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7826 (eval $ac_compile) 2>&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); } &&
7830 { ac_try
='test -s conftest.$ac_objext'
7831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); }; }; then
7836 ac_cv_type_signal
=void
7838 echo "$as_me: failed program was:" >&5
7839 cat conftest.
$ac_ext >&5
7840 ac_cv_type_signal
=int
7842 rm -f conftest.
$ac_objext conftest.
$ac_ext
7844 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7845 echo "${ECHO_T}$ac_cv_type_signal" >&6
7847 cat >>confdefs.h
<<_ACEOF
7848 #define RETSIGTYPE $ac_cv_type_signal
7852 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7853 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
7854 if test "${ac_cv_type_uid_t+set}" = set; then
7855 echo $ECHO_N "(cached) $ECHO_C" >&6
7857 cat >conftest.
$ac_ext <<_ACEOF
7858 #line $LINENO "configure"
7859 #include "confdefs.h"
7860 #include <sys/types.h>
7863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7864 egrep "uid_t" >/dev
/null
2>&1; then
7865 ac_cv_type_uid_t
=yes
7872 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7873 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
7874 if test $ac_cv_type_uid_t = no
; then
7876 cat >>confdefs.h
<<\_ACEOF
7881 cat >>confdefs.h
<<\_ACEOF
7887 echo "$as_me:$LINENO: checking for mode_t" >&5
7888 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
7889 if test "${ac_cv_type_mode_t+set}" = set; then
7890 echo $ECHO_N "(cached) $ECHO_C" >&6
7892 cat >conftest.
$ac_ext <<_ACEOF
7893 #line $LINENO "configure"
7894 #include "confdefs.h"
7895 $ac_includes_default
7896 #ifdef F77_DUMMY_MAIN
7900 int F77_DUMMY_MAIN() { return 1; }
7907 if (sizeof (mode_t))
7913 rm -f conftest.
$ac_objext
7914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7915 (eval $ac_compile) 2>&5
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); } &&
7919 { ac_try
='test -s conftest.$ac_objext'
7920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); }; }; then
7925 ac_cv_type_mode_t
=yes
7927 echo "$as_me: failed program was:" >&5
7928 cat conftest.
$ac_ext >&5
7929 ac_cv_type_mode_t
=no
7931 rm -f conftest.
$ac_objext conftest.
$ac_ext
7933 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
7934 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
7935 if test $ac_cv_type_mode_t = yes; then
7939 cat >>confdefs.h
<<_ACEOF
7945 echo "$as_me:$LINENO: checking for off_t" >&5
7946 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
7947 if test "${ac_cv_type_off_t+set}" = set; then
7948 echo $ECHO_N "(cached) $ECHO_C" >&6
7950 cat >conftest.
$ac_ext <<_ACEOF
7951 #line $LINENO "configure"
7952 #include "confdefs.h"
7953 $ac_includes_default
7954 #ifdef F77_DUMMY_MAIN
7958 int F77_DUMMY_MAIN() { return 1; }
7971 rm -f conftest.
$ac_objext
7972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7973 (eval $ac_compile) 2>&5
7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7976 (exit $ac_status); } &&
7977 { ac_try
='test -s conftest.$ac_objext'
7978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7982 (exit $ac_status); }; }; then
7983 ac_cv_type_off_t
=yes
7985 echo "$as_me: failed program was:" >&5
7986 cat conftest.
$ac_ext >&5
7989 rm -f conftest.
$ac_objext conftest.
$ac_ext
7991 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7992 echo "${ECHO_T}$ac_cv_type_off_t" >&6
7993 if test $ac_cv_type_off_t = yes; then
7997 cat >>confdefs.h
<<_ACEOF
8003 echo "$as_me:$LINENO: checking for size_t" >&5
8004 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8005 if test "${ac_cv_type_size_t+set}" = set; then
8006 echo $ECHO_N "(cached) $ECHO_C" >&6
8008 cat >conftest.
$ac_ext <<_ACEOF
8009 #line $LINENO "configure"
8010 #include "confdefs.h"
8011 $ac_includes_default
8012 #ifdef F77_DUMMY_MAIN
8016 int F77_DUMMY_MAIN() { return 1; }
8023 if (sizeof (size_t))
8029 rm -f conftest.
$ac_objext
8030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8031 (eval $ac_compile) 2>&5
8033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); } &&
8035 { ac_try
='test -s conftest.$ac_objext'
8036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); }; }; then
8041 ac_cv_type_size_t
=yes
8043 echo "$as_me: failed program was:" >&5
8044 cat conftest.
$ac_ext >&5
8045 ac_cv_type_size_t
=no
8047 rm -f conftest.
$ac_objext conftest.
$ac_ext
8049 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8050 echo "${ECHO_T}$ac_cv_type_size_t" >&6
8051 if test $ac_cv_type_size_t = yes; then
8055 cat >>confdefs.h
<<_ACEOF
8056 #define size_t unsigned
8061 echo "$as_me:$LINENO: checking for pid_t" >&5
8062 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
8063 if test "${ac_cv_type_pid_t+set}" = set; then
8064 echo $ECHO_N "(cached) $ECHO_C" >&6
8066 cat >conftest.
$ac_ext <<_ACEOF
8067 #line $LINENO "configure"
8068 #include "confdefs.h"
8069 $ac_includes_default
8070 #ifdef F77_DUMMY_MAIN
8074 int F77_DUMMY_MAIN() { return 1; }
8087 rm -f conftest.
$ac_objext
8088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8089 (eval $ac_compile) 2>&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); } &&
8093 { ac_try
='test -s conftest.$ac_objext'
8094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); }; }; then
8099 ac_cv_type_pid_t
=yes
8101 echo "$as_me: failed program was:" >&5
8102 cat conftest.
$ac_ext >&5
8105 rm -f conftest.
$ac_objext conftest.
$ac_ext
8107 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
8108 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
8109 if test $ac_cv_type_pid_t = yes; then
8113 cat >>confdefs.h
<<_ACEOF
8120 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
8121 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
8122 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
8123 echo $ECHO_N "(cached) $ECHO_C" >&6
8125 cat >conftest.
$ac_ext <<_ACEOF
8126 #line $LINENO "configure"
8127 #include "confdefs.h"
8128 $ac_includes_default
8129 #ifdef F77_DUMMY_MAIN
8133 int F77_DUMMY_MAIN() { return 1; }
8138 static struct stat ac_aggr;
8139 if (ac_aggr.st_rdev)
8145 rm -f conftest.
$ac_objext
8146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8147 (eval $ac_compile) 2>&5
8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150 (exit $ac_status); } &&
8151 { ac_try
='test -s conftest.$ac_objext'
8152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); }; }; then
8157 ac_cv_member_struct_stat_st_rdev
=yes
8159 echo "$as_me: failed program was:" >&5
8160 cat conftest.
$ac_ext >&5
8161 ac_cv_member_struct_stat_st_rdev
=no
8163 rm -f conftest.
$ac_objext conftest.
$ac_ext
8165 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
8166 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
8167 if test $ac_cv_member_struct_stat_st_rdev = yes; then
8169 cat >>confdefs.h
<<_ACEOF
8170 #define HAVE_STRUCT_STAT_ST_RDEV 1
8174 cat >>confdefs.h
<<\_ACEOF
8175 #define HAVE_ST_RDEV 1
8181 echo "$as_me:$LINENO: checking for d_off in dirent" >&5
8182 echo $ECHO_N "checking for d_off in dirent... $ECHO_C" >&6
8183 if test "${ac_cv_dirent_d_off+set}" = set; then
8184 echo $ECHO_N "(cached) $ECHO_C" >&6
8186 cat >conftest.
$ac_ext <<_ACEOF
8187 #line $LINENO "configure"
8188 #include "confdefs.h"
8191 #include <sys/types.h>
8193 #ifdef F77_DUMMY_MAIN
8197 int F77_DUMMY_MAIN() { return 1; }
8202 struct dirent d; d.d_off;
8207 rm -f conftest.
$ac_objext
8208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8209 (eval $ac_compile) 2>&5
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); } &&
8213 { ac_try
='test -s conftest.$ac_objext'
8214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8218 (exit $ac_status); }; }; then
8219 ac_cv_dirent_d_off
=yes
8221 echo "$as_me: failed program was:" >&5
8222 cat conftest.
$ac_ext >&5
8223 ac_cv_dirent_d_off
=no
8225 rm -f conftest.
$ac_objext conftest.
$ac_ext
8227 echo "$as_me:$LINENO: result: $ac_cv_dirent_d_off" >&5
8228 echo "${ECHO_T}$ac_cv_dirent_d_off" >&6
8229 if test $ac_cv_dirent_d_off = yes; then
8231 cat >>confdefs.h
<<\_ACEOF
8232 #define HAVE_DIRENT_D_OFF 1
8237 echo "$as_me:$LINENO: checking for ino_t" >&5
8238 echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
8239 if test "${ac_cv_type_ino_t+set}" = set; then
8240 echo $ECHO_N "(cached) $ECHO_C" >&6
8242 cat >conftest.
$ac_ext <<_ACEOF
8243 #line $LINENO "configure"
8244 #include "confdefs.h"
8245 $ac_includes_default
8246 #ifdef F77_DUMMY_MAIN
8250 int F77_DUMMY_MAIN() { return 1; }
8263 rm -f conftest.
$ac_objext
8264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8265 (eval $ac_compile) 2>&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); } &&
8269 { ac_try
='test -s conftest.$ac_objext'
8270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); }; }; then
8275 ac_cv_type_ino_t
=yes
8277 echo "$as_me: failed program was:" >&5
8278 cat conftest.
$ac_ext >&5
8281 rm -f conftest.
$ac_objext conftest.
$ac_ext
8283 echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
8284 echo "${ECHO_T}$ac_cv_type_ino_t" >&6
8285 if test $ac_cv_type_ino_t = yes; then
8289 cat >>confdefs.h
<<_ACEOF
8290 #define ino_t unsigned
8295 echo "$as_me:$LINENO: checking for loff_t" >&5
8296 echo $ECHO_N "checking for loff_t... $ECHO_C" >&6
8297 if test "${ac_cv_type_loff_t+set}" = set; then
8298 echo $ECHO_N "(cached) $ECHO_C" >&6
8300 cat >conftest.
$ac_ext <<_ACEOF
8301 #line $LINENO "configure"
8302 #include "confdefs.h"
8303 $ac_includes_default
8304 #ifdef F77_DUMMY_MAIN
8308 int F77_DUMMY_MAIN() { return 1; }
8315 if (sizeof (loff_t))
8321 rm -f conftest.
$ac_objext
8322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8323 (eval $ac_compile) 2>&5
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); } &&
8327 { ac_try
='test -s conftest.$ac_objext'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; }; then
8333 ac_cv_type_loff_t
=yes
8335 echo "$as_me: failed program was:" >&5
8336 cat conftest.
$ac_ext >&5
8337 ac_cv_type_loff_t
=no
8339 rm -f conftest.
$ac_objext conftest.
$ac_ext
8341 echo "$as_me:$LINENO: result: $ac_cv_type_loff_t" >&5
8342 echo "${ECHO_T}$ac_cv_type_loff_t" >&6
8343 if test $ac_cv_type_loff_t = yes; then
8347 cat >>confdefs.h
<<_ACEOF
8348 #define loff_t off_t
8353 echo "$as_me:$LINENO: checking for offset_t" >&5
8354 echo $ECHO_N "checking for offset_t... $ECHO_C" >&6
8355 if test "${ac_cv_type_offset_t+set}" = set; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8358 cat >conftest.
$ac_ext <<_ACEOF
8359 #line $LINENO "configure"
8360 #include "confdefs.h"
8361 $ac_includes_default
8362 #ifdef F77_DUMMY_MAIN
8366 int F77_DUMMY_MAIN() { return 1; }
8373 if (sizeof (offset_t))
8379 rm -f conftest.
$ac_objext
8380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8381 (eval $ac_compile) 2>&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); } &&
8385 { ac_try
='test -s conftest.$ac_objext'
8386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); }; }; then
8391 ac_cv_type_offset_t
=yes
8393 echo "$as_me: failed program was:" >&5
8394 cat conftest.
$ac_ext >&5
8395 ac_cv_type_offset_t
=no
8397 rm -f conftest.
$ac_objext conftest.
$ac_ext
8399 echo "$as_me:$LINENO: result: $ac_cv_type_offset_t" >&5
8400 echo "${ECHO_T}$ac_cv_type_offset_t" >&6
8401 if test $ac_cv_type_offset_t = yes; then
8405 cat >>confdefs.h
<<_ACEOF
8406 #define offset_t loff_t
8411 echo "$as_me:$LINENO: checking for ssize_t" >&5
8412 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
8413 if test "${ac_cv_type_ssize_t+set}" = set; then
8414 echo $ECHO_N "(cached) $ECHO_C" >&6
8416 cat >conftest.
$ac_ext <<_ACEOF
8417 #line $LINENO "configure"
8418 #include "confdefs.h"
8419 $ac_includes_default
8420 #ifdef F77_DUMMY_MAIN
8424 int F77_DUMMY_MAIN() { return 1; }
8431 if (sizeof (ssize_t))
8437 rm -f conftest.
$ac_objext
8438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8439 (eval $ac_compile) 2>&5
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); } &&
8443 { ac_try
='test -s conftest.$ac_objext'
8444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); }; }; then
8449 ac_cv_type_ssize_t
=yes
8451 echo "$as_me: failed program was:" >&5
8452 cat conftest.
$ac_ext >&5
8453 ac_cv_type_ssize_t
=no
8455 rm -f conftest.
$ac_objext conftest.
$ac_ext
8457 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
8458 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
8459 if test $ac_cv_type_ssize_t = yes; then
8463 cat >>confdefs.h
<<_ACEOF
8469 echo "$as_me:$LINENO: checking for wchar_t" >&5
8470 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
8471 if test "${ac_cv_type_wchar_t+set}" = set; then
8472 echo $ECHO_N "(cached) $ECHO_C" >&6
8474 cat >conftest.
$ac_ext <<_ACEOF
8475 #line $LINENO "configure"
8476 #include "confdefs.h"
8477 $ac_includes_default
8478 #ifdef F77_DUMMY_MAIN
8482 int F77_DUMMY_MAIN() { return 1; }
8489 if (sizeof (wchar_t))
8495 rm -f conftest.
$ac_objext
8496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8497 (eval $ac_compile) 2>&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); } &&
8501 { ac_try
='test -s conftest.$ac_objext'
8502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506 (exit $ac_status); }; }; then
8507 ac_cv_type_wchar_t
=yes
8509 echo "$as_me: failed program was:" >&5
8510 cat conftest.
$ac_ext >&5
8511 ac_cv_type_wchar_t
=no
8513 rm -f conftest.
$ac_objext conftest.
$ac_ext
8515 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
8516 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
8517 if test $ac_cv_type_wchar_t = yes; then
8521 cat >>confdefs.h
<<_ACEOF
8522 #define wchar_t unsigned short
8528 ############################################
8529 # for cups support we need libcups, and a handful of header files
8531 # Check whether --enable-cups or --disable-cups was given.
8532 if test "${enable_cups+set}" = set; then
8533 enableval
="$enable_cups"
8537 if test x
$enable_cups != xno
; then
8538 # Extract the first word of "cups-config", so it can be a program name with args.
8539 set dummy cups-config
; ac_word
=$2
8540 echo "$as_me:$LINENO: checking for $ac_word" >&5
8541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8542 if test "${ac_cv_path_CUPS_CONFIG+set}" = set; then
8543 echo $ECHO_N "(cached) $ECHO_C" >&6
8545 case $CUPS_CONFIG in
8547 ac_cv_path_CUPS_CONFIG
="$CUPS_CONFIG" # Let the user override the test with a path.
8550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8554 test -z "$as_dir" && as_dir
=.
8555 for ac_exec_ext
in '' $ac_executable_extensions; do
8556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8557 ac_cv_path_CUPS_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8567 CUPS_CONFIG
=$ac_cv_path_CUPS_CONFIG
8569 if test -n "$CUPS_CONFIG"; then
8570 echo "$as_me:$LINENO: result: $CUPS_CONFIG" >&5
8571 echo "${ECHO_T}$CUPS_CONFIG" >&6
8573 echo "$as_me:$LINENO: result: no" >&5
8574 echo "${ECHO_T}no" >&6
8578 if test "x$CUPS_CONFIG" != x
; then
8580 cat >>confdefs.h
<<\_ACEOF
8584 CFLAGS
="$CFLAGS `$CUPS_CONFIG --cflags`"
8585 LDFLAGS
="$LDFLAGS `$CUPS_CONFIG --ldflags`"
8586 PRINTLIBS
="$PRINTLIBS `$CUPS_CONFIG --libs`"
8590 ############################################
8591 # we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the plugin loading code
8593 for ac_func
in dlopen
8595 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8596 echo "$as_me:$LINENO: checking for $ac_func" >&5
8597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8598 if eval "test \"\${$as_ac_var+set}\" = set"; then
8599 echo $ECHO_N "(cached) $ECHO_C" >&6
8601 cat >conftest.
$ac_ext <<_ACEOF
8602 #line $LINENO "configure"
8603 #include "confdefs.h"
8604 /* System header to define __stub macros and hopefully few prototypes,
8605 which can conflict with char $ac_func (); below. */
8607 /* Override any gcc2 internal prototype to avoid an error. */
8611 /* We use char because int might match the return type of a gcc2
8612 builtin and then its argument prototype would still apply. */
8616 #ifdef F77_DUMMY_MAIN
8620 int F77_DUMMY_MAIN() { return 1; }
8625 /* The GNU C library defines this for functions which it implements
8626 to always fail with ENOSYS. Some functions are actually named
8627 something starting with __ and the normal name is an alias. */
8628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8638 rm -f conftest.
$ac_objext conftest
$ac_exeext
8639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8640 (eval $ac_link) 2>&5
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); } &&
8644 { ac_try
='test -s conftest$ac_exeext'
8645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); }; }; then
8650 eval "$as_ac_var=yes"
8652 echo "$as_me: failed program was:" >&5
8653 cat conftest.
$ac_ext >&5
8654 eval "$as_ac_var=no"
8656 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8660 if test `eval echo '${'$as_ac_var'}'` = yes; then
8661 cat >>confdefs.h
<<_ACEOF
8662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8668 if test x
"$ac_cv_func_dlopen" = x
"no"; then
8669 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8670 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8671 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8672 echo $ECHO_N "(cached) $ECHO_C" >&6
8674 ac_check_lib_save_LIBS
=$LIBS
8676 cat >conftest.
$ac_ext <<_ACEOF
8677 #line $LINENO "configure"
8678 #include "confdefs.h"
8680 /* Override any gcc2 internal prototype to avoid an error. */
8684 /* We use char because int might match the return type of a gcc2
8685 builtin and then its argument prototype would still apply. */
8687 #ifdef F77_DUMMY_MAIN
8691 int F77_DUMMY_MAIN() { return 1; }
8701 rm -f conftest.
$ac_objext conftest
$ac_exeext
8702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8703 (eval $ac_link) 2>&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } &&
8707 { ac_try
='test -s conftest$ac_exeext'
8708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); }; }; then
8713 ac_cv_lib_dl_dlopen
=yes
8715 echo "$as_me: failed program was:" >&5
8716 cat conftest.
$ac_ext >&5
8717 ac_cv_lib_dl_dlopen
=no
8719 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8720 LIBS
=$ac_check_lib_save_LIBS
8722 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8723 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8724 if test $ac_cv_lib_dl_dlopen = yes; then
8727 cat >>confdefs.h
<<\_ACEOF
8728 #define HAVE_DLOPEN 1
8734 # dlopen/dlclose/dlsym/dlerror will be checked again later and defines will be set then
8736 ############################################
8737 # check if the compiler can do immediate structures
8738 echo "$as_me:$LINENO: checking for immediate structures" >&5
8739 echo $ECHO_N "checking for immediate structures... $ECHO_C" >&6
8740 if test "${samba_cv_immediate_structures+set}" = set; then
8741 echo $ECHO_N "(cached) $ECHO_C" >&6
8744 cat >conftest.
$ac_ext <<_ACEOF
8745 #line $LINENO "configure"
8746 #include "confdefs.h"
8749 #ifdef F77_DUMMY_MAIN
8753 int F77_DUMMY_MAIN() { return 1; }
8759 typedef struct {unsigned x;} FOOBAR;
8760 #define X_FOOBAR(x) ((FOOBAR) { x })
8761 #define FOO_ONE X_FOOBAR(1)
8773 rm -f conftest.
$ac_objext
8774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8775 (eval $ac_compile) 2>&5
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); } &&
8779 { ac_try
='test -s conftest.$ac_objext'
8780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8784 (exit $ac_status); }; }; then
8785 samba_cv_immediate_structures
=yes
8787 echo "$as_me: failed program was:" >&5
8788 cat conftest.
$ac_ext >&5
8789 samba_cv_immediate_structures
=no
8791 rm -f conftest.
$ac_objext conftest.
$ac_ext
8793 echo "$as_me:$LINENO: result: $samba_cv_immediate_structures" >&5
8794 echo "${ECHO_T}$samba_cv_immediate_structures" >&6
8795 if test x
"$samba_cv_immediate_structures" = x
"yes"; then
8797 cat >>confdefs.h
<<\_ACEOF
8798 #define HAVE_IMMEDIATE_STRUCTURES 1
8803 ############################################
8804 # check for unix domain sockets
8805 echo "$as_me:$LINENO: checking for unix domain sockets" >&5
8806 echo $ECHO_N "checking for unix domain sockets... $ECHO_C" >&6
8807 if test "${samba_cv_unixsocket+set}" = set; then
8808 echo $ECHO_N "(cached) $ECHO_C" >&6
8811 cat >conftest.
$ac_ext <<_ACEOF
8812 #line $LINENO "configure"
8813 #include "confdefs.h"
8815 #include <sys/types.h>
8818 #include <sys/socket.h>
8820 #ifdef F77_DUMMY_MAIN
8824 int F77_DUMMY_MAIN() { return 1; }
8830 struct sockaddr_un sunaddr;
8831 sunaddr.sun_family = AF_UNIX;
8837 rm -f conftest.
$ac_objext
8838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8839 (eval $ac_compile) 2>&5
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); } &&
8843 { ac_try
='test -s conftest.$ac_objext'
8844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); }; }; then
8849 samba_cv_unixsocket
=yes
8851 echo "$as_me: failed program was:" >&5
8852 cat conftest.
$ac_ext >&5
8853 samba_cv_unixsocket
=no
8855 rm -f conftest.
$ac_objext conftest.
$ac_ext
8857 echo "$as_me:$LINENO: result: $samba_cv_unixsocket" >&5
8858 echo "${ECHO_T}$samba_cv_unixsocket" >&6
8859 if test x
"$samba_cv_unixsocket" = x
"yes"; then
8861 cat >>confdefs.h
<<\_ACEOF
8862 #define HAVE_UNIXSOCKET 1
8868 echo "$as_me:$LINENO: checking for socklen_t type" >&5
8869 echo $ECHO_N "checking for socklen_t type... $ECHO_C" >&6
8870 if test "${samba_cv_socklen_t+set}" = set; then
8871 echo $ECHO_N "(cached) $ECHO_C" >&6
8874 cat >conftest.
$ac_ext <<_ACEOF
8875 #line $LINENO "configure"
8876 #include "confdefs.h"
8878 #include <sys/types.h>
8883 #include <sys/socket.h>
8884 #ifdef F77_DUMMY_MAIN
8888 int F77_DUMMY_MAIN() { return 1; }
8898 rm -f conftest.
$ac_objext
8899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8900 (eval $ac_compile) 2>&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); } &&
8904 { ac_try
='test -s conftest.$ac_objext'
8905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); }; }; then
8910 samba_cv_socklen_t
=yes
8912 echo "$as_me: failed program was:" >&5
8913 cat conftest.
$ac_ext >&5
8914 samba_cv_socklen_t
=no
8916 rm -f conftest.
$ac_objext conftest.
$ac_ext
8918 echo "$as_me:$LINENO: result: $samba_cv_socklen_t" >&5
8919 echo "${ECHO_T}$samba_cv_socklen_t" >&6
8920 if test x
"$samba_cv_socklen_t" = x
"yes"; then
8922 cat >>confdefs.h
<<\_ACEOF
8923 #define HAVE_SOCKLEN_T_TYPE 1
8928 echo "$as_me:$LINENO: checking for sig_atomic_t type" >&5
8929 echo $ECHO_N "checking for sig_atomic_t type... $ECHO_C" >&6
8930 if test "${samba_cv_sig_atomic_t+set}" = set; then
8931 echo $ECHO_N "(cached) $ECHO_C" >&6
8934 cat >conftest.
$ac_ext <<_ACEOF
8935 #line $LINENO "configure"
8936 #include "confdefs.h"
8938 #include <sys/types.h>
8944 #ifdef F77_DUMMY_MAIN
8948 int F77_DUMMY_MAIN() { return 1; }
8958 rm -f conftest.
$ac_objext
8959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8960 (eval $ac_compile) 2>&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } &&
8964 { ac_try
='test -s conftest.$ac_objext'
8965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); }; }; then
8970 samba_cv_sig_atomic_t
=yes
8972 echo "$as_me: failed program was:" >&5
8973 cat conftest.
$ac_ext >&5
8974 samba_cv_sig_atomic_t
=no
8976 rm -f conftest.
$ac_objext conftest.
$ac_ext
8978 echo "$as_me:$LINENO: result: $samba_cv_sig_atomic_t" >&5
8979 echo "${ECHO_T}$samba_cv_sig_atomic_t" >&6
8980 if test x
"$samba_cv_sig_atomic_t" = x
"yes"; then
8982 cat >>confdefs.h
<<\_ACEOF
8983 #define HAVE_SIG_ATOMIC_T_TYPE 1
8988 # stupid headers have the functions but no declaration. grrrr.
8990 echo "$as_me:$LINENO: checking for errno declaration" >&5
8991 echo $ECHO_N "checking for errno declaration... $ECHO_C" >&6
8992 if test "${ac_cv_have_errno_decl+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 cat >conftest.
$ac_ext <<_ACEOF
8997 #line $LINENO "configure"
8998 #include "confdefs.h"
9000 #ifdef F77_DUMMY_MAIN
9004 int F77_DUMMY_MAIN() { return 1; }
9014 rm -f conftest.
$ac_objext
9015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9016 (eval $ac_compile) 2>&5
9018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9019 (exit $ac_status); } &&
9020 { ac_try
='test -s conftest.$ac_objext'
9021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); }; }; then
9026 ac_cv_have_errno_decl
=yes
9028 echo "$as_me: failed program was:" >&5
9029 cat conftest.
$ac_ext >&5
9030 ac_cv_have_errno_decl
=no
9032 rm -f conftest.
$ac_objext conftest.
$ac_ext
9034 echo "$as_me:$LINENO: result: $ac_cv_have_errno_decl" >&5
9035 echo "${ECHO_T}$ac_cv_have_errno_decl" >&6
9036 if test x
"$ac_cv_have_errno_decl" = x
"yes"; then
9038 cat >>confdefs.h
<<\_ACEOF
9039 #define HAVE_ERRNO_DECL 1
9045 echo "$as_me:$LINENO: checking for setresuid declaration" >&5
9046 echo $ECHO_N "checking for setresuid declaration... $ECHO_C" >&6
9047 if test "${ac_cv_have_setresuid_decl+set}" = set; then
9048 echo $ECHO_N "(cached) $ECHO_C" >&6
9051 cat >conftest.
$ac_ext <<_ACEOF
9052 #line $LINENO "configure"
9053 #include "confdefs.h"
9055 #ifdef F77_DUMMY_MAIN
9059 int F77_DUMMY_MAIN() { return 1; }
9064 int i = (int)setresuid
9069 rm -f conftest.
$ac_objext
9070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9071 (eval $ac_compile) 2>&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); } &&
9075 { ac_try
='test -s conftest.$ac_objext'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; }; then
9081 ac_cv_have_setresuid_decl
=yes
9083 echo "$as_me: failed program was:" >&5
9084 cat conftest.
$ac_ext >&5
9085 ac_cv_have_setresuid_decl
=no
9087 rm -f conftest.
$ac_objext conftest.
$ac_ext
9089 echo "$as_me:$LINENO: result: $ac_cv_have_setresuid_decl" >&5
9090 echo "${ECHO_T}$ac_cv_have_setresuid_decl" >&6
9091 if test x
"$ac_cv_have_setresuid_decl" = x
"yes"; then
9093 cat >>confdefs.h
<<\_ACEOF
9094 #define HAVE_SETRESUID_DECL 1
9100 echo "$as_me:$LINENO: checking for setresgid declaration" >&5
9101 echo $ECHO_N "checking for setresgid declaration... $ECHO_C" >&6
9102 if test "${ac_cv_have_setresgid_decl+set}" = set; then
9103 echo $ECHO_N "(cached) $ECHO_C" >&6
9106 cat >conftest.
$ac_ext <<_ACEOF
9107 #line $LINENO "configure"
9108 #include "confdefs.h"
9110 #ifdef F77_DUMMY_MAIN
9114 int F77_DUMMY_MAIN() { return 1; }
9119 int i = (int)setresgid
9124 rm -f conftest.
$ac_objext
9125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9126 (eval $ac_compile) 2>&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); } &&
9130 { ac_try
='test -s conftest.$ac_objext'
9131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135 (exit $ac_status); }; }; then
9136 ac_cv_have_setresgid_decl
=yes
9138 echo "$as_me: failed program was:" >&5
9139 cat conftest.
$ac_ext >&5
9140 ac_cv_have_setresgid_decl
=no
9142 rm -f conftest.
$ac_objext conftest.
$ac_ext
9144 echo "$as_me:$LINENO: result: $ac_cv_have_setresgid_decl" >&5
9145 echo "${ECHO_T}$ac_cv_have_setresgid_decl" >&6
9146 if test x
"$ac_cv_have_setresgid_decl" = x
"yes"; then
9148 cat >>confdefs.h
<<\_ACEOF
9149 #define HAVE_SETRESGID_DECL 1
9155 echo "$as_me:$LINENO: checking for asprintf declaration" >&5
9156 echo $ECHO_N "checking for asprintf declaration... $ECHO_C" >&6
9157 if test "${ac_cv_have_asprintf_decl+set}" = set; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9161 cat >conftest.
$ac_ext <<_ACEOF
9162 #line $LINENO "configure"
9163 #include "confdefs.h"
9165 #ifdef F77_DUMMY_MAIN
9169 int F77_DUMMY_MAIN() { return 1; }
9174 int i = (int)asprintf
9179 rm -f conftest.
$ac_objext
9180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9181 (eval $ac_compile) 2>&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); } &&
9185 { ac_try
='test -s conftest.$ac_objext'
9186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 (exit $ac_status); }; }; then
9191 ac_cv_have_asprintf_decl
=yes
9193 echo "$as_me: failed program was:" >&5
9194 cat conftest.
$ac_ext >&5
9195 ac_cv_have_asprintf_decl
=no
9197 rm -f conftest.
$ac_objext conftest.
$ac_ext
9199 echo "$as_me:$LINENO: result: $ac_cv_have_asprintf_decl" >&5
9200 echo "${ECHO_T}$ac_cv_have_asprintf_decl" >&6
9201 if test x
"$ac_cv_have_asprintf_decl" = x
"yes"; then
9203 cat >>confdefs.h
<<\_ACEOF
9204 #define HAVE_ASPRINTF_DECL 1
9210 echo "$as_me:$LINENO: checking for vasprintf declaration" >&5
9211 echo $ECHO_N "checking for vasprintf declaration... $ECHO_C" >&6
9212 if test "${ac_cv_have_vasprintf_decl+set}" = set; then
9213 echo $ECHO_N "(cached) $ECHO_C" >&6
9216 cat >conftest.
$ac_ext <<_ACEOF
9217 #line $LINENO "configure"
9218 #include "confdefs.h"
9220 #ifdef F77_DUMMY_MAIN
9224 int F77_DUMMY_MAIN() { return 1; }
9229 int i = (int)vasprintf
9234 rm -f conftest.
$ac_objext
9235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9236 (eval $ac_compile) 2>&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); } &&
9240 { ac_try
='test -s conftest.$ac_objext'
9241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); }; }; then
9246 ac_cv_have_vasprintf_decl
=yes
9248 echo "$as_me: failed program was:" >&5
9249 cat conftest.
$ac_ext >&5
9250 ac_cv_have_vasprintf_decl
=no
9252 rm -f conftest.
$ac_objext conftest.
$ac_ext
9254 echo "$as_me:$LINENO: result: $ac_cv_have_vasprintf_decl" >&5
9255 echo "${ECHO_T}$ac_cv_have_vasprintf_decl" >&6
9256 if test x
"$ac_cv_have_vasprintf_decl" = x
"yes"; then
9258 cat >>confdefs.h
<<\_ACEOF
9259 #define HAVE_VASPRINTF_DECL 1
9265 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
9266 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
9267 if test "${ac_cv_have_vsnprintf_decl+set}" = set; then
9268 echo $ECHO_N "(cached) $ECHO_C" >&6
9271 cat >conftest.
$ac_ext <<_ACEOF
9272 #line $LINENO "configure"
9273 #include "confdefs.h"
9275 #ifdef F77_DUMMY_MAIN
9279 int F77_DUMMY_MAIN() { return 1; }
9284 int i = (int)vsnprintf
9289 rm -f conftest.
$ac_objext
9290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9291 (eval $ac_compile) 2>&5
9293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9294 (exit $ac_status); } &&
9295 { ac_try
='test -s conftest.$ac_objext'
9296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); }; }; then
9301 ac_cv_have_vsnprintf_decl
=yes
9303 echo "$as_me: failed program was:" >&5
9304 cat conftest.
$ac_ext >&5
9305 ac_cv_have_vsnprintf_decl
=no
9307 rm -f conftest.
$ac_objext conftest.
$ac_ext
9309 echo "$as_me:$LINENO: result: $ac_cv_have_vsnprintf_decl" >&5
9310 echo "${ECHO_T}$ac_cv_have_vsnprintf_decl" >&6
9311 if test x
"$ac_cv_have_vsnprintf_decl" = x
"yes"; then
9313 cat >>confdefs.h
<<\_ACEOF
9314 #define HAVE_VSNPRINTF_DECL 1
9320 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
9321 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
9322 if test "${ac_cv_have_snprintf_decl+set}" = set; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9326 cat >conftest.
$ac_ext <<_ACEOF
9327 #line $LINENO "configure"
9328 #include "confdefs.h"
9330 #ifdef F77_DUMMY_MAIN
9334 int F77_DUMMY_MAIN() { return 1; }
9339 int i = (int)snprintf
9344 rm -f conftest.
$ac_objext
9345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9346 (eval $ac_compile) 2>&5
9348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9349 (exit $ac_status); } &&
9350 { ac_try
='test -s conftest.$ac_objext'
9351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); }; }; then
9356 ac_cv_have_snprintf_decl
=yes
9358 echo "$as_me: failed program was:" >&5
9359 cat conftest.
$ac_ext >&5
9360 ac_cv_have_snprintf_decl
=no
9362 rm -f conftest.
$ac_objext conftest.
$ac_ext
9364 echo "$as_me:$LINENO: result: $ac_cv_have_snprintf_decl" >&5
9365 echo "${ECHO_T}$ac_cv_have_snprintf_decl" >&6
9366 if test x
"$ac_cv_have_snprintf_decl" = x
"yes"; then
9368 cat >>confdefs.h
<<\_ACEOF
9369 #define HAVE_SNPRINTF_DECL 1
9375 # and glibc has setresuid under linux but the function does
9376 # nothing until kernel 2.1.44! very dumb.
9377 echo "$as_me:$LINENO: checking for real setresuid" >&5
9378 echo $ECHO_N "checking for real setresuid... $ECHO_C" >&6
9379 if test "${samba_cv_have_setresuid+set}" = set; then
9380 echo $ECHO_N "(cached) $ECHO_C" >&6
9383 if test "$cross_compiling" = yes; then
9384 samba_cv_have_setresuid
=cross
9386 cat >conftest.
$ac_ext <<_ACEOF
9387 #line $LINENO "configure"
9388 #include "confdefs.h"
9390 main() { setresuid(1,1,1); setresuid(2,2,2); exit(errno==EPERM?0:1);}
9392 rm -f conftest
$ac_exeext
9393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9394 (eval $ac_link) 2>&5
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then
9403 samba_cv_have_setresuid
=yes
9405 echo "$as_me: program exited with status $ac_status" >&5
9406 echo "$as_me: failed program was:" >&5
9407 cat conftest.
$ac_ext >&5
9409 samba_cv_have_setresuid
=no
9411 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9414 echo "$as_me:$LINENO: result: $samba_cv_have_setresuid" >&5
9415 echo "${ECHO_T}$samba_cv_have_setresuid" >&6
9416 if test x
"$samba_cv_have_setresuid" = x
"yes"; then
9418 cat >>confdefs.h
<<\_ACEOF
9419 #define HAVE_SETRESUID 1
9424 # Do the same check for setresguid...
9426 echo "$as_me:$LINENO: checking for real setresgid" >&5
9427 echo $ECHO_N "checking for real setresgid... $ECHO_C" >&6
9428 if test "${samba_cv_have_setresgid+set}" = set; then
9429 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 if test "$cross_compiling" = yes; then
9433 samba_cv_have_setresgid
=cross
9435 cat >conftest.
$ac_ext <<_ACEOF
9436 #line $LINENO "configure"
9437 #include "confdefs.h"
9440 main() { errno = 0; setresgid(1,1,1); exit(errno != 0 ? (errno==EPERM ? 0 : 1) : 0);}
9442 rm -f conftest
$ac_exeext
9443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9444 (eval $ac_link) 2>&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9452 (exit $ac_status); }; }; then
9453 samba_cv_have_setresgid
=yes
9455 echo "$as_me: program exited with status $ac_status" >&5
9456 echo "$as_me: failed program was:" >&5
9457 cat conftest.
$ac_ext >&5
9459 samba_cv_have_setresgid
=no
9461 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9464 echo "$as_me:$LINENO: result: $samba_cv_have_setresgid" >&5
9465 echo "${ECHO_T}$samba_cv_have_setresgid" >&6
9466 if test x
"$samba_cv_have_setresgid" = x
"yes"; then
9468 cat >>confdefs.h
<<\_ACEOF
9469 #define HAVE_SETRESGID 1
9474 echo "$as_me:$LINENO: checking for working memcmp" >&5
9475 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
9476 if test "${ac_cv_func_memcmp_working+set}" = set; then
9477 echo $ECHO_N "(cached) $ECHO_C" >&6
9479 if test "$cross_compiling" = yes; then
9480 ac_cv_func_memcmp_working
=no
9482 cat >conftest.
$ac_ext <<_ACEOF
9483 #line $LINENO "configure"
9484 #include "confdefs.h"
9486 #ifdef F77_DUMMY_MAIN
9490 int F77_DUMMY_MAIN() { return 1; }
9496 /* Some versions of memcmp are not 8-bit clean. */
9497 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
9498 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
9501 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
9502 or more and with at least one buffer not starting on a 4-byte boundary.
9503 William Lewis provided this test program. */
9508 for (i = 0; i < 4; i++)
9512 strcpy (a, "--------01111111");
9513 strcpy (b, "--------10000000");
9514 if (memcmp (a, b, 16) >= 0)
9524 rm -f conftest
$ac_exeext
9525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9526 (eval $ac_link) 2>&5
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); }; }; then
9535 ac_cv_func_memcmp_working
=yes
9537 echo "$as_me: program exited with status $ac_status" >&5
9538 echo "$as_me: failed program was:" >&5
9539 cat conftest.
$ac_ext >&5
9541 ac_cv_func_memcmp_working
=no
9543 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9546 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
9547 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
9548 test $ac_cv_func_memcmp_working = no
&& LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
9551 ###############################################
9552 # test for where we get crypt() from
9554 for ac_func
in crypt
9556 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9557 echo "$as_me:$LINENO: checking for $ac_func" >&5
9558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9559 if eval "test \"\${$as_ac_var+set}\" = set"; then
9560 echo $ECHO_N "(cached) $ECHO_C" >&6
9562 cat >conftest.
$ac_ext <<_ACEOF
9563 #line $LINENO "configure"
9564 #include "confdefs.h"
9565 /* System header to define __stub macros and hopefully few prototypes,
9566 which can conflict with char $ac_func (); below. */
9568 /* Override any gcc2 internal prototype to avoid an error. */
9572 /* We use char because int might match the return type of a gcc2
9573 builtin and then its argument prototype would still apply. */
9577 #ifdef F77_DUMMY_MAIN
9581 int F77_DUMMY_MAIN() { return 1; }
9586 /* The GNU C library defines this for functions which it implements
9587 to always fail with ENOSYS. Some functions are actually named
9588 something starting with __ and the normal name is an alias. */
9589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9599 rm -f conftest.
$ac_objext conftest
$ac_exeext
9600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9601 (eval $ac_link) 2>&5
9603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 (exit $ac_status); } &&
9605 { ac_try
='test -s conftest$ac_exeext'
9606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); }; }; then
9611 eval "$as_ac_var=yes"
9613 echo "$as_me: failed program was:" >&5
9614 cat conftest.
$ac_ext >&5
9615 eval "$as_ac_var=no"
9617 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9621 if test `eval echo '${'$as_ac_var'}'` = yes; then
9622 cat >>confdefs.h
<<_ACEOF
9623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9629 if test x
"$ac_cv_func_crypt" = x
"no"; then
9630 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
9631 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
9632 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
9633 echo $ECHO_N "(cached) $ECHO_C" >&6
9635 ac_check_lib_save_LIBS
=$LIBS
9636 LIBS
="-lcrypt $LIBS"
9637 cat >conftest.
$ac_ext <<_ACEOF
9638 #line $LINENO "configure"
9639 #include "confdefs.h"
9641 /* Override any gcc2 internal prototype to avoid an error. */
9645 /* We use char because int might match the return type of a gcc2
9646 builtin and then its argument prototype would still apply. */
9648 #ifdef F77_DUMMY_MAIN
9652 int F77_DUMMY_MAIN() { return 1; }
9662 rm -f conftest.
$ac_objext conftest
$ac_exeext
9663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9664 (eval $ac_link) 2>&5
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); } &&
9668 { ac_try
='test -s conftest$ac_exeext'
9669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); }; }; then
9674 ac_cv_lib_crypt_crypt
=yes
9676 echo "$as_me: failed program was:" >&5
9677 cat conftest.
$ac_ext >&5
9678 ac_cv_lib_crypt_crypt
=no
9680 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9681 LIBS
=$ac_check_lib_save_LIBS
9683 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
9684 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
9685 if test $ac_cv_lib_crypt_crypt = yes; then
9686 AUTHLIBS
="$AUTHLIBS -lcrypt";
9688 cat >>confdefs.h
<<\_ACEOF
9689 #define HAVE_CRYPT 1
9697 ###############################################
9698 # Readline included by default unless explicitly asked not to
9699 test "${with_readline+set}" != "set" && with_readline
=yes
9701 # test for where we get readline() from
9702 echo "$as_me:$LINENO: checking whether to use readline" >&5
9703 echo $ECHO_N "checking whether to use readline... $ECHO_C" >&6
9705 # Check whether --with-readline or --without-readline was given.
9706 if test "${with_readline+set}" = set; then
9707 withval
="$with_readline"
9708 case "$with_readline" in
9710 echo "$as_me:$LINENO: result: yes" >&5
9711 echo "${ECHO_T}yes" >&6
9716 for ac_header
in readline.h
history.h readline
/readline.h
9718 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9720 echo "$as_me:$LINENO: checking for $ac_header" >&5
9721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9723 echo $ECHO_N "(cached) $ECHO_C" >&6
9725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9728 # Is the header compilable?
9729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9731 cat >conftest.
$ac_ext <<_ACEOF
9732 #line $LINENO "configure"
9733 #include "confdefs.h"
9734 $ac_includes_default
9735 #include <$ac_header>
9737 rm -f conftest.
$ac_objext
9738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9739 (eval $ac_compile) 2>&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); } &&
9743 { ac_try
='test -s conftest.$ac_objext'
9744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); }; }; then
9749 ac_header_compiler
=yes
9751 echo "$as_me: failed program was:" >&5
9752 cat conftest.
$ac_ext >&5
9753 ac_header_compiler
=no
9755 rm -f conftest.
$ac_objext conftest.
$ac_ext
9756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9757 echo "${ECHO_T}$ac_header_compiler" >&6
9759 # Is the header present?
9760 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9761 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9762 cat >conftest.
$ac_ext <<_ACEOF
9763 #line $LINENO "configure"
9764 #include "confdefs.h"
9765 #include <$ac_header>
9767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9768 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9770 egrep -v '^ *\+' conftest.er1
>conftest.err
9772 cat conftest.err
>&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } >/dev
/null
; then
9775 if test -s conftest.err
; then
9776 ac_cpp_err
=$ac_c_preproc_warn_flag
9783 if test -z "$ac_cpp_err"; then
9784 ac_header_preproc
=yes
9786 echo "$as_me: failed program was:" >&5
9787 cat conftest.
$ac_ext >&5
9788 ac_header_preproc
=no
9790 rm -f conftest.err conftest.
$ac_ext
9791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9792 echo "${ECHO_T}$ac_header_preproc" >&6
9794 # So? What about this header?
9795 case $ac_header_compiler:$ac_header_preproc in
9797 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9798 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9802 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9804 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9805 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9809 echo "$as_me:$LINENO: checking for $ac_header" >&5
9810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9812 echo $ECHO_N "(cached) $ECHO_C" >&6
9814 eval "$as_ac_Header=$ac_header_preproc"
9816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9821 cat >>confdefs.h
<<_ACEOF
9822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9830 for ac_header
in readline
/history.h
9832 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9834 echo "$as_me:$LINENO: checking for $ac_header" >&5
9835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9837 echo $ECHO_N "(cached) $ECHO_C" >&6
9839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9842 # Is the header compilable?
9843 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9844 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9845 cat >conftest.
$ac_ext <<_ACEOF
9846 #line $LINENO "configure"
9847 #include "confdefs.h"
9848 $ac_includes_default
9849 #include <$ac_header>
9851 rm -f conftest.
$ac_objext
9852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9853 (eval $ac_compile) 2>&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); } &&
9857 { ac_try
='test -s conftest.$ac_objext'
9858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); }; }; then
9863 ac_header_compiler
=yes
9865 echo "$as_me: failed program was:" >&5
9866 cat conftest.
$ac_ext >&5
9867 ac_header_compiler
=no
9869 rm -f conftest.
$ac_objext conftest.
$ac_ext
9870 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9871 echo "${ECHO_T}$ac_header_compiler" >&6
9873 # Is the header present?
9874 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9875 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9876 cat >conftest.
$ac_ext <<_ACEOF
9877 #line $LINENO "configure"
9878 #include "confdefs.h"
9879 #include <$ac_header>
9881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9882 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9884 egrep -v '^ *\+' conftest.er1
>conftest.err
9886 cat conftest.err
>&5
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); } >/dev
/null
; then
9889 if test -s conftest.err
; then
9890 ac_cpp_err
=$ac_c_preproc_warn_flag
9897 if test -z "$ac_cpp_err"; then
9898 ac_header_preproc
=yes
9900 echo "$as_me: failed program was:" >&5
9901 cat conftest.
$ac_ext >&5
9902 ac_header_preproc
=no
9904 rm -f conftest.err conftest.
$ac_ext
9905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9906 echo "${ECHO_T}$ac_header_preproc" >&6
9908 # So? What about this header?
9909 case $ac_header_compiler:$ac_header_preproc in
9911 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9912 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9916 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9917 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9918 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9919 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9923 echo "$as_me:$LINENO: checking for $ac_header" >&5
9924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9926 echo $ECHO_N "(cached) $ECHO_C" >&6
9928 eval "$as_ac_Header=$ac_header_preproc"
9930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9934 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9935 cat >>confdefs.h
<<_ACEOF
9936 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9946 for ac_header
in readline.h readline
/readline.h
9948 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9950 echo "$as_me:$LINENO: checking for $ac_header" >&5
9951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9953 echo $ECHO_N "(cached) $ECHO_C" >&6
9955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9958 # Is the header compilable?
9959 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9961 cat >conftest.
$ac_ext <<_ACEOF
9962 #line $LINENO "configure"
9963 #include "confdefs.h"
9964 $ac_includes_default
9965 #include <$ac_header>
9967 rm -f conftest.
$ac_objext
9968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9969 (eval $ac_compile) 2>&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); } &&
9973 { ac_try
='test -s conftest.$ac_objext'
9974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); }; }; then
9979 ac_header_compiler
=yes
9981 echo "$as_me: failed program was:" >&5
9982 cat conftest.
$ac_ext >&5
9983 ac_header_compiler
=no
9985 rm -f conftest.
$ac_objext conftest.
$ac_ext
9986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9987 echo "${ECHO_T}$ac_header_compiler" >&6
9989 # Is the header present?
9990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9992 cat >conftest.
$ac_ext <<_ACEOF
9993 #line $LINENO "configure"
9994 #include "confdefs.h"
9995 #include <$ac_header>
9997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9998 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10000 egrep -v '^ *\+' conftest.er1
>conftest.err
10002 cat conftest.err
>&5
10003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10004 (exit $ac_status); } >/dev
/null
; then
10005 if test -s conftest.err
; then
10006 ac_cpp_err
=$ac_c_preproc_warn_flag
10013 if test -z "$ac_cpp_err"; then
10014 ac_header_preproc
=yes
10016 echo "$as_me: failed program was:" >&5
10017 cat conftest.
$ac_ext >&5
10018 ac_header_preproc
=no
10020 rm -f conftest.err conftest.
$ac_ext
10021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10022 echo "${ECHO_T}$ac_header_preproc" >&6
10024 # So? What about this header?
10025 case $ac_header_compiler:$ac_header_preproc in
10027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10037 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10039 echo "$as_me:$LINENO: checking for $ac_header" >&5
10040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10042 echo $ECHO_N "(cached) $ECHO_C" >&6
10044 eval "$as_ac_Header=$ac_header_preproc"
10046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10051 cat >>confdefs.h
<<_ACEOF
10052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10055 for termlib
in ncurses curses termcap terminfo termlib
; do
10056 as_ac_Lib
=`echo "ac_cv_lib_${termlib}''_tgetent" | $as_tr_sh`
10057 echo "$as_me:$LINENO: checking for tgetent in -l${termlib}" >&5
10058 echo $ECHO_N "checking for tgetent in -l${termlib}... $ECHO_C" >&6
10059 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 ac_check_lib_save_LIBS
=$LIBS
10063 LIBS
="-l${termlib} $LIBS"
10064 cat >conftest.
$ac_ext <<_ACEOF
10065 #line $LINENO "configure"
10066 #include "confdefs.h"
10068 /* Override any gcc2 internal prototype to avoid an error. */
10072 /* We use char because int might match the return type of a gcc2
10073 builtin and then its argument prototype would still apply. */
10075 #ifdef F77_DUMMY_MAIN
10076 # ifdef __cplusplus
10079 int F77_DUMMY_MAIN() { return 1; }
10089 rm -f conftest.
$ac_objext conftest
$ac_exeext
10090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10091 (eval $ac_link) 2>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); } &&
10095 { ac_try
='test -s conftest$ac_exeext'
10096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10097 (eval $ac_try) 2>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; }; then
10101 eval "$as_ac_Lib=yes"
10103 echo "$as_me: failed program was:" >&5
10104 cat conftest.
$ac_ext >&5
10105 eval "$as_ac_Lib=no"
10107 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10108 LIBS
=$ac_check_lib_save_LIBS
10110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
10111 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
10112 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
10113 TERMLIBS
="-l${termlib}"; break
10117 echo "$as_me:$LINENO: checking for rl_callback_handler_install in -lreadline" >&5
10118 echo $ECHO_N "checking for rl_callback_handler_install in -lreadline... $ECHO_C" >&6
10119 if test "${ac_cv_lib_readline_rl_callback_handler_install+set}" = set; then
10120 echo $ECHO_N "(cached) $ECHO_C" >&6
10122 ac_check_lib_save_LIBS
=$LIBS
10123 LIBS
="-lreadline $TERMLIBS $LIBS"
10124 cat >conftest.
$ac_ext <<_ACEOF
10125 #line $LINENO "configure"
10126 #include "confdefs.h"
10128 /* Override any gcc2 internal prototype to avoid an error. */
10132 /* We use char because int might match the return type of a gcc2
10133 builtin and then its argument prototype would still apply. */
10134 char rl_callback_handler_install ();
10135 #ifdef F77_DUMMY_MAIN
10136 # ifdef __cplusplus
10139 int F77_DUMMY_MAIN() { return 1; }
10144 rl_callback_handler_install ();
10149 rm -f conftest.
$ac_objext conftest
$ac_exeext
10150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10151 (eval $ac_link) 2>&5
10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154 (exit $ac_status); } &&
10155 { ac_try
='test -s conftest$ac_exeext'
10156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10157 (eval $ac_try) 2>&5
10159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160 (exit $ac_status); }; }; then
10161 ac_cv_lib_readline_rl_callback_handler_install
=yes
10163 echo "$as_me: failed program was:" >&5
10164 cat conftest.
$ac_ext >&5
10165 ac_cv_lib_readline_rl_callback_handler_install
=no
10167 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10168 LIBS
=$ac_check_lib_save_LIBS
10170 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_callback_handler_install" >&5
10171 echo "${ECHO_T}$ac_cv_lib_readline_rl_callback_handler_install" >&6
10172 if test $ac_cv_lib_readline_rl_callback_handler_install = yes; then
10173 TERMLIBS
="-lreadline $TERMLIBS"
10175 cat >>confdefs.h
<<\_ACEOF
10176 #define HAVE_LIBREADLINE 1
10190 echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6
10194 echo "$as_me:$LINENO: result: yes" >&5
10195 echo "${ECHO_T}yes" >&6
10197 # Needed for AC_CHECK_HEADERS and AC_CHECK_LIB to look at
10198 # alternate readline path
10199 _ldflags
=${LDFLAGS}
10200 _cppflags
=${CPPFLAGS}
10202 # Add additional search path
10203 LDFLAGS
="-L$with_readline/lib $LDFLAGS"
10204 CPPFLAGS
="-I$with_readline/include $CPPFLAGS"
10209 for ac_header
in readline.h
history.h readline
/readline.h
10211 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10213 echo "$as_me:$LINENO: checking for $ac_header" >&5
10214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10216 echo $ECHO_N "(cached) $ECHO_C" >&6
10218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10221 # Is the header compilable?
10222 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10223 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10224 cat >conftest.
$ac_ext <<_ACEOF
10225 #line $LINENO "configure"
10226 #include "confdefs.h"
10227 $ac_includes_default
10228 #include <$ac_header>
10230 rm -f conftest.
$ac_objext
10231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10232 (eval $ac_compile) 2>&5
10234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10235 (exit $ac_status); } &&
10236 { ac_try
='test -s conftest.$ac_objext'
10237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10238 (eval $ac_try) 2>&5
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); }; }; then
10242 ac_header_compiler
=yes
10244 echo "$as_me: failed program was:" >&5
10245 cat conftest.
$ac_ext >&5
10246 ac_header_compiler
=no
10248 rm -f conftest.
$ac_objext conftest.
$ac_ext
10249 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10250 echo "${ECHO_T}$ac_header_compiler" >&6
10252 # Is the header present?
10253 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10254 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10255 cat >conftest.
$ac_ext <<_ACEOF
10256 #line $LINENO "configure"
10257 #include "confdefs.h"
10258 #include <$ac_header>
10260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10261 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10263 egrep -v '^ *\+' conftest.er1
>conftest.err
10265 cat conftest.err
>&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); } >/dev
/null
; then
10268 if test -s conftest.err
; then
10269 ac_cpp_err
=$ac_c_preproc_warn_flag
10276 if test -z "$ac_cpp_err"; then
10277 ac_header_preproc
=yes
10279 echo "$as_me: failed program was:" >&5
10280 cat conftest.
$ac_ext >&5
10281 ac_header_preproc
=no
10283 rm -f conftest.err conftest.
$ac_ext
10284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10285 echo "${ECHO_T}$ac_header_preproc" >&6
10287 # So? What about this header?
10288 case $ac_header_compiler:$ac_header_preproc in
10290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10302 echo "$as_me:$LINENO: checking for $ac_header" >&5
10303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10305 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 eval "$as_ac_Header=$ac_header_preproc"
10309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10314 cat >>confdefs.h
<<_ACEOF
10315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10323 for ac_header
in readline
/history.h
10325 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10327 echo "$as_me:$LINENO: checking for $ac_header" >&5
10328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10330 echo $ECHO_N "(cached) $ECHO_C" >&6
10332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10335 # Is the header compilable?
10336 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10338 cat >conftest.
$ac_ext <<_ACEOF
10339 #line $LINENO "configure"
10340 #include "confdefs.h"
10341 $ac_includes_default
10342 #include <$ac_header>
10344 rm -f conftest.
$ac_objext
10345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10346 (eval $ac_compile) 2>&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); } &&
10350 { ac_try
='test -s conftest.$ac_objext'
10351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10352 (eval $ac_try) 2>&5
10354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); }; }; then
10356 ac_header_compiler
=yes
10358 echo "$as_me: failed program was:" >&5
10359 cat conftest.
$ac_ext >&5
10360 ac_header_compiler
=no
10362 rm -f conftest.
$ac_objext conftest.
$ac_ext
10363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10364 echo "${ECHO_T}$ac_header_compiler" >&6
10366 # Is the header present?
10367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10369 cat >conftest.
$ac_ext <<_ACEOF
10370 #line $LINENO "configure"
10371 #include "confdefs.h"
10372 #include <$ac_header>
10374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10377 egrep -v '^ *\+' conftest.er1
>conftest.err
10379 cat conftest.err
>&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); } >/dev
/null
; then
10382 if test -s conftest.err
; then
10383 ac_cpp_err
=$ac_c_preproc_warn_flag
10390 if test -z "$ac_cpp_err"; then
10391 ac_header_preproc
=yes
10393 echo "$as_me: failed program was:" >&5
10394 cat conftest.
$ac_ext >&5
10395 ac_header_preproc
=no
10397 rm -f conftest.err conftest.
$ac_ext
10398 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10399 echo "${ECHO_T}$ac_header_preproc" >&6
10401 # So? What about this header?
10402 case $ac_header_compiler:$ac_header_preproc in
10404 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10407 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10409 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10410 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10411 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10412 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10416 echo "$as_me:$LINENO: checking for $ac_header" >&5
10417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10419 echo $ECHO_N "(cached) $ECHO_C" >&6
10421 eval "$as_ac_Header=$ac_header_preproc"
10423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10428 cat >>confdefs.h
<<_ACEOF
10429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10439 for ac_header
in readline.h readline
/readline.h
10441 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10443 echo "$as_me:$LINENO: checking for $ac_header" >&5
10444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10451 # Is the header compilable?
10452 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10454 cat >conftest.
$ac_ext <<_ACEOF
10455 #line $LINENO "configure"
10456 #include "confdefs.h"
10457 $ac_includes_default
10458 #include <$ac_header>
10460 rm -f conftest.
$ac_objext
10461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10462 (eval $ac_compile) 2>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); } &&
10466 { ac_try
='test -s conftest.$ac_objext'
10467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10468 (eval $ac_try) 2>&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); }; }; then
10472 ac_header_compiler
=yes
10474 echo "$as_me: failed program was:" >&5
10475 cat conftest.
$ac_ext >&5
10476 ac_header_compiler
=no
10478 rm -f conftest.
$ac_objext conftest.
$ac_ext
10479 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10480 echo "${ECHO_T}$ac_header_compiler" >&6
10482 # Is the header present?
10483 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10484 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10485 cat >conftest.
$ac_ext <<_ACEOF
10486 #line $LINENO "configure"
10487 #include "confdefs.h"
10488 #include <$ac_header>
10490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10493 egrep -v '^ *\+' conftest.er1
>conftest.err
10495 cat conftest.err
>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } >/dev
/null
; then
10498 if test -s conftest.err
; then
10499 ac_cpp_err
=$ac_c_preproc_warn_flag
10506 if test -z "$ac_cpp_err"; then
10507 ac_header_preproc
=yes
10509 echo "$as_me: failed program was:" >&5
10510 cat conftest.
$ac_ext >&5
10511 ac_header_preproc
=no
10513 rm -f conftest.err conftest.
$ac_ext
10514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10515 echo "${ECHO_T}$ac_header_preproc" >&6
10517 # So? What about this header?
10518 case $ac_header_compiler:$ac_header_preproc in
10520 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10521 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10523 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10525 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10527 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10528 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10532 echo "$as_me:$LINENO: checking for $ac_header" >&5
10533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10535 echo $ECHO_N "(cached) $ECHO_C" >&6
10537 eval "$as_ac_Header=$ac_header_preproc"
10539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10544 cat >>confdefs.h
<<_ACEOF
10545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10548 for termlib
in ncurses curses termcap terminfo termlib
; do
10549 as_ac_Lib
=`echo "ac_cv_lib_${termlib}''_tgetent" | $as_tr_sh`
10550 echo "$as_me:$LINENO: checking for tgetent in -l${termlib}" >&5
10551 echo $ECHO_N "checking for tgetent in -l${termlib}... $ECHO_C" >&6
10552 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
10553 echo $ECHO_N "(cached) $ECHO_C" >&6
10555 ac_check_lib_save_LIBS
=$LIBS
10556 LIBS
="-l${termlib} $LIBS"
10557 cat >conftest.
$ac_ext <<_ACEOF
10558 #line $LINENO "configure"
10559 #include "confdefs.h"
10561 /* Override any gcc2 internal prototype to avoid an error. */
10565 /* We use char because int might match the return type of a gcc2
10566 builtin and then its argument prototype would still apply. */
10568 #ifdef F77_DUMMY_MAIN
10569 # ifdef __cplusplus
10572 int F77_DUMMY_MAIN() { return 1; }
10582 rm -f conftest.
$ac_objext conftest
$ac_exeext
10583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10584 (eval $ac_link) 2>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); } &&
10588 { ac_try
='test -s conftest$ac_exeext'
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10590 (eval $ac_try) 2>&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); }; }; then
10594 eval "$as_ac_Lib=yes"
10596 echo "$as_me: failed program was:" >&5
10597 cat conftest.
$ac_ext >&5
10598 eval "$as_ac_Lib=no"
10600 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10601 LIBS
=$ac_check_lib_save_LIBS
10603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
10604 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
10605 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
10606 TERMLIBS
="-l${termlib}"; break
10610 echo "$as_me:$LINENO: checking for rl_callback_handler_install in -lreadline" >&5
10611 echo $ECHO_N "checking for rl_callback_handler_install in -lreadline... $ECHO_C" >&6
10612 if test "${ac_cv_lib_readline_rl_callback_handler_install+set}" = set; then
10613 echo $ECHO_N "(cached) $ECHO_C" >&6
10615 ac_check_lib_save_LIBS
=$LIBS
10616 LIBS
="-lreadline $TERMLIBS $LIBS"
10617 cat >conftest.
$ac_ext <<_ACEOF
10618 #line $LINENO "configure"
10619 #include "confdefs.h"
10621 /* Override any gcc2 internal prototype to avoid an error. */
10625 /* We use char because int might match the return type of a gcc2
10626 builtin and then its argument prototype would still apply. */
10627 char rl_callback_handler_install ();
10628 #ifdef F77_DUMMY_MAIN
10629 # ifdef __cplusplus
10632 int F77_DUMMY_MAIN() { return 1; }
10637 rl_callback_handler_install ();
10642 rm -f conftest.
$ac_objext conftest
$ac_exeext
10643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10644 (eval $ac_link) 2>&5
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); } &&
10648 { ac_try
='test -s conftest$ac_exeext'
10649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; }; then
10654 ac_cv_lib_readline_rl_callback_handler_install
=yes
10656 echo "$as_me: failed program was:" >&5
10657 cat conftest.
$ac_ext >&5
10658 ac_cv_lib_readline_rl_callback_handler_install
=no
10660 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10661 LIBS
=$ac_check_lib_save_LIBS
10663 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_callback_handler_install" >&5
10664 echo "${ECHO_T}$ac_cv_lib_readline_rl_callback_handler_install" >&6
10665 if test $ac_cv_lib_readline_rl_callback_handler_install = yes; then
10666 TERMLDFLAGS
="-L$with_readline/lib"
10667 TERMCPPFLAGS
="-I$with_readline/include"
10668 CPPFLAGS
="-I$with_readline/include $CPPFLAGS"
10669 TERMLIBS
="-lreadline $TERMLIBS"
10671 cat >>confdefs.h
<<\_ACEOF
10672 #define HAVE_LIBREADLINE 1
10677 TERMLIBS
= CPPFLAGS
=$_cppflags
10689 echo "$as_me:$LINENO: result: no" >&5
10690 echo "${ECHO_T}no" >&6
10696 # The readline API changed slightly from readline3 to readline4, so
10697 # code will generate warnings on one of them unless we have a few
10699 echo "$as_me:$LINENO: checking for rl_completion_matches in -lreadline" >&5
10700 echo $ECHO_N "checking for rl_completion_matches in -lreadline... $ECHO_C" >&6
10701 if test "${ac_cv_lib_readline_rl_completion_matches+set}" = set; then
10702 echo $ECHO_N "(cached) $ECHO_C" >&6
10704 ac_check_lib_save_LIBS
=$LIBS
10705 LIBS
="-lreadline $TERMLIBS $LIBS"
10706 cat >conftest.
$ac_ext <<_ACEOF
10707 #line $LINENO "configure"
10708 #include "confdefs.h"
10710 /* Override any gcc2 internal prototype to avoid an error. */
10714 /* We use char because int might match the return type of a gcc2
10715 builtin and then its argument prototype would still apply. */
10716 char rl_completion_matches ();
10717 #ifdef F77_DUMMY_MAIN
10718 # ifdef __cplusplus
10721 int F77_DUMMY_MAIN() { return 1; }
10726 rl_completion_matches ();
10731 rm -f conftest.
$ac_objext conftest
$ac_exeext
10732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10733 (eval $ac_link) 2>&5
10735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736 (exit $ac_status); } &&
10737 { ac_try
='test -s conftest$ac_exeext'
10738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10739 (eval $ac_try) 2>&5
10741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10742 (exit $ac_status); }; }; then
10743 ac_cv_lib_readline_rl_completion_matches
=yes
10745 echo "$as_me: failed program was:" >&5
10746 cat conftest.
$ac_ext >&5
10747 ac_cv_lib_readline_rl_completion_matches
=no
10749 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10750 LIBS
=$ac_check_lib_save_LIBS
10752 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_completion_matches" >&5
10753 echo "${ECHO_T}$ac_cv_lib_readline_rl_completion_matches" >&6
10754 if test $ac_cv_lib_readline_rl_completion_matches = yes; then
10756 cat >>confdefs.h
<<\_ACEOF
10757 #define HAVE_NEW_LIBREADLINE 1
10763 # The following test taken from the cvs sources
10764 # If we can't find connect, try looking in -lsocket, -lnsl, and -linet.
10765 # The Irix 5 libc.so has connect and gethostbyname, but Irix 5 also has
10766 # libsocket.so which has a bad implementation of gethostbyname (it
10767 # only looks in /etc/hosts), so we only look for -lsocket if we need
10770 for ac_func
in connect
10772 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10773 echo "$as_me:$LINENO: checking for $ac_func" >&5
10774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10775 if eval "test \"\${$as_ac_var+set}\" = set"; then
10776 echo $ECHO_N "(cached) $ECHO_C" >&6
10778 cat >conftest.
$ac_ext <<_ACEOF
10779 #line $LINENO "configure"
10780 #include "confdefs.h"
10781 /* System header to define __stub macros and hopefully few prototypes,
10782 which can conflict with char $ac_func (); below. */
10783 #include <assert.h>
10784 /* Override any gcc2 internal prototype to avoid an error. */
10788 /* We use char because int might match the return type of a gcc2
10789 builtin and then its argument prototype would still apply. */
10793 #ifdef F77_DUMMY_MAIN
10794 # ifdef __cplusplus
10797 int F77_DUMMY_MAIN() { return 1; }
10802 /* The GNU C library defines this for functions which it implements
10803 to always fail with ENOSYS. Some functions are actually named
10804 something starting with __ and the normal name is an alias. */
10805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10815 rm -f conftest.
$ac_objext conftest
$ac_exeext
10816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10817 (eval $ac_link) 2>&5
10819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820 (exit $ac_status); } &&
10821 { ac_try
='test -s conftest$ac_exeext'
10822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10823 (eval $ac_try) 2>&5
10825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10826 (exit $ac_status); }; }; then
10827 eval "$as_ac_var=yes"
10829 echo "$as_me: failed program was:" >&5
10830 cat conftest.
$ac_ext >&5
10831 eval "$as_ac_var=no"
10833 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10837 if test `eval echo '${'$as_ac_var'}'` = yes; then
10838 cat >>confdefs.h
<<_ACEOF
10839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10845 if test x
"$ac_cv_func_connect" = x
"no"; then
10849 echo "$as_me:$LINENO: checking for printf in -lnsl_s" >&5
10850 echo $ECHO_N "checking for printf in -lnsl_s... $ECHO_C" >&6
10851 if test "${ac_cv_lib_nsl_s_printf+set}" = set; then
10852 echo $ECHO_N "(cached) $ECHO_C" >&6
10854 ac_check_lib_save_LIBS
=$LIBS
10855 LIBS
="-lnsl_s $LIBS"
10856 cat >conftest.
$ac_ext <<_ACEOF
10857 #line $LINENO "configure"
10858 #include "confdefs.h"
10860 /* Override any gcc2 internal prototype to avoid an error. */
10864 /* We use char because int might match the return type of a gcc2
10865 builtin and then its argument prototype would still apply. */
10867 #ifdef F77_DUMMY_MAIN
10868 # ifdef __cplusplus
10871 int F77_DUMMY_MAIN() { return 1; }
10881 rm -f conftest.
$ac_objext conftest
$ac_exeext
10882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10883 (eval $ac_link) 2>&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); } &&
10887 { ac_try
='test -s conftest$ac_exeext'
10888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10889 (eval $ac_try) 2>&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); }; }; then
10893 ac_cv_lib_nsl_s_printf
=yes
10895 echo "$as_me: failed program was:" >&5
10896 cat conftest.
$ac_ext >&5
10897 ac_cv_lib_nsl_s_printf
=no
10899 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10900 LIBS
=$ac_check_lib_save_LIBS
10902 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_s_printf" >&5
10903 echo "${ECHO_T}$ac_cv_lib_nsl_s_printf" >&6
10904 if test $ac_cv_lib_nsl_s_printf = yes; then
10905 cat >>confdefs.h
<<_ACEOF
10906 #define HAVE_LIBNSL_S 1
10909 LIBS
="-lnsl_s $LIBS"
10917 echo "$as_me:$LINENO: checking for printf in -lnsl" >&5
10918 echo $ECHO_N "checking for printf in -lnsl... $ECHO_C" >&6
10919 if test "${ac_cv_lib_nsl_printf+set}" = set; then
10920 echo $ECHO_N "(cached) $ECHO_C" >&6
10922 ac_check_lib_save_LIBS
=$LIBS
10924 cat >conftest.
$ac_ext <<_ACEOF
10925 #line $LINENO "configure"
10926 #include "confdefs.h"
10928 /* Override any gcc2 internal prototype to avoid an error. */
10932 /* We use char because int might match the return type of a gcc2
10933 builtin and then its argument prototype would still apply. */
10935 #ifdef F77_DUMMY_MAIN
10936 # ifdef __cplusplus
10939 int F77_DUMMY_MAIN() { return 1; }
10949 rm -f conftest.
$ac_objext conftest
$ac_exeext
10950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10951 (eval $ac_link) 2>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); } &&
10955 { ac_try
='test -s conftest$ac_exeext'
10956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10957 (eval $ac_try) 2>&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); }; }; then
10961 ac_cv_lib_nsl_printf
=yes
10963 echo "$as_me: failed program was:" >&5
10964 cat conftest.
$ac_ext >&5
10965 ac_cv_lib_nsl_printf
=no
10967 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10968 LIBS
=$ac_check_lib_save_LIBS
10970 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_printf" >&5
10971 echo "${ECHO_T}$ac_cv_lib_nsl_printf" >&6
10972 if test $ac_cv_lib_nsl_printf = yes; then
10973 cat >>confdefs.h
<<_ACEOF
10974 #define HAVE_LIBNSL 1
10985 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10986 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10987 if test "${ac_cv_lib_socket_connect+set}" = set; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 ac_check_lib_save_LIBS
=$LIBS
10991 LIBS
="-lsocket $LIBS"
10992 cat >conftest.
$ac_ext <<_ACEOF
10993 #line $LINENO "configure"
10994 #include "confdefs.h"
10996 /* Override any gcc2 internal prototype to avoid an error. */
11000 /* We use char because int might match the return type of a gcc2
11001 builtin and then its argument prototype would still apply. */
11003 #ifdef F77_DUMMY_MAIN
11004 # ifdef __cplusplus
11007 int F77_DUMMY_MAIN() { return 1; }
11017 rm -f conftest.
$ac_objext conftest
$ac_exeext
11018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11019 (eval $ac_link) 2>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); } &&
11023 { ac_try
='test -s conftest$ac_exeext'
11024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }; }; then
11029 ac_cv_lib_socket_connect
=yes
11031 echo "$as_me: failed program was:" >&5
11032 cat conftest.
$ac_ext >&5
11033 ac_cv_lib_socket_connect
=no
11035 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11036 LIBS
=$ac_check_lib_save_LIBS
11038 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11039 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
11040 if test $ac_cv_lib_socket_connect = yes; then
11041 cat >>confdefs.h
<<_ACEOF
11042 #define HAVE_LIBSOCKET 1
11045 LIBS
="-lsocket $LIBS"
11053 echo "$as_me:$LINENO: checking for connect in -linet" >&5
11054 echo $ECHO_N "checking for connect in -linet... $ECHO_C" >&6
11055 if test "${ac_cv_lib_inet_connect+set}" = set; then
11056 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 ac_check_lib_save_LIBS
=$LIBS
11059 LIBS
="-linet $LIBS"
11060 cat >conftest.
$ac_ext <<_ACEOF
11061 #line $LINENO "configure"
11062 #include "confdefs.h"
11064 /* Override any gcc2 internal prototype to avoid an error. */
11068 /* We use char because int might match the return type of a gcc2
11069 builtin and then its argument prototype would still apply. */
11071 #ifdef F77_DUMMY_MAIN
11072 # ifdef __cplusplus
11075 int F77_DUMMY_MAIN() { return 1; }
11085 rm -f conftest.
$ac_objext conftest
$ac_exeext
11086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11087 (eval $ac_link) 2>&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); } &&
11091 { ac_try
='test -s conftest$ac_exeext'
11092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11093 (eval $ac_try) 2>&5
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); }; }; then
11097 ac_cv_lib_inet_connect
=yes
11099 echo "$as_me: failed program was:" >&5
11100 cat conftest.
$ac_ext >&5
11101 ac_cv_lib_inet_connect
=no
11103 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11104 LIBS
=$ac_check_lib_save_LIBS
11106 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_connect" >&5
11107 echo "${ECHO_T}$ac_cv_lib_inet_connect" >&6
11108 if test $ac_cv_lib_inet_connect = yes; then
11109 cat >>confdefs.h
<<_ACEOF
11110 #define HAVE_LIBINET 1
11113 LIBS
="-linet $LIBS"
11118 if test x
"$ac_cv_lib_socket_connect" = x
"yes" ||
11119 test x
"$ac_cv_lib_inet_connect" = x
"yes"; then
11120 # ac_cv_func_connect=yes
11121 # don't! it would cause AC_CHECK_FUNC to succeed next time configure is run
11123 cat >>confdefs.h
<<\_ACEOF
11124 #define HAVE_CONNECT 1
11130 ###############################################
11131 # test for where we get get_yp_default_domain() from
11133 for ac_func
in yp_get_default_domain
11135 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11136 echo "$as_me:$LINENO: checking for $ac_func" >&5
11137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11138 if eval "test \"\${$as_ac_var+set}\" = set"; then
11139 echo $ECHO_N "(cached) $ECHO_C" >&6
11141 cat >conftest.
$ac_ext <<_ACEOF
11142 #line $LINENO "configure"
11143 #include "confdefs.h"
11144 /* System header to define __stub macros and hopefully few prototypes,
11145 which can conflict with char $ac_func (); below. */
11146 #include <assert.h>
11147 /* Override any gcc2 internal prototype to avoid an error. */
11151 /* We use char because int might match the return type of a gcc2
11152 builtin and then its argument prototype would still apply. */
11156 #ifdef F77_DUMMY_MAIN
11157 # ifdef __cplusplus
11160 int F77_DUMMY_MAIN() { return 1; }
11165 /* The GNU C library defines this for functions which it implements
11166 to always fail with ENOSYS. Some functions are actually named
11167 something starting with __ and the normal name is an alias. */
11168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11178 rm -f conftest.
$ac_objext conftest
$ac_exeext
11179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11180 (eval $ac_link) 2>&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); } &&
11184 { ac_try
='test -s conftest$ac_exeext'
11185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11186 (eval $ac_try) 2>&5
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); }; }; then
11190 eval "$as_ac_var=yes"
11192 echo "$as_me: failed program was:" >&5
11193 cat conftest.
$ac_ext >&5
11194 eval "$as_ac_var=no"
11196 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11200 if test `eval echo '${'$as_ac_var'}'` = yes; then
11201 cat >>confdefs.h
<<_ACEOF
11202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11208 if test x
"$ac_cv_func_yp_get_default_domain" = x
"no"; then
11209 echo "$as_me:$LINENO: checking for yp_get_default_domain in -lnsl" >&5
11210 echo $ECHO_N "checking for yp_get_default_domain in -lnsl... $ECHO_C" >&6
11211 if test "${ac_cv_lib_nsl_yp_get_default_domain+set}" = set; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 ac_check_lib_save_LIBS
=$LIBS
11216 cat >conftest.
$ac_ext <<_ACEOF
11217 #line $LINENO "configure"
11218 #include "confdefs.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. */
11226 char yp_get_default_domain ();
11227 #ifdef F77_DUMMY_MAIN
11228 # ifdef __cplusplus
11231 int F77_DUMMY_MAIN() { return 1; }
11236 yp_get_default_domain ();
11241 rm -f conftest.
$ac_objext conftest
$ac_exeext
11242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11243 (eval $ac_link) 2>&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); } &&
11247 { ac_try
='test -s conftest$ac_exeext'
11248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11249 (eval $ac_try) 2>&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); }; }; then
11253 ac_cv_lib_nsl_yp_get_default_domain
=yes
11255 echo "$as_me: failed program was:" >&5
11256 cat conftest.
$ac_ext >&5
11257 ac_cv_lib_nsl_yp_get_default_domain
=no
11259 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11260 LIBS
=$ac_check_lib_save_LIBS
11262 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
11263 echo "${ECHO_T}$ac_cv_lib_nsl_yp_get_default_domain" >&6
11264 if test $ac_cv_lib_nsl_yp_get_default_domain = yes; then
11265 LIBS
="$LIBS -lnsl";
11267 cat >>confdefs.h
<<\_ACEOF
11268 #define HAVE_YP_GET_DEFAULT_DOMAIN 1
11275 # Check if we have execl, if not we need to compile smbrun.
11277 for ac_func
in execl
11279 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11280 echo "$as_me:$LINENO: checking for $ac_func" >&5
11281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11282 if eval "test \"\${$as_ac_var+set}\" = set"; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11285 cat >conftest.
$ac_ext <<_ACEOF
11286 #line $LINENO "configure"
11287 #include "confdefs.h"
11288 /* System header to define __stub macros and hopefully few prototypes,
11289 which can conflict with char $ac_func (); below. */
11290 #include <assert.h>
11291 /* Override any gcc2 internal prototype to avoid an error. */
11295 /* We use char because int might match the return type of a gcc2
11296 builtin and then its argument prototype would still apply. */
11300 #ifdef F77_DUMMY_MAIN
11301 # ifdef __cplusplus
11304 int F77_DUMMY_MAIN() { return 1; }
11309 /* The GNU C library defines this for functions which it implements
11310 to always fail with ENOSYS. Some functions are actually named
11311 something starting with __ and the normal name is an alias. */
11312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11322 rm -f conftest.
$ac_objext conftest
$ac_exeext
11323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11324 (eval $ac_link) 2>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); } &&
11328 { ac_try
='test -s conftest$ac_exeext'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; }; then
11334 eval "$as_ac_var=yes"
11336 echo "$as_me: failed program was:" >&5
11337 cat conftest.
$ac_ext >&5
11338 eval "$as_ac_var=no"
11340 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11344 if test `eval echo '${'$as_ac_var'}'` = yes; then
11345 cat >>confdefs.h
<<_ACEOF
11346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11352 if test x
"$ac_cv_func_execl" = x
"no"; then
11353 EXTRA_BIN_PROGS
="$EXTRA_BIN_PROGS bin/smbrun\$(EXEEXT)"
11375 for ac_func
in dlopen dlclose dlsym dlerror waitpid getcwd strdup strndup strnlen strtoul strerror chown fchown
chmod fchmod chroot link mknod mknod64
11377 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11378 echo "$as_me:$LINENO: checking for $ac_func" >&5
11379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11380 if eval "test \"\${$as_ac_var+set}\" = set"; then
11381 echo $ECHO_N "(cached) $ECHO_C" >&6
11383 cat >conftest.
$ac_ext <<_ACEOF
11384 #line $LINENO "configure"
11385 #include "confdefs.h"
11386 /* System header to define __stub macros and hopefully few prototypes,
11387 which can conflict with char $ac_func (); below. */
11388 #include <assert.h>
11389 /* Override any gcc2 internal prototype to avoid an error. */
11393 /* We use char because int might match the return type of a gcc2
11394 builtin and then its argument prototype would still apply. */
11398 #ifdef F77_DUMMY_MAIN
11399 # ifdef __cplusplus
11402 int F77_DUMMY_MAIN() { return 1; }
11407 /* The GNU C library defines this for functions which it implements
11408 to always fail with ENOSYS. Some functions are actually named
11409 something starting with __ and the normal name is an alias. */
11410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11420 rm -f conftest.
$ac_objext conftest
$ac_exeext
11421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11422 (eval $ac_link) 2>&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); } &&
11426 { ac_try
='test -s conftest$ac_exeext'
11427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11428 (eval $ac_try) 2>&5
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); }; }; then
11432 eval "$as_ac_var=yes"
11434 echo "$as_me: failed program was:" >&5
11435 cat conftest.
$ac_ext >&5
11436 eval "$as_ac_var=no"
11438 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11442 if test `eval echo '${'$as_ac_var'}'` = yes; then
11443 cat >>confdefs.h
<<_ACEOF
11444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11461 for ac_func
in fstat strchr utime utimes getrlimit fsync bzero memset strlcpy strlcat setpgid
11463 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11464 echo "$as_me:$LINENO: checking for $ac_func" >&5
11465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11466 if eval "test \"\${$as_ac_var+set}\" = set"; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11469 cat >conftest.
$ac_ext <<_ACEOF
11470 #line $LINENO "configure"
11471 #include "confdefs.h"
11472 /* System header to define __stub macros and hopefully few prototypes,
11473 which can conflict with char $ac_func (); below. */
11474 #include <assert.h>
11475 /* Override any gcc2 internal prototype to avoid an error. */
11479 /* We use char because int might match the return type of a gcc2
11480 builtin and then its argument prototype would still apply. */
11484 #ifdef F77_DUMMY_MAIN
11485 # ifdef __cplusplus
11488 int F77_DUMMY_MAIN() { return 1; }
11493 /* The GNU C library defines this for functions which it implements
11494 to always fail with ENOSYS. Some functions are actually named
11495 something starting with __ and the normal name is an alias. */
11496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11506 rm -f conftest.
$ac_objext conftest
$ac_exeext
11507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11508 (eval $ac_link) 2>&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); } &&
11512 { ac_try
='test -s conftest$ac_exeext'
11513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11514 (eval $ac_try) 2>&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); }; }; then
11518 eval "$as_ac_var=yes"
11520 echo "$as_me: failed program was:" >&5
11521 cat conftest.
$ac_ext >&5
11522 eval "$as_ac_var=no"
11524 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11528 if test `eval echo '${'$as_ac_var'}'` = yes; then
11529 cat >>confdefs.h
<<_ACEOF
11530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11547 for ac_func
in memmove vsnprintf snprintf asprintf vasprintf setsid glob strpbrk pipe crypt16 getauthuid
11549 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11550 echo "$as_me:$LINENO: checking for $ac_func" >&5
11551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11552 if eval "test \"\${$as_ac_var+set}\" = set"; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 cat >conftest.
$ac_ext <<_ACEOF
11556 #line $LINENO "configure"
11557 #include "confdefs.h"
11558 /* System header to define __stub macros and hopefully few prototypes,
11559 which can conflict with char $ac_func (); below. */
11560 #include <assert.h>
11561 /* Override any gcc2 internal prototype to avoid an error. */
11565 /* We use char because int might match the return type of a gcc2
11566 builtin and then its argument prototype would still apply. */
11570 #ifdef F77_DUMMY_MAIN
11571 # ifdef __cplusplus
11574 int F77_DUMMY_MAIN() { return 1; }
11579 /* The GNU C library defines this for functions which it implements
11580 to always fail with ENOSYS. Some functions are actually named
11581 something starting with __ and the normal name is an alias. */
11582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11592 rm -f conftest.
$ac_objext conftest
$ac_exeext
11593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11594 (eval $ac_link) 2>&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); } &&
11598 { ac_try
='test -s conftest$ac_exeext'
11599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11600 (eval $ac_try) 2>&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); }; }; then
11604 eval "$as_ac_var=yes"
11606 echo "$as_me: failed program was:" >&5
11607 cat conftest.
$ac_ext >&5
11608 eval "$as_ac_var=no"
11610 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11614 if test `eval echo '${'$as_ac_var'}'` = yes; then
11615 cat >>confdefs.h
<<_ACEOF
11616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11631 for ac_func
in strftime sigprocmask sigblock sigaction sigset innetgr setnetgrent getnetgrent endnetgrent
11633 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11634 echo "$as_me:$LINENO: checking for $ac_func" >&5
11635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11636 if eval "test \"\${$as_ac_var+set}\" = set"; then
11637 echo $ECHO_N "(cached) $ECHO_C" >&6
11639 cat >conftest.
$ac_ext <<_ACEOF
11640 #line $LINENO "configure"
11641 #include "confdefs.h"
11642 /* System header to define __stub macros and hopefully few prototypes,
11643 which can conflict with char $ac_func (); below. */
11644 #include <assert.h>
11645 /* Override any gcc2 internal prototype to avoid an error. */
11649 /* We use char because int might match the return type of a gcc2
11650 builtin and then its argument prototype would still apply. */
11654 #ifdef F77_DUMMY_MAIN
11655 # ifdef __cplusplus
11658 int F77_DUMMY_MAIN() { return 1; }
11663 /* The GNU C library defines this for functions which it implements
11664 to always fail with ENOSYS. Some functions are actually named
11665 something starting with __ and the normal name is an alias. */
11666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11676 rm -f conftest.
$ac_objext conftest
$ac_exeext
11677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11678 (eval $ac_link) 2>&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); } &&
11682 { ac_try
='test -s conftest$ac_exeext'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then
11688 eval "$as_ac_var=yes"
11690 echo "$as_me: failed program was:" >&5
11691 cat conftest.
$ac_ext >&5
11692 eval "$as_ac_var=no"
11694 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11698 if test `eval echo '${'$as_ac_var'}'` = yes; then
11699 cat >>confdefs.h
<<_ACEOF
11700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11714 for ac_func
in initgroups
select poll rdchk getgrnam getgrent pathconf realpath
11716 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11717 echo "$as_me:$LINENO: checking for $ac_func" >&5
11718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11719 if eval "test \"\${$as_ac_var+set}\" = set"; then
11720 echo $ECHO_N "(cached) $ECHO_C" >&6
11722 cat >conftest.
$ac_ext <<_ACEOF
11723 #line $LINENO "configure"
11724 #include "confdefs.h"
11725 /* System header to define __stub macros and hopefully few prototypes,
11726 which can conflict with char $ac_func (); below. */
11727 #include <assert.h>
11728 /* Override any gcc2 internal prototype to avoid an error. */
11732 /* We use char because int might match the return type of a gcc2
11733 builtin and then its argument prototype would still apply. */
11737 #ifdef F77_DUMMY_MAIN
11738 # ifdef __cplusplus
11741 int F77_DUMMY_MAIN() { return 1; }
11746 /* The GNU C library defines this for functions which it implements
11747 to always fail with ENOSYS. Some functions are actually named
11748 something starting with __ and the normal name is an alias. */
11749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11759 rm -f conftest.
$ac_objext conftest
$ac_exeext
11760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11761 (eval $ac_link) 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); } &&
11765 { ac_try
='test -s conftest$ac_exeext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 eval "$as_ac_var=yes"
11773 echo "$as_me: failed program was:" >&5
11774 cat conftest.
$ac_ext >&5
11775 eval "$as_ac_var=no"
11777 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11781 if test `eval echo '${'$as_ac_var'}'` = yes; then
11782 cat >>confdefs.h
<<_ACEOF
11783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11799 for ac_func
in setpriv setgidx setuidx setgroups sysconf mktime rename ftruncate stat64 fstat64
11801 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11802 echo "$as_me:$LINENO: checking for $ac_func" >&5
11803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11804 if eval "test \"\${$as_ac_var+set}\" = set"; then
11805 echo $ECHO_N "(cached) $ECHO_C" >&6
11807 cat >conftest.
$ac_ext <<_ACEOF
11808 #line $LINENO "configure"
11809 #include "confdefs.h"
11810 /* System header to define __stub macros and hopefully few prototypes,
11811 which can conflict with char $ac_func (); below. */
11812 #include <assert.h>
11813 /* Override any gcc2 internal prototype to avoid an error. */
11817 /* We use char because int might match the return type of a gcc2
11818 builtin and then its argument prototype would still apply. */
11822 #ifdef F77_DUMMY_MAIN
11823 # ifdef __cplusplus
11826 int F77_DUMMY_MAIN() { return 1; }
11831 /* The GNU C library defines this for functions which it implements
11832 to always fail with ENOSYS. Some functions are actually named
11833 something starting with __ and the normal name is an alias. */
11834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11844 rm -f conftest.
$ac_objext conftest
$ac_exeext
11845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11846 (eval $ac_link) 2>&5
11848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 (exit $ac_status); } &&
11850 { ac_try
='test -s conftest$ac_exeext'
11851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11852 (eval $ac_try) 2>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); }; }; then
11856 eval "$as_ac_var=yes"
11858 echo "$as_me: failed program was:" >&5
11859 cat conftest.
$ac_ext >&5
11860 eval "$as_ac_var=no"
11862 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11866 if test `eval echo '${'$as_ac_var'}'` = yes; then
11867 cat >>confdefs.h
<<_ACEOF
11868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11882 for ac_func
in lstat64 fopen64 atexit grantpt dup2 lseek64 ftruncate64 readdir64
11884 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11885 echo "$as_me:$LINENO: checking for $ac_func" >&5
11886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11887 if eval "test \"\${$as_ac_var+set}\" = set"; then
11888 echo $ECHO_N "(cached) $ECHO_C" >&6
11890 cat >conftest.
$ac_ext <<_ACEOF
11891 #line $LINENO "configure"
11892 #include "confdefs.h"
11893 /* System header to define __stub macros and hopefully few prototypes,
11894 which can conflict with char $ac_func (); below. */
11895 #include <assert.h>
11896 /* Override any gcc2 internal prototype to avoid an error. */
11900 /* We use char because int might match the return type of a gcc2
11901 builtin and then its argument prototype would still apply. */
11905 #ifdef F77_DUMMY_MAIN
11906 # ifdef __cplusplus
11909 int F77_DUMMY_MAIN() { return 1; }
11914 /* The GNU C library defines this for functions which it implements
11915 to always fail with ENOSYS. Some functions are actually named
11916 something starting with __ and the normal name is an alias. */
11917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11927 rm -f conftest.
$ac_objext conftest
$ac_exeext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11929 (eval $ac_link) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); } &&
11933 { ac_try
='test -s conftest$ac_exeext'
11934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11935 (eval $ac_try) 2>&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); }; }; then
11939 eval "$as_ac_var=yes"
11941 echo "$as_me: failed program was:" >&5
11942 cat conftest.
$ac_ext >&5
11943 eval "$as_ac_var=no"
11945 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11949 if test `eval echo '${'$as_ac_var'}'` = yes; then
11950 cat >>confdefs.h
<<_ACEOF
11951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11964 for ac_func
in fseek64 fseeko64 ftell64 ftello64 setluid getpwanam setlinebuf
11966 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11967 echo "$as_me:$LINENO: checking for $ac_func" >&5
11968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11969 if eval "test \"\${$as_ac_var+set}\" = set"; then
11970 echo $ECHO_N "(cached) $ECHO_C" >&6
11972 cat >conftest.
$ac_ext <<_ACEOF
11973 #line $LINENO "configure"
11974 #include "confdefs.h"
11975 /* System header to define __stub macros and hopefully few prototypes,
11976 which can conflict with char $ac_func (); below. */
11977 #include <assert.h>
11978 /* Override any gcc2 internal prototype to avoid an error. */
11982 /* We use char because int might match the return type of a gcc2
11983 builtin and then its argument prototype would still apply. */
11987 #ifdef F77_DUMMY_MAIN
11988 # ifdef __cplusplus
11991 int F77_DUMMY_MAIN() { return 1; }
11996 /* The GNU C library defines this for functions which it implements
11997 to always fail with ENOSYS. Some functions are actually named
11998 something starting with __ and the normal name is an alias. */
11999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12009 rm -f conftest.
$ac_objext conftest
$ac_exeext
12010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12011 (eval $ac_link) 2>&5
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); } &&
12015 { ac_try
='test -s conftest$ac_exeext'
12016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12017 (eval $ac_try) 2>&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); }; }; then
12021 eval "$as_ac_var=yes"
12023 echo "$as_me: failed program was:" >&5
12024 cat conftest.
$ac_ext >&5
12025 eval "$as_ac_var=no"
12027 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12031 if test `eval echo '${'$as_ac_var'}'` = yes; then
12032 cat >>confdefs.h
<<_ACEOF
12033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12050 for ac_func
in srandom random srand rand setenv
usleep strcasecmp fcvt fcvtl symlink readlink
12052 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12053 echo "$as_me:$LINENO: checking for $ac_func" >&5
12054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12055 if eval "test \"\${$as_ac_var+set}\" = set"; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12058 cat >conftest.
$ac_ext <<_ACEOF
12059 #line $LINENO "configure"
12060 #include "confdefs.h"
12061 /* System header to define __stub macros and hopefully few prototypes,
12062 which can conflict with char $ac_func (); below. */
12063 #include <assert.h>
12064 /* Override any gcc2 internal prototype to avoid an error. */
12068 /* We use char because int might match the return type of a gcc2
12069 builtin and then its argument prototype would still apply. */
12073 #ifdef F77_DUMMY_MAIN
12074 # ifdef __cplusplus
12077 int F77_DUMMY_MAIN() { return 1; }
12082 /* The GNU C library defines this for functions which it implements
12083 to always fail with ENOSYS. Some functions are actually named
12084 something starting with __ and the normal name is an alias. */
12085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12095 rm -f conftest.
$ac_objext conftest
$ac_exeext
12096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12097 (eval $ac_link) 2>&5
12099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); } &&
12101 { ac_try
='test -s conftest$ac_exeext'
12102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12103 (eval $ac_try) 2>&5
12105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106 (exit $ac_status); }; }; then
12107 eval "$as_ac_var=yes"
12109 echo "$as_me: failed program was:" >&5
12110 cat conftest.
$ac_ext >&5
12111 eval "$as_ac_var=no"
12113 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12117 if test `eval echo '${'$as_ac_var'}'` = yes; then
12118 cat >>confdefs.h
<<_ACEOF
12119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12129 for ac_func
in syslog vsyslog getgrouplist timegm
12131 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12132 echo "$as_me:$LINENO: checking for $ac_func" >&5
12133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12134 if eval "test \"\${$as_ac_var+set}\" = set"; then
12135 echo $ECHO_N "(cached) $ECHO_C" >&6
12137 cat >conftest.
$ac_ext <<_ACEOF
12138 #line $LINENO "configure"
12139 #include "confdefs.h"
12140 /* System header to define __stub macros and hopefully few prototypes,
12141 which can conflict with char $ac_func (); below. */
12142 #include <assert.h>
12143 /* Override any gcc2 internal prototype to avoid an error. */
12147 /* We use char because int might match the return type of a gcc2
12148 builtin and then its argument prototype would still apply. */
12152 #ifdef F77_DUMMY_MAIN
12153 # ifdef __cplusplus
12156 int F77_DUMMY_MAIN() { return 1; }
12161 /* The GNU C library defines this for functions which it implements
12162 to always fail with ENOSYS. Some functions are actually named
12163 something starting with __ and the normal name is an alias. */
12164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12174 rm -f conftest.
$ac_objext conftest
$ac_exeext
12175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12176 (eval $ac_link) 2>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } &&
12180 { ac_try
='test -s conftest$ac_exeext'
12181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12182 (eval $ac_try) 2>&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); }; }; then
12186 eval "$as_ac_var=yes"
12188 echo "$as_me: failed program was:" >&5
12189 cat conftest.
$ac_ext >&5
12190 eval "$as_ac_var=no"
12192 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12196 if test `eval echo '${'$as_ac_var'}'` = yes; then
12197 cat >>confdefs.h
<<_ACEOF
12198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12204 # setbuffer, shmget, shm_open are needed for smbtorture
12208 for ac_func
in setbuffer shmget shm_open
12210 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12211 echo "$as_me:$LINENO: checking for $ac_func" >&5
12212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12213 if eval "test \"\${$as_ac_var+set}\" = set"; then
12214 echo $ECHO_N "(cached) $ECHO_C" >&6
12216 cat >conftest.
$ac_ext <<_ACEOF
12217 #line $LINENO "configure"
12218 #include "confdefs.h"
12219 /* System header to define __stub macros and hopefully few prototypes,
12220 which can conflict with char $ac_func (); below. */
12221 #include <assert.h>
12222 /* Override any gcc2 internal prototype to avoid an error. */
12226 /* We use char because int might match the return type of a gcc2
12227 builtin and then its argument prototype would still apply. */
12231 #ifdef F77_DUMMY_MAIN
12232 # ifdef __cplusplus
12235 int F77_DUMMY_MAIN() { return 1; }
12240 /* The GNU C library defines this for functions which it implements
12241 to always fail with ENOSYS. Some functions are actually named
12242 something starting with __ and the normal name is an alias. */
12243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12253 rm -f conftest.
$ac_objext conftest
$ac_exeext
12254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12255 (eval $ac_link) 2>&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); } &&
12259 { ac_try
='test -s conftest$ac_exeext'
12260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12261 (eval $ac_try) 2>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; }; then
12265 eval "$as_ac_var=yes"
12267 echo "$as_me: failed program was:" >&5
12268 cat conftest.
$ac_ext >&5
12269 eval "$as_ac_var=no"
12271 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12275 if test `eval echo '${'$as_ac_var'}'` = yes; then
12276 cat >>confdefs.h
<<_ACEOF
12277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12284 # syscall() is needed for smbwrapper.
12286 for ac_func
in syscall
12288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12289 echo "$as_me:$LINENO: checking for $ac_func" >&5
12290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12291 if eval "test \"\${$as_ac_var+set}\" = set"; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12294 cat >conftest.
$ac_ext <<_ACEOF
12295 #line $LINENO "configure"
12296 #include "confdefs.h"
12297 /* System header to define __stub macros and hopefully few prototypes,
12298 which can conflict with char $ac_func (); below. */
12299 #include <assert.h>
12300 /* Override any gcc2 internal prototype to avoid an error. */
12304 /* We use char because int might match the return type of a gcc2
12305 builtin and then its argument prototype would still apply. */
12309 #ifdef F77_DUMMY_MAIN
12310 # ifdef __cplusplus
12313 int F77_DUMMY_MAIN() { return 1; }
12318 /* The GNU C library defines this for functions which it implements
12319 to always fail with ENOSYS. Some functions are actually named
12320 something starting with __ and the normal name is an alias. */
12321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12331 rm -f conftest.
$ac_objext conftest
$ac_exeext
12332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12333 (eval $ac_link) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); } &&
12337 { ac_try
='test -s conftest$ac_exeext'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; }; then
12343 eval "$as_ac_var=yes"
12345 echo "$as_me: failed program was:" >&5
12346 cat conftest.
$ac_ext >&5
12347 eval "$as_ac_var=no"
12349 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12353 if test `eval echo '${'$as_ac_var'}'` = yes; then
12354 cat >>confdefs.h
<<_ACEOF
12355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12369 for ac_func
in _dup _dup2 _opendir _readdir _seekdir _telldir _closedir
12371 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12372 echo "$as_me:$LINENO: checking for $ac_func" >&5
12373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12374 if eval "test \"\${$as_ac_var+set}\" = set"; then
12375 echo $ECHO_N "(cached) $ECHO_C" >&6
12377 cat >conftest.
$ac_ext <<_ACEOF
12378 #line $LINENO "configure"
12379 #include "confdefs.h"
12380 /* System header to define __stub macros and hopefully few prototypes,
12381 which can conflict with char $ac_func (); below. */
12382 #include <assert.h>
12383 /* Override any gcc2 internal prototype to avoid an error. */
12387 /* We use char because int might match the return type of a gcc2
12388 builtin and then its argument prototype would still apply. */
12392 #ifdef F77_DUMMY_MAIN
12393 # ifdef __cplusplus
12396 int F77_DUMMY_MAIN() { return 1; }
12401 /* The GNU C library defines this for functions which it implements
12402 to always fail with ENOSYS. Some functions are actually named
12403 something starting with __ and the normal name is an alias. */
12404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12414 rm -f conftest.
$ac_objext conftest
$ac_exeext
12415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12416 (eval $ac_link) 2>&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } &&
12420 { ac_try
='test -s conftest$ac_exeext'
12421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12422 (eval $ac_try) 2>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); }; }; then
12426 eval "$as_ac_var=yes"
12428 echo "$as_me: failed program was:" >&5
12429 cat conftest.
$ac_ext >&5
12430 eval "$as_ac_var=no"
12432 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12436 if test `eval echo '${'$as_ac_var'}'` = yes; then
12437 cat >>confdefs.h
<<_ACEOF
12438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12451 for ac_func
in __dup __dup2 __opendir __readdir __seekdir __telldir __closedir
12453 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12454 echo "$as_me:$LINENO: checking for $ac_func" >&5
12455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12456 if eval "test \"\${$as_ac_var+set}\" = set"; then
12457 echo $ECHO_N "(cached) $ECHO_C" >&6
12459 cat >conftest.
$ac_ext <<_ACEOF
12460 #line $LINENO "configure"
12461 #include "confdefs.h"
12462 /* System header to define __stub macros and hopefully few prototypes,
12463 which can conflict with char $ac_func (); below. */
12464 #include <assert.h>
12465 /* Override any gcc2 internal prototype to avoid an error. */
12469 /* We use char because int might match the return type of a gcc2
12470 builtin and then its argument prototype would still apply. */
12474 #ifdef F77_DUMMY_MAIN
12475 # ifdef __cplusplus
12478 int F77_DUMMY_MAIN() { return 1; }
12483 /* The GNU C library defines this for functions which it implements
12484 to always fail with ENOSYS. Some functions are actually named
12485 something starting with __ and the normal name is an alias. */
12486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12496 rm -f conftest.
$ac_objext conftest
$ac_exeext
12497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12498 (eval $ac_link) 2>&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } &&
12502 { ac_try
='test -s conftest$ac_exeext'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; }; then
12508 eval "$as_ac_var=yes"
12510 echo "$as_me: failed program was:" >&5
12511 cat conftest.
$ac_ext >&5
12512 eval "$as_ac_var=no"
12514 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12518 if test `eval echo '${'$as_ac_var'}'` = yes; then
12519 cat >>confdefs.h
<<_ACEOF
12520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12528 for ac_func
in __getcwd _getcwd
12530 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12531 echo "$as_me:$LINENO: checking for $ac_func" >&5
12532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12533 if eval "test \"\${$as_ac_var+set}\" = set"; then
12534 echo $ECHO_N "(cached) $ECHO_C" >&6
12536 cat >conftest.
$ac_ext <<_ACEOF
12537 #line $LINENO "configure"
12538 #include "confdefs.h"
12539 /* System header to define __stub macros and hopefully few prototypes,
12540 which can conflict with char $ac_func (); below. */
12541 #include <assert.h>
12542 /* Override any gcc2 internal prototype to avoid an error. */
12546 /* We use char because int might match the return type of a gcc2
12547 builtin and then its argument prototype would still apply. */
12551 #ifdef F77_DUMMY_MAIN
12552 # ifdef __cplusplus
12555 int F77_DUMMY_MAIN() { return 1; }
12560 /* The GNU C library defines this for functions which it implements
12561 to always fail with ENOSYS. Some functions are actually named
12562 something starting with __ and the normal name is an alias. */
12563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12573 rm -f conftest.
$ac_objext conftest
$ac_exeext
12574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12575 (eval $ac_link) 2>&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); } &&
12579 { ac_try
='test -s conftest$ac_exeext'
12580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12581 (eval $ac_try) 2>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); }; }; then
12585 eval "$as_ac_var=yes"
12587 echo "$as_me: failed program was:" >&5
12588 cat conftest.
$ac_ext >&5
12589 eval "$as_ac_var=no"
12591 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12595 if test `eval echo '${'$as_ac_var'}'` = yes; then
12596 cat >>confdefs.h
<<_ACEOF
12597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12606 for ac_func
in __xstat __fxstat __lxstat
12608 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12609 echo "$as_me:$LINENO: checking for $ac_func" >&5
12610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12611 if eval "test \"\${$as_ac_var+set}\" = set"; then
12612 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 cat >conftest.
$ac_ext <<_ACEOF
12615 #line $LINENO "configure"
12616 #include "confdefs.h"
12617 /* System header to define __stub macros and hopefully few prototypes,
12618 which can conflict with char $ac_func (); below. */
12619 #include <assert.h>
12620 /* Override any gcc2 internal prototype to avoid an error. */
12624 /* We use char because int might match the return type of a gcc2
12625 builtin and then its argument prototype would still apply. */
12629 #ifdef F77_DUMMY_MAIN
12630 # ifdef __cplusplus
12633 int F77_DUMMY_MAIN() { return 1; }
12638 /* The GNU C library defines this for functions which it implements
12639 to always fail with ENOSYS. Some functions are actually named
12640 something starting with __ and the normal name is an alias. */
12641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12651 rm -f conftest.
$ac_objext conftest
$ac_exeext
12652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12653 (eval $ac_link) 2>&5
12655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656 (exit $ac_status); } &&
12657 { ac_try
='test -s conftest$ac_exeext'
12658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12659 (eval $ac_try) 2>&5
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); }; }; then
12663 eval "$as_ac_var=yes"
12665 echo "$as_me: failed program was:" >&5
12666 cat conftest.
$ac_ext >&5
12667 eval "$as_ac_var=no"
12669 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12673 if test `eval echo '${'$as_ac_var'}'` = yes; then
12674 cat >>confdefs.h
<<_ACEOF
12675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12687 for ac_func
in _stat _lstat _fstat __stat __lstat __fstat
12689 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12690 echo "$as_me:$LINENO: checking for $ac_func" >&5
12691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12692 if eval "test \"\${$as_ac_var+set}\" = set"; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12695 cat >conftest.
$ac_ext <<_ACEOF
12696 #line $LINENO "configure"
12697 #include "confdefs.h"
12698 /* System header to define __stub macros and hopefully few prototypes,
12699 which can conflict with char $ac_func (); below. */
12700 #include <assert.h>
12701 /* Override any gcc2 internal prototype to avoid an error. */
12705 /* We use char because int might match the return type of a gcc2
12706 builtin and then its argument prototype would still apply. */
12710 #ifdef F77_DUMMY_MAIN
12711 # ifdef __cplusplus
12714 int F77_DUMMY_MAIN() { return 1; }
12719 /* The GNU C library defines this for functions which it implements
12720 to always fail with ENOSYS. Some functions are actually named
12721 something starting with __ and the normal name is an alias. */
12722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12732 rm -f conftest.
$ac_objext conftest
$ac_exeext
12733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12734 (eval $ac_link) 2>&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } &&
12738 { ac_try
='test -s conftest$ac_exeext'
12739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12740 (eval $ac_try) 2>&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); }; }; then
12744 eval "$as_ac_var=yes"
12746 echo "$as_me: failed program was:" >&5
12747 cat conftest.
$ac_ext >&5
12748 eval "$as_ac_var=no"
12750 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12754 if test `eval echo '${'$as_ac_var'}'` = yes; then
12755 cat >>confdefs.h
<<_ACEOF
12756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12770 for ac_func
in _acl __acl _facl __facl _open __open _chdir __chdir
12772 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12773 echo "$as_me:$LINENO: checking for $ac_func" >&5
12774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12775 if eval "test \"\${$as_ac_var+set}\" = set"; then
12776 echo $ECHO_N "(cached) $ECHO_C" >&6
12778 cat >conftest.
$ac_ext <<_ACEOF
12779 #line $LINENO "configure"
12780 #include "confdefs.h"
12781 /* System header to define __stub macros and hopefully few prototypes,
12782 which can conflict with char $ac_func (); below. */
12783 #include <assert.h>
12784 /* Override any gcc2 internal prototype to avoid an error. */
12788 /* We use char because int might match the return type of a gcc2
12789 builtin and then its argument prototype would still apply. */
12793 #ifdef F77_DUMMY_MAIN
12794 # ifdef __cplusplus
12797 int F77_DUMMY_MAIN() { return 1; }
12802 /* The GNU C library defines this for functions which it implements
12803 to always fail with ENOSYS. Some functions are actually named
12804 something starting with __ and the normal name is an alias. */
12805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12815 rm -f conftest.
$ac_objext conftest
$ac_exeext
12816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12817 (eval $ac_link) 2>&5
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); } &&
12821 { ac_try
='test -s conftest$ac_exeext'
12822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12823 (eval $ac_try) 2>&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); }; }; then
12827 eval "$as_ac_var=yes"
12829 echo "$as_me: failed program was:" >&5
12830 cat conftest.
$ac_ext >&5
12831 eval "$as_ac_var=no"
12833 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12837 if test `eval echo '${'$as_ac_var'}'` = yes; then
12838 cat >>confdefs.h
<<_ACEOF
12839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12851 for ac_func
in _close __close _fchdir __fchdir _fcntl __fcntl
12853 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12854 echo "$as_me:$LINENO: checking for $ac_func" >&5
12855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12856 if eval "test \"\${$as_ac_var+set}\" = set"; then
12857 echo $ECHO_N "(cached) $ECHO_C" >&6
12859 cat >conftest.
$ac_ext <<_ACEOF
12860 #line $LINENO "configure"
12861 #include "confdefs.h"
12862 /* System header to define __stub macros and hopefully few prototypes,
12863 which can conflict with char $ac_func (); below. */
12864 #include <assert.h>
12865 /* Override any gcc2 internal prototype to avoid an error. */
12869 /* We use char because int might match the return type of a gcc2
12870 builtin and then its argument prototype would still apply. */
12874 #ifdef F77_DUMMY_MAIN
12875 # ifdef __cplusplus
12878 int F77_DUMMY_MAIN() { return 1; }
12883 /* The GNU C library defines this for functions which it implements
12884 to always fail with ENOSYS. Some functions are actually named
12885 something starting with __ and the normal name is an alias. */
12886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12896 rm -f conftest.
$ac_objext conftest
$ac_exeext
12897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12898 (eval $ac_link) 2>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try
='test -s conftest$ac_exeext'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; }; then
12908 eval "$as_ac_var=yes"
12910 echo "$as_me: failed program was:" >&5
12911 cat conftest.
$ac_ext >&5
12912 eval "$as_ac_var=no"
12914 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12918 if test `eval echo '${'$as_ac_var'}'` = yes; then
12919 cat >>confdefs.h
<<_ACEOF
12920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12933 for ac_func
in getdents _getdents __getdents _lseek __lseek _read __read
12935 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12936 echo "$as_me:$LINENO: checking for $ac_func" >&5
12937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12938 if eval "test \"\${$as_ac_var+set}\" = set"; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12941 cat >conftest.
$ac_ext <<_ACEOF
12942 #line $LINENO "configure"
12943 #include "confdefs.h"
12944 /* System header to define __stub macros and hopefully few prototypes,
12945 which can conflict with char $ac_func (); below. */
12946 #include <assert.h>
12947 /* Override any gcc2 internal prototype to avoid an error. */
12951 /* We use char because int might match the return type of a gcc2
12952 builtin and then its argument prototype would still apply. */
12956 #ifdef F77_DUMMY_MAIN
12957 # ifdef __cplusplus
12960 int F77_DUMMY_MAIN() { return 1; }
12965 /* The GNU C library defines this for functions which it implements
12966 to always fail with ENOSYS. Some functions are actually named
12967 something starting with __ and the normal name is an alias. */
12968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12978 rm -f conftest.
$ac_objext conftest
$ac_exeext
12979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12980 (eval $ac_link) 2>&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); } &&
12984 { ac_try
='test -s conftest$ac_exeext'
12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12986 (eval $ac_try) 2>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); }; }; then
12990 eval "$as_ac_var=yes"
12992 echo "$as_me: failed program was:" >&5
12993 cat conftest.
$ac_ext >&5
12994 eval "$as_ac_var=no"
12996 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13000 if test `eval echo '${'$as_ac_var'}'` = yes; then
13001 cat >>confdefs.h
<<_ACEOF
13002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13012 for ac_func
in _write __write _fork __fork
13014 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13015 echo "$as_me:$LINENO: checking for $ac_func" >&5
13016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13017 if eval "test \"\${$as_ac_var+set}\" = set"; then
13018 echo $ECHO_N "(cached) $ECHO_C" >&6
13020 cat >conftest.
$ac_ext <<_ACEOF
13021 #line $LINENO "configure"
13022 #include "confdefs.h"
13023 /* System header to define __stub macros and hopefully few prototypes,
13024 which can conflict with char $ac_func (); below. */
13025 #include <assert.h>
13026 /* Override any gcc2 internal prototype to avoid an error. */
13030 /* We use char because int might match the return type of a gcc2
13031 builtin and then its argument prototype would still apply. */
13035 #ifdef F77_DUMMY_MAIN
13036 # ifdef __cplusplus
13039 int F77_DUMMY_MAIN() { return 1; }
13044 /* The GNU C library defines this for functions which it implements
13045 to always fail with ENOSYS. Some functions are actually named
13046 something starting with __ and the normal name is an alias. */
13047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13057 rm -f conftest.
$ac_objext conftest
$ac_exeext
13058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13059 (eval $ac_link) 2>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } &&
13063 { ac_try
='test -s conftest$ac_exeext'
13064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13065 (eval $ac_try) 2>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }; }; then
13069 eval "$as_ac_var=yes"
13071 echo "$as_me: failed program was:" >&5
13072 cat conftest.
$ac_ext >&5
13073 eval "$as_ac_var=no"
13075 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13079 if test `eval echo '${'$as_ac_var'}'` = yes; then
13080 cat >>confdefs.h
<<_ACEOF
13081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13093 for ac_func
in _stat64 __stat64 _fstat64 __fstat64 _lstat64 __lstat64
13095 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13096 echo "$as_me:$LINENO: checking for $ac_func" >&5
13097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13098 if eval "test \"\${$as_ac_var+set}\" = set"; then
13099 echo $ECHO_N "(cached) $ECHO_C" >&6
13101 cat >conftest.
$ac_ext <<_ACEOF
13102 #line $LINENO "configure"
13103 #include "confdefs.h"
13104 /* System header to define __stub macros and hopefully few prototypes,
13105 which can conflict with char $ac_func (); below. */
13106 #include <assert.h>
13107 /* Override any gcc2 internal prototype to avoid an error. */
13111 /* We use char because int might match the return type of a gcc2
13112 builtin and then its argument prototype would still apply. */
13116 #ifdef F77_DUMMY_MAIN
13117 # ifdef __cplusplus
13120 int F77_DUMMY_MAIN() { return 1; }
13125 /* The GNU C library defines this for functions which it implements
13126 to always fail with ENOSYS. Some functions are actually named
13127 something starting with __ and the normal name is an alias. */
13128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13138 rm -f conftest.
$ac_objext conftest
$ac_exeext
13139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13140 (eval $ac_link) 2>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } &&
13144 { ac_try
='test -s conftest$ac_exeext'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; }; then
13150 eval "$as_ac_var=yes"
13152 echo "$as_me: failed program was:" >&5
13153 cat conftest.
$ac_ext >&5
13154 eval "$as_ac_var=no"
13156 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13160 if test `eval echo '${'$as_ac_var'}'` = yes; then
13161 cat >>confdefs.h
<<_ACEOF
13162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13175 for ac_func
in __sys_llseek llseek _llseek __llseek readdir64 _readdir64 __readdir64
13177 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13178 echo "$as_me:$LINENO: checking for $ac_func" >&5
13179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13180 if eval "test \"\${$as_ac_var+set}\" = set"; then
13181 echo $ECHO_N "(cached) $ECHO_C" >&6
13183 cat >conftest.
$ac_ext <<_ACEOF
13184 #line $LINENO "configure"
13185 #include "confdefs.h"
13186 /* System header to define __stub macros and hopefully few prototypes,
13187 which can conflict with char $ac_func (); below. */
13188 #include <assert.h>
13189 /* Override any gcc2 internal prototype to avoid an error. */
13193 /* We use char because int might match the return type of a gcc2
13194 builtin and then its argument prototype would still apply. */
13198 #ifdef F77_DUMMY_MAIN
13199 # ifdef __cplusplus
13202 int F77_DUMMY_MAIN() { return 1; }
13207 /* The GNU C library defines this for functions which it implements
13208 to always fail with ENOSYS. Some functions are actually named
13209 something starting with __ and the normal name is an alias. */
13210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13220 rm -f conftest.
$ac_objext conftest
$ac_exeext
13221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13222 (eval $ac_link) 2>&5
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); } &&
13226 { ac_try
='test -s conftest$ac_exeext'
13227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13228 (eval $ac_try) 2>&5
13230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13231 (exit $ac_status); }; }; then
13232 eval "$as_ac_var=yes"
13234 echo "$as_me: failed program was:" >&5
13235 cat conftest.
$ac_ext >&5
13236 eval "$as_ac_var=no"
13238 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13242 if test `eval echo '${'$as_ac_var'}'` = yes; then
13243 cat >>confdefs.h
<<_ACEOF
13244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13256 for ac_func
in pread _pread __pread pread64 _pread64 __pread64
13258 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13259 echo "$as_me:$LINENO: checking for $ac_func" >&5
13260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13261 if eval "test \"\${$as_ac_var+set}\" = set"; then
13262 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 cat >conftest.
$ac_ext <<_ACEOF
13265 #line $LINENO "configure"
13266 #include "confdefs.h"
13267 /* System header to define __stub macros and hopefully few prototypes,
13268 which can conflict with char $ac_func (); below. */
13269 #include <assert.h>
13270 /* Override any gcc2 internal prototype to avoid an error. */
13274 /* We use char because int might match the return type of a gcc2
13275 builtin and then its argument prototype would still apply. */
13279 #ifdef F77_DUMMY_MAIN
13280 # ifdef __cplusplus
13283 int F77_DUMMY_MAIN() { return 1; }
13288 /* The GNU C library defines this for functions which it implements
13289 to always fail with ENOSYS. Some functions are actually named
13290 something starting with __ and the normal name is an alias. */
13291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13301 rm -f conftest.
$ac_objext conftest
$ac_exeext
13302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13303 (eval $ac_link) 2>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); } &&
13307 { ac_try
='test -s conftest$ac_exeext'
13308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13309 (eval $ac_try) 2>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; }; then
13313 eval "$as_ac_var=yes"
13315 echo "$as_me: failed program was:" >&5
13316 cat conftest.
$ac_ext >&5
13317 eval "$as_ac_var=no"
13319 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13323 if test `eval echo '${'$as_ac_var'}'` = yes; then
13324 cat >>confdefs.h
<<_ACEOF
13325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13337 for ac_func
in pwrite _pwrite __pwrite pwrite64 _pwrite64 __pwrite64
13339 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13340 echo "$as_me:$LINENO: checking for $ac_func" >&5
13341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13342 if eval "test \"\${$as_ac_var+set}\" = set"; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13345 cat >conftest.
$ac_ext <<_ACEOF
13346 #line $LINENO "configure"
13347 #include "confdefs.h"
13348 /* System header to define __stub macros and hopefully few prototypes,
13349 which can conflict with char $ac_func (); below. */
13350 #include <assert.h>
13351 /* Override any gcc2 internal prototype to avoid an error. */
13355 /* We use char because int might match the return type of a gcc2
13356 builtin and then its argument prototype would still apply. */
13360 #ifdef F77_DUMMY_MAIN
13361 # ifdef __cplusplus
13364 int F77_DUMMY_MAIN() { return 1; }
13369 /* The GNU C library defines this for functions which it implements
13370 to always fail with ENOSYS. Some functions are actually named
13371 something starting with __ and the normal name is an alias. */
13372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13382 rm -f conftest.
$ac_objext conftest
$ac_exeext
13383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13384 (eval $ac_link) 2>&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); } &&
13388 { ac_try
='test -s conftest$ac_exeext'
13389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390 (eval $ac_try) 2>&5
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; }; then
13394 eval "$as_ac_var=yes"
13396 echo "$as_me: failed program was:" >&5
13397 cat conftest.
$ac_ext >&5
13398 eval "$as_ac_var=no"
13400 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13404 if test `eval echo '${'$as_ac_var'}'` = yes; then
13405 cat >>confdefs.h
<<_ACEOF
13406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13416 for ac_func
in open64 _open64 __open64 creat64
13418 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13419 echo "$as_me:$LINENO: checking for $ac_func" >&5
13420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13421 if eval "test \"\${$as_ac_var+set}\" = set"; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 cat >conftest.
$ac_ext <<_ACEOF
13425 #line $LINENO "configure"
13426 #include "confdefs.h"
13427 /* System header to define __stub macros and hopefully few prototypes,
13428 which can conflict with char $ac_func (); below. */
13429 #include <assert.h>
13430 /* Override any gcc2 internal prototype to avoid an error. */
13434 /* We use char because int might match the return type of a gcc2
13435 builtin and then its argument prototype would still apply. */
13439 #ifdef F77_DUMMY_MAIN
13440 # ifdef __cplusplus
13443 int F77_DUMMY_MAIN() { return 1; }
13448 /* The GNU C library defines this for functions which it implements
13449 to always fail with ENOSYS. Some functions are actually named
13450 something starting with __ and the normal name is an alias. */
13451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13461 rm -f conftest.
$ac_objext conftest
$ac_exeext
13462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13463 (eval $ac_link) 2>&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } &&
13467 { ac_try
='test -s conftest$ac_exeext'
13468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469 (eval $ac_try) 2>&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); }; }; then
13473 eval "$as_ac_var=yes"
13475 echo "$as_me: failed program was:" >&5
13476 cat conftest.
$ac_ext >&5
13477 eval "$as_ac_var=no"
13479 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13483 if test `eval echo '${'$as_ac_var'}'` = yes; then
13484 cat >>confdefs.h
<<_ACEOF
13485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13493 # stat64 family may need <sys/stat.h> on some systems, notably ReliantUNIX
13496 if test x
$ac_cv_func_stat64 = xno
; then
13497 echo "$as_me:$LINENO: checking for stat64 in <sys/stat.h>" >&5
13498 echo $ECHO_N "checking for stat64 in <sys/stat.h>... $ECHO_C" >&6
13499 cat >conftest.
$ac_ext <<_ACEOF
13500 #line $LINENO "configure"
13501 #include "confdefs.h"
13503 #if defined(HAVE_UNISTD_H)
13504 #include <unistd.h>
13506 #include <sys/stat.h>
13508 #ifdef F77_DUMMY_MAIN
13509 # ifdef __cplusplus
13512 int F77_DUMMY_MAIN() { return 1; }
13517 struct stat64 st64; exit(stat64(".",&st64));
13522 rm -f conftest.
$ac_objext conftest
$ac_exeext
13523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13524 (eval $ac_link) 2>&5
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); } &&
13528 { ac_try
='test -s conftest$ac_exeext'
13529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13530 (eval $ac_try) 2>&5
13532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13533 (exit $ac_status); }; }; then
13534 ac_cv_func_stat64
=yes
13536 echo "$as_me: failed program was:" >&5
13537 cat conftest.
$ac_ext >&5
13539 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13540 echo "$as_me:$LINENO: result: $ac_cv_func_stat64" >&5
13541 echo "${ECHO_T}$ac_cv_func_stat64" >&6
13542 if test x
$ac_cv_func_stat64 = xyes
; then
13544 cat >>confdefs.h
<<\_ACEOF
13545 #define HAVE_STAT64 1
13551 if test x
$ac_cv_func_lstat64 = xno
; then
13552 echo "$as_me:$LINENO: checking for lstat64 in <sys/stat.h>" >&5
13553 echo $ECHO_N "checking for lstat64 in <sys/stat.h>... $ECHO_C" >&6
13554 cat >conftest.
$ac_ext <<_ACEOF
13555 #line $LINENO "configure"
13556 #include "confdefs.h"
13558 #if defined(HAVE_UNISTD_H)
13559 #include <unistd.h>
13561 #include <sys/stat.h>
13563 #ifdef F77_DUMMY_MAIN
13564 # ifdef __cplusplus
13567 int F77_DUMMY_MAIN() { return 1; }
13572 struct stat64 st64; exit(lstat64(".",&st64));
13577 rm -f conftest.
$ac_objext conftest
$ac_exeext
13578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13579 (eval $ac_link) 2>&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); } &&
13583 { ac_try
='test -s conftest$ac_exeext'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; }; then
13589 ac_cv_func_lstat64
=yes
13591 echo "$as_me: failed program was:" >&5
13592 cat conftest.
$ac_ext >&5
13594 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13595 echo "$as_me:$LINENO: result: $ac_cv_func_lstat64" >&5
13596 echo "${ECHO_T}$ac_cv_func_lstat64" >&6
13597 if test x
$ac_cv_func_lstat64 = xyes
; then
13598 cat >>confdefs.h
<<\_ACEOF
13599 #define HAVE_LSTAT64 Whether lstat64() is available
13605 if test x
$ac_cv_func_fstat64 = xno
; then
13606 echo "$as_me:$LINENO: checking for fstat64 in <sys/stat.h>" >&5
13607 echo $ECHO_N "checking for fstat64 in <sys/stat.h>... $ECHO_C" >&6
13608 cat >conftest.
$ac_ext <<_ACEOF
13609 #line $LINENO "configure"
13610 #include "confdefs.h"
13612 #if defined(HAVE_UNISTD_H)
13613 #include <unistd.h>
13615 #include <sys/stat.h>
13617 #ifdef F77_DUMMY_MAIN
13618 # ifdef __cplusplus
13621 int F77_DUMMY_MAIN() { return 1; }
13626 struct stat64 st64; exit(fstat64(0,&st64));
13631 rm -f conftest.
$ac_objext conftest
$ac_exeext
13632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13633 (eval $ac_link) 2>&5
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); } &&
13637 { ac_try
='test -s conftest$ac_exeext'
13638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13639 (eval $ac_try) 2>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }; }; then
13643 ac_cv_func_fstat64
=yes
13645 echo "$as_me: failed program was:" >&5
13646 cat conftest.
$ac_ext >&5
13648 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13649 echo "$as_me:$LINENO: result: $ac_cv_func_fstat64" >&5
13650 echo "${ECHO_T}$ac_cv_func_fstat64" >&6
13651 if test x
$ac_cv_func_fstat64 = xyes
; then
13653 cat >>confdefs.h
<<\_ACEOF
13654 #define HAVE_FSTAT64 1
13660 #####################################
13661 # we might need the resolv library on some systems
13663 echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5
13664 echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6
13665 if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13668 ac_check_lib_save_LIBS
=$LIBS
13669 LIBS
="-lresolv $LIBS"
13670 cat >conftest.
$ac_ext <<_ACEOF
13671 #line $LINENO "configure"
13672 #include "confdefs.h"
13674 /* Override any gcc2 internal prototype to avoid an error. */
13678 /* We use char because int might match the return type of a gcc2
13679 builtin and then its argument prototype would still apply. */
13681 #ifdef F77_DUMMY_MAIN
13682 # ifdef __cplusplus
13685 int F77_DUMMY_MAIN() { return 1; }
13695 rm -f conftest.
$ac_objext conftest
$ac_exeext
13696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13697 (eval $ac_link) 2>&5
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); } &&
13701 { ac_try
='test -s conftest$ac_exeext'
13702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13703 (eval $ac_try) 2>&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); }; }; then
13707 ac_cv_lib_resolv_dn_expand
=yes
13709 echo "$as_me: failed program was:" >&5
13710 cat conftest.
$ac_ext >&5
13711 ac_cv_lib_resolv_dn_expand
=no
13713 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13714 LIBS
=$ac_check_lib_save_LIBS
13716 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
13717 echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6
13718 if test $ac_cv_lib_resolv_dn_expand = yes; then
13719 cat >>confdefs.h
<<_ACEOF
13720 #define HAVE_LIBRESOLV 1
13723 LIBS
="-lresolv $LIBS"
13729 # Check for the functions putprpwnam, set_auth_parameters,
13730 # getspnam, bigcrypt and getprpwnam in -lsec and -lsecurity
13731 # Needed for OSF1 and HPUX.
13736 for ac_func
in putprpwnam
13738 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13739 echo "$as_me:$LINENO: checking for $ac_func" >&5
13740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13741 if eval "test \"\${$as_ac_var+set}\" = set"; then
13742 echo $ECHO_N "(cached) $ECHO_C" >&6
13744 cat >conftest.
$ac_ext <<_ACEOF
13745 #line $LINENO "configure"
13746 #include "confdefs.h"
13747 /* System header to define __stub macros and hopefully few prototypes,
13748 which can conflict with char $ac_func (); below. */
13749 #include <assert.h>
13750 /* Override any gcc2 internal prototype to avoid an error. */
13754 /* We use char because int might match the return type of a gcc2
13755 builtin and then its argument prototype would still apply. */
13759 #ifdef F77_DUMMY_MAIN
13760 # ifdef __cplusplus
13763 int F77_DUMMY_MAIN() { return 1; }
13768 /* The GNU C library defines this for functions which it implements
13769 to always fail with ENOSYS. Some functions are actually named
13770 something starting with __ and the normal name is an alias. */
13771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13781 rm -f conftest.
$ac_objext conftest
$ac_exeext
13782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13783 (eval $ac_link) 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); } &&
13787 { ac_try
='test -s conftest$ac_exeext'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; }; then
13793 eval "$as_ac_var=yes"
13795 echo "$as_me: failed program was:" >&5
13796 cat conftest.
$ac_ext >&5
13797 eval "$as_ac_var=no"
13799 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13803 if test `eval echo '${'$as_ac_var'}'` = yes; then
13804 cat >>confdefs.h
<<_ACEOF
13805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13812 echo "$as_me:$LINENO: checking for putprpwnam in -lsecurity" >&5
13813 echo $ECHO_N "checking for putprpwnam in -lsecurity... $ECHO_C" >&6
13814 if test "${ac_cv_lib_security_putprpwnam+set}" = set; then
13815 echo $ECHO_N "(cached) $ECHO_C" >&6
13817 ac_check_lib_save_LIBS
=$LIBS
13818 LIBS
="-lsecurity $LIBS"
13819 cat >conftest.
$ac_ext <<_ACEOF
13820 #line $LINENO "configure"
13821 #include "confdefs.h"
13823 /* Override any gcc2 internal prototype to avoid an error. */
13827 /* We use char because int might match the return type of a gcc2
13828 builtin and then its argument prototype would still apply. */
13829 char putprpwnam ();
13830 #ifdef F77_DUMMY_MAIN
13831 # ifdef __cplusplus
13834 int F77_DUMMY_MAIN() { return 1; }
13844 rm -f conftest.
$ac_objext conftest
$ac_exeext
13845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13846 (eval $ac_link) 2>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } &&
13850 { ac_try
='test -s conftest$ac_exeext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 ac_cv_lib_security_putprpwnam
=yes
13858 echo "$as_me: failed program was:" >&5
13859 cat conftest.
$ac_ext >&5
13860 ac_cv_lib_security_putprpwnam
=no
13862 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13863 LIBS
=$ac_check_lib_save_LIBS
13865 echo "$as_me:$LINENO: result: $ac_cv_lib_security_putprpwnam" >&5
13866 echo "${ECHO_T}$ac_cv_lib_security_putprpwnam" >&6
13867 if test $ac_cv_lib_security_putprpwnam = yes; then
13868 cat >>confdefs.h
<<_ACEOF
13869 #define HAVE_LIBSECURITY 1
13872 LIBS
="-lsecurity $LIBS"
13877 for ac_func
in putprpwnam
13879 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13880 echo "$as_me:$LINENO: checking for $ac_func" >&5
13881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13882 if eval "test \"\${$as_ac_var+set}\" = set"; then
13883 echo $ECHO_N "(cached) $ECHO_C" >&6
13885 cat >conftest.
$ac_ext <<_ACEOF
13886 #line $LINENO "configure"
13887 #include "confdefs.h"
13888 /* System header to define __stub macros and hopefully few prototypes,
13889 which can conflict with char $ac_func (); below. */
13890 #include <assert.h>
13891 /* Override any gcc2 internal prototype to avoid an error. */
13895 /* We use char because int might match the return type of a gcc2
13896 builtin and then its argument prototype would still apply. */
13900 #ifdef F77_DUMMY_MAIN
13901 # ifdef __cplusplus
13904 int F77_DUMMY_MAIN() { return 1; }
13909 /* The GNU C library defines this for functions which it implements
13910 to always fail with ENOSYS. Some functions are actually named
13911 something starting with __ and the normal name is an alias. */
13912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13922 rm -f conftest.
$ac_objext conftest
$ac_exeext
13923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13924 (eval $ac_link) 2>&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } &&
13928 { ac_try
='test -s conftest$ac_exeext'
13929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13930 (eval $ac_try) 2>&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; }; then
13934 eval "$as_ac_var=yes"
13936 echo "$as_me: failed program was:" >&5
13937 cat conftest.
$ac_ext >&5
13938 eval "$as_ac_var=no"
13940 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13944 if test `eval echo '${'$as_ac_var'}'` = yes; then
13945 cat >>confdefs.h
<<_ACEOF
13946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13957 for ac_func
in putprpwnam
13959 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13960 echo "$as_me:$LINENO: checking for $ac_func" >&5
13961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13962 if eval "test \"\${$as_ac_var+set}\" = set"; then
13963 echo $ECHO_N "(cached) $ECHO_C" >&6
13965 cat >conftest.
$ac_ext <<_ACEOF
13966 #line $LINENO "configure"
13967 #include "confdefs.h"
13968 /* System header to define __stub macros and hopefully few prototypes,
13969 which can conflict with char $ac_func (); below. */
13970 #include <assert.h>
13971 /* Override any gcc2 internal prototype to avoid an error. */
13975 /* We use char because int might match the return type of a gcc2
13976 builtin and then its argument prototype would still apply. */
13980 #ifdef F77_DUMMY_MAIN
13981 # ifdef __cplusplus
13984 int F77_DUMMY_MAIN() { return 1; }
13989 /* The GNU C library defines this for functions which it implements
13990 to always fail with ENOSYS. Some functions are actually named
13991 something starting with __ and the normal name is an alias. */
13992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14002 rm -f conftest.
$ac_objext conftest
$ac_exeext
14003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14004 (eval $ac_link) 2>&5
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); } &&
14008 { ac_try
='test -s conftest$ac_exeext'
14009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14010 (eval $ac_try) 2>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); }; }; then
14014 eval "$as_ac_var=yes"
14016 echo "$as_me: failed program was:" >&5
14017 cat conftest.
$ac_ext >&5
14018 eval "$as_ac_var=no"
14020 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14024 if test `eval echo '${'$as_ac_var'}'` = yes; then
14025 cat >>confdefs.h
<<_ACEOF
14026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14033 echo "$as_me:$LINENO: checking for putprpwnam in -lsec" >&5
14034 echo $ECHO_N "checking for putprpwnam in -lsec... $ECHO_C" >&6
14035 if test "${ac_cv_lib_sec_putprpwnam+set}" = set; then
14036 echo $ECHO_N "(cached) $ECHO_C" >&6
14038 ac_check_lib_save_LIBS
=$LIBS
14040 cat >conftest.
$ac_ext <<_ACEOF
14041 #line $LINENO "configure"
14042 #include "confdefs.h"
14044 /* Override any gcc2 internal prototype to avoid an error. */
14048 /* We use char because int might match the return type of a gcc2
14049 builtin and then its argument prototype would still apply. */
14050 char putprpwnam ();
14051 #ifdef F77_DUMMY_MAIN
14052 # ifdef __cplusplus
14055 int F77_DUMMY_MAIN() { return 1; }
14065 rm -f conftest.
$ac_objext conftest
$ac_exeext
14066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14067 (eval $ac_link) 2>&5
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); } &&
14071 { ac_try
='test -s conftest$ac_exeext'
14072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14073 (eval $ac_try) 2>&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); }; }; then
14077 ac_cv_lib_sec_putprpwnam
=yes
14079 echo "$as_me: failed program was:" >&5
14080 cat conftest.
$ac_ext >&5
14081 ac_cv_lib_sec_putprpwnam
=no
14083 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14084 LIBS
=$ac_check_lib_save_LIBS
14086 echo "$as_me:$LINENO: result: $ac_cv_lib_sec_putprpwnam" >&5
14087 echo "${ECHO_T}$ac_cv_lib_sec_putprpwnam" >&6
14088 if test $ac_cv_lib_sec_putprpwnam = yes; then
14089 cat >>confdefs.h
<<_ACEOF
14090 #define HAVE_LIBSEC 1
14098 for ac_func
in putprpwnam
14100 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14101 echo "$as_me:$LINENO: checking for $ac_func" >&5
14102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14103 if eval "test \"\${$as_ac_var+set}\" = set"; then
14104 echo $ECHO_N "(cached) $ECHO_C" >&6
14106 cat >conftest.
$ac_ext <<_ACEOF
14107 #line $LINENO "configure"
14108 #include "confdefs.h"
14109 /* System header to define __stub macros and hopefully few prototypes,
14110 which can conflict with char $ac_func (); below. */
14111 #include <assert.h>
14112 /* Override any gcc2 internal prototype to avoid an error. */
14116 /* We use char because int might match the return type of a gcc2
14117 builtin and then its argument prototype would still apply. */
14121 #ifdef F77_DUMMY_MAIN
14122 # ifdef __cplusplus
14125 int F77_DUMMY_MAIN() { return 1; }
14130 /* The GNU C library defines this for functions which it implements
14131 to always fail with ENOSYS. Some functions are actually named
14132 something starting with __ and the normal name is an alias. */
14133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14143 rm -f conftest.
$ac_objext conftest
$ac_exeext
14144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14145 (eval $ac_link) 2>&5
14147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); } &&
14149 { ac_try
='test -s conftest$ac_exeext'
14150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14151 (eval $ac_try) 2>&5
14153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154 (exit $ac_status); }; }; then
14155 eval "$as_ac_var=yes"
14157 echo "$as_me: failed program was:" >&5
14158 cat conftest.
$ac_ext >&5
14159 eval "$as_ac_var=no"
14161 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14165 if test `eval echo '${'$as_ac_var'}'` = yes; then
14166 cat >>confdefs.h
<<_ACEOF
14167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14179 for ac_func
in set_auth_parameters
14181 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14182 echo "$as_me:$LINENO: checking for $ac_func" >&5
14183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14184 if eval "test \"\${$as_ac_var+set}\" = set"; then
14185 echo $ECHO_N "(cached) $ECHO_C" >&6
14187 cat >conftest.
$ac_ext <<_ACEOF
14188 #line $LINENO "configure"
14189 #include "confdefs.h"
14190 /* System header to define __stub macros and hopefully few prototypes,
14191 which can conflict with char $ac_func (); below. */
14192 #include <assert.h>
14193 /* Override any gcc2 internal prototype to avoid an error. */
14197 /* We use char because int might match the return type of a gcc2
14198 builtin and then its argument prototype would still apply. */
14202 #ifdef F77_DUMMY_MAIN
14203 # ifdef __cplusplus
14206 int F77_DUMMY_MAIN() { return 1; }
14211 /* The GNU C library defines this for functions which it implements
14212 to always fail with ENOSYS. Some functions are actually named
14213 something starting with __ and the normal name is an alias. */
14214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14224 rm -f conftest.
$ac_objext conftest
$ac_exeext
14225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14226 (eval $ac_link) 2>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } &&
14230 { ac_try
='test -s conftest$ac_exeext'
14231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14232 (eval $ac_try) 2>&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); }; }; then
14236 eval "$as_ac_var=yes"
14238 echo "$as_me: failed program was:" >&5
14239 cat conftest.
$ac_ext >&5
14240 eval "$as_ac_var=no"
14242 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14246 if test `eval echo '${'$as_ac_var'}'` = yes; then
14247 cat >>confdefs.h
<<_ACEOF
14248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14255 echo "$as_me:$LINENO: checking for set_auth_parameters in -lsecurity" >&5
14256 echo $ECHO_N "checking for set_auth_parameters in -lsecurity... $ECHO_C" >&6
14257 if test "${ac_cv_lib_security_set_auth_parameters+set}" = set; then
14258 echo $ECHO_N "(cached) $ECHO_C" >&6
14260 ac_check_lib_save_LIBS
=$LIBS
14261 LIBS
="-lsecurity $LIBS"
14262 cat >conftest.
$ac_ext <<_ACEOF
14263 #line $LINENO "configure"
14264 #include "confdefs.h"
14266 /* Override any gcc2 internal prototype to avoid an error. */
14270 /* We use char because int might match the return type of a gcc2
14271 builtin and then its argument prototype would still apply. */
14272 char set_auth_parameters ();
14273 #ifdef F77_DUMMY_MAIN
14274 # ifdef __cplusplus
14277 int F77_DUMMY_MAIN() { return 1; }
14282 set_auth_parameters ();
14287 rm -f conftest.
$ac_objext conftest
$ac_exeext
14288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14289 (eval $ac_link) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); } &&
14293 { ac_try
='test -s conftest$ac_exeext'
14294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295 (eval $ac_try) 2>&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; }; then
14299 ac_cv_lib_security_set_auth_parameters
=yes
14301 echo "$as_me: failed program was:" >&5
14302 cat conftest.
$ac_ext >&5
14303 ac_cv_lib_security_set_auth_parameters
=no
14305 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14306 LIBS
=$ac_check_lib_save_LIBS
14308 echo "$as_me:$LINENO: result: $ac_cv_lib_security_set_auth_parameters" >&5
14309 echo "${ECHO_T}$ac_cv_lib_security_set_auth_parameters" >&6
14310 if test $ac_cv_lib_security_set_auth_parameters = yes; then
14311 cat >>confdefs.h
<<_ACEOF
14312 #define HAVE_LIBSECURITY 1
14315 LIBS
="-lsecurity $LIBS"
14320 for ac_func
in set_auth_parameters
14322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14323 echo "$as_me:$LINENO: checking for $ac_func" >&5
14324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14325 if eval "test \"\${$as_ac_var+set}\" = set"; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14328 cat >conftest.
$ac_ext <<_ACEOF
14329 #line $LINENO "configure"
14330 #include "confdefs.h"
14331 /* System header to define __stub macros and hopefully few prototypes,
14332 which can conflict with char $ac_func (); below. */
14333 #include <assert.h>
14334 /* Override any gcc2 internal prototype to avoid an error. */
14338 /* We use char because int might match the return type of a gcc2
14339 builtin and then its argument prototype would still apply. */
14343 #ifdef F77_DUMMY_MAIN
14344 # ifdef __cplusplus
14347 int F77_DUMMY_MAIN() { return 1; }
14352 /* The GNU C library defines this for functions which it implements
14353 to always fail with ENOSYS. Some functions are actually named
14354 something starting with __ and the normal name is an alias. */
14355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14365 rm -f conftest.
$ac_objext conftest
$ac_exeext
14366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14367 (eval $ac_link) 2>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); } &&
14371 { ac_try
='test -s conftest$ac_exeext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14377 eval "$as_ac_var=yes"
14379 echo "$as_me: failed program was:" >&5
14380 cat conftest.
$ac_ext >&5
14381 eval "$as_ac_var=no"
14383 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14387 if test `eval echo '${'$as_ac_var'}'` = yes; then
14388 cat >>confdefs.h
<<_ACEOF
14389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14400 for ac_func
in set_auth_parameters
14402 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14403 echo "$as_me:$LINENO: checking for $ac_func" >&5
14404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14405 if eval "test \"\${$as_ac_var+set}\" = set"; then
14406 echo $ECHO_N "(cached) $ECHO_C" >&6
14408 cat >conftest.
$ac_ext <<_ACEOF
14409 #line $LINENO "configure"
14410 #include "confdefs.h"
14411 /* System header to define __stub macros and hopefully few prototypes,
14412 which can conflict with char $ac_func (); below. */
14413 #include <assert.h>
14414 /* Override any gcc2 internal prototype to avoid an error. */
14418 /* We use char because int might match the return type of a gcc2
14419 builtin and then its argument prototype would still apply. */
14423 #ifdef F77_DUMMY_MAIN
14424 # ifdef __cplusplus
14427 int F77_DUMMY_MAIN() { return 1; }
14432 /* The GNU C library defines this for functions which it implements
14433 to always fail with ENOSYS. Some functions are actually named
14434 something starting with __ and the normal name is an alias. */
14435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14445 rm -f conftest.
$ac_objext conftest
$ac_exeext
14446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14447 (eval $ac_link) 2>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); } &&
14451 { ac_try
='test -s conftest$ac_exeext'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; }; then
14457 eval "$as_ac_var=yes"
14459 echo "$as_me: failed program was:" >&5
14460 cat conftest.
$ac_ext >&5
14461 eval "$as_ac_var=no"
14463 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14467 if test `eval echo '${'$as_ac_var'}'` = yes; then
14468 cat >>confdefs.h
<<_ACEOF
14469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14476 echo "$as_me:$LINENO: checking for set_auth_parameters in -lsec" >&5
14477 echo $ECHO_N "checking for set_auth_parameters in -lsec... $ECHO_C" >&6
14478 if test "${ac_cv_lib_sec_set_auth_parameters+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14481 ac_check_lib_save_LIBS
=$LIBS
14483 cat >conftest.
$ac_ext <<_ACEOF
14484 #line $LINENO "configure"
14485 #include "confdefs.h"
14487 /* Override any gcc2 internal prototype to avoid an error. */
14491 /* We use char because int might match the return type of a gcc2
14492 builtin and then its argument prototype would still apply. */
14493 char set_auth_parameters ();
14494 #ifdef F77_DUMMY_MAIN
14495 # ifdef __cplusplus
14498 int F77_DUMMY_MAIN() { return 1; }
14503 set_auth_parameters ();
14508 rm -f conftest.
$ac_objext conftest
$ac_exeext
14509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14510 (eval $ac_link) 2>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); } &&
14514 { ac_try
='test -s conftest$ac_exeext'
14515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14516 (eval $ac_try) 2>&5
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); }; }; then
14520 ac_cv_lib_sec_set_auth_parameters
=yes
14522 echo "$as_me: failed program was:" >&5
14523 cat conftest.
$ac_ext >&5
14524 ac_cv_lib_sec_set_auth_parameters
=no
14526 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14527 LIBS
=$ac_check_lib_save_LIBS
14529 echo "$as_me:$LINENO: result: $ac_cv_lib_sec_set_auth_parameters" >&5
14530 echo "${ECHO_T}$ac_cv_lib_sec_set_auth_parameters" >&6
14531 if test $ac_cv_lib_sec_set_auth_parameters = yes; then
14532 cat >>confdefs.h
<<_ACEOF
14533 #define HAVE_LIBSEC 1
14541 for ac_func
in set_auth_parameters
14543 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14544 echo "$as_me:$LINENO: checking for $ac_func" >&5
14545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14546 if eval "test \"\${$as_ac_var+set}\" = set"; then
14547 echo $ECHO_N "(cached) $ECHO_C" >&6
14549 cat >conftest.
$ac_ext <<_ACEOF
14550 #line $LINENO "configure"
14551 #include "confdefs.h"
14552 /* System header to define __stub macros and hopefully few prototypes,
14553 which can conflict with char $ac_func (); below. */
14554 #include <assert.h>
14555 /* Override any gcc2 internal prototype to avoid an error. */
14559 /* We use char because int might match the return type of a gcc2
14560 builtin and then its argument prototype would still apply. */
14564 #ifdef F77_DUMMY_MAIN
14565 # ifdef __cplusplus
14568 int F77_DUMMY_MAIN() { return 1; }
14573 /* The GNU C library defines this for functions which it implements
14574 to always fail with ENOSYS. Some functions are actually named
14575 something starting with __ and the normal name is an alias. */
14576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14586 rm -f conftest.
$ac_objext conftest
$ac_exeext
14587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14588 (eval $ac_link) 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } &&
14592 { ac_try
='test -s conftest$ac_exeext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14598 eval "$as_ac_var=yes"
14600 echo "$as_me: failed program was:" >&5
14601 cat conftest.
$ac_ext >&5
14602 eval "$as_ac_var=no"
14604 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14608 if test `eval echo '${'$as_ac_var'}'` = yes; then
14609 cat >>confdefs.h
<<_ACEOF
14610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14620 # UnixWare 7.x has its getspnam in -lgen
14623 for ac_func
in getspnam
14625 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14626 echo "$as_me:$LINENO: checking for $ac_func" >&5
14627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14628 if eval "test \"\${$as_ac_var+set}\" = set"; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14631 cat >conftest.
$ac_ext <<_ACEOF
14632 #line $LINENO "configure"
14633 #include "confdefs.h"
14634 /* System header to define __stub macros and hopefully few prototypes,
14635 which can conflict with char $ac_func (); below. */
14636 #include <assert.h>
14637 /* Override any gcc2 internal prototype to avoid an error. */
14641 /* We use char because int might match the return type of a gcc2
14642 builtin and then its argument prototype would still apply. */
14646 #ifdef F77_DUMMY_MAIN
14647 # ifdef __cplusplus
14650 int F77_DUMMY_MAIN() { return 1; }
14655 /* The GNU C library defines this for functions which it implements
14656 to always fail with ENOSYS. Some functions are actually named
14657 something starting with __ and the normal name is an alias. */
14658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14668 rm -f conftest.
$ac_objext conftest
$ac_exeext
14669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14670 (eval $ac_link) 2>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } &&
14674 { ac_try
='test -s conftest$ac_exeext'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; }; then
14680 eval "$as_ac_var=yes"
14682 echo "$as_me: failed program was:" >&5
14683 cat conftest.
$ac_ext >&5
14684 eval "$as_ac_var=no"
14686 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14690 if test `eval echo '${'$as_ac_var'}'` = yes; then
14691 cat >>confdefs.h
<<_ACEOF
14692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14699 echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5
14700 echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6
14701 if test "${ac_cv_lib_gen_getspnam+set}" = set; then
14702 echo $ECHO_N "(cached) $ECHO_C" >&6
14704 ac_check_lib_save_LIBS
=$LIBS
14706 cat >conftest.
$ac_ext <<_ACEOF
14707 #line $LINENO "configure"
14708 #include "confdefs.h"
14710 /* Override any gcc2 internal prototype to avoid an error. */
14714 /* We use char because int might match the return type of a gcc2
14715 builtin and then its argument prototype would still apply. */
14717 #ifdef F77_DUMMY_MAIN
14718 # ifdef __cplusplus
14721 int F77_DUMMY_MAIN() { return 1; }
14731 rm -f conftest.
$ac_objext conftest
$ac_exeext
14732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14733 (eval $ac_link) 2>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
14737 { ac_try
='test -s conftest$ac_exeext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14743 ac_cv_lib_gen_getspnam
=yes
14745 echo "$as_me: failed program was:" >&5
14746 cat conftest.
$ac_ext >&5
14747 ac_cv_lib_gen_getspnam
=no
14749 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14750 LIBS
=$ac_check_lib_save_LIBS
14752 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
14753 echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6
14754 if test $ac_cv_lib_gen_getspnam = yes; then
14755 cat >>confdefs.h
<<_ACEOF
14756 #define HAVE_LIBGEN 1
14764 for ac_func
in getspnam
14766 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14767 echo "$as_me:$LINENO: checking for $ac_func" >&5
14768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14769 if eval "test \"\${$as_ac_var+set}\" = set"; then
14770 echo $ECHO_N "(cached) $ECHO_C" >&6
14772 cat >conftest.
$ac_ext <<_ACEOF
14773 #line $LINENO "configure"
14774 #include "confdefs.h"
14775 /* System header to define __stub macros and hopefully few prototypes,
14776 which can conflict with char $ac_func (); below. */
14777 #include <assert.h>
14778 /* Override any gcc2 internal prototype to avoid an error. */
14782 /* We use char because int might match the return type of a gcc2
14783 builtin and then its argument prototype would still apply. */
14787 #ifdef F77_DUMMY_MAIN
14788 # ifdef __cplusplus
14791 int F77_DUMMY_MAIN() { return 1; }
14796 /* The GNU C library defines this for functions which it implements
14797 to always fail with ENOSYS. Some functions are actually named
14798 something starting with __ and the normal name is an alias. */
14799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14809 rm -f conftest.
$ac_objext conftest
$ac_exeext
14810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14811 (eval $ac_link) 2>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); } &&
14815 { ac_try
='test -s conftest$ac_exeext'
14816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817 (eval $ac_try) 2>&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; }; then
14821 eval "$as_ac_var=yes"
14823 echo "$as_me: failed program was:" >&5
14824 cat conftest.
$ac_ext >&5
14825 eval "$as_ac_var=no"
14827 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14831 if test `eval echo '${'$as_ac_var'}'` = yes; then
14832 cat >>confdefs.h
<<_ACEOF
14833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14845 for ac_func
in getspnam
14847 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14848 echo "$as_me:$LINENO: checking for $ac_func" >&5
14849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14850 if eval "test \"\${$as_ac_var+set}\" = set"; then
14851 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 cat >conftest.
$ac_ext <<_ACEOF
14854 #line $LINENO "configure"
14855 #include "confdefs.h"
14856 /* System header to define __stub macros and hopefully few prototypes,
14857 which can conflict with char $ac_func (); below. */
14858 #include <assert.h>
14859 /* Override any gcc2 internal prototype to avoid an error. */
14863 /* We use char because int might match the return type of a gcc2
14864 builtin and then its argument prototype would still apply. */
14868 #ifdef F77_DUMMY_MAIN
14869 # ifdef __cplusplus
14872 int F77_DUMMY_MAIN() { return 1; }
14877 /* The GNU C library defines this for functions which it implements
14878 to always fail with ENOSYS. Some functions are actually named
14879 something starting with __ and the normal name is an alias. */
14880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14890 rm -f conftest.
$ac_objext conftest
$ac_exeext
14891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14892 (eval $ac_link) 2>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } &&
14896 { ac_try
='test -s conftest$ac_exeext'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; }; then
14902 eval "$as_ac_var=yes"
14904 echo "$as_me: failed program was:" >&5
14905 cat conftest.
$ac_ext >&5
14906 eval "$as_ac_var=no"
14908 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14912 if test `eval echo '${'$as_ac_var'}'` = yes; then
14913 cat >>confdefs.h
<<_ACEOF
14914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14921 echo "$as_me:$LINENO: checking for getspnam in -lsecurity" >&5
14922 echo $ECHO_N "checking for getspnam in -lsecurity... $ECHO_C" >&6
14923 if test "${ac_cv_lib_security_getspnam+set}" = set; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14926 ac_check_lib_save_LIBS
=$LIBS
14927 LIBS
="-lsecurity $LIBS"
14928 cat >conftest.
$ac_ext <<_ACEOF
14929 #line $LINENO "configure"
14930 #include "confdefs.h"
14932 /* Override any gcc2 internal prototype to avoid an error. */
14936 /* We use char because int might match the return type of a gcc2
14937 builtin and then its argument prototype would still apply. */
14939 #ifdef F77_DUMMY_MAIN
14940 # ifdef __cplusplus
14943 int F77_DUMMY_MAIN() { return 1; }
14953 rm -f conftest.
$ac_objext conftest
$ac_exeext
14954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14955 (eval $ac_link) 2>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } &&
14959 { ac_try
='test -s conftest$ac_exeext'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; }; then
14965 ac_cv_lib_security_getspnam
=yes
14967 echo "$as_me: failed program was:" >&5
14968 cat conftest.
$ac_ext >&5
14969 ac_cv_lib_security_getspnam
=no
14971 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14972 LIBS
=$ac_check_lib_save_LIBS
14974 echo "$as_me:$LINENO: result: $ac_cv_lib_security_getspnam" >&5
14975 echo "${ECHO_T}$ac_cv_lib_security_getspnam" >&6
14976 if test $ac_cv_lib_security_getspnam = yes; then
14977 cat >>confdefs.h
<<_ACEOF
14978 #define HAVE_LIBSECURITY 1
14981 LIBS
="-lsecurity $LIBS"
14986 for ac_func
in getspnam
14988 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14989 echo "$as_me:$LINENO: checking for $ac_func" >&5
14990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14991 if eval "test \"\${$as_ac_var+set}\" = set"; then
14992 echo $ECHO_N "(cached) $ECHO_C" >&6
14994 cat >conftest.
$ac_ext <<_ACEOF
14995 #line $LINENO "configure"
14996 #include "confdefs.h"
14997 /* System header to define __stub macros and hopefully few prototypes,
14998 which can conflict with char $ac_func (); below. */
14999 #include <assert.h>
15000 /* Override any gcc2 internal prototype to avoid an error. */
15004 /* We use char because int might match the return type of a gcc2
15005 builtin and then its argument prototype would still apply. */
15009 #ifdef F77_DUMMY_MAIN
15010 # ifdef __cplusplus
15013 int F77_DUMMY_MAIN() { return 1; }
15018 /* The GNU C library defines this for functions which it implements
15019 to always fail with ENOSYS. Some functions are actually named
15020 something starting with __ and the normal name is an alias. */
15021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15031 rm -f conftest.
$ac_objext conftest
$ac_exeext
15032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15033 (eval $ac_link) 2>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); } &&
15037 { ac_try
='test -s conftest$ac_exeext'
15038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15039 (eval $ac_try) 2>&5
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); }; }; then
15043 eval "$as_ac_var=yes"
15045 echo "$as_me: failed program was:" >&5
15046 cat conftest.
$ac_ext >&5
15047 eval "$as_ac_var=no"
15049 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15053 if test `eval echo '${'$as_ac_var'}'` = yes; then
15054 cat >>confdefs.h
<<_ACEOF
15055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15066 for ac_func
in getspnam
15068 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15069 echo "$as_me:$LINENO: checking for $ac_func" >&5
15070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15071 if eval "test \"\${$as_ac_var+set}\" = set"; then
15072 echo $ECHO_N "(cached) $ECHO_C" >&6
15074 cat >conftest.
$ac_ext <<_ACEOF
15075 #line $LINENO "configure"
15076 #include "confdefs.h"
15077 /* System header to define __stub macros and hopefully few prototypes,
15078 which can conflict with char $ac_func (); below. */
15079 #include <assert.h>
15080 /* Override any gcc2 internal prototype to avoid an error. */
15084 /* We use char because int might match the return type of a gcc2
15085 builtin and then its argument prototype would still apply. */
15089 #ifdef F77_DUMMY_MAIN
15090 # ifdef __cplusplus
15093 int F77_DUMMY_MAIN() { return 1; }
15098 /* The GNU C library defines this for functions which it implements
15099 to always fail with ENOSYS. Some functions are actually named
15100 something starting with __ and the normal name is an alias. */
15101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15111 rm -f conftest.
$ac_objext conftest
$ac_exeext
15112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15113 (eval $ac_link) 2>&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } &&
15117 { ac_try
='test -s conftest$ac_exeext'
15118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15119 (eval $ac_try) 2>&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); }; }; then
15123 eval "$as_ac_var=yes"
15125 echo "$as_me: failed program was:" >&5
15126 cat conftest.
$ac_ext >&5
15127 eval "$as_ac_var=no"
15129 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15133 if test `eval echo '${'$as_ac_var'}'` = yes; then
15134 cat >>confdefs.h
<<_ACEOF
15135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15142 echo "$as_me:$LINENO: checking for getspnam in -lsec" >&5
15143 echo $ECHO_N "checking for getspnam in -lsec... $ECHO_C" >&6
15144 if test "${ac_cv_lib_sec_getspnam+set}" = set; then
15145 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 ac_check_lib_save_LIBS
=$LIBS
15149 cat >conftest.
$ac_ext <<_ACEOF
15150 #line $LINENO "configure"
15151 #include "confdefs.h"
15153 /* Override any gcc2 internal prototype to avoid an error. */
15157 /* We use char because int might match the return type of a gcc2
15158 builtin and then its argument prototype would still apply. */
15160 #ifdef F77_DUMMY_MAIN
15161 # ifdef __cplusplus
15164 int F77_DUMMY_MAIN() { return 1; }
15174 rm -f conftest.
$ac_objext conftest
$ac_exeext
15175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15176 (eval $ac_link) 2>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } &&
15180 { ac_try
='test -s conftest$ac_exeext'
15181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182 (eval $ac_try) 2>&5
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }; }; then
15186 ac_cv_lib_sec_getspnam
=yes
15188 echo "$as_me: failed program was:" >&5
15189 cat conftest.
$ac_ext >&5
15190 ac_cv_lib_sec_getspnam
=no
15192 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15193 LIBS
=$ac_check_lib_save_LIBS
15195 echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getspnam" >&5
15196 echo "${ECHO_T}$ac_cv_lib_sec_getspnam" >&6
15197 if test $ac_cv_lib_sec_getspnam = yes; then
15198 cat >>confdefs.h
<<_ACEOF
15199 #define HAVE_LIBSEC 1
15207 for ac_func
in getspnam
15209 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15210 echo "$as_me:$LINENO: checking for $ac_func" >&5
15211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15212 if eval "test \"\${$as_ac_var+set}\" = set"; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 cat >conftest.
$ac_ext <<_ACEOF
15216 #line $LINENO "configure"
15217 #include "confdefs.h"
15218 /* System header to define __stub macros and hopefully few prototypes,
15219 which can conflict with char $ac_func (); below. */
15220 #include <assert.h>
15221 /* Override any gcc2 internal prototype to avoid an error. */
15225 /* We use char because int might match the return type of a gcc2
15226 builtin and then its argument prototype would still apply. */
15230 #ifdef F77_DUMMY_MAIN
15231 # ifdef __cplusplus
15234 int F77_DUMMY_MAIN() { return 1; }
15239 /* The GNU C library defines this for functions which it implements
15240 to always fail with ENOSYS. Some functions are actually named
15241 something starting with __ and the normal name is an alias. */
15242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15252 rm -f conftest.
$ac_objext conftest
$ac_exeext
15253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15254 (eval $ac_link) 2>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); } &&
15258 { ac_try
='test -s conftest$ac_exeext'
15259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15260 (eval $ac_try) 2>&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); }; }; then
15264 eval "$as_ac_var=yes"
15266 echo "$as_me: failed program was:" >&5
15267 cat conftest.
$ac_ext >&5
15268 eval "$as_ac_var=no"
15270 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15274 if test `eval echo '${'$as_ac_var'}'` = yes; then
15275 cat >>confdefs.h
<<_ACEOF
15276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15288 for ac_func
in bigcrypt
15290 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15291 echo "$as_me:$LINENO: checking for $ac_func" >&5
15292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15293 if eval "test \"\${$as_ac_var+set}\" = set"; then
15294 echo $ECHO_N "(cached) $ECHO_C" >&6
15296 cat >conftest.
$ac_ext <<_ACEOF
15297 #line $LINENO "configure"
15298 #include "confdefs.h"
15299 /* System header to define __stub macros and hopefully few prototypes,
15300 which can conflict with char $ac_func (); below. */
15301 #include <assert.h>
15302 /* Override any gcc2 internal prototype to avoid an error. */
15306 /* We use char because int might match the return type of a gcc2
15307 builtin and then its argument prototype would still apply. */
15311 #ifdef F77_DUMMY_MAIN
15312 # ifdef __cplusplus
15315 int F77_DUMMY_MAIN() { return 1; }
15320 /* The GNU C library defines this for functions which it implements
15321 to always fail with ENOSYS. Some functions are actually named
15322 something starting with __ and the normal name is an alias. */
15323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15333 rm -f conftest.
$ac_objext conftest
$ac_exeext
15334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15335 (eval $ac_link) 2>&5
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); } &&
15339 { ac_try
='test -s conftest$ac_exeext'
15340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15341 (eval $ac_try) 2>&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); }; }; then
15345 eval "$as_ac_var=yes"
15347 echo "$as_me: failed program was:" >&5
15348 cat conftest.
$ac_ext >&5
15349 eval "$as_ac_var=no"
15351 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15355 if test `eval echo '${'$as_ac_var'}'` = yes; then
15356 cat >>confdefs.h
<<_ACEOF
15357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15364 echo "$as_me:$LINENO: checking for bigcrypt in -lsecurity" >&5
15365 echo $ECHO_N "checking for bigcrypt in -lsecurity... $ECHO_C" >&6
15366 if test "${ac_cv_lib_security_bigcrypt+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15369 ac_check_lib_save_LIBS
=$LIBS
15370 LIBS
="-lsecurity $LIBS"
15371 cat >conftest.
$ac_ext <<_ACEOF
15372 #line $LINENO "configure"
15373 #include "confdefs.h"
15375 /* Override any gcc2 internal prototype to avoid an error. */
15379 /* We use char because int might match the return type of a gcc2
15380 builtin and then its argument prototype would still apply. */
15382 #ifdef F77_DUMMY_MAIN
15383 # ifdef __cplusplus
15386 int F77_DUMMY_MAIN() { return 1; }
15396 rm -f conftest.
$ac_objext conftest
$ac_exeext
15397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15398 (eval $ac_link) 2>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } &&
15402 { ac_try
='test -s conftest$ac_exeext'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; }; then
15408 ac_cv_lib_security_bigcrypt
=yes
15410 echo "$as_me: failed program was:" >&5
15411 cat conftest.
$ac_ext >&5
15412 ac_cv_lib_security_bigcrypt
=no
15414 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15415 LIBS
=$ac_check_lib_save_LIBS
15417 echo "$as_me:$LINENO: result: $ac_cv_lib_security_bigcrypt" >&5
15418 echo "${ECHO_T}$ac_cv_lib_security_bigcrypt" >&6
15419 if test $ac_cv_lib_security_bigcrypt = yes; then
15420 cat >>confdefs.h
<<_ACEOF
15421 #define HAVE_LIBSECURITY 1
15424 LIBS
="-lsecurity $LIBS"
15429 for ac_func
in bigcrypt
15431 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15432 echo "$as_me:$LINENO: checking for $ac_func" >&5
15433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15434 if eval "test \"\${$as_ac_var+set}\" = set"; then
15435 echo $ECHO_N "(cached) $ECHO_C" >&6
15437 cat >conftest.
$ac_ext <<_ACEOF
15438 #line $LINENO "configure"
15439 #include "confdefs.h"
15440 /* System header to define __stub macros and hopefully few prototypes,
15441 which can conflict with char $ac_func (); below. */
15442 #include <assert.h>
15443 /* Override any gcc2 internal prototype to avoid an error. */
15447 /* We use char because int might match the return type of a gcc2
15448 builtin and then its argument prototype would still apply. */
15452 #ifdef F77_DUMMY_MAIN
15453 # ifdef __cplusplus
15456 int F77_DUMMY_MAIN() { return 1; }
15461 /* The GNU C library defines this for functions which it implements
15462 to always fail with ENOSYS. Some functions are actually named
15463 something starting with __ and the normal name is an alias. */
15464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15474 rm -f conftest.
$ac_objext conftest
$ac_exeext
15475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15476 (eval $ac_link) 2>&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); } &&
15480 { ac_try
='test -s conftest$ac_exeext'
15481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482 (eval $ac_try) 2>&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); }; }; then
15486 eval "$as_ac_var=yes"
15488 echo "$as_me: failed program was:" >&5
15489 cat conftest.
$ac_ext >&5
15490 eval "$as_ac_var=no"
15492 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15496 if test `eval echo '${'$as_ac_var'}'` = yes; then
15497 cat >>confdefs.h
<<_ACEOF
15498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15509 for ac_func
in bigcrypt
15511 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15512 echo "$as_me:$LINENO: checking for $ac_func" >&5
15513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15514 if eval "test \"\${$as_ac_var+set}\" = set"; then
15515 echo $ECHO_N "(cached) $ECHO_C" >&6
15517 cat >conftest.
$ac_ext <<_ACEOF
15518 #line $LINENO "configure"
15519 #include "confdefs.h"
15520 /* System header to define __stub macros and hopefully few prototypes,
15521 which can conflict with char $ac_func (); below. */
15522 #include <assert.h>
15523 /* Override any gcc2 internal prototype to avoid an error. */
15527 /* We use char because int might match the return type of a gcc2
15528 builtin and then its argument prototype would still apply. */
15532 #ifdef F77_DUMMY_MAIN
15533 # ifdef __cplusplus
15536 int F77_DUMMY_MAIN() { return 1; }
15541 /* The GNU C library defines this for functions which it implements
15542 to always fail with ENOSYS. Some functions are actually named
15543 something starting with __ and the normal name is an alias. */
15544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15554 rm -f conftest.
$ac_objext conftest
$ac_exeext
15555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15556 (eval $ac_link) 2>&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); } &&
15560 { ac_try
='test -s conftest$ac_exeext'
15561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15562 (eval $ac_try) 2>&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; }; then
15566 eval "$as_ac_var=yes"
15568 echo "$as_me: failed program was:" >&5
15569 cat conftest.
$ac_ext >&5
15570 eval "$as_ac_var=no"
15572 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15576 if test `eval echo '${'$as_ac_var'}'` = yes; then
15577 cat >>confdefs.h
<<_ACEOF
15578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15585 echo "$as_me:$LINENO: checking for bigcrypt in -lsec" >&5
15586 echo $ECHO_N "checking for bigcrypt in -lsec... $ECHO_C" >&6
15587 if test "${ac_cv_lib_sec_bigcrypt+set}" = set; then
15588 echo $ECHO_N "(cached) $ECHO_C" >&6
15590 ac_check_lib_save_LIBS
=$LIBS
15592 cat >conftest.
$ac_ext <<_ACEOF
15593 #line $LINENO "configure"
15594 #include "confdefs.h"
15596 /* Override any gcc2 internal prototype to avoid an error. */
15600 /* We use char because int might match the return type of a gcc2
15601 builtin and then its argument prototype would still apply. */
15603 #ifdef F77_DUMMY_MAIN
15604 # ifdef __cplusplus
15607 int F77_DUMMY_MAIN() { return 1; }
15617 rm -f conftest.
$ac_objext conftest
$ac_exeext
15618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15619 (eval $ac_link) 2>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } &&
15623 { ac_try
='test -s conftest$ac_exeext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 ac_cv_lib_sec_bigcrypt
=yes
15631 echo "$as_me: failed program was:" >&5
15632 cat conftest.
$ac_ext >&5
15633 ac_cv_lib_sec_bigcrypt
=no
15635 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15636 LIBS
=$ac_check_lib_save_LIBS
15638 echo "$as_me:$LINENO: result: $ac_cv_lib_sec_bigcrypt" >&5
15639 echo "${ECHO_T}$ac_cv_lib_sec_bigcrypt" >&6
15640 if test $ac_cv_lib_sec_bigcrypt = yes; then
15641 cat >>confdefs.h
<<_ACEOF
15642 #define HAVE_LIBSEC 1
15650 for ac_func
in bigcrypt
15652 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15653 echo "$as_me:$LINENO: checking for $ac_func" >&5
15654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15655 if eval "test \"\${$as_ac_var+set}\" = set"; then
15656 echo $ECHO_N "(cached) $ECHO_C" >&6
15658 cat >conftest.
$ac_ext <<_ACEOF
15659 #line $LINENO "configure"
15660 #include "confdefs.h"
15661 /* System header to define __stub macros and hopefully few prototypes,
15662 which can conflict with char $ac_func (); below. */
15663 #include <assert.h>
15664 /* Override any gcc2 internal prototype to avoid an error. */
15668 /* We use char because int might match the return type of a gcc2
15669 builtin and then its argument prototype would still apply. */
15673 #ifdef F77_DUMMY_MAIN
15674 # ifdef __cplusplus
15677 int F77_DUMMY_MAIN() { return 1; }
15682 /* The GNU C library defines this for functions which it implements
15683 to always fail with ENOSYS. Some functions are actually named
15684 something starting with __ and the normal name is an alias. */
15685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15695 rm -f conftest.
$ac_objext conftest
$ac_exeext
15696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15697 (eval $ac_link) 2>&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); } &&
15701 { ac_try
='test -s conftest$ac_exeext'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; }; then
15707 eval "$as_ac_var=yes"
15709 echo "$as_me: failed program was:" >&5
15710 cat conftest.
$ac_ext >&5
15711 eval "$as_ac_var=no"
15713 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15717 if test `eval echo '${'$as_ac_var'}'` = yes; then
15718 cat >>confdefs.h
<<_ACEOF
15719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15731 for ac_func
in getprpwnam
15733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15734 echo "$as_me:$LINENO: checking for $ac_func" >&5
15735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15736 if eval "test \"\${$as_ac_var+set}\" = set"; then
15737 echo $ECHO_N "(cached) $ECHO_C" >&6
15739 cat >conftest.
$ac_ext <<_ACEOF
15740 #line $LINENO "configure"
15741 #include "confdefs.h"
15742 /* System header to define __stub macros and hopefully few prototypes,
15743 which can conflict with char $ac_func (); below. */
15744 #include <assert.h>
15745 /* Override any gcc2 internal prototype to avoid an error. */
15749 /* We use char because int might match the return type of a gcc2
15750 builtin and then its argument prototype would still apply. */
15754 #ifdef F77_DUMMY_MAIN
15755 # ifdef __cplusplus
15758 int F77_DUMMY_MAIN() { return 1; }
15763 /* The GNU C library defines this for functions which it implements
15764 to always fail with ENOSYS. Some functions are actually named
15765 something starting with __ and the normal name is an alias. */
15766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15776 rm -f conftest.
$ac_objext conftest
$ac_exeext
15777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15778 (eval $ac_link) 2>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); } &&
15782 { ac_try
='test -s conftest$ac_exeext'
15783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784 (eval $ac_try) 2>&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); }; }; then
15788 eval "$as_ac_var=yes"
15790 echo "$as_me: failed program was:" >&5
15791 cat conftest.
$ac_ext >&5
15792 eval "$as_ac_var=no"
15794 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15798 if test `eval echo '${'$as_ac_var'}'` = yes; then
15799 cat >>confdefs.h
<<_ACEOF
15800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15807 echo "$as_me:$LINENO: checking for getprpwnam in -lsecurity" >&5
15808 echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6
15809 if test "${ac_cv_lib_security_getprpwnam+set}" = set; then
15810 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 ac_check_lib_save_LIBS
=$LIBS
15813 LIBS
="-lsecurity $LIBS"
15814 cat >conftest.
$ac_ext <<_ACEOF
15815 #line $LINENO "configure"
15816 #include "confdefs.h"
15818 /* Override any gcc2 internal prototype to avoid an error. */
15822 /* We use char because int might match the return type of a gcc2
15823 builtin and then its argument prototype would still apply. */
15824 char getprpwnam ();
15825 #ifdef F77_DUMMY_MAIN
15826 # ifdef __cplusplus
15829 int F77_DUMMY_MAIN() { return 1; }
15839 rm -f conftest.
$ac_objext conftest
$ac_exeext
15840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15841 (eval $ac_link) 2>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); } &&
15845 { ac_try
='test -s conftest$ac_exeext'
15846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15847 (eval $ac_try) 2>&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); }; }; then
15851 ac_cv_lib_security_getprpwnam
=yes
15853 echo "$as_me: failed program was:" >&5
15854 cat conftest.
$ac_ext >&5
15855 ac_cv_lib_security_getprpwnam
=no
15857 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15858 LIBS
=$ac_check_lib_save_LIBS
15860 echo "$as_me:$LINENO: result: $ac_cv_lib_security_getprpwnam" >&5
15861 echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6
15862 if test $ac_cv_lib_security_getprpwnam = yes; then
15863 cat >>confdefs.h
<<_ACEOF
15864 #define HAVE_LIBSECURITY 1
15867 LIBS
="-lsecurity $LIBS"
15872 for ac_func
in getprpwnam
15874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15875 echo "$as_me:$LINENO: checking for $ac_func" >&5
15876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15877 if eval "test \"\${$as_ac_var+set}\" = set"; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 cat >conftest.
$ac_ext <<_ACEOF
15881 #line $LINENO "configure"
15882 #include "confdefs.h"
15883 /* System header to define __stub macros and hopefully few prototypes,
15884 which can conflict with char $ac_func (); below. */
15885 #include <assert.h>
15886 /* Override any gcc2 internal prototype to avoid an error. */
15890 /* We use char because int might match the return type of a gcc2
15891 builtin and then its argument prototype would still apply. */
15895 #ifdef F77_DUMMY_MAIN
15896 # ifdef __cplusplus
15899 int F77_DUMMY_MAIN() { return 1; }
15904 /* The GNU C library defines this for functions which it implements
15905 to always fail with ENOSYS. Some functions are actually named
15906 something starting with __ and the normal name is an alias. */
15907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15917 rm -f conftest.
$ac_objext conftest
$ac_exeext
15918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15919 (eval $ac_link) 2>&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } &&
15923 { ac_try
='test -s conftest$ac_exeext'
15924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15925 (eval $ac_try) 2>&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); }; }; then
15929 eval "$as_ac_var=yes"
15931 echo "$as_me: failed program was:" >&5
15932 cat conftest.
$ac_ext >&5
15933 eval "$as_ac_var=no"
15935 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15939 if test `eval echo '${'$as_ac_var'}'` = yes; then
15940 cat >>confdefs.h
<<_ACEOF
15941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15952 for ac_func
in getprpwnam
15954 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15955 echo "$as_me:$LINENO: checking for $ac_func" >&5
15956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15957 if eval "test \"\${$as_ac_var+set}\" = set"; then
15958 echo $ECHO_N "(cached) $ECHO_C" >&6
15960 cat >conftest.
$ac_ext <<_ACEOF
15961 #line $LINENO "configure"
15962 #include "confdefs.h"
15963 /* System header to define __stub macros and hopefully few prototypes,
15964 which can conflict with char $ac_func (); below. */
15965 #include <assert.h>
15966 /* Override any gcc2 internal prototype to avoid an error. */
15970 /* We use char because int might match the return type of a gcc2
15971 builtin and then its argument prototype would still apply. */
15975 #ifdef F77_DUMMY_MAIN
15976 # ifdef __cplusplus
15979 int F77_DUMMY_MAIN() { return 1; }
15984 /* The GNU C library defines this for functions which it implements
15985 to always fail with ENOSYS. Some functions are actually named
15986 something starting with __ and the normal name is an alias. */
15987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15997 rm -f conftest.
$ac_objext conftest
$ac_exeext
15998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15999 (eval $ac_link) 2>&5
16001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16002 (exit $ac_status); } &&
16003 { ac_try
='test -s conftest$ac_exeext'
16004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16005 (eval $ac_try) 2>&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); }; }; then
16009 eval "$as_ac_var=yes"
16011 echo "$as_me: failed program was:" >&5
16012 cat conftest.
$ac_ext >&5
16013 eval "$as_ac_var=no"
16015 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16019 if test `eval echo '${'$as_ac_var'}'` = yes; then
16020 cat >>confdefs.h
<<_ACEOF
16021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16028 echo "$as_me:$LINENO: checking for getprpwnam in -lsec" >&5
16029 echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6
16030 if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 ac_check_lib_save_LIBS
=$LIBS
16035 cat >conftest.
$ac_ext <<_ACEOF
16036 #line $LINENO "configure"
16037 #include "confdefs.h"
16039 /* Override any gcc2 internal prototype to avoid an error. */
16043 /* We use char because int might match the return type of a gcc2
16044 builtin and then its argument prototype would still apply. */
16045 char getprpwnam ();
16046 #ifdef F77_DUMMY_MAIN
16047 # ifdef __cplusplus
16050 int F77_DUMMY_MAIN() { return 1; }
16060 rm -f conftest.
$ac_objext conftest
$ac_exeext
16061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16062 (eval $ac_link) 2>&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } &&
16066 { ac_try
='test -s conftest$ac_exeext'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; }; then
16072 ac_cv_lib_sec_getprpwnam
=yes
16074 echo "$as_me: failed program was:" >&5
16075 cat conftest.
$ac_ext >&5
16076 ac_cv_lib_sec_getprpwnam
=no
16078 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16079 LIBS
=$ac_check_lib_save_LIBS
16081 echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getprpwnam" >&5
16082 echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6
16083 if test $ac_cv_lib_sec_getprpwnam = yes; then
16084 cat >>confdefs.h
<<_ACEOF
16085 #define HAVE_LIBSEC 1
16093 for ac_func
in getprpwnam
16095 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16096 echo "$as_me:$LINENO: checking for $ac_func" >&5
16097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16098 if eval "test \"\${$as_ac_var+set}\" = set"; then
16099 echo $ECHO_N "(cached) $ECHO_C" >&6
16101 cat >conftest.
$ac_ext <<_ACEOF
16102 #line $LINENO "configure"
16103 #include "confdefs.h"
16104 /* System header to define __stub macros and hopefully few prototypes,
16105 which can conflict with char $ac_func (); below. */
16106 #include <assert.h>
16107 /* Override any gcc2 internal prototype to avoid an error. */
16111 /* We use char because int might match the return type of a gcc2
16112 builtin and then its argument prototype would still apply. */
16116 #ifdef F77_DUMMY_MAIN
16117 # ifdef __cplusplus
16120 int F77_DUMMY_MAIN() { return 1; }
16125 /* The GNU C library defines this for functions which it implements
16126 to always fail with ENOSYS. Some functions are actually named
16127 something starting with __ and the normal name is an alias. */
16128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16138 rm -f conftest.
$ac_objext conftest
$ac_exeext
16139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16140 (eval $ac_link) 2>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } &&
16144 { ac_try
='test -s conftest$ac_exeext'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; }; then
16150 eval "$as_ac_var=yes"
16152 echo "$as_me: failed program was:" >&5
16153 cat conftest.
$ac_ext >&5
16154 eval "$as_ac_var=no"
16156 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16160 if test `eval echo '${'$as_ac_var'}'` = yes; then
16161 cat >>confdefs.h
<<_ACEOF
16162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16172 # this bit needs to be modified for each OS that is suported by
16173 # smbwrapper. You need to specify how to created a shared library and
16174 # how to compile C code to produce PIC object files
16176 # these are the defaults, good for lots of systems
16178 LDSHFLAGS
="-shared"
16185 # Assume non-shared by default and override below
16187 echo "$as_me:$LINENO: checking ability to build shared libraries" >&5
16188 echo $ECHO_N "checking ability to build shared libraries... $ECHO_C" >&6
16190 # and these are for particular systems
16193 cat >>confdefs.h
<<\_ACEOF
16198 LDSHFLAGS
="-shared"
16199 DYNEXP
="-Wl,--export-dynamic"
16201 SONAMEFLAG
="-Wl,-soname="
16202 cat >>confdefs.h
<<\_ACEOF
16203 #define STAT_ST_BLOCKSIZE 512
16208 cat >>confdefs.h
<<\_ACEOF
16215 if test "${GCC}" = "yes"; then
16217 if test "${ac_cv_prog_gnu_ld}" = "yes"; then
16222 ## ${CFLAGS} added for building 64-bit shared
16223 ## libs using Sun's Compiler
16224 LDSHFLAGS
="-G \${CFLAGS}"
16229 cat >>confdefs.h
<<\_ACEOF
16230 #define STAT_ST_BLOCKSIZE 512
16235 cat >>confdefs.h
<<\_ACEOF
16241 SONAMEFLAG
="-Wl,-h,"
16242 PICFLAG
="-KPIC" # Is this correct for SunOS
16243 cat >>confdefs.h
<<\_ACEOF
16244 #define STAT_ST_BLOCKSIZE 512
16248 *freebsd
*) BLDSHARED
="true"
16249 LDSHFLAGS
="-shared"
16250 DYNEXP
="-Wl,--export-dynamic"
16251 SONAMEFLAG
="-Wl,-soname,"
16252 PICFLAG
="-fPIC -DPIC"
16254 cat >>confdefs.h
<<\_ACEOF
16255 #define STAT_ST_BLOCKSIZE 512
16259 *openbsd
*) BLDSHARED
="true"
16260 LDSHFLAGS
="-shared"
16261 DYNEXP
="-Wl,-Bdynamic"
16262 SONAMEFLAG
="-Wl,-soname,"
16265 cat >>confdefs.h
<<\_ACEOF
16266 #define STAT_ST_BLOCKSIZE 512
16271 cat >>confdefs.h
<<\_ACEOF
16277 cat >>confdefs.h
<<\_ACEOF
16283 ATTEMPT_WRAP32_BUILD
=yes
16285 LDSHFLAGS
="-set_version sgi1.0 -shared"
16286 SONAMEFLAG
="-soname "
16288 if test "${GCC}" = "yes"; then
16294 cat >>confdefs.h
<<\_ACEOF
16295 #define STAT_ST_BLOCKSIZE 512
16300 cat >>confdefs.h
<<\_ACEOF
16305 LDSHFLAGS
="-Wl,-bexpall,-bM:SRE,-bnoentry"
16306 DYNEXP
="-Wl,-brtl,-bexpall"
16308 if test "${GCC}" != "yes"; then
16309 ## for funky AIX compiler using strncpy()
16310 CFLAGS
="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000"
16314 cat >>confdefs.h
<<\_ACEOF
16315 #define STAT_ST_BLOCKSIZE DEV_BSIZE
16320 cat >>confdefs.h
<<\_ACEOF
16325 # Use special PIC flags for the native HP-UX compiler.
16326 if test $ac_cv_prog_cc_Ae = yes; then
16329 LDSHFLAGS
="-B symbolic -b -z"
16335 cat >>confdefs.h
<<\_ACEOF
16336 #define STAT_ST_BLOCKSIZE 8192
16341 cat >>confdefs.h
<<\_ACEOF
16345 cat >>confdefs.h
<<\_ACEOF
16346 #define STAT_ST_BLOCKSIZE 512
16351 cat >>confdefs.h
<<\_ACEOF
16356 LDSHFLAGS
="-shared"
16357 SONAMEFLAG
="-Wl,-soname,"
16359 cat >>confdefs.h
<<\_ACEOF
16360 #define STAT_ST_BLOCKSIZE 512
16365 cat >>confdefs.h
<<\_ACEOF
16369 cat >>confdefs.h
<<\_ACEOF
16370 #define STAT_ST_BLOCKSIZE 512
16375 cat >>confdefs.h
<<\_ACEOF
16380 LDSHFLAGS
="-shared"
16381 SONAMEFLAG
="-Wl,-soname,"
16383 cat >>confdefs.h
<<\_ACEOF
16384 #define STAT_ST_BLOCKSIZE 512
16389 cat >>confdefs.h
<<\_ACEOF
16393 cat >>confdefs.h
<<\_ACEOF
16394 #define STAT_ST_BLOCKSIZE 512
16398 *dgux
*) # Extract the first word of "groff", so it can be a program name with args.
16399 set dummy
groff; ac_word
=$2
16400 echo "$as_me:$LINENO: checking for $ac_word" >&5
16401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16402 if test "${ac_cv_prog_ROFF+set}" = set; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16405 if test -n "$ROFF"; then
16406 ac_cv_prog_ROFF
="$ROFF" # Let the user override the test.
16408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16409 for as_dir
in $PATH
16412 test -z "$as_dir" && as_dir
=.
16413 for ac_exec_ext
in '' $ac_executable_extensions; do
16414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16415 ac_cv_prog_ROFF
="groff -etpsR -Tascii -man"
16416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16424 ROFF
=$ac_cv_prog_ROFF
16425 if test -n "$ROFF"; then
16426 echo "$as_me:$LINENO: result: $ROFF" >&5
16427 echo "${ECHO_T}$ROFF" >&6
16429 echo "$as_me:$LINENO: result: no" >&5
16430 echo "${ECHO_T}no" >&6
16433 cat >>confdefs.h
<<\_ACEOF
16434 #define STAT_ST_BLOCKSIZE 512
16439 cat >>confdefs.h
<<\_ACEOF
16444 *-univel-*) if test "$GCC" != yes ; then
16446 cat >>confdefs.h
<<\_ACEOF
16447 #define HAVE_MEMSET 1
16455 cat >>confdefs.h
<<\_ACEOF
16456 #define RELIANTUNIX 1
16460 cat >>confdefs.h
<<\_ACEOF
16461 #define STAT_ST_BLOCKSIZE 512
16467 cat >>confdefs.h
<<\_ACEOF
16471 if test "$GCC" != yes ; then
16473 cat >>confdefs.h
<<\_ACEOF
16474 #define HAVE_MEMSET 1
16479 cat >>confdefs.h
<<\_ACEOF
16480 #define STAT_ST_BLOCKSIZE 512
16485 cat >>confdefs.h
<<\_ACEOF
16486 #define STAT_ST_BLOCKSIZE 512
16492 echo "$as_me:$LINENO: result: $BLDSHARED" >&5
16493 echo "${ECHO_T}$BLDSHARED" >&6
16494 echo "$as_me:$LINENO: checking linker flags for shared libraries" >&5
16495 echo $ECHO_N "checking linker flags for shared libraries... $ECHO_C" >&6
16496 echo "$as_me:$LINENO: result: $LDSHFLAGS" >&5
16497 echo "${ECHO_T}$LDSHFLAGS" >&6
16498 echo "$as_me:$LINENO: checking compiler flags for position-independent code" >&5
16499 echo $ECHO_N "checking compiler flags for position-independent code... $ECHO_C" >&6
16500 echo "$as_me:$LINENO: result: $PICFLAGS" >&5
16501 echo "${ECHO_T}$PICFLAGS" >&6
16503 #######################################################
16504 # test whether building a shared library actually works
16505 if test $BLDSHARED = true
; then
16506 echo "$as_me:$LINENO: checking whether building shared libraries actually works" >&5
16507 echo $ECHO_N "checking whether building shared libraries actually works... $ECHO_C" >&6
16508 if test "${ac_cv_shlib_works+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16512 ac_cv_shlib_works
=no
16513 # try building a trivial shared library
16514 if test "$PICSUFFIX" = "po"; then
16515 $CC $CPPFLAGS $CFLAGS $PICFLAG -c -o shlib.po
${srcdir-.}/tests
/shlib.c
&&
16516 $CC $CPPFLAGS $CFLAGS `eval echo $LDSHFLAGS` -o shlib.so shlib.po
&&
16517 ac_cv_shlib_works
=yes
16519 $CC $CPPFLAGS $CFLAGS $PICFLAG -c -o shlib.
$PICSUFFIX ${srcdir-.}/tests
/shlib.c
&&
16520 mv shlib.
$PICSUFFIX shlib.po
&&
16521 $CC $CPPFLAGS $CFLAGS `eval echo $LDSHFLAGS` -o shlib.so shlib.po
&&
16522 ac_cv_shlib_works
=yes
16524 rm -f shlib.so shlib.po
16527 echo "$as_me:$LINENO: result: $ac_cv_shlib_works" >&5
16528 echo "${ECHO_T}$ac_cv_shlib_works" >&6
16529 if test $ac_cv_shlib_works = no
; then
16535 # this updates our target list if we can build shared libs
16536 if test $BLDSHARED = true
; then
16537 LIBSMBCLIENT_SHARED
=bin
/libsmbclient.
$SHLIBEXT
16539 LIBSMBCLIENT_SHARED
=
16544 echo "$as_me:$LINENO: checking for long long" >&5
16545 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16546 if test "${samba_cv_have_longlong+set}" = set; then
16547 echo $ECHO_N "(cached) $ECHO_C" >&6
16550 if test "$cross_compiling" = yes; then
16551 samba_cv_have_longlong
=cross
16553 cat >conftest.
$ac_ext <<_ACEOF
16554 #line $LINENO "configure"
16555 #include "confdefs.h"
16557 main() { long long x = 1000000; x *= x; exit(((x/1000000) == 1000000)? 0: 1); }
16559 rm -f conftest
$ac_exeext
16560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16561 (eval $ac_link) 2>&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; }; then
16570 samba_cv_have_longlong
=yes
16572 echo "$as_me: program exited with status $ac_status" >&5
16573 echo "$as_me: failed program was:" >&5
16574 cat conftest.
$ac_ext >&5
16575 ( exit $ac_status )
16576 samba_cv_have_longlong
=no
16578 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16581 echo "$as_me:$LINENO: result: $samba_cv_have_longlong" >&5
16582 echo "${ECHO_T}$samba_cv_have_longlong" >&6
16583 if test x
"$samba_cv_have_longlong" = x
"yes"; then
16585 cat >>confdefs.h
<<\_ACEOF
16586 #define HAVE_LONGLONG 1
16592 # Check if the compiler supports the LL prefix on long long integers.
16595 echo "$as_me:$LINENO: checking for LL suffix on long long integers" >&5
16596 echo $ECHO_N "checking for LL suffix on long long integers... $ECHO_C" >&6
16597 if test "${samba_cv_compiler_supports_ll+set}" = set; then
16598 echo $ECHO_N "(cached) $ECHO_C" >&6
16601 cat >conftest.
$ac_ext <<_ACEOF
16602 #line $LINENO "configure"
16603 #include "confdefs.h"
16605 #ifdef F77_DUMMY_MAIN
16606 # ifdef __cplusplus
16609 int F77_DUMMY_MAIN() { return 1; }
16614 long long i = 0x8000000000LL
16619 rm -f conftest.
$ac_objext
16620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16621 (eval $ac_compile) 2>&5
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); } &&
16625 { ac_try
='test -s conftest.$ac_objext'
16626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16627 (eval $ac_try) 2>&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }; }; then
16631 samba_cv_compiler_supports_ll
=yes
16633 echo "$as_me: failed program was:" >&5
16634 cat conftest.
$ac_ext >&5
16635 samba_cv_compiler_supports_ll
=no
16637 rm -f conftest.
$ac_objext conftest.
$ac_ext
16639 echo "$as_me:$LINENO: result: $samba_cv_compiler_supports_ll" >&5
16640 echo "${ECHO_T}$samba_cv_compiler_supports_ll" >&6
16641 if test x
"$samba_cv_compiler_supports_ll" = x
"yes"; then
16643 cat >>confdefs.h
<<\_ACEOF
16644 #define COMPILER_SUPPORTS_LL 1
16650 echo "$as_me:$LINENO: checking for 64 bit off_t" >&5
16651 echo $ECHO_N "checking for 64 bit off_t... $ECHO_C" >&6
16652 if test "${samba_cv_SIZEOF_OFF_T+set}" = set; then
16653 echo $ECHO_N "(cached) $ECHO_C" >&6
16656 if test "$cross_compiling" = yes; then
16657 samba_cv_SIZEOF_OFF_T
=cross
16659 cat >conftest.
$ac_ext <<_ACEOF
16660 #line $LINENO "configure"
16661 #include "confdefs.h"
16663 #include <sys/stat.h>
16664 main() { exit((sizeof(off_t) == 8) ? 0 : 1); }
16666 rm -f conftest
$ac_exeext
16667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16668 (eval $ac_link) 2>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16673 (eval $ac_try) 2>&5
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }; }; then
16677 samba_cv_SIZEOF_OFF_T
=yes
16679 echo "$as_me: program exited with status $ac_status" >&5
16680 echo "$as_me: failed program was:" >&5
16681 cat conftest.
$ac_ext >&5
16682 ( exit $ac_status )
16683 samba_cv_SIZEOF_OFF_T
=no
16685 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16688 echo "$as_me:$LINENO: result: $samba_cv_SIZEOF_OFF_T" >&5
16689 echo "${ECHO_T}$samba_cv_SIZEOF_OFF_T" >&6
16690 if test x
"$samba_cv_SIZEOF_OFF_T" = x
"yes"; then
16692 cat >>confdefs.h
<<\_ACEOF
16693 #define SIZEOF_OFF_T 8
16698 echo "$as_me:$LINENO: checking for off64_t" >&5
16699 echo $ECHO_N "checking for off64_t... $ECHO_C" >&6
16700 if test "${samba_cv_HAVE_OFF64_T+set}" = set; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16704 if test "$cross_compiling" = yes; then
16705 samba_cv_HAVE_OFF64_T
=cross
16707 cat >conftest.
$ac_ext <<_ACEOF
16708 #line $LINENO "configure"
16709 #include "confdefs.h"
16711 #if defined(HAVE_UNISTD_H)
16712 #include <unistd.h>
16715 #include <sys/stat.h>
16716 main() { struct stat64 st; off64_t s; if (sizeof(off_t) == sizeof(off64_t)) exit(1); exit((lstat64("/dev/null", &st)==0)?0:1); }
16718 rm -f conftest
$ac_exeext
16719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16720 (eval $ac_link) 2>&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; }; then
16729 samba_cv_HAVE_OFF64_T
=yes
16731 echo "$as_me: program exited with status $ac_status" >&5
16732 echo "$as_me: failed program was:" >&5
16733 cat conftest.
$ac_ext >&5
16734 ( exit $ac_status )
16735 samba_cv_HAVE_OFF64_T
=no
16737 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16740 echo "$as_me:$LINENO: result: $samba_cv_HAVE_OFF64_T" >&5
16741 echo "${ECHO_T}$samba_cv_HAVE_OFF64_T" >&6
16742 if test x
"$samba_cv_HAVE_OFF64_T" = x
"yes"; then
16744 cat >>confdefs.h
<<\_ACEOF
16745 #define HAVE_OFF64_T 1
16750 echo "$as_me:$LINENO: checking for 64 bit ino_t" >&5
16751 echo $ECHO_N "checking for 64 bit ino_t... $ECHO_C" >&6
16752 if test "${samba_cv_SIZEOF_INO_T+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16756 if test "$cross_compiling" = yes; then
16757 samba_cv_SIZEOF_INO_T
=cross
16759 cat >conftest.
$ac_ext <<_ACEOF
16760 #line $LINENO "configure"
16761 #include "confdefs.h"
16763 #include <sys/stat.h>
16764 main() { exit((sizeof(ino_t) == 8) ? 0 : 1); }
16766 rm -f conftest
$ac_exeext
16767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16768 (eval $ac_link) 2>&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 samba_cv_SIZEOF_INO_T
=yes
16779 echo "$as_me: program exited with status $ac_status" >&5
16780 echo "$as_me: failed program was:" >&5
16781 cat conftest.
$ac_ext >&5
16782 ( exit $ac_status )
16783 samba_cv_SIZEOF_INO_T
=no
16785 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16788 echo "$as_me:$LINENO: result: $samba_cv_SIZEOF_INO_T" >&5
16789 echo "${ECHO_T}$samba_cv_SIZEOF_INO_T" >&6
16790 if test x
"$samba_cv_SIZEOF_INO_T" = x
"yes"; then
16792 cat >>confdefs.h
<<\_ACEOF
16793 #define SIZEOF_INO_T 8
16798 echo "$as_me:$LINENO: checking for ino64_t" >&5
16799 echo $ECHO_N "checking for ino64_t... $ECHO_C" >&6
16800 if test "${samba_cv_HAVE_INO64_T+set}" = set; then
16801 echo $ECHO_N "(cached) $ECHO_C" >&6
16804 if test "$cross_compiling" = yes; then
16805 samba_cv_HAVE_INO64_T
=cross
16807 cat >conftest.
$ac_ext <<_ACEOF
16808 #line $LINENO "configure"
16809 #include "confdefs.h"
16811 #if defined(HAVE_UNISTD_H)
16812 #include <unistd.h>
16815 #include <sys/stat.h>
16816 main() { struct stat64 st; ino64_t s; if (sizeof(ino_t) == sizeof(ino64_t)) exit(1); exit((lstat64("/dev/null", &st)==0)?0:1); }
16818 rm -f conftest
$ac_exeext
16819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16820 (eval $ac_link) 2>&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; }; then
16829 samba_cv_HAVE_INO64_T
=yes
16831 echo "$as_me: program exited with status $ac_status" >&5
16832 echo "$as_me: failed program was:" >&5
16833 cat conftest.
$ac_ext >&5
16834 ( exit $ac_status )
16835 samba_cv_HAVE_INO64_T
=no
16837 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16840 echo "$as_me:$LINENO: result: $samba_cv_HAVE_INO64_T" >&5
16841 echo "${ECHO_T}$samba_cv_HAVE_INO64_T" >&6
16842 if test x
"$samba_cv_HAVE_INO64_T" = x
"yes"; then
16844 cat >>confdefs.h
<<\_ACEOF
16845 #define HAVE_INO64_T 1
16850 echo "$as_me:$LINENO: checking for dev64_t" >&5
16851 echo $ECHO_N "checking for dev64_t... $ECHO_C" >&6
16852 if test "${samba_cv_HAVE_DEV64_T+set}" = set; then
16853 echo $ECHO_N "(cached) $ECHO_C" >&6
16856 if test "$cross_compiling" = yes; then
16857 samba_cv_HAVE_DEV64_T
=cross
16859 cat >conftest.
$ac_ext <<_ACEOF
16860 #line $LINENO "configure"
16861 #include "confdefs.h"
16863 #if defined(HAVE_UNISTD_H)
16864 #include <unistd.h>
16867 #include <sys/stat.h>
16868 main() { struct stat64 st; dev64_t s; if (sizeof(dev_t) == sizeof(dev64_t)) exit(1); exit((lstat64("/dev/null", &st)==0)?0:1); }
16870 rm -f conftest
$ac_exeext
16871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16872 (eval $ac_link) 2>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16877 (eval $ac_try) 2>&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); }; }; then
16881 samba_cv_HAVE_DEV64_T
=yes
16883 echo "$as_me: program exited with status $ac_status" >&5
16884 echo "$as_me: failed program was:" >&5
16885 cat conftest.
$ac_ext >&5
16886 ( exit $ac_status )
16887 samba_cv_HAVE_DEV64_T
=no
16889 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16892 echo "$as_me:$LINENO: result: $samba_cv_HAVE_DEV64_T" >&5
16893 echo "${ECHO_T}$samba_cv_HAVE_DEV64_T" >&6
16894 if test x
"$samba_cv_HAVE_DEV64_T" = x
"yes"; then
16896 cat >>confdefs.h
<<\_ACEOF
16897 #define HAVE_DEV64_T 1
16902 echo "$as_me:$LINENO: checking for struct dirent64" >&5
16903 echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6
16904 if test "${samba_cv_HAVE_STRUCT_DIRENT64+set}" = set; then
16905 echo $ECHO_N "(cached) $ECHO_C" >&6
16908 cat >conftest.
$ac_ext <<_ACEOF
16909 #line $LINENO "configure"
16910 #include "confdefs.h"
16912 #if defined(HAVE_UNISTD_H)
16913 #include <unistd.h>
16915 #include <sys/types.h>
16916 #include <dirent.h>
16917 #ifdef F77_DUMMY_MAIN
16918 # ifdef __cplusplus
16921 int F77_DUMMY_MAIN() { return 1; }
16926 struct dirent64 de;
16931 rm -f conftest.
$ac_objext
16932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16933 (eval $ac_compile) 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } &&
16937 { ac_try
='test -s conftest.$ac_objext'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16943 samba_cv_HAVE_STRUCT_DIRENT64
=yes
16945 echo "$as_me: failed program was:" >&5
16946 cat conftest.
$ac_ext >&5
16947 samba_cv_HAVE_STRUCT_DIRENT64
=no
16949 rm -f conftest.
$ac_objext conftest.
$ac_ext
16951 echo "$as_me:$LINENO: result: $samba_cv_HAVE_STRUCT_DIRENT64" >&5
16952 echo "${ECHO_T}$samba_cv_HAVE_STRUCT_DIRENT64" >&6
16953 if test x
"$samba_cv_HAVE_STRUCT_DIRENT64" = x
"yes" && test x
"$ac_cv_func_readdir64" = x
"yes"; then
16955 cat >>confdefs.h
<<\_ACEOF
16956 #define HAVE_STRUCT_DIRENT64 1
16961 echo "$as_me:$LINENO: checking for major macro" >&5
16962 echo $ECHO_N "checking for major macro... $ECHO_C" >&6
16963 if test "${samba_cv_HAVE_DEVICE_MAJOR_FN+set}" = set; then
16964 echo $ECHO_N "(cached) $ECHO_C" >&6
16967 if test "$cross_compiling" = yes; then
16968 samba_cv_HAVE_DEVICE_MAJOR_FN
=cross
16970 cat >conftest.
$ac_ext <<_ACEOF
16971 #line $LINENO "configure"
16972 #include "confdefs.h"
16974 #if defined(HAVE_UNISTD_H)
16975 #include <unistd.h>
16977 #include <sys/types.h>
16978 main() { dev_t dev; int i = major(dev); return 0; }
16980 rm -f conftest
$ac_exeext
16981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16982 (eval $ac_link) 2>&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; }; then
16991 samba_cv_HAVE_DEVICE_MAJOR_FN
=yes
16993 echo "$as_me: program exited with status $ac_status" >&5
16994 echo "$as_me: failed program was:" >&5
16995 cat conftest.
$ac_ext >&5
16996 ( exit $ac_status )
16997 samba_cv_HAVE_DEVICE_MAJOR_FN
=no
16999 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17002 echo "$as_me:$LINENO: result: $samba_cv_HAVE_DEVICE_MAJOR_FN" >&5
17003 echo "${ECHO_T}$samba_cv_HAVE_DEVICE_MAJOR_FN" >&6
17004 if test x
"$samba_cv_HAVE_DEVICE_MAJOR_FN" = x
"yes"; then
17006 cat >>confdefs.h
<<\_ACEOF
17007 #define HAVE_DEVICE_MAJOR_FN 1
17012 echo "$as_me:$LINENO: checking for minor macro" >&5
17013 echo $ECHO_N "checking for minor macro... $ECHO_C" >&6
17014 if test "${samba_cv_HAVE_DEVICE_MINOR_FN+set}" = set; then
17015 echo $ECHO_N "(cached) $ECHO_C" >&6
17018 if test "$cross_compiling" = yes; then
17019 samba_cv_HAVE_DEVICE_MINOR_FN
=cross
17021 cat >conftest.
$ac_ext <<_ACEOF
17022 #line $LINENO "configure"
17023 #include "confdefs.h"
17025 #if defined(HAVE_UNISTD_H)
17026 #include <unistd.h>
17028 #include <sys/types.h>
17029 main() { dev_t dev; int i = minor(dev); return 0; }
17031 rm -f conftest
$ac_exeext
17032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17033 (eval $ac_link) 2>&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17038 (eval $ac_try) 2>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; }; then
17042 samba_cv_HAVE_DEVICE_MINOR_FN
=yes
17044 echo "$as_me: program exited with status $ac_status" >&5
17045 echo "$as_me: failed program was:" >&5
17046 cat conftest.
$ac_ext >&5
17047 ( exit $ac_status )
17048 samba_cv_HAVE_DEVICE_MINOR_FN
=no
17050 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17053 echo "$as_me:$LINENO: result: $samba_cv_HAVE_DEVICE_MINOR_FN" >&5
17054 echo "${ECHO_T}$samba_cv_HAVE_DEVICE_MINOR_FN" >&6
17055 if test x
"$samba_cv_HAVE_DEVICE_MINOR_FN" = x
"yes"; then
17057 cat >>confdefs.h
<<\_ACEOF
17058 #define HAVE_DEVICE_MINOR_FN 1
17063 echo "$as_me:$LINENO: checking for unsigned char" >&5
17064 echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6
17065 if test "${samba_cv_HAVE_UNSIGNED_CHAR+set}" = set; then
17066 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 if test "$cross_compiling" = yes; then
17070 samba_cv_HAVE_UNSIGNED_CHAR
=cross
17072 cat >conftest.
$ac_ext <<_ACEOF
17073 #line $LINENO "configure"
17074 #include "confdefs.h"
17076 main() { char c; c=250; exit((c > 0)?0:1); }
17078 rm -f conftest
$ac_exeext
17079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17080 (eval $ac_link) 2>&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17085 (eval $ac_try) 2>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); }; }; then
17089 samba_cv_HAVE_UNSIGNED_CHAR
=yes
17091 echo "$as_me: program exited with status $ac_status" >&5
17092 echo "$as_me: failed program was:" >&5
17093 cat conftest.
$ac_ext >&5
17094 ( exit $ac_status )
17095 samba_cv_HAVE_UNSIGNED_CHAR
=no
17097 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17100 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UNSIGNED_CHAR" >&5
17101 echo "${ECHO_T}$samba_cv_HAVE_UNSIGNED_CHAR" >&6
17102 if test x
"$samba_cv_HAVE_UNSIGNED_CHAR" = x
"yes"; then
17104 cat >>confdefs.h
<<\_ACEOF
17105 #define HAVE_UNSIGNED_CHAR 1
17110 echo "$as_me:$LINENO: checking for sin_len in sock" >&5
17111 echo $ECHO_N "checking for sin_len in sock... $ECHO_C" >&6
17112 if test "${samba_cv_HAVE_SOCK_SIN_LEN+set}" = set; then
17113 echo $ECHO_N "(cached) $ECHO_C" >&6
17116 cat >conftest.
$ac_ext <<_ACEOF
17117 #line $LINENO "configure"
17118 #include "confdefs.h"
17119 #include <sys/types.h>
17120 #include <sys/socket.h>
17121 #include <netinet/in.h>
17122 #ifdef F77_DUMMY_MAIN
17123 # ifdef __cplusplus
17126 int F77_DUMMY_MAIN() { return 1; }
17131 struct sockaddr_in sock; sock.sin_len = sizeof(sock);
17136 rm -f conftest.
$ac_objext
17137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17138 (eval $ac_compile) 2>&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); } &&
17142 { ac_try
='test -s conftest.$ac_objext'
17143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17144 (eval $ac_try) 2>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); }; }; then
17148 samba_cv_HAVE_SOCK_SIN_LEN
=yes
17150 echo "$as_me: failed program was:" >&5
17151 cat conftest.
$ac_ext >&5
17152 samba_cv_HAVE_SOCK_SIN_LEN
=no
17154 rm -f conftest.
$ac_objext conftest.
$ac_ext
17156 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SOCK_SIN_LEN" >&5
17157 echo "${ECHO_T}$samba_cv_HAVE_SOCK_SIN_LEN" >&6
17158 if test x
"$samba_cv_HAVE_SOCK_SIN_LEN" = x
"yes"; then
17160 cat >>confdefs.h
<<\_ACEOF
17161 #define HAVE_SOCK_SIN_LEN 1
17166 echo "$as_me:$LINENO: checking whether seekdir returns void" >&5
17167 echo $ECHO_N "checking whether seekdir returns void... $ECHO_C" >&6
17168 if test "${samba_cv_SEEKDIR_RETURNS_VOID+set}" = set; then
17169 echo $ECHO_N "(cached) $ECHO_C" >&6
17172 cat >conftest.
$ac_ext <<_ACEOF
17173 #line $LINENO "configure"
17174 #include "confdefs.h"
17175 #include <sys/types.h>
17176 #include <dirent.h>
17177 void seekdir(DIR *d, long loc) { return; }
17178 #ifdef F77_DUMMY_MAIN
17179 # ifdef __cplusplus
17182 int F77_DUMMY_MAIN() { return 1; }
17192 rm -f conftest.
$ac_objext
17193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17194 (eval $ac_compile) 2>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); } &&
17198 { ac_try
='test -s conftest.$ac_objext'
17199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17200 (eval $ac_try) 2>&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); }; }; then
17204 samba_cv_SEEKDIR_RETURNS_VOID
=yes
17206 echo "$as_me: failed program was:" >&5
17207 cat conftest.
$ac_ext >&5
17208 samba_cv_SEEKDIR_RETURNS_VOID
=no
17210 rm -f conftest.
$ac_objext conftest.
$ac_ext
17212 echo "$as_me:$LINENO: result: $samba_cv_SEEKDIR_RETURNS_VOID" >&5
17213 echo "${ECHO_T}$samba_cv_SEEKDIR_RETURNS_VOID" >&6
17214 if test x
"$samba_cv_SEEKDIR_RETURNS_VOID" = x
"yes"; then
17216 cat >>confdefs.h
<<\_ACEOF
17217 #define SEEKDIR_RETURNS_VOID 1
17222 echo "$as_me:$LINENO: checking for __FUNCTION__ macro" >&5
17223 echo $ECHO_N "checking for __FUNCTION__ macro... $ECHO_C" >&6
17224 if test "${samba_cv_HAVE_FUNCTION_MACRO+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 cat >conftest.
$ac_ext <<_ACEOF
17229 #line $LINENO "configure"
17230 #include "confdefs.h"
17232 #ifdef F77_DUMMY_MAIN
17233 # ifdef __cplusplus
17236 int F77_DUMMY_MAIN() { return 1; }
17241 printf("%s\n", __FUNCTION__);
17246 rm -f conftest.
$ac_objext
17247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17248 (eval $ac_compile) 2>&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); } &&
17252 { ac_try
='test -s conftest.$ac_objext'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; }; then
17258 samba_cv_HAVE_FUNCTION_MACRO
=yes
17260 echo "$as_me: failed program was:" >&5
17261 cat conftest.
$ac_ext >&5
17262 samba_cv_HAVE_FUNCTION_MACRO
=no
17264 rm -f conftest.
$ac_objext conftest.
$ac_ext
17266 echo "$as_me:$LINENO: result: $samba_cv_HAVE_FUNCTION_MACRO" >&5
17267 echo "${ECHO_T}$samba_cv_HAVE_FUNCTION_MACRO" >&6
17268 if test x
"$samba_cv_HAVE_FUNCTION_MACRO" = x
"yes"; then
17270 cat >>confdefs.h
<<\_ACEOF
17271 #define HAVE_FUNCTION_MACRO 1
17276 echo "$as_me:$LINENO: checking if gettimeofday takes tz argument" >&5
17277 echo $ECHO_N "checking if gettimeofday takes tz argument... $ECHO_C" >&6
17278 if test "${samba_cv_HAVE_GETTIMEOFDAY_TZ+set}" = set; then
17279 echo $ECHO_N "(cached) $ECHO_C" >&6
17282 if test "$cross_compiling" = yes; then
17283 samba_cv_HAVE_GETTIMEOFDAY_TZ
=cross
17285 cat >conftest.
$ac_ext <<_ACEOF
17286 #line $LINENO "configure"
17287 #include "confdefs.h"
17289 #include <sys/time.h>
17290 #include <unistd.h>
17291 main() { struct timeval tv; exit(gettimeofday(&tv, NULL));}
17293 rm -f conftest
$ac_exeext
17294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17295 (eval $ac_link) 2>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17300 (eval $ac_try) 2>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); }; }; then
17304 samba_cv_HAVE_GETTIMEOFDAY_TZ
=yes
17306 echo "$as_me: program exited with status $ac_status" >&5
17307 echo "$as_me: failed program was:" >&5
17308 cat conftest.
$ac_ext >&5
17309 ( exit $ac_status )
17310 samba_cv_HAVE_GETTIMEOFDAY_TZ
=no
17312 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17315 echo "$as_me:$LINENO: result: $samba_cv_HAVE_GETTIMEOFDAY_TZ" >&5
17316 echo "${ECHO_T}$samba_cv_HAVE_GETTIMEOFDAY_TZ" >&6
17317 if test x
"$samba_cv_HAVE_GETTIMEOFDAY_TZ" = x
"yes"; then
17319 cat >>confdefs.h
<<\_ACEOF
17320 #define HAVE_GETTIMEOFDAY_TZ 1
17325 echo "$as_me:$LINENO: checking for __va_copy" >&5
17326 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
17327 if test "${samba_cv_HAVE_VA_COPY+set}" = set; then
17328 echo $ECHO_N "(cached) $ECHO_C" >&6
17331 cat >conftest.
$ac_ext <<_ACEOF
17332 #line $LINENO "configure"
17333 #include "confdefs.h"
17334 #include <stdarg.h>
17336 #ifdef F77_DUMMY_MAIN
17337 # ifdef __cplusplus
17340 int F77_DUMMY_MAIN() { return 1; }
17345 __va_copy(ap1,ap2);
17350 rm -f conftest.
$ac_objext conftest
$ac_exeext
17351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17352 (eval $ac_link) 2>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } &&
17356 { ac_try
='test -s conftest$ac_exeext'
17357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358 (eval $ac_try) 2>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; }; then
17362 samba_cv_HAVE_VA_COPY
=yes
17364 echo "$as_me: failed program was:" >&5
17365 cat conftest.
$ac_ext >&5
17366 samba_cv_HAVE_VA_COPY
=no
17368 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17370 echo "$as_me:$LINENO: result: $samba_cv_HAVE_VA_COPY" >&5
17371 echo "${ECHO_T}$samba_cv_HAVE_VA_COPY" >&6
17372 if test x
"$samba_cv_HAVE_VA_COPY" = x
"yes"; then
17374 cat >>confdefs.h
<<\_ACEOF
17375 #define HAVE_VA_COPY 1
17380 echo "$as_me:$LINENO: checking for C99 vsnprintf" >&5
17381 echo $ECHO_N "checking for C99 vsnprintf... $ECHO_C" >&6
17382 if test "${samba_cv_HAVE_C99_VSNPRINTF+set}" = set; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17386 if test "$cross_compiling" = yes; then
17387 samba_cv_HAVE_C99_VSNPRINTF
=cross
17389 cat >conftest.
$ac_ext <<_ACEOF
17390 #line $LINENO "configure"
17391 #include "confdefs.h"
17393 #include <sys/types.h>
17394 #include <stdarg.h>
17395 void foo(const char *format, ...) {
17400 va_start(ap, format);
17401 len = vsnprintf(buf, 0, format, ap);
17403 if (len != 5) exit(1);
17405 va_start(ap, format);
17406 len = vsnprintf(0, 0, format, ap);
17408 if (len != 5) exit(1);
17410 if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) exit(1);
17414 main() { foo("hello"); }
17417 rm -f conftest
$ac_exeext
17418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17419 (eval $ac_link) 2>&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; }; then
17428 samba_cv_HAVE_C99_VSNPRINTF
=yes
17430 echo "$as_me: program exited with status $ac_status" >&5
17431 echo "$as_me: failed program was:" >&5
17432 cat conftest.
$ac_ext >&5
17433 ( exit $ac_status )
17434 samba_cv_HAVE_C99_VSNPRINTF
=no
17436 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17439 echo "$as_me:$LINENO: result: $samba_cv_HAVE_C99_VSNPRINTF" >&5
17440 echo "${ECHO_T}$samba_cv_HAVE_C99_VSNPRINTF" >&6
17441 if test x
"$samba_cv_HAVE_C99_VSNPRINTF" = x
"yes"; then
17443 cat >>confdefs.h
<<\_ACEOF
17444 #define HAVE_C99_VSNPRINTF 1
17449 echo "$as_me:$LINENO: checking for broken readdir" >&5
17450 echo $ECHO_N "checking for broken readdir... $ECHO_C" >&6
17451 if test "${samba_cv_HAVE_BROKEN_READDIR+set}" = set; then
17452 echo $ECHO_N "(cached) $ECHO_C" >&6
17455 if test "$cross_compiling" = yes; then
17456 samba_cv_HAVE_BROKEN_READDIR
=cross
17458 cat >conftest.
$ac_ext <<_ACEOF
17459 #line $LINENO "configure"
17460 #include "confdefs.h"
17461 #include <sys/types.h>
17462 #include <dirent.h>
17463 main() { struct dirent *di; DIR *d = opendir("."); di = readdir(d);
17464 if (di && di->d_name[-2] == '.' && di->d_name[-1] == 0 &&
17465 di->d_name[0] == 0) exit(0); exit(1);}
17467 rm -f conftest
$ac_exeext
17468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17469 (eval $ac_link) 2>&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; }; then
17478 samba_cv_HAVE_BROKEN_READDIR
=yes
17480 echo "$as_me: program exited with status $ac_status" >&5
17481 echo "$as_me: failed program was:" >&5
17482 cat conftest.
$ac_ext >&5
17483 ( exit $ac_status )
17484 samba_cv_HAVE_BROKEN_READDIR
=no
17486 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17489 echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_READDIR" >&5
17490 echo "${ECHO_T}$samba_cv_HAVE_BROKEN_READDIR" >&6
17491 if test x
"$samba_cv_HAVE_BROKEN_READDIR" = x
"yes"; then
17493 cat >>confdefs.h
<<\_ACEOF
17494 #define HAVE_BROKEN_READDIR 1
17499 echo "$as_me:$LINENO: checking for utimbuf" >&5
17500 echo $ECHO_N "checking for utimbuf... $ECHO_C" >&6
17501 if test "${samba_cv_HAVE_UTIMBUF+set}" = set; then
17502 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 cat >conftest.
$ac_ext <<_ACEOF
17506 #line $LINENO "configure"
17507 #include "confdefs.h"
17508 #include <sys/types.h>
17510 #ifdef F77_DUMMY_MAIN
17511 # ifdef __cplusplus
17514 int F77_DUMMY_MAIN() { return 1; }
17519 struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; exit(utime("foo.c",&tbuf));
17524 rm -f conftest.
$ac_objext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17526 (eval $ac_compile) 2>&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } &&
17530 { ac_try
='test -s conftest.$ac_objext'
17531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17532 (eval $ac_try) 2>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); }; }; then
17536 samba_cv_HAVE_UTIMBUF
=yes
17538 echo "$as_me: failed program was:" >&5
17539 cat conftest.
$ac_ext >&5
17540 samba_cv_HAVE_UTIMBUF
=no
17542 rm -f conftest.
$ac_objext conftest.
$ac_ext
17544 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UTIMBUF" >&5
17545 echo "${ECHO_T}$samba_cv_HAVE_UTIMBUF" >&6
17546 if test x
"$samba_cv_HAVE_UTIMBUF" = x
"yes"; then
17548 cat >>confdefs.h
<<\_ACEOF
17549 #define HAVE_UTIMBUF 1
17560 for ac_func
in pututline pututxline updwtmp updwtmpx getutmpx
17562 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17563 echo "$as_me:$LINENO: checking for $ac_func" >&5
17564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17565 if eval "test \"\${$as_ac_var+set}\" = set"; then
17566 echo $ECHO_N "(cached) $ECHO_C" >&6
17568 cat >conftest.
$ac_ext <<_ACEOF
17569 #line $LINENO "configure"
17570 #include "confdefs.h"
17571 /* System header to define __stub macros and hopefully few prototypes,
17572 which can conflict with char $ac_func (); below. */
17573 #include <assert.h>
17574 /* Override any gcc2 internal prototype to avoid an error. */
17578 /* We use char because int might match the return type of a gcc2
17579 builtin and then its argument prototype would still apply. */
17583 #ifdef F77_DUMMY_MAIN
17584 # ifdef __cplusplus
17587 int F77_DUMMY_MAIN() { return 1; }
17592 /* The GNU C library defines this for functions which it implements
17593 to always fail with ENOSYS. Some functions are actually named
17594 something starting with __ and the normal name is an alias. */
17595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17605 rm -f conftest.
$ac_objext conftest
$ac_exeext
17606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17607 (eval $ac_link) 2>&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } &&
17611 { ac_try
='test -s conftest$ac_exeext'
17612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613 (eval $ac_try) 2>&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); }; }; then
17617 eval "$as_ac_var=yes"
17619 echo "$as_me: failed program was:" >&5
17620 cat conftest.
$ac_ext >&5
17621 eval "$as_ac_var=no"
17623 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17627 if test `eval echo '${'$as_ac_var'}'` = yes; then
17628 cat >>confdefs.h
<<_ACEOF
17629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17636 echo "$as_me:$LINENO: checking for ut_name in utmp" >&5
17637 echo $ECHO_N "checking for ut_name in utmp... $ECHO_C" >&6
17638 if test "${samba_cv_HAVE_UT_UT_NAME+set}" = set; then
17639 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 cat >conftest.
$ac_ext <<_ACEOF
17643 #line $LINENO "configure"
17644 #include "confdefs.h"
17645 #include <sys/types.h>
17647 #ifdef F77_DUMMY_MAIN
17648 # ifdef __cplusplus
17651 int F77_DUMMY_MAIN() { return 1; }
17656 struct utmp ut; ut.ut_name[0] = 'a';
17661 rm -f conftest.
$ac_objext
17662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17663 (eval $ac_compile) 2>&5
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); } &&
17667 { ac_try
='test -s conftest.$ac_objext'
17668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17669 (eval $ac_try) 2>&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); }; }; then
17673 samba_cv_HAVE_UT_UT_NAME
=yes
17675 echo "$as_me: failed program was:" >&5
17676 cat conftest.
$ac_ext >&5
17677 samba_cv_HAVE_UT_UT_NAME
=no
17679 rm -f conftest.
$ac_objext conftest.
$ac_ext
17681 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_NAME" >&5
17682 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_NAME" >&6
17683 if test x
"$samba_cv_HAVE_UT_UT_NAME" = x
"yes"; then
17685 cat >>confdefs.h
<<\_ACEOF
17686 #define HAVE_UT_UT_NAME 1
17691 echo "$as_me:$LINENO: checking for ut_user in utmp" >&5
17692 echo $ECHO_N "checking for ut_user in utmp... $ECHO_C" >&6
17693 if test "${samba_cv_HAVE_UT_UT_USER+set}" = set; then
17694 echo $ECHO_N "(cached) $ECHO_C" >&6
17697 cat >conftest.
$ac_ext <<_ACEOF
17698 #line $LINENO "configure"
17699 #include "confdefs.h"
17700 #include <sys/types.h>
17702 #ifdef F77_DUMMY_MAIN
17703 # ifdef __cplusplus
17706 int F77_DUMMY_MAIN() { return 1; }
17711 struct utmp ut; ut.ut_user[0] = 'a';
17716 rm -f conftest.
$ac_objext
17717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17718 (eval $ac_compile) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } &&
17722 { ac_try
='test -s conftest.$ac_objext'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; }; then
17728 samba_cv_HAVE_UT_UT_USER
=yes
17730 echo "$as_me: failed program was:" >&5
17731 cat conftest.
$ac_ext >&5
17732 samba_cv_HAVE_UT_UT_USER
=no
17734 rm -f conftest.
$ac_objext conftest.
$ac_ext
17736 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_USER" >&5
17737 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_USER" >&6
17738 if test x
"$samba_cv_HAVE_UT_UT_USER" = x
"yes"; then
17740 cat >>confdefs.h
<<\_ACEOF
17741 #define HAVE_UT_UT_USER 1
17746 echo "$as_me:$LINENO: checking for ut_id in utmp" >&5
17747 echo $ECHO_N "checking for ut_id in utmp... $ECHO_C" >&6
17748 if test "${samba_cv_HAVE_UT_UT_ID+set}" = set; then
17749 echo $ECHO_N "(cached) $ECHO_C" >&6
17752 cat >conftest.
$ac_ext <<_ACEOF
17753 #line $LINENO "configure"
17754 #include "confdefs.h"
17755 #include <sys/types.h>
17757 #ifdef F77_DUMMY_MAIN
17758 # ifdef __cplusplus
17761 int F77_DUMMY_MAIN() { return 1; }
17766 struct utmp ut; ut.ut_id[0] = 'a';
17771 rm -f conftest.
$ac_objext
17772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17773 (eval $ac_compile) 2>&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); } &&
17777 { ac_try
='test -s conftest.$ac_objext'
17778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779 (eval $ac_try) 2>&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); }; }; then
17783 samba_cv_HAVE_UT_UT_ID
=yes
17785 echo "$as_me: failed program was:" >&5
17786 cat conftest.
$ac_ext >&5
17787 samba_cv_HAVE_UT_UT_ID
=no
17789 rm -f conftest.
$ac_objext conftest.
$ac_ext
17791 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_ID" >&5
17792 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_ID" >&6
17793 if test x
"$samba_cv_HAVE_UT_UT_ID" = x
"yes"; then
17795 cat >>confdefs.h
<<\_ACEOF
17796 #define HAVE_UT_UT_ID 1
17801 echo "$as_me:$LINENO: checking for ut_host in utmp" >&5
17802 echo $ECHO_N "checking for ut_host in utmp... $ECHO_C" >&6
17803 if test "${samba_cv_HAVE_UT_UT_HOST+set}" = set; then
17804 echo $ECHO_N "(cached) $ECHO_C" >&6
17807 cat >conftest.
$ac_ext <<_ACEOF
17808 #line $LINENO "configure"
17809 #include "confdefs.h"
17810 #include <sys/types.h>
17812 #ifdef F77_DUMMY_MAIN
17813 # ifdef __cplusplus
17816 int F77_DUMMY_MAIN() { return 1; }
17821 struct utmp ut; ut.ut_host[0] = 'a';
17826 rm -f conftest.
$ac_objext
17827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17828 (eval $ac_compile) 2>&5
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); } &&
17832 { ac_try
='test -s conftest.$ac_objext'
17833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17834 (eval $ac_try) 2>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); }; }; then
17838 samba_cv_HAVE_UT_UT_HOST
=yes
17840 echo "$as_me: failed program was:" >&5
17841 cat conftest.
$ac_ext >&5
17842 samba_cv_HAVE_UT_UT_HOST
=no
17844 rm -f conftest.
$ac_objext conftest.
$ac_ext
17846 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_HOST" >&5
17847 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_HOST" >&6
17848 if test x
"$samba_cv_HAVE_UT_UT_HOST" = x
"yes"; then
17850 cat >>confdefs.h
<<\_ACEOF
17851 #define HAVE_UT_UT_HOST 1
17856 echo "$as_me:$LINENO: checking for ut_time in utmp" >&5
17857 echo $ECHO_N "checking for ut_time in utmp... $ECHO_C" >&6
17858 if test "${samba_cv_HAVE_UT_UT_TIME+set}" = set; then
17859 echo $ECHO_N "(cached) $ECHO_C" >&6
17862 cat >conftest.
$ac_ext <<_ACEOF
17863 #line $LINENO "configure"
17864 #include "confdefs.h"
17865 #include <sys/types.h>
17867 #ifdef F77_DUMMY_MAIN
17868 # ifdef __cplusplus
17871 int F77_DUMMY_MAIN() { return 1; }
17876 struct utmp ut; time_t t; ut.ut_time = t;
17881 rm -f conftest.
$ac_objext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17883 (eval $ac_compile) 2>&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } &&
17887 { ac_try
='test -s conftest.$ac_objext'
17888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17889 (eval $ac_try) 2>&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); }; }; then
17893 samba_cv_HAVE_UT_UT_TIME
=yes
17895 echo "$as_me: failed program was:" >&5
17896 cat conftest.
$ac_ext >&5
17897 samba_cv_HAVE_UT_UT_TIME
=no
17899 rm -f conftest.
$ac_objext conftest.
$ac_ext
17901 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_TIME" >&5
17902 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_TIME" >&6
17903 if test x
"$samba_cv_HAVE_UT_UT_TIME" = x
"yes"; then
17905 cat >>confdefs.h
<<\_ACEOF
17906 #define HAVE_UT_UT_TIME 1
17911 echo "$as_me:$LINENO: checking for ut_tv in utmp" >&5
17912 echo $ECHO_N "checking for ut_tv in utmp... $ECHO_C" >&6
17913 if test "${samba_cv_HAVE_UT_UT_TV+set}" = set; then
17914 echo $ECHO_N "(cached) $ECHO_C" >&6
17917 cat >conftest.
$ac_ext <<_ACEOF
17918 #line $LINENO "configure"
17919 #include "confdefs.h"
17920 #include <sys/types.h>
17922 #ifdef F77_DUMMY_MAIN
17923 # ifdef __cplusplus
17926 int F77_DUMMY_MAIN() { return 1; }
17931 struct utmp ut; struct timeval tv; ut.ut_tv = tv;
17936 rm -f conftest.
$ac_objext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17938 (eval $ac_compile) 2>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } &&
17942 { ac_try
='test -s conftest.$ac_objext'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; }; then
17948 samba_cv_HAVE_UT_UT_TV
=yes
17950 echo "$as_me: failed program was:" >&5
17951 cat conftest.
$ac_ext >&5
17952 samba_cv_HAVE_UT_UT_TV
=no
17954 rm -f conftest.
$ac_objext conftest.
$ac_ext
17956 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_TV" >&5
17957 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_TV" >&6
17958 if test x
"$samba_cv_HAVE_UT_UT_TV" = x
"yes"; then
17960 cat >>confdefs.h
<<\_ACEOF
17961 #define HAVE_UT_UT_TV 1
17966 echo "$as_me:$LINENO: checking for ut_type in utmp" >&5
17967 echo $ECHO_N "checking for ut_type in utmp... $ECHO_C" >&6
17968 if test "${samba_cv_HAVE_UT_UT_TYPE+set}" = set; then
17969 echo $ECHO_N "(cached) $ECHO_C" >&6
17972 cat >conftest.
$ac_ext <<_ACEOF
17973 #line $LINENO "configure"
17974 #include "confdefs.h"
17975 #include <sys/types.h>
17977 #ifdef F77_DUMMY_MAIN
17978 # ifdef __cplusplus
17981 int F77_DUMMY_MAIN() { return 1; }
17986 struct utmp ut; ut.ut_type = 0;
17991 rm -f conftest.
$ac_objext
17992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17993 (eval $ac_compile) 2>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } &&
17997 { ac_try
='test -s conftest.$ac_objext'
17998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17999 (eval $ac_try) 2>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); }; }; then
18003 samba_cv_HAVE_UT_UT_TYPE
=yes
18005 echo "$as_me: failed program was:" >&5
18006 cat conftest.
$ac_ext >&5
18007 samba_cv_HAVE_UT_UT_TYPE
=no
18009 rm -f conftest.
$ac_objext conftest.
$ac_ext
18011 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_TYPE" >&5
18012 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_TYPE" >&6
18013 if test x
"$samba_cv_HAVE_UT_UT_TYPE" = x
"yes"; then
18015 cat >>confdefs.h
<<\_ACEOF
18016 #define HAVE_UT_UT_TYPE 1
18021 echo "$as_me:$LINENO: checking for ut_pid in utmp" >&5
18022 echo $ECHO_N "checking for ut_pid in utmp... $ECHO_C" >&6
18023 if test "${samba_cv_HAVE_UT_UT_PID+set}" = set; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18027 cat >conftest.
$ac_ext <<_ACEOF
18028 #line $LINENO "configure"
18029 #include "confdefs.h"
18030 #include <sys/types.h>
18032 #ifdef F77_DUMMY_MAIN
18033 # ifdef __cplusplus
18036 int F77_DUMMY_MAIN() { return 1; }
18041 struct utmp ut; ut.ut_pid = 0;
18046 rm -f conftest.
$ac_objext
18047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18048 (eval $ac_compile) 2>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } &&
18052 { ac_try
='test -s conftest.$ac_objext'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; }; then
18058 samba_cv_HAVE_UT_UT_PID
=yes
18060 echo "$as_me: failed program was:" >&5
18061 cat conftest.
$ac_ext >&5
18062 samba_cv_HAVE_UT_UT_PID
=no
18064 rm -f conftest.
$ac_objext conftest.
$ac_ext
18066 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_PID" >&5
18067 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_PID" >&6
18068 if test x
"$samba_cv_HAVE_UT_UT_PID" = x
"yes"; then
18070 cat >>confdefs.h
<<\_ACEOF
18071 #define HAVE_UT_UT_PID 1
18076 echo "$as_me:$LINENO: checking for ut_exit in utmp" >&5
18077 echo $ECHO_N "checking for ut_exit in utmp... $ECHO_C" >&6
18078 if test "${samba_cv_HAVE_UT_UT_EXIT+set}" = set; then
18079 echo $ECHO_N "(cached) $ECHO_C" >&6
18082 cat >conftest.
$ac_ext <<_ACEOF
18083 #line $LINENO "configure"
18084 #include "confdefs.h"
18085 #include <sys/types.h>
18087 #ifdef F77_DUMMY_MAIN
18088 # ifdef __cplusplus
18091 int F77_DUMMY_MAIN() { return 1; }
18096 struct utmp ut; ut.ut_exit.e_exit = 0;
18101 rm -f conftest.
$ac_objext
18102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18103 (eval $ac_compile) 2>&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); } &&
18107 { ac_try
='test -s conftest.$ac_objext'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; }; then
18113 samba_cv_HAVE_UT_UT_EXIT
=yes
18115 echo "$as_me: failed program was:" >&5
18116 cat conftest.
$ac_ext >&5
18117 samba_cv_HAVE_UT_UT_EXIT
=no
18119 rm -f conftest.
$ac_objext conftest.
$ac_ext
18121 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_EXIT" >&5
18122 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_EXIT" >&6
18123 if test x
"$samba_cv_HAVE_UT_UT_EXIT" = x
"yes"; then
18125 cat >>confdefs.h
<<\_ACEOF
18126 #define HAVE_UT_UT_EXIT 1
18131 echo "$as_me:$LINENO: checking for ut_addr in utmp" >&5
18132 echo $ECHO_N "checking for ut_addr in utmp... $ECHO_C" >&6
18133 if test "${samba_cv_HAVE_UT_UT_ADDR+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18137 cat >conftest.
$ac_ext <<_ACEOF
18138 #line $LINENO "configure"
18139 #include "confdefs.h"
18140 #include <sys/types.h>
18142 #ifdef F77_DUMMY_MAIN
18143 # ifdef __cplusplus
18146 int F77_DUMMY_MAIN() { return 1; }
18151 struct utmp ut; ut.ut_addr = 0;
18156 rm -f conftest.
$ac_objext
18157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18158 (eval $ac_compile) 2>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } &&
18162 { ac_try
='test -s conftest.$ac_objext'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; }; then
18168 samba_cv_HAVE_UT_UT_ADDR
=yes
18170 echo "$as_me: failed program was:" >&5
18171 cat conftest.
$ac_ext >&5
18172 samba_cv_HAVE_UT_UT_ADDR
=no
18174 rm -f conftest.
$ac_objext conftest.
$ac_ext
18176 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_ADDR" >&5
18177 echo "${ECHO_T}$samba_cv_HAVE_UT_UT_ADDR" >&6
18178 if test x
"$samba_cv_HAVE_UT_UT_ADDR" = x
"yes"; then
18180 cat >>confdefs.h
<<\_ACEOF
18181 #define HAVE_UT_UT_ADDR 1
18186 if test x
$ac_cv_func_pututline = xyes
; then
18187 echo "$as_me:$LINENO: checking whether pututline returns pointer" >&5
18188 echo $ECHO_N "checking whether pututline returns pointer... $ECHO_C" >&6
18189 if test "${samba_cv_PUTUTLINE_RETURNS_UTMP+set}" = set; then
18190 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 cat >conftest.
$ac_ext <<_ACEOF
18194 #line $LINENO "configure"
18195 #include "confdefs.h"
18196 #include <sys/types.h>
18198 #ifdef F77_DUMMY_MAIN
18199 # ifdef __cplusplus
18202 int F77_DUMMY_MAIN() { return 1; }
18207 struct utmp utarg; struct utmp *utreturn; utreturn = pututline(&utarg);
18212 rm -f conftest.
$ac_objext
18213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18214 (eval $ac_compile) 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } &&
18218 { ac_try
='test -s conftest.$ac_objext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 samba_cv_PUTUTLINE_RETURNS_UTMP
=yes
18226 echo "$as_me: failed program was:" >&5
18227 cat conftest.
$ac_ext >&5
18228 samba_cv_PUTUTLINE_RETURNS_UTMP
=no
18230 rm -f conftest.
$ac_objext conftest.
$ac_ext
18232 echo "$as_me:$LINENO: result: $samba_cv_PUTUTLINE_RETURNS_UTMP" >&5
18233 echo "${ECHO_T}$samba_cv_PUTUTLINE_RETURNS_UTMP" >&6
18234 if test x
"$samba_cv_PUTUTLINE_RETURNS_UTMP" = x
"yes"; then
18236 cat >>confdefs.h
<<\_ACEOF
18237 #define PUTUTLINE_RETURNS_UTMP 1
18243 echo "$as_me:$LINENO: checking for ut_syslen in utmpx" >&5
18244 echo $ECHO_N "checking for ut_syslen in utmpx... $ECHO_C" >&6
18245 if test "${samba_cv_HAVE_UX_UT_SYSLEN+set}" = set; then
18246 echo $ECHO_N "(cached) $ECHO_C" >&6
18249 cat >conftest.
$ac_ext <<_ACEOF
18250 #line $LINENO "configure"
18251 #include "confdefs.h"
18252 #include <sys/types.h>
18254 #ifdef F77_DUMMY_MAIN
18255 # ifdef __cplusplus
18258 int F77_DUMMY_MAIN() { return 1; }
18263 struct utmpx ux; ux.ut_syslen = 0;
18268 rm -f conftest.
$ac_objext
18269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18270 (eval $ac_compile) 2>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } &&
18274 { ac_try
='test -s conftest.$ac_objext'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 samba_cv_HAVE_UX_UT_SYSLEN
=yes
18282 echo "$as_me: failed program was:" >&5
18283 cat conftest.
$ac_ext >&5
18284 samba_cv_HAVE_UX_UT_SYSLEN
=no
18286 rm -f conftest.
$ac_objext conftest.
$ac_ext
18288 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UX_UT_SYSLEN" >&5
18289 echo "${ECHO_T}$samba_cv_HAVE_UX_UT_SYSLEN" >&6
18290 if test x
"$samba_cv_HAVE_UX_UT_SYSLEN" = x
"yes"; then
18292 cat >>confdefs.h
<<\_ACEOF
18293 #define HAVE_UX_UT_SYSLEN 1
18299 #################################################
18300 # check for libiconv support
18301 echo "$as_me:$LINENO: checking whether to use libiconv" >&5
18302 echo $ECHO_N "checking whether to use libiconv... $ECHO_C" >&6
18304 # Check whether --with-libiconv or --without-libiconv was given.
18305 if test "${with_libiconv+set}" = set; then
18306 withval
="$with_libiconv"
18309 echo "$as_me:$LINENO: result: no" >&5
18310 echo "${ECHO_T}no" >&6
18313 echo "$as_me:$LINENO: result: yes" >&5
18314 echo "${ECHO_T}yes" >&6
18315 CFLAGS
="$CFLAGS -I$withval/include"
18316 LDFLAGS
="$LDFLAGS -L$withval/lib"
18318 echo "$as_me:$LINENO: checking for iconv_open in -liconv" >&5
18319 echo $ECHO_N "checking for iconv_open in -liconv... $ECHO_C" >&6
18320 if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then
18321 echo $ECHO_N "(cached) $ECHO_C" >&6
18323 ac_check_lib_save_LIBS
=$LIBS
18324 LIBS
="-liconv $LIBS"
18325 cat >conftest.
$ac_ext <<_ACEOF
18326 #line $LINENO "configure"
18327 #include "confdefs.h"
18329 /* Override any gcc2 internal prototype to avoid an error. */
18333 /* We use char because int might match the return type of a gcc2
18334 builtin and then its argument prototype would still apply. */
18335 char iconv_open ();
18336 #ifdef F77_DUMMY_MAIN
18337 # ifdef __cplusplus
18340 int F77_DUMMY_MAIN() { return 1; }
18350 rm -f conftest.
$ac_objext conftest
$ac_exeext
18351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18352 (eval $ac_link) 2>&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } &&
18356 { ac_try
='test -s conftest$ac_exeext'
18357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18358 (eval $ac_try) 2>&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); }; }; then
18362 ac_cv_lib_iconv_iconv_open
=yes
18364 echo "$as_me: failed program was:" >&5
18365 cat conftest.
$ac_ext >&5
18366 ac_cv_lib_iconv_iconv_open
=no
18368 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18369 LIBS
=$ac_check_lib_save_LIBS
18371 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
18372 echo "${ECHO_T}$ac_cv_lib_iconv_iconv_open" >&6
18373 if test $ac_cv_lib_iconv_iconv_open = yes; then
18374 cat >>confdefs.h
<<_ACEOF
18375 #define HAVE_LIBICONV 1
18378 LIBS
="-liconv $LIBS"
18383 cat >>confdefs.h
<<_ACEOF
18384 #define WITH_LIBICONV "${withval}"
18390 echo "$as_me:$LINENO: result: no" >&5
18391 echo "${ECHO_T}no" >&6
18397 # check for iconv in libc
18398 echo "$as_me:$LINENO: checking for working iconv" >&5
18399 echo $ECHO_N "checking for working iconv... $ECHO_C" >&6
18400 if test "${samba_cv_HAVE_NATIVE_ICONV+set}" = set; then
18401 echo $ECHO_N "(cached) $ECHO_C" >&6
18404 if test "$cross_compiling" = yes; then
18405 samba_cv_HAVE_NATIVE_ICONV
=cross
18407 cat >conftest.
$ac_ext <<_ACEOF
18408 #line $LINENO "configure"
18409 #include "confdefs.h"
18413 iconv_t cd = iconv_open("ASCII", "UCS-2LE");
18414 if (cd == 0 || cd == (iconv_t)-1) return -1;
18419 rm -f conftest
$ac_exeext
18420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18421 (eval $ac_link) 2>&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; }; then
18430 samba_cv_HAVE_NATIVE_ICONV
=yes
18432 echo "$as_me: program exited with status $ac_status" >&5
18433 echo "$as_me: failed program was:" >&5
18434 cat conftest.
$ac_ext >&5
18435 ( exit $ac_status )
18436 samba_cv_HAVE_NATIVE_ICONV
=no
18438 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18441 echo "$as_me:$LINENO: result: $samba_cv_HAVE_NATIVE_ICONV" >&5
18442 echo "${ECHO_T}$samba_cv_HAVE_NATIVE_ICONV" >&6
18443 if test x
"$samba_cv_HAVE_NATIVE_ICONV" = x
"yes"; then
18445 cat >>confdefs.h
<<\_ACEOF
18446 #define HAVE_NATIVE_ICONV 1
18452 echo "$as_me:$LINENO: checking for Linux kernel oplocks" >&5
18453 echo $ECHO_N "checking for Linux kernel oplocks... $ECHO_C" >&6
18454 if test "${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX+set}" = set; then
18455 echo $ECHO_N "(cached) $ECHO_C" >&6
18458 if test "$cross_compiling" = yes; then
18459 samba_cv_HAVE_KERNEL_OPLOCKS_LINUX
=cross
18461 cat >conftest.
$ac_ext <<_ACEOF
18462 #line $LINENO "configure"
18463 #include "confdefs.h"
18465 #include <sys/types.h>
18468 #define F_GETLEASE 1025
18471 int fd = open("/dev/null", O_RDONLY);
18472 return fcntl(fd, F_GETLEASE, 0) == -1;
18476 rm -f conftest
$ac_exeext
18477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18478 (eval $ac_link) 2>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 samba_cv_HAVE_KERNEL_OPLOCKS_LINUX
=yes
18489 echo "$as_me: program exited with status $ac_status" >&5
18490 echo "$as_me: failed program was:" >&5
18491 cat conftest.
$ac_ext >&5
18492 ( exit $ac_status )
18493 samba_cv_HAVE_KERNEL_OPLOCKS_LINUX
=no
18495 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18498 echo "$as_me:$LINENO: result: $samba_cv_HAVE_KERNEL_OPLOCKS_LINUX" >&5
18499 echo "${ECHO_T}$samba_cv_HAVE_KERNEL_OPLOCKS_LINUX" >&6
18500 if test x
"$samba_cv_HAVE_KERNEL_OPLOCKS_LINUX" = x
"yes"; then
18502 cat >>confdefs.h
<<\_ACEOF
18503 #define HAVE_KERNEL_OPLOCKS_LINUX 1
18508 echo "$as_me:$LINENO: checking for kernel change notify support" >&5
18509 echo $ECHO_N "checking for kernel change notify support... $ECHO_C" >&6
18510 if test "${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY+set}" = set; then
18511 echo $ECHO_N "(cached) $ECHO_C" >&6
18514 if test "$cross_compiling" = yes; then
18515 samba_cv_HAVE_KERNEL_CHANGE_NOTIFY
=cross
18517 cat >conftest.
$ac_ext <<_ACEOF
18518 #line $LINENO "configure"
18519 #include "confdefs.h"
18521 #include <sys/types.h>
18523 #include <signal.h>
18525 #define F_NOTIFY 1026
18528 exit(fcntl(open("/tmp", O_RDONLY), F_NOTIFY, 0) == -1 ? 1 : 0);
18532 rm -f conftest
$ac_exeext
18533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18534 (eval $ac_link) 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18539 (eval $ac_try) 2>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; }; then
18543 samba_cv_HAVE_KERNEL_CHANGE_NOTIFY
=yes
18545 echo "$as_me: program exited with status $ac_status" >&5
18546 echo "$as_me: failed program was:" >&5
18547 cat conftest.
$ac_ext >&5
18548 ( exit $ac_status )
18549 samba_cv_HAVE_KERNEL_CHANGE_NOTIFY
=no
18551 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18554 echo "$as_me:$LINENO: result: $samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" >&5
18555 echo "${ECHO_T}$samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" >&6
18556 if test x
"$samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" = x
"yes"; then
18558 cat >>confdefs.h
<<\_ACEOF
18559 #define HAVE_KERNEL_CHANGE_NOTIFY 1
18564 echo "$as_me:$LINENO: checking for kernel share modes" >&5
18565 echo $ECHO_N "checking for kernel share modes... $ECHO_C" >&6
18566 if test "${samba_cv_HAVE_KERNEL_SHARE_MODES+set}" = set; then
18567 echo $ECHO_N "(cached) $ECHO_C" >&6
18570 if test "$cross_compiling" = yes; then
18571 samba_cv_HAVE_KERNEL_SHARE_MODES
=cross
18573 cat >conftest.
$ac_ext <<_ACEOF
18574 #line $LINENO "configure"
18575 #include "confdefs.h"
18577 #include <sys/types.h>
18579 #include <signal.h>
18580 #include <sys/file.h>
18582 #define LOCK_MAND 32
18583 #define LOCK_READ 64
18586 exit(flock(open("/dev/null", O_RDWR), LOCK_MAND|LOCK_READ) != 0);
18590 rm -f conftest
$ac_exeext
18591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18592 (eval $ac_link) 2>&5
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18597 (eval $ac_try) 2>&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); }; }; then
18601 samba_cv_HAVE_KERNEL_SHARE_MODES
=yes
18603 echo "$as_me: program exited with status $ac_status" >&5
18604 echo "$as_me: failed program was:" >&5
18605 cat conftest.
$ac_ext >&5
18606 ( exit $ac_status )
18607 samba_cv_HAVE_KERNEL_SHARE_MODES
=no
18609 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18612 echo "$as_me:$LINENO: result: $samba_cv_HAVE_KERNEL_SHARE_MODES" >&5
18613 echo "${ECHO_T}$samba_cv_HAVE_KERNEL_SHARE_MODES" >&6
18614 if test x
"$samba_cv_HAVE_KERNEL_SHARE_MODES" = x
"yes"; then
18616 cat >>confdefs.h
<<\_ACEOF
18617 #define HAVE_KERNEL_SHARE_MODES 1
18625 echo "$as_me:$LINENO: checking for IRIX kernel oplock type definitions" >&5
18626 echo $ECHO_N "checking for IRIX kernel oplock type definitions... $ECHO_C" >&6
18627 if test "${samba_cv_HAVE_KERNEL_OPLOCKS_IRIX+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18631 cat >conftest.
$ac_ext <<_ACEOF
18632 #line $LINENO "configure"
18633 #include "confdefs.h"
18634 #include <sys/types.h>
18636 #ifdef F77_DUMMY_MAIN
18637 # ifdef __cplusplus
18640 int F77_DUMMY_MAIN() { return 1; }
18645 oplock_stat_t t; t.os_state = OP_REVOKE; t.os_dev = 1; t.os_ino = 1;
18650 rm -f conftest.
$ac_objext
18651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18652 (eval $ac_compile) 2>&5
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); } &&
18656 { ac_try
='test -s conftest.$ac_objext'
18657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18658 (eval $ac_try) 2>&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); }; }; then
18662 samba_cv_HAVE_KERNEL_OPLOCKS_IRIX
=yes
18664 echo "$as_me: failed program was:" >&5
18665 cat conftest.
$ac_ext >&5
18666 samba_cv_HAVE_KERNEL_OPLOCKS_IRIX
=no
18668 rm -f conftest.
$ac_objext conftest.
$ac_ext
18670 echo "$as_me:$LINENO: result: $samba_cv_HAVE_KERNEL_OPLOCKS_IRIX" >&5
18671 echo "${ECHO_T}$samba_cv_HAVE_KERNEL_OPLOCKS_IRIX" >&6
18672 if test x
"$samba_cv_HAVE_KERNEL_OPLOCKS_IRIX" = x
"yes"; then
18674 cat >>confdefs.h
<<\_ACEOF
18675 #define HAVE_KERNEL_OPLOCKS_IRIX 1
18680 echo "$as_me:$LINENO: checking for irix specific capabilities" >&5
18681 echo $ECHO_N "checking for irix specific capabilities... $ECHO_C" >&6
18682 if test "${samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES+set}" = set; then
18683 echo $ECHO_N "(cached) $ECHO_C" >&6
18686 if test "$cross_compiling" = yes; then
18687 samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES
=cross
18689 cat >conftest.
$ac_ext <<_ACEOF
18690 #line $LINENO "configure"
18691 #include "confdefs.h"
18692 #include <sys/types.h>
18693 #include <sys/capability.h>
18696 if ((cap = cap_get_proc()) == NULL)
18698 cap->cap_effective |= CAP_NETWORK_MGT;
18699 cap->cap_inheritable |= CAP_NETWORK_MGT;
18705 rm -f conftest
$ac_exeext
18706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18707 (eval $ac_link) 2>&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18712 (eval $ac_try) 2>&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); }; }; then
18716 samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES
=yes
18718 echo "$as_me: program exited with status $ac_status" >&5
18719 echo "$as_me: failed program was:" >&5
18720 cat conftest.
$ac_ext >&5
18721 ( exit $ac_status )
18722 samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES
=no
18724 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18727 echo "$as_me:$LINENO: result: $samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES" >&5
18728 echo "${ECHO_T}$samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES" >&6
18729 if test x
"$samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES" = x
"yes"; then
18731 cat >>confdefs.h
<<\_ACEOF
18732 #define HAVE_IRIX_SPECIFIC_CAPABILITIES 1
18738 # Check for int16, uint16, int32 and uint32 in rpc/types.h included from rpc/rpc.h
18739 # This is *really* broken but some systems (DEC OSF1) do this.... JRA.
18742 echo "$as_me:$LINENO: checking for int16 typedef included by rpc/rpc.h" >&5
18743 echo $ECHO_N "checking for int16 typedef included by rpc/rpc.h... $ECHO_C" >&6
18744 if test "${samba_cv_HAVE_INT16_FROM_RPC_RPC_H+set}" = set; then
18745 echo $ECHO_N "(cached) $ECHO_C" >&6
18748 cat >conftest.
$ac_ext <<_ACEOF
18749 #line $LINENO "configure"
18750 #include "confdefs.h"
18751 #include <sys/types.h>
18752 #if defined(HAVE_RPC_RPC_H)
18753 #include <rpc/rpc.h>
18755 #ifdef F77_DUMMY_MAIN
18756 # ifdef __cplusplus
18759 int F77_DUMMY_MAIN() { return 1; }
18769 rm -f conftest.
$ac_objext
18770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18771 (eval $ac_compile) 2>&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); } &&
18775 { ac_try
='test -s conftest.$ac_objext'
18776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18777 (eval $ac_try) 2>&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); }; }; then
18781 samba_cv_HAVE_INT16_FROM_RPC_RPC_H
=yes
18783 echo "$as_me: failed program was:" >&5
18784 cat conftest.
$ac_ext >&5
18785 samba_cv_HAVE_INT16_FROM_RPC_RPC_H
=no
18787 rm -f conftest.
$ac_objext conftest.
$ac_ext
18789 echo "$as_me:$LINENO: result: $samba_cv_HAVE_INT16_FROM_RPC_RPC_H" >&5
18790 echo "${ECHO_T}$samba_cv_HAVE_INT16_FROM_RPC_RPC_H" >&6
18791 if test x
"$samba_cv_HAVE_INT16_FROM_RPC_RPC_H" = x
"yes"; then
18793 cat >>confdefs.h
<<\_ACEOF
18794 #define HAVE_INT16_FROM_RPC_RPC_H 1
18799 echo "$as_me:$LINENO: checking for uint16 typedef included by rpc/rpc.h" >&5
18800 echo $ECHO_N "checking for uint16 typedef included by rpc/rpc.h... $ECHO_C" >&6
18801 if test "${samba_cv_HAVE_UINT16_FROM_RPC_RPC_H+set}" = set; then
18802 echo $ECHO_N "(cached) $ECHO_C" >&6
18805 cat >conftest.
$ac_ext <<_ACEOF
18806 #line $LINENO "configure"
18807 #include "confdefs.h"
18808 #include <sys/types.h>
18809 #if defined(HAVE_RPC_RPC_H)
18810 #include <rpc/rpc.h>
18812 #ifdef F77_DUMMY_MAIN
18813 # ifdef __cplusplus
18816 int F77_DUMMY_MAIN() { return 1; }
18826 rm -f conftest.
$ac_objext
18827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18828 (eval $ac_compile) 2>&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); } &&
18832 { ac_try
='test -s conftest.$ac_objext'
18833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18834 (eval $ac_try) 2>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); }; }; then
18838 samba_cv_HAVE_UINT16_FROM_RPC_RPC_H
=yes
18840 echo "$as_me: failed program was:" >&5
18841 cat conftest.
$ac_ext >&5
18842 samba_cv_HAVE_UINT16_FROM_RPC_RPC_H
=no
18844 rm -f conftest.
$ac_objext conftest.
$ac_ext
18846 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UINT16_FROM_RPC_RPC_H" >&5
18847 echo "${ECHO_T}$samba_cv_HAVE_UINT16_FROM_RPC_RPC_H" >&6
18848 if test x
"$samba_cv_HAVE_UINT16_FROM_RPC_RPC_H" = x
"yes"; then
18850 cat >>confdefs.h
<<\_ACEOF
18851 #define HAVE_UINT16_FROM_RPC_RPC_H 1
18856 echo "$as_me:$LINENO: checking for int32 typedef included by rpc/rpc.h" >&5
18857 echo $ECHO_N "checking for int32 typedef included by rpc/rpc.h... $ECHO_C" >&6
18858 if test "${samba_cv_HAVE_INT32_FROM_RPC_RPC_H+set}" = set; then
18859 echo $ECHO_N "(cached) $ECHO_C" >&6
18862 cat >conftest.
$ac_ext <<_ACEOF
18863 #line $LINENO "configure"
18864 #include "confdefs.h"
18865 #include <sys/types.h>
18866 #if defined(HAVE_RPC_RPC_H)
18867 #include <rpc/rpc.h>
18869 #ifdef F77_DUMMY_MAIN
18870 # ifdef __cplusplus
18873 int F77_DUMMY_MAIN() { return 1; }
18883 rm -f conftest.
$ac_objext
18884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18885 (eval $ac_compile) 2>&5
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); } &&
18889 { ac_try
='test -s conftest.$ac_objext'
18890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18891 (eval $ac_try) 2>&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); }; }; then
18895 samba_cv_HAVE_INT32_FROM_RPC_RPC_H
=yes
18897 echo "$as_me: failed program was:" >&5
18898 cat conftest.
$ac_ext >&5
18899 samba_cv_HAVE_INT32_FROM_RPC_RPC_H
=no
18901 rm -f conftest.
$ac_objext conftest.
$ac_ext
18903 echo "$as_me:$LINENO: result: $samba_cv_HAVE_INT32_FROM_RPC_RPC_H" >&5
18904 echo "${ECHO_T}$samba_cv_HAVE_INT32_FROM_RPC_RPC_H" >&6
18905 if test x
"$samba_cv_HAVE_INT32_FROM_RPC_RPC_H" = x
"yes"; then
18907 cat >>confdefs.h
<<\_ACEOF
18908 #define HAVE_INT32_FROM_RPC_RPC_H 1
18913 echo "$as_me:$LINENO: checking for uint32 typedef included by rpc/rpc.h" >&5
18914 echo $ECHO_N "checking for uint32 typedef included by rpc/rpc.h... $ECHO_C" >&6
18915 if test "${samba_cv_HAVE_UINT32_FROM_RPC_RPC_H+set}" = set; then
18916 echo $ECHO_N "(cached) $ECHO_C" >&6
18919 cat >conftest.
$ac_ext <<_ACEOF
18920 #line $LINENO "configure"
18921 #include "confdefs.h"
18922 #include <sys/types.h>
18923 #if defined(HAVE_RPC_RPC_H)
18924 #include <rpc/rpc.h>
18926 #ifdef F77_DUMMY_MAIN
18927 # ifdef __cplusplus
18930 int F77_DUMMY_MAIN() { return 1; }
18940 rm -f conftest.
$ac_objext
18941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18942 (eval $ac_compile) 2>&5
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); } &&
18946 { ac_try
='test -s conftest.$ac_objext'
18947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18948 (eval $ac_try) 2>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); }; }; then
18952 samba_cv_HAVE_UINT32_FROM_RPC_RPC_H
=yes
18954 echo "$as_me: failed program was:" >&5
18955 cat conftest.
$ac_ext >&5
18956 samba_cv_HAVE_UINT32_FROM_RPC_RPC_H
=no
18958 rm -f conftest.
$ac_objext conftest.
$ac_ext
18960 echo "$as_me:$LINENO: result: $samba_cv_HAVE_UINT32_FROM_RPC_RPC_H" >&5
18961 echo "${ECHO_T}$samba_cv_HAVE_UINT32_FROM_RPC_RPC_H" >&6
18962 if test x
"$samba_cv_HAVE_UINT32_FROM_RPC_RPC_H" = x
"yes"; then
18964 cat >>confdefs.h
<<\_ACEOF
18965 #define HAVE_UINT32_FROM_RPC_RPC_H 1
18971 echo "$as_me:$LINENO: checking for conflicting AUTH_ERROR define in rpc/rpc.h" >&5
18972 echo $ECHO_N "checking for conflicting AUTH_ERROR define in rpc/rpc.h... $ECHO_C" >&6
18973 if test "${samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT+set}" = set; then
18974 echo $ECHO_N "(cached) $ECHO_C" >&6
18977 cat >conftest.
$ac_ext <<_ACEOF
18978 #line $LINENO "configure"
18979 #include "confdefs.h"
18980 #include <sys/types.h>
18981 #ifdef HAVE_SYS_SECURITY_H
18982 #include <sys/security.h>
18984 #endif /* HAVE_SYS_SECURITY_H */
18985 #if defined(HAVE_RPC_RPC_H)
18986 #include <rpc/rpc.h>
18988 #ifdef F77_DUMMY_MAIN
18989 # ifdef __cplusplus
18992 int F77_DUMMY_MAIN() { return 1; }
19002 rm -f conftest.
$ac_objext
19003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19004 (eval $ac_compile) 2>&5
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); } &&
19008 { ac_try
='test -s conftest.$ac_objext'
19009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19010 (eval $ac_try) 2>&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); }; }; then
19014 samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT
=no
19016 echo "$as_me: failed program was:" >&5
19017 cat conftest.
$ac_ext >&5
19018 samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT
=yes
19020 rm -f conftest.
$ac_objext conftest.
$ac_ext
19022 echo "$as_me:$LINENO: result: $samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT" >&5
19023 echo "${ECHO_T}$samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT" >&6
19024 if test x
"$samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT" = x
"yes"; then
19026 cat >>confdefs.h
<<\_ACEOF
19027 #define HAVE_RPC_AUTH_ERROR_CONFLICT 1
19032 echo "$as_me:$LINENO: checking for test routines" >&5
19033 echo $ECHO_N "checking for test routines... $ECHO_C" >&6
19034 if test "$cross_compiling" = yes; then
19035 { echo "$as_me:$LINENO: WARNING: cannot run when cross-compiling" >&5
19036 echo "$as_me: WARNING: cannot run when cross-compiling" >&2;}
19038 cat >conftest.
$ac_ext <<_ACEOF
19039 #line $LINENO "configure"
19040 #include "confdefs.h"
19041 #include "${srcdir-.}/tests/trivial.c"
19043 rm -f conftest
$ac_exeext
19044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19045 (eval $ac_link) 2>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; }; then
19054 echo "$as_me:$LINENO: result: yes" >&5
19055 echo "${ECHO_T}yes" >&6
19057 echo "$as_me: program exited with status $ac_status" >&5
19058 echo "$as_me: failed program was:" >&5
19059 cat conftest.
$ac_ext >&5
19060 ( exit $ac_status )
19061 { { echo "$as_me:$LINENO: error: cant find test code. Aborting config" >&5
19062 echo "$as_me: error: cant find test code. Aborting config" >&2;}
19063 { (exit 1); exit 1; }; }
19065 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19068 echo "$as_me:$LINENO: checking for ftruncate extend" >&5
19069 echo $ECHO_N "checking for ftruncate extend... $ECHO_C" >&6
19070 if test "${samba_cv_HAVE_FTRUNCATE_EXTEND+set}" = set; then
19071 echo $ECHO_N "(cached) $ECHO_C" >&6
19074 if test "$cross_compiling" = yes; then
19075 samba_cv_HAVE_FTRUNCATE_EXTEND
=cross
19077 cat >conftest.
$ac_ext <<_ACEOF
19078 #line $LINENO "configure"
19079 #include "confdefs.h"
19080 #include "${srcdir-.}/tests/ftruncate.c"
19082 rm -f conftest
$ac_exeext
19083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19084 (eval $ac_link) 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089 (eval $ac_try) 2>&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }; }; then
19093 samba_cv_HAVE_FTRUNCATE_EXTEND
=yes
19095 echo "$as_me: program exited with status $ac_status" >&5
19096 echo "$as_me: failed program was:" >&5
19097 cat conftest.
$ac_ext >&5
19098 ( exit $ac_status )
19099 samba_cv_HAVE_FTRUNCATE_EXTEND
=no
19101 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19104 echo "$as_me:$LINENO: result: $samba_cv_HAVE_FTRUNCATE_EXTEND" >&5
19105 echo "${ECHO_T}$samba_cv_HAVE_FTRUNCATE_EXTEND" >&6
19106 if test x
"$samba_cv_HAVE_FTRUNCATE_EXTEND" = x
"yes"; then
19108 cat >>confdefs.h
<<\_ACEOF
19109 #define HAVE_FTRUNCATE_EXTEND 1
19114 echo "$as_me:$LINENO: checking for AF_LOCAL socket support" >&5
19115 echo $ECHO_N "checking for AF_LOCAL socket support... $ECHO_C" >&6
19116 if test "${samba_cv_HAVE_WORKING_AF_LOCAL+set}" = set; then
19117 echo $ECHO_N "(cached) $ECHO_C" >&6
19120 if test "$cross_compiling" = yes; then
19121 samba_cv_HAVE_WORKING_AF_LOCAL
=cross
19123 cat >conftest.
$ac_ext <<_ACEOF
19124 #line $LINENO "configure"
19125 #include "confdefs.h"
19126 #include "${srcdir-.}/tests/unixsock.c"
19128 rm -f conftest
$ac_exeext
19129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19130 (eval $ac_link) 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; }; then
19139 samba_cv_HAVE_WORKING_AF_LOCAL
=yes
19141 echo "$as_me: program exited with status $ac_status" >&5
19142 echo "$as_me: failed program was:" >&5
19143 cat conftest.
$ac_ext >&5
19144 ( exit $ac_status )
19145 samba_cv_HAVE_WORKING_AF_LOCAL
=no
19147 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19150 echo "$as_me:$LINENO: result: $samba_cv_HAVE_WORKING_AF_LOCAL" >&5
19151 echo "${ECHO_T}$samba_cv_HAVE_WORKING_AF_LOCAL" >&6
19152 if test x
"$samba_cv_HAVE_WORKING_AF_LOCAL" != xno
19155 cat >>confdefs.h
<<\_ACEOF
19156 #define HAVE_WORKING_AF_LOCAL 1
19161 echo "$as_me:$LINENO: checking for broken getgroups" >&5
19162 echo $ECHO_N "checking for broken getgroups... $ECHO_C" >&6
19163 if test "${samba_cv_HAVE_BROKEN_GETGROUPS+set}" = set; then
19164 echo $ECHO_N "(cached) $ECHO_C" >&6
19167 if test "$cross_compiling" = yes; then
19168 samba_cv_HAVE_BROKEN_GETGROUPS
=cross
19170 cat >conftest.
$ac_ext <<_ACEOF
19171 #line $LINENO "configure"
19172 #include "confdefs.h"
19173 #include "${srcdir-.}/tests/getgroups.c"
19175 rm -f conftest
$ac_exeext
19176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19177 (eval $ac_link) 2>&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19182 (eval $ac_try) 2>&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); }; }; then
19186 samba_cv_HAVE_BROKEN_GETGROUPS
=yes
19188 echo "$as_me: program exited with status $ac_status" >&5
19189 echo "$as_me: failed program was:" >&5
19190 cat conftest.
$ac_ext >&5
19191 ( exit $ac_status )
19192 samba_cv_HAVE_BROKEN_GETGROUPS
=no
19194 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19197 echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_GETGROUPS" >&5
19198 echo "${ECHO_T}$samba_cv_HAVE_BROKEN_GETGROUPS" >&6
19199 if test x
"$samba_cv_HAVE_BROKEN_GETGROUPS" = x
"yes"; then
19201 cat >>confdefs.h
<<\_ACEOF
19202 #define HAVE_BROKEN_GETGROUPS 1
19207 echo "$as_me:$LINENO: checking whether getpass should be replaced" >&5
19208 echo $ECHO_N "checking whether getpass should be replaced... $ECHO_C" >&6
19209 if test "${samba_cv_REPLACE_GETPASS+set}" = set; then
19210 echo $ECHO_N "(cached) $ECHO_C" >&6
19213 SAVE_CPPFLAGS
="$CPPFLAGS"
19214 CPPFLAGS
="$CPPFLAGS -I${srcdir-.}/ -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/popt -I${srcdir-.}/smbwrapper"
19215 cat >conftest.
$ac_ext <<_ACEOF
19216 #line $LINENO "configure"
19217 #include "confdefs.h"
19219 #define REPLACE_GETPASS 1
19220 #define NO_CONFIG_H 1
19221 #define main dont_declare_main
19222 #include "${srcdir-.}/lib/getsmbpass.c"
19225 #ifdef F77_DUMMY_MAIN
19226 # ifdef __cplusplus
19229 int F77_DUMMY_MAIN() { return 1; }
19239 rm -f conftest.
$ac_objext
19240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19241 (eval $ac_compile) 2>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } &&
19245 { ac_try
='test -s conftest.$ac_objext'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; }; then
19251 samba_cv_REPLACE_GETPASS
=yes
19253 echo "$as_me: failed program was:" >&5
19254 cat conftest.
$ac_ext >&5
19255 samba_cv_REPLACE_GETPASS
=no
19257 rm -f conftest.
$ac_objext conftest.
$ac_ext
19258 CPPFLAGS
="$SAVE_CPPFLAGS"
19261 echo "$as_me:$LINENO: result: $samba_cv_REPLACE_GETPASS" >&5
19262 echo "${ECHO_T}$samba_cv_REPLACE_GETPASS" >&6
19263 if test x
"$samba_cv_REPLACE_GETPASS" = x
"yes"; then
19265 cat >>confdefs.h
<<\_ACEOF
19266 #define REPLACE_GETPASS 1
19271 echo "$as_me:$LINENO: checking for broken inet_ntoa" >&5
19272 echo $ECHO_N "checking for broken inet_ntoa... $ECHO_C" >&6
19273 if test "${samba_cv_REPLACE_INET_NTOA+set}" = set; then
19274 echo $ECHO_N "(cached) $ECHO_C" >&6
19277 if test "$cross_compiling" = yes; then
19278 samba_cv_REPLACE_INET_NTOA
=cross
19280 cat >conftest.
$ac_ext <<_ACEOF
19281 #line $LINENO "configure"
19282 #include "confdefs.h"
19285 #include <sys/types.h>
19286 #include <netinet/in.h>
19287 #ifdef HAVE_ARPA_INET_H
19288 #include <arpa/inet.h>
19290 main() { struct in_addr ip; ip.s_addr = 0x12345678;
19291 if (strcmp(inet_ntoa(ip),"18.52.86.120") &&
19292 strcmp(inet_ntoa(ip),"120.86.52.18")) { exit(0); }
19295 rm -f conftest
$ac_exeext
19296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19297 (eval $ac_link) 2>&5
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; }; then
19306 samba_cv_REPLACE_INET_NTOA
=yes
19308 echo "$as_me: program exited with status $ac_status" >&5
19309 echo "$as_me: failed program was:" >&5
19310 cat conftest.
$ac_ext >&5
19311 ( exit $ac_status )
19312 samba_cv_REPLACE_INET_NTOA
=no
19314 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19317 echo "$as_me:$LINENO: result: $samba_cv_REPLACE_INET_NTOA" >&5
19318 echo "${ECHO_T}$samba_cv_REPLACE_INET_NTOA" >&6
19319 if test x
"$samba_cv_REPLACE_INET_NTOA" = x
"yes"; then
19321 cat >>confdefs.h
<<\_ACEOF
19322 #define REPLACE_INET_NTOA 1
19327 echo "$as_me:$LINENO: checking for secure mkstemp" >&5
19328 echo $ECHO_N "checking for secure mkstemp... $ECHO_C" >&6
19329 if test "${samba_cv_HAVE_SECURE_MKSTEMP+set}" = set; then
19330 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 if test "$cross_compiling" = yes; then
19334 samba_cv_HAVE_SECURE_MKSTEMP
=cross
19336 cat >conftest.
$ac_ext <<_ACEOF
19337 #line $LINENO "configure"
19338 #include "confdefs.h"
19339 #include <stdlib.h>
19340 #include <sys/types.h>
19341 #include <sys/stat.h>
19342 #include <unistd.h>
19345 char tpl[20]="/tmp/test.XXXXXX";
19346 int fd = mkstemp(tpl);
19347 if (fd == -1) exit(1);
19349 if (fstat(fd, &st) != 0) exit(1);
19350 if ((st.st_mode & 0777) != 0600) exit(1);
19354 rm -f conftest
$ac_exeext
19355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19356 (eval $ac_link) 2>&5
19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; }; then
19365 samba_cv_HAVE_SECURE_MKSTEMP
=yes
19367 echo "$as_me: program exited with status $ac_status" >&5
19368 echo "$as_me: failed program was:" >&5
19369 cat conftest.
$ac_ext >&5
19370 ( exit $ac_status )
19371 samba_cv_HAVE_SECURE_MKSTEMP
=no
19373 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19376 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SECURE_MKSTEMP" >&5
19377 echo "${ECHO_T}$samba_cv_HAVE_SECURE_MKSTEMP" >&6
19378 if test x
"$samba_cv_HAVE_SECURE_MKSTEMP" = x
"yes"; then
19380 cat >>confdefs.h
<<\_ACEOF
19381 #define HAVE_SECURE_MKSTEMP 1
19386 echo "$as_me:$LINENO: checking for sysconf(_SC_NGROUPS_MAX)" >&5
19387 echo $ECHO_N "checking for sysconf(_SC_NGROUPS_MAX)... $ECHO_C" >&6
19388 if test "${samba_cv_SYSCONF_SC_NGROUPS_MAX+set}" = set; then
19389 echo $ECHO_N "(cached) $ECHO_C" >&6
19392 if test "$cross_compiling" = yes; then
19393 samba_cv_SYSCONF_SC_NGROUPS_MAX
=cross
19395 cat >conftest.
$ac_ext <<_ACEOF
19396 #line $LINENO "configure"
19397 #include "confdefs.h"
19398 #include <unistd.h>
19399 main() { exit(sysconf(_SC_NGROUPS_MAX) == -1 ? 1 : 0); }
19401 rm -f conftest
$ac_exeext
19402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19403 (eval $ac_link) 2>&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; }; then
19412 samba_cv_SYSCONF_SC_NGROUPS_MAX
=yes
19414 echo "$as_me: program exited with status $ac_status" >&5
19415 echo "$as_me: failed program was:" >&5
19416 cat conftest.
$ac_ext >&5
19417 ( exit $ac_status )
19418 samba_cv_SYSCONF_SC_NGROUPS_MAX
=no
19420 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19423 echo "$as_me:$LINENO: result: $samba_cv_SYSCONF_SC_NGROUPS_MAX" >&5
19424 echo "${ECHO_T}$samba_cv_SYSCONF_SC_NGROUPS_MAX" >&6
19425 if test x
"$samba_cv_SYSCONF_SC_NGROUPS_MAX" = x
"yes"; then
19427 cat >>confdefs.h
<<\_ACEOF
19428 #define SYSCONF_SC_NGROUPS_MAX 1
19433 echo "$as_me:$LINENO: checking for root" >&5
19434 echo $ECHO_N "checking for root... $ECHO_C" >&6
19435 if test "${samba_cv_HAVE_ROOT+set}" = set; then
19436 echo $ECHO_N "(cached) $ECHO_C" >&6
19439 if test "$cross_compiling" = yes; then
19440 samba_cv_HAVE_ROOT
=cross
19442 cat >conftest.
$ac_ext <<_ACEOF
19443 #line $LINENO "configure"
19444 #include "confdefs.h"
19445 main() { exit(getuid() != 0); }
19447 rm -f conftest
$ac_exeext
19448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19449 (eval $ac_link) 2>&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454 (eval $ac_try) 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; }; then
19458 samba_cv_HAVE_ROOT
=yes
19460 echo "$as_me: program exited with status $ac_status" >&5
19461 echo "$as_me: failed program was:" >&5
19462 cat conftest.
$ac_ext >&5
19463 ( exit $ac_status )
19464 samba_cv_HAVE_ROOT
=no
19466 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19469 echo "$as_me:$LINENO: result: $samba_cv_HAVE_ROOT" >&5
19470 echo "${ECHO_T}$samba_cv_HAVE_ROOT" >&6
19471 if test x
"$samba_cv_HAVE_ROOT" = x
"yes"; then
19473 cat >>confdefs.h
<<\_ACEOF
19474 #define HAVE_ROOT 1
19478 { echo "$as_me:$LINENO: WARNING: running as non-root will disable some tests" >&5
19479 echo "$as_me: WARNING: running as non-root will disable some tests" >&2;}
19483 # look for a method of finding the list of network interfaces
19485 echo "$as_me:$LINENO: checking for iface AIX" >&5
19486 echo $ECHO_N "checking for iface AIX... $ECHO_C" >&6
19487 if test "${samba_cv_HAVE_IFACE_AIX+set}" = set; then
19488 echo $ECHO_N "(cached) $ECHO_C" >&6
19491 if test "$cross_compiling" = yes; then
19492 samba_cv_HAVE_IFACE_AIX
=cross
19494 cat >conftest.
$ac_ext <<_ACEOF
19495 #line $LINENO "configure"
19496 #include "confdefs.h"
19498 #define HAVE_IFACE_AIX 1
19499 #define AUTOCONF_TEST 1
19500 #include "confdefs.h"
19501 #include "${srcdir-.}/lib/interfaces.c"
19503 rm -f conftest
$ac_exeext
19504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19505 (eval $ac_link) 2>&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19510 (eval $ac_try) 2>&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); }; }; then
19514 samba_cv_HAVE_IFACE_AIX
=yes
19516 echo "$as_me: program exited with status $ac_status" >&5
19517 echo "$as_me: failed program was:" >&5
19518 cat conftest.
$ac_ext >&5
19519 ( exit $ac_status )
19520 samba_cv_HAVE_IFACE_AIX
=no
19522 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19525 echo "$as_me:$LINENO: result: $samba_cv_HAVE_IFACE_AIX" >&5
19526 echo "${ECHO_T}$samba_cv_HAVE_IFACE_AIX" >&6
19527 if test x
"$samba_cv_HAVE_IFACE_AIX" = x
"yes"; then
19529 cat >>confdefs.h
<<\_ACEOF
19530 #define HAVE_IFACE_AIX 1
19535 if test $iface = no
; then
19536 echo "$as_me:$LINENO: checking for iface ifconf" >&5
19537 echo $ECHO_N "checking for iface ifconf... $ECHO_C" >&6
19538 if test "${samba_cv_HAVE_IFACE_IFCONF+set}" = set; then
19539 echo $ECHO_N "(cached) $ECHO_C" >&6
19542 if test "$cross_compiling" = yes; then
19543 samba_cv_HAVE_IFACE_IFCONF
=cross
19545 cat >conftest.
$ac_ext <<_ACEOF
19546 #line $LINENO "configure"
19547 #include "confdefs.h"
19549 #define HAVE_IFACE_IFCONF 1
19550 #define AUTOCONF_TEST 1
19551 #include "confdefs.h"
19552 #include "${srcdir-.}/lib/interfaces.c"
19554 rm -f conftest
$ac_exeext
19555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19556 (eval $ac_link) 2>&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565 samba_cv_HAVE_IFACE_IFCONF
=yes
19567 echo "$as_me: program exited with status $ac_status" >&5
19568 echo "$as_me: failed program was:" >&5
19569 cat conftest.
$ac_ext >&5
19570 ( exit $ac_status )
19571 samba_cv_HAVE_IFACE_IFCONF
=no
19573 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19576 echo "$as_me:$LINENO: result: $samba_cv_HAVE_IFACE_IFCONF" >&5
19577 echo "${ECHO_T}$samba_cv_HAVE_IFACE_IFCONF" >&6
19578 if test x
"$samba_cv_HAVE_IFACE_IFCONF" = x
"yes"; then
19580 cat >>confdefs.h
<<\_ACEOF
19581 #define HAVE_IFACE_IFCONF 1
19587 if test $iface = no
; then
19588 echo "$as_me:$LINENO: checking for iface ifreq" >&5
19589 echo $ECHO_N "checking for iface ifreq... $ECHO_C" >&6
19590 if test "${samba_cv_HAVE_IFACE_IFREQ+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19594 if test "$cross_compiling" = yes; then
19595 samba_cv_HAVE_IFACE_IFREQ
=cross
19597 cat >conftest.
$ac_ext <<_ACEOF
19598 #line $LINENO "configure"
19599 #include "confdefs.h"
19601 #define HAVE_IFACE_IFREQ 1
19602 #define AUTOCONF_TEST 1
19603 #include "confdefs.h"
19604 #include "${srcdir-.}/lib/interfaces.c"
19606 rm -f conftest
$ac_exeext
19607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19608 (eval $ac_link) 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19613 (eval $ac_try) 2>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; }; then
19617 samba_cv_HAVE_IFACE_IFREQ
=yes
19619 echo "$as_me: program exited with status $ac_status" >&5
19620 echo "$as_me: failed program was:" >&5
19621 cat conftest.
$ac_ext >&5
19622 ( exit $ac_status )
19623 samba_cv_HAVE_IFACE_IFREQ
=no
19625 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19628 echo "$as_me:$LINENO: result: $samba_cv_HAVE_IFACE_IFREQ" >&5
19629 echo "${ECHO_T}$samba_cv_HAVE_IFACE_IFREQ" >&6
19630 if test x
"$samba_cv_HAVE_IFACE_IFREQ" = x
"yes"; then
19632 cat >>confdefs.h
<<\_ACEOF
19633 #define HAVE_IFACE_IFREQ 1
19640 ################################################
19641 # look for a method of setting the effective uid
19643 if test $seteuid = no
; then
19644 echo "$as_me:$LINENO: checking for setresuid" >&5
19645 echo $ECHO_N "checking for setresuid... $ECHO_C" >&6
19646 if test "${samba_cv_USE_SETRESUID+set}" = set; then
19647 echo $ECHO_N "(cached) $ECHO_C" >&6
19650 if test "$cross_compiling" = yes; then
19651 samba_cv_USE_SETRESUID
=cross
19653 cat >conftest.
$ac_ext <<_ACEOF
19654 #line $LINENO "configure"
19655 #include "confdefs.h"
19657 #define AUTOCONF_TEST 1
19658 #define USE_SETRESUID 1
19659 #include "confdefs.h"
19660 #include "${srcdir-.}/lib/util_sec.c"
19662 rm -f conftest
$ac_exeext
19663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19664 (eval $ac_link) 2>&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19673 samba_cv_USE_SETRESUID
=yes
19675 echo "$as_me: program exited with status $ac_status" >&5
19676 echo "$as_me: failed program was:" >&5
19677 cat conftest.
$ac_ext >&5
19678 ( exit $ac_status )
19679 samba_cv_USE_SETRESUID
=no
19681 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19684 echo "$as_me:$LINENO: result: $samba_cv_USE_SETRESUID" >&5
19685 echo "${ECHO_T}$samba_cv_USE_SETRESUID" >&6
19686 if test x
"$samba_cv_USE_SETRESUID" = x
"yes"; then
19688 cat >>confdefs.h
<<\_ACEOF
19689 #define USE_SETRESUID 1
19696 if test $seteuid = no
; then
19697 echo "$as_me:$LINENO: checking for setreuid" >&5
19698 echo $ECHO_N "checking for setreuid... $ECHO_C" >&6
19699 if test "${samba_cv_USE_SETREUID+set}" = set; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19703 if test "$cross_compiling" = yes; then
19704 samba_cv_USE_SETREUID
=cross
19706 cat >conftest.
$ac_ext <<_ACEOF
19707 #line $LINENO "configure"
19708 #include "confdefs.h"
19710 #define AUTOCONF_TEST 1
19711 #define USE_SETREUID 1
19712 #include "confdefs.h"
19713 #include "${srcdir-.}/lib/util_sec.c"
19715 rm -f conftest
$ac_exeext
19716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19717 (eval $ac_link) 2>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 samba_cv_USE_SETREUID
=yes
19728 echo "$as_me: program exited with status $ac_status" >&5
19729 echo "$as_me: failed program was:" >&5
19730 cat conftest.
$ac_ext >&5
19731 ( exit $ac_status )
19732 samba_cv_USE_SETREUID
=no
19734 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19737 echo "$as_me:$LINENO: result: $samba_cv_USE_SETREUID" >&5
19738 echo "${ECHO_T}$samba_cv_USE_SETREUID" >&6
19739 if test x
"$samba_cv_USE_SETREUID" = x
"yes"; then
19741 cat >>confdefs.h
<<\_ACEOF
19742 #define USE_SETREUID 1
19748 if test $seteuid = no
; then
19749 echo "$as_me:$LINENO: checking for seteuid" >&5
19750 echo $ECHO_N "checking for seteuid... $ECHO_C" >&6
19751 if test "${samba_cv_USE_SETEUID+set}" = set; then
19752 echo $ECHO_N "(cached) $ECHO_C" >&6
19755 if test "$cross_compiling" = yes; then
19756 samba_cv_USE_SETEUID
=cross
19758 cat >conftest.
$ac_ext <<_ACEOF
19759 #line $LINENO "configure"
19760 #include "confdefs.h"
19762 #define AUTOCONF_TEST 1
19763 #define USE_SETEUID 1
19764 #include "confdefs.h"
19765 #include "${srcdir-.}/lib/util_sec.c"
19767 rm -f conftest
$ac_exeext
19768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19769 (eval $ac_link) 2>&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19774 (eval $ac_try) 2>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); }; }; then
19778 samba_cv_USE_SETEUID
=yes
19780 echo "$as_me: program exited with status $ac_status" >&5
19781 echo "$as_me: failed program was:" >&5
19782 cat conftest.
$ac_ext >&5
19783 ( exit $ac_status )
19784 samba_cv_USE_SETEUID
=no
19786 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19789 echo "$as_me:$LINENO: result: $samba_cv_USE_SETEUID" >&5
19790 echo "${ECHO_T}$samba_cv_USE_SETEUID" >&6
19791 if test x
"$samba_cv_USE_SETEUID" = x
"yes"; then
19793 cat >>confdefs.h
<<\_ACEOF
19794 #define USE_SETEUID 1
19800 if test $seteuid = no
; then
19801 echo "$as_me:$LINENO: checking for setuidx" >&5
19802 echo $ECHO_N "checking for setuidx... $ECHO_C" >&6
19803 if test "${samba_cv_USE_SETUIDX+set}" = set; then
19804 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 if test "$cross_compiling" = yes; then
19808 samba_cv_USE_SETUIDX
=cross
19810 cat >conftest.
$ac_ext <<_ACEOF
19811 #line $LINENO "configure"
19812 #include "confdefs.h"
19814 #define AUTOCONF_TEST 1
19815 #define USE_SETUIDX 1
19816 #include "confdefs.h"
19817 #include "${srcdir-.}/lib/util_sec.c"
19819 rm -f conftest
$ac_exeext
19820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19821 (eval $ac_link) 2>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; }; then
19830 samba_cv_USE_SETUIDX
=yes
19832 echo "$as_me: program exited with status $ac_status" >&5
19833 echo "$as_me: failed program was:" >&5
19834 cat conftest.
$ac_ext >&5
19835 ( exit $ac_status )
19836 samba_cv_USE_SETUIDX
=no
19838 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19841 echo "$as_me:$LINENO: result: $samba_cv_USE_SETUIDX" >&5
19842 echo "${ECHO_T}$samba_cv_USE_SETUIDX" >&6
19843 if test x
"$samba_cv_USE_SETUIDX" = x
"yes"; then
19845 cat >>confdefs.h
<<\_ACEOF
19846 #define USE_SETUIDX 1
19853 echo "$as_me:$LINENO: checking for working mmap" >&5
19854 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
19855 if test "${samba_cv_HAVE_MMAP+set}" = set; then
19856 echo $ECHO_N "(cached) $ECHO_C" >&6
19859 if test "$cross_compiling" = yes; then
19860 samba_cv_HAVE_MMAP
=cross
19862 cat >conftest.
$ac_ext <<_ACEOF
19863 #line $LINENO "configure"
19864 #include "confdefs.h"
19865 #include "${srcdir-.}/tests/shared_mmap.c"
19867 rm -f conftest
$ac_exeext
19868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19869 (eval $ac_link) 2>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19874 (eval $ac_try) 2>&5
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); }; }; then
19878 samba_cv_HAVE_MMAP
=yes
19880 echo "$as_me: program exited with status $ac_status" >&5
19881 echo "$as_me: failed program was:" >&5
19882 cat conftest.
$ac_ext >&5
19883 ( exit $ac_status )
19884 samba_cv_HAVE_MMAP
=no
19886 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19889 echo "$as_me:$LINENO: result: $samba_cv_HAVE_MMAP" >&5
19890 echo "${ECHO_T}$samba_cv_HAVE_MMAP" >&6
19891 if test x
"$samba_cv_HAVE_MMAP" = x
"yes"; then
19893 cat >>confdefs.h
<<\_ACEOF
19894 #define HAVE_MMAP 1
19899 echo "$as_me:$LINENO: checking for ftruncate needs root" >&5
19900 echo $ECHO_N "checking for ftruncate needs root... $ECHO_C" >&6
19901 if test "${samba_cv_FTRUNCATE_NEEDS_ROOT+set}" = set; then
19902 echo $ECHO_N "(cached) $ECHO_C" >&6
19905 if test "$cross_compiling" = yes; then
19906 samba_cv_FTRUNCATE_NEEDS_ROOT
=cross
19908 cat >conftest.
$ac_ext <<_ACEOF
19909 #line $LINENO "configure"
19910 #include "confdefs.h"
19911 #include "${srcdir-.}/tests/ftruncroot.c"
19913 rm -f conftest
$ac_exeext
19914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19915 (eval $ac_link) 2>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; }; then
19924 samba_cv_FTRUNCATE_NEEDS_ROOT
=yes
19926 echo "$as_me: program exited with status $ac_status" >&5
19927 echo "$as_me: failed program was:" >&5
19928 cat conftest.
$ac_ext >&5
19929 ( exit $ac_status )
19930 samba_cv_FTRUNCATE_NEEDS_ROOT
=no
19932 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19935 echo "$as_me:$LINENO: result: $samba_cv_FTRUNCATE_NEEDS_ROOT" >&5
19936 echo "${ECHO_T}$samba_cv_FTRUNCATE_NEEDS_ROOT" >&6
19937 if test x
"$samba_cv_FTRUNCATE_NEEDS_ROOT" = x
"yes"; then
19939 cat >>confdefs.h
<<\_ACEOF
19940 #define FTRUNCATE_NEEDS_ROOT 1
19945 echo "$as_me:$LINENO: checking for fcntl locking" >&5
19946 echo $ECHO_N "checking for fcntl locking... $ECHO_C" >&6
19947 if test "${samba_cv_HAVE_FCNTL_LOCK+set}" = set; then
19948 echo $ECHO_N "(cached) $ECHO_C" >&6
19951 if test "$cross_compiling" = yes; then
19952 samba_cv_HAVE_FCNTL_LOCK
=cross
19954 cat >conftest.
$ac_ext <<_ACEOF
19955 #line $LINENO "configure"
19956 #include "confdefs.h"
19957 #include "${srcdir-.}/tests/fcntl_lock.c"
19959 rm -f conftest
$ac_exeext
19960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19961 (eval $ac_link) 2>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19966 (eval $ac_try) 2>&5
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); }; }; then
19970 samba_cv_HAVE_FCNTL_LOCK
=yes
19972 echo "$as_me: program exited with status $ac_status" >&5
19973 echo "$as_me: failed program was:" >&5
19974 cat conftest.
$ac_ext >&5
19975 ( exit $ac_status )
19976 samba_cv_HAVE_FCNTL_LOCK
=no
19978 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19981 echo "$as_me:$LINENO: result: $samba_cv_HAVE_FCNTL_LOCK" >&5
19982 echo "${ECHO_T}$samba_cv_HAVE_FCNTL_LOCK" >&6
19983 if test x
"$samba_cv_HAVE_FCNTL_LOCK" = x
"yes"; then
19985 cat >>confdefs.h
<<\_ACEOF
19986 #define HAVE_FCNTL_LOCK 1
19991 echo "$as_me:$LINENO: checking for broken (glibc2.1/x86) 64 bit fcntl locking" >&5
19992 echo $ECHO_N "checking for broken (glibc2.1/x86) 64 bit fcntl locking... $ECHO_C" >&6
19993 if test "${samba_cv_HAVE_BROKEN_FCNTL64_LOCKS+set}" = set; then
19994 echo $ECHO_N "(cached) $ECHO_C" >&6
19997 if test "$cross_compiling" = yes; then
19998 samba_cv_HAVE_BROKEN_FCNTL64_LOCKS
=cross
20000 cat >conftest.
$ac_ext <<_ACEOF
20001 #line $LINENO "configure"
20002 #include "confdefs.h"
20003 #include "${srcdir-.}/tests/fcntl_lock64.c"
20005 rm -f conftest
$ac_exeext
20006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20007 (eval $ac_link) 2>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20016 samba_cv_HAVE_BROKEN_FCNTL64_LOCKS
=yes
20018 echo "$as_me: program exited with status $ac_status" >&5
20019 echo "$as_me: failed program was:" >&5
20020 cat conftest.
$ac_ext >&5
20021 ( exit $ac_status )
20022 samba_cv_HAVE_BROKEN_FCNTL64_LOCKS
=no
20024 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20027 echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_FCNTL64_LOCKS" >&5
20028 echo "${ECHO_T}$samba_cv_HAVE_BROKEN_FCNTL64_LOCKS" >&6
20029 if test x
"$samba_cv_HAVE_BROKEN_FCNTL64_LOCKS" = x
"yes"; then
20031 cat >>confdefs.h
<<\_ACEOF
20032 #define HAVE_BROKEN_FCNTL64_LOCKS 1
20039 echo "$as_me:$LINENO: checking for 64 bit fcntl locking" >&5
20040 echo $ECHO_N "checking for 64 bit fcntl locking... $ECHO_C" >&6
20041 if test "${samba_cv_HAVE_STRUCT_FLOCK64+set}" = set; then
20042 echo $ECHO_N "(cached) $ECHO_C" >&6
20045 if test "$cross_compiling" = yes; then
20046 samba_cv_HAVE_STRUCT_FLOCK64
=cross
20048 cat >conftest.
$ac_ext <<_ACEOF
20049 #line $LINENO "configure"
20050 #include "confdefs.h"
20052 #if defined(HAVE_UNISTD_H)
20053 #include <unistd.h>
20056 #include <stdlib.h>
20058 #ifdef HAVE_FCNTL_H
20062 #ifdef HAVE_SYS_FCNTL_H
20063 #include <sys/fcntl.h>
20065 main() { struct flock64 fl64;
20066 #if defined(F_SETLKW64) && defined(F_SETLK64) && defined(F_GETLK64)
20073 rm -f conftest
$ac_exeext
20074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20075 (eval $ac_link) 2>&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20080 (eval $ac_try) 2>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; }; then
20084 samba_cv_HAVE_STRUCT_FLOCK64
=yes
20086 echo "$as_me: program exited with status $ac_status" >&5
20087 echo "$as_me: failed program was:" >&5
20088 cat conftest.
$ac_ext >&5
20089 ( exit $ac_status )
20090 samba_cv_HAVE_STRUCT_FLOCK64
=no
20092 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20095 echo "$as_me:$LINENO: result: $samba_cv_HAVE_STRUCT_FLOCK64" >&5
20096 echo "${ECHO_T}$samba_cv_HAVE_STRUCT_FLOCK64" >&6
20098 if test x
"$samba_cv_HAVE_STRUCT_FLOCK64" = x
"yes"; then
20100 cat >>confdefs.h
<<\_ACEOF
20101 #define HAVE_STRUCT_FLOCK64 1
20107 echo "$as_me:$LINENO: checking for st_blocks in struct stat" >&5
20108 echo $ECHO_N "checking for st_blocks in struct stat... $ECHO_C" >&6
20109 if test "${samba_cv_HAVE_STAT_ST_BLOCKS+set}" = set; then
20110 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 cat >conftest.
$ac_ext <<_ACEOF
20114 #line $LINENO "configure"
20115 #include "confdefs.h"
20116 #include <sys/types.h>
20117 #include <sys/stat.h>
20118 #include <unistd.h>
20119 #ifdef F77_DUMMY_MAIN
20120 # ifdef __cplusplus
20123 int F77_DUMMY_MAIN() { return 1; }
20128 struct stat st; st.st_blocks = 0;
20133 rm -f conftest.
$ac_objext
20134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20135 (eval $ac_compile) 2>&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); } &&
20139 { ac_try
='test -s conftest.$ac_objext'
20140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20141 (eval $ac_try) 2>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); }; }; then
20145 samba_cv_HAVE_STAT_ST_BLOCKS
=yes
20147 echo "$as_me: failed program was:" >&5
20148 cat conftest.
$ac_ext >&5
20149 samba_cv_HAVE_STAT_ST_BLOCKS
=no
20151 rm -f conftest.
$ac_objext conftest.
$ac_ext
20153 echo "$as_me:$LINENO: result: $samba_cv_HAVE_STAT_ST_BLOCKS" >&5
20154 echo "${ECHO_T}$samba_cv_HAVE_STAT_ST_BLOCKS" >&6
20155 if test x
"$samba_cv_HAVE_STAT_ST_BLOCKS" = x
"yes"; then
20157 cat >>confdefs.h
<<\_ACEOF
20158 #define HAVE_STAT_ST_BLOCKS 1
20163 echo "$as_me:$LINENO: checking for st_blksize in struct stat" >&5
20164 echo $ECHO_N "checking for st_blksize in struct stat... $ECHO_C" >&6
20165 if test "${samba_cv_HAVE_STAT_ST_BLKSIZE+set}" = set; then
20166 echo $ECHO_N "(cached) $ECHO_C" >&6
20169 cat >conftest.
$ac_ext <<_ACEOF
20170 #line $LINENO "configure"
20171 #include "confdefs.h"
20172 #include <sys/types.h>
20173 #include <sys/stat.h>
20174 #include <unistd.h>
20175 #ifdef F77_DUMMY_MAIN
20176 # ifdef __cplusplus
20179 int F77_DUMMY_MAIN() { return 1; }
20184 struct stat st; st.st_blksize = 0;
20189 rm -f conftest.
$ac_objext
20190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20191 (eval $ac_compile) 2>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } &&
20195 { ac_try
='test -s conftest.$ac_objext'
20196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20197 (eval $ac_try) 2>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); }; }; then
20201 samba_cv_HAVE_STAT_ST_BLKSIZE
=yes
20203 echo "$as_me: failed program was:" >&5
20204 cat conftest.
$ac_ext >&5
20205 samba_cv_HAVE_STAT_ST_BLKSIZE
=no
20207 rm -f conftest.
$ac_objext conftest.
$ac_ext
20209 echo "$as_me:$LINENO: result: $samba_cv_HAVE_STAT_ST_BLKSIZE" >&5
20210 echo "${ECHO_T}$samba_cv_HAVE_STAT_ST_BLKSIZE" >&6
20211 if test x
"$samba_cv_HAVE_STAT_ST_BLKSIZE" = x
"yes"; then
20213 cat >>confdefs.h
<<\_ACEOF
20214 #define HAVE_STAT_ST_BLKSIZE 1
20221 echo "$as_me:$LINENO: checking for broken RedHat 7.2 system header files" >&5
20222 echo $ECHO_N "checking for broken RedHat 7.2 system header files... $ECHO_C" >&6
20223 if test "${samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS+set}" = set; then
20224 echo $ECHO_N "(cached) $ECHO_C" >&6
20227 cat >conftest.
$ac_ext <<_ACEOF
20228 #line $LINENO "configure"
20229 #include "confdefs.h"
20231 #ifdef HAVE_SYS_VFS_H
20232 #include <sys/vfs.h>
20234 #ifdef HAVE_SYS_CAPABILITY_H
20235 #include <sys/capability.h>
20238 #ifdef F77_DUMMY_MAIN
20239 # ifdef __cplusplus
20242 int F77_DUMMY_MAIN() { return 1; }
20252 rm -f conftest.
$ac_objext
20253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20254 (eval $ac_compile) 2>&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } &&
20258 { ac_try
='test -s conftest.$ac_objext'
20259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20260 (eval $ac_try) 2>&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); }; }; then
20264 samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS
=no
20266 echo "$as_me: failed program was:" >&5
20267 cat conftest.
$ac_ext >&5
20268 samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS
=yes
20270 rm -f conftest.
$ac_objext conftest.
$ac_ext
20272 echo "$as_me:$LINENO: result: $samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS" >&5
20273 echo "${ECHO_T}$samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS" >&6
20274 if test x
"$samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS" = x
"yes"; then
20276 cat >>confdefs.h
<<\_ACEOF
20277 #define BROKEN_REDHAT_7_SYSTEM_HEADERS 1
20284 echo "$as_me:$LINENO: checking for broken nisplus include files" >&5
20285 echo $ECHO_N "checking for broken nisplus include files... $ECHO_C" >&6
20286 if test "${samba_cv_BROKEN_NISPLUS_INCLUDE_FILES+set}" = set; then
20287 echo $ECHO_N "(cached) $ECHO_C" >&6
20290 cat >conftest.
$ac_ext <<_ACEOF
20291 #line $LINENO "configure"
20292 #include "confdefs.h"
20293 #include <sys/acl.h>
20294 #if defined(HAVE_RPCSVC_NIS_H)
20295 #include <rpcsvc/nis.h>
20297 #ifdef F77_DUMMY_MAIN
20298 # ifdef __cplusplus
20301 int F77_DUMMY_MAIN() { return 1; }
20311 rm -f conftest.
$ac_objext
20312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20313 (eval $ac_compile) 2>&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } &&
20317 { ac_try
='test -s conftest.$ac_objext'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; }; then
20323 samba_cv_BROKEN_NISPLUS_INCLUDE_FILES
=no
20325 echo "$as_me: failed program was:" >&5
20326 cat conftest.
$ac_ext >&5
20327 samba_cv_BROKEN_NISPLUS_INCLUDE_FILES
=yes
20329 rm -f conftest.
$ac_objext conftest.
$ac_ext
20331 echo "$as_me:$LINENO: result: $samba_cv_BROKEN_NISPLUS_INCLUDE_FILES" >&5
20332 echo "${ECHO_T}$samba_cv_BROKEN_NISPLUS_INCLUDE_FILES" >&6
20333 if test x
"$samba_cv_BROKEN_NISPLUS_INCLUDE_FILES" = x
"yes"; then
20335 cat >>confdefs.h
<<\_ACEOF
20336 #define BROKEN_NISPLUS_INCLUDE_FILES 1
20342 #################################################
20343 # check for smbwrapper support
20344 echo "$as_me:$LINENO: checking whether to use smbwrapper" >&5
20345 echo $ECHO_N "checking whether to use smbwrapper... $ECHO_C" >&6
20347 # Check whether --with-smbwrapper or --without-smbwrapper was given.
20348 if test "${with_smbwrapper+set}" = set; then
20349 withval
="$with_smbwrapper"
20352 echo "$as_me:$LINENO: result: yes" >&5
20353 echo "${ECHO_T}yes" >&6
20355 cat >>confdefs.h
<<\_ACEOF
20356 #define WITH_SMBWRAPPER 1
20359 WRAPPROG
="bin/smbsh\$(EXEEXT)"
20360 WRAP
="bin/smbwrapper.$SHLIBEXT"
20362 if test x
$ATTEMPT_WRAP32_BUILD = x
; then
20365 WRAP32
=bin
/smbwrapper
.32.
$SHLIBEXT
20368 # Conditions under which smbwrapper should not be built.
20370 if test x
$PICFLAG = x
; then
20371 echo No support
for PIC code
- disabling smbwrapper and smbsh
20375 elif test x
$ac_cv_func_syscall = xno
; then
20376 echo "$as_me:$LINENO: result: No syscall() -- disabling smbwrapper and smbsh" >&5
20377 echo "${ECHO_T}No syscall() -- disabling smbwrapper and smbsh" >&6
20382 EXTRA_ALL_TARGETS
="$EXTRA_ALL_TARGETS $WRAPPROG $WRAP $WRAP32"
20383 SMBWRAPPER
="$WRAPPROG $WRAP $WRAP32"
20386 echo "$as_me:$LINENO: result: no" >&5
20387 echo "${ECHO_T}no" >&6
20391 echo "$as_me:$LINENO: result: no" >&5
20392 echo "${ECHO_T}no" >&6
20396 #################################################
20397 # check for AFS clear-text auth support
20398 echo "$as_me:$LINENO: checking whether to use AFS clear-text auth" >&5
20399 echo $ECHO_N "checking whether to use AFS clear-text auth... $ECHO_C" >&6
20401 # Check whether --with-afs or --without-afs was given.
20402 if test "${with_afs+set}" = set; then
20403 withval
="$with_afs"
20406 echo "$as_me:$LINENO: result: yes" >&5
20407 echo "${ECHO_T}yes" >&6
20409 cat >>confdefs.h
<<\_ACEOF
20415 echo "$as_me:$LINENO: result: no" >&5
20416 echo "${ECHO_T}no" >&6
20420 echo "$as_me:$LINENO: result: no" >&5
20421 echo "${ECHO_T}no" >&6
20426 #################################################
20427 # check for the DFS clear-text auth system
20428 echo "$as_me:$LINENO: checking whether to use DFS clear-text auth" >&5
20429 echo $ECHO_N "checking whether to use DFS clear-text auth... $ECHO_C" >&6
20431 # Check whether --with-dfs or --without-dfs was given.
20432 if test "${with_dfs+set}" = set; then
20433 withval
="$with_dfs"
20436 echo "$as_me:$LINENO: result: yes" >&5
20437 echo "${ECHO_T}yes" >&6
20439 cat >>confdefs.h
<<\_ACEOF
20445 echo "$as_me:$LINENO: result: no" >&5
20446 echo "${ECHO_T}no" >&6
20450 echo "$as_me:$LINENO: result: no" >&5
20451 echo "${ECHO_T}no" >&6
20455 #################################################
20456 # active directory support
20458 with_ads_support
=yes
20459 echo "$as_me:$LINENO: checking whether to use Active Directory" >&5
20460 echo $ECHO_N "checking whether to use Active Directory... $ECHO_C" >&6
20463 # Check whether --with-ads or --without-ads was given.
20464 if test "${with_ads+set}" = set; then
20465 withval
="$with_ads"
20468 with_ads_support
=no
20473 if test x
"$with_ads_support" = x
"yes"; then
20475 cat >>confdefs.h
<<\_ACEOF
20481 echo "$as_me:$LINENO: result: $with_ads_support" >&5
20482 echo "${ECHO_T}$with_ads_support" >&6
20485 if test x
"$with_ads_support" = x
"yes"; then
20487 #################################################
20488 # check for location of Kerberos 5 install
20489 echo "$as_me:$LINENO: checking for kerberos 5 install path" >&5
20490 echo $ECHO_N "checking for kerberos 5 install path... $ECHO_C" >&6
20492 # Check whether --with-krb5 or --without-krb5 was given.
20493 if test "${with_krb5+set}" = set; then
20494 withval
="$with_krb5"
20497 echo "$as_me:$LINENO: result: no" >&5
20498 echo "${ECHO_T}no" >&6
20501 echo "$as_me:$LINENO: result: yes" >&5
20502 echo "${ECHO_T}yes" >&6
20503 LIBS
="$LIBS -lkrb5"
20504 CFLAGS
="$CFLAGS -I$withval/include"
20505 CPPFLAGS
="$CPPFLAGS -I$withval/include"
20506 LDFLAGS
="$LDFLAGS -L$withval/lib"
20511 echo "$as_me:$LINENO: result: no" >&5
20512 echo "${ECHO_T}no" >&6
20517 if test x
$FOUND_KRB5 = x
"no"; then
20518 #################################################
20519 # see if this box has the SuSE location for the heimdal kerberos implementation
20520 echo "$as_me:$LINENO: checking for /usr/include/heimdal" >&5
20521 echo $ECHO_N "checking for /usr/include/heimdal... $ECHO_C" >&6
20522 if test -d /usr
/include
/heimdal
; then
20523 CFLAGS
="$CFLAGS -I/usr/include/heimdal"
20524 CPPFLAGS
="$CPPFLAGS -I/usr/include/heimdal"
20525 echo "$as_me:$LINENO: result: yes" >&5
20526 echo "${ECHO_T}yes" >&6
20528 echo "$as_me:$LINENO: result: no" >&5
20529 echo "${ECHO_T}no" >&6
20534 if test x
$FOUND_KRB5 = x
"no"; then
20535 #################################################
20536 # see if this box has the RedHat location for kerberos
20537 echo "$as_me:$LINENO: checking for /usr/kerberos" >&5
20538 echo $ECHO_N "checking for /usr/kerberos... $ECHO_C" >&6
20539 if test -d /usr
/kerberos
; then
20540 LDFLAGS
="$LDFLAGS -L/usr/kerberos/lib"
20541 CFLAGS
="$CFLAGS -I/usr/kerberos/include"
20542 CPPFLAGS
="$CPPFLAGS -I/usr/kerberos/include"
20543 echo "$as_me:$LINENO: result: yes" >&5
20544 echo "${ECHO_T}yes" >&6
20546 echo "$as_me:$LINENO: result: no" >&5
20547 echo "${ECHO_T}no" >&6
20552 # now check for krb5.h. Some systems have the libraries without the headers!
20553 # note that this check is done here to allow for different kerberos
20556 for ac_header
in krb5.h
20558 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20560 echo "$as_me:$LINENO: checking for $ac_header" >&5
20561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20563 echo $ECHO_N "(cached) $ECHO_C" >&6
20565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20568 # Is the header compilable?
20569 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20570 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20571 cat >conftest.
$ac_ext <<_ACEOF
20572 #line $LINENO "configure"
20573 #include "confdefs.h"
20574 $ac_includes_default
20575 #include <$ac_header>
20577 rm -f conftest.
$ac_objext
20578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20579 (eval $ac_compile) 2>&5
20581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582 (exit $ac_status); } &&
20583 { ac_try
='test -s conftest.$ac_objext'
20584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20585 (eval $ac_try) 2>&5
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); }; }; then
20589 ac_header_compiler
=yes
20591 echo "$as_me: failed program was:" >&5
20592 cat conftest.
$ac_ext >&5
20593 ac_header_compiler
=no
20595 rm -f conftest.
$ac_objext conftest.
$ac_ext
20596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20597 echo "${ECHO_T}$ac_header_compiler" >&6
20599 # Is the header present?
20600 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20601 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20602 cat >conftest.
$ac_ext <<_ACEOF
20603 #line $LINENO "configure"
20604 #include "confdefs.h"
20605 #include <$ac_header>
20607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20608 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20610 egrep -v '^ *\+' conftest.er1
>conftest.err
20612 cat conftest.err
>&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } >/dev
/null
; then
20615 if test -s conftest.err
; then
20616 ac_cpp_err
=$ac_c_preproc_warn_flag
20623 if test -z "$ac_cpp_err"; then
20624 ac_header_preproc
=yes
20626 echo "$as_me: failed program was:" >&5
20627 cat conftest.
$ac_ext >&5
20628 ac_header_preproc
=no
20630 rm -f conftest.err conftest.
$ac_ext
20631 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20632 echo "${ECHO_T}$ac_header_preproc" >&6
20634 # So? What about this header?
20635 case $ac_header_compiler:$ac_header_preproc in
20637 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20638 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
20642 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20644 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20645 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
20649 echo "$as_me:$LINENO: checking for $ac_header" >&5
20650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20652 echo $ECHO_N "(cached) $ECHO_C" >&6
20654 eval "$as_ac_Header=$ac_header_preproc"
20656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20661 cat >>confdefs.h
<<_ACEOF
20662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20670 # now check for gssapi headers. This is also done here to allow for
20671 # different kerberos include paths
20674 for ac_header
in gssapi
/gssapi_generic.h gssapi
/gssapi.h
20676 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20678 echo "$as_me:$LINENO: checking for $ac_header" >&5
20679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20681 echo $ECHO_N "(cached) $ECHO_C" >&6
20683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20686 # Is the header compilable?
20687 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20688 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20689 cat >conftest.
$ac_ext <<_ACEOF
20690 #line $LINENO "configure"
20691 #include "confdefs.h"
20692 $ac_includes_default
20693 #include <$ac_header>
20695 rm -f conftest.
$ac_objext
20696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20697 (eval $ac_compile) 2>&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } &&
20701 { ac_try
='test -s conftest.$ac_objext'
20702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20703 (eval $ac_try) 2>&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); }; }; then
20707 ac_header_compiler
=yes
20709 echo "$as_me: failed program was:" >&5
20710 cat conftest.
$ac_ext >&5
20711 ac_header_compiler
=no
20713 rm -f conftest.
$ac_objext conftest.
$ac_ext
20714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20715 echo "${ECHO_T}$ac_header_compiler" >&6
20717 # Is the header present?
20718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20720 cat >conftest.
$ac_ext <<_ACEOF
20721 #line $LINENO "configure"
20722 #include "confdefs.h"
20723 #include <$ac_header>
20725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20726 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20728 egrep -v '^ *\+' conftest.er1
>conftest.err
20730 cat conftest.err
>&5
20731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20732 (exit $ac_status); } >/dev
/null
; then
20733 if test -s conftest.err
; then
20734 ac_cpp_err
=$ac_c_preproc_warn_flag
20741 if test -z "$ac_cpp_err"; then
20742 ac_header_preproc
=yes
20744 echo "$as_me: failed program was:" >&5
20745 cat conftest.
$ac_ext >&5
20746 ac_header_preproc
=no
20748 rm -f conftest.err conftest.
$ac_ext
20749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20750 echo "${ECHO_T}$ac_header_preproc" >&6
20752 # So? What about this header?
20753 case $ac_header_compiler:$ac_header_preproc in
20755 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
20760 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20761 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20762 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20763 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
20767 echo "$as_me:$LINENO: checking for $ac_header" >&5
20768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20770 echo $ECHO_N "(cached) $ECHO_C" >&6
20772 eval "$as_ac_Header=$ac_header_preproc"
20774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20779 cat >>confdefs.h
<<_ACEOF
20780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20788 ##################################################################
20789 # we might need the k5crypto and com_err libraries on some systems
20790 echo "$as_me:$LINENO: checking for _et_list in -lcom_err" >&5
20791 echo $ECHO_N "checking for _et_list in -lcom_err... $ECHO_C" >&6
20792 if test "${ac_cv_lib_com_err__et_list+set}" = set; then
20793 echo $ECHO_N "(cached) $ECHO_C" >&6
20795 ac_check_lib_save_LIBS
=$LIBS
20796 LIBS
="-lcom_err $LIBS"
20797 cat >conftest.
$ac_ext <<_ACEOF
20798 #line $LINENO "configure"
20799 #include "confdefs.h"
20801 /* Override any gcc2 internal prototype to avoid an error. */
20805 /* We use char because int might match the return type of a gcc2
20806 builtin and then its argument prototype would still apply. */
20808 #ifdef F77_DUMMY_MAIN
20809 # ifdef __cplusplus
20812 int F77_DUMMY_MAIN() { return 1; }
20822 rm -f conftest.
$ac_objext conftest
$ac_exeext
20823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20824 (eval $ac_link) 2>&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); } &&
20828 { ac_try
='test -s conftest$ac_exeext'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); }; }; then
20834 ac_cv_lib_com_err__et_list
=yes
20836 echo "$as_me: failed program was:" >&5
20837 cat conftest.
$ac_ext >&5
20838 ac_cv_lib_com_err__et_list
=no
20840 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20841 LIBS
=$ac_check_lib_save_LIBS
20843 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err__et_list" >&5
20844 echo "${ECHO_T}$ac_cv_lib_com_err__et_list" >&6
20845 if test $ac_cv_lib_com_err__et_list = yes; then
20846 LIBS
="$LIBS -lcom_err"
20849 echo "$as_me:$LINENO: checking for krb5_encrypt_data in -lk5crypto" >&5
20850 echo $ECHO_N "checking for krb5_encrypt_data in -lk5crypto... $ECHO_C" >&6
20851 if test "${ac_cv_lib_k5crypto_krb5_encrypt_data+set}" = set; then
20852 echo $ECHO_N "(cached) $ECHO_C" >&6
20854 ac_check_lib_save_LIBS
=$LIBS
20855 LIBS
="-lk5crypto $LIBS"
20856 cat >conftest.
$ac_ext <<_ACEOF
20857 #line $LINENO "configure"
20858 #include "confdefs.h"
20860 /* Override any gcc2 internal prototype to avoid an error. */
20864 /* We use char because int might match the return type of a gcc2
20865 builtin and then its argument prototype would still apply. */
20866 char krb5_encrypt_data ();
20867 #ifdef F77_DUMMY_MAIN
20868 # ifdef __cplusplus
20871 int F77_DUMMY_MAIN() { return 1; }
20876 krb5_encrypt_data ();
20881 rm -f conftest.
$ac_objext conftest
$ac_exeext
20882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20883 (eval $ac_link) 2>&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } &&
20887 { ac_try
='test -s conftest$ac_exeext'
20888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20889 (eval $ac_try) 2>&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); }; }; then
20893 ac_cv_lib_k5crypto_krb5_encrypt_data
=yes
20895 echo "$as_me: failed program was:" >&5
20896 cat conftest.
$ac_ext >&5
20897 ac_cv_lib_k5crypto_krb5_encrypt_data
=no
20899 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20900 LIBS
=$ac_check_lib_save_LIBS
20902 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_encrypt_data" >&5
20903 echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_encrypt_data" >&6
20904 if test $ac_cv_lib_k5crypto_krb5_encrypt_data = yes; then
20905 LIBS
="$LIBS -lk5crypto"
20909 ########################################################
20910 # now see if we can find the krb5 libs in standard paths
20911 # or as specified above
20912 echo "$as_me:$LINENO: checking for krb5_mk_req_extended in -lkrb5" >&5
20913 echo $ECHO_N "checking for krb5_mk_req_extended in -lkrb5... $ECHO_C" >&6
20914 if test "${ac_cv_lib_krb5_krb5_mk_req_extended+set}" = set; then
20915 echo $ECHO_N "(cached) $ECHO_C" >&6
20917 ac_check_lib_save_LIBS
=$LIBS
20918 LIBS
="-lkrb5 $LIBS"
20919 cat >conftest.
$ac_ext <<_ACEOF
20920 #line $LINENO "configure"
20921 #include "confdefs.h"
20923 /* Override any gcc2 internal prototype to avoid an error. */
20927 /* We use char because int might match the return type of a gcc2
20928 builtin and then its argument prototype would still apply. */
20929 char krb5_mk_req_extended ();
20930 #ifdef F77_DUMMY_MAIN
20931 # ifdef __cplusplus
20934 int F77_DUMMY_MAIN() { return 1; }
20939 krb5_mk_req_extended ();
20944 rm -f conftest.
$ac_objext conftest
$ac_exeext
20945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20946 (eval $ac_link) 2>&5
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); } &&
20950 { ac_try
='test -s conftest$ac_exeext'
20951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20952 (eval $ac_try) 2>&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); }; }; then
20956 ac_cv_lib_krb5_krb5_mk_req_extended
=yes
20958 echo "$as_me: failed program was:" >&5
20959 cat conftest.
$ac_ext >&5
20960 ac_cv_lib_krb5_krb5_mk_req_extended
=no
20962 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20963 LIBS
=$ac_check_lib_save_LIBS
20965 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_mk_req_extended" >&5
20966 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_mk_req_extended" >&6
20967 if test $ac_cv_lib_krb5_krb5_mk_req_extended = yes; then
20968 LIBS
="$LIBS -lkrb5";
20970 cat >>confdefs.h
<<\_ACEOF
20971 #define HAVE_KRB5 1
20977 ########################################################
20978 # now see if we can find the gssapi libs in standard paths
20979 echo "$as_me:$LINENO: checking for gss_display_status in -lgssapi_krb5" >&5
20980 echo $ECHO_N "checking for gss_display_status in -lgssapi_krb5... $ECHO_C" >&6
20981 if test "${ac_cv_lib_gssapi_krb5_gss_display_status+set}" = set; then
20982 echo $ECHO_N "(cached) $ECHO_C" >&6
20984 ac_check_lib_save_LIBS
=$LIBS
20985 LIBS
="-lgssapi_krb5 $LIBS"
20986 cat >conftest.
$ac_ext <<_ACEOF
20987 #line $LINENO "configure"
20988 #include "confdefs.h"
20990 /* Override any gcc2 internal prototype to avoid an error. */
20994 /* We use char because int might match the return type of a gcc2
20995 builtin and then its argument prototype would still apply. */
20996 char gss_display_status ();
20997 #ifdef F77_DUMMY_MAIN
20998 # ifdef __cplusplus
21001 int F77_DUMMY_MAIN() { return 1; }
21006 gss_display_status ();
21011 rm -f conftest.
$ac_objext conftest
$ac_exeext
21012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21013 (eval $ac_link) 2>&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } &&
21017 { ac_try
='test -s conftest$ac_exeext'
21018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21019 (eval $ac_try) 2>&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); }; }; then
21023 ac_cv_lib_gssapi_krb5_gss_display_status
=yes
21025 echo "$as_me: failed program was:" >&5
21026 cat conftest.
$ac_ext >&5
21027 ac_cv_lib_gssapi_krb5_gss_display_status
=no
21029 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21030 LIBS
=$ac_check_lib_save_LIBS
21032 echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_display_status" >&5
21033 echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_display_status" >&6
21034 if test $ac_cv_lib_gssapi_krb5_gss_display_status = yes; then
21035 LIBS
="$LIBS -lgssapi_krb5";
21037 cat >>confdefs.h
<<\_ACEOF
21038 #define HAVE_GSSAPI 1
21045 ########################################################
21046 # Compile with LDAP support?
21048 with_ldap_support
=yes
21049 echo "$as_me:$LINENO: checking whether to use LDAP" >&5
21050 echo $ECHO_N "checking whether to use LDAP... $ECHO_C" >&6
21053 # Check whether --with-ldap or --without-ldap was given.
21054 if test "${with_ldap+set}" = set; then
21055 withval
="$with_ldap"
21058 with_ldap_support
=no
21063 echo "$as_me:$LINENO: result: $with_ldap_support" >&5
21064 echo "${ECHO_T}$with_ldap_support" >&6
21066 if test x
"$with_ldap_support" = x
"yes"; then
21068 ##################################################################
21069 # we might need the lber lib on some systems. To avoid link errors
21070 # this test must be before the libldap test
21071 echo "$as_me:$LINENO: checking for ber_scanf in -llber" >&5
21072 echo $ECHO_N "checking for ber_scanf in -llber... $ECHO_C" >&6
21073 if test "${ac_cv_lib_lber_ber_scanf+set}" = set; then
21074 echo $ECHO_N "(cached) $ECHO_C" >&6
21076 ac_check_lib_save_LIBS
=$LIBS
21077 LIBS
="-llber $LIBS"
21078 cat >conftest.
$ac_ext <<_ACEOF
21079 #line $LINENO "configure"
21080 #include "confdefs.h"
21082 /* Override any gcc2 internal prototype to avoid an error. */
21086 /* We use char because int might match the return type of a gcc2
21087 builtin and then its argument prototype would still apply. */
21089 #ifdef F77_DUMMY_MAIN
21090 # ifdef __cplusplus
21093 int F77_DUMMY_MAIN() { return 1; }
21103 rm -f conftest.
$ac_objext conftest
$ac_exeext
21104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21105 (eval $ac_link) 2>&5
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); } &&
21109 { ac_try
='test -s conftest$ac_exeext'
21110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21111 (eval $ac_try) 2>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); }; }; then
21115 ac_cv_lib_lber_ber_scanf
=yes
21117 echo "$as_me: failed program was:" >&5
21118 cat conftest.
$ac_ext >&5
21119 ac_cv_lib_lber_ber_scanf
=no
21121 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21122 LIBS
=$ac_check_lib_save_LIBS
21124 echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_scanf" >&5
21125 echo "${ECHO_T}$ac_cv_lib_lber_ber_scanf" >&6
21126 if test $ac_cv_lib_lber_ber_scanf = yes; then
21127 LIBS
="$LIBS -llber"
21131 ########################################################
21132 # now see if we can find the ldap libs in standard paths
21133 if test x
$have_ldap != xyes
; then
21134 echo "$as_me:$LINENO: checking for ldap_domain2hostlist in -lldap" >&5
21135 echo $ECHO_N "checking for ldap_domain2hostlist in -lldap... $ECHO_C" >&6
21136 if test "${ac_cv_lib_ldap_ldap_domain2hostlist+set}" = set; then
21137 echo $ECHO_N "(cached) $ECHO_C" >&6
21139 ac_check_lib_save_LIBS
=$LIBS
21140 LIBS
="-lldap $LIBS"
21141 cat >conftest.
$ac_ext <<_ACEOF
21142 #line $LINENO "configure"
21143 #include "confdefs.h"
21145 /* Override any gcc2 internal prototype to avoid an error. */
21149 /* We use char because int might match the return type of a gcc2
21150 builtin and then its argument prototype would still apply. */
21151 char ldap_domain2hostlist ();
21152 #ifdef F77_DUMMY_MAIN
21153 # ifdef __cplusplus
21156 int F77_DUMMY_MAIN() { return 1; }
21161 ldap_domain2hostlist ();
21166 rm -f conftest.
$ac_objext conftest
$ac_exeext
21167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21168 (eval $ac_link) 2>&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); } &&
21172 { ac_try
='test -s conftest$ac_exeext'
21173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21174 (eval $ac_try) 2>&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; }; then
21178 ac_cv_lib_ldap_ldap_domain2hostlist
=yes
21180 echo "$as_me: failed program was:" >&5
21181 cat conftest.
$ac_ext >&5
21182 ac_cv_lib_ldap_ldap_domain2hostlist
=no
21184 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21185 LIBS
=$ac_check_lib_save_LIBS
21187 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_domain2hostlist" >&5
21188 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_domain2hostlist" >&6
21189 if test $ac_cv_lib_ldap_ldap_domain2hostlist = yes; then
21190 LIBS
="$LIBS -lldap";
21192 cat >>confdefs.h
<<\_ACEOF
21193 #define HAVE_LDAP 1
21199 ########################################################
21200 # If we have LDAP, does it's rebind procedure take 2 or 3 arguments?
21201 # Check found in pam_ldap 145.
21203 for ac_func
in ldap_set_rebind_proc
21205 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21206 echo "$as_me:$LINENO: checking for $ac_func" >&5
21207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21208 if eval "test \"\${$as_ac_var+set}\" = set"; then
21209 echo $ECHO_N "(cached) $ECHO_C" >&6
21211 cat >conftest.
$ac_ext <<_ACEOF
21212 #line $LINENO "configure"
21213 #include "confdefs.h"
21214 /* System header to define __stub macros and hopefully few prototypes,
21215 which can conflict with char $ac_func (); below. */
21216 #include <assert.h>
21217 /* Override any gcc2 internal prototype to avoid an error. */
21221 /* We use char because int might match the return type of a gcc2
21222 builtin and then its argument prototype would still apply. */
21226 #ifdef F77_DUMMY_MAIN
21227 # ifdef __cplusplus
21230 int F77_DUMMY_MAIN() { return 1; }
21235 /* The GNU C library defines this for functions which it implements
21236 to always fail with ENOSYS. Some functions are actually named
21237 something starting with __ and the normal name is an alias. */
21238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21248 rm -f conftest.
$ac_objext conftest
$ac_exeext
21249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21250 (eval $ac_link) 2>&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); } &&
21254 { ac_try
='test -s conftest$ac_exeext'
21255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21256 (eval $ac_try) 2>&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); }; }; then
21260 eval "$as_ac_var=yes"
21262 echo "$as_me: failed program was:" >&5
21263 cat conftest.
$ac_ext >&5
21264 eval "$as_ac_var=no"
21266 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21270 if test `eval echo '${'$as_ac_var'}'` = yes; then
21271 cat >>confdefs.h
<<_ACEOF
21272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21278 echo "$as_me:$LINENO: checking whether ldap_set_rebind_proc takes 3 arguments" >&5
21279 echo $ECHO_N "checking whether ldap_set_rebind_proc takes 3 arguments... $ECHO_C" >&6
21280 if test "${pam_ldap_cv_ldap_set_rebind_proc+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21284 cat >conftest.
$ac_ext <<_ACEOF
21285 #line $LINENO "configure"
21286 #include "confdefs.h"
21290 #ifdef F77_DUMMY_MAIN
21291 # ifdef __cplusplus
21294 int F77_DUMMY_MAIN() { return 1; }
21299 ldap_set_rebind_proc(0, 0, 0);
21304 rm -f conftest.
$ac_objext
21305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21306 (eval $ac_compile) 2>&5
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); } &&
21310 { ac_try
='test -s conftest.$ac_objext'
21311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21312 (eval $ac_try) 2>&5
21314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315 (exit $ac_status); }; }; then
21316 pam_ldap_cv_ldap_set_rebind_proc
=3
21318 echo "$as_me: failed program was:" >&5
21319 cat conftest.
$ac_ext >&5
21320 pam_ldap_cv_ldap_set_rebind_proc
=2
21322 rm -f conftest.
$ac_objext conftest.
$ac_ext
21324 echo "$as_me:$LINENO: result: $pam_ldap_cv_ldap_set_rebind_proc" >&5
21325 echo "${ECHO_T}$pam_ldap_cv_ldap_set_rebind_proc" >&6
21327 cat >>confdefs.h
<<_ACEOF
21328 #define LDAP_SET_REBIND_PROC_ARGS $pam_ldap_cv_ldap_set_rebind_proc
21334 ########################################################
21335 # Compile with MySQL support?
21337 # Check whether --with-mysql-prefix or --without-mysql-prefix was given.
21338 if test "${with_mysql_prefix+set}" = set; then
21339 withval
="$with_mysql_prefix"
21340 mysql_prefix
="$withval"
21345 # Check whether --with-mysql-exec-prefix or --without-mysql-exec-prefix was given.
21346 if test "${with_mysql_exec_prefix+set}" = set; then
21347 withval
="$with_mysql_exec_prefix"
21348 mysql_exec_prefix
="$withval"
21350 mysql_exec_prefix
=""
21352 # Check whether --enable-mysqltest or --disable-mysqltest was given.
21353 if test "${enable_mysqltest+set}" = set; then
21354 enableval
="$enable_mysqltest"
21357 enable_mysqltest
=yes
21360 if test x
$mysql_exec_prefix != x
; then
21361 mysql_args
="$mysql_args --exec-prefix=$mysql_exec_prefix"
21362 if test x
${MYSQL_CONFIG+set} != xset
; then
21363 MYSQL_CONFIG
=$mysql_exec_prefix/bin
/mysql_config
21366 if test x
$mysql_prefix != x
; then
21367 mysql_args
="$mysql_args --prefix=$mysql_prefix"
21368 if test x
${MYSQL_CONFIG+set} != xset
; then
21369 MYSQL_CONFIG
=$mysql_prefix/bin
/mysql_config
21374 # Extract the first word of "mysql_config", so it can be a program name with args.
21375 set dummy mysql_config
; ac_word
=$2
21376 echo "$as_me:$LINENO: checking for $ac_word" >&5
21377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21378 if test "${ac_cv_path_MYSQL_CONFIG+set}" = set; then
21379 echo $ECHO_N "(cached) $ECHO_C" >&6
21381 case $MYSQL_CONFIG in
21383 ac_cv_path_MYSQL_CONFIG
="$MYSQL_CONFIG" # Let the user override the test with a path.
21386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21387 for as_dir
in $PATH
21390 test -z "$as_dir" && as_dir
=.
21391 for ac_exec_ext
in '' $ac_executable_extensions; do
21392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21393 ac_cv_path_MYSQL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21400 test -z "$ac_cv_path_MYSQL_CONFIG" && ac_cv_path_MYSQL_CONFIG
="no"
21404 MYSQL_CONFIG
=$ac_cv_path_MYSQL_CONFIG
21406 if test -n "$MYSQL_CONFIG"; then
21407 echo "$as_me:$LINENO: result: $MYSQL_CONFIG" >&5
21408 echo "${ECHO_T}$MYSQL_CONFIG" >&6
21410 echo "$as_me:$LINENO: result: no" >&5
21411 echo "${ECHO_T}no" >&6
21414 min_mysql_version
=0.11.0
21415 echo "$as_me:$LINENO: checking for MYSQL - version >= $min_mysql_version" >&5
21416 echo $ECHO_N "checking for MYSQL - version >= $min_mysql_version... $ECHO_C" >&6
21418 if test "$MYSQL_CONFIG" = "no" ; then
21421 MYSQL_CFLAGS
=`$MYSQL_CONFIG $mysqlconf_args --cflags | sed -e "s/'//g"`
21422 MYSQL_LIBS
=`$MYSQL_CONFIG $mysqlconf_args --libs | sed -e "s/'//g"`
21424 mysql_major_version
=`$MYSQL_CONFIG $mysql_args --version | \
21425 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21426 mysql_minor_version
=`$MYSQL_CONFIG $mysql_args --version | \
21427 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21428 mysql_micro_version
=`$MYSQL_CONFIG $mysql_config_args --version | \
21429 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21430 if test "x$enable_mysqltest" = "xyes" ; then
21431 ac_save_CFLAGS
="$CFLAGS"
21432 ac_save_LIBS
="$LIBS"
21433 CFLAGS
="$CFLAGS $MYSQL_CFLAGS"
21434 LIBS
="$LIBS $MYSQL_LIBS"
21435 rm -f conf.mysqltest
21436 if test "$cross_compiling" = yes; then
21437 echo $ac_n "cross compiling; assumed OK... $ac_c"
21439 cat >conftest.
$ac_ext <<_ACEOF
21440 #line $LINENO "configure"
21441 #include "confdefs.h"
21444 #include <stdlib.h>
21445 #include <string.h>
21449 my_strdup (char *str)
21455 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
21456 strcpy (new_str, str);
21464 int main (int argc, char *argv[])
21466 int major, minor, micro;
21469 /* This hangs on some systems (?)
21470 system ("touch conf.mysqltest");
21472 { FILE *fp = fopen("conf.mysqltest", "a"); if ( fp ) fclose(fp); }
21474 /* HP/UX 9 (%@#!) writes to sscanf strings */
21475 tmp_version = my_strdup("$min_mysql_version");
21476 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21477 printf("%s, bad version string\n", "$min_mysql_version");
21481 if (($mysql_major_version > major) ||
21482 (($mysql_major_version == major) && ($mysql_minor_version > minor)) ||
21483 (($mysql_major_version == major) && ($mysql_minor_version == minor) && ($mysql_micro_version >= micro)))
21489 printf("\n*** 'mysql_config --version' returned %d.%d.%d, but the minimum version\n", $mysql_major_version, $mysql_minor_version, $mysql_micro_version);
21490 printf("*** of MYSQL required is %d.%d.%d. If mysql_config is correct, then it is\n", major, minor, micro);
21491 printf("*** best to upgrade to the required version.\n");
21492 printf("*** If mysql_config was wrong, set the environment variable MYSQL_CONFIG\n");
21493 printf("*** to point to the correct copy of mysql_config, and remove the file\n");
21494 printf("*** config.cache before re-running configure\n");
21501 rm -f conftest
$ac_exeext
21502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21503 (eval $ac_link) 2>&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21508 (eval $ac_try) 2>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); }; }; then
21514 echo "$as_me: program exited with status $ac_status" >&5
21515 echo "$as_me: failed program was:" >&5
21516 cat conftest.
$ac_ext >&5
21517 ( exit $ac_status )
21520 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21522 CFLAGS
="$ac_save_CFLAGS"
21523 LIBS
="$ac_save_LIBS"
21526 if test "x$no_mysql" = x
; then
21527 echo "$as_me:$LINENO: result: yes" >&5
21528 echo "${ECHO_T}yes" >&6
21529 MODULE_MYSQL
=bin
/mysql.so
21531 echo "$as_me:$LINENO: result: no" >&5
21532 echo "${ECHO_T}no" >&6
21533 if test "$MYSQL_CONFIG" = "no" ; then
21534 echo "*** The mysql_config script installed by MYSQL could not be found"
21535 echo "*** If MYSQL was installed in PREFIX, make sure PREFIX/bin is in"
21536 echo "*** your path, or set the MYSQL_CONFIG environment variable to the"
21537 echo "*** full path to mysql_config."
21539 if test -f conf.mysqltest
; then
21542 echo "*** Could not run MYSQL test program, checking why..."
21543 CFLAGS
="$CFLAGS $MYSQL_CFLAGS"
21544 LIBS
="$LIBS $MYSQL_LIBS"
21545 cat >conftest.
$ac_ext <<_ACEOF
21546 #line $LINENO "configure"
21547 #include "confdefs.h"
21552 int main(int argc, char *argv[])
21555 #define main K_and_R_C_main
21557 #ifdef F77_DUMMY_MAIN
21558 # ifdef __cplusplus
21561 int F77_DUMMY_MAIN() { return 1; }
21571 rm -f conftest.
$ac_objext conftest
$ac_exeext
21572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21573 (eval $ac_link) 2>&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); } &&
21577 { ac_try
='test -s conftest$ac_exeext'
21578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21579 (eval $ac_try) 2>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); }; }; then
21583 echo "*** The test program compiled, but did not run. This usually means"
21584 echo "*** that the run-time linker is not finding MYSQL or finding the wrong"
21585 echo "*** version of MYSQL. If it is not finding MYSQL, you'll need to set your"
21586 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21587 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21588 echo "*** is required on your system"
21590 echo "*** If you have an old version installed, it is best to remove it, although"
21591 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21593 echo "$as_me: failed program was:" >&5
21594 cat conftest.
$ac_ext >&5
21595 echo "*** The test program failed to compile or link. See the file config.log for the"
21596 echo "*** exact error that occured. This usually means MYSQL was incorrectly installed"
21597 echo "*** or that you have moved MYSQL since it was installed. In the latter case, you"
21598 echo "*** may want to edit the mysql_config script: $MYSQL_CONFIG"
21600 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21601 CFLAGS
="$ac_save_CFLAGS"
21602 LIBS
="$ac_save_LIBS"
21611 rm -f conf.mysqltest
21613 CFLAGS
="$CFLAGS $MYSQL_CFLAGS"
21616 ########################################################
21617 # Compile with XML support?
21620 # Check whether --with-xml-prefix or --without-xml-prefix was given.
21621 if test "${with_xml_prefix+set}" = set; then
21622 withval
="$with_xml_prefix"
21623 xml_config_prefix
="$withval"
21625 xml_config_prefix
=""
21628 # Check whether --with-xml-exec-prefix or --without-xml-exec-prefix was given.
21629 if test "${with_xml_exec_prefix+set}" = set; then
21630 withval
="$with_xml_exec_prefix"
21631 xml_config_exec_prefix
="$withval"
21633 xml_config_exec_prefix
=""
21635 # Check whether --enable-xmltest or --disable-xmltest was given.
21636 if test "${enable_xmltest+set}" = set; then
21637 enableval
="$enable_xmltest"
21643 if test x
$xml_config_exec_prefix != x
; then
21644 xml_config_args
="$xml_config_args --exec-prefix=$xml_config_exec_prefix"
21645 if test x
${XML2_CONFIG+set} != xset
; then
21646 XML2_CONFIG
=$xml_config_exec_prefix/bin
/xml2-config
21649 if test x
$xml_config_prefix != x
; then
21650 xml_config_args
="$xml_config_args --prefix=$xml_config_prefix"
21651 if test x
${XML2_CONFIG+set} != xset
; then
21652 XML2_CONFIG
=$xml_config_prefix/bin
/xml2-config
21656 # Extract the first word of "xml2-config", so it can be a program name with args.
21657 set dummy xml2-config
; ac_word
=$2
21658 echo "$as_me:$LINENO: checking for $ac_word" >&5
21659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21660 if test "${ac_cv_path_XML2_CONFIG+set}" = set; then
21661 echo $ECHO_N "(cached) $ECHO_C" >&6
21663 case $XML2_CONFIG in
21665 ac_cv_path_XML2_CONFIG
="$XML2_CONFIG" # Let the user override the test with a path.
21668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21669 for as_dir
in $PATH
21672 test -z "$as_dir" && as_dir
=.
21673 for ac_exec_ext
in '' $ac_executable_extensions; do
21674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21675 ac_cv_path_XML2_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21682 test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG
="no"
21686 XML2_CONFIG
=$ac_cv_path_XML2_CONFIG
21688 if test -n "$XML2_CONFIG"; then
21689 echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5
21690 echo "${ECHO_T}$XML2_CONFIG" >&6
21692 echo "$as_me:$LINENO: result: no" >&5
21693 echo "${ECHO_T}no" >&6
21696 min_xml_version
=2.0.0
21697 echo "$as_me:$LINENO: checking for libxml - version >= $min_xml_version" >&5
21698 echo $ECHO_N "checking for libxml - version >= $min_xml_version... $ECHO_C" >&6
21700 if test "$XML2_CONFIG" = "no" ; then
21703 XML_CFLAGS
=`$XML2_CONFIG $xml_config_args --cflags`
21704 XML_LIBS
=`$XML2_CONFIG $xml_config_args --libs`
21705 xml_config_major_version
=`$XML2_CONFIG $xml_config_args --version | \
21706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21707 xml_config_minor_version
=`$XML2_CONFIG $xml_config_args --version | \
21708 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21709 xml_config_micro_version
=`$XML2_CONFIG $xml_config_args --version | \
21710 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21711 if test "x$enable_xmltest" = "xyes" ; then
21712 ac_save_CFLAGS
="$CFLAGS"
21713 ac_save_LIBS
="$LIBS"
21714 CFLAGS
="$CFLAGS $XML_CFLAGS"
21715 LIBS
="$XML_LIBS $LIBS"
21717 if test "$cross_compiling" = yes; then
21718 echo $ac_n "cross compiling; assumed OK... $ac_c"
21720 cat >conftest.
$ac_ext <<_ACEOF
21721 #line $LINENO "configure"
21722 #include "confdefs.h"
21724 #include <stdlib.h>
21726 #include <string.h>
21727 #include <libxml/xmlversion.h>
21732 int xml_major_version, xml_minor_version, xml_micro_version;
21733 int major, minor, micro;
21736 system("touch conf.xmltest");
21738 /* Capture xml2-config output via autoconf/configure variables */
21739 /* HP/UX 9 (%@#!) writes to sscanf strings */
21740 tmp_version = (char *)strdup("$min_xml_version");
21741 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21742 printf("%s, bad version string from xml2-config\n", "$min_xml_version");
21747 /* Capture the version information from the header files */
21748 tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
21749 if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) {
21750 printf("%s, bad version string from libxml includes\n", "LIBXML_DOTTED_VERSION");
21755 /* Compare xml2-config output to the libxml headers */
21756 if ((xml_major_version != $xml_config_major_version) ||
21757 (xml_minor_version != $xml_config_minor_version) ||
21758 (xml_micro_version != $xml_config_micro_version))
21760 printf("*** libxml header files (version %d.%d.%d) do not match\n",
21761 xml_major_version, xml_minor_version, xml_micro_version);
21762 printf("*** xml2-config (version %d.%d.%d)\n",
21763 $xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version);
21766 /* Compare the headers to the library to make sure we match */
21767 /* Less than ideal -- doesn't provide us with return value feedback,
21768 * only exits if there's a serious mismatch between header and library.
21770 LIBXML_TEST_VERSION;
21772 /* Test that the library is greater than our minimum version */
21773 if ((xml_major_version > major) ||
21774 ((xml_major_version == major) && (xml_minor_version > minor)) ||
21775 ((xml_major_version == major) && (xml_minor_version == minor) &&
21776 (xml_micro_version >= micro)))
21782 printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
21783 xml_major_version, xml_minor_version, xml_micro_version);
21784 printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
21785 major, minor, micro);
21786 printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
21788 printf("*** If you have already installed a sufficiently new version, this error\n");
21789 printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
21790 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21791 printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n");
21792 printf("*** correct copy of xml2-config. (In this case, you will have to\n");
21793 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21794 printf("*** so that the correct libraries are found at run-time))\n");
21800 rm -f conftest
$ac_exeext
21801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21802 (eval $ac_link) 2>&5
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807 (eval $ac_try) 2>&5
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); }; }; then
21813 echo "$as_me: program exited with status $ac_status" >&5
21814 echo "$as_me: failed program was:" >&5
21815 cat conftest.
$ac_ext >&5
21816 ( exit $ac_status )
21819 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21821 CFLAGS
="$ac_save_CFLAGS"
21822 LIBS
="$ac_save_LIBS"
21826 if test "x$no_xml" = x
; then
21827 echo "$as_me:$LINENO: result: yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&5
21828 echo "${ECHO_T}yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&6
21829 MODULE_XML
=bin
/xml.so
21831 echo "$as_me:$LINENO: result: no" >&5
21832 echo "${ECHO_T}no" >&6
21833 if test "$XML2_CONFIG" = "no" ; then
21834 echo "*** The xml2-config script installed by LIBXML could not be found"
21835 echo "*** If libxml was installed in PREFIX, make sure PREFIX/bin is in"
21836 echo "*** your path, or set the XML2_CONFIG environment variable to the"
21837 echo "*** full path to xml2-config."
21839 if test -f conf.xmltest
; then
21842 echo "*** Could not run libxml test program, checking why..."
21843 CFLAGS
="$CFLAGS $XML_CFLAGS"
21844 LIBS
="$LIBS $XML_LIBS"
21845 cat >conftest.
$ac_ext <<_ACEOF
21846 #line $LINENO "configure"
21847 #include "confdefs.h"
21849 #include <libxml/xmlversion.h>
21852 #ifdef F77_DUMMY_MAIN
21853 # ifdef __cplusplus
21856 int F77_DUMMY_MAIN() { return 1; }
21861 LIBXML_TEST_VERSION; return 0;
21866 rm -f conftest.
$ac_objext conftest
$ac_exeext
21867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21868 (eval $ac_link) 2>&5
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); } &&
21872 { ac_try
='test -s conftest$ac_exeext'
21873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21874 (eval $ac_try) 2>&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); }; }; then
21878 echo "*** The test program compiled, but did not run. This usually means"
21879 echo "*** that the run-time linker is not finding LIBXML or finding the wrong"
21880 echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"
21881 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21882 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21883 echo "*** is required on your system"
21885 echo "*** If you have an old version installed, it is best to remove it, although"
21886 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21888 echo "$as_me: failed program was:" >&5
21889 cat conftest.
$ac_ext >&5
21890 echo "*** The test program failed to compile or link. See the file config.log for the"
21891 echo "*** exact error that occured. This usually means LIBXML was incorrectly installed"
21892 echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
21893 echo "*** may want to edit the xml2-config script: $XML2_CONFIG"
21895 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21896 CFLAGS
="$ac_save_CFLAGS"
21897 LIBS
="$ac_save_LIBS"
21909 CFLAGS
="$CFLAGS $XML_CFLAGS"
21912 #################################################
21913 # check for automount support
21914 echo "$as_me:$LINENO: checking whether to use automount" >&5
21915 echo $ECHO_N "checking whether to use automount... $ECHO_C" >&6
21917 # Check whether --with-automount or --without-automount was given.
21918 if test "${with_automount+set}" = set; then
21919 withval
="$with_automount"
21922 echo "$as_me:$LINENO: result: yes" >&5
21923 echo "${ECHO_T}yes" >&6
21925 cat >>confdefs.h
<<\_ACEOF
21926 #define WITH_AUTOMOUNT 1
21931 echo "$as_me:$LINENO: result: no" >&5
21932 echo "${ECHO_T}no" >&6
21936 echo "$as_me:$LINENO: result: no" >&5
21937 echo "${ECHO_T}no" >&6
21941 #################################################
21942 # check for smbmount support
21943 echo "$as_me:$LINENO: checking whether to use smbmount" >&5
21944 echo $ECHO_N "checking whether to use smbmount... $ECHO_C" >&6
21946 # Check whether --with-smbmount or --without-smbmount was given.
21947 if test "${with_smbmount+set}" = set; then
21948 withval
="$with_smbmount"
21953 echo "$as_me:$LINENO: result: yes" >&5
21954 echo "${ECHO_T}yes" >&6
21956 cat >>confdefs.h
<<\_ACEOF
21957 #define WITH_SMBMOUNT 1
21960 EXTRA_BIN_PROGS
="$EXTRA_BIN_PROGS bin/smbmount bin/smbmnt bin/smbumount"
21963 { { echo "$as_me:$LINENO: error: not on a linux system!" >&5
21964 echo "$as_me: error: not on a linux system!" >&2;}
21965 { (exit 1); exit 1; }; }
21970 echo "$as_me:$LINENO: result: no" >&5
21971 echo "${ECHO_T}no" >&6
21975 echo "$as_me:$LINENO: result: no" >&5
21976 echo "${ECHO_T}no" >&6
21981 #################################################
21982 # check for a PAM clear-text auth, accounts, password and session support
21983 with_pam_for_crypt
=no
21984 echo "$as_me:$LINENO: checking whether to use PAM" >&5
21985 echo $ECHO_N "checking whether to use PAM... $ECHO_C" >&6
21987 # Check whether --with-pam or --without-pam was given.
21988 if test "${with_pam+set}" = set; then
21989 withval
="$with_pam"
21992 echo "$as_me:$LINENO: result: yes" >&5
21993 echo "${ECHO_T}yes" >&6
21995 cat >>confdefs.h
<<\_ACEOF
21999 AUTHLIBS
="$AUTHLIBS -lpam"
22000 with_pam_for_crypt
=yes
22003 echo "$as_me:$LINENO: result: no" >&5
22004 echo "${ECHO_T}no" >&6
22008 echo "$as_me:$LINENO: result: no" >&5
22009 echo "${ECHO_T}no" >&6
22013 # we can't build a pam module if we don't have pam.
22014 echo "$as_me:$LINENO: checking for pam_get_data in -lpam" >&5
22015 echo $ECHO_N "checking for pam_get_data in -lpam... $ECHO_C" >&6
22016 if test "${ac_cv_lib_pam_pam_get_data+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22019 ac_check_lib_save_LIBS
=$LIBS
22021 cat >conftest.
$ac_ext <<_ACEOF
22022 #line $LINENO "configure"
22023 #include "confdefs.h"
22025 /* Override any gcc2 internal prototype to avoid an error. */
22029 /* We use char because int might match the return type of a gcc2
22030 builtin and then its argument prototype would still apply. */
22031 char pam_get_data ();
22032 #ifdef F77_DUMMY_MAIN
22033 # ifdef __cplusplus
22036 int F77_DUMMY_MAIN() { return 1; }
22046 rm -f conftest.
$ac_objext conftest
$ac_exeext
22047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22048 (eval $ac_link) 2>&5
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); } &&
22052 { ac_try
='test -s conftest$ac_exeext'
22053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22054 (eval $ac_try) 2>&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; }; then
22058 ac_cv_lib_pam_pam_get_data
=yes
22060 echo "$as_me: failed program was:" >&5
22061 cat conftest.
$ac_ext >&5
22062 ac_cv_lib_pam_pam_get_data
=no
22064 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22065 LIBS
=$ac_check_lib_save_LIBS
22067 echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_get_data" >&5
22068 echo "${ECHO_T}$ac_cv_lib_pam_pam_get_data" >&6
22069 if test $ac_cv_lib_pam_pam_get_data = yes; then
22071 cat >>confdefs.h
<<\_ACEOF
22072 #define HAVE_LIBPAM 1
22078 #################################################
22079 # check for pam_smbpass support
22080 echo "$as_me:$LINENO: checking whether to use pam_smbpass" >&5
22081 echo $ECHO_N "checking whether to use pam_smbpass... $ECHO_C" >&6
22083 # Check whether --with-pam_smbpass or --without-pam_smbpass was given.
22084 if test "${with_pam_smbpass+set}" = set; then
22085 withval
="$with_pam_smbpass"
22088 echo "$as_me:$LINENO: result: yes" >&5
22089 echo "${ECHO_T}yes" >&6
22091 # Conditions under which pam_smbpass should not be built.
22093 if test x
$PICFLAG = x
; then
22094 echo "$as_me:$LINENO: result: No support for PIC code - disabling pam_smbpass" >&5
22095 echo "${ECHO_T}No support for PIC code - disabling pam_smbpass" >&6
22096 elif test x
$ac_cv_lib_pam_pam_get_data = xno
; then
22097 echo "$as_me:$LINENO: result: No libpam found -- disabling pam_smbpass" >&5
22098 echo "${ECHO_T}No libpam found -- disabling pam_smbpass" >&6
22100 SHLIB_PROGS
="$SHLIB_PROGS bin/pam_smbpass.so"
22104 echo "$as_me:$LINENO: result: no" >&5
22105 echo "${ECHO_T}no" >&6
22109 echo "$as_me:$LINENO: result: no" >&5
22110 echo "${ECHO_T}no" >&6
22115 ###############################################
22116 # test for where we get crypt() from, but only
22118 if test x
"$with_pam_for_crypt" = x
"no"; then
22120 for ac_func
in crypt
22122 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22123 echo "$as_me:$LINENO: checking for $ac_func" >&5
22124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22125 if eval "test \"\${$as_ac_var+set}\" = set"; then
22126 echo $ECHO_N "(cached) $ECHO_C" >&6
22128 cat >conftest.
$ac_ext <<_ACEOF
22129 #line $LINENO "configure"
22130 #include "confdefs.h"
22131 /* System header to define __stub macros and hopefully few prototypes,
22132 which can conflict with char $ac_func (); below. */
22133 #include <assert.h>
22134 /* Override any gcc2 internal prototype to avoid an error. */
22138 /* We use char because int might match the return type of a gcc2
22139 builtin and then its argument prototype would still apply. */
22143 #ifdef F77_DUMMY_MAIN
22144 # ifdef __cplusplus
22147 int F77_DUMMY_MAIN() { return 1; }
22152 /* The GNU C library defines this for functions which it implements
22153 to always fail with ENOSYS. Some functions are actually named
22154 something starting with __ and the normal name is an alias. */
22155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22165 rm -f conftest.
$ac_objext conftest
$ac_exeext
22166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22167 (eval $ac_link) 2>&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); } &&
22171 { ac_try
='test -s conftest$ac_exeext'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; }; then
22177 eval "$as_ac_var=yes"
22179 echo "$as_me: failed program was:" >&5
22180 cat conftest.
$ac_ext >&5
22181 eval "$as_ac_var=no"
22183 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22187 if test `eval echo '${'$as_ac_var'}'` = yes; then
22188 cat >>confdefs.h
<<_ACEOF
22189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22195 if test x
"$ac_cv_func_crypt" = x
"no"; then
22196 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
22197 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
22198 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
22199 echo $ECHO_N "(cached) $ECHO_C" >&6
22201 ac_check_lib_save_LIBS
=$LIBS
22202 LIBS
="-lcrypt $LIBS"
22203 cat >conftest.
$ac_ext <<_ACEOF
22204 #line $LINENO "configure"
22205 #include "confdefs.h"
22207 /* Override any gcc2 internal prototype to avoid an error. */
22211 /* We use char because int might match the return type of a gcc2
22212 builtin and then its argument prototype would still apply. */
22214 #ifdef F77_DUMMY_MAIN
22215 # ifdef __cplusplus
22218 int F77_DUMMY_MAIN() { return 1; }
22228 rm -f conftest.
$ac_objext conftest
$ac_exeext
22229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22230 (eval $ac_link) 2>&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } &&
22234 { ac_try
='test -s conftest$ac_exeext'
22235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236 (eval $ac_try) 2>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; }; then
22240 ac_cv_lib_crypt_crypt
=yes
22242 echo "$as_me: failed program was:" >&5
22243 cat conftest.
$ac_ext >&5
22244 ac_cv_lib_crypt_crypt
=no
22246 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22247 LIBS
=$ac_check_lib_save_LIBS
22249 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
22250 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
22251 if test $ac_cv_lib_crypt_crypt = yes; then
22252 AUTHLIBS
="$AUTHLIBS -lcrypt";
22254 cat >>confdefs.h
<<\_ACEOF
22255 #define HAVE_CRYPT 1
22264 ## moved after the check for -lcrypt in order to
22265 ## ensure that the necessary libraries are included
22266 ## check checking for truncated salt. Wrapped by the
22267 ## $with_pam_for_crypt variable as above --jerry
22269 if test $with_pam_for_crypt = no
; then
22270 echo "$as_me:$LINENO: checking for a crypt that needs truncated salt" >&5
22271 echo $ECHO_N "checking for a crypt that needs truncated salt... $ECHO_C" >&6
22272 if test "${samba_cv_HAVE_TRUNCATED_SALT+set}" = set; then
22273 echo $ECHO_N "(cached) $ECHO_C" >&6
22277 LIBS
="$AUTHLIBS $LIBS"
22278 if test "$cross_compiling" = yes; then
22279 samba_cv_HAVE_TRUNCATED_SALT
=cross
22281 cat >conftest.
$ac_ext <<_ACEOF
22282 #line $LINENO "configure"
22283 #include "confdefs.h"
22284 #include "${srcdir-.}/tests/crypttest.c"
22286 rm -f conftest
$ac_exeext
22287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22288 (eval $ac_link) 2>&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22293 (eval $ac_try) 2>&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); }; }; then
22297 samba_cv_HAVE_TRUNCATED_SALT
=no
22299 echo "$as_me: program exited with status $ac_status" >&5
22300 echo "$as_me: failed program was:" >&5
22301 cat conftest.
$ac_ext >&5
22302 ( exit $ac_status )
22303 samba_cv_HAVE_TRUNCATED_SALT
=yes
22305 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22309 echo "$as_me:$LINENO: result: $samba_cv_HAVE_TRUNCATED_SALT" >&5
22310 echo "${ECHO_T}$samba_cv_HAVE_TRUNCATED_SALT" >&6
22311 if test x
"$samba_cv_HAVE_TRUNCATED_SALT" = x
"yes"; then
22313 cat >>confdefs.h
<<\_ACEOF
22314 #define HAVE_TRUNCATED_SALT 1
22320 # New experimental SAM system
22322 echo "$as_me:$LINENO: checking whether to build the new (experimental) SAM database" >&5
22323 echo $ECHO_N "checking whether to build the new (experimental) SAM database... $ECHO_C" >&6
22325 # Check whether --with-sam or --without-sam was given.
22326 if test "${with_sam+set}" = set; then
22327 withval
="$with_sam"
22330 echo "$as_me:$LINENO: result: yes" >&5
22331 echo "${ECHO_T}yes" >&6
22333 cat >>confdefs.h
<<\_ACEOF
22339 echo "$as_me:$LINENO: result: no" >&5
22340 echo "${ECHO_T}no" >&6
22344 echo "$as_me:$LINENO: result: no" >&5
22345 echo "${ECHO_T}no" >&6
22350 ########################################################################################
22352 ## TESTS FOR SAM BACKENDS. KEEP THESE GROUPED TOGETHER
22354 ########################################################################################
22356 #################################################
22357 # check for a LDAP password database configuration backwards compatibility
22358 echo "$as_me:$LINENO: checking whether to use LDAP SAM 2.2 compatible configuration" >&5
22359 echo $ECHO_N "checking whether to use LDAP SAM 2.2 compatible configuration... $ECHO_C" >&6
22361 # Check whether --with-ldapsam or --without-ldapsam was given.
22362 if test "${with_ldapsam+set}" = set; then
22363 withval
="$with_ldapsam"
22366 echo "$as_me:$LINENO: result: yes" >&5
22367 echo "${ECHO_T}yes" >&6
22369 cat >>confdefs.h
<<\_ACEOF
22370 #define WITH_LDAP_SAMCONFIG 1
22375 echo "$as_me:$LINENO: result: no" >&5
22376 echo "${ECHO_T}no" >&6
22380 echo "$as_me:$LINENO: result: no" >&5
22381 echo "${ECHO_T}no" >&6
22385 #################################################
22386 # check for a TDB password database
22387 echo "$as_me:$LINENO: checking whether to use TDB SAM database" >&5
22388 echo $ECHO_N "checking whether to use TDB SAM database... $ECHO_C" >&6
22390 # Check whether --with-tdbsam or --without-tdbsam was given.
22391 if test "${with_tdbsam+set}" = set; then
22392 withval
="$with_tdbsam"
22395 echo "$as_me:$LINENO: result: yes" >&5
22396 echo "${ECHO_T}yes" >&6
22398 cat >>confdefs.h
<<\_ACEOF
22399 #define WITH_TDB_SAM 1
22404 echo "$as_me:$LINENO: result: no" >&5
22405 echo "${ECHO_T}no" >&6
22409 echo "$as_me:$LINENO: result: no" >&5
22410 echo "${ECHO_T}no" >&6
22414 #################################################
22415 # check for a NISPLUS password database
22416 echo "$as_me:$LINENO: checking whether to use NISPLUS SAM database" >&5
22417 echo $ECHO_N "checking whether to use NISPLUS SAM database... $ECHO_C" >&6
22419 # Check whether --with-nisplussam or --without-nisplussam was given.
22420 if test "${with_nisplussam+set}" = set; then
22421 withval
="$with_nisplussam"
22424 echo "$as_me:$LINENO: result: yes" >&5
22425 echo "${ECHO_T}yes" >&6
22427 cat >>confdefs.h
<<\_ACEOF
22428 #define WITH_NISPLUS_SAM 1
22433 echo "$as_me:$LINENO: result: no" >&5
22434 echo "${ECHO_T}no" >&6
22438 echo "$as_me:$LINENO: result: no" >&5
22439 echo "${ECHO_T}no" >&6
22443 ########################################################################################
22445 ## END OF TESTS FOR SAM BACKENDS.
22447 ########################################################################################
22449 #################################################
22450 # check for a NISPLUS_HOME support
22451 echo "$as_me:$LINENO: checking whether to use NISPLUS_HOME" >&5
22452 echo $ECHO_N "checking whether to use NISPLUS_HOME... $ECHO_C" >&6
22454 # Check whether --with-nisplus-home or --without-nisplus-home was given.
22455 if test "${with_nisplus_home+set}" = set; then
22456 withval
="$with_nisplus_home"
22459 echo "$as_me:$LINENO: result: yes" >&5
22460 echo "${ECHO_T}yes" >&6
22462 cat >>confdefs.h
<<\_ACEOF
22463 #define WITH_NISPLUS_HOME 1
22468 echo "$as_me:$LINENO: result: no" >&5
22469 echo "${ECHO_T}no" >&6
22473 echo "$as_me:$LINENO: result: no" >&5
22474 echo "${ECHO_T}no" >&6
22478 #################################################
22479 # check for syslog logging
22480 echo "$as_me:$LINENO: checking whether to use syslog logging" >&5
22481 echo $ECHO_N "checking whether to use syslog logging... $ECHO_C" >&6
22483 # Check whether --with-syslog or --without-syslog was given.
22484 if test "${with_syslog+set}" = set; then
22485 withval
="$with_syslog"
22488 echo "$as_me:$LINENO: result: yes" >&5
22489 echo "${ECHO_T}yes" >&6
22491 cat >>confdefs.h
<<\_ACEOF
22492 #define WITH_SYSLOG 1
22497 echo "$as_me:$LINENO: result: no" >&5
22498 echo "${ECHO_T}no" >&6
22502 echo "$as_me:$LINENO: result: no" >&5
22503 echo "${ECHO_T}no" >&6
22507 #################################################
22508 # check for a shared memory profiling support
22509 echo "$as_me:$LINENO: checking whether to use profiling" >&5
22510 echo $ECHO_N "checking whether to use profiling... $ECHO_C" >&6
22512 # Check whether --with-profiling-data or --without-profiling-data was given.
22513 if test "${with_profiling_data+set}" = set; then
22514 withval
="$with_profiling_data"
22517 echo "$as_me:$LINENO: result: yes" >&5
22518 echo "${ECHO_T}yes" >&6
22520 cat >>confdefs.h
<<\_ACEOF
22521 #define WITH_PROFILE 1
22526 echo "$as_me:$LINENO: result: no" >&5
22527 echo "${ECHO_T}no" >&6
22531 echo "$as_me:$LINENO: result: no" >&5
22532 echo "${ECHO_T}no" >&6
22537 #################################################
22538 # check for experimental disk-quotas support
22539 QUOTAOBJS
=smbd
/noquotas.o
22541 echo "$as_me:$LINENO: checking whether to support disk-quotas" >&5
22542 echo $ECHO_N "checking whether to support disk-quotas... $ECHO_C" >&6
22544 # Check whether --with-quotas or --without-quotas was given.
22545 if test "${with_quotas+set}" = set; then
22546 withval
="$with_quotas"
22549 echo "$as_me:$LINENO: result: yes" >&5
22550 echo "${ECHO_T}yes" >&6
22553 # Check for kernel 2.4.x quota braindamage...
22554 echo "$as_me:$LINENO: checking for linux 2.4.x quota braindamage.." >&5
22555 echo $ECHO_N "checking for linux 2.4.x quota braindamage..... $ECHO_C" >&6
22556 if test "${samba_cv_linux_2_4_quota_braindamage+set}" = set; then
22557 echo $ECHO_N "(cached) $ECHO_C" >&6
22560 cat >conftest.
$ac_ext <<_ACEOF
22561 #line $LINENO "configure"
22562 #include "confdefs.h"
22564 #include <sys/types.h>
22565 #include <asm/types.h>
22566 #include <linux/quota.h>
22567 #include <mntent.h>
22568 #include <linux/unistd.h>
22569 #ifdef F77_DUMMY_MAIN
22570 # ifdef __cplusplus
22573 int F77_DUMMY_MAIN() { return 1; }
22578 struct mem_dqblk D;
22583 rm -f conftest.
$ac_objext
22584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22585 (eval $ac_compile) 2>&5
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); } &&
22589 { ac_try
='test -s conftest.$ac_objext'
22590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22591 (eval $ac_try) 2>&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); }; }; then
22595 samba_cv_linux_2_4_quota_braindamage
=yes
22597 echo "$as_me: failed program was:" >&5
22598 cat conftest.
$ac_ext >&5
22599 samba_cv_linux_2_4_quota_braindamage
=no
22601 rm -f conftest.
$ac_objext conftest.
$ac_ext
22603 echo "$as_me:$LINENO: result: $samba_cv_linux_2_4_quota_braindamage" >&5
22604 echo "${ECHO_T}$samba_cv_linux_2_4_quota_braindamage" >&6
22605 if test x
"$samba_cv_linux_2_4_quota_braindamage" = x
"yes"; then
22607 cat >>confdefs.h
<<\_ACEOF
22608 #define LINUX_QUOTAS_2 1
22613 cat >>confdefs.h
<<\_ACEOF
22614 #define LINUX_QUOTAS_1 1
22622 QUOTAOBJS
=smbd
/quotas.o
22624 cat >>confdefs.h
<<\_ACEOF
22625 #define WITH_QUOTAS 1
22630 echo "$as_me:$LINENO: result: no" >&5
22631 echo "${ECHO_T}no" >&6
22635 echo "$as_me:$LINENO: result: no" >&5
22636 echo "${ECHO_T}no" >&6
22641 #################################################
22642 # check for experimental utmp accounting
22644 echo "$as_me:$LINENO: checking whether to support utmp accounting" >&5
22645 echo $ECHO_N "checking whether to support utmp accounting... $ECHO_C" >&6
22647 # Check whether --with-utmp or --without-utmp was given.
22648 if test "${with_utmp+set}" = set; then
22649 withval
="$with_utmp"
22652 echo "$as_me:$LINENO: result: yes" >&5
22653 echo "${ECHO_T}yes" >&6
22655 cat >>confdefs.h
<<\_ACEOF
22656 #define WITH_UTMP 1
22661 echo "$as_me:$LINENO: result: no" >&5
22662 echo "${ECHO_T}no" >&6
22666 echo "$as_me:$LINENO: result: no" >&5
22667 echo "${ECHO_T}no" >&6
22671 #################################################
22672 # choose native language(s) of man pages
22673 echo "$as_me:$LINENO: checking chosen man pages' language(s)" >&5
22674 echo $ECHO_N "checking chosen man pages' language(s)... $ECHO_C" >&6
22676 # Check whether --with-manpages-langs or --without-manpages-langs was given.
22677 if test "${with_manpages_langs+set}" = set; then
22678 withval
="$with_manpages_langs"
22681 { echo "$as_me:$LINENO: WARNING: --with-manpages-langs called without argument - will use default" >&5
22682 echo "$as_me: WARNING: --with-manpages-langs called without argument - will use default" >&2;}
22686 manlangs
="$withval"
22690 echo "$as_me:$LINENO: result: $manlangs" >&5
22691 echo "${ECHO_T}$manlangs" >&6
22692 manlangs
=`echo $manlangs | sed "s/,/ /g"` # replacing commas with spaces to produce a list
22696 echo "$as_me:$LINENO: result: $manlangs" >&5
22697 echo "${ECHO_T}$manlangs" >&6
22702 #################################################
22703 # should we build libsmbclient?
22705 LIBSMBCLIENT_SHARED
=
22707 echo "$as_me:$LINENO: checking whether to build the libsmbclient shared library" >&5
22708 echo $ECHO_N "checking whether to build the libsmbclient shared library... $ECHO_C" >&6
22710 # Check whether --with-libsmbclient or --without-libsmbclient was given.
22711 if test "${with_libsmbclient+set}" = set; then
22712 withval
="$with_libsmbclient"
22715 echo "$as_me:$LINENO: result: no" >&5
22716 echo "${ECHO_T}no" >&6
22719 if test $BLDSHARED = true
; then
22720 LIBSMBCLIENT_SHARED
=bin
/libsmbclient.
$SHLIBEXT
22721 LIBSMBCLIENT
=libsmbclient
22722 echo "$as_me:$LINENO: result: yes" >&5
22723 echo "${ECHO_T}yes" >&6
22725 echo "$as_me:$LINENO: result: no shared library support" >&5
22726 echo "${ECHO_T}no shared library support" >&6
22731 echo "$as_me:$LINENO: result: yes" >&5
22732 echo "${ECHO_T}yes" >&6
22737 #################################################
22738 # these tests are taken from the GNU fileutils package
22739 { echo "$as_me:$LINENO: checking how to get filesystem space usage..." >&5
22740 echo "$as_me: checking how to get filesystem space usage..." >&6;}
22743 # Test for statvfs64.
22744 if test $space = no
; then
22746 echo "$as_me:$LINENO: checking statvfs64 function (SVR4)" >&5
22747 echo $ECHO_N "checking statvfs64 function (SVR4)... $ECHO_C" >&6
22748 if test "${fu_cv_sys_stat_statvfs64+set}" = set; then
22749 echo $ECHO_N "(cached) $ECHO_C" >&6
22751 if test "$cross_compiling" = yes; then
22752 fu_cv_sys_stat_statvfs64
=cross
22754 cat >conftest.
$ac_ext <<_ACEOF
22755 #line $LINENO "configure"
22756 #include "confdefs.h"
22758 #if defined(HAVE_UNISTD_H)
22759 #include <unistd.h>
22761 #include <sys/types.h>
22762 #include <sys/statvfs.h>
22765 struct statvfs64 fsd;
22766 exit (statvfs64 (".", &fsd));
22769 rm -f conftest
$ac_exeext
22770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22771 (eval $ac_link) 2>&5
22773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22776 (eval $ac_try) 2>&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); }; }; then
22780 fu_cv_sys_stat_statvfs64
=yes
22782 echo "$as_me: program exited with status $ac_status" >&5
22783 echo "$as_me: failed program was:" >&5
22784 cat conftest.
$ac_ext >&5
22785 ( exit $ac_status )
22786 fu_cv_sys_stat_statvfs64
=no
22788 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22791 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statvfs64" >&5
22792 echo "${ECHO_T}$fu_cv_sys_stat_statvfs64" >&6
22793 if test $fu_cv_sys_stat_statvfs64 = yes; then
22796 cat >>confdefs.h
<<\_ACEOF
22797 #define STAT_STATVFS64 1
22803 # Perform only the link test since it seems there are no variants of the
22804 # statvfs function. This check is more than just AC_CHECK_FUNCS(statvfs)
22805 # because that got a false positive on SCO OSR5. Adding the declaration
22806 # of a `struct statvfs' causes this test to fail (as it should) on such
22807 # systems. That system is reported to work fine with STAT_STATFS4 which
22808 # is what it gets when this test fails.
22809 if test $space = no
; then
22811 echo "$as_me:$LINENO: checking statvfs function (SVR4)" >&5
22812 echo $ECHO_N "checking statvfs function (SVR4)... $ECHO_C" >&6
22813 if test "${fu_cv_sys_stat_statvfs+set}" = set; then
22814 echo $ECHO_N "(cached) $ECHO_C" >&6
22816 cat >conftest.
$ac_ext <<_ACEOF
22817 #line $LINENO "configure"
22818 #include "confdefs.h"
22819 #include <sys/types.h>
22820 #include <sys/statvfs.h>
22821 #ifdef F77_DUMMY_MAIN
22822 # ifdef __cplusplus
22825 int F77_DUMMY_MAIN() { return 1; }
22830 struct statvfs fsd; statvfs (0, &fsd);
22835 rm -f conftest.
$ac_objext conftest
$ac_exeext
22836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22837 (eval $ac_link) 2>&5
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); } &&
22841 { ac_try
='test -s conftest$ac_exeext'
22842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22843 (eval $ac_try) 2>&5
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); }; }; then
22847 fu_cv_sys_stat_statvfs
=yes
22849 echo "$as_me: failed program was:" >&5
22850 cat conftest.
$ac_ext >&5
22851 fu_cv_sys_stat_statvfs
=no
22853 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22855 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statvfs" >&5
22856 echo "${ECHO_T}$fu_cv_sys_stat_statvfs" >&6
22857 if test $fu_cv_sys_stat_statvfs = yes; then
22860 cat >>confdefs.h
<<\_ACEOF
22861 #define STAT_STATVFS 1
22867 if test $space = no
; then
22868 # DEC Alpha running OSF/1
22869 echo "$as_me:$LINENO: checking for 3-argument statfs function (DEC OSF/1)" >&5
22870 echo $ECHO_N "checking for 3-argument statfs function (DEC OSF/1)... $ECHO_C" >&6
22871 if test "${fu_cv_sys_stat_statfs3_osf1+set}" = set; then
22872 echo $ECHO_N "(cached) $ECHO_C" >&6
22874 if test "$cross_compiling" = yes; then
22875 fu_cv_sys_stat_statfs3_osf1
=no
22877 cat >conftest.
$ac_ext <<_ACEOF
22878 #line $LINENO "configure"
22879 #include "confdefs.h"
22881 #include <sys/param.h>
22882 #include <sys/types.h>
22883 #include <sys/mount.h>
22888 exit (statfs (".", &fsd, sizeof (struct statfs)));
22891 rm -f conftest
$ac_exeext
22892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22893 (eval $ac_link) 2>&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898 (eval $ac_try) 2>&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); }; }; then
22902 fu_cv_sys_stat_statfs3_osf1
=yes
22904 echo "$as_me: program exited with status $ac_status" >&5
22905 echo "$as_me: failed program was:" >&5
22906 cat conftest.
$ac_ext >&5
22907 ( exit $ac_status )
22908 fu_cv_sys_stat_statfs3_osf1
=no
22910 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22914 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs3_osf1" >&5
22915 echo "${ECHO_T}$fu_cv_sys_stat_statfs3_osf1" >&6
22916 if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
22919 cat >>confdefs.h
<<\_ACEOF
22920 #define STAT_STATFS3_OSF1 1
22926 if test $space = no
; then
22928 echo "$as_me:$LINENO: checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)" >&5
22929 echo $ECHO_N "checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... $ECHO_C" >&6
22930 if test "${fu_cv_sys_stat_statfs2_bsize+set}" = set; then
22931 echo $ECHO_N "(cached) $ECHO_C" >&6
22933 if test "$cross_compiling" = yes; then
22934 fu_cv_sys_stat_statfs2_bsize
=no
22936 cat >conftest.
$ac_ext <<_ACEOF
22937 #line $LINENO "configure"
22938 #include "confdefs.h"
22940 #ifdef HAVE_SYS_PARAM_H
22941 #include <sys/param.h>
22943 #ifdef HAVE_SYS_MOUNT_H
22944 #include <sys/mount.h>
22946 #ifdef HAVE_SYS_VFS_H
22947 #include <sys/vfs.h>
22953 exit (statfs (".", &fsd));
22956 rm -f conftest
$ac_exeext
22957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22958 (eval $ac_link) 2>&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22963 (eval $ac_try) 2>&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); }; }; then
22967 fu_cv_sys_stat_statfs2_bsize
=yes
22969 echo "$as_me: program exited with status $ac_status" >&5
22970 echo "$as_me: failed program was:" >&5
22971 cat conftest.
$ac_ext >&5
22972 ( exit $ac_status )
22973 fu_cv_sys_stat_statfs2_bsize
=no
22975 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22979 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_bsize" >&5
22980 echo "${ECHO_T}$fu_cv_sys_stat_statfs2_bsize" >&6
22981 if test $fu_cv_sys_stat_statfs2_bsize = yes; then
22984 cat >>confdefs.h
<<\_ACEOF
22985 #define STAT_STATFS2_BSIZE 1
22991 if test $space = no
; then
22993 echo "$as_me:$LINENO: checking for four-argument statfs (AIX-3.2.5, SVR3)" >&5
22994 echo $ECHO_N "checking for four-argument statfs (AIX-3.2.5, SVR3)... $ECHO_C" >&6
22995 if test "${fu_cv_sys_stat_statfs4+set}" = set; then
22996 echo $ECHO_N "(cached) $ECHO_C" >&6
22998 if test "$cross_compiling" = yes; then
22999 fu_cv_sys_stat_statfs4
=no
23001 cat >conftest.
$ac_ext <<_ACEOF
23002 #line $LINENO "configure"
23003 #include "confdefs.h"
23004 #include <sys/types.h>
23005 #include <sys/statfs.h>
23009 exit (statfs (".", &fsd, sizeof fsd, 0));
23012 rm -f conftest
$ac_exeext
23013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23014 (eval $ac_link) 2>&5
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23019 (eval $ac_try) 2>&5
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); }; }; then
23023 fu_cv_sys_stat_statfs4
=yes
23025 echo "$as_me: program exited with status $ac_status" >&5
23026 echo "$as_me: failed program was:" >&5
23027 cat conftest.
$ac_ext >&5
23028 ( exit $ac_status )
23029 fu_cv_sys_stat_statfs4
=no
23031 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23035 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs4" >&5
23036 echo "${ECHO_T}$fu_cv_sys_stat_statfs4" >&6
23037 if test $fu_cv_sys_stat_statfs4 = yes; then
23040 cat >>confdefs.h
<<\_ACEOF
23041 #define STAT_STATFS4 1
23047 if test $space = no
; then
23048 # 4.4BSD and NetBSD
23049 echo "$as_me:$LINENO: checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)" >&5
23050 echo $ECHO_N "checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... $ECHO_C" >&6
23051 if test "${fu_cv_sys_stat_statfs2_fsize+set}" = set; then
23052 echo $ECHO_N "(cached) $ECHO_C" >&6
23054 if test "$cross_compiling" = yes; then
23055 fu_cv_sys_stat_statfs2_fsize
=no
23057 cat >conftest.
$ac_ext <<_ACEOF
23058 #line $LINENO "configure"
23059 #include "confdefs.h"
23060 #include <sys/types.h>
23061 #ifdef HAVE_SYS_PARAM_H
23062 #include <sys/param.h>
23064 #ifdef HAVE_SYS_MOUNT_H
23065 #include <sys/mount.h>
23071 exit (statfs (".", &fsd));
23074 rm -f conftest
$ac_exeext
23075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23076 (eval $ac_link) 2>&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; }; then
23085 fu_cv_sys_stat_statfs2_fsize
=yes
23087 echo "$as_me: program exited with status $ac_status" >&5
23088 echo "$as_me: failed program was:" >&5
23089 cat conftest.
$ac_ext >&5
23090 ( exit $ac_status )
23091 fu_cv_sys_stat_statfs2_fsize
=no
23093 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23097 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_fsize" >&5
23098 echo "${ECHO_T}$fu_cv_sys_stat_statfs2_fsize" >&6
23099 if test $fu_cv_sys_stat_statfs2_fsize = yes; then
23102 cat >>confdefs.h
<<\_ACEOF
23103 #define STAT_STATFS2_FSIZE 1
23109 if test $space = no
; then
23111 echo "$as_me:$LINENO: checking for two-argument statfs with struct fs_data (Ultrix)" >&5
23112 echo $ECHO_N "checking for two-argument statfs with struct fs_data (Ultrix)... $ECHO_C" >&6
23113 if test "${fu_cv_sys_stat_fs_data+set}" = set; then
23114 echo $ECHO_N "(cached) $ECHO_C" >&6
23116 if test "$cross_compiling" = yes; then
23117 fu_cv_sys_stat_fs_data
=no
23119 cat >conftest.
$ac_ext <<_ACEOF
23120 #line $LINENO "configure"
23121 #include "confdefs.h"
23122 #include <sys/types.h>
23123 #ifdef HAVE_SYS_PARAM_H
23124 #include <sys/param.h>
23126 #ifdef HAVE_SYS_MOUNT_H
23127 #include <sys/mount.h>
23129 #ifdef HAVE_SYS_FS_TYPES_H
23130 #include <sys/fs_types.h>
23134 struct fs_data fsd;
23135 /* Ultrix's statfs returns 1 for success,
23136 0 for not mounted, -1 for failure. */
23137 exit (statfs (".", &fsd) != 1);
23140 rm -f conftest
$ac_exeext
23141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23142 (eval $ac_link) 2>&5
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23147 (eval $ac_try) 2>&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); }; }; then
23151 fu_cv_sys_stat_fs_data
=yes
23153 echo "$as_me: program exited with status $ac_status" >&5
23154 echo "$as_me: failed program was:" >&5
23155 cat conftest.
$ac_ext >&5
23156 ( exit $ac_status )
23157 fu_cv_sys_stat_fs_data
=no
23159 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23163 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_fs_data" >&5
23164 echo "${ECHO_T}$fu_cv_sys_stat_fs_data" >&6
23165 if test $fu_cv_sys_stat_fs_data = yes; then
23168 cat >>confdefs.h
<<\_ACEOF
23169 #define STAT_STATFS2_FS_DATA 1
23176 # As a gating factor for large file support, in order to
23177 # use <4GB files we must have the following minimal support
23179 # long long, and a 64 bit off_t or off64_t.
23180 # If we don't have all of these then disable large
23183 echo "$as_me:$LINENO: checking if large file support can be enabled" >&5
23184 echo $ECHO_N "checking if large file support can be enabled... $ECHO_C" >&6
23185 cat >conftest.
$ac_ext <<_ACEOF
23186 #line $LINENO "configure"
23187 #include "confdefs.h"
23189 #if defined(HAVE_LONGLONG) && (defined(HAVE_OFF64_T) || (defined(SIZEOF_OFF_T) && (SIZEOF_OFF_T == 8)))
23190 #include <sys/types.h>
23195 #ifdef F77_DUMMY_MAIN
23196 # ifdef __cplusplus
23199 int F77_DUMMY_MAIN() { return 1; }
23209 rm -f conftest.
$ac_objext
23210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23211 (eval $ac_compile) 2>&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); } &&
23215 { ac_try
='test -s conftest.$ac_objext'
23216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23217 (eval $ac_try) 2>&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); }; }; then
23221 samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT
=yes
23223 echo "$as_me: failed program was:" >&5
23224 cat conftest.
$ac_ext >&5
23225 samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT
=no
23227 rm -f conftest.
$ac_objext conftest.
$ac_ext
23228 if test x
"$samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT" = x
"yes"; then
23230 cat >>confdefs.h
<<\_ACEOF
23231 #define HAVE_EXPLICIT_LARGEFILE_SUPPORT 1
23235 echo "$as_me:$LINENO: result: $samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT" >&5
23236 echo "${ECHO_T}$samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT" >&6
23239 # Check whether --with-spinlocks or --without-spinlocks was given.
23240 if test "${with_spinlocks+set}" = set; then
23241 withval
="$with_spinlocks"
23244 if test "x$with_spinlocks" = "xyes"; then
23246 cat >>confdefs.h
<<\_ACEOF
23247 #define USE_SPINLOCKS 1
23251 case "$host_cpu" in
23254 cat >>confdefs.h
<<\_ACEOF
23255 #define SPARC_SPINLOCKS 1
23260 i386|i486|i586|i686
)
23262 cat >>confdefs.h
<<\_ACEOF
23263 #define INTEL_SPINLOCKS 1
23270 cat >>confdefs.h
<<\_ACEOF
23271 #define MIPS_SPINLOCKS 1
23278 cat >>confdefs.h
<<\_ACEOF
23279 #define POWERPC_SPINLOCKS 1
23286 #################################################
23287 # check for ACL support
23289 echo "$as_me:$LINENO: checking whether to support ACLs" >&5
23290 echo $ECHO_N "checking whether to support ACLs... $ECHO_C" >&6
23292 # Check whether --with-acl-support or --without-acl-support was given.
23293 if test "${with_acl_support+set}" = set; then
23294 withval
="$with_acl_support"
23300 echo "$as_me:$LINENO: result: Using UnixWare ACLs" >&5
23301 echo "${ECHO_T}Using UnixWare ACLs" >&6
23303 cat >>confdefs.h
<<\_ACEOF
23304 #define HAVE_UNIXWARE_ACLS 1
23309 echo "$as_me:$LINENO: result: Using solaris ACLs" >&5
23310 echo "${ECHO_T}Using solaris ACLs" >&6
23312 cat >>confdefs.h
<<\_ACEOF
23313 #define HAVE_SOLARIS_ACLS 1
23318 echo "$as_me:$LINENO: result: Using HPUX ACLs" >&5
23319 echo "${ECHO_T}Using HPUX ACLs" >&6
23321 cat >>confdefs.h
<<\_ACEOF
23322 #define HAVE_HPUX_ACLS 1
23327 echo "$as_me:$LINENO: result: Using IRIX ACLs" >&5
23328 echo "${ECHO_T}Using IRIX ACLs" >&6
23330 cat >>confdefs.h
<<\_ACEOF
23331 #define HAVE_IRIX_ACLS 1
23336 echo "$as_me:$LINENO: result: Using AIX ACLs" >&5
23337 echo "${ECHO_T}Using AIX ACLs" >&6
23339 cat >>confdefs.h
<<\_ACEOF
23340 #define HAVE_AIX_ACLS 1
23345 echo "$as_me:$LINENO: result: Using Tru64 ACLs" >&5
23346 echo "${ECHO_T}Using Tru64 ACLs" >&6
23348 cat >>confdefs.h
<<\_ACEOF
23349 #define HAVE_TRU64_ACLS 1
23352 LIBS
="$LIBS -lpacl"
23356 echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
23357 echo $ECHO_N "checking for acl_get_file in -lacl... $ECHO_C" >&6
23358 if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then
23359 echo $ECHO_N "(cached) $ECHO_C" >&6
23361 ac_check_lib_save_LIBS
=$LIBS
23363 cat >conftest.
$ac_ext <<_ACEOF
23364 #line $LINENO "configure"
23365 #include "confdefs.h"
23367 /* Override any gcc2 internal prototype to avoid an error. */
23371 /* We use char because int might match the return type of a gcc2
23372 builtin and then its argument prototype would still apply. */
23373 char acl_get_file ();
23374 #ifdef F77_DUMMY_MAIN
23375 # ifdef __cplusplus
23378 int F77_DUMMY_MAIN() { return 1; }
23388 rm -f conftest.
$ac_objext conftest
$ac_exeext
23389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23390 (eval $ac_link) 2>&5
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); } &&
23394 { ac_try
='test -s conftest$ac_exeext'
23395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23396 (eval $ac_try) 2>&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); }; }; then
23400 ac_cv_lib_acl_acl_get_file
=yes
23402 echo "$as_me: failed program was:" >&5
23403 cat conftest.
$ac_ext >&5
23404 ac_cv_lib_acl_acl_get_file
=no
23406 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23407 LIBS
=$ac_check_lib_save_LIBS
23409 echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
23410 echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6
23411 if test $ac_cv_lib_acl_acl_get_file = yes; then
23412 cat >>confdefs.h
<<_ACEOF
23413 #define HAVE_LIBACL 1
23420 echo "$as_me:$LINENO: checking for ACL support" >&5
23421 echo $ECHO_N "checking for ACL support... $ECHO_C" >&6
23422 if test "${samba_cv_HAVE_POSIX_ACLS+set}" = set; then
23423 echo $ECHO_N "(cached) $ECHO_C" >&6
23426 cat >conftest.
$ac_ext <<_ACEOF
23427 #line $LINENO "configure"
23428 #include "confdefs.h"
23429 #include <sys/types.h>
23430 #include <sys/acl.h>
23431 #ifdef F77_DUMMY_MAIN
23432 # ifdef __cplusplus
23435 int F77_DUMMY_MAIN() { return 1; }
23440 acl_t acl; int entry_id; acl_entry_t *entry_p; return acl_get_entry( acl, entry_id, entry_p);
23445 rm -f conftest.
$ac_objext conftest
$ac_exeext
23446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23447 (eval $ac_link) 2>&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); } &&
23451 { ac_try
='test -s conftest$ac_exeext'
23452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453 (eval $ac_try) 2>&5
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 samba_cv_HAVE_POSIX_ACLS
=yes
23459 echo "$as_me: failed program was:" >&5
23460 cat conftest.
$ac_ext >&5
23461 samba_cv_HAVE_POSIX_ACLS
=no
23463 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23465 echo "$as_me:$LINENO: result: $samba_cv_HAVE_POSIX_ACLS" >&5
23466 echo "${ECHO_T}$samba_cv_HAVE_POSIX_ACLS" >&6
23467 if test x
"$samba_cv_HAVE_POSIX_ACLS" = x
"yes"; then
23468 echo "$as_me:$LINENO: result: Using posix ACLs" >&5
23469 echo "${ECHO_T}Using posix ACLs" >&6
23471 cat >>confdefs.h
<<\_ACEOF
23472 #define HAVE_POSIX_ACLS 1
23475 echo "$as_me:$LINENO: checking for acl_get_perm_np" >&5
23476 echo $ECHO_N "checking for acl_get_perm_np... $ECHO_C" >&6
23477 if test "${samba_cv_HAVE_ACL_GET_PERM_NP+set}" = set; then
23478 echo $ECHO_N "(cached) $ECHO_C" >&6
23481 cat >conftest.
$ac_ext <<_ACEOF
23482 #line $LINENO "configure"
23483 #include "confdefs.h"
23484 #include <sys/types.h>
23485 #include <sys/acl.h>
23486 #ifdef F77_DUMMY_MAIN
23487 # ifdef __cplusplus
23490 int F77_DUMMY_MAIN() { return 1; }
23495 acl_permset_t permset_d; acl_perm_t perm; return acl_get_perm_np( permset_d, perm);
23500 rm -f conftest.
$ac_objext conftest
$ac_exeext
23501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23502 (eval $ac_link) 2>&5
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); } &&
23506 { ac_try
='test -s conftest$ac_exeext'
23507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23508 (eval $ac_try) 2>&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); }; }; then
23512 samba_cv_HAVE_ACL_GET_PERM_NP
=yes
23514 echo "$as_me: failed program was:" >&5
23515 cat conftest.
$ac_ext >&5
23516 samba_cv_HAVE_ACL_GET_PERM_NP
=no
23518 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23520 echo "$as_me:$LINENO: result: $samba_cv_HAVE_ACL_GET_PERM_NP" >&5
23521 echo "${ECHO_T}$samba_cv_HAVE_ACL_GET_PERM_NP" >&6
23522 if test x
"$samba_cv_HAVE_ACL_GET_PERM_NP" = x
"yes"; then
23524 cat >>confdefs.h
<<\_ACEOF
23525 #define HAVE_ACL_GET_PERM_NP 1
23534 echo "$as_me:$LINENO: result: no" >&5
23535 echo "${ECHO_T}no" >&6
23537 cat >>confdefs.h
<<\_ACEOF
23538 #define HAVE_NO_ACLS 1
23545 cat >>confdefs.h
<<\_ACEOF
23546 #define HAVE_NO_ACLS 1
23549 echo "$as_me:$LINENO: result: no" >&5
23550 echo "${ECHO_T}no" >&6
23554 #################################################
23555 # check for sendfile support
23557 with_sendfile_support
=yes
23558 echo "$as_me:$LINENO: checking whether to check to support sendfile" >&5
23559 echo $ECHO_N "checking whether to check to support sendfile... $ECHO_C" >&6
23561 # Check whether --with-sendfile-support or --without-sendfile-support was given.
23562 if test "${with_sendfile_support+set}" = set; then
23563 withval
="$with_sendfile_support"
23567 echo "$as_me:$LINENO: result: yes" >&5
23568 echo "${ECHO_T}yes" >&6;
23572 echo "$as_me:$LINENO: checking for linux sendfile64 support" >&5
23573 echo $ECHO_N "checking for linux sendfile64 support... $ECHO_C" >&6
23574 if test "${samba_cv_HAVE_SENDFILE64+set}" = set; then
23575 echo $ECHO_N "(cached) $ECHO_C" >&6
23578 cat >conftest.
$ac_ext <<_ACEOF
23579 #line $LINENO "configure"
23580 #include "confdefs.h"
23581 #include <sys/sendfile.h>
23582 #ifdef F77_DUMMY_MAIN
23583 # ifdef __cplusplus
23586 int F77_DUMMY_MAIN() { return 1; }
23595 ssize_t nwritten = sendfile64(tofd, fromfd, &offset, total);
23601 rm -f conftest.
$ac_objext conftest
$ac_exeext
23602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23603 (eval $ac_link) 2>&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); } &&
23607 { ac_try
='test -s conftest$ac_exeext'
23608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23609 (eval $ac_try) 2>&5
23611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612 (exit $ac_status); }; }; then
23613 samba_cv_HAVE_SENDFILE64
=yes
23615 echo "$as_me: failed program was:" >&5
23616 cat conftest.
$ac_ext >&5
23617 samba_cv_HAVE_SENDFILE64
=no
23619 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23621 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE64" >&5
23622 echo "${ECHO_T}$samba_cv_HAVE_SENDFILE64" >&6
23624 echo "$as_me:$LINENO: checking for linux sendfile support" >&5
23625 echo $ECHO_N "checking for linux sendfile support... $ECHO_C" >&6
23626 if test "${samba_cv_HAVE_SENDFILE+set}" = set; then
23627 echo $ECHO_N "(cached) $ECHO_C" >&6
23630 cat >conftest.
$ac_ext <<_ACEOF
23631 #line $LINENO "configure"
23632 #include "confdefs.h"
23633 #include <sys/sendfile.h>
23634 #ifdef F77_DUMMY_MAIN
23635 # ifdef __cplusplus
23638 int F77_DUMMY_MAIN() { return 1; }
23647 ssize_t nwritten = sendfile(tofd, fromfd, &offset, total);
23653 rm -f conftest.
$ac_objext conftest
$ac_exeext
23654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23655 (eval $ac_link) 2>&5
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } &&
23659 { ac_try
='test -s conftest$ac_exeext'
23660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23661 (eval $ac_try) 2>&5
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); }; }; then
23665 samba_cv_HAVE_SENDFILE
=yes
23667 echo "$as_me: failed program was:" >&5
23668 cat conftest.
$ac_ext >&5
23669 samba_cv_HAVE_SENDFILE
=no
23671 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23673 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE" >&5
23674 echo "${ECHO_T}$samba_cv_HAVE_SENDFILE" >&6
23676 # Try and cope with broken Linux sendfile....
23677 echo "$as_me:$LINENO: checking for broken linux sendfile support" >&5
23678 echo $ECHO_N "checking for broken linux sendfile support... $ECHO_C" >&6
23679 if test "${samba_cv_HAVE_BROKEN_LINUX_SENDFILE+set}" = set; then
23680 echo $ECHO_N "(cached) $ECHO_C" >&6
23683 cat >conftest.
$ac_ext <<_ACEOF
23684 #line $LINENO "configure"
23685 #include "confdefs.h"
23687 #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)
23688 #undef _FILE_OFFSET_BITS
23690 #include <sys/sendfile.h>
23691 #ifdef F77_DUMMY_MAIN
23692 # ifdef __cplusplus
23695 int F77_DUMMY_MAIN() { return 1; }
23704 ssize_t nwritten = sendfile(tofd, fromfd, &offset, total);
23710 rm -f conftest.
$ac_objext conftest
$ac_exeext
23711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23712 (eval $ac_link) 2>&5
23714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23715 (exit $ac_status); } &&
23716 { ac_try
='test -s conftest$ac_exeext'
23717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23718 (eval $ac_try) 2>&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); }; }; then
23722 samba_cv_HAVE_BROKEN_LINUX_SENDFILE
=yes
23724 echo "$as_me: failed program was:" >&5
23725 cat conftest.
$ac_ext >&5
23726 samba_cv_HAVE_BROKEN_LINUX_SENDFILE
=no
23728 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23730 echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_LINUX_SENDFILE" >&5
23731 echo "${ECHO_T}$samba_cv_HAVE_BROKEN_LINUX_SENDFILE" >&6
23733 if test x
"$samba_cv_HAVE_SENDFILE64" = x
"yes"; then
23735 cat >>confdefs.h
<<\_ACEOF
23736 #define HAVE_SENDFILE64 1
23740 cat >>confdefs.h
<<\_ACEOF
23741 #define LINUX_SENDFILE_API 1
23745 cat >>confdefs.h
<<\_ACEOF
23746 #define WITH_SENDFILE 1
23749 elif test x
"$samba_cv_HAVE_SENDFILE" = x
"yes"; then
23751 cat >>confdefs.h
<<\_ACEOF
23752 #define HAVE_SENDFILE 1
23756 cat >>confdefs.h
<<\_ACEOF
23757 #define LINUX_SENDFILE_API 1
23761 cat >>confdefs.h
<<\_ACEOF
23762 #define WITH_SENDFILE 1
23765 elif test x
"$samba_cv_HAVE_BROKEN_LINUX_SENDFILE" = x
"yes"; then
23767 cat >>confdefs.h
<<\_ACEOF
23768 #define LINUX_BROKEN_SENDFILE_API 1
23772 cat >>confdefs.h
<<\_ACEOF
23773 #define WITH_SENDFILE 1
23777 echo "$as_me:$LINENO: result: no" >&5
23778 echo "${ECHO_T}no" >&6;
23783 echo "$as_me:$LINENO: checking for freebsd sendfile support" >&5
23784 echo $ECHO_N "checking for freebsd sendfile support... $ECHO_C" >&6
23785 if test "${samba_cv_HAVE_SENDFILE+set}" = set; then
23786 echo $ECHO_N "(cached) $ECHO_C" >&6
23789 cat >conftest.
$ac_ext <<_ACEOF
23790 #line $LINENO "configure"
23791 #include "confdefs.h"
23793 #include <sys/types.h>
23794 #include <unistd.h>
23795 #include <sys/socket.h>
23796 #include <sys/uio.h>
23797 #ifdef F77_DUMMY_MAIN
23798 # ifdef __cplusplus
23801 int F77_DUMMY_MAIN() { return 1; }
23807 int fromfd, tofd, ret, total=0;
23808 off_t offset, nwritten;
23809 struct sf_hdtr hdr;
23810 struct iovec hdtrl;
23811 hdr.headers = &hdtrl;
23813 hdr.trailers = NULL;
23815 hdtrl.iov_base = NULL;
23817 ret = sendfile(fromfd, tofd, offset, total, &hdr, &nwritten, 0);
23823 rm -f conftest.
$ac_objext conftest
$ac_exeext
23824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23825 (eval $ac_link) 2>&5
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); } &&
23829 { ac_try
='test -s conftest$ac_exeext'
23830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23831 (eval $ac_try) 2>&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); }; }; then
23835 samba_cv_HAVE_SENDFILE
=yes
23837 echo "$as_me: failed program was:" >&5
23838 cat conftest.
$ac_ext >&5
23839 samba_cv_HAVE_SENDFILE
=no
23841 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23843 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE" >&5
23844 echo "${ECHO_T}$samba_cv_HAVE_SENDFILE" >&6
23846 if test x
"$samba_cv_HAVE_SENDFILE" = x
"yes"; then
23848 cat >>confdefs.h
<<\_ACEOF
23849 #define HAVE_SENDFILE 1
23853 cat >>confdefs.h
<<\_ACEOF
23854 #define FREEBSD_SENDFILE_API 1
23858 cat >>confdefs.h
<<\_ACEOF
23859 #define WITH_SENDFILE 1
23863 echo "$as_me:$LINENO: result: no" >&5
23864 echo "${ECHO_T}no" >&6;
23869 echo "$as_me:$LINENO: checking for hpux sendfile64 support" >&5
23870 echo $ECHO_N "checking for hpux sendfile64 support... $ECHO_C" >&6
23871 if test "${samba_cv_HAVE_SENDFILE64+set}" = set; then
23872 echo $ECHO_N "(cached) $ECHO_C" >&6
23875 cat >conftest.
$ac_ext <<_ACEOF
23876 #line $LINENO "configure"
23877 #include "confdefs.h"
23879 #include <sys/socket.h>
23880 #include <sys/uio.h>
23881 #ifdef F77_DUMMY_MAIN
23882 # ifdef __cplusplus
23885 int F77_DUMMY_MAIN() { return 1; }
23893 struct iovec hdtrl[2];
23897 hdtrl[0].iov_base = 0;
23898 hdtrl[0].iov_len = 0;
23900 nwritten = sendfile64(tofd, fromfd, offset, total, &hdtrl[0], 0);
23906 rm -f conftest.
$ac_objext conftest
$ac_exeext
23907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23908 (eval $ac_link) 2>&5
23910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23911 (exit $ac_status); } &&
23912 { ac_try
='test -s conftest$ac_exeext'
23913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23914 (eval $ac_try) 2>&5
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); }; }; then
23918 samba_cv_HAVE_SENDFILE64
=yes
23920 echo "$as_me: failed program was:" >&5
23921 cat conftest.
$ac_ext >&5
23922 samba_cv_HAVE_SENDFILE64
=no
23924 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23926 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE64" >&5
23927 echo "${ECHO_T}$samba_cv_HAVE_SENDFILE64" >&6
23928 if test x
"$samba_cv_HAVE_SENDFILE64" = x
"yes"; then
23930 cat >>confdefs.h
<<\_ACEOF
23931 #define HAVE_SENDFILE64 1
23935 cat >>confdefs.h
<<\_ACEOF
23936 #define HPUX_SENDFILE_API 1
23940 cat >>confdefs.h
<<\_ACEOF
23941 #define WITH_SENDFILE 1
23945 echo "$as_me:$LINENO: result: no" >&5
23946 echo "${ECHO_T}no" >&6;
23949 echo "$as_me:$LINENO: checking for hpux sendfile support" >&5
23950 echo $ECHO_N "checking for hpux sendfile support... $ECHO_C" >&6
23951 if test "${samba_cv_HAVE_SENDFILE+set}" = set; then
23952 echo $ECHO_N "(cached) $ECHO_C" >&6
23955 cat >conftest.
$ac_ext <<_ACEOF
23956 #line $LINENO "configure"
23957 #include "confdefs.h"
23959 #include <sys/socket.h>
23960 #include <sys/uio.h>
23961 #ifdef F77_DUMMY_MAIN
23962 # ifdef __cplusplus
23965 int F77_DUMMY_MAIN() { return 1; }
23973 struct iovec hdtrl[2];
23977 hdtrl[0].iov_base = 0;
23978 hdtrl[0].iov_len = 0;
23980 nwritten = sendfile(tofd, fromfd, offset, total, &hdtrl[0], 0);
23986 rm -f conftest.
$ac_objext conftest
$ac_exeext
23987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23988 (eval $ac_link) 2>&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); } &&
23992 { ac_try
='test -s conftest$ac_exeext'
23993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23994 (eval $ac_try) 2>&5
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); }; }; then
23998 samba_cv_HAVE_SENDFILE
=yes
24000 echo "$as_me: failed program was:" >&5
24001 cat conftest.
$ac_ext >&5
24002 samba_cv_HAVE_SENDFILE
=no
24004 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24006 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE" >&5
24007 echo "${ECHO_T}$samba_cv_HAVE_SENDFILE" >&6
24008 if test x
"$samba_cv_HAVE_SENDFILE" = x
"yes"; then
24010 cat >>confdefs.h
<<\_ACEOF
24011 #define HAVE_SENDFILE 1
24015 cat >>confdefs.h
<<\_ACEOF
24016 #define HPUX_SENDFILE_API 1
24020 cat >>confdefs.h
<<\_ACEOF
24021 #define WITH_SENDFILE 1
24025 echo "$as_me:$LINENO: result: no" >&5
24026 echo "${ECHO_T}no" >&6;
24032 echo "$as_me:$LINENO: checking for sendfilev in -lsendfile" >&5
24033 echo $ECHO_N "checking for sendfilev in -lsendfile... $ECHO_C" >&6
24034 if test "${ac_cv_lib_sendfile_sendfilev+set}" = set; then
24035 echo $ECHO_N "(cached) $ECHO_C" >&6
24037 ac_check_lib_save_LIBS
=$LIBS
24038 LIBS
="-lsendfile $LIBS"
24039 cat >conftest.
$ac_ext <<_ACEOF
24040 #line $LINENO "configure"
24041 #include "confdefs.h"
24043 /* Override any gcc2 internal prototype to avoid an error. */
24047 /* We use char because int might match the return type of a gcc2
24048 builtin and then its argument prototype would still apply. */
24050 #ifdef F77_DUMMY_MAIN
24051 # ifdef __cplusplus
24054 int F77_DUMMY_MAIN() { return 1; }
24064 rm -f conftest.
$ac_objext conftest
$ac_exeext
24065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24066 (eval $ac_link) 2>&5
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); } &&
24070 { ac_try
='test -s conftest$ac_exeext'
24071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24072 (eval $ac_try) 2>&5
24074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075 (exit $ac_status); }; }; then
24076 ac_cv_lib_sendfile_sendfilev
=yes
24078 echo "$as_me: failed program was:" >&5
24079 cat conftest.
$ac_ext >&5
24080 ac_cv_lib_sendfile_sendfilev
=no
24082 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24083 LIBS
=$ac_check_lib_save_LIBS
24085 echo "$as_me:$LINENO: result: $ac_cv_lib_sendfile_sendfilev" >&5
24086 echo "${ECHO_T}$ac_cv_lib_sendfile_sendfilev" >&6
24087 if test $ac_cv_lib_sendfile_sendfilev = yes; then
24088 cat >>confdefs.h
<<_ACEOF
24089 #define HAVE_LIBSENDFILE 1
24092 LIBS
="-lsendfile $LIBS"
24096 echo "$as_me:$LINENO: checking for solaris sendfilev64 support" >&5
24097 echo $ECHO_N "checking for solaris sendfilev64 support... $ECHO_C" >&6
24098 if test "${samba_cv_HAVE_SENDFILEV64+set}" = set; then
24099 echo $ECHO_N "(cached) $ECHO_C" >&6
24102 cat >conftest.
$ac_ext <<_ACEOF
24103 #line $LINENO "configure"
24104 #include "confdefs.h"
24106 #include <sys/sendfile.h>
24107 #ifdef F77_DUMMY_MAIN
24108 # ifdef __cplusplus
24111 int F77_DUMMY_MAIN() { return 1; }
24119 struct sendfilevec vec[2];
24125 vec[0].sfv_fd = SFV_FD_SELF;
24126 vec[0].sfv_flag = 0;
24127 vec[0].sfv_off = 0;
24128 vec[0].sfv_len = 0;
24131 vec[1].sfv_flag = 0;
24132 vec[1].sfv_off = 0;
24133 vec[1].sfv_len = 0;
24134 nwritten = sendfilev64(tofd, vec, sfvcnt, &xferred);
24140 rm -f conftest.
$ac_objext conftest
$ac_exeext
24141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24142 (eval $ac_link) 2>&5
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); } &&
24146 { ac_try
='test -s conftest$ac_exeext'
24147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24148 (eval $ac_try) 2>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); }; }; then
24152 samba_cv_HAVE_SENDFILEV64
=yes
24154 echo "$as_me: failed program was:" >&5
24155 cat conftest.
$ac_ext >&5
24156 samba_cv_HAVE_SENDFILEV64
=no
24158 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24160 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILEV64" >&5
24161 echo "${ECHO_T}$samba_cv_HAVE_SENDFILEV64" >&6
24163 if test x
"$samba_cv_HAVE_SENDFILEV64" = x
"yes"; then
24165 cat >>confdefs.h
<<\_ACEOF
24166 #define HAVE_SENDFILEV64 1
24170 cat >>confdefs.h
<<\_ACEOF
24171 #define SOLARIS_SENDFILE_API 1
24175 cat >>confdefs.h
<<\_ACEOF
24176 #define WITH_SENDFILE 1
24180 echo "$as_me:$LINENO: result: no" >&5
24181 echo "${ECHO_T}no" >&6;
24184 echo "$as_me:$LINENO: checking for solaris sendfilev support" >&5
24185 echo $ECHO_N "checking for solaris sendfilev support... $ECHO_C" >&6
24186 if test "${samba_cv_HAVE_SENDFILEV+set}" = set; then
24187 echo $ECHO_N "(cached) $ECHO_C" >&6
24190 cat >conftest.
$ac_ext <<_ACEOF
24191 #line $LINENO "configure"
24192 #include "confdefs.h"
24194 #include <sys/sendfile.h>
24195 #ifdef F77_DUMMY_MAIN
24196 # ifdef __cplusplus
24199 int F77_DUMMY_MAIN() { return 1; }
24207 struct sendfilevec vec[2];
24213 vec[0].sfv_fd = SFV_FD_SELF;
24214 vec[0].sfv_flag = 0;
24215 vec[0].sfv_off = 0;
24216 vec[0].sfv_len = 0;
24219 vec[1].sfv_flag = 0;
24220 vec[1].sfv_off = 0;
24221 vec[1].sfv_len = 0;
24222 nwritten = sendfilev(tofd, vec, sfvcnt, &xferred);
24228 rm -f conftest.
$ac_objext conftest
$ac_exeext
24229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24230 (eval $ac_link) 2>&5
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); } &&
24234 { ac_try
='test -s conftest$ac_exeext'
24235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24236 (eval $ac_try) 2>&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); }; }; then
24240 samba_cv_HAVE_SENDFILEV
=yes
24242 echo "$as_me: failed program was:" >&5
24243 cat conftest.
$ac_ext >&5
24244 samba_cv_HAVE_SENDFILEV
=no
24246 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24248 echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILEV" >&5
24249 echo "${ECHO_T}$samba_cv_HAVE_SENDFILEV" >&6
24251 if test x
"$samba_cv_HAVE_SENDFILEV" = x
"yes"; then
24253 cat >>confdefs.h
<<\_ACEOF
24254 #define HAVE_SENDFILEV 1
24258 cat >>confdefs.h
<<\_ACEOF
24259 #define SOLARIS_SENDFILE_API 1
24263 cat >>confdefs.h
<<\_ACEOF
24264 #define WITH_SENDFILE 1
24268 echo "$as_me:$LINENO: result: no" >&5
24269 echo "${ECHO_T}no" >&6;
24278 echo "$as_me:$LINENO: result: no" >&5
24279 echo "${ECHO_T}no" >&6
24283 echo "$as_me:$LINENO: result: yes" >&5
24284 echo "${ECHO_T}yes" >&6
24289 #################################################
24290 # Check whether winbind is supported on this platform. If so we need to
24291 # build and install client programs, sbin programs and shared libraries
24293 echo "$as_me:$LINENO: checking whether to build winbind" >&5
24294 echo $ECHO_N "checking whether to build winbind... $ECHO_C" >&6
24296 # Initially, the value of $host_os decides whether winbind is supported
24304 WINBIND_NSS_EXTRA_OBJS
="nsswitch/winbind_nss_solaris.o"
24305 WINBIND_NSS_EXTRA_LIBS
="-lsocket"
24309 WINBIND_NSS_EXTRA_OBJS
="nsswitch/winbind_nss_solaris.o"
24313 winbind_no_reason
=", unsupported on $host_os"
24320 # Check the setting of --with-winbindd
24323 # Check whether --with-winbind or --without-winbind was given.
24324 if test "${with_winbind+set}" = set; then
24325 withval
="$with_winbind"
24338 # We need unix domain sockets for winbind
24340 if test x
"$HAVE_WINBIND" = x
"yes"; then
24341 if test x
"$samba_cv_unixsocket" = x
"no"; then
24342 winbind_no_reason
=", no unix domain socket support on $host_os"
24347 # Display test results
24349 if test x
"$HAVE_WINBIND" = x
"yes"; then
24350 echo "$as_me:$LINENO: result: yes" >&5
24351 echo "${ECHO_T}yes" >&6
24353 cat >>confdefs.h
<<\_ACEOF
24354 #define WITH_WINBIND 1
24358 EXTRA_BIN_PROGS
="$EXTRA_BIN_PROGS bin/wbinfo\$(EXEEXT)"
24359 EXTRA_SBIN_PROGS
="$EXTRA_SBIN_PROGS bin/winbindd\$(EXEEXT)"
24360 if test x
"$BLDSHARED" = x
"true"; then
24361 SHLIB_PROGS
="$SHLIB_PROGS nsswitch/libnss_winbind.so"
24362 if test x
"$with_pam" = x
"yes"; then
24363 SHLIB_PROGS
="$SHLIB_PROGS nsswitch/pam_winbind.so"
24367 echo "$as_me:$LINENO: result: no$winbind_no_reason" >&5
24368 echo "${ECHO_T}no$winbind_no_reason" >&6
24371 # Solaris has some extra fields in struct passwd that need to be
24372 # initialised otherwise nscd crashes. Unfortunately autoconf < 2.50
24373 # doesn't have the AC_CHECK_MEMBER macro which would be handy for checking
24376 #AC_CHECK_MEMBER(struct passwd.pw_comment,
24377 # AC_DEFINE(HAVE_PASSWD_PW_COMMENT, 1, [Defined if struct passwd has pw_comment field]),
24378 # [#include <pwd.h>])
24380 echo "$as_me:$LINENO: checking whether struct passwd has pw_comment" >&5
24381 echo $ECHO_N "checking whether struct passwd has pw_comment... $ECHO_C" >&6
24382 if test "${samba_cv_passwd_pw_comment+set}" = set; then
24383 echo $ECHO_N "(cached) $ECHO_C" >&6
24386 cat >conftest.
$ac_ext <<_ACEOF
24387 #line $LINENO "configure"
24388 #include "confdefs.h"
24390 #ifdef F77_DUMMY_MAIN
24391 # ifdef __cplusplus
24394 int F77_DUMMY_MAIN() { return 1; }
24399 struct passwd p; p.pw_comment;
24404 rm -f conftest.
$ac_objext
24405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24406 (eval $ac_compile) 2>&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); } &&
24410 { ac_try
='test -s conftest.$ac_objext'
24411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24412 (eval $ac_try) 2>&5
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); }; }; then
24416 samba_cv_passwd_pw_comment
=yes
24418 echo "$as_me: failed program was:" >&5
24419 cat conftest.
$ac_ext >&5
24420 samba_cv_passwd_pw_comment
=no
24422 rm -f conftest.
$ac_objext conftest.
$ac_ext
24424 echo "$as_me:$LINENO: result: $samba_cv_passwd_pw_comment" >&5
24425 echo "${ECHO_T}$samba_cv_passwd_pw_comment" >&6
24426 if test x
"$samba_cv_passwd_pw_comment" = x
"yes"; then
24428 cat >>confdefs.h
<<\_ACEOF
24429 #define HAVE_PASSWD_PW_COMMENT 1
24434 #AC_CHECK_MEMBER(struct passwd.pw_age,
24435 # AC_DEFINE(HAVE_PASSWD_PW_AGE, 1, [Defined if struct passwd has pw_age field]),
24436 # [#include <pwd.h>])
24438 echo "$as_me:$LINENO: checking whether struct passwd has pw_age" >&5
24439 echo $ECHO_N "checking whether struct passwd has pw_age... $ECHO_C" >&6
24440 if test "${samba_cv_passwd_pw_age+set}" = set; then
24441 echo $ECHO_N "(cached) $ECHO_C" >&6
24444 cat >conftest.
$ac_ext <<_ACEOF
24445 #line $LINENO "configure"
24446 #include "confdefs.h"
24448 #ifdef F77_DUMMY_MAIN
24449 # ifdef __cplusplus
24452 int F77_DUMMY_MAIN() { return 1; }
24457 struct passwd p; p.pw_age;
24462 rm -f conftest.
$ac_objext
24463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24464 (eval $ac_compile) 2>&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); } &&
24468 { ac_try
='test -s conftest.$ac_objext'
24469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24470 (eval $ac_try) 2>&5
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); }; }; then
24474 samba_cv_passwd_pw_age
=yes
24476 echo "$as_me: failed program was:" >&5
24477 cat conftest.
$ac_ext >&5
24478 samba_cv_passwd_pw_age
=no
24480 rm -f conftest.
$ac_objext conftest.
$ac_ext
24482 echo "$as_me:$LINENO: result: $samba_cv_passwd_pw_age" >&5
24483 echo "${ECHO_T}$samba_cv_passwd_pw_age" >&6
24484 if test x
"$samba_cv_passwd_pw_age" = x
"yes"; then
24486 cat >>confdefs.h
<<\_ACEOF
24487 #define HAVE_PASSWD_PW_AGE 1
24492 #################################################
24493 # Check to see if we should use the included popt
24496 # Check whether --with-included-popt or --without-included-popt was given.
24497 if test "${with_included_popt+set}" = set; then
24498 withval
="$with_included_popt"
24509 if test x
"$INCLUDED_POPT" != x
"yes"; then
24510 echo "$as_me:$LINENO: checking for poptGetContext in -lpopt" >&5
24511 echo $ECHO_N "checking for poptGetContext in -lpopt... $ECHO_C" >&6
24512 if test "${ac_cv_lib_popt_poptGetContext+set}" = set; then
24513 echo $ECHO_N "(cached) $ECHO_C" >&6
24515 ac_check_lib_save_LIBS
=$LIBS
24516 LIBS
="-lpopt $LIBS"
24517 cat >conftest.
$ac_ext <<_ACEOF
24518 #line $LINENO "configure"
24519 #include "confdefs.h"
24521 /* Override any gcc2 internal prototype to avoid an error. */
24525 /* We use char because int might match the return type of a gcc2
24526 builtin and then its argument prototype would still apply. */
24527 char poptGetContext ();
24528 #ifdef F77_DUMMY_MAIN
24529 # ifdef __cplusplus
24532 int F77_DUMMY_MAIN() { return 1; }
24542 rm -f conftest.
$ac_objext conftest
$ac_exeext
24543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24544 (eval $ac_link) 2>&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); } &&
24548 { ac_try
='test -s conftest$ac_exeext'
24549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24550 (eval $ac_try) 2>&5
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); }; }; then
24554 ac_cv_lib_popt_poptGetContext
=yes
24556 echo "$as_me: failed program was:" >&5
24557 cat conftest.
$ac_ext >&5
24558 ac_cv_lib_popt_poptGetContext
=no
24560 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24561 LIBS
=$ac_check_lib_save_LIBS
24563 echo "$as_me:$LINENO: result: $ac_cv_lib_popt_poptGetContext" >&5
24564 echo "${ECHO_T}$ac_cv_lib_popt_poptGetContext" >&6
24565 if test $ac_cv_lib_popt_poptGetContext = yes; then
24573 echo "$as_me:$LINENO: checking whether to use included popt" >&5
24574 echo $ECHO_N "checking whether to use included popt... $ECHO_C" >&6
24575 if test x
"$INCLUDED_POPT" = x
"yes"; then
24576 echo "$as_me:$LINENO: result: yes" >&5
24577 echo "${ECHO_T}yes" >&6
24578 BUILD_POPT
='$(POPT_OBJS)'
24579 FLAGS1
="-I$srcdir/popt"
24581 echo "$as_me:$LINENO: result: no" >&5
24582 echo "${ECHO_T}no" >&6
24583 LIBS
="$LIBS -lpopt"
24588 #################################################
24589 # Check if the user wants Python
24591 # At the moment, you can use this to set which Python binary to link
24592 # against. (Libraries built for Python2.2 can't be used by 2.1,
24593 # though they can coexist in different directories.) In the future
24594 # this might make the Python stuff be built by default.
24596 # Defaulting python breaks the clean target if python isn't installed
24601 # Check whether --with-python or --without-python was given.
24602 if test "${with_python+set}" = set; then
24603 withval
="$with_python"
24604 case "${withval-python}" in
24607 EXTRA_ALL_TARGETS
="$EXTRA_ALL_TARGETS python_ext"
24613 PYTHON
=${withval-python}
24619 #################################################
24620 # do extra things if we are running insure
24622 if test "${ac_cv_prog_CC}" = "insure"; then
24623 CPPFLAGS
="$CPPFLAGS -D__INSURE__"
24626 #################################################
24627 # final configure stuff
24629 echo "$as_me:$LINENO: checking configure summary" >&5
24630 echo $ECHO_N "checking configure summary... $ECHO_C" >&6
24631 if test "$cross_compiling" = yes; then
24632 { echo "$as_me:$LINENO: WARNING: cannot run when cross-compiling" >&5
24633 echo "$as_me: WARNING: cannot run when cross-compiling" >&2;}
24635 cat >conftest.
$ac_ext <<_ACEOF
24636 #line $LINENO "configure"
24637 #include "confdefs.h"
24638 #include "${srcdir-.}/tests/summary.c"
24640 rm -f conftest
$ac_exeext
24641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24642 (eval $ac_link) 2>&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } && { ac_try
='./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 echo "$as_me:$LINENO: result: yes" >&5
24652 echo "${ECHO_T}yes" >&6
24654 echo "$as_me: program exited with status $ac_status" >&5
24655 echo "$as_me: failed program was:" >&5
24656 cat conftest.
$ac_ext >&5
24657 ( exit $ac_status )
24658 { { echo "$as_me:$LINENO: error: summary failure. Aborting config" >&5
24659 echo "$as_me: error: summary failure. Aborting config" >&2;}
24660 { (exit 1); exit 1; }; }; exit 1;
24662 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24668 ac_config_files
="$ac_config_files include/stamp-h Makefile script/findsmb"
24669 cat >confcache
<<\_ACEOF
24670 # This file is a shell script that caches the results of configure
24671 # tests run on this system so they can be shared between configure
24672 # scripts and configure runs, see configure's option --config-cache.
24673 # It is not useful on other systems. If it contains results you don't
24674 # want to keep, you may remove or edit it.
24676 # config.status only pays attention to the cache file if you give it
24677 # the --recheck option to rerun configure.
24679 # `ac_cv_env_foo' variables (set or unset) will be overriden when
24680 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24681 # following values.
24685 # The following way of writing the cache mishandles newlines in values,
24686 # but we know of no workaround that is simple, portable, and efficient.
24687 # So, don't put newlines in cache variables' values.
24688 # Ultrix sh set writes to stderr and can't be redirected directly,
24689 # and sets the high bit in the cache file unless we assign to the vars.
24692 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24694 # `set' does not quote correctly, so add quotes (double-quote
24695 # substitution turns \\\\ into \\, and sed turns \\ into \).
24698 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24701 # `set' quotes correctly as required by POSIX, so do not add quotes.
24703 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24710 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24712 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24714 if cmp -s $cache_file confcache
; then :; else
24715 if test -w $cache_file; then
24716 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24717 cat confcache
>$cache_file
24719 echo "not updating unwritable cache $cache_file"
24724 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24725 # Let make expand exec_prefix.
24726 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24728 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24729 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24730 # trailing colons and then remove the whole line if VPATH becomes empty
24731 # (actually we leave an empty line to preserve line numbers).
24732 if test "x$srcdir" = x.
; then
24733 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24734 s/:*\$(srcdir):*/:/;
24735 s/:*\${srcdir}:*/:/;
24737 s/^\([^=]*=[ ]*\):*/\1/;
24743 DEFS
=-DHAVE_CONFIG_H
24746 : ${CONFIG_STATUS=./config.status}
24747 ac_clean_files_save
=$ac_clean_files
24748 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24749 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24750 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24751 cat >$CONFIG_STATUS <<_ACEOF
24753 # Generated by $as_me.
24754 # Run this file to recreate the current configuration.
24755 # Compiler output produced by configure, useful for debugging
24756 # configure, is in config.log if it exists.
24759 SHELL=\${CONFIG_SHELL-$SHELL}
24762 cat >>$CONFIG_STATUS <<\_ACEOF
24764 ## --------------------- ##
24765 ## M4sh Initialization. ##
24766 ## --------------------- ##
24768 # Be Bourne compatible
24769 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24772 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24777 # Support unset when possible.
24778 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
24784 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
24785 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
24786 { LANG
=C
; export LANG
; }
24787 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
24788 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
24789 { LC_ALL
=C
; export LC_ALL
; }
24790 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
24791 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
24792 { LC_TIME
=C
; export LC_TIME
; }
24793 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
24794 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
24795 { LC_CTYPE
=C
; export LC_CTYPE
; }
24796 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
24797 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
24798 { LANGUAGE
=C
; export LANGUAGE
; }
24799 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
24800 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
24801 { LC_COLLATE
=C
; export LC_COLLATE
; }
24802 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
24803 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
24804 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
24805 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
24806 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
24807 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
24810 # Name of the executable.
24811 as_me
=`(basename "$0") 2>/dev/null ||
24812 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24813 X"$0" : 'X\(//\)$' \| \
24814 X"$0" : 'X\(/\)$' \| \
24815 . : '\(.\)' 2>/dev/null ||
24817 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24818 /^X\/\(\/\/\)$/{ s//\1/; q; }
24819 /^X\/\(\/\).*/{ s//\1/; q; }
24822 # PATH needs CR, and LINENO needs CR and PATH.
24823 # Avoid depending upon Character Ranges.
24824 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24825 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24826 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24827 as_cr_digits
='0123456789'
24828 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24830 # The user is always right.
24831 if test "${PATH_SEPARATOR+set}" != set; then
24832 echo "#! /bin/sh" >conftest.sh
24833 echo "exit 0" >>conftest.sh
24834 chmod +x conftest.sh
24835 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
24844 as_lineno_1
=$LINENO
24845 as_lineno_2
=$LINENO
24846 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
24847 test "x$as_lineno_1" != "x$as_lineno_2" &&
24848 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
24849 # Find who we are. Look in the path if we contain no path at all
24852 *[\\/]* ) as_myself
=$0 ;;
24853 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24854 for as_dir
in $PATH
24857 test -z "$as_dir" && as_dir
=.
24858 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24863 # We did not find ourselves, most probably we were run as `sh COMMAND'
24864 # in which case we are not to be found in the path.
24865 if test "x$as_myself" = x
; then
24868 if test ! -f "$as_myself"; then
24869 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24870 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24871 { (exit 1); exit 1; }; }
24873 case $CONFIG_SHELL in
24875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24876 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
24879 test -z "$as_dir" && as_dir
=.
24880 for as_base
in sh bash ksh sh5
; do
24883 if ("$as_dir/$as_base" -c '
24884 as_lineno_1=$LINENO
24885 as_lineno_2=$LINENO
24886 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24887 test "x$as_lineno_1" != "x$as_lineno_2" &&
24888 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
24889 CONFIG_SHELL
=$as_dir/$as_base
24890 export CONFIG_SHELL
24891 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24899 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24900 # uniformly replaced by the line number. The first 'sed' inserts a
24901 # line-number line before each line; the second 'sed' does the real
24902 # work. The second script uses 'N' to pair each line-number line
24903 # with the numbered line, and appends trailing '-' during
24904 # substitution so that $LINENO is not a special case at line end.
24905 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24906 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24907 sed '=' <$as_myself |
24912 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24915 s,^['$as_cr_digits']*\n,,
24916 ' >$as_me.lineno
&&
24917 chmod +x
$as_me.lineno ||
24918 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24919 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24920 { (exit 1); exit 1; }; }
24922 # Don't try to exec as it changes $[0], causing all sort of problems
24923 # (the dirname of $[0] is not the place where we might find the
24924 # original and so on. Autoconf is especially sensible to this).
24926 # Exit status is that of the last command.
24931 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24932 *c
*,-n*) ECHO_N
= ECHO_C
='
24934 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
24935 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
24938 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24944 rm -f conf$$ conf$$.exe conf$$.
file
24946 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24947 # We could just check for DJGPP; but this test a) works b) is more generic
24948 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24949 if test -f conf$$.exe
; then
24950 # Don't use ln at all; we don't have any links
24955 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24960 rm -f conf$$ conf$$.exe conf$$.
file
24962 as_executable_p
="test -f"
24964 # Sed expression to map a string onto a valid CPP name.
24965 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
24967 # Sed expression to map a string onto a valid variable name.
24968 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
24972 # We need space, tab and new line, in precisely that order.
24978 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
24982 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24983 # report actual input values of CONFIG_FILES etc. instead of their
24984 # values after options handling. Logging --version etc. is OK.
24988 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24989 ## Running $as_me. ##
24994 This file was extended by $as_me, which was
24995 generated by GNU Autoconf 2.53. Invocation command line was
24997 CONFIG_FILES = $CONFIG_FILES
24998 CONFIG_HEADERS = $CONFIG_HEADERS
24999 CONFIG_LINKS = $CONFIG_LINKS
25000 CONFIG_COMMANDS = $CONFIG_COMMANDS
25004 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
25008 # Files that config.status was made for.
25009 if test -n "$ac_config_files"; then
25010 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
25013 if test -n "$ac_config_headers"; then
25014 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
25017 if test -n "$ac_config_links"; then
25018 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
25021 if test -n "$ac_config_commands"; then
25022 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
25025 cat >>$CONFIG_STATUS <<\_ACEOF
25028 \`$as_me' instantiates files from templates according to the
25029 current configuration.
25031 Usage: $0 [OPTIONS] [FILE]...
25033 -h, --help print this help, then exit
25034 -V, --version print version number, then exit
25035 -d, --debug don't remove temporary files
25036 --recheck update $as_me by reconfiguring in the same conditions
25037 --file=FILE[:TEMPLATE]
25038 instantiate the configuration file FILE
25039 --header=FILE[:TEMPLATE]
25040 instantiate the configuration header FILE
25042 Configuration files:
25045 Configuration headers:
25048 Report bugs to <bug-autoconf@gnu.org>."
25051 cat >>$CONFIG_STATUS <<_ACEOF
25054 configured by $0, generated by GNU Autoconf 2.53,
25055 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
25057 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
25058 Free Software Foundation, Inc.
25059 This config.status script is free software; the Free Software Foundation
25060 gives unlimited permission to copy, distribute and modify it."
25065 cat >>$CONFIG_STATUS <<\_ACEOF
25066 # If no file are specified by the user, then we need to provide default
25067 # value. By we need to know if files were specified by the user.
25073 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
25074 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
25076 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
25080 *) # This is not an option, so the user has probably given explicit
25082 ac_need_defaults
=false
;;
25086 # Handling of the options.
25088 cat >>$CONFIG_STATUS <<_ACEOF
25089 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25090 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
25091 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
25093 cat >>$CONFIG_STATUS <<\_ACEOF
25094 --version |
--vers* |
-V )
25095 echo "$ac_cs_version"; exit 0 ;;
25097 # Conflict between --help and --header
25098 { { echo "$as_me:$LINENO: error: ambiguous option: $1
25099 Try \`$0 --help' for more information." >&5
25100 echo "$as_me: error: ambiguous option: $1
25101 Try \`$0 --help' for more information." >&2;}
25102 { (exit 1); exit 1; }; };;
25103 --help |
--hel |
-h )
25104 echo "$ac_cs_usage"; exit 0 ;;
25105 --debug |
--d* |
-d )
25107 --file |
--fil |
--fi |
--f )
25109 CONFIG_FILES
="$CONFIG_FILES $1"
25110 ac_need_defaults
=false
;;
25111 --header |
--heade |
--head |
--hea )
25113 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
25114 ac_need_defaults
=false
;;
25116 # This is an error.
25117 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
25118 Try \`$0 --help' for more information." >&5
25119 echo "$as_me: error: unrecognized option: $1
25120 Try \`$0 --help' for more information." >&2;}
25121 { (exit 1); exit 1; }; } ;;
25123 *) ac_config_targets
="$ac_config_targets $1" ;;
25135 cat >>$CONFIG_STATUS <<\_ACEOF
25136 for ac_config_target
in $ac_config_targets
25138 case "$ac_config_target" in
25139 # Handling of arguments.
25140 "include/stamp-h" ) CONFIG_FILES
="$CONFIG_FILES include/stamp-h" ;;
25141 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25142 "script/findsmb" ) CONFIG_FILES
="$CONFIG_FILES script/findsmb" ;;
25143 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
25144 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25145 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25146 { (exit 1); exit 1; }; };;
25150 # If the user did not use the arguments to specify the items to instantiate,
25151 # then the envvar interface is used. Set only those that are not.
25152 # We use the long form for the default assignment because of an extremely
25153 # bizarre bug on SunOS 4.1.3.
25154 if $ac_need_defaults; then
25155 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25156 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25159 # Create a temporary directory, and hook for its removal unless debugging.
25162 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
25163 trap '{ (exit 1); exit 1; }' 1 2 13 15
25166 # Create a (secure) tmp directory for tmp files.
25169 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
25170 test -n "$tmp" && test -d "$tmp"
25173 tmp
=$TMPDIR/cs$$
-$RANDOM
25174 (umask 077 && mkdir
$tmp)
25177 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
25178 { (exit 1); exit 1; }
25183 cat >>$CONFIG_STATUS <<_ACEOF
25186 # CONFIG_FILES section.
25189 # No need to generate the scripts if there are no CONFIG_FILES.
25190 # This happens for instance when ./config.status config.h
25191 if test -n "\$CONFIG_FILES"; then
25192 # Protect against being on the right side of a sed subst in config.status.
25193 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25194 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25195 s,@SHELL@,$SHELL,;t t
25196 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25197 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25198 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25199 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25200 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25201 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25202 s,@exec_prefix@,$exec_prefix,;t t
25203 s,@prefix@,$prefix,;t t
25204 s,@program_transform_name@,$program_transform_name,;t t
25205 s,@bindir@,$bindir,;t t
25206 s,@sbindir@,$sbindir,;t t
25207 s,@libexecdir@,$libexecdir,;t t
25208 s,@datadir@,$datadir,;t t
25209 s,@sysconfdir@,$sysconfdir,;t t
25210 s,@sharedstatedir@,$sharedstatedir,;t t
25211 s,@localstatedir@,$localstatedir,;t t
25212 s,@libdir@,$libdir,;t t
25213 s,@includedir@,$includedir,;t t
25214 s,@oldincludedir@,$oldincludedir,;t t
25215 s,@infodir@,$infodir,;t t
25216 s,@mandir@,$mandir,;t t
25217 s,@build_alias@,$build_alias,;t t
25218 s,@host_alias@,$host_alias,;t t
25219 s,@target_alias@,$target_alias,;t t
25220 s,@DEFS@,$DEFS,;t t
25221 s,@ECHO_C@,$ECHO_C,;t t
25222 s,@ECHO_N@,$ECHO_N,;t t
25223 s,@ECHO_T@,$ECHO_T,;t t
25224 s,@LIBS@,$LIBS,;t t
25225 s,@configdir@,$configdir,;t t
25226 s,@lockdir@,$lockdir,;t t
25227 s,@piddir@,$piddir,;t t
25228 s,@logfilebase@,$logfilebase,;t t
25229 s,@privatedir@,$privatedir,;t t
25230 s,@swatdir@,$swatdir,;t t
25231 s,@LDSHFLAGS@,$LDSHFLAGS,;t t
25232 s,@SONAMEFLAG@,$SONAMEFLAG,;t t
25233 s,@SHLD@,$SHLD,;t t
25234 s,@HOST_OS@,$HOST_OS,;t t
25235 s,@PICFLAG@,$PICFLAG,;t t
25236 s,@PICSUFFIX@,$PICSUFFIX,;t t
25237 s,@POBAD_CC@,$POBAD_CC,;t t
25238 s,@SHLIBEXT@,$SHLIBEXT,;t t
25239 s,@LIBSMBCLIENT_SHARED@,$LIBSMBCLIENT_SHARED,;t t
25240 s,@LIBSMBCLIENT@,$LIBSMBCLIENT,;t t
25241 s,@PRINTLIBS@,$PRINTLIBS,;t t
25242 s,@AUTHLIBS@,$AUTHLIBS,;t t
25243 s,@SHLIB_PROGS@,$SHLIB_PROGS,;t t
25244 s,@SMBWRAPPER@,$SMBWRAPPER,;t t
25245 s,@EXTRA_BIN_PROGS@,$EXTRA_BIN_PROGS,;t t
25246 s,@EXTRA_SBIN_PROGS@,$EXTRA_SBIN_PROGS,;t t
25247 s,@EXTRA_ALL_TARGETS@,$EXTRA_ALL_TARGETS,;t t
25249 s,@CFLAGS@,$CFLAGS,;t t
25250 s,@LDFLAGS@,$LDFLAGS,;t t
25251 s,@CPPFLAGS@,$CPPFLAGS,;t t
25252 s,@ac_ct_CC@,$ac_ct_CC,;t t
25253 s,@EXEEXT@,$EXEEXT,;t t
25254 s,@OBJEXT@,$OBJEXT,;t t
25255 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25256 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25257 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25259 s,@BROKEN_CC@,$BROKEN_CC,;t t
25260 s,@build@,$build,;t t
25261 s,@build_cpu@,$build_cpu,;t t
25262 s,@build_vendor@,$build_vendor,;t t
25263 s,@build_os@,$build_os,;t t
25264 s,@host@,$host,;t t
25265 s,@host_cpu@,$host_cpu,;t t
25266 s,@host_vendor@,$host_vendor,;t t
25267 s,@host_os@,$host_os,;t t
25268 s,@target@,$target,;t t
25269 s,@target_cpu@,$target_cpu,;t t
25270 s,@target_vendor@,$target_vendor,;t t
25271 s,@target_os@,$target_os,;t t
25273 s,@CUPS_CONFIG@,$CUPS_CONFIG,;t t
25274 s,@LIBOBJS@,$LIBOBJS,;t t
25275 s,@TERMLIBS@,$TERMLIBS,;t t
25276 s,@TERMLDFLAGS@,$TERMLDFLAGS,;t t
25277 s,@ROFF@,$ROFF,;t t
25278 s,@DYNEXP@,$DYNEXP,;t t
25279 s,@MYSQL_CONFIG@,$MYSQL_CONFIG,;t t
25280 s,@MYSQL_CFLAGS@,$MYSQL_CFLAGS,;t t
25281 s,@MYSQL_LIBS@,$MYSQL_LIBS,;t t
25282 s,@MODULE_MYSQL@,$MODULE_MYSQL,;t t
25283 s,@XML2_CONFIG@,$XML2_CONFIG,;t t
25284 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
25285 s,@XML_LIBS@,$XML_LIBS,;t t
25286 s,@MODULE_XML@,$MODULE_XML,;t t
25287 s,@QUOTAOBJS@,$QUOTAOBJS,;t t
25288 s,@manlangs@,$manlangs,;t t
25289 s,@WINBIND_NSS_EXTRA_OBJS@,$WINBIND_NSS_EXTRA_OBJS,;t t
25290 s,@WINBIND_NSS_EXTRA_LIBS@,$WINBIND_NSS_EXTRA_LIBS,;t t
25291 s,@BUILD_POPT@,$BUILD_POPT,;t t
25292 s,@FLAGS1@,$FLAGS1,;t t
25293 s,@PYTHON@,$PYTHON,;t t
25294 s,@builddir@,$builddir,;t t
25299 cat >>$CONFIG_STATUS <<\_ACEOF
25300 # Split the substitutions into bite-sized pieces for seds with
25301 # small command number limits, like on Digital OSF/1 and HP-UX.
25302 ac_max_sed_lines
=48
25303 ac_sed_frag
=1 # Number of current file.
25304 ac_beg
=1 # First line for current file.
25305 ac_end
=$ac_max_sed_lines # Line after last line for current file.
25308 while $ac_more_lines; do
25309 if test $ac_beg -gt 1; then
25310 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
25312 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
25314 if test ! -s $tmp/subs.frag
; then
25315 ac_more_lines
=false
25317 # The purpose of the label and of the branching condition is to
25318 # speed up the sed processing (if there are no `@' at all, there
25319 # is no need to browse any of the substitutions).
25320 # These are the two extra sed commands mentioned above.
25322 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
25323 if test -z "$ac_sed_cmds"; then
25324 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
25326 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25328 ac_sed_frag
=`expr $ac_sed_frag + 1`
25330 ac_end
=`expr $ac_end + $ac_max_sed_lines`
25333 if test -z "$ac_sed_cmds"; then
25336 fi # test -n "$CONFIG_FILES"
25339 cat >>$CONFIG_STATUS <<\_ACEOF
25340 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
25341 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25343 - |
*:- |
*:-:* ) # input from stdin
25345 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25346 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25347 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25348 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25349 * ) ac_file_in
=$ac_file.
in ;;
25352 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25353 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
25354 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25355 X"$ac_file" : 'X\(//\)[^/]' \| \
25356 X"$ac_file" : 'X\(//\)$' \| \
25357 X"$ac_file" : 'X\(/\)' \| \
25358 . : '\(.\)' 2>/dev/null ||
25360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25361 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25362 /^X\(\/\/\)$/{ s//\1/; q; }
25363 /^X\(\/\).*/{ s//\1/; q; }
25365 { case "$ac_dir" in
25366 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
25370 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
25371 case $as_mkdir_dir in
25372 # Skip DOS drivespec
25373 ?
:) as_incr_dir
=$as_mkdir_dir ;;
25375 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
25376 test -d "$as_incr_dir" ||
25377 mkdir
"$as_incr_dir" ||
25378 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
25379 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
25380 { (exit 1); exit 1; }; }
25387 if test "$ac_dir" != .
; then
25388 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25389 # A "../" for each directory in $ac_dir_suffix.
25390 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25392 ac_dir_suffix
= ac_top_builddir
=
25396 .
) # No --srcdir option. We are building in place.
25398 if test -z "$ac_top_builddir"; then
25401 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25403 [\\/]* | ?
:[\\/]* ) # Absolute path.
25404 ac_srcdir
=$srcdir$ac_dir_suffix;
25405 ac_top_srcdir
=$srcdir ;;
25406 *) # Relative path.
25407 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25408 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25410 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
25412 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
25413 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
25414 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
25415 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
25419 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25420 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
25423 if test x
"$ac_file" != x-
; then
25424 { echo "$as_me:$LINENO: creating $ac_file" >&5
25425 echo "$as_me: creating $ac_file" >&6;}
25428 # Let's still pretend it is `configure' which instantiates (i.e., don't
25429 # use $as_me), people would be surprised to read:
25430 # /* config.h. Generated by config.status. */
25431 if test x
"$ac_file" = x-
; then
25434 configure_input
="$ac_file. "
25436 configure_input
=$configure_input"Generated from `echo $ac_file_in |
25437 sed 's,.*/,,'` by configure."
25439 # First look for the input files in the build tree, otherwise in the
25441 ac_file_inputs
=`IFS=:
25442 for f in $ac_file_in; do
25444 -) echo $tmp/stdin ;;
25446 # Absolute (can't be DOS-style, as IFS=:)
25447 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25448 echo "$as_me: error: cannot find input file: $f" >&2;}
25449 { (exit 1); exit 1; }; }
25452 if test -f "$f"; then
25455 elif test -f "$srcdir/$f"; then
25460 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25461 echo "$as_me: error: cannot find input file: $f" >&2;}
25462 { (exit 1); exit 1; }; }
25465 done` ||
{ (exit 1); exit 1; }
25467 cat >>$CONFIG_STATUS <<_ACEOF
25471 cat >>$CONFIG_STATUS <<\_ACEOF
25473 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25474 s
,@configure_input@
,$configure_input,;t t
25475 s
,@srcdir@
,$ac_srcdir,;t t
25476 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
25477 s
,@top_srcdir@
,$ac_top_srcdir,;t t
25478 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
25479 s
,@builddir@
,$ac_builddir,;t t
25480 s
,@abs_builddir@
,$ac_abs_builddir,;t t
25481 s
,@top_builddir@
,$ac_top_builddir,;t t
25482 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
25483 s
,@INSTALL@
,$ac_INSTALL,;t t
25484 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25486 if test x"$ac_file" != x-; then
25487 mv $tmp/out $ac_file
25495 cat >>$CONFIG_STATUS <<\_ACEOF
25498 # CONFIG_HEADER section.
25501 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
25502 # NAME is the cpp macro being defined and VALUE is the value it is being given.
25504 # ac_d sets the value in "#define NAME VALUE" lines.
25505 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25506 ac_dB
='[ ].*$,\1#\2'
25509 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25510 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25511 ac_uB
='$,\1#\2define\3'
25515 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
25516 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25518 - |
*:- |
*:-:* ) # input from stdin
25520 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25521 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25522 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25523 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25524 * ) ac_file_in
=$ac_file.
in ;;
25527 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
25528 echo "$as_me: creating $ac_file" >&6;}
25530 # First look for the input files in the build tree, otherwise in the
25532 ac_file_inputs
=`IFS=:
25533 for f in $ac_file_in; do
25535 -) echo $tmp/stdin ;;
25537 # Absolute (can't be DOS-style, as IFS=:)
25538 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25539 echo "$as_me: error: cannot find input file: $f" >&2;}
25540 { (exit 1); exit 1; }; }
25543 if test -f "$f"; then
25546 elif test -f "$srcdir/$f"; then
25551 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25552 echo "$as_me: error: cannot find input file: $f" >&2;}
25553 { (exit 1); exit 1; }; }
25556 done` ||
{ (exit 1); exit 1; }
25557 # Remove the trailing spaces.
25558 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25562 # Transform confdefs.h into two sed scripts, `conftest.defines' and
25563 # `conftest.undefs', that substitutes the proper values into
25564 # config.h.in to produce config.h. The first handles `#define'
25565 # templates, and the second `#undef' templates.
25566 # And first: Protect against being on the right side of a sed subst in
25567 # config.status. Protect against being in an unquoted here document
25568 # in config.status.
25569 rm -f conftest.defines conftest.undefs
25570 # Using a here document instead of a string reduces the quoting nightmare.
25571 # Putting comments in sed scripts is not portable.
25573 # `end' is used to avoid that the second main sed command (meant for
25574 # 0-ary CPP macros) applies to n-ary macro definitions.
25575 # See the Autoconf documentation for `clear'.
25576 cat >confdef2sed.
sed <<\_ACEOF
25581 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25583 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25586 # If some macros were called several times there might be several times
25587 # the same #defines, which is useless. Nevertheless, we may not want to
25588 # sort them, since we want the *last* AC-DEFINE to be honored.
25589 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25590 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25591 rm -f confdef2sed.sed
25593 # This sed command replaces #undef with comments. This is necessary, for
25594 # example, in the case of _POSIX_SOURCE, which is predefined and required
25595 # on some systems where configure will not decide to define it.
25596 cat >>conftest.undefs <<\_ACEOF
25597 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25600 # Break up conftest.defines because some shells have a limit on the size
25601 # of here documents, and old seds have small limits too (100 cmds).
25602 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25603 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25604 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25605 echo ' :' >>$CONFIG_STATUS
25606 rm -f conftest.tail
25607 while grep . conftest.defines >/dev/null
25609 # Write a limited-size here document to $tmp/defines.sed.
25610 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25611 # Speed up: don't consider the non `#define' lines.
25612 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25613 # Work around the forget-to-reset-the-flag bug.
25614 echo 't clr' >>$CONFIG_STATUS
25615 echo ': clr' >>$CONFIG_STATUS
25616 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
25618 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25620 mv $tmp/out $tmp/in
25622 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
25623 rm -f conftest.defines
25624 mv conftest.
tail conftest.defines
25626 rm -f conftest.defines
25627 echo ' fi # egrep' >>$CONFIG_STATUS
25628 echo >>$CONFIG_STATUS
25630 # Break up conftest.undefs because some shells have a limit on the size
25631 # of here documents, and old seds have small limits too (100 cmds).
25632 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25633 rm -f conftest.
tail
25634 while grep . conftest.undefs
>/dev
/null
25636 # Write a limited-size here document to $tmp/undefs.sed.
25637 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25638 # Speed up: don't consider the non
`#undef'
25639 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25640 # Work around the forget-to-reset-the-flag bug.
25641 echo 't clr' >>$CONFIG_STATUS
25642 echo ': clr' >>$CONFIG_STATUS
25643 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25645 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25647 mv $tmp/out $tmp/in
25649 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25650 rm -f conftest.undefs
25651 mv conftest.tail conftest.undefs
25653 rm -f conftest.undefs
25655 cat >>$CONFIG_STATUS <<\_ACEOF
25656 # Let's still pretend it is `configure
' which instantiates (i.e., don't
25657 # use $as_me), people would be surprised to read:
25658 # /* config.h. Generated by config.status. */
25659 if test x
"$ac_file" = x-
; then
25660 echo "/* Generated by configure. */" >$tmp/config.h
25662 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25664 cat $tmp/in >>$tmp/config.h
25666 if test x
"$ac_file" != x-
; then
25667 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
25668 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25669 echo "$as_me: $ac_file is unchanged" >&6;}
25671 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
25672 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25673 X"$ac_file" : 'X\(//\)[^/]' \| \
25674 X"$ac_file" : 'X\(//\)$' \| \
25675 X"$ac_file" : 'X\(/\)' \| \
25676 . : '\(.\)' 2>/dev/null ||
25678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25680 /^X\(\/\/\)$/{ s//\1/; q; }
25681 /^X\(\/\).*/{ s//\1/; q; }
25683 { case "$ac_dir" in
25684 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
25688 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
25689 case $as_mkdir_dir in
25690 # Skip DOS drivespec
25691 ?
:) as_incr_dir
=$as_mkdir_dir ;;
25693 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
25694 test -d "$as_incr_dir" ||
25695 mkdir
"$as_incr_dir" ||
25696 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
25697 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
25698 { (exit 1); exit 1; }; }
25704 mv $tmp/config.h
$ac_file
25708 rm -f $tmp/config.h
25713 cat >>$CONFIG_STATUS <<\_ACEOF
25715 { (exit 0); exit 0; }
25717 chmod +x
$CONFIG_STATUS
25718 ac_clean_files
=$ac_clean_files_save
25721 # configure is writing to config.log, and then calls config.status.
25722 # config.status does its own redirection, appending to config.log.
25723 # Unfortunately, on DOS this fails, as config.log is still kept open
25724 # by configure, so config.status won't be able to write to it; its
25725 # output is simply discarded. So we exec the FD to /dev/null,
25726 # effectively closing config.log, so it can be properly (re)opened and
25727 # appended to by config.status. When coming back to configure, we
25728 # need to make the FD available again.
25729 if test "$no_create" != yes; then
25732 $SHELL $CONFIG_STATUS || ac_cs_success
=false
25734 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25735 # would make configure fail if this is the last instruction.
25736 $ac_cs_success ||
{ (exit 1); exit 1; }
25740 #################################################
25741 # Print very concise instructions on building/use
25742 if test "x$enable_dmalloc" = xyes
25744 echo "$as_me:$LINENO: result: Note: The dmalloc debug library will be included. To turn it on use" >&5
25745 echo "${ECHO_T}Note: The dmalloc debug library will be included. To turn it on use" >&6
25746 echo "$as_me:$LINENO: result: \$ eval \\`dmalloc samba\\`." >&5
25747 echo "${ECHO_T} \$ eval \\`dmalloc samba\\`." >&6