2 # From configure.in Revision: 1.320 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.53 for Heimdal 0.4f.
6 # Report bugs to <heimdal-bugs@pdc.kth.se>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
13 # Find the correct PATH separator. Usually this is `:', but
14 # DJGPP uses `;' like DOS.
15 if test "X${PATH_SEPARATOR+set}" != Xset; then
16 UNAME=${UNAME-`uname 2>/dev/null`}
18 *-DOS) lt_cv_sys_path_separator=';' ;;
19 *) lt_cv_sys_path_separator=':' ;;
21 PATH_SEPARATOR=$lt_cv_sys_path_separator
25 # Check that we are running under the correct shell.
26 SHELL=${CONFIG_SHELL-/bin/sh}
30 # Remove one level of quotation (which was required for Make).
31 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
36 if test "X$1" = X--no-reexec; then
37 # Discard the --no-reexec flag, and continue.
39 elif test "X$1" = X--fallback-echo; then
40 # Avoid inline document here, it may be left over
42 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
43 # Yippee, $echo works!
46 # Restart under the correct shell.
47 exec $SHELL "$0" --no-reexec ${1+"$@"}
50 if test "X$1" = X--fallback-echo; then
51 # used as fallback echo
59 # The HP-UX ksh and POSIX shell print the target directory to stdout
61 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
63 if test -z "$ECHO"; then
64 if test "X${echo_test_string+set}" != Xset; then
65 # find a string as large as possible, as long as the shell can cope with it
66 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
67 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
68 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
69 echo_test_string="`eval $cmd`" &&
70 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
77 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
78 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
79 test "X$echo_testing_string" = "X$echo_test_string"; then
82 # The Solaris, AIX, and Digital Unix default echo programs unquote
83 # backslashes. This makes it impossible to quote backslashes using
84 # echo "$something" | sed 's/\\/\\\\/g'
86 # So, first we look for a working echo in the user's PATH.
88 IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
89 for dir in $PATH /usr/ucb; do
90 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
91 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
92 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
93 test "X$echo_testing_string" = "X$echo_test_string"; then
100 if test "X$echo" = Xecho; then
101 # We didn't find a better echo, so look for alternatives.
102 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
103 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
104 test "X$echo_testing_string" = "X$echo_test_string"; then
105 # This shell has a builtin print -r that does the trick.
107 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
108 test "X$CONFIG_SHELL" != X/bin/ksh; then
109 # If we have ksh, try running configure again with it.
110 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
111 export ORIGINAL_CONFIG_SHELL
112 CONFIG_SHELL=/bin/ksh
114 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
118 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
119 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
120 test "X$echo_testing_string" = "X$echo_test_string"; then
123 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
124 test "X$echo_testing_string" = 'X\t' &&
125 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
126 test "X$echo_testing_string" = "X$echo_test_string"; then
127 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
129 SHELL="$CONFIG_SHELL"
131 echo="$CONFIG_SHELL $0 --fallback-echo"
132 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
133 test "X$echo_testing_string" = 'X\t' &&
134 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
135 test "X$echo_testing_string" = "X$echo_test_string"; then
136 echo="$CONFIG_SHELL $0 --fallback-echo"
138 # maybe with a smaller string...
141 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
142 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
149 if test "$prev" != 'sed 50q "$0"'; then
150 echo_test_string=`eval $prev`
151 export echo_test_string
152 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
154 # Oops. We lost completely, so just stick with echo.
163 # Copy echo and quote the copy suitably for passing to libtool from
164 # the Makefile, instead of quoting the original, which is used later.
166 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
167 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
172 if expr a : '\(a\)' >/dev/null 2>&1; then
179 ## --------------------- ##
180 ## M4sh Initialization. ##
181 ## --------------------- ##
183 # Be Bourne compatible
184 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
187 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
192 # Support unset when possible.
193 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
199 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
200 { $as_unset LANG || test "${LANG+set}" != set; } ||
201 { LANG=C; export LANG; }
202 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
203 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
204 { LC_ALL=C; export LC_ALL; }
205 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
206 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
207 { LC_TIME=C; export LC_TIME; }
208 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
209 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
210 { LC_CTYPE=C; export LC_CTYPE; }
211 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
212 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
213 { LANGUAGE=C; export LANGUAGE; }
214 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
215 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
216 { LC_COLLATE=C; export LC_COLLATE; }
217 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
218 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
219 { LC_NUMERIC=C; export LC_NUMERIC; }
220 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
221 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
222 { LC_MESSAGES=C; export LC_MESSAGES; }
225 # Name of the executable.
226 as_me=`(basename "$0") 2>/dev/null ||
227 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
228 X"$0" : 'X\(//\)$' \| \
229 X"$0" : 'X\(/\)$' \| \
230 . : '\(.\)' 2>/dev/null ||
232 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
233 /^X\/\(\/\/\)$/{ s//\1/; q; }
234 /^X\/\(\/\).*/{ s//\1/; q; }
237 # PATH needs CR, and LINENO needs CR and PATH.
238 # Avoid depending upon Character Ranges.
239 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
240 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
241 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
242 as_cr_digits='0123456789'
243 as_cr_alnum=$as_cr_Letters$as_cr_digits
245 # The user is always right.
246 if test "${PATH_SEPARATOR+set}" != set; then
247 echo "#! /bin/sh" >conftest.sh
248 echo "exit 0" >>conftest.sh
250 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
261 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
262 test "x$as_lineno_1" != "x$as_lineno_2" &&
263 test "x$as_lineno_3" = "x$as_lineno_2" || {
264 # Find who we are. Look in the path if we contain no path at all
267 *[\\/]* ) as_myself=$0 ;;
268 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
272 test -z "$as_dir" && as_dir=.
273 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
278 # We did not find ourselves, most probably we were run as `sh COMMAND'
279 # in which case we are not to be found in the path.
280 if test "x$as_myself" = x; then
283 if test ! -f "$as_myself"; then
284 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
285 { (exit 1); exit 1; }; }
287 case $CONFIG_SHELL in
289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
290 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
293 test -z "$as_dir" && as_dir=.
294 for as_base in sh bash ksh sh5; do
297 if ("$as_dir/$as_base" -c '
300 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
301 test "x$as_lineno_1" != "x$as_lineno_2" &&
302 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
303 CONFIG_SHELL=$as_dir/$as_base
305 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
313 # Create $as_me.lineno as a copy of $as_myself, but with 313
314 # uniformly replaced by the line number. The first 'sed' inserts a
315 # line-number line before each line; the second 'sed' does the real
316 # work. The second script uses 'N' to pair each line-number line
317 # with the numbered line, and appends trailing '-' during
318 # substitution so that 318 is not a special case at line end.
319 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
320 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
321 sed '=' <$as_myself |
326 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
329 s,^['$as_cr_digits']*\n,,
331 chmod +x $as_me.lineno ||
332 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
333 { (exit 1); exit 1; }; }
335 # Don't try to exec as it changes $[0], causing all sort of problems
336 # (the dirname of $[0] is not the place where we might find the
337 # original and so on. Autoconf is especially sensible to this).
339 # Exit status is that of the last command.
344 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
345 *c*,-n*) ECHO_N= ECHO_C='
347 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
348 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
351 if expr a : '\(a\)' >/dev/null 2>&1; then
357 rm -f conf$$ conf$$.exe conf$$.file
359 if ln -s conf$$.file conf$$ 2>/dev/null; then
360 # We could just check for DJGPP; but this test a) works b) is more generic
361 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
362 if test -f conf$$.exe; then
363 # Don't use ln at all; we don't have any links
368 elif ln conf$$.file conf$$ 2>/dev/null; then
373 rm -f conf$$ conf$$.exe conf$$.file
375 as_executable_p="test -f"
377 # Sed expression to map a string onto a valid CPP name.
378 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
380 # Sed expression to map a string onto a valid variable name.
381 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
385 # We need space, tab and new line, in precisely that order.
391 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
395 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
396 # so uname gets run too.
397 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404 ac_default_prefix=/usr/local
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME='Heimdal'
418 PACKAGE_TARNAME='heimdal'
419 PACKAGE_VERSION='0.4f'
420 PACKAGE_STRING='Heimdal 0.4f'
421 PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
423 ac_default_prefix=/usr/heimdal
424 # Factoring default headers for most tests.
425 ac_includes_default="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
462 # Initialize some variables set by options.
464 ac_init_version=false
465 # The variables have the same names as the options, with
466 # dashes changed to underlines.
474 program_transform_name=s,x,x,
482 # Installation directory options.
483 # These are left unexpanded so users can "make install exec_prefix=/foo"
484 # and all the variables that are supposed to be based on exec_prefix
485 # by default will actually change.
486 # Use braces instead of parens because sh, perl, etc. also accept them.
487 bindir='${exec_prefix}/bin'
488 sbindir='${exec_prefix}/sbin'
489 libexecdir='${exec_prefix}/libexec'
490 datadir='${prefix}/share'
491 sysconfdir='${prefix}/etc'
492 sharedstatedir='${prefix}/com'
493 localstatedir='${prefix}/var'
494 libdir='${exec_prefix}/lib'
495 includedir='${prefix}/include'
496 oldincludedir='/usr/include'
497 infodir='${prefix}/info'
498 mandir='${prefix}/man'
503 # If the previous option needs an argument, assign it.
504 if test -n "$ac_prev"; then
505 eval "$ac_prev=\$ac_option"
510 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
512 # Accept the important Cygnus configure options, so we can diagnose typos.
516 -bindir | --bindir | --bindi | --bind | --bin | --bi)
518 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521 -build | --build | --buil | --bui | --bu)
522 ac_prev=build_alias ;;
523 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
524 build_alias=$ac_optarg ;;
526 -cache-file | --cache-file | --cache-fil | --cache-fi \
527 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
528 ac_prev=cache_file ;;
529 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
530 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
531 cache_file=$ac_optarg ;;
534 cache_file=config.cache ;;
536 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
538 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
540 datadir=$ac_optarg ;;
542 -disable-* | --disable-*)
543 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
544 # Reject names that are not valid shell variable names.
545 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
546 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
547 { (exit 1); exit 1; }; }
548 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
549 eval "enable_$ac_feature=no" ;;
551 -enable-* | --enable-*)
552 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556 { (exit 1); exit 1; }; }
557 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
559 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 eval "enable_$ac_feature='$ac_optarg'" ;;
564 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
565 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
566 | --exec | --exe | --ex)
567 ac_prev=exec_prefix ;;
568 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
569 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
570 | --exec=* | --exe=* | --ex=*)
571 exec_prefix=$ac_optarg ;;
573 -gas | --gas | --ga | --g)
574 # Obsolete; use --with-gas.
577 -help | --help | --hel | --he | -h)
579 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
580 ac_init_help=recursive ;;
581 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
582 ac_init_help=short ;;
584 -host | --host | --hos | --ho)
585 ac_prev=host_alias ;;
586 -host=* | --host=* | --hos=* | --ho=*)
587 host_alias=$ac_optarg ;;
589 -includedir | --includedir | --includedi | --included | --include \
590 | --includ | --inclu | --incl | --inc)
591 ac_prev=includedir ;;
592 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
593 | --includ=* | --inclu=* | --incl=* | --inc=*)
594 includedir=$ac_optarg ;;
596 -infodir | --infodir | --infodi | --infod | --info | --inf)
598 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
599 infodir=$ac_optarg ;;
601 -libdir | --libdir | --libdi | --libd)
603 -libdir=* | --libdir=* | --libdi=* | --libd=*)
606 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
607 | --libexe | --libex | --libe)
608 ac_prev=libexecdir ;;
609 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
610 | --libexe=* | --libex=* | --libe=*)
611 libexecdir=$ac_optarg ;;
613 -localstatedir | --localstatedir | --localstatedi | --localstated \
614 | --localstate | --localstat | --localsta | --localst \
615 | --locals | --local | --loca | --loc | --lo)
616 ac_prev=localstatedir ;;
617 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
618 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
619 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
620 localstatedir=$ac_optarg ;;
622 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
624 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
628 # Obsolete; use --without-fp.
631 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
632 | --no-cr | --no-c | -n)
635 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
636 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
640 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
641 | --oldin | --oldi | --old | --ol | --o)
642 ac_prev=oldincludedir ;;
643 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
644 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
645 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
646 oldincludedir=$ac_optarg ;;
648 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
650 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653 -program-prefix | --program-prefix | --program-prefi | --program-pref \
654 | --program-pre | --program-pr | --program-p)
655 ac_prev=program_prefix ;;
656 -program-prefix=* | --program-prefix=* | --program-prefi=* \
657 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
658 program_prefix=$ac_optarg ;;
660 -program-suffix | --program-suffix | --program-suffi | --program-suff \
661 | --program-suf | --program-su | --program-s)
662 ac_prev=program_suffix ;;
663 -program-suffix=* | --program-suffix=* | --program-suffi=* \
664 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
665 program_suffix=$ac_optarg ;;
667 -program-transform-name | --program-transform-name \
668 | --program-transform-nam | --program-transform-na \
669 | --program-transform-n | --program-transform- \
670 | --program-transform | --program-transfor \
671 | --program-transfo | --program-transf \
672 | --program-trans | --program-tran \
673 | --progr-tra | --program-tr | --program-t)
674 ac_prev=program_transform_name ;;
675 -program-transform-name=* | --program-transform-name=* \
676 | --program-transform-nam=* | --program-transform-na=* \
677 | --program-transform-n=* | --program-transform-=* \
678 | --program-transform=* | --program-transfor=* \
679 | --program-transfo=* | --program-transf=* \
680 | --program-trans=* | --program-tran=* \
681 | --progr-tra=* | --program-tr=* | --program-t=*)
682 program_transform_name=$ac_optarg ;;
684 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
685 | -silent | --silent | --silen | --sile | --sil)
688 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
690 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
692 sbindir=$ac_optarg ;;
694 -sharedstatedir | --sharedstatedir | --sharedstatedi \
695 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
696 | --sharedst | --shareds | --shared | --share | --shar \
698 ac_prev=sharedstatedir ;;
699 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
700 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
701 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
703 sharedstatedir=$ac_optarg ;;
705 -site | --site | --sit)
707 -site=* | --site=* | --sit=*)
710 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
712 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
716 | --syscon | --sysco | --sysc | --sys | --sy)
717 ac_prev=sysconfdir ;;
718 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
719 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
720 sysconfdir=$ac_optarg ;;
722 -target | --target | --targe | --targ | --tar | --ta | --t)
723 ac_prev=target_alias ;;
724 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
725 target_alias=$ac_optarg ;;
727 -v | -verbose | --verbose | --verbos | --verbo | --verb)
730 -version | --version | --versio | --versi | --vers | -V)
734 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
735 # Reject names that are not valid shell variable names.
736 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
737 { echo "$as_me: error: invalid package name: $ac_package" >&2
738 { (exit 1); exit 1; }; }
739 ac_package=`echo $ac_package| sed 's/-/_/g'`
741 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744 eval "with_$ac_package='$ac_optarg'" ;;
746 -without-* | --without-*)
747 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
748 # Reject names that are not valid shell variable names.
749 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
750 { echo "$as_me: error: invalid package name: $ac_package" >&2
751 { (exit 1); exit 1; }; }
752 ac_package=`echo $ac_package | sed 's/-/_/g'`
753 eval "with_$ac_package=no" ;;
756 # Obsolete; use --with-x.
759 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
760 | --x-incl | --x-inc | --x-in | --x-i)
761 ac_prev=x_includes ;;
762 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
763 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
764 x_includes=$ac_optarg ;;
766 -x-libraries | --x-libraries | --x-librarie | --x-librari \
767 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
768 ac_prev=x_libraries ;;
769 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
770 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
771 x_libraries=$ac_optarg ;;
773 -*) { echo "$as_me: error: unrecognized option: $ac_option
774 Try \`$0 --help' for more information." >&2
775 { (exit 1); exit 1; }; }
779 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
780 # Reject names that are not valid shell variable names.
781 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
782 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
783 { (exit 1); exit 1; }; }
784 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
785 eval "$ac_envvar='$ac_optarg'"
789 # FIXME: should be removed in autoconf 3.0.
790 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
791 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
792 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
793 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
799 if test -n "$ac_prev"; then
800 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
801 { echo "$as_me: error: missing argument to $ac_option" >&2
802 { (exit 1); exit 1; }; }
805 # Be sure to have absolute paths.
806 for ac_var in exec_prefix prefix
808 eval ac_val=$`echo $ac_var`
810 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
811 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
812 { (exit 1); exit 1; }; };;
816 # Be sure to have absolute paths.
817 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
818 localstatedir libdir includedir oldincludedir infodir mandir
820 eval ac_val=$`echo $ac_var`
822 [\\/$]* | ?:[\\/]* ) ;;
823 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
824 { (exit 1); exit 1; }; };;
828 # There might be people who depend on the old broken behavior: `$host'
829 # used to hold the argument of --host etc.
830 # FIXME: To remove some day.
835 # FIXME: To remove some day.
836 if test "x$host_alias" != x; then
837 if test "x$build_alias" = x; then
838 cross_compiling=maybe
839 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
840 If a cross compiler is detected then cross compile mode will be used." >&2
841 elif test "x$build_alias" != "x$host_alias"; then
847 test -n "$host_alias" && ac_tool_prefix=$host_alias-
849 test "$silent" = yes && exec 6>/dev/null
852 # Find the source files, if location was not specified.
853 if test -z "$srcdir"; then
854 ac_srcdir_defaulted=yes
855 # Try the directory containing this script, then its parent.
856 ac_confdir=`(dirname "$0") 2>/dev/null ||
857 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
858 X"$0" : 'X\(//\)[^/]' \| \
859 X"$0" : 'X\(//\)$' \| \
860 X"$0" : 'X\(/\)' \| \
861 . : '\(.\)' 2>/dev/null ||
863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
864 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
865 /^X\(\/\/\)$/{ s//\1/; q; }
866 /^X\(\/\).*/{ s//\1/; q; }
869 if test ! -r $srcdir/$ac_unique_file; then
873 ac_srcdir_defaulted=no
875 if test ! -r $srcdir/$ac_unique_file; then
876 if test "$ac_srcdir_defaulted" = yes; then
877 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
878 { (exit 1); exit 1; }; }
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
881 { (exit 1); exit 1; }; }
884 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
885 ac_env_build_alias_set=${build_alias+set}
886 ac_env_build_alias_value=$build_alias
887 ac_cv_env_build_alias_set=${build_alias+set}
888 ac_cv_env_build_alias_value=$build_alias
889 ac_env_host_alias_set=${host_alias+set}
890 ac_env_host_alias_value=$host_alias
891 ac_cv_env_host_alias_set=${host_alias+set}
892 ac_cv_env_host_alias_value=$host_alias
893 ac_env_target_alias_set=${target_alias+set}
894 ac_env_target_alias_value=$target_alias
895 ac_cv_env_target_alias_set=${target_alias+set}
896 ac_cv_env_target_alias_value=$target_alias
897 ac_env_CC_set=${CC+set}
899 ac_cv_env_CC_set=${CC+set}
900 ac_cv_env_CC_value=$CC
901 ac_env_CFLAGS_set=${CFLAGS+set}
902 ac_env_CFLAGS_value=$CFLAGS
903 ac_cv_env_CFLAGS_set=${CFLAGS+set}
904 ac_cv_env_CFLAGS_value=$CFLAGS
905 ac_env_LDFLAGS_set=${LDFLAGS+set}
906 ac_env_LDFLAGS_value=$LDFLAGS
907 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
908 ac_cv_env_LDFLAGS_value=$LDFLAGS
909 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
910 ac_env_CPPFLAGS_value=$CPPFLAGS
911 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
912 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
913 ac_env_CPP_set=${CPP+set}
914 ac_env_CPP_value=$CPP
915 ac_cv_env_CPP_set=${CPP+set}
916 ac_cv_env_CPP_value=$CPP
919 # Report the --help message.
921 if test "$ac_init_help" = "long"; then
922 # Omit some internal or obsolete options to make the list less imposing.
923 # This message is too long to be a string in the A/UX 3.1 sh.
925 \`configure' configures Heimdal 0.4f to adapt to many kinds of systems.
927 Usage: $0 [OPTION]... [VAR=VALUE]...
929 To assign environment variables (e.g., CC, CFLAGS...), specify them as
930 VAR=VALUE. See below for descriptions of some of the useful variables.
932 Defaults for the options are specified in brackets.
935 -h, --help display this help and exit
936 --help=short display options specific to this package
937 --help=recursive display the short help of all the included packages
938 -V, --version display version information and exit
939 -q, --quiet, --silent do not print \`checking...' messages
940 --cache-file=FILE cache test results in FILE [disabled]
941 -C, --config-cache alias for \`--cache-file=config.cache'
942 -n, --no-create do not create output files
943 --srcdir=DIR find the sources in DIR [configure dir or \`..']
948 Installation directories:
949 --prefix=PREFIX install architecture-independent files in PREFIX
951 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
954 By default, \`make install' will install all the files in
955 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
956 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
957 for instance \`--prefix=\$HOME'.
959 For better control, use the options below.
961 Fine tuning of the installation directories:
962 --bindir=DIR user executables [EPREFIX/bin]
963 --sbindir=DIR system admin executables [EPREFIX/sbin]
964 --libexecdir=DIR program executables [EPREFIX/libexec]
965 --datadir=DIR read-only architecture-independent data [PREFIX/share]
966 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
967 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
968 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
969 --libdir=DIR object code libraries [EPREFIX/lib]
970 --includedir=DIR C header files [PREFIX/include]
971 --oldincludedir=DIR C header files for non-gcc [/usr/include]
972 --infodir=DIR info documentation [PREFIX/info]
973 --mandir=DIR man documentation [PREFIX/man]
979 --program-prefix=PREFIX prepend PREFIX to installed program names
980 --program-suffix=SUFFIX append SUFFIX to installed program names
981 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
984 --x-includes=DIR X include files are in DIR
985 --x-libraries=DIR X library files are in DIR
988 --build=BUILD configure for building on BUILD [guessed]
989 --host=HOST cross-compile to build programs to run on HOST [BUILD]
993 if test -n "$ac_init_help"; then
994 case $ac_init_help in
995 short | recursive ) echo "Configuration of Heimdal 0.4f:";;
1000 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1001 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1002 --disable-dependency-tracking Speeds up one-time builds
1003 --enable-dependency-tracking Do not reject slow dependency extractors
1004 --enable-shared=PKGS build shared libraries default=no
1005 --enable-static=PKGS build static libraries default=yes
1006 --enable-fast-install=PKGS optimize for fast installation default=yes
1007 --disable-libtool-lock avoid locking (might break parallel builds)
1008 --disable-berkeley-db if you don't want berkeley db
1009 --enable-dce if you want support for DCE/DFS PAG's
1010 --disable-otp if you don't want OTP support
1011 --enable-osfc2 enable some OSF C2 support
1012 --enable-bigendian the target is big endian
1013 --enable-littleendian the target is little endian
1014 --disable-dynamic-afs do not use loaded AFS library with AIX
1015 --enable-netinfo enable netinfo for configuration lookup
1018 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1019 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1020 --with-mips-abi=abi ABI to use for IRIX (32, n32, or 64)
1021 --with-gnu-ld assume the C compiler uses GNU ld default=no
1022 --with-pic try to use only PIC/non-PIC objects default=use both
1023 --without-ipv6 do not enable IPv6 support
1024 --with-openldap=dir use openldap in dir
1025 --with-openldap-lib=dir use openldap libraries in dir
1026 --with-openldap-include=dir
1027 use openldap headers in dir
1028 --with-openldap-config=path
1029 config program for openldap
1030 --with-krb4=dir use krb4 in dir
1031 --with-krb4-lib=dir use krb4 libraries in dir
1032 --with-krb4-include=dir use krb4 headers in dir
1033 --with-krb4-config=path config program for krb4
1034 --with-readline=dir use readline in dir
1035 --with-readline-lib=dir use readline libraries in dir
1036 --with-readline-include=dir
1037 use readline headers in dir
1038 --with-readline-config=path
1039 config program for readline
1040 --with-hesiod=dir use hesiod in dir
1041 --with-hesiod-lib=dir use hesiod libraries in dir
1042 --with-hesiod-include=dir
1043 use hesiod headers in dir
1044 --with-hesiod-config=path
1045 config program for hesiod
1046 --with-x use the X Window System
1047 --with-openssl=dir use openssl in dir
1048 --with-openssl-lib=dir use openssl libraries in dir
1049 --with-openssl-include=dir
1050 use openssl headers in dir
1052 Some influential environment variables:
1053 CC C compiler command
1054 CFLAGS C compiler flags
1055 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1056 nonstandard directory <lib dir>
1057 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1058 headers in a nonstandard directory <include dir>
1061 Use these variables to override the choices made by `configure' or to help
1062 it to find libraries and programs with nonstandard names/locations.
1064 Report bugs to <heimdal-bugs@pdc.kth.se>.
1068 if test "$ac_init_help" = "recursive"; then
1069 # If there are subdirs, report their specific --help.
1071 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1072 test -d $ac_dir || continue
1075 if test "$ac_dir" != .; then
1076 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1077 # A "../" for each directory in $ac_dir_suffix.
1078 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1080 ac_dir_suffix= ac_top_builddir=
1084 .) # No --srcdir option. We are building in place.
1086 if test -z "$ac_top_builddir"; then
1089 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1091 [\\/]* | ?:[\\/]* ) # Absolute path.
1092 ac_srcdir=$srcdir$ac_dir_suffix;
1093 ac_top_srcdir=$srcdir ;;
1095 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1096 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1098 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1100 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1101 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
1102 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1103 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1106 # Check for guested configure; otherwise get Cygnus style configure.
1107 if test -f $ac_srcdir/configure.gnu; then
1109 $SHELL $ac_srcdir/configure.gnu --help=recursive
1110 elif test -f $ac_srcdir/configure; then
1112 $SHELL $ac_srcdir/configure --help=recursive
1113 elif test -f $ac_srcdir/configure.ac ||
1114 test -f $ac_srcdir/configure.in; then
1116 $ac_configure --help
1118 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1124 test -n "$ac_init_help" && exit 0
1125 if $ac_init_version; then
1127 Heimdal configure 0.4f
1128 generated by GNU Autoconf 2.53
1130 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1131 Free Software Foundation, Inc.
1132 This configure script is free software; the Free Software Foundation
1133 gives unlimited permission to copy, distribute and modify it.
1139 This file contains any messages produced by compilers while
1140 running configure, to aid debugging if configure makes a mistake.
1142 It was created by Heimdal $as_me 0.4f, which was
1143 generated by GNU Autoconf 2.53. Invocation command line was
1154 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1155 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1156 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1157 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1158 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1160 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1161 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1163 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1164 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1165 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1166 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1167 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1168 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1169 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1177 test -z "$as_dir" && as_dir=.
1178 echo "PATH: $as_dir"
1193 # Keep a trace of the command line.
1194 # Strip out --no-create and --no-recursion so they do not pile up.
1195 # Also quote any args containing shell meta-characters.
1201 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1202 | --no-cr | --no-c | -n ) continue ;;
1203 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1204 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1206 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1207 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1209 case " $ac_configure_args " in
1210 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1211 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1214 # Get rid of the leading space.
1217 # When interrupted or exit'd, cleanup temporary files, and complete
1218 # config.log. We remove comments because anyway the quotes in there
1219 # would cause problems or look ugly.
1220 # WARNING: Be sure not to use single quotes in there, as some shells,
1221 # such as our DU 5.0 friend, will then `close' the trap.
1222 trap 'exit_status=$?
1223 # Save into config.log some information that might help in debugging.
1227 ## ---------------- ##
1228 ## Cache variables. ##
1229 ## ---------------- ##
1232 # The following way of writing the cache mishandles newlines in values,
1235 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1238 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1239 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1243 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1248 if test -s confdefs.h; then
1255 sed "/^$/d" confdefs.h
1258 test "$ac_signal" != 0 &&
1259 echo "$as_me: caught signal $ac_signal"
1260 echo "$as_me: exit $exit_status"
1262 rm -f core core.* *.core &&
1263 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1266 for ac_signal in 1 2 13 15; do
1267 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1271 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1272 rm -rf conftest* confdefs.h
1273 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1276 # Predefined preprocessor variables.
1278 cat >>confdefs.h <<_ACEOF
1279 #define PACKAGE_NAME "$PACKAGE_NAME"
1283 cat >>confdefs.h <<_ACEOF
1284 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1288 cat >>confdefs.h <<_ACEOF
1289 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1293 cat >>confdefs.h <<_ACEOF
1294 #define PACKAGE_STRING "$PACKAGE_STRING"
1298 cat >>confdefs.h <<_ACEOF
1299 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1303 # Let the site file select an alternate cache file if it wants to.
1304 # Prefer explicitly selected file to automatically selected ones.
1305 if test -z "$CONFIG_SITE"; then
1306 if test "x$prefix" != xNONE; then
1307 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1309 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1312 for ac_site_file in $CONFIG_SITE; do
1313 if test -r "$ac_site_file"; then
1314 { echo "$as_me:1314: loading site script $ac_site_file" >&5
1315 echo "$as_me: loading site script $ac_site_file" >&6;}
1316 sed 's/^/| /' "$ac_site_file" >&5
1321 if test -r "$cache_file"; then
1322 # Some versions of bash will fail to source /dev/null (special
1323 # files actually), so we avoid doing that.
1324 if test -f "$cache_file"; then
1325 { echo "$as_me:1325: loading cache $cache_file" >&5
1326 echo "$as_me: loading cache $cache_file" >&6;}
1328 [\\/]* | ?:[\\/]* ) . $cache_file;;
1329 *) . ./$cache_file;;
1333 { echo "$as_me:1333: creating cache $cache_file" >&5
1334 echo "$as_me: creating cache $cache_file" >&6;}
1338 # Check that the precious variables saved in the cache have kept the same
1340 ac_cache_corrupted=false
1341 for ac_var in `(set) 2>&1 |
1342 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1343 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1344 eval ac_new_set=\$ac_env_${ac_var}_set
1345 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1346 eval ac_new_val="\$ac_env_${ac_var}_value"
1347 case $ac_old_set,$ac_new_set in
1349 { echo "$as_me:1349: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1350 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1351 ac_cache_corrupted=: ;;
1353 { echo "$as_me:1353: error: \`$ac_var' was not set in the previous run" >&5
1354 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1355 ac_cache_corrupted=: ;;
1358 if test "x$ac_old_val" != "x$ac_new_val"; then
1359 { echo "$as_me:1359: error: \`$ac_var' has changed since the previous run:" >&5
1360 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1361 { echo "$as_me:1361: former value: $ac_old_val" >&5
1362 echo "$as_me: former value: $ac_old_val" >&2;}
1363 { echo "$as_me:1363: current value: $ac_new_val" >&5
1364 echo "$as_me: current value: $ac_new_val" >&2;}
1365 ac_cache_corrupted=:
1368 # Pass precious variables to config.status.
1369 if test "$ac_new_set" = set; then
1371 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1372 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1373 *) ac_arg=$ac_var=$ac_new_val ;;
1375 case " $ac_configure_args " in
1376 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1377 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1381 if $ac_cache_corrupted; then
1382 { echo "$as_me:1382: error: changes in the environment can compromise the build" >&5
1383 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1384 { { echo "$as_me:1384: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1385 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1386 { (exit 1); exit 1; }; }
1390 ac_cpp='$CPP $CPPFLAGS'
1391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1420 # Add the stamp file to the list of files AC keeps track of,
1421 # along with our hook.
1422 ac_config_headers="$ac_config_headers include/config.h"
1428 ac_cpp='$CPP $CPPFLAGS'
1429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1432 if test -n "$ac_tool_prefix"; then
1433 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1434 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1435 echo "$as_me:1435: checking for $ac_word" >&5
1436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1437 if test "${ac_cv_prog_CC+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 if test -n "$CC"; then
1441 ac_cv_prog_CC="$CC" # Let the user override the test.
1443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1447 test -z "$as_dir" && as_dir=.
1448 for ac_exec_ext in '' $ac_executable_extensions; do
1449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1450 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1451 echo "$as_me:1451: found $as_dir/$ac_word$ac_exec_ext" >&5
1460 if test -n "$CC"; then
1461 echo "$as_me:1461: result: $CC" >&5
1462 echo "${ECHO_T}$CC" >&6
1464 echo "$as_me:1464: result: no" >&5
1465 echo "${ECHO_T}no" >&6
1469 if test -z "$ac_cv_prog_CC"; then
1471 # Extract the first word of "gcc", so it can be a program name with args.
1472 set dummy gcc; ac_word=$2
1473 echo "$as_me:1473: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1478 if test -n "$ac_ct_CC"; then
1479 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="gcc"
1489 echo "$as_me:1489: found $as_dir/$ac_word$ac_exec_ext" >&5
1497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1498 if test -n "$ac_ct_CC"; then
1499 echo "$as_me:1499: result: $ac_ct_CC" >&5
1500 echo "${ECHO_T}$ac_ct_CC" >&6
1502 echo "$as_me:1502: result: no" >&5
1503 echo "${ECHO_T}no" >&6
1511 if test -z "$CC"; then
1512 if test -n "$ac_tool_prefix"; then
1513 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1514 set dummy ${ac_tool_prefix}cc; ac_word=$2
1515 echo "$as_me:1515: checking for $ac_word" >&5
1516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1517 if test "${ac_cv_prog_CC+set}" = set; then
1518 echo $ECHO_N "(cached) $ECHO_C" >&6
1520 if test -n "$CC"; then
1521 ac_cv_prog_CC="$CC" # Let the user override the test.
1523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1527 test -z "$as_dir" && as_dir=.
1528 for ac_exec_ext in '' $ac_executable_extensions; do
1529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1530 ac_cv_prog_CC="${ac_tool_prefix}cc"
1531 echo "$as_me:1531: found $as_dir/$ac_word$ac_exec_ext" >&5
1540 if test -n "$CC"; then
1541 echo "$as_me:1541: result: $CC" >&5
1542 echo "${ECHO_T}$CC" >&6
1544 echo "$as_me:1544: result: no" >&5
1545 echo "${ECHO_T}no" >&6
1549 if test -z "$ac_cv_prog_CC"; then
1551 # Extract the first word of "cc", so it can be a program name with args.
1552 set dummy cc; ac_word=$2
1553 echo "$as_me:1553: checking for $ac_word" >&5
1554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1555 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 if test -n "$ac_ct_CC"; then
1559 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="cc"
1569 echo "$as_me:1569: found $as_dir/$ac_word$ac_exec_ext" >&5
1577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1578 if test -n "$ac_ct_CC"; then
1579 echo "$as_me:1579: result: $ac_ct_CC" >&5
1580 echo "${ECHO_T}$ac_ct_CC" >&6
1582 echo "$as_me:1582: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1592 if test -z "$CC"; then
1593 # Extract the first word of "cc", so it can be a program name with args.
1594 set dummy cc; ac_word=$2
1595 echo "$as_me:1595: checking for $ac_word" >&5
1596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1597 if test "${ac_cv_prog_CC+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 if test -n "$CC"; then
1601 ac_cv_prog_CC="$CC" # Let the user override the test.
1604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1608 test -z "$as_dir" && as_dir=.
1609 for ac_exec_ext in '' $ac_executable_extensions; do
1610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1611 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1612 ac_prog_rejected=yes
1616 echo "$as_me:1616: found $as_dir/$ac_word$ac_exec_ext" >&5
1622 if test $ac_prog_rejected = yes; then
1623 # We found a bogon in the path, so make sure we never use it.
1624 set dummy $ac_cv_prog_CC
1626 if test $# != 0; then
1627 # We chose a different compiler from the bogus one.
1628 # However, it has the same basename, so the bogon will be chosen
1629 # first if we set CC to just the basename; use the full file name.
1631 set dummy "$as_dir/$ac_word" ${1+"$@"}
1639 if test -n "$CC"; then
1640 echo "$as_me:1640: result: $CC" >&5
1641 echo "${ECHO_T}$CC" >&6
1643 echo "$as_me:1643: result: no" >&5
1644 echo "${ECHO_T}no" >&6
1648 if test -z "$CC"; then
1649 if test -n "$ac_tool_prefix"; then
1652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1653 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1654 echo "$as_me:1654: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_CC+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 if test -n "$CC"; then
1660 ac_cv_prog_CC="$CC" # Let the user override the test.
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir=.
1667 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1670 echo "$as_me:1670: found $as_dir/$ac_word$ac_exec_ext" >&5
1679 if test -n "$CC"; then
1680 echo "$as_me:1680: result: $CC" >&5
1681 echo "${ECHO_T}$CC" >&6
1683 echo "$as_me:1683: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1687 test -n "$CC" && break
1690 if test -z "$CC"; then
1694 # Extract the first word of "$ac_prog", so it can be a program name with args.
1695 set dummy $ac_prog; ac_word=$2
1696 echo "$as_me:1696: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 if test -n "$ac_ct_CC"; then
1702 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir=.
1709 for ac_exec_ext in '' $ac_executable_extensions; do
1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711 ac_cv_prog_ac_ct_CC="$ac_prog"
1712 echo "$as_me:1712: found $as_dir/$ac_word$ac_exec_ext" >&5
1720 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1721 if test -n "$ac_ct_CC"; then
1722 echo "$as_me:1722: result: $ac_ct_CC" >&5
1723 echo "${ECHO_T}$ac_ct_CC" >&6
1725 echo "$as_me:1725: result: no" >&5
1726 echo "${ECHO_T}no" >&6
1729 test -n "$ac_ct_CC" && break
1738 test -z "$CC" && { { echo "$as_me:1738: error: no acceptable C compiler found in \$PATH" >&5
1739 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1740 { (exit 1); exit 1; }; }
1742 # Provide some information about the compiler.
1743 echo "$as_me:1743:" \
1744 "checking for C compiler version" >&5
1745 ac_compiler=`set X $ac_compile; echo $2`
1746 { (eval echo "$as_me:1746: \"$ac_compiler --version </dev/null >&5\"") >&5
1747 (eval $ac_compiler --version </dev/null >&5) 2>&5
1749 echo "$as_me:1749: \$? = $ac_status" >&5
1750 (exit $ac_status); }
1751 { (eval echo "$as_me:1751: \"$ac_compiler -v </dev/null >&5\"") >&5
1752 (eval $ac_compiler -v </dev/null >&5) 2>&5
1754 echo "$as_me:1754: \$? = $ac_status" >&5
1755 (exit $ac_status); }
1756 { (eval echo "$as_me:1756: \"$ac_compiler -V </dev/null >&5\"") >&5
1757 (eval $ac_compiler -V </dev/null >&5) 2>&5
1759 echo "$as_me:1759: \$? = $ac_status" >&5
1760 (exit $ac_status); }
1762 cat >conftest.$ac_ext <<_ACEOF
1763 #line 1763 "configure"
1764 #include "confdefs.h"
1766 #ifdef F77_DUMMY_MAIN
1770 int F77_DUMMY_MAIN() { return 1; }
1780 ac_clean_files_save=$ac_clean_files
1781 ac_clean_files="$ac_clean_files a.out a.exe"
1782 # Try to create an executable without -o first, disregard a.out.
1783 # It will help us diagnose broken compilers, and finding out an intuition
1785 echo "$as_me:1785: checking for C compiler default output" >&5
1786 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1787 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1788 if { (eval echo "$as_me:1788: \"$ac_link_default\"") >&5
1789 (eval $ac_link_default) 2>&5
1791 echo "$as_me:1791: \$? = $ac_status" >&5
1792 (exit $ac_status); }; then
1793 # Find the output, starting from the most likely. This scheme is
1794 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1797 # Be careful to initialize this variable, since it used to be cached.
1798 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1800 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1801 ls a.out conftest 2>/dev/null;
1802 ls a.* conftest.* 2>/dev/null`; do
1804 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1805 a.out ) # We found the default executable, but exeext='' is most
1808 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1809 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1816 echo "$as_me: failed program was:" >&5
1817 cat conftest.$ac_ext >&5
1818 { { echo "$as_me:1818: error: C compiler cannot create executables" >&5
1819 echo "$as_me: error: C compiler cannot create executables" >&2;}
1820 { (exit 77); exit 77; }; }
1823 ac_exeext=$ac_cv_exeext
1824 echo "$as_me:1824: result: $ac_file" >&5
1825 echo "${ECHO_T}$ac_file" >&6
1827 # Check the compiler produces executables we can run. If not, either
1828 # the compiler is broken, or we cross compile.
1829 echo "$as_me:1829: checking whether the C compiler works" >&5
1830 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1831 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1832 # If not cross compiling, check that we can run a simple program.
1833 if test "$cross_compiling" != yes; then
1834 if { ac_try='./$ac_file'
1835 { (eval echo "$as_me:1835: \"$ac_try\"") >&5
1838 echo "$as_me:1838: \$? = $ac_status" >&5
1839 (exit $ac_status); }; }; then
1842 if test "$cross_compiling" = maybe; then
1845 { { echo "$as_me:1845: error: cannot run C compiled programs.
1846 If you meant to cross compile, use \`--host'." >&5
1847 echo "$as_me: error: cannot run C compiled programs.
1848 If you meant to cross compile, use \`--host'." >&2;}
1849 { (exit 1); exit 1; }; }
1853 echo "$as_me:1853: result: yes" >&5
1854 echo "${ECHO_T}yes" >&6
1856 rm -f a.out a.exe conftest$ac_cv_exeext
1857 ac_clean_files=$ac_clean_files_save
1858 # Check the compiler produces executables we can run. If not, either
1859 # the compiler is broken, or we cross compile.
1860 echo "$as_me:1860: checking whether we are cross compiling" >&5
1861 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1862 echo "$as_me:1862: result: $cross_compiling" >&5
1863 echo "${ECHO_T}$cross_compiling" >&6
1865 echo "$as_me:1865: checking for suffix of executables" >&5
1866 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1867 if { (eval echo "$as_me:1867: \"$ac_link\"") >&5
1868 (eval $ac_link) 2>&5
1870 echo "$as_me:1870: \$? = $ac_status" >&5
1871 (exit $ac_status); }; then
1872 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1873 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1874 # work properly (i.e., refer to `conftest.exe'), while it won't with
1876 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1878 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1879 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1886 { { echo "$as_me:1886: error: cannot compute suffix of executables: cannot compile and link" >&5
1887 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1888 { (exit 1); exit 1; }; }
1891 rm -f conftest$ac_cv_exeext
1892 echo "$as_me:1892: result: $ac_cv_exeext" >&5
1893 echo "${ECHO_T}$ac_cv_exeext" >&6
1895 rm -f conftest.$ac_ext
1896 EXEEXT=$ac_cv_exeext
1898 echo "$as_me:1898: checking for suffix of object files" >&5
1899 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1900 if test "${ac_cv_objext+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 cat >conftest.$ac_ext <<_ACEOF
1904 #line 1904 "configure"
1905 #include "confdefs.h"
1907 #ifdef F77_DUMMY_MAIN
1911 int F77_DUMMY_MAIN() { return 1; }
1921 rm -f conftest.o conftest.obj
1922 if { (eval echo "$as_me:1922: \"$ac_compile\"") >&5
1923 (eval $ac_compile) 2>&5
1925 echo "$as_me:1925: \$? = $ac_status" >&5
1926 (exit $ac_status); }; then
1927 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1930 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1935 echo "$as_me: failed program was:" >&5
1936 cat conftest.$ac_ext >&5
1937 { { echo "$as_me:1937: error: cannot compute suffix of object files: cannot compile" >&5
1938 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1939 { (exit 1); exit 1; }; }
1942 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1944 echo "$as_me:1944: result: $ac_cv_objext" >&5
1945 echo "${ECHO_T}$ac_cv_objext" >&6
1946 OBJEXT=$ac_cv_objext
1948 echo "$as_me:1948: checking whether we are using the GNU C compiler" >&5
1949 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1950 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1951 echo $ECHO_N "(cached) $ECHO_C" >&6
1953 cat >conftest.$ac_ext <<_ACEOF
1954 #line 1954 "configure"
1955 #include "confdefs.h"
1957 #ifdef F77_DUMMY_MAIN
1961 int F77_DUMMY_MAIN() { return 1; }
1974 rm -f conftest.$ac_objext
1975 if { (eval echo "$as_me:1975: \"$ac_compile\"") >&5
1976 (eval $ac_compile) 2>&5
1978 echo "$as_me:1978: \$? = $ac_status" >&5
1979 (exit $ac_status); } &&
1980 { ac_try='test -s conftest.$ac_objext'
1981 { (eval echo "$as_me:1981: \"$ac_try\"") >&5
1984 echo "$as_me:1984: \$? = $ac_status" >&5
1985 (exit $ac_status); }; }; then
1988 echo "$as_me: failed program was:" >&5
1989 cat conftest.$ac_ext >&5
1992 rm -f conftest.$ac_objext conftest.$ac_ext
1993 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1996 echo "$as_me:1996: result: $ac_cv_c_compiler_gnu" >&5
1997 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1998 GCC=`test $ac_compiler_gnu = yes && echo yes`
1999 ac_test_CFLAGS=${CFLAGS+set}
2000 ac_save_CFLAGS=$CFLAGS
2002 echo "$as_me:2002: checking whether $CC accepts -g" >&5
2003 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2004 if test "${ac_cv_prog_cc_g+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2007 cat >conftest.$ac_ext <<_ACEOF
2008 #line 2008 "configure"
2009 #include "confdefs.h"
2011 #ifdef F77_DUMMY_MAIN
2015 int F77_DUMMY_MAIN() { return 1; }
2025 rm -f conftest.$ac_objext
2026 if { (eval echo "$as_me:2026: \"$ac_compile\"") >&5
2027 (eval $ac_compile) 2>&5
2029 echo "$as_me:2029: \$? = $ac_status" >&5
2030 (exit $ac_status); } &&
2031 { ac_try='test -s conftest.$ac_objext'
2032 { (eval echo "$as_me:2032: \"$ac_try\"") >&5
2035 echo "$as_me:2035: \$? = $ac_status" >&5
2036 (exit $ac_status); }; }; then
2039 echo "$as_me: failed program was:" >&5
2040 cat conftest.$ac_ext >&5
2043 rm -f conftest.$ac_objext conftest.$ac_ext
2045 echo "$as_me:2045: result: $ac_cv_prog_cc_g" >&5
2046 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2047 if test "$ac_test_CFLAGS" = set; then
2048 CFLAGS=$ac_save_CFLAGS
2049 elif test $ac_cv_prog_cc_g = yes; then
2050 if test "$GCC" = yes; then
2056 if test "$GCC" = yes; then
2062 # Some people use a C++ compiler to compile C. Since we use `exit',
2063 # in C++ we need to declare it. In case someone uses the same compiler
2064 # for both compiling C and C++ we need to have the C++ compiler decide
2065 # the declaration of exit, since it's the most demanding environment.
2066 cat >conftest.$ac_ext <<_ACEOF
2071 rm -f conftest.$ac_objext
2072 if { (eval echo "$as_me:2072: \"$ac_compile\"") >&5
2073 (eval $ac_compile) 2>&5
2075 echo "$as_me:2075: \$? = $ac_status" >&5
2076 (exit $ac_status); } &&
2077 { ac_try='test -s conftest.$ac_objext'
2078 { (eval echo "$as_me:2078: \"$ac_try\"") >&5
2081 echo "$as_me:2081: \$? = $ac_status" >&5
2082 (exit $ac_status); }; }; then
2083 for ac_declaration in \
2085 '#include <stdlib.h>' \
2086 'extern "C" void std::exit (int) throw (); using std::exit;' \
2087 'extern "C" void std::exit (int); using std::exit;' \
2088 'extern "C" void exit (int) throw ();' \
2089 'extern "C" void exit (int);' \
2092 cat >conftest.$ac_ext <<_ACEOF
2093 #line 2093 "configure"
2094 #include "confdefs.h"
2097 #ifdef F77_DUMMY_MAIN
2101 int F77_DUMMY_MAIN() { return 1; }
2111 rm -f conftest.$ac_objext
2112 if { (eval echo "$as_me:2112: \"$ac_compile\"") >&5
2113 (eval $ac_compile) 2>&5
2115 echo "$as_me:2115: \$? = $ac_status" >&5
2116 (exit $ac_status); } &&
2117 { ac_try='test -s conftest.$ac_objext'
2118 { (eval echo "$as_me:2118: \"$ac_try\"") >&5
2121 echo "$as_me:2121: \$? = $ac_status" >&5
2122 (exit $ac_status); }; }; then
2125 echo "$as_me: failed program was:" >&5
2126 cat conftest.$ac_ext >&5
2129 rm -f conftest.$ac_objext conftest.$ac_ext
2130 cat >conftest.$ac_ext <<_ACEOF
2131 #line 2131 "configure"
2132 #include "confdefs.h"
2134 #ifdef F77_DUMMY_MAIN
2138 int F77_DUMMY_MAIN() { return 1; }
2148 rm -f conftest.$ac_objext
2149 if { (eval echo "$as_me:2149: \"$ac_compile\"") >&5
2150 (eval $ac_compile) 2>&5
2152 echo "$as_me:2152: \$? = $ac_status" >&5
2153 (exit $ac_status); } &&
2154 { ac_try='test -s conftest.$ac_objext'
2155 { (eval echo "$as_me:2155: \"$ac_try\"") >&5
2158 echo "$as_me:2158: \$? = $ac_status" >&5
2159 (exit $ac_status); }; }; then
2162 echo "$as_me: failed program was:" >&5
2163 cat conftest.$ac_ext >&5
2165 rm -f conftest.$ac_objext conftest.$ac_ext
2168 if test -n "$ac_declaration"; then
2169 echo '#ifdef __cplusplus' >>confdefs.h
2170 echo $ac_declaration >>confdefs.h
2171 echo '#endif' >>confdefs.h
2175 echo "$as_me: failed program was:" >&5
2176 cat conftest.$ac_ext >&5
2178 rm -f conftest.$ac_objext conftest.$ac_ext
2180 ac_cpp='$CPP $CPPFLAGS'
2181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2186 ac_cpp='$CPP $CPPFLAGS'
2187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2190 echo "$as_me:2190: checking how to run the C preprocessor" >&5
2191 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2192 # On Suns, sometimes $CPP names a directory.
2193 if test -n "$CPP" && test -d "$CPP"; then
2196 if test -z "$CPP"; then
2197 if test "${ac_cv_prog_CPP+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 # Double quotes because CPP needs to be expanded
2201 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2204 for ac_c_preproc_warn_flag in '' yes
2206 # Use a header file that comes with gcc, so configuring glibc
2207 # with a fresh cross-compiler works.
2208 # On the NeXT, cc -E runs the code through the compiler's parser,
2209 # not just through cpp. "Syntax error" is here to catch this case.
2210 cat >conftest.$ac_ext <<_ACEOF
2211 #line 2211 "configure"
2212 #include "confdefs.h"
2216 if { (eval echo "$as_me:2216: \"$ac_cpp conftest.$ac_ext\"") >&5
2217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2219 egrep -v '^ *\+' conftest.er1 >conftest.err
2221 cat conftest.err >&5
2222 echo "$as_me:2222: \$? = $ac_status" >&5
2223 (exit $ac_status); } >/dev/null; then
2224 if test -s conftest.err; then
2225 ac_cpp_err=$ac_c_preproc_warn_flag
2232 if test -z "$ac_cpp_err"; then
2235 echo "$as_me: failed program was:" >&5
2236 cat conftest.$ac_ext >&5
2237 # Broken: fails on valid input.
2240 rm -f conftest.err conftest.$ac_ext
2242 # OK, works on sane cases. Now check whether non-existent headers
2243 # can be detected and how.
2244 cat >conftest.$ac_ext <<_ACEOF
2245 #line 2245 "configure"
2246 #include "confdefs.h"
2247 #include <ac_nonexistent.h>
2249 if { (eval echo "$as_me:2249: \"$ac_cpp conftest.$ac_ext\"") >&5
2250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2252 egrep -v '^ *\+' conftest.er1 >conftest.err
2254 cat conftest.err >&5
2255 echo "$as_me:2255: \$? = $ac_status" >&5
2256 (exit $ac_status); } >/dev/null; then
2257 if test -s conftest.err; then
2258 ac_cpp_err=$ac_c_preproc_warn_flag
2265 if test -z "$ac_cpp_err"; then
2266 # Broken: success on invalid input.
2269 echo "$as_me: failed program was:" >&5
2270 cat conftest.$ac_ext >&5
2271 # Passes both tests.
2275 rm -f conftest.err conftest.$ac_ext
2278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2279 rm -f conftest.err conftest.$ac_ext
2280 if $ac_preproc_ok; then
2292 echo "$as_me:2292: result: $CPP" >&5
2293 echo "${ECHO_T}$CPP" >&6
2295 for ac_c_preproc_warn_flag in '' yes
2297 # Use a header file that comes with gcc, so configuring glibc
2298 # with a fresh cross-compiler works.
2299 # On the NeXT, cc -E runs the code through the compiler's parser,
2300 # not just through cpp. "Syntax error" is here to catch this case.
2301 cat >conftest.$ac_ext <<_ACEOF
2302 #line 2302 "configure"
2303 #include "confdefs.h"
2307 if { (eval echo "$as_me:2307: \"$ac_cpp conftest.$ac_ext\"") >&5
2308 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2310 egrep -v '^ *\+' conftest.er1 >conftest.err
2312 cat conftest.err >&5
2313 echo "$as_me:2313: \$? = $ac_status" >&5
2314 (exit $ac_status); } >/dev/null; then
2315 if test -s conftest.err; then
2316 ac_cpp_err=$ac_c_preproc_warn_flag
2323 if test -z "$ac_cpp_err"; then
2326 echo "$as_me: failed program was:" >&5
2327 cat conftest.$ac_ext >&5
2328 # Broken: fails on valid input.
2331 rm -f conftest.err conftest.$ac_ext
2333 # OK, works on sane cases. Now check whether non-existent headers
2334 # can be detected and how.
2335 cat >conftest.$ac_ext <<_ACEOF
2336 #line 2336 "configure"
2337 #include "confdefs.h"
2338 #include <ac_nonexistent.h>
2340 if { (eval echo "$as_me:2340: \"$ac_cpp conftest.$ac_ext\"") >&5
2341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2343 egrep -v '^ *\+' conftest.er1 >conftest.err
2345 cat conftest.err >&5
2346 echo "$as_me:2346: \$? = $ac_status" >&5
2347 (exit $ac_status); } >/dev/null; then
2348 if test -s conftest.err; then
2349 ac_cpp_err=$ac_c_preproc_warn_flag
2356 if test -z "$ac_cpp_err"; then
2357 # Broken: success on invalid input.
2360 echo "$as_me: failed program was:" >&5
2361 cat conftest.$ac_ext >&5
2362 # Passes both tests.
2366 rm -f conftest.err conftest.$ac_ext
2369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2370 rm -f conftest.err conftest.$ac_ext
2371 if $ac_preproc_ok; then
2374 { { echo "$as_me:2374: error: C preprocessor \"$CPP\" fails sanity check" >&5
2375 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2376 { (exit 1); exit 1; }; }
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2386 echo "$as_me:2386: checking for $CC option to accept ANSI C" >&5
2387 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2388 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 ac_cv_prog_cc_stdc=no
2393 cat >conftest.$ac_ext <<_ACEOF
2394 #line 2394 "configure"
2395 #include "confdefs.h"
2398 #include <sys/types.h>
2399 #include <sys/stat.h>
2400 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2401 struct buf { int x; };
2402 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2403 static char *e (p, i)
2409 static char *f (char * (*g) (char **, int), char **p, ...)
2414 s = g (p, va_arg (v,int));
2418 int test (int i, double x);
2419 struct s1 {int (*f) (int a);};
2420 struct s2 {int (*f) (double a);};
2421 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2424 #ifdef F77_DUMMY_MAIN
2428 int F77_DUMMY_MAIN() { return 1; }
2433 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2438 # Don't try gcc -ansi; that turns off useful extensions and
2439 # breaks some systems' header files.
2440 # AIX -qlanglvl=ansi
2441 # Ultrix and OSF/1 -std1
2442 # HP-UX 10.20 and later -Ae
2443 # HP-UX older versions -Aa -D_HPUX_SOURCE
2444 # SVR4 -Xc -D__EXTENSIONS__
2445 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2447 CC="$ac_save_CC $ac_arg"
2448 rm -f conftest.$ac_objext
2449 if { (eval echo "$as_me:2449: \"$ac_compile\"") >&5
2450 (eval $ac_compile) 2>&5
2452 echo "$as_me:2452: \$? = $ac_status" >&5
2453 (exit $ac_status); } &&
2454 { ac_try='test -s conftest.$ac_objext'
2455 { (eval echo "$as_me:2455: \"$ac_try\"") >&5
2458 echo "$as_me:2458: \$? = $ac_status" >&5
2459 (exit $ac_status); }; }; then
2460 ac_cv_prog_cc_stdc=$ac_arg
2463 echo "$as_me: failed program was:" >&5
2464 cat conftest.$ac_ext >&5
2466 rm -f conftest.$ac_objext
2468 rm -f conftest.$ac_ext conftest.$ac_objext
2473 case "x$ac_cv_prog_cc_stdc" in
2475 echo "$as_me:2475: result: none needed" >&5
2476 echo "${ECHO_T}none needed" >&6 ;;
2478 echo "$as_me:2478: result: $ac_cv_prog_cc_stdc" >&5
2479 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2480 CC="$CC $ac_cv_prog_cc_stdc" ;;
2484 am__api_version="1.6"
2486 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2487 if test -f $ac_dir/install-sh; then
2489 ac_install_sh="$ac_aux_dir/install-sh -c"
2491 elif test -f $ac_dir/install.sh; then
2493 ac_install_sh="$ac_aux_dir/install.sh -c"
2495 elif test -f $ac_dir/shtool; then
2497 ac_install_sh="$ac_aux_dir/shtool install -c"
2501 if test -z "$ac_aux_dir"; then
2502 { { echo "$as_me:2502: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2503 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2504 { (exit 1); exit 1; }; }
2506 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2507 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2508 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2510 # Find a good install program. We prefer a C program (faster),
2511 # so one script is as good as another. But avoid the broken or
2512 # incompatible versions:
2513 # SysV /etc/install, /usr/sbin/install
2514 # SunOS /usr/etc/install
2515 # IRIX /sbin/install
2517 # AmigaOS /C/install, which installs bootblocks on floppy discs
2518 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2519 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2520 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2521 # ./install, which can be erroneously created by make from ./install.sh.
2522 echo "$as_me:2522: checking for a BSD-compatible install" >&5
2523 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2524 if test -z "$INSTALL"; then
2525 if test "${ac_cv_path_install+set}" = set; then
2526 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir=.
2533 # Account for people who put trailing slashes in PATH elements.
2535 ./ | .// | /cC/* | \
2536 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2539 # OSF1 and SCO ODT 3.0 have their own names for install.
2540 # Don't use installbsd from OSF since it installs stuff as root
2542 for ac_prog in ginstall scoinst install; do
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2545 if test $ac_prog = install &&
2546 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2547 # AIX install. It has an incompatible calling convention.
2549 elif test $ac_prog = install &&
2550 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2551 # program-specific install script used by HP pwplus--don't use.
2554 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2566 if test "${ac_cv_path_install+set}" = set; then
2567 INSTALL=$ac_cv_path_install
2569 # As a last resort, use the slow shell script. We don't cache a
2570 # path for INSTALL within a source directory, because that will
2571 # break other packages using the cache if that directory is
2572 # removed, or if the path is relative.
2573 INSTALL=$ac_install_sh
2576 echo "$as_me:2576: result: $INSTALL" >&5
2577 echo "${ECHO_T}$INSTALL" >&6
2579 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2580 # It thinks the first close brace ends the variable substitution.
2581 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2583 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2585 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2587 echo "$as_me:2587: checking whether build environment is sane" >&5
2588 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2591 echo timestamp > conftest.file
2592 # Do `set' in a subshell so we don't clobber the current shell's
2593 # arguments. Must try -L first in case configure is actually a
2594 # symlink; some systems play weird games with the mod time of symlinks
2595 # (eg FreeBSD returns the mod time of the symlink's containing
2598 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2599 if test "$*" = "X"; then
2601 set X `ls -t $srcdir/configure conftest.file`
2604 if test "$*" != "X $srcdir/configure conftest.file" \
2605 && test "$*" != "X conftest.file $srcdir/configure"; then
2607 # If neither matched, then we have a broken ls. This can happen
2608 # if, for instance, CONFIG_SHELL is bash and it inherits a
2609 # broken ls alias from the environment. This has actually
2610 # happened. Such a system could not be considered "sane".
2611 { { echo "$as_me:2611: error: ls -t appears to fail. Make sure there is not a broken
2612 alias in your environment" >&5
2613 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2614 alias in your environment" >&2;}
2615 { (exit 1); exit 1; }; }
2618 test "$2" = conftest.file
2624 { { echo "$as_me:2624: error: newly created file is older than distributed files!
2625 Check your system clock" >&5
2626 echo "$as_me: error: newly created file is older than distributed files!
2627 Check your system clock" >&2;}
2628 { (exit 1); exit 1; }; }
2630 echo "$as_me:2630: result: yes" >&5
2631 echo "${ECHO_T}yes" >&6
2632 test "$program_prefix" != NONE &&
2633 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2634 # Use a double $ so make ignores it.
2635 test "$program_suffix" != NONE &&
2636 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2637 # Double any \ or $. echo might interpret backslashes.
2638 # By default was `s,x,x', remove it if useless.
2639 cat <<\_ACEOF >conftest.sed
2640 s/[\\$]/&&/g;s/;s,x,x,$//
2642 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2646 # expand $ac_aux_dir to an absolute path
2647 am_aux_dir=`cd $ac_aux_dir && pwd`
2649 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2650 # Use eval to expand $SHELL
2651 if eval "$MISSING --run true"; then
2652 am_missing_run="$MISSING --run "
2655 { echo "$as_me:2655: WARNING: \`missing' script is too old or missing" >&5
2656 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2659 for ac_prog in gawk mawk nawk awk
2661 # Extract the first word of "$ac_prog", so it can be a program name with args.
2662 set dummy $ac_prog; ac_word=$2
2663 echo "$as_me:2663: checking for $ac_word" >&5
2664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2665 if test "${ac_cv_prog_AWK+set}" = set; then
2666 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 if test -n "$AWK"; then
2669 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir=.
2676 for ac_exec_ext in '' $ac_executable_extensions; do
2677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2678 ac_cv_prog_AWK="$ac_prog"
2679 echo "$as_me:2679: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 if test -n "$AWK"; then
2689 echo "$as_me:2689: result: $AWK" >&5
2690 echo "${ECHO_T}$AWK" >&6
2692 echo "$as_me:2692: result: no" >&5
2693 echo "${ECHO_T}no" >&6
2696 test -n "$AWK" && break
2699 echo "$as_me:2699: checking whether ${MAKE-make} sets \${MAKE}" >&5
2700 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2701 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2702 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2703 echo $ECHO_N "(cached) $ECHO_C" >&6
2705 cat >conftest.make <<\_ACEOF
2707 @echo 'ac_maketemp="${MAKE}"'
2709 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2710 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2711 if test -n "$ac_maketemp"; then
2712 eval ac_cv_prog_make_${ac_make}_set=yes
2714 eval ac_cv_prog_make_${ac_make}_set=no
2718 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2719 echo "$as_me:2719: result: yes" >&5
2720 echo "${ECHO_T}yes" >&6
2723 echo "$as_me:2723: result: no" >&5
2724 echo "${ECHO_T}no" >&6
2725 SET_MAKE="MAKE=${MAKE-make}"
2728 rm -f .deps 2>/dev/null
2729 mkdir .deps 2>/dev/null
2730 if test -d .deps; then
2733 # MS-DOS does not allow filenames that begin with a dot.
2736 rmdir .deps 2>/dev/null
2739 ac_config_commands="$ac_config_commands depfiles"
2742 am_make=${MAKE-make}
2743 cat > confinc << 'END'
2747 # If we don't find an include directive, just comment out the code.
2748 echo "$as_me:2748: checking for style of include used by $am_make" >&5
2749 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2753 # First try GNU make style include.
2754 echo "include confinc" > confmf
2755 # We grep out `Entering directory' and `Leaving directory'
2756 # messages which can occur if `w' ends up in MAKEFLAGS.
2757 # In particular we don't look at `^make:' because GNU make might
2758 # be invoked under some other name (usually "gmake"), in which
2759 # case it prints its new name instead of `make'.
2760 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2765 # Now try BSD make style include.
2766 if test "$am__include" = "#"; then
2767 echo '.include "confinc"' > confmf
2768 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2769 am__include=.include
2776 echo "$as_me:2776: result: $_am_result" >&5
2777 echo "${ECHO_T}$_am_result" >&6
2778 rm -f confinc confmf
2780 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2781 if test "${enable_dependency_tracking+set}" = set; then
2782 enableval="$enable_dependency_tracking"
2785 if test "x$enable_dependency_tracking" != xno; then
2786 am_depcomp="$ac_aux_dir/depcomp"
2791 if test "x$enable_dependency_tracking" != xno; then
2801 # test to see if srcdir already configured
2802 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2803 test -f $srcdir/config.status; then
2804 { { echo "$as_me:2804: error: source directory already configured; run \"make distclean\" there first" >&5
2805 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2806 { (exit 1); exit 1; }; }
2809 # Define the identity of the package.
2814 cat >>confdefs.h <<_ACEOF
2815 #define PACKAGE "$PACKAGE"
2819 cat >>confdefs.h <<_ACEOF
2820 #define VERSION "$VERSION"
2823 # Some tools Automake needs.
2825 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2828 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2831 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2834 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2837 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2840 AMTAR=${AMTAR-"${am_missing_run}tar"}
2842 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2844 # Installed binaries are usually stripped using `strip' when the user
2845 # run `make install-strip'. However `strip' might not be the right
2846 # tool to use in cross-compilation environments, therefore Automake
2847 # will honor the `STRIP' environment variable to overrule this program.
2848 if test "$cross_compiling" != no; then
2849 if test -n "$ac_tool_prefix"; then
2850 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2851 set dummy ${ac_tool_prefix}strip; ac_word=$2
2852 echo "$as_me:2852: checking for $ac_word" >&5
2853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2854 if test "${ac_cv_prog_STRIP+set}" = set; then
2855 echo $ECHO_N "(cached) $ECHO_C" >&6
2857 if test -n "$STRIP"; then
2858 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir=.
2865 for ac_exec_ext in '' $ac_executable_extensions; do
2866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2867 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2868 echo "$as_me:2868: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 STRIP=$ac_cv_prog_STRIP
2877 if test -n "$STRIP"; then
2878 echo "$as_me:2878: result: $STRIP" >&5
2879 echo "${ECHO_T}$STRIP" >&6
2881 echo "$as_me:2881: result: no" >&5
2882 echo "${ECHO_T}no" >&6
2886 if test -z "$ac_cv_prog_STRIP"; then
2888 # Extract the first word of "strip", so it can be a program name with args.
2889 set dummy strip; ac_word=$2
2890 echo "$as_me:2890: checking for $ac_word" >&5
2891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2892 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2893 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 if test -n "$ac_ct_STRIP"; then
2896 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902 test -z "$as_dir" && as_dir=.
2903 for ac_exec_ext in '' $ac_executable_extensions; do
2904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2905 ac_cv_prog_ac_ct_STRIP="strip"
2906 echo "$as_me:2906: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2915 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2916 if test -n "$ac_ct_STRIP"; then
2917 echo "$as_me:2917: result: $ac_ct_STRIP" >&5
2918 echo "${ECHO_T}$ac_ct_STRIP" >&6
2920 echo "$as_me:2920: result: no" >&5
2921 echo "${ECHO_T}no" >&6
2926 STRIP="$ac_cv_prog_STRIP"
2930 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2932 # We need awk for the "check" target. The system "awk" is bad on
2936 depcc="$CC" am_compiler_list=
2938 echo "$as_me:2938: checking dependency style of $depcc" >&5
2939 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2940 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2941 echo $ECHO_N "(cached) $ECHO_C" >&6
2943 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2944 # We make a subdir and do the tests there. Otherwise we can end up
2945 # making bogus files that we don't know about and never remove. For
2946 # instance it was reported that on HP-UX the gcc test will end up
2947 # making a dummy file named `D' -- because `-MD' means `put the output
2950 # Copy depcomp to subdir because otherwise we won't find it if we're
2951 # using a relative directory.
2952 cp "$am_depcomp" conftest.dir
2955 am_cv_CC_dependencies_compiler_type=none
2956 if test "$am_compiler_list" = ""; then
2957 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2959 for depmode in $am_compiler_list; do
2960 # We need to recreate these files for each test, as the compiler may
2961 # overwrite some of them when testing with obscure command lines.
2962 # This happens at least with the AIX C compiler.
2963 echo '#include "conftest.h"' > conftest.c
2964 echo 'int i;' > conftest.h
2965 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2969 # after this tag, mechanisms are not by side-effect, so they'll
2970 # only be used when explicitly requested
2971 if test "x$enable_dependency_tracking" = xyes; then
2979 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2980 # mode. It turns out that the SunPro C++ compiler does not properly
2981 # handle `-M -o', and we need to detect this.
2982 if depmode=$depmode \
2983 source=conftest.c object=conftest.o \
2984 depfile=conftest.Po tmpdepfile=conftest.TPo \
2985 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2986 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2987 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2988 am_cv_CC_dependencies_compiler_type=$depmode
2996 am_cv_CC_dependencies_compiler_type=none
3000 echo "$as_me:3000: result: $am_cv_CC_dependencies_compiler_type" >&5
3001 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3002 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3009 test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
3010 test "$localstatedir" = '${prefix}/var' && localstatedir='/var/heimdal'
3012 # Make sure we can run config.sub.
3013 $ac_config_sub sun4 >/dev/null 2>&1 ||
3014 { { echo "$as_me:3014: error: cannot run $ac_config_sub" >&5
3015 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3016 { (exit 1); exit 1; }; }
3018 echo "$as_me:3018: checking build system type" >&5
3019 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3020 if test "${ac_cv_build+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 ac_cv_build_alias=$build_alias
3024 test -z "$ac_cv_build_alias" &&
3025 ac_cv_build_alias=`$ac_config_guess`
3026 test -z "$ac_cv_build_alias" &&
3027 { { echo "$as_me:3027: error: cannot guess build type; you must specify one" >&5
3028 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3029 { (exit 1); exit 1; }; }
3030 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3031 { { echo "$as_me:3031: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3032 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3033 { (exit 1); exit 1; }; }
3036 echo "$as_me:3036: result: $ac_cv_build" >&5
3037 echo "${ECHO_T}$ac_cv_build" >&6
3039 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3040 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3041 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3044 echo "$as_me:3044: checking host system type" >&5
3045 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3046 if test "${ac_cv_host+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3049 ac_cv_host_alias=$host_alias
3050 test -z "$ac_cv_host_alias" &&
3051 ac_cv_host_alias=$ac_cv_build_alias
3052 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3053 { { echo "$as_me:3053: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3054 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3055 { (exit 1); exit 1; }; }
3058 echo "$as_me:3058: result: $ac_cv_host" >&5
3059 echo "${ECHO_T}$ac_cv_host" >&6
3061 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3062 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3063 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3066 CANONICAL_HOST=$host
3070 cat >>confdefs.h <<\_ACEOF
3071 #define _GNU_SOURCE 1
3078 for ac_prog in 'bison -y' byacc
3080 # Extract the first word of "$ac_prog", so it can be a program name with args.
3081 set dummy $ac_prog; ac_word=$2
3082 echo "$as_me:3082: checking for $ac_word" >&5
3083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3084 if test "${ac_cv_prog_YACC+set}" = set; then
3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3087 if test -n "$YACC"; then
3088 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094 test -z "$as_dir" && as_dir=.
3095 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3097 ac_cv_prog_YACC="$ac_prog"
3098 echo "$as_me:3098: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 YACC=$ac_cv_prog_YACC
3107 if test -n "$YACC"; then
3108 echo "$as_me:3108: result: $YACC" >&5
3109 echo "${ECHO_T}$YACC" >&6
3111 echo "$as_me:3111: result: no" >&5
3112 echo "${ECHO_T}no" >&6
3115 test -n "$YACC" && break
3117 test -n "$YACC" || YACC="yacc"
3119 for ac_prog in flex lex
3121 # Extract the first word of "$ac_prog", so it can be a program name with args.
3122 set dummy $ac_prog; ac_word=$2
3123 echo "$as_me:3123: checking for $ac_word" >&5
3124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3125 if test "${ac_cv_prog_LEX+set}" = set; then
3126 echo $ECHO_N "(cached) $ECHO_C" >&6
3128 if test -n "$LEX"; then
3129 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir=.
3136 for ac_exec_ext in '' $ac_executable_extensions; do
3137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138 ac_cv_prog_LEX="$ac_prog"
3139 echo "$as_me:3139: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 if test -n "$LEX"; then
3149 echo "$as_me:3149: result: $LEX" >&5
3150 echo "${ECHO_T}$LEX" >&6
3152 echo "$as_me:3152: result: no" >&5
3153 echo "${ECHO_T}no" >&6
3156 test -n "$LEX" && break
3158 test -n "$LEX" || LEX=":"
3160 if test -z "$LEXLIB"
3162 echo "$as_me:3162: checking for yywrap in -lfl" >&5
3163 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3164 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3165 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 ac_check_lib_save_LIBS=$LIBS
3169 cat >conftest.$ac_ext <<_ACEOF
3170 #line 3170 "configure"
3171 #include "confdefs.h"
3173 /* Override any gcc2 internal prototype to avoid an error. */
3177 /* We use char because int might match the return type of a gcc2
3178 builtin and then its argument prototype would still apply. */
3180 #ifdef F77_DUMMY_MAIN
3184 int F77_DUMMY_MAIN() { return 1; }
3194 rm -f conftest.$ac_objext conftest$ac_exeext
3195 if { (eval echo "$as_me:3195: \"$ac_link\"") >&5
3196 (eval $ac_link) 2>&5
3198 echo "$as_me:3198: \$? = $ac_status" >&5
3199 (exit $ac_status); } &&
3200 { ac_try='test -s conftest$ac_exeext'
3201 { (eval echo "$as_me:3201: \"$ac_try\"") >&5
3204 echo "$as_me:3204: \$? = $ac_status" >&5
3205 (exit $ac_status); }; }; then
3206 ac_cv_lib_fl_yywrap=yes
3208 echo "$as_me: failed program was:" >&5
3209 cat conftest.$ac_ext >&5
3210 ac_cv_lib_fl_yywrap=no
3212 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3213 LIBS=$ac_check_lib_save_LIBS
3215 echo "$as_me:3215: result: $ac_cv_lib_fl_yywrap" >&5
3216 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3217 if test $ac_cv_lib_fl_yywrap = yes; then
3220 echo "$as_me:3220: checking for yywrap in -ll" >&5
3221 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3222 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6
3225 ac_check_lib_save_LIBS=$LIBS
3227 cat >conftest.$ac_ext <<_ACEOF
3228 #line 3228 "configure"
3229 #include "confdefs.h"
3231 /* Override any gcc2 internal prototype to avoid an error. */
3235 /* We use char because int might match the return type of a gcc2
3236 builtin and then its argument prototype would still apply. */
3238 #ifdef F77_DUMMY_MAIN
3242 int F77_DUMMY_MAIN() { return 1; }
3252 rm -f conftest.$ac_objext conftest$ac_exeext
3253 if { (eval echo "$as_me:3253: \"$ac_link\"") >&5
3254 (eval $ac_link) 2>&5
3256 echo "$as_me:3256: \$? = $ac_status" >&5
3257 (exit $ac_status); } &&
3258 { ac_try='test -s conftest$ac_exeext'
3259 { (eval echo "$as_me:3259: \"$ac_try\"") >&5
3262 echo "$as_me:3262: \$? = $ac_status" >&5
3263 (exit $ac_status); }; }; then
3264 ac_cv_lib_l_yywrap=yes
3266 echo "$as_me: failed program was:" >&5
3267 cat conftest.$ac_ext >&5
3268 ac_cv_lib_l_yywrap=no
3270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3271 LIBS=$ac_check_lib_save_LIBS
3273 echo "$as_me:3273: result: $ac_cv_lib_l_yywrap" >&5
3274 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3275 if test $ac_cv_lib_l_yywrap = yes; then
3283 if test "x$LEX" != "x:"; then
3284 echo "$as_me:3284: checking lex output file root" >&5
3285 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3286 if test "${ac_cv_prog_lex_root+set}" = set; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3289 # The minimal lex program is just a single line: %%. But some broken lexes
3290 # (Solaris, I think it was) want two %% lines, so accommodate them.
3291 cat >conftest.l <<_ACEOF
3295 { (eval echo "$as_me:3295: \"$LEX conftest.l\"") >&5
3296 (eval $LEX conftest.l) 2>&5
3298 echo "$as_me:3298: \$? = $ac_status" >&5
3299 (exit $ac_status); }
3300 if test -f lex.yy.c; then
3301 ac_cv_prog_lex_root=lex.yy
3302 elif test -f lexyy.c; then
3303 ac_cv_prog_lex_root=lexyy
3305 { { echo "$as_me:3305: error: cannot find output from $LEX; giving up" >&5
3306 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3307 { (exit 1); exit 1; }; }
3310 echo "$as_me:3310: result: $ac_cv_prog_lex_root" >&5
3311 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3313 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3315 echo "$as_me:3315: checking whether yytext is a pointer" >&5
3316 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3317 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 # POSIX says lex can declare yytext either as a pointer or an array; the
3321 # default is implementation-dependent. Figure out which it is, since
3322 # not all implementations provide the %pointer and %array declarations.
3323 ac_cv_prog_lex_yytext_pointer=no
3324 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3326 LIBS="$LIBS $LEXLIB"
3327 cat >conftest.$ac_ext <<_ACEOF
3328 `cat $LEX_OUTPUT_ROOT.c`
3330 rm -f conftest.$ac_objext conftest$ac_exeext
3331 if { (eval echo "$as_me:3331: \"$ac_link\"") >&5
3332 (eval $ac_link) 2>&5
3334 echo "$as_me:3334: \$? = $ac_status" >&5
3335 (exit $ac_status); } &&
3336 { ac_try='test -s conftest$ac_exeext'
3337 { (eval echo "$as_me:3337: \"$ac_try\"") >&5
3340 echo "$as_me:3340: \$? = $ac_status" >&5
3341 (exit $ac_status); }; }; then
3342 ac_cv_prog_lex_yytext_pointer=yes
3344 echo "$as_me: failed program was:" >&5
3345 cat conftest.$ac_ext >&5
3347 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3349 rm -f "${LEX_OUTPUT_ROOT}.c"
3352 echo "$as_me:3352: result: $ac_cv_prog_lex_yytext_pointer" >&5
3353 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3354 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3356 cat >>confdefs.h <<\_ACEOF
3357 #define YYTEXT_POINTER 1
3363 if test "$LEX" = :; then
3364 LEX=${am_missing_run}flex
3366 for ac_prog in gawk mawk nawk awk
3368 # Extract the first word of "$ac_prog", so it can be a program name with args.
3369 set dummy $ac_prog; ac_word=$2
3370 echo "$as_me:3370: checking for $ac_word" >&5
3371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3372 if test "${ac_cv_prog_AWK+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 if test -n "$AWK"; then
3376 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382 test -z "$as_dir" && as_dir=.
3383 for ac_exec_ext in '' $ac_executable_extensions; do
3384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3385 ac_cv_prog_AWK="$ac_prog"
3386 echo "$as_me:3386: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 if test -n "$AWK"; then
3396 echo "$as_me:3396: result: $AWK" >&5
3397 echo "${ECHO_T}$AWK" >&6
3399 echo "$as_me:3399: result: no" >&5
3400 echo "${ECHO_T}no" >&6
3403 test -n "$AWK" && break
3406 echo "$as_me:3406: checking for ln -s or something else" >&5
3407 echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
3408 if test "${ac_cv_prog_LN_S+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 if ln -s X conftestdata 2>/dev/null
3415 ac_cv_prog_LN_S="ln -s"
3418 if ln conftestdata1 conftestdata2; then
3426 LN_S="$ac_cv_prog_LN_S"
3427 echo "$as_me:3427: result: $ac_cv_prog_LN_S" >&5
3428 echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
3433 # Check whether --with-mips_abi or --without-mips_abi was given.
3434 if test "${with_mips_abi+set}" = set; then
3435 withval="$with_mips_abi"
3441 with_mips_abi="${with_mips_abi:-yes}"
3442 if test -n "$GCC"; then
3444 # GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
3445 # which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
3447 # Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
3448 # GCC and revert back to O32. The same goes if O32 is asked for - old
3449 # GCCs doesn't like the -mabi option, and new GCCs can't output O32.
3451 # Don't you just love *all* the different SGI ABIs?
3453 case "${with_mips_abi}" in
3454 32|o32) abi='-mabi=32'; abilibdirext='' ;;
3455 n32|yes) abi='-mabi=n32'; abilibdirext='32' ;;
3456 64) abi='-mabi=64'; abilibdirext='64' ;;
3457 no) abi=''; abilibdirext='';;
3458 *) { { echo "$as_me:3458: error: \"Invalid ABI specified\"" >&5
3459 echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
3460 { (exit 1); exit 1; }; } ;;
3462 if test -n "$abi" ; then
3463 ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
3464 echo "$as_me:3464: checking if $CC supports the $abi option" >&5
3465 echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
3466 if eval "test \"\${$ac_foo+set}\" = set"; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 save_CFLAGS="$CFLAGS"
3471 CFLAGS="$CFLAGS $abi"
3472 cat >conftest.$ac_ext <<_ACEOF
3473 #line 3473 "configure"
3474 #include "confdefs.h"
3476 #ifdef F77_DUMMY_MAIN
3480 int F77_DUMMY_MAIN() { return 1; }
3490 rm -f conftest.$ac_objext
3491 if { (eval echo "$as_me:3491: \"$ac_compile\"") >&5
3492 (eval $ac_compile) 2>&5
3494 echo "$as_me:3494: \$? = $ac_status" >&5
3495 (exit $ac_status); } &&
3496 { ac_try='test -s conftest.$ac_objext'
3497 { (eval echo "$as_me:3497: \"$ac_try\"") >&5
3500 echo "$as_me:3500: \$? = $ac_status" >&5
3501 (exit $ac_status); }; }; then
3504 echo "$as_me: failed program was:" >&5
3505 cat conftest.$ac_ext >&5
3508 rm -f conftest.$ac_objext conftest.$ac_ext
3509 CFLAGS="$save_CFLAGS"
3513 ac_res=`eval echo \\\$$ac_foo`
3514 echo "$as_me:3514: result: $ac_res" >&5
3515 echo "${ECHO_T}$ac_res" >&6
3516 if test $ac_res = no; then
3517 # Try to figure out why that failed...
3520 save_CFLAGS="$CFLAGS"
3521 CFLAGS="$CFLAGS -mabi=n32"
3522 cat >conftest.$ac_ext <<_ACEOF
3523 #line 3523 "configure"
3524 #include "confdefs.h"
3526 #ifdef F77_DUMMY_MAIN
3530 int F77_DUMMY_MAIN() { return 1; }
3540 rm -f conftest.$ac_objext
3541 if { (eval echo "$as_me:3541: \"$ac_compile\"") >&5
3542 (eval $ac_compile) 2>&5
3544 echo "$as_me:3544: \$? = $ac_status" >&5
3545 (exit $ac_status); } &&
3546 { ac_try='test -s conftest.$ac_objext'
3547 { (eval echo "$as_me:3547: \"$ac_try\"") >&5
3550 echo "$as_me:3550: \$? = $ac_status" >&5
3551 (exit $ac_status); }; }; then
3554 echo "$as_me: failed program was:" >&5
3555 cat conftest.$ac_ext >&5
3558 rm -f conftest.$ac_objext conftest.$ac_ext
3559 CLAGS="$save_CFLAGS"
3560 if test $ac_res = yes; then
3562 { { echo "$as_me:3562: error: $CC does not support the $with_mips_abi ABI" >&5
3563 echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
3564 { (exit 1); exit 1; }; }
3571 if test $with_mips_abi = yes; then
3572 # Old GCC, default to O32
3577 { { echo "$as_me:3577: error: $CC does not support the $with_mips_abi ABI" >&5
3578 echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
3579 { (exit 1); exit 1; }; }
3583 fi #if test $ac_res = no; then
3584 fi #if test -n "$abi" ; then
3586 case "${with_mips_abi}" in
3587 32|o32) abi='-32'; abilibdirext='' ;;
3588 n32|yes) abi='-n32'; abilibdirext='32' ;;
3589 64) abi='-64'; abilibdirext='64' ;;
3590 no) abi=''; abilibdirext='';;
3591 *) { { echo "$as_me:3591: error: \"Invalid ABI specified\"" >&5
3592 echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
3593 { (exit 1); exit 1; }; } ;;
3595 fi #if test -n "$GCC"; then
3600 libdir="$libdir$abilibdirext"
3603 echo "$as_me:3603: checking for __attribute__" >&5
3604 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
3605 if test "${ac_cv___attribute__+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 cat >conftest.$ac_ext <<_ACEOF
3610 #line 3610 "configure"
3611 #include "confdefs.h"
3615 #ifdef F77_DUMMY_MAIN
3619 int F77_DUMMY_MAIN() { return 1; }
3625 static void foo(void) __attribute__ ((noreturn));
3637 rm -f conftest.$ac_objext
3638 if { (eval echo "$as_me:3638: \"$ac_compile\"") >&5
3639 (eval $ac_compile) 2>&5
3641 echo "$as_me:3641: \$? = $ac_status" >&5
3642 (exit $ac_status); } &&
3643 { ac_try='test -s conftest.$ac_objext'
3644 { (eval echo "$as_me:3644: \"$ac_try\"") >&5
3647 echo "$as_me:3647: \$? = $ac_status" >&5
3648 (exit $ac_status); }; }; then
3649 ac_cv___attribute__=yes
3651 echo "$as_me: failed program was:" >&5
3652 cat conftest.$ac_ext >&5
3653 ac_cv___attribute__=no
3655 rm -f conftest.$ac_objext conftest.$ac_ext
3658 if test "$ac_cv___attribute__" = "yes"; then
3660 cat >>confdefs.h <<\_ACEOF
3661 #define HAVE___ATTRIBUTE__ 1
3665 echo "$as_me:3665: result: $ac_cv___attribute__" >&5
3666 echo "${ECHO_T}$ac_cv___attribute__" >&6
3669 # Check whether --enable-shared or --disable-shared was given.
3670 if test "${enable_shared+set}" = set; then
3671 enableval="$enable_shared"
3672 p=${PACKAGE-default}
3674 yes) enable_shared=yes ;;
3675 no) enable_shared=no ;;
3678 # Look at the argument we got. We use all the common list separators.
3679 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3680 for pkg in $enableval; do
3681 if test "X$pkg" = "X$p"; then
3691 # Check whether --enable-static or --disable-static was given.
3692 if test "${enable_static+set}" = set; then
3693 enableval="$enable_static"
3694 p=${PACKAGE-default}
3696 yes) enable_static=yes ;;
3697 no) enable_static=no ;;
3700 # Look at the argument we got. We use all the common list separators.
3701 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3702 for pkg in $enableval; do
3703 if test "X$pkg" = "X$p"; then
3713 # Check whether --enable-fast-install or --disable-fast-install was given.
3714 if test "${enable_fast_install+set}" = set; then
3715 enableval="$enable_fast_install"
3716 p=${PACKAGE-default}
3718 yes) enable_fast_install=yes ;;
3719 no) enable_fast_install=no ;;
3721 enable_fast_install=no
3722 # Look at the argument we got. We use all the common list separators.
3723 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3724 for pkg in $enableval; do
3725 if test "X$pkg" = "X$p"; then
3726 enable_fast_install=yes
3733 enable_fast_install=yes
3735 # Find the correct PATH separator. Usually this is `:', but
3736 # DJGPP uses `;' like DOS.
3737 if test "X${PATH_SEPARATOR+set}" != Xset; then
3738 UNAME=${UNAME-`uname 2>/dev/null`}
3740 *-DOS) lt_cv_sys_path_separator=';' ;;
3741 *) lt_cv_sys_path_separator=':' ;;
3743 PATH_SEPARATOR=$lt_cv_sys_path_separator
3747 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3748 if test "${with_gnu_ld+set}" = set; then
3749 withval="$with_gnu_ld"
3750 test "$withval" = no || with_gnu_ld=yes
3755 if test "$GCC" = yes; then
3756 # Check if gcc -print-prog-name=ld gives a path.
3757 echo "$as_me:3757: checking for ld used by GCC" >&5
3758 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3761 # gcc leaves a trailing carriage return which upsets mingw
3762 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3764 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3767 # Accept absolute paths.
3768 [\\/]* | [A-Za-z]:[\\/]*)
3769 re_direlt='/[^/][^/]*/\.\./'
3770 # Canonicalize the path of ld
3771 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3772 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3773 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3775 test -z "$LD" && LD="$ac_prog"
3778 # If it fails, then pretend we aren't using GCC.
3782 # If it is relative, then search for the first ld in PATH.
3786 elif test "$with_gnu_ld" = yes; then
3787 echo "$as_me:3787: checking for GNU ld" >&5
3788 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3790 echo "$as_me:3790: checking for non-GNU ld" >&5
3791 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3793 if test "${lt_cv_path_LD+set}" = set; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 if test -z "$LD"; then
3797 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3798 for ac_dir in $PATH; do
3799 test -z "$ac_dir" && ac_dir=.
3800 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3801 lt_cv_path_LD="$ac_dir/$ac_prog"
3802 # Check to see if the program is GNU ld. I'd rather use --version,
3803 # but apparently some GNU ld's only accept -v.
3804 # Break only if it was the GNU/non-GNU ld that we prefer.
3805 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3806 test "$with_gnu_ld" != no && break
3808 test "$with_gnu_ld" != yes && break
3814 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3819 if test -n "$LD"; then
3820 echo "$as_me:3820: result: $LD" >&5
3821 echo "${ECHO_T}$LD" >&6
3823 echo "$as_me:3823: result: no" >&5
3824 echo "${ECHO_T}no" >&6
3826 test -z "$LD" && { { echo "$as_me:3826: error: no acceptable ld found in \$PATH" >&5
3827 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3828 { (exit 1); exit 1; }; }
3829 echo "$as_me:3829: checking if the linker ($LD) is GNU ld" >&5
3830 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3831 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3832 echo $ECHO_N "(cached) $ECHO_C" >&6
3834 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3835 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3836 lt_cv_prog_gnu_ld=yes
3838 lt_cv_prog_gnu_ld=no
3841 echo "$as_me:3841: result: $lt_cv_prog_gnu_ld" >&5
3842 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3843 with_gnu_ld=$lt_cv_prog_gnu_ld
3846 echo "$as_me:3846: checking for $LD option to reload object files" >&5
3847 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3848 if test "${lt_cv_ld_reload_flag+set}" = set; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 lt_cv_ld_reload_flag='-r'
3853 echo "$as_me:3853: result: $lt_cv_ld_reload_flag" >&5
3854 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3855 reload_flag=$lt_cv_ld_reload_flag
3856 test -n "$reload_flag" && reload_flag=" $reload_flag"
3858 echo "$as_me:3858: checking for BSD-compatible nm" >&5
3859 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3860 if test "${lt_cv_path_NM+set}" = set; then
3861 echo $ECHO_N "(cached) $ECHO_C" >&6
3863 if test -n "$NM"; then
3864 # Let the user override the test.
3867 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3868 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3869 test -z "$ac_dir" && ac_dir=.
3870 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3871 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3872 # Check to see if the nm accepts a BSD-compat flag.
3873 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3874 # nm: unknown option "B" ignored
3875 # Tru64's nm complains that /dev/null is an invalid object file
3876 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3877 lt_cv_path_NM="$tmp_nm -B"
3879 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3880 lt_cv_path_NM="$tmp_nm -p"
3883 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3884 continue # so that we can try to find one that supports BSD flags
3889 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3894 echo "$as_me:3894: result: $NM" >&5
3895 echo "${ECHO_T}$NM" >&6
3897 echo "$as_me:3897: checking whether ln -s works" >&5
3898 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3900 if test "$LN_S" = "ln -s"; then
3901 echo "$as_me:3901: result: yes" >&5
3902 echo "${ECHO_T}yes" >&6
3904 echo "$as_me:3904: result: no, using $LN_S" >&5
3905 echo "${ECHO_T}no, using $LN_S" >&6
3908 echo "$as_me:3908: checking how to recognise dependant libraries" >&5
3909 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3910 if test "${lt_cv_deplibs_check_method+set}" = set; then
3911 echo $ECHO_N "(cached) $ECHO_C" >&6
3913 lt_cv_file_magic_cmd='$MAGIC_CMD'
3914 lt_cv_file_magic_test_file=
3915 lt_cv_deplibs_check_method='unknown'
3916 # Need to set the preceding variable on all platforms that support
3917 # interlibrary dependencies.
3918 # 'none' -- dependencies not supported.
3919 # `unknown' -- same as none, but documents that we really don't know.
3920 # 'pass_all' -- all dependencies passed with no checks.
3921 # 'test_compile' -- check by making test program.
3922 # 'file_magic [[regex]]' -- check by looking for files in library path
3923 # which responds to the $file_magic_cmd with a given egrep regex.
3924 # If you have `file' or equivalent on your system and you're not sure
3925 # whether `pass_all' will *always* work, you probably want this one.
3929 lt_cv_deplibs_check_method=pass_all
3933 lt_cv_deplibs_check_method=pass_all
3937 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3938 lt_cv_file_magic_cmd='/usr/bin/file -L'
3939 lt_cv_file_magic_test_file=/shlib/libc.so
3942 cygwin* | mingw* | pw32*)
3943 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3944 lt_cv_file_magic_cmd='$OBJDUMP -f'
3947 darwin* | rhapsody*)
3948 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3949 lt_cv_file_magic_cmd='/usr/bin/file -L'
3951 rhapsody* | darwin1.[012])
3952 lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
3955 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3961 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3964 # Not sure whether the presence of OpenBSD here was a mistake.
3965 # Let's accept both of them until this is cleared up.
3966 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3967 lt_cv_file_magic_cmd=/usr/bin/file
3968 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3972 lt_cv_deplibs_check_method=pass_all
3977 lt_cv_deplibs_check_method=pass_all
3981 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3982 lt_cv_file_magic_cmd=/usr/bin/file
3983 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3989 # this will be overridden with pass_all, but let us keep it just in case
3990 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3994 *-32|*"-32 ") libmagic=32-bit;;
3995 *-n32|*"-n32 ") libmagic=N32;;
3996 *-64|*"-64 ") libmagic=64-bit;;
3997 *) libmagic=never-match;;
3999 # this will be overridden with pass_all, but let us keep it just in case
4000 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4003 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4004 lt_cv_deplibs_check_method=pass_all
4007 # This must be Linux ELF.
4010 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
4011 lt_cv_deplibs_check_method=pass_all ;;
4013 # glibc up to 2.1.1 does not perform some relocations on ARM
4014 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4016 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4020 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4021 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4023 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4028 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4029 lt_cv_file_magic_cmd=/usr/bin/file
4030 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4034 lt_cv_file_magic_cmd=/usr/bin/file
4035 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4036 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4037 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4039 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4043 osf3* | osf4* | osf5*)
4044 # this will be overridden with pass_all, but let us keep it just in case
4045 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4046 lt_cv_file_magic_test_file=/shlib/libc.so
4047 lt_cv_deplibs_check_method=pass_all
4051 lt_cv_deplibs_check_method=pass_all
4055 lt_cv_deplibs_check_method=pass_all
4056 lt_cv_file_magic_test_file=/lib/libc.so
4059 sysv5uw[78]* | sysv4*uw2*)
4060 lt_cv_deplibs_check_method=pass_all
4063 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4064 case $host_vendor in
4066 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4067 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4070 lt_cv_deplibs_check_method=pass_all
4073 lt_cv_file_magic_cmd='/bin/file'
4074 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4077 lt_cv_file_magic_cmd='/bin/file'
4078 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4079 lt_cv_file_magic_test_file=/lib/libc.so
4086 echo "$as_me:4086: result: $lt_cv_deplibs_check_method" >&5
4087 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4088 file_magic_cmd=$lt_cv_file_magic_cmd
4089 deplibs_check_method=$lt_cv_deplibs_check_method
4095 # Check for command to grab the raw symbol name followed by C symbol from nm.
4096 echo "$as_me:4096: checking command to parse $NM output" >&5
4097 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
4098 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4099 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 # These are sane defaults that work on at least a few old systems.
4103 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4105 # Character class describing NM global symbol codes.
4106 symcode='[BCDEGRST]'
4108 # Regexp to match symbols that can be accessed directly from C.
4109 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4111 # Transform the above into a raw symbol and a C symbol.
4112 symxfrm='\1 \2\3 \3'
4114 # Transform an extracted symbol line into a proper C declaration
4115 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
4117 # Transform an extracted symbol line into symbol name and symbol address
4118 lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
4120 # Define system-specific variables.
4125 cygwin* | mingw* | pw32*)
4126 symcode='[ABCDGISTW]'
4128 hpux*) # Its linker distinguishes data from code symbols
4129 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4130 lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
4133 symcode='[BCDEGRST]'
4143 # Handle CRLF in mingw tool chain
4147 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4151 # If we're using GNU nm, then use its standard symbol codes.
4152 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
4153 symcode='[ABCDGISTW]'
4156 # Try without a prefix undercore, then with it.
4157 for ac_symprfx in "" "_"; do
4159 # Write the raw and C identifiers.
4160 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
4162 # Check to see that the pipe works correctly.
4165 cat > conftest.$ac_ext <<EOF
4170 void nm_test_func(){}
4174 int main(){nm_test_var='a';nm_test_func();return(0);}
4177 if { (eval echo "$as_me:4177: \"$ac_compile\"") >&5
4178 (eval $ac_compile) 2>&5
4180 echo "$as_me:4180: \$? = $ac_status" >&5
4181 (exit $ac_status); }; then
4182 # Now try to grab the symbols.
4184 if { (eval echo "$as_me:4184: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
4185 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4187 echo "$as_me:4187: \$? = $ac_status" >&5
4188 (exit $ac_status); } && test -s "$nlist"; then
4189 # Try sorting and uniquifying the output.
4190 if sort "$nlist" | uniq > "$nlist"T; then
4191 mv -f "$nlist"T "$nlist"
4196 # Make sure that we snagged all the symbols we need.
4197 if egrep ' nm_test_var$' "$nlist" >/dev/null; then
4198 if egrep ' nm_test_func$' "$nlist" >/dev/null; then
4199 cat <<EOF > conftest.$ac_ext
4205 # Now generate the symbol file.
4206 eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
4208 cat <<EOF >> conftest.$ac_ext
4209 #if defined (__STDC__) && __STDC__
4210 # define lt_ptr void *
4212 # define lt_ptr char *
4216 /* The mapping between symbol names and symbols. */
4221 lt_preloaded_symbols[] =
4224 sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
4225 cat <<\EOF >> conftest.$ac_ext
4233 # Now try linking the two files.
4234 mv conftest.$ac_objext conftstm.$ac_objext
4236 save_CFLAGS="$CFLAGS"
4237 LIBS="conftstm.$ac_objext"
4238 CFLAGS="$CFLAGS$no_builtin_flag"
4239 if { (eval echo "$as_me:4239: \"$ac_link\"") >&5
4240 (eval $ac_link) 2>&5
4242 echo "$as_me:4242: \$? = $ac_status" >&5
4243 (exit $ac_status); } && test -s conftest; then
4247 CFLAGS="$save_CFLAGS"
4249 echo "cannot find nm_test_func in $nlist" >&5
4252 echo "cannot find nm_test_var in $nlist" >&5
4255 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4258 echo "$progname: failed program was:" >&5
4259 cat conftest.$ac_ext >&5
4261 rm -f conftest* conftst*
4263 # Do not use the global_symbol_pipe unless it works.
4264 if test "$pipe_works" = yes; then
4267 lt_cv_sys_global_symbol_pipe=
4273 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
4274 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4275 global_symbol_to_cdecl=
4276 global_symbol_to_c_name_address=
4278 global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
4279 global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
4281 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
4283 echo "$as_me:4283: result: failed" >&5
4284 echo "${ECHO_T}failed" >&6
4286 echo "$as_me:4286: result: ok" >&5
4287 echo "${ECHO_T}ok" >&6
4291 echo "$as_me:4291: checking for ANSI C header files" >&5
4292 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4293 if test "${ac_cv_header_stdc+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 cat >conftest.$ac_ext <<_ACEOF
4297 #line 4297 "configure"
4298 #include "confdefs.h"
4305 if { (eval echo "$as_me:4305: \"$ac_cpp conftest.$ac_ext\"") >&5
4306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4308 egrep -v '^ *\+' conftest.er1 >conftest.err
4310 cat conftest.err >&5
4311 echo "$as_me:4311: \$? = $ac_status" >&5
4312 (exit $ac_status); } >/dev/null; then
4313 if test -s conftest.err; then
4314 ac_cpp_err=$ac_c_preproc_warn_flag
4321 if test -z "$ac_cpp_err"; then
4322 ac_cv_header_stdc=yes
4324 echo "$as_me: failed program was:" >&5
4325 cat conftest.$ac_ext >&5
4326 ac_cv_header_stdc=no
4328 rm -f conftest.err conftest.$ac_ext
4330 if test $ac_cv_header_stdc = yes; then
4331 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4332 cat >conftest.$ac_ext <<_ACEOF
4333 #line 4333 "configure"
4334 #include "confdefs.h"
4338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4339 egrep "memchr" >/dev/null 2>&1; then
4342 ac_cv_header_stdc=no
4348 if test $ac_cv_header_stdc = yes; then
4349 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4350 cat >conftest.$ac_ext <<_ACEOF
4351 #line 4351 "configure"
4352 #include "confdefs.h"
4356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4357 egrep "free" >/dev/null 2>&1; then
4360 ac_cv_header_stdc=no
4366 if test $ac_cv_header_stdc = yes; then
4367 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4368 if test "$cross_compiling" = yes; then
4371 cat >conftest.$ac_ext <<_ACEOF
4372 #line 4372 "configure"
4373 #include "confdefs.h"
4375 #if ((' ' & 0x0FF) == 0x020)
4376 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4377 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4379 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4380 || ('j' <= (c) && (c) <= 'r') \
4381 || ('s' <= (c) && (c) <= 'z'))
4382 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4385 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4390 for (i = 0; i < 256; i++)
4391 if (XOR (islower (i), ISLOWER (i))
4392 || toupper (i) != TOUPPER (i))
4397 rm -f conftest$ac_exeext
4398 if { (eval echo "$as_me:4398: \"$ac_link\"") >&5
4399 (eval $ac_link) 2>&5
4401 echo "$as_me:4401: \$? = $ac_status" >&5
4402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4403 { (eval echo "$as_me:4403: \"$ac_try\"") >&5
4406 echo "$as_me:4406: \$? = $ac_status" >&5
4407 (exit $ac_status); }; }; then
4410 echo "$as_me: program exited with status $ac_status" >&5
4411 echo "$as_me: failed program was:" >&5
4412 cat conftest.$ac_ext >&5
4414 ac_cv_header_stdc=no
4416 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4420 echo "$as_me:4420: result: $ac_cv_header_stdc" >&5
4421 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4422 if test $ac_cv_header_stdc = yes; then
4424 cat >>confdefs.h <<\_ACEOF
4425 #define STDC_HEADERS 1
4430 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4440 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4441 inttypes.h stdint.h unistd.h
4443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4444 echo "$as_me:4444: checking for $ac_header" >&5
4445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 cat >conftest.$ac_ext <<_ACEOF
4450 #line 4450 "configure"
4451 #include "confdefs.h"
4452 $ac_includes_default
4454 #include <$ac_header>
4456 rm -f conftest.$ac_objext
4457 if { (eval echo "$as_me:4457: \"$ac_compile\"") >&5
4458 (eval $ac_compile) 2>&5
4460 echo "$as_me:4460: \$? = $ac_status" >&5
4461 (exit $ac_status); } &&
4462 { ac_try='test -s conftest.$ac_objext'
4463 { (eval echo "$as_me:4463: \"$ac_try\"") >&5
4466 echo "$as_me:4466: \$? = $ac_status" >&5
4467 (exit $ac_status); }; }; then
4468 eval "$as_ac_Header=yes"
4470 echo "$as_me: failed program was:" >&5
4471 cat conftest.$ac_ext >&5
4472 eval "$as_ac_Header=no"
4474 rm -f conftest.$ac_objext conftest.$ac_ext
4476 echo "$as_me:4476: result: `eval echo '${'$as_ac_Header'}'`" >&5
4477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4479 cat >>confdefs.h <<_ACEOF
4480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4489 for ac_header in dlfcn.h
4491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4493 echo "$as_me:4493: checking for $ac_header" >&5
4494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4496 echo $ECHO_N "(cached) $ECHO_C" >&6
4498 echo "$as_me:4498: result: `eval echo '${'$as_ac_Header'}'`" >&5
4499 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4501 # Is the header compilable?
4502 echo "$as_me:4502: checking $ac_header usability" >&5
4503 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4504 cat >conftest.$ac_ext <<_ACEOF
4505 #line 4505 "configure"
4506 #include "confdefs.h"
4507 $ac_includes_default
4508 #include <$ac_header>
4510 rm -f conftest.$ac_objext
4511 if { (eval echo "$as_me:4511: \"$ac_compile\"") >&5
4512 (eval $ac_compile) 2>&5
4514 echo "$as_me:4514: \$? = $ac_status" >&5
4515 (exit $ac_status); } &&
4516 { ac_try='test -s conftest.$ac_objext'
4517 { (eval echo "$as_me:4517: \"$ac_try\"") >&5
4520 echo "$as_me:4520: \$? = $ac_status" >&5
4521 (exit $ac_status); }; }; then
4522 ac_header_compiler=yes
4524 echo "$as_me: failed program was:" >&5
4525 cat conftest.$ac_ext >&5
4526 ac_header_compiler=no
4528 rm -f conftest.$ac_objext conftest.$ac_ext
4529 echo "$as_me:4529: result: $ac_header_compiler" >&5
4530 echo "${ECHO_T}$ac_header_compiler" >&6
4532 # Is the header present?
4533 echo "$as_me:4533: checking $ac_header presence" >&5
4534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4535 cat >conftest.$ac_ext <<_ACEOF
4536 #line 4536 "configure"
4537 #include "confdefs.h"
4538 #include <$ac_header>
4540 if { (eval echo "$as_me:4540: \"$ac_cpp conftest.$ac_ext\"") >&5
4541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4543 egrep -v '^ *\+' conftest.er1 >conftest.err
4545 cat conftest.err >&5
4546 echo "$as_me:4546: \$? = $ac_status" >&5
4547 (exit $ac_status); } >/dev/null; then
4548 if test -s conftest.err; then
4549 ac_cpp_err=$ac_c_preproc_warn_flag
4556 if test -z "$ac_cpp_err"; then
4557 ac_header_preproc=yes
4559 echo "$as_me: failed program was:" >&5
4560 cat conftest.$ac_ext >&5
4561 ac_header_preproc=no
4563 rm -f conftest.err conftest.$ac_ext
4564 echo "$as_me:4564: result: $ac_header_preproc" >&5
4565 echo "${ECHO_T}$ac_header_preproc" >&6
4567 # So? What about this header?
4568 case $ac_header_compiler:$ac_header_preproc in
4570 { echo "$as_me:4570: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4572 { echo "$as_me:4572: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4575 { echo "$as_me:4575: WARNING: $ac_header: present but cannot be compiled" >&5
4576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4577 { echo "$as_me:4577: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4579 { echo "$as_me:4579: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4582 echo "$as_me:4582: checking for $ac_header" >&5
4583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 eval "$as_ac_Header=$ac_header_preproc"
4589 echo "$as_me:4589: result: `eval echo '${'$as_ac_Header'}'`" >&5
4590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4594 cat >>confdefs.h <<_ACEOF
4595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4606 # Only perform the check for file, if the check method requires it
4607 case $deplibs_check_method in
4609 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4610 echo "$as_me:4610: checking for ${ac_tool_prefix}file" >&5
4611 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4612 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4620 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4623 ac_save_MAGIC_CMD="$MAGIC_CMD"
4624 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4625 ac_dummy="/usr/bin:$PATH"
4626 for ac_dir in $ac_dummy; do
4627 test -z "$ac_dir" && ac_dir=.
4628 if test -f $ac_dir/${ac_tool_prefix}file; then
4629 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4630 if test -n "$file_magic_test_file"; then
4631 case $deplibs_check_method in
4633 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4634 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4635 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4636 egrep "$file_magic_regex" > /dev/null; then
4641 *** Warning: the command libtool uses to detect shared libraries,
4642 *** $file_magic_cmd, produces output that libtool cannot recognize.
4643 *** The result is that libtool may fail to recognize shared libraries
4644 *** as such. This will affect the creation of libtool libraries that
4645 *** depend on shared libraries, but programs linked with such libtool
4646 *** libraries will work regardless of this problem. Nevertheless, you
4647 *** may want to report the problem to your system manager and/or to
4648 *** bug-libtool@gnu.org
4658 MAGIC_CMD="$ac_save_MAGIC_CMD"
4663 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4664 if test -n "$MAGIC_CMD"; then
4665 echo "$as_me:4665: result: $MAGIC_CMD" >&5
4666 echo "${ECHO_T}$MAGIC_CMD" >&6
4668 echo "$as_me:4668: result: no" >&5
4669 echo "${ECHO_T}no" >&6
4672 if test -z "$lt_cv_path_MAGIC_CMD"; then
4673 if test -n "$ac_tool_prefix"; then
4674 echo "$as_me:4674: checking for file" >&5
4675 echo $ECHO_N "checking for file... $ECHO_C" >&6
4676 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4677 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4684 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4687 ac_save_MAGIC_CMD="$MAGIC_CMD"
4688 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4689 ac_dummy="/usr/bin:$PATH"
4690 for ac_dir in $ac_dummy; do
4691 test -z "$ac_dir" && ac_dir=.
4692 if test -f $ac_dir/file; then
4693 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4694 if test -n "$file_magic_test_file"; then
4695 case $deplibs_check_method in
4697 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4698 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4699 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4700 egrep "$file_magic_regex" > /dev/null; then
4705 *** Warning: the command libtool uses to detect shared libraries,
4706 *** $file_magic_cmd, produces output that libtool cannot recognize.
4707 *** The result is that libtool may fail to recognize shared libraries
4708 *** as such. This will affect the creation of libtool libraries that
4709 *** depend on shared libraries, but programs linked with such libtool
4710 *** libraries will work regardless of this problem. Nevertheless, you
4711 *** may want to report the problem to your system manager and/or to
4712 *** bug-libtool@gnu.org
4722 MAGIC_CMD="$ac_save_MAGIC_CMD"
4727 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4728 if test -n "$MAGIC_CMD"; then
4729 echo "$as_me:4729: result: $MAGIC_CMD" >&5
4730 echo "${ECHO_T}$MAGIC_CMD" >&6
4732 echo "$as_me:4732: result: no" >&5
4733 echo "${ECHO_T}no" >&6
4745 if test -n "$ac_tool_prefix"; then
4746 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4747 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4748 echo "$as_me:4748: checking for $ac_word" >&5
4749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4750 if test "${ac_cv_prog_RANLIB+set}" = set; then
4751 echo $ECHO_N "(cached) $ECHO_C" >&6
4753 if test -n "$RANLIB"; then
4754 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4760 test -z "$as_dir" && as_dir=.
4761 for ac_exec_ext in '' $ac_executable_extensions; do
4762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4763 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4764 echo "$as_me:4764: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 RANLIB=$ac_cv_prog_RANLIB
4773 if test -n "$RANLIB"; then
4774 echo "$as_me:4774: result: $RANLIB" >&5
4775 echo "${ECHO_T}$RANLIB" >&6
4777 echo "$as_me:4777: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4782 if test -z "$ac_cv_prog_RANLIB"; then
4783 ac_ct_RANLIB=$RANLIB
4784 # Extract the first word of "ranlib", so it can be a program name with args.
4785 set dummy ranlib; ac_word=$2
4786 echo "$as_me:4786: checking for $ac_word" >&5
4787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4788 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 if test -n "$ac_ct_RANLIB"; then
4792 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4798 test -z "$as_dir" && as_dir=.
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4801 ac_cv_prog_ac_ct_RANLIB="ranlib"
4802 echo "$as_me:4802: found $as_dir/$ac_word$ac_exec_ext" >&5
4808 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4811 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4812 if test -n "$ac_ct_RANLIB"; then
4813 echo "$as_me:4813: result: $ac_ct_RANLIB" >&5
4814 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4816 echo "$as_me:4816: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4820 RANLIB=$ac_ct_RANLIB
4822 RANLIB="$ac_cv_prog_RANLIB"
4825 if test -n "$ac_tool_prefix"; then
4826 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4827 set dummy ${ac_tool_prefix}strip; ac_word=$2
4828 echo "$as_me:4828: checking for $ac_word" >&5
4829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4830 if test "${ac_cv_prog_STRIP+set}" = set; then
4831 echo $ECHO_N "(cached) $ECHO_C" >&6
4833 if test -n "$STRIP"; then
4834 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4844 echo "$as_me:4844: found $as_dir/$ac_word$ac_exec_ext" >&5
4852 STRIP=$ac_cv_prog_STRIP
4853 if test -n "$STRIP"; then
4854 echo "$as_me:4854: result: $STRIP" >&5
4855 echo "${ECHO_T}$STRIP" >&6
4857 echo "$as_me:4857: result: no" >&5
4858 echo "${ECHO_T}no" >&6
4862 if test -z "$ac_cv_prog_STRIP"; then
4864 # Extract the first word of "strip", so it can be a program name with args.
4865 set dummy strip; ac_word=$2
4866 echo "$as_me:4866: checking for $ac_word" >&5
4867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4868 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4869 echo $ECHO_N "(cached) $ECHO_C" >&6
4871 if test -n "$ac_ct_STRIP"; then
4872 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 test -z "$as_dir" && as_dir=.
4879 for ac_exec_ext in '' $ac_executable_extensions; do
4880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4881 ac_cv_prog_ac_ct_STRIP="strip"
4882 echo "$as_me:4882: found $as_dir/$ac_word$ac_exec_ext" >&5
4888 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4891 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4892 if test -n "$ac_ct_STRIP"; then
4893 echo "$as_me:4893: result: $ac_ct_STRIP" >&5
4894 echo "${ECHO_T}$ac_ct_STRIP" >&6
4896 echo "$as_me:4896: result: no" >&5
4897 echo "${ECHO_T}no" >&6
4902 STRIP="$ac_cv_prog_STRIP"
4909 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4910 if test "${enable_libtool_lock+set}" = set; then
4911 enableval="$enable_libtool_lock"
4914 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4916 # Some flags need to be propagated to the compiler or linker for good
4920 # Find out which ABI we are using.
4921 echo '#line 4921 "configure"' > conftest.$ac_ext
4922 if { (eval echo "$as_me:4922: \"$ac_compile\"") >&5
4923 (eval $ac_compile) 2>&5
4925 echo "$as_me:4925: \$? = $ac_status" >&5
4926 (exit $ac_status); }; then
4927 case `/usr/bin/file conftest.$ac_objext` in
4943 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4944 SAVE_CFLAGS="$CFLAGS"
4945 CFLAGS="$CFLAGS -belf"
4946 echo "$as_me:4946: checking whether the C compiler needs -belf" >&5
4947 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4948 if test "${lt_cv_cc_needs_belf+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 ac_cpp='$CPP $CPPFLAGS'
4955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4959 cat >conftest.$ac_ext <<_ACEOF
4960 #line 4960 "configure"
4961 #include "confdefs.h"
4963 #ifdef F77_DUMMY_MAIN
4967 int F77_DUMMY_MAIN() { return 1; }
4977 rm -f conftest.$ac_objext conftest$ac_exeext
4978 if { (eval echo "$as_me:4978: \"$ac_link\"") >&5
4979 (eval $ac_link) 2>&5
4981 echo "$as_me:4981: \$? = $ac_status" >&5
4982 (exit $ac_status); } &&
4983 { ac_try='test -s conftest$ac_exeext'
4984 { (eval echo "$as_me:4984: \"$ac_try\"") >&5
4987 echo "$as_me:4987: \$? = $ac_status" >&5
4988 (exit $ac_status); }; }; then
4989 lt_cv_cc_needs_belf=yes
4991 echo "$as_me: failed program was:" >&5
4992 cat conftest.$ac_ext >&5
4993 lt_cv_cc_needs_belf=no
4995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4997 ac_cpp='$CPP $CPPFLAGS'
4998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5003 echo "$as_me:5003: result: $lt_cv_cc_needs_belf" >&5
5004 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5005 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5006 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5007 CFLAGS="$SAVE_CFLAGS"
5014 # Sed substitution that helps us do robust quoting. It backslashifies
5015 # metacharacters that are still active within double-quoted strings.
5016 Xsed='sed -e s/^X//'
5017 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5019 # Same as above, but do not quote variable references.
5020 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5022 # Sed substitution to delay expansion of an escaped shell variable in a
5023 # double_quote_subst'ed string.
5024 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5030 default_ofile=libtool
5031 can_build_shared=yes
5033 # All known linkers require a `.a' archive for static linking (except M$VC,
5034 # which needs '.lib').
5036 ltmain="$ac_aux_dir/ltmain.sh"
5037 ofile="$default_ofile"
5038 with_gnu_ld="$lt_cv_prog_gnu_ld"
5039 need_locks="$enable_libtool_lock"
5042 old_CFLAGS="$CFLAGS"
5044 # Set sane defaults for various variables
5045 test -z "$AR" && AR=ar
5046 test -z "$AR_FLAGS" && AR_FLAGS=cru
5047 test -z "$AS" && AS=as
5048 test -z "$CC" && CC=cc
5049 test -z "$DLLTOOL" && DLLTOOL=dlltool
5050 test -z "$LD" && LD=ld
5051 test -z "$LN_S" && LN_S="ln -s"
5052 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5053 test -z "$NM" && NM=nm
5054 test -z "$OBJDUMP" && OBJDUMP=objdump
5055 test -z "$RANLIB" && RANLIB=:
5056 test -z "$STRIP" && STRIP=:
5057 test -z "$ac_objext" && ac_objext=o
5059 if test x"$host" != x"$build"; then
5060 ac_tool_prefix=${host_alias}-
5065 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
5068 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
5073 # AIX sometimes has problems with the GCC collect2 program. For some
5074 # reason, if we set the COLLECT_NAMES environment variable, the problems
5075 # vanish in a puff of smoke.
5076 if test "X${COLLECT_NAMES+set}" != Xset; then
5078 export COLLECT_NAMES
5083 # Determine commands to create old-style static archives.
5084 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5085 old_postinstall_cmds='chmod 644 $oldlib'
5086 old_postuninstall_cmds=
5088 if test -n "$RANLIB"; then
5091 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5094 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5097 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5100 # Allow CC to be a program name with arguments.
5104 echo "$as_me:5104: checking for objdir" >&5
5105 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5106 rm -f .libs 2>/dev/null
5107 mkdir .libs 2>/dev/null
5108 if test -d .libs; then
5111 # MS-DOS does not allow filenames that begin with a dot.
5114 rmdir .libs 2>/dev/null
5115 echo "$as_me:5115: result: $objdir" >&5
5116 echo "${ECHO_T}$objdir" >&6
5120 # Check whether --with-pic or --without-pic was given.
5121 if test "${with_pic+set}" = set; then
5127 test -z "$pic_mode" && pic_mode=default
5129 # We assume here that the value for lt_cv_prog_cc_pic will not be cached
5130 # in isolation, and that seeing it set (from the cache) indicates that
5131 # the associated values are set (in the cache) correctly too.
5132 echo "$as_me:5132: checking for $compiler option to produce PIC" >&5
5133 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5134 if test "${lt_cv_prog_cc_pic+set}" = set; then
5135 echo $ECHO_N "(cached) $ECHO_C" >&6
5138 lt_cv_prog_cc_shlib=
5140 lt_cv_prog_cc_static=
5141 lt_cv_prog_cc_no_builtin=
5142 lt_cv_prog_cc_can_build_shared=$can_build_shared
5144 if test "$GCC" = yes; then
5145 lt_cv_prog_cc_wl='-Wl,'
5146 lt_cv_prog_cc_static='-static'
5150 # Below there is a dirty hack to force normal static linking with -ldl
5151 # The problem is because libdl dynamically linked with both libc and
5152 # libC (AIX C++ library), which obviously doesn't included in libraries
5153 # list by gcc. This cause undefined symbols with -static flags.
5154 # This hack allows C programs to be linked with "-static -ldl", but
5155 # not sure about C++ programs.
5156 lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
5159 # FIXME: we need at least 68020 code to build shared libraries, but
5160 # adding the `-m68020' flag to GCC prevents building anything better,
5162 lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
5164 beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
5165 # PIC is the default for these OSes.
5167 darwin* | rhapsody*)
5168 # PIC is the default on this platform
5169 # Common symbols not allowed in MH_DYLIB files
5170 lt_cv_prog_cc_pic='-fno-common'
5172 cygwin* | mingw* | pw32* | os2*)
5173 # This hack is so that the source file can tell whether it is being
5174 # built for inclusion in a dll (and should export symbols for example).
5175 lt_cv_prog_cc_pic='-DDLL_EXPORT'
5178 if test -d /usr/nec; then
5179 lt_cv_prog_cc_pic=-Kconform_pic
5183 lt_cv_prog_cc_pic='-fPIC'
5187 # PORTME Check for PIC flags for the system compiler.
5189 aix3* | aix4* | aix5*)
5190 lt_cv_prog_cc_wl='-Wl,'
5191 # All AIX code is PIC.
5192 if test "$host_cpu" = ia64; then
5193 # AIX 5 now supports IA64 processor
5194 lt_cv_prog_cc_static='-Bstatic'
5196 lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
5200 hpux9* | hpux10* | hpux11*)
5201 # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
5202 lt_cv_prog_cc_wl='-Wl,'
5203 lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
5204 lt_cv_prog_cc_pic='+Z'
5208 lt_cv_prog_cc_wl='-Wl,'
5209 lt_cv_prog_cc_static='-non_shared'
5210 # PIC (with -KPIC) is the default.
5213 cygwin* | mingw* | pw32* | os2*)
5214 # This hack is so that the source file can tell whether it is being
5215 # built for inclusion in a dll (and should export symbols for example).
5216 lt_cv_prog_cc_pic='-DDLL_EXPORT'
5220 lt_cv_prog_cc_pic='-KPIC'
5221 lt_cv_prog_cc_static='-Bstatic'
5224 osf3* | osf4* | osf5*)
5225 # All OSF/1 code is PIC.
5226 lt_cv_prog_cc_wl='-Wl,'
5227 lt_cv_prog_cc_static='-non_shared'
5231 lt_cv_prog_cc_pic='-Kpic'
5232 lt_cv_prog_cc_static='-dn'
5233 lt_cv_prog_cc_shlib='-belf'
5237 lt_cv_prog_cc_pic='-KPIC'
5238 lt_cv_prog_cc_static='-Bstatic'
5239 lt_cv_prog_cc_wl='-Wl,'
5243 lt_cv_prog_cc_pic='-PIC'
5244 lt_cv_prog_cc_static='-Bstatic'
5245 lt_cv_prog_cc_wl='-Qoption ld '
5248 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5249 lt_cv_prog_cc_pic='-KPIC'
5250 lt_cv_prog_cc_static='-Bstatic'
5251 if test "x$host_vendor" = xsni; then
5252 lt_cv_prog_cc_wl='-LD'
5254 lt_cv_prog_cc_wl='-Wl,'
5259 lt_cv_prog_cc_pic='-pic'
5260 lt_cv_prog_cc_static='-Bstatic'
5264 if test -d /usr/nec ;then
5265 lt_cv_prog_cc_pic='-Kconform_pic'
5266 lt_cv_prog_cc_static='-Bstatic'
5271 lt_cv_prog_cc_can_build_shared=no
5278 if test -z "$lt_cv_prog_cc_pic"; then
5279 echo "$as_me:5279: result: none" >&5
5280 echo "${ECHO_T}none" >&6
5282 echo "$as_me:5282: result: $lt_cv_prog_cc_pic" >&5
5283 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
5285 # Check to make sure the pic_flag actually works.
5286 echo "$as_me:5286: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
5287 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
5288 if test "${lt_cv_prog_cc_pic_works+set}" = set; then
5289 echo $ECHO_N "(cached) $ECHO_C" >&6
5291 save_CFLAGS="$CFLAGS"
5292 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
5293 cat >conftest.$ac_ext <<_ACEOF
5294 #line 5294 "configure"
5295 #include "confdefs.h"
5297 #ifdef F77_DUMMY_MAIN
5301 int F77_DUMMY_MAIN() { return 1; }
5311 rm -f conftest.$ac_objext
5312 if { (eval echo "$as_me:5312: \"$ac_compile\"") >&5
5313 (eval $ac_compile) 2>&5
5315 echo "$as_me:5315: \$? = $ac_status" >&5
5316 (exit $ac_status); } &&
5317 { ac_try='test -s conftest.$ac_objext'
5318 { (eval echo "$as_me:5318: \"$ac_try\"") >&5
5321 echo "$as_me:5321: \$? = $ac_status" >&5
5322 (exit $ac_status); }; }; then
5324 hpux9* | hpux10* | hpux11*)
5325 # On HP-UX, both CC and GCC only warn that PIC is supported... then
5326 # they create non-PIC objects. So, if there were any warnings, we
5327 # assume that PIC is not supported.
5328 if test -s conftest.err; then
5329 lt_cv_prog_cc_pic_works=no
5331 lt_cv_prog_cc_pic_works=yes
5335 lt_cv_prog_cc_pic_works=yes
5340 echo "$as_me: failed program was:" >&5
5341 cat conftest.$ac_ext >&5
5342 lt_cv_prog_cc_pic_works=no
5345 rm -f conftest.$ac_objext conftest.$ac_ext
5346 CFLAGS="$save_CFLAGS"
5351 if test "X$lt_cv_prog_cc_pic_works" = Xno; then
5353 lt_cv_prog_cc_can_build_shared=no
5355 lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
5358 echo "$as_me:5358: result: $lt_cv_prog_cc_pic_works" >&5
5359 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
5362 # Check for any special shared library compilation flags.
5363 if test -n "$lt_cv_prog_cc_shlib"; then
5364 { echo "$as_me:5364: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
5365 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
5366 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
5368 { echo "$as_me:5368: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
5369 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
5370 lt_cv_prog_cc_can_build_shared=no
5374 echo "$as_me:5374: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
5375 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
5376 if test "${lt_cv_prog_cc_static_works+set}" = set; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5379 lt_cv_prog_cc_static_works=no
5380 save_LDFLAGS="$LDFLAGS"
5381 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
5382 cat >conftest.$ac_ext <<_ACEOF
5383 #line 5383 "configure"
5384 #include "confdefs.h"
5386 #ifdef F77_DUMMY_MAIN
5390 int F77_DUMMY_MAIN() { return 1; }
5400 rm -f conftest.$ac_objext conftest$ac_exeext
5401 if { (eval echo "$as_me:5401: \"$ac_link\"") >&5
5402 (eval $ac_link) 2>&5
5404 echo "$as_me:5404: \$? = $ac_status" >&5
5405 (exit $ac_status); } &&
5406 { ac_try='test -s conftest$ac_exeext'
5407 { (eval echo "$as_me:5407: \"$ac_try\"") >&5
5410 echo "$as_me:5410: \$? = $ac_status" >&5
5411 (exit $ac_status); }; }; then
5412 lt_cv_prog_cc_static_works=yes
5414 echo "$as_me: failed program was:" >&5
5415 cat conftest.$ac_ext >&5
5417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5418 LDFLAGS="$save_LDFLAGS"
5423 # Belt *and* braces to stop my trousers falling down:
5424 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
5425 echo "$as_me:5425: result: $lt_cv_prog_cc_static_works" >&5
5426 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
5428 pic_flag="$lt_cv_prog_cc_pic"
5429 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
5430 wl="$lt_cv_prog_cc_wl"
5431 link_static_flag="$lt_cv_prog_cc_static"
5432 no_builtin_flag="$lt_cv_prog_cc_no_builtin"
5433 can_build_shared="$lt_cv_prog_cc_can_build_shared"
5436 # Check to see if options -o and -c are simultaneously supported by compiler
5437 echo "$as_me:5437: checking if $compiler supports -c -o file.$ac_objext" >&5
5438 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5439 if test "${lt_cv_compiler_c_o+set}" = set; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6
5443 $rm -r conftest 2>/dev/null
5446 echo "int some_variable = 0;" > conftest.$ac_ext
5448 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
5449 # that will create temporary files in the current directory regardless of
5450 # the output directory. Thus, making CWD read-only will cause this test
5451 # to fail, enabling locking or at least warning the user not to do parallel
5454 save_CFLAGS="$CFLAGS"
5455 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5457 if { (eval echo configure:5457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5458 # The compiler can only warn and ignore the option if not recognized
5459 # So say no if there are warnings
5460 if test -s out/conftest.err; then
5461 lt_cv_compiler_c_o=no
5463 lt_cv_compiler_c_o=yes
5466 # Append any errors to the config.log.
5467 cat out/conftest.err 1>&5
5468 lt_cv_compiler_c_o=no
5470 CFLAGS="$save_CFLAGS"
5476 $rm -r conftest 2>/dev/null
5480 compiler_c_o=$lt_cv_compiler_c_o
5481 echo "$as_me:5481: result: $compiler_c_o" >&5
5482 echo "${ECHO_T}$compiler_c_o" >&6
5484 if test x"$compiler_c_o" = x"yes"; then
5485 # Check to see if we can write to a .lo
5486 echo "$as_me:5486: checking if $compiler supports -c -o file.lo" >&5
5487 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
5488 if test "${lt_cv_compiler_o_lo+set}" = set; then
5489 echo $ECHO_N "(cached) $ECHO_C" >&6
5492 lt_cv_compiler_o_lo=no
5493 save_CFLAGS="$CFLAGS"
5494 CFLAGS="$CFLAGS -c -o conftest.lo"
5495 save_objext="$ac_objext"
5497 cat >conftest.$ac_ext <<_ACEOF
5498 #line 5498 "configure"
5499 #include "confdefs.h"
5501 #ifdef F77_DUMMY_MAIN
5505 int F77_DUMMY_MAIN() { return 1; }
5510 int some_variable = 0;
5515 rm -f conftest.$ac_objext
5516 if { (eval echo "$as_me:5516: \"$ac_compile\"") >&5
5517 (eval $ac_compile) 2>&5
5519 echo "$as_me:5519: \$? = $ac_status" >&5
5520 (exit $ac_status); } &&
5521 { ac_try='test -s conftest.$ac_objext'
5522 { (eval echo "$as_me:5522: \"$ac_try\"") >&5
5525 echo "$as_me:5525: \$? = $ac_status" >&5
5526 (exit $ac_status); }; }; then
5527 # The compiler can only warn and ignore the option if not recognized
5528 # So say no if there are warnings
5529 if test -s conftest.err; then
5530 lt_cv_compiler_o_lo=no
5532 lt_cv_compiler_o_lo=yes
5536 echo "$as_me: failed program was:" >&5
5537 cat conftest.$ac_ext >&5
5539 rm -f conftest.$ac_objext conftest.$ac_ext
5540 ac_objext="$save_objext"
5541 CFLAGS="$save_CFLAGS"
5545 compiler_o_lo=$lt_cv_compiler_o_lo
5546 echo "$as_me:5546: result: $compiler_o_lo" >&5
5547 echo "${ECHO_T}$compiler_o_lo" >&6
5552 # Check to see if we can do hard links to lock some files if needed
5553 hard_links="nottested"
5554 if test "$compiler_c_o" = no && test "$need_locks" != no; then
5555 # do not overwrite the value of need_locks provided by the user
5556 echo "$as_me:5556: checking if we can lock with hard links" >&5
5557 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
5560 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5562 ln conftest.a conftest.b 2>&5 || hard_links=no
5563 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5564 echo "$as_me:5564: result: $hard_links" >&5
5565 echo "${ECHO_T}$hard_links" >&6
5566 if test "$hard_links" = no; then
5567 { echo "$as_me:5567: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5568 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5575 if test "$GCC" = yes; then
5576 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
5577 echo "$as_me:5577: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5578 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5579 echo "int some_variable = 0;" > conftest.$ac_ext
5580 save_CFLAGS="$CFLAGS"
5581 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
5582 compiler_rtti_exceptions=no
5583 cat >conftest.$ac_ext <<_ACEOF
5584 #line 5584 "configure"
5585 #include "confdefs.h"
5587 #ifdef F77_DUMMY_MAIN
5591 int F77_DUMMY_MAIN() { return 1; }
5596 int some_variable = 0;
5601 rm -f conftest.$ac_objext
5602 if { (eval echo "$as_me:5602: \"$ac_compile\"") >&5
5603 (eval $ac_compile) 2>&5
5605 echo "$as_me:5605: \$? = $ac_status" >&5
5606 (exit $ac_status); } &&
5607 { ac_try='test -s conftest.$ac_objext'
5608 { (eval echo "$as_me:5608: \"$ac_try\"") >&5
5611 echo "$as_me:5611: \$? = $ac_status" >&5
5612 (exit $ac_status); }; }; then
5613 # The compiler can only warn and ignore the option if not recognized
5614 # So say no if there are warnings
5615 if test -s conftest.err; then
5616 compiler_rtti_exceptions=no
5618 compiler_rtti_exceptions=yes
5622 echo "$as_me: failed program was:" >&5
5623 cat conftest.$ac_ext >&5
5625 rm -f conftest.$ac_objext conftest.$ac_ext
5626 CFLAGS="$save_CFLAGS"
5627 echo "$as_me:5627: result: $compiler_rtti_exceptions" >&5
5628 echo "${ECHO_T}$compiler_rtti_exceptions" >&6
5630 if test "$compiler_rtti_exceptions" = "yes"; then
5631 no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
5633 no_builtin_flag=' -fno-builtin'
5637 # See if the linker supports building shared libraries.
5638 echo "$as_me:5638: checking whether the linker ($LD) supports shared libraries" >&5
5639 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
5641 allow_undefined_flag=
5643 need_lib_prefix=unknown
5644 need_version=unknown
5645 # when you set need_version to no, make sure it does not cause -set_version
5646 # flags to be left without arguments
5648 archive_expsym_cmds=
5649 old_archive_from_new_cmds=
5650 old_archive_from_expsyms_cmds=
5651 export_dynamic_flag_spec=
5652 whole_archive_flag_spec=
5653 thread_safe_flag_spec=
5654 hardcode_into_libs=no
5655 hardcode_libdir_flag_spec=
5656 hardcode_libdir_separator=
5659 hardcode_shlibpath_var=unsupported
5661 link_all_deplibs=unknown
5662 always_export_symbols=no
5663 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
5664 # include_expsyms should be a list of space-separated symbols to be *always*
5665 # included in the symbol list
5667 # exclude_expsyms can be an egrep regular expression of symbols to exclude
5668 # it will be wrapped by ` (' and `)$', so one must not match beginning or
5669 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5670 # as well as any symbol that contains `d'.
5671 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
5672 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5673 # platforms (ab)use it in PIC code, but their linkers get confused if
5674 # the symbol is explicitly referenced. Since portable code cannot
5675 # rely on this symbol name, it's probably fine to never include it in
5676 # preloaded symbol tables.
5677 extract_expsyms_cmds=
5680 cygwin* | mingw* | pw32*)
5681 # FIXME: the MSVC++ port hasn't been tested in a loooong time
5682 # When not using gcc, we currently assume that we are using
5683 # Microsoft Visual C++.
5684 if test "$GCC" != yes; then
5694 if test "$with_gnu_ld" = yes; then
5695 # If archive_cmds runs LD, not CC, wlarc should be empty
5698 # See if GNU ld supports shared libraries.
5700 aix3* | aix4* | aix5*)
5701 # On AIX, the GNU linker is very broken
5702 # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
5706 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
5707 *** to be unable to reliably create shared libraries on AIX.
5708 *** Therefore, libtool is disabling shared libraries support. If you
5709 *** really care for shared libraries, you may want to modify your PATH
5710 *** so that a non-GNU linker is found, and then restart.
5716 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5717 hardcode_libdir_flag_spec='-L$libdir'
5718 hardcode_minus_L=yes
5720 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5721 # that the semantics of dynamic libraries on AmigaOS, at least up
5722 # to version 4, is to share data among multiple programs linked
5723 # with the same dynamic library. Since this doesn't match the
5724 # behavior of shared libraries on other platforms, we can use
5730 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5731 allow_undefined_flag=unsupported
5732 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5733 # support --undefined. This deserves some investigation. FIXME
5734 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5740 cygwin* | mingw* | pw32*)
5741 # hardcode_libdir_flag_spec is actually meaningless, as there is
5742 # no search path for DLLs.
5743 hardcode_libdir_flag_spec='-L$libdir'
5744 allow_undefined_flag=unsupported
5745 always_export_symbols=yes
5747 extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
5748 sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
5749 test -f $output_objdir/impgen.exe || (cd $output_objdir && \
5750 if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
5751 else $CC -o impgen impgen.c ; fi)~
5752 $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
5754 old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
5756 # cygwin and mingw dlls have different entry points and sets of symbols
5758 # FIXME: what about values for MSVC?
5759 dll_entry=__cygwin_dll_entry@12
5760 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
5764 dll_entry=_DllMainCRTStartup@12
5765 dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
5769 # mingw and cygwin differ, and it's simplest to just exclude the union
5770 # of the two symbol sets.
5771 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
5773 # recent cygwin and mingw systems supply a stub DllMain which the user
5774 # can override, but on older systems we have to supply one (in ltdll.c)
5775 if test "x$lt_cv_need_dllmain" = "xyes"; then
5776 ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
5777 ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
5778 test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
5784 # Extract the symbol export list from an `--export-all' def file,
5785 # then regenerate the def file from the symbol export list, so that
5786 # the compiled dll only exports the symbol export list.
5787 # Be careful not to strip the DATA tag left be newer dlltools.
5788 export_symbols_cmds="$ltdll_cmds"'
5789 $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
5790 sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
5792 # If the export-symbols file already is a .def file (1st line
5793 # is EXPORTS), use it as is.
5794 # If DATA tags from a recent dlltool are present, honour them!
5795 archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
5796 cp $export_symbols $output_objdir/$soname-def;
5798 echo EXPORTS > $output_objdir/$soname-def;
5800 cat $export_symbols | while read symbol; do
5803 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
5804 *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
5806 _lt_hint=`expr 1 + \$_lt_hint`;
5810 $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
5811 $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
5812 $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
5813 $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
5814 $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
5818 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5819 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5822 archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5823 archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5828 if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
5832 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
5833 *** create shared libraries on Solaris systems. Therefore, libtool
5834 *** is disabling shared libraries support. We urge you to upgrade GNU
5835 *** binutils to release 2.9.1 or newer. Another option is to modify
5836 *** your PATH or compiler configuration so that the native linker is
5837 *** used, and then restart.
5840 elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5841 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5842 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5849 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5852 hardcode_shlibpath_var=no
5856 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5857 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5858 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5865 if test "$ld_shlibs" = yes; then
5866 runpath_var=LD_RUN_PATH
5867 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
5868 export_dynamic_flag_spec='${wl}--export-dynamic'
5870 cygwin* | mingw* | pw32*)
5871 # dlltool doesn't understand --whole-archive et. al.
5872 whole_archive_flag_spec=
5875 # ancient GNU ld didn't support --whole-archive et. al.
5876 if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
5877 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5879 whole_archive_flag_spec=
5885 # PORTME fill in a description of your system's linker (not GNU ld)
5888 allow_undefined_flag=unsupported
5889 always_export_symbols=yes
5890 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
5891 # Note: this linker hardcodes the directories in LIBPATH if there
5892 # are no directories specified by -L.
5893 hardcode_minus_L=yes
5894 if test "$GCC" = yes && test -z "$link_static_flag"; then
5895 # Neither direct hardcoding nor static linking is supported with a
5897 hardcode_direct=unsupported
5902 if test "$host_cpu" = ia64; then
5903 # On IA64, the linker does run time linking by default, so we don't
5904 # have to do anything special.
5905 aix_use_runtimelinking=no
5906 exp_sym_flag='-Bexport'
5909 aix_use_runtimelinking=no
5911 # Test if we are trying to use run time linking or normal
5912 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5913 # need to do runtime linking.
5914 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
5915 for ld_flag in $LDFLAGS; do
5916 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
5917 aix_use_runtimelinking=yes
5923 exp_sym_flag='-bexport'
5924 no_entry_flag='-bnoentry'
5927 # When large executables or shared objects are built, AIX ld can
5928 # have problems creating the table of contents. If linking a library
5929 # or program results in "error TOC overflow" add -mminimal-toc to
5930 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5931 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5935 hardcode_libdir_separator=':'
5936 if test "$GCC" = yes; then
5937 case $host_os in aix4.[012]|aix4.[012].*)
5938 collect2name=`${CC} -print-prog-name=collect2`
5939 if test -f "$collect2name" && \
5940 strings "$collect2name" | grep resolve_lib_name >/dev/null
5942 # We have reworked collect2
5945 # We have old collect2
5946 hardcode_direct=unsupported
5947 # It fails to find uninstalled libraries when the uninstalled
5948 # path is not listed in the libpath. Setting hardcode_minus_L
5949 # to unsupported forces relinking
5950 hardcode_minus_L=yes
5951 hardcode_libdir_flag_spec='-L$libdir'
5952 hardcode_libdir_separator=
5956 shared_flag='-shared'
5959 if test "$host_cpu" = ia64; then
5960 shared_flag='${wl}-G'
5962 if test "$aix_use_runtimelinking" = yes; then
5963 shared_flag='${wl}-G'
5965 shared_flag='${wl}-bM:SRE'
5970 # It seems that -bexpall can do strange things, so it is better to
5971 # generate a list of symbols to export.
5972 always_export_symbols=yes
5973 if test "$aix_use_runtimelinking" = yes; then
5974 # Warning - without using the other runtime loading flags (-brtl),
5975 # -berok will link without error, but may produce a broken library.
5976 allow_undefined_flag='-berok'
5977 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
5978 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5980 if test "$host_cpu" = ia64; then
5981 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
5982 allow_undefined_flag="-z nodefs"
5983 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
5985 hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
5986 # Warning - without using the other run time loading flags,
5987 # -berok will link without error, but may produce a broken library.
5988 allow_undefined_flag='${wl}-berok'
5989 # This is a bit strange, but is similar to how AIX traditionally builds
5990 # it's shared libraries.
5991 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
5997 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5998 hardcode_libdir_flag_spec='-L$libdir'
5999 hardcode_minus_L=yes
6000 # see comment about different semantics on the GNU ld section
6004 cygwin* | mingw* | pw32*)
6005 # When not using gcc, we currently assume that we are using
6006 # Microsoft Visual C++.
6007 # hardcode_libdir_flag_spec is actually meaningless, as there is
6008 # no search path for DLLs.
6009 hardcode_libdir_flag_spec=' '
6010 allow_undefined_flag=unsupported
6011 # Tell ltmain to make .lib files, not .a files.
6013 # FIXME: Setting linknames here is a bad hack.
6014 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
6015 # The linker will automatically build a .lib file if we build a DLL.
6016 old_archive_from_new_cmds='true'
6017 # FIXME: Should let the user specify the lib program.
6018 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
6019 fix_srcfile_path='`cygpath -w "$srcfile"`'
6022 darwin* | rhapsody*)
6024 rhapsody* | darwin1.[012])
6025 allow_undefined_flag='-undefined suppress'
6028 allow_undefined_flag='-flat_namespace -undefined suppress'
6031 # FIXME: Relying on posixy $() will cause problems for
6032 # cross-compilation, but unfortunately the echo tests do not
6033 # yet detect zsh echo's removal of \ escapes.
6034 archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
6035 # We need to add '_' to the symbols in $export_symbols first
6036 #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
6038 hardcode_shlibpath_var=no
6039 whole_archive_flag_spec='-all_load $convenience'
6046 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6047 # support. Future versions do this automatically, but an explicit c++rt0.o
6048 # does not break anything, and helps significantly (at the cost of a little
6051 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6052 hardcode_libdir_flag_spec='-R$libdir'
6054 hardcode_shlibpath_var=no
6057 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6059 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6061 hardcode_minus_L=yes
6062 hardcode_shlibpath_var=no
6065 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6067 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6068 hardcode_libdir_flag_spec='-R$libdir'
6070 hardcode_shlibpath_var=no
6073 hpux9* | hpux10* | hpux11*)
6075 hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
6076 *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
6078 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6079 hardcode_libdir_separator=:
6081 hardcode_minus_L=yes # Not in the search PATH, but as the default
6082 # location of the library.
6083 export_dynamic_flag_spec='${wl}-E'
6087 if test "$GCC" = yes; then
6088 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6090 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6092 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6093 hardcode_libdir_separator=:
6094 link_all_deplibs=yes
6098 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6099 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6101 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6103 hardcode_libdir_flag_spec='-R$libdir'
6105 hardcode_shlibpath_var=no
6109 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6111 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6112 hardcode_libdir_separator=:
6113 hardcode_shlibpath_var=no
6118 hardcode_shlibpath_var=no
6119 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6120 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
6121 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6122 export_dynamic_flag_spec='${wl}-E'
6125 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
6126 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6127 hardcode_libdir_flag_spec='-R$libdir'
6130 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
6131 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6138 hardcode_libdir_flag_spec='-L$libdir'
6139 hardcode_minus_L=yes
6140 allow_undefined_flag=unsupported
6141 archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
6142 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6146 if test "$GCC" = yes; then
6147 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6148 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6150 allow_undefined_flag=' -expect_unresolved \*'
6151 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6153 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6154 hardcode_libdir_separator=:
6157 osf4* | osf5*) # as osf3* with the addition of -msym flag
6158 if test "$GCC" = yes; then
6159 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6160 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6161 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6163 allow_undefined_flag=' -expect_unresolved \*'
6164 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6165 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6166 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
6168 #Both c and cxx compiler support -rpath directly
6169 hardcode_libdir_flag_spec='-rpath $libdir'
6171 hardcode_libdir_separator=:
6175 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6176 hardcode_shlibpath_var=no
6177 runpath_var=LD_RUN_PATH
6178 hardcode_runpath_var=yes
6179 export_dynamic_flag_spec='${wl}-Bexport'
6183 # gcc --version < 3.0 without binutils cannot create self contained
6184 # shared libraries reliably, requiring libgcc.a to resolve some of
6185 # the object symbols generated in some cases. Libraries that use
6186 # assert need libgcc.a to resolve __eprintf, for example. Linking
6187 # a copy of libgcc.a into every shared library to guarantee resolving
6188 # such symbols causes other problems: According to Tim Van Holder
6189 # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
6190 # (to the application) exception stack for one thing.
6191 no_undefined_flag=' -z defs'
6192 if test "$GCC" = yes; then
6193 case `$CC --version 2>/dev/null` in
6197 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
6198 *** create self contained shared libraries on Solaris systems, without
6199 *** introducing a dependency on libgcc.a. Therefore, libtool is disabling
6200 *** -no-undefined support, which will at least allow you to build shared
6201 *** libraries. However, you may find that when you link such libraries
6202 *** into an application without using GCC, you have to manually add
6203 *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
6204 *** upgrade to a newer version of GCC. Another option is to rebuild your
6205 *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
6212 # $CC -shared without GNU ld will not create a library from C++
6213 # object files and a static libstdc++, better avoid it by now
6214 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6215 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6216 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6217 hardcode_libdir_flag_spec='-R$libdir'
6218 hardcode_shlibpath_var=no
6220 solaris2.[0-5] | solaris2.[0-5].*) ;;
6221 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
6222 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
6224 link_all_deplibs=yes
6228 if test "x$host_vendor" = xsequent; then
6229 # Use $CC to link under sequent, because it throws in some extra .o
6230 # files that make .init and .fini sections work.
6231 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6233 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6235 hardcode_libdir_flag_spec='-L$libdir'
6237 hardcode_minus_L=yes
6238 hardcode_shlibpath_var=no
6242 if test "x$host_vendor" = xsno; then
6243 archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
6244 hardcode_direct=yes # is this really true???
6246 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6247 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
6249 runpath_var='LD_RUN_PATH'
6250 hardcode_shlibpath_var=no
6254 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6255 hardcode_shlibpath_var=no
6256 export_dynamic_flag_spec='-Bexport'
6260 no_undefined_flag=' -z text'
6261 # $CC -shared without GNU ld will not create a library from C++
6262 # object files and a static libstdc++, better avoid it by now
6263 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6264 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6265 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6266 hardcode_libdir_flag_spec=
6267 hardcode_shlibpath_var=no
6268 runpath_var='LD_RUN_PATH'
6272 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6273 hardcode_libdir_flag_spec='-L$libdir'
6274 hardcode_shlibpath_var=no
6278 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6279 hardcode_libdir_flag_spec='-L$libdir'
6280 hardcode_shlibpath_var=no
6284 if test -d /usr/nec; then
6285 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6286 hardcode_shlibpath_var=no
6287 runpath_var=LD_RUN_PATH
6288 hardcode_runpath_var=yes
6294 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6297 hardcode_shlibpath_var=no
6298 hardcode_runpath_var=yes
6299 runpath_var=LD_RUN_PATH
6302 sysv5uw7* | unixware7*)
6303 no_undefined_flag='${wl}-z ${wl}text'
6304 if test "$GCC" = yes; then
6305 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6307 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6309 runpath_var='LD_RUN_PATH'
6310 hardcode_shlibpath_var=no
6318 echo "$as_me:6318: result: $ld_shlibs" >&5
6319 echo "${ECHO_T}$ld_shlibs" >&6
6320 test "$ld_shlibs" = no && can_build_shared=no
6322 # Check hardcoding attributes.
6323 echo "$as_me:6323: checking how to hardcode library paths into programs" >&5
6324 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6326 if test -n "$hardcode_libdir_flag_spec" || \
6327 test -n "$runpath_var"; then
6329 # We can hardcode non-existant directories.
6330 if test "$hardcode_direct" != no &&
6331 # If the only mechanism to avoid hardcoding is shlibpath_var, we
6332 # have to relink, otherwise we might link with an installed library
6333 # when we should be linking with a yet-to-be-installed one
6334 ## test "$hardcode_shlibpath_var" != no &&
6335 test "$hardcode_minus_L" != no; then
6336 # Linking always hardcodes the temporary library directory.
6337 hardcode_action=relink
6339 # We can link without hardcoding, and we can hardcode nonexisting dirs.
6340 hardcode_action=immediate
6343 # We cannot hardcode anything, or else we can only hardcode existing
6345 hardcode_action=unsupported
6347 echo "$as_me:6347: result: $hardcode_action" >&5
6348 echo "${ECHO_T}$hardcode_action" >&6
6352 echo "$as_me:6352: checking whether stripping libraries is possible" >&5
6353 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6354 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6355 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6356 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6357 echo "$as_me:6357: result: yes" >&5
6358 echo "${ECHO_T}yes" >&6
6360 echo "$as_me:6360: result: no" >&5
6361 echo "${ECHO_T}no" >&6
6364 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6365 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6367 # PORTME Fill in your ld.so characteristics
6368 echo "$as_me:6368: checking dynamic linker characteristics" >&5
6369 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6371 libname_spec='lib$name'
6378 shlibpath_overrides_runpath=unknown
6380 dynamic_linker="$host_os ld.so"
6381 sys_lib_dlsearch_path_spec="/lib /usr/lib"
6382 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6387 library_names_spec='${libname}${release}.so$versuffix $libname.a'
6388 shlibpath_var=LIBPATH
6390 # AIX has no versioning support, so we append a major version to the name.
6391 soname_spec='${libname}${release}.so$major'
6396 if test "$host_cpu" = ia64; then
6397 # AIX 5 supports IA64
6398 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
6399 shlibpath_var=LD_LIBRARY_PATH
6401 # With GCC up to 2.95.x, collect2 would create an import file
6402 # for dependence libraries. The import file would start with
6403 # the line `#! .'. This would cause the generated library to
6404 # depend on `.', always an invalid library. This was fixed in
6405 # development snapshots of GCC prior to 3.0.
6407 aix4 | aix4.[01] | aix4.[01].*)
6408 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6410 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6417 # AIX (on Power*) has no versioning support, so currently we can
6418 # not hardcode correct soname into executable. Probably we can
6419 # add versioning support to collect2, so additional links can
6420 # be useful in future.
6421 if test "$aix_use_runtimelinking" = yes; then
6422 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6423 # instead of lib<name>.a to let people know that these are not
6424 # typical AIX shared libraries.
6425 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6427 # We preserve .a as extension for shared libraries through AIX4.2
6428 # and later when we are not doing run time linking.
6429 library_names_spec='${libname}${release}.a $libname.a'
6430 soname_spec='${libname}${release}.so$major'
6432 shlibpath_var=LIBPATH
6437 library_names_spec='$libname.ixlibrary $libname.a'
6438 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6439 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
6443 library_names_spec='${libname}.so'
6444 dynamic_linker="$host_os ld.so"
6445 shlibpath_var=LIBRARY_PATH
6451 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6452 soname_spec='${libname}${release}.so$major'
6453 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6454 shlibpath_var=LD_LIBRARY_PATH
6455 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6456 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6457 export_dynamic_flag_spec=-rdynamic
6458 # the default ld.so.conf also contains /usr/contrib/lib and
6459 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6460 # libtool to hard-code these into programs
6463 cygwin* | mingw* | pw32*)
6464 version_type=windows
6467 case $GCC,$host_os in
6469 library_names_spec='$libname.dll.a'
6470 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6471 postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
6472 dldir=$destdir/`dirname \$dlpath`~
6473 test -d \$dldir || mkdir -p \$dldir~
6474 $install_prog .libs/$dlname \$dldir/$dlname'
6475 postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
6476 dlpath=$dir/\$dldll~
6480 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6481 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
6484 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
6487 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
6490 dynamic_linker='Win32 ld.exe'
6491 # FIXME: first we should search . and the directory the executable is in
6495 darwin* | rhapsody*)
6496 dynamic_linker="$host_os dyld"
6500 # FIXME: Relying on posixy $() will cause problems for
6501 # cross-compilation, but unfortunately the echo tests do not
6502 # yet detect zsh echo's removal of \ escapes.
6503 library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
6504 soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
6505 shlibpath_overrides_runpath=yes
6506 shlibpath_var=DYLD_LIBRARY_PATH
6514 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6515 version_type=freebsd-$objformat
6516 case $version_type in
6518 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
6523 library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
6527 shlibpath_var=LD_LIBRARY_PATH
6530 shlibpath_overrides_runpath=yes
6533 shlibpath_overrides_runpath=no
6534 hardcode_into_libs=yes
6543 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
6544 soname_spec='${libname}${release}.so$major'
6545 shlibpath_var=LD_LIBRARY_PATH
6546 hardcode_into_libs=yes
6549 hpux9* | hpux10* | hpux11*)
6550 # Give a soname corresponding to the major version so that dld.sl refuses to
6551 # link against other versions.
6552 dynamic_linker="$host_os dld.sl"
6556 shlibpath_var=SHLIB_PATH
6557 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6558 library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
6559 soname_spec='${libname}${release}.sl$major'
6560 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6561 postinstall_cmds='chmod 555 $lib'
6568 soname_spec='${libname}${release}.so$major'
6569 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
6575 case $LD in # libtool.m4 will add one of these switches to LD
6576 *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
6577 *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
6578 *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
6579 *) libsuff= shlibsuff= libmagic=never-match;;
6583 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6584 shlibpath_overrides_runpath=no
6585 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6586 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6589 # No shared lib support for Linux oldld, aout, or coff.
6590 linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
6594 # This must be Linux ELF.
6599 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6600 soname_spec='${libname}${release}.so$major'
6601 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6602 shlibpath_var=LD_LIBRARY_PATH
6603 shlibpath_overrides_runpath=no
6604 # This implies no fast_install, which is unacceptable.
6605 # Some rework will be needed to allow for fast_install
6606 # before this can be enabled.
6607 hardcode_into_libs=yes
6609 # We used to test for /lib/ld.so.1 and disable shared libraries on
6610 # powerpc, because MkLinux only supported shared libraries with the
6611 # GNU dynamic linker. Since this was broken with cross compilers,
6612 # most powerpc-linux boxes support dynamic linking these days and
6613 # people can always --disable-shared, the test was removed, and we
6614 # assume the GNU/Linux dynamic linker is in use.
6615 dynamic_linker='GNU/Linux ld.so'
6622 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6623 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6624 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6625 dynamic_linker='NetBSD (a.out) ld.so'
6627 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
6628 soname_spec='${libname}${release}.so$major'
6629 dynamic_linker='NetBSD ld.elf_so'
6631 shlibpath_var=LD_LIBRARY_PATH
6632 shlibpath_overrides_runpath=yes
6633 hardcode_into_libs=yes
6638 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6639 shlibpath_var=LD_LIBRARY_PATH
6640 shlibpath_overrides_runpath=yes
6647 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6649 openbsd2.[89] | openbsd2.[89].*)
6650 shlibpath_overrides_runpath=no
6653 shlibpath_overrides_runpath=yes
6657 shlibpath_overrides_runpath=yes
6659 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6660 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6661 shlibpath_var=LD_LIBRARY_PATH
6665 libname_spec='$name'
6667 library_names_spec='$libname.dll $libname.a'
6668 dynamic_linker='OS/2 ld.exe'
6669 shlibpath_var=LIBPATH
6672 osf3* | osf4* | osf5*)
6675 soname_spec='${libname}${release}.so'
6676 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
6677 shlibpath_var=LD_LIBRARY_PATH
6678 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6679 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6684 soname_spec='${libname}${release}.so$major'
6685 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6686 shlibpath_var=LD_LIBRARY_PATH
6693 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6694 soname_spec='${libname}${release}.so$major'
6695 shlibpath_var=LD_LIBRARY_PATH
6696 shlibpath_overrides_runpath=yes
6697 hardcode_into_libs=yes
6698 # ldd complains unless libraries are executable
6699 postinstall_cmds='chmod +x $lib'
6704 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6705 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6706 shlibpath_var=LD_LIBRARY_PATH
6707 shlibpath_overrides_runpath=yes
6708 if test "$with_gnu_ld" = yes; then
6714 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6716 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6717 soname_spec='${libname}${release}.so$major'
6718 shlibpath_var=LD_LIBRARY_PATH
6719 case $host_vendor in
6721 shlibpath_overrides_runpath=no
6726 shlibpath_overrides_runpath=no
6727 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6734 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6735 soname_spec='${libname}${release}.so$major'
6736 shlibpath_var=LD_LIBRARY_PATH
6743 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6744 soname_spec='${libname}${release}.so$major'
6745 shlibpath_var=LD_LIBRARY_PATH
6749 if test -d /usr/nec ;then
6751 library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
6752 soname_spec='$libname.so.$major'
6753 shlibpath_var=LD_LIBRARY_PATH
6761 echo "$as_me:6761: result: $dynamic_linker" >&5
6762 echo "${ECHO_T}$dynamic_linker" >&6
6763 test "$dynamic_linker" = no && can_build_shared=no
6765 # Report the final consequences.
6766 echo "$as_me:6766: checking if libtool supports shared libraries" >&5
6767 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
6768 echo "$as_me:6768: result: $can_build_shared" >&5
6769 echo "${ECHO_T}$can_build_shared" >&6
6771 echo "$as_me:6771: checking whether to build shared libraries" >&5
6772 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
6773 test "$can_build_shared" = "no" && enable_shared=no
6775 # On AIX, shared libraries and static libraries use the same namespace, and
6776 # are all built from PIC.
6779 test "$enable_shared" = yes && enable_static=no
6780 if test -n "$RANLIB"; then
6781 archive_cmds="$archive_cmds~\$RANLIB \$lib"
6782 postinstall_cmds='$RANLIB $lib'
6787 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6788 test "$enable_shared" = yes && enable_static=no
6792 echo "$as_me:6792: result: $enable_shared" >&5
6793 echo "${ECHO_T}$enable_shared" >&6
6795 echo "$as_me:6795: checking whether to build static libraries" >&5
6796 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
6797 # Make sure either enable_shared or enable_static is yes.
6798 test "$enable_shared" = yes || enable_static=yes
6799 echo "$as_me:6799: result: $enable_static" >&5
6800 echo "${ECHO_T}$enable_static" >&6
6802 if test "$hardcode_action" = relink; then
6803 # Fast installation is not supported
6804 enable_fast_install=no
6805 elif test "$shlibpath_overrides_runpath" = yes ||
6806 test "$enable_shared" = no; then
6807 # Fast installation is not necessary
6808 enable_fast_install=needless
6811 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6812 if test "$GCC" = yes; then
6813 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6816 if test "x$enable_dlopen" != xyes; then
6817 enable_dlopen=unknown
6818 enable_dlopen_self=unknown
6819 enable_dlopen_self_static=unknown
6826 lt_cv_dlopen="load_add_on"
6828 lt_cv_dlopen_self=yes
6831 cygwin* | mingw* | pw32*)
6832 lt_cv_dlopen="LoadLibrary"
6837 echo "$as_me:6837: checking for shl_load" >&5
6838 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
6839 if test "${ac_cv_func_shl_load+set}" = set; then
6840 echo $ECHO_N "(cached) $ECHO_C" >&6
6842 cat >conftest.$ac_ext <<_ACEOF
6843 #line 6843 "configure"
6844 #include "confdefs.h"
6845 /* System header to define __stub macros and hopefully few prototypes,
6846 which can conflict with char shl_load (); below. */
6848 /* Override any gcc2 internal prototype to avoid an error. */
6852 /* We use char because int might match the return type of a gcc2
6853 builtin and then its argument prototype would still apply. */
6857 #ifdef F77_DUMMY_MAIN
6861 int F77_DUMMY_MAIN() { return 1; }
6866 /* The GNU C library defines this for functions which it implements
6867 to always fail with ENOSYS. Some functions are actually named
6868 something starting with __ and the normal name is an alias. */
6869 #if defined (__stub_shl_load) || defined (__stub___shl_load)
6879 rm -f conftest.$ac_objext conftest$ac_exeext
6880 if { (eval echo "$as_me:6880: \"$ac_link\"") >&5
6881 (eval $ac_link) 2>&5
6883 echo "$as_me:6883: \$? = $ac_status" >&5
6884 (exit $ac_status); } &&
6885 { ac_try='test -s conftest$ac_exeext'
6886 { (eval echo "$as_me:6886: \"$ac_try\"") >&5
6889 echo "$as_me:6889: \$? = $ac_status" >&5
6890 (exit $ac_status); }; }; then
6891 ac_cv_func_shl_load=yes
6893 echo "$as_me: failed program was:" >&5
6894 cat conftest.$ac_ext >&5
6895 ac_cv_func_shl_load=no
6897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6899 echo "$as_me:6899: result: $ac_cv_func_shl_load" >&5
6900 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
6901 if test $ac_cv_func_shl_load = yes; then
6902 lt_cv_dlopen="shl_load"
6904 echo "$as_me:6904: checking for shl_load in -ldld" >&5
6905 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
6906 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
6907 echo $ECHO_N "(cached) $ECHO_C" >&6
6909 ac_check_lib_save_LIBS=$LIBS
6911 cat >conftest.$ac_ext <<_ACEOF
6912 #line 6912 "configure"
6913 #include "confdefs.h"
6915 /* Override any gcc2 internal prototype to avoid an error. */
6919 /* We use char because int might match the return type of a gcc2
6920 builtin and then its argument prototype would still apply. */
6922 #ifdef F77_DUMMY_MAIN
6926 int F77_DUMMY_MAIN() { return 1; }
6936 rm -f conftest.$ac_objext conftest$ac_exeext
6937 if { (eval echo "$as_me:6937: \"$ac_link\"") >&5
6938 (eval $ac_link) 2>&5
6940 echo "$as_me:6940: \$? = $ac_status" >&5
6941 (exit $ac_status); } &&
6942 { ac_try='test -s conftest$ac_exeext'
6943 { (eval echo "$as_me:6943: \"$ac_try\"") >&5
6946 echo "$as_me:6946: \$? = $ac_status" >&5
6947 (exit $ac_status); }; }; then
6948 ac_cv_lib_dld_shl_load=yes
6950 echo "$as_me: failed program was:" >&5
6951 cat conftest.$ac_ext >&5
6952 ac_cv_lib_dld_shl_load=no
6954 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6955 LIBS=$ac_check_lib_save_LIBS
6957 echo "$as_me:6957: result: $ac_cv_lib_dld_shl_load" >&5
6958 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
6959 if test $ac_cv_lib_dld_shl_load = yes; then
6960 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
6962 echo "$as_me:6962: checking for dlopen" >&5
6963 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
6964 if test "${ac_cv_func_dlopen+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 cat >conftest.$ac_ext <<_ACEOF
6968 #line 6968 "configure"
6969 #include "confdefs.h"
6970 /* System header to define __stub macros and hopefully few prototypes,
6971 which can conflict with char dlopen (); below. */
6973 /* Override any gcc2 internal prototype to avoid an error. */
6977 /* We use char because int might match the return type of a gcc2
6978 builtin and then its argument prototype would still apply. */
6982 #ifdef F77_DUMMY_MAIN
6986 int F77_DUMMY_MAIN() { return 1; }
6991 /* The GNU C library defines this for functions which it implements
6992 to always fail with ENOSYS. Some functions are actually named
6993 something starting with __ and the normal name is an alias. */
6994 #if defined (__stub_dlopen) || defined (__stub___dlopen)
7004 rm -f conftest.$ac_objext conftest$ac_exeext
7005 if { (eval echo "$as_me:7005: \"$ac_link\"") >&5
7006 (eval $ac_link) 2>&5
7008 echo "$as_me:7008: \$? = $ac_status" >&5
7009 (exit $ac_status); } &&
7010 { ac_try='test -s conftest$ac_exeext'
7011 { (eval echo "$as_me:7011: \"$ac_try\"") >&5
7014 echo "$as_me:7014: \$? = $ac_status" >&5
7015 (exit $ac_status); }; }; then
7016 ac_cv_func_dlopen=yes
7018 echo "$as_me: failed program was:" >&5
7019 cat conftest.$ac_ext >&5
7020 ac_cv_func_dlopen=no
7022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7024 echo "$as_me:7024: result: $ac_cv_func_dlopen" >&5
7025 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7026 if test $ac_cv_func_dlopen = yes; then
7027 lt_cv_dlopen="dlopen"
7029 echo "$as_me:7029: checking for dlopen in -ldl" >&5
7030 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7031 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 ac_check_lib_save_LIBS=$LIBS
7036 cat >conftest.$ac_ext <<_ACEOF
7037 #line 7037 "configure"
7038 #include "confdefs.h"
7040 /* Override any gcc2 internal prototype to avoid an error. */
7044 /* We use char because int might match the return type of a gcc2
7045 builtin and then its argument prototype would still apply. */
7047 #ifdef F77_DUMMY_MAIN
7051 int F77_DUMMY_MAIN() { return 1; }
7061 rm -f conftest.$ac_objext conftest$ac_exeext
7062 if { (eval echo "$as_me:7062: \"$ac_link\"") >&5
7063 (eval $ac_link) 2>&5
7065 echo "$as_me:7065: \$? = $ac_status" >&5
7066 (exit $ac_status); } &&
7067 { ac_try='test -s conftest$ac_exeext'
7068 { (eval echo "$as_me:7068: \"$ac_try\"") >&5
7071 echo "$as_me:7071: \$? = $ac_status" >&5
7072 (exit $ac_status); }; }; then
7073 ac_cv_lib_dl_dlopen=yes
7075 echo "$as_me: failed program was:" >&5
7076 cat conftest.$ac_ext >&5
7077 ac_cv_lib_dl_dlopen=no
7079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7080 LIBS=$ac_check_lib_save_LIBS
7082 echo "$as_me:7082: result: $ac_cv_lib_dl_dlopen" >&5
7083 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7084 if test $ac_cv_lib_dl_dlopen = yes; then
7085 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7087 echo "$as_me:7087: checking for dlopen in -lsvld" >&5
7088 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7089 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7090 echo $ECHO_N "(cached) $ECHO_C" >&6
7092 ac_check_lib_save_LIBS=$LIBS
7094 cat >conftest.$ac_ext <<_ACEOF
7095 #line 7095 "configure"
7096 #include "confdefs.h"
7098 /* Override any gcc2 internal prototype to avoid an error. */
7102 /* We use char because int might match the return type of a gcc2
7103 builtin and then its argument prototype would still apply. */
7105 #ifdef F77_DUMMY_MAIN
7109 int F77_DUMMY_MAIN() { return 1; }
7119 rm -f conftest.$ac_objext conftest$ac_exeext
7120 if { (eval echo "$as_me:7120: \"$ac_link\"") >&5
7121 (eval $ac_link) 2>&5
7123 echo "$as_me:7123: \$? = $ac_status" >&5
7124 (exit $ac_status); } &&
7125 { ac_try='test -s conftest$ac_exeext'
7126 { (eval echo "$as_me:7126: \"$ac_try\"") >&5
7129 echo "$as_me:7129: \$? = $ac_status" >&5
7130 (exit $ac_status); }; }; then
7131 ac_cv_lib_svld_dlopen=yes
7133 echo "$as_me: failed program was:" >&5
7134 cat conftest.$ac_ext >&5
7135 ac_cv_lib_svld_dlopen=no
7137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7138 LIBS=$ac_check_lib_save_LIBS
7140 echo "$as_me:7140: result: $ac_cv_lib_svld_dlopen" >&5
7141 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7142 if test $ac_cv_lib_svld_dlopen = yes; then
7143 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
7145 echo "$as_me:7145: checking for dld_link in -ldld" >&5
7146 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
7147 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
7148 echo $ECHO_N "(cached) $ECHO_C" >&6
7150 ac_check_lib_save_LIBS=$LIBS
7152 cat >conftest.$ac_ext <<_ACEOF
7153 #line 7153 "configure"
7154 #include "confdefs.h"
7156 /* Override any gcc2 internal prototype to avoid an error. */
7160 /* We use char because int might match the return type of a gcc2
7161 builtin and then its argument prototype would still apply. */
7163 #ifdef F77_DUMMY_MAIN
7167 int F77_DUMMY_MAIN() { return 1; }
7177 rm -f conftest.$ac_objext conftest$ac_exeext
7178 if { (eval echo "$as_me:7178: \"$ac_link\"") >&5
7179 (eval $ac_link) 2>&5
7181 echo "$as_me:7181: \$? = $ac_status" >&5
7182 (exit $ac_status); } &&
7183 { ac_try='test -s conftest$ac_exeext'
7184 { (eval echo "$as_me:7184: \"$ac_try\"") >&5
7187 echo "$as_me:7187: \$? = $ac_status" >&5
7188 (exit $ac_status); }; }; then
7189 ac_cv_lib_dld_dld_link=yes
7191 echo "$as_me: failed program was:" >&5
7192 cat conftest.$ac_ext >&5
7193 ac_cv_lib_dld_dld_link=no
7195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7196 LIBS=$ac_check_lib_save_LIBS
7198 echo "$as_me:7198: result: $ac_cv_lib_dld_dld_link" >&5
7199 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
7200 if test $ac_cv_lib_dld_dld_link = yes; then
7201 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
7222 if test "x$lt_cv_dlopen" != xno; then
7228 case $lt_cv_dlopen in
7230 save_CPPFLAGS="$CPPFLAGS"
7231 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
7233 save_LDFLAGS="$LDFLAGS"
7234 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
7237 LIBS="$lt_cv_dlopen_libs $LIBS"
7239 echo "$as_me:7239: checking whether a program can dlopen itself" >&5
7240 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
7241 if test "${lt_cv_dlopen_self+set}" = set; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 if test "$cross_compiling" = yes; then :
7245 lt_cv_dlopen_self=cross
7247 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7248 lt_status=$lt_dlunknown
7249 cat > conftest.$ac_ext <<EOF
7250 #line 7250 "configure"
7251 #include "confdefs.h"
7260 # define LT_DLGLOBAL RTLD_GLOBAL
7263 # define LT_DLGLOBAL DL_GLOBAL
7265 # define LT_DLGLOBAL 0
7269 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7270 find out it does not work in some platform. */
7271 #ifndef LT_DLLAZY_OR_NOW
7273 # define LT_DLLAZY_OR_NOW RTLD_LAZY
7276 # define LT_DLLAZY_OR_NOW DL_LAZY
7279 # define LT_DLLAZY_OR_NOW RTLD_NOW
7282 # define LT_DLLAZY_OR_NOW DL_NOW
7284 # define LT_DLLAZY_OR_NOW 0
7292 extern "C" void exit (int);
7295 void fnord() { int i=42;}
7298 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7299 int status = $lt_dlunknown;
7303 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7304 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7305 /* dlclose (self); */
7311 if { (eval echo "$as_me:7311: \"$ac_link\"") >&5
7312 (eval $ac_link) 2>&5
7314 echo "$as_me:7314: \$? = $ac_status" >&5
7315 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7316 (./conftest; exit; ) 2>/dev/null
7319 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
7320 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
7321 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
7324 # compilation failed
7325 lt_cv_dlopen_self=no
7332 echo "$as_me:7332: result: $lt_cv_dlopen_self" >&5
7333 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
7335 if test "x$lt_cv_dlopen_self" = xyes; then
7336 LDFLAGS="$LDFLAGS $link_static_flag"
7337 echo "$as_me:7337: checking whether a statically linked program can dlopen itself" >&5
7338 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
7339 if test "${lt_cv_dlopen_self_static+set}" = set; then
7340 echo $ECHO_N "(cached) $ECHO_C" >&6
7342 if test "$cross_compiling" = yes; then :
7343 lt_cv_dlopen_self_static=cross
7345 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7346 lt_status=$lt_dlunknown
7347 cat > conftest.$ac_ext <<EOF
7348 #line 7348 "configure"
7349 #include "confdefs.h"
7358 # define LT_DLGLOBAL RTLD_GLOBAL
7361 # define LT_DLGLOBAL DL_GLOBAL
7363 # define LT_DLGLOBAL 0
7367 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7368 find out it does not work in some platform. */
7369 #ifndef LT_DLLAZY_OR_NOW
7371 # define LT_DLLAZY_OR_NOW RTLD_LAZY
7374 # define LT_DLLAZY_OR_NOW DL_LAZY
7377 # define LT_DLLAZY_OR_NOW RTLD_NOW
7380 # define LT_DLLAZY_OR_NOW DL_NOW
7382 # define LT_DLLAZY_OR_NOW 0
7390 extern "C" void exit (int);
7393 void fnord() { int i=42;}
7396 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7397 int status = $lt_dlunknown;
7401 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7402 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7403 /* dlclose (self); */
7409 if { (eval echo "$as_me:7409: \"$ac_link\"") >&5
7410 (eval $ac_link) 2>&5
7412 echo "$as_me:7412: \$? = $ac_status" >&5
7413 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7414 (./conftest; exit; ) 2>/dev/null
7417 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
7418 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
7419 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
7422 # compilation failed
7423 lt_cv_dlopen_self_static=no
7430 echo "$as_me:7430: result: $lt_cv_dlopen_self_static" >&5
7431 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
7434 CPPFLAGS="$save_CPPFLAGS"
7435 LDFLAGS="$save_LDFLAGS"
7440 case $lt_cv_dlopen_self in
7441 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
7442 *) enable_dlopen_self=unknown ;;
7445 case $lt_cv_dlopen_self_static in
7446 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
7447 *) enable_dlopen_self_static=unknown ;;
7452 if test "$enable_shared" = yes && test "$GCC" = yes; then
7453 case $archive_cmds in
7455 # FIXME: we may have to deal with multi-command sequences.
7458 # Test whether the compiler implicitly links with -lc since on some
7459 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7460 # to ld, don't add -lc before -lgcc.
7461 echo "$as_me:7461: checking whether -lc should be explicitly linked in" >&5
7462 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7463 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
7464 echo $ECHO_N "(cached) $ECHO_C" >&6
7467 echo 'static int dummy;' > conftest.$ac_ext
7469 if { (eval echo "$as_me:7469: \"$ac_compile\"") >&5
7470 (eval $ac_compile) 2>&5
7472 echo "$as_me:7472: \$? = $ac_status" >&5
7473 (exit $ac_status); }; then
7476 libobjs=conftest.$ac_objext
7478 wl=$lt_cv_prog_cc_wl
7484 save_allow_undefined_flag=$allow_undefined_flag
7485 allow_undefined_flag=
7486 if { (eval echo "$as_me:7486: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7487 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7489 echo "$as_me:7489: \$? = $ac_status" >&5
7490 (exit $ac_status); }
7492 lt_cv_archive_cmds_need_lc=no
7494 lt_cv_archive_cmds_need_lc=yes
7496 allow_undefined_flag=$save_allow_undefined_flag
7498 cat conftest.err 1>&5
7502 echo "$as_me:7502: result: $lt_cv_archive_cmds_need_lc" >&5
7503 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
7507 need_lc=${lt_cv_archive_cmds_need_lc-yes}
7509 # The second clause should only fire when bootstrapping the
7510 # libtool distribution, otherwise you forgot to ship ltmain.sh
7511 # with your package, and you will get complaints that there are
7512 # no rules to generate ltmain.sh.
7513 if test -f "$ltmain"; then
7516 # If there is no Makefile yet, we rely on a make rule to execute
7517 # `config.status --recheck' to rerun these tests and create the
7518 # libtool script then.
7519 test -f Makefile && make "$ltmain"
7522 if test -f "$ltmain"; then
7523 trap "$rm \"${ofile}T\"; exit 1" 1 2 15
7526 echo creating $ofile
7528 # Now quote all the things that may contain metacharacters while being
7529 # careful not to overquote the AC_SUBSTed values. We take copies of the
7530 # variables and quote the copies for generation of the libtool script.
7531 for var in echo old_CC old_CFLAGS \
7532 AR AR_FLAGS CC LD LN_S NM SHELL \
7533 reload_flag reload_cmds wl \
7534 pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
7535 thread_safe_flag_spec whole_archive_flag_spec libname_spec \
7536 library_names_spec soname_spec \
7537 RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
7538 old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
7539 postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
7540 old_striplib striplib file_magic_cmd export_symbols_cmds \
7541 deplibs_check_method allow_undefined_flag no_undefined_flag \
7542 finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
7543 global_symbol_to_c_name_address \
7544 hardcode_libdir_flag_spec hardcode_libdir_separator \
7545 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
7546 compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
7549 reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
7550 old_postinstall_cmds | old_postuninstall_cmds | \
7551 export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
7552 extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
7553 postinstall_cmds | postuninstall_cmds | \
7554 finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
7555 # Double-quote double-evaled strings.
7556 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
7559 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
7564 cat <<__EOF__ > "${ofile}T"
7567 # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
7568 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
7569 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
7571 # Copyright (C) 1996-2000 Free Software Foundation, Inc.
7572 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
7574 # This program is free software; you can redistribute it and/or modify
7575 # it under the terms of the GNU General Public License as published by
7576 # the Free Software Foundation; either version 2 of the License, or
7577 # (at your option) any later version.
7579 # This program is distributed in the hope that it will be useful, but
7580 # WITHOUT ANY WARRANTY; without even the implied warranty of
7581 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7582 # General Public License for more details.
7584 # You should have received a copy of the GNU General Public License
7585 # along with this program; if not, write to the Free Software
7586 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
7588 # As a special exception to the GNU General Public License, if you
7589 # distribute this file as part of a program that contains a
7590 # configuration script generated by Autoconf, you may include it under
7591 # the same distribution terms that you use for the rest of that program.
7593 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
7594 Xsed="sed -e s/^X//"
7596 # The HP-UX ksh and POSIX shell print the target directory to stdout
7598 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
7600 # ### BEGIN LIBTOOL CONFIG
7602 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7604 # Shell to use when invoking shell scripts.
7607 # Whether or not to build shared libraries.
7608 build_libtool_libs=$enable_shared
7610 # Whether or not to build static libraries.
7611 build_old_libs=$enable_static
7613 # Whether or not to add -lc for building shared libraries.
7614 build_libtool_need_lc=$need_lc
7616 # Whether or not to optimize for fast installation.
7617 fast_install=$enable_fast_install
7620 host_alias=$host_alias
7623 # An echo program that does not interpret backslashes.
7628 AR_FLAGS=$lt_AR_FLAGS
7630 # The default C compiler.
7633 # Is the compiler the GNU C compiler?
7636 # The linker used to build libraries.
7639 # Whether we need hard or soft links.
7642 # A BSD-compatible nm program.
7645 # A symbol stripping program
7648 # Used to examine libraries when file_magic_cmd begins "file"
7649 MAGIC_CMD=$MAGIC_CMD
7651 # Used on cygwin: DLL creation program.
7654 # Used on cygwin: object dumper.
7657 # Used on cygwin: assembler.
7660 # The name of the directory that contains temporary libtool files.
7663 # How to create reloadable object files.
7664 reload_flag=$lt_reload_flag
7665 reload_cmds=$lt_reload_cmds
7667 # How to pass a linker flag through the compiler.
7670 # Object file suffix (normally "o").
7673 # Old archive suffix (normally "a").
7676 # Executable file suffix (normally "").
7679 # Additional compiler flags for building library objects.
7680 pic_flag=$lt_pic_flag
7683 # Does compiler simultaneously support -c and -o options?
7684 compiler_c_o=$lt_compiler_c_o
7686 # Can we write directly to a .lo ?
7687 compiler_o_lo=$lt_compiler_o_lo
7689 # Must we lock files when doing compilation ?
7690 need_locks=$lt_need_locks
7692 # Do we need the lib prefix for modules?
7693 need_lib_prefix=$need_lib_prefix
7695 # Do we need a version for libraries?
7696 need_version=$need_version
7698 # Whether dlopen is supported.
7699 dlopen_support=$enable_dlopen
7701 # Whether dlopen of programs is supported.
7702 dlopen_self=$enable_dlopen_self
7704 # Whether dlopen of statically linked programs is supported.
7705 dlopen_self_static=$enable_dlopen_self_static
7707 # Compiler flag to prevent dynamic linking.
7708 link_static_flag=$lt_link_static_flag
7710 # Compiler flag to turn off builtin functions.
7711 no_builtin_flag=$lt_no_builtin_flag
7713 # Compiler flag to allow reflexive dlopens.
7714 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
7716 # Compiler flag to generate shared objects directly from archives.
7717 whole_archive_flag_spec=$lt_whole_archive_flag_spec
7719 # Compiler flag to generate thread-safe objects.
7720 thread_safe_flag_spec=$lt_thread_safe_flag_spec
7722 # Library versioning type.
7723 version_type=$version_type
7725 # Format of library name prefix.
7726 libname_spec=$lt_libname_spec
7728 # List of archive names. First name is the real one, the rest are links.
7729 # The last name is the one that the linker finds with -lNAME.
7730 library_names_spec=$lt_library_names_spec
7732 # The coded name of the library, if different from the real name.
7733 soname_spec=$lt_soname_spec
7735 # Commands used to build and install an old-style archive.
7737 old_archive_cmds=$lt_old_archive_cmds
7738 old_postinstall_cmds=$lt_old_postinstall_cmds
7739 old_postuninstall_cmds=$lt_old_postuninstall_cmds
7741 # Create an old-style archive from a shared archive.
7742 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
7744 # Create a temporary old-style archive to link instead of a shared archive.
7745 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
7747 # Commands used to build and install a shared archive.
7748 archive_cmds=$lt_archive_cmds
7749 archive_expsym_cmds=$lt_archive_expsym_cmds
7750 postinstall_cmds=$lt_postinstall_cmds
7751 postuninstall_cmds=$lt_postuninstall_cmds
7753 # Commands to strip libraries.
7754 old_striplib=$lt_old_striplib
7755 striplib=$lt_striplib
7757 # Method to check whether dependent libraries are shared objects.
7758 deplibs_check_method=$lt_deplibs_check_method
7760 # Command to use when deplibs_check_method == file_magic.
7761 file_magic_cmd=$lt_file_magic_cmd
7763 # Flag that allows shared libraries with undefined symbols to be built.
7764 allow_undefined_flag=$lt_allow_undefined_flag
7766 # Flag that forces no undefined symbols.
7767 no_undefined_flag=$lt_no_undefined_flag
7769 # Commands used to finish a libtool library installation in a directory.
7770 finish_cmds=$lt_finish_cmds
7772 # Same as above, but a single script fragment to be evaled but not shown.
7773 finish_eval=$lt_finish_eval
7775 # Take the output of nm and produce a listing of raw symbols and C names.
7776 global_symbol_pipe=$lt_global_symbol_pipe
7778 # Transform the output of nm in a proper C declaration
7779 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
7781 # Transform the output of nm in a C name address pair
7782 global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
7784 # This is the shared library runtime path variable.
7785 runpath_var=$runpath_var
7787 # This is the shared library path variable.
7788 shlibpath_var=$shlibpath_var
7790 # Is shlibpath searched before the hard-coded library search path?
7791 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
7793 # How to hardcode a shared library path into an executable.
7794 hardcode_action=$hardcode_action
7796 # Whether we should hardcode library paths into libraries.
7797 hardcode_into_libs=$hardcode_into_libs
7799 # Flag to hardcode \$libdir into a binary during linking.
7800 # This must work even if \$libdir does not exist.
7801 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
7803 # Whether we need a single -rpath flag with a separated argument.
7804 hardcode_libdir_separator=$lt_hardcode_libdir_separator
7806 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
7808 hardcode_direct=$hardcode_direct
7810 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
7812 hardcode_minus_L=$hardcode_minus_L
7814 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
7815 # the resulting binary.
7816 hardcode_shlibpath_var=$hardcode_shlibpath_var
7818 # Variables whose values should be saved in libtool wrapper scripts and
7819 # restored at relink time.
7820 variables_saved_for_relink="$variables_saved_for_relink"
7822 # Whether libtool must link a program against all its dependency libraries.
7823 link_all_deplibs=$link_all_deplibs
7825 # Compile-time system search path for libraries
7826 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
7828 # Run-time system search path for libraries
7829 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
7831 # Fix the shell variable \$srcfile for the compiler.
7832 fix_srcfile_path="$fix_srcfile_path"
7834 # Set to yes if exported symbols are required.
7835 always_export_symbols=$always_export_symbols
7837 # The commands to list exported symbols.
7838 export_symbols_cmds=$lt_export_symbols_cmds
7840 # The commands to extract the exported symbol list from a shared archive.
7841 extract_expsyms_cmds=$lt_extract_expsyms_cmds
7843 # Symbols that should not be listed in the preloaded symbols.
7844 exclude_expsyms=$lt_exclude_expsyms
7846 # Symbols that must always be exported.
7847 include_expsyms=$lt_include_expsyms
7849 # ### END LIBTOOL CONFIG
7855 cat <<\EOF >> "${ofile}T"
7857 # AIX sometimes has problems with the GCC collect2 program. For some
7858 # reason, if we set the COLLECT_NAMES environment variable, the problems
7859 # vanish in a puff of smoke.
7860 if test "X${COLLECT_NAMES+set}" != Xset; then
7862 export COLLECT_NAMES
7869 cygwin* | mingw* | pw32* | os2*)
7870 cat <<'EOF' >> "${ofile}T"
7871 # This is a source program that is used to create dlls on Windows
7872 # Don't remove nor modify the starting and closing comments
7873 # /* ltdll.c starts here */
7874 # #define WIN32_LEAN_AND_MEAN
7875 # #include <windows.h>
7876 # #undef WIN32_LEAN_AND_MEAN
7877 # #include <stdio.h>
7879 # #ifndef __CYGWIN__
7880 # # ifdef __CYGWIN32__
7881 # # define __CYGWIN__ __CYGWIN32__
7885 # #ifdef __cplusplus
7888 # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
7889 # #ifdef __cplusplus
7894 # #include <cygwin/cygwin_dll.h>
7895 # DECLARE_CYGWIN_DLL( DllMain );
7897 # HINSTANCE __hDllInstance_base;
7900 # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
7902 # __hDllInstance_base = hInst;
7905 # /* ltdll.c ends here */
7906 # This is a source program that is used to create import libraries
7907 # on Windows for dlls which lack them. Don't remove nor modify the
7908 # starting and closing comments
7909 # /* impgen.c starts here */
7910 # /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
7912 # This file is part of GNU libtool.
7914 # This program is free software; you can redistribute it and/or modify
7915 # it under the terms of the GNU General Public License as published by
7916 # the Free Software Foundation; either version 2 of the License, or
7917 # (at your option) any later version.
7919 # This program is distributed in the hope that it will be useful,
7920 # but WITHOUT ANY WARRANTY; without even the implied warranty of
7921 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7922 # GNU General Public License for more details.
7924 # You should have received a copy of the GNU General Public License
7925 # along with this program; if not, write to the Free Software
7926 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
7929 # #include <stdio.h> /* for printf() */
7930 # #include <unistd.h> /* for open(), lseek(), read() */
7931 # #include <fcntl.h> /* for O_RDONLY, O_BINARY */
7932 # #include <string.h> /* for strdup() */
7934 # /* O_BINARY isn't required (or even defined sometimes) under Unix */
7936 # #define O_BINARY 0
7939 # static unsigned int
7940 # pe_get16 (fd, offset)
7944 # unsigned char b[2];
7945 # lseek (fd, offset, SEEK_SET);
7947 # return b[0] + (b[1]<<8);
7950 # static unsigned int
7951 # pe_get32 (fd, offset)
7955 # unsigned char b[4];
7956 # lseek (fd, offset, SEEK_SET);
7958 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
7961 # static unsigned int
7965 # unsigned char *b = ptr;
7966 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
7975 # unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
7976 # unsigned long export_rva, export_size, nsections, secptr, expptr;
7977 # unsigned long name_rvas, nexp;
7978 # unsigned char *expdata, *erva;
7979 # char *filename, *dll_name;
7981 # filename = argv[1];
7983 # dll = open(filename, O_RDONLY|O_BINARY);
7987 # dll_name = filename;
7989 # for (i=0; filename[i]; i++)
7990 # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
7991 # dll_name = filename + i +1;
7993 # pe_header_offset = pe_get32 (dll, 0x3c);
7994 # opthdr_ofs = pe_header_offset + 4 + 20;
7995 # num_entries = pe_get32 (dll, opthdr_ofs + 92);
7997 # if (num_entries < 1) /* no exports */
8000 # export_rva = pe_get32 (dll, opthdr_ofs + 96);
8001 # export_size = pe_get32 (dll, opthdr_ofs + 100);
8002 # nsections = pe_get16 (dll, pe_header_offset + 4 +2);
8003 # secptr = (pe_header_offset + 4 + 20 +
8004 # pe_get16 (dll, pe_header_offset + 4 + 16));
8007 # for (i = 0; i < nsections; i++)
8010 # unsigned long secptr1 = secptr + 40 * i;
8011 # unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
8012 # unsigned long vsize = pe_get32 (dll, secptr1 + 16);
8013 # unsigned long fptr = pe_get32 (dll, secptr1 + 20);
8014 # lseek(dll, secptr1, SEEK_SET);
8015 # read(dll, sname, 8);
8016 # if (vaddr <= export_rva && vaddr+vsize > export_rva)
8018 # expptr = fptr + (export_rva - vaddr);
8019 # if (export_rva + export_size > vaddr + vsize)
8020 # export_size = vsize - (export_rva - vaddr);
8025 # expdata = (unsigned char*)malloc(export_size);
8026 # lseek (dll, expptr, SEEK_SET);
8027 # read (dll, expdata, export_size);
8028 # erva = expdata - export_rva;
8030 # nexp = pe_as32 (expdata+24);
8031 # name_rvas = pe_as32 (expdata+32);
8033 # printf ("EXPORTS\n");
8034 # for (i = 0; i<nexp; i++)
8036 # unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
8037 # printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
8042 # /* impgen.c ends here */
8048 # We use sed instead of cat because bash on DJGPP gets confused if
8049 # if finds mixed CR/LF and LF-only lines. Since sed operates in
8050 # text mode, it properly converts lines to CR/LF. This bash problem
8051 # is reportedly fixed, but why not run on old versions too?
8052 sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
8054 mv -f "${ofile}T" "$ofile" || \
8055 (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
8063 # This can be used to rebuild libtool when needed
8064 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
8066 # Always use our own libtool.
8067 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8069 # Prevent multiple expansion
8075 WFLAGS_NOIMPLICITINT=""
8076 if test -z "$WFLAGS" -a "$GCC" = "yes"; then
8077 # -Wno-implicit-int for broken X11 headers
8078 # leave these out for now:
8079 # -Wcast-align doesn't work well on alpha osf/1
8080 # -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
8081 # -Wmissing-declarations -Wnested-externs
8082 WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
8083 WFLAGS_NOUNUSED="-Wno-unused"
8084 WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
8089 # Check whether --enable-berkeley-db or --disable-berkeley-db was given.
8090 if test "${enable_berkeley_db+set}" = set; then
8091 enableval="$enable_berkeley_db"
8099 if test "$enable_berkeley_db" != no; then
8112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8114 echo "$as_me:8114: checking for $ac_header" >&5
8115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8117 echo $ECHO_N "(cached) $ECHO_C" >&6
8119 echo "$as_me:8119: result: `eval echo '${'$as_ac_Header'}'`" >&5
8120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8122 # Is the header compilable?
8123 echo "$as_me:8123: checking $ac_header usability" >&5
8124 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8125 cat >conftest.$ac_ext <<_ACEOF
8126 #line 8126 "configure"
8127 #include "confdefs.h"
8128 $ac_includes_default
8129 #include <$ac_header>
8131 rm -f conftest.$ac_objext
8132 if { (eval echo "$as_me:8132: \"$ac_compile\"") >&5
8133 (eval $ac_compile) 2>&5
8135 echo "$as_me:8135: \$? = $ac_status" >&5
8136 (exit $ac_status); } &&
8137 { ac_try='test -s conftest.$ac_objext'
8138 { (eval echo "$as_me:8138: \"$ac_try\"") >&5
8141 echo "$as_me:8141: \$? = $ac_status" >&5
8142 (exit $ac_status); }; }; then
8143 ac_header_compiler=yes
8145 echo "$as_me: failed program was:" >&5
8146 cat conftest.$ac_ext >&5
8147 ac_header_compiler=no
8149 rm -f conftest.$ac_objext conftest.$ac_ext
8150 echo "$as_me:8150: result: $ac_header_compiler" >&5
8151 echo "${ECHO_T}$ac_header_compiler" >&6
8153 # Is the header present?
8154 echo "$as_me:8154: checking $ac_header presence" >&5
8155 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8156 cat >conftest.$ac_ext <<_ACEOF
8157 #line 8157 "configure"
8158 #include "confdefs.h"
8159 #include <$ac_header>
8161 if { (eval echo "$as_me:8161: \"$ac_cpp conftest.$ac_ext\"") >&5
8162 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8164 egrep -v '^ *\+' conftest.er1 >conftest.err
8166 cat conftest.err >&5
8167 echo "$as_me:8167: \$? = $ac_status" >&5
8168 (exit $ac_status); } >/dev/null; then
8169 if test -s conftest.err; then
8170 ac_cpp_err=$ac_c_preproc_warn_flag
8177 if test -z "$ac_cpp_err"; then
8178 ac_header_preproc=yes
8180 echo "$as_me: failed program was:" >&5
8181 cat conftest.$ac_ext >&5
8182 ac_header_preproc=no
8184 rm -f conftest.err conftest.$ac_ext
8185 echo "$as_me:8185: result: $ac_header_preproc" >&5
8186 echo "${ECHO_T}$ac_header_preproc" >&6
8188 # So? What about this header?
8189 case $ac_header_compiler:$ac_header_preproc in
8191 { echo "$as_me:8191: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8193 { echo "$as_me:8193: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8196 { echo "$as_me:8196: WARNING: $ac_header: present but cannot be compiled" >&5
8197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8198 { echo "$as_me:8198: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8200 { echo "$as_me:8200: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8203 echo "$as_me:8203: checking for $ac_header" >&5
8204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8206 echo $ECHO_N "(cached) $ECHO_C" >&6
8208 eval "$as_ac_Header=$ac_header_preproc"
8210 echo "$as_me:8210: result: `eval echo '${'$as_ac_Header'}'`" >&5
8211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8215 cat >>confdefs.h <<_ACEOF
8216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8228 echo "$as_me:8228: checking for db_create" >&5
8229 echo $ECHO_N "checking for db_create... $ECHO_C" >&6
8230 if test "${ac_cv_funclib_db_create+set}" = set; then
8231 echo $ECHO_N "(cached) $ECHO_C" >&6
8234 if eval "test \"\$ac_cv_func_db_create\" != yes" ; then
8235 ac_save_LIBS="$LIBS"
8236 for ac_lib in "" db4 db3 db; do
8242 *) ac_lib="-l$ac_lib" ;;
8244 LIBS=" $ac_lib $ac_save_LIBS"
8245 cat >conftest.$ac_ext <<_ACEOF
8246 #line 8246 "configure"
8247 #include "confdefs.h"
8250 #ifdef HAVE_DB4_DB_H
8252 #elif defined(HAVE_DB3_DB_H)
8258 #ifdef F77_DUMMY_MAIN
8262 int F77_DUMMY_MAIN() { return 1; }
8267 db_create(NULL, NULL, 0)
8272 rm -f conftest.$ac_objext conftest$ac_exeext
8273 if { (eval echo "$as_me:8273: \"$ac_link\"") >&5
8274 (eval $ac_link) 2>&5
8276 echo "$as_me:8276: \$? = $ac_status" >&5
8277 (exit $ac_status); } &&
8278 { ac_try='test -s conftest$ac_exeext'
8279 { (eval echo "$as_me:8279: \"$ac_try\"") >&5
8282 echo "$as_me:8282: \$? = $ac_status" >&5
8283 (exit $ac_status); }; }; then
8284 eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
8286 echo "$as_me: failed program was:" >&5
8287 cat conftest.$ac_ext >&5
8289 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8291 eval "ac_cv_funclib_db_create=\${ac_cv_funclib_db_create-no}"
8292 LIBS="$ac_save_LIBS"
8298 eval "ac_res=\$ac_cv_funclib_db_create"
8302 for ac_func in db_create
8304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8305 echo "$as_me:8305: checking for $ac_func" >&5
8306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8307 if eval "test \"\${$as_ac_var+set}\" = set"; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 cat >conftest.$ac_ext <<_ACEOF
8311 #line 8311 "configure"
8312 #include "confdefs.h"
8313 /* System header to define __stub macros and hopefully few prototypes,
8314 which can conflict with char $ac_func (); below. */
8316 /* Override any gcc2 internal prototype to avoid an error. */
8320 /* We use char because int might match the return type of a gcc2
8321 builtin and then its argument prototype would still apply. */
8325 #ifdef F77_DUMMY_MAIN
8329 int F77_DUMMY_MAIN() { return 1; }
8334 /* The GNU C library defines this for functions which it implements
8335 to always fail with ENOSYS. Some functions are actually named
8336 something starting with __ and the normal name is an alias. */
8337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8347 rm -f conftest.$ac_objext conftest$ac_exeext
8348 if { (eval echo "$as_me:8348: \"$ac_link\"") >&5
8349 (eval $ac_link) 2>&5
8351 echo "$as_me:8351: \$? = $ac_status" >&5
8352 (exit $ac_status); } &&
8353 { ac_try='test -s conftest$ac_exeext'
8354 { (eval echo "$as_me:8354: \"$ac_try\"") >&5
8357 echo "$as_me:8357: \$? = $ac_status" >&5
8358 (exit $ac_status); }; }; then
8359 eval "$as_ac_var=yes"
8361 echo "$as_me: failed program was:" >&5
8362 cat conftest.$ac_ext >&5
8363 eval "$as_ac_var=no"
8365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8367 echo "$as_me:8367: result: `eval echo '${'$as_ac_var'}'`" >&5
8368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8369 if test `eval echo '${'$as_ac_var'}'` = yes; then
8370 cat >>confdefs.h <<_ACEOF
8371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8379 eval "ac_tr_func=HAVE_`echo db_create | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
8380 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
8381 eval "LIB_db_create=$ac_res"
8385 eval "ac_cv_func_db_create=yes"
8386 eval "LIB_db_create="
8387 cat >>confdefs.h <<_ACEOF
8388 #define $ac_tr_func 1
8391 echo "$as_me:8391: result: yes" >&5
8392 echo "${ECHO_T}yes" >&6
8395 eval "ac_cv_func_db_create=no"
8396 eval "LIB_db_create="
8397 echo "$as_me:8397: result: no" >&5
8398 echo "${ECHO_T}no" >&6
8401 eval "ac_cv_func_db_create=yes"
8402 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
8403 cat >>confdefs.h <<_ACEOF
8404 #define $ac_tr_func 1
8407 cat >>confdefs.h <<_ACEOF
8408 #define $ac_tr_lib 1
8411 echo "$as_me:8411: result: yes, in $ac_res" >&5
8412 echo "${ECHO_T}yes, in $ac_res" >&6
8418 if test "$ac_cv_func_db_create" = "yes"; then
8420 if test "$ac_cv_funclib_db_create" != "yes"; then
8421 DBLIB="$ac_cv_funclib_db_create"
8426 cat >>confdefs.h <<\_ACEOF
8436 echo "$as_me:8436: checking for dbopen" >&5
8437 echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
8438 if test "${ac_cv_funclib_dbopen+set}" = set; then
8439 echo $ECHO_N "(cached) $ECHO_C" >&6
8442 if eval "test \"\$ac_cv_func_dbopen\" != yes" ; then
8443 ac_save_LIBS="$LIBS"
8444 for ac_lib in "" db2 db; do
8450 *) ac_lib="-l$ac_lib" ;;
8452 LIBS=" $ac_lib $ac_save_LIBS"
8453 cat >conftest.$ac_ext <<_ACEOF
8454 #line 8454 "configure"
8455 #include "confdefs.h"
8458 #if defined(HAVE_DB2_DB_H)
8460 #elif defined(HAVE_DB_185_H)
8462 #elif defined(HAVE_DB_H)
8468 #ifdef F77_DUMMY_MAIN
8472 int F77_DUMMY_MAIN() { return 1; }
8477 dbopen(NULL, 0, 0, 0, NULL)
8482 rm -f conftest.$ac_objext conftest$ac_exeext
8483 if { (eval echo "$as_me:8483: \"$ac_link\"") >&5
8484 (eval $ac_link) 2>&5
8486 echo "$as_me:8486: \$? = $ac_status" >&5
8487 (exit $ac_status); } &&
8488 { ac_try='test -s conftest$ac_exeext'
8489 { (eval echo "$as_me:8489: \"$ac_try\"") >&5
8492 echo "$as_me:8492: \$? = $ac_status" >&5
8493 (exit $ac_status); }; }; then
8494 eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
8496 echo "$as_me: failed program was:" >&5
8497 cat conftest.$ac_ext >&5
8499 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8501 eval "ac_cv_funclib_dbopen=\${ac_cv_funclib_dbopen-no}"
8502 LIBS="$ac_save_LIBS"
8508 eval "ac_res=\$ac_cv_funclib_dbopen"
8512 for ac_func in dbopen
8514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8515 echo "$as_me:8515: checking for $ac_func" >&5
8516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8517 if eval "test \"\${$as_ac_var+set}\" = set"; then
8518 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 cat >conftest.$ac_ext <<_ACEOF
8521 #line 8521 "configure"
8522 #include "confdefs.h"
8523 /* System header to define __stub macros and hopefully few prototypes,
8524 which can conflict with char $ac_func (); below. */
8526 /* Override any gcc2 internal prototype to avoid an error. */
8530 /* We use char because int might match the return type of a gcc2
8531 builtin and then its argument prototype would still apply. */
8535 #ifdef F77_DUMMY_MAIN
8539 int F77_DUMMY_MAIN() { return 1; }
8544 /* The GNU C library defines this for functions which it implements
8545 to always fail with ENOSYS. Some functions are actually named
8546 something starting with __ and the normal name is an alias. */
8547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8557 rm -f conftest.$ac_objext conftest$ac_exeext
8558 if { (eval echo "$as_me:8558: \"$ac_link\"") >&5
8559 (eval $ac_link) 2>&5
8561 echo "$as_me:8561: \$? = $ac_status" >&5
8562 (exit $ac_status); } &&
8563 { ac_try='test -s conftest$ac_exeext'
8564 { (eval echo "$as_me:8564: \"$ac_try\"") >&5
8567 echo "$as_me:8567: \$? = $ac_status" >&5
8568 (exit $ac_status); }; }; then
8569 eval "$as_ac_var=yes"
8571 echo "$as_me: failed program was:" >&5
8572 cat conftest.$ac_ext >&5
8573 eval "$as_ac_var=no"
8575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8577 echo "$as_me:8577: result: `eval echo '${'$as_ac_var'}'`" >&5
8578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8579 if test `eval echo '${'$as_ac_var'}'` = yes; then
8580 cat >>confdefs.h <<_ACEOF
8581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8589 eval "ac_tr_func=HAVE_`echo dbopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
8590 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
8591 eval "LIB_dbopen=$ac_res"
8595 eval "ac_cv_func_dbopen=yes"
8597 cat >>confdefs.h <<_ACEOF
8598 #define $ac_tr_func 1
8601 echo "$as_me:8601: result: yes" >&5
8602 echo "${ECHO_T}yes" >&6
8605 eval "ac_cv_func_dbopen=no"
8607 echo "$as_me:8607: result: no" >&5
8608 echo "${ECHO_T}no" >&6
8611 eval "ac_cv_func_dbopen=yes"
8612 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
8613 cat >>confdefs.h <<_ACEOF
8614 #define $ac_tr_func 1
8617 cat >>confdefs.h <<_ACEOF
8618 #define $ac_tr_lib 1
8621 echo "$as_me:8621: result: yes, in $ac_res" >&5
8622 echo "${ECHO_T}yes, in $ac_res" >&6
8628 if test "$ac_cv_func_dbopen" = "yes"; then
8630 if test "$ac_cv_funclib_dbopen" != "yes"; then
8631 DBLIB="$ac_cv_funclib_dbopen"
8636 cat >>confdefs.h <<\_ACEOF
8644 if test "$ac_cv_func_dbm_firstkey" != yes; then
8647 echo "$as_me:8647: checking for dbm_firstkey" >&5
8648 echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
8649 if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8653 if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
8654 ac_save_LIBS="$LIBS"
8655 for ac_lib in $ac_cv_funclib_dbopen $ac_cv_funclib_db_create; do
8661 *) ac_lib="-l$ac_lib" ;;
8663 LIBS=" $ac_lib $ac_save_LIBS"
8664 cat >conftest.$ac_ext <<_ACEOF
8665 #line 8665 "configure"
8666 #include "confdefs.h"
8669 #define DB_DBM_HSEARCH 1
8673 #ifdef F77_DUMMY_MAIN
8677 int F77_DUMMY_MAIN() { return 1; }
8687 rm -f conftest.$ac_objext conftest$ac_exeext
8688 if { (eval echo "$as_me:8688: \"$ac_link\"") >&5
8689 (eval $ac_link) 2>&5
8691 echo "$as_me:8691: \$? = $ac_status" >&5
8692 (exit $ac_status); } &&
8693 { ac_try='test -s conftest$ac_exeext'
8694 { (eval echo "$as_me:8694: \"$ac_try\"") >&5
8697 echo "$as_me:8697: \$? = $ac_status" >&5
8698 (exit $ac_status); }; }; then
8699 eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
8701 echo "$as_me: failed program was:" >&5
8702 cat conftest.$ac_ext >&5
8704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8706 eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
8707 LIBS="$ac_save_LIBS"
8713 eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
8717 for ac_func in dbm_firstkey
8719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8720 echo "$as_me:8720: checking for $ac_func" >&5
8721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8722 if eval "test \"\${$as_ac_var+set}\" = set"; then
8723 echo $ECHO_N "(cached) $ECHO_C" >&6
8725 cat >conftest.$ac_ext <<_ACEOF
8726 #line 8726 "configure"
8727 #include "confdefs.h"
8728 /* System header to define __stub macros and hopefully few prototypes,
8729 which can conflict with char $ac_func (); below. */
8731 /* Override any gcc2 internal prototype to avoid an error. */
8735 /* We use char because int might match the return type of a gcc2
8736 builtin and then its argument prototype would still apply. */
8740 #ifdef F77_DUMMY_MAIN
8744 int F77_DUMMY_MAIN() { return 1; }
8749 /* The GNU C library defines this for functions which it implements
8750 to always fail with ENOSYS. Some functions are actually named
8751 something starting with __ and the normal name is an alias. */
8752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8762 rm -f conftest.$ac_objext conftest$ac_exeext
8763 if { (eval echo "$as_me:8763: \"$ac_link\"") >&5
8764 (eval $ac_link) 2>&5
8766 echo "$as_me:8766: \$? = $ac_status" >&5
8767 (exit $ac_status); } &&
8768 { ac_try='test -s conftest$ac_exeext'
8769 { (eval echo "$as_me:8769: \"$ac_try\"") >&5
8772 echo "$as_me:8772: \$? = $ac_status" >&5
8773 (exit $ac_status); }; }; then
8774 eval "$as_ac_var=yes"
8776 echo "$as_me: failed program was:" >&5
8777 cat conftest.$ac_ext >&5
8778 eval "$as_ac_var=no"
8780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8782 echo "$as_me:8782: result: `eval echo '${'$as_ac_var'}'`" >&5
8783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8784 if test `eval echo '${'$as_ac_var'}'` = yes; then
8785 cat >>confdefs.h <<_ACEOF
8786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8794 eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
8795 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
8796 eval "LIB_dbm_firstkey=$ac_res"
8800 eval "ac_cv_func_dbm_firstkey=yes"
8801 eval "LIB_dbm_firstkey="
8802 cat >>confdefs.h <<_ACEOF
8803 #define $ac_tr_func 1
8806 echo "$as_me:8806: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8810 eval "ac_cv_func_dbm_firstkey=no"
8811 eval "LIB_dbm_firstkey="
8812 echo "$as_me:8812: result: no" >&5
8813 echo "${ECHO_T}no" >&6
8816 eval "ac_cv_func_dbm_firstkey=yes"
8817 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
8818 cat >>confdefs.h <<_ACEOF
8819 #define $ac_tr_func 1
8822 cat >>confdefs.h <<_ACEOF
8823 #define $ac_tr_lib 1
8826 echo "$as_me:8826: result: yes, in $ac_res" >&5
8827 echo "${ECHO_T}yes, in $ac_res" >&6
8833 if test "$ac_cv_func_dbm_firstkey" = "yes"; then
8834 if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
8835 LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
8840 cat >>confdefs.h <<\_ACEOF
8841 #define HAVE_DB_NDBM 1
8845 cat >>confdefs.h <<\_ACEOF
8846 #define HAVE_NEW_DB 1
8850 $as_unset ac_cv_func_dbm_firstkey
8851 $as_unset ac_cv_funclib_dbm_firstkey
8857 if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
8866 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8868 echo "$as_me:8868: checking for $ac_header" >&5
8869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8871 echo $ECHO_N "(cached) $ECHO_C" >&6
8873 echo "$as_me:8873: result: `eval echo '${'$as_ac_Header'}'`" >&5
8874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8876 # Is the header compilable?
8877 echo "$as_me:8877: checking $ac_header usability" >&5
8878 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8879 cat >conftest.$ac_ext <<_ACEOF
8880 #line 8880 "configure"
8881 #include "confdefs.h"
8882 $ac_includes_default
8883 #include <$ac_header>
8885 rm -f conftest.$ac_objext
8886 if { (eval echo "$as_me:8886: \"$ac_compile\"") >&5
8887 (eval $ac_compile) 2>&5
8889 echo "$as_me:8889: \$? = $ac_status" >&5
8890 (exit $ac_status); } &&
8891 { ac_try='test -s conftest.$ac_objext'
8892 { (eval echo "$as_me:8892: \"$ac_try\"") >&5
8895 echo "$as_me:8895: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
8897 ac_header_compiler=yes
8899 echo "$as_me: failed program was:" >&5
8900 cat conftest.$ac_ext >&5
8901 ac_header_compiler=no
8903 rm -f conftest.$ac_objext conftest.$ac_ext
8904 echo "$as_me:8904: result: $ac_header_compiler" >&5
8905 echo "${ECHO_T}$ac_header_compiler" >&6
8907 # Is the header present?
8908 echo "$as_me:8908: checking $ac_header presence" >&5
8909 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8910 cat >conftest.$ac_ext <<_ACEOF
8911 #line 8911 "configure"
8912 #include "confdefs.h"
8913 #include <$ac_header>
8915 if { (eval echo "$as_me:8915: \"$ac_cpp conftest.$ac_ext\"") >&5
8916 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8918 egrep -v '^ *\+' conftest.er1 >conftest.err
8920 cat conftest.err >&5
8921 echo "$as_me:8921: \$? = $ac_status" >&5
8922 (exit $ac_status); } >/dev/null; then
8923 if test -s conftest.err; then
8924 ac_cpp_err=$ac_c_preproc_warn_flag
8931 if test -z "$ac_cpp_err"; then
8932 ac_header_preproc=yes
8934 echo "$as_me: failed program was:" >&5
8935 cat conftest.$ac_ext >&5
8936 ac_header_preproc=no
8938 rm -f conftest.err conftest.$ac_ext
8939 echo "$as_me:8939: result: $ac_header_preproc" >&5
8940 echo "${ECHO_T}$ac_header_preproc" >&6
8942 # So? What about this header?
8943 case $ac_header_compiler:$ac_header_preproc in
8945 { echo "$as_me:8945: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8947 { echo "$as_me:8947: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8950 { echo "$as_me:8950: WARNING: $ac_header: present but cannot be compiled" >&5
8951 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8952 { echo "$as_me:8952: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8953 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8954 { echo "$as_me:8954: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8957 echo "$as_me:8957: checking for $ac_header" >&5
8958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8960 echo $ECHO_N "(cached) $ECHO_C" >&6
8962 eval "$as_ac_Header=$ac_header_preproc"
8964 echo "$as_me:8964: result: `eval echo '${'$as_ac_Header'}'`" >&5
8965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8969 cat >>confdefs.h <<_ACEOF
8970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8981 echo "$as_me:8981: checking for dbm_firstkey" >&5
8982 echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
8983 if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
8984 echo $ECHO_N "(cached) $ECHO_C" >&6
8987 if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
8988 ac_save_LIBS="$LIBS"
8989 for ac_lib in "" ndbm; do
8995 *) ac_lib="-l$ac_lib" ;;
8997 LIBS=" $ac_lib $ac_save_LIBS"
8998 cat >conftest.$ac_ext <<_ACEOF
8999 #line 8999 "configure"
9000 #include "confdefs.h"
9003 #if defined(HAVE_NDBM_H)
9005 #elif defined(HAVE_DBM_H)
9010 #ifdef F77_DUMMY_MAIN
9014 int F77_DUMMY_MAIN() { return 1; }
9024 rm -f conftest.$ac_objext conftest$ac_exeext
9025 if { (eval echo "$as_me:9025: \"$ac_link\"") >&5
9026 (eval $ac_link) 2>&5
9028 echo "$as_me:9028: \$? = $ac_status" >&5
9029 (exit $ac_status); } &&
9030 { ac_try='test -s conftest$ac_exeext'
9031 { (eval echo "$as_me:9031: \"$ac_try\"") >&5
9034 echo "$as_me:9034: \$? = $ac_status" >&5
9035 (exit $ac_status); }; }; then
9036 eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
9038 echo "$as_me: failed program was:" >&5
9039 cat conftest.$ac_ext >&5
9041 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9043 eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
9044 LIBS="$ac_save_LIBS"
9050 eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
9054 for ac_func in dbm_firstkey
9056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9057 echo "$as_me:9057: checking for $ac_func" >&5
9058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9059 if eval "test \"\${$as_ac_var+set}\" = set"; then
9060 echo $ECHO_N "(cached) $ECHO_C" >&6
9062 cat >conftest.$ac_ext <<_ACEOF
9063 #line 9063 "configure"
9064 #include "confdefs.h"
9065 /* System header to define __stub macros and hopefully few prototypes,
9066 which can conflict with char $ac_func (); below. */
9068 /* Override any gcc2 internal prototype to avoid an error. */
9072 /* We use char because int might match the return type of a gcc2
9073 builtin and then its argument prototype would still apply. */
9077 #ifdef F77_DUMMY_MAIN
9081 int F77_DUMMY_MAIN() { return 1; }
9086 /* The GNU C library defines this for functions which it implements
9087 to always fail with ENOSYS. Some functions are actually named
9088 something starting with __ and the normal name is an alias. */
9089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9099 rm -f conftest.$ac_objext conftest$ac_exeext
9100 if { (eval echo "$as_me:9100: \"$ac_link\"") >&5
9101 (eval $ac_link) 2>&5
9103 echo "$as_me:9103: \$? = $ac_status" >&5
9104 (exit $ac_status); } &&
9105 { ac_try='test -s conftest$ac_exeext'
9106 { (eval echo "$as_me:9106: \"$ac_try\"") >&5
9109 echo "$as_me:9109: \$? = $ac_status" >&5
9110 (exit $ac_status); }; }; then
9111 eval "$as_ac_var=yes"
9113 echo "$as_me: failed program was:" >&5
9114 cat conftest.$ac_ext >&5
9115 eval "$as_ac_var=no"
9117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9119 echo "$as_me:9119: result: `eval echo '${'$as_ac_var'}'`" >&5
9120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9121 if test `eval echo '${'$as_ac_var'}'` = yes; then
9122 cat >>confdefs.h <<_ACEOF
9123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9131 eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
9132 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
9133 eval "LIB_dbm_firstkey=$ac_res"
9137 eval "ac_cv_func_dbm_firstkey=yes"
9138 eval "LIB_dbm_firstkey="
9139 cat >>confdefs.h <<_ACEOF
9140 #define $ac_tr_func 1
9143 echo "$as_me:9143: result: yes" >&5
9144 echo "${ECHO_T}yes" >&6
9147 eval "ac_cv_func_dbm_firstkey=no"
9148 eval "LIB_dbm_firstkey="
9149 echo "$as_me:9149: result: no" >&5
9150 echo "${ECHO_T}no" >&6
9153 eval "ac_cv_func_dbm_firstkey=yes"
9154 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
9155 cat >>confdefs.h <<_ACEOF
9156 #define $ac_tr_func 1
9159 cat >>confdefs.h <<_ACEOF
9160 #define $ac_tr_lib 1
9163 echo "$as_me:9163: result: yes, in $ac_res" >&5
9164 echo "${ECHO_T}yes, in $ac_res" >&6
9170 if test "$ac_cv_func_dbm_firstkey" = "yes"; then
9171 if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
9172 LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
9177 cat >>confdefs.h <<\_ACEOF
9181 if test "$db_type" = "unknown"; then
9187 $as_unset ac_cv_func_dbm_firstkey
9188 $as_unset ac_cv_funclib_dbm_firstkey
9195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9197 echo "$as_me:9197: checking for $ac_header" >&5
9198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9200 echo $ECHO_N "(cached) $ECHO_C" >&6
9202 echo "$as_me:9202: result: `eval echo '${'$as_ac_Header'}'`" >&5
9203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9205 # Is the header compilable?
9206 echo "$as_me:9206: checking $ac_header usability" >&5
9207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9208 cat >conftest.$ac_ext <<_ACEOF
9209 #line 9209 "configure"
9210 #include "confdefs.h"
9211 $ac_includes_default
9212 #include <$ac_header>
9214 rm -f conftest.$ac_objext
9215 if { (eval echo "$as_me:9215: \"$ac_compile\"") >&5
9216 (eval $ac_compile) 2>&5
9218 echo "$as_me:9218: \$? = $ac_status" >&5
9219 (exit $ac_status); } &&
9220 { ac_try='test -s conftest.$ac_objext'
9221 { (eval echo "$as_me:9221: \"$ac_try\"") >&5
9224 echo "$as_me:9224: \$? = $ac_status" >&5
9225 (exit $ac_status); }; }; then
9226 ac_header_compiler=yes
9228 echo "$as_me: failed program was:" >&5
9229 cat conftest.$ac_ext >&5
9230 ac_header_compiler=no
9232 rm -f conftest.$ac_objext conftest.$ac_ext
9233 echo "$as_me:9233: result: $ac_header_compiler" >&5
9234 echo "${ECHO_T}$ac_header_compiler" >&6
9236 # Is the header present?
9237 echo "$as_me:9237: checking $ac_header presence" >&5
9238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9239 cat >conftest.$ac_ext <<_ACEOF
9240 #line 9240 "configure"
9241 #include "confdefs.h"
9242 #include <$ac_header>
9244 if { (eval echo "$as_me:9244: \"$ac_cpp conftest.$ac_ext\"") >&5
9245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9247 egrep -v '^ *\+' conftest.er1 >conftest.err
9249 cat conftest.err >&5
9250 echo "$as_me:9250: \$? = $ac_status" >&5
9251 (exit $ac_status); } >/dev/null; then
9252 if test -s conftest.err; then
9253 ac_cpp_err=$ac_c_preproc_warn_flag
9260 if test -z "$ac_cpp_err"; then
9261 ac_header_preproc=yes
9263 echo "$as_me: failed program was:" >&5
9264 cat conftest.$ac_ext >&5
9265 ac_header_preproc=no
9267 rm -f conftest.err conftest.$ac_ext
9268 echo "$as_me:9268: result: $ac_header_preproc" >&5
9269 echo "${ECHO_T}$ac_header_preproc" >&6
9271 # So? What about this header?
9272 case $ac_header_compiler:$ac_header_preproc in
9274 { echo "$as_me:9274: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9276 { echo "$as_me:9276: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9279 { echo "$as_me:9279: WARNING: $ac_header: present but cannot be compiled" >&5
9280 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9281 { echo "$as_me:9281: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9282 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9283 { echo "$as_me:9283: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9284 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9286 echo "$as_me:9286: checking for $ac_header" >&5
9287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9289 echo $ECHO_N "(cached) $ECHO_C" >&6
9291 eval "$as_ac_Header=$ac_header_preproc"
9293 echo "$as_me:9293: result: `eval echo '${'$as_ac_Header'}'`" >&5
9294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9298 cat >>confdefs.h <<_ACEOF
9299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9310 echo "$as_me:9310: checking for dbm_firstkey" >&5
9311 echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
9312 if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
9313 echo $ECHO_N "(cached) $ECHO_C" >&6
9316 if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
9317 ac_save_LIBS="$LIBS"
9318 for ac_lib in "" gdbm; do
9324 *) ac_lib="-l$ac_lib" ;;
9326 LIBS=" $ac_lib $ac_save_LIBS"
9327 cat >conftest.$ac_ext <<_ACEOF
9328 #line 9328 "configure"
9329 #include "confdefs.h"
9332 #include <gdbm/ndbm.h>
9335 #ifdef F77_DUMMY_MAIN
9339 int F77_DUMMY_MAIN() { return 1; }
9349 rm -f conftest.$ac_objext conftest$ac_exeext
9350 if { (eval echo "$as_me:9350: \"$ac_link\"") >&5
9351 (eval $ac_link) 2>&5
9353 echo "$as_me:9353: \$? = $ac_status" >&5
9354 (exit $ac_status); } &&
9355 { ac_try='test -s conftest$ac_exeext'
9356 { (eval echo "$as_me:9356: \"$ac_try\"") >&5
9359 echo "$as_me:9359: \$? = $ac_status" >&5
9360 (exit $ac_status); }; }; then
9361 eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
9363 echo "$as_me: failed program was:" >&5
9364 cat conftest.$ac_ext >&5
9366 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9368 eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
9369 LIBS="$ac_save_LIBS"
9375 eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
9379 for ac_func in dbm_firstkey
9381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9382 echo "$as_me:9382: checking for $ac_func" >&5
9383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9384 if eval "test \"\${$as_ac_var+set}\" = set"; then
9385 echo $ECHO_N "(cached) $ECHO_C" >&6
9387 cat >conftest.$ac_ext <<_ACEOF
9388 #line 9388 "configure"
9389 #include "confdefs.h"
9390 /* System header to define __stub macros and hopefully few prototypes,
9391 which can conflict with char $ac_func (); below. */
9393 /* Override any gcc2 internal prototype to avoid an error. */
9397 /* We use char because int might match the return type of a gcc2
9398 builtin and then its argument prototype would still apply. */
9402 #ifdef F77_DUMMY_MAIN
9406 int F77_DUMMY_MAIN() { return 1; }
9411 /* The GNU C library defines this for functions which it implements
9412 to always fail with ENOSYS. Some functions are actually named
9413 something starting with __ and the normal name is an alias. */
9414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9424 rm -f conftest.$ac_objext conftest$ac_exeext
9425 if { (eval echo "$as_me:9425: \"$ac_link\"") >&5
9426 (eval $ac_link) 2>&5
9428 echo "$as_me:9428: \$? = $ac_status" >&5
9429 (exit $ac_status); } &&
9430 { ac_try='test -s conftest$ac_exeext'
9431 { (eval echo "$as_me:9431: \"$ac_try\"") >&5
9434 echo "$as_me:9434: \$? = $ac_status" >&5
9435 (exit $ac_status); }; }; then
9436 eval "$as_ac_var=yes"
9438 echo "$as_me: failed program was:" >&5
9439 cat conftest.$ac_ext >&5
9440 eval "$as_ac_var=no"
9442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9444 echo "$as_me:9444: result: `eval echo '${'$as_ac_var'}'`" >&5
9445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9446 if test `eval echo '${'$as_ac_var'}'` = yes; then
9447 cat >>confdefs.h <<_ACEOF
9448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9456 eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
9457 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
9458 eval "LIB_dbm_firstkey=$ac_res"
9462 eval "ac_cv_func_dbm_firstkey=yes"
9463 eval "LIB_dbm_firstkey="
9464 cat >>confdefs.h <<_ACEOF
9465 #define $ac_tr_func 1
9468 echo "$as_me:9468: result: yes" >&5
9469 echo "${ECHO_T}yes" >&6
9472 eval "ac_cv_func_dbm_firstkey=no"
9473 eval "LIB_dbm_firstkey="
9474 echo "$as_me:9474: result: no" >&5
9475 echo "${ECHO_T}no" >&6
9478 eval "ac_cv_func_dbm_firstkey=yes"
9479 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
9480 cat >>confdefs.h <<_ACEOF
9481 #define $ac_tr_func 1
9484 cat >>confdefs.h <<_ACEOF
9485 #define $ac_tr_lib 1
9488 echo "$as_me:9488: result: yes, in $ac_res" >&5
9489 echo "${ECHO_T}yes, in $ac_res" >&6
9495 if test "$ac_cv_func_dbm_firstkey" = "yes"; then
9496 if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
9497 LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
9502 cat >>confdefs.h <<\_ACEOF
9506 if test "$db_type" = "unknown"; then
9515 if test "$have_ndbm" = "yes"; then
9516 echo "$as_me:9516: checking if ndbm is implemented with db" >&5
9517 echo $ECHO_N "checking if ndbm is implemented with db... $ECHO_C" >&6
9518 if test "$cross_compiling" = yes; then
9519 { { echo "$as_me:9519: error: cannot run test program while cross compiling" >&5
9520 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9521 { (exit 1); exit 1; }; }
9523 cat >conftest.$ac_ext <<_ACEOF
9524 #line 9524 "configure"
9525 #include "confdefs.h"
9529 #if defined(HAVE_GDBM_NDBM_H)
9530 #include <gdbm/ndbm.h>
9531 #elif defined(HAVE_NDBM_H)
9533 #elif defined(HAVE_DBM_H)
9540 d = dbm_open("conftest", O_RDWR | O_CREAT, 0666);
9547 rm -f conftest$ac_exeext
9548 if { (eval echo "$as_me:9548: \"$ac_link\"") >&5
9549 (eval $ac_link) 2>&5
9551 echo "$as_me:9551: \$? = $ac_status" >&5
9552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9553 { (eval echo "$as_me:9553: \"$ac_try\"") >&5
9556 echo "$as_me:9556: \$? = $ac_status" >&5
9557 (exit $ac_status); }; }; then
9559 if test -f conftest.db; then
9560 echo "$as_me:9560: result: yes" >&5
9561 echo "${ECHO_T}yes" >&6
9563 cat >>confdefs.h <<\_ACEOF
9564 #define HAVE_NEW_DB 1
9568 echo "$as_me:9568: result: no" >&5
9569 echo "${ECHO_T}no" >&6
9572 echo "$as_me: program exited with status $ac_status" >&5
9573 echo "$as_me: failed program was:" >&5
9574 cat conftest.$ac_ext >&5
9576 echo "$as_me:9576: result: no" >&5
9577 echo "${ECHO_T}no" >&6
9579 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9585 if test "$db_type" = db1; then
9594 if test "$db_type" = db3; then
9603 if test "$db_type" = ndbm; then
9611 DBLIB="$LDFLAGS $DBLIB"
9617 echo "$as_me:9617: checking for inline" >&5
9618 echo $ECHO_N "checking for inline... $ECHO_C" >&6
9619 if test "${ac_cv_c_inline+set}" = set; then
9620 echo $ECHO_N "(cached) $ECHO_C" >&6
9623 for ac_kw in inline __inline__ __inline; do
9624 cat >conftest.$ac_ext <<_ACEOF
9625 #line 9625 "configure"
9626 #include "confdefs.h"
9628 static $ac_kw int static_foo () {return 0; }
9629 $ac_kw int foo () {return 0; }
9633 rm -f conftest.$ac_objext
9634 if { (eval echo "$as_me:9634: \"$ac_compile\"") >&5
9635 (eval $ac_compile) 2>&5
9637 echo "$as_me:9637: \$? = $ac_status" >&5
9638 (exit $ac_status); } &&
9639 { ac_try='test -s conftest.$ac_objext'
9640 { (eval echo "$as_me:9640: \"$ac_try\"") >&5
9643 echo "$as_me:9643: \$? = $ac_status" >&5
9644 (exit $ac_status); }; }; then
9645 ac_cv_c_inline=$ac_kw; break
9647 echo "$as_me: failed program was:" >&5
9648 cat conftest.$ac_ext >&5
9650 rm -f conftest.$ac_objext conftest.$ac_ext
9654 echo "$as_me:9654: result: $ac_cv_c_inline" >&5
9655 echo "${ECHO_T}$ac_cv_c_inline" >&6
9656 case $ac_cv_c_inline in
9659 cat >>confdefs.h <<\_ACEOF
9663 *) cat >>confdefs.h <<_ACEOF
9664 #define inline $ac_cv_c_inline
9669 echo "$as_me:9669: checking for an ANSI C-conforming const" >&5
9670 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9671 if test "${ac_cv_c_const+set}" = set; then
9672 echo $ECHO_N "(cached) $ECHO_C" >&6
9674 cat >conftest.$ac_ext <<_ACEOF
9675 #line 9675 "configure"
9676 #include "confdefs.h"
9678 #ifdef F77_DUMMY_MAIN
9682 int F77_DUMMY_MAIN() { return 1; }
9687 /* FIXME: Include the comments suggested by Paul. */
9689 /* Ultrix mips cc rejects this. */
9690 typedef int charset[2];
9692 /* SunOS 4.1.1 cc rejects this. */
9693 char const *const *ccp;
9695 /* NEC SVR4.0.2 mips cc rejects this. */
9696 struct point {int x, y;};
9697 static struct point const zero = {0,0};
9698 /* AIX XL C 1.02.0.0 rejects this.
9699 It does not let you subtract one const X* pointer from another in
9700 an arm of an if-expression whose if-part is not a constant
9702 const char *g = "string";
9703 ccp = &g + (g ? g-g : 0);
9704 /* HPUX 7.0 cc rejects these. */
9707 ccp = (char const *const *) p;
9708 { /* SCO 3.2v4 cc rejects this. */
9710 char const *s = 0 ? (char *) 0 : (char const *) 0;
9714 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9716 const int *foo = &x[0];
9719 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9720 typedef const int *iptr;
9724 { /* AIX XL C 1.02.0.0 rejects this saying
9725 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9726 struct s { int j; const int *ap[3]; };
9727 struct s *b; b->j = 5;
9729 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9738 rm -f conftest.$ac_objext
9739 if { (eval echo "$as_me:9739: \"$ac_compile\"") >&5
9740 (eval $ac_compile) 2>&5
9742 echo "$as_me:9742: \$? = $ac_status" >&5
9743 (exit $ac_status); } &&
9744 { ac_try='test -s conftest.$ac_objext'
9745 { (eval echo "$as_me:9745: \"$ac_try\"") >&5
9748 echo "$as_me:9748: \$? = $ac_status" >&5
9749 (exit $ac_status); }; }; then
9752 echo "$as_me: failed program was:" >&5
9753 cat conftest.$ac_ext >&5
9756 rm -f conftest.$ac_objext conftest.$ac_ext
9758 echo "$as_me:9758: result: $ac_cv_c_const" >&5
9759 echo "${ECHO_T}$ac_cv_c_const" >&6
9760 if test $ac_cv_c_const = no; then
9762 cat >>confdefs.h <<\_ACEOF
9768 echo "$as_me:9768: checking for size_t" >&5
9769 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
9770 if test "${ac_cv_type_size_t+set}" = set; then
9771 echo $ECHO_N "(cached) $ECHO_C" >&6
9773 cat >conftest.$ac_ext <<_ACEOF
9774 #line 9774 "configure"
9775 #include "confdefs.h"
9776 $ac_includes_default
9777 #ifdef F77_DUMMY_MAIN
9781 int F77_DUMMY_MAIN() { return 1; }
9788 if (sizeof (size_t))
9794 rm -f conftest.$ac_objext
9795 if { (eval echo "$as_me:9795: \"$ac_compile\"") >&5
9796 (eval $ac_compile) 2>&5
9798 echo "$as_me:9798: \$? = $ac_status" >&5
9799 (exit $ac_status); } &&
9800 { ac_try='test -s conftest.$ac_objext'
9801 { (eval echo "$as_me:9801: \"$ac_try\"") >&5
9804 echo "$as_me:9804: \$? = $ac_status" >&5
9805 (exit $ac_status); }; }; then
9806 ac_cv_type_size_t=yes
9808 echo "$as_me: failed program was:" >&5
9809 cat conftest.$ac_ext >&5
9810 ac_cv_type_size_t=no
9812 rm -f conftest.$ac_objext conftest.$ac_ext
9814 echo "$as_me:9814: result: $ac_cv_type_size_t" >&5
9815 echo "${ECHO_T}$ac_cv_type_size_t" >&6
9816 if test $ac_cv_type_size_t = yes; then
9820 cat >>confdefs.h <<_ACEOF
9821 #define size_t unsigned
9826 echo "$as_me:9826: checking for pid_t" >&5
9827 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
9828 if test "${ac_cv_type_pid_t+set}" = set; then
9829 echo $ECHO_N "(cached) $ECHO_C" >&6
9831 cat >conftest.$ac_ext <<_ACEOF
9832 #line 9832 "configure"
9833 #include "confdefs.h"
9834 $ac_includes_default
9835 #ifdef F77_DUMMY_MAIN
9839 int F77_DUMMY_MAIN() { return 1; }
9852 rm -f conftest.$ac_objext
9853 if { (eval echo "$as_me:9853: \"$ac_compile\"") >&5
9854 (eval $ac_compile) 2>&5
9856 echo "$as_me:9856: \$? = $ac_status" >&5
9857 (exit $ac_status); } &&
9858 { ac_try='test -s conftest.$ac_objext'
9859 { (eval echo "$as_me:9859: \"$ac_try\"") >&5
9862 echo "$as_me:9862: \$? = $ac_status" >&5
9863 (exit $ac_status); }; }; then
9864 ac_cv_type_pid_t=yes
9866 echo "$as_me: failed program was:" >&5
9867 cat conftest.$ac_ext >&5
9870 rm -f conftest.$ac_objext conftest.$ac_ext
9872 echo "$as_me:9872: result: $ac_cv_type_pid_t" >&5
9873 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
9874 if test $ac_cv_type_pid_t = yes; then
9878 cat >>confdefs.h <<_ACEOF
9884 echo "$as_me:9884: checking for uid_t in sys/types.h" >&5
9885 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
9886 if test "${ac_cv_type_uid_t+set}" = set; then
9887 echo $ECHO_N "(cached) $ECHO_C" >&6
9889 cat >conftest.$ac_ext <<_ACEOF
9890 #line 9890 "configure"
9891 #include "confdefs.h"
9892 #include <sys/types.h>
9895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9896 egrep "uid_t" >/dev/null 2>&1; then
9897 ac_cv_type_uid_t=yes
9904 echo "$as_me:9904: result: $ac_cv_type_uid_t" >&5
9905 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
9906 if test $ac_cv_type_uid_t = no; then
9908 cat >>confdefs.h <<\_ACEOF
9913 cat >>confdefs.h <<\_ACEOF
9920 echo "$as_me:9920: checking return type of signal handlers" >&5
9921 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
9922 if test "${ac_cv_type_signal+set}" = set; then
9923 echo $ECHO_N "(cached) $ECHO_C" >&6
9925 cat >conftest.$ac_ext <<_ACEOF
9926 #line 9926 "configure"
9927 #include "confdefs.h"
9928 #include <sys/types.h>
9934 extern "C" void (*signal (int, void (*)(int)))(int);
9936 void (*signal ()) ();
9939 #ifdef F77_DUMMY_MAIN
9943 int F77_DUMMY_MAIN() { return 1; }
9953 rm -f conftest.$ac_objext
9954 if { (eval echo "$as_me:9954: \"$ac_compile\"") >&5
9955 (eval $ac_compile) 2>&5
9957 echo "$as_me:9957: \$? = $ac_status" >&5
9958 (exit $ac_status); } &&
9959 { ac_try='test -s conftest.$ac_objext'
9960 { (eval echo "$as_me:9960: \"$ac_try\"") >&5
9963 echo "$as_me:9963: \$? = $ac_status" >&5
9964 (exit $ac_status); }; }; then
9965 ac_cv_type_signal=void
9967 echo "$as_me: failed program was:" >&5
9968 cat conftest.$ac_ext >&5
9969 ac_cv_type_signal=int
9971 rm -f conftest.$ac_objext conftest.$ac_ext
9973 echo "$as_me:9973: result: $ac_cv_type_signal" >&5
9974 echo "${ECHO_T}$ac_cv_type_signal" >&6
9976 cat >>confdefs.h <<_ACEOF
9977 #define RETSIGTYPE $ac_cv_type_signal
9981 if test "$ac_cv_type_signal" = "void" ; then
9983 cat >>confdefs.h <<\_ACEOF
9984 #define VOID_RETSIGTYPE 1
9992 echo "$as_me:9992: checking whether time.h and sys/time.h may both be included" >&5
9993 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9994 if test "${ac_cv_header_time+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 cat >conftest.$ac_ext <<_ACEOF
9998 #line 9998 "configure"
9999 #include "confdefs.h"
10000 #include <sys/types.h>
10001 #include <sys/time.h>
10004 #ifdef F77_DUMMY_MAIN
10005 # ifdef __cplusplus
10008 int F77_DUMMY_MAIN() { return 1; }
10013 if ((struct tm *) 0)
10019 rm -f conftest.$ac_objext
10020 if { (eval echo "$as_me:10020: \"$ac_compile\"") >&5
10021 (eval $ac_compile) 2>&5
10023 echo "$as_me:10023: \$? = $ac_status" >&5
10024 (exit $ac_status); } &&
10025 { ac_try='test -s conftest.$ac_objext'
10026 { (eval echo "$as_me:10026: \"$ac_try\"") >&5
10027 (eval $ac_try) 2>&5
10029 echo "$as_me:10029: \$? = $ac_status" >&5
10030 (exit $ac_status); }; }; then
10031 ac_cv_header_time=yes
10033 echo "$as_me: failed program was:" >&5
10034 cat conftest.$ac_ext >&5
10035 ac_cv_header_time=no
10037 rm -f conftest.$ac_objext conftest.$ac_ext
10039 echo "$as_me:10039: result: $ac_cv_header_time" >&5
10040 echo "${ECHO_T}$ac_cv_header_time" >&6
10041 if test $ac_cv_header_time = yes; then
10043 cat >>confdefs.h <<\_ACEOF
10044 #define TIME_WITH_SYS_TIME 1
10051 for ac_header in standards.h
10053 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10055 echo "$as_me:10055: checking for $ac_header" >&5
10056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10058 echo $ECHO_N "(cached) $ECHO_C" >&6
10060 echo "$as_me:10060: result: `eval echo '${'$as_ac_Header'}'`" >&5
10061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10063 # Is the header compilable?
10064 echo "$as_me:10064: checking $ac_header usability" >&5
10065 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10066 cat >conftest.$ac_ext <<_ACEOF
10067 #line 10067 "configure"
10068 #include "confdefs.h"
10069 $ac_includes_default
10070 #include <$ac_header>
10072 rm -f conftest.$ac_objext
10073 if { (eval echo "$as_me:10073: \"$ac_compile\"") >&5
10074 (eval $ac_compile) 2>&5
10076 echo "$as_me:10076: \$? = $ac_status" >&5
10077 (exit $ac_status); } &&
10078 { ac_try='test -s conftest.$ac_objext'
10079 { (eval echo "$as_me:10079: \"$ac_try\"") >&5
10080 (eval $ac_try) 2>&5
10082 echo "$as_me:10082: \$? = $ac_status" >&5
10083 (exit $ac_status); }; }; then
10084 ac_header_compiler=yes
10086 echo "$as_me: failed program was:" >&5
10087 cat conftest.$ac_ext >&5
10088 ac_header_compiler=no
10090 rm -f conftest.$ac_objext conftest.$ac_ext
10091 echo "$as_me:10091: result: $ac_header_compiler" >&5
10092 echo "${ECHO_T}$ac_header_compiler" >&6
10094 # Is the header present?
10095 echo "$as_me:10095: checking $ac_header presence" >&5
10096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10097 cat >conftest.$ac_ext <<_ACEOF
10098 #line 10098 "configure"
10099 #include "confdefs.h"
10100 #include <$ac_header>
10102 if { (eval echo "$as_me:10102: \"$ac_cpp conftest.$ac_ext\"") >&5
10103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10105 egrep -v '^ *\+' conftest.er1 >conftest.err
10107 cat conftest.err >&5
10108 echo "$as_me:10108: \$? = $ac_status" >&5
10109 (exit $ac_status); } >/dev/null; then
10110 if test -s conftest.err; then
10111 ac_cpp_err=$ac_c_preproc_warn_flag
10118 if test -z "$ac_cpp_err"; then
10119 ac_header_preproc=yes
10121 echo "$as_me: failed program was:" >&5
10122 cat conftest.$ac_ext >&5
10123 ac_header_preproc=no
10125 rm -f conftest.err conftest.$ac_ext
10126 echo "$as_me:10126: result: $ac_header_preproc" >&5
10127 echo "${ECHO_T}$ac_header_preproc" >&6
10129 # So? What about this header?
10130 case $ac_header_compiler:$ac_header_preproc in
10132 { echo "$as_me:10132: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10133 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10134 { echo "$as_me:10134: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10137 { echo "$as_me:10137: WARNING: $ac_header: present but cannot be compiled" >&5
10138 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10139 { echo "$as_me:10139: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10140 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10141 { echo "$as_me:10141: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10144 echo "$as_me:10144: checking for $ac_header" >&5
10145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 eval "$as_ac_Header=$ac_header_preproc"
10151 echo "$as_me:10151: result: `eval echo '${'$as_ac_Header'}'`" >&5
10152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10156 cat >>confdefs.h <<_ACEOF
10157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10164 for i in netinet/ip.h netinet/tcp.h; do
10166 cv=`echo "$i" | sed 'y%./+-%__p_%'`
10168 echo "$as_me:10168: checking for $i" >&5
10169 echo $ECHO_N "checking for $i... $ECHO_C" >&6
10170 if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
10171 echo $ECHO_N "(cached) $ECHO_C" >&6
10173 cat >conftest.$ac_ext <<_ACEOF
10174 #line 10174 "configure"
10175 #include "confdefs.h"
10177 #ifdef HAVE_STANDARDS_H
10178 #include <standards.h>
10183 if { (eval echo "$as_me:10183: \"$ac_cpp conftest.$ac_ext\"") >&5
10184 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10186 egrep -v '^ *\+' conftest.er1 >conftest.err
10188 cat conftest.err >&5
10189 echo "$as_me:10189: \$? = $ac_status" >&5
10190 (exit $ac_status); } >/dev/null; then
10191 if test -s conftest.err; then
10192 ac_cpp_err=$ac_c_preproc_warn_flag
10199 if test -z "$ac_cpp_err"; then
10200 eval "ac_cv_header_$cv=yes"
10202 echo "$as_me: failed program was:" >&5
10203 cat conftest.$ac_ext >&5
10204 eval "ac_cv_header_$cv=no"
10206 rm -f conftest.err conftest.$ac_ext
10208 echo "$as_me:10208: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
10209 echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
10210 ac_res=`eval echo \\$ac_cv_header_$cv`
10211 if test "$ac_res" = yes; then
10212 ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10213 cat >>confdefs.h <<_ACEOF
10214 #define $ac_tr_hdr 1
10222 for ac_header in netinet/ip.h netinet/tcp.h
10224 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10226 echo "$as_me:10226: checking for $ac_header" >&5
10227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10229 echo $ECHO_N "(cached) $ECHO_C" >&6
10231 echo "$as_me:10231: result: `eval echo '${'$as_ac_Header'}'`" >&5
10232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10234 # Is the header compilable?
10235 echo "$as_me:10235: checking $ac_header usability" >&5
10236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10237 cat >conftest.$ac_ext <<_ACEOF
10238 #line 10238 "configure"
10239 #include "confdefs.h"
10240 $ac_includes_default
10241 #include <$ac_header>
10243 rm -f conftest.$ac_objext
10244 if { (eval echo "$as_me:10244: \"$ac_compile\"") >&5
10245 (eval $ac_compile) 2>&5
10247 echo "$as_me:10247: \$? = $ac_status" >&5
10248 (exit $ac_status); } &&
10249 { ac_try='test -s conftest.$ac_objext'
10250 { (eval echo "$as_me:10250: \"$ac_try\"") >&5
10251 (eval $ac_try) 2>&5
10253 echo "$as_me:10253: \$? = $ac_status" >&5
10254 (exit $ac_status); }; }; then
10255 ac_header_compiler=yes
10257 echo "$as_me: failed program was:" >&5
10258 cat conftest.$ac_ext >&5
10259 ac_header_compiler=no
10261 rm -f conftest.$ac_objext conftest.$ac_ext
10262 echo "$as_me:10262: result: $ac_header_compiler" >&5
10263 echo "${ECHO_T}$ac_header_compiler" >&6
10265 # Is the header present?
10266 echo "$as_me:10266: checking $ac_header presence" >&5
10267 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10268 cat >conftest.$ac_ext <<_ACEOF
10269 #line 10269 "configure"
10270 #include "confdefs.h"
10271 #include <$ac_header>
10273 if { (eval echo "$as_me:10273: \"$ac_cpp conftest.$ac_ext\"") >&5
10274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10276 egrep -v '^ *\+' conftest.er1 >conftest.err
10278 cat conftest.err >&5
10279 echo "$as_me:10279: \$? = $ac_status" >&5
10280 (exit $ac_status); } >/dev/null; then
10281 if test -s conftest.err; then
10282 ac_cpp_err=$ac_c_preproc_warn_flag
10289 if test -z "$ac_cpp_err"; then
10290 ac_header_preproc=yes
10292 echo "$as_me: failed program was:" >&5
10293 cat conftest.$ac_ext >&5
10294 ac_header_preproc=no
10296 rm -f conftest.err conftest.$ac_ext
10297 echo "$as_me:10297: result: $ac_header_preproc" >&5
10298 echo "${ECHO_T}$ac_header_preproc" >&6
10300 # So? What about this header?
10301 case $ac_header_compiler:$ac_header_preproc in
10303 { echo "$as_me:10303: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10305 { echo "$as_me:10305: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10308 { echo "$as_me:10308: WARNING: $ac_header: present but cannot be compiled" >&5
10309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10310 { echo "$as_me:10310: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10311 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10312 { echo "$as_me:10312: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10315 echo "$as_me:10315: checking for $ac_header" >&5
10316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10318 echo $ECHO_N "(cached) $ECHO_C" >&6
10320 eval "$as_ac_Header=$ac_header_preproc"
10322 echo "$as_me:10322: result: `eval echo '${'$as_ac_Header'}'`" >&5
10323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10326 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10327 cat >>confdefs.h <<_ACEOF
10328 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10340 for ac_func in getlogin setlogin
10342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10343 echo "$as_me:10343: checking for $ac_func" >&5
10344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10345 if eval "test \"\${$as_ac_var+set}\" = set"; then
10346 echo $ECHO_N "(cached) $ECHO_C" >&6
10348 cat >conftest.$ac_ext <<_ACEOF
10349 #line 10349 "configure"
10350 #include "confdefs.h"
10351 /* System header to define __stub macros and hopefully few prototypes,
10352 which can conflict with char $ac_func (); below. */
10353 #include <assert.h>
10354 /* Override any gcc2 internal prototype to avoid an error. */
10358 /* We use char because int might match the return type of a gcc2
10359 builtin and then its argument prototype would still apply. */
10363 #ifdef F77_DUMMY_MAIN
10364 # ifdef __cplusplus
10367 int F77_DUMMY_MAIN() { return 1; }
10372 /* The GNU C library defines this for functions which it implements
10373 to always fail with ENOSYS. Some functions are actually named
10374 something starting with __ and the normal name is an alias. */
10375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10385 rm -f conftest.$ac_objext conftest$ac_exeext
10386 if { (eval echo "$as_me:10386: \"$ac_link\"") >&5
10387 (eval $ac_link) 2>&5
10389 echo "$as_me:10389: \$? = $ac_status" >&5
10390 (exit $ac_status); } &&
10391 { ac_try='test -s conftest$ac_exeext'
10392 { (eval echo "$as_me:10392: \"$ac_try\"") >&5
10393 (eval $ac_try) 2>&5
10395 echo "$as_me:10395: \$? = $ac_status" >&5
10396 (exit $ac_status); }; }; then
10397 eval "$as_ac_var=yes"
10399 echo "$as_me: failed program was:" >&5
10400 cat conftest.$ac_ext >&5
10401 eval "$as_ac_var=no"
10403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10405 echo "$as_me:10405: result: `eval echo '${'$as_ac_var'}'`" >&5
10406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10407 if test `eval echo '${'$as_ac_var'}'` = yes; then
10408 cat >>confdefs.h <<_ACEOF
10409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10415 if test "$ac_cv_func_getlogin" = yes; then
10416 echo "$as_me:10416: checking if getlogin is posix" >&5
10417 echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
10418 if test "${ac_cv_func_getlogin_posix+set}" = set; then
10419 echo $ECHO_N "(cached) $ECHO_C" >&6
10422 if test "$ac_cv_func_getlogin" = yes -a "$ac_cv_func_setlogin" = yes; then
10423 ac_cv_func_getlogin_posix=no
10425 ac_cv_func_getlogin_posix=yes
10429 echo "$as_me:10429: result: $ac_cv_func_getlogin_posix" >&5
10430 echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
10431 if test "$ac_cv_func_getlogin_posix" = yes; then
10433 cat >>confdefs.h <<\_ACEOF
10434 #define POSIX_GETLOGIN 1
10441 echo "$as_me:10441: checking if realloc if broken" >&5
10442 echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
10443 if test "${ac_cv_func_realloc_broken+set}" = set; then
10444 echo $ECHO_N "(cached) $ECHO_C" >&6
10447 ac_cv_func_realloc_broken=no
10448 if test "$cross_compiling" = yes; then
10451 cat >conftest.$ac_ext <<_ACEOF
10452 #line 10452 "configure"
10453 #include "confdefs.h"
10455 #include <stddef.h>
10456 #include <stdlib.h>
10460 return realloc(NULL, 17) == NULL;
10464 rm -f conftest$ac_exeext
10465 if { (eval echo "$as_me:10465: \"$ac_link\"") >&5
10466 (eval $ac_link) 2>&5
10468 echo "$as_me:10468: \$? = $ac_status" >&5
10469 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10470 { (eval echo "$as_me:10470: \"$ac_try\"") >&5
10471 (eval $ac_try) 2>&5
10473 echo "$as_me:10473: \$? = $ac_status" >&5
10474 (exit $ac_status); }; }; then
10477 echo "$as_me: program exited with status $ac_status" >&5
10478 echo "$as_me: failed program was:" >&5
10479 cat conftest.$ac_ext >&5
10480 ( exit $ac_status )
10481 ac_cv_func_realloc_broken=yes
10483 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10487 echo "$as_me:10487: result: $ac_cv_func_realloc_broken" >&5
10488 echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
10489 if test "$ac_cv_func_realloc_broken" = yes ; then
10491 cat >>confdefs.h <<\_ACEOF
10492 #define BROKEN_REALLOC 1
10504 LIB_roken='$(top_builddir)/lib/roken/libroken.la'
10505 INCLUDES_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
10521 WFLAGS_NOIMPLICITINT=""
10522 if test -z "$WFLAGS" -a "$GCC" = "yes"; then
10523 # -Wno-implicit-int for broken X11 headers
10524 # leave these out for now:
10525 # -Wcast-align doesn't work well on alpha osf/1
10526 # -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
10527 # -Wmissing-declarations -Wnested-externs
10528 WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
10529 WFLAGS_NOUNUSED="-Wno-unused"
10530 WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
10540 cv=`echo "ssize_t" | sed 'y%./+- %__p__%'`
10541 echo "$as_me:10541: checking for ssize_t" >&5
10542 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
10543 if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
10544 echo $ECHO_N "(cached) $ECHO_C" >&6
10546 cat >conftest.$ac_ext <<_ACEOF
10547 #line 10547 "configure"
10548 #include "confdefs.h"
10549 #include <sys/types.h>
10551 #include <stdlib.h>
10552 #include <stddef.h>
10554 #include <unistd.h>
10555 #ifdef F77_DUMMY_MAIN
10556 # ifdef __cplusplus
10559 int F77_DUMMY_MAIN() { return 1; }
10569 rm -f conftest.$ac_objext
10570 if { (eval echo "$as_me:10570: \"$ac_compile\"") >&5
10571 (eval $ac_compile) 2>&5
10573 echo "$as_me:10573: \$? = $ac_status" >&5
10574 (exit $ac_status); } &&
10575 { ac_try='test -s conftest.$ac_objext'
10576 { (eval echo "$as_me:10576: \"$ac_try\"") >&5
10577 (eval $ac_try) 2>&5
10579 echo "$as_me:10579: \$? = $ac_status" >&5
10580 (exit $ac_status); }; }; then
10581 eval "ac_cv_type_$cv=yes"
10583 echo "$as_me: failed program was:" >&5
10584 cat conftest.$ac_ext >&5
10585 eval "ac_cv_type_$cv=no"
10587 rm -f conftest.$ac_objext conftest.$ac_ext
10589 ac_foo=`eval echo \\$ac_cv_type_$cv`
10590 echo "$as_me:10590: result: $ac_foo" >&5
10591 echo "${ECHO_T}$ac_foo" >&6
10592 if test "$ac_foo" = yes; then
10593 ac_tr_hdr=HAVE_`echo ssize_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
10595 echo "$as_me:10595: checking for ssize_t" >&5
10596 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
10597 if test "${ac_cv_type_ssize_t+set}" = set; then
10598 echo $ECHO_N "(cached) $ECHO_C" >&6
10600 cat >conftest.$ac_ext <<_ACEOF
10601 #line 10601 "configure"
10602 #include "confdefs.h"
10603 $ac_includes_default
10604 #ifdef F77_DUMMY_MAIN
10605 # ifdef __cplusplus
10608 int F77_DUMMY_MAIN() { return 1; }
10615 if (sizeof (ssize_t))
10621 rm -f conftest.$ac_objext
10622 if { (eval echo "$as_me:10622: \"$ac_compile\"") >&5
10623 (eval $ac_compile) 2>&5
10625 echo "$as_me:10625: \$? = $ac_status" >&5
10626 (exit $ac_status); } &&
10627 { ac_try='test -s conftest.$ac_objext'
10628 { (eval echo "$as_me:10628: \"$ac_try\"") >&5
10629 (eval $ac_try) 2>&5
10631 echo "$as_me:10631: \$? = $ac_status" >&5
10632 (exit $ac_status); }; }; then
10633 ac_cv_type_ssize_t=yes
10635 echo "$as_me: failed program was:" >&5
10636 cat conftest.$ac_ext >&5
10637 ac_cv_type_ssize_t=no
10639 rm -f conftest.$ac_objext conftest.$ac_ext
10641 echo "$as_me:10641: result: $ac_cv_type_ssize_t" >&5
10642 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
10643 if test $ac_cv_type_ssize_t = yes; then
10645 cat >>confdefs.h <<_ACEOF
10646 #define HAVE_SSIZE_T 1
10654 cat >>confdefs.h <<_ACEOF
10655 #define $ac_tr_hdr 1
10664 cv=`echo "long long" | sed 'y%./+- %__p__%'`
10665 echo "$as_me:10665: checking for long long" >&5
10666 echo $ECHO_N "checking for long long... $ECHO_C" >&6
10667 if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
10668 echo $ECHO_N "(cached) $ECHO_C" >&6
10670 cat >conftest.$ac_ext <<_ACEOF
10671 #line 10671 "configure"
10672 #include "confdefs.h"
10673 #include <sys/types.h>
10675 #include <stdlib.h>
10676 #include <stddef.h>
10679 #ifdef F77_DUMMY_MAIN
10680 # ifdef __cplusplus
10683 int F77_DUMMY_MAIN() { return 1; }
10693 rm -f conftest.$ac_objext
10694 if { (eval echo "$as_me:10694: \"$ac_compile\"") >&5
10695 (eval $ac_compile) 2>&5
10697 echo "$as_me:10697: \$? = $ac_status" >&5
10698 (exit $ac_status); } &&
10699 { ac_try='test -s conftest.$ac_objext'
10700 { (eval echo "$as_me:10700: \"$ac_try\"") >&5
10701 (eval $ac_try) 2>&5
10703 echo "$as_me:10703: \$? = $ac_status" >&5
10704 (exit $ac_status); }; }; then
10705 eval "ac_cv_type_$cv=yes"
10707 echo "$as_me: failed program was:" >&5
10708 cat conftest.$ac_ext >&5
10709 eval "ac_cv_type_$cv=no"
10711 rm -f conftest.$ac_objext conftest.$ac_ext
10713 ac_foo=`eval echo \\$ac_cv_type_$cv`
10714 echo "$as_me:10714: result: $ac_foo" >&5
10715 echo "${ECHO_T}$ac_foo" >&6
10716 if test "$ac_foo" = yes; then
10717 ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
10719 echo "$as_me:10719: checking for long long" >&5
10720 echo $ECHO_N "checking for long long... $ECHO_C" >&6
10721 if test "${ac_cv_type_long_long+set}" = set; then
10722 echo $ECHO_N "(cached) $ECHO_C" >&6
10724 cat >conftest.$ac_ext <<_ACEOF
10725 #line 10725 "configure"
10726 #include "confdefs.h"
10727 $ac_includes_default
10728 #ifdef F77_DUMMY_MAIN
10729 # ifdef __cplusplus
10732 int F77_DUMMY_MAIN() { return 1; }
10737 if ((long long *) 0)
10739 if (sizeof (long long))
10745 rm -f conftest.$ac_objext
10746 if { (eval echo "$as_me:10746: \"$ac_compile\"") >&5
10747 (eval $ac_compile) 2>&5
10749 echo "$as_me:10749: \$? = $ac_status" >&5
10750 (exit $ac_status); } &&
10751 { ac_try='test -s conftest.$ac_objext'
10752 { (eval echo "$as_me:10752: \"$ac_try\"") >&5
10753 (eval $ac_try) 2>&5
10755 echo "$as_me:10755: \$? = $ac_status" >&5
10756 (exit $ac_status); }; }; then
10757 ac_cv_type_long_long=yes
10759 echo "$as_me: failed program was:" >&5
10760 cat conftest.$ac_ext >&5
10761 ac_cv_type_long_long=no
10763 rm -f conftest.$ac_objext conftest.$ac_ext
10765 echo "$as_me:10765: result: $ac_cv_type_long_long" >&5
10766 echo "${ECHO_T}$ac_cv_type_long_long" >&6
10767 if test $ac_cv_type_long_long = yes; then
10769 cat >>confdefs.h <<_ACEOF
10770 #define HAVE_LONG_LONG 1
10778 cat >>confdefs.h <<_ACEOF
10779 #define $ac_tr_hdr 1
10849 netinet/in_systm.h \
10851 netinet6/in6_var.h \
10881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10883 echo "$as_me:10883: checking for $ac_header" >&5
10884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10886 echo $ECHO_N "(cached) $ECHO_C" >&6
10888 echo "$as_me:10888: result: `eval echo '${'$as_ac_Header'}'`" >&5
10889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10891 # Is the header compilable?
10892 echo "$as_me:10892: checking $ac_header usability" >&5
10893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10894 cat >conftest.$ac_ext <<_ACEOF
10895 #line 10895 "configure"
10896 #include "confdefs.h"
10897 $ac_includes_default
10898 #include <$ac_header>
10900 rm -f conftest.$ac_objext
10901 if { (eval echo "$as_me:10901: \"$ac_compile\"") >&5
10902 (eval $ac_compile) 2>&5
10904 echo "$as_me:10904: \$? = $ac_status" >&5
10905 (exit $ac_status); } &&
10906 { ac_try='test -s conftest.$ac_objext'
10907 { (eval echo "$as_me:10907: \"$ac_try\"") >&5
10908 (eval $ac_try) 2>&5
10910 echo "$as_me:10910: \$? = $ac_status" >&5
10911 (exit $ac_status); }; }; then
10912 ac_header_compiler=yes
10914 echo "$as_me: failed program was:" >&5
10915 cat conftest.$ac_ext >&5
10916 ac_header_compiler=no
10918 rm -f conftest.$ac_objext conftest.$ac_ext
10919 echo "$as_me:10919: result: $ac_header_compiler" >&5
10920 echo "${ECHO_T}$ac_header_compiler" >&6
10922 # Is the header present?
10923 echo "$as_me:10923: checking $ac_header presence" >&5
10924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10925 cat >conftest.$ac_ext <<_ACEOF
10926 #line 10926 "configure"
10927 #include "confdefs.h"
10928 #include <$ac_header>
10930 if { (eval echo "$as_me:10930: \"$ac_cpp conftest.$ac_ext\"") >&5
10931 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10933 egrep -v '^ *\+' conftest.er1 >conftest.err
10935 cat conftest.err >&5
10936 echo "$as_me:10936: \$? = $ac_status" >&5
10937 (exit $ac_status); } >/dev/null; then
10938 if test -s conftest.err; then
10939 ac_cpp_err=$ac_c_preproc_warn_flag
10946 if test -z "$ac_cpp_err"; then
10947 ac_header_preproc=yes
10949 echo "$as_me: failed program was:" >&5
10950 cat conftest.$ac_ext >&5
10951 ac_header_preproc=no
10953 rm -f conftest.err conftest.$ac_ext
10954 echo "$as_me:10954: result: $ac_header_preproc" >&5
10955 echo "${ECHO_T}$ac_header_preproc" >&6
10957 # So? What about this header?
10958 case $ac_header_compiler:$ac_header_preproc in
10960 { echo "$as_me:10960: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10961 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10962 { echo "$as_me:10962: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10963 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10965 { echo "$as_me:10965: WARNING: $ac_header: present but cannot be compiled" >&5
10966 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10967 { echo "$as_me:10967: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10968 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10969 { echo "$as_me:10969: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10972 echo "$as_me:10972: checking for $ac_header" >&5
10973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10977 eval "$as_ac_Header=$ac_header_preproc"
10979 echo "$as_me:10979: result: `eval echo '${'$as_ac_Header'}'`" >&5
10980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10984 cat >>confdefs.h <<_ACEOF
10985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10997 if test "$ac_cv_header_err_h" = yes; then
10999 have_err_h_FALSE='#'
11001 have_err_h_TRUE='#'
11007 if test "$ac_cv_header_fnmatch_h" = yes; then
11008 have_fnmatch_h_TRUE=
11009 have_fnmatch_h_FALSE='#'
11011 have_fnmatch_h_TRUE='#'
11012 have_fnmatch_h_FALSE=
11017 if test "$ac_cv_header_ifaddrs_h" = yes; then
11018 have_ifaddrs_h_TRUE=
11019 have_ifaddrs_h_FALSE='#'
11021 have_ifaddrs_h_TRUE='#'
11022 have_ifaddrs_h_FALSE=
11027 if test "$ac_cv_header_vis_h" = yes; then
11029 have_vis_h_FALSE='#'
11031 have_vis_h_TRUE='#'
11041 echo "$as_me:11041: checking for socket" >&5
11042 echo $ECHO_N "checking for socket... $ECHO_C" >&6
11043 if test "${ac_cv_funclib_socket+set}" = set; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11047 if eval "test \"\$ac_cv_func_socket\" != yes" ; then
11048 ac_save_LIBS="$LIBS"
11049 for ac_lib in "" socket; do
11055 *) ac_lib="-l$ac_lib" ;;
11057 LIBS=" $ac_lib $ac_save_LIBS"
11058 cat >conftest.$ac_ext <<_ACEOF
11059 #line 11059 "configure"
11060 #include "confdefs.h"
11062 #ifdef F77_DUMMY_MAIN
11063 # ifdef __cplusplus
11066 int F77_DUMMY_MAIN() { return 1; }
11076 rm -f conftest.$ac_objext conftest$ac_exeext
11077 if { (eval echo "$as_me:11077: \"$ac_link\"") >&5
11078 (eval $ac_link) 2>&5
11080 echo "$as_me:11080: \$? = $ac_status" >&5
11081 (exit $ac_status); } &&
11082 { ac_try='test -s conftest$ac_exeext'
11083 { (eval echo "$as_me:11083: \"$ac_try\"") >&5
11084 (eval $ac_try) 2>&5
11086 echo "$as_me:11086: \$? = $ac_status" >&5
11087 (exit $ac_status); }; }; then
11088 eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
11090 echo "$as_me: failed program was:" >&5
11091 cat conftest.$ac_ext >&5
11093 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11095 eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
11096 LIBS="$ac_save_LIBS"
11102 eval "ac_res=\$ac_cv_funclib_socket"
11106 for ac_func in socket
11108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11109 echo "$as_me:11109: checking for $ac_func" >&5
11110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11111 if eval "test \"\${$as_ac_var+set}\" = set"; then
11112 echo $ECHO_N "(cached) $ECHO_C" >&6
11114 cat >conftest.$ac_ext <<_ACEOF
11115 #line 11115 "configure"
11116 #include "confdefs.h"
11117 /* System header to define __stub macros and hopefully few prototypes,
11118 which can conflict with char $ac_func (); below. */
11119 #include <assert.h>
11120 /* Override any gcc2 internal prototype to avoid an error. */
11124 /* We use char because int might match the return type of a gcc2
11125 builtin and then its argument prototype would still apply. */
11129 #ifdef F77_DUMMY_MAIN
11130 # ifdef __cplusplus
11133 int F77_DUMMY_MAIN() { return 1; }
11138 /* The GNU C library defines this for functions which it implements
11139 to always fail with ENOSYS. Some functions are actually named
11140 something starting with __ and the normal name is an alias. */
11141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11151 rm -f conftest.$ac_objext conftest$ac_exeext
11152 if { (eval echo "$as_me:11152: \"$ac_link\"") >&5
11153 (eval $ac_link) 2>&5
11155 echo "$as_me:11155: \$? = $ac_status" >&5
11156 (exit $ac_status); } &&
11157 { ac_try='test -s conftest$ac_exeext'
11158 { (eval echo "$as_me:11158: \"$ac_try\"") >&5
11159 (eval $ac_try) 2>&5
11161 echo "$as_me:11161: \$? = $ac_status" >&5
11162 (exit $ac_status); }; }; then
11163 eval "$as_ac_var=yes"
11165 echo "$as_me: failed program was:" >&5
11166 cat conftest.$ac_ext >&5
11167 eval "$as_ac_var=no"
11169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11171 echo "$as_me:11171: result: `eval echo '${'$as_ac_var'}'`" >&5
11172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11173 if test `eval echo '${'$as_ac_var'}'` = yes; then
11174 cat >>confdefs.h <<_ACEOF
11175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11183 eval "ac_tr_func=HAVE_`echo socket | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
11184 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
11185 eval "LIB_socket=$ac_res"
11189 eval "ac_cv_func_socket=yes"
11191 cat >>confdefs.h <<_ACEOF
11192 #define $ac_tr_func 1
11195 echo "$as_me:11195: result: yes" >&5
11196 echo "${ECHO_T}yes" >&6
11199 eval "ac_cv_func_socket=no"
11201 echo "$as_me:11201: result: no" >&5
11202 echo "${ECHO_T}no" >&6
11205 eval "ac_cv_func_socket=yes"
11206 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
11207 cat >>confdefs.h <<_ACEOF
11208 #define $ac_tr_func 1
11211 cat >>confdefs.h <<_ACEOF
11212 #define $ac_tr_lib 1
11215 echo "$as_me:11215: result: yes, in $ac_res" >&5
11216 echo "${ECHO_T}yes, in $ac_res" >&6
11221 if test -n "$LIB_socket"; then
11222 LIBS="$LIB_socket $LIBS"
11229 echo "$as_me:11229: checking for gethostbyname" >&5
11230 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
11231 if test "${ac_cv_funclib_gethostbyname+set}" = set; then
11232 echo $ECHO_N "(cached) $ECHO_C" >&6
11235 if eval "test \"\$ac_cv_func_gethostbyname\" != yes" ; then
11236 ac_save_LIBS="$LIBS"
11237 for ac_lib in "" nsl; do
11243 *) ac_lib="-l$ac_lib" ;;
11245 LIBS=" $ac_lib $ac_save_LIBS"
11246 cat >conftest.$ac_ext <<_ACEOF
11247 #line 11247 "configure"
11248 #include "confdefs.h"
11250 #ifdef F77_DUMMY_MAIN
11251 # ifdef __cplusplus
11254 int F77_DUMMY_MAIN() { return 1; }
11264 rm -f conftest.$ac_objext conftest$ac_exeext
11265 if { (eval echo "$as_me:11265: \"$ac_link\"") >&5
11266 (eval $ac_link) 2>&5
11268 echo "$as_me:11268: \$? = $ac_status" >&5
11269 (exit $ac_status); } &&
11270 { ac_try='test -s conftest$ac_exeext'
11271 { (eval echo "$as_me:11271: \"$ac_try\"") >&5
11272 (eval $ac_try) 2>&5
11274 echo "$as_me:11274: \$? = $ac_status" >&5
11275 (exit $ac_status); }; }; then
11276 eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
11278 echo "$as_me: failed program was:" >&5
11279 cat conftest.$ac_ext >&5
11281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11283 eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
11284 LIBS="$ac_save_LIBS"
11290 eval "ac_res=\$ac_cv_funclib_gethostbyname"
11294 for ac_func in gethostbyname
11296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11297 echo "$as_me:11297: checking for $ac_func" >&5
11298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11299 if eval "test \"\${$as_ac_var+set}\" = set"; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 cat >conftest.$ac_ext <<_ACEOF
11303 #line 11303 "configure"
11304 #include "confdefs.h"
11305 /* System header to define __stub macros and hopefully few prototypes,
11306 which can conflict with char $ac_func (); below. */
11307 #include <assert.h>
11308 /* Override any gcc2 internal prototype to avoid an error. */
11312 /* We use char because int might match the return type of a gcc2
11313 builtin and then its argument prototype would still apply. */
11317 #ifdef F77_DUMMY_MAIN
11318 # ifdef __cplusplus
11321 int F77_DUMMY_MAIN() { return 1; }
11326 /* The GNU C library defines this for functions which it implements
11327 to always fail with ENOSYS. Some functions are actually named
11328 something starting with __ and the normal name is an alias. */
11329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11339 rm -f conftest.$ac_objext conftest$ac_exeext
11340 if { (eval echo "$as_me:11340: \"$ac_link\"") >&5
11341 (eval $ac_link) 2>&5
11343 echo "$as_me:11343: \$? = $ac_status" >&5
11344 (exit $ac_status); } &&
11345 { ac_try='test -s conftest$ac_exeext'
11346 { (eval echo "$as_me:11346: \"$ac_try\"") >&5
11347 (eval $ac_try) 2>&5
11349 echo "$as_me:11349: \$? = $ac_status" >&5
11350 (exit $ac_status); }; }; then
11351 eval "$as_ac_var=yes"
11353 echo "$as_me: failed program was:" >&5
11354 cat conftest.$ac_ext >&5
11355 eval "$as_ac_var=no"
11357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11359 echo "$as_me:11359: result: `eval echo '${'$as_ac_var'}'`" >&5
11360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11361 if test `eval echo '${'$as_ac_var'}'` = yes; then
11362 cat >>confdefs.h <<_ACEOF
11363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11371 eval "ac_tr_func=HAVE_`echo gethostbyname | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
11372 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
11373 eval "LIB_gethostbyname=$ac_res"
11377 eval "ac_cv_func_gethostbyname=yes"
11378 eval "LIB_gethostbyname="
11379 cat >>confdefs.h <<_ACEOF
11380 #define $ac_tr_func 1
11383 echo "$as_me:11383: result: yes" >&5
11384 echo "${ECHO_T}yes" >&6
11387 eval "ac_cv_func_gethostbyname=no"
11388 eval "LIB_gethostbyname="
11389 echo "$as_me:11389: result: no" >&5
11390 echo "${ECHO_T}no" >&6
11393 eval "ac_cv_func_gethostbyname=yes"
11394 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
11395 cat >>confdefs.h <<_ACEOF
11396 #define $ac_tr_func 1
11399 cat >>confdefs.h <<_ACEOF
11400 #define $ac_tr_lib 1
11403 echo "$as_me:11403: result: yes, in $ac_res" >&5
11404 echo "${ECHO_T}yes, in $ac_res" >&6
11409 if test -n "$LIB_gethostbyname"; then
11410 LIBS="$LIB_gethostbyname $LIBS"
11417 echo "$as_me:11417: checking for syslog" >&5
11418 echo $ECHO_N "checking for syslog... $ECHO_C" >&6
11419 if test "${ac_cv_funclib_syslog+set}" = set; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11423 if eval "test \"\$ac_cv_func_syslog\" != yes" ; then
11424 ac_save_LIBS="$LIBS"
11425 for ac_lib in "" syslog; do
11431 *) ac_lib="-l$ac_lib" ;;
11433 LIBS=" $ac_lib $ac_save_LIBS"
11434 cat >conftest.$ac_ext <<_ACEOF
11435 #line 11435 "configure"
11436 #include "confdefs.h"
11438 #ifdef F77_DUMMY_MAIN
11439 # ifdef __cplusplus
11442 int F77_DUMMY_MAIN() { return 1; }
11452 rm -f conftest.$ac_objext conftest$ac_exeext
11453 if { (eval echo "$as_me:11453: \"$ac_link\"") >&5
11454 (eval $ac_link) 2>&5
11456 echo "$as_me:11456: \$? = $ac_status" >&5
11457 (exit $ac_status); } &&
11458 { ac_try='test -s conftest$ac_exeext'
11459 { (eval echo "$as_me:11459: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:11462: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11464 eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
11466 echo "$as_me: failed program was:" >&5
11467 cat conftest.$ac_ext >&5
11469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11471 eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
11472 LIBS="$ac_save_LIBS"
11478 eval "ac_res=\$ac_cv_funclib_syslog"
11482 for ac_func in syslog
11484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11485 echo "$as_me:11485: checking for $ac_func" >&5
11486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11487 if eval "test \"\${$as_ac_var+set}\" = set"; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 cat >conftest.$ac_ext <<_ACEOF
11491 #line 11491 "configure"
11492 #include "confdefs.h"
11493 /* System header to define __stub macros and hopefully few prototypes,
11494 which can conflict with char $ac_func (); below. */
11495 #include <assert.h>
11496 /* Override any gcc2 internal prototype to avoid an error. */
11500 /* We use char because int might match the return type of a gcc2
11501 builtin and then its argument prototype would still apply. */
11505 #ifdef F77_DUMMY_MAIN
11506 # ifdef __cplusplus
11509 int F77_DUMMY_MAIN() { return 1; }
11514 /* The GNU C library defines this for functions which it implements
11515 to always fail with ENOSYS. Some functions are actually named
11516 something starting with __ and the normal name is an alias. */
11517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11527 rm -f conftest.$ac_objext conftest$ac_exeext
11528 if { (eval echo "$as_me:11528: \"$ac_link\"") >&5
11529 (eval $ac_link) 2>&5
11531 echo "$as_me:11531: \$? = $ac_status" >&5
11532 (exit $ac_status); } &&
11533 { ac_try='test -s conftest$ac_exeext'
11534 { (eval echo "$as_me:11534: \"$ac_try\"") >&5
11535 (eval $ac_try) 2>&5
11537 echo "$as_me:11537: \$? = $ac_status" >&5
11538 (exit $ac_status); }; }; then
11539 eval "$as_ac_var=yes"
11541 echo "$as_me: failed program was:" >&5
11542 cat conftest.$ac_ext >&5
11543 eval "$as_ac_var=no"
11545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11547 echo "$as_me:11547: result: `eval echo '${'$as_ac_var'}'`" >&5
11548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11549 if test `eval echo '${'$as_ac_var'}'` = yes; then
11550 cat >>confdefs.h <<_ACEOF
11551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11559 eval "ac_tr_func=HAVE_`echo syslog | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
11560 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
11561 eval "LIB_syslog=$ac_res"
11565 eval "ac_cv_func_syslog=yes"
11567 cat >>confdefs.h <<_ACEOF
11568 #define $ac_tr_func 1
11571 echo "$as_me:11571: result: yes" >&5
11572 echo "${ECHO_T}yes" >&6
11575 eval "ac_cv_func_syslog=no"
11577 echo "$as_me:11577: result: no" >&5
11578 echo "${ECHO_T}no" >&6
11581 eval "ac_cv_func_syslog=yes"
11582 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
11583 cat >>confdefs.h <<_ACEOF
11584 #define $ac_tr_func 1
11587 cat >>confdefs.h <<_ACEOF
11588 #define $ac_tr_lib 1
11591 echo "$as_me:11591: result: yes, in $ac_res" >&5
11592 echo "${ECHO_T}yes, in $ac_res" >&6
11597 if test -n "$LIB_syslog"; then
11598 LIBS="$LIB_syslog $LIBS"
11604 # Check whether --with-ipv6 or --without-ipv6 was given.
11605 if test "${with_ipv6+set}" = set; then
11606 withval="$with_ipv6"
11608 if test "$withval" = "no"; then
11612 save_CFLAGS="${CFLAGS}"
11613 echo "$as_me:11613: checking for IPv6 stack type" >&5
11614 echo $ECHO_N "checking for IPv6 stack type... $ECHO_C" >&6
11615 if test "${v6type+set}" = set; then
11616 echo $ECHO_N "(cached) $ECHO_C" >&6
11621 for i in v6d toshiba kame inria zeta linux; do
11624 cat >conftest.$ac_ext <<_ACEOF
11625 #line 11625 "configure"
11626 #include "confdefs.h"
11628 #include </usr/local/v6/include/sys/types.h>
11633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11634 egrep "yes" >/dev/null 2>&1; then
11635 v6type=$i; v6lib=v6;
11636 v6libdir=/usr/local/v6/lib;
11637 CFLAGS="-I/usr/local/v6/include $CFLAGS"
11643 cat >conftest.$ac_ext <<_ACEOF
11644 #line 11644 "configure"
11645 #include "confdefs.h"
11647 #include <sys/param.h>
11648 #ifdef _TOSHIBA_INET6
11652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11653 egrep "yes" >/dev/null 2>&1; then
11654 v6type=$i; v6lib=inet6;
11655 v6libdir=/usr/local/v6/lib;
11656 CFLAGS="-DINET6 $CFLAGS"
11662 cat >conftest.$ac_ext <<_ACEOF
11663 #line 11663 "configure"
11664 #include "confdefs.h"
11666 #include <netinet/in.h>
11671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11672 egrep "yes" >/dev/null 2>&1; then
11673 v6type=$i; v6lib=inet6;
11674 v6libdir=/usr/local/v6/lib;
11675 CFLAGS="-DINET6 $CFLAGS"
11681 cat >conftest.$ac_ext <<_ACEOF
11682 #line 11682 "configure"
11683 #include "confdefs.h"
11685 #include <netinet/in.h>
11686 #ifdef IPV6_INRIA_VERSION
11690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11691 egrep "yes" >/dev/null 2>&1; then
11692 v6type=$i; CFLAGS="-DINET6 $CFLAGS"
11698 cat >conftest.$ac_ext <<_ACEOF
11699 #line 11699 "configure"
11700 #include "confdefs.h"
11702 #include <sys/param.h>
11703 #ifdef _ZETA_MINAMI_INET6
11707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11708 egrep "yes" >/dev/null 2>&1; then
11709 v6type=$i; v6lib=inet6;
11710 v6libdir=/usr/local/v6/lib;
11711 CFLAGS="-DINET6 $CFLAGS"
11717 if test -d /usr/inet6; then
11720 v6libdir=/usr/inet6
11721 CFLAGS="-DINET6 $CFLAGS"
11725 if test "$v6type" != "unknown"; then
11730 if test "$v6lib" != "none"; then
11731 for dir in $v6libdir /usr/local/v6/lib /usr/local/lib; do
11732 if test -d $dir -a -f $dir/lib$v6lib.a; then
11733 LIBS="-L$dir -l$v6lib $LIBS"
11740 echo "$as_me:11740: result: $v6type" >&5
11741 echo "${ECHO_T}$v6type" >&6
11743 echo "$as_me:11743: checking for IPv6" >&5
11744 echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
11745 if test "${ac_cv_lib_ipv6+set}" = set; then
11746 echo $ECHO_N "(cached) $ECHO_C" >&6
11749 cat >conftest.$ac_ext <<_ACEOF
11750 #line 11750 "configure"
11751 #include "confdefs.h"
11753 #ifdef HAVE_SYS_TYPES_H
11754 #include <sys/types.h>
11756 #ifdef HAVE_SYS_SOCKET_H
11757 #include <sys/socket.h>
11759 #ifdef HAVE_NETINET_IN_H
11760 #include <netinet/in.h>
11762 #ifdef HAVE_NETINET_IN6_H
11763 #include <netinet/in6.h>
11766 #ifdef F77_DUMMY_MAIN
11767 # ifdef __cplusplus
11770 int F77_DUMMY_MAIN() { return 1; }
11776 struct sockaddr_in6 sin6;
11779 s = socket(AF_INET6, SOCK_DGRAM, 0);
11781 sin6.sin6_family = AF_INET6;
11782 sin6.sin6_port = htons(17);
11783 sin6.sin6_addr = in6addr_any;
11784 bind(s, (struct sockaddr *)&sin6, sizeof(sin6));
11790 rm -f conftest.$ac_objext conftest$ac_exeext
11791 if { (eval echo "$as_me:11791: \"$ac_link\"") >&5
11792 (eval $ac_link) 2>&5
11794 echo "$as_me:11794: \$? = $ac_status" >&5
11795 (exit $ac_status); } &&
11796 { ac_try='test -s conftest$ac_exeext'
11797 { (eval echo "$as_me:11797: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5
11800 echo "$as_me:11800: \$? = $ac_status" >&5
11801 (exit $ac_status); }; }; then
11804 echo "$as_me: failed program was:" >&5
11805 cat conftest.$ac_ext >&5
11808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11810 echo "$as_me:11810: result: $ac_cv_lib_ipv6" >&5
11811 echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
11812 if test "$ac_cv_lib_ipv6" = yes; then
11814 cat >>confdefs.h <<\_ACEOF
11815 #define HAVE_IPV6 1
11819 CFLAGS="${save_CFLAGS}"
11822 if test "$ac_cv_lib_ipv6" = yes; then
11823 echo "$as_me:11823: checking for in6addr_loopback" >&5
11824 echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
11825 if test "${ac_cv_var_in6addr_loopback+set}" = set; then
11826 echo $ECHO_N "(cached) $ECHO_C" >&6
11829 cat >conftest.$ac_ext <<_ACEOF
11830 #line 11830 "configure"
11831 #include "confdefs.h"
11833 #ifdef HAVE_SYS_TYPES_H
11834 #include <sys/types.h>
11836 #ifdef HAVE_SYS_SOCKET_H
11837 #include <sys/socket.h>
11839 #ifdef HAVE_NETINET_IN_H
11840 #include <netinet/in.h>
11842 #ifdef HAVE_NETINET_IN6_H
11843 #include <netinet/in6.h>
11845 #ifdef F77_DUMMY_MAIN
11846 # ifdef __cplusplus
11849 int F77_DUMMY_MAIN() { return 1; }
11855 struct sockaddr_in6 sin6;
11856 sin6.sin6_addr = in6addr_loopback;
11862 rm -f conftest.$ac_objext conftest$ac_exeext
11863 if { (eval echo "$as_me:11863: \"$ac_link\"") >&5
11864 (eval $ac_link) 2>&5
11866 echo "$as_me:11866: \$? = $ac_status" >&5
11867 (exit $ac_status); } &&
11868 { ac_try='test -s conftest$ac_exeext'
11869 { (eval echo "$as_me:11869: \"$ac_try\"") >&5
11870 (eval $ac_try) 2>&5
11872 echo "$as_me:11872: \$? = $ac_status" >&5
11873 (exit $ac_status); }; }; then
11874 ac_cv_var_in6addr_loopback=yes
11876 echo "$as_me: failed program was:" >&5
11877 cat conftest.$ac_ext >&5
11878 ac_cv_var_in6addr_loopback=no
11880 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11882 echo "$as_me:11882: result: $ac_cv_var_in6addr_loopback" >&5
11883 echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
11884 if test "$ac_cv_var_in6addr_loopback" = yes; then
11886 cat >>confdefs.h <<\_ACEOF
11887 #define HAVE_IN6ADDR_LOOPBACK 1
11898 echo "$as_me:11898: checking for gethostbyname2" >&5
11899 echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
11900 if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11904 if eval "test \"\$ac_cv_func_gethostbyname2\" != yes" ; then
11905 ac_save_LIBS="$LIBS"
11906 for ac_lib in "" inet6 ip6; do
11912 *) ac_lib="-l$ac_lib" ;;
11914 LIBS=" $ac_lib $ac_save_LIBS"
11915 cat >conftest.$ac_ext <<_ACEOF
11916 #line 11916 "configure"
11917 #include "confdefs.h"
11919 #ifdef F77_DUMMY_MAIN
11920 # ifdef __cplusplus
11923 int F77_DUMMY_MAIN() { return 1; }
11933 rm -f conftest.$ac_objext conftest$ac_exeext
11934 if { (eval echo "$as_me:11934: \"$ac_link\"") >&5
11935 (eval $ac_link) 2>&5
11937 echo "$as_me:11937: \$? = $ac_status" >&5
11938 (exit $ac_status); } &&
11939 { ac_try='test -s conftest$ac_exeext'
11940 { (eval echo "$as_me:11940: \"$ac_try\"") >&5
11941 (eval $ac_try) 2>&5
11943 echo "$as_me:11943: \$? = $ac_status" >&5
11944 (exit $ac_status); }; }; then
11945 eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
11947 echo "$as_me: failed program was:" >&5
11948 cat conftest.$ac_ext >&5
11950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11952 eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
11953 LIBS="$ac_save_LIBS"
11959 eval "ac_res=\$ac_cv_funclib_gethostbyname2"
11963 for ac_func in gethostbyname2
11965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11966 echo "$as_me:11966: checking for $ac_func" >&5
11967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11968 if eval "test \"\${$as_ac_var+set}\" = set"; then
11969 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 cat >conftest.$ac_ext <<_ACEOF
11972 #line 11972 "configure"
11973 #include "confdefs.h"
11974 /* System header to define __stub macros and hopefully few prototypes,
11975 which can conflict with char $ac_func (); below. */
11976 #include <assert.h>
11977 /* Override any gcc2 internal prototype to avoid an error. */
11981 /* We use char because int might match the return type of a gcc2
11982 builtin and then its argument prototype would still apply. */
11986 #ifdef F77_DUMMY_MAIN
11987 # ifdef __cplusplus
11990 int F77_DUMMY_MAIN() { return 1; }
11995 /* The GNU C library defines this for functions which it implements
11996 to always fail with ENOSYS. Some functions are actually named
11997 something starting with __ and the normal name is an alias. */
11998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12008 rm -f conftest.$ac_objext conftest$ac_exeext
12009 if { (eval echo "$as_me:12009: \"$ac_link\"") >&5
12010 (eval $ac_link) 2>&5
12012 echo "$as_me:12012: \$? = $ac_status" >&5
12013 (exit $ac_status); } &&
12014 { ac_try='test -s conftest$ac_exeext'
12015 { (eval echo "$as_me:12015: \"$ac_try\"") >&5
12016 (eval $ac_try) 2>&5
12018 echo "$as_me:12018: \$? = $ac_status" >&5
12019 (exit $ac_status); }; }; then
12020 eval "$as_ac_var=yes"
12022 echo "$as_me: failed program was:" >&5
12023 cat conftest.$ac_ext >&5
12024 eval "$as_ac_var=no"
12026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12028 echo "$as_me:12028: result: `eval echo '${'$as_ac_var'}'`" >&5
12029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12030 if test `eval echo '${'$as_ac_var'}'` = yes; then
12031 cat >>confdefs.h <<_ACEOF
12032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12040 eval "ac_tr_func=HAVE_`echo gethostbyname2 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
12041 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
12042 eval "LIB_gethostbyname2=$ac_res"
12046 eval "ac_cv_func_gethostbyname2=yes"
12047 eval "LIB_gethostbyname2="
12048 cat >>confdefs.h <<_ACEOF
12049 #define $ac_tr_func 1
12052 echo "$as_me:12052: result: yes" >&5
12053 echo "${ECHO_T}yes" >&6
12056 eval "ac_cv_func_gethostbyname2=no"
12057 eval "LIB_gethostbyname2="
12058 echo "$as_me:12058: result: no" >&5
12059 echo "${ECHO_T}no" >&6
12062 eval "ac_cv_func_gethostbyname2=yes"
12063 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
12064 cat >>confdefs.h <<_ACEOF
12065 #define $ac_tr_func 1
12068 cat >>confdefs.h <<_ACEOF
12069 #define $ac_tr_lib 1
12072 echo "$as_me:12072: result: yes, in $ac_res" >&5
12073 echo "${ECHO_T}yes, in $ac_res" >&6
12078 if test -n "$LIB_gethostbyname2"; then
12079 LIBS="$LIB_gethostbyname2 $LIBS"
12087 echo "$as_me:12087: checking for res_search" >&5
12088 echo $ECHO_N "checking for res_search... $ECHO_C" >&6
12089 if test "${ac_cv_funclib_res_search+set}" = set; then
12090 echo $ECHO_N "(cached) $ECHO_C" >&6
12093 if eval "test \"\$ac_cv_func_res_search\" != yes" ; then
12094 ac_save_LIBS="$LIBS"
12095 for ac_lib in "" resolv; do
12101 *) ac_lib="-l$ac_lib" ;;
12103 LIBS=" $ac_lib $ac_save_LIBS"
12104 cat >conftest.$ac_ext <<_ACEOF
12105 #line 12105 "configure"
12106 #include "confdefs.h"
12109 #ifdef HAVE_SYS_TYPES_H
12110 #include <sys/types.h>
12112 #ifdef HAVE_NETINET_IN_H
12113 #include <netinet/in.h>
12115 #ifdef HAVE_ARPA_NAMESER_H
12116 #include <arpa/nameser.h>
12118 #ifdef HAVE_RESOLV_H
12119 #include <resolv.h>
12122 #ifdef F77_DUMMY_MAIN
12123 # ifdef __cplusplus
12126 int F77_DUMMY_MAIN() { return 1; }
12131 res_search(0,0,0,0,0)
12136 rm -f conftest.$ac_objext conftest$ac_exeext
12137 if { (eval echo "$as_me:12137: \"$ac_link\"") >&5
12138 (eval $ac_link) 2>&5
12140 echo "$as_me:12140: \$? = $ac_status" >&5
12141 (exit $ac_status); } &&
12142 { ac_try='test -s conftest$ac_exeext'
12143 { (eval echo "$as_me:12143: \"$ac_try\"") >&5
12144 (eval $ac_try) 2>&5
12146 echo "$as_me:12146: \$? = $ac_status" >&5
12147 (exit $ac_status); }; }; then
12148 eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
12150 echo "$as_me: failed program was:" >&5
12151 cat conftest.$ac_ext >&5
12153 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12155 eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
12156 LIBS="$ac_save_LIBS"
12162 eval "ac_res=\$ac_cv_funclib_res_search"
12166 for ac_func in res_search
12168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12169 echo "$as_me:12169: checking for $ac_func" >&5
12170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12171 if eval "test \"\${$as_ac_var+set}\" = set"; then
12172 echo $ECHO_N "(cached) $ECHO_C" >&6
12174 cat >conftest.$ac_ext <<_ACEOF
12175 #line 12175 "configure"
12176 #include "confdefs.h"
12177 /* System header to define __stub macros and hopefully few prototypes,
12178 which can conflict with char $ac_func (); below. */
12179 #include <assert.h>
12180 /* Override any gcc2 internal prototype to avoid an error. */
12184 /* We use char because int might match the return type of a gcc2
12185 builtin and then its argument prototype would still apply. */
12189 #ifdef F77_DUMMY_MAIN
12190 # ifdef __cplusplus
12193 int F77_DUMMY_MAIN() { return 1; }
12198 /* The GNU C library defines this for functions which it implements
12199 to always fail with ENOSYS. Some functions are actually named
12200 something starting with __ and the normal name is an alias. */
12201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12211 rm -f conftest.$ac_objext conftest$ac_exeext
12212 if { (eval echo "$as_me:12212: \"$ac_link\"") >&5
12213 (eval $ac_link) 2>&5
12215 echo "$as_me:12215: \$? = $ac_status" >&5
12216 (exit $ac_status); } &&
12217 { ac_try='test -s conftest$ac_exeext'
12218 { (eval echo "$as_me:12218: \"$ac_try\"") >&5
12219 (eval $ac_try) 2>&5
12221 echo "$as_me:12221: \$? = $ac_status" >&5
12222 (exit $ac_status); }; }; then
12223 eval "$as_ac_var=yes"
12225 echo "$as_me: failed program was:" >&5
12226 cat conftest.$ac_ext >&5
12227 eval "$as_ac_var=no"
12229 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12231 echo "$as_me:12231: result: `eval echo '${'$as_ac_var'}'`" >&5
12232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12233 if test `eval echo '${'$as_ac_var'}'` = yes; then
12234 cat >>confdefs.h <<_ACEOF
12235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12243 eval "ac_tr_func=HAVE_`echo res_search | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
12244 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
12245 eval "LIB_res_search=$ac_res"
12249 eval "ac_cv_func_res_search=yes"
12250 eval "LIB_res_search="
12251 cat >>confdefs.h <<_ACEOF
12252 #define $ac_tr_func 1
12255 echo "$as_me:12255: result: yes" >&5
12256 echo "${ECHO_T}yes" >&6
12259 eval "ac_cv_func_res_search=no"
12260 eval "LIB_res_search="
12261 echo "$as_me:12261: result: no" >&5
12262 echo "${ECHO_T}no" >&6
12265 eval "ac_cv_func_res_search=yes"
12266 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
12267 cat >>confdefs.h <<_ACEOF
12268 #define $ac_tr_func 1
12271 cat >>confdefs.h <<_ACEOF
12272 #define $ac_tr_lib 1
12275 echo "$as_me:12275: result: yes, in $ac_res" >&5
12276 echo "${ECHO_T}yes, in $ac_res" >&6
12281 if test -n "$LIB_res_search"; then
12282 LIBS="$LIB_res_search $LIBS"
12290 echo "$as_me:12290: checking for dn_expand" >&5
12291 echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
12292 if test "${ac_cv_funclib_dn_expand+set}" = set; then
12293 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 if eval "test \"\$ac_cv_func_dn_expand\" != yes" ; then
12297 ac_save_LIBS="$LIBS"
12298 for ac_lib in "" resolv; do
12304 *) ac_lib="-l$ac_lib" ;;
12306 LIBS=" $ac_lib $ac_save_LIBS"
12307 cat >conftest.$ac_ext <<_ACEOF
12308 #line 12308 "configure"
12309 #include "confdefs.h"
12312 #ifdef HAVE_SYS_TYPES_H
12313 #include <sys/types.h>
12315 #ifdef HAVE_NETINET_IN_H
12316 #include <netinet/in.h>
12318 #ifdef HAVE_ARPA_NAMESER_H
12319 #include <arpa/nameser.h>
12321 #ifdef HAVE_RESOLV_H
12322 #include <resolv.h>
12325 #ifdef F77_DUMMY_MAIN
12326 # ifdef __cplusplus
12329 int F77_DUMMY_MAIN() { return 1; }
12334 dn_expand(0,0,0,0,0)
12339 rm -f conftest.$ac_objext conftest$ac_exeext
12340 if { (eval echo "$as_me:12340: \"$ac_link\"") >&5
12341 (eval $ac_link) 2>&5
12343 echo "$as_me:12343: \$? = $ac_status" >&5
12344 (exit $ac_status); } &&
12345 { ac_try='test -s conftest$ac_exeext'
12346 { (eval echo "$as_me:12346: \"$ac_try\"") >&5
12347 (eval $ac_try) 2>&5
12349 echo "$as_me:12349: \$? = $ac_status" >&5
12350 (exit $ac_status); }; }; then
12351 eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
12353 echo "$as_me: failed program was:" >&5
12354 cat conftest.$ac_ext >&5
12356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12358 eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
12359 LIBS="$ac_save_LIBS"
12365 eval "ac_res=\$ac_cv_funclib_dn_expand"
12369 for ac_func in dn_expand
12371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12372 echo "$as_me:12372: 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 12378 "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:12415: \"$ac_link\"") >&5
12416 (eval $ac_link) 2>&5
12418 echo "$as_me:12418: \$? = $ac_status" >&5
12419 (exit $ac_status); } &&
12420 { ac_try='test -s conftest$ac_exeext'
12421 { (eval echo "$as_me:12421: \"$ac_try\"") >&5
12422 (eval $ac_try) 2>&5
12424 echo "$as_me:12424: \$? = $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:12434: 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
12446 eval "ac_tr_func=HAVE_`echo dn_expand | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
12447 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
12448 eval "LIB_dn_expand=$ac_res"
12452 eval "ac_cv_func_dn_expand=yes"
12453 eval "LIB_dn_expand="
12454 cat >>confdefs.h <<_ACEOF
12455 #define $ac_tr_func 1
12458 echo "$as_me:12458: result: yes" >&5
12459 echo "${ECHO_T}yes" >&6
12462 eval "ac_cv_func_dn_expand=no"
12463 eval "LIB_dn_expand="
12464 echo "$as_me:12464: result: no" >&5
12465 echo "${ECHO_T}no" >&6
12468 eval "ac_cv_func_dn_expand=yes"
12469 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
12470 cat >>confdefs.h <<_ACEOF
12471 #define $ac_tr_func 1
12474 cat >>confdefs.h <<_ACEOF
12475 #define $ac_tr_lib 1
12478 echo "$as_me:12478: result: yes, in $ac_res" >&5
12479 echo "${ECHO_T}yes, in $ac_res" >&6
12484 if test -n "$LIB_dn_expand"; then
12485 LIBS="$LIB_dn_expand $LIBS"
12490 echo "$as_me:12490: checking for _res" >&5
12491 echo $ECHO_N "checking for _res... $ECHO_C" >&6
12492 if test "${ac_cv_var__res+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12496 cat >conftest.$ac_ext <<_ACEOF
12497 #line 12497 "configure"
12498 #include "confdefs.h"
12500 int foo() { return _res; }
12501 #ifdef F77_DUMMY_MAIN
12502 # ifdef __cplusplus
12505 int F77_DUMMY_MAIN() { return 1; }
12515 rm -f conftest.$ac_objext conftest$ac_exeext
12516 if { (eval echo "$as_me:12516: \"$ac_link\"") >&5
12517 (eval $ac_link) 2>&5
12519 echo "$as_me:12519: \$? = $ac_status" >&5
12520 (exit $ac_status); } &&
12521 { ac_try='test -s conftest$ac_exeext'
12522 { (eval echo "$as_me:12522: \"$ac_try\"") >&5
12523 (eval $ac_try) 2>&5
12525 echo "$as_me:12525: \$? = $ac_status" >&5
12526 (exit $ac_status); }; }; then
12529 echo "$as_me: failed program was:" >&5
12530 cat conftest.$ac_ext >&5
12533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12537 ac_foo=`eval echo \\$ac_cv_var__res`
12538 echo "$as_me:12538: result: $ac_foo" >&5
12539 echo "${ECHO_T}$ac_foo" >&6
12540 if test "$ac_foo" = yes; then
12542 cat >>confdefs.h <<_ACEOF
12543 #define HAVE__RES 1
12547 echo "$as_me:12547: checking if _res is properly declared" >&5
12548 echo $ECHO_N "checking if _res is properly declared... $ECHO_C" >&6
12549 if test "${ac_cv_var__res_declaration+set}" = set; then
12550 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 cat >conftest.$ac_ext <<_ACEOF
12554 #line 12554 "configure"
12555 #include "confdefs.h"
12557 #ifdef HAVE_SYS_TYPES_H
12558 #include <sys/types.h>
12560 #ifdef HAVE_NETINET_IN_H
12561 #include <netinet/in.h>
12563 #ifdef HAVE_ARPA_NAMESER_H
12564 #include <arpa/nameser.h>
12566 #ifdef HAVE_RESOLV_H
12567 #include <resolv.h>
12569 extern struct { int foo; } _res;
12570 #ifdef F77_DUMMY_MAIN
12571 # ifdef __cplusplus
12574 int F77_DUMMY_MAIN() { return 1; }
12584 rm -f conftest.$ac_objext
12585 if { (eval echo "$as_me:12585: \"$ac_compile\"") >&5
12586 (eval $ac_compile) 2>&5
12588 echo "$as_me:12588: \$? = $ac_status" >&5
12589 (exit $ac_status); } &&
12590 { ac_try='test -s conftest.$ac_objext'
12591 { (eval echo "$as_me:12591: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12594 echo "$as_me:12594: \$? = $ac_status" >&5
12595 (exit $ac_status); }; }; then
12596 eval "ac_cv_var__res_declaration=no"
12598 echo "$as_me: failed program was:" >&5
12599 cat conftest.$ac_ext >&5
12600 eval "ac_cv_var__res_declaration=yes"
12602 rm -f conftest.$ac_objext conftest.$ac_ext
12609 echo "$as_me:12609: result: $ac_cv_var__res_declaration" >&5
12610 echo "${ECHO_T}$ac_cv_var__res_declaration" >&6
12611 if eval "test \"\$ac_cv_var__res_declaration\" = yes"; then
12613 cat >>confdefs.h <<\_ACEOF
12614 #define HAVE__RES_DECLARATION 1
12625 echo "$as_me:12625: checking for working snprintf" >&5
12626 echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
12627 if test "${ac_cv_func_snprintf_working+set}" = set; then
12628 echo $ECHO_N "(cached) $ECHO_C" >&6
12630 ac_cv_func_snprintf_working=yes
12631 if test "$cross_compiling" = yes; then
12634 cat >conftest.$ac_ext <<_ACEOF
12635 #line 12635 "configure"
12636 #include "confdefs.h"
12639 #include <string.h>
12643 snprintf(foo, 2, "12");
12644 return strcmp(foo, "1");
12647 rm -f conftest$ac_exeext
12648 if { (eval echo "$as_me:12648: \"$ac_link\"") >&5
12649 (eval $ac_link) 2>&5
12651 echo "$as_me:12651: \$? = $ac_status" >&5
12652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12653 { (eval echo "$as_me:12653: \"$ac_try\"") >&5
12654 (eval $ac_try) 2>&5
12656 echo "$as_me:12656: \$? = $ac_status" >&5
12657 (exit $ac_status); }; }; then
12660 echo "$as_me: program exited with status $ac_status" >&5
12661 echo "$as_me: failed program was:" >&5
12662 cat conftest.$ac_ext >&5
12663 ( exit $ac_status )
12664 ac_cv_func_snprintf_working=no
12666 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12669 echo "$as_me:12669: result: $ac_cv_func_snprintf_working" >&5
12670 echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
12672 if test "$ac_cv_func_snprintf_working" = yes; then
12674 cat >>confdefs.h <<_ACEOF
12675 #define HAVE_SNPRINTF 1
12679 if test "$ac_cv_func_snprintf_working" = yes; then
12681 if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
12682 echo "$as_me:12682: checking if snprintf needs a prototype" >&5
12683 echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
12684 if test "${ac_cv_func_snprintf_noproto+set}" = set; then
12685 echo $ECHO_N "(cached) $ECHO_C" >&6
12687 cat >conftest.$ac_ext <<_ACEOF
12688 #line 12688 "configure"
12689 #include "confdefs.h"
12691 #ifdef F77_DUMMY_MAIN
12692 # ifdef __cplusplus
12695 int F77_DUMMY_MAIN() { return 1; }
12700 struct foo { int foo; } xx;
12701 extern int snprintf (struct foo*);
12708 rm -f conftest.$ac_objext
12709 if { (eval echo "$as_me:12709: \"$ac_compile\"") >&5
12710 (eval $ac_compile) 2>&5
12712 echo "$as_me:12712: \$? = $ac_status" >&5
12713 (exit $ac_status); } &&
12714 { ac_try='test -s conftest.$ac_objext'
12715 { (eval echo "$as_me:12715: \"$ac_try\"") >&5
12716 (eval $ac_try) 2>&5
12718 echo "$as_me:12718: \$? = $ac_status" >&5
12719 (exit $ac_status); }; }; then
12720 eval "ac_cv_func_snprintf_noproto=yes"
12722 echo "$as_me: failed program was:" >&5
12723 cat conftest.$ac_ext >&5
12724 eval "ac_cv_func_snprintf_noproto=no"
12726 rm -f conftest.$ac_objext conftest.$ac_ext
12728 echo "$as_me:12728: result: $ac_cv_func_snprintf_noproto" >&5
12729 echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
12730 if test "$ac_cv_func_snprintf_noproto" = yes; then
12732 cat >>confdefs.h <<\_ACEOF
12733 #define NEED_SNPRINTF_PROTO 1
12742 echo "$as_me:12742: checking for working vsnprintf" >&5
12743 echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
12744 if test "${ac_cv_func_vsnprintf_working+set}" = set; then
12745 echo $ECHO_N "(cached) $ECHO_C" >&6
12747 ac_cv_func_vsnprintf_working=yes
12748 if test "$cross_compiling" = yes; then
12751 cat >conftest.$ac_ext <<_ACEOF
12752 #line 12752 "configure"
12753 #include "confdefs.h"
12756 #include <string.h>
12757 #include <stdarg.h>
12759 int foo(int num, ...)
12763 va_start(arg, num);
12764 vsnprintf(bar, 2, "%s", arg);
12766 return strcmp(bar, "1");
12772 return foo(0, "12");
12775 rm -f conftest$ac_exeext
12776 if { (eval echo "$as_me:12776: \"$ac_link\"") >&5
12777 (eval $ac_link) 2>&5
12779 echo "$as_me:12779: \$? = $ac_status" >&5
12780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12781 { (eval echo "$as_me:12781: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12784 echo "$as_me:12784: \$? = $ac_status" >&5
12785 (exit $ac_status); }; }; then
12788 echo "$as_me: program exited with status $ac_status" >&5
12789 echo "$as_me: failed program was:" >&5
12790 cat conftest.$ac_ext >&5
12791 ( exit $ac_status )
12792 ac_cv_func_vsnprintf_working=no
12794 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12797 echo "$as_me:12797: result: $ac_cv_func_vsnprintf_working" >&5
12798 echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
12800 if test "$ac_cv_func_vsnprintf_working" = yes; then
12802 cat >>confdefs.h <<_ACEOF
12803 #define HAVE_VSNPRINTF 1
12807 if test "$ac_cv_func_vsnprintf_working" = yes; then
12809 if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
12810 echo "$as_me:12810: checking if vsnprintf needs a prototype" >&5
12811 echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
12812 if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
12813 echo $ECHO_N "(cached) $ECHO_C" >&6
12815 cat >conftest.$ac_ext <<_ACEOF
12816 #line 12816 "configure"
12817 #include "confdefs.h"
12819 #ifdef F77_DUMMY_MAIN
12820 # ifdef __cplusplus
12823 int F77_DUMMY_MAIN() { return 1; }
12828 struct foo { int foo; } xx;
12829 extern int vsnprintf (struct foo*);
12836 rm -f conftest.$ac_objext
12837 if { (eval echo "$as_me:12837: \"$ac_compile\"") >&5
12838 (eval $ac_compile) 2>&5
12840 echo "$as_me:12840: \$? = $ac_status" >&5
12841 (exit $ac_status); } &&
12842 { ac_try='test -s conftest.$ac_objext'
12843 { (eval echo "$as_me:12843: \"$ac_try\"") >&5
12844 (eval $ac_try) 2>&5
12846 echo "$as_me:12846: \$? = $ac_status" >&5
12847 (exit $ac_status); }; }; then
12848 eval "ac_cv_func_vsnprintf_noproto=yes"
12850 echo "$as_me: failed program was:" >&5
12851 cat conftest.$ac_ext >&5
12852 eval "ac_cv_func_vsnprintf_noproto=no"
12854 rm -f conftest.$ac_objext conftest.$ac_ext
12856 echo "$as_me:12856: result: $ac_cv_func_vsnprintf_noproto" >&5
12857 echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
12858 if test "$ac_cv_func_vsnprintf_noproto" = yes; then
12860 cat >>confdefs.h <<\_ACEOF
12861 #define NEED_VSNPRINTF_PROTO 1
12871 echo "$as_me:12871: checking for working glob" >&5
12872 echo $ECHO_N "checking for working glob... $ECHO_C" >&6
12873 if test "${ac_cv_func_glob_working+set}" = set; then
12874 echo $ECHO_N "(cached) $ECHO_C" >&6
12876 ac_cv_func_glob_working=yes
12877 cat >conftest.$ac_ext <<_ACEOF
12878 #line 12878 "configure"
12879 #include "confdefs.h"
12883 #ifdef F77_DUMMY_MAIN
12884 # ifdef __cplusplus
12887 int F77_DUMMY_MAIN() { return 1; }
12893 glob(NULL, GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
12894 #ifdef GLOB_MAXPATH
12906 rm -f conftest.$ac_objext conftest$ac_exeext
12907 if { (eval echo "$as_me:12907: \"$ac_link\"") >&5
12908 (eval $ac_link) 2>&5
12910 echo "$as_me:12910: \$? = $ac_status" >&5
12911 (exit $ac_status); } &&
12912 { ac_try='test -s conftest$ac_exeext'
12913 { (eval echo "$as_me:12913: \"$ac_try\"") >&5
12914 (eval $ac_try) 2>&5
12916 echo "$as_me:12916: \$? = $ac_status" >&5
12917 (exit $ac_status); }; }; then
12920 echo "$as_me: failed program was:" >&5
12921 cat conftest.$ac_ext >&5
12922 ac_cv_func_glob_working=no
12924 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12926 echo "$as_me:12926: result: $ac_cv_func_glob_working" >&5
12927 echo "${ECHO_T}$ac_cv_func_glob_working" >&6
12929 if test "$ac_cv_func_glob_working" = yes; then
12931 cat >>confdefs.h <<\_ACEOF
12932 #define HAVE_GLOB 1
12936 if test "$ac_cv_func_glob_working" = yes; then
12938 if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
12939 echo "$as_me:12939: checking if glob needs a prototype" >&5
12940 echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
12941 if test "${ac_cv_func_glob_noproto+set}" = set; then
12942 echo $ECHO_N "(cached) $ECHO_C" >&6
12944 cat >conftest.$ac_ext <<_ACEOF
12945 #line 12945 "configure"
12946 #include "confdefs.h"
12949 #ifdef F77_DUMMY_MAIN
12950 # ifdef __cplusplus
12953 int F77_DUMMY_MAIN() { return 1; }
12958 struct foo { int foo; } xx;
12959 extern int glob (struct foo*);
12966 rm -f conftest.$ac_objext
12967 if { (eval echo "$as_me:12967: \"$ac_compile\"") >&5
12968 (eval $ac_compile) 2>&5
12970 echo "$as_me:12970: \$? = $ac_status" >&5
12971 (exit $ac_status); } &&
12972 { ac_try='test -s conftest.$ac_objext'
12973 { (eval echo "$as_me:12973: \"$ac_try\"") >&5
12974 (eval $ac_try) 2>&5
12976 echo "$as_me:12976: \$? = $ac_status" >&5
12977 (exit $ac_status); }; }; then
12978 eval "ac_cv_func_glob_noproto=yes"
12980 echo "$as_me: failed program was:" >&5
12981 cat conftest.$ac_ext >&5
12982 eval "ac_cv_func_glob_noproto=no"
12984 rm -f conftest.$ac_objext conftest.$ac_ext
12986 echo "$as_me:12986: result: $ac_cv_func_glob_noproto" >&5
12987 echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
12988 if test "$ac_cv_func_glob_noproto" = yes; then
12990 cat >>confdefs.h <<\_ACEOF
12991 #define NEED_GLOB_PROTO 1
12999 if test "$ac_cv_func_glob_working" != yes; then
13000 LIBOBJS="$LIBOBJS glob.$ac_objext"
13004 if test "$ac_cv_func_glob_working" = yes; then
13006 have_glob_h_FALSE='#'
13008 have_glob_h_TRUE='#'
13069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13070 echo "$as_me:13070: checking for $ac_func" >&5
13071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13072 if eval "test \"\${$as_ac_var+set}\" = set"; then
13073 echo $ECHO_N "(cached) $ECHO_C" >&6
13075 cat >conftest.$ac_ext <<_ACEOF
13076 #line 13076 "configure"
13077 #include "confdefs.h"
13078 /* System header to define __stub macros and hopefully few prototypes,
13079 which can conflict with char $ac_func (); below. */
13080 #include <assert.h>
13081 /* Override any gcc2 internal prototype to avoid an error. */
13085 /* We use char because int might match the return type of a gcc2
13086 builtin and then its argument prototype would still apply. */
13090 #ifdef F77_DUMMY_MAIN
13091 # ifdef __cplusplus
13094 int F77_DUMMY_MAIN() { return 1; }
13099 /* The GNU C library defines this for functions which it implements
13100 to always fail with ENOSYS. Some functions are actually named
13101 something starting with __ and the normal name is an alias. */
13102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13112 rm -f conftest.$ac_objext conftest$ac_exeext
13113 if { (eval echo "$as_me:13113: \"$ac_link\"") >&5
13114 (eval $ac_link) 2>&5
13116 echo "$as_me:13116: \$? = $ac_status" >&5
13117 (exit $ac_status); } &&
13118 { ac_try='test -s conftest$ac_exeext'
13119 { (eval echo "$as_me:13119: \"$ac_try\"") >&5
13120 (eval $ac_try) 2>&5
13122 echo "$as_me:13122: \$? = $ac_status" >&5
13123 (exit $ac_status); }; }; then
13124 eval "$as_ac_var=yes"
13126 echo "$as_me: failed program was:" >&5
13127 cat conftest.$ac_ext >&5
13128 eval "$as_ac_var=no"
13130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13132 echo "$as_me:13132: result: `eval echo '${'$as_ac_var'}'`" >&5
13133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13134 if test `eval echo '${'$as_ac_var'}'` = yes; then
13135 cat >>confdefs.h <<_ACEOF
13136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13143 if test "$ac_cv_func_cgetent" = no; then
13144 LIBOBJS="$LIBOBJS getcap.$ac_objext"
13152 echo "$as_me:13152: checking for getsockopt" >&5
13153 echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
13154 if test "${ac_cv_funclib_getsockopt+set}" = set; then
13155 echo $ECHO_N "(cached) $ECHO_C" >&6
13158 if eval "test \"\$ac_cv_func_getsockopt\" != yes" ; then
13159 ac_save_LIBS="$LIBS"
13160 for ac_lib in "" ; do
13166 *) ac_lib="-l$ac_lib" ;;
13168 LIBS=" $ac_lib $ac_save_LIBS"
13169 cat >conftest.$ac_ext <<_ACEOF
13170 #line 13170 "configure"
13171 #include "confdefs.h"
13172 #ifdef HAVE_SYS_TYPES_H
13173 #include <sys/types.h>
13175 #ifdef HAVE_SYS_SOCKET_H
13176 #include <sys/socket.h>
13178 #ifdef F77_DUMMY_MAIN
13179 # ifdef __cplusplus
13182 int F77_DUMMY_MAIN() { return 1; }
13187 getsockopt(0,0,0,0,0)
13192 rm -f conftest.$ac_objext conftest$ac_exeext
13193 if { (eval echo "$as_me:13193: \"$ac_link\"") >&5
13194 (eval $ac_link) 2>&5
13196 echo "$as_me:13196: \$? = $ac_status" >&5
13197 (exit $ac_status); } &&
13198 { ac_try='test -s conftest$ac_exeext'
13199 { (eval echo "$as_me:13199: \"$ac_try\"") >&5
13200 (eval $ac_try) 2>&5
13202 echo "$as_me:13202: \$? = $ac_status" >&5
13203 (exit $ac_status); }; }; then
13204 eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
13206 echo "$as_me: failed program was:" >&5
13207 cat conftest.$ac_ext >&5
13209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13211 eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
13212 LIBS="$ac_save_LIBS"
13218 eval "ac_res=\$ac_cv_funclib_getsockopt"
13222 for ac_func in getsockopt
13224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13225 echo "$as_me:13225: checking for $ac_func" >&5
13226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13227 if eval "test \"\${$as_ac_var+set}\" = set"; then
13228 echo $ECHO_N "(cached) $ECHO_C" >&6
13230 cat >conftest.$ac_ext <<_ACEOF
13231 #line 13231 "configure"
13232 #include "confdefs.h"
13233 /* System header to define __stub macros and hopefully few prototypes,
13234 which can conflict with char $ac_func (); below. */
13235 #include <assert.h>
13236 /* Override any gcc2 internal prototype to avoid an error. */
13240 /* We use char because int might match the return type of a gcc2
13241 builtin and then its argument prototype would still apply. */
13245 #ifdef F77_DUMMY_MAIN
13246 # ifdef __cplusplus
13249 int F77_DUMMY_MAIN() { return 1; }
13254 /* The GNU C library defines this for functions which it implements
13255 to always fail with ENOSYS. Some functions are actually named
13256 something starting with __ and the normal name is an alias. */
13257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13267 rm -f conftest.$ac_objext conftest$ac_exeext
13268 if { (eval echo "$as_me:13268: \"$ac_link\"") >&5
13269 (eval $ac_link) 2>&5
13271 echo "$as_me:13271: \$? = $ac_status" >&5
13272 (exit $ac_status); } &&
13273 { ac_try='test -s conftest$ac_exeext'
13274 { (eval echo "$as_me:13274: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13277 echo "$as_me:13277: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 eval "$as_ac_var=yes"
13281 echo "$as_me: failed program was:" >&5
13282 cat conftest.$ac_ext >&5
13283 eval "$as_ac_var=no"
13285 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13287 echo "$as_me:13287: result: `eval echo '${'$as_ac_var'}'`" >&5
13288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13289 if test `eval echo '${'$as_ac_var'}'` = yes; then
13290 cat >>confdefs.h <<_ACEOF
13291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13299 eval "ac_tr_func=HAVE_`echo getsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
13300 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
13301 eval "LIB_getsockopt=$ac_res"
13305 eval "ac_cv_func_getsockopt=yes"
13306 eval "LIB_getsockopt="
13307 cat >>confdefs.h <<_ACEOF
13308 #define $ac_tr_func 1
13311 echo "$as_me:13311: result: yes" >&5
13312 echo "${ECHO_T}yes" >&6
13315 eval "ac_cv_func_getsockopt=no"
13316 eval "LIB_getsockopt="
13317 echo "$as_me:13317: result: no" >&5
13318 echo "${ECHO_T}no" >&6
13321 eval "ac_cv_func_getsockopt=yes"
13322 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
13323 cat >>confdefs.h <<_ACEOF
13324 #define $ac_tr_func 1
13327 cat >>confdefs.h <<_ACEOF
13328 #define $ac_tr_lib 1
13331 echo "$as_me:13331: result: yes, in $ac_res" >&5
13332 echo "${ECHO_T}yes, in $ac_res" >&6
13340 echo "$as_me:13340: checking for setsockopt" >&5
13341 echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
13342 if test "${ac_cv_funclib_setsockopt+set}" = set; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13346 if eval "test \"\$ac_cv_func_setsockopt\" != yes" ; then
13347 ac_save_LIBS="$LIBS"
13348 for ac_lib in "" ; do
13354 *) ac_lib="-l$ac_lib" ;;
13356 LIBS=" $ac_lib $ac_save_LIBS"
13357 cat >conftest.$ac_ext <<_ACEOF
13358 #line 13358 "configure"
13359 #include "confdefs.h"
13360 #ifdef HAVE_SYS_TYPES_H
13361 #include <sys/types.h>
13363 #ifdef HAVE_SYS_SOCKET_H
13364 #include <sys/socket.h>
13366 #ifdef F77_DUMMY_MAIN
13367 # ifdef __cplusplus
13370 int F77_DUMMY_MAIN() { return 1; }
13375 setsockopt(0,0,0,0,0)
13380 rm -f conftest.$ac_objext conftest$ac_exeext
13381 if { (eval echo "$as_me:13381: \"$ac_link\"") >&5
13382 (eval $ac_link) 2>&5
13384 echo "$as_me:13384: \$? = $ac_status" >&5
13385 (exit $ac_status); } &&
13386 { ac_try='test -s conftest$ac_exeext'
13387 { (eval echo "$as_me:13387: \"$ac_try\"") >&5
13388 (eval $ac_try) 2>&5
13390 echo "$as_me:13390: \$? = $ac_status" >&5
13391 (exit $ac_status); }; }; then
13392 eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
13394 echo "$as_me: failed program was:" >&5
13395 cat conftest.$ac_ext >&5
13397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13399 eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
13400 LIBS="$ac_save_LIBS"
13406 eval "ac_res=\$ac_cv_funclib_setsockopt"
13410 for ac_func in setsockopt
13412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13413 echo "$as_me:13413: checking for $ac_func" >&5
13414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13415 if eval "test \"\${$as_ac_var+set}\" = set"; then
13416 echo $ECHO_N "(cached) $ECHO_C" >&6
13418 cat >conftest.$ac_ext <<_ACEOF
13419 #line 13419 "configure"
13420 #include "confdefs.h"
13421 /* System header to define __stub macros and hopefully few prototypes,
13422 which can conflict with char $ac_func (); below. */
13423 #include <assert.h>
13424 /* Override any gcc2 internal prototype to avoid an error. */
13428 /* We use char because int might match the return type of a gcc2
13429 builtin and then its argument prototype would still apply. */
13433 #ifdef F77_DUMMY_MAIN
13434 # ifdef __cplusplus
13437 int F77_DUMMY_MAIN() { return 1; }
13442 /* The GNU C library defines this for functions which it implements
13443 to always fail with ENOSYS. Some functions are actually named
13444 something starting with __ and the normal name is an alias. */
13445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13455 rm -f conftest.$ac_objext conftest$ac_exeext
13456 if { (eval echo "$as_me:13456: \"$ac_link\"") >&5
13457 (eval $ac_link) 2>&5
13459 echo "$as_me:13459: \$? = $ac_status" >&5
13460 (exit $ac_status); } &&
13461 { ac_try='test -s conftest$ac_exeext'
13462 { (eval echo "$as_me:13462: \"$ac_try\"") >&5
13463 (eval $ac_try) 2>&5
13465 echo "$as_me:13465: \$? = $ac_status" >&5
13466 (exit $ac_status); }; }; then
13467 eval "$as_ac_var=yes"
13469 echo "$as_me: failed program was:" >&5
13470 cat conftest.$ac_ext >&5
13471 eval "$as_ac_var=no"
13473 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13475 echo "$as_me:13475: result: `eval echo '${'$as_ac_var'}'`" >&5
13476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13477 if test `eval echo '${'$as_ac_var'}'` = yes; then
13478 cat >>confdefs.h <<_ACEOF
13479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13487 eval "ac_tr_func=HAVE_`echo setsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
13488 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
13489 eval "LIB_setsockopt=$ac_res"
13493 eval "ac_cv_func_setsockopt=yes"
13494 eval "LIB_setsockopt="
13495 cat >>confdefs.h <<_ACEOF
13496 #define $ac_tr_func 1
13499 echo "$as_me:13499: result: yes" >&5
13500 echo "${ECHO_T}yes" >&6
13503 eval "ac_cv_func_setsockopt=no"
13504 eval "LIB_setsockopt="
13505 echo "$as_me:13505: result: no" >&5
13506 echo "${ECHO_T}no" >&6
13509 eval "ac_cv_func_setsockopt=yes"
13510 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
13511 cat >>confdefs.h <<_ACEOF
13512 #define $ac_tr_func 1
13515 cat >>confdefs.h <<_ACEOF
13516 #define $ac_tr_lib 1
13519 echo "$as_me:13519: result: yes, in $ac_res" >&5
13520 echo "${ECHO_T}yes, in $ac_res" >&6
13530 echo "$as_me:13530: checking for hstrerror" >&5
13531 echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
13532 if test "${ac_cv_funclib_hstrerror+set}" = set; then
13533 echo $ECHO_N "(cached) $ECHO_C" >&6
13536 if eval "test \"\$ac_cv_func_hstrerror\" != yes" ; then
13537 ac_save_LIBS="$LIBS"
13538 for ac_lib in "" resolv; do
13544 *) ac_lib="-l$ac_lib" ;;
13546 LIBS=" $ac_lib $ac_save_LIBS"
13547 cat >conftest.$ac_ext <<_ACEOF
13548 #line 13548 "configure"
13549 #include "confdefs.h"
13550 #ifdef HAVE_NETDB_H
13553 #ifdef F77_DUMMY_MAIN
13554 # ifdef __cplusplus
13557 int F77_DUMMY_MAIN() { return 1; }
13567 rm -f conftest.$ac_objext conftest$ac_exeext
13568 if { (eval echo "$as_me:13568: \"$ac_link\"") >&5
13569 (eval $ac_link) 2>&5
13571 echo "$as_me:13571: \$? = $ac_status" >&5
13572 (exit $ac_status); } &&
13573 { ac_try='test -s conftest$ac_exeext'
13574 { (eval echo "$as_me:13574: \"$ac_try\"") >&5
13575 (eval $ac_try) 2>&5
13577 echo "$as_me:13577: \$? = $ac_status" >&5
13578 (exit $ac_status); }; }; then
13579 eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
13581 echo "$as_me: failed program was:" >&5
13582 cat conftest.$ac_ext >&5
13584 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13586 eval "ac_cv_funclib_hstrerror=\${ac_cv_funclib_hstrerror-no}"
13587 LIBS="$ac_save_LIBS"
13593 eval "ac_res=\$ac_cv_funclib_hstrerror"
13597 for ac_func in hstrerror
13599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13600 echo "$as_me:13600: checking for $ac_func" >&5
13601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13602 if eval "test \"\${$as_ac_var+set}\" = set"; then
13603 echo $ECHO_N "(cached) $ECHO_C" >&6
13605 cat >conftest.$ac_ext <<_ACEOF
13606 #line 13606 "configure"
13607 #include "confdefs.h"
13608 /* System header to define __stub macros and hopefully few prototypes,
13609 which can conflict with char $ac_func (); below. */
13610 #include <assert.h>
13611 /* Override any gcc2 internal prototype to avoid an error. */
13615 /* We use char because int might match the return type of a gcc2
13616 builtin and then its argument prototype would still apply. */
13620 #ifdef F77_DUMMY_MAIN
13621 # ifdef __cplusplus
13624 int F77_DUMMY_MAIN() { return 1; }
13629 /* The GNU C library defines this for functions which it implements
13630 to always fail with ENOSYS. Some functions are actually named
13631 something starting with __ and the normal name is an alias. */
13632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13642 rm -f conftest.$ac_objext conftest$ac_exeext
13643 if { (eval echo "$as_me:13643: \"$ac_link\"") >&5
13644 (eval $ac_link) 2>&5
13646 echo "$as_me:13646: \$? = $ac_status" >&5
13647 (exit $ac_status); } &&
13648 { ac_try='test -s conftest$ac_exeext'
13649 { (eval echo "$as_me:13649: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13652 echo "$as_me:13652: \$? = $ac_status" >&5
13653 (exit $ac_status); }; }; then
13654 eval "$as_ac_var=yes"
13656 echo "$as_me: failed program was:" >&5
13657 cat conftest.$ac_ext >&5
13658 eval "$as_ac_var=no"
13660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13662 echo "$as_me:13662: result: `eval echo '${'$as_ac_var'}'`" >&5
13663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13664 if test `eval echo '${'$as_ac_var'}'` = yes; then
13665 cat >>confdefs.h <<_ACEOF
13666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13674 eval "ac_tr_func=HAVE_`echo hstrerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
13675 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
13676 eval "LIB_hstrerror=$ac_res"
13680 eval "ac_cv_func_hstrerror=yes"
13681 eval "LIB_hstrerror="
13682 cat >>confdefs.h <<_ACEOF
13683 #define $ac_tr_func 1
13686 echo "$as_me:13686: result: yes" >&5
13687 echo "${ECHO_T}yes" >&6
13690 eval "ac_cv_func_hstrerror=no"
13691 eval "LIB_hstrerror="
13692 echo "$as_me:13692: result: no" >&5
13693 echo "${ECHO_T}no" >&6
13696 eval "ac_cv_func_hstrerror=yes"
13697 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
13698 cat >>confdefs.h <<_ACEOF
13699 #define $ac_tr_func 1
13702 cat >>confdefs.h <<_ACEOF
13703 #define $ac_tr_lib 1
13706 echo "$as_me:13706: result: yes, in $ac_res" >&5
13707 echo "${ECHO_T}yes, in $ac_res" >&6
13712 if test -n "$LIB_hstrerror"; then
13713 LIBS="$LIB_hstrerror $LIBS"
13716 if eval "test \"$ac_cv_func_hstrerror\" != yes"; then
13717 LIBOBJS="$LIBOBJS hstrerror.$ac_objext"
13721 if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
13722 echo "$as_me:13722: checking if hstrerror needs a prototype" >&5
13723 echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
13724 if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
13725 echo $ECHO_N "(cached) $ECHO_C" >&6
13727 cat >conftest.$ac_ext <<_ACEOF
13728 #line 13728 "configure"
13729 #include "confdefs.h"
13731 #ifdef HAVE_NETDB_H
13734 #ifdef F77_DUMMY_MAIN
13735 # ifdef __cplusplus
13738 int F77_DUMMY_MAIN() { return 1; }
13743 struct foo { int foo; } xx;
13744 extern int hstrerror (struct foo*);
13751 rm -f conftest.$ac_objext
13752 if { (eval echo "$as_me:13752: \"$ac_compile\"") >&5
13753 (eval $ac_compile) 2>&5
13755 echo "$as_me:13755: \$? = $ac_status" >&5
13756 (exit $ac_status); } &&
13757 { ac_try='test -s conftest.$ac_objext'
13758 { (eval echo "$as_me:13758: \"$ac_try\"") >&5
13759 (eval $ac_try) 2>&5
13761 echo "$as_me:13761: \$? = $ac_status" >&5
13762 (exit $ac_status); }; }; then
13763 eval "ac_cv_func_hstrerror_noproto=yes"
13765 echo "$as_me: failed program was:" >&5
13766 cat conftest.$ac_ext >&5
13767 eval "ac_cv_func_hstrerror_noproto=no"
13769 rm -f conftest.$ac_objext conftest.$ac_ext
13771 echo "$as_me:13771: result: $ac_cv_func_hstrerror_noproto" >&5
13772 echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
13773 if test "$ac_cv_func_hstrerror_noproto" = yes; then
13775 cat >>confdefs.h <<\_ACEOF
13776 #define NEED_HSTRERROR_PROTO 1
13784 if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
13785 echo "$as_me:13785: checking if asprintf needs a prototype" >&5
13786 echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
13787 if test "${ac_cv_func_asprintf_noproto+set}" = set; then
13788 echo $ECHO_N "(cached) $ECHO_C" >&6
13790 cat >conftest.$ac_ext <<_ACEOF
13791 #line 13791 "configure"
13792 #include "confdefs.h"
13795 #include <string.h>
13796 #ifdef F77_DUMMY_MAIN
13797 # ifdef __cplusplus
13800 int F77_DUMMY_MAIN() { return 1; }
13805 struct foo { int foo; } xx;
13806 extern int asprintf (struct foo*);
13813 rm -f conftest.$ac_objext
13814 if { (eval echo "$as_me:13814: \"$ac_compile\"") >&5
13815 (eval $ac_compile) 2>&5
13817 echo "$as_me:13817: \$? = $ac_status" >&5
13818 (exit $ac_status); } &&
13819 { ac_try='test -s conftest.$ac_objext'
13820 { (eval echo "$as_me:13820: \"$ac_try\"") >&5
13821 (eval $ac_try) 2>&5
13823 echo "$as_me:13823: \$? = $ac_status" >&5
13824 (exit $ac_status); }; }; then
13825 eval "ac_cv_func_asprintf_noproto=yes"
13827 echo "$as_me: failed program was:" >&5
13828 cat conftest.$ac_ext >&5
13829 eval "ac_cv_func_asprintf_noproto=no"
13831 rm -f conftest.$ac_objext conftest.$ac_ext
13833 echo "$as_me:13833: result: $ac_cv_func_asprintf_noproto" >&5
13834 echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
13835 if test "$ac_cv_func_asprintf_noproto" = yes; then
13837 cat >>confdefs.h <<\_ACEOF
13838 #define NEED_ASPRINTF_PROTO 1
13844 if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
13845 echo "$as_me:13845: checking if vasprintf needs a prototype" >&5
13846 echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
13847 if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
13848 echo $ECHO_N "(cached) $ECHO_C" >&6
13850 cat >conftest.$ac_ext <<_ACEOF
13851 #line 13851 "configure"
13852 #include "confdefs.h"
13855 #include <string.h>
13856 #ifdef F77_DUMMY_MAIN
13857 # ifdef __cplusplus
13860 int F77_DUMMY_MAIN() { return 1; }
13865 struct foo { int foo; } xx;
13866 extern int vasprintf (struct foo*);
13873 rm -f conftest.$ac_objext
13874 if { (eval echo "$as_me:13874: \"$ac_compile\"") >&5
13875 (eval $ac_compile) 2>&5
13877 echo "$as_me:13877: \$? = $ac_status" >&5
13878 (exit $ac_status); } &&
13879 { ac_try='test -s conftest.$ac_objext'
13880 { (eval echo "$as_me:13880: \"$ac_try\"") >&5
13881 (eval $ac_try) 2>&5
13883 echo "$as_me:13883: \$? = $ac_status" >&5
13884 (exit $ac_status); }; }; then
13885 eval "ac_cv_func_vasprintf_noproto=yes"
13887 echo "$as_me: failed program was:" >&5
13888 cat conftest.$ac_ext >&5
13889 eval "ac_cv_func_vasprintf_noproto=no"
13891 rm -f conftest.$ac_objext conftest.$ac_ext
13893 echo "$as_me:13893: result: $ac_cv_func_vasprintf_noproto" >&5
13894 echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
13895 if test "$ac_cv_func_vasprintf_noproto" = yes; then
13897 cat >>confdefs.h <<\_ACEOF
13898 #define NEED_VASPRINTF_PROTO 1
13904 if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
13905 echo "$as_me:13905: checking if asnprintf needs a prototype" >&5
13906 echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
13907 if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 cat >conftest.$ac_ext <<_ACEOF
13911 #line 13911 "configure"
13912 #include "confdefs.h"
13915 #include <string.h>
13916 #ifdef F77_DUMMY_MAIN
13917 # ifdef __cplusplus
13920 int F77_DUMMY_MAIN() { return 1; }
13925 struct foo { int foo; } xx;
13926 extern int asnprintf (struct foo*);
13933 rm -f conftest.$ac_objext
13934 if { (eval echo "$as_me:13934: \"$ac_compile\"") >&5
13935 (eval $ac_compile) 2>&5
13937 echo "$as_me:13937: \$? = $ac_status" >&5
13938 (exit $ac_status); } &&
13939 { ac_try='test -s conftest.$ac_objext'
13940 { (eval echo "$as_me:13940: \"$ac_try\"") >&5
13941 (eval $ac_try) 2>&5
13943 echo "$as_me:13943: \$? = $ac_status" >&5
13944 (exit $ac_status); }; }; then
13945 eval "ac_cv_func_asnprintf_noproto=yes"
13947 echo "$as_me: failed program was:" >&5
13948 cat conftest.$ac_ext >&5
13949 eval "ac_cv_func_asnprintf_noproto=no"
13951 rm -f conftest.$ac_objext conftest.$ac_ext
13953 echo "$as_me:13953: result: $ac_cv_func_asnprintf_noproto" >&5
13954 echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
13955 if test "$ac_cv_func_asnprintf_noproto" = yes; then
13957 cat >>confdefs.h <<\_ACEOF
13958 #define NEED_ASNPRINTF_PROTO 1
13964 if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
13965 echo "$as_me:13965: checking if vasnprintf needs a prototype" >&5
13966 echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
13967 if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
13968 echo $ECHO_N "(cached) $ECHO_C" >&6
13970 cat >conftest.$ac_ext <<_ACEOF
13971 #line 13971 "configure"
13972 #include "confdefs.h"
13975 #include <string.h>
13976 #ifdef F77_DUMMY_MAIN
13977 # ifdef __cplusplus
13980 int F77_DUMMY_MAIN() { return 1; }
13985 struct foo { int foo; } xx;
13986 extern int vasnprintf (struct foo*);
13993 rm -f conftest.$ac_objext
13994 if { (eval echo "$as_me:13994: \"$ac_compile\"") >&5
13995 (eval $ac_compile) 2>&5
13997 echo "$as_me:13997: \$? = $ac_status" >&5
13998 (exit $ac_status); } &&
13999 { ac_try='test -s conftest.$ac_objext'
14000 { (eval echo "$as_me:14000: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14003 echo "$as_me:14003: \$? = $ac_status" >&5
14004 (exit $ac_status); }; }; then
14005 eval "ac_cv_func_vasnprintf_noproto=yes"
14007 echo "$as_me: failed program was:" >&5
14008 cat conftest.$ac_ext >&5
14009 eval "ac_cv_func_vasnprintf_noproto=no"
14011 rm -f conftest.$ac_objext conftest.$ac_ext
14013 echo "$as_me:14013: result: $ac_cv_func_vasnprintf_noproto" >&5
14014 echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
14015 if test "$ac_cv_func_vasnprintf_noproto" = yes; then
14017 cat >>confdefs.h <<\_ACEOF
14018 #define NEED_VASNPRINTF_PROTO 1
14028 echo "$as_me:14028: checking for bswap16" >&5
14029 echo $ECHO_N "checking for bswap16... $ECHO_C" >&6
14030 if test "${ac_cv_funclib_bswap16+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 if eval "test \"\$ac_cv_func_bswap16\" != yes" ; then
14035 ac_save_LIBS="$LIBS"
14036 for ac_lib in "" ; do
14042 *) ac_lib="-l$ac_lib" ;;
14044 LIBS=" $ac_lib $ac_save_LIBS"
14045 cat >conftest.$ac_ext <<_ACEOF
14046 #line 14046 "configure"
14047 #include "confdefs.h"
14048 #ifdef HAVE_SYS_BSWAP_H
14049 #include <sys/bswap.h>
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:14066: \"$ac_link\"") >&5
14067 (eval $ac_link) 2>&5
14069 echo "$as_me:14069: \$? = $ac_status" >&5
14070 (exit $ac_status); } &&
14071 { ac_try='test -s conftest$ac_exeext'
14072 { (eval echo "$as_me:14072: \"$ac_try\"") >&5
14073 (eval $ac_try) 2>&5
14075 echo "$as_me:14075: \$? = $ac_status" >&5
14076 (exit $ac_status); }; }; then
14077 eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap16=$ac_lib; else ac_cv_funclib_bswap16=yes; fi";break
14079 echo "$as_me: failed program was:" >&5
14080 cat conftest.$ac_ext >&5
14082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14084 eval "ac_cv_funclib_bswap16=\${ac_cv_funclib_bswap16-no}"
14085 LIBS="$ac_save_LIBS"
14091 eval "ac_res=\$ac_cv_funclib_bswap16"
14095 for ac_func in bswap16
14097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14098 echo "$as_me:14098: checking for $ac_func" >&5
14099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14100 if eval "test \"\${$as_ac_var+set}\" = set"; then
14101 echo $ECHO_N "(cached) $ECHO_C" >&6
14103 cat >conftest.$ac_ext <<_ACEOF
14104 #line 14104 "configure"
14105 #include "confdefs.h"
14106 /* System header to define __stub macros and hopefully few prototypes,
14107 which can conflict with char $ac_func (); below. */
14108 #include <assert.h>
14109 /* Override any gcc2 internal prototype to avoid an error. */
14113 /* We use char because int might match the return type of a gcc2
14114 builtin and then its argument prototype would still apply. */
14118 #ifdef F77_DUMMY_MAIN
14119 # ifdef __cplusplus
14122 int F77_DUMMY_MAIN() { return 1; }
14127 /* The GNU C library defines this for functions which it implements
14128 to always fail with ENOSYS. Some functions are actually named
14129 something starting with __ and the normal name is an alias. */
14130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14140 rm -f conftest.$ac_objext conftest$ac_exeext
14141 if { (eval echo "$as_me:14141: \"$ac_link\"") >&5
14142 (eval $ac_link) 2>&5
14144 echo "$as_me:14144: \$? = $ac_status" >&5
14145 (exit $ac_status); } &&
14146 { ac_try='test -s conftest$ac_exeext'
14147 { (eval echo "$as_me:14147: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14150 echo "$as_me:14150: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14152 eval "$as_ac_var=yes"
14154 echo "$as_me: failed program was:" >&5
14155 cat conftest.$ac_ext >&5
14156 eval "$as_ac_var=no"
14158 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14160 echo "$as_me:14160: result: `eval echo '${'$as_ac_var'}'`" >&5
14161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14162 if test `eval echo '${'$as_ac_var'}'` = yes; then
14163 cat >>confdefs.h <<_ACEOF
14164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14172 eval "ac_tr_func=HAVE_`echo bswap16 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
14173 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
14174 eval "LIB_bswap16=$ac_res"
14178 eval "ac_cv_func_bswap16=yes"
14179 eval "LIB_bswap16="
14180 cat >>confdefs.h <<_ACEOF
14181 #define $ac_tr_func 1
14184 echo "$as_me:14184: result: yes" >&5
14185 echo "${ECHO_T}yes" >&6
14188 eval "ac_cv_func_bswap16=no"
14189 eval "LIB_bswap16="
14190 echo "$as_me:14190: result: no" >&5
14191 echo "${ECHO_T}no" >&6
14194 eval "ac_cv_func_bswap16=yes"
14195 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
14196 cat >>confdefs.h <<_ACEOF
14197 #define $ac_tr_func 1
14200 cat >>confdefs.h <<_ACEOF
14201 #define $ac_tr_lib 1
14204 echo "$as_me:14204: result: yes, in $ac_res" >&5
14205 echo "${ECHO_T}yes, in $ac_res" >&6
14214 echo "$as_me:14214: checking for bswap32" >&5
14215 echo $ECHO_N "checking for bswap32... $ECHO_C" >&6
14216 if test "${ac_cv_funclib_bswap32+set}" = set; then
14217 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 if eval "test \"\$ac_cv_func_bswap32\" != yes" ; then
14221 ac_save_LIBS="$LIBS"
14222 for ac_lib in "" ; do
14228 *) ac_lib="-l$ac_lib" ;;
14230 LIBS=" $ac_lib $ac_save_LIBS"
14231 cat >conftest.$ac_ext <<_ACEOF
14232 #line 14232 "configure"
14233 #include "confdefs.h"
14234 #ifdef HAVE_SYS_BSWAP_H
14235 #include <sys/bswap.h>
14237 #ifdef F77_DUMMY_MAIN
14238 # ifdef __cplusplus
14241 int F77_DUMMY_MAIN() { return 1; }
14251 rm -f conftest.$ac_objext conftest$ac_exeext
14252 if { (eval echo "$as_me:14252: \"$ac_link\"") >&5
14253 (eval $ac_link) 2>&5
14255 echo "$as_me:14255: \$? = $ac_status" >&5
14256 (exit $ac_status); } &&
14257 { ac_try='test -s conftest$ac_exeext'
14258 { (eval echo "$as_me:14258: \"$ac_try\"") >&5
14259 (eval $ac_try) 2>&5
14261 echo "$as_me:14261: \$? = $ac_status" >&5
14262 (exit $ac_status); }; }; then
14263 eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap32=$ac_lib; else ac_cv_funclib_bswap32=yes; fi";break
14265 echo "$as_me: failed program was:" >&5
14266 cat conftest.$ac_ext >&5
14268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14270 eval "ac_cv_funclib_bswap32=\${ac_cv_funclib_bswap32-no}"
14271 LIBS="$ac_save_LIBS"
14277 eval "ac_res=\$ac_cv_funclib_bswap32"
14281 for ac_func in bswap32
14283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14284 echo "$as_me:14284: checking for $ac_func" >&5
14285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14286 if eval "test \"\${$as_ac_var+set}\" = set"; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 cat >conftest.$ac_ext <<_ACEOF
14290 #line 14290 "configure"
14291 #include "confdefs.h"
14292 /* System header to define __stub macros and hopefully few prototypes,
14293 which can conflict with char $ac_func (); below. */
14294 #include <assert.h>
14295 /* Override any gcc2 internal prototype to avoid an error. */
14299 /* We use char because int might match the return type of a gcc2
14300 builtin and then its argument prototype would still apply. */
14304 #ifdef F77_DUMMY_MAIN
14305 # ifdef __cplusplus
14308 int F77_DUMMY_MAIN() { return 1; }
14313 /* The GNU C library defines this for functions which it implements
14314 to always fail with ENOSYS. Some functions are actually named
14315 something starting with __ and the normal name is an alias. */
14316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14326 rm -f conftest.$ac_objext conftest$ac_exeext
14327 if { (eval echo "$as_me:14327: \"$ac_link\"") >&5
14328 (eval $ac_link) 2>&5
14330 echo "$as_me:14330: \$? = $ac_status" >&5
14331 (exit $ac_status); } &&
14332 { ac_try='test -s conftest$ac_exeext'
14333 { (eval echo "$as_me:14333: \"$ac_try\"") >&5
14334 (eval $ac_try) 2>&5
14336 echo "$as_me:14336: \$? = $ac_status" >&5
14337 (exit $ac_status); }; }; then
14338 eval "$as_ac_var=yes"
14340 echo "$as_me: failed program was:" >&5
14341 cat conftest.$ac_ext >&5
14342 eval "$as_ac_var=no"
14344 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14346 echo "$as_me:14346: result: `eval echo '${'$as_ac_var'}'`" >&5
14347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14348 if test `eval echo '${'$as_ac_var'}'` = yes; then
14349 cat >>confdefs.h <<_ACEOF
14350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14358 eval "ac_tr_func=HAVE_`echo bswap32 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
14359 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
14360 eval "LIB_bswap32=$ac_res"
14364 eval "ac_cv_func_bswap32=yes"
14365 eval "LIB_bswap32="
14366 cat >>confdefs.h <<_ACEOF
14367 #define $ac_tr_func 1
14370 echo "$as_me:14370: result: yes" >&5
14371 echo "${ECHO_T}yes" >&6
14374 eval "ac_cv_func_bswap32=no"
14375 eval "LIB_bswap32="
14376 echo "$as_me:14376: result: no" >&5
14377 echo "${ECHO_T}no" >&6
14380 eval "ac_cv_func_bswap32=yes"
14381 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
14382 cat >>confdefs.h <<_ACEOF
14383 #define $ac_tr_func 1
14386 cat >>confdefs.h <<_ACEOF
14387 #define $ac_tr_lib 1
14390 echo "$as_me:14390: result: yes, in $ac_res" >&5
14391 echo "${ECHO_T}yes, in $ac_res" >&6
14400 echo "$as_me:14400: checking for pidfile" >&5
14401 echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
14402 if test "${ac_cv_funclib_pidfile+set}" = set; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 if eval "test \"\$ac_cv_func_pidfile\" != yes" ; then
14407 ac_save_LIBS="$LIBS"
14408 for ac_lib in "" util; do
14414 *) ac_lib="-l$ac_lib" ;;
14416 LIBS=" $ac_lib $ac_save_LIBS"
14417 cat >conftest.$ac_ext <<_ACEOF
14418 #line 14418 "configure"
14419 #include "confdefs.h"
14423 #ifdef F77_DUMMY_MAIN
14424 # ifdef __cplusplus
14427 int F77_DUMMY_MAIN() { return 1; }
14437 rm -f conftest.$ac_objext conftest$ac_exeext
14438 if { (eval echo "$as_me:14438: \"$ac_link\"") >&5
14439 (eval $ac_link) 2>&5
14441 echo "$as_me:14441: \$? = $ac_status" >&5
14442 (exit $ac_status); } &&
14443 { ac_try='test -s conftest$ac_exeext'
14444 { (eval echo "$as_me:14444: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14447 echo "$as_me:14447: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
14451 echo "$as_me: failed program was:" >&5
14452 cat conftest.$ac_ext >&5
14454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14456 eval "ac_cv_funclib_pidfile=\${ac_cv_funclib_pidfile-no}"
14457 LIBS="$ac_save_LIBS"
14463 eval "ac_res=\$ac_cv_funclib_pidfile"
14467 for ac_func in pidfile
14469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14470 echo "$as_me:14470: checking for $ac_func" >&5
14471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14472 if eval "test \"\${$as_ac_var+set}\" = set"; then
14473 echo $ECHO_N "(cached) $ECHO_C" >&6
14475 cat >conftest.$ac_ext <<_ACEOF
14476 #line 14476 "configure"
14477 #include "confdefs.h"
14478 /* System header to define __stub macros and hopefully few prototypes,
14479 which can conflict with char $ac_func (); below. */
14480 #include <assert.h>
14481 /* Override any gcc2 internal prototype to avoid an error. */
14485 /* We use char because int might match the return type of a gcc2
14486 builtin and then its argument prototype would still apply. */
14490 #ifdef F77_DUMMY_MAIN
14491 # ifdef __cplusplus
14494 int F77_DUMMY_MAIN() { return 1; }
14499 /* The GNU C library defines this for functions which it implements
14500 to always fail with ENOSYS. Some functions are actually named
14501 something starting with __ and the normal name is an alias. */
14502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14512 rm -f conftest.$ac_objext conftest$ac_exeext
14513 if { (eval echo "$as_me:14513: \"$ac_link\"") >&5
14514 (eval $ac_link) 2>&5
14516 echo "$as_me:14516: \$? = $ac_status" >&5
14517 (exit $ac_status); } &&
14518 { ac_try='test -s conftest$ac_exeext'
14519 { (eval echo "$as_me:14519: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:14522: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 eval "$as_ac_var=yes"
14526 echo "$as_me: failed program was:" >&5
14527 cat conftest.$ac_ext >&5
14528 eval "$as_ac_var=no"
14530 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14532 echo "$as_me:14532: result: `eval echo '${'$as_ac_var'}'`" >&5
14533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14534 if test `eval echo '${'$as_ac_var'}'` = yes; then
14535 cat >>confdefs.h <<_ACEOF
14536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14544 eval "ac_tr_func=HAVE_`echo pidfile | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
14545 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
14546 eval "LIB_pidfile=$ac_res"
14550 eval "ac_cv_func_pidfile=yes"
14551 eval "LIB_pidfile="
14552 cat >>confdefs.h <<_ACEOF
14553 #define $ac_tr_func 1
14556 echo "$as_me:14556: result: yes" >&5
14557 echo "${ECHO_T}yes" >&6
14560 eval "ac_cv_func_pidfile=no"
14561 eval "LIB_pidfile="
14562 echo "$as_me:14562: result: no" >&5
14563 echo "${ECHO_T}no" >&6
14566 eval "ac_cv_func_pidfile=yes"
14567 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
14568 cat >>confdefs.h <<_ACEOF
14569 #define $ac_tr_func 1
14572 cat >>confdefs.h <<_ACEOF
14573 #define $ac_tr_lib 1
14576 echo "$as_me:14576: result: yes, in $ac_res" >&5
14577 echo "${ECHO_T}yes, in $ac_res" >&6
14587 echo "$as_me:14587: checking for getaddrinfo" >&5
14588 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
14589 if test "${ac_cv_funclib_getaddrinfo+set}" = set; then
14590 echo $ECHO_N "(cached) $ECHO_C" >&6
14593 if eval "test \"\$ac_cv_func_getaddrinfo\" != yes" ; then
14594 ac_save_LIBS="$LIBS"
14595 for ac_lib in "" ; do
14601 *) ac_lib="-l$ac_lib" ;;
14603 LIBS=" $ac_lib $ac_save_LIBS"
14604 cat >conftest.$ac_ext <<_ACEOF
14605 #line 14605 "configure"
14606 #include "confdefs.h"
14607 #ifdef HAVE_NETDB_H
14610 #ifdef F77_DUMMY_MAIN
14611 # ifdef __cplusplus
14614 int F77_DUMMY_MAIN() { return 1; }
14619 getaddrinfo(0,0,0,0)
14624 rm -f conftest.$ac_objext conftest$ac_exeext
14625 if { (eval echo "$as_me:14625: \"$ac_link\"") >&5
14626 (eval $ac_link) 2>&5
14628 echo "$as_me:14628: \$? = $ac_status" >&5
14629 (exit $ac_status); } &&
14630 { ac_try='test -s conftest$ac_exeext'
14631 { (eval echo "$as_me:14631: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14634 echo "$as_me:14634: \$? = $ac_status" >&5
14635 (exit $ac_status); }; }; then
14636 eval "if test -n \"$ac_lib\";then ac_cv_funclib_getaddrinfo=$ac_lib; else ac_cv_funclib_getaddrinfo=yes; fi";break
14638 echo "$as_me: failed program was:" >&5
14639 cat conftest.$ac_ext >&5
14641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14643 eval "ac_cv_funclib_getaddrinfo=\${ac_cv_funclib_getaddrinfo-no}"
14644 LIBS="$ac_save_LIBS"
14650 eval "ac_res=\$ac_cv_funclib_getaddrinfo"
14654 for ac_func in getaddrinfo
14656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14657 echo "$as_me:14657: checking for $ac_func" >&5
14658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14659 if eval "test \"\${$as_ac_var+set}\" = set"; then
14660 echo $ECHO_N "(cached) $ECHO_C" >&6
14662 cat >conftest.$ac_ext <<_ACEOF
14663 #line 14663 "configure"
14664 #include "confdefs.h"
14665 /* System header to define __stub macros and hopefully few prototypes,
14666 which can conflict with char $ac_func (); below. */
14667 #include <assert.h>
14668 /* Override any gcc2 internal prototype to avoid an error. */
14672 /* We use char because int might match the return type of a gcc2
14673 builtin and then its argument prototype would still apply. */
14677 #ifdef F77_DUMMY_MAIN
14678 # ifdef __cplusplus
14681 int F77_DUMMY_MAIN() { return 1; }
14686 /* The GNU C library defines this for functions which it implements
14687 to always fail with ENOSYS. Some functions are actually named
14688 something starting with __ and the normal name is an alias. */
14689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14699 rm -f conftest.$ac_objext conftest$ac_exeext
14700 if { (eval echo "$as_me:14700: \"$ac_link\"") >&5
14701 (eval $ac_link) 2>&5
14703 echo "$as_me:14703: \$? = $ac_status" >&5
14704 (exit $ac_status); } &&
14705 { ac_try='test -s conftest$ac_exeext'
14706 { (eval echo "$as_me:14706: \"$ac_try\"") >&5
14707 (eval $ac_try) 2>&5
14709 echo "$as_me:14709: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 eval "$as_ac_var=yes"
14713 echo "$as_me: failed program was:" >&5
14714 cat conftest.$ac_ext >&5
14715 eval "$as_ac_var=no"
14717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14719 echo "$as_me:14719: result: `eval echo '${'$as_ac_var'}'`" >&5
14720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14721 if test `eval echo '${'$as_ac_var'}'` = yes; then
14722 cat >>confdefs.h <<_ACEOF
14723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14731 eval "ac_tr_func=HAVE_`echo getaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
14732 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
14733 eval "LIB_getaddrinfo=$ac_res"
14737 eval "ac_cv_func_getaddrinfo=yes"
14738 eval "LIB_getaddrinfo="
14739 cat >>confdefs.h <<_ACEOF
14740 #define $ac_tr_func 1
14743 echo "$as_me:14743: result: yes" >&5
14744 echo "${ECHO_T}yes" >&6
14747 eval "ac_cv_func_getaddrinfo=no"
14748 eval "LIB_getaddrinfo="
14749 echo "$as_me:14749: result: no" >&5
14750 echo "${ECHO_T}no" >&6
14753 eval "ac_cv_func_getaddrinfo=yes"
14754 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
14755 cat >>confdefs.h <<_ACEOF
14756 #define $ac_tr_func 1
14759 cat >>confdefs.h <<_ACEOF
14760 #define $ac_tr_lib 1
14763 echo "$as_me:14763: result: yes, in $ac_res" >&5
14764 echo "${ECHO_T}yes, in $ac_res" >&6
14769 if test -n "$LIB_getaddrinfo"; then
14770 LIBS="$LIB_getaddrinfo $LIBS"
14773 if eval "test \"$ac_cv_func_getaddrinfo\" != yes"; then
14774 LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
14782 echo "$as_me:14782: checking for getnameinfo" >&5
14783 echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
14784 if test "${ac_cv_funclib_getnameinfo+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14788 if eval "test \"\$ac_cv_func_getnameinfo\" != yes" ; then
14789 ac_save_LIBS="$LIBS"
14790 for ac_lib in "" ; do
14796 *) ac_lib="-l$ac_lib" ;;
14798 LIBS=" $ac_lib $ac_save_LIBS"
14799 cat >conftest.$ac_ext <<_ACEOF
14800 #line 14800 "configure"
14801 #include "confdefs.h"
14802 #ifdef HAVE_NETDB_H
14805 #ifdef F77_DUMMY_MAIN
14806 # ifdef __cplusplus
14809 int F77_DUMMY_MAIN() { return 1; }
14814 getnameinfo(0,0,0,0,0,0,0)
14819 rm -f conftest.$ac_objext conftest$ac_exeext
14820 if { (eval echo "$as_me:14820: \"$ac_link\"") >&5
14821 (eval $ac_link) 2>&5
14823 echo "$as_me:14823: \$? = $ac_status" >&5
14824 (exit $ac_status); } &&
14825 { ac_try='test -s conftest$ac_exeext'
14826 { (eval echo "$as_me:14826: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14829 echo "$as_me:14829: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 eval "if test -n \"$ac_lib\";then ac_cv_funclib_getnameinfo=$ac_lib; else ac_cv_funclib_getnameinfo=yes; fi";break
14833 echo "$as_me: failed program was:" >&5
14834 cat conftest.$ac_ext >&5
14836 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14838 eval "ac_cv_funclib_getnameinfo=\${ac_cv_funclib_getnameinfo-no}"
14839 LIBS="$ac_save_LIBS"
14845 eval "ac_res=\$ac_cv_funclib_getnameinfo"
14849 for ac_func in getnameinfo
14851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14852 echo "$as_me:14852: checking for $ac_func" >&5
14853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14854 if eval "test \"\${$as_ac_var+set}\" = set"; then
14855 echo $ECHO_N "(cached) $ECHO_C" >&6
14857 cat >conftest.$ac_ext <<_ACEOF
14858 #line 14858 "configure"
14859 #include "confdefs.h"
14860 /* System header to define __stub macros and hopefully few prototypes,
14861 which can conflict with char $ac_func (); below. */
14862 #include <assert.h>
14863 /* Override any gcc2 internal prototype to avoid an error. */
14867 /* We use char because int might match the return type of a gcc2
14868 builtin and then its argument prototype would still apply. */
14872 #ifdef F77_DUMMY_MAIN
14873 # ifdef __cplusplus
14876 int F77_DUMMY_MAIN() { return 1; }
14881 /* The GNU C library defines this for functions which it implements
14882 to always fail with ENOSYS. Some functions are actually named
14883 something starting with __ and the normal name is an alias. */
14884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14894 rm -f conftest.$ac_objext conftest$ac_exeext
14895 if { (eval echo "$as_me:14895: \"$ac_link\"") >&5
14896 (eval $ac_link) 2>&5
14898 echo "$as_me:14898: \$? = $ac_status" >&5
14899 (exit $ac_status); } &&
14900 { ac_try='test -s conftest$ac_exeext'
14901 { (eval echo "$as_me:14901: \"$ac_try\"") >&5
14902 (eval $ac_try) 2>&5
14904 echo "$as_me:14904: \$? = $ac_status" >&5
14905 (exit $ac_status); }; }; then
14906 eval "$as_ac_var=yes"
14908 echo "$as_me: failed program was:" >&5
14909 cat conftest.$ac_ext >&5
14910 eval "$as_ac_var=no"
14912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14914 echo "$as_me:14914: result: `eval echo '${'$as_ac_var'}'`" >&5
14915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14916 if test `eval echo '${'$as_ac_var'}'` = yes; then
14917 cat >>confdefs.h <<_ACEOF
14918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14926 eval "ac_tr_func=HAVE_`echo getnameinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
14927 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
14928 eval "LIB_getnameinfo=$ac_res"
14932 eval "ac_cv_func_getnameinfo=yes"
14933 eval "LIB_getnameinfo="
14934 cat >>confdefs.h <<_ACEOF
14935 #define $ac_tr_func 1
14938 echo "$as_me:14938: result: yes" >&5
14939 echo "${ECHO_T}yes" >&6
14942 eval "ac_cv_func_getnameinfo=no"
14943 eval "LIB_getnameinfo="
14944 echo "$as_me:14944: result: no" >&5
14945 echo "${ECHO_T}no" >&6
14948 eval "ac_cv_func_getnameinfo=yes"
14949 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
14950 cat >>confdefs.h <<_ACEOF
14951 #define $ac_tr_func 1
14954 cat >>confdefs.h <<_ACEOF
14955 #define $ac_tr_lib 1
14958 echo "$as_me:14958: result: yes, in $ac_res" >&5
14959 echo "${ECHO_T}yes, in $ac_res" >&6
14964 if test -n "$LIB_getnameinfo"; then
14965 LIBS="$LIB_getnameinfo $LIBS"
14968 if eval "test \"$ac_cv_func_getnameinfo\" != yes"; then
14969 LIBOBJS="$LIBOBJS getnameinfo.$ac_objext"
14977 echo "$as_me:14977: checking for freeaddrinfo" >&5
14978 echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
14979 if test "${ac_cv_funclib_freeaddrinfo+set}" = set; then
14980 echo $ECHO_N "(cached) $ECHO_C" >&6
14983 if eval "test \"\$ac_cv_func_freeaddrinfo\" != yes" ; then
14984 ac_save_LIBS="$LIBS"
14985 for ac_lib in "" ; do
14991 *) ac_lib="-l$ac_lib" ;;
14993 LIBS=" $ac_lib $ac_save_LIBS"
14994 cat >conftest.$ac_ext <<_ACEOF
14995 #line 14995 "configure"
14996 #include "confdefs.h"
14997 #ifdef HAVE_NETDB_H
15000 #ifdef F77_DUMMY_MAIN
15001 # ifdef __cplusplus
15004 int F77_DUMMY_MAIN() { return 1; }
15014 rm -f conftest.$ac_objext conftest$ac_exeext
15015 if { (eval echo "$as_me:15015: \"$ac_link\"") >&5
15016 (eval $ac_link) 2>&5
15018 echo "$as_me:15018: \$? = $ac_status" >&5
15019 (exit $ac_status); } &&
15020 { ac_try='test -s conftest$ac_exeext'
15021 { (eval echo "$as_me:15021: \"$ac_try\"") >&5
15022 (eval $ac_try) 2>&5
15024 echo "$as_me:15024: \$? = $ac_status" >&5
15025 (exit $ac_status); }; }; then
15026 eval "if test -n \"$ac_lib\";then ac_cv_funclib_freeaddrinfo=$ac_lib; else ac_cv_funclib_freeaddrinfo=yes; fi";break
15028 echo "$as_me: failed program was:" >&5
15029 cat conftest.$ac_ext >&5
15031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15033 eval "ac_cv_funclib_freeaddrinfo=\${ac_cv_funclib_freeaddrinfo-no}"
15034 LIBS="$ac_save_LIBS"
15040 eval "ac_res=\$ac_cv_funclib_freeaddrinfo"
15044 for ac_func in freeaddrinfo
15046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15047 echo "$as_me:15047: checking for $ac_func" >&5
15048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15049 if eval "test \"\${$as_ac_var+set}\" = set"; then
15050 echo $ECHO_N "(cached) $ECHO_C" >&6
15052 cat >conftest.$ac_ext <<_ACEOF
15053 #line 15053 "configure"
15054 #include "confdefs.h"
15055 /* System header to define __stub macros and hopefully few prototypes,
15056 which can conflict with char $ac_func (); below. */
15057 #include <assert.h>
15058 /* Override any gcc2 internal prototype to avoid an error. */
15062 /* We use char because int might match the return type of a gcc2
15063 builtin and then its argument prototype would still apply. */
15067 #ifdef F77_DUMMY_MAIN
15068 # ifdef __cplusplus
15071 int F77_DUMMY_MAIN() { return 1; }
15076 /* The GNU C library defines this for functions which it implements
15077 to always fail with ENOSYS. Some functions are actually named
15078 something starting with __ and the normal name is an alias. */
15079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15089 rm -f conftest.$ac_objext conftest$ac_exeext
15090 if { (eval echo "$as_me:15090: \"$ac_link\"") >&5
15091 (eval $ac_link) 2>&5
15093 echo "$as_me:15093: \$? = $ac_status" >&5
15094 (exit $ac_status); } &&
15095 { ac_try='test -s conftest$ac_exeext'
15096 { (eval echo "$as_me:15096: \"$ac_try\"") >&5
15097 (eval $ac_try) 2>&5
15099 echo "$as_me:15099: \$? = $ac_status" >&5
15100 (exit $ac_status); }; }; then
15101 eval "$as_ac_var=yes"
15103 echo "$as_me: failed program was:" >&5
15104 cat conftest.$ac_ext >&5
15105 eval "$as_ac_var=no"
15107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15109 echo "$as_me:15109: result: `eval echo '${'$as_ac_var'}'`" >&5
15110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15111 if test `eval echo '${'$as_ac_var'}'` = yes; then
15112 cat >>confdefs.h <<_ACEOF
15113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15121 eval "ac_tr_func=HAVE_`echo freeaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
15122 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
15123 eval "LIB_freeaddrinfo=$ac_res"
15127 eval "ac_cv_func_freeaddrinfo=yes"
15128 eval "LIB_freeaddrinfo="
15129 cat >>confdefs.h <<_ACEOF
15130 #define $ac_tr_func 1
15133 echo "$as_me:15133: result: yes" >&5
15134 echo "${ECHO_T}yes" >&6
15137 eval "ac_cv_func_freeaddrinfo=no"
15138 eval "LIB_freeaddrinfo="
15139 echo "$as_me:15139: result: no" >&5
15140 echo "${ECHO_T}no" >&6
15143 eval "ac_cv_func_freeaddrinfo=yes"
15144 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
15145 cat >>confdefs.h <<_ACEOF
15146 #define $ac_tr_func 1
15149 cat >>confdefs.h <<_ACEOF
15150 #define $ac_tr_lib 1
15153 echo "$as_me:15153: result: yes, in $ac_res" >&5
15154 echo "${ECHO_T}yes, in $ac_res" >&6
15159 if test -n "$LIB_freeaddrinfo"; then
15160 LIBS="$LIB_freeaddrinfo $LIBS"
15163 if eval "test \"$ac_cv_func_freeaddrinfo\" != yes"; then
15164 LIBOBJS="$LIBOBJS freeaddrinfo.$ac_objext"
15172 echo "$as_me:15172: checking for gai_strerror" >&5
15173 echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
15174 if test "${ac_cv_funclib_gai_strerror+set}" = set; then
15175 echo $ECHO_N "(cached) $ECHO_C" >&6
15178 if eval "test \"\$ac_cv_func_gai_strerror\" != yes" ; then
15179 ac_save_LIBS="$LIBS"
15180 for ac_lib in "" ; do
15186 *) ac_lib="-l$ac_lib" ;;
15188 LIBS=" $ac_lib $ac_save_LIBS"
15189 cat >conftest.$ac_ext <<_ACEOF
15190 #line 15190 "configure"
15191 #include "confdefs.h"
15192 #ifdef HAVE_NETDB_H
15195 #ifdef F77_DUMMY_MAIN
15196 # ifdef __cplusplus
15199 int F77_DUMMY_MAIN() { return 1; }
15209 rm -f conftest.$ac_objext conftest$ac_exeext
15210 if { (eval echo "$as_me:15210: \"$ac_link\"") >&5
15211 (eval $ac_link) 2>&5
15213 echo "$as_me:15213: \$? = $ac_status" >&5
15214 (exit $ac_status); } &&
15215 { ac_try='test -s conftest$ac_exeext'
15216 { (eval echo "$as_me:15216: \"$ac_try\"") >&5
15217 (eval $ac_try) 2>&5
15219 echo "$as_me:15219: \$? = $ac_status" >&5
15220 (exit $ac_status); }; }; then
15221 eval "if test -n \"$ac_lib\";then ac_cv_funclib_gai_strerror=$ac_lib; else ac_cv_funclib_gai_strerror=yes; fi";break
15223 echo "$as_me: failed program was:" >&5
15224 cat conftest.$ac_ext >&5
15226 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15228 eval "ac_cv_funclib_gai_strerror=\${ac_cv_funclib_gai_strerror-no}"
15229 LIBS="$ac_save_LIBS"
15235 eval "ac_res=\$ac_cv_funclib_gai_strerror"
15239 for ac_func in gai_strerror
15241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15242 echo "$as_me:15242: checking for $ac_func" >&5
15243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15244 if eval "test \"\${$as_ac_var+set}\" = set"; then
15245 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 cat >conftest.$ac_ext <<_ACEOF
15248 #line 15248 "configure"
15249 #include "confdefs.h"
15250 /* System header to define __stub macros and hopefully few prototypes,
15251 which can conflict with char $ac_func (); below. */
15252 #include <assert.h>
15253 /* Override any gcc2 internal prototype to avoid an error. */
15257 /* We use char because int might match the return type of a gcc2
15258 builtin and then its argument prototype would still apply. */
15262 #ifdef F77_DUMMY_MAIN
15263 # ifdef __cplusplus
15266 int F77_DUMMY_MAIN() { return 1; }
15271 /* The GNU C library defines this for functions which it implements
15272 to always fail with ENOSYS. Some functions are actually named
15273 something starting with __ and the normal name is an alias. */
15274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15284 rm -f conftest.$ac_objext conftest$ac_exeext
15285 if { (eval echo "$as_me:15285: \"$ac_link\"") >&5
15286 (eval $ac_link) 2>&5
15288 echo "$as_me:15288: \$? = $ac_status" >&5
15289 (exit $ac_status); } &&
15290 { ac_try='test -s conftest$ac_exeext'
15291 { (eval echo "$as_me:15291: \"$ac_try\"") >&5
15292 (eval $ac_try) 2>&5
15294 echo "$as_me:15294: \$? = $ac_status" >&5
15295 (exit $ac_status); }; }; then
15296 eval "$as_ac_var=yes"
15298 echo "$as_me: failed program was:" >&5
15299 cat conftest.$ac_ext >&5
15300 eval "$as_ac_var=no"
15302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15304 echo "$as_me:15304: result: `eval echo '${'$as_ac_var'}'`" >&5
15305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15306 if test `eval echo '${'$as_ac_var'}'` = yes; then
15307 cat >>confdefs.h <<_ACEOF
15308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15316 eval "ac_tr_func=HAVE_`echo gai_strerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
15317 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
15318 eval "LIB_gai_strerror=$ac_res"
15322 eval "ac_cv_func_gai_strerror=yes"
15323 eval "LIB_gai_strerror="
15324 cat >>confdefs.h <<_ACEOF
15325 #define $ac_tr_func 1
15328 echo "$as_me:15328: result: yes" >&5
15329 echo "${ECHO_T}yes" >&6
15332 eval "ac_cv_func_gai_strerror=no"
15333 eval "LIB_gai_strerror="
15334 echo "$as_me:15334: result: no" >&5
15335 echo "${ECHO_T}no" >&6
15338 eval "ac_cv_func_gai_strerror=yes"
15339 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
15340 cat >>confdefs.h <<_ACEOF
15341 #define $ac_tr_func 1
15344 cat >>confdefs.h <<_ACEOF
15345 #define $ac_tr_lib 1
15348 echo "$as_me:15348: result: yes, in $ac_res" >&5
15349 echo "${ECHO_T}yes, in $ac_res" >&6
15354 if test -n "$LIB_gai_strerror"; then
15355 LIBS="$LIB_gai_strerror $LIBS"
15358 if eval "test \"$ac_cv_func_gai_strerror\" != yes"; then
15359 LIBOBJS="$LIBOBJS gai_strerror.$ac_objext"
15363 echo "$as_me:15363: checking for chown" >&5
15364 echo $ECHO_N "checking for chown... $ECHO_C" >&6
15365 if test "${ac_cv_func_chown+set}" = set; then
15366 echo $ECHO_N "(cached) $ECHO_C" >&6
15368 cat >conftest.$ac_ext <<_ACEOF
15369 #line 15369 "configure"
15370 #include "confdefs.h"
15371 /* System header to define __stub macros and hopefully few prototypes,
15372 which can conflict with char chown (); below. */
15373 #include <assert.h>
15374 /* Override any gcc2 internal prototype to avoid an error. */
15378 /* We use char because int might match the return type of a gcc2
15379 builtin and then its argument prototype would still apply. */
15383 #ifdef F77_DUMMY_MAIN
15384 # ifdef __cplusplus
15387 int F77_DUMMY_MAIN() { return 1; }
15392 /* The GNU C library defines this for functions which it implements
15393 to always fail with ENOSYS. Some functions are actually named
15394 something starting with __ and the normal name is an alias. */
15395 #if defined (__stub_chown) || defined (__stub___chown)
15405 rm -f conftest.$ac_objext conftest$ac_exeext
15406 if { (eval echo "$as_me:15406: \"$ac_link\"") >&5
15407 (eval $ac_link) 2>&5
15409 echo "$as_me:15409: \$? = $ac_status" >&5
15410 (exit $ac_status); } &&
15411 { ac_try='test -s conftest$ac_exeext'
15412 { (eval echo "$as_me:15412: \"$ac_try\"") >&5
15413 (eval $ac_try) 2>&5
15415 echo "$as_me:15415: \$? = $ac_status" >&5
15416 (exit $ac_status); }; }; then
15417 ac_cv_func_chown=yes
15419 echo "$as_me: failed program was:" >&5
15420 cat conftest.$ac_ext >&5
15421 ac_cv_func_chown=no
15423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15425 echo "$as_me:15425: result: $ac_cv_func_chown" >&5
15426 echo "${ECHO_T}$ac_cv_func_chown" >&6
15427 if test $ac_cv_func_chown = yes; then
15429 cat >>confdefs.h <<_ACEOF
15430 #define HAVE_CHOWN 1
15434 LIBOBJS="$LIBOBJS chown.$ac_objext"
15436 echo "$as_me:15436: checking for copyhostent" >&5
15437 echo $ECHO_N "checking for copyhostent... $ECHO_C" >&6
15438 if test "${ac_cv_func_copyhostent+set}" = set; then
15439 echo $ECHO_N "(cached) $ECHO_C" >&6
15441 cat >conftest.$ac_ext <<_ACEOF
15442 #line 15442 "configure"
15443 #include "confdefs.h"
15444 /* System header to define __stub macros and hopefully few prototypes,
15445 which can conflict with char copyhostent (); below. */
15446 #include <assert.h>
15447 /* Override any gcc2 internal prototype to avoid an error. */
15451 /* We use char because int might match the return type of a gcc2
15452 builtin and then its argument prototype would still apply. */
15453 char copyhostent ();
15456 #ifdef F77_DUMMY_MAIN
15457 # ifdef __cplusplus
15460 int F77_DUMMY_MAIN() { return 1; }
15465 /* The GNU C library defines this for functions which it implements
15466 to always fail with ENOSYS. Some functions are actually named
15467 something starting with __ and the normal name is an alias. */
15468 #if defined (__stub_copyhostent) || defined (__stub___copyhostent)
15478 rm -f conftest.$ac_objext conftest$ac_exeext
15479 if { (eval echo "$as_me:15479: \"$ac_link\"") >&5
15480 (eval $ac_link) 2>&5
15482 echo "$as_me:15482: \$? = $ac_status" >&5
15483 (exit $ac_status); } &&
15484 { ac_try='test -s conftest$ac_exeext'
15485 { (eval echo "$as_me:15485: \"$ac_try\"") >&5
15486 (eval $ac_try) 2>&5
15488 echo "$as_me:15488: \$? = $ac_status" >&5
15489 (exit $ac_status); }; }; then
15490 ac_cv_func_copyhostent=yes
15492 echo "$as_me: failed program was:" >&5
15493 cat conftest.$ac_ext >&5
15494 ac_cv_func_copyhostent=no
15496 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15498 echo "$as_me:15498: result: $ac_cv_func_copyhostent" >&5
15499 echo "${ECHO_T}$ac_cv_func_copyhostent" >&6
15500 if test $ac_cv_func_copyhostent = yes; then
15502 cat >>confdefs.h <<_ACEOF
15503 #define HAVE_COPYHOSTENT 1
15507 LIBOBJS="$LIBOBJS copyhostent.$ac_objext"
15509 echo "$as_me:15509: checking for daemon" >&5
15510 echo $ECHO_N "checking for daemon... $ECHO_C" >&6
15511 if test "${ac_cv_func_daemon+set}" = set; then
15512 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 cat >conftest.$ac_ext <<_ACEOF
15515 #line 15515 "configure"
15516 #include "confdefs.h"
15517 /* System header to define __stub macros and hopefully few prototypes,
15518 which can conflict with char daemon (); below. */
15519 #include <assert.h>
15520 /* Override any gcc2 internal prototype to avoid an error. */
15524 /* We use char because int might match the return type of a gcc2
15525 builtin and then its argument prototype would still apply. */
15529 #ifdef F77_DUMMY_MAIN
15530 # ifdef __cplusplus
15533 int F77_DUMMY_MAIN() { return 1; }
15538 /* The GNU C library defines this for functions which it implements
15539 to always fail with ENOSYS. Some functions are actually named
15540 something starting with __ and the normal name is an alias. */
15541 #if defined (__stub_daemon) || defined (__stub___daemon)
15551 rm -f conftest.$ac_objext conftest$ac_exeext
15552 if { (eval echo "$as_me:15552: \"$ac_link\"") >&5
15553 (eval $ac_link) 2>&5
15555 echo "$as_me:15555: \$? = $ac_status" >&5
15556 (exit $ac_status); } &&
15557 { ac_try='test -s conftest$ac_exeext'
15558 { (eval echo "$as_me:15558: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15561 echo "$as_me:15561: \$? = $ac_status" >&5
15562 (exit $ac_status); }; }; then
15563 ac_cv_func_daemon=yes
15565 echo "$as_me: failed program was:" >&5
15566 cat conftest.$ac_ext >&5
15567 ac_cv_func_daemon=no
15569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15571 echo "$as_me:15571: result: $ac_cv_func_daemon" >&5
15572 echo "${ECHO_T}$ac_cv_func_daemon" >&6
15573 if test $ac_cv_func_daemon = yes; then
15575 cat >>confdefs.h <<_ACEOF
15576 #define HAVE_DAEMON 1
15580 LIBOBJS="$LIBOBJS daemon.$ac_objext"
15582 echo "$as_me:15582: checking for ecalloc" >&5
15583 echo $ECHO_N "checking for ecalloc... $ECHO_C" >&6
15584 if test "${ac_cv_func_ecalloc+set}" = set; then
15585 echo $ECHO_N "(cached) $ECHO_C" >&6
15587 cat >conftest.$ac_ext <<_ACEOF
15588 #line 15588 "configure"
15589 #include "confdefs.h"
15590 /* System header to define __stub macros and hopefully few prototypes,
15591 which can conflict with char ecalloc (); below. */
15592 #include <assert.h>
15593 /* Override any gcc2 internal prototype to avoid an error. */
15597 /* We use char because int might match the return type of a gcc2
15598 builtin and then its argument prototype would still apply. */
15602 #ifdef F77_DUMMY_MAIN
15603 # ifdef __cplusplus
15606 int F77_DUMMY_MAIN() { return 1; }
15611 /* The GNU C library defines this for functions which it implements
15612 to always fail with ENOSYS. Some functions are actually named
15613 something starting with __ and the normal name is an alias. */
15614 #if defined (__stub_ecalloc) || defined (__stub___ecalloc)
15624 rm -f conftest.$ac_objext conftest$ac_exeext
15625 if { (eval echo "$as_me:15625: \"$ac_link\"") >&5
15626 (eval $ac_link) 2>&5
15628 echo "$as_me:15628: \$? = $ac_status" >&5
15629 (exit $ac_status); } &&
15630 { ac_try='test -s conftest$ac_exeext'
15631 { (eval echo "$as_me:15631: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15634 echo "$as_me:15634: \$? = $ac_status" >&5
15635 (exit $ac_status); }; }; then
15636 ac_cv_func_ecalloc=yes
15638 echo "$as_me: failed program was:" >&5
15639 cat conftest.$ac_ext >&5
15640 ac_cv_func_ecalloc=no
15642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15644 echo "$as_me:15644: result: $ac_cv_func_ecalloc" >&5
15645 echo "${ECHO_T}$ac_cv_func_ecalloc" >&6
15646 if test $ac_cv_func_ecalloc = yes; then
15648 cat >>confdefs.h <<_ACEOF
15649 #define HAVE_ECALLOC 1
15653 LIBOBJS="$LIBOBJS ecalloc.$ac_objext"
15655 echo "$as_me:15655: checking for emalloc" >&5
15656 echo $ECHO_N "checking for emalloc... $ECHO_C" >&6
15657 if test "${ac_cv_func_emalloc+set}" = set; then
15658 echo $ECHO_N "(cached) $ECHO_C" >&6
15660 cat >conftest.$ac_ext <<_ACEOF
15661 #line 15661 "configure"
15662 #include "confdefs.h"
15663 /* System header to define __stub macros and hopefully few prototypes,
15664 which can conflict with char emalloc (); below. */
15665 #include <assert.h>
15666 /* Override any gcc2 internal prototype to avoid an error. */
15670 /* We use char because int might match the return type of a gcc2
15671 builtin and then its argument prototype would still apply. */
15675 #ifdef F77_DUMMY_MAIN
15676 # ifdef __cplusplus
15679 int F77_DUMMY_MAIN() { return 1; }
15684 /* The GNU C library defines this for functions which it implements
15685 to always fail with ENOSYS. Some functions are actually named
15686 something starting with __ and the normal name is an alias. */
15687 #if defined (__stub_emalloc) || defined (__stub___emalloc)
15697 rm -f conftest.$ac_objext conftest$ac_exeext
15698 if { (eval echo "$as_me:15698: \"$ac_link\"") >&5
15699 (eval $ac_link) 2>&5
15701 echo "$as_me:15701: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try='test -s conftest$ac_exeext'
15704 { (eval echo "$as_me:15704: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15707 echo "$as_me:15707: \$? = $ac_status" >&5
15708 (exit $ac_status); }; }; then
15709 ac_cv_func_emalloc=yes
15711 echo "$as_me: failed program was:" >&5
15712 cat conftest.$ac_ext >&5
15713 ac_cv_func_emalloc=no
15715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15717 echo "$as_me:15717: result: $ac_cv_func_emalloc" >&5
15718 echo "${ECHO_T}$ac_cv_func_emalloc" >&6
15719 if test $ac_cv_func_emalloc = yes; then
15721 cat >>confdefs.h <<_ACEOF
15722 #define HAVE_EMALLOC 1
15726 LIBOBJS="$LIBOBJS emalloc.$ac_objext"
15728 echo "$as_me:15728: checking for erealloc" >&5
15729 echo $ECHO_N "checking for erealloc... $ECHO_C" >&6
15730 if test "${ac_cv_func_erealloc+set}" = set; then
15731 echo $ECHO_N "(cached) $ECHO_C" >&6
15733 cat >conftest.$ac_ext <<_ACEOF
15734 #line 15734 "configure"
15735 #include "confdefs.h"
15736 /* System header to define __stub macros and hopefully few prototypes,
15737 which can conflict with char erealloc (); below. */
15738 #include <assert.h>
15739 /* Override any gcc2 internal prototype to avoid an error. */
15743 /* We use char because int might match the return type of a gcc2
15744 builtin and then its argument prototype would still apply. */
15748 #ifdef F77_DUMMY_MAIN
15749 # ifdef __cplusplus
15752 int F77_DUMMY_MAIN() { return 1; }
15757 /* The GNU C library defines this for functions which it implements
15758 to always fail with ENOSYS. Some functions are actually named
15759 something starting with __ and the normal name is an alias. */
15760 #if defined (__stub_erealloc) || defined (__stub___erealloc)
15770 rm -f conftest.$ac_objext conftest$ac_exeext
15771 if { (eval echo "$as_me:15771: \"$ac_link\"") >&5
15772 (eval $ac_link) 2>&5
15774 echo "$as_me:15774: \$? = $ac_status" >&5
15775 (exit $ac_status); } &&
15776 { ac_try='test -s conftest$ac_exeext'
15777 { (eval echo "$as_me:15777: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15780 echo "$as_me:15780: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15782 ac_cv_func_erealloc=yes
15784 echo "$as_me: failed program was:" >&5
15785 cat conftest.$ac_ext >&5
15786 ac_cv_func_erealloc=no
15788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15790 echo "$as_me:15790: result: $ac_cv_func_erealloc" >&5
15791 echo "${ECHO_T}$ac_cv_func_erealloc" >&6
15792 if test $ac_cv_func_erealloc = yes; then
15794 cat >>confdefs.h <<_ACEOF
15795 #define HAVE_EREALLOC 1
15799 LIBOBJS="$LIBOBJS erealloc.$ac_objext"
15801 echo "$as_me:15801: checking for estrdup" >&5
15802 echo $ECHO_N "checking for estrdup... $ECHO_C" >&6
15803 if test "${ac_cv_func_estrdup+set}" = set; then
15804 echo $ECHO_N "(cached) $ECHO_C" >&6
15806 cat >conftest.$ac_ext <<_ACEOF
15807 #line 15807 "configure"
15808 #include "confdefs.h"
15809 /* System header to define __stub macros and hopefully few prototypes,
15810 which can conflict with char estrdup (); below. */
15811 #include <assert.h>
15812 /* Override any gcc2 internal prototype to avoid an error. */
15816 /* We use char because int might match the return type of a gcc2
15817 builtin and then its argument prototype would still apply. */
15821 #ifdef F77_DUMMY_MAIN
15822 # ifdef __cplusplus
15825 int F77_DUMMY_MAIN() { return 1; }
15830 /* The GNU C library defines this for functions which it implements
15831 to always fail with ENOSYS. Some functions are actually named
15832 something starting with __ and the normal name is an alias. */
15833 #if defined (__stub_estrdup) || defined (__stub___estrdup)
15843 rm -f conftest.$ac_objext conftest$ac_exeext
15844 if { (eval echo "$as_me:15844: \"$ac_link\"") >&5
15845 (eval $ac_link) 2>&5
15847 echo "$as_me:15847: \$? = $ac_status" >&5
15848 (exit $ac_status); } &&
15849 { ac_try='test -s conftest$ac_exeext'
15850 { (eval echo "$as_me:15850: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15853 echo "$as_me:15853: \$? = $ac_status" >&5
15854 (exit $ac_status); }; }; then
15855 ac_cv_func_estrdup=yes
15857 echo "$as_me: failed program was:" >&5
15858 cat conftest.$ac_ext >&5
15859 ac_cv_func_estrdup=no
15861 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15863 echo "$as_me:15863: result: $ac_cv_func_estrdup" >&5
15864 echo "${ECHO_T}$ac_cv_func_estrdup" >&6
15865 if test $ac_cv_func_estrdup = yes; then
15867 cat >>confdefs.h <<_ACEOF
15868 #define HAVE_ESTRDUP 1
15872 LIBOBJS="$LIBOBJS estrdup.$ac_objext"
15874 echo "$as_me:15874: checking for err" >&5
15875 echo $ECHO_N "checking for err... $ECHO_C" >&6
15876 if test "${ac_cv_func_err+set}" = set; then
15877 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 cat >conftest.$ac_ext <<_ACEOF
15880 #line 15880 "configure"
15881 #include "confdefs.h"
15882 /* System header to define __stub macros and hopefully few prototypes,
15883 which can conflict with char err (); below. */
15884 #include <assert.h>
15885 /* Override any gcc2 internal prototype to avoid an error. */
15889 /* We use char because int might match the return type of a gcc2
15890 builtin and then its argument prototype would still apply. */
15894 #ifdef F77_DUMMY_MAIN
15895 # ifdef __cplusplus
15898 int F77_DUMMY_MAIN() { return 1; }
15903 /* The GNU C library defines this for functions which it implements
15904 to always fail with ENOSYS. Some functions are actually named
15905 something starting with __ and the normal name is an alias. */
15906 #if defined (__stub_err) || defined (__stub___err)
15916 rm -f conftest.$ac_objext conftest$ac_exeext
15917 if { (eval echo "$as_me:15917: \"$ac_link\"") >&5
15918 (eval $ac_link) 2>&5
15920 echo "$as_me:15920: \$? = $ac_status" >&5
15921 (exit $ac_status); } &&
15922 { ac_try='test -s conftest$ac_exeext'
15923 { (eval echo "$as_me:15923: \"$ac_try\"") >&5
15924 (eval $ac_try) 2>&5
15926 echo "$as_me:15926: \$? = $ac_status" >&5
15927 (exit $ac_status); }; }; then
15930 echo "$as_me: failed program was:" >&5
15931 cat conftest.$ac_ext >&5
15934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15936 echo "$as_me:15936: result: $ac_cv_func_err" >&5
15937 echo "${ECHO_T}$ac_cv_func_err" >&6
15938 if test $ac_cv_func_err = yes; then
15940 cat >>confdefs.h <<_ACEOF
15945 LIBOBJS="$LIBOBJS err.$ac_objext"
15947 echo "$as_me:15947: checking for errx" >&5
15948 echo $ECHO_N "checking for errx... $ECHO_C" >&6
15949 if test "${ac_cv_func_errx+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 cat >conftest.$ac_ext <<_ACEOF
15953 #line 15953 "configure"
15954 #include "confdefs.h"
15955 /* System header to define __stub macros and hopefully few prototypes,
15956 which can conflict with char errx (); below. */
15957 #include <assert.h>
15958 /* Override any gcc2 internal prototype to avoid an error. */
15962 /* We use char because int might match the return type of a gcc2
15963 builtin and then its argument prototype would still apply. */
15967 #ifdef F77_DUMMY_MAIN
15968 # ifdef __cplusplus
15971 int F77_DUMMY_MAIN() { return 1; }
15976 /* The GNU C library defines this for functions which it implements
15977 to always fail with ENOSYS. Some functions are actually named
15978 something starting with __ and the normal name is an alias. */
15979 #if defined (__stub_errx) || defined (__stub___errx)
15989 rm -f conftest.$ac_objext conftest$ac_exeext
15990 if { (eval echo "$as_me:15990: \"$ac_link\"") >&5
15991 (eval $ac_link) 2>&5
15993 echo "$as_me:15993: \$? = $ac_status" >&5
15994 (exit $ac_status); } &&
15995 { ac_try='test -s conftest$ac_exeext'
15996 { (eval echo "$as_me:15996: \"$ac_try\"") >&5
15997 (eval $ac_try) 2>&5
15999 echo "$as_me:15999: \$? = $ac_status" >&5
16000 (exit $ac_status); }; }; then
16001 ac_cv_func_errx=yes
16003 echo "$as_me: failed program was:" >&5
16004 cat conftest.$ac_ext >&5
16007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16009 echo "$as_me:16009: result: $ac_cv_func_errx" >&5
16010 echo "${ECHO_T}$ac_cv_func_errx" >&6
16011 if test $ac_cv_func_errx = yes; then
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_ERRX 1
16018 LIBOBJS="$LIBOBJS errx.$ac_objext"
16020 echo "$as_me:16020: checking for fchown" >&5
16021 echo $ECHO_N "checking for fchown... $ECHO_C" >&6
16022 if test "${ac_cv_func_fchown+set}" = set; then
16023 echo $ECHO_N "(cached) $ECHO_C" >&6
16025 cat >conftest.$ac_ext <<_ACEOF
16026 #line 16026 "configure"
16027 #include "confdefs.h"
16028 /* System header to define __stub macros and hopefully few prototypes,
16029 which can conflict with char fchown (); below. */
16030 #include <assert.h>
16031 /* Override any gcc2 internal prototype to avoid an error. */
16035 /* We use char because int might match the return type of a gcc2
16036 builtin and then its argument prototype would still apply. */
16040 #ifdef F77_DUMMY_MAIN
16041 # ifdef __cplusplus
16044 int F77_DUMMY_MAIN() { return 1; }
16049 /* The GNU C library defines this for functions which it implements
16050 to always fail with ENOSYS. Some functions are actually named
16051 something starting with __ and the normal name is an alias. */
16052 #if defined (__stub_fchown) || defined (__stub___fchown)
16062 rm -f conftest.$ac_objext conftest$ac_exeext
16063 if { (eval echo "$as_me:16063: \"$ac_link\"") >&5
16064 (eval $ac_link) 2>&5
16066 echo "$as_me:16066: \$? = $ac_status" >&5
16067 (exit $ac_status); } &&
16068 { ac_try='test -s conftest$ac_exeext'
16069 { (eval echo "$as_me:16069: \"$ac_try\"") >&5
16070 (eval $ac_try) 2>&5
16072 echo "$as_me:16072: \$? = $ac_status" >&5
16073 (exit $ac_status); }; }; then
16074 ac_cv_func_fchown=yes
16076 echo "$as_me: failed program was:" >&5
16077 cat conftest.$ac_ext >&5
16078 ac_cv_func_fchown=no
16080 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16082 echo "$as_me:16082: result: $ac_cv_func_fchown" >&5
16083 echo "${ECHO_T}$ac_cv_func_fchown" >&6
16084 if test $ac_cv_func_fchown = yes; then
16086 cat >>confdefs.h <<_ACEOF
16087 #define HAVE_FCHOWN 1
16091 LIBOBJS="$LIBOBJS fchown.$ac_objext"
16093 echo "$as_me:16093: checking for flock" >&5
16094 echo $ECHO_N "checking for flock... $ECHO_C" >&6
16095 if test "${ac_cv_func_flock+set}" = set; then
16096 echo $ECHO_N "(cached) $ECHO_C" >&6
16098 cat >conftest.$ac_ext <<_ACEOF
16099 #line 16099 "configure"
16100 #include "confdefs.h"
16101 /* System header to define __stub macros and hopefully few prototypes,
16102 which can conflict with char flock (); below. */
16103 #include <assert.h>
16104 /* Override any gcc2 internal prototype to avoid an error. */
16108 /* We use char because int might match the return type of a gcc2
16109 builtin and then its argument prototype would still apply. */
16113 #ifdef F77_DUMMY_MAIN
16114 # ifdef __cplusplus
16117 int F77_DUMMY_MAIN() { return 1; }
16122 /* The GNU C library defines this for functions which it implements
16123 to always fail with ENOSYS. Some functions are actually named
16124 something starting with __ and the normal name is an alias. */
16125 #if defined (__stub_flock) || defined (__stub___flock)
16135 rm -f conftest.$ac_objext conftest$ac_exeext
16136 if { (eval echo "$as_me:16136: \"$ac_link\"") >&5
16137 (eval $ac_link) 2>&5
16139 echo "$as_me:16139: \$? = $ac_status" >&5
16140 (exit $ac_status); } &&
16141 { ac_try='test -s conftest$ac_exeext'
16142 { (eval echo "$as_me:16142: \"$ac_try\"") >&5
16143 (eval $ac_try) 2>&5
16145 echo "$as_me:16145: \$? = $ac_status" >&5
16146 (exit $ac_status); }; }; then
16147 ac_cv_func_flock=yes
16149 echo "$as_me: failed program was:" >&5
16150 cat conftest.$ac_ext >&5
16151 ac_cv_func_flock=no
16153 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16155 echo "$as_me:16155: result: $ac_cv_func_flock" >&5
16156 echo "${ECHO_T}$ac_cv_func_flock" >&6
16157 if test $ac_cv_func_flock = yes; then
16159 cat >>confdefs.h <<_ACEOF
16160 #define HAVE_FLOCK 1
16164 LIBOBJS="$LIBOBJS flock.$ac_objext"
16166 echo "$as_me:16166: checking for fnmatch" >&5
16167 echo $ECHO_N "checking for fnmatch... $ECHO_C" >&6
16168 if test "${ac_cv_func_fnmatch+set}" = set; then
16169 echo $ECHO_N "(cached) $ECHO_C" >&6
16171 cat >conftest.$ac_ext <<_ACEOF
16172 #line 16172 "configure"
16173 #include "confdefs.h"
16174 /* System header to define __stub macros and hopefully few prototypes,
16175 which can conflict with char fnmatch (); below. */
16176 #include <assert.h>
16177 /* Override any gcc2 internal prototype to avoid an error. */
16181 /* We use char because int might match the return type of a gcc2
16182 builtin and then its argument prototype would still apply. */
16186 #ifdef F77_DUMMY_MAIN
16187 # ifdef __cplusplus
16190 int F77_DUMMY_MAIN() { return 1; }
16195 /* The GNU C library defines this for functions which it implements
16196 to always fail with ENOSYS. Some functions are actually named
16197 something starting with __ and the normal name is an alias. */
16198 #if defined (__stub_fnmatch) || defined (__stub___fnmatch)
16208 rm -f conftest.$ac_objext conftest$ac_exeext
16209 if { (eval echo "$as_me:16209: \"$ac_link\"") >&5
16210 (eval $ac_link) 2>&5
16212 echo "$as_me:16212: \$? = $ac_status" >&5
16213 (exit $ac_status); } &&
16214 { ac_try='test -s conftest$ac_exeext'
16215 { (eval echo "$as_me:16215: \"$ac_try\"") >&5
16216 (eval $ac_try) 2>&5
16218 echo "$as_me:16218: \$? = $ac_status" >&5
16219 (exit $ac_status); }; }; then
16220 ac_cv_func_fnmatch=yes
16222 echo "$as_me: failed program was:" >&5
16223 cat conftest.$ac_ext >&5
16224 ac_cv_func_fnmatch=no
16226 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16228 echo "$as_me:16228: result: $ac_cv_func_fnmatch" >&5
16229 echo "${ECHO_T}$ac_cv_func_fnmatch" >&6
16230 if test $ac_cv_func_fnmatch = yes; then
16232 cat >>confdefs.h <<_ACEOF
16233 #define HAVE_FNMATCH 1
16237 LIBOBJS="$LIBOBJS fnmatch.$ac_objext"
16239 echo "$as_me:16239: checking for freehostent" >&5
16240 echo $ECHO_N "checking for freehostent... $ECHO_C" >&6
16241 if test "${ac_cv_func_freehostent+set}" = set; then
16242 echo $ECHO_N "(cached) $ECHO_C" >&6
16244 cat >conftest.$ac_ext <<_ACEOF
16245 #line 16245 "configure"
16246 #include "confdefs.h"
16247 /* System header to define __stub macros and hopefully few prototypes,
16248 which can conflict with char freehostent (); below. */
16249 #include <assert.h>
16250 /* Override any gcc2 internal prototype to avoid an error. */
16254 /* We use char because int might match the return type of a gcc2
16255 builtin and then its argument prototype would still apply. */
16256 char freehostent ();
16259 #ifdef F77_DUMMY_MAIN
16260 # ifdef __cplusplus
16263 int F77_DUMMY_MAIN() { return 1; }
16268 /* The GNU C library defines this for functions which it implements
16269 to always fail with ENOSYS. Some functions are actually named
16270 something starting with __ and the normal name is an alias. */
16271 #if defined (__stub_freehostent) || defined (__stub___freehostent)
16281 rm -f conftest.$ac_objext conftest$ac_exeext
16282 if { (eval echo "$as_me:16282: \"$ac_link\"") >&5
16283 (eval $ac_link) 2>&5
16285 echo "$as_me:16285: \$? = $ac_status" >&5
16286 (exit $ac_status); } &&
16287 { ac_try='test -s conftest$ac_exeext'
16288 { (eval echo "$as_me:16288: \"$ac_try\"") >&5
16289 (eval $ac_try) 2>&5
16291 echo "$as_me:16291: \$? = $ac_status" >&5
16292 (exit $ac_status); }; }; then
16293 ac_cv_func_freehostent=yes
16295 echo "$as_me: failed program was:" >&5
16296 cat conftest.$ac_ext >&5
16297 ac_cv_func_freehostent=no
16299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16301 echo "$as_me:16301: result: $ac_cv_func_freehostent" >&5
16302 echo "${ECHO_T}$ac_cv_func_freehostent" >&6
16303 if test $ac_cv_func_freehostent = yes; then
16305 cat >>confdefs.h <<_ACEOF
16306 #define HAVE_FREEHOSTENT 1
16310 LIBOBJS="$LIBOBJS freehostent.$ac_objext"
16312 echo "$as_me:16312: checking for getcwd" >&5
16313 echo $ECHO_N "checking for getcwd... $ECHO_C" >&6
16314 if test "${ac_cv_func_getcwd+set}" = set; then
16315 echo $ECHO_N "(cached) $ECHO_C" >&6
16317 cat >conftest.$ac_ext <<_ACEOF
16318 #line 16318 "configure"
16319 #include "confdefs.h"
16320 /* System header to define __stub macros and hopefully few prototypes,
16321 which can conflict with char getcwd (); below. */
16322 #include <assert.h>
16323 /* Override any gcc2 internal prototype to avoid an error. */
16327 /* We use char because int might match the return type of a gcc2
16328 builtin and then its argument prototype would still apply. */
16332 #ifdef F77_DUMMY_MAIN
16333 # ifdef __cplusplus
16336 int F77_DUMMY_MAIN() { return 1; }
16341 /* The GNU C library defines this for functions which it implements
16342 to always fail with ENOSYS. Some functions are actually named
16343 something starting with __ and the normal name is an alias. */
16344 #if defined (__stub_getcwd) || defined (__stub___getcwd)
16354 rm -f conftest.$ac_objext conftest$ac_exeext
16355 if { (eval echo "$as_me:16355: \"$ac_link\"") >&5
16356 (eval $ac_link) 2>&5
16358 echo "$as_me:16358: \$? = $ac_status" >&5
16359 (exit $ac_status); } &&
16360 { ac_try='test -s conftest$ac_exeext'
16361 { (eval echo "$as_me:16361: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16364 echo "$as_me:16364: \$? = $ac_status" >&5
16365 (exit $ac_status); }; }; then
16366 ac_cv_func_getcwd=yes
16368 echo "$as_me: failed program was:" >&5
16369 cat conftest.$ac_ext >&5
16370 ac_cv_func_getcwd=no
16372 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16374 echo "$as_me:16374: result: $ac_cv_func_getcwd" >&5
16375 echo "${ECHO_T}$ac_cv_func_getcwd" >&6
16376 if test $ac_cv_func_getcwd = yes; then
16378 cat >>confdefs.h <<_ACEOF
16379 #define HAVE_GETCWD 1
16383 LIBOBJS="$LIBOBJS getcwd.$ac_objext"
16385 echo "$as_me:16385: checking for getdtablesize" >&5
16386 echo $ECHO_N "checking for getdtablesize... $ECHO_C" >&6
16387 if test "${ac_cv_func_getdtablesize+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16390 cat >conftest.$ac_ext <<_ACEOF
16391 #line 16391 "configure"
16392 #include "confdefs.h"
16393 /* System header to define __stub macros and hopefully few prototypes,
16394 which can conflict with char getdtablesize (); below. */
16395 #include <assert.h>
16396 /* Override any gcc2 internal prototype to avoid an error. */
16400 /* We use char because int might match the return type of a gcc2
16401 builtin and then its argument prototype would still apply. */
16402 char getdtablesize ();
16405 #ifdef F77_DUMMY_MAIN
16406 # ifdef __cplusplus
16409 int F77_DUMMY_MAIN() { return 1; }
16414 /* The GNU C library defines this for functions which it implements
16415 to always fail with ENOSYS. Some functions are actually named
16416 something starting with __ and the normal name is an alias. */
16417 #if defined (__stub_getdtablesize) || defined (__stub___getdtablesize)
16427 rm -f conftest.$ac_objext conftest$ac_exeext
16428 if { (eval echo "$as_me:16428: \"$ac_link\"") >&5
16429 (eval $ac_link) 2>&5
16431 echo "$as_me:16431: \$? = $ac_status" >&5
16432 (exit $ac_status); } &&
16433 { ac_try='test -s conftest$ac_exeext'
16434 { (eval echo "$as_me:16434: \"$ac_try\"") >&5
16435 (eval $ac_try) 2>&5
16437 echo "$as_me:16437: \$? = $ac_status" >&5
16438 (exit $ac_status); }; }; then
16439 ac_cv_func_getdtablesize=yes
16441 echo "$as_me: failed program was:" >&5
16442 cat conftest.$ac_ext >&5
16443 ac_cv_func_getdtablesize=no
16445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16447 echo "$as_me:16447: result: $ac_cv_func_getdtablesize" >&5
16448 echo "${ECHO_T}$ac_cv_func_getdtablesize" >&6
16449 if test $ac_cv_func_getdtablesize = yes; then
16451 cat >>confdefs.h <<_ACEOF
16452 #define HAVE_GETDTABLESIZE 1
16456 LIBOBJS="$LIBOBJS getdtablesize.$ac_objext"
16458 echo "$as_me:16458: checking for getegid" >&5
16459 echo $ECHO_N "checking for getegid... $ECHO_C" >&6
16460 if test "${ac_cv_func_getegid+set}" = set; then
16461 echo $ECHO_N "(cached) $ECHO_C" >&6
16463 cat >conftest.$ac_ext <<_ACEOF
16464 #line 16464 "configure"
16465 #include "confdefs.h"
16466 /* System header to define __stub macros and hopefully few prototypes,
16467 which can conflict with char getegid (); below. */
16468 #include <assert.h>
16469 /* Override any gcc2 internal prototype to avoid an error. */
16473 /* We use char because int might match the return type of a gcc2
16474 builtin and then its argument prototype would still apply. */
16478 #ifdef F77_DUMMY_MAIN
16479 # ifdef __cplusplus
16482 int F77_DUMMY_MAIN() { return 1; }
16487 /* The GNU C library defines this for functions which it implements
16488 to always fail with ENOSYS. Some functions are actually named
16489 something starting with __ and the normal name is an alias. */
16490 #if defined (__stub_getegid) || defined (__stub___getegid)
16500 rm -f conftest.$ac_objext conftest$ac_exeext
16501 if { (eval echo "$as_me:16501: \"$ac_link\"") >&5
16502 (eval $ac_link) 2>&5
16504 echo "$as_me:16504: \$? = $ac_status" >&5
16505 (exit $ac_status); } &&
16506 { ac_try='test -s conftest$ac_exeext'
16507 { (eval echo "$as_me:16507: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16510 echo "$as_me:16510: \$? = $ac_status" >&5
16511 (exit $ac_status); }; }; then
16512 ac_cv_func_getegid=yes
16514 echo "$as_me: failed program was:" >&5
16515 cat conftest.$ac_ext >&5
16516 ac_cv_func_getegid=no
16518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16520 echo "$as_me:16520: result: $ac_cv_func_getegid" >&5
16521 echo "${ECHO_T}$ac_cv_func_getegid" >&6
16522 if test $ac_cv_func_getegid = yes; then
16524 cat >>confdefs.h <<_ACEOF
16525 #define HAVE_GETEGID 1
16529 LIBOBJS="$LIBOBJS getegid.$ac_objext"
16531 echo "$as_me:16531: checking for geteuid" >&5
16532 echo $ECHO_N "checking for geteuid... $ECHO_C" >&6
16533 if test "${ac_cv_func_geteuid+set}" = set; then
16534 echo $ECHO_N "(cached) $ECHO_C" >&6
16536 cat >conftest.$ac_ext <<_ACEOF
16537 #line 16537 "configure"
16538 #include "confdefs.h"
16539 /* System header to define __stub macros and hopefully few prototypes,
16540 which can conflict with char geteuid (); below. */
16541 #include <assert.h>
16542 /* Override any gcc2 internal prototype to avoid an error. */
16546 /* We use char because int might match the return type of a gcc2
16547 builtin and then its argument prototype would still apply. */
16551 #ifdef F77_DUMMY_MAIN
16552 # ifdef __cplusplus
16555 int F77_DUMMY_MAIN() { return 1; }
16560 /* The GNU C library defines this for functions which it implements
16561 to always fail with ENOSYS. Some functions are actually named
16562 something starting with __ and the normal name is an alias. */
16563 #if defined (__stub_geteuid) || defined (__stub___geteuid)
16573 rm -f conftest.$ac_objext conftest$ac_exeext
16574 if { (eval echo "$as_me:16574: \"$ac_link\"") >&5
16575 (eval $ac_link) 2>&5
16577 echo "$as_me:16577: \$? = $ac_status" >&5
16578 (exit $ac_status); } &&
16579 { ac_try='test -s conftest$ac_exeext'
16580 { (eval echo "$as_me:16580: \"$ac_try\"") >&5
16581 (eval $ac_try) 2>&5
16583 echo "$as_me:16583: \$? = $ac_status" >&5
16584 (exit $ac_status); }; }; then
16585 ac_cv_func_geteuid=yes
16587 echo "$as_me: failed program was:" >&5
16588 cat conftest.$ac_ext >&5
16589 ac_cv_func_geteuid=no
16591 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16593 echo "$as_me:16593: result: $ac_cv_func_geteuid" >&5
16594 echo "${ECHO_T}$ac_cv_func_geteuid" >&6
16595 if test $ac_cv_func_geteuid = yes; then
16597 cat >>confdefs.h <<_ACEOF
16598 #define HAVE_GETEUID 1
16602 LIBOBJS="$LIBOBJS geteuid.$ac_objext"
16604 echo "$as_me:16604: checking for getgid" >&5
16605 echo $ECHO_N "checking for getgid... $ECHO_C" >&6
16606 if test "${ac_cv_func_getgid+set}" = set; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16609 cat >conftest.$ac_ext <<_ACEOF
16610 #line 16610 "configure"
16611 #include "confdefs.h"
16612 /* System header to define __stub macros and hopefully few prototypes,
16613 which can conflict with char getgid (); below. */
16614 #include <assert.h>
16615 /* Override any gcc2 internal prototype to avoid an error. */
16619 /* We use char because int might match the return type of a gcc2
16620 builtin and then its argument prototype would still apply. */
16624 #ifdef F77_DUMMY_MAIN
16625 # ifdef __cplusplus
16628 int F77_DUMMY_MAIN() { return 1; }
16633 /* The GNU C library defines this for functions which it implements
16634 to always fail with ENOSYS. Some functions are actually named
16635 something starting with __ and the normal name is an alias. */
16636 #if defined (__stub_getgid) || defined (__stub___getgid)
16646 rm -f conftest.$ac_objext conftest$ac_exeext
16647 if { (eval echo "$as_me:16647: \"$ac_link\"") >&5
16648 (eval $ac_link) 2>&5
16650 echo "$as_me:16650: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try='test -s conftest$ac_exeext'
16653 { (eval echo "$as_me:16653: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:16656: \$? = $ac_status" >&5
16657 (exit $ac_status); }; }; then
16658 ac_cv_func_getgid=yes
16660 echo "$as_me: failed program was:" >&5
16661 cat conftest.$ac_ext >&5
16662 ac_cv_func_getgid=no
16664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16666 echo "$as_me:16666: result: $ac_cv_func_getgid" >&5
16667 echo "${ECHO_T}$ac_cv_func_getgid" >&6
16668 if test $ac_cv_func_getgid = yes; then
16670 cat >>confdefs.h <<_ACEOF
16671 #define HAVE_GETGID 1
16675 LIBOBJS="$LIBOBJS getgid.$ac_objext"
16677 echo "$as_me:16677: checking for gethostname" >&5
16678 echo $ECHO_N "checking for gethostname... $ECHO_C" >&6
16679 if test "${ac_cv_func_gethostname+set}" = set; then
16680 echo $ECHO_N "(cached) $ECHO_C" >&6
16682 cat >conftest.$ac_ext <<_ACEOF
16683 #line 16683 "configure"
16684 #include "confdefs.h"
16685 /* System header to define __stub macros and hopefully few prototypes,
16686 which can conflict with char gethostname (); below. */
16687 #include <assert.h>
16688 /* Override any gcc2 internal prototype to avoid an error. */
16692 /* We use char because int might match the return type of a gcc2
16693 builtin and then its argument prototype would still apply. */
16694 char gethostname ();
16697 #ifdef F77_DUMMY_MAIN
16698 # ifdef __cplusplus
16701 int F77_DUMMY_MAIN() { return 1; }
16706 /* The GNU C library defines this for functions which it implements
16707 to always fail with ENOSYS. Some functions are actually named
16708 something starting with __ and the normal name is an alias. */
16709 #if defined (__stub_gethostname) || defined (__stub___gethostname)
16719 rm -f conftest.$ac_objext conftest$ac_exeext
16720 if { (eval echo "$as_me:16720: \"$ac_link\"") >&5
16721 (eval $ac_link) 2>&5
16723 echo "$as_me:16723: \$? = $ac_status" >&5
16724 (exit $ac_status); } &&
16725 { ac_try='test -s conftest$ac_exeext'
16726 { (eval echo "$as_me:16726: \"$ac_try\"") >&5
16727 (eval $ac_try) 2>&5
16729 echo "$as_me:16729: \$? = $ac_status" >&5
16730 (exit $ac_status); }; }; then
16731 ac_cv_func_gethostname=yes
16733 echo "$as_me: failed program was:" >&5
16734 cat conftest.$ac_ext >&5
16735 ac_cv_func_gethostname=no
16737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16739 echo "$as_me:16739: result: $ac_cv_func_gethostname" >&5
16740 echo "${ECHO_T}$ac_cv_func_gethostname" >&6
16741 if test $ac_cv_func_gethostname = yes; then
16743 cat >>confdefs.h <<_ACEOF
16744 #define HAVE_GETHOSTNAME 1
16748 LIBOBJS="$LIBOBJS gethostname.$ac_objext"
16750 echo "$as_me:16750: checking for getifaddrs" >&5
16751 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6
16752 if test "${ac_cv_func_getifaddrs+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 cat >conftest.$ac_ext <<_ACEOF
16756 #line 16756 "configure"
16757 #include "confdefs.h"
16758 /* System header to define __stub macros and hopefully few prototypes,
16759 which can conflict with char getifaddrs (); below. */
16760 #include <assert.h>
16761 /* Override any gcc2 internal prototype to avoid an error. */
16765 /* We use char because int might match the return type of a gcc2
16766 builtin and then its argument prototype would still apply. */
16767 char getifaddrs ();
16770 #ifdef F77_DUMMY_MAIN
16771 # ifdef __cplusplus
16774 int F77_DUMMY_MAIN() { return 1; }
16779 /* The GNU C library defines this for functions which it implements
16780 to always fail with ENOSYS. Some functions are actually named
16781 something starting with __ and the normal name is an alias. */
16782 #if defined (__stub_getifaddrs) || defined (__stub___getifaddrs)
16792 rm -f conftest.$ac_objext conftest$ac_exeext
16793 if { (eval echo "$as_me:16793: \"$ac_link\"") >&5
16794 (eval $ac_link) 2>&5
16796 echo "$as_me:16796: \$? = $ac_status" >&5
16797 (exit $ac_status); } &&
16798 { ac_try='test -s conftest$ac_exeext'
16799 { (eval echo "$as_me:16799: \"$ac_try\"") >&5
16800 (eval $ac_try) 2>&5
16802 echo "$as_me:16802: \$? = $ac_status" >&5
16803 (exit $ac_status); }; }; then
16804 ac_cv_func_getifaddrs=yes
16806 echo "$as_me: failed program was:" >&5
16807 cat conftest.$ac_ext >&5
16808 ac_cv_func_getifaddrs=no
16810 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16812 echo "$as_me:16812: result: $ac_cv_func_getifaddrs" >&5
16813 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6
16814 if test $ac_cv_func_getifaddrs = yes; then
16816 cat >>confdefs.h <<_ACEOF
16817 #define HAVE_GETIFADDRS 1
16821 LIBOBJS="$LIBOBJS getifaddrs.$ac_objext"
16823 echo "$as_me:16823: checking for getipnodebyaddr" >&5
16824 echo $ECHO_N "checking for getipnodebyaddr... $ECHO_C" >&6
16825 if test "${ac_cv_func_getipnodebyaddr+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16828 cat >conftest.$ac_ext <<_ACEOF
16829 #line 16829 "configure"
16830 #include "confdefs.h"
16831 /* System header to define __stub macros and hopefully few prototypes,
16832 which can conflict with char getipnodebyaddr (); below. */
16833 #include <assert.h>
16834 /* Override any gcc2 internal prototype to avoid an error. */
16838 /* We use char because int might match the return type of a gcc2
16839 builtin and then its argument prototype would still apply. */
16840 char getipnodebyaddr ();
16843 #ifdef F77_DUMMY_MAIN
16844 # ifdef __cplusplus
16847 int F77_DUMMY_MAIN() { return 1; }
16852 /* The GNU C library defines this for functions which it implements
16853 to always fail with ENOSYS. Some functions are actually named
16854 something starting with __ and the normal name is an alias. */
16855 #if defined (__stub_getipnodebyaddr) || defined (__stub___getipnodebyaddr)
16858 f = getipnodebyaddr;
16865 rm -f conftest.$ac_objext conftest$ac_exeext
16866 if { (eval echo "$as_me:16866: \"$ac_link\"") >&5
16867 (eval $ac_link) 2>&5
16869 echo "$as_me:16869: \$? = $ac_status" >&5
16870 (exit $ac_status); } &&
16871 { ac_try='test -s conftest$ac_exeext'
16872 { (eval echo "$as_me:16872: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16875 echo "$as_me:16875: \$? = $ac_status" >&5
16876 (exit $ac_status); }; }; then
16877 ac_cv_func_getipnodebyaddr=yes
16879 echo "$as_me: failed program was:" >&5
16880 cat conftest.$ac_ext >&5
16881 ac_cv_func_getipnodebyaddr=no
16883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16885 echo "$as_me:16885: result: $ac_cv_func_getipnodebyaddr" >&5
16886 echo "${ECHO_T}$ac_cv_func_getipnodebyaddr" >&6
16887 if test $ac_cv_func_getipnodebyaddr = yes; then
16889 cat >>confdefs.h <<_ACEOF
16890 #define HAVE_GETIPNODEBYADDR 1
16894 LIBOBJS="$LIBOBJS getipnodebyaddr.$ac_objext"
16896 echo "$as_me:16896: checking for getipnodebyname" >&5
16897 echo $ECHO_N "checking for getipnodebyname... $ECHO_C" >&6
16898 if test "${ac_cv_func_getipnodebyname+set}" = set; then
16899 echo $ECHO_N "(cached) $ECHO_C" >&6
16901 cat >conftest.$ac_ext <<_ACEOF
16902 #line 16902 "configure"
16903 #include "confdefs.h"
16904 /* System header to define __stub macros and hopefully few prototypes,
16905 which can conflict with char getipnodebyname (); below. */
16906 #include <assert.h>
16907 /* Override any gcc2 internal prototype to avoid an error. */
16911 /* We use char because int might match the return type of a gcc2
16912 builtin and then its argument prototype would still apply. */
16913 char getipnodebyname ();
16916 #ifdef F77_DUMMY_MAIN
16917 # ifdef __cplusplus
16920 int F77_DUMMY_MAIN() { return 1; }
16925 /* The GNU C library defines this for functions which it implements
16926 to always fail with ENOSYS. Some functions are actually named
16927 something starting with __ and the normal name is an alias. */
16928 #if defined (__stub_getipnodebyname) || defined (__stub___getipnodebyname)
16931 f = getipnodebyname;
16938 rm -f conftest.$ac_objext conftest$ac_exeext
16939 if { (eval echo "$as_me:16939: \"$ac_link\"") >&5
16940 (eval $ac_link) 2>&5
16942 echo "$as_me:16942: \$? = $ac_status" >&5
16943 (exit $ac_status); } &&
16944 { ac_try='test -s conftest$ac_exeext'
16945 { (eval echo "$as_me:16945: \"$ac_try\"") >&5
16946 (eval $ac_try) 2>&5
16948 echo "$as_me:16948: \$? = $ac_status" >&5
16949 (exit $ac_status); }; }; then
16950 ac_cv_func_getipnodebyname=yes
16952 echo "$as_me: failed program was:" >&5
16953 cat conftest.$ac_ext >&5
16954 ac_cv_func_getipnodebyname=no
16956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16958 echo "$as_me:16958: result: $ac_cv_func_getipnodebyname" >&5
16959 echo "${ECHO_T}$ac_cv_func_getipnodebyname" >&6
16960 if test $ac_cv_func_getipnodebyname = yes; then
16962 cat >>confdefs.h <<_ACEOF
16963 #define HAVE_GETIPNODEBYNAME 1
16967 LIBOBJS="$LIBOBJS getipnodebyname.$ac_objext"
16969 echo "$as_me:16969: checking for getopt" >&5
16970 echo $ECHO_N "checking for getopt... $ECHO_C" >&6
16971 if test "${ac_cv_func_getopt+set}" = set; then
16972 echo $ECHO_N "(cached) $ECHO_C" >&6
16974 cat >conftest.$ac_ext <<_ACEOF
16975 #line 16975 "configure"
16976 #include "confdefs.h"
16977 /* System header to define __stub macros and hopefully few prototypes,
16978 which can conflict with char getopt (); below. */
16979 #include <assert.h>
16980 /* Override any gcc2 internal prototype to avoid an error. */
16984 /* We use char because int might match the return type of a gcc2
16985 builtin and then its argument prototype would still apply. */
16989 #ifdef F77_DUMMY_MAIN
16990 # ifdef __cplusplus
16993 int F77_DUMMY_MAIN() { return 1; }
16998 /* The GNU C library defines this for functions which it implements
16999 to always fail with ENOSYS. Some functions are actually named
17000 something starting with __ and the normal name is an alias. */
17001 #if defined (__stub_getopt) || defined (__stub___getopt)
17011 rm -f conftest.$ac_objext conftest$ac_exeext
17012 if { (eval echo "$as_me:17012: \"$ac_link\"") >&5
17013 (eval $ac_link) 2>&5
17015 echo "$as_me:17015: \$? = $ac_status" >&5
17016 (exit $ac_status); } &&
17017 { ac_try='test -s conftest$ac_exeext'
17018 { (eval echo "$as_me:17018: \"$ac_try\"") >&5
17019 (eval $ac_try) 2>&5
17021 echo "$as_me:17021: \$? = $ac_status" >&5
17022 (exit $ac_status); }; }; then
17023 ac_cv_func_getopt=yes
17025 echo "$as_me: failed program was:" >&5
17026 cat conftest.$ac_ext >&5
17027 ac_cv_func_getopt=no
17029 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17031 echo "$as_me:17031: result: $ac_cv_func_getopt" >&5
17032 echo "${ECHO_T}$ac_cv_func_getopt" >&6
17033 if test $ac_cv_func_getopt = yes; then
17035 cat >>confdefs.h <<_ACEOF
17036 #define HAVE_GETOPT 1
17040 LIBOBJS="$LIBOBJS getopt.$ac_objext"
17042 echo "$as_me:17042: checking for gettimeofday" >&5
17043 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
17044 if test "${ac_cv_func_gettimeofday+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 cat >conftest.$ac_ext <<_ACEOF
17048 #line 17048 "configure"
17049 #include "confdefs.h"
17050 /* System header to define __stub macros and hopefully few prototypes,
17051 which can conflict with char gettimeofday (); below. */
17052 #include <assert.h>
17053 /* Override any gcc2 internal prototype to avoid an error. */
17057 /* We use char because int might match the return type of a gcc2
17058 builtin and then its argument prototype would still apply. */
17059 char gettimeofday ();
17062 #ifdef F77_DUMMY_MAIN
17063 # ifdef __cplusplus
17066 int F77_DUMMY_MAIN() { return 1; }
17071 /* The GNU C library defines this for functions which it implements
17072 to always fail with ENOSYS. Some functions are actually named
17073 something starting with __ and the normal name is an alias. */
17074 #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
17084 rm -f conftest.$ac_objext conftest$ac_exeext
17085 if { (eval echo "$as_me:17085: \"$ac_link\"") >&5
17086 (eval $ac_link) 2>&5
17088 echo "$as_me:17088: \$? = $ac_status" >&5
17089 (exit $ac_status); } &&
17090 { ac_try='test -s conftest$ac_exeext'
17091 { (eval echo "$as_me:17091: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17094 echo "$as_me:17094: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 ac_cv_func_gettimeofday=yes
17098 echo "$as_me: failed program was:" >&5
17099 cat conftest.$ac_ext >&5
17100 ac_cv_func_gettimeofday=no
17102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17104 echo "$as_me:17104: result: $ac_cv_func_gettimeofday" >&5
17105 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
17106 if test $ac_cv_func_gettimeofday = yes; then
17108 cat >>confdefs.h <<_ACEOF
17109 #define HAVE_GETTIMEOFDAY 1
17113 LIBOBJS="$LIBOBJS gettimeofday.$ac_objext"
17115 echo "$as_me:17115: checking for getuid" >&5
17116 echo $ECHO_N "checking for getuid... $ECHO_C" >&6
17117 if test "${ac_cv_func_getuid+set}" = set; then
17118 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 cat >conftest.$ac_ext <<_ACEOF
17121 #line 17121 "configure"
17122 #include "confdefs.h"
17123 /* System header to define __stub macros and hopefully few prototypes,
17124 which can conflict with char getuid (); below. */
17125 #include <assert.h>
17126 /* Override any gcc2 internal prototype to avoid an error. */
17130 /* We use char because int might match the return type of a gcc2
17131 builtin and then its argument prototype would still apply. */
17135 #ifdef F77_DUMMY_MAIN
17136 # ifdef __cplusplus
17139 int F77_DUMMY_MAIN() { return 1; }
17144 /* The GNU C library defines this for functions which it implements
17145 to always fail with ENOSYS. Some functions are actually named
17146 something starting with __ and the normal name is an alias. */
17147 #if defined (__stub_getuid) || defined (__stub___getuid)
17157 rm -f conftest.$ac_objext conftest$ac_exeext
17158 if { (eval echo "$as_me:17158: \"$ac_link\"") >&5
17159 (eval $ac_link) 2>&5
17161 echo "$as_me:17161: \$? = $ac_status" >&5
17162 (exit $ac_status); } &&
17163 { ac_try='test -s conftest$ac_exeext'
17164 { (eval echo "$as_me:17164: \"$ac_try\"") >&5
17165 (eval $ac_try) 2>&5
17167 echo "$as_me:17167: \$? = $ac_status" >&5
17168 (exit $ac_status); }; }; then
17169 ac_cv_func_getuid=yes
17171 echo "$as_me: failed program was:" >&5
17172 cat conftest.$ac_ext >&5
17173 ac_cv_func_getuid=no
17175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17177 echo "$as_me:17177: result: $ac_cv_func_getuid" >&5
17178 echo "${ECHO_T}$ac_cv_func_getuid" >&6
17179 if test $ac_cv_func_getuid = yes; then
17181 cat >>confdefs.h <<_ACEOF
17182 #define HAVE_GETUID 1
17186 LIBOBJS="$LIBOBJS getuid.$ac_objext"
17188 echo "$as_me:17188: checking for getusershell" >&5
17189 echo $ECHO_N "checking for getusershell... $ECHO_C" >&6
17190 if test "${ac_cv_func_getusershell+set}" = set; then
17191 echo $ECHO_N "(cached) $ECHO_C" >&6
17193 cat >conftest.$ac_ext <<_ACEOF
17194 #line 17194 "configure"
17195 #include "confdefs.h"
17196 /* System header to define __stub macros and hopefully few prototypes,
17197 which can conflict with char getusershell (); below. */
17198 #include <assert.h>
17199 /* Override any gcc2 internal prototype to avoid an error. */
17203 /* We use char because int might match the return type of a gcc2
17204 builtin and then its argument prototype would still apply. */
17205 char getusershell ();
17208 #ifdef F77_DUMMY_MAIN
17209 # ifdef __cplusplus
17212 int F77_DUMMY_MAIN() { return 1; }
17217 /* The GNU C library defines this for functions which it implements
17218 to always fail with ENOSYS. Some functions are actually named
17219 something starting with __ and the normal name is an alias. */
17220 #if defined (__stub_getusershell) || defined (__stub___getusershell)
17230 rm -f conftest.$ac_objext conftest$ac_exeext
17231 if { (eval echo "$as_me:17231: \"$ac_link\"") >&5
17232 (eval $ac_link) 2>&5
17234 echo "$as_me:17234: \$? = $ac_status" >&5
17235 (exit $ac_status); } &&
17236 { ac_try='test -s conftest$ac_exeext'
17237 { (eval echo "$as_me:17237: \"$ac_try\"") >&5
17238 (eval $ac_try) 2>&5
17240 echo "$as_me:17240: \$? = $ac_status" >&5
17241 (exit $ac_status); }; }; then
17242 ac_cv_func_getusershell=yes
17244 echo "$as_me: failed program was:" >&5
17245 cat conftest.$ac_ext >&5
17246 ac_cv_func_getusershell=no
17248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17250 echo "$as_me:17250: result: $ac_cv_func_getusershell" >&5
17251 echo "${ECHO_T}$ac_cv_func_getusershell" >&6
17252 if test $ac_cv_func_getusershell = yes; then
17254 cat >>confdefs.h <<_ACEOF
17255 #define HAVE_GETUSERSHELL 1
17259 LIBOBJS="$LIBOBJS getusershell.$ac_objext"
17261 echo "$as_me:17261: checking for initgroups" >&5
17262 echo $ECHO_N "checking for initgroups... $ECHO_C" >&6
17263 if test "${ac_cv_func_initgroups+set}" = set; then
17264 echo $ECHO_N "(cached) $ECHO_C" >&6
17266 cat >conftest.$ac_ext <<_ACEOF
17267 #line 17267 "configure"
17268 #include "confdefs.h"
17269 /* System header to define __stub macros and hopefully few prototypes,
17270 which can conflict with char initgroups (); below. */
17271 #include <assert.h>
17272 /* Override any gcc2 internal prototype to avoid an error. */
17276 /* We use char because int might match the return type of a gcc2
17277 builtin and then its argument prototype would still apply. */
17278 char initgroups ();
17281 #ifdef F77_DUMMY_MAIN
17282 # ifdef __cplusplus
17285 int F77_DUMMY_MAIN() { return 1; }
17290 /* The GNU C library defines this for functions which it implements
17291 to always fail with ENOSYS. Some functions are actually named
17292 something starting with __ and the normal name is an alias. */
17293 #if defined (__stub_initgroups) || defined (__stub___initgroups)
17303 rm -f conftest.$ac_objext conftest$ac_exeext
17304 if { (eval echo "$as_me:17304: \"$ac_link\"") >&5
17305 (eval $ac_link) 2>&5
17307 echo "$as_me:17307: \$? = $ac_status" >&5
17308 (exit $ac_status); } &&
17309 { ac_try='test -s conftest$ac_exeext'
17310 { (eval echo "$as_me:17310: \"$ac_try\"") >&5
17311 (eval $ac_try) 2>&5
17313 echo "$as_me:17313: \$? = $ac_status" >&5
17314 (exit $ac_status); }; }; then
17315 ac_cv_func_initgroups=yes
17317 echo "$as_me: failed program was:" >&5
17318 cat conftest.$ac_ext >&5
17319 ac_cv_func_initgroups=no
17321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17323 echo "$as_me:17323: result: $ac_cv_func_initgroups" >&5
17324 echo "${ECHO_T}$ac_cv_func_initgroups" >&6
17325 if test $ac_cv_func_initgroups = yes; then
17327 cat >>confdefs.h <<_ACEOF
17328 #define HAVE_INITGROUPS 1
17332 LIBOBJS="$LIBOBJS initgroups.$ac_objext"
17334 echo "$as_me:17334: checking for innetgr" >&5
17335 echo $ECHO_N "checking for innetgr... $ECHO_C" >&6
17336 if test "${ac_cv_func_innetgr+set}" = set; then
17337 echo $ECHO_N "(cached) $ECHO_C" >&6
17339 cat >conftest.$ac_ext <<_ACEOF
17340 #line 17340 "configure"
17341 #include "confdefs.h"
17342 /* System header to define __stub macros and hopefully few prototypes,
17343 which can conflict with char innetgr (); below. */
17344 #include <assert.h>
17345 /* Override any gcc2 internal prototype to avoid an error. */
17349 /* We use char because int might match the return type of a gcc2
17350 builtin and then its argument prototype would still apply. */
17354 #ifdef F77_DUMMY_MAIN
17355 # ifdef __cplusplus
17358 int F77_DUMMY_MAIN() { return 1; }
17363 /* The GNU C library defines this for functions which it implements
17364 to always fail with ENOSYS. Some functions are actually named
17365 something starting with __ and the normal name is an alias. */
17366 #if defined (__stub_innetgr) || defined (__stub___innetgr)
17376 rm -f conftest.$ac_objext conftest$ac_exeext
17377 if { (eval echo "$as_me:17377: \"$ac_link\"") >&5
17378 (eval $ac_link) 2>&5
17380 echo "$as_me:17380: \$? = $ac_status" >&5
17381 (exit $ac_status); } &&
17382 { ac_try='test -s conftest$ac_exeext'
17383 { (eval echo "$as_me:17383: \"$ac_try\"") >&5
17384 (eval $ac_try) 2>&5
17386 echo "$as_me:17386: \$? = $ac_status" >&5
17387 (exit $ac_status); }; }; then
17388 ac_cv_func_innetgr=yes
17390 echo "$as_me: failed program was:" >&5
17391 cat conftest.$ac_ext >&5
17392 ac_cv_func_innetgr=no
17394 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17396 echo "$as_me:17396: result: $ac_cv_func_innetgr" >&5
17397 echo "${ECHO_T}$ac_cv_func_innetgr" >&6
17398 if test $ac_cv_func_innetgr = yes; then
17400 cat >>confdefs.h <<_ACEOF
17401 #define HAVE_INNETGR 1
17405 LIBOBJS="$LIBOBJS innetgr.$ac_objext"
17407 echo "$as_me:17407: checking for iruserok" >&5
17408 echo $ECHO_N "checking for iruserok... $ECHO_C" >&6
17409 if test "${ac_cv_func_iruserok+set}" = set; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 cat >conftest.$ac_ext <<_ACEOF
17413 #line 17413 "configure"
17414 #include "confdefs.h"
17415 /* System header to define __stub macros and hopefully few prototypes,
17416 which can conflict with char iruserok (); below. */
17417 #include <assert.h>
17418 /* Override any gcc2 internal prototype to avoid an error. */
17422 /* We use char because int might match the return type of a gcc2
17423 builtin and then its argument prototype would still apply. */
17427 #ifdef F77_DUMMY_MAIN
17428 # ifdef __cplusplus
17431 int F77_DUMMY_MAIN() { return 1; }
17436 /* The GNU C library defines this for functions which it implements
17437 to always fail with ENOSYS. Some functions are actually named
17438 something starting with __ and the normal name is an alias. */
17439 #if defined (__stub_iruserok) || defined (__stub___iruserok)
17449 rm -f conftest.$ac_objext conftest$ac_exeext
17450 if { (eval echo "$as_me:17450: \"$ac_link\"") >&5
17451 (eval $ac_link) 2>&5
17453 echo "$as_me:17453: \$? = $ac_status" >&5
17454 (exit $ac_status); } &&
17455 { ac_try='test -s conftest$ac_exeext'
17456 { (eval echo "$as_me:17456: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17459 echo "$as_me:17459: \$? = $ac_status" >&5
17460 (exit $ac_status); }; }; then
17461 ac_cv_func_iruserok=yes
17463 echo "$as_me: failed program was:" >&5
17464 cat conftest.$ac_ext >&5
17465 ac_cv_func_iruserok=no
17467 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17469 echo "$as_me:17469: result: $ac_cv_func_iruserok" >&5
17470 echo "${ECHO_T}$ac_cv_func_iruserok" >&6
17471 if test $ac_cv_func_iruserok = yes; then
17473 cat >>confdefs.h <<_ACEOF
17474 #define HAVE_IRUSEROK 1
17478 LIBOBJS="$LIBOBJS iruserok.$ac_objext"
17480 echo "$as_me:17480: checking for localtime_r" >&5
17481 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
17482 if test "${ac_cv_func_localtime_r+set}" = set; then
17483 echo $ECHO_N "(cached) $ECHO_C" >&6
17485 cat >conftest.$ac_ext <<_ACEOF
17486 #line 17486 "configure"
17487 #include "confdefs.h"
17488 /* System header to define __stub macros and hopefully few prototypes,
17489 which can conflict with char localtime_r (); below. */
17490 #include <assert.h>
17491 /* Override any gcc2 internal prototype to avoid an error. */
17495 /* We use char because int might match the return type of a gcc2
17496 builtin and then its argument prototype would still apply. */
17497 char localtime_r ();
17500 #ifdef F77_DUMMY_MAIN
17501 # ifdef __cplusplus
17504 int F77_DUMMY_MAIN() { return 1; }
17509 /* The GNU C library defines this for functions which it implements
17510 to always fail with ENOSYS. Some functions are actually named
17511 something starting with __ and the normal name is an alias. */
17512 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
17522 rm -f conftest.$ac_objext conftest$ac_exeext
17523 if { (eval echo "$as_me:17523: \"$ac_link\"") >&5
17524 (eval $ac_link) 2>&5
17526 echo "$as_me:17526: \$? = $ac_status" >&5
17527 (exit $ac_status); } &&
17528 { ac_try='test -s conftest$ac_exeext'
17529 { (eval echo "$as_me:17529: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17532 echo "$as_me:17532: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17534 ac_cv_func_localtime_r=yes
17536 echo "$as_me: failed program was:" >&5
17537 cat conftest.$ac_ext >&5
17538 ac_cv_func_localtime_r=no
17540 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17542 echo "$as_me:17542: result: $ac_cv_func_localtime_r" >&5
17543 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
17544 if test $ac_cv_func_localtime_r = yes; then
17546 cat >>confdefs.h <<_ACEOF
17547 #define HAVE_LOCALTIME_R 1
17551 LIBOBJS="$LIBOBJS localtime_r.$ac_objext"
17553 echo "$as_me:17553: checking for lstat" >&5
17554 echo $ECHO_N "checking for lstat... $ECHO_C" >&6
17555 if test "${ac_cv_func_lstat+set}" = set; then
17556 echo $ECHO_N "(cached) $ECHO_C" >&6
17558 cat >conftest.$ac_ext <<_ACEOF
17559 #line 17559 "configure"
17560 #include "confdefs.h"
17561 /* System header to define __stub macros and hopefully few prototypes,
17562 which can conflict with char lstat (); below. */
17563 #include <assert.h>
17564 /* Override any gcc2 internal prototype to avoid an error. */
17568 /* We use char because int might match the return type of a gcc2
17569 builtin and then its argument prototype would still apply. */
17573 #ifdef F77_DUMMY_MAIN
17574 # ifdef __cplusplus
17577 int F77_DUMMY_MAIN() { return 1; }
17582 /* The GNU C library defines this for functions which it implements
17583 to always fail with ENOSYS. Some functions are actually named
17584 something starting with __ and the normal name is an alias. */
17585 #if defined (__stub_lstat) || defined (__stub___lstat)
17595 rm -f conftest.$ac_objext conftest$ac_exeext
17596 if { (eval echo "$as_me:17596: \"$ac_link\"") >&5
17597 (eval $ac_link) 2>&5
17599 echo "$as_me:17599: \$? = $ac_status" >&5
17600 (exit $ac_status); } &&
17601 { ac_try='test -s conftest$ac_exeext'
17602 { (eval echo "$as_me:17602: \"$ac_try\"") >&5
17603 (eval $ac_try) 2>&5
17605 echo "$as_me:17605: \$? = $ac_status" >&5
17606 (exit $ac_status); }; }; then
17607 ac_cv_func_lstat=yes
17609 echo "$as_me: failed program was:" >&5
17610 cat conftest.$ac_ext >&5
17611 ac_cv_func_lstat=no
17613 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17615 echo "$as_me:17615: result: $ac_cv_func_lstat" >&5
17616 echo "${ECHO_T}$ac_cv_func_lstat" >&6
17617 if test $ac_cv_func_lstat = yes; then
17619 cat >>confdefs.h <<_ACEOF
17620 #define HAVE_LSTAT 1
17624 LIBOBJS="$LIBOBJS lstat.$ac_objext"
17626 echo "$as_me:17626: checking for memmove" >&5
17627 echo $ECHO_N "checking for memmove... $ECHO_C" >&6
17628 if test "${ac_cv_func_memmove+set}" = set; then
17629 echo $ECHO_N "(cached) $ECHO_C" >&6
17631 cat >conftest.$ac_ext <<_ACEOF
17632 #line 17632 "configure"
17633 #include "confdefs.h"
17634 /* System header to define __stub macros and hopefully few prototypes,
17635 which can conflict with char memmove (); below. */
17636 #include <assert.h>
17637 /* Override any gcc2 internal prototype to avoid an error. */
17641 /* We use char because int might match the return type of a gcc2
17642 builtin and then its argument prototype would still apply. */
17646 #ifdef F77_DUMMY_MAIN
17647 # ifdef __cplusplus
17650 int F77_DUMMY_MAIN() { return 1; }
17655 /* The GNU C library defines this for functions which it implements
17656 to always fail with ENOSYS. Some functions are actually named
17657 something starting with __ and the normal name is an alias. */
17658 #if defined (__stub_memmove) || defined (__stub___memmove)
17668 rm -f conftest.$ac_objext conftest$ac_exeext
17669 if { (eval echo "$as_me:17669: \"$ac_link\"") >&5
17670 (eval $ac_link) 2>&5
17672 echo "$as_me:17672: \$? = $ac_status" >&5
17673 (exit $ac_status); } &&
17674 { ac_try='test -s conftest$ac_exeext'
17675 { (eval echo "$as_me:17675: \"$ac_try\"") >&5
17676 (eval $ac_try) 2>&5
17678 echo "$as_me:17678: \$? = $ac_status" >&5
17679 (exit $ac_status); }; }; then
17680 ac_cv_func_memmove=yes
17682 echo "$as_me: failed program was:" >&5
17683 cat conftest.$ac_ext >&5
17684 ac_cv_func_memmove=no
17686 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17688 echo "$as_me:17688: result: $ac_cv_func_memmove" >&5
17689 echo "${ECHO_T}$ac_cv_func_memmove" >&6
17690 if test $ac_cv_func_memmove = yes; then
17692 cat >>confdefs.h <<_ACEOF
17693 #define HAVE_MEMMOVE 1
17697 LIBOBJS="$LIBOBJS memmove.$ac_objext"
17699 echo "$as_me:17699: checking for mkstemp" >&5
17700 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
17701 if test "${ac_cv_func_mkstemp+set}" = set; then
17702 echo $ECHO_N "(cached) $ECHO_C" >&6
17704 cat >conftest.$ac_ext <<_ACEOF
17705 #line 17705 "configure"
17706 #include "confdefs.h"
17707 /* System header to define __stub macros and hopefully few prototypes,
17708 which can conflict with char mkstemp (); below. */
17709 #include <assert.h>
17710 /* Override any gcc2 internal prototype to avoid an error. */
17714 /* We use char because int might match the return type of a gcc2
17715 builtin and then its argument prototype would still apply. */
17719 #ifdef F77_DUMMY_MAIN
17720 # ifdef __cplusplus
17723 int F77_DUMMY_MAIN() { return 1; }
17728 /* The GNU C library defines this for functions which it implements
17729 to always fail with ENOSYS. Some functions are actually named
17730 something starting with __ and the normal name is an alias. */
17731 #if defined (__stub_mkstemp) || defined (__stub___mkstemp)
17741 rm -f conftest.$ac_objext conftest$ac_exeext
17742 if { (eval echo "$as_me:17742: \"$ac_link\"") >&5
17743 (eval $ac_link) 2>&5
17745 echo "$as_me:17745: \$? = $ac_status" >&5
17746 (exit $ac_status); } &&
17747 { ac_try='test -s conftest$ac_exeext'
17748 { (eval echo "$as_me:17748: \"$ac_try\"") >&5
17749 (eval $ac_try) 2>&5
17751 echo "$as_me:17751: \$? = $ac_status" >&5
17752 (exit $ac_status); }; }; then
17753 ac_cv_func_mkstemp=yes
17755 echo "$as_me: failed program was:" >&5
17756 cat conftest.$ac_ext >&5
17757 ac_cv_func_mkstemp=no
17759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17761 echo "$as_me:17761: result: $ac_cv_func_mkstemp" >&5
17762 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
17763 if test $ac_cv_func_mkstemp = yes; then
17765 cat >>confdefs.h <<_ACEOF
17766 #define HAVE_MKSTEMP 1
17770 LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
17772 echo "$as_me:17772: checking for putenv" >&5
17773 echo $ECHO_N "checking for putenv... $ECHO_C" >&6
17774 if test "${ac_cv_func_putenv+set}" = set; then
17775 echo $ECHO_N "(cached) $ECHO_C" >&6
17777 cat >conftest.$ac_ext <<_ACEOF
17778 #line 17778 "configure"
17779 #include "confdefs.h"
17780 /* System header to define __stub macros and hopefully few prototypes,
17781 which can conflict with char putenv (); below. */
17782 #include <assert.h>
17783 /* Override any gcc2 internal prototype to avoid an error. */
17787 /* We use char because int might match the return type of a gcc2
17788 builtin and then its argument prototype would still apply. */
17792 #ifdef F77_DUMMY_MAIN
17793 # ifdef __cplusplus
17796 int F77_DUMMY_MAIN() { return 1; }
17801 /* The GNU C library defines this for functions which it implements
17802 to always fail with ENOSYS. Some functions are actually named
17803 something starting with __ and the normal name is an alias. */
17804 #if defined (__stub_putenv) || defined (__stub___putenv)
17814 rm -f conftest.$ac_objext conftest$ac_exeext
17815 if { (eval echo "$as_me:17815: \"$ac_link\"") >&5
17816 (eval $ac_link) 2>&5
17818 echo "$as_me:17818: \$? = $ac_status" >&5
17819 (exit $ac_status); } &&
17820 { ac_try='test -s conftest$ac_exeext'
17821 { (eval echo "$as_me:17821: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17824 echo "$as_me:17824: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17826 ac_cv_func_putenv=yes
17828 echo "$as_me: failed program was:" >&5
17829 cat conftest.$ac_ext >&5
17830 ac_cv_func_putenv=no
17832 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17834 echo "$as_me:17834: result: $ac_cv_func_putenv" >&5
17835 echo "${ECHO_T}$ac_cv_func_putenv" >&6
17836 if test $ac_cv_func_putenv = yes; then
17838 cat >>confdefs.h <<_ACEOF
17839 #define HAVE_PUTENV 1
17843 LIBOBJS="$LIBOBJS putenv.$ac_objext"
17845 echo "$as_me:17845: checking for rcmd" >&5
17846 echo $ECHO_N "checking for rcmd... $ECHO_C" >&6
17847 if test "${ac_cv_func_rcmd+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 cat >conftest.$ac_ext <<_ACEOF
17851 #line 17851 "configure"
17852 #include "confdefs.h"
17853 /* System header to define __stub macros and hopefully few prototypes,
17854 which can conflict with char rcmd (); below. */
17855 #include <assert.h>
17856 /* Override any gcc2 internal prototype to avoid an error. */
17860 /* We use char because int might match the return type of a gcc2
17861 builtin and then its argument prototype would still apply. */
17865 #ifdef F77_DUMMY_MAIN
17866 # ifdef __cplusplus
17869 int F77_DUMMY_MAIN() { return 1; }
17874 /* The GNU C library defines this for functions which it implements
17875 to always fail with ENOSYS. Some functions are actually named
17876 something starting with __ and the normal name is an alias. */
17877 #if defined (__stub_rcmd) || defined (__stub___rcmd)
17887 rm -f conftest.$ac_objext conftest$ac_exeext
17888 if { (eval echo "$as_me:17888: \"$ac_link\"") >&5
17889 (eval $ac_link) 2>&5
17891 echo "$as_me:17891: \$? = $ac_status" >&5
17892 (exit $ac_status); } &&
17893 { ac_try='test -s conftest$ac_exeext'
17894 { (eval echo "$as_me:17894: \"$ac_try\"") >&5
17895 (eval $ac_try) 2>&5
17897 echo "$as_me:17897: \$? = $ac_status" >&5
17898 (exit $ac_status); }; }; then
17899 ac_cv_func_rcmd=yes
17901 echo "$as_me: failed program was:" >&5
17902 cat conftest.$ac_ext >&5
17905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17907 echo "$as_me:17907: result: $ac_cv_func_rcmd" >&5
17908 echo "${ECHO_T}$ac_cv_func_rcmd" >&6
17909 if test $ac_cv_func_rcmd = yes; then
17911 cat >>confdefs.h <<_ACEOF
17912 #define HAVE_RCMD 1
17916 LIBOBJS="$LIBOBJS rcmd.$ac_objext"
17918 echo "$as_me:17918: checking for readv" >&5
17919 echo $ECHO_N "checking for readv... $ECHO_C" >&6
17920 if test "${ac_cv_func_readv+set}" = set; then
17921 echo $ECHO_N "(cached) $ECHO_C" >&6
17923 cat >conftest.$ac_ext <<_ACEOF
17924 #line 17924 "configure"
17925 #include "confdefs.h"
17926 /* System header to define __stub macros and hopefully few prototypes,
17927 which can conflict with char readv (); below. */
17928 #include <assert.h>
17929 /* Override any gcc2 internal prototype to avoid an error. */
17933 /* We use char because int might match the return type of a gcc2
17934 builtin and then its argument prototype would still apply. */
17938 #ifdef F77_DUMMY_MAIN
17939 # ifdef __cplusplus
17942 int F77_DUMMY_MAIN() { return 1; }
17947 /* The GNU C library defines this for functions which it implements
17948 to always fail with ENOSYS. Some functions are actually named
17949 something starting with __ and the normal name is an alias. */
17950 #if defined (__stub_readv) || defined (__stub___readv)
17960 rm -f conftest.$ac_objext conftest$ac_exeext
17961 if { (eval echo "$as_me:17961: \"$ac_link\"") >&5
17962 (eval $ac_link) 2>&5
17964 echo "$as_me:17964: \$? = $ac_status" >&5
17965 (exit $ac_status); } &&
17966 { ac_try='test -s conftest$ac_exeext'
17967 { (eval echo "$as_me:17967: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17970 echo "$as_me:17970: \$? = $ac_status" >&5
17971 (exit $ac_status); }; }; then
17972 ac_cv_func_readv=yes
17974 echo "$as_me: failed program was:" >&5
17975 cat conftest.$ac_ext >&5
17976 ac_cv_func_readv=no
17978 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17980 echo "$as_me:17980: result: $ac_cv_func_readv" >&5
17981 echo "${ECHO_T}$ac_cv_func_readv" >&6
17982 if test $ac_cv_func_readv = yes; then
17984 cat >>confdefs.h <<_ACEOF
17985 #define HAVE_READV 1
17989 LIBOBJS="$LIBOBJS readv.$ac_objext"
17991 echo "$as_me:17991: checking for recvmsg" >&5
17992 echo $ECHO_N "checking for recvmsg... $ECHO_C" >&6
17993 if test "${ac_cv_func_recvmsg+set}" = set; then
17994 echo $ECHO_N "(cached) $ECHO_C" >&6
17996 cat >conftest.$ac_ext <<_ACEOF
17997 #line 17997 "configure"
17998 #include "confdefs.h"
17999 /* System header to define __stub macros and hopefully few prototypes,
18000 which can conflict with char recvmsg (); below. */
18001 #include <assert.h>
18002 /* Override any gcc2 internal prototype to avoid an error. */
18006 /* We use char because int might match the return type of a gcc2
18007 builtin and then its argument prototype would still apply. */
18011 #ifdef F77_DUMMY_MAIN
18012 # ifdef __cplusplus
18015 int F77_DUMMY_MAIN() { return 1; }
18020 /* The GNU C library defines this for functions which it implements
18021 to always fail with ENOSYS. Some functions are actually named
18022 something starting with __ and the normal name is an alias. */
18023 #if defined (__stub_recvmsg) || defined (__stub___recvmsg)
18033 rm -f conftest.$ac_objext conftest$ac_exeext
18034 if { (eval echo "$as_me:18034: \"$ac_link\"") >&5
18035 (eval $ac_link) 2>&5
18037 echo "$as_me:18037: \$? = $ac_status" >&5
18038 (exit $ac_status); } &&
18039 { ac_try='test -s conftest$ac_exeext'
18040 { (eval echo "$as_me:18040: \"$ac_try\"") >&5
18041 (eval $ac_try) 2>&5
18043 echo "$as_me:18043: \$? = $ac_status" >&5
18044 (exit $ac_status); }; }; then
18045 ac_cv_func_recvmsg=yes
18047 echo "$as_me: failed program was:" >&5
18048 cat conftest.$ac_ext >&5
18049 ac_cv_func_recvmsg=no
18051 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18053 echo "$as_me:18053: result: $ac_cv_func_recvmsg" >&5
18054 echo "${ECHO_T}$ac_cv_func_recvmsg" >&6
18055 if test $ac_cv_func_recvmsg = yes; then
18057 cat >>confdefs.h <<_ACEOF
18058 #define HAVE_RECVMSG 1
18062 LIBOBJS="$LIBOBJS recvmsg.$ac_objext"
18064 echo "$as_me:18064: checking for sendmsg" >&5
18065 echo $ECHO_N "checking for sendmsg... $ECHO_C" >&6
18066 if test "${ac_cv_func_sendmsg+set}" = set; then
18067 echo $ECHO_N "(cached) $ECHO_C" >&6
18069 cat >conftest.$ac_ext <<_ACEOF
18070 #line 18070 "configure"
18071 #include "confdefs.h"
18072 /* System header to define __stub macros and hopefully few prototypes,
18073 which can conflict with char sendmsg (); below. */
18074 #include <assert.h>
18075 /* Override any gcc2 internal prototype to avoid an error. */
18079 /* We use char because int might match the return type of a gcc2
18080 builtin and then its argument prototype would still apply. */
18084 #ifdef F77_DUMMY_MAIN
18085 # ifdef __cplusplus
18088 int F77_DUMMY_MAIN() { return 1; }
18093 /* The GNU C library defines this for functions which it implements
18094 to always fail with ENOSYS. Some functions are actually named
18095 something starting with __ and the normal name is an alias. */
18096 #if defined (__stub_sendmsg) || defined (__stub___sendmsg)
18106 rm -f conftest.$ac_objext conftest$ac_exeext
18107 if { (eval echo "$as_me:18107: \"$ac_link\"") >&5
18108 (eval $ac_link) 2>&5
18110 echo "$as_me:18110: \$? = $ac_status" >&5
18111 (exit $ac_status); } &&
18112 { ac_try='test -s conftest$ac_exeext'
18113 { (eval echo "$as_me:18113: \"$ac_try\"") >&5
18114 (eval $ac_try) 2>&5
18116 echo "$as_me:18116: \$? = $ac_status" >&5
18117 (exit $ac_status); }; }; then
18118 ac_cv_func_sendmsg=yes
18120 echo "$as_me: failed program was:" >&5
18121 cat conftest.$ac_ext >&5
18122 ac_cv_func_sendmsg=no
18124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18126 echo "$as_me:18126: result: $ac_cv_func_sendmsg" >&5
18127 echo "${ECHO_T}$ac_cv_func_sendmsg" >&6
18128 if test $ac_cv_func_sendmsg = yes; then
18130 cat >>confdefs.h <<_ACEOF
18131 #define HAVE_SENDMSG 1
18135 LIBOBJS="$LIBOBJS sendmsg.$ac_objext"
18137 echo "$as_me:18137: checking for setegid" >&5
18138 echo $ECHO_N "checking for setegid... $ECHO_C" >&6
18139 if test "${ac_cv_func_setegid+set}" = set; then
18140 echo $ECHO_N "(cached) $ECHO_C" >&6
18142 cat >conftest.$ac_ext <<_ACEOF
18143 #line 18143 "configure"
18144 #include "confdefs.h"
18145 /* System header to define __stub macros and hopefully few prototypes,
18146 which can conflict with char setegid (); below. */
18147 #include <assert.h>
18148 /* Override any gcc2 internal prototype to avoid an error. */
18152 /* We use char because int might match the return type of a gcc2
18153 builtin and then its argument prototype would still apply. */
18157 #ifdef F77_DUMMY_MAIN
18158 # ifdef __cplusplus
18161 int F77_DUMMY_MAIN() { return 1; }
18166 /* The GNU C library defines this for functions which it implements
18167 to always fail with ENOSYS. Some functions are actually named
18168 something starting with __ and the normal name is an alias. */
18169 #if defined (__stub_setegid) || defined (__stub___setegid)
18179 rm -f conftest.$ac_objext conftest$ac_exeext
18180 if { (eval echo "$as_me:18180: \"$ac_link\"") >&5
18181 (eval $ac_link) 2>&5
18183 echo "$as_me:18183: \$? = $ac_status" >&5
18184 (exit $ac_status); } &&
18185 { ac_try='test -s conftest$ac_exeext'
18186 { (eval echo "$as_me:18186: \"$ac_try\"") >&5
18187 (eval $ac_try) 2>&5
18189 echo "$as_me:18189: \$? = $ac_status" >&5
18190 (exit $ac_status); }; }; then
18191 ac_cv_func_setegid=yes
18193 echo "$as_me: failed program was:" >&5
18194 cat conftest.$ac_ext >&5
18195 ac_cv_func_setegid=no
18197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18199 echo "$as_me:18199: result: $ac_cv_func_setegid" >&5
18200 echo "${ECHO_T}$ac_cv_func_setegid" >&6
18201 if test $ac_cv_func_setegid = yes; then
18203 cat >>confdefs.h <<_ACEOF
18204 #define HAVE_SETEGID 1
18208 LIBOBJS="$LIBOBJS setegid.$ac_objext"
18210 echo "$as_me:18210: checking for setenv" >&5
18211 echo $ECHO_N "checking for setenv... $ECHO_C" >&6
18212 if test "${ac_cv_func_setenv+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6
18215 cat >conftest.$ac_ext <<_ACEOF
18216 #line 18216 "configure"
18217 #include "confdefs.h"
18218 /* System header to define __stub macros and hopefully few prototypes,
18219 which can conflict with char setenv (); below. */
18220 #include <assert.h>
18221 /* Override any gcc2 internal prototype to avoid an error. */
18225 /* We use char because int might match the return type of a gcc2
18226 builtin and then its argument prototype would still apply. */
18230 #ifdef F77_DUMMY_MAIN
18231 # ifdef __cplusplus
18234 int F77_DUMMY_MAIN() { return 1; }
18239 /* The GNU C library defines this for functions which it implements
18240 to always fail with ENOSYS. Some functions are actually named
18241 something starting with __ and the normal name is an alias. */
18242 #if defined (__stub_setenv) || defined (__stub___setenv)
18252 rm -f conftest.$ac_objext conftest$ac_exeext
18253 if { (eval echo "$as_me:18253: \"$ac_link\"") >&5
18254 (eval $ac_link) 2>&5
18256 echo "$as_me:18256: \$? = $ac_status" >&5
18257 (exit $ac_status); } &&
18258 { ac_try='test -s conftest$ac_exeext'
18259 { (eval echo "$as_me:18259: \"$ac_try\"") >&5
18260 (eval $ac_try) 2>&5
18262 echo "$as_me:18262: \$? = $ac_status" >&5
18263 (exit $ac_status); }; }; then
18264 ac_cv_func_setenv=yes
18266 echo "$as_me: failed program was:" >&5
18267 cat conftest.$ac_ext >&5
18268 ac_cv_func_setenv=no
18270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18272 echo "$as_me:18272: result: $ac_cv_func_setenv" >&5
18273 echo "${ECHO_T}$ac_cv_func_setenv" >&6
18274 if test $ac_cv_func_setenv = yes; then
18276 cat >>confdefs.h <<_ACEOF
18277 #define HAVE_SETENV 1
18281 LIBOBJS="$LIBOBJS setenv.$ac_objext"
18283 echo "$as_me:18283: checking for seteuid" >&5
18284 echo $ECHO_N "checking for seteuid... $ECHO_C" >&6
18285 if test "${ac_cv_func_seteuid+set}" = set; then
18286 echo $ECHO_N "(cached) $ECHO_C" >&6
18288 cat >conftest.$ac_ext <<_ACEOF
18289 #line 18289 "configure"
18290 #include "confdefs.h"
18291 /* System header to define __stub macros and hopefully few prototypes,
18292 which can conflict with char seteuid (); below. */
18293 #include <assert.h>
18294 /* Override any gcc2 internal prototype to avoid an error. */
18298 /* We use char because int might match the return type of a gcc2
18299 builtin and then its argument prototype would still apply. */
18303 #ifdef F77_DUMMY_MAIN
18304 # ifdef __cplusplus
18307 int F77_DUMMY_MAIN() { return 1; }
18312 /* The GNU C library defines this for functions which it implements
18313 to always fail with ENOSYS. Some functions are actually named
18314 something starting with __ and the normal name is an alias. */
18315 #if defined (__stub_seteuid) || defined (__stub___seteuid)
18325 rm -f conftest.$ac_objext conftest$ac_exeext
18326 if { (eval echo "$as_me:18326: \"$ac_link\"") >&5
18327 (eval $ac_link) 2>&5
18329 echo "$as_me:18329: \$? = $ac_status" >&5
18330 (exit $ac_status); } &&
18331 { ac_try='test -s conftest$ac_exeext'
18332 { (eval echo "$as_me:18332: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18335 echo "$as_me:18335: \$? = $ac_status" >&5
18336 (exit $ac_status); }; }; then
18337 ac_cv_func_seteuid=yes
18339 echo "$as_me: failed program was:" >&5
18340 cat conftest.$ac_ext >&5
18341 ac_cv_func_seteuid=no
18343 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18345 echo "$as_me:18345: result: $ac_cv_func_seteuid" >&5
18346 echo "${ECHO_T}$ac_cv_func_seteuid" >&6
18347 if test $ac_cv_func_seteuid = yes; then
18349 cat >>confdefs.h <<_ACEOF
18350 #define HAVE_SETEUID 1
18354 LIBOBJS="$LIBOBJS seteuid.$ac_objext"
18356 echo "$as_me:18356: checking for strcasecmp" >&5
18357 echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
18358 if test "${ac_cv_func_strcasecmp+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 cat >conftest.$ac_ext <<_ACEOF
18362 #line 18362 "configure"
18363 #include "confdefs.h"
18364 /* System header to define __stub macros and hopefully few prototypes,
18365 which can conflict with char strcasecmp (); below. */
18366 #include <assert.h>
18367 /* Override any gcc2 internal prototype to avoid an error. */
18371 /* We use char because int might match the return type of a gcc2
18372 builtin and then its argument prototype would still apply. */
18373 char strcasecmp ();
18376 #ifdef F77_DUMMY_MAIN
18377 # ifdef __cplusplus
18380 int F77_DUMMY_MAIN() { return 1; }
18385 /* The GNU C library defines this for functions which it implements
18386 to always fail with ENOSYS. Some functions are actually named
18387 something starting with __ and the normal name is an alias. */
18388 #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
18398 rm -f conftest.$ac_objext conftest$ac_exeext
18399 if { (eval echo "$as_me:18399: \"$ac_link\"") >&5
18400 (eval $ac_link) 2>&5
18402 echo "$as_me:18402: \$? = $ac_status" >&5
18403 (exit $ac_status); } &&
18404 { ac_try='test -s conftest$ac_exeext'
18405 { (eval echo "$as_me:18405: \"$ac_try\"") >&5
18406 (eval $ac_try) 2>&5
18408 echo "$as_me:18408: \$? = $ac_status" >&5
18409 (exit $ac_status); }; }; then
18410 ac_cv_func_strcasecmp=yes
18412 echo "$as_me: failed program was:" >&5
18413 cat conftest.$ac_ext >&5
18414 ac_cv_func_strcasecmp=no
18416 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18418 echo "$as_me:18418: result: $ac_cv_func_strcasecmp" >&5
18419 echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
18420 if test $ac_cv_func_strcasecmp = yes; then
18422 cat >>confdefs.h <<_ACEOF
18423 #define HAVE_STRCASECMP 1
18427 LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
18429 echo "$as_me:18429: checking for strdup" >&5
18430 echo $ECHO_N "checking for strdup... $ECHO_C" >&6
18431 if test "${ac_cv_func_strdup+set}" = set; then
18432 echo $ECHO_N "(cached) $ECHO_C" >&6
18434 cat >conftest.$ac_ext <<_ACEOF
18435 #line 18435 "configure"
18436 #include "confdefs.h"
18437 /* System header to define __stub macros and hopefully few prototypes,
18438 which can conflict with char strdup (); below. */
18439 #include <assert.h>
18440 /* Override any gcc2 internal prototype to avoid an error. */
18444 /* We use char because int might match the return type of a gcc2
18445 builtin and then its argument prototype would still apply. */
18449 #ifdef F77_DUMMY_MAIN
18450 # ifdef __cplusplus
18453 int F77_DUMMY_MAIN() { return 1; }
18458 /* The GNU C library defines this for functions which it implements
18459 to always fail with ENOSYS. Some functions are actually named
18460 something starting with __ and the normal name is an alias. */
18461 #if defined (__stub_strdup) || defined (__stub___strdup)
18471 rm -f conftest.$ac_objext conftest$ac_exeext
18472 if { (eval echo "$as_me:18472: \"$ac_link\"") >&5
18473 (eval $ac_link) 2>&5
18475 echo "$as_me:18475: \$? = $ac_status" >&5
18476 (exit $ac_status); } &&
18477 { ac_try='test -s conftest$ac_exeext'
18478 { (eval echo "$as_me:18478: \"$ac_try\"") >&5
18479 (eval $ac_try) 2>&5
18481 echo "$as_me:18481: \$? = $ac_status" >&5
18482 (exit $ac_status); }; }; then
18483 ac_cv_func_strdup=yes
18485 echo "$as_me: failed program was:" >&5
18486 cat conftest.$ac_ext >&5
18487 ac_cv_func_strdup=no
18489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18491 echo "$as_me:18491: result: $ac_cv_func_strdup" >&5
18492 echo "${ECHO_T}$ac_cv_func_strdup" >&6
18493 if test $ac_cv_func_strdup = yes; then
18495 cat >>confdefs.h <<_ACEOF
18496 #define HAVE_STRDUP 1
18500 LIBOBJS="$LIBOBJS strdup.$ac_objext"
18502 echo "$as_me:18502: checking for strerror" >&5
18503 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
18504 if test "${ac_cv_func_strerror+set}" = set; then
18505 echo $ECHO_N "(cached) $ECHO_C" >&6
18507 cat >conftest.$ac_ext <<_ACEOF
18508 #line 18508 "configure"
18509 #include "confdefs.h"
18510 /* System header to define __stub macros and hopefully few prototypes,
18511 which can conflict with char strerror (); below. */
18512 #include <assert.h>
18513 /* Override any gcc2 internal prototype to avoid an error. */
18517 /* We use char because int might match the return type of a gcc2
18518 builtin and then its argument prototype would still apply. */
18522 #ifdef F77_DUMMY_MAIN
18523 # ifdef __cplusplus
18526 int F77_DUMMY_MAIN() { return 1; }
18531 /* The GNU C library defines this for functions which it implements
18532 to always fail with ENOSYS. Some functions are actually named
18533 something starting with __ and the normal name is an alias. */
18534 #if defined (__stub_strerror) || defined (__stub___strerror)
18544 rm -f conftest.$ac_objext conftest$ac_exeext
18545 if { (eval echo "$as_me:18545: \"$ac_link\"") >&5
18546 (eval $ac_link) 2>&5
18548 echo "$as_me:18548: \$? = $ac_status" >&5
18549 (exit $ac_status); } &&
18550 { ac_try='test -s conftest$ac_exeext'
18551 { (eval echo "$as_me:18551: \"$ac_try\"") >&5
18552 (eval $ac_try) 2>&5
18554 echo "$as_me:18554: \$? = $ac_status" >&5
18555 (exit $ac_status); }; }; then
18556 ac_cv_func_strerror=yes
18558 echo "$as_me: failed program was:" >&5
18559 cat conftest.$ac_ext >&5
18560 ac_cv_func_strerror=no
18562 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18564 echo "$as_me:18564: result: $ac_cv_func_strerror" >&5
18565 echo "${ECHO_T}$ac_cv_func_strerror" >&6
18566 if test $ac_cv_func_strerror = yes; then
18568 cat >>confdefs.h <<_ACEOF
18569 #define HAVE_STRERROR 1
18573 LIBOBJS="$LIBOBJS strerror.$ac_objext"
18575 echo "$as_me:18575: checking for strftime" >&5
18576 echo $ECHO_N "checking for strftime... $ECHO_C" >&6
18577 if test "${ac_cv_func_strftime+set}" = set; then
18578 echo $ECHO_N "(cached) $ECHO_C" >&6
18580 cat >conftest.$ac_ext <<_ACEOF
18581 #line 18581 "configure"
18582 #include "confdefs.h"
18583 /* System header to define __stub macros and hopefully few prototypes,
18584 which can conflict with char strftime (); below. */
18585 #include <assert.h>
18586 /* Override any gcc2 internal prototype to avoid an error. */
18590 /* We use char because int might match the return type of a gcc2
18591 builtin and then its argument prototype would still apply. */
18595 #ifdef F77_DUMMY_MAIN
18596 # ifdef __cplusplus
18599 int F77_DUMMY_MAIN() { return 1; }
18604 /* The GNU C library defines this for functions which it implements
18605 to always fail with ENOSYS. Some functions are actually named
18606 something starting with __ and the normal name is an alias. */
18607 #if defined (__stub_strftime) || defined (__stub___strftime)
18617 rm -f conftest.$ac_objext conftest$ac_exeext
18618 if { (eval echo "$as_me:18618: \"$ac_link\"") >&5
18619 (eval $ac_link) 2>&5
18621 echo "$as_me:18621: \$? = $ac_status" >&5
18622 (exit $ac_status); } &&
18623 { ac_try='test -s conftest$ac_exeext'
18624 { (eval echo "$as_me:18624: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18627 echo "$as_me:18627: \$? = $ac_status" >&5
18628 (exit $ac_status); }; }; then
18629 ac_cv_func_strftime=yes
18631 echo "$as_me: failed program was:" >&5
18632 cat conftest.$ac_ext >&5
18633 ac_cv_func_strftime=no
18635 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18637 echo "$as_me:18637: result: $ac_cv_func_strftime" >&5
18638 echo "${ECHO_T}$ac_cv_func_strftime" >&6
18639 if test $ac_cv_func_strftime = yes; then
18641 cat >>confdefs.h <<_ACEOF
18642 #define HAVE_STRFTIME 1
18646 LIBOBJS="$LIBOBJS strftime.$ac_objext"
18648 echo "$as_me:18648: checking for strlcat" >&5
18649 echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
18650 if test "${ac_cv_func_strlcat+set}" = set; then
18651 echo $ECHO_N "(cached) $ECHO_C" >&6
18653 cat >conftest.$ac_ext <<_ACEOF
18654 #line 18654 "configure"
18655 #include "confdefs.h"
18656 /* System header to define __stub macros and hopefully few prototypes,
18657 which can conflict with char strlcat (); below. */
18658 #include <assert.h>
18659 /* Override any gcc2 internal prototype to avoid an error. */
18663 /* We use char because int might match the return type of a gcc2
18664 builtin and then its argument prototype would still apply. */
18668 #ifdef F77_DUMMY_MAIN
18669 # ifdef __cplusplus
18672 int F77_DUMMY_MAIN() { return 1; }
18677 /* The GNU C library defines this for functions which it implements
18678 to always fail with ENOSYS. Some functions are actually named
18679 something starting with __ and the normal name is an alias. */
18680 #if defined (__stub_strlcat) || defined (__stub___strlcat)
18690 rm -f conftest.$ac_objext conftest$ac_exeext
18691 if { (eval echo "$as_me:18691: \"$ac_link\"") >&5
18692 (eval $ac_link) 2>&5
18694 echo "$as_me:18694: \$? = $ac_status" >&5
18695 (exit $ac_status); } &&
18696 { ac_try='test -s conftest$ac_exeext'
18697 { (eval echo "$as_me:18697: \"$ac_try\"") >&5
18698 (eval $ac_try) 2>&5
18700 echo "$as_me:18700: \$? = $ac_status" >&5
18701 (exit $ac_status); }; }; then
18702 ac_cv_func_strlcat=yes
18704 echo "$as_me: failed program was:" >&5
18705 cat conftest.$ac_ext >&5
18706 ac_cv_func_strlcat=no
18708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18710 echo "$as_me:18710: result: $ac_cv_func_strlcat" >&5
18711 echo "${ECHO_T}$ac_cv_func_strlcat" >&6
18712 if test $ac_cv_func_strlcat = yes; then
18714 cat >>confdefs.h <<_ACEOF
18715 #define HAVE_STRLCAT 1
18719 LIBOBJS="$LIBOBJS strlcat.$ac_objext"
18721 echo "$as_me:18721: checking for strlcpy" >&5
18722 echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
18723 if test "${ac_cv_func_strlcpy+set}" = set; then
18724 echo $ECHO_N "(cached) $ECHO_C" >&6
18726 cat >conftest.$ac_ext <<_ACEOF
18727 #line 18727 "configure"
18728 #include "confdefs.h"
18729 /* System header to define __stub macros and hopefully few prototypes,
18730 which can conflict with char strlcpy (); below. */
18731 #include <assert.h>
18732 /* Override any gcc2 internal prototype to avoid an error. */
18736 /* We use char because int might match the return type of a gcc2
18737 builtin and then its argument prototype would still apply. */
18741 #ifdef F77_DUMMY_MAIN
18742 # ifdef __cplusplus
18745 int F77_DUMMY_MAIN() { return 1; }
18750 /* The GNU C library defines this for functions which it implements
18751 to always fail with ENOSYS. Some functions are actually named
18752 something starting with __ and the normal name is an alias. */
18753 #if defined (__stub_strlcpy) || defined (__stub___strlcpy)
18763 rm -f conftest.$ac_objext conftest$ac_exeext
18764 if { (eval echo "$as_me:18764: \"$ac_link\"") >&5
18765 (eval $ac_link) 2>&5
18767 echo "$as_me:18767: \$? = $ac_status" >&5
18768 (exit $ac_status); } &&
18769 { ac_try='test -s conftest$ac_exeext'
18770 { (eval echo "$as_me:18770: \"$ac_try\"") >&5
18771 (eval $ac_try) 2>&5
18773 echo "$as_me:18773: \$? = $ac_status" >&5
18774 (exit $ac_status); }; }; then
18775 ac_cv_func_strlcpy=yes
18777 echo "$as_me: failed program was:" >&5
18778 cat conftest.$ac_ext >&5
18779 ac_cv_func_strlcpy=no
18781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18783 echo "$as_me:18783: result: $ac_cv_func_strlcpy" >&5
18784 echo "${ECHO_T}$ac_cv_func_strlcpy" >&6
18785 if test $ac_cv_func_strlcpy = yes; then
18787 cat >>confdefs.h <<_ACEOF
18788 #define HAVE_STRLCPY 1
18792 LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
18794 echo "$as_me:18794: checking for strlwr" >&5
18795 echo $ECHO_N "checking for strlwr... $ECHO_C" >&6
18796 if test "${ac_cv_func_strlwr+set}" = set; then
18797 echo $ECHO_N "(cached) $ECHO_C" >&6
18799 cat >conftest.$ac_ext <<_ACEOF
18800 #line 18800 "configure"
18801 #include "confdefs.h"
18802 /* System header to define __stub macros and hopefully few prototypes,
18803 which can conflict with char strlwr (); below. */
18804 #include <assert.h>
18805 /* Override any gcc2 internal prototype to avoid an error. */
18809 /* We use char because int might match the return type of a gcc2
18810 builtin and then its argument prototype would still apply. */
18814 #ifdef F77_DUMMY_MAIN
18815 # ifdef __cplusplus
18818 int F77_DUMMY_MAIN() { return 1; }
18823 /* The GNU C library defines this for functions which it implements
18824 to always fail with ENOSYS. Some functions are actually named
18825 something starting with __ and the normal name is an alias. */
18826 #if defined (__stub_strlwr) || defined (__stub___strlwr)
18836 rm -f conftest.$ac_objext conftest$ac_exeext
18837 if { (eval echo "$as_me:18837: \"$ac_link\"") >&5
18838 (eval $ac_link) 2>&5
18840 echo "$as_me:18840: \$? = $ac_status" >&5
18841 (exit $ac_status); } &&
18842 { ac_try='test -s conftest$ac_exeext'
18843 { (eval echo "$as_me:18843: \"$ac_try\"") >&5
18844 (eval $ac_try) 2>&5
18846 echo "$as_me:18846: \$? = $ac_status" >&5
18847 (exit $ac_status); }; }; then
18848 ac_cv_func_strlwr=yes
18850 echo "$as_me: failed program was:" >&5
18851 cat conftest.$ac_ext >&5
18852 ac_cv_func_strlwr=no
18854 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18856 echo "$as_me:18856: result: $ac_cv_func_strlwr" >&5
18857 echo "${ECHO_T}$ac_cv_func_strlwr" >&6
18858 if test $ac_cv_func_strlwr = yes; then
18860 cat >>confdefs.h <<_ACEOF
18861 #define HAVE_STRLWR 1
18865 LIBOBJS="$LIBOBJS strlwr.$ac_objext"
18867 echo "$as_me:18867: checking for strncasecmp" >&5
18868 echo $ECHO_N "checking for strncasecmp... $ECHO_C" >&6
18869 if test "${ac_cv_func_strncasecmp+set}" = set; then
18870 echo $ECHO_N "(cached) $ECHO_C" >&6
18872 cat >conftest.$ac_ext <<_ACEOF
18873 #line 18873 "configure"
18874 #include "confdefs.h"
18875 /* System header to define __stub macros and hopefully few prototypes,
18876 which can conflict with char strncasecmp (); below. */
18877 #include <assert.h>
18878 /* Override any gcc2 internal prototype to avoid an error. */
18882 /* We use char because int might match the return type of a gcc2
18883 builtin and then its argument prototype would still apply. */
18884 char strncasecmp ();
18887 #ifdef F77_DUMMY_MAIN
18888 # ifdef __cplusplus
18891 int F77_DUMMY_MAIN() { return 1; }
18896 /* The GNU C library defines this for functions which it implements
18897 to always fail with ENOSYS. Some functions are actually named
18898 something starting with __ and the normal name is an alias. */
18899 #if defined (__stub_strncasecmp) || defined (__stub___strncasecmp)
18909 rm -f conftest.$ac_objext conftest$ac_exeext
18910 if { (eval echo "$as_me:18910: \"$ac_link\"") >&5
18911 (eval $ac_link) 2>&5
18913 echo "$as_me:18913: \$? = $ac_status" >&5
18914 (exit $ac_status); } &&
18915 { ac_try='test -s conftest$ac_exeext'
18916 { (eval echo "$as_me:18916: \"$ac_try\"") >&5
18917 (eval $ac_try) 2>&5
18919 echo "$as_me:18919: \$? = $ac_status" >&5
18920 (exit $ac_status); }; }; then
18921 ac_cv_func_strncasecmp=yes
18923 echo "$as_me: failed program was:" >&5
18924 cat conftest.$ac_ext >&5
18925 ac_cv_func_strncasecmp=no
18927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18929 echo "$as_me:18929: result: $ac_cv_func_strncasecmp" >&5
18930 echo "${ECHO_T}$ac_cv_func_strncasecmp" >&6
18931 if test $ac_cv_func_strncasecmp = yes; then
18933 cat >>confdefs.h <<_ACEOF
18934 #define HAVE_STRNCASECMP 1
18938 LIBOBJS="$LIBOBJS strncasecmp.$ac_objext"
18940 echo "$as_me:18940: checking for strndup" >&5
18941 echo $ECHO_N "checking for strndup... $ECHO_C" >&6
18942 if test "${ac_cv_func_strndup+set}" = set; then
18943 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 cat >conftest.$ac_ext <<_ACEOF
18946 #line 18946 "configure"
18947 #include "confdefs.h"
18948 /* System header to define __stub macros and hopefully few prototypes,
18949 which can conflict with char strndup (); below. */
18950 #include <assert.h>
18951 /* Override any gcc2 internal prototype to avoid an error. */
18955 /* We use char because int might match the return type of a gcc2
18956 builtin and then its argument prototype would still apply. */
18960 #ifdef F77_DUMMY_MAIN
18961 # ifdef __cplusplus
18964 int F77_DUMMY_MAIN() { return 1; }
18969 /* The GNU C library defines this for functions which it implements
18970 to always fail with ENOSYS. Some functions are actually named
18971 something starting with __ and the normal name is an alias. */
18972 #if defined (__stub_strndup) || defined (__stub___strndup)
18982 rm -f conftest.$ac_objext conftest$ac_exeext
18983 if { (eval echo "$as_me:18983: \"$ac_link\"") >&5
18984 (eval $ac_link) 2>&5
18986 echo "$as_me:18986: \$? = $ac_status" >&5
18987 (exit $ac_status); } &&
18988 { ac_try='test -s conftest$ac_exeext'
18989 { (eval echo "$as_me:18989: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18992 echo "$as_me:18992: \$? = $ac_status" >&5
18993 (exit $ac_status); }; }; then
18994 ac_cv_func_strndup=yes
18996 echo "$as_me: failed program was:" >&5
18997 cat conftest.$ac_ext >&5
18998 ac_cv_func_strndup=no
19000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19002 echo "$as_me:19002: result: $ac_cv_func_strndup" >&5
19003 echo "${ECHO_T}$ac_cv_func_strndup" >&6
19004 if test $ac_cv_func_strndup = yes; then
19006 cat >>confdefs.h <<_ACEOF
19007 #define HAVE_STRNDUP 1
19011 LIBOBJS="$LIBOBJS strndup.$ac_objext"
19013 echo "$as_me:19013: checking for strnlen" >&5
19014 echo $ECHO_N "checking for strnlen... $ECHO_C" >&6
19015 if test "${ac_cv_func_strnlen+set}" = set; then
19016 echo $ECHO_N "(cached) $ECHO_C" >&6
19018 cat >conftest.$ac_ext <<_ACEOF
19019 #line 19019 "configure"
19020 #include "confdefs.h"
19021 /* System header to define __stub macros and hopefully few prototypes,
19022 which can conflict with char strnlen (); below. */
19023 #include <assert.h>
19024 /* Override any gcc2 internal prototype to avoid an error. */
19028 /* We use char because int might match the return type of a gcc2
19029 builtin and then its argument prototype would still apply. */
19033 #ifdef F77_DUMMY_MAIN
19034 # ifdef __cplusplus
19037 int F77_DUMMY_MAIN() { return 1; }
19042 /* The GNU C library defines this for functions which it implements
19043 to always fail with ENOSYS. Some functions are actually named
19044 something starting with __ and the normal name is an alias. */
19045 #if defined (__stub_strnlen) || defined (__stub___strnlen)
19055 rm -f conftest.$ac_objext conftest$ac_exeext
19056 if { (eval echo "$as_me:19056: \"$ac_link\"") >&5
19057 (eval $ac_link) 2>&5
19059 echo "$as_me:19059: \$? = $ac_status" >&5
19060 (exit $ac_status); } &&
19061 { ac_try='test -s conftest$ac_exeext'
19062 { (eval echo "$as_me:19062: \"$ac_try\"") >&5
19063 (eval $ac_try) 2>&5
19065 echo "$as_me:19065: \$? = $ac_status" >&5
19066 (exit $ac_status); }; }; then
19067 ac_cv_func_strnlen=yes
19069 echo "$as_me: failed program was:" >&5
19070 cat conftest.$ac_ext >&5
19071 ac_cv_func_strnlen=no
19073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19075 echo "$as_me:19075: result: $ac_cv_func_strnlen" >&5
19076 echo "${ECHO_T}$ac_cv_func_strnlen" >&6
19077 if test $ac_cv_func_strnlen = yes; then
19079 cat >>confdefs.h <<_ACEOF
19080 #define HAVE_STRNLEN 1
19084 LIBOBJS="$LIBOBJS strnlen.$ac_objext"
19086 echo "$as_me:19086: checking for strptime" >&5
19087 echo $ECHO_N "checking for strptime... $ECHO_C" >&6
19088 if test "${ac_cv_func_strptime+set}" = set; then
19089 echo $ECHO_N "(cached) $ECHO_C" >&6
19091 cat >conftest.$ac_ext <<_ACEOF
19092 #line 19092 "configure"
19093 #include "confdefs.h"
19094 /* System header to define __stub macros and hopefully few prototypes,
19095 which can conflict with char strptime (); below. */
19096 #include <assert.h>
19097 /* Override any gcc2 internal prototype to avoid an error. */
19101 /* We use char because int might match the return type of a gcc2
19102 builtin and then its argument prototype would still apply. */
19106 #ifdef F77_DUMMY_MAIN
19107 # ifdef __cplusplus
19110 int F77_DUMMY_MAIN() { return 1; }
19115 /* The GNU C library defines this for functions which it implements
19116 to always fail with ENOSYS. Some functions are actually named
19117 something starting with __ and the normal name is an alias. */
19118 #if defined (__stub_strptime) || defined (__stub___strptime)
19128 rm -f conftest.$ac_objext conftest$ac_exeext
19129 if { (eval echo "$as_me:19129: \"$ac_link\"") >&5
19130 (eval $ac_link) 2>&5
19132 echo "$as_me:19132: \$? = $ac_status" >&5
19133 (exit $ac_status); } &&
19134 { ac_try='test -s conftest$ac_exeext'
19135 { (eval echo "$as_me:19135: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19138 echo "$as_me:19138: \$? = $ac_status" >&5
19139 (exit $ac_status); }; }; then
19140 ac_cv_func_strptime=yes
19142 echo "$as_me: failed program was:" >&5
19143 cat conftest.$ac_ext >&5
19144 ac_cv_func_strptime=no
19146 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19148 echo "$as_me:19148: result: $ac_cv_func_strptime" >&5
19149 echo "${ECHO_T}$ac_cv_func_strptime" >&6
19150 if test $ac_cv_func_strptime = yes; then
19152 cat >>confdefs.h <<_ACEOF
19153 #define HAVE_STRPTIME 1
19157 LIBOBJS="$LIBOBJS strptime.$ac_objext"
19159 echo "$as_me:19159: checking for strsep" >&5
19160 echo $ECHO_N "checking for strsep... $ECHO_C" >&6
19161 if test "${ac_cv_func_strsep+set}" = set; then
19162 echo $ECHO_N "(cached) $ECHO_C" >&6
19164 cat >conftest.$ac_ext <<_ACEOF
19165 #line 19165 "configure"
19166 #include "confdefs.h"
19167 /* System header to define __stub macros and hopefully few prototypes,
19168 which can conflict with char strsep (); below. */
19169 #include <assert.h>
19170 /* Override any gcc2 internal prototype to avoid an error. */
19174 /* We use char because int might match the return type of a gcc2
19175 builtin and then its argument prototype would still apply. */
19179 #ifdef F77_DUMMY_MAIN
19180 # ifdef __cplusplus
19183 int F77_DUMMY_MAIN() { return 1; }
19188 /* The GNU C library defines this for functions which it implements
19189 to always fail with ENOSYS. Some functions are actually named
19190 something starting with __ and the normal name is an alias. */
19191 #if defined (__stub_strsep) || defined (__stub___strsep)
19201 rm -f conftest.$ac_objext conftest$ac_exeext
19202 if { (eval echo "$as_me:19202: \"$ac_link\"") >&5
19203 (eval $ac_link) 2>&5
19205 echo "$as_me:19205: \$? = $ac_status" >&5
19206 (exit $ac_status); } &&
19207 { ac_try='test -s conftest$ac_exeext'
19208 { (eval echo "$as_me:19208: \"$ac_try\"") >&5
19209 (eval $ac_try) 2>&5
19211 echo "$as_me:19211: \$? = $ac_status" >&5
19212 (exit $ac_status); }; }; then
19213 ac_cv_func_strsep=yes
19215 echo "$as_me: failed program was:" >&5
19216 cat conftest.$ac_ext >&5
19217 ac_cv_func_strsep=no
19219 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19221 echo "$as_me:19221: result: $ac_cv_func_strsep" >&5
19222 echo "${ECHO_T}$ac_cv_func_strsep" >&6
19223 if test $ac_cv_func_strsep = yes; then
19225 cat >>confdefs.h <<_ACEOF
19226 #define HAVE_STRSEP 1
19230 LIBOBJS="$LIBOBJS strsep.$ac_objext"
19232 echo "$as_me:19232: checking for strsep_copy" >&5
19233 echo $ECHO_N "checking for strsep_copy... $ECHO_C" >&6
19234 if test "${ac_cv_func_strsep_copy+set}" = set; then
19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19237 cat >conftest.$ac_ext <<_ACEOF
19238 #line 19238 "configure"
19239 #include "confdefs.h"
19240 /* System header to define __stub macros and hopefully few prototypes,
19241 which can conflict with char strsep_copy (); below. */
19242 #include <assert.h>
19243 /* Override any gcc2 internal prototype to avoid an error. */
19247 /* We use char because int might match the return type of a gcc2
19248 builtin and then its argument prototype would still apply. */
19249 char strsep_copy ();
19252 #ifdef F77_DUMMY_MAIN
19253 # ifdef __cplusplus
19256 int F77_DUMMY_MAIN() { return 1; }
19261 /* The GNU C library defines this for functions which it implements
19262 to always fail with ENOSYS. Some functions are actually named
19263 something starting with __ and the normal name is an alias. */
19264 #if defined (__stub_strsep_copy) || defined (__stub___strsep_copy)
19274 rm -f conftest.$ac_objext conftest$ac_exeext
19275 if { (eval echo "$as_me:19275: \"$ac_link\"") >&5
19276 (eval $ac_link) 2>&5
19278 echo "$as_me:19278: \$? = $ac_status" >&5
19279 (exit $ac_status); } &&
19280 { ac_try='test -s conftest$ac_exeext'
19281 { (eval echo "$as_me:19281: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19284 echo "$as_me:19284: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 ac_cv_func_strsep_copy=yes
19288 echo "$as_me: failed program was:" >&5
19289 cat conftest.$ac_ext >&5
19290 ac_cv_func_strsep_copy=no
19292 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19294 echo "$as_me:19294: result: $ac_cv_func_strsep_copy" >&5
19295 echo "${ECHO_T}$ac_cv_func_strsep_copy" >&6
19296 if test $ac_cv_func_strsep_copy = yes; then
19298 cat >>confdefs.h <<_ACEOF
19299 #define HAVE_STRSEP_COPY 1
19303 LIBOBJS="$LIBOBJS strsep_copy.$ac_objext"
19305 echo "$as_me:19305: checking for strtok_r" >&5
19306 echo $ECHO_N "checking for strtok_r... $ECHO_C" >&6
19307 if test "${ac_cv_func_strtok_r+set}" = set; then
19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19310 cat >conftest.$ac_ext <<_ACEOF
19311 #line 19311 "configure"
19312 #include "confdefs.h"
19313 /* System header to define __stub macros and hopefully few prototypes,
19314 which can conflict with char strtok_r (); below. */
19315 #include <assert.h>
19316 /* Override any gcc2 internal prototype to avoid an error. */
19320 /* We use char because int might match the return type of a gcc2
19321 builtin and then its argument prototype would still apply. */
19325 #ifdef F77_DUMMY_MAIN
19326 # ifdef __cplusplus
19329 int F77_DUMMY_MAIN() { return 1; }
19334 /* The GNU C library defines this for functions which it implements
19335 to always fail with ENOSYS. Some functions are actually named
19336 something starting with __ and the normal name is an alias. */
19337 #if defined (__stub_strtok_r) || defined (__stub___strtok_r)
19347 rm -f conftest.$ac_objext conftest$ac_exeext
19348 if { (eval echo "$as_me:19348: \"$ac_link\"") >&5
19349 (eval $ac_link) 2>&5
19351 echo "$as_me:19351: \$? = $ac_status" >&5
19352 (exit $ac_status); } &&
19353 { ac_try='test -s conftest$ac_exeext'
19354 { (eval echo "$as_me:19354: \"$ac_try\"") >&5
19355 (eval $ac_try) 2>&5
19357 echo "$as_me:19357: \$? = $ac_status" >&5
19358 (exit $ac_status); }; }; then
19359 ac_cv_func_strtok_r=yes
19361 echo "$as_me: failed program was:" >&5
19362 cat conftest.$ac_ext >&5
19363 ac_cv_func_strtok_r=no
19365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19367 echo "$as_me:19367: result: $ac_cv_func_strtok_r" >&5
19368 echo "${ECHO_T}$ac_cv_func_strtok_r" >&6
19369 if test $ac_cv_func_strtok_r = yes; then
19371 cat >>confdefs.h <<_ACEOF
19372 #define HAVE_STRTOK_R 1
19376 LIBOBJS="$LIBOBJS strtok_r.$ac_objext"
19378 echo "$as_me:19378: checking for strupr" >&5
19379 echo $ECHO_N "checking for strupr... $ECHO_C" >&6
19380 if test "${ac_cv_func_strupr+set}" = set; then
19381 echo $ECHO_N "(cached) $ECHO_C" >&6
19383 cat >conftest.$ac_ext <<_ACEOF
19384 #line 19384 "configure"
19385 #include "confdefs.h"
19386 /* System header to define __stub macros and hopefully few prototypes,
19387 which can conflict with char strupr (); below. */
19388 #include <assert.h>
19389 /* Override any gcc2 internal prototype to avoid an error. */
19393 /* We use char because int might match the return type of a gcc2
19394 builtin and then its argument prototype would still apply. */
19398 #ifdef F77_DUMMY_MAIN
19399 # ifdef __cplusplus
19402 int F77_DUMMY_MAIN() { return 1; }
19407 /* The GNU C library defines this for functions which it implements
19408 to always fail with ENOSYS. Some functions are actually named
19409 something starting with __ and the normal name is an alias. */
19410 #if defined (__stub_strupr) || defined (__stub___strupr)
19420 rm -f conftest.$ac_objext conftest$ac_exeext
19421 if { (eval echo "$as_me:19421: \"$ac_link\"") >&5
19422 (eval $ac_link) 2>&5
19424 echo "$as_me:19424: \$? = $ac_status" >&5
19425 (exit $ac_status); } &&
19426 { ac_try='test -s conftest$ac_exeext'
19427 { (eval echo "$as_me:19427: \"$ac_try\"") >&5
19428 (eval $ac_try) 2>&5
19430 echo "$as_me:19430: \$? = $ac_status" >&5
19431 (exit $ac_status); }; }; then
19432 ac_cv_func_strupr=yes
19434 echo "$as_me: failed program was:" >&5
19435 cat conftest.$ac_ext >&5
19436 ac_cv_func_strupr=no
19438 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19440 echo "$as_me:19440: result: $ac_cv_func_strupr" >&5
19441 echo "${ECHO_T}$ac_cv_func_strupr" >&6
19442 if test $ac_cv_func_strupr = yes; then
19444 cat >>confdefs.h <<_ACEOF
19445 #define HAVE_STRUPR 1
19449 LIBOBJS="$LIBOBJS strupr.$ac_objext"
19451 echo "$as_me:19451: checking for swab" >&5
19452 echo $ECHO_N "checking for swab... $ECHO_C" >&6
19453 if test "${ac_cv_func_swab+set}" = set; then
19454 echo $ECHO_N "(cached) $ECHO_C" >&6
19456 cat >conftest.$ac_ext <<_ACEOF
19457 #line 19457 "configure"
19458 #include "confdefs.h"
19459 /* System header to define __stub macros and hopefully few prototypes,
19460 which can conflict with char swab (); below. */
19461 #include <assert.h>
19462 /* Override any gcc2 internal prototype to avoid an error. */
19466 /* We use char because int might match the return type of a gcc2
19467 builtin and then its argument prototype would still apply. */
19471 #ifdef F77_DUMMY_MAIN
19472 # ifdef __cplusplus
19475 int F77_DUMMY_MAIN() { return 1; }
19480 /* The GNU C library defines this for functions which it implements
19481 to always fail with ENOSYS. Some functions are actually named
19482 something starting with __ and the normal name is an alias. */
19483 #if defined (__stub_swab) || defined (__stub___swab)
19493 rm -f conftest.$ac_objext conftest$ac_exeext
19494 if { (eval echo "$as_me:19494: \"$ac_link\"") >&5
19495 (eval $ac_link) 2>&5
19497 echo "$as_me:19497: \$? = $ac_status" >&5
19498 (exit $ac_status); } &&
19499 { ac_try='test -s conftest$ac_exeext'
19500 { (eval echo "$as_me:19500: \"$ac_try\"") >&5
19501 (eval $ac_try) 2>&5
19503 echo "$as_me:19503: \$? = $ac_status" >&5
19504 (exit $ac_status); }; }; then
19505 ac_cv_func_swab=yes
19507 echo "$as_me: failed program was:" >&5
19508 cat conftest.$ac_ext >&5
19511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19513 echo "$as_me:19513: result: $ac_cv_func_swab" >&5
19514 echo "${ECHO_T}$ac_cv_func_swab" >&6
19515 if test $ac_cv_func_swab = yes; then
19517 cat >>confdefs.h <<_ACEOF
19518 #define HAVE_SWAB 1
19522 LIBOBJS="$LIBOBJS swab.$ac_objext"
19524 echo "$as_me:19524: checking for unsetenv" >&5
19525 echo $ECHO_N "checking for unsetenv... $ECHO_C" >&6
19526 if test "${ac_cv_func_unsetenv+set}" = set; then
19527 echo $ECHO_N "(cached) $ECHO_C" >&6
19529 cat >conftest.$ac_ext <<_ACEOF
19530 #line 19530 "configure"
19531 #include "confdefs.h"
19532 /* System header to define __stub macros and hopefully few prototypes,
19533 which can conflict with char unsetenv (); below. */
19534 #include <assert.h>
19535 /* Override any gcc2 internal prototype to avoid an error. */
19539 /* We use char because int might match the return type of a gcc2
19540 builtin and then its argument prototype would still apply. */
19544 #ifdef F77_DUMMY_MAIN
19545 # ifdef __cplusplus
19548 int F77_DUMMY_MAIN() { return 1; }
19553 /* The GNU C library defines this for functions which it implements
19554 to always fail with ENOSYS. Some functions are actually named
19555 something starting with __ and the normal name is an alias. */
19556 #if defined (__stub_unsetenv) || defined (__stub___unsetenv)
19566 rm -f conftest.$ac_objext conftest$ac_exeext
19567 if { (eval echo "$as_me:19567: \"$ac_link\"") >&5
19568 (eval $ac_link) 2>&5
19570 echo "$as_me:19570: \$? = $ac_status" >&5
19571 (exit $ac_status); } &&
19572 { ac_try='test -s conftest$ac_exeext'
19573 { (eval echo "$as_me:19573: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19576 echo "$as_me:19576: \$? = $ac_status" >&5
19577 (exit $ac_status); }; }; then
19578 ac_cv_func_unsetenv=yes
19580 echo "$as_me: failed program was:" >&5
19581 cat conftest.$ac_ext >&5
19582 ac_cv_func_unsetenv=no
19584 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19586 echo "$as_me:19586: result: $ac_cv_func_unsetenv" >&5
19587 echo "${ECHO_T}$ac_cv_func_unsetenv" >&6
19588 if test $ac_cv_func_unsetenv = yes; then
19590 cat >>confdefs.h <<_ACEOF
19591 #define HAVE_UNSETENV 1
19595 LIBOBJS="$LIBOBJS unsetenv.$ac_objext"
19597 echo "$as_me:19597: checking for verr" >&5
19598 echo $ECHO_N "checking for verr... $ECHO_C" >&6
19599 if test "${ac_cv_func_verr+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19602 cat >conftest.$ac_ext <<_ACEOF
19603 #line 19603 "configure"
19604 #include "confdefs.h"
19605 /* System header to define __stub macros and hopefully few prototypes,
19606 which can conflict with char verr (); below. */
19607 #include <assert.h>
19608 /* Override any gcc2 internal prototype to avoid an error. */
19612 /* We use char because int might match the return type of a gcc2
19613 builtin and then its argument prototype would still apply. */
19617 #ifdef F77_DUMMY_MAIN
19618 # ifdef __cplusplus
19621 int F77_DUMMY_MAIN() { return 1; }
19626 /* The GNU C library defines this for functions which it implements
19627 to always fail with ENOSYS. Some functions are actually named
19628 something starting with __ and the normal name is an alias. */
19629 #if defined (__stub_verr) || defined (__stub___verr)
19639 rm -f conftest.$ac_objext conftest$ac_exeext
19640 if { (eval echo "$as_me:19640: \"$ac_link\"") >&5
19641 (eval $ac_link) 2>&5
19643 echo "$as_me:19643: \$? = $ac_status" >&5
19644 (exit $ac_status); } &&
19645 { ac_try='test -s conftest$ac_exeext'
19646 { (eval echo "$as_me:19646: \"$ac_try\"") >&5
19647 (eval $ac_try) 2>&5
19649 echo "$as_me:19649: \$? = $ac_status" >&5
19650 (exit $ac_status); }; }; then
19651 ac_cv_func_verr=yes
19653 echo "$as_me: failed program was:" >&5
19654 cat conftest.$ac_ext >&5
19657 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19659 echo "$as_me:19659: result: $ac_cv_func_verr" >&5
19660 echo "${ECHO_T}$ac_cv_func_verr" >&6
19661 if test $ac_cv_func_verr = yes; then
19663 cat >>confdefs.h <<_ACEOF
19664 #define HAVE_VERR 1
19668 LIBOBJS="$LIBOBJS verr.$ac_objext"
19670 echo "$as_me:19670: checking for verrx" >&5
19671 echo $ECHO_N "checking for verrx... $ECHO_C" >&6
19672 if test "${ac_cv_func_verrx+set}" = set; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19675 cat >conftest.$ac_ext <<_ACEOF
19676 #line 19676 "configure"
19677 #include "confdefs.h"
19678 /* System header to define __stub macros and hopefully few prototypes,
19679 which can conflict with char verrx (); below. */
19680 #include <assert.h>
19681 /* Override any gcc2 internal prototype to avoid an error. */
19685 /* We use char because int might match the return type of a gcc2
19686 builtin and then its argument prototype would still apply. */
19690 #ifdef F77_DUMMY_MAIN
19691 # ifdef __cplusplus
19694 int F77_DUMMY_MAIN() { return 1; }
19699 /* The GNU C library defines this for functions which it implements
19700 to always fail with ENOSYS. Some functions are actually named
19701 something starting with __ and the normal name is an alias. */
19702 #if defined (__stub_verrx) || defined (__stub___verrx)
19712 rm -f conftest.$ac_objext conftest$ac_exeext
19713 if { (eval echo "$as_me:19713: \"$ac_link\"") >&5
19714 (eval $ac_link) 2>&5
19716 echo "$as_me:19716: \$? = $ac_status" >&5
19717 (exit $ac_status); } &&
19718 { ac_try='test -s conftest$ac_exeext'
19719 { (eval echo "$as_me:19719: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19722 echo "$as_me:19722: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 ac_cv_func_verrx=yes
19726 echo "$as_me: failed program was:" >&5
19727 cat conftest.$ac_ext >&5
19728 ac_cv_func_verrx=no
19730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19732 echo "$as_me:19732: result: $ac_cv_func_verrx" >&5
19733 echo "${ECHO_T}$ac_cv_func_verrx" >&6
19734 if test $ac_cv_func_verrx = yes; then
19736 cat >>confdefs.h <<_ACEOF
19737 #define HAVE_VERRX 1
19741 LIBOBJS="$LIBOBJS verrx.$ac_objext"
19743 echo "$as_me:19743: checking for vsyslog" >&5
19744 echo $ECHO_N "checking for vsyslog... $ECHO_C" >&6
19745 if test "${ac_cv_func_vsyslog+set}" = set; then
19746 echo $ECHO_N "(cached) $ECHO_C" >&6
19748 cat >conftest.$ac_ext <<_ACEOF
19749 #line 19749 "configure"
19750 #include "confdefs.h"
19751 /* System header to define __stub macros and hopefully few prototypes,
19752 which can conflict with char vsyslog (); below. */
19753 #include <assert.h>
19754 /* Override any gcc2 internal prototype to avoid an error. */
19758 /* We use char because int might match the return type of a gcc2
19759 builtin and then its argument prototype would still apply. */
19763 #ifdef F77_DUMMY_MAIN
19764 # ifdef __cplusplus
19767 int F77_DUMMY_MAIN() { return 1; }
19772 /* The GNU C library defines this for functions which it implements
19773 to always fail with ENOSYS. Some functions are actually named
19774 something starting with __ and the normal name is an alias. */
19775 #if defined (__stub_vsyslog) || defined (__stub___vsyslog)
19785 rm -f conftest.$ac_objext conftest$ac_exeext
19786 if { (eval echo "$as_me:19786: \"$ac_link\"") >&5
19787 (eval $ac_link) 2>&5
19789 echo "$as_me:19789: \$? = $ac_status" >&5
19790 (exit $ac_status); } &&
19791 { ac_try='test -s conftest$ac_exeext'
19792 { (eval echo "$as_me:19792: \"$ac_try\"") >&5
19793 (eval $ac_try) 2>&5
19795 echo "$as_me:19795: \$? = $ac_status" >&5
19796 (exit $ac_status); }; }; then
19797 ac_cv_func_vsyslog=yes
19799 echo "$as_me: failed program was:" >&5
19800 cat conftest.$ac_ext >&5
19801 ac_cv_func_vsyslog=no
19803 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19805 echo "$as_me:19805: result: $ac_cv_func_vsyslog" >&5
19806 echo "${ECHO_T}$ac_cv_func_vsyslog" >&6
19807 if test $ac_cv_func_vsyslog = yes; then
19809 cat >>confdefs.h <<_ACEOF
19810 #define HAVE_VSYSLOG 1
19814 LIBOBJS="$LIBOBJS vsyslog.$ac_objext"
19816 echo "$as_me:19816: checking for vwarn" >&5
19817 echo $ECHO_N "checking for vwarn... $ECHO_C" >&6
19818 if test "${ac_cv_func_vwarn+set}" = set; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 cat >conftest.$ac_ext <<_ACEOF
19822 #line 19822 "configure"
19823 #include "confdefs.h"
19824 /* System header to define __stub macros and hopefully few prototypes,
19825 which can conflict with char vwarn (); below. */
19826 #include <assert.h>
19827 /* Override any gcc2 internal prototype to avoid an error. */
19831 /* We use char because int might match the return type of a gcc2
19832 builtin and then its argument prototype would still apply. */
19836 #ifdef F77_DUMMY_MAIN
19837 # ifdef __cplusplus
19840 int F77_DUMMY_MAIN() { return 1; }
19845 /* The GNU C library defines this for functions which it implements
19846 to always fail with ENOSYS. Some functions are actually named
19847 something starting with __ and the normal name is an alias. */
19848 #if defined (__stub_vwarn) || defined (__stub___vwarn)
19858 rm -f conftest.$ac_objext conftest$ac_exeext
19859 if { (eval echo "$as_me:19859: \"$ac_link\"") >&5
19860 (eval $ac_link) 2>&5
19862 echo "$as_me:19862: \$? = $ac_status" >&5
19863 (exit $ac_status); } &&
19864 { ac_try='test -s conftest$ac_exeext'
19865 { (eval echo "$as_me:19865: \"$ac_try\"") >&5
19866 (eval $ac_try) 2>&5
19868 echo "$as_me:19868: \$? = $ac_status" >&5
19869 (exit $ac_status); }; }; then
19870 ac_cv_func_vwarn=yes
19872 echo "$as_me: failed program was:" >&5
19873 cat conftest.$ac_ext >&5
19874 ac_cv_func_vwarn=no
19876 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19878 echo "$as_me:19878: result: $ac_cv_func_vwarn" >&5
19879 echo "${ECHO_T}$ac_cv_func_vwarn" >&6
19880 if test $ac_cv_func_vwarn = yes; then
19882 cat >>confdefs.h <<_ACEOF
19883 #define HAVE_VWARN 1
19887 LIBOBJS="$LIBOBJS vwarn.$ac_objext"
19889 echo "$as_me:19889: checking for vwarnx" >&5
19890 echo $ECHO_N "checking for vwarnx... $ECHO_C" >&6
19891 if test "${ac_cv_func_vwarnx+set}" = set; then
19892 echo $ECHO_N "(cached) $ECHO_C" >&6
19894 cat >conftest.$ac_ext <<_ACEOF
19895 #line 19895 "configure"
19896 #include "confdefs.h"
19897 /* System header to define __stub macros and hopefully few prototypes,
19898 which can conflict with char vwarnx (); below. */
19899 #include <assert.h>
19900 /* Override any gcc2 internal prototype to avoid an error. */
19904 /* We use char because int might match the return type of a gcc2
19905 builtin and then its argument prototype would still apply. */
19909 #ifdef F77_DUMMY_MAIN
19910 # ifdef __cplusplus
19913 int F77_DUMMY_MAIN() { return 1; }
19918 /* The GNU C library defines this for functions which it implements
19919 to always fail with ENOSYS. Some functions are actually named
19920 something starting with __ and the normal name is an alias. */
19921 #if defined (__stub_vwarnx) || defined (__stub___vwarnx)
19931 rm -f conftest.$ac_objext conftest$ac_exeext
19932 if { (eval echo "$as_me:19932: \"$ac_link\"") >&5
19933 (eval $ac_link) 2>&5
19935 echo "$as_me:19935: \$? = $ac_status" >&5
19936 (exit $ac_status); } &&
19937 { ac_try='test -s conftest$ac_exeext'
19938 { (eval echo "$as_me:19938: \"$ac_try\"") >&5
19939 (eval $ac_try) 2>&5
19941 echo "$as_me:19941: \$? = $ac_status" >&5
19942 (exit $ac_status); }; }; then
19943 ac_cv_func_vwarnx=yes
19945 echo "$as_me: failed program was:" >&5
19946 cat conftest.$ac_ext >&5
19947 ac_cv_func_vwarnx=no
19949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19951 echo "$as_me:19951: result: $ac_cv_func_vwarnx" >&5
19952 echo "${ECHO_T}$ac_cv_func_vwarnx" >&6
19953 if test $ac_cv_func_vwarnx = yes; then
19955 cat >>confdefs.h <<_ACEOF
19956 #define HAVE_VWARNX 1
19960 LIBOBJS="$LIBOBJS vwarnx.$ac_objext"
19962 echo "$as_me:19962: checking for warn" >&5
19963 echo $ECHO_N "checking for warn... $ECHO_C" >&6
19964 if test "${ac_cv_func_warn+set}" = set; then
19965 echo $ECHO_N "(cached) $ECHO_C" >&6
19967 cat >conftest.$ac_ext <<_ACEOF
19968 #line 19968 "configure"
19969 #include "confdefs.h"
19970 /* System header to define __stub macros and hopefully few prototypes,
19971 which can conflict with char warn (); below. */
19972 #include <assert.h>
19973 /* Override any gcc2 internal prototype to avoid an error. */
19977 /* We use char because int might match the return type of a gcc2
19978 builtin and then its argument prototype would still apply. */
19982 #ifdef F77_DUMMY_MAIN
19983 # ifdef __cplusplus
19986 int F77_DUMMY_MAIN() { return 1; }
19991 /* The GNU C library defines this for functions which it implements
19992 to always fail with ENOSYS. Some functions are actually named
19993 something starting with __ and the normal name is an alias. */
19994 #if defined (__stub_warn) || defined (__stub___warn)
20004 rm -f conftest.$ac_objext conftest$ac_exeext
20005 if { (eval echo "$as_me:20005: \"$ac_link\"") >&5
20006 (eval $ac_link) 2>&5
20008 echo "$as_me:20008: \$? = $ac_status" >&5
20009 (exit $ac_status); } &&
20010 { ac_try='test -s conftest$ac_exeext'
20011 { (eval echo "$as_me:20011: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20014 echo "$as_me:20014: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20016 ac_cv_func_warn=yes
20018 echo "$as_me: failed program was:" >&5
20019 cat conftest.$ac_ext >&5
20022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20024 echo "$as_me:20024: result: $ac_cv_func_warn" >&5
20025 echo "${ECHO_T}$ac_cv_func_warn" >&6
20026 if test $ac_cv_func_warn = yes; then
20028 cat >>confdefs.h <<_ACEOF
20029 #define HAVE_WARN 1
20033 LIBOBJS="$LIBOBJS warn.$ac_objext"
20035 echo "$as_me:20035: checking for warnx" >&5
20036 echo $ECHO_N "checking for warnx... $ECHO_C" >&6
20037 if test "${ac_cv_func_warnx+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20040 cat >conftest.$ac_ext <<_ACEOF
20041 #line 20041 "configure"
20042 #include "confdefs.h"
20043 /* System header to define __stub macros and hopefully few prototypes,
20044 which can conflict with char warnx (); below. */
20045 #include <assert.h>
20046 /* Override any gcc2 internal prototype to avoid an error. */
20050 /* We use char because int might match the return type of a gcc2
20051 builtin and then its argument prototype would still apply. */
20055 #ifdef F77_DUMMY_MAIN
20056 # ifdef __cplusplus
20059 int F77_DUMMY_MAIN() { return 1; }
20064 /* The GNU C library defines this for functions which it implements
20065 to always fail with ENOSYS. Some functions are actually named
20066 something starting with __ and the normal name is an alias. */
20067 #if defined (__stub_warnx) || defined (__stub___warnx)
20077 rm -f conftest.$ac_objext conftest$ac_exeext
20078 if { (eval echo "$as_me:20078: \"$ac_link\"") >&5
20079 (eval $ac_link) 2>&5
20081 echo "$as_me:20081: \$? = $ac_status" >&5
20082 (exit $ac_status); } &&
20083 { ac_try='test -s conftest$ac_exeext'
20084 { (eval echo "$as_me:20084: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20087 echo "$as_me:20087: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 ac_cv_func_warnx=yes
20091 echo "$as_me: failed program was:" >&5
20092 cat conftest.$ac_ext >&5
20093 ac_cv_func_warnx=no
20095 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20097 echo "$as_me:20097: result: $ac_cv_func_warnx" >&5
20098 echo "${ECHO_T}$ac_cv_func_warnx" >&6
20099 if test $ac_cv_func_warnx = yes; then
20101 cat >>confdefs.h <<_ACEOF
20102 #define HAVE_WARNX 1
20106 LIBOBJS="$LIBOBJS warnx.$ac_objext"
20108 echo "$as_me:20108: checking for writev" >&5
20109 echo $ECHO_N "checking for writev... $ECHO_C" >&6
20110 if test "${ac_cv_func_writev+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 cat >conftest.$ac_ext <<_ACEOF
20114 #line 20114 "configure"
20115 #include "confdefs.h"
20116 /* System header to define __stub macros and hopefully few prototypes,
20117 which can conflict with char writev (); below. */
20118 #include <assert.h>
20119 /* Override any gcc2 internal prototype to avoid an error. */
20123 /* We use char because int might match the return type of a gcc2
20124 builtin and then its argument prototype would still apply. */
20128 #ifdef F77_DUMMY_MAIN
20129 # ifdef __cplusplus
20132 int F77_DUMMY_MAIN() { return 1; }
20137 /* The GNU C library defines this for functions which it implements
20138 to always fail with ENOSYS. Some functions are actually named
20139 something starting with __ and the normal name is an alias. */
20140 #if defined (__stub_writev) || defined (__stub___writev)
20150 rm -f conftest.$ac_objext conftest$ac_exeext
20151 if { (eval echo "$as_me:20151: \"$ac_link\"") >&5
20152 (eval $ac_link) 2>&5
20154 echo "$as_me:20154: \$? = $ac_status" >&5
20155 (exit $ac_status); } &&
20156 { ac_try='test -s conftest$ac_exeext'
20157 { (eval echo "$as_me:20157: \"$ac_try\"") >&5
20158 (eval $ac_try) 2>&5
20160 echo "$as_me:20160: \$? = $ac_status" >&5
20161 (exit $ac_status); }; }; then
20162 ac_cv_func_writev=yes
20164 echo "$as_me: failed program was:" >&5
20165 cat conftest.$ac_ext >&5
20166 ac_cv_func_writev=no
20168 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20170 echo "$as_me:20170: result: $ac_cv_func_writev" >&5
20171 echo "${ECHO_T}$ac_cv_func_writev" >&6
20172 if test $ac_cv_func_writev = yes; then
20174 cat >>confdefs.h <<_ACEOF
20175 #define HAVE_WRITEV 1
20179 LIBOBJS="$LIBOBJS writev.$ac_objext"
20184 if test "$ac_cv_func_strndup+set" != set -o "$ac_cv_func_strndup" = yes; then
20185 echo "$as_me:20185: checking if strndup needs a prototype" >&5
20186 echo $ECHO_N "checking if strndup needs a prototype... $ECHO_C" >&6
20187 if test "${ac_cv_func_strndup_noproto+set}" = set; then
20188 echo $ECHO_N "(cached) $ECHO_C" >&6
20190 cat >conftest.$ac_ext <<_ACEOF
20191 #line 20191 "configure"
20192 #include "confdefs.h"
20193 #include <string.h>
20194 #ifdef F77_DUMMY_MAIN
20195 # ifdef __cplusplus
20198 int F77_DUMMY_MAIN() { return 1; }
20203 struct foo { int foo; } xx;
20204 extern int strndup (struct foo*);
20211 rm -f conftest.$ac_objext
20212 if { (eval echo "$as_me:20212: \"$ac_compile\"") >&5
20213 (eval $ac_compile) 2>&5
20215 echo "$as_me:20215: \$? = $ac_status" >&5
20216 (exit $ac_status); } &&
20217 { ac_try='test -s conftest.$ac_objext'
20218 { (eval echo "$as_me:20218: \"$ac_try\"") >&5
20219 (eval $ac_try) 2>&5
20221 echo "$as_me:20221: \$? = $ac_status" >&5
20222 (exit $ac_status); }; }; then
20223 eval "ac_cv_func_strndup_noproto=yes"
20225 echo "$as_me: failed program was:" >&5
20226 cat conftest.$ac_ext >&5
20227 eval "ac_cv_func_strndup_noproto=no"
20229 rm -f conftest.$ac_objext conftest.$ac_ext
20231 echo "$as_me:20231: result: $ac_cv_func_strndup_noproto" >&5
20232 echo "${ECHO_T}$ac_cv_func_strndup_noproto" >&6
20233 if test "$ac_cv_func_strndup_noproto" = yes; then
20235 cat >>confdefs.h <<\_ACEOF
20236 #define NEED_STRNDUP_PROTO 1
20242 if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
20243 echo "$as_me:20243: checking if strsep needs a prototype" >&5
20244 echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
20245 if test "${ac_cv_func_strsep_noproto+set}" = set; then
20246 echo $ECHO_N "(cached) $ECHO_C" >&6
20248 cat >conftest.$ac_ext <<_ACEOF
20249 #line 20249 "configure"
20250 #include "confdefs.h"
20251 #include <string.h>
20252 #ifdef F77_DUMMY_MAIN
20253 # ifdef __cplusplus
20256 int F77_DUMMY_MAIN() { return 1; }
20261 struct foo { int foo; } xx;
20262 extern int strsep (struct foo*);
20269 rm -f conftest.$ac_objext
20270 if { (eval echo "$as_me:20270: \"$ac_compile\"") >&5
20271 (eval $ac_compile) 2>&5
20273 echo "$as_me:20273: \$? = $ac_status" >&5
20274 (exit $ac_status); } &&
20275 { ac_try='test -s conftest.$ac_objext'
20276 { (eval echo "$as_me:20276: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20279 echo "$as_me:20279: \$? = $ac_status" >&5
20280 (exit $ac_status); }; }; then
20281 eval "ac_cv_func_strsep_noproto=yes"
20283 echo "$as_me: failed program was:" >&5
20284 cat conftest.$ac_ext >&5
20285 eval "ac_cv_func_strsep_noproto=no"
20287 rm -f conftest.$ac_objext conftest.$ac_ext
20289 echo "$as_me:20289: result: $ac_cv_func_strsep_noproto" >&5
20290 echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
20291 if test "$ac_cv_func_strsep_noproto" = yes; then
20293 cat >>confdefs.h <<\_ACEOF
20294 #define NEED_STRSEP_PROTO 1
20300 if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
20301 echo "$as_me:20301: checking if strtok_r needs a prototype" >&5
20302 echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
20303 if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
20304 echo $ECHO_N "(cached) $ECHO_C" >&6
20306 cat >conftest.$ac_ext <<_ACEOF
20307 #line 20307 "configure"
20308 #include "confdefs.h"
20309 #include <string.h>
20310 #ifdef F77_DUMMY_MAIN
20311 # ifdef __cplusplus
20314 int F77_DUMMY_MAIN() { return 1; }
20319 struct foo { int foo; } xx;
20320 extern int strtok_r (struct foo*);
20327 rm -f conftest.$ac_objext
20328 if { (eval echo "$as_me:20328: \"$ac_compile\"") >&5
20329 (eval $ac_compile) 2>&5
20331 echo "$as_me:20331: \$? = $ac_status" >&5
20332 (exit $ac_status); } &&
20333 { ac_try='test -s conftest.$ac_objext'
20334 { (eval echo "$as_me:20334: \"$ac_try\"") >&5
20335 (eval $ac_try) 2>&5
20337 echo "$as_me:20337: \$? = $ac_status" >&5
20338 (exit $ac_status); }; }; then
20339 eval "ac_cv_func_strtok_r_noproto=yes"
20341 echo "$as_me: failed program was:" >&5
20342 cat conftest.$ac_ext >&5
20343 eval "ac_cv_func_strtok_r_noproto=no"
20345 rm -f conftest.$ac_objext conftest.$ac_ext
20347 echo "$as_me:20347: result: $ac_cv_func_strtok_r_noproto" >&5
20348 echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
20349 if test "$ac_cv_func_strtok_r_noproto" = yes; then
20351 cat >>confdefs.h <<\_ACEOF
20352 #define NEED_STRTOK_R_PROTO 1
20360 if test "$ac_cv_func_strsvis+set" != set -o "$ac_cv_func_strsvis" = yes; then
20361 echo "$as_me:20361: checking if strsvis needs a prototype" >&5
20362 echo $ECHO_N "checking if strsvis needs a prototype... $ECHO_C" >&6
20363 if test "${ac_cv_func_strsvis_noproto+set}" = set; then
20364 echo $ECHO_N "(cached) $ECHO_C" >&6
20366 cat >conftest.$ac_ext <<_ACEOF
20367 #line 20367 "configure"
20368 #include "confdefs.h"
20372 #ifdef F77_DUMMY_MAIN
20373 # ifdef __cplusplus
20376 int F77_DUMMY_MAIN() { return 1; }
20381 struct foo { int foo; } xx;
20382 extern int strsvis (struct foo*);
20389 rm -f conftest.$ac_objext
20390 if { (eval echo "$as_me:20390: \"$ac_compile\"") >&5
20391 (eval $ac_compile) 2>&5
20393 echo "$as_me:20393: \$? = $ac_status" >&5
20394 (exit $ac_status); } &&
20395 { ac_try='test -s conftest.$ac_objext'
20396 { (eval echo "$as_me:20396: \"$ac_try\"") >&5
20397 (eval $ac_try) 2>&5
20399 echo "$as_me:20399: \$? = $ac_status" >&5
20400 (exit $ac_status); }; }; then
20401 eval "ac_cv_func_strsvis_noproto=yes"
20403 echo "$as_me: failed program was:" >&5
20404 cat conftest.$ac_ext >&5
20405 eval "ac_cv_func_strsvis_noproto=no"
20407 rm -f conftest.$ac_objext conftest.$ac_ext
20409 echo "$as_me:20409: result: $ac_cv_func_strsvis_noproto" >&5
20410 echo "${ECHO_T}$ac_cv_func_strsvis_noproto" >&6
20411 if test "$ac_cv_func_strsvis_noproto" = yes; then
20413 cat >>confdefs.h <<\_ACEOF
20414 #define NEED_STRSVIS_PROTO 1
20420 if test "$ac_cv_func_strunvis+set" != set -o "$ac_cv_func_strunvis" = yes; then
20421 echo "$as_me:20421: checking if strunvis needs a prototype" >&5
20422 echo $ECHO_N "checking if strunvis needs a prototype... $ECHO_C" >&6
20423 if test "${ac_cv_func_strunvis_noproto+set}" = set; then
20424 echo $ECHO_N "(cached) $ECHO_C" >&6
20426 cat >conftest.$ac_ext <<_ACEOF
20427 #line 20427 "configure"
20428 #include "confdefs.h"
20432 #ifdef F77_DUMMY_MAIN
20433 # ifdef __cplusplus
20436 int F77_DUMMY_MAIN() { return 1; }
20441 struct foo { int foo; } xx;
20442 extern int strunvis (struct foo*);
20449 rm -f conftest.$ac_objext
20450 if { (eval echo "$as_me:20450: \"$ac_compile\"") >&5
20451 (eval $ac_compile) 2>&5
20453 echo "$as_me:20453: \$? = $ac_status" >&5
20454 (exit $ac_status); } &&
20455 { ac_try='test -s conftest.$ac_objext'
20456 { (eval echo "$as_me:20456: \"$ac_try\"") >&5
20457 (eval $ac_try) 2>&5
20459 echo "$as_me:20459: \$? = $ac_status" >&5
20460 (exit $ac_status); }; }; then
20461 eval "ac_cv_func_strunvis_noproto=yes"
20463 echo "$as_me: failed program was:" >&5
20464 cat conftest.$ac_ext >&5
20465 eval "ac_cv_func_strunvis_noproto=no"
20467 rm -f conftest.$ac_objext conftest.$ac_ext
20469 echo "$as_me:20469: result: $ac_cv_func_strunvis_noproto" >&5
20470 echo "${ECHO_T}$ac_cv_func_strunvis_noproto" >&6
20471 if test "$ac_cv_func_strunvis_noproto" = yes; then
20473 cat >>confdefs.h <<\_ACEOF
20474 #define NEED_STRUNVIS_PROTO 1
20480 if test "$ac_cv_func_strvis+set" != set -o "$ac_cv_func_strvis" = yes; then
20481 echo "$as_me:20481: checking if strvis needs a prototype" >&5
20482 echo $ECHO_N "checking if strvis needs a prototype... $ECHO_C" >&6
20483 if test "${ac_cv_func_strvis_noproto+set}" = set; then
20484 echo $ECHO_N "(cached) $ECHO_C" >&6
20486 cat >conftest.$ac_ext <<_ACEOF
20487 #line 20487 "configure"
20488 #include "confdefs.h"
20492 #ifdef F77_DUMMY_MAIN
20493 # ifdef __cplusplus
20496 int F77_DUMMY_MAIN() { return 1; }
20501 struct foo { int foo; } xx;
20502 extern int strvis (struct foo*);
20509 rm -f conftest.$ac_objext
20510 if { (eval echo "$as_me:20510: \"$ac_compile\"") >&5
20511 (eval $ac_compile) 2>&5
20513 echo "$as_me:20513: \$? = $ac_status" >&5
20514 (exit $ac_status); } &&
20515 { ac_try='test -s conftest.$ac_objext'
20516 { (eval echo "$as_me:20516: \"$ac_try\"") >&5
20517 (eval $ac_try) 2>&5
20519 echo "$as_me:20519: \$? = $ac_status" >&5
20520 (exit $ac_status); }; }; then
20521 eval "ac_cv_func_strvis_noproto=yes"
20523 echo "$as_me: failed program was:" >&5
20524 cat conftest.$ac_ext >&5
20525 eval "ac_cv_func_strvis_noproto=no"
20527 rm -f conftest.$ac_objext conftest.$ac_ext
20529 echo "$as_me:20529: result: $ac_cv_func_strvis_noproto" >&5
20530 echo "${ECHO_T}$ac_cv_func_strvis_noproto" >&6
20531 if test "$ac_cv_func_strvis_noproto" = yes; then
20533 cat >>confdefs.h <<\_ACEOF
20534 #define NEED_STRVIS_PROTO 1
20540 if test "$ac_cv_func_strvisx+set" != set -o "$ac_cv_func_strvisx" = yes; then
20541 echo "$as_me:20541: checking if strvisx needs a prototype" >&5
20542 echo $ECHO_N "checking if strvisx needs a prototype... $ECHO_C" >&6
20543 if test "${ac_cv_func_strvisx_noproto+set}" = set; then
20544 echo $ECHO_N "(cached) $ECHO_C" >&6
20546 cat >conftest.$ac_ext <<_ACEOF
20547 #line 20547 "configure"
20548 #include "confdefs.h"
20552 #ifdef F77_DUMMY_MAIN
20553 # ifdef __cplusplus
20556 int F77_DUMMY_MAIN() { return 1; }
20561 struct foo { int foo; } xx;
20562 extern int strvisx (struct foo*);
20569 rm -f conftest.$ac_objext
20570 if { (eval echo "$as_me:20570: \"$ac_compile\"") >&5
20571 (eval $ac_compile) 2>&5
20573 echo "$as_me:20573: \$? = $ac_status" >&5
20574 (exit $ac_status); } &&
20575 { ac_try='test -s conftest.$ac_objext'
20576 { (eval echo "$as_me:20576: \"$ac_try\"") >&5
20577 (eval $ac_try) 2>&5
20579 echo "$as_me:20579: \$? = $ac_status" >&5
20580 (exit $ac_status); }; }; then
20581 eval "ac_cv_func_strvisx_noproto=yes"
20583 echo "$as_me: failed program was:" >&5
20584 cat conftest.$ac_ext >&5
20585 eval "ac_cv_func_strvisx_noproto=no"
20587 rm -f conftest.$ac_objext conftest.$ac_ext
20589 echo "$as_me:20589: result: $ac_cv_func_strvisx_noproto" >&5
20590 echo "${ECHO_T}$ac_cv_func_strvisx_noproto" >&6
20591 if test "$ac_cv_func_strvisx_noproto" = yes; then
20593 cat >>confdefs.h <<\_ACEOF
20594 #define NEED_STRVISX_PROTO 1
20600 if test "$ac_cv_func_svis+set" != set -o "$ac_cv_func_svis" = yes; then
20601 echo "$as_me:20601: checking if svis needs a prototype" >&5
20602 echo $ECHO_N "checking if svis needs a prototype... $ECHO_C" >&6
20603 if test "${ac_cv_func_svis_noproto+set}" = set; then
20604 echo $ECHO_N "(cached) $ECHO_C" >&6
20606 cat >conftest.$ac_ext <<_ACEOF
20607 #line 20607 "configure"
20608 #include "confdefs.h"
20612 #ifdef F77_DUMMY_MAIN
20613 # ifdef __cplusplus
20616 int F77_DUMMY_MAIN() { return 1; }
20621 struct foo { int foo; } xx;
20622 extern int svis (struct foo*);
20629 rm -f conftest.$ac_objext
20630 if { (eval echo "$as_me:20630: \"$ac_compile\"") >&5
20631 (eval $ac_compile) 2>&5
20633 echo "$as_me:20633: \$? = $ac_status" >&5
20634 (exit $ac_status); } &&
20635 { ac_try='test -s conftest.$ac_objext'
20636 { (eval echo "$as_me:20636: \"$ac_try\"") >&5
20637 (eval $ac_try) 2>&5
20639 echo "$as_me:20639: \$? = $ac_status" >&5
20640 (exit $ac_status); }; }; then
20641 eval "ac_cv_func_svis_noproto=yes"
20643 echo "$as_me: failed program was:" >&5
20644 cat conftest.$ac_ext >&5
20645 eval "ac_cv_func_svis_noproto=no"
20647 rm -f conftest.$ac_objext conftest.$ac_ext
20649 echo "$as_me:20649: result: $ac_cv_func_svis_noproto" >&5
20650 echo "${ECHO_T}$ac_cv_func_svis_noproto" >&6
20651 if test "$ac_cv_func_svis_noproto" = yes; then
20653 cat >>confdefs.h <<\_ACEOF
20654 #define NEED_SVIS_PROTO 1
20660 if test "$ac_cv_func_unvis+set" != set -o "$ac_cv_func_unvis" = yes; then
20661 echo "$as_me:20661: checking if unvis needs a prototype" >&5
20662 echo $ECHO_N "checking if unvis needs a prototype... $ECHO_C" >&6
20663 if test "${ac_cv_func_unvis_noproto+set}" = set; then
20664 echo $ECHO_N "(cached) $ECHO_C" >&6
20666 cat >conftest.$ac_ext <<_ACEOF
20667 #line 20667 "configure"
20668 #include "confdefs.h"
20672 #ifdef F77_DUMMY_MAIN
20673 # ifdef __cplusplus
20676 int F77_DUMMY_MAIN() { return 1; }
20681 struct foo { int foo; } xx;
20682 extern int unvis (struct foo*);
20689 rm -f conftest.$ac_objext
20690 if { (eval echo "$as_me:20690: \"$ac_compile\"") >&5
20691 (eval $ac_compile) 2>&5
20693 echo "$as_me:20693: \$? = $ac_status" >&5
20694 (exit $ac_status); } &&
20695 { ac_try='test -s conftest.$ac_objext'
20696 { (eval echo "$as_me:20696: \"$ac_try\"") >&5
20697 (eval $ac_try) 2>&5
20699 echo "$as_me:20699: \$? = $ac_status" >&5
20700 (exit $ac_status); }; }; then
20701 eval "ac_cv_func_unvis_noproto=yes"
20703 echo "$as_me: failed program was:" >&5
20704 cat conftest.$ac_ext >&5
20705 eval "ac_cv_func_unvis_noproto=no"
20707 rm -f conftest.$ac_objext conftest.$ac_ext
20709 echo "$as_me:20709: result: $ac_cv_func_unvis_noproto" >&5
20710 echo "${ECHO_T}$ac_cv_func_unvis_noproto" >&6
20711 if test "$ac_cv_func_unvis_noproto" = yes; then
20713 cat >>confdefs.h <<\_ACEOF
20714 #define NEED_UNVIS_PROTO 1
20720 if test "$ac_cv_func_vis+set" != set -o "$ac_cv_func_vis" = yes; then
20721 echo "$as_me:20721: checking if vis needs a prototype" >&5
20722 echo $ECHO_N "checking if vis needs a prototype... $ECHO_C" >&6
20723 if test "${ac_cv_func_vis_noproto+set}" = set; then
20724 echo $ECHO_N "(cached) $ECHO_C" >&6
20726 cat >conftest.$ac_ext <<_ACEOF
20727 #line 20727 "configure"
20728 #include "confdefs.h"
20732 #ifdef F77_DUMMY_MAIN
20733 # ifdef __cplusplus
20736 int F77_DUMMY_MAIN() { return 1; }
20741 struct foo { int foo; } xx;
20742 extern int vis (struct foo*);
20749 rm -f conftest.$ac_objext
20750 if { (eval echo "$as_me:20750: \"$ac_compile\"") >&5
20751 (eval $ac_compile) 2>&5
20753 echo "$as_me:20753: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try='test -s conftest.$ac_objext'
20756 { (eval echo "$as_me:20756: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20759 echo "$as_me:20759: \$? = $ac_status" >&5
20760 (exit $ac_status); }; }; then
20761 eval "ac_cv_func_vis_noproto=yes"
20763 echo "$as_me: failed program was:" >&5
20764 cat conftest.$ac_ext >&5
20765 eval "ac_cv_func_vis_noproto=no"
20767 rm -f conftest.$ac_objext conftest.$ac_ext
20769 echo "$as_me:20769: result: $ac_cv_func_vis_noproto" >&5
20770 echo "${ECHO_T}$ac_cv_func_vis_noproto" >&6
20771 if test "$ac_cv_func_vis_noproto" = yes; then
20773 cat >>confdefs.h <<\_ACEOF
20774 #define NEED_VIS_PROTO 1
20781 echo "$as_me:20781: checking for inet_aton" >&5
20782 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
20783 if test "${ac_cv_func_inet_aton+set}" = set; then
20784 echo $ECHO_N "(cached) $ECHO_C" >&6
20786 cat >conftest.$ac_ext <<_ACEOF
20787 #line 20787 "configure"
20788 #include "confdefs.h"
20789 #ifdef HAVE_SYS_TYPES_H
20790 #include <sys/types.h>
20792 #ifdef HAVE_SYS_SOCKET_H
20793 #include <sys/socket.h>
20795 #ifdef HAVE_NETINET_IN_H
20796 #include <netinet/in.h>
20798 #ifdef HAVE_ARPA_INET_H
20799 #include <arpa/inet.h>
20801 #ifdef F77_DUMMY_MAIN
20802 # ifdef __cplusplus
20805 int F77_DUMMY_MAIN() { return 1; }
20811 /* The GNU C library defines this for functions which it implements
20812 to always fail with ENOSYS. Some functions are actually named
20813 something starting with __ and the normal name is an alias. */
20814 #if defined (__stub_inet_aton) || defined (__stub___inet_aton)
20824 rm -f conftest.$ac_objext conftest$ac_exeext
20825 if { (eval echo "$as_me:20825: \"$ac_link\"") >&5
20826 (eval $ac_link) 2>&5
20828 echo "$as_me:20828: \$? = $ac_status" >&5
20829 (exit $ac_status); } &&
20830 { ac_try='test -s conftest$ac_exeext'
20831 { (eval echo "$as_me:20831: \"$ac_try\"") >&5
20832 (eval $ac_try) 2>&5
20834 echo "$as_me:20834: \$? = $ac_status" >&5
20835 (exit $ac_status); }; }; then
20836 eval "ac_cv_func_inet_aton=yes"
20838 echo "$as_me: failed program was:" >&5
20839 cat conftest.$ac_ext >&5
20840 eval "ac_cv_func_inet_aton=no"
20842 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20845 if eval "test \"\${ac_cv_func_inet_aton}\" = yes"; then
20847 cat >>confdefs.h <<_ACEOF
20848 #define HAVE_INET_ATON 1
20851 echo "$as_me:20851: result: yes" >&5
20852 echo "${ECHO_T}yes" >&6
20854 echo "$as_me:20854: result: no" >&5
20855 echo "${ECHO_T}no" >&6
20856 LIBOBJS="$LIBOBJS inet_aton.$ac_objext"
20859 echo "$as_me:20859: checking for inet_ntop" >&5
20860 echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6
20861 if test "${ac_cv_func_inet_ntop+set}" = set; then
20862 echo $ECHO_N "(cached) $ECHO_C" >&6
20864 cat >conftest.$ac_ext <<_ACEOF
20865 #line 20865 "configure"
20866 #include "confdefs.h"
20867 #ifdef HAVE_SYS_TYPES_H
20868 #include <sys/types.h>
20870 #ifdef HAVE_SYS_SOCKET_H
20871 #include <sys/socket.h>
20873 #ifdef HAVE_NETINET_IN_H
20874 #include <netinet/in.h>
20876 #ifdef HAVE_ARPA_INET_H
20877 #include <arpa/inet.h>
20879 #ifdef F77_DUMMY_MAIN
20880 # ifdef __cplusplus
20883 int F77_DUMMY_MAIN() { return 1; }
20889 /* The GNU C library defines this for functions which it implements
20890 to always fail with ENOSYS. Some functions are actually named
20891 something starting with __ and the normal name is an alias. */
20892 #if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
20895 inet_ntop(0, 0, 0, 0)
20902 rm -f conftest.$ac_objext conftest$ac_exeext
20903 if { (eval echo "$as_me:20903: \"$ac_link\"") >&5
20904 (eval $ac_link) 2>&5
20906 echo "$as_me:20906: \$? = $ac_status" >&5
20907 (exit $ac_status); } &&
20908 { ac_try='test -s conftest$ac_exeext'
20909 { (eval echo "$as_me:20909: \"$ac_try\"") >&5
20910 (eval $ac_try) 2>&5
20912 echo "$as_me:20912: \$? = $ac_status" >&5
20913 (exit $ac_status); }; }; then
20914 eval "ac_cv_func_inet_ntop=yes"
20916 echo "$as_me: failed program was:" >&5
20917 cat conftest.$ac_ext >&5
20918 eval "ac_cv_func_inet_ntop=no"
20920 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20923 if eval "test \"\${ac_cv_func_inet_ntop}\" = yes"; then
20925 cat >>confdefs.h <<_ACEOF
20926 #define HAVE_INET_NTOP 1
20929 echo "$as_me:20929: result: yes" >&5
20930 echo "${ECHO_T}yes" >&6
20932 echo "$as_me:20932: result: no" >&5
20933 echo "${ECHO_T}no" >&6
20934 LIBOBJS="$LIBOBJS inet_ntop.$ac_objext"
20937 echo "$as_me:20937: checking for inet_pton" >&5
20938 echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
20939 if test "${ac_cv_func_inet_pton+set}" = set; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20942 cat >conftest.$ac_ext <<_ACEOF
20943 #line 20943 "configure"
20944 #include "confdefs.h"
20945 #ifdef HAVE_SYS_TYPES_H
20946 #include <sys/types.h>
20948 #ifdef HAVE_SYS_SOCKET_H
20949 #include <sys/socket.h>
20951 #ifdef HAVE_NETINET_IN_H
20952 #include <netinet/in.h>
20954 #ifdef HAVE_ARPA_INET_H
20955 #include <arpa/inet.h>
20957 #ifdef F77_DUMMY_MAIN
20958 # ifdef __cplusplus
20961 int F77_DUMMY_MAIN() { return 1; }
20967 /* The GNU C library defines this for functions which it implements
20968 to always fail with ENOSYS. Some functions are actually named
20969 something starting with __ and the normal name is an alias. */
20970 #if defined (__stub_inet_pton) || defined (__stub___inet_pton)
20980 rm -f conftest.$ac_objext conftest$ac_exeext
20981 if { (eval echo "$as_me:20981: \"$ac_link\"") >&5
20982 (eval $ac_link) 2>&5
20984 echo "$as_me:20984: \$? = $ac_status" >&5
20985 (exit $ac_status); } &&
20986 { ac_try='test -s conftest$ac_exeext'
20987 { (eval echo "$as_me:20987: \"$ac_try\"") >&5
20988 (eval $ac_try) 2>&5
20990 echo "$as_me:20990: \$? = $ac_status" >&5
20991 (exit $ac_status); }; }; then
20992 eval "ac_cv_func_inet_pton=yes"
20994 echo "$as_me: failed program was:" >&5
20995 cat conftest.$ac_ext >&5
20996 eval "ac_cv_func_inet_pton=no"
20998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21001 if eval "test \"\${ac_cv_func_inet_pton}\" = yes"; then
21003 cat >>confdefs.h <<_ACEOF
21004 #define HAVE_INET_PTON 1
21007 echo "$as_me:21007: result: yes" >&5
21008 echo "${ECHO_T}yes" >&6
21010 echo "$as_me:21010: result: no" >&5
21011 echo "${ECHO_T}no" >&6
21012 LIBOBJS="$LIBOBJS inet_pton.$ac_objext"
21017 echo "$as_me:21017: checking for sa_len in struct sockaddr" >&5
21018 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
21019 if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
21020 echo $ECHO_N "(cached) $ECHO_C" >&6
21023 cat >conftest.$ac_ext <<_ACEOF
21024 #line 21024 "configure"
21025 #include "confdefs.h"
21026 #include <sys/types.h>
21027 #include <sys/socket.h>
21028 #ifdef F77_DUMMY_MAIN
21029 # ifdef __cplusplus
21032 int F77_DUMMY_MAIN() { return 1; }
21037 struct sockaddr x; x.sa_len;
21042 rm -f conftest.$ac_objext
21043 if { (eval echo "$as_me:21043: \"$ac_compile\"") >&5
21044 (eval $ac_compile) 2>&5
21046 echo "$as_me:21046: \$? = $ac_status" >&5
21047 (exit $ac_status); } &&
21048 { ac_try='test -s conftest.$ac_objext'
21049 { (eval echo "$as_me:21049: \"$ac_try\"") >&5
21050 (eval $ac_try) 2>&5
21052 echo "$as_me:21052: \$? = $ac_status" >&5
21053 (exit $ac_status); }; }; then
21054 ac_cv_type_struct_sockaddr_sa_len=yes
21056 echo "$as_me: failed program was:" >&5
21057 cat conftest.$ac_ext >&5
21058 ac_cv_type_struct_sockaddr_sa_len=no
21060 rm -f conftest.$ac_objext conftest.$ac_ext
21062 echo "$as_me:21062: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
21063 echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
21064 if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
21067 cat >>confdefs.h <<\_ACEOF
21068 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21076 if test "$ac_cv_func_getnameinfo" = "yes"; then
21078 echo "$as_me:21078: checking if getnameinfo is broken" >&5
21079 echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
21080 if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
21081 echo $ECHO_N "(cached) $ECHO_C" >&6
21083 if test "$cross_compiling" = yes; then
21084 { { echo "$as_me:21084: error: cannot run test program while cross compiling" >&5
21085 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
21086 { (exit 1); exit 1; }; }
21088 cat >conftest.$ac_ext <<_ACEOF
21089 #line 21089 "configure"
21090 #include "confdefs.h"
21092 #include <sys/types.h>
21093 #include <sys/socket.h>
21094 #include <netinet/in.h>
21098 main(int argc, char **argv)
21100 struct sockaddr_in sin;
21102 memset(&sin, 0, sizeof(sin));
21103 #ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
21104 sin.sin_len = sizeof(sin);
21106 sin.sin_family = AF_INET;
21107 sin.sin_addr.s_addr = 0xffffffff;
21109 return getnameinfo((struct sockaddr*)&sin, sizeof(sin), host, sizeof(host),
21114 rm -f conftest$ac_exeext
21115 if { (eval echo "$as_me:21115: \"$ac_link\"") >&5
21116 (eval $ac_link) 2>&5
21118 echo "$as_me:21118: \$? = $ac_status" >&5
21119 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21120 { (eval echo "$as_me:21120: \"$ac_try\"") >&5
21121 (eval $ac_try) 2>&5
21123 echo "$as_me:21123: \$? = $ac_status" >&5
21124 (exit $ac_status); }; }; then
21125 ac_cv_func_getnameinfo_broken=no
21127 echo "$as_me: program exited with status $ac_status" >&5
21128 echo "$as_me: failed program was:" >&5
21129 cat conftest.$ac_ext >&5
21130 ( exit $ac_status )
21131 ac_cv_func_getnameinfo_broken=yes
21133 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21136 echo "$as_me:21136: result: $ac_cv_func_getnameinfo_broken" >&5
21137 echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
21138 if test "$ac_cv_func_getnameinfo_broken" = yes; then
21139 LIBOBJS="$LIBOBJS getnameinfo.$ac_objext"
21143 if test "$ac_cv_func_getaddrinfo" = "yes"; then
21145 echo "$as_me:21145: checking if getaddrinfo handles numeric services" >&5
21146 echo $ECHO_N "checking if getaddrinfo handles numeric services... $ECHO_C" >&6
21147 if test "${ac_cv_func_getaddrinfo_numserv+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21150 if test "$cross_compiling" = yes; then
21151 { { echo "$as_me:21151: error: cannot run test program while cross compiling" >&5
21152 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
21153 { (exit 1); exit 1; }; }
21155 cat >conftest.$ac_ext <<_ACEOF
21156 #line 21156 "configure"
21157 #include "confdefs.h"
21159 #include <sys/types.h>
21160 #include <sys/socket.h>
21164 main(int argc, char **argv)
21166 struct addrinfo hints, *ai;
21167 memset(&hints, 0, sizeof(hints));
21168 hints.ai_flags = AI_PASSIVE;
21169 hints.ai_socktype = SOCK_STREAM;
21170 hints.ai_family = PF_UNSPEC;
21171 if(getaddrinfo(NULL, "17", &hints, &ai) != 0)
21177 rm -f conftest$ac_exeext
21178 if { (eval echo "$as_me:21178: \"$ac_link\"") >&5
21179 (eval $ac_link) 2>&5
21181 echo "$as_me:21181: \$? = $ac_status" >&5
21182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21183 { (eval echo "$as_me:21183: \"$ac_try\"") >&5
21184 (eval $ac_try) 2>&5
21186 echo "$as_me:21186: \$? = $ac_status" >&5
21187 (exit $ac_status); }; }; then
21188 ac_cv_func_getaddrinfo_numserv=yes
21190 echo "$as_me: program exited with status $ac_status" >&5
21191 echo "$as_me: failed program was:" >&5
21192 cat conftest.$ac_ext >&5
21193 ( exit $ac_status )
21194 ac_cv_func_getaddrinfo_numserv=no
21196 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21199 echo "$as_me:21199: result: $ac_cv_func_getaddrinfo_numserv" >&5
21200 echo "${ECHO_T}$ac_cv_func_getaddrinfo_numserv" >&6
21201 if test "$ac_cv_func_getaddrinfo_numserv" = no; then
21202 LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
21203 LIBOBJS="$LIBOBJS freeaddrinfo.$ac_objext"
21208 if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
21209 echo "$as_me:21209: checking if setenv needs a prototype" >&5
21210 echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
21211 if test "${ac_cv_func_setenv_noproto+set}" = set; then
21212 echo $ECHO_N "(cached) $ECHO_C" >&6
21214 cat >conftest.$ac_ext <<_ACEOF
21215 #line 21215 "configure"
21216 #include "confdefs.h"
21217 #include <stdlib.h>
21218 #ifdef F77_DUMMY_MAIN
21219 # ifdef __cplusplus
21222 int F77_DUMMY_MAIN() { return 1; }
21227 struct foo { int foo; } xx;
21228 extern int setenv (struct foo*);
21235 rm -f conftest.$ac_objext
21236 if { (eval echo "$as_me:21236: \"$ac_compile\"") >&5
21237 (eval $ac_compile) 2>&5
21239 echo "$as_me:21239: \$? = $ac_status" >&5
21240 (exit $ac_status); } &&
21241 { ac_try='test -s conftest.$ac_objext'
21242 { (eval echo "$as_me:21242: \"$ac_try\"") >&5
21243 (eval $ac_try) 2>&5
21245 echo "$as_me:21245: \$? = $ac_status" >&5
21246 (exit $ac_status); }; }; then
21247 eval "ac_cv_func_setenv_noproto=yes"
21249 echo "$as_me: failed program was:" >&5
21250 cat conftest.$ac_ext >&5
21251 eval "ac_cv_func_setenv_noproto=no"
21253 rm -f conftest.$ac_objext conftest.$ac_ext
21255 echo "$as_me:21255: result: $ac_cv_func_setenv_noproto" >&5
21256 echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
21257 if test "$ac_cv_func_setenv_noproto" = yes; then
21259 cat >>confdefs.h <<\_ACEOF
21260 #define NEED_SETENV_PROTO 1
21267 if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
21268 echo "$as_me:21268: checking if unsetenv needs a prototype" >&5
21269 echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
21270 if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
21271 echo $ECHO_N "(cached) $ECHO_C" >&6
21273 cat >conftest.$ac_ext <<_ACEOF
21274 #line 21274 "configure"
21275 #include "confdefs.h"
21276 #include <stdlib.h>
21277 #ifdef F77_DUMMY_MAIN
21278 # ifdef __cplusplus
21281 int F77_DUMMY_MAIN() { return 1; }
21286 struct foo { int foo; } xx;
21287 extern int unsetenv (struct foo*);
21294 rm -f conftest.$ac_objext
21295 if { (eval echo "$as_me:21295: \"$ac_compile\"") >&5
21296 (eval $ac_compile) 2>&5
21298 echo "$as_me:21298: \$? = $ac_status" >&5
21299 (exit $ac_status); } &&
21300 { ac_try='test -s conftest.$ac_objext'
21301 { (eval echo "$as_me:21301: \"$ac_try\"") >&5
21302 (eval $ac_try) 2>&5
21304 echo "$as_me:21304: \$? = $ac_status" >&5
21305 (exit $ac_status); }; }; then
21306 eval "ac_cv_func_unsetenv_noproto=yes"
21308 echo "$as_me: failed program was:" >&5
21309 cat conftest.$ac_ext >&5
21310 eval "ac_cv_func_unsetenv_noproto=no"
21312 rm -f conftest.$ac_objext conftest.$ac_ext
21314 echo "$as_me:21314: result: $ac_cv_func_unsetenv_noproto" >&5
21315 echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
21316 if test "$ac_cv_func_unsetenv_noproto" = yes; then
21318 cat >>confdefs.h <<\_ACEOF
21319 #define NEED_UNSETENV_PROTO 1
21326 if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
21327 echo "$as_me:21327: checking if gethostname needs a prototype" >&5
21328 echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
21329 if test "${ac_cv_func_gethostname_noproto+set}" = set; then
21330 echo $ECHO_N "(cached) $ECHO_C" >&6
21332 cat >conftest.$ac_ext <<_ACEOF
21333 #line 21333 "configure"
21334 #include "confdefs.h"
21335 #include <unistd.h>
21336 #ifdef F77_DUMMY_MAIN
21337 # ifdef __cplusplus
21340 int F77_DUMMY_MAIN() { return 1; }
21345 struct foo { int foo; } xx;
21346 extern int gethostname (struct foo*);
21353 rm -f conftest.$ac_objext
21354 if { (eval echo "$as_me:21354: \"$ac_compile\"") >&5
21355 (eval $ac_compile) 2>&5
21357 echo "$as_me:21357: \$? = $ac_status" >&5
21358 (exit $ac_status); } &&
21359 { ac_try='test -s conftest.$ac_objext'
21360 { (eval echo "$as_me:21360: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21363 echo "$as_me:21363: \$? = $ac_status" >&5
21364 (exit $ac_status); }; }; then
21365 eval "ac_cv_func_gethostname_noproto=yes"
21367 echo "$as_me: failed program was:" >&5
21368 cat conftest.$ac_ext >&5
21369 eval "ac_cv_func_gethostname_noproto=no"
21371 rm -f conftest.$ac_objext conftest.$ac_ext
21373 echo "$as_me:21373: result: $ac_cv_func_gethostname_noproto" >&5
21374 echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
21375 if test "$ac_cv_func_gethostname_noproto" = yes; then
21377 cat >>confdefs.h <<\_ACEOF
21378 #define NEED_GETHOSTNAME_PROTO 1
21385 if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
21386 echo "$as_me:21386: checking if mkstemp needs a prototype" >&5
21387 echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
21388 if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
21389 echo $ECHO_N "(cached) $ECHO_C" >&6
21391 cat >conftest.$ac_ext <<_ACEOF
21392 #line 21392 "configure"
21393 #include "confdefs.h"
21394 #include <unistd.h>
21395 #ifdef F77_DUMMY_MAIN
21396 # ifdef __cplusplus
21399 int F77_DUMMY_MAIN() { return 1; }
21404 struct foo { int foo; } xx;
21405 extern int mkstemp (struct foo*);
21412 rm -f conftest.$ac_objext
21413 if { (eval echo "$as_me:21413: \"$ac_compile\"") >&5
21414 (eval $ac_compile) 2>&5
21416 echo "$as_me:21416: \$? = $ac_status" >&5
21417 (exit $ac_status); } &&
21418 { ac_try='test -s conftest.$ac_objext'
21419 { (eval echo "$as_me:21419: \"$ac_try\"") >&5
21420 (eval $ac_try) 2>&5
21422 echo "$as_me:21422: \$? = $ac_status" >&5
21423 (exit $ac_status); }; }; then
21424 eval "ac_cv_func_mkstemp_noproto=yes"
21426 echo "$as_me: failed program was:" >&5
21427 cat conftest.$ac_ext >&5
21428 eval "ac_cv_func_mkstemp_noproto=no"
21430 rm -f conftest.$ac_objext conftest.$ac_ext
21432 echo "$as_me:21432: result: $ac_cv_func_mkstemp_noproto" >&5
21433 echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
21434 if test "$ac_cv_func_mkstemp_noproto" = yes; then
21436 cat >>confdefs.h <<\_ACEOF
21437 #define NEED_MKSTEMP_PROTO 1
21444 if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
21445 echo "$as_me:21445: checking if getusershell needs a prototype" >&5
21446 echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
21447 if test "${ac_cv_func_getusershell_noproto+set}" = set; then
21448 echo $ECHO_N "(cached) $ECHO_C" >&6
21450 cat >conftest.$ac_ext <<_ACEOF
21451 #line 21451 "configure"
21452 #include "confdefs.h"
21453 #include <unistd.h>
21454 #ifdef F77_DUMMY_MAIN
21455 # ifdef __cplusplus
21458 int F77_DUMMY_MAIN() { return 1; }
21463 struct foo { int foo; } xx;
21464 extern int getusershell (struct foo*);
21471 rm -f conftest.$ac_objext
21472 if { (eval echo "$as_me:21472: \"$ac_compile\"") >&5
21473 (eval $ac_compile) 2>&5
21475 echo "$as_me:21475: \$? = $ac_status" >&5
21476 (exit $ac_status); } &&
21477 { ac_try='test -s conftest.$ac_objext'
21478 { (eval echo "$as_me:21478: \"$ac_try\"") >&5
21479 (eval $ac_try) 2>&5
21481 echo "$as_me:21481: \$? = $ac_status" >&5
21482 (exit $ac_status); }; }; then
21483 eval "ac_cv_func_getusershell_noproto=yes"
21485 echo "$as_me: failed program was:" >&5
21486 cat conftest.$ac_ext >&5
21487 eval "ac_cv_func_getusershell_noproto=no"
21489 rm -f conftest.$ac_objext conftest.$ac_ext
21491 echo "$as_me:21491: result: $ac_cv_func_getusershell_noproto" >&5
21492 echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
21493 if test "$ac_cv_func_getusershell_noproto" = yes; then
21495 cat >>confdefs.h <<\_ACEOF
21496 #define NEED_GETUSERSHELL_PROTO 1
21504 if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
21505 echo "$as_me:21505: checking if inet_aton needs a prototype" >&5
21506 echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
21507 if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
21508 echo $ECHO_N "(cached) $ECHO_C" >&6
21510 cat >conftest.$ac_ext <<_ACEOF
21511 #line 21511 "configure"
21512 #include "confdefs.h"
21514 #ifdef HAVE_SYS_TYPES_H
21515 #include <sys/types.h>
21517 #ifdef HAVE_SYS_SOCKET_H
21518 #include <sys/socket.h>
21520 #ifdef HAVE_NETINET_IN_H
21521 #include <netinet/in.h>
21523 #ifdef HAVE_ARPA_INET_H
21524 #include <arpa/inet.h>
21526 #ifdef F77_DUMMY_MAIN
21527 # ifdef __cplusplus
21530 int F77_DUMMY_MAIN() { return 1; }
21535 struct foo { int foo; } xx;
21536 extern int inet_aton (struct foo*);
21543 rm -f conftest.$ac_objext
21544 if { (eval echo "$as_me:21544: \"$ac_compile\"") >&5
21545 (eval $ac_compile) 2>&5
21547 echo "$as_me:21547: \$? = $ac_status" >&5
21548 (exit $ac_status); } &&
21549 { ac_try='test -s conftest.$ac_objext'
21550 { (eval echo "$as_me:21550: \"$ac_try\"") >&5
21551 (eval $ac_try) 2>&5
21553 echo "$as_me:21553: \$? = $ac_status" >&5
21554 (exit $ac_status); }; }; then
21555 eval "ac_cv_func_inet_aton_noproto=yes"
21557 echo "$as_me: failed program was:" >&5
21558 cat conftest.$ac_ext >&5
21559 eval "ac_cv_func_inet_aton_noproto=no"
21561 rm -f conftest.$ac_objext conftest.$ac_ext
21563 echo "$as_me:21563: result: $ac_cv_func_inet_aton_noproto" >&5
21564 echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
21565 if test "$ac_cv_func_inet_aton_noproto" = yes; then
21567 cat >>confdefs.h <<\_ACEOF
21568 #define NEED_INET_ATON_PROTO 1
21578 echo "$as_me:21578: checking for crypt" >&5
21579 echo $ECHO_N "checking for crypt... $ECHO_C" >&6
21580 if test "${ac_cv_funclib_crypt+set}" = set; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21584 if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
21585 ac_save_LIBS="$LIBS"
21586 for ac_lib in "" crypt; do
21592 *) ac_lib="-l$ac_lib" ;;
21594 LIBS=" $ac_lib $ac_save_LIBS"
21595 cat >conftest.$ac_ext <<_ACEOF
21596 #line 21596 "configure"
21597 #include "confdefs.h"
21599 #ifdef F77_DUMMY_MAIN
21600 # ifdef __cplusplus
21603 int F77_DUMMY_MAIN() { return 1; }
21613 rm -f conftest.$ac_objext conftest$ac_exeext
21614 if { (eval echo "$as_me:21614: \"$ac_link\"") >&5
21615 (eval $ac_link) 2>&5
21617 echo "$as_me:21617: \$? = $ac_status" >&5
21618 (exit $ac_status); } &&
21619 { ac_try='test -s conftest$ac_exeext'
21620 { (eval echo "$as_me:21620: \"$ac_try\"") >&5
21621 (eval $ac_try) 2>&5
21623 echo "$as_me:21623: \$? = $ac_status" >&5
21624 (exit $ac_status); }; }; then
21625 eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
21627 echo "$as_me: failed program was:" >&5
21628 cat conftest.$ac_ext >&5
21630 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21632 eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
21633 LIBS="$ac_save_LIBS"
21639 eval "ac_res=\$ac_cv_funclib_crypt"
21643 for ac_func in crypt
21645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21646 echo "$as_me:21646: checking for $ac_func" >&5
21647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21648 if eval "test \"\${$as_ac_var+set}\" = set"; then
21649 echo $ECHO_N "(cached) $ECHO_C" >&6
21651 cat >conftest.$ac_ext <<_ACEOF
21652 #line 21652 "configure"
21653 #include "confdefs.h"
21654 /* System header to define __stub macros and hopefully few prototypes,
21655 which can conflict with char $ac_func (); below. */
21656 #include <assert.h>
21657 /* Override any gcc2 internal prototype to avoid an error. */
21661 /* We use char because int might match the return type of a gcc2
21662 builtin and then its argument prototype would still apply. */
21666 #ifdef F77_DUMMY_MAIN
21667 # ifdef __cplusplus
21670 int F77_DUMMY_MAIN() { return 1; }
21675 /* The GNU C library defines this for functions which it implements
21676 to always fail with ENOSYS. Some functions are actually named
21677 something starting with __ and the normal name is an alias. */
21678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21688 rm -f conftest.$ac_objext conftest$ac_exeext
21689 if { (eval echo "$as_me:21689: \"$ac_link\"") >&5
21690 (eval $ac_link) 2>&5
21692 echo "$as_me:21692: \$? = $ac_status" >&5
21693 (exit $ac_status); } &&
21694 { ac_try='test -s conftest$ac_exeext'
21695 { (eval echo "$as_me:21695: \"$ac_try\"") >&5
21696 (eval $ac_try) 2>&5
21698 echo "$as_me:21698: \$? = $ac_status" >&5
21699 (exit $ac_status); }; }; then
21700 eval "$as_ac_var=yes"
21702 echo "$as_me: failed program was:" >&5
21703 cat conftest.$ac_ext >&5
21704 eval "$as_ac_var=no"
21706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21708 echo "$as_me:21708: result: `eval echo '${'$as_ac_var'}'`" >&5
21709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21710 if test `eval echo '${'$as_ac_var'}'` = yes; then
21711 cat >>confdefs.h <<_ACEOF
21712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21720 eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
21721 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
21722 eval "LIB_crypt=$ac_res"
21726 eval "ac_cv_func_crypt=yes"
21728 cat >>confdefs.h <<_ACEOF
21729 #define $ac_tr_func 1
21732 echo "$as_me:21732: result: yes" >&5
21733 echo "${ECHO_T}yes" >&6
21736 eval "ac_cv_func_crypt=no"
21738 echo "$as_me:21738: result: no" >&5
21739 echo "${ECHO_T}no" >&6
21742 eval "ac_cv_func_crypt=yes"
21743 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
21744 cat >>confdefs.h <<_ACEOF
21745 #define $ac_tr_func 1
21748 cat >>confdefs.h <<_ACEOF
21749 #define $ac_tr_lib 1
21752 echo "$as_me:21752: result: yes, in $ac_res" >&5
21753 echo "${ECHO_T}yes, in $ac_res" >&6
21762 echo "$as_me:21762: checking if gethostbyname is compatible with system prototype" >&5
21763 echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
21764 if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
21765 echo $ECHO_N "(cached) $ECHO_C" >&6
21767 cat >conftest.$ac_ext <<_ACEOF
21768 #line 21768 "configure"
21769 #include "confdefs.h"
21771 #ifdef HAVE_SYS_TYPES_H
21772 #include <sys/types.h>
21774 #ifdef HAVE_SYS_SOCKET_H
21775 #include <sys/socket.h>
21777 #ifdef HAVE_NETINET_IN_H
21778 #include <netinet/in.h>
21780 #ifdef HAVE_ARPA_INET_H
21781 #include <arpa/inet.h>
21783 #ifdef HAVE_NETDB_H
21787 #ifdef F77_DUMMY_MAIN
21788 # ifdef __cplusplus
21791 int F77_DUMMY_MAIN() { return 1; }
21796 struct hostent *gethostbyname(const char *);
21801 rm -f conftest.$ac_objext
21802 if { (eval echo "$as_me:21802: \"$ac_compile\"") >&5
21803 (eval $ac_compile) 2>&5
21805 echo "$as_me:21805: \$? = $ac_status" >&5
21806 (exit $ac_status); } &&
21807 { ac_try='test -s conftest.$ac_objext'
21808 { (eval echo "$as_me:21808: \"$ac_try\"") >&5
21809 (eval $ac_try) 2>&5
21811 echo "$as_me:21811: \$? = $ac_status" >&5
21812 (exit $ac_status); }; }; then
21813 eval "ac_cv_func_gethostbyname_proto_compat=yes"
21815 echo "$as_me: failed program was:" >&5
21816 cat conftest.$ac_ext >&5
21817 eval "ac_cv_func_gethostbyname_proto_compat=no"
21819 rm -f conftest.$ac_objext conftest.$ac_ext
21821 echo "$as_me:21821: result: $ac_cv_func_gethostbyname_proto_compat" >&5
21822 echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
21824 if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
21826 cat >>confdefs.h <<\_ACEOF
21827 #define GETHOSTBYNAME_PROTO_COMPATIBLE 1
21835 echo "$as_me:21835: checking if gethostbyaddr is compatible with system prototype" >&5
21836 echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
21837 if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
21838 echo $ECHO_N "(cached) $ECHO_C" >&6
21840 cat >conftest.$ac_ext <<_ACEOF
21841 #line 21841 "configure"
21842 #include "confdefs.h"
21844 #ifdef HAVE_SYS_TYPES_H
21845 #include <sys/types.h>
21847 #ifdef HAVE_SYS_SOCKET_H
21848 #include <sys/socket.h>
21850 #ifdef HAVE_NETINET_IN_H
21851 #include <netinet/in.h>
21853 #ifdef HAVE_ARPA_INET_H
21854 #include <arpa/inet.h>
21856 #ifdef HAVE_NETDB_H
21860 #ifdef F77_DUMMY_MAIN
21861 # ifdef __cplusplus
21864 int F77_DUMMY_MAIN() { return 1; }
21869 struct hostent *gethostbyaddr(const void *, size_t, int);
21874 rm -f conftest.$ac_objext
21875 if { (eval echo "$as_me:21875: \"$ac_compile\"") >&5
21876 (eval $ac_compile) 2>&5
21878 echo "$as_me:21878: \$? = $ac_status" >&5
21879 (exit $ac_status); } &&
21880 { ac_try='test -s conftest.$ac_objext'
21881 { (eval echo "$as_me:21881: \"$ac_try\"") >&5
21882 (eval $ac_try) 2>&5
21884 echo "$as_me:21884: \$? = $ac_status" >&5
21885 (exit $ac_status); }; }; then
21886 eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
21888 echo "$as_me: failed program was:" >&5
21889 cat conftest.$ac_ext >&5
21890 eval "ac_cv_func_gethostbyaddr_proto_compat=no"
21892 rm -f conftest.$ac_objext conftest.$ac_ext
21894 echo "$as_me:21894: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
21895 echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
21897 if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
21899 cat >>confdefs.h <<\_ACEOF
21900 #define GETHOSTBYADDR_PROTO_COMPATIBLE 1
21908 echo "$as_me:21908: checking if getservbyname is compatible with system prototype" >&5
21909 echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
21910 if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
21911 echo $ECHO_N "(cached) $ECHO_C" >&6
21913 cat >conftest.$ac_ext <<_ACEOF
21914 #line 21914 "configure"
21915 #include "confdefs.h"
21917 #ifdef HAVE_SYS_TYPES_H
21918 #include <sys/types.h>
21920 #ifdef HAVE_SYS_SOCKET_H
21921 #include <sys/socket.h>
21923 #ifdef HAVE_NETINET_IN_H
21924 #include <netinet/in.h>
21926 #ifdef HAVE_ARPA_INET_H
21927 #include <arpa/inet.h>
21929 #ifdef HAVE_NETDB_H
21933 #ifdef F77_DUMMY_MAIN
21934 # ifdef __cplusplus
21937 int F77_DUMMY_MAIN() { return 1; }
21942 struct servent *getservbyname(const char *, const char *);
21947 rm -f conftest.$ac_objext
21948 if { (eval echo "$as_me:21948: \"$ac_compile\"") >&5
21949 (eval $ac_compile) 2>&5
21951 echo "$as_me:21951: \$? = $ac_status" >&5
21952 (exit $ac_status); } &&
21953 { ac_try='test -s conftest.$ac_objext'
21954 { (eval echo "$as_me:21954: \"$ac_try\"") >&5
21955 (eval $ac_try) 2>&5
21957 echo "$as_me:21957: \$? = $ac_status" >&5
21958 (exit $ac_status); }; }; then
21959 eval "ac_cv_func_getservbyname_proto_compat=yes"
21961 echo "$as_me: failed program was:" >&5
21962 cat conftest.$ac_ext >&5
21963 eval "ac_cv_func_getservbyname_proto_compat=no"
21965 rm -f conftest.$ac_objext conftest.$ac_ext
21967 echo "$as_me:21967: result: $ac_cv_func_getservbyname_proto_compat" >&5
21968 echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
21970 if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
21972 cat >>confdefs.h <<\_ACEOF
21973 #define GETSERVBYNAME_PROTO_COMPATIBLE 1
21981 echo "$as_me:21981: checking if getsockname is compatible with system prototype" >&5
21982 echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
21983 if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
21984 echo $ECHO_N "(cached) $ECHO_C" >&6
21986 cat >conftest.$ac_ext <<_ACEOF
21987 #line 21987 "configure"
21988 #include "confdefs.h"
21990 #ifdef HAVE_SYS_TYPES_H
21991 #include <sys/types.h>
21993 #ifdef HAVE_SYS_SOCKET_H
21994 #include <sys/socket.h>
21997 #ifdef F77_DUMMY_MAIN
21998 # ifdef __cplusplus
22001 int F77_DUMMY_MAIN() { return 1; }
22006 int getsockname(int, struct sockaddr*, socklen_t*);
22011 rm -f conftest.$ac_objext
22012 if { (eval echo "$as_me:22012: \"$ac_compile\"") >&5
22013 (eval $ac_compile) 2>&5
22015 echo "$as_me:22015: \$? = $ac_status" >&5
22016 (exit $ac_status); } &&
22017 { ac_try='test -s conftest.$ac_objext'
22018 { (eval echo "$as_me:22018: \"$ac_try\"") >&5
22019 (eval $ac_try) 2>&5
22021 echo "$as_me:22021: \$? = $ac_status" >&5
22022 (exit $ac_status); }; }; then
22023 eval "ac_cv_func_getsockname_proto_compat=yes"
22025 echo "$as_me: failed program was:" >&5
22026 cat conftest.$ac_ext >&5
22027 eval "ac_cv_func_getsockname_proto_compat=no"
22029 rm -f conftest.$ac_objext conftest.$ac_ext
22031 echo "$as_me:22031: result: $ac_cv_func_getsockname_proto_compat" >&5
22032 echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
22034 if test "$ac_cv_func_getsockname_proto_compat" = yes; then
22036 cat >>confdefs.h <<\_ACEOF
22037 #define GETSOCKNAME_PROTO_COMPATIBLE 1
22045 echo "$as_me:22045: checking if openlog is compatible with system prototype" >&5
22046 echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
22047 if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
22048 echo $ECHO_N "(cached) $ECHO_C" >&6
22050 cat >conftest.$ac_ext <<_ACEOF
22051 #line 22051 "configure"
22052 #include "confdefs.h"
22054 #ifdef HAVE_SYSLOG_H
22055 #include <syslog.h>
22058 #ifdef F77_DUMMY_MAIN
22059 # ifdef __cplusplus
22062 int F77_DUMMY_MAIN() { return 1; }
22067 void openlog(const char *, int, int);
22072 rm -f conftest.$ac_objext
22073 if { (eval echo "$as_me:22073: \"$ac_compile\"") >&5
22074 (eval $ac_compile) 2>&5
22076 echo "$as_me:22076: \$? = $ac_status" >&5
22077 (exit $ac_status); } &&
22078 { ac_try='test -s conftest.$ac_objext'
22079 { (eval echo "$as_me:22079: \"$ac_try\"") >&5
22080 (eval $ac_try) 2>&5
22082 echo "$as_me:22082: \$? = $ac_status" >&5
22083 (exit $ac_status); }; }; then
22084 eval "ac_cv_func_openlog_proto_compat=yes"
22086 echo "$as_me: failed program was:" >&5
22087 cat conftest.$ac_ext >&5
22088 eval "ac_cv_func_openlog_proto_compat=no"
22090 rm -f conftest.$ac_objext conftest.$ac_ext
22092 echo "$as_me:22092: result: $ac_cv_func_openlog_proto_compat" >&5
22093 echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
22095 if test "$ac_cv_func_openlog_proto_compat" = yes; then
22097 cat >>confdefs.h <<\_ACEOF
22098 #define OPENLOG_PROTO_COMPATIBLE 1
22106 if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
22107 echo "$as_me:22107: checking if crypt needs a prototype" >&5
22108 echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
22109 if test "${ac_cv_func_crypt_noproto+set}" = set; then
22110 echo $ECHO_N "(cached) $ECHO_C" >&6
22112 cat >conftest.$ac_ext <<_ACEOF
22113 #line 22113 "configure"
22114 #include "confdefs.h"
22116 #ifdef HAVE_CRYPT_H
22119 #ifdef HAVE_UNISTD_H
22120 #include <unistd.h>
22123 #ifdef F77_DUMMY_MAIN
22124 # ifdef __cplusplus
22127 int F77_DUMMY_MAIN() { return 1; }
22132 struct foo { int foo; } xx;
22133 extern int crypt (struct foo*);
22140 rm -f conftest.$ac_objext
22141 if { (eval echo "$as_me:22141: \"$ac_compile\"") >&5
22142 (eval $ac_compile) 2>&5
22144 echo "$as_me:22144: \$? = $ac_status" >&5
22145 (exit $ac_status); } &&
22146 { ac_try='test -s conftest.$ac_objext'
22147 { (eval echo "$as_me:22147: \"$ac_try\"") >&5
22148 (eval $ac_try) 2>&5
22150 echo "$as_me:22150: \$? = $ac_status" >&5
22151 (exit $ac_status); }; }; then
22152 eval "ac_cv_func_crypt_noproto=yes"
22154 echo "$as_me: failed program was:" >&5
22155 cat conftest.$ac_ext >&5
22156 eval "ac_cv_func_crypt_noproto=no"
22158 rm -f conftest.$ac_objext conftest.$ac_ext
22160 echo "$as_me:22160: result: $ac_cv_func_crypt_noproto" >&5
22161 echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
22162 if test "$ac_cv_func_crypt_noproto" = yes; then
22164 cat >>confdefs.h <<\_ACEOF
22165 #define NEED_CRYPT_PROTO 1
22174 echo "$as_me:22174: checking for h_errno" >&5
22175 echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
22176 if test "${ac_cv_var_h_errno+set}" = set; then
22177 echo $ECHO_N "(cached) $ECHO_C" >&6
22180 cat >conftest.$ac_ext <<_ACEOF
22181 #line 22181 "configure"
22182 #include "confdefs.h"
22183 extern int h_errno;
22184 int foo() { return h_errno; }
22185 #ifdef F77_DUMMY_MAIN
22186 # ifdef __cplusplus
22189 int F77_DUMMY_MAIN() { return 1; }
22199 rm -f conftest.$ac_objext conftest$ac_exeext
22200 if { (eval echo "$as_me:22200: \"$ac_link\"") >&5
22201 (eval $ac_link) 2>&5
22203 echo "$as_me:22203: \$? = $ac_status" >&5
22204 (exit $ac_status); } &&
22205 { ac_try='test -s conftest$ac_exeext'
22206 { (eval echo "$as_me:22206: \"$ac_try\"") >&5
22207 (eval $ac_try) 2>&5
22209 echo "$as_me:22209: \$? = $ac_status" >&5
22210 (exit $ac_status); }; }; then
22211 ac_cv_var_h_errno=yes
22213 echo "$as_me: failed program was:" >&5
22214 cat conftest.$ac_ext >&5
22215 ac_cv_var_h_errno=no
22217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22221 ac_foo=`eval echo \\$ac_cv_var_h_errno`
22222 echo "$as_me:22222: result: $ac_foo" >&5
22223 echo "${ECHO_T}$ac_foo" >&6
22224 if test "$ac_foo" = yes; then
22226 cat >>confdefs.h <<_ACEOF
22227 #define HAVE_H_ERRNO 1
22231 echo "$as_me:22231: checking if h_errno is properly declared" >&5
22232 echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
22233 if test "${ac_cv_var_h_errno_declaration+set}" = set; then
22234 echo $ECHO_N "(cached) $ECHO_C" >&6
22237 cat >conftest.$ac_ext <<_ACEOF
22238 #line 22238 "configure"
22239 #include "confdefs.h"
22240 #ifdef HAVE_SYS_TYPES_H
22241 #include <sys/types.h>
22243 #ifdef HAVE_NETDB_H
22246 extern struct { int foo; } h_errno;
22247 #ifdef F77_DUMMY_MAIN
22248 # ifdef __cplusplus
22251 int F77_DUMMY_MAIN() { return 1; }
22261 rm -f conftest.$ac_objext
22262 if { (eval echo "$as_me:22262: \"$ac_compile\"") >&5
22263 (eval $ac_compile) 2>&5
22265 echo "$as_me:22265: \$? = $ac_status" >&5
22266 (exit $ac_status); } &&
22267 { ac_try='test -s conftest.$ac_objext'
22268 { (eval echo "$as_me:22268: \"$ac_try\"") >&5
22269 (eval $ac_try) 2>&5
22271 echo "$as_me:22271: \$? = $ac_status" >&5
22272 (exit $ac_status); }; }; then
22273 eval "ac_cv_var_h_errno_declaration=no"
22275 echo "$as_me: failed program was:" >&5
22276 cat conftest.$ac_ext >&5
22277 eval "ac_cv_var_h_errno_declaration=yes"
22279 rm -f conftest.$ac_objext conftest.$ac_ext
22286 echo "$as_me:22286: result: $ac_cv_var_h_errno_declaration" >&5
22287 echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
22288 if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
22290 cat >>confdefs.h <<\_ACEOF
22291 #define HAVE_H_ERRNO_DECLARATION 1
22301 echo "$as_me:22301: checking for h_errlist" >&5
22302 echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
22303 if test "${ac_cv_var_h_errlist+set}" = set; then
22304 echo $ECHO_N "(cached) $ECHO_C" >&6
22307 cat >conftest.$ac_ext <<_ACEOF
22308 #line 22308 "configure"
22309 #include "confdefs.h"
22310 extern int h_errlist;
22311 int foo() { return h_errlist; }
22312 #ifdef F77_DUMMY_MAIN
22313 # ifdef __cplusplus
22316 int F77_DUMMY_MAIN() { return 1; }
22326 rm -f conftest.$ac_objext conftest$ac_exeext
22327 if { (eval echo "$as_me:22327: \"$ac_link\"") >&5
22328 (eval $ac_link) 2>&5
22330 echo "$as_me:22330: \$? = $ac_status" >&5
22331 (exit $ac_status); } &&
22332 { ac_try='test -s conftest$ac_exeext'
22333 { (eval echo "$as_me:22333: \"$ac_try\"") >&5
22334 (eval $ac_try) 2>&5
22336 echo "$as_me:22336: \$? = $ac_status" >&5
22337 (exit $ac_status); }; }; then
22338 ac_cv_var_h_errlist=yes
22340 echo "$as_me: failed program was:" >&5
22341 cat conftest.$ac_ext >&5
22342 ac_cv_var_h_errlist=no
22344 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22348 ac_foo=`eval echo \\$ac_cv_var_h_errlist`
22349 echo "$as_me:22349: result: $ac_foo" >&5
22350 echo "${ECHO_T}$ac_foo" >&6
22351 if test "$ac_foo" = yes; then
22353 cat >>confdefs.h <<_ACEOF
22354 #define HAVE_H_ERRLIST 1
22358 echo "$as_me:22358: checking if h_errlist is properly declared" >&5
22359 echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
22360 if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
22361 echo $ECHO_N "(cached) $ECHO_C" >&6
22364 cat >conftest.$ac_ext <<_ACEOF
22365 #line 22365 "configure"
22366 #include "confdefs.h"
22367 #ifdef HAVE_NETDB_H
22370 extern struct { int foo; } h_errlist;
22371 #ifdef F77_DUMMY_MAIN
22372 # ifdef __cplusplus
22375 int F77_DUMMY_MAIN() { return 1; }
22385 rm -f conftest.$ac_objext
22386 if { (eval echo "$as_me:22386: \"$ac_compile\"") >&5
22387 (eval $ac_compile) 2>&5
22389 echo "$as_me:22389: \$? = $ac_status" >&5
22390 (exit $ac_status); } &&
22391 { ac_try='test -s conftest.$ac_objext'
22392 { (eval echo "$as_me:22392: \"$ac_try\"") >&5
22393 (eval $ac_try) 2>&5
22395 echo "$as_me:22395: \$? = $ac_status" >&5
22396 (exit $ac_status); }; }; then
22397 eval "ac_cv_var_h_errlist_declaration=no"
22399 echo "$as_me: failed program was:" >&5
22400 cat conftest.$ac_ext >&5
22401 eval "ac_cv_var_h_errlist_declaration=yes"
22403 rm -f conftest.$ac_objext conftest.$ac_ext
22410 echo "$as_me:22410: result: $ac_cv_var_h_errlist_declaration" >&5
22411 echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
22412 if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
22414 cat >>confdefs.h <<\_ACEOF
22415 #define HAVE_H_ERRLIST_DECLARATION 1
22425 echo "$as_me:22425: checking for h_nerr" >&5
22426 echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
22427 if test "${ac_cv_var_h_nerr+set}" = set; then
22428 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 cat >conftest.$ac_ext <<_ACEOF
22432 #line 22432 "configure"
22433 #include "confdefs.h"
22435 int foo() { return h_nerr; }
22436 #ifdef F77_DUMMY_MAIN
22437 # ifdef __cplusplus
22440 int F77_DUMMY_MAIN() { return 1; }
22450 rm -f conftest.$ac_objext conftest$ac_exeext
22451 if { (eval echo "$as_me:22451: \"$ac_link\"") >&5
22452 (eval $ac_link) 2>&5
22454 echo "$as_me:22454: \$? = $ac_status" >&5
22455 (exit $ac_status); } &&
22456 { ac_try='test -s conftest$ac_exeext'
22457 { (eval echo "$as_me:22457: \"$ac_try\"") >&5
22458 (eval $ac_try) 2>&5
22460 echo "$as_me:22460: \$? = $ac_status" >&5
22461 (exit $ac_status); }; }; then
22462 ac_cv_var_h_nerr=yes
22464 echo "$as_me: failed program was:" >&5
22465 cat conftest.$ac_ext >&5
22466 ac_cv_var_h_nerr=no
22468 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22472 ac_foo=`eval echo \\$ac_cv_var_h_nerr`
22473 echo "$as_me:22473: result: $ac_foo" >&5
22474 echo "${ECHO_T}$ac_foo" >&6
22475 if test "$ac_foo" = yes; then
22477 cat >>confdefs.h <<_ACEOF
22478 #define HAVE_H_NERR 1
22482 echo "$as_me:22482: checking if h_nerr is properly declared" >&5
22483 echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
22484 if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
22485 echo $ECHO_N "(cached) $ECHO_C" >&6
22488 cat >conftest.$ac_ext <<_ACEOF
22489 #line 22489 "configure"
22490 #include "confdefs.h"
22491 #ifdef HAVE_NETDB_H
22494 extern struct { int foo; } h_nerr;
22495 #ifdef F77_DUMMY_MAIN
22496 # ifdef __cplusplus
22499 int F77_DUMMY_MAIN() { return 1; }
22509 rm -f conftest.$ac_objext
22510 if { (eval echo "$as_me:22510: \"$ac_compile\"") >&5
22511 (eval $ac_compile) 2>&5
22513 echo "$as_me:22513: \$? = $ac_status" >&5
22514 (exit $ac_status); } &&
22515 { ac_try='test -s conftest.$ac_objext'
22516 { (eval echo "$as_me:22516: \"$ac_try\"") >&5
22517 (eval $ac_try) 2>&5
22519 echo "$as_me:22519: \$? = $ac_status" >&5
22520 (exit $ac_status); }; }; then
22521 eval "ac_cv_var_h_nerr_declaration=no"
22523 echo "$as_me: failed program was:" >&5
22524 cat conftest.$ac_ext >&5
22525 eval "ac_cv_var_h_nerr_declaration=yes"
22527 rm -f conftest.$ac_objext conftest.$ac_ext
22534 echo "$as_me:22534: result: $ac_cv_var_h_nerr_declaration" >&5
22535 echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
22536 if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
22538 cat >>confdefs.h <<\_ACEOF
22539 #define HAVE_H_NERR_DECLARATION 1
22549 echo "$as_me:22549: checking for __progname" >&5
22550 echo $ECHO_N "checking for __progname... $ECHO_C" >&6
22551 if test "${ac_cv_var___progname+set}" = set; then
22552 echo $ECHO_N "(cached) $ECHO_C" >&6
22555 cat >conftest.$ac_ext <<_ACEOF
22556 #line 22556 "configure"
22557 #include "confdefs.h"
22558 extern int __progname;
22559 int foo() { return __progname; }
22560 #ifdef F77_DUMMY_MAIN
22561 # ifdef __cplusplus
22564 int F77_DUMMY_MAIN() { return 1; }
22574 rm -f conftest.$ac_objext conftest$ac_exeext
22575 if { (eval echo "$as_me:22575: \"$ac_link\"") >&5
22576 (eval $ac_link) 2>&5
22578 echo "$as_me:22578: \$? = $ac_status" >&5
22579 (exit $ac_status); } &&
22580 { ac_try='test -s conftest$ac_exeext'
22581 { (eval echo "$as_me:22581: \"$ac_try\"") >&5
22582 (eval $ac_try) 2>&5
22584 echo "$as_me:22584: \$? = $ac_status" >&5
22585 (exit $ac_status); }; }; then
22586 ac_cv_var___progname=yes
22588 echo "$as_me: failed program was:" >&5
22589 cat conftest.$ac_ext >&5
22590 ac_cv_var___progname=no
22592 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22596 ac_foo=`eval echo \\$ac_cv_var___progname`
22597 echo "$as_me:22597: result: $ac_foo" >&5
22598 echo "${ECHO_T}$ac_foo" >&6
22599 if test "$ac_foo" = yes; then
22601 cat >>confdefs.h <<_ACEOF
22602 #define HAVE___PROGNAME 1
22606 echo "$as_me:22606: checking if __progname is properly declared" >&5
22607 echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
22608 if test "${ac_cv_var___progname_declaration+set}" = set; then
22609 echo $ECHO_N "(cached) $ECHO_C" >&6
22612 cat >conftest.$ac_ext <<_ACEOF
22613 #line 22613 "configure"
22614 #include "confdefs.h"
22618 extern struct { int foo; } __progname;
22619 #ifdef F77_DUMMY_MAIN
22620 # ifdef __cplusplus
22623 int F77_DUMMY_MAIN() { return 1; }
22628 __progname.foo = 1;
22633 rm -f conftest.$ac_objext
22634 if { (eval echo "$as_me:22634: \"$ac_compile\"") >&5
22635 (eval $ac_compile) 2>&5
22637 echo "$as_me:22637: \$? = $ac_status" >&5
22638 (exit $ac_status); } &&
22639 { ac_try='test -s conftest.$ac_objext'
22640 { (eval echo "$as_me:22640: \"$ac_try\"") >&5
22641 (eval $ac_try) 2>&5
22643 echo "$as_me:22643: \$? = $ac_status" >&5
22644 (exit $ac_status); }; }; then
22645 eval "ac_cv_var___progname_declaration=no"
22647 echo "$as_me: failed program was:" >&5
22648 cat conftest.$ac_ext >&5
22649 eval "ac_cv_var___progname_declaration=yes"
22651 rm -f conftest.$ac_objext conftest.$ac_ext
22658 echo "$as_me:22658: result: $ac_cv_var___progname_declaration" >&5
22659 echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
22660 if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
22662 cat >>confdefs.h <<\_ACEOF
22663 #define HAVE___PROGNAME_DECLARATION 1
22673 echo "$as_me:22673: checking if optarg is properly declared" >&5
22674 echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
22675 if test "${ac_cv_var_optarg_declaration+set}" = set; then
22676 echo $ECHO_N "(cached) $ECHO_C" >&6
22679 cat >conftest.$ac_ext <<_ACEOF
22680 #line 22680 "configure"
22681 #include "confdefs.h"
22682 #include <stdlib.h>
22683 #ifdef HAVE_UNISTD_H
22684 #include <unistd.h>
22686 extern struct { int foo; } optarg;
22687 #ifdef F77_DUMMY_MAIN
22688 # ifdef __cplusplus
22691 int F77_DUMMY_MAIN() { return 1; }
22701 rm -f conftest.$ac_objext
22702 if { (eval echo "$as_me:22702: \"$ac_compile\"") >&5
22703 (eval $ac_compile) 2>&5
22705 echo "$as_me:22705: \$? = $ac_status" >&5
22706 (exit $ac_status); } &&
22707 { ac_try='test -s conftest.$ac_objext'
22708 { (eval echo "$as_me:22708: \"$ac_try\"") >&5
22709 (eval $ac_try) 2>&5
22711 echo "$as_me:22711: \$? = $ac_status" >&5
22712 (exit $ac_status); }; }; then
22713 eval "ac_cv_var_optarg_declaration=no"
22715 echo "$as_me: failed program was:" >&5
22716 cat conftest.$ac_ext >&5
22717 eval "ac_cv_var_optarg_declaration=yes"
22719 rm -f conftest.$ac_objext conftest.$ac_ext
22726 echo "$as_me:22726: result: $ac_cv_var_optarg_declaration" >&5
22727 echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
22728 if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
22730 cat >>confdefs.h <<\_ACEOF
22731 #define HAVE_OPTARG_DECLARATION 1
22738 echo "$as_me:22738: checking if optind is properly declared" >&5
22739 echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
22740 if test "${ac_cv_var_optind_declaration+set}" = set; then
22741 echo $ECHO_N "(cached) $ECHO_C" >&6
22744 cat >conftest.$ac_ext <<_ACEOF
22745 #line 22745 "configure"
22746 #include "confdefs.h"
22747 #include <stdlib.h>
22748 #ifdef HAVE_UNISTD_H
22749 #include <unistd.h>
22751 extern struct { int foo; } optind;
22752 #ifdef F77_DUMMY_MAIN
22753 # ifdef __cplusplus
22756 int F77_DUMMY_MAIN() { return 1; }
22766 rm -f conftest.$ac_objext
22767 if { (eval echo "$as_me:22767: \"$ac_compile\"") >&5
22768 (eval $ac_compile) 2>&5
22770 echo "$as_me:22770: \$? = $ac_status" >&5
22771 (exit $ac_status); } &&
22772 { ac_try='test -s conftest.$ac_objext'
22773 { (eval echo "$as_me:22773: \"$ac_try\"") >&5
22774 (eval $ac_try) 2>&5
22776 echo "$as_me:22776: \$? = $ac_status" >&5
22777 (exit $ac_status); }; }; then
22778 eval "ac_cv_var_optind_declaration=no"
22780 echo "$as_me: failed program was:" >&5
22781 cat conftest.$ac_ext >&5
22782 eval "ac_cv_var_optind_declaration=yes"
22784 rm -f conftest.$ac_objext conftest.$ac_ext
22791 echo "$as_me:22791: result: $ac_cv_var_optind_declaration" >&5
22792 echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
22793 if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
22795 cat >>confdefs.h <<\_ACEOF
22796 #define HAVE_OPTIND_DECLARATION 1
22803 echo "$as_me:22803: checking if opterr is properly declared" >&5
22804 echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
22805 if test "${ac_cv_var_opterr_declaration+set}" = set; then
22806 echo $ECHO_N "(cached) $ECHO_C" >&6
22809 cat >conftest.$ac_ext <<_ACEOF
22810 #line 22810 "configure"
22811 #include "confdefs.h"
22812 #include <stdlib.h>
22813 #ifdef HAVE_UNISTD_H
22814 #include <unistd.h>
22816 extern struct { int foo; } opterr;
22817 #ifdef F77_DUMMY_MAIN
22818 # ifdef __cplusplus
22821 int F77_DUMMY_MAIN() { return 1; }
22831 rm -f conftest.$ac_objext
22832 if { (eval echo "$as_me:22832: \"$ac_compile\"") >&5
22833 (eval $ac_compile) 2>&5
22835 echo "$as_me:22835: \$? = $ac_status" >&5
22836 (exit $ac_status); } &&
22837 { ac_try='test -s conftest.$ac_objext'
22838 { (eval echo "$as_me:22838: \"$ac_try\"") >&5
22839 (eval $ac_try) 2>&5
22841 echo "$as_me:22841: \$? = $ac_status" >&5
22842 (exit $ac_status); }; }; then
22843 eval "ac_cv_var_opterr_declaration=no"
22845 echo "$as_me: failed program was:" >&5
22846 cat conftest.$ac_ext >&5
22847 eval "ac_cv_var_opterr_declaration=yes"
22849 rm -f conftest.$ac_objext conftest.$ac_ext
22856 echo "$as_me:22856: result: $ac_cv_var_opterr_declaration" >&5
22857 echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
22858 if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
22860 cat >>confdefs.h <<\_ACEOF
22861 #define HAVE_OPTERR_DECLARATION 1
22868 echo "$as_me:22868: checking if optopt is properly declared" >&5
22869 echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
22870 if test "${ac_cv_var_optopt_declaration+set}" = set; then
22871 echo $ECHO_N "(cached) $ECHO_C" >&6
22874 cat >conftest.$ac_ext <<_ACEOF
22875 #line 22875 "configure"
22876 #include "confdefs.h"
22877 #include <stdlib.h>
22878 #ifdef HAVE_UNISTD_H
22879 #include <unistd.h>
22881 extern struct { int foo; } optopt;
22882 #ifdef F77_DUMMY_MAIN
22883 # ifdef __cplusplus
22886 int F77_DUMMY_MAIN() { return 1; }
22896 rm -f conftest.$ac_objext
22897 if { (eval echo "$as_me:22897: \"$ac_compile\"") >&5
22898 (eval $ac_compile) 2>&5
22900 echo "$as_me:22900: \$? = $ac_status" >&5
22901 (exit $ac_status); } &&
22902 { ac_try='test -s conftest.$ac_objext'
22903 { (eval echo "$as_me:22903: \"$ac_try\"") >&5
22904 (eval $ac_try) 2>&5
22906 echo "$as_me:22906: \$? = $ac_status" >&5
22907 (exit $ac_status); }; }; then
22908 eval "ac_cv_var_optopt_declaration=no"
22910 echo "$as_me: failed program was:" >&5
22911 cat conftest.$ac_ext >&5
22912 eval "ac_cv_var_optopt_declaration=yes"
22914 rm -f conftest.$ac_objext conftest.$ac_ext
22921 echo "$as_me:22921: result: $ac_cv_var_optopt_declaration" >&5
22922 echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
22923 if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
22925 cat >>confdefs.h <<\_ACEOF
22926 #define HAVE_OPTOPT_DECLARATION 1
22934 echo "$as_me:22934: checking if environ is properly declared" >&5
22935 echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
22936 if test "${ac_cv_var_environ_declaration+set}" = set; then
22937 echo $ECHO_N "(cached) $ECHO_C" >&6
22940 cat >conftest.$ac_ext <<_ACEOF
22941 #line 22941 "configure"
22942 #include "confdefs.h"
22943 #include <stdlib.h>
22944 extern struct { int foo; } environ;
22945 #ifdef F77_DUMMY_MAIN
22946 # ifdef __cplusplus
22949 int F77_DUMMY_MAIN() { return 1; }
22959 rm -f conftest.$ac_objext
22960 if { (eval echo "$as_me:22960: \"$ac_compile\"") >&5
22961 (eval $ac_compile) 2>&5
22963 echo "$as_me:22963: \$? = $ac_status" >&5
22964 (exit $ac_status); } &&
22965 { ac_try='test -s conftest.$ac_objext'
22966 { (eval echo "$as_me:22966: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22969 echo "$as_me:22969: \$? = $ac_status" >&5
22970 (exit $ac_status); }; }; then
22971 eval "ac_cv_var_environ_declaration=no"
22973 echo "$as_me: failed program was:" >&5
22974 cat conftest.$ac_ext >&5
22975 eval "ac_cv_var_environ_declaration=yes"
22977 rm -f conftest.$ac_objext conftest.$ac_ext
22984 echo "$as_me:22984: result: $ac_cv_var_environ_declaration" >&5
22985 echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
22986 if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
22988 cat >>confdefs.h <<\_ACEOF
22989 #define HAVE_ENVIRON_DECLARATION 1
22999 echo "$as_me:22999: checking for tm_gmtoff in struct tm" >&5
23000 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
23001 if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
23002 echo $ECHO_N "(cached) $ECHO_C" >&6
23005 cat >conftest.$ac_ext <<_ACEOF
23006 #line 23006 "configure"
23007 #include "confdefs.h"
23009 #ifdef F77_DUMMY_MAIN
23010 # ifdef __cplusplus
23013 int F77_DUMMY_MAIN() { return 1; }
23018 struct tm x; x.tm_gmtoff;
23023 rm -f conftest.$ac_objext
23024 if { (eval echo "$as_me:23024: \"$ac_compile\"") >&5
23025 (eval $ac_compile) 2>&5
23027 echo "$as_me:23027: \$? = $ac_status" >&5
23028 (exit $ac_status); } &&
23029 { ac_try='test -s conftest.$ac_objext'
23030 { (eval echo "$as_me:23030: \"$ac_try\"") >&5
23031 (eval $ac_try) 2>&5
23033 echo "$as_me:23033: \$? = $ac_status" >&5
23034 (exit $ac_status); }; }; then
23035 ac_cv_type_struct_tm_tm_gmtoff=yes
23037 echo "$as_me: failed program was:" >&5
23038 cat conftest.$ac_ext >&5
23039 ac_cv_type_struct_tm_tm_gmtoff=no
23041 rm -f conftest.$ac_objext conftest.$ac_ext
23043 echo "$as_me:23043: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
23044 echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
23045 if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
23048 cat >>confdefs.h <<\_ACEOF
23049 #define HAVE_STRUCT_TM_TM_GMTOFF 1
23058 echo "$as_me:23058: checking for tm_zone in struct tm" >&5
23059 echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
23060 if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23064 cat >conftest.$ac_ext <<_ACEOF
23065 #line 23065 "configure"
23066 #include "confdefs.h"
23068 #ifdef F77_DUMMY_MAIN
23069 # ifdef __cplusplus
23072 int F77_DUMMY_MAIN() { return 1; }
23077 struct tm x; x.tm_zone;
23082 rm -f conftest.$ac_objext
23083 if { (eval echo "$as_me:23083: \"$ac_compile\"") >&5
23084 (eval $ac_compile) 2>&5
23086 echo "$as_me:23086: \$? = $ac_status" >&5
23087 (exit $ac_status); } &&
23088 { ac_try='test -s conftest.$ac_objext'
23089 { (eval echo "$as_me:23089: \"$ac_try\"") >&5
23090 (eval $ac_try) 2>&5
23092 echo "$as_me:23092: \$? = $ac_status" >&5
23093 (exit $ac_status); }; }; then
23094 ac_cv_type_struct_tm_tm_zone=yes
23096 echo "$as_me: failed program was:" >&5
23097 cat conftest.$ac_ext >&5
23098 ac_cv_type_struct_tm_tm_zone=no
23100 rm -f conftest.$ac_objext conftest.$ac_ext
23102 echo "$as_me:23102: result: $ac_cv_type_struct_tm_tm_zone" >&5
23103 echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
23104 if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
23107 cat >>confdefs.h <<\_ACEOF
23108 #define HAVE_STRUCT_TM_TM_ZONE 1
23118 echo "$as_me:23118: checking for timezone" >&5
23119 echo $ECHO_N "checking for timezone... $ECHO_C" >&6
23120 if test "${ac_cv_var_timezone+set}" = set; then
23121 echo $ECHO_N "(cached) $ECHO_C" >&6
23124 cat >conftest.$ac_ext <<_ACEOF
23125 #line 23125 "configure"
23126 #include "confdefs.h"
23127 extern int timezone;
23128 int foo() { return timezone; }
23129 #ifdef F77_DUMMY_MAIN
23130 # ifdef __cplusplus
23133 int F77_DUMMY_MAIN() { return 1; }
23143 rm -f conftest.$ac_objext conftest$ac_exeext
23144 if { (eval echo "$as_me:23144: \"$ac_link\"") >&5
23145 (eval $ac_link) 2>&5
23147 echo "$as_me:23147: \$? = $ac_status" >&5
23148 (exit $ac_status); } &&
23149 { ac_try='test -s conftest$ac_exeext'
23150 { (eval echo "$as_me:23150: \"$ac_try\"") >&5
23151 (eval $ac_try) 2>&5
23153 echo "$as_me:23153: \$? = $ac_status" >&5
23154 (exit $ac_status); }; }; then
23155 ac_cv_var_timezone=yes
23157 echo "$as_me: failed program was:" >&5
23158 cat conftest.$ac_ext >&5
23159 ac_cv_var_timezone=no
23161 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23165 ac_foo=`eval echo \\$ac_cv_var_timezone`
23166 echo "$as_me:23166: result: $ac_foo" >&5
23167 echo "${ECHO_T}$ac_foo" >&6
23168 if test "$ac_foo" = yes; then
23170 cat >>confdefs.h <<_ACEOF
23171 #define HAVE_TIMEZONE 1
23175 echo "$as_me:23175: checking if timezone is properly declared" >&5
23176 echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
23177 if test "${ac_cv_var_timezone_declaration+set}" = set; then
23178 echo $ECHO_N "(cached) $ECHO_C" >&6
23181 cat >conftest.$ac_ext <<_ACEOF
23182 #line 23182 "configure"
23183 #include "confdefs.h"
23185 extern struct { int foo; } timezone;
23186 #ifdef F77_DUMMY_MAIN
23187 # ifdef __cplusplus
23190 int F77_DUMMY_MAIN() { return 1; }
23200 rm -f conftest.$ac_objext
23201 if { (eval echo "$as_me:23201: \"$ac_compile\"") >&5
23202 (eval $ac_compile) 2>&5
23204 echo "$as_me:23204: \$? = $ac_status" >&5
23205 (exit $ac_status); } &&
23206 { ac_try='test -s conftest.$ac_objext'
23207 { (eval echo "$as_me:23207: \"$ac_try\"") >&5
23208 (eval $ac_try) 2>&5
23210 echo "$as_me:23210: \$? = $ac_status" >&5
23211 (exit $ac_status); }; }; then
23212 eval "ac_cv_var_timezone_declaration=no"
23214 echo "$as_me: failed program was:" >&5
23215 cat conftest.$ac_ext >&5
23216 eval "ac_cv_var_timezone_declaration=yes"
23218 rm -f conftest.$ac_objext conftest.$ac_ext
23225 echo "$as_me:23225: result: $ac_cv_var_timezone_declaration" >&5
23226 echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
23227 if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
23229 cat >>confdefs.h <<\_ACEOF
23230 #define HAVE_TIMEZONE_DECLARATION 1
23239 echo "$as_me:23239: checking for altzone" >&5
23240 echo $ECHO_N "checking for altzone... $ECHO_C" >&6
23241 if test "${ac_cv_var_altzone+set}" = set; then
23242 echo $ECHO_N "(cached) $ECHO_C" >&6
23245 cat >conftest.$ac_ext <<_ACEOF
23246 #line 23246 "configure"
23247 #include "confdefs.h"
23248 extern int altzone;
23249 int foo() { return altzone; }
23250 #ifdef F77_DUMMY_MAIN
23251 # ifdef __cplusplus
23254 int F77_DUMMY_MAIN() { return 1; }
23264 rm -f conftest.$ac_objext conftest$ac_exeext
23265 if { (eval echo "$as_me:23265: \"$ac_link\"") >&5
23266 (eval $ac_link) 2>&5
23268 echo "$as_me:23268: \$? = $ac_status" >&5
23269 (exit $ac_status); } &&
23270 { ac_try='test -s conftest$ac_exeext'
23271 { (eval echo "$as_me:23271: \"$ac_try\"") >&5
23272 (eval $ac_try) 2>&5
23274 echo "$as_me:23274: \$? = $ac_status" >&5
23275 (exit $ac_status); }; }; then
23276 ac_cv_var_altzone=yes
23278 echo "$as_me: failed program was:" >&5
23279 cat conftest.$ac_ext >&5
23280 ac_cv_var_altzone=no
23282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23286 ac_foo=`eval echo \\$ac_cv_var_altzone`
23287 echo "$as_me:23287: result: $ac_foo" >&5
23288 echo "${ECHO_T}$ac_foo" >&6
23289 if test "$ac_foo" = yes; then
23291 cat >>confdefs.h <<_ACEOF
23292 #define HAVE_ALTZONE 1
23296 echo "$as_me:23296: checking if altzone is properly declared" >&5
23297 echo $ECHO_N "checking if altzone is properly declared... $ECHO_C" >&6
23298 if test "${ac_cv_var_altzone_declaration+set}" = set; then
23299 echo $ECHO_N "(cached) $ECHO_C" >&6
23302 cat >conftest.$ac_ext <<_ACEOF
23303 #line 23303 "configure"
23304 #include "confdefs.h"
23306 extern struct { int foo; } altzone;
23307 #ifdef F77_DUMMY_MAIN
23308 # ifdef __cplusplus
23311 int F77_DUMMY_MAIN() { return 1; }
23321 rm -f conftest.$ac_objext
23322 if { (eval echo "$as_me:23322: \"$ac_compile\"") >&5
23323 (eval $ac_compile) 2>&5
23325 echo "$as_me:23325: \$? = $ac_status" >&5
23326 (exit $ac_status); } &&
23327 { ac_try='test -s conftest.$ac_objext'
23328 { (eval echo "$as_me:23328: \"$ac_try\"") >&5
23329 (eval $ac_try) 2>&5
23331 echo "$as_me:23331: \$? = $ac_status" >&5
23332 (exit $ac_status); }; }; then
23333 eval "ac_cv_var_altzone_declaration=no"
23335 echo "$as_me: failed program was:" >&5
23336 cat conftest.$ac_ext >&5
23337 eval "ac_cv_var_altzone_declaration=yes"
23339 rm -f conftest.$ac_objext conftest.$ac_ext
23346 echo "$as_me:23346: result: $ac_cv_var_altzone_declaration" >&5
23347 echo "${ECHO_T}$ac_cv_var_altzone_declaration" >&6
23348 if eval "test \"\$ac_cv_var_altzone_declaration\" = yes"; then
23350 cat >>confdefs.h <<\_ACEOF
23351 #define HAVE_ALTZONE_DECLARATION 1
23362 cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
23363 echo "$as_me:23363: checking for sa_family_t" >&5
23364 echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
23365 if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
23366 echo $ECHO_N "(cached) $ECHO_C" >&6
23368 cat >conftest.$ac_ext <<_ACEOF
23369 #line 23369 "configure"
23370 #include "confdefs.h"
23371 #include <sys/types.h>
23373 #include <stdlib.h>
23374 #include <stddef.h>
23376 #include <sys/socket.h>
23377 #ifdef F77_DUMMY_MAIN
23378 # ifdef __cplusplus
23381 int F77_DUMMY_MAIN() { return 1; }
23391 rm -f conftest.$ac_objext
23392 if { (eval echo "$as_me:23392: \"$ac_compile\"") >&5
23393 (eval $ac_compile) 2>&5
23395 echo "$as_me:23395: \$? = $ac_status" >&5
23396 (exit $ac_status); } &&
23397 { ac_try='test -s conftest.$ac_objext'
23398 { (eval echo "$as_me:23398: \"$ac_try\"") >&5
23399 (eval $ac_try) 2>&5
23401 echo "$as_me:23401: \$? = $ac_status" >&5
23402 (exit $ac_status); }; }; then
23403 eval "ac_cv_type_$cv=yes"
23405 echo "$as_me: failed program was:" >&5
23406 cat conftest.$ac_ext >&5
23407 eval "ac_cv_type_$cv=no"
23409 rm -f conftest.$ac_objext conftest.$ac_ext
23411 ac_foo=`eval echo \\$ac_cv_type_$cv`
23412 echo "$as_me:23412: result: $ac_foo" >&5
23413 echo "${ECHO_T}$ac_foo" >&6
23414 if test "$ac_foo" = yes; then
23415 ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
23417 echo "$as_me:23417: checking for sa_family_t" >&5
23418 echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
23419 if test "${ac_cv_type_sa_family_t+set}" = set; then
23420 echo $ECHO_N "(cached) $ECHO_C" >&6
23422 cat >conftest.$ac_ext <<_ACEOF
23423 #line 23423 "configure"
23424 #include "confdefs.h"
23425 $ac_includes_default
23426 #ifdef F77_DUMMY_MAIN
23427 # ifdef __cplusplus
23430 int F77_DUMMY_MAIN() { return 1; }
23435 if ((sa_family_t *) 0)
23437 if (sizeof (sa_family_t))
23443 rm -f conftest.$ac_objext
23444 if { (eval echo "$as_me:23444: \"$ac_compile\"") >&5
23445 (eval $ac_compile) 2>&5
23447 echo "$as_me:23447: \$? = $ac_status" >&5
23448 (exit $ac_status); } &&
23449 { ac_try='test -s conftest.$ac_objext'
23450 { (eval echo "$as_me:23450: \"$ac_try\"") >&5
23451 (eval $ac_try) 2>&5
23453 echo "$as_me:23453: \$? = $ac_status" >&5
23454 (exit $ac_status); }; }; then
23455 ac_cv_type_sa_family_t=yes
23457 echo "$as_me: failed program was:" >&5
23458 cat conftest.$ac_ext >&5
23459 ac_cv_type_sa_family_t=no
23461 rm -f conftest.$ac_objext conftest.$ac_ext
23463 echo "$as_me:23463: result: $ac_cv_type_sa_family_t" >&5
23464 echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
23465 if test $ac_cv_type_sa_family_t = yes; then
23467 cat >>confdefs.h <<_ACEOF
23468 #define HAVE_SA_FAMILY_T 1
23476 cat >>confdefs.h <<_ACEOF
23477 #define $ac_tr_hdr 1
23484 cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
23485 echo "$as_me:23485: checking for socklen_t" >&5
23486 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
23487 if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
23488 echo $ECHO_N "(cached) $ECHO_C" >&6
23490 cat >conftest.$ac_ext <<_ACEOF
23491 #line 23491 "configure"
23492 #include "confdefs.h"
23493 #include <sys/types.h>
23495 #include <stdlib.h>
23496 #include <stddef.h>
23498 #include <sys/socket.h>
23499 #ifdef F77_DUMMY_MAIN
23500 # ifdef __cplusplus
23503 int F77_DUMMY_MAIN() { return 1; }
23513 rm -f conftest.$ac_objext
23514 if { (eval echo "$as_me:23514: \"$ac_compile\"") >&5
23515 (eval $ac_compile) 2>&5
23517 echo "$as_me:23517: \$? = $ac_status" >&5
23518 (exit $ac_status); } &&
23519 { ac_try='test -s conftest.$ac_objext'
23520 { (eval echo "$as_me:23520: \"$ac_try\"") >&5
23521 (eval $ac_try) 2>&5
23523 echo "$as_me:23523: \$? = $ac_status" >&5
23524 (exit $ac_status); }; }; then
23525 eval "ac_cv_type_$cv=yes"
23527 echo "$as_me: failed program was:" >&5
23528 cat conftest.$ac_ext >&5
23529 eval "ac_cv_type_$cv=no"
23531 rm -f conftest.$ac_objext conftest.$ac_ext
23533 ac_foo=`eval echo \\$ac_cv_type_$cv`
23534 echo "$as_me:23534: result: $ac_foo" >&5
23535 echo "${ECHO_T}$ac_foo" >&6
23536 if test "$ac_foo" = yes; then
23537 ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
23539 echo "$as_me:23539: checking for socklen_t" >&5
23540 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
23541 if test "${ac_cv_type_socklen_t+set}" = set; then
23542 echo $ECHO_N "(cached) $ECHO_C" >&6
23544 cat >conftest.$ac_ext <<_ACEOF
23545 #line 23545 "configure"
23546 #include "confdefs.h"
23547 $ac_includes_default
23548 #ifdef F77_DUMMY_MAIN
23549 # ifdef __cplusplus
23552 int F77_DUMMY_MAIN() { return 1; }
23557 if ((socklen_t *) 0)
23559 if (sizeof (socklen_t))
23565 rm -f conftest.$ac_objext
23566 if { (eval echo "$as_me:23566: \"$ac_compile\"") >&5
23567 (eval $ac_compile) 2>&5
23569 echo "$as_me:23569: \$? = $ac_status" >&5
23570 (exit $ac_status); } &&
23571 { ac_try='test -s conftest.$ac_objext'
23572 { (eval echo "$as_me:23572: \"$ac_try\"") >&5
23573 (eval $ac_try) 2>&5
23575 echo "$as_me:23575: \$? = $ac_status" >&5
23576 (exit $ac_status); }; }; then
23577 ac_cv_type_socklen_t=yes
23579 echo "$as_me: failed program was:" >&5
23580 cat conftest.$ac_ext >&5
23581 ac_cv_type_socklen_t=no
23583 rm -f conftest.$ac_objext conftest.$ac_ext
23585 echo "$as_me:23585: result: $ac_cv_type_socklen_t" >&5
23586 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
23587 if test $ac_cv_type_socklen_t = yes; then
23589 cat >>confdefs.h <<_ACEOF
23590 #define HAVE_SOCKLEN_T 1
23598 cat >>confdefs.h <<_ACEOF
23599 #define $ac_tr_hdr 1
23606 cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
23607 echo "$as_me:23607: checking for struct sockaddr" >&5
23608 echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
23609 if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
23610 echo $ECHO_N "(cached) $ECHO_C" >&6
23612 cat >conftest.$ac_ext <<_ACEOF
23613 #line 23613 "configure"
23614 #include "confdefs.h"
23615 #include <sys/types.h>
23617 #include <stdlib.h>
23618 #include <stddef.h>
23620 #include <sys/socket.h>
23621 #ifdef F77_DUMMY_MAIN
23622 # ifdef __cplusplus
23625 int F77_DUMMY_MAIN() { return 1; }
23630 struct sockaddr foo;
23635 rm -f conftest.$ac_objext
23636 if { (eval echo "$as_me:23636: \"$ac_compile\"") >&5
23637 (eval $ac_compile) 2>&5
23639 echo "$as_me:23639: \$? = $ac_status" >&5
23640 (exit $ac_status); } &&
23641 { ac_try='test -s conftest.$ac_objext'
23642 { (eval echo "$as_me:23642: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23645 echo "$as_me:23645: \$? = $ac_status" >&5
23646 (exit $ac_status); }; }; then
23647 eval "ac_cv_type_$cv=yes"
23649 echo "$as_me: failed program was:" >&5
23650 cat conftest.$ac_ext >&5
23651 eval "ac_cv_type_$cv=no"
23653 rm -f conftest.$ac_objext conftest.$ac_ext
23655 ac_foo=`eval echo \\$ac_cv_type_$cv`
23656 echo "$as_me:23656: result: $ac_foo" >&5
23657 echo "${ECHO_T}$ac_foo" >&6
23658 if test "$ac_foo" = yes; then
23659 ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
23661 echo "$as_me:23661: checking for struct sockaddr" >&5
23662 echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
23663 if test "${ac_cv_type_struct_sockaddr+set}" = set; then
23664 echo $ECHO_N "(cached) $ECHO_C" >&6
23666 cat >conftest.$ac_ext <<_ACEOF
23667 #line 23667 "configure"
23668 #include "confdefs.h"
23669 $ac_includes_default
23670 #ifdef F77_DUMMY_MAIN
23671 # ifdef __cplusplus
23674 int F77_DUMMY_MAIN() { return 1; }
23679 if ((struct sockaddr *) 0)
23681 if (sizeof (struct sockaddr))
23687 rm -f conftest.$ac_objext
23688 if { (eval echo "$as_me:23688: \"$ac_compile\"") >&5
23689 (eval $ac_compile) 2>&5
23691 echo "$as_me:23691: \$? = $ac_status" >&5
23692 (exit $ac_status); } &&
23693 { ac_try='test -s conftest.$ac_objext'
23694 { (eval echo "$as_me:23694: \"$ac_try\"") >&5
23695 (eval $ac_try) 2>&5
23697 echo "$as_me:23697: \$? = $ac_status" >&5
23698 (exit $ac_status); }; }; then
23699 ac_cv_type_struct_sockaddr=yes
23701 echo "$as_me: failed program was:" >&5
23702 cat conftest.$ac_ext >&5
23703 ac_cv_type_struct_sockaddr=no
23705 rm -f conftest.$ac_objext conftest.$ac_ext
23707 echo "$as_me:23707: result: $ac_cv_type_struct_sockaddr" >&5
23708 echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
23709 if test $ac_cv_type_struct_sockaddr = yes; then
23711 cat >>confdefs.h <<_ACEOF
23712 #define HAVE_STRUCT_SOCKADDR 1
23720 cat >>confdefs.h <<_ACEOF
23721 #define $ac_tr_hdr 1
23728 cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
23729 echo "$as_me:23729: checking for struct sockaddr_storage" >&5
23730 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
23731 if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
23732 echo $ECHO_N "(cached) $ECHO_C" >&6
23734 cat >conftest.$ac_ext <<_ACEOF
23735 #line 23735 "configure"
23736 #include "confdefs.h"
23737 #include <sys/types.h>
23739 #include <stdlib.h>
23740 #include <stddef.h>
23742 #include <sys/socket.h>
23743 #ifdef F77_DUMMY_MAIN
23744 # ifdef __cplusplus
23747 int F77_DUMMY_MAIN() { return 1; }
23752 struct sockaddr_storage foo;
23757 rm -f conftest.$ac_objext
23758 if { (eval echo "$as_me:23758: \"$ac_compile\"") >&5
23759 (eval $ac_compile) 2>&5
23761 echo "$as_me:23761: \$? = $ac_status" >&5
23762 (exit $ac_status); } &&
23763 { ac_try='test -s conftest.$ac_objext'
23764 { (eval echo "$as_me:23764: \"$ac_try\"") >&5
23765 (eval $ac_try) 2>&5
23767 echo "$as_me:23767: \$? = $ac_status" >&5
23768 (exit $ac_status); }; }; then
23769 eval "ac_cv_type_$cv=yes"
23771 echo "$as_me: failed program was:" >&5
23772 cat conftest.$ac_ext >&5
23773 eval "ac_cv_type_$cv=no"
23775 rm -f conftest.$ac_objext conftest.$ac_ext
23777 ac_foo=`eval echo \\$ac_cv_type_$cv`
23778 echo "$as_me:23778: result: $ac_foo" >&5
23779 echo "${ECHO_T}$ac_foo" >&6
23780 if test "$ac_foo" = yes; then
23781 ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
23783 echo "$as_me:23783: checking for struct sockaddr_storage" >&5
23784 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
23785 if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
23786 echo $ECHO_N "(cached) $ECHO_C" >&6
23788 cat >conftest.$ac_ext <<_ACEOF
23789 #line 23789 "configure"
23790 #include "confdefs.h"
23791 $ac_includes_default
23792 #ifdef F77_DUMMY_MAIN
23793 # ifdef __cplusplus
23796 int F77_DUMMY_MAIN() { return 1; }
23801 if ((struct sockaddr_storage *) 0)
23803 if (sizeof (struct sockaddr_storage))
23809 rm -f conftest.$ac_objext
23810 if { (eval echo "$as_me:23810: \"$ac_compile\"") >&5
23811 (eval $ac_compile) 2>&5
23813 echo "$as_me:23813: \$? = $ac_status" >&5
23814 (exit $ac_status); } &&
23815 { ac_try='test -s conftest.$ac_objext'
23816 { (eval echo "$as_me:23816: \"$ac_try\"") >&5
23817 (eval $ac_try) 2>&5
23819 echo "$as_me:23819: \$? = $ac_status" >&5
23820 (exit $ac_status); }; }; then
23821 ac_cv_type_struct_sockaddr_storage=yes
23823 echo "$as_me: failed program was:" >&5
23824 cat conftest.$ac_ext >&5
23825 ac_cv_type_struct_sockaddr_storage=no
23827 rm -f conftest.$ac_objext conftest.$ac_ext
23829 echo "$as_me:23829: result: $ac_cv_type_struct_sockaddr_storage" >&5
23830 echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
23831 if test $ac_cv_type_struct_sockaddr_storage = yes; then
23833 cat >>confdefs.h <<_ACEOF
23834 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
23842 cat >>confdefs.h <<_ACEOF
23843 #define $ac_tr_hdr 1
23850 cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
23851 echo "$as_me:23851: checking for struct addrinfo" >&5
23852 echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
23853 if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
23854 echo $ECHO_N "(cached) $ECHO_C" >&6
23856 cat >conftest.$ac_ext <<_ACEOF
23857 #line 23857 "configure"
23858 #include "confdefs.h"
23859 #include <sys/types.h>
23861 #include <stdlib.h>
23862 #include <stddef.h>
23865 #ifdef F77_DUMMY_MAIN
23866 # ifdef __cplusplus
23869 int F77_DUMMY_MAIN() { return 1; }
23874 struct addrinfo foo;
23879 rm -f conftest.$ac_objext
23880 if { (eval echo "$as_me:23880: \"$ac_compile\"") >&5
23881 (eval $ac_compile) 2>&5
23883 echo "$as_me:23883: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try='test -s conftest.$ac_objext'
23886 { (eval echo "$as_me:23886: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23889 echo "$as_me:23889: \$? = $ac_status" >&5
23890 (exit $ac_status); }; }; then
23891 eval "ac_cv_type_$cv=yes"
23893 echo "$as_me: failed program was:" >&5
23894 cat conftest.$ac_ext >&5
23895 eval "ac_cv_type_$cv=no"
23897 rm -f conftest.$ac_objext conftest.$ac_ext
23899 ac_foo=`eval echo \\$ac_cv_type_$cv`
23900 echo "$as_me:23900: result: $ac_foo" >&5
23901 echo "${ECHO_T}$ac_foo" >&6
23902 if test "$ac_foo" = yes; then
23903 ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
23905 echo "$as_me:23905: checking for struct addrinfo" >&5
23906 echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
23907 if test "${ac_cv_type_struct_addrinfo+set}" = set; then
23908 echo $ECHO_N "(cached) $ECHO_C" >&6
23910 cat >conftest.$ac_ext <<_ACEOF
23911 #line 23911 "configure"
23912 #include "confdefs.h"
23913 $ac_includes_default
23914 #ifdef F77_DUMMY_MAIN
23915 # ifdef __cplusplus
23918 int F77_DUMMY_MAIN() { return 1; }
23923 if ((struct addrinfo *) 0)
23925 if (sizeof (struct addrinfo))
23931 rm -f conftest.$ac_objext
23932 if { (eval echo "$as_me:23932: \"$ac_compile\"") >&5
23933 (eval $ac_compile) 2>&5
23935 echo "$as_me:23935: \$? = $ac_status" >&5
23936 (exit $ac_status); } &&
23937 { ac_try='test -s conftest.$ac_objext'
23938 { (eval echo "$as_me:23938: \"$ac_try\"") >&5
23939 (eval $ac_try) 2>&5
23941 echo "$as_me:23941: \$? = $ac_status" >&5
23942 (exit $ac_status); }; }; then
23943 ac_cv_type_struct_addrinfo=yes
23945 echo "$as_me: failed program was:" >&5
23946 cat conftest.$ac_ext >&5
23947 ac_cv_type_struct_addrinfo=no
23949 rm -f conftest.$ac_objext conftest.$ac_ext
23951 echo "$as_me:23951: result: $ac_cv_type_struct_addrinfo" >&5
23952 echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
23953 if test $ac_cv_type_struct_addrinfo = yes; then
23955 cat >>confdefs.h <<_ACEOF
23956 #define HAVE_STRUCT_ADDRINFO 1
23964 cat >>confdefs.h <<_ACEOF
23965 #define $ac_tr_hdr 1
23972 cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
23973 echo "$as_me:23973: checking for struct ifaddrs" >&5
23974 echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
23975 if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
23976 echo $ECHO_N "(cached) $ECHO_C" >&6
23978 cat >conftest.$ac_ext <<_ACEOF
23979 #line 23979 "configure"
23980 #include "confdefs.h"
23981 #include <sys/types.h>
23983 #include <stdlib.h>
23984 #include <stddef.h>
23986 #include <ifaddrs.h>
23987 #ifdef F77_DUMMY_MAIN
23988 # ifdef __cplusplus
23991 int F77_DUMMY_MAIN() { return 1; }
23996 struct ifaddrs foo;
24001 rm -f conftest.$ac_objext
24002 if { (eval echo "$as_me:24002: \"$ac_compile\"") >&5
24003 (eval $ac_compile) 2>&5
24005 echo "$as_me:24005: \$? = $ac_status" >&5
24006 (exit $ac_status); } &&
24007 { ac_try='test -s conftest.$ac_objext'
24008 { (eval echo "$as_me:24008: \"$ac_try\"") >&5
24009 (eval $ac_try) 2>&5
24011 echo "$as_me:24011: \$? = $ac_status" >&5
24012 (exit $ac_status); }; }; then
24013 eval "ac_cv_type_$cv=yes"
24015 echo "$as_me: failed program was:" >&5
24016 cat conftest.$ac_ext >&5
24017 eval "ac_cv_type_$cv=no"
24019 rm -f conftest.$ac_objext conftest.$ac_ext
24021 ac_foo=`eval echo \\$ac_cv_type_$cv`
24022 echo "$as_me:24022: result: $ac_foo" >&5
24023 echo "${ECHO_T}$ac_foo" >&6
24024 if test "$ac_foo" = yes; then
24025 ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
24027 echo "$as_me:24027: checking for struct ifaddrs" >&5
24028 echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
24029 if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
24030 echo $ECHO_N "(cached) $ECHO_C" >&6
24032 cat >conftest.$ac_ext <<_ACEOF
24033 #line 24033 "configure"
24034 #include "confdefs.h"
24035 $ac_includes_default
24036 #ifdef F77_DUMMY_MAIN
24037 # ifdef __cplusplus
24040 int F77_DUMMY_MAIN() { return 1; }
24045 if ((struct ifaddrs *) 0)
24047 if (sizeof (struct ifaddrs))
24053 rm -f conftest.$ac_objext
24054 if { (eval echo "$as_me:24054: \"$ac_compile\"") >&5
24055 (eval $ac_compile) 2>&5
24057 echo "$as_me:24057: \$? = $ac_status" >&5
24058 (exit $ac_status); } &&
24059 { ac_try='test -s conftest.$ac_objext'
24060 { (eval echo "$as_me:24060: \"$ac_try\"") >&5
24061 (eval $ac_try) 2>&5
24063 echo "$as_me:24063: \$? = $ac_status" >&5
24064 (exit $ac_status); }; }; then
24065 ac_cv_type_struct_ifaddrs=yes
24067 echo "$as_me: failed program was:" >&5
24068 cat conftest.$ac_ext >&5
24069 ac_cv_type_struct_ifaddrs=no
24071 rm -f conftest.$ac_objext conftest.$ac_ext
24073 echo "$as_me:24073: result: $ac_cv_type_struct_ifaddrs" >&5
24074 echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
24075 if test $ac_cv_type_struct_ifaddrs = yes; then
24077 cat >>confdefs.h <<_ACEOF
24078 #define HAVE_STRUCT_IFADDRS 1
24086 cat >>confdefs.h <<_ACEOF
24087 #define $ac_tr_hdr 1
24094 cv=`echo "struct iovec" | sed 'y%./+- %__p__%'`
24095 echo "$as_me:24095: checking for struct iovec" >&5
24096 echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
24097 if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
24098 echo $ECHO_N "(cached) $ECHO_C" >&6
24100 cat >conftest.$ac_ext <<_ACEOF
24101 #line 24101 "configure"
24102 #include "confdefs.h"
24103 #include <sys/types.h>
24105 #include <stdlib.h>
24106 #include <stddef.h>
24109 #include <sys/types.h>
24110 #include <sys/uio.h>
24112 #ifdef F77_DUMMY_MAIN
24113 # ifdef __cplusplus
24116 int F77_DUMMY_MAIN() { return 1; }
24126 rm -f conftest.$ac_objext
24127 if { (eval echo "$as_me:24127: \"$ac_compile\"") >&5
24128 (eval $ac_compile) 2>&5
24130 echo "$as_me:24130: \$? = $ac_status" >&5
24131 (exit $ac_status); } &&
24132 { ac_try='test -s conftest.$ac_objext'
24133 { (eval echo "$as_me:24133: \"$ac_try\"") >&5
24134 (eval $ac_try) 2>&5
24136 echo "$as_me:24136: \$? = $ac_status" >&5
24137 (exit $ac_status); }; }; then
24138 eval "ac_cv_type_$cv=yes"
24140 echo "$as_me: failed program was:" >&5
24141 cat conftest.$ac_ext >&5
24142 eval "ac_cv_type_$cv=no"
24144 rm -f conftest.$ac_objext conftest.$ac_ext
24146 ac_foo=`eval echo \\$ac_cv_type_$cv`
24147 echo "$as_me:24147: result: $ac_foo" >&5
24148 echo "${ECHO_T}$ac_foo" >&6
24149 if test "$ac_foo" = yes; then
24150 ac_tr_hdr=HAVE_`echo struct iovec | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
24152 echo "$as_me:24152: checking for struct iovec" >&5
24153 echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
24154 if test "${ac_cv_type_struct_iovec+set}" = set; then
24155 echo $ECHO_N "(cached) $ECHO_C" >&6
24157 cat >conftest.$ac_ext <<_ACEOF
24158 #line 24158 "configure"
24159 #include "confdefs.h"
24160 $ac_includes_default
24161 #ifdef F77_DUMMY_MAIN
24162 # ifdef __cplusplus
24165 int F77_DUMMY_MAIN() { return 1; }
24170 if ((struct iovec *) 0)
24172 if (sizeof (struct iovec))
24178 rm -f conftest.$ac_objext
24179 if { (eval echo "$as_me:24179: \"$ac_compile\"") >&5
24180 (eval $ac_compile) 2>&5
24182 echo "$as_me:24182: \$? = $ac_status" >&5
24183 (exit $ac_status); } &&
24184 { ac_try='test -s conftest.$ac_objext'
24185 { (eval echo "$as_me:24185: \"$ac_try\"") >&5
24186 (eval $ac_try) 2>&5
24188 echo "$as_me:24188: \$? = $ac_status" >&5
24189 (exit $ac_status); }; }; then
24190 ac_cv_type_struct_iovec=yes
24192 echo "$as_me: failed program was:" >&5
24193 cat conftest.$ac_ext >&5
24194 ac_cv_type_struct_iovec=no
24196 rm -f conftest.$ac_objext conftest.$ac_ext
24198 echo "$as_me:24198: result: $ac_cv_type_struct_iovec" >&5
24199 echo "${ECHO_T}$ac_cv_type_struct_iovec" >&6
24200 if test $ac_cv_type_struct_iovec = yes; then
24202 cat >>confdefs.h <<_ACEOF
24203 #define HAVE_STRUCT_IOVEC 1
24211 cat >>confdefs.h <<_ACEOF
24212 #define $ac_tr_hdr 1
24219 cv=`echo "struct msghdr" | sed 'y%./+- %__p__%'`
24220 echo "$as_me:24220: checking for struct msghdr" >&5
24221 echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
24222 if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
24223 echo $ECHO_N "(cached) $ECHO_C" >&6
24225 cat >conftest.$ac_ext <<_ACEOF
24226 #line 24226 "configure"
24227 #include "confdefs.h"
24228 #include <sys/types.h>
24230 #include <stdlib.h>
24231 #include <stddef.h>
24234 #include <sys/types.h>
24235 #include <sys/socket.h>
24237 #ifdef F77_DUMMY_MAIN
24238 # ifdef __cplusplus
24241 int F77_DUMMY_MAIN() { return 1; }
24251 rm -f conftest.$ac_objext
24252 if { (eval echo "$as_me:24252: \"$ac_compile\"") >&5
24253 (eval $ac_compile) 2>&5
24255 echo "$as_me:24255: \$? = $ac_status" >&5
24256 (exit $ac_status); } &&
24257 { ac_try='test -s conftest.$ac_objext'
24258 { (eval echo "$as_me:24258: \"$ac_try\"") >&5
24259 (eval $ac_try) 2>&5
24261 echo "$as_me:24261: \$? = $ac_status" >&5
24262 (exit $ac_status); }; }; then
24263 eval "ac_cv_type_$cv=yes"
24265 echo "$as_me: failed program was:" >&5
24266 cat conftest.$ac_ext >&5
24267 eval "ac_cv_type_$cv=no"
24269 rm -f conftest.$ac_objext conftest.$ac_ext
24271 ac_foo=`eval echo \\$ac_cv_type_$cv`
24272 echo "$as_me:24272: result: $ac_foo" >&5
24273 echo "${ECHO_T}$ac_foo" >&6
24274 if test "$ac_foo" = yes; then
24275 ac_tr_hdr=HAVE_`echo struct msghdr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
24277 echo "$as_me:24277: checking for struct msghdr" >&5
24278 echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
24279 if test "${ac_cv_type_struct_msghdr+set}" = set; then
24280 echo $ECHO_N "(cached) $ECHO_C" >&6
24282 cat >conftest.$ac_ext <<_ACEOF
24283 #line 24283 "configure"
24284 #include "confdefs.h"
24285 $ac_includes_default
24286 #ifdef F77_DUMMY_MAIN
24287 # ifdef __cplusplus
24290 int F77_DUMMY_MAIN() { return 1; }
24295 if ((struct msghdr *) 0)
24297 if (sizeof (struct msghdr))
24303 rm -f conftest.$ac_objext
24304 if { (eval echo "$as_me:24304: \"$ac_compile\"") >&5
24305 (eval $ac_compile) 2>&5
24307 echo "$as_me:24307: \$? = $ac_status" >&5
24308 (exit $ac_status); } &&
24309 { ac_try='test -s conftest.$ac_objext'
24310 { (eval echo "$as_me:24310: \"$ac_try\"") >&5
24311 (eval $ac_try) 2>&5
24313 echo "$as_me:24313: \$? = $ac_status" >&5
24314 (exit $ac_status); }; }; then
24315 ac_cv_type_struct_msghdr=yes
24317 echo "$as_me: failed program was:" >&5
24318 cat conftest.$ac_ext >&5
24319 ac_cv_type_struct_msghdr=no
24321 rm -f conftest.$ac_objext conftest.$ac_ext
24323 echo "$as_me:24323: result: $ac_cv_type_struct_msghdr" >&5
24324 echo "${ECHO_T}$ac_cv_type_struct_msghdr" >&6
24325 if test $ac_cv_type_struct_msghdr = yes; then
24327 cat >>confdefs.h <<_ACEOF
24328 #define HAVE_STRUCT_MSGHDR 1
24336 cat >>confdefs.h <<_ACEOF
24337 #define $ac_tr_hdr 1
24345 echo "$as_me:24345: checking for struct winsize" >&5
24346 echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
24347 if test "${ac_cv_struct_winsize+set}" = set; then
24348 echo $ECHO_N "(cached) $ECHO_C" >&6
24351 ac_cv_struct_winsize=no
24352 for i in sys/termios.h sys/ioctl.h; do
24353 cat >conftest.$ac_ext <<_ACEOF
24354 #line 24354 "configure"
24355 #include "confdefs.h"
24359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24360 egrep "struct[ ]*winsize" >/dev/null 2>&1; then
24361 ac_cv_struct_winsize=yes; break
24368 if test "$ac_cv_struct_winsize" = "yes"; then
24370 cat >>confdefs.h <<\_ACEOF
24371 #define HAVE_STRUCT_WINSIZE 1
24375 echo "$as_me:24375: result: $ac_cv_struct_winsize" >&5
24376 echo "${ECHO_T}$ac_cv_struct_winsize" >&6
24377 cat >conftest.$ac_ext <<_ACEOF
24378 #line 24378 "configure"
24379 #include "confdefs.h"
24380 #include <termios.h>
24383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24384 egrep "ws_xpixel" >/dev/null 2>&1; then
24386 cat >>confdefs.h <<\_ACEOF
24387 #define HAVE_WS_XPIXEL 1
24393 cat >conftest.$ac_ext <<_ACEOF
24394 #line 24394 "configure"
24395 #include "confdefs.h"
24396 #include <termios.h>
24399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24400 egrep "ws_ypixel" >/dev/null 2>&1; then
24402 cat >>confdefs.h <<\_ACEOF
24403 #define HAVE_WS_YPIXEL 1
24413 echo "$as_me:24413: checking for struct spwd" >&5
24414 echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
24415 if test "${ac_cv_struct_spwd+set}" = set; then
24416 echo $ECHO_N "(cached) $ECHO_C" >&6
24419 cat >conftest.$ac_ext <<_ACEOF
24420 #line 24420 "configure"
24421 #include "confdefs.h"
24423 #ifdef HAVE_SHADOW_H
24424 #include <shadow.h>
24426 #ifdef F77_DUMMY_MAIN
24427 # ifdef __cplusplus
24430 int F77_DUMMY_MAIN() { return 1; }
24440 rm -f conftest.$ac_objext
24441 if { (eval echo "$as_me:24441: \"$ac_compile\"") >&5
24442 (eval $ac_compile) 2>&5
24444 echo "$as_me:24444: \$? = $ac_status" >&5
24445 (exit $ac_status); } &&
24446 { ac_try='test -s conftest.$ac_objext'
24447 { (eval echo "$as_me:24447: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24450 echo "$as_me:24450: \$? = $ac_status" >&5
24451 (exit $ac_status); }; }; then
24452 ac_cv_struct_spwd=yes
24454 echo "$as_me: failed program was:" >&5
24455 cat conftest.$ac_ext >&5
24456 ac_cv_struct_spwd=no
24458 rm -f conftest.$ac_objext conftest.$ac_ext
24462 echo "$as_me:24462: result: $ac_cv_struct_spwd" >&5
24463 echo "${ECHO_T}$ac_cv_struct_spwd" >&6
24465 if test "$ac_cv_struct_spwd" = "yes"; then
24467 cat >>confdefs.h <<\_ACEOF
24468 #define HAVE_STRUCT_SPWD 1
24475 LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
24478 LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
24482 # Check whether --with-openldap or --without-openldap was given.
24483 if test "${with_openldap+set}" = set; then
24484 withval="$with_openldap"
24488 # Check whether --with-openldap-lib or --without-openldap-lib was given.
24489 if test "${with_openldap_lib+set}" = set; then
24490 withval="$with_openldap_lib"
24491 if test "$withval" = "yes" -o "$withval" = "no"; then
24492 { { echo "$as_me:24492: error: No argument for --with-openldap-lib" >&5
24493 echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
24494 { (exit 1); exit 1; }; }
24495 elif test "X$with_openldap" = "X"; then
24500 # Check whether --with-openldap-include or --without-openldap-include was given.
24501 if test "${with_openldap_include+set}" = set; then
24502 withval="$with_openldap_include"
24503 if test "$withval" = "yes" -o "$withval" = "no"; then
24504 { { echo "$as_me:24504: error: No argument for --with-openldap-include" >&5
24505 echo "$as_me: error: No argument for --with-openldap-include" >&2;}
24506 { (exit 1); exit 1; }; }
24507 elif test "X$with_openldap" = "X"; then
24512 # Check whether --with-openldap-config or --without-openldap-config was given.
24513 if test "${with_openldap_config+set}" = set; then
24514 withval="$with_openldap_config"
24520 echo "$as_me:24520: checking for openldap" >&5
24521 echo $ECHO_N "checking for openldap... $ECHO_C" >&6
24523 case "$with_openldap" in
24526 *) d="$with_openldap" ;;
24532 if test "$with_openldap_include" = ""; then
24533 if test -d "$i/include/openldap"; then
24534 header_dirs="$header_dirs $i/include/openldap"
24536 if test -d "$i/include"; then
24537 header_dirs="$header_dirs $i/include"
24540 if test "$with_openldap_lib" = ""; then
24541 if test -d "$i/lib$abilibdirext"; then
24542 lib_dirs="$lib_dirs $i/lib$abilibdirext"
24547 if test "$with_openldap_include"; then
24548 header_dirs="$with_openldap_include $header_dirs"
24550 if test "$with_openldap_lib"; then
24551 lib_dirs="$with_openldap_lib $lib_dirs"
24554 if test "$with_openldap_config" = ""; then
24555 with_openldap_config=''
24561 case "$with_openldap_config" in
24565 openldap_cflags="`$with_openldap_config --cflags 2>&1`"
24566 openldap_libs="`$with_openldap_config --libs 2>&1`"
24571 if test "$with_openldap" != no; then
24572 save_CFLAGS="$CFLAGS"
24574 if test "$openldap_cflags" -a "$openldap_libs"; then
24575 CFLAGS="$openldap_cflags $save_CFLAGS"
24576 LIBS="$openldap_libs $save_LIBS"
24577 cat >conftest.$ac_ext <<_ACEOF
24578 #line 24578 "configure"
24579 #include "confdefs.h"
24582 #ifdef F77_DUMMY_MAIN
24583 # ifdef __cplusplus
24586 int F77_DUMMY_MAIN() { return 1; }
24596 rm -f conftest.$ac_objext conftest$ac_exeext
24597 if { (eval echo "$as_me:24597: \"$ac_link\"") >&5
24598 (eval $ac_link) 2>&5
24600 echo "$as_me:24600: \$? = $ac_status" >&5
24601 (exit $ac_status); } &&
24602 { ac_try='test -s conftest$ac_exeext'
24603 { (eval echo "$as_me:24603: \"$ac_try\"") >&5
24604 (eval $ac_try) 2>&5
24606 echo "$as_me:24606: \$? = $ac_status" >&5
24607 (exit $ac_status); }; }; then
24609 INCLUDE_openldap="$openldap_cflags"
24610 LIB_openldap="$openldap_libs"
24611 echo "$as_me:24611: result: from $with_openldap_config" >&5
24612 echo "${ECHO_T}from $with_openldap_config" >&6
24615 echo "$as_me: failed program was:" >&5
24616 cat conftest.$ac_ext >&5
24618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24620 if test "$found" = no; then
24622 for i in $header_dirs; do
24623 CFLAGS="-I$i $save_CFLAGS"
24624 cat >conftest.$ac_ext <<_ACEOF
24625 #line 24625 "configure"
24626 #include "confdefs.h"
24629 #ifdef F77_DUMMY_MAIN
24630 # ifdef __cplusplus
24633 int F77_DUMMY_MAIN() { return 1; }
24643 rm -f conftest.$ac_objext
24644 if { (eval echo "$as_me:24644: \"$ac_compile\"") >&5
24645 (eval $ac_compile) 2>&5
24647 echo "$as_me:24647: \$? = $ac_status" >&5
24648 (exit $ac_status); } &&
24649 { ac_try='test -s conftest.$ac_objext'
24650 { (eval echo "$as_me:24650: \"$ac_try\"") >&5
24651 (eval $ac_try) 2>&5
24653 echo "$as_me:24653: \$? = $ac_status" >&5
24654 (exit $ac_status); }; }; then
24657 echo "$as_me: failed program was:" >&5
24658 cat conftest.$ac_ext >&5
24660 rm -f conftest.$ac_objext conftest.$ac_ext
24662 for i in $lib_dirs; do
24663 LIBS="-L$i -lldap -llber $save_LIBS"
24664 cat >conftest.$ac_ext <<_ACEOF
24665 #line 24665 "configure"
24666 #include "confdefs.h"
24669 #ifdef F77_DUMMY_MAIN
24670 # ifdef __cplusplus
24673 int F77_DUMMY_MAIN() { return 1; }
24683 rm -f conftest.$ac_objext conftest$ac_exeext
24684 if { (eval echo "$as_me:24684: \"$ac_link\"") >&5
24685 (eval $ac_link) 2>&5
24687 echo "$as_me:24687: \$? = $ac_status" >&5
24688 (exit $ac_status); } &&
24689 { ac_try='test -s conftest$ac_exeext'
24690 { (eval echo "$as_me:24690: \"$ac_try\"") >&5
24691 (eval $ac_try) 2>&5
24693 echo "$as_me:24693: \$? = $ac_status" >&5
24694 (exit $ac_status); }; }; then
24697 echo "$as_me: failed program was:" >&5
24698 cat conftest.$ac_ext >&5
24700 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24702 if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
24703 INCLUDE_openldap="-I$ires"
24704 LIB_openldap="-L$lres -lldap -llber"
24706 echo "$as_me:24706: result: headers $ires, libraries $lres" >&5
24707 echo "${ECHO_T}headers $ires, libraries $lres" >&6
24710 CFLAGS="$save_CFLAGS"
24714 if test "$found" = yes; then
24716 cat >>confdefs.h <<_ACEOF
24725 echo "$as_me:24725: result: no" >&5
24726 echo "${ECHO_T}no" >&6
24733 if test "$openldap_libdir"; then
24734 LIB_openldap="-R $openldap_libdir $LIB_openldap"
24739 # Check whether --with-krb4 or --without-krb4 was given.
24740 if test "${with_krb4+set}" = set; then
24741 withval="$with_krb4"
24745 # Check whether --with-krb4-lib or --without-krb4-lib was given.
24746 if test "${with_krb4_lib+set}" = set; then
24747 withval="$with_krb4_lib"
24748 if test "$withval" = "yes" -o "$withval" = "no"; then
24749 { { echo "$as_me:24749: error: No argument for --with-krb4-lib" >&5
24750 echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
24751 { (exit 1); exit 1; }; }
24752 elif test "X$with_krb4" = "X"; then
24757 # Check whether --with-krb4-include or --without-krb4-include was given.
24758 if test "${with_krb4_include+set}" = set; then
24759 withval="$with_krb4_include"
24760 if test "$withval" = "yes" -o "$withval" = "no"; then
24761 { { echo "$as_me:24761: error: No argument for --with-krb4-include" >&5
24762 echo "$as_me: error: No argument for --with-krb4-include" >&2;}
24763 { (exit 1); exit 1; }; }
24764 elif test "X$with_krb4" = "X"; then
24769 # Check whether --with-krb4-config or --without-krb4-config was given.
24770 if test "${with_krb4_config+set}" = set; then
24771 withval="$with_krb4_config"
24777 echo "$as_me:24777: checking for krb4" >&5
24778 echo $ECHO_N "checking for krb4... $ECHO_C" >&6
24780 case "$with_krb4" in
24781 yes|"") d='/usr/athena' ;;
24783 *) d="$with_krb4" ;;
24789 if test "$with_krb4_include" = ""; then
24790 if test -d "$i/include/krb4"; then
24791 header_dirs="$header_dirs $i/include/krb4"
24793 if test -d "$i/include"; then
24794 header_dirs="$header_dirs $i/include"
24797 if test "$with_krb4_lib" = ""; then
24798 if test -d "$i/lib$abilibdirext"; then
24799 lib_dirs="$lib_dirs $i/lib$abilibdirext"
24804 if test "$with_krb4_include"; then
24805 header_dirs="$with_krb4_include $header_dirs"
24807 if test "$with_krb4_lib"; then
24808 lib_dirs="$with_krb4_lib $lib_dirs"
24811 if test "$with_krb4_config" = ""; then
24812 with_krb4_config='krb4-config'
24818 case "$with_krb4_config" in
24822 krb4_cflags="`$with_krb4_config --cflags 2>&1`"
24823 krb4_libs="`$with_krb4_config --libs 2>&1`"
24828 if test "$with_krb4" != no; then
24829 save_CFLAGS="$CFLAGS"
24831 if test "$krb4_cflags" -a "$krb4_libs"; then
24832 CFLAGS="$krb4_cflags $save_CFLAGS"
24833 LIBS="$krb4_libs $save_LIBS"
24834 cat >conftest.$ac_ext <<_ACEOF
24835 #line 24835 "configure"
24836 #include "confdefs.h"
24838 #ifdef F77_DUMMY_MAIN
24839 # ifdef __cplusplus
24842 int F77_DUMMY_MAIN() { return 1; }
24852 rm -f conftest.$ac_objext conftest$ac_exeext
24853 if { (eval echo "$as_me:24853: \"$ac_link\"") >&5
24854 (eval $ac_link) 2>&5
24856 echo "$as_me:24856: \$? = $ac_status" >&5
24857 (exit $ac_status); } &&
24858 { ac_try='test -s conftest$ac_exeext'
24859 { (eval echo "$as_me:24859: \"$ac_try\"") >&5
24860 (eval $ac_try) 2>&5
24862 echo "$as_me:24862: \$? = $ac_status" >&5
24863 (exit $ac_status); }; }; then
24865 INCLUDE_krb4="$krb4_cflags"
24866 LIB_krb4="$krb4_libs"
24867 echo "$as_me:24867: result: from $with_krb4_config" >&5
24868 echo "${ECHO_T}from $with_krb4_config" >&6
24871 echo "$as_me: failed program was:" >&5
24872 cat conftest.$ac_ext >&5
24874 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24876 if test "$found" = no; then
24878 for i in $header_dirs; do
24879 CFLAGS="-I$i $save_CFLAGS"
24880 cat >conftest.$ac_ext <<_ACEOF
24881 #line 24881 "configure"
24882 #include "confdefs.h"
24884 #ifdef F77_DUMMY_MAIN
24885 # ifdef __cplusplus
24888 int F77_DUMMY_MAIN() { return 1; }
24898 rm -f conftest.$ac_objext
24899 if { (eval echo "$as_me:24899: \"$ac_compile\"") >&5
24900 (eval $ac_compile) 2>&5
24902 echo "$as_me:24902: \$? = $ac_status" >&5
24903 (exit $ac_status); } &&
24904 { ac_try='test -s conftest.$ac_objext'
24905 { (eval echo "$as_me:24905: \"$ac_try\"") >&5
24906 (eval $ac_try) 2>&5
24908 echo "$as_me:24908: \$? = $ac_status" >&5
24909 (exit $ac_status); }; }; then
24912 echo "$as_me: failed program was:" >&5
24913 cat conftest.$ac_ext >&5
24915 rm -f conftest.$ac_objext conftest.$ac_ext
24917 for i in $lib_dirs; do
24918 LIBS="-L$i -lkrb -ldes $save_LIBS"
24919 cat >conftest.$ac_ext <<_ACEOF
24920 #line 24920 "configure"
24921 #include "confdefs.h"
24923 #ifdef F77_DUMMY_MAIN
24924 # ifdef __cplusplus
24927 int F77_DUMMY_MAIN() { return 1; }
24937 rm -f conftest.$ac_objext conftest$ac_exeext
24938 if { (eval echo "$as_me:24938: \"$ac_link\"") >&5
24939 (eval $ac_link) 2>&5
24941 echo "$as_me:24941: \$? = $ac_status" >&5
24942 (exit $ac_status); } &&
24943 { ac_try='test -s conftest$ac_exeext'
24944 { (eval echo "$as_me:24944: \"$ac_try\"") >&5
24945 (eval $ac_try) 2>&5
24947 echo "$as_me:24947: \$? = $ac_status" >&5
24948 (exit $ac_status); }; }; then
24951 echo "$as_me: failed program was:" >&5
24952 cat conftest.$ac_ext >&5
24954 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24956 if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
24957 INCLUDE_krb4="-I$ires"
24958 LIB_krb4="-L$lres -lkrb"
24960 echo "$as_me:24960: result: headers $ires, libraries $lres" >&5
24961 echo "${ECHO_T}headers $ires, libraries $lres" >&6
24964 CFLAGS="$save_CFLAGS"
24968 if test "$found" = yes; then
24970 cat >>confdefs.h <<_ACEOF
24979 echo "$as_me:24979: result: no" >&5
24980 echo "${ECHO_T}no" >&6
24988 if test "$with_krb4" != "no"; then
24989 save_CFLAGS="$CFLAGS"
24990 CFLAGS="$CFLAGS $INCLUDE_krb4"
24992 LIBS="$LIB_krb4 $LIBS"
24993 EXTRA_LIB45=lib45.a
24995 echo "$as_me:24995: checking for four valued krb_put_int" >&5
24996 echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
24997 if test "${ac_cv_func_krb_put_int_four+set}" = set; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
25000 cat >conftest.$ac_ext <<_ACEOF
25001 #line 25001 "configure"
25002 #include "confdefs.h"
25004 #ifdef F77_DUMMY_MAIN
25005 # ifdef __cplusplus
25008 int F77_DUMMY_MAIN() { return 1; }
25015 krb_put_int(17, tmp, 4, sizeof(tmp));
25020 rm -f conftest.$ac_objext
25021 if { (eval echo "$as_me:25021: \"$ac_compile\"") >&5
25022 (eval $ac_compile) 2>&5
25024 echo "$as_me:25024: \$? = $ac_status" >&5
25025 (exit $ac_status); } &&
25026 { ac_try='test -s conftest.$ac_objext'
25027 { (eval echo "$as_me:25027: \"$ac_try\"") >&5
25028 (eval $ac_try) 2>&5
25030 echo "$as_me:25030: \$? = $ac_status" >&5
25031 (exit $ac_status); }; }; then
25032 ac_cv_func_krb_put_int_four=yes
25034 echo "$as_me: failed program was:" >&5
25035 cat conftest.$ac_ext >&5
25036 ac_cv_func_krb_put_int_four=no
25038 rm -f conftest.$ac_objext conftest.$ac_ext
25041 echo "$as_me:25041: result: $ac_cv_func_krb_put_int_four" >&5
25042 echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
25043 if test "$ac_cv_func_krb_put_int_four" = yes; then
25045 cat >>confdefs.h <<\_ACEOF
25046 #define HAVE_FOUR_VALUED_KRB_PUT_INT 1
25052 echo "$as_me:25052: checking for KRB_VERIFY_SECURE" >&5
25053 echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
25054 if test "${ac_cv_func_krb_verify_secure+set}" = set; then
25055 echo $ECHO_N "(cached) $ECHO_C" >&6
25057 cat >conftest.$ac_ext <<_ACEOF
25058 #line 25058 "configure"
25059 #include "confdefs.h"
25061 #ifdef F77_DUMMY_MAIN
25062 # ifdef __cplusplus
25065 int F77_DUMMY_MAIN() { return 1; }
25071 int x = KRB_VERIFY_SECURE
25076 rm -f conftest.$ac_objext
25077 if { (eval echo "$as_me:25077: \"$ac_compile\"") >&5
25078 (eval $ac_compile) 2>&5
25080 echo "$as_me:25080: \$? = $ac_status" >&5
25081 (exit $ac_status); } &&
25082 { ac_try='test -s conftest.$ac_objext'
25083 { (eval echo "$as_me:25083: \"$ac_try\"") >&5
25084 (eval $ac_try) 2>&5
25086 echo "$as_me:25086: \$? = $ac_status" >&5
25087 (exit $ac_status); }; }; then
25088 ac_cv_func_krb_verify_secure=yes
25090 echo "$as_me: failed program was:" >&5
25091 cat conftest.$ac_ext >&5
25092 ac_cv_func_krb_verify_secure=no
25094 rm -f conftest.$ac_objext conftest.$ac_ext
25097 echo "$as_me:25097: result: $ac_cv_func_krb_verify_secure" >&5
25098 echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
25099 if test "$ac_cv_func_krb_verify_secure" != yes; then
25101 cat >>confdefs.h <<\_ACEOF
25102 #define KRB_VERIFY_SECURE 1
25106 cat >>confdefs.h <<\_ACEOF
25107 #define KRB_VERIFY_SECURE_FAIL 2
25111 echo "$as_me:25111: checking for KRB_VERIFY_NOT_SECURE" >&5
25112 echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
25113 if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
25114 echo $ECHO_N "(cached) $ECHO_C" >&6
25116 cat >conftest.$ac_ext <<_ACEOF
25117 #line 25117 "configure"
25118 #include "confdefs.h"
25120 #ifdef F77_DUMMY_MAIN
25121 # ifdef __cplusplus
25124 int F77_DUMMY_MAIN() { return 1; }
25130 int x = KRB_VERIFY_NOT_SECURE
25135 rm -f conftest.$ac_objext
25136 if { (eval echo "$as_me:25136: \"$ac_compile\"") >&5
25137 (eval $ac_compile) 2>&5
25139 echo "$as_me:25139: \$? = $ac_status" >&5
25140 (exit $ac_status); } &&
25141 { ac_try='test -s conftest.$ac_objext'
25142 { (eval echo "$as_me:25142: \"$ac_try\"") >&5
25143 (eval $ac_try) 2>&5
25145 echo "$as_me:25145: \$? = $ac_status" >&5
25146 (exit $ac_status); }; }; then
25147 ac_cv_func_krb_verify_not_secure=yes
25149 echo "$as_me: failed program was:" >&5
25150 cat conftest.$ac_ext >&5
25151 ac_cv_func_krb_verify_not_secure=no
25153 rm -f conftest.$ac_objext conftest.$ac_ext
25156 echo "$as_me:25156: result: $ac_cv_func_krb_verify_not_secure" >&5
25157 echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
25158 if test "$ac_cv_func_krb_verify_not_secure" != yes; then
25160 cat >>confdefs.h <<\_ACEOF
25161 #define KRB_VERIFY_NOT_SECURE 0
25169 echo "$as_me:25169: checking for krb_enable_debug" >&5
25170 echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
25171 if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
25172 echo $ECHO_N "(cached) $ECHO_C" >&6
25175 if eval "test \"\$ac_cv_func_krb_enable_debug\" != yes" ; then
25176 ac_save_LIBS="$LIBS"
25177 for ac_lib in "" ; do
25183 *) ac_lib="-l$ac_lib" ;;
25185 LIBS=" $ac_lib $ac_save_LIBS"
25186 cat >conftest.$ac_ext <<_ACEOF
25187 #line 25187 "configure"
25188 #include "confdefs.h"
25190 #ifdef F77_DUMMY_MAIN
25191 # ifdef __cplusplus
25194 int F77_DUMMY_MAIN() { return 1; }
25204 rm -f conftest.$ac_objext conftest$ac_exeext
25205 if { (eval echo "$as_me:25205: \"$ac_link\"") >&5
25206 (eval $ac_link) 2>&5
25208 echo "$as_me:25208: \$? = $ac_status" >&5
25209 (exit $ac_status); } &&
25210 { ac_try='test -s conftest$ac_exeext'
25211 { (eval echo "$as_me:25211: \"$ac_try\"") >&5
25212 (eval $ac_try) 2>&5
25214 echo "$as_me:25214: \$? = $ac_status" >&5
25215 (exit $ac_status); }; }; then
25216 eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
25218 echo "$as_me: failed program was:" >&5
25219 cat conftest.$ac_ext >&5
25221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25223 eval "ac_cv_funclib_krb_enable_debug=\${ac_cv_funclib_krb_enable_debug-no}"
25224 LIBS="$ac_save_LIBS"
25230 eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
25234 for ac_func in krb_enable_debug
25236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25237 echo "$as_me:25237: checking for $ac_func" >&5
25238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25239 if eval "test \"\${$as_ac_var+set}\" = set"; then
25240 echo $ECHO_N "(cached) $ECHO_C" >&6
25242 cat >conftest.$ac_ext <<_ACEOF
25243 #line 25243 "configure"
25244 #include "confdefs.h"
25245 /* System header to define __stub macros and hopefully few prototypes,
25246 which can conflict with char $ac_func (); below. */
25247 #include <assert.h>
25248 /* Override any gcc2 internal prototype to avoid an error. */
25252 /* We use char because int might match the return type of a gcc2
25253 builtin and then its argument prototype would still apply. */
25257 #ifdef F77_DUMMY_MAIN
25258 # ifdef __cplusplus
25261 int F77_DUMMY_MAIN() { return 1; }
25266 /* The GNU C library defines this for functions which it implements
25267 to always fail with ENOSYS. Some functions are actually named
25268 something starting with __ and the normal name is an alias. */
25269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25279 rm -f conftest.$ac_objext conftest$ac_exeext
25280 if { (eval echo "$as_me:25280: \"$ac_link\"") >&5
25281 (eval $ac_link) 2>&5
25283 echo "$as_me:25283: \$? = $ac_status" >&5
25284 (exit $ac_status); } &&
25285 { ac_try='test -s conftest$ac_exeext'
25286 { (eval echo "$as_me:25286: \"$ac_try\"") >&5
25287 (eval $ac_try) 2>&5
25289 echo "$as_me:25289: \$? = $ac_status" >&5
25290 (exit $ac_status); }; }; then
25291 eval "$as_ac_var=yes"
25293 echo "$as_me: failed program was:" >&5
25294 cat conftest.$ac_ext >&5
25295 eval "$as_ac_var=no"
25297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25299 echo "$as_me:25299: result: `eval echo '${'$as_ac_var'}'`" >&5
25300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25301 if test `eval echo '${'$as_ac_var'}'` = yes; then
25302 cat >>confdefs.h <<_ACEOF
25303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25311 eval "ac_tr_func=HAVE_`echo krb_enable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
25312 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
25313 eval "LIB_krb_enable_debug=$ac_res"
25317 eval "ac_cv_func_krb_enable_debug=yes"
25318 eval "LIB_krb_enable_debug="
25319 cat >>confdefs.h <<_ACEOF
25320 #define $ac_tr_func 1
25323 echo "$as_me:25323: result: yes" >&5
25324 echo "${ECHO_T}yes" >&6
25327 eval "ac_cv_func_krb_enable_debug=no"
25328 eval "LIB_krb_enable_debug="
25329 echo "$as_me:25329: result: no" >&5
25330 echo "${ECHO_T}no" >&6
25333 eval "ac_cv_func_krb_enable_debug=yes"
25334 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
25335 cat >>confdefs.h <<_ACEOF
25336 #define $ac_tr_func 1
25339 cat >>confdefs.h <<_ACEOF
25340 #define $ac_tr_lib 1
25343 echo "$as_me:25343: result: yes, in $ac_res" >&5
25344 echo "${ECHO_T}yes, in $ac_res" >&6
25349 if test -n "$LIB_krb_enable_debug"; then
25350 LIBS="$LIB_krb_enable_debug $LIBS"
25357 echo "$as_me:25357: checking for krb_disable_debug" >&5
25358 echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
25359 if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
25360 echo $ECHO_N "(cached) $ECHO_C" >&6
25363 if eval "test \"\$ac_cv_func_krb_disable_debug\" != yes" ; then
25364 ac_save_LIBS="$LIBS"
25365 for ac_lib in "" ; do
25371 *) ac_lib="-l$ac_lib" ;;
25373 LIBS=" $ac_lib $ac_save_LIBS"
25374 cat >conftest.$ac_ext <<_ACEOF
25375 #line 25375 "configure"
25376 #include "confdefs.h"
25378 #ifdef F77_DUMMY_MAIN
25379 # ifdef __cplusplus
25382 int F77_DUMMY_MAIN() { return 1; }
25387 krb_disable_debug()
25392 rm -f conftest.$ac_objext conftest$ac_exeext
25393 if { (eval echo "$as_me:25393: \"$ac_link\"") >&5
25394 (eval $ac_link) 2>&5
25396 echo "$as_me:25396: \$? = $ac_status" >&5
25397 (exit $ac_status); } &&
25398 { ac_try='test -s conftest$ac_exeext'
25399 { (eval echo "$as_me:25399: \"$ac_try\"") >&5
25400 (eval $ac_try) 2>&5
25402 echo "$as_me:25402: \$? = $ac_status" >&5
25403 (exit $ac_status); }; }; then
25404 eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
25406 echo "$as_me: failed program was:" >&5
25407 cat conftest.$ac_ext >&5
25409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25411 eval "ac_cv_funclib_krb_disable_debug=\${ac_cv_funclib_krb_disable_debug-no}"
25412 LIBS="$ac_save_LIBS"
25418 eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
25422 for ac_func in krb_disable_debug
25424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25425 echo "$as_me:25425: checking for $ac_func" >&5
25426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25427 if eval "test \"\${$as_ac_var+set}\" = set"; then
25428 echo $ECHO_N "(cached) $ECHO_C" >&6
25430 cat >conftest.$ac_ext <<_ACEOF
25431 #line 25431 "configure"
25432 #include "confdefs.h"
25433 /* System header to define __stub macros and hopefully few prototypes,
25434 which can conflict with char $ac_func (); below. */
25435 #include <assert.h>
25436 /* Override any gcc2 internal prototype to avoid an error. */
25440 /* We use char because int might match the return type of a gcc2
25441 builtin and then its argument prototype would still apply. */
25445 #ifdef F77_DUMMY_MAIN
25446 # ifdef __cplusplus
25449 int F77_DUMMY_MAIN() { return 1; }
25454 /* The GNU C library defines this for functions which it implements
25455 to always fail with ENOSYS. Some functions are actually named
25456 something starting with __ and the normal name is an alias. */
25457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25467 rm -f conftest.$ac_objext conftest$ac_exeext
25468 if { (eval echo "$as_me:25468: \"$ac_link\"") >&5
25469 (eval $ac_link) 2>&5
25471 echo "$as_me:25471: \$? = $ac_status" >&5
25472 (exit $ac_status); } &&
25473 { ac_try='test -s conftest$ac_exeext'
25474 { (eval echo "$as_me:25474: \"$ac_try\"") >&5
25475 (eval $ac_try) 2>&5
25477 echo "$as_me:25477: \$? = $ac_status" >&5
25478 (exit $ac_status); }; }; then
25479 eval "$as_ac_var=yes"
25481 echo "$as_me: failed program was:" >&5
25482 cat conftest.$ac_ext >&5
25483 eval "$as_ac_var=no"
25485 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25487 echo "$as_me:25487: result: `eval echo '${'$as_ac_var'}'`" >&5
25488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25489 if test `eval echo '${'$as_ac_var'}'` = yes; then
25490 cat >>confdefs.h <<_ACEOF
25491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25498 # krb_disable_debug
25499 eval "ac_tr_func=HAVE_`echo krb_disable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
25500 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
25501 eval "LIB_krb_disable_debug=$ac_res"
25505 eval "ac_cv_func_krb_disable_debug=yes"
25506 eval "LIB_krb_disable_debug="
25507 cat >>confdefs.h <<_ACEOF
25508 #define $ac_tr_func 1
25511 echo "$as_me:25511: result: yes" >&5
25512 echo "${ECHO_T}yes" >&6
25515 eval "ac_cv_func_krb_disable_debug=no"
25516 eval "LIB_krb_disable_debug="
25517 echo "$as_me:25517: result: no" >&5
25518 echo "${ECHO_T}no" >&6
25521 eval "ac_cv_func_krb_disable_debug=yes"
25522 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
25523 cat >>confdefs.h <<_ACEOF
25524 #define $ac_tr_func 1
25527 cat >>confdefs.h <<_ACEOF
25528 #define $ac_tr_lib 1
25531 echo "$as_me:25531: result: yes, in $ac_res" >&5
25532 echo "${ECHO_T}yes, in $ac_res" >&6
25537 if test -n "$LIB_krb_disable_debug"; then
25538 LIBS="$LIB_krb_disable_debug $LIBS"
25545 echo "$as_me:25545: checking for krb_get_our_ip_for_realm" >&5
25546 echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
25547 if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
25548 echo $ECHO_N "(cached) $ECHO_C" >&6
25551 if eval "test \"\$ac_cv_func_krb_get_our_ip_for_realm\" != yes" ; then
25552 ac_save_LIBS="$LIBS"
25553 for ac_lib in "" ; do
25559 *) ac_lib="-l$ac_lib" ;;
25561 LIBS=" $ac_lib $ac_save_LIBS"
25562 cat >conftest.$ac_ext <<_ACEOF
25563 #line 25563 "configure"
25564 #include "confdefs.h"
25566 #ifdef F77_DUMMY_MAIN
25567 # ifdef __cplusplus
25570 int F77_DUMMY_MAIN() { return 1; }
25575 krb_get_our_ip_for_realm()
25580 rm -f conftest.$ac_objext conftest$ac_exeext
25581 if { (eval echo "$as_me:25581: \"$ac_link\"") >&5
25582 (eval $ac_link) 2>&5
25584 echo "$as_me:25584: \$? = $ac_status" >&5
25585 (exit $ac_status); } &&
25586 { ac_try='test -s conftest$ac_exeext'
25587 { (eval echo "$as_me:25587: \"$ac_try\"") >&5
25588 (eval $ac_try) 2>&5
25590 echo "$as_me:25590: \$? = $ac_status" >&5
25591 (exit $ac_status); }; }; then
25592 eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
25594 echo "$as_me: failed program was:" >&5
25595 cat conftest.$ac_ext >&5
25597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25599 eval "ac_cv_funclib_krb_get_our_ip_for_realm=\${ac_cv_funclib_krb_get_our_ip_for_realm-no}"
25600 LIBS="$ac_save_LIBS"
25606 eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
25610 for ac_func in krb_get_our_ip_for_realm
25612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25613 echo "$as_me:25613: checking for $ac_func" >&5
25614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25615 if eval "test \"\${$as_ac_var+set}\" = set"; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 cat >conftest.$ac_ext <<_ACEOF
25619 #line 25619 "configure"
25620 #include "confdefs.h"
25621 /* System header to define __stub macros and hopefully few prototypes,
25622 which can conflict with char $ac_func (); below. */
25623 #include <assert.h>
25624 /* Override any gcc2 internal prototype to avoid an error. */
25628 /* We use char because int might match the return type of a gcc2
25629 builtin and then its argument prototype would still apply. */
25633 #ifdef F77_DUMMY_MAIN
25634 # ifdef __cplusplus
25637 int F77_DUMMY_MAIN() { return 1; }
25642 /* The GNU C library defines this for functions which it implements
25643 to always fail with ENOSYS. Some functions are actually named
25644 something starting with __ and the normal name is an alias. */
25645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25655 rm -f conftest.$ac_objext conftest$ac_exeext
25656 if { (eval echo "$as_me:25656: \"$ac_link\"") >&5
25657 (eval $ac_link) 2>&5
25659 echo "$as_me:25659: \$? = $ac_status" >&5
25660 (exit $ac_status); } &&
25661 { ac_try='test -s conftest$ac_exeext'
25662 { (eval echo "$as_me:25662: \"$ac_try\"") >&5
25663 (eval $ac_try) 2>&5
25665 echo "$as_me:25665: \$? = $ac_status" >&5
25666 (exit $ac_status); }; }; then
25667 eval "$as_ac_var=yes"
25669 echo "$as_me: failed program was:" >&5
25670 cat conftest.$ac_ext >&5
25671 eval "$as_ac_var=no"
25673 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25675 echo "$as_me:25675: result: `eval echo '${'$as_ac_var'}'`" >&5
25676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25677 if test `eval echo '${'$as_ac_var'}'` = yes; then
25678 cat >>confdefs.h <<_ACEOF
25679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25686 # krb_get_our_ip_for_realm
25687 eval "ac_tr_func=HAVE_`echo krb_get_our_ip_for_realm | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
25688 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
25689 eval "LIB_krb_get_our_ip_for_realm=$ac_res"
25693 eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
25694 eval "LIB_krb_get_our_ip_for_realm="
25695 cat >>confdefs.h <<_ACEOF
25696 #define $ac_tr_func 1
25699 echo "$as_me:25699: result: yes" >&5
25700 echo "${ECHO_T}yes" >&6
25703 eval "ac_cv_func_krb_get_our_ip_for_realm=no"
25704 eval "LIB_krb_get_our_ip_for_realm="
25705 echo "$as_me:25705: result: no" >&5
25706 echo "${ECHO_T}no" >&6
25709 eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
25710 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
25711 cat >>confdefs.h <<_ACEOF
25712 #define $ac_tr_func 1
25715 cat >>confdefs.h <<_ACEOF
25716 #define $ac_tr_lib 1
25719 echo "$as_me:25719: result: yes, in $ac_res" >&5
25720 echo "${ECHO_T}yes, in $ac_res" >&6
25725 if test -n "$LIB_krb_get_our_ip_for_realm"; then
25726 LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
25733 echo "$as_me:25733: checking for krb_kdctimeofday" >&5
25734 echo $ECHO_N "checking for krb_kdctimeofday... $ECHO_C" >&6
25735 if test "${ac_cv_funclib_krb_kdctimeofday+set}" = set; then
25736 echo $ECHO_N "(cached) $ECHO_C" >&6
25739 if eval "test \"\$ac_cv_func_krb_kdctimeofday\" != yes" ; then
25740 ac_save_LIBS="$LIBS"
25741 for ac_lib in "" ; do
25747 *) ac_lib="-l$ac_lib" ;;
25749 LIBS=" $ac_lib $ac_save_LIBS"
25750 cat >conftest.$ac_ext <<_ACEOF
25751 #line 25751 "configure"
25752 #include "confdefs.h"
25754 #ifdef F77_DUMMY_MAIN
25755 # ifdef __cplusplus
25758 int F77_DUMMY_MAIN() { return 1; }
25768 rm -f conftest.$ac_objext conftest$ac_exeext
25769 if { (eval echo "$as_me:25769: \"$ac_link\"") >&5
25770 (eval $ac_link) 2>&5
25772 echo "$as_me:25772: \$? = $ac_status" >&5
25773 (exit $ac_status); } &&
25774 { ac_try='test -s conftest$ac_exeext'
25775 { (eval echo "$as_me:25775: \"$ac_try\"") >&5
25776 (eval $ac_try) 2>&5
25778 echo "$as_me:25778: \$? = $ac_status" >&5
25779 (exit $ac_status); }; }; then
25780 eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_kdctimeofday=$ac_lib; else ac_cv_funclib_krb_kdctimeofday=yes; fi";break
25782 echo "$as_me: failed program was:" >&5
25783 cat conftest.$ac_ext >&5
25785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25787 eval "ac_cv_funclib_krb_kdctimeofday=\${ac_cv_funclib_krb_kdctimeofday-no}"
25788 LIBS="$ac_save_LIBS"
25794 eval "ac_res=\$ac_cv_funclib_krb_kdctimeofday"
25798 for ac_func in krb_kdctimeofday
25800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25801 echo "$as_me:25801: checking for $ac_func" >&5
25802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25803 if eval "test \"\${$as_ac_var+set}\" = set"; then
25804 echo $ECHO_N "(cached) $ECHO_C" >&6
25806 cat >conftest.$ac_ext <<_ACEOF
25807 #line 25807 "configure"
25808 #include "confdefs.h"
25809 /* System header to define __stub macros and hopefully few prototypes,
25810 which can conflict with char $ac_func (); below. */
25811 #include <assert.h>
25812 /* Override any gcc2 internal prototype to avoid an error. */
25816 /* We use char because int might match the return type of a gcc2
25817 builtin and then its argument prototype would still apply. */
25821 #ifdef F77_DUMMY_MAIN
25822 # ifdef __cplusplus
25825 int F77_DUMMY_MAIN() { return 1; }
25830 /* The GNU C library defines this for functions which it implements
25831 to always fail with ENOSYS. Some functions are actually named
25832 something starting with __ and the normal name is an alias. */
25833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25843 rm -f conftest.$ac_objext conftest$ac_exeext
25844 if { (eval echo "$as_me:25844: \"$ac_link\"") >&5
25845 (eval $ac_link) 2>&5
25847 echo "$as_me:25847: \$? = $ac_status" >&5
25848 (exit $ac_status); } &&
25849 { ac_try='test -s conftest$ac_exeext'
25850 { (eval echo "$as_me:25850: \"$ac_try\"") >&5
25851 (eval $ac_try) 2>&5
25853 echo "$as_me:25853: \$? = $ac_status" >&5
25854 (exit $ac_status); }; }; then
25855 eval "$as_ac_var=yes"
25857 echo "$as_me: failed program was:" >&5
25858 cat conftest.$ac_ext >&5
25859 eval "$as_ac_var=no"
25861 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25863 echo "$as_me:25863: result: `eval echo '${'$as_ac_var'}'`" >&5
25864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25865 if test `eval echo '${'$as_ac_var'}'` = yes; then
25866 cat >>confdefs.h <<_ACEOF
25867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25875 eval "ac_tr_func=HAVE_`echo krb_kdctimeofday | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
25876 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
25877 eval "LIB_krb_kdctimeofday=$ac_res"
25881 eval "ac_cv_func_krb_kdctimeofday=yes"
25882 eval "LIB_krb_kdctimeofday="
25883 cat >>confdefs.h <<_ACEOF
25884 #define $ac_tr_func 1
25887 echo "$as_me:25887: result: yes" >&5
25888 echo "${ECHO_T}yes" >&6
25891 eval "ac_cv_func_krb_kdctimeofday=no"
25892 eval "LIB_krb_kdctimeofday="
25893 echo "$as_me:25893: result: no" >&5
25894 echo "${ECHO_T}no" >&6
25897 eval "ac_cv_func_krb_kdctimeofday=yes"
25898 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
25899 cat >>confdefs.h <<_ACEOF
25900 #define $ac_tr_func 1
25903 cat >>confdefs.h <<_ACEOF
25904 #define $ac_tr_lib 1
25907 echo "$as_me:25907: result: yes, in $ac_res" >&5
25908 echo "${ECHO_T}yes, in $ac_res" >&6
25913 if test -n "$LIB_krb_kdctimeofday"; then
25914 LIBS="$LIB_krb_kdctimeofday $LIBS"
25923 echo "$as_me:25923: checking for krb_get_kdc_time_diff" >&5
25924 echo $ECHO_N "checking for krb_get_kdc_time_diff... $ECHO_C" >&6
25925 if test "${ac_cv_funclib_krb_get_kdc_time_diff+set}" = set; then
25926 echo $ECHO_N "(cached) $ECHO_C" >&6
25929 if eval "test \"\$ac_cv_func_krb_get_kdc_time_diff\" != yes" ; then
25930 ac_save_LIBS="$LIBS"
25931 for ac_lib in "" ; do
25937 *) ac_lib="-l$ac_lib" ;;
25939 LIBS=" $ac_lib $ac_save_LIBS"
25940 cat >conftest.$ac_ext <<_ACEOF
25941 #line 25941 "configure"
25942 #include "confdefs.h"
25944 #ifdef F77_DUMMY_MAIN
25945 # ifdef __cplusplus
25948 int F77_DUMMY_MAIN() { return 1; }
25953 krb_get_kdc_time_diff()
25958 rm -f conftest.$ac_objext conftest$ac_exeext
25959 if { (eval echo "$as_me:25959: \"$ac_link\"") >&5
25960 (eval $ac_link) 2>&5
25962 echo "$as_me:25962: \$? = $ac_status" >&5
25963 (exit $ac_status); } &&
25964 { ac_try='test -s conftest$ac_exeext'
25965 { (eval echo "$as_me:25965: \"$ac_try\"") >&5
25966 (eval $ac_try) 2>&5
25968 echo "$as_me:25968: \$? = $ac_status" >&5
25969 (exit $ac_status); }; }; then
25970 eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_kdc_time_diff=$ac_lib; else ac_cv_funclib_krb_get_kdc_time_diff=yes; fi";break
25972 echo "$as_me: failed program was:" >&5
25973 cat conftest.$ac_ext >&5
25975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25977 eval "ac_cv_funclib_krb_get_kdc_time_diff=\${ac_cv_funclib_krb_get_kdc_time_diff-no}"
25978 LIBS="$ac_save_LIBS"
25984 eval "ac_res=\$ac_cv_funclib_krb_get_kdc_time_diff"
25988 for ac_func in krb_get_kdc_time_diff
25990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25991 echo "$as_me:25991: checking for $ac_func" >&5
25992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25993 if eval "test \"\${$as_ac_var+set}\" = set"; then
25994 echo $ECHO_N "(cached) $ECHO_C" >&6
25996 cat >conftest.$ac_ext <<_ACEOF
25997 #line 25997 "configure"
25998 #include "confdefs.h"
25999 /* System header to define __stub macros and hopefully few prototypes,
26000 which can conflict with char $ac_func (); below. */
26001 #include <assert.h>
26002 /* Override any gcc2 internal prototype to avoid an error. */
26006 /* We use char because int might match the return type of a gcc2
26007 builtin and then its argument prototype would still apply. */
26011 #ifdef F77_DUMMY_MAIN
26012 # ifdef __cplusplus
26015 int F77_DUMMY_MAIN() { return 1; }
26020 /* The GNU C library defines this for functions which it implements
26021 to always fail with ENOSYS. Some functions are actually named
26022 something starting with __ and the normal name is an alias. */
26023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26033 rm -f conftest.$ac_objext conftest$ac_exeext
26034 if { (eval echo "$as_me:26034: \"$ac_link\"") >&5
26035 (eval $ac_link) 2>&5
26037 echo "$as_me:26037: \$? = $ac_status" >&5
26038 (exit $ac_status); } &&
26039 { ac_try='test -s conftest$ac_exeext'
26040 { (eval echo "$as_me:26040: \"$ac_try\"") >&5
26041 (eval $ac_try) 2>&5
26043 echo "$as_me:26043: \$? = $ac_status" >&5
26044 (exit $ac_status); }; }; then
26045 eval "$as_ac_var=yes"
26047 echo "$as_me: failed program was:" >&5
26048 cat conftest.$ac_ext >&5
26049 eval "$as_ac_var=no"
26051 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26053 echo "$as_me:26053: result: `eval echo '${'$as_ac_var'}'`" >&5
26054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26055 if test `eval echo '${'$as_ac_var'}'` = yes; then
26056 cat >>confdefs.h <<_ACEOF
26057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26064 # krb_get_kdc_time_diff
26065 eval "ac_tr_func=HAVE_`echo krb_get_kdc_time_diff | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
26066 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
26067 eval "LIB_krb_get_kdc_time_diff=$ac_res"
26071 eval "ac_cv_func_krb_get_kdc_time_diff=yes"
26072 eval "LIB_krb_get_kdc_time_diff="
26073 cat >>confdefs.h <<_ACEOF
26074 #define $ac_tr_func 1
26077 echo "$as_me:26077: result: yes" >&5
26078 echo "${ECHO_T}yes" >&6
26081 eval "ac_cv_func_krb_get_kdc_time_diff=no"
26082 eval "LIB_krb_get_kdc_time_diff="
26083 echo "$as_me:26083: result: no" >&5
26084 echo "${ECHO_T}no" >&6
26087 eval "ac_cv_func_krb_get_kdc_time_diff=yes"
26088 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
26089 cat >>confdefs.h <<_ACEOF
26090 #define $ac_tr_func 1
26093 cat >>confdefs.h <<_ACEOF
26094 #define $ac_tr_lib 1
26097 echo "$as_me:26097: result: yes, in $ac_res" >&5
26098 echo "${ECHO_T}yes, in $ac_res" >&6
26103 if test -n "$LIB_krb_get_kdc_time_diff"; then
26104 LIBS="$LIB_krb_get_kdc_time_diff $LIBS"
26109 echo "$as_me:26109: checking for KRB_SENDAUTH_VERS" >&5
26110 echo $ECHO_N "checking for KRB_SENDAUTH_VERS... $ECHO_C" >&6
26111 if test "${ac_cv_func_krb_sendauth_vers+set}" = set; then
26112 echo $ECHO_N "(cached) $ECHO_C" >&6
26114 cat >conftest.$ac_ext <<_ACEOF
26115 #line 26115 "configure"
26116 #include "confdefs.h"
26119 #ifdef F77_DUMMY_MAIN
26120 # ifdef __cplusplus
26123 int F77_DUMMY_MAIN() { return 1; }
26129 char *x = KRB_SENDAUTH_VERS
26134 rm -f conftest.$ac_objext
26135 if { (eval echo "$as_me:26135: \"$ac_compile\"") >&5
26136 (eval $ac_compile) 2>&5
26138 echo "$as_me:26138: \$? = $ac_status" >&5
26139 (exit $ac_status); } &&
26140 { ac_try='test -s conftest.$ac_objext'
26141 { (eval echo "$as_me:26141: \"$ac_try\"") >&5
26142 (eval $ac_try) 2>&5
26144 echo "$as_me:26144: \$? = $ac_status" >&5
26145 (exit $ac_status); }; }; then
26146 ac_cv_func_krb_sendauth_vers=yes
26148 echo "$as_me: failed program was:" >&5
26149 cat conftest.$ac_ext >&5
26150 ac_cv_func_krb_sendauth_vers=no
26152 rm -f conftest.$ac_objext conftest.$ac_ext
26155 echo "$as_me:26155: result: $ac_cv_func_krb_sendauth_vers" >&5
26156 echo "${ECHO_T}$ac_cv_func_krb_sendauth_vers" >&6
26157 if test "$ac_cv_func_krb_sendauth_vers" != yes; then
26159 cat >>confdefs.h <<\_ACEOF
26160 #define KRB_SENDAUTH_VERS "AUTHV0.1"
26164 echo "$as_me:26164: checking for krb_mk_req with const arguments" >&5
26165 echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
26166 if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
26167 echo $ECHO_N "(cached) $ECHO_C" >&6
26169 cat >conftest.$ac_ext <<_ACEOF
26170 #line 26170 "configure"
26171 #include "confdefs.h"
26173 int krb_mk_req(KTEXT a, const char *s, const char *i,
26174 const char *r, int32_t checksum)
26176 #ifdef F77_DUMMY_MAIN
26177 # ifdef __cplusplus
26180 int F77_DUMMY_MAIN() { return 1; }
26190 rm -f conftest.$ac_objext
26191 if { (eval echo "$as_me:26191: \"$ac_compile\"") >&5
26192 (eval $ac_compile) 2>&5
26194 echo "$as_me:26194: \$? = $ac_status" >&5
26195 (exit $ac_status); } &&
26196 { ac_try='test -s conftest.$ac_objext'
26197 { (eval echo "$as_me:26197: \"$ac_try\"") >&5
26198 (eval $ac_try) 2>&5
26200 echo "$as_me:26200: \$? = $ac_status" >&5
26201 (exit $ac_status); }; }; then
26202 ac_cv_func_krb_mk_req_const=yes
26204 echo "$as_me: failed program was:" >&5
26205 cat conftest.$ac_ext >&5
26206 ac_cv_func_krb_mk_req_const=no
26208 rm -f conftest.$ac_objext conftest.$ac_ext
26211 echo "$as_me:26211: result: $ac_cv_func_krb_mk_req_const" >&5
26212 echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
26213 if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
26215 cat >>confdefs.h <<\_ACEOF
26216 #define KRB_MK_REQ_CONST 1
26222 CFLAGS="$save_CFLAGS"
26223 LIB_kdb="-lkdb -lkrb"
26224 if test "$krb4_libdir"; then
26225 LIB_krb4="-R $krb4_libdir $LIB_krb4"
26226 LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb"
26231 if test "$with_krb4" != "no"; then
26252 do_roken_rename_TRUE=
26253 do_roken_rename_FALSE='#'
26255 do_roken_rename_TRUE='#'
26256 do_roken_rename_FALSE=
26261 cat >>confdefs.h <<\_ACEOF
26265 # Check whether --enable-dce or --disable-dce was given.
26266 if test "${enable_dce+set}" = set; then
26267 enableval="$enable_dce"
26270 if test "$enable_dce" = yes; then
26272 cat >>confdefs.h <<\_ACEOF
26279 if test "$enable_dce" = yes; then
26288 ## XXX quite horrible:
26289 if test -f /etc/ibmcxx.cfg; then
26290 dpagaix_ldadd=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/libraries/{;s/^[^=]*=\(.*\)/\1/;s/,/ /gp;}'`
26291 dpagaix_cflags=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/options/{;s/^[^=]*=\(.*\)/\1/;s/-q^,*//;s/,/ /gp;}'`
26294 dpagaix_cflags="-D_THREAD_SAFE -D_AIX_PTHREADS_D7 -D_AIX32_THREADS=1 -D_AES_SOURCE -D_AIX41 -I/usr/include/dce"
26295 dpagaix_ldadd="-L/usr/lib/threads -ldcelibc_r -ldcepthreads -lpthreads_compat lpthreads -lc_r"
26296 dpagaix_ldflags="-Wl,-bI:dfspag.exp"
26303 # Check whether --enable-otp or --disable-otp was given.
26304 if test "${enable_otp+set}" = set; then
26305 enableval="$enable_otp"
26308 if test "$enable_otp" = yes -a "$db_type" = unknown; then
26309 { { echo "$as_me:26309: error: OTP requires a NDBM/DB compatible library" >&5
26310 echo "$as_me: error: OTP requires a NDBM/DB compatible library" >&2;}
26311 { (exit 1); exit 1; }; }
26313 if test "$enable_otp" != no; then
26314 if test "$db_type" != unknown; then
26320 if test "$enable_otp" = yes; then
26322 cat >>confdefs.h <<\_ACEOF
26326 LIB_otp='$(top_builddir)/lib/otp/libotp.la'
26329 echo "$as_me:26329: checking whether to enable OTP library" >&5
26330 echo $ECHO_N "checking whether to enable OTP library... $ECHO_C" >&6
26331 echo "$as_me:26331: result: $enable_otp" >&5
26332 echo "${ECHO_T}$enable_otp" >&6
26335 if test "$enable_otp" = yes; then
26345 # Check whether --enable-osfc2 or --disable-osfc2 was given.
26346 if test "${enable_osfc2+set}" = set; then
26347 enableval="$enable_osfc2"
26351 if test "$enable_osfc2" = yes; then
26353 cat >>confdefs.h <<\_ACEOF
26354 #define HAVE_OSFC2 1
26357 LIB_security=-lsecurity
26362 # Extract the first word of "nroff", so it can be a program name with args.
26363 set dummy nroff; ac_word=$2
26364 echo "$as_me:26364: checking for $ac_word" >&5
26365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26366 if test "${ac_cv_path_NROFF+set}" = set; then
26367 echo $ECHO_N "(cached) $ECHO_C" >&6
26371 ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
26374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26375 for as_dir in $PATH
26378 test -z "$as_dir" && as_dir=.
26379 for ac_exec_ext in '' $ac_executable_extensions; do
26380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26381 ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
26382 echo "$as_me:26382: found $as_dir/$ac_word$ac_exec_ext" >&5
26391 NROFF=$ac_cv_path_NROFF
26393 if test -n "$NROFF"; then
26394 echo "$as_me:26394: result: $NROFF" >&5
26395 echo "${ECHO_T}$NROFF" >&6
26397 echo "$as_me:26397: result: no" >&5
26398 echo "${ECHO_T}no" >&6
26401 # Extract the first word of "groff", so it can be a program name with args.
26402 set dummy groff; ac_word=$2
26403 echo "$as_me:26403: checking for $ac_word" >&5
26404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26405 if test "${ac_cv_path_GROFF+set}" = set; then
26406 echo $ECHO_N "(cached) $ECHO_C" >&6
26410 ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
26413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26414 for as_dir in $PATH
26417 test -z "$as_dir" && as_dir=.
26418 for ac_exec_ext in '' $ac_executable_extensions; do
26419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26420 ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
26421 echo "$as_me:26421: found $as_dir/$ac_word$ac_exec_ext" >&5
26430 GROFF=$ac_cv_path_GROFF
26432 if test -n "$GROFF"; then
26433 echo "$as_me:26433: result: $GROFF" >&5
26434 echo "${ECHO_T}$GROFF" >&6
26436 echo "$as_me:26436: result: no" >&5
26437 echo "${ECHO_T}no" >&6
26440 echo "$as_me:26440: checking how to format man pages" >&5
26441 echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
26442 if test "${ac_cv_sys_man_format+set}" = set; then
26443 echo $ECHO_N "(cached) $ECHO_C" >&6
26445 cat > conftest.1 << END
26446 .Dd January 1, 1970
26454 if test "$NROFF" ; then
26455 for i in "-mdoc" "-mandoc"; do
26456 if "$NROFF" $i conftest.1 2> /dev/null | \
26457 grep Jan > /dev/null 2>&1 ; then
26458 ac_cv_sys_man_format="$NROFF $i"
26463 if test "$ac_cv_sys_man_format" = "" -a "$GROFF" ; then
26464 for i in "-mdoc" "-mandoc"; do
26465 if "$GROFF" -Tascii $i conftest.1 2> /dev/null | \
26466 grep Jan > /dev/null 2>&1 ; then
26467 ac_cv_sys_man_format="$GROFF -Tascii $i"
26472 if test "$ac_cv_sys_man_format"; then
26473 ac_cv_sys_man_format="$ac_cv_sys_man_format \$< > \$@"
26477 echo "$as_me:26477: result: $ac_cv_sys_man_format" >&5
26478 echo "${ECHO_T}$ac_cv_sys_man_format" >&6
26479 if test "$ac_cv_sys_man_format"; then
26480 CATMAN="$ac_cv_sys_man_format"
26485 if test "$CATMAN"; then
26493 echo "$as_me:26493: checking extension of pre-formatted manual pages" >&5
26494 echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
26495 if test "${ac_cv_sys_catman_ext+set}" = set; then
26496 echo $ECHO_N "(cached) $ECHO_C" >&6
26498 if grep _suffix /etc/man.conf > /dev/null 2>&1; then
26499 ac_cv_sys_catman_ext=0
26501 ac_cv_sys_catman_ext=number
26505 echo "$as_me:26505: result: $ac_cv_sys_catman_ext" >&5
26506 echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
26507 if test "$ac_cv_sys_catman_ext" = number; then
26508 CATMANEXT='$$section'
26517 # Check whether --with-readline or --without-readline was given.
26518 if test "${with_readline+set}" = set; then
26519 withval="$with_readline"
26523 # Check whether --with-readline-lib or --without-readline-lib was given.
26524 if test "${with_readline_lib+set}" = set; then
26525 withval="$with_readline_lib"
26526 if test "$withval" = "yes" -o "$withval" = "no"; then
26527 { { echo "$as_me:26527: error: No argument for --with-readline-lib" >&5
26528 echo "$as_me: error: No argument for --with-readline-lib" >&2;}
26529 { (exit 1); exit 1; }; }
26530 elif test "X$with_readline" = "X"; then
26535 # Check whether --with-readline-include or --without-readline-include was given.
26536 if test "${with_readline_include+set}" = set; then
26537 withval="$with_readline_include"
26538 if test "$withval" = "yes" -o "$withval" = "no"; then
26539 { { echo "$as_me:26539: error: No argument for --with-readline-include" >&5
26540 echo "$as_me: error: No argument for --with-readline-include" >&2;}
26541 { (exit 1); exit 1; }; }
26542 elif test "X$with_readline" = "X"; then
26547 # Check whether --with-readline-config or --without-readline-config was given.
26548 if test "${with_readline_config+set}" = set; then
26549 withval="$with_readline_config"
26555 echo "$as_me:26555: checking for readline" >&5
26556 echo $ECHO_N "checking for readline... $ECHO_C" >&6
26558 case "$with_readline" in
26561 *) d="$with_readline" ;;
26567 if test "$with_readline_include" = ""; then
26568 if test -d "$i/include/readline"; then
26569 header_dirs="$header_dirs $i/include/readline"
26571 if test -d "$i/include"; then
26572 header_dirs="$header_dirs $i/include"
26575 if test "$with_readline_lib" = ""; then
26576 if test -d "$i/lib$abilibdirext"; then
26577 lib_dirs="$lib_dirs $i/lib$abilibdirext"
26582 if test "$with_readline_include"; then
26583 header_dirs="$with_readline_include $header_dirs"
26585 if test "$with_readline_lib"; then
26586 lib_dirs="$with_readline_lib $lib_dirs"
26589 if test "$with_readline_config" = ""; then
26590 with_readline_config=''
26596 case "$with_readline_config" in
26600 readline_cflags="`$with_readline_config --cflags 2>&1`"
26601 readline_libs="`$with_readline_config --libs 2>&1`"
26606 if test "$with_readline" != no; then
26607 save_CFLAGS="$CFLAGS"
26609 if test "$readline_cflags" -a "$readline_libs"; then
26610 CFLAGS="$readline_cflags $save_CFLAGS"
26611 LIBS="$readline_libs $save_LIBS"
26612 cat >conftest.$ac_ext <<_ACEOF
26613 #line 26613 "configure"
26614 #include "confdefs.h"
26616 #include <readline.h>
26617 #ifdef F77_DUMMY_MAIN
26618 # ifdef __cplusplus
26621 int F77_DUMMY_MAIN() { return 1; }
26631 rm -f conftest.$ac_objext conftest$ac_exeext
26632 if { (eval echo "$as_me:26632: \"$ac_link\"") >&5
26633 (eval $ac_link) 2>&5
26635 echo "$as_me:26635: \$? = $ac_status" >&5
26636 (exit $ac_status); } &&
26637 { ac_try='test -s conftest$ac_exeext'
26638 { (eval echo "$as_me:26638: \"$ac_try\"") >&5
26639 (eval $ac_try) 2>&5
26641 echo "$as_me:26641: \$? = $ac_status" >&5
26642 (exit $ac_status); }; }; then
26644 INCLUDE_readline="$readline_cflags"
26645 LIB_readline="$readline_libs"
26646 echo "$as_me:26646: result: from $with_readline_config" >&5
26647 echo "${ECHO_T}from $with_readline_config" >&6
26650 echo "$as_me: failed program was:" >&5
26651 cat conftest.$ac_ext >&5
26653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26655 if test "$found" = no; then
26657 for i in $header_dirs; do
26658 CFLAGS="-I$i $save_CFLAGS"
26659 cat >conftest.$ac_ext <<_ACEOF
26660 #line 26660 "configure"
26661 #include "confdefs.h"
26663 #include <readline.h>
26664 #ifdef F77_DUMMY_MAIN
26665 # ifdef __cplusplus
26668 int F77_DUMMY_MAIN() { return 1; }
26678 rm -f conftest.$ac_objext
26679 if { (eval echo "$as_me:26679: \"$ac_compile\"") >&5
26680 (eval $ac_compile) 2>&5
26682 echo "$as_me:26682: \$? = $ac_status" >&5
26683 (exit $ac_status); } &&
26684 { ac_try='test -s conftest.$ac_objext'
26685 { (eval echo "$as_me:26685: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26688 echo "$as_me:26688: \$? = $ac_status" >&5
26689 (exit $ac_status); }; }; then
26692 echo "$as_me: failed program was:" >&5
26693 cat conftest.$ac_ext >&5
26695 rm -f conftest.$ac_objext conftest.$ac_ext
26697 for i in $lib_dirs; do
26698 LIBS="-L$i -lreadline $save_LIBS"
26699 cat >conftest.$ac_ext <<_ACEOF
26700 #line 26700 "configure"
26701 #include "confdefs.h"
26703 #include <readline.h>
26704 #ifdef F77_DUMMY_MAIN
26705 # ifdef __cplusplus
26708 int F77_DUMMY_MAIN() { return 1; }
26718 rm -f conftest.$ac_objext conftest$ac_exeext
26719 if { (eval echo "$as_me:26719: \"$ac_link\"") >&5
26720 (eval $ac_link) 2>&5
26722 echo "$as_me:26722: \$? = $ac_status" >&5
26723 (exit $ac_status); } &&
26724 { ac_try='test -s conftest$ac_exeext'
26725 { (eval echo "$as_me:26725: \"$ac_try\"") >&5
26726 (eval $ac_try) 2>&5
26728 echo "$as_me:26728: \$? = $ac_status" >&5
26729 (exit $ac_status); }; }; then
26732 echo "$as_me: failed program was:" >&5
26733 cat conftest.$ac_ext >&5
26735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26737 if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
26738 INCLUDE_readline="-I$ires"
26739 LIB_readline="-L$lres -lreadline"
26741 echo "$as_me:26741: result: headers $ires, libraries $lres" >&5
26742 echo "${ECHO_T}headers $ires, libraries $lres" >&6
26745 CFLAGS="$save_CFLAGS"
26749 if test "$found" = yes; then
26751 cat >>confdefs.h <<_ACEOF
26760 echo "$as_me:26760: result: no" >&5
26761 echo "${ECHO_T}no" >&6
26770 # Check whether --with-hesiod or --without-hesiod was given.
26771 if test "${with_hesiod+set}" = set; then
26772 withval="$with_hesiod"
26776 # Check whether --with-hesiod-lib or --without-hesiod-lib was given.
26777 if test "${with_hesiod_lib+set}" = set; then
26778 withval="$with_hesiod_lib"
26779 if test "$withval" = "yes" -o "$withval" = "no"; then
26780 { { echo "$as_me:26780: error: No argument for --with-hesiod-lib" >&5
26781 echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
26782 { (exit 1); exit 1; }; }
26783 elif test "X$with_hesiod" = "X"; then
26788 # Check whether --with-hesiod-include or --without-hesiod-include was given.
26789 if test "${with_hesiod_include+set}" = set; then
26790 withval="$with_hesiod_include"
26791 if test "$withval" = "yes" -o "$withval" = "no"; then
26792 { { echo "$as_me:26792: error: No argument for --with-hesiod-include" >&5
26793 echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
26794 { (exit 1); exit 1; }; }
26795 elif test "X$with_hesiod" = "X"; then
26800 # Check whether --with-hesiod-config or --without-hesiod-config was given.
26801 if test "${with_hesiod_config+set}" = set; then
26802 withval="$with_hesiod_config"
26808 echo "$as_me:26808: checking for hesiod" >&5
26809 echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
26811 case "$with_hesiod" in
26814 *) d="$with_hesiod" ;;
26820 if test "$with_hesiod_include" = ""; then
26821 if test -d "$i/include/hesiod"; then
26822 header_dirs="$header_dirs $i/include/hesiod"
26824 if test -d "$i/include"; then
26825 header_dirs="$header_dirs $i/include"
26828 if test "$with_hesiod_lib" = ""; then
26829 if test -d "$i/lib$abilibdirext"; then
26830 lib_dirs="$lib_dirs $i/lib$abilibdirext"
26835 if test "$with_hesiod_include"; then
26836 header_dirs="$with_hesiod_include $header_dirs"
26838 if test "$with_hesiod_lib"; then
26839 lib_dirs="$with_hesiod_lib $lib_dirs"
26842 if test "$with_hesiod_config" = ""; then
26843 with_hesiod_config=''
26849 case "$with_hesiod_config" in
26853 hesiod_cflags="`$with_hesiod_config --cflags 2>&1`"
26854 hesiod_libs="`$with_hesiod_config --libs 2>&1`"
26859 if test "$with_hesiod" != no; then
26860 save_CFLAGS="$CFLAGS"
26862 if test "$hesiod_cflags" -a "$hesiod_libs"; then
26863 CFLAGS="$hesiod_cflags $save_CFLAGS"
26864 LIBS="$hesiod_libs $save_LIBS"
26865 cat >conftest.$ac_ext <<_ACEOF
26866 #line 26866 "configure"
26867 #include "confdefs.h"
26868 #include <hesiod.h>
26869 #ifdef F77_DUMMY_MAIN
26870 # ifdef __cplusplus
26873 int F77_DUMMY_MAIN() { return 1; }
26883 rm -f conftest.$ac_objext conftest$ac_exeext
26884 if { (eval echo "$as_me:26884: \"$ac_link\"") >&5
26885 (eval $ac_link) 2>&5
26887 echo "$as_me:26887: \$? = $ac_status" >&5
26888 (exit $ac_status); } &&
26889 { ac_try='test -s conftest$ac_exeext'
26890 { (eval echo "$as_me:26890: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26893 echo "$as_me:26893: \$? = $ac_status" >&5
26894 (exit $ac_status); }; }; then
26896 INCLUDE_hesiod="$hesiod_cflags"
26897 LIB_hesiod="$hesiod_libs"
26898 echo "$as_me:26898: result: from $with_hesiod_config" >&5
26899 echo "${ECHO_T}from $with_hesiod_config" >&6
26902 echo "$as_me: failed program was:" >&5
26903 cat conftest.$ac_ext >&5
26905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26907 if test "$found" = no; then
26909 for i in $header_dirs; do
26910 CFLAGS="-I$i $save_CFLAGS"
26911 cat >conftest.$ac_ext <<_ACEOF
26912 #line 26912 "configure"
26913 #include "confdefs.h"
26914 #include <hesiod.h>
26915 #ifdef F77_DUMMY_MAIN
26916 # ifdef __cplusplus
26919 int F77_DUMMY_MAIN() { return 1; }
26929 rm -f conftest.$ac_objext
26930 if { (eval echo "$as_me:26930: \"$ac_compile\"") >&5
26931 (eval $ac_compile) 2>&5
26933 echo "$as_me:26933: \$? = $ac_status" >&5
26934 (exit $ac_status); } &&
26935 { ac_try='test -s conftest.$ac_objext'
26936 { (eval echo "$as_me:26936: \"$ac_try\"") >&5
26937 (eval $ac_try) 2>&5
26939 echo "$as_me:26939: \$? = $ac_status" >&5
26940 (exit $ac_status); }; }; then
26943 echo "$as_me: failed program was:" >&5
26944 cat conftest.$ac_ext >&5
26946 rm -f conftest.$ac_objext conftest.$ac_ext
26948 for i in $lib_dirs; do
26949 LIBS="-L$i -lhesiod $save_LIBS"
26950 cat >conftest.$ac_ext <<_ACEOF
26951 #line 26951 "configure"
26952 #include "confdefs.h"
26953 #include <hesiod.h>
26954 #ifdef F77_DUMMY_MAIN
26955 # ifdef __cplusplus
26958 int F77_DUMMY_MAIN() { return 1; }
26968 rm -f conftest.$ac_objext conftest$ac_exeext
26969 if { (eval echo "$as_me:26969: \"$ac_link\"") >&5
26970 (eval $ac_link) 2>&5
26972 echo "$as_me:26972: \$? = $ac_status" >&5
26973 (exit $ac_status); } &&
26974 { ac_try='test -s conftest$ac_exeext'
26975 { (eval echo "$as_me:26975: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26978 echo "$as_me:26978: \$? = $ac_status" >&5
26979 (exit $ac_status); }; }; then
26982 echo "$as_me: failed program was:" >&5
26983 cat conftest.$ac_ext >&5
26985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26987 if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
26988 INCLUDE_hesiod="-I$ires"
26989 LIB_hesiod="-L$lres -lhesiod"
26991 echo "$as_me:26991: result: headers $ires, libraries $lres" >&5
26992 echo "${ECHO_T}headers $ires, libraries $lres" >&6
26995 CFLAGS="$save_CFLAGS"
26999 if test "$found" = yes; then
27001 cat >>confdefs.h <<_ACEOF
27010 echo "$as_me:27010: result: no" >&5
27011 echo "${ECHO_T}no" >&6
27019 # Check whether --enable-bigendian or --disable-bigendian was given.
27020 if test "${enable_bigendian+set}" = set; then
27021 enableval="$enable_bigendian"
27022 krb_cv_c_bigendian=yes
27024 # Check whether --enable-littleendian or --disable-littleendian was given.
27025 if test "${enable_littleendian+set}" = set; then
27026 enableval="$enable_littleendian"
27027 krb_cv_c_bigendian=no
27029 echo "$as_me:27029: checking whether byte order is known at compile time" >&5
27030 echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
27031 if test "${krb_cv_c_bigendian_compile+set}" = set; then
27032 echo $ECHO_N "(cached) $ECHO_C" >&6
27034 cat >conftest.$ac_ext <<_ACEOF
27035 #line 27035 "configure"
27036 #include "confdefs.h"
27038 #include <sys/types.h>
27039 #include <sys/param.h>
27040 #ifdef F77_DUMMY_MAIN
27041 # ifdef __cplusplus
27044 int F77_DUMMY_MAIN() { return 1; }
27050 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
27051 bogus endian macros
27057 rm -f conftest.$ac_objext
27058 if { (eval echo "$as_me:27058: \"$ac_compile\"") >&5
27059 (eval $ac_compile) 2>&5
27061 echo "$as_me:27061: \$? = $ac_status" >&5
27062 (exit $ac_status); } &&
27063 { ac_try='test -s conftest.$ac_objext'
27064 { (eval echo "$as_me:27064: \"$ac_try\"") >&5
27065 (eval $ac_try) 2>&5
27067 echo "$as_me:27067: \$? = $ac_status" >&5
27068 (exit $ac_status); }; }; then
27069 krb_cv_c_bigendian_compile=yes
27071 echo "$as_me: failed program was:" >&5
27072 cat conftest.$ac_ext >&5
27073 krb_cv_c_bigendian_compile=no
27075 rm -f conftest.$ac_objext conftest.$ac_ext
27077 echo "$as_me:27077: result: $krb_cv_c_bigendian_compile" >&5
27078 echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
27079 echo "$as_me:27079: checking whether byte ordering is bigendian" >&5
27080 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
27081 if test "${krb_cv_c_bigendian+set}" = set; then
27082 echo $ECHO_N "(cached) $ECHO_C" >&6
27085 if test "$krb_cv_c_bigendian_compile" = "yes"; then
27086 cat >conftest.$ac_ext <<_ACEOF
27087 #line 27087 "configure"
27088 #include "confdefs.h"
27090 #include <sys/types.h>
27091 #include <sys/param.h>
27092 #ifdef F77_DUMMY_MAIN
27093 # ifdef __cplusplus
27096 int F77_DUMMY_MAIN() { return 1; }
27102 #if BYTE_ORDER != BIG_ENDIAN
27109 rm -f conftest.$ac_objext
27110 if { (eval echo "$as_me:27110: \"$ac_compile\"") >&5
27111 (eval $ac_compile) 2>&5
27113 echo "$as_me:27113: \$? = $ac_status" >&5
27114 (exit $ac_status); } &&
27115 { ac_try='test -s conftest.$ac_objext'
27116 { (eval echo "$as_me:27116: \"$ac_try\"") >&5
27117 (eval $ac_try) 2>&5
27119 echo "$as_me:27119: \$? = $ac_status" >&5
27120 (exit $ac_status); }; }; then
27121 krb_cv_c_bigendian=yes
27123 echo "$as_me: failed program was:" >&5
27124 cat conftest.$ac_ext >&5
27125 krb_cv_c_bigendian=no
27127 rm -f conftest.$ac_objext conftest.$ac_ext
27129 if test "$cross_compiling" = yes; then
27130 { { echo "$as_me:27130: error: specify either --enable-bigendian or --enable-littleendian" >&5
27131 echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
27132 { (exit 1); exit 1; }; }
27134 cat >conftest.$ac_ext <<_ACEOF
27135 #line 27135 "configure"
27136 #include "confdefs.h"
27138 /* Are we little or big endian? From Harbison&Steele. */
27142 char c[sizeof (long)];
27145 exit (u.c[sizeof (long) - 1] == 1);
27148 rm -f conftest$ac_exeext
27149 if { (eval echo "$as_me:27149: \"$ac_link\"") >&5
27150 (eval $ac_link) 2>&5
27152 echo "$as_me:27152: \$? = $ac_status" >&5
27153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27154 { (eval echo "$as_me:27154: \"$ac_try\"") >&5
27155 (eval $ac_try) 2>&5
27157 echo "$as_me:27157: \$? = $ac_status" >&5
27158 (exit $ac_status); }; }; then
27159 krb_cv_c_bigendian=no
27161 echo "$as_me: program exited with status $ac_status" >&5
27162 echo "$as_me: failed program was:" >&5
27163 cat conftest.$ac_ext >&5
27164 ( exit $ac_status )
27165 krb_cv_c_bigendian=yes
27167 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27172 echo "$as_me:27172: result: $krb_cv_c_bigendian" >&5
27173 echo "${ECHO_T}$krb_cv_c_bigendian" >&6
27174 if test "$krb_cv_c_bigendian" = "yes"; then
27176 cat >>confdefs.h <<\_ACEOF
27177 #define WORDS_BIGENDIAN 1
27180 if test "$krb_cv_c_bigendian_compile" = "yes"; then
27182 cat >>confdefs.h <<\_ACEOF
27183 #define ENDIANESS_IN_SYS_PARAM_H 1
27189 echo "$as_me:27189: checking for inline" >&5
27190 echo $ECHO_N "checking for inline... $ECHO_C" >&6
27191 if test "${ac_cv_c_inline+set}" = set; then
27192 echo $ECHO_N "(cached) $ECHO_C" >&6
27195 for ac_kw in inline __inline__ __inline; do
27196 cat >conftest.$ac_ext <<_ACEOF
27197 #line 27197 "configure"
27198 #include "confdefs.h"
27199 #ifndef __cplusplus
27200 static $ac_kw int static_foo () {return 0; }
27201 $ac_kw int foo () {return 0; }
27205 rm -f conftest.$ac_objext
27206 if { (eval echo "$as_me:27206: \"$ac_compile\"") >&5
27207 (eval $ac_compile) 2>&5
27209 echo "$as_me:27209: \$? = $ac_status" >&5
27210 (exit $ac_status); } &&
27211 { ac_try='test -s conftest.$ac_objext'
27212 { (eval echo "$as_me:27212: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27215 echo "$as_me:27215: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 ac_cv_c_inline=$ac_kw; break
27219 echo "$as_me: failed program was:" >&5
27220 cat conftest.$ac_ext >&5
27222 rm -f conftest.$ac_objext conftest.$ac_ext
27226 echo "$as_me:27226: result: $ac_cv_c_inline" >&5
27227 echo "${ECHO_T}$ac_cv_c_inline" >&6
27228 case $ac_cv_c_inline in
27231 cat >>confdefs.h <<\_ACEOF
27235 *) cat >>confdefs.h <<_ACEOF
27236 #define inline $ac_cv_c_inline
27246 echo "$as_me:27246: checking for dlopen" >&5
27247 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
27248 if test "${ac_cv_funclib_dlopen+set}" = set; then
27249 echo $ECHO_N "(cached) $ECHO_C" >&6
27252 if eval "test \"\$ac_cv_func_dlopen\" != yes" ; then
27253 ac_save_LIBS="$LIBS"
27254 for ac_lib in "" dl; do
27260 *) ac_lib="-l$ac_lib" ;;
27262 LIBS=" $ac_lib $ac_save_LIBS"
27263 cat >conftest.$ac_ext <<_ACEOF
27264 #line 27264 "configure"
27265 #include "confdefs.h"
27267 #ifdef F77_DUMMY_MAIN
27268 # ifdef __cplusplus
27271 int F77_DUMMY_MAIN() { return 1; }
27281 rm -f conftest.$ac_objext conftest$ac_exeext
27282 if { (eval echo "$as_me:27282: \"$ac_link\"") >&5
27283 (eval $ac_link) 2>&5
27285 echo "$as_me:27285: \$? = $ac_status" >&5
27286 (exit $ac_status); } &&
27287 { ac_try='test -s conftest$ac_exeext'
27288 { (eval echo "$as_me:27288: \"$ac_try\"") >&5
27289 (eval $ac_try) 2>&5
27291 echo "$as_me:27291: \$? = $ac_status" >&5
27292 (exit $ac_status); }; }; then
27293 eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
27295 echo "$as_me: failed program was:" >&5
27296 cat conftest.$ac_ext >&5
27298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27300 eval "ac_cv_funclib_dlopen=\${ac_cv_funclib_dlopen-no}"
27301 LIBS="$ac_save_LIBS"
27307 eval "ac_res=\$ac_cv_funclib_dlopen"
27311 for ac_func in dlopen
27313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27314 echo "$as_me:27314: checking for $ac_func" >&5
27315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27316 if eval "test \"\${$as_ac_var+set}\" = set"; then
27317 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 cat >conftest.$ac_ext <<_ACEOF
27320 #line 27320 "configure"
27321 #include "confdefs.h"
27322 /* System header to define __stub macros and hopefully few prototypes,
27323 which can conflict with char $ac_func (); below. */
27324 #include <assert.h>
27325 /* Override any gcc2 internal prototype to avoid an error. */
27329 /* We use char because int might match the return type of a gcc2
27330 builtin and then its argument prototype would still apply. */
27334 #ifdef F77_DUMMY_MAIN
27335 # ifdef __cplusplus
27338 int F77_DUMMY_MAIN() { return 1; }
27343 /* The GNU C library defines this for functions which it implements
27344 to always fail with ENOSYS. Some functions are actually named
27345 something starting with __ and the normal name is an alias. */
27346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27356 rm -f conftest.$ac_objext conftest$ac_exeext
27357 if { (eval echo "$as_me:27357: \"$ac_link\"") >&5
27358 (eval $ac_link) 2>&5
27360 echo "$as_me:27360: \$? = $ac_status" >&5
27361 (exit $ac_status); } &&
27362 { ac_try='test -s conftest$ac_exeext'
27363 { (eval echo "$as_me:27363: \"$ac_try\"") >&5
27364 (eval $ac_try) 2>&5
27366 echo "$as_me:27366: \$? = $ac_status" >&5
27367 (exit $ac_status); }; }; then
27368 eval "$as_ac_var=yes"
27370 echo "$as_me: failed program was:" >&5
27371 cat conftest.$ac_ext >&5
27372 eval "$as_ac_var=no"
27374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27376 echo "$as_me:27376: result: `eval echo '${'$as_ac_var'}'`" >&5
27377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27378 if test `eval echo '${'$as_ac_var'}'` = yes; then
27379 cat >>confdefs.h <<_ACEOF
27380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27388 eval "ac_tr_func=HAVE_`echo dlopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
27389 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
27390 eval "LIB_dlopen=$ac_res"
27394 eval "ac_cv_func_dlopen=yes"
27396 cat >>confdefs.h <<_ACEOF
27397 #define $ac_tr_func 1
27400 echo "$as_me:27400: result: yes" >&5
27401 echo "${ECHO_T}yes" >&6
27404 eval "ac_cv_func_dlopen=no"
27406 echo "$as_me:27406: result: no" >&5
27407 echo "${ECHO_T}no" >&6
27410 eval "ac_cv_func_dlopen=yes"
27411 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
27412 cat >>confdefs.h <<_ACEOF
27413 #define $ac_tr_func 1
27416 cat >>confdefs.h <<_ACEOF
27417 #define $ac_tr_lib 1
27420 echo "$as_me:27420: result: yes, in $ac_res" >&5
27421 echo "${ECHO_T}yes, in $ac_res" >&6
27428 if test "$ac_cv_funclib_dlopen" != no; then
27430 HAVE_DLOPEN_FALSE='#'
27432 HAVE_DLOPEN_TRUE='#'
27444 *-*-aix4*|*-*-aix5*)
27451 if test "$aix" != no; then
27460 if test "$aix" = 4; then
27470 # Check whether --enable-dynamic-afs or --disable-dynamic-afs was given.
27471 if test "${enable_dynamic_afs+set}" = set; then
27472 enableval="$enable_dynamic_afs"
27476 if test "$aix" != no; then
27477 if test "$enable_dynamic_afs" != no; then
27479 if test "$ac_cv_func_dlopen" = no; then
27483 echo "$as_me:27483: checking for loadquery" >&5
27484 echo $ECHO_N "checking for loadquery... $ECHO_C" >&6
27485 if test "${ac_cv_funclib_loadquery+set}" = set; then
27486 echo $ECHO_N "(cached) $ECHO_C" >&6
27489 if eval "test \"\$ac_cv_func_loadquery\" != yes" ; then
27490 ac_save_LIBS="$LIBS"
27491 for ac_lib in "" ld; do
27497 *) ac_lib="-l$ac_lib" ;;
27499 LIBS=" $ac_lib $ac_save_LIBS"
27500 cat >conftest.$ac_ext <<_ACEOF
27501 #line 27501 "configure"
27502 #include "confdefs.h"
27504 #ifdef F77_DUMMY_MAIN
27505 # ifdef __cplusplus
27508 int F77_DUMMY_MAIN() { return 1; }
27518 rm -f conftest.$ac_objext conftest$ac_exeext
27519 if { (eval echo "$as_me:27519: \"$ac_link\"") >&5
27520 (eval $ac_link) 2>&5
27522 echo "$as_me:27522: \$? = $ac_status" >&5
27523 (exit $ac_status); } &&
27524 { ac_try='test -s conftest$ac_exeext'
27525 { (eval echo "$as_me:27525: \"$ac_try\"") >&5
27526 (eval $ac_try) 2>&5
27528 echo "$as_me:27528: \$? = $ac_status" >&5
27529 (exit $ac_status); }; }; then
27530 eval "if test -n \"$ac_lib\";then ac_cv_funclib_loadquery=$ac_lib; else ac_cv_funclib_loadquery=yes; fi";break
27532 echo "$as_me: failed program was:" >&5
27533 cat conftest.$ac_ext >&5
27535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27537 eval "ac_cv_funclib_loadquery=\${ac_cv_funclib_loadquery-no}"
27538 LIBS="$ac_save_LIBS"
27544 eval "ac_res=\$ac_cv_funclib_loadquery"
27548 for ac_func in loadquery
27550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27551 echo "$as_me:27551: checking for $ac_func" >&5
27552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27553 if eval "test \"\${$as_ac_var+set}\" = set"; then
27554 echo $ECHO_N "(cached) $ECHO_C" >&6
27556 cat >conftest.$ac_ext <<_ACEOF
27557 #line 27557 "configure"
27558 #include "confdefs.h"
27559 /* System header to define __stub macros and hopefully few prototypes,
27560 which can conflict with char $ac_func (); below. */
27561 #include <assert.h>
27562 /* Override any gcc2 internal prototype to avoid an error. */
27566 /* We use char because int might match the return type of a gcc2
27567 builtin and then its argument prototype would still apply. */
27571 #ifdef F77_DUMMY_MAIN
27572 # ifdef __cplusplus
27575 int F77_DUMMY_MAIN() { return 1; }
27580 /* The GNU C library defines this for functions which it implements
27581 to always fail with ENOSYS. Some functions are actually named
27582 something starting with __ and the normal name is an alias. */
27583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27593 rm -f conftest.$ac_objext conftest$ac_exeext
27594 if { (eval echo "$as_me:27594: \"$ac_link\"") >&5
27595 (eval $ac_link) 2>&5
27597 echo "$as_me:27597: \$? = $ac_status" >&5
27598 (exit $ac_status); } &&
27599 { ac_try='test -s conftest$ac_exeext'
27600 { (eval echo "$as_me:27600: \"$ac_try\"") >&5
27601 (eval $ac_try) 2>&5
27603 echo "$as_me:27603: \$? = $ac_status" >&5
27604 (exit $ac_status); }; }; then
27605 eval "$as_ac_var=yes"
27607 echo "$as_me: failed program was:" >&5
27608 cat conftest.$ac_ext >&5
27609 eval "$as_ac_var=no"
27611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27613 echo "$as_me:27613: result: `eval echo '${'$as_ac_var'}'`" >&5
27614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27615 if test `eval echo '${'$as_ac_var'}'` = yes; then
27616 cat >>confdefs.h <<_ACEOF
27617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27625 eval "ac_tr_func=HAVE_`echo loadquery | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
27626 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
27627 eval "LIB_loadquery=$ac_res"
27631 eval "ac_cv_func_loadquery=yes"
27632 eval "LIB_loadquery="
27633 cat >>confdefs.h <<_ACEOF
27634 #define $ac_tr_func 1
27637 echo "$as_me:27637: result: yes" >&5
27638 echo "${ECHO_T}yes" >&6
27641 eval "ac_cv_func_loadquery=no"
27642 eval "LIB_loadquery="
27643 echo "$as_me:27643: result: no" >&5
27644 echo "${ECHO_T}no" >&6
27647 eval "ac_cv_func_loadquery=yes"
27648 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
27649 cat >>confdefs.h <<_ACEOF
27650 #define $ac_tr_func 1
27653 cat >>confdefs.h <<_ACEOF
27654 #define $ac_tr_lib 1
27657 echo "$as_me:27657: result: yes, in $ac_res" >&5
27658 echo "${ECHO_T}yes, in $ac_res" >&6
27664 if test "$ac_cv_func_dlopen" != no; then
27665 AIX_EXTRA_KAFS='$(LIB_dlopen)'
27666 elif test "$ac_cv_func_loadquery" != no; then
27667 AIX_EXTRA_KAFS='$(LIB_loadquery)'
27669 { echo "$as_me:27669: not using dynloaded AFS library" >&5
27670 echo "$as_me: not using dynloaded AFS library" >&6;}
27672 enable_dynamic_afs=no
27681 if test "$enable_dynamic_afs" != no; then
27682 AIX_DYNAMIC_AFS_TRUE=
27683 AIX_DYNAMIC_AFS_FALSE='#'
27685 AIX_DYNAMIC_AFS_TRUE='#'
27686 AIX_DYNAMIC_AFS_FALSE=
27698 cat >>confdefs.h <<\_ACEOF
27710 if test "$irix" != no; then
27737 if test "$sunos" != no; then
27739 cat >>confdefs.h <<_ACEOF
27740 #define SunOS $sunos
27746 echo "$as_me:27746: checking for X" >&5
27747 echo $ECHO_N "checking for X... $ECHO_C" >&6
27750 # Check whether --with-x or --without-x was given.
27751 if test "${with_x+set}" = set; then
27755 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27756 if test "x$with_x" = xno; then
27757 # The user explicitly disabled X.
27760 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
27761 # Both variables are already set.
27764 if test "${ac_cv_have_x+set}" = set; then
27765 echo $ECHO_N "(cached) $ECHO_C" >&6
27767 # One or both of the vars are not set, and there is no cached value.
27768 ac_x_includes=no ac_x_libraries=no
27769 rm -fr conftest.dir
27770 if mkdir conftest.dir; then
27772 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27773 cat >Imakefile <<'_ACEOF'
27775 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27777 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
27778 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27779 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27780 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27781 for ac_extension in a so sl; do
27782 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
27783 test -f $ac_im_libdir/libX11.$ac_extension; then
27784 ac_im_usrlibdir=$ac_im_libdir; break
27787 # Screen out bogus values from the imake configuration. They are
27788 # bogus both because they are the default anyway, and because
27789 # using them would break gcc on systems where it needs fixed includes.
27790 case $ac_im_incroot in
27792 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27794 case $ac_im_usrlibdir in
27795 /usr/lib | /lib) ;;
27796 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27800 rm -fr conftest.dir
27803 # Standard set of common directories for X headers.
27804 # Check X11 before X11Rn because it is often a symlink to the current release.
27816 /usr/local/X11/include
27817 /usr/local/X11R6/include
27818 /usr/local/X11R5/include
27819 /usr/local/X11R4/include
27821 /usr/local/include/X11
27822 /usr/local/include/X11R6
27823 /usr/local/include/X11R5
27824 /usr/local/include/X11R4
27828 /usr/XFree86/include/X11
27832 /usr/unsupported/include
27833 /usr/athena/include
27834 /usr/local/x11r5/include
27835 /usr/lpp/Xamples/include
27837 /usr/openwin/include
27838 /usr/openwin/share/include'
27840 if test "$ac_x_includes" = no; then
27841 # Guess where to find include files, by looking for Intrinsic.h.
27842 # First, try using that file with no special directory specified.
27843 cat >conftest.$ac_ext <<_ACEOF
27844 #line 27844 "configure"
27845 #include "confdefs.h"
27846 #include <X11/Intrinsic.h>
27848 if { (eval echo "$as_me:27848: \"$ac_cpp conftest.$ac_ext\"") >&5
27849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27851 egrep -v '^ *\+' conftest.er1 >conftest.err
27853 cat conftest.err >&5
27854 echo "$as_me:27854: \$? = $ac_status" >&5
27855 (exit $ac_status); } >/dev/null; then
27856 if test -s conftest.err; then
27857 ac_cpp_err=$ac_c_preproc_warn_flag
27864 if test -z "$ac_cpp_err"; then
27865 # We can compile using X headers with no special include directory.
27868 echo "$as_me: failed program was:" >&5
27869 cat conftest.$ac_ext >&5
27870 for ac_dir in $ac_x_header_dirs; do
27871 if test -r "$ac_dir/X11/Intrinsic.h"; then
27872 ac_x_includes=$ac_dir
27877 rm -f conftest.err conftest.$ac_ext
27878 fi # $ac_x_includes = no
27880 if test "$ac_x_libraries" = no; then
27881 # Check for the libraries.
27882 # See if we find them without any special options.
27883 # Don't add to $LIBS permanently.
27886 cat >conftest.$ac_ext <<_ACEOF
27887 #line 27887 "configure"
27888 #include "confdefs.h"
27889 #include <X11/Intrinsic.h>
27890 #ifdef F77_DUMMY_MAIN
27891 # ifdef __cplusplus
27894 int F77_DUMMY_MAIN() { return 1; }
27904 rm -f conftest.$ac_objext conftest$ac_exeext
27905 if { (eval echo "$as_me:27905: \"$ac_link\"") >&5
27906 (eval $ac_link) 2>&5
27908 echo "$as_me:27908: \$? = $ac_status" >&5
27909 (exit $ac_status); } &&
27910 { ac_try='test -s conftest$ac_exeext'
27911 { (eval echo "$as_me:27911: \"$ac_try\"") >&5
27912 (eval $ac_try) 2>&5
27914 echo "$as_me:27914: \$? = $ac_status" >&5
27915 (exit $ac_status); }; }; then
27917 # We can link X programs with no special library path.
27920 echo "$as_me: failed program was:" >&5
27921 cat conftest.$ac_ext >&5
27923 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27925 # Don't even attempt the hair of trying to link an X program!
27926 for ac_extension in a so sl; do
27927 if test -r $ac_dir/libXt.$ac_extension; then
27928 ac_x_libraries=$ac_dir
27934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27935 fi # $ac_x_libraries = no
27937 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
27938 # Didn't find X anywhere. Cache the known absence of X.
27939 ac_cv_have_x="have_x=no"
27941 # Record where we found X for the cache.
27942 ac_cv_have_x="have_x=yes \
27943 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27948 eval "$ac_cv_have_x"
27951 if test "$have_x" != yes; then
27952 echo "$as_me:27952: result: $have_x" >&5
27953 echo "${ECHO_T}$have_x" >&6
27956 # If each of the values was on the command line, it overrides each guess.
27957 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
27958 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
27959 # Update the cache value to reflect the command line values.
27960 ac_cv_have_x="have_x=yes \
27961 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27962 echo "$as_me:27962: result: libraries $x_libraries, headers $x_includes" >&5
27963 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
27967 if test "$no_x" = yes; then
27968 # Not all programs may use this symbol, but it does not hurt to define it.
27970 cat >>confdefs.h <<\_ACEOF
27971 #define X_DISPLAY_MISSING 1
27974 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
27976 if test -n "$x_includes"; then
27977 X_CFLAGS="$X_CFLAGS -I$x_includes"
27980 # It would also be nice to do this for all -L options, not just this one.
27981 if test -n "$x_libraries"; then
27982 X_LIBS="$X_LIBS -L$x_libraries"
27983 # For Solaris; some versions of Sun CC require a space after -R and
27984 # others require no space. Words are not sufficient . . . .
27985 case `(uname -sr) 2>/dev/null` in
27987 echo "$as_me:27987: checking whether -R must be followed by a space" >&5
27988 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27989 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27990 cat >conftest.$ac_ext <<_ACEOF
27991 #line 27991 "configure"
27992 #include "confdefs.h"
27994 #ifdef F77_DUMMY_MAIN
27995 # ifdef __cplusplus
27998 int F77_DUMMY_MAIN() { return 1; }
28008 rm -f conftest.$ac_objext conftest$ac_exeext
28009 if { (eval echo "$as_me:28009: \"$ac_link\"") >&5
28010 (eval $ac_link) 2>&5
28012 echo "$as_me:28012: \$? = $ac_status" >&5
28013 (exit $ac_status); } &&
28014 { ac_try='test -s conftest$ac_exeext'
28015 { (eval echo "$as_me:28015: \"$ac_try\"") >&5
28016 (eval $ac_try) 2>&5
28018 echo "$as_me:28018: \$? = $ac_status" >&5
28019 (exit $ac_status); }; }; then
28022 echo "$as_me: failed program was:" >&5
28023 cat conftest.$ac_ext >&5
28026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28027 if test $ac_R_nospace = yes; then
28028 echo "$as_me:28028: result: no" >&5
28029 echo "${ECHO_T}no" >&6
28030 X_LIBS="$X_LIBS -R$x_libraries"
28032 LIBS="$ac_xsave_LIBS -R $x_libraries"
28033 cat >conftest.$ac_ext <<_ACEOF
28034 #line 28034 "configure"
28035 #include "confdefs.h"
28037 #ifdef F77_DUMMY_MAIN
28038 # ifdef __cplusplus
28041 int F77_DUMMY_MAIN() { return 1; }
28051 rm -f conftest.$ac_objext conftest$ac_exeext
28052 if { (eval echo "$as_me:28052: \"$ac_link\"") >&5
28053 (eval $ac_link) 2>&5
28055 echo "$as_me:28055: \$? = $ac_status" >&5
28056 (exit $ac_status); } &&
28057 { ac_try='test -s conftest$ac_exeext'
28058 { (eval echo "$as_me:28058: \"$ac_try\"") >&5
28059 (eval $ac_try) 2>&5
28061 echo "$as_me:28061: \$? = $ac_status" >&5
28062 (exit $ac_status); }; }; then
28065 echo "$as_me: failed program was:" >&5
28066 cat conftest.$ac_ext >&5
28069 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28070 if test $ac_R_space = yes; then
28071 echo "$as_me:28071: result: yes" >&5
28072 echo "${ECHO_T}yes" >&6
28073 X_LIBS="$X_LIBS -R $x_libraries"
28075 echo "$as_me:28075: result: neither works" >&5
28076 echo "${ECHO_T}neither works" >&6
28079 LIBS=$ac_xsave_LIBS
28083 # Check for system-dependent libraries X programs must link with.
28084 # Do this before checking for the system-independent R6 libraries
28085 # (-lICE), since we may need -lsocket or whatever for X linking.
28087 if test "$ISC" = yes; then
28088 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28090 # Martyn Johnson says this is needed for Ultrix, if the X
28091 # libraries were built with DECnet support. And Karl Berry says
28092 # the Alpha needs dnet_stub (dnet does not exist).
28093 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28094 cat >conftest.$ac_ext <<_ACEOF
28095 #line 28095 "configure"
28096 #include "confdefs.h"
28098 /* Override any gcc2 internal prototype to avoid an error. */
28102 /* We use char because int might match the return type of a gcc2
28103 builtin and then its argument prototype would still apply. */
28104 char XOpenDisplay ();
28105 #ifdef F77_DUMMY_MAIN
28106 # ifdef __cplusplus
28109 int F77_DUMMY_MAIN() { return 1; }
28119 rm -f conftest.$ac_objext conftest$ac_exeext
28120 if { (eval echo "$as_me:28120: \"$ac_link\"") >&5
28121 (eval $ac_link) 2>&5
28123 echo "$as_me:28123: \$? = $ac_status" >&5
28124 (exit $ac_status); } &&
28125 { ac_try='test -s conftest$ac_exeext'
28126 { (eval echo "$as_me:28126: \"$ac_try\"") >&5
28127 (eval $ac_try) 2>&5
28129 echo "$as_me:28129: \$? = $ac_status" >&5
28130 (exit $ac_status); }; }; then
28133 echo "$as_me: failed program was:" >&5
28134 cat conftest.$ac_ext >&5
28135 echo "$as_me:28135: checking for dnet_ntoa in -ldnet" >&5
28136 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28137 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28138 echo $ECHO_N "(cached) $ECHO_C" >&6
28140 ac_check_lib_save_LIBS=$LIBS
28141 LIBS="-ldnet $LIBS"
28142 cat >conftest.$ac_ext <<_ACEOF
28143 #line 28143 "configure"
28144 #include "confdefs.h"
28146 /* Override any gcc2 internal prototype to avoid an error. */
28150 /* We use char because int might match the return type of a gcc2
28151 builtin and then its argument prototype would still apply. */
28153 #ifdef F77_DUMMY_MAIN
28154 # ifdef __cplusplus
28157 int F77_DUMMY_MAIN() { return 1; }
28167 rm -f conftest.$ac_objext conftest$ac_exeext
28168 if { (eval echo "$as_me:28168: \"$ac_link\"") >&5
28169 (eval $ac_link) 2>&5
28171 echo "$as_me:28171: \$? = $ac_status" >&5
28172 (exit $ac_status); } &&
28173 { ac_try='test -s conftest$ac_exeext'
28174 { (eval echo "$as_me:28174: \"$ac_try\"") >&5
28175 (eval $ac_try) 2>&5
28177 echo "$as_me:28177: \$? = $ac_status" >&5
28178 (exit $ac_status); }; }; then
28179 ac_cv_lib_dnet_dnet_ntoa=yes
28181 echo "$as_me: failed program was:" >&5
28182 cat conftest.$ac_ext >&5
28183 ac_cv_lib_dnet_dnet_ntoa=no
28185 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28186 LIBS=$ac_check_lib_save_LIBS
28188 echo "$as_me:28188: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28189 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28190 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28191 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
28194 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
28195 echo "$as_me:28195: checking for dnet_ntoa in -ldnet_stub" >&5
28196 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28197 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28198 echo $ECHO_N "(cached) $ECHO_C" >&6
28200 ac_check_lib_save_LIBS=$LIBS
28201 LIBS="-ldnet_stub $LIBS"
28202 cat >conftest.$ac_ext <<_ACEOF
28203 #line 28203 "configure"
28204 #include "confdefs.h"
28206 /* Override any gcc2 internal prototype to avoid an error. */
28210 /* We use char because int might match the return type of a gcc2
28211 builtin and then its argument prototype would still apply. */
28213 #ifdef F77_DUMMY_MAIN
28214 # ifdef __cplusplus
28217 int F77_DUMMY_MAIN() { return 1; }
28227 rm -f conftest.$ac_objext conftest$ac_exeext
28228 if { (eval echo "$as_me:28228: \"$ac_link\"") >&5
28229 (eval $ac_link) 2>&5
28231 echo "$as_me:28231: \$? = $ac_status" >&5
28232 (exit $ac_status); } &&
28233 { ac_try='test -s conftest$ac_exeext'
28234 { (eval echo "$as_me:28234: \"$ac_try\"") >&5
28235 (eval $ac_try) 2>&5
28237 echo "$as_me:28237: \$? = $ac_status" >&5
28238 (exit $ac_status); }; }; then
28239 ac_cv_lib_dnet_stub_dnet_ntoa=yes
28241 echo "$as_me: failed program was:" >&5
28242 cat conftest.$ac_ext >&5
28243 ac_cv_lib_dnet_stub_dnet_ntoa=no
28245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28246 LIBS=$ac_check_lib_save_LIBS
28248 echo "$as_me:28248: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28249 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28250 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28251 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
28256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28257 LIBS="$ac_xsave_LIBS"
28259 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28260 # to get the SysV transport functions.
28261 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28263 # The nsl library prevents programs from opening the X display
28264 # on Irix 5.2, according to T.E. Dickey.
28265 # The functions gethostbyname, getservbyname, and inet_addr are
28266 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28267 echo "$as_me:28267: checking for gethostbyname" >&5
28268 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28269 if test "${ac_cv_func_gethostbyname+set}" = set; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28272 cat >conftest.$ac_ext <<_ACEOF
28273 #line 28273 "configure"
28274 #include "confdefs.h"
28275 /* System header to define __stub macros and hopefully few prototypes,
28276 which can conflict with char gethostbyname (); below. */
28277 #include <assert.h>
28278 /* Override any gcc2 internal prototype to avoid an error. */
28282 /* We use char because int might match the return type of a gcc2
28283 builtin and then its argument prototype would still apply. */
28284 char gethostbyname ();
28287 #ifdef F77_DUMMY_MAIN
28288 # ifdef __cplusplus
28291 int F77_DUMMY_MAIN() { return 1; }
28296 /* The GNU C library defines this for functions which it implements
28297 to always fail with ENOSYS. Some functions are actually named
28298 something starting with __ and the normal name is an alias. */
28299 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28309 rm -f conftest.$ac_objext conftest$ac_exeext
28310 if { (eval echo "$as_me:28310: \"$ac_link\"") >&5
28311 (eval $ac_link) 2>&5
28313 echo "$as_me:28313: \$? = $ac_status" >&5
28314 (exit $ac_status); } &&
28315 { ac_try='test -s conftest$ac_exeext'
28316 { (eval echo "$as_me:28316: \"$ac_try\"") >&5
28317 (eval $ac_try) 2>&5
28319 echo "$as_me:28319: \$? = $ac_status" >&5
28320 (exit $ac_status); }; }; then
28321 ac_cv_func_gethostbyname=yes
28323 echo "$as_me: failed program was:" >&5
28324 cat conftest.$ac_ext >&5
28325 ac_cv_func_gethostbyname=no
28327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28329 echo "$as_me:28329: result: $ac_cv_func_gethostbyname" >&5
28330 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28332 if test $ac_cv_func_gethostbyname = no; then
28333 echo "$as_me:28333: checking for gethostbyname in -lnsl" >&5
28334 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28335 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28336 echo $ECHO_N "(cached) $ECHO_C" >&6
28338 ac_check_lib_save_LIBS=$LIBS
28340 cat >conftest.$ac_ext <<_ACEOF
28341 #line 28341 "configure"
28342 #include "confdefs.h"
28344 /* Override any gcc2 internal prototype to avoid an error. */
28348 /* We use char because int might match the return type of a gcc2
28349 builtin and then its argument prototype would still apply. */
28350 char gethostbyname ();
28351 #ifdef F77_DUMMY_MAIN
28352 # ifdef __cplusplus
28355 int F77_DUMMY_MAIN() { return 1; }
28365 rm -f conftest.$ac_objext conftest$ac_exeext
28366 if { (eval echo "$as_me:28366: \"$ac_link\"") >&5
28367 (eval $ac_link) 2>&5
28369 echo "$as_me:28369: \$? = $ac_status" >&5
28370 (exit $ac_status); } &&
28371 { ac_try='test -s conftest$ac_exeext'
28372 { (eval echo "$as_me:28372: \"$ac_try\"") >&5
28373 (eval $ac_try) 2>&5
28375 echo "$as_me:28375: \$? = $ac_status" >&5
28376 (exit $ac_status); }; }; then
28377 ac_cv_lib_nsl_gethostbyname=yes
28379 echo "$as_me: failed program was:" >&5
28380 cat conftest.$ac_ext >&5
28381 ac_cv_lib_nsl_gethostbyname=no
28383 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28384 LIBS=$ac_check_lib_save_LIBS
28386 echo "$as_me:28386: result: $ac_cv_lib_nsl_gethostbyname" >&5
28387 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28388 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28389 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
28392 if test $ac_cv_lib_nsl_gethostbyname = no; then
28393 echo "$as_me:28393: checking for gethostbyname in -lbsd" >&5
28394 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28395 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28396 echo $ECHO_N "(cached) $ECHO_C" >&6
28398 ac_check_lib_save_LIBS=$LIBS
28400 cat >conftest.$ac_ext <<_ACEOF
28401 #line 28401 "configure"
28402 #include "confdefs.h"
28404 /* Override any gcc2 internal prototype to avoid an error. */
28408 /* We use char because int might match the return type of a gcc2
28409 builtin and then its argument prototype would still apply. */
28410 char gethostbyname ();
28411 #ifdef F77_DUMMY_MAIN
28412 # ifdef __cplusplus
28415 int F77_DUMMY_MAIN() { return 1; }
28425 rm -f conftest.$ac_objext conftest$ac_exeext
28426 if { (eval echo "$as_me:28426: \"$ac_link\"") >&5
28427 (eval $ac_link) 2>&5
28429 echo "$as_me:28429: \$? = $ac_status" >&5
28430 (exit $ac_status); } &&
28431 { ac_try='test -s conftest$ac_exeext'
28432 { (eval echo "$as_me:28432: \"$ac_try\"") >&5
28433 (eval $ac_try) 2>&5
28435 echo "$as_me:28435: \$? = $ac_status" >&5
28436 (exit $ac_status); }; }; then
28437 ac_cv_lib_bsd_gethostbyname=yes
28439 echo "$as_me: failed program was:" >&5
28440 cat conftest.$ac_ext >&5
28441 ac_cv_lib_bsd_gethostbyname=no
28443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28444 LIBS=$ac_check_lib_save_LIBS
28446 echo "$as_me:28446: result: $ac_cv_lib_bsd_gethostbyname" >&5
28447 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28448 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
28455 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28456 # socket/setsockopt and other routines are undefined under SCO ODT
28457 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28458 # on later versions), says Simon Leinen: it contains gethostby*
28459 # variants that don't use the nameserver (or something). -lsocket
28460 # must be given before -lnsl if both are needed. We assume that
28461 # if connect needs -lnsl, so does gethostbyname.
28462 echo "$as_me:28462: checking for connect" >&5
28463 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28464 if test "${ac_cv_func_connect+set}" = set; then
28465 echo $ECHO_N "(cached) $ECHO_C" >&6
28467 cat >conftest.$ac_ext <<_ACEOF
28468 #line 28468 "configure"
28469 #include "confdefs.h"
28470 /* System header to define __stub macros and hopefully few prototypes,
28471 which can conflict with char connect (); below. */
28472 #include <assert.h>
28473 /* Override any gcc2 internal prototype to avoid an error. */
28477 /* We use char because int might match the return type of a gcc2
28478 builtin and then its argument prototype would still apply. */
28482 #ifdef F77_DUMMY_MAIN
28483 # ifdef __cplusplus
28486 int F77_DUMMY_MAIN() { return 1; }
28491 /* The GNU C library defines this for functions which it implements
28492 to always fail with ENOSYS. Some functions are actually named
28493 something starting with __ and the normal name is an alias. */
28494 #if defined (__stub_connect) || defined (__stub___connect)
28504 rm -f conftest.$ac_objext conftest$ac_exeext
28505 if { (eval echo "$as_me:28505: \"$ac_link\"") >&5
28506 (eval $ac_link) 2>&5
28508 echo "$as_me:28508: \$? = $ac_status" >&5
28509 (exit $ac_status); } &&
28510 { ac_try='test -s conftest$ac_exeext'
28511 { (eval echo "$as_me:28511: \"$ac_try\"") >&5
28512 (eval $ac_try) 2>&5
28514 echo "$as_me:28514: \$? = $ac_status" >&5
28515 (exit $ac_status); }; }; then
28516 ac_cv_func_connect=yes
28518 echo "$as_me: failed program was:" >&5
28519 cat conftest.$ac_ext >&5
28520 ac_cv_func_connect=no
28522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28524 echo "$as_me:28524: result: $ac_cv_func_connect" >&5
28525 echo "${ECHO_T}$ac_cv_func_connect" >&6
28527 if test $ac_cv_func_connect = no; then
28528 echo "$as_me:28528: checking for connect in -lsocket" >&5
28529 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28530 if test "${ac_cv_lib_socket_connect+set}" = set; then
28531 echo $ECHO_N "(cached) $ECHO_C" >&6
28533 ac_check_lib_save_LIBS=$LIBS
28534 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
28535 cat >conftest.$ac_ext <<_ACEOF
28536 #line 28536 "configure"
28537 #include "confdefs.h"
28539 /* Override any gcc2 internal prototype to avoid an error. */
28543 /* We use char because int might match the return type of a gcc2
28544 builtin and then its argument prototype would still apply. */
28546 #ifdef F77_DUMMY_MAIN
28547 # ifdef __cplusplus
28550 int F77_DUMMY_MAIN() { return 1; }
28560 rm -f conftest.$ac_objext conftest$ac_exeext
28561 if { (eval echo "$as_me:28561: \"$ac_link\"") >&5
28562 (eval $ac_link) 2>&5
28564 echo "$as_me:28564: \$? = $ac_status" >&5
28565 (exit $ac_status); } &&
28566 { ac_try='test -s conftest$ac_exeext'
28567 { (eval echo "$as_me:28567: \"$ac_try\"") >&5
28568 (eval $ac_try) 2>&5
28570 echo "$as_me:28570: \$? = $ac_status" >&5
28571 (exit $ac_status); }; }; then
28572 ac_cv_lib_socket_connect=yes
28574 echo "$as_me: failed program was:" >&5
28575 cat conftest.$ac_ext >&5
28576 ac_cv_lib_socket_connect=no
28578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28579 LIBS=$ac_check_lib_save_LIBS
28581 echo "$as_me:28581: result: $ac_cv_lib_socket_connect" >&5
28582 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28583 if test $ac_cv_lib_socket_connect = yes; then
28584 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
28589 # Guillermo Gomez says -lposix is necessary on A/UX.
28590 echo "$as_me:28590: checking for remove" >&5
28591 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28592 if test "${ac_cv_func_remove+set}" = set; then
28593 echo $ECHO_N "(cached) $ECHO_C" >&6
28595 cat >conftest.$ac_ext <<_ACEOF
28596 #line 28596 "configure"
28597 #include "confdefs.h"
28598 /* System header to define __stub macros and hopefully few prototypes,
28599 which can conflict with char remove (); below. */
28600 #include <assert.h>
28601 /* Override any gcc2 internal prototype to avoid an error. */
28605 /* We use char because int might match the return type of a gcc2
28606 builtin and then its argument prototype would still apply. */
28610 #ifdef F77_DUMMY_MAIN
28611 # ifdef __cplusplus
28614 int F77_DUMMY_MAIN() { return 1; }
28619 /* The GNU C library defines this for functions which it implements
28620 to always fail with ENOSYS. Some functions are actually named
28621 something starting with __ and the normal name is an alias. */
28622 #if defined (__stub_remove) || defined (__stub___remove)
28632 rm -f conftest.$ac_objext conftest$ac_exeext
28633 if { (eval echo "$as_me:28633: \"$ac_link\"") >&5
28634 (eval $ac_link) 2>&5
28636 echo "$as_me:28636: \$? = $ac_status" >&5
28637 (exit $ac_status); } &&
28638 { ac_try='test -s conftest$ac_exeext'
28639 { (eval echo "$as_me:28639: \"$ac_try\"") >&5
28640 (eval $ac_try) 2>&5
28642 echo "$as_me:28642: \$? = $ac_status" >&5
28643 (exit $ac_status); }; }; then
28644 ac_cv_func_remove=yes
28646 echo "$as_me: failed program was:" >&5
28647 cat conftest.$ac_ext >&5
28648 ac_cv_func_remove=no
28650 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28652 echo "$as_me:28652: result: $ac_cv_func_remove" >&5
28653 echo "${ECHO_T}$ac_cv_func_remove" >&6
28655 if test $ac_cv_func_remove = no; then
28656 echo "$as_me:28656: checking for remove in -lposix" >&5
28657 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28658 if test "${ac_cv_lib_posix_remove+set}" = set; then
28659 echo $ECHO_N "(cached) $ECHO_C" >&6
28661 ac_check_lib_save_LIBS=$LIBS
28662 LIBS="-lposix $LIBS"
28663 cat >conftest.$ac_ext <<_ACEOF
28664 #line 28664 "configure"
28665 #include "confdefs.h"
28667 /* Override any gcc2 internal prototype to avoid an error. */
28671 /* We use char because int might match the return type of a gcc2
28672 builtin and then its argument prototype would still apply. */
28674 #ifdef F77_DUMMY_MAIN
28675 # ifdef __cplusplus
28678 int F77_DUMMY_MAIN() { return 1; }
28688 rm -f conftest.$ac_objext conftest$ac_exeext
28689 if { (eval echo "$as_me:28689: \"$ac_link\"") >&5
28690 (eval $ac_link) 2>&5
28692 echo "$as_me:28692: \$? = $ac_status" >&5
28693 (exit $ac_status); } &&
28694 { ac_try='test -s conftest$ac_exeext'
28695 { (eval echo "$as_me:28695: \"$ac_try\"") >&5
28696 (eval $ac_try) 2>&5
28698 echo "$as_me:28698: \$? = $ac_status" >&5
28699 (exit $ac_status); }; }; then
28700 ac_cv_lib_posix_remove=yes
28702 echo "$as_me: failed program was:" >&5
28703 cat conftest.$ac_ext >&5
28704 ac_cv_lib_posix_remove=no
28706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28707 LIBS=$ac_check_lib_save_LIBS
28709 echo "$as_me:28709: result: $ac_cv_lib_posix_remove" >&5
28710 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28711 if test $ac_cv_lib_posix_remove = yes; then
28712 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
28717 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28718 echo "$as_me:28718: checking for shmat" >&5
28719 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28720 if test "${ac_cv_func_shmat+set}" = set; then
28721 echo $ECHO_N "(cached) $ECHO_C" >&6
28723 cat >conftest.$ac_ext <<_ACEOF
28724 #line 28724 "configure"
28725 #include "confdefs.h"
28726 /* System header to define __stub macros and hopefully few prototypes,
28727 which can conflict with char shmat (); below. */
28728 #include <assert.h>
28729 /* Override any gcc2 internal prototype to avoid an error. */
28733 /* We use char because int might match the return type of a gcc2
28734 builtin and then its argument prototype would still apply. */
28738 #ifdef F77_DUMMY_MAIN
28739 # ifdef __cplusplus
28742 int F77_DUMMY_MAIN() { return 1; }
28747 /* The GNU C library defines this for functions which it implements
28748 to always fail with ENOSYS. Some functions are actually named
28749 something starting with __ and the normal name is an alias. */
28750 #if defined (__stub_shmat) || defined (__stub___shmat)
28760 rm -f conftest.$ac_objext conftest$ac_exeext
28761 if { (eval echo "$as_me:28761: \"$ac_link\"") >&5
28762 (eval $ac_link) 2>&5
28764 echo "$as_me:28764: \$? = $ac_status" >&5
28765 (exit $ac_status); } &&
28766 { ac_try='test -s conftest$ac_exeext'
28767 { (eval echo "$as_me:28767: \"$ac_try\"") >&5
28768 (eval $ac_try) 2>&5
28770 echo "$as_me:28770: \$? = $ac_status" >&5
28771 (exit $ac_status); }; }; then
28772 ac_cv_func_shmat=yes
28774 echo "$as_me: failed program was:" >&5
28775 cat conftest.$ac_ext >&5
28776 ac_cv_func_shmat=no
28778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28780 echo "$as_me:28780: result: $ac_cv_func_shmat" >&5
28781 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28783 if test $ac_cv_func_shmat = no; then
28784 echo "$as_me:28784: checking for shmat in -lipc" >&5
28785 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28786 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28787 echo $ECHO_N "(cached) $ECHO_C" >&6
28789 ac_check_lib_save_LIBS=$LIBS
28791 cat >conftest.$ac_ext <<_ACEOF
28792 #line 28792 "configure"
28793 #include "confdefs.h"
28795 /* Override any gcc2 internal prototype to avoid an error. */
28799 /* We use char because int might match the return type of a gcc2
28800 builtin and then its argument prototype would still apply. */
28802 #ifdef F77_DUMMY_MAIN
28803 # ifdef __cplusplus
28806 int F77_DUMMY_MAIN() { return 1; }
28816 rm -f conftest.$ac_objext conftest$ac_exeext
28817 if { (eval echo "$as_me:28817: \"$ac_link\"") >&5
28818 (eval $ac_link) 2>&5
28820 echo "$as_me:28820: \$? = $ac_status" >&5
28821 (exit $ac_status); } &&
28822 { ac_try='test -s conftest$ac_exeext'
28823 { (eval echo "$as_me:28823: \"$ac_try\"") >&5
28824 (eval $ac_try) 2>&5
28826 echo "$as_me:28826: \$? = $ac_status" >&5
28827 (exit $ac_status); }; }; then
28828 ac_cv_lib_ipc_shmat=yes
28830 echo "$as_me: failed program was:" >&5
28831 cat conftest.$ac_ext >&5
28832 ac_cv_lib_ipc_shmat=no
28834 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28835 LIBS=$ac_check_lib_save_LIBS
28837 echo "$as_me:28837: result: $ac_cv_lib_ipc_shmat" >&5
28838 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28839 if test $ac_cv_lib_ipc_shmat = yes; then
28840 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
28846 # Check for libraries that X11R6 Xt/Xaw programs need.
28847 ac_save_LDFLAGS=$LDFLAGS
28848 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
28849 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28850 # check for ICE first), but we must link in the order -lSM -lICE or
28851 # we get undefined symbols. So assume we have SM if we have ICE.
28852 # These have to be linked with before -lX11, unlike the other
28853 # libraries we check for below, so use a different variable.
28854 # John Interrante, Karl Berry
28855 echo "$as_me:28855: checking for IceConnectionNumber in -lICE" >&5
28856 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28857 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28858 echo $ECHO_N "(cached) $ECHO_C" >&6
28860 ac_check_lib_save_LIBS=$LIBS
28861 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
28862 cat >conftest.$ac_ext <<_ACEOF
28863 #line 28863 "configure"
28864 #include "confdefs.h"
28866 /* Override any gcc2 internal prototype to avoid an error. */
28870 /* We use char because int might match the return type of a gcc2
28871 builtin and then its argument prototype would still apply. */
28872 char IceConnectionNumber ();
28873 #ifdef F77_DUMMY_MAIN
28874 # ifdef __cplusplus
28877 int F77_DUMMY_MAIN() { return 1; }
28882 IceConnectionNumber ();
28887 rm -f conftest.$ac_objext conftest$ac_exeext
28888 if { (eval echo "$as_me:28888: \"$ac_link\"") >&5
28889 (eval $ac_link) 2>&5
28891 echo "$as_me:28891: \$? = $ac_status" >&5
28892 (exit $ac_status); } &&
28893 { ac_try='test -s conftest$ac_exeext'
28894 { (eval echo "$as_me:28894: \"$ac_try\"") >&5
28895 (eval $ac_try) 2>&5
28897 echo "$as_me:28897: \$? = $ac_status" >&5
28898 (exit $ac_status); }; }; then
28899 ac_cv_lib_ICE_IceConnectionNumber=yes
28901 echo "$as_me: failed program was:" >&5
28902 cat conftest.$ac_ext >&5
28903 ac_cv_lib_ICE_IceConnectionNumber=no
28905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28906 LIBS=$ac_check_lib_save_LIBS
28908 echo "$as_me:28908: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28909 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28910 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28911 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
28914 LDFLAGS=$ac_save_LDFLAGS
28919 # try to figure out if we need any additional ld flags, like -R
28920 # and yes, the autoconf X test is utterly broken
28921 if test "$no_x" != yes; then
28922 echo "$as_me:28922: checking for special X linker flags" >&5
28923 echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
28924 if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
28925 echo $ECHO_N "(cached) $ECHO_C" >&6
28928 ac_save_libs="$LIBS"
28929 ac_save_cflags="$CFLAGS"
28930 CFLAGS="$CFLAGS $X_CFLAGS"
28931 krb_cv_sys_x_libs_rpath=""
28932 krb_cv_sys_x_libs=""
28933 for rflag in "" "-R" "-R " "-rpath "; do
28934 if test "$rflag" = ""; then
28938 for flag in $X_LIBS; do
28941 foo="$foo $flag `echo $flag | sed \"s/-L/$rflag/\"`"
28949 LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
28950 if test "$cross_compiling" = yes; then
28951 { { echo "$as_me:28951: error: cannot run test program while cross compiling" >&5
28952 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
28953 { (exit 1); exit 1; }; }
28955 cat >conftest.$ac_ext <<_ACEOF
28956 #line 28956 "configure"
28957 #include "confdefs.h"
28959 #include <X11/Xlib.h>
28962 XOpenDisplay(NULL);
28970 rm -f conftest$ac_exeext
28971 if { (eval echo "$as_me:28971: \"$ac_link\"") >&5
28972 (eval $ac_link) 2>&5
28974 echo "$as_me:28974: \$? = $ac_status" >&5
28975 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28976 { (eval echo "$as_me:28976: \"$ac_try\"") >&5
28977 (eval $ac_try) 2>&5
28979 echo "$as_me:28979: \$? = $ac_status" >&5
28980 (exit $ac_status); }; }; then
28981 krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
28983 echo "$as_me: program exited with status $ac_status" >&5
28984 echo "$as_me: failed program was:" >&5
28985 cat conftest.$ac_ext >&5
28986 ( exit $ac_status )
28989 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28992 LIBS="$ac_save_libs"
28993 CFLAGS="$ac_save_cflags"
28996 echo "$as_me:28996: result: $krb_cv_sys_x_libs_rpath" >&5
28997 echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
28998 X_LIBS="$krb_cv_sys_x_libs"
29004 if test "$no_x" != yes; then
29014 save_CFLAGS="$CFLAGS"
29015 CFLAGS="$X_CFLAGS $CFLAGS"
29017 LIBS="$X_PRE_LIBS $X_EXTRA_LIBS $LIBS"
29018 save_LDFLAGS="$LDFLAGS"
29019 LDFLAGS="$LDFLAGS $X_LIBS"
29025 echo "$as_me:29025: checking for XauWriteAuth" >&5
29026 echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
29027 if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
29028 echo $ECHO_N "(cached) $ECHO_C" >&6
29031 if eval "test \"\$ac_cv_func_XauWriteAuth\" != yes" ; then
29032 ac_save_LIBS="$LIBS"
29033 for ac_lib in "" X11 Xau; do
29039 *) ac_lib="-l$ac_lib" ;;
29041 LIBS=" $ac_lib $ac_save_LIBS"
29042 cat >conftest.$ac_ext <<_ACEOF
29043 #line 29043 "configure"
29044 #include "confdefs.h"
29046 #ifdef F77_DUMMY_MAIN
29047 # ifdef __cplusplus
29050 int F77_DUMMY_MAIN() { return 1; }
29060 rm -f conftest.$ac_objext conftest$ac_exeext
29061 if { (eval echo "$as_me:29061: \"$ac_link\"") >&5
29062 (eval $ac_link) 2>&5
29064 echo "$as_me:29064: \$? = $ac_status" >&5
29065 (exit $ac_status); } &&
29066 { ac_try='test -s conftest$ac_exeext'
29067 { (eval echo "$as_me:29067: \"$ac_try\"") >&5
29068 (eval $ac_try) 2>&5
29070 echo "$as_me:29070: \$? = $ac_status" >&5
29071 (exit $ac_status); }; }; then
29072 eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
29074 echo "$as_me: failed program was:" >&5
29075 cat conftest.$ac_ext >&5
29077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29079 eval "ac_cv_funclib_XauWriteAuth=\${ac_cv_funclib_XauWriteAuth-no}"
29080 LIBS="$ac_save_LIBS"
29086 eval "ac_res=\$ac_cv_funclib_XauWriteAuth"
29090 for ac_func in XauWriteAuth
29092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29093 echo "$as_me:29093: checking for $ac_func" >&5
29094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29095 if eval "test \"\${$as_ac_var+set}\" = set"; then
29096 echo $ECHO_N "(cached) $ECHO_C" >&6
29098 cat >conftest.$ac_ext <<_ACEOF
29099 #line 29099 "configure"
29100 #include "confdefs.h"
29101 /* System header to define __stub macros and hopefully few prototypes,
29102 which can conflict with char $ac_func (); below. */
29103 #include <assert.h>
29104 /* Override any gcc2 internal prototype to avoid an error. */
29108 /* We use char because int might match the return type of a gcc2
29109 builtin and then its argument prototype would still apply. */
29113 #ifdef F77_DUMMY_MAIN
29114 # ifdef __cplusplus
29117 int F77_DUMMY_MAIN() { return 1; }
29122 /* The GNU C library defines this for functions which it implements
29123 to always fail with ENOSYS. Some functions are actually named
29124 something starting with __ and the normal name is an alias. */
29125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29135 rm -f conftest.$ac_objext conftest$ac_exeext
29136 if { (eval echo "$as_me:29136: \"$ac_link\"") >&5
29137 (eval $ac_link) 2>&5
29139 echo "$as_me:29139: \$? = $ac_status" >&5
29140 (exit $ac_status); } &&
29141 { ac_try='test -s conftest$ac_exeext'
29142 { (eval echo "$as_me:29142: \"$ac_try\"") >&5
29143 (eval $ac_try) 2>&5
29145 echo "$as_me:29145: \$? = $ac_status" >&5
29146 (exit $ac_status); }; }; then
29147 eval "$as_ac_var=yes"
29149 echo "$as_me: failed program was:" >&5
29150 cat conftest.$ac_ext >&5
29151 eval "$as_ac_var=no"
29153 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29155 echo "$as_me:29155: result: `eval echo '${'$as_ac_var'}'`" >&5
29156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29157 if test `eval echo '${'$as_ac_var'}'` = yes; then
29158 cat >>confdefs.h <<_ACEOF
29159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29167 eval "ac_tr_func=HAVE_`echo XauWriteAuth | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
29168 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
29169 eval "LIB_XauWriteAuth=$ac_res"
29173 eval "ac_cv_func_XauWriteAuth=yes"
29174 eval "LIB_XauWriteAuth="
29175 cat >>confdefs.h <<_ACEOF
29176 #define $ac_tr_func 1
29179 echo "$as_me:29179: result: yes" >&5
29180 echo "${ECHO_T}yes" >&6
29183 eval "ac_cv_func_XauWriteAuth=no"
29184 eval "LIB_XauWriteAuth="
29185 echo "$as_me:29185: result: no" >&5
29186 echo "${ECHO_T}no" >&6
29189 eval "ac_cv_func_XauWriteAuth=yes"
29190 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
29191 cat >>confdefs.h <<_ACEOF
29192 #define $ac_tr_func 1
29195 cat >>confdefs.h <<_ACEOF
29196 #define $ac_tr_lib 1
29199 echo "$as_me:29199: result: yes, in $ac_res" >&5
29200 echo "${ECHO_T}yes, in $ac_res" >&6
29206 LIBS="$LIB_XauWriteAuth $LIBS"
29210 echo "$as_me:29210: checking for XauReadAuth" >&5
29211 echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
29212 if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
29213 echo $ECHO_N "(cached) $ECHO_C" >&6
29216 if eval "test \"\$ac_cv_func_XauReadAuth\" != yes" ; then
29217 ac_save_LIBS="$LIBS"
29218 for ac_lib in "" X11 Xau; do
29224 *) ac_lib="-l$ac_lib" ;;
29226 LIBS=" $ac_lib $ac_save_LIBS"
29227 cat >conftest.$ac_ext <<_ACEOF
29228 #line 29228 "configure"
29229 #include "confdefs.h"
29231 #ifdef F77_DUMMY_MAIN
29232 # ifdef __cplusplus
29235 int F77_DUMMY_MAIN() { return 1; }
29245 rm -f conftest.$ac_objext conftest$ac_exeext
29246 if { (eval echo "$as_me:29246: \"$ac_link\"") >&5
29247 (eval $ac_link) 2>&5
29249 echo "$as_me:29249: \$? = $ac_status" >&5
29250 (exit $ac_status); } &&
29251 { ac_try='test -s conftest$ac_exeext'
29252 { (eval echo "$as_me:29252: \"$ac_try\"") >&5
29253 (eval $ac_try) 2>&5
29255 echo "$as_me:29255: \$? = $ac_status" >&5
29256 (exit $ac_status); }; }; then
29257 eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
29259 echo "$as_me: failed program was:" >&5
29260 cat conftest.$ac_ext >&5
29262 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29264 eval "ac_cv_funclib_XauReadAuth=\${ac_cv_funclib_XauReadAuth-no}"
29265 LIBS="$ac_save_LIBS"
29271 eval "ac_res=\$ac_cv_funclib_XauReadAuth"
29275 for ac_func in XauReadAuth
29277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29278 echo "$as_me:29278: checking for $ac_func" >&5
29279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29280 if eval "test \"\${$as_ac_var+set}\" = set"; then
29281 echo $ECHO_N "(cached) $ECHO_C" >&6
29283 cat >conftest.$ac_ext <<_ACEOF
29284 #line 29284 "configure"
29285 #include "confdefs.h"
29286 /* System header to define __stub macros and hopefully few prototypes,
29287 which can conflict with char $ac_func (); below. */
29288 #include <assert.h>
29289 /* Override any gcc2 internal prototype to avoid an error. */
29293 /* We use char because int might match the return type of a gcc2
29294 builtin and then its argument prototype would still apply. */
29298 #ifdef F77_DUMMY_MAIN
29299 # ifdef __cplusplus
29302 int F77_DUMMY_MAIN() { return 1; }
29307 /* The GNU C library defines this for functions which it implements
29308 to always fail with ENOSYS. Some functions are actually named
29309 something starting with __ and the normal name is an alias. */
29310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29320 rm -f conftest.$ac_objext conftest$ac_exeext
29321 if { (eval echo "$as_me:29321: \"$ac_link\"") >&5
29322 (eval $ac_link) 2>&5
29324 echo "$as_me:29324: \$? = $ac_status" >&5
29325 (exit $ac_status); } &&
29326 { ac_try='test -s conftest$ac_exeext'
29327 { (eval echo "$as_me:29327: \"$ac_try\"") >&5
29328 (eval $ac_try) 2>&5
29330 echo "$as_me:29330: \$? = $ac_status" >&5
29331 (exit $ac_status); }; }; then
29332 eval "$as_ac_var=yes"
29334 echo "$as_me: failed program was:" >&5
29335 cat conftest.$ac_ext >&5
29336 eval "$as_ac_var=no"
29338 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29340 echo "$as_me:29340: result: `eval echo '${'$as_ac_var'}'`" >&5
29341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29342 if test `eval echo '${'$as_ac_var'}'` = yes; then
29343 cat >>confdefs.h <<_ACEOF
29344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29352 eval "ac_tr_func=HAVE_`echo XauReadAuth | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
29353 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
29354 eval "LIB_XauReadAuth=$ac_res"
29358 eval "ac_cv_func_XauReadAuth=yes"
29359 eval "LIB_XauReadAuth="
29360 cat >>confdefs.h <<_ACEOF
29361 #define $ac_tr_func 1
29364 echo "$as_me:29364: result: yes" >&5
29365 echo "${ECHO_T}yes" >&6
29368 eval "ac_cv_func_XauReadAuth=no"
29369 eval "LIB_XauReadAuth="
29370 echo "$as_me:29370: result: no" >&5
29371 echo "${ECHO_T}no" >&6
29374 eval "ac_cv_func_XauReadAuth=yes"
29375 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
29376 cat >>confdefs.h <<_ACEOF
29377 #define $ac_tr_func 1
29380 cat >>confdefs.h <<_ACEOF
29381 #define $ac_tr_lib 1
29384 echo "$as_me:29384: result: yes, in $ac_res" >&5
29385 echo "${ECHO_T}yes, in $ac_res" >&6
29390 LIBS="$LIB_XauReadAauth $LIBS"
29394 echo "$as_me:29394: checking for XauFileName" >&5
29395 echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
29396 if test "${ac_cv_funclib_XauFileName+set}" = set; then
29397 echo $ECHO_N "(cached) $ECHO_C" >&6
29400 if eval "test \"\$ac_cv_func_XauFileName\" != yes" ; then
29401 ac_save_LIBS="$LIBS"
29402 for ac_lib in "" X11 Xau; do
29408 *) ac_lib="-l$ac_lib" ;;
29410 LIBS=" $ac_lib $ac_save_LIBS"
29411 cat >conftest.$ac_ext <<_ACEOF
29412 #line 29412 "configure"
29413 #include "confdefs.h"
29415 #ifdef F77_DUMMY_MAIN
29416 # ifdef __cplusplus
29419 int F77_DUMMY_MAIN() { return 1; }
29429 rm -f conftest.$ac_objext conftest$ac_exeext
29430 if { (eval echo "$as_me:29430: \"$ac_link\"") >&5
29431 (eval $ac_link) 2>&5
29433 echo "$as_me:29433: \$? = $ac_status" >&5
29434 (exit $ac_status); } &&
29435 { ac_try='test -s conftest$ac_exeext'
29436 { (eval echo "$as_me:29436: \"$ac_try\"") >&5
29437 (eval $ac_try) 2>&5
29439 echo "$as_me:29439: \$? = $ac_status" >&5
29440 (exit $ac_status); }; }; then
29441 eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
29443 echo "$as_me: failed program was:" >&5
29444 cat conftest.$ac_ext >&5
29446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29448 eval "ac_cv_funclib_XauFileName=\${ac_cv_funclib_XauFileName-no}"
29449 LIBS="$ac_save_LIBS"
29455 eval "ac_res=\$ac_cv_funclib_XauFileName"
29459 for ac_func in XauFileName
29461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29462 echo "$as_me:29462: checking for $ac_func" >&5
29463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29464 if eval "test \"\${$as_ac_var+set}\" = set"; then
29465 echo $ECHO_N "(cached) $ECHO_C" >&6
29467 cat >conftest.$ac_ext <<_ACEOF
29468 #line 29468 "configure"
29469 #include "confdefs.h"
29470 /* System header to define __stub macros and hopefully few prototypes,
29471 which can conflict with char $ac_func (); below. */
29472 #include <assert.h>
29473 /* Override any gcc2 internal prototype to avoid an error. */
29477 /* We use char because int might match the return type of a gcc2
29478 builtin and then its argument prototype would still apply. */
29482 #ifdef F77_DUMMY_MAIN
29483 # ifdef __cplusplus
29486 int F77_DUMMY_MAIN() { return 1; }
29491 /* The GNU C library defines this for functions which it implements
29492 to always fail with ENOSYS. Some functions are actually named
29493 something starting with __ and the normal name is an alias. */
29494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29504 rm -f conftest.$ac_objext conftest$ac_exeext
29505 if { (eval echo "$as_me:29505: \"$ac_link\"") >&5
29506 (eval $ac_link) 2>&5
29508 echo "$as_me:29508: \$? = $ac_status" >&5
29509 (exit $ac_status); } &&
29510 { ac_try='test -s conftest$ac_exeext'
29511 { (eval echo "$as_me:29511: \"$ac_try\"") >&5
29512 (eval $ac_try) 2>&5
29514 echo "$as_me:29514: \$? = $ac_status" >&5
29515 (exit $ac_status); }; }; then
29516 eval "$as_ac_var=yes"
29518 echo "$as_me: failed program was:" >&5
29519 cat conftest.$ac_ext >&5
29520 eval "$as_ac_var=no"
29522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29524 echo "$as_me:29524: result: `eval echo '${'$as_ac_var'}'`" >&5
29525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29526 if test `eval echo '${'$as_ac_var'}'` = yes; then
29527 cat >>confdefs.h <<_ACEOF
29528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29536 eval "ac_tr_func=HAVE_`echo XauFileName | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
29537 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
29538 eval "LIB_XauFileName=$ac_res"
29542 eval "ac_cv_func_XauFileName=yes"
29543 eval "LIB_XauFileName="
29544 cat >>confdefs.h <<_ACEOF
29545 #define $ac_tr_func 1
29548 echo "$as_me:29548: result: yes" >&5
29549 echo "${ECHO_T}yes" >&6
29552 eval "ac_cv_func_XauFileName=no"
29553 eval "LIB_XauFileName="
29554 echo "$as_me:29554: result: no" >&5
29555 echo "${ECHO_T}no" >&6
29558 eval "ac_cv_func_XauFileName=yes"
29559 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
29560 cat >>confdefs.h <<_ACEOF
29561 #define $ac_tr_func 1
29564 cat >>confdefs.h <<_ACEOF
29565 #define $ac_tr_lib 1
29568 echo "$as_me:29568: result: yes, in $ac_res" >&5
29569 echo "${ECHO_T}yes, in $ac_res" >&6
29576 case "$ac_cv_funclib_XauWriteAuth" in
29579 *) if test "$ac_cv_funclib_XauReadAuth" = yes; then
29580 if test "$ac_cv_funclib_XauFileName" = yes; then
29581 LIB_XauReadAuth="$LIB_XauWriteAuth"
29583 LIB_XauReadAuth="$LIB_XauWriteAuth $LIB_XauFileName"
29586 if test "$ac_cv_funclib_XauFileName" = yes; then
29587 LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth"
29589 LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth $LIB_XauFileName"
29595 if test "$AUTOMAKE" != ""; then
29598 if test "$ac_cv_func_XauWriteAuth" != "yes"; then
29599 NEED_WRITEAUTH_TRUE=
29600 NEED_WRITEAUTH_FALSE='#'
29602 NEED_WRITEAUTH_TRUE='#'
29603 NEED_WRITEAUTH_FALSE=
29609 if test "$ac_cv_func_XauWriteAuth" != "yes"; then
29610 NEED_WRITEAUTH_TRUE=
29611 NEED_WRITEAUTH_FALSE='#'
29613 NEED_WRITEAUTH_TRUE='#'
29614 NEED_WRITEAUTH_FALSE=
29617 CFLAGS=$save_CFLAGS
29619 LDFLAGS=$save_LDFLAGS
29623 echo "$as_me:29623: checking for an ANSI C-conforming const" >&5
29624 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
29625 if test "${ac_cv_c_const+set}" = set; then
29626 echo $ECHO_N "(cached) $ECHO_C" >&6
29628 cat >conftest.$ac_ext <<_ACEOF
29629 #line 29629 "configure"
29630 #include "confdefs.h"
29632 #ifdef F77_DUMMY_MAIN
29633 # ifdef __cplusplus
29636 int F77_DUMMY_MAIN() { return 1; }
29641 /* FIXME: Include the comments suggested by Paul. */
29642 #ifndef __cplusplus
29643 /* Ultrix mips cc rejects this. */
29644 typedef int charset[2];
29646 /* SunOS 4.1.1 cc rejects this. */
29647 char const *const *ccp;
29649 /* NEC SVR4.0.2 mips cc rejects this. */
29650 struct point {int x, y;};
29651 static struct point const zero = {0,0};
29652 /* AIX XL C 1.02.0.0 rejects this.
29653 It does not let you subtract one const X* pointer from another in
29654 an arm of an if-expression whose if-part is not a constant
29656 const char *g = "string";
29657 ccp = &g + (g ? g-g : 0);
29658 /* HPUX 7.0 cc rejects these. */
29661 ccp = (char const *const *) p;
29662 { /* SCO 3.2v4 cc rejects this. */
29664 char const *s = 0 ? (char *) 0 : (char const *) 0;
29668 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
29669 int x[] = {25, 17};
29670 const int *foo = &x[0];
29673 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
29674 typedef const int *iptr;
29678 { /* AIX XL C 1.02.0.0 rejects this saying
29679 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
29680 struct s { int j; const int *ap[3]; };
29681 struct s *b; b->j = 5;
29683 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
29684 const int foo = 10;
29692 rm -f conftest.$ac_objext
29693 if { (eval echo "$as_me:29693: \"$ac_compile\"") >&5
29694 (eval $ac_compile) 2>&5
29696 echo "$as_me:29696: \$? = $ac_status" >&5
29697 (exit $ac_status); } &&
29698 { ac_try='test -s conftest.$ac_objext'
29699 { (eval echo "$as_me:29699: \"$ac_try\"") >&5
29700 (eval $ac_try) 2>&5
29702 echo "$as_me:29702: \$? = $ac_status" >&5
29703 (exit $ac_status); }; }; then
29706 echo "$as_me: failed program was:" >&5
29707 cat conftest.$ac_ext >&5
29710 rm -f conftest.$ac_objext conftest.$ac_ext
29712 echo "$as_me:29712: result: $ac_cv_c_const" >&5
29713 echo "${ECHO_T}$ac_cv_c_const" >&6
29714 if test $ac_cv_c_const = no; then
29716 cat >>confdefs.h <<\_ACEOF
29722 echo "$as_me:29722: checking for off_t" >&5
29723 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29724 if test "${ac_cv_type_off_t+set}" = set; then
29725 echo $ECHO_N "(cached) $ECHO_C" >&6
29727 cat >conftest.$ac_ext <<_ACEOF
29728 #line 29728 "configure"
29729 #include "confdefs.h"
29730 $ac_includes_default
29731 #ifdef F77_DUMMY_MAIN
29732 # ifdef __cplusplus
29735 int F77_DUMMY_MAIN() { return 1; }
29742 if (sizeof (off_t))
29748 rm -f conftest.$ac_objext
29749 if { (eval echo "$as_me:29749: \"$ac_compile\"") >&5
29750 (eval $ac_compile) 2>&5
29752 echo "$as_me:29752: \$? = $ac_status" >&5
29753 (exit $ac_status); } &&
29754 { ac_try='test -s conftest.$ac_objext'
29755 { (eval echo "$as_me:29755: \"$ac_try\"") >&5
29756 (eval $ac_try) 2>&5
29758 echo "$as_me:29758: \$? = $ac_status" >&5
29759 (exit $ac_status); }; }; then
29760 ac_cv_type_off_t=yes
29762 echo "$as_me: failed program was:" >&5
29763 cat conftest.$ac_ext >&5
29764 ac_cv_type_off_t=no
29766 rm -f conftest.$ac_objext conftest.$ac_ext
29768 echo "$as_me:29768: result: $ac_cv_type_off_t" >&5
29769 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29770 if test $ac_cv_type_off_t = yes; then
29774 cat >>confdefs.h <<_ACEOF
29780 echo "$as_me:29780: checking for mode_t" >&5
29781 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29782 if test "${ac_cv_type_mode_t+set}" = set; then
29783 echo $ECHO_N "(cached) $ECHO_C" >&6
29785 cat >conftest.$ac_ext <<_ACEOF
29786 #line 29786 "configure"
29787 #include "confdefs.h"
29788 #include <sys/types.h>
29790 #include <stdlib.h>
29791 #include <stddef.h>
29795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29796 egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
29797 ac_cv_type_mode_t=yes
29799 ac_cv_type_mode_t=no
29804 echo "$as_me:29804: result: $ac_cv_type_mode_t" >&5
29805 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29806 if test $ac_cv_type_mode_t = no; then
29808 cat >>confdefs.h <<\_ACEOF
29809 #define mode_t unsigned short
29814 echo "$as_me:29814: checking for sig_atomic_t" >&5
29815 echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
29816 if test "${ac_cv_type_sig_atomic_t+set}" = set; then
29817 echo $ECHO_N "(cached) $ECHO_C" >&6
29819 cat >conftest.$ac_ext <<_ACEOF
29820 #line 29820 "configure"
29821 #include "confdefs.h"
29822 #include <sys/types.h>
29824 #include <stdlib.h>
29825 #include <stddef.h>
29827 #include <signal.h>
29829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29830 egrep "sig_atomic_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
29831 ac_cv_type_sig_atomic_t=yes
29833 ac_cv_type_sig_atomic_t=no
29838 echo "$as_me:29838: result: $ac_cv_type_sig_atomic_t" >&5
29839 echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
29840 if test $ac_cv_type_sig_atomic_t = no; then
29842 cat >>confdefs.h <<\_ACEOF
29843 #define sig_atomic_t int
29850 cv=`echo "long long" | sed 'y%./+- %__p__%'`
29851 echo "$as_me:29851: checking for long long" >&5
29852 echo $ECHO_N "checking for long long... $ECHO_C" >&6
29853 if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
29854 echo $ECHO_N "(cached) $ECHO_C" >&6
29856 cat >conftest.$ac_ext <<_ACEOF
29857 #line 29857 "configure"
29858 #include "confdefs.h"
29859 #include <sys/types.h>
29861 #include <stdlib.h>
29862 #include <stddef.h>
29865 #ifdef F77_DUMMY_MAIN
29866 # ifdef __cplusplus
29869 int F77_DUMMY_MAIN() { return 1; }
29879 rm -f conftest.$ac_objext
29880 if { (eval echo "$as_me:29880: \"$ac_compile\"") >&5
29881 (eval $ac_compile) 2>&5
29883 echo "$as_me:29883: \$? = $ac_status" >&5
29884 (exit $ac_status); } &&
29885 { ac_try='test -s conftest.$ac_objext'
29886 { (eval echo "$as_me:29886: \"$ac_try\"") >&5
29887 (eval $ac_try) 2>&5
29889 echo "$as_me:29889: \$? = $ac_status" >&5
29890 (exit $ac_status); }; }; then
29891 eval "ac_cv_type_$cv=yes"
29893 echo "$as_me: failed program was:" >&5
29894 cat conftest.$ac_ext >&5
29895 eval "ac_cv_type_$cv=no"
29897 rm -f conftest.$ac_objext conftest.$ac_ext
29899 ac_foo=`eval echo \\$ac_cv_type_$cv`
29900 echo "$as_me:29900: result: $ac_foo" >&5
29901 echo "${ECHO_T}$ac_foo" >&6
29902 if test "$ac_foo" = yes; then
29903 ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
29905 echo "$as_me:29905: checking for long long" >&5
29906 echo $ECHO_N "checking for long long... $ECHO_C" >&6
29907 if test "${ac_cv_type_long_long+set}" = set; then
29908 echo $ECHO_N "(cached) $ECHO_C" >&6
29910 cat >conftest.$ac_ext <<_ACEOF
29911 #line 29911 "configure"
29912 #include "confdefs.h"
29913 $ac_includes_default
29914 #ifdef F77_DUMMY_MAIN
29915 # ifdef __cplusplus
29918 int F77_DUMMY_MAIN() { return 1; }
29923 if ((long long *) 0)
29925 if (sizeof (long long))
29931 rm -f conftest.$ac_objext
29932 if { (eval echo "$as_me:29932: \"$ac_compile\"") >&5
29933 (eval $ac_compile) 2>&5
29935 echo "$as_me:29935: \$? = $ac_status" >&5
29936 (exit $ac_status); } &&
29937 { ac_try='test -s conftest.$ac_objext'
29938 { (eval echo "$as_me:29938: \"$ac_try\"") >&5
29939 (eval $ac_try) 2>&5
29941 echo "$as_me:29941: \$? = $ac_status" >&5
29942 (exit $ac_status); }; }; then
29943 ac_cv_type_long_long=yes
29945 echo "$as_me: failed program was:" >&5
29946 cat conftest.$ac_ext >&5
29947 ac_cv_type_long_long=no
29949 rm -f conftest.$ac_objext conftest.$ac_ext
29951 echo "$as_me:29951: result: $ac_cv_type_long_long" >&5
29952 echo "${ECHO_T}$ac_cv_type_long_long" >&6
29953 if test $ac_cv_type_long_long = yes; then
29955 cat >>confdefs.h <<_ACEOF
29956 #define HAVE_LONG_LONG 1
29964 cat >>confdefs.h <<_ACEOF
29965 #define $ac_tr_hdr 1
29970 echo "$as_me:29970: checking whether time.h and sys/time.h may both be included" >&5
29971 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
29972 if test "${ac_cv_header_time+set}" = set; then
29973 echo $ECHO_N "(cached) $ECHO_C" >&6
29975 cat >conftest.$ac_ext <<_ACEOF
29976 #line 29976 "configure"
29977 #include "confdefs.h"
29978 #include <sys/types.h>
29979 #include <sys/time.h>
29982 #ifdef F77_DUMMY_MAIN
29983 # ifdef __cplusplus
29986 int F77_DUMMY_MAIN() { return 1; }
29991 if ((struct tm *) 0)
29997 rm -f conftest.$ac_objext
29998 if { (eval echo "$as_me:29998: \"$ac_compile\"") >&5
29999 (eval $ac_compile) 2>&5
30001 echo "$as_me:30001: \$? = $ac_status" >&5
30002 (exit $ac_status); } &&
30003 { ac_try='test -s conftest.$ac_objext'
30004 { (eval echo "$as_me:30004: \"$ac_try\"") >&5
30005 (eval $ac_try) 2>&5
30007 echo "$as_me:30007: \$? = $ac_status" >&5
30008 (exit $ac_status); }; }; then
30009 ac_cv_header_time=yes
30011 echo "$as_me: failed program was:" >&5
30012 cat conftest.$ac_ext >&5
30013 ac_cv_header_time=no
30015 rm -f conftest.$ac_objext conftest.$ac_ext
30017 echo "$as_me:30017: result: $ac_cv_header_time" >&5
30018 echo "${ECHO_T}$ac_cv_header_time" >&6
30019 if test $ac_cv_header_time = yes; then
30021 cat >>confdefs.h <<\_ACEOF
30022 #define TIME_WITH_SYS_TIME 1
30027 echo "$as_me:30027: checking whether struct tm is in sys/time.h or time.h" >&5
30028 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
30029 if test "${ac_cv_struct_tm+set}" = set; then
30030 echo $ECHO_N "(cached) $ECHO_C" >&6
30032 cat >conftest.$ac_ext <<_ACEOF
30033 #line 30033 "configure"
30034 #include "confdefs.h"
30035 #include <sys/types.h>
30038 #ifdef F77_DUMMY_MAIN
30039 # ifdef __cplusplus
30042 int F77_DUMMY_MAIN() { return 1; }
30047 struct tm *tp; tp->tm_sec;
30052 rm -f conftest.$ac_objext
30053 if { (eval echo "$as_me:30053: \"$ac_compile\"") >&5
30054 (eval $ac_compile) 2>&5
30056 echo "$as_me:30056: \$? = $ac_status" >&5
30057 (exit $ac_status); } &&
30058 { ac_try='test -s conftest.$ac_objext'
30059 { (eval echo "$as_me:30059: \"$ac_try\"") >&5
30060 (eval $ac_try) 2>&5
30062 echo "$as_me:30062: \$? = $ac_status" >&5
30063 (exit $ac_status); }; }; then
30064 ac_cv_struct_tm=time.h
30066 echo "$as_me: failed program was:" >&5
30067 cat conftest.$ac_ext >&5
30068 ac_cv_struct_tm=sys/time.h
30070 rm -f conftest.$ac_objext conftest.$ac_ext
30072 echo "$as_me:30072: result: $ac_cv_struct_tm" >&5
30073 echo "${ECHO_T}$ac_cv_struct_tm" >&6
30074 if test $ac_cv_struct_tm = sys/time.h; then
30076 cat >>confdefs.h <<\_ACEOF
30077 #define TM_IN_SYS_TIME 1
30083 echo "$as_me:30083: checking for ANSI C header files" >&5
30084 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
30085 if test "${ac_cv_header_stdc+set}" = set; then
30086 echo $ECHO_N "(cached) $ECHO_C" >&6
30088 cat >conftest.$ac_ext <<_ACEOF
30089 #line 30089 "configure"
30090 #include "confdefs.h"
30091 #include <stdlib.h>
30092 #include <stdarg.h>
30093 #include <string.h>
30097 if { (eval echo "$as_me:30097: \"$ac_cpp conftest.$ac_ext\"") >&5
30098 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30100 egrep -v '^ *\+' conftest.er1 >conftest.err
30102 cat conftest.err >&5
30103 echo "$as_me:30103: \$? = $ac_status" >&5
30104 (exit $ac_status); } >/dev/null; then
30105 if test -s conftest.err; then
30106 ac_cpp_err=$ac_c_preproc_warn_flag
30113 if test -z "$ac_cpp_err"; then
30114 ac_cv_header_stdc=yes
30116 echo "$as_me: failed program was:" >&5
30117 cat conftest.$ac_ext >&5
30118 ac_cv_header_stdc=no
30120 rm -f conftest.err conftest.$ac_ext
30122 if test $ac_cv_header_stdc = yes; then
30123 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
30124 cat >conftest.$ac_ext <<_ACEOF
30125 #line 30125 "configure"
30126 #include "confdefs.h"
30127 #include <string.h>
30130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30131 egrep "memchr" >/dev/null 2>&1; then
30134 ac_cv_header_stdc=no
30140 if test $ac_cv_header_stdc = yes; then
30141 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
30142 cat >conftest.$ac_ext <<_ACEOF
30143 #line 30143 "configure"
30144 #include "confdefs.h"
30145 #include <stdlib.h>
30148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30149 egrep "free" >/dev/null 2>&1; then
30152 ac_cv_header_stdc=no
30158 if test $ac_cv_header_stdc = yes; then
30159 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
30160 if test "$cross_compiling" = yes; then
30163 cat >conftest.$ac_ext <<_ACEOF
30164 #line 30164 "configure"
30165 #include "confdefs.h"
30167 #if ((' ' & 0x0FF) == 0x020)
30168 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
30169 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
30171 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
30172 || ('j' <= (c) && (c) <= 'r') \
30173 || ('s' <= (c) && (c) <= 'z'))
30174 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
30177 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
30182 for (i = 0; i < 256; i++)
30183 if (XOR (islower (i), ISLOWER (i))
30184 || toupper (i) != TOUPPER (i))
30189 rm -f conftest$ac_exeext
30190 if { (eval echo "$as_me:30190: \"$ac_link\"") >&5
30191 (eval $ac_link) 2>&5
30193 echo "$as_me:30193: \$? = $ac_status" >&5
30194 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30195 { (eval echo "$as_me:30195: \"$ac_try\"") >&5
30196 (eval $ac_try) 2>&5
30198 echo "$as_me:30198: \$? = $ac_status" >&5
30199 (exit $ac_status); }; }; then
30202 echo "$as_me: program exited with status $ac_status" >&5
30203 echo "$as_me: failed program was:" >&5
30204 cat conftest.$ac_ext >&5
30205 ( exit $ac_status )
30206 ac_cv_header_stdc=no
30208 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30212 echo "$as_me:30212: result: $ac_cv_header_stdc" >&5
30213 echo "${ECHO_T}$ac_cv_header_stdc" >&6
30214 if test $ac_cv_header_stdc = yes; then
30216 cat >>confdefs.h <<\_ACEOF
30217 #define STDC_HEADERS 1
30284 netinet/in6_machtypes.h \
30289 security/pam_modules.h \
30322 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30324 echo "$as_me:30324: checking for $ac_header" >&5
30325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30327 echo $ECHO_N "(cached) $ECHO_C" >&6
30329 echo "$as_me:30329: result: `eval echo '${'$as_ac_Header'}'`" >&5
30330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30332 # Is the header compilable?
30333 echo "$as_me:30333: checking $ac_header usability" >&5
30334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30335 cat >conftest.$ac_ext <<_ACEOF
30336 #line 30336 "configure"
30337 #include "confdefs.h"
30338 $ac_includes_default
30339 #include <$ac_header>
30341 rm -f conftest.$ac_objext
30342 if { (eval echo "$as_me:30342: \"$ac_compile\"") >&5
30343 (eval $ac_compile) 2>&5
30345 echo "$as_me:30345: \$? = $ac_status" >&5
30346 (exit $ac_status); } &&
30347 { ac_try='test -s conftest.$ac_objext'
30348 { (eval echo "$as_me:30348: \"$ac_try\"") >&5
30349 (eval $ac_try) 2>&5
30351 echo "$as_me:30351: \$? = $ac_status" >&5
30352 (exit $ac_status); }; }; then
30353 ac_header_compiler=yes
30355 echo "$as_me: failed program was:" >&5
30356 cat conftest.$ac_ext >&5
30357 ac_header_compiler=no
30359 rm -f conftest.$ac_objext conftest.$ac_ext
30360 echo "$as_me:30360: result: $ac_header_compiler" >&5
30361 echo "${ECHO_T}$ac_header_compiler" >&6
30363 # Is the header present?
30364 echo "$as_me:30364: checking $ac_header presence" >&5
30365 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30366 cat >conftest.$ac_ext <<_ACEOF
30367 #line 30367 "configure"
30368 #include "confdefs.h"
30369 #include <$ac_header>
30371 if { (eval echo "$as_me:30371: \"$ac_cpp conftest.$ac_ext\"") >&5
30372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30374 egrep -v '^ *\+' conftest.er1 >conftest.err
30376 cat conftest.err >&5
30377 echo "$as_me:30377: \$? = $ac_status" >&5
30378 (exit $ac_status); } >/dev/null; then
30379 if test -s conftest.err; then
30380 ac_cpp_err=$ac_c_preproc_warn_flag
30387 if test -z "$ac_cpp_err"; then
30388 ac_header_preproc=yes
30390 echo "$as_me: failed program was:" >&5
30391 cat conftest.$ac_ext >&5
30392 ac_header_preproc=no
30394 rm -f conftest.err conftest.$ac_ext
30395 echo "$as_me:30395: result: $ac_header_preproc" >&5
30396 echo "${ECHO_T}$ac_header_preproc" >&6
30398 # So? What about this header?
30399 case $ac_header_compiler:$ac_header_preproc in
30401 { echo "$as_me:30401: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30402 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30403 { echo "$as_me:30403: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
30406 { echo "$as_me:30406: WARNING: $ac_header: present but cannot be compiled" >&5
30407 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30408 { echo "$as_me:30408: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30409 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30410 { echo "$as_me:30410: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30411 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
30413 echo "$as_me:30413: checking for $ac_header" >&5
30414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30416 echo $ECHO_N "(cached) $ECHO_C" >&6
30418 eval "$as_ac_Header=$ac_header_preproc"
30420 echo "$as_me:30420: result: `eval echo '${'$as_ac_Header'}'`" >&5
30421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30425 cat >>confdefs.h <<_ACEOF
30426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30434 # Check whether --enable-netinfo or --disable-netinfo was given.
30435 if test "${enable_netinfo+set}" = set; then
30436 enableval="$enable_netinfo"
30440 if test "$ac_cv_header_netinfo_ni_h" = yes -a "$enable_netinfo" = yes; then
30442 cat >>confdefs.h <<\_ACEOF
30443 #define HAVE_NETINFO 1
30452 echo "$as_me:30452: checking for logwtmp" >&5
30453 echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
30454 if test "${ac_cv_funclib_logwtmp+set}" = set; then
30455 echo $ECHO_N "(cached) $ECHO_C" >&6
30458 if eval "test \"\$ac_cv_func_logwtmp\" != yes" ; then
30459 ac_save_LIBS="$LIBS"
30460 for ac_lib in "" util; do
30466 *) ac_lib="-l$ac_lib" ;;
30468 LIBS=" $ac_lib $ac_save_LIBS"
30469 cat >conftest.$ac_ext <<_ACEOF
30470 #line 30470 "configure"
30471 #include "confdefs.h"
30473 #ifdef F77_DUMMY_MAIN
30474 # ifdef __cplusplus
30477 int F77_DUMMY_MAIN() { return 1; }
30487 rm -f conftest.$ac_objext conftest$ac_exeext
30488 if { (eval echo "$as_me:30488: \"$ac_link\"") >&5
30489 (eval $ac_link) 2>&5
30491 echo "$as_me:30491: \$? = $ac_status" >&5
30492 (exit $ac_status); } &&
30493 { ac_try='test -s conftest$ac_exeext'
30494 { (eval echo "$as_me:30494: \"$ac_try\"") >&5
30495 (eval $ac_try) 2>&5
30497 echo "$as_me:30497: \$? = $ac_status" >&5
30498 (exit $ac_status); }; }; then
30499 eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
30501 echo "$as_me: failed program was:" >&5
30502 cat conftest.$ac_ext >&5
30504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30506 eval "ac_cv_funclib_logwtmp=\${ac_cv_funclib_logwtmp-no}"
30507 LIBS="$ac_save_LIBS"
30513 eval "ac_res=\$ac_cv_funclib_logwtmp"
30517 for ac_func in logwtmp
30519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30520 echo "$as_me:30520: checking for $ac_func" >&5
30521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30522 if eval "test \"\${$as_ac_var+set}\" = set"; then
30523 echo $ECHO_N "(cached) $ECHO_C" >&6
30525 cat >conftest.$ac_ext <<_ACEOF
30526 #line 30526 "configure"
30527 #include "confdefs.h"
30528 /* System header to define __stub macros and hopefully few prototypes,
30529 which can conflict with char $ac_func (); below. */
30530 #include <assert.h>
30531 /* Override any gcc2 internal prototype to avoid an error. */
30535 /* We use char because int might match the return type of a gcc2
30536 builtin and then its argument prototype would still apply. */
30540 #ifdef F77_DUMMY_MAIN
30541 # ifdef __cplusplus
30544 int F77_DUMMY_MAIN() { return 1; }
30549 /* The GNU C library defines this for functions which it implements
30550 to always fail with ENOSYS. Some functions are actually named
30551 something starting with __ and the normal name is an alias. */
30552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30562 rm -f conftest.$ac_objext conftest$ac_exeext
30563 if { (eval echo "$as_me:30563: \"$ac_link\"") >&5
30564 (eval $ac_link) 2>&5
30566 echo "$as_me:30566: \$? = $ac_status" >&5
30567 (exit $ac_status); } &&
30568 { ac_try='test -s conftest$ac_exeext'
30569 { (eval echo "$as_me:30569: \"$ac_try\"") >&5
30570 (eval $ac_try) 2>&5
30572 echo "$as_me:30572: \$? = $ac_status" >&5
30573 (exit $ac_status); }; }; then
30574 eval "$as_ac_var=yes"
30576 echo "$as_me: failed program was:" >&5
30577 cat conftest.$ac_ext >&5
30578 eval "$as_ac_var=no"
30580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30582 echo "$as_me:30582: result: `eval echo '${'$as_ac_var'}'`" >&5
30583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30584 if test `eval echo '${'$as_ac_var'}'` = yes; then
30585 cat >>confdefs.h <<_ACEOF
30586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30594 eval "ac_tr_func=HAVE_`echo logwtmp | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
30595 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
30596 eval "LIB_logwtmp=$ac_res"
30600 eval "ac_cv_func_logwtmp=yes"
30601 eval "LIB_logwtmp="
30602 cat >>confdefs.h <<_ACEOF
30603 #define $ac_tr_func 1
30606 echo "$as_me:30606: result: yes" >&5
30607 echo "${ECHO_T}yes" >&6
30610 eval "ac_cv_func_logwtmp=no"
30611 eval "LIB_logwtmp="
30612 echo "$as_me:30612: result: no" >&5
30613 echo "${ECHO_T}no" >&6
30616 eval "ac_cv_func_logwtmp=yes"
30617 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
30618 cat >>confdefs.h <<_ACEOF
30619 #define $ac_tr_func 1
30622 cat >>confdefs.h <<_ACEOF
30623 #define $ac_tr_lib 1
30626 echo "$as_me:30626: result: yes, in $ac_res" >&5
30627 echo "${ECHO_T}yes, in $ac_res" >&6
30635 echo "$as_me:30635: checking for logout" >&5
30636 echo $ECHO_N "checking for logout... $ECHO_C" >&6
30637 if test "${ac_cv_funclib_logout+set}" = set; then
30638 echo $ECHO_N "(cached) $ECHO_C" >&6
30641 if eval "test \"\$ac_cv_func_logout\" != yes" ; then
30642 ac_save_LIBS="$LIBS"
30643 for ac_lib in "" util; do
30649 *) ac_lib="-l$ac_lib" ;;
30651 LIBS=" $ac_lib $ac_save_LIBS"
30652 cat >conftest.$ac_ext <<_ACEOF
30653 #line 30653 "configure"
30654 #include "confdefs.h"
30656 #ifdef F77_DUMMY_MAIN
30657 # ifdef __cplusplus
30660 int F77_DUMMY_MAIN() { return 1; }
30670 rm -f conftest.$ac_objext conftest$ac_exeext
30671 if { (eval echo "$as_me:30671: \"$ac_link\"") >&5
30672 (eval $ac_link) 2>&5
30674 echo "$as_me:30674: \$? = $ac_status" >&5
30675 (exit $ac_status); } &&
30676 { ac_try='test -s conftest$ac_exeext'
30677 { (eval echo "$as_me:30677: \"$ac_try\"") >&5
30678 (eval $ac_try) 2>&5
30680 echo "$as_me:30680: \$? = $ac_status" >&5
30681 (exit $ac_status); }; }; then
30682 eval "if test -n \"$ac_lib\";then ac_cv_funclib_logout=$ac_lib; else ac_cv_funclib_logout=yes; fi";break
30684 echo "$as_me: failed program was:" >&5
30685 cat conftest.$ac_ext >&5
30687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30689 eval "ac_cv_funclib_logout=\${ac_cv_funclib_logout-no}"
30690 LIBS="$ac_save_LIBS"
30696 eval "ac_res=\$ac_cv_funclib_logout"
30700 for ac_func in logout
30702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30703 echo "$as_me:30703: checking for $ac_func" >&5
30704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30705 if eval "test \"\${$as_ac_var+set}\" = set"; then
30706 echo $ECHO_N "(cached) $ECHO_C" >&6
30708 cat >conftest.$ac_ext <<_ACEOF
30709 #line 30709 "configure"
30710 #include "confdefs.h"
30711 /* System header to define __stub macros and hopefully few prototypes,
30712 which can conflict with char $ac_func (); below. */
30713 #include <assert.h>
30714 /* Override any gcc2 internal prototype to avoid an error. */
30718 /* We use char because int might match the return type of a gcc2
30719 builtin and then its argument prototype would still apply. */
30723 #ifdef F77_DUMMY_MAIN
30724 # ifdef __cplusplus
30727 int F77_DUMMY_MAIN() { return 1; }
30732 /* The GNU C library defines this for functions which it implements
30733 to always fail with ENOSYS. Some functions are actually named
30734 something starting with __ and the normal name is an alias. */
30735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30745 rm -f conftest.$ac_objext conftest$ac_exeext
30746 if { (eval echo "$as_me:30746: \"$ac_link\"") >&5
30747 (eval $ac_link) 2>&5
30749 echo "$as_me:30749: \$? = $ac_status" >&5
30750 (exit $ac_status); } &&
30751 { ac_try='test -s conftest$ac_exeext'
30752 { (eval echo "$as_me:30752: \"$ac_try\"") >&5
30753 (eval $ac_try) 2>&5
30755 echo "$as_me:30755: \$? = $ac_status" >&5
30756 (exit $ac_status); }; }; then
30757 eval "$as_ac_var=yes"
30759 echo "$as_me: failed program was:" >&5
30760 cat conftest.$ac_ext >&5
30761 eval "$as_ac_var=no"
30763 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30765 echo "$as_me:30765: result: `eval echo '${'$as_ac_var'}'`" >&5
30766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30767 if test `eval echo '${'$as_ac_var'}'` = yes; then
30768 cat >>confdefs.h <<_ACEOF
30769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30777 eval "ac_tr_func=HAVE_`echo logout | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
30778 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
30779 eval "LIB_logout=$ac_res"
30783 eval "ac_cv_func_logout=yes"
30785 cat >>confdefs.h <<_ACEOF
30786 #define $ac_tr_func 1
30789 echo "$as_me:30789: result: yes" >&5
30790 echo "${ECHO_T}yes" >&6
30793 eval "ac_cv_func_logout=no"
30795 echo "$as_me:30795: result: no" >&5
30796 echo "${ECHO_T}no" >&6
30799 eval "ac_cv_func_logout=yes"
30800 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
30801 cat >>confdefs.h <<_ACEOF
30802 #define $ac_tr_func 1
30805 cat >>confdefs.h <<_ACEOF
30806 #define $ac_tr_lib 1
30809 echo "$as_me:30809: result: yes, in $ac_res" >&5
30810 echo "${ECHO_T}yes, in $ac_res" >&6
30818 echo "$as_me:30818: checking for openpty" >&5
30819 echo $ECHO_N "checking for openpty... $ECHO_C" >&6
30820 if test "${ac_cv_funclib_openpty+set}" = set; then
30821 echo $ECHO_N "(cached) $ECHO_C" >&6
30824 if eval "test \"\$ac_cv_func_openpty\" != yes" ; then
30825 ac_save_LIBS="$LIBS"
30826 for ac_lib in "" util; do
30832 *) ac_lib="-l$ac_lib" ;;
30834 LIBS=" $ac_lib $ac_save_LIBS"
30835 cat >conftest.$ac_ext <<_ACEOF
30836 #line 30836 "configure"
30837 #include "confdefs.h"
30839 #ifdef F77_DUMMY_MAIN
30840 # ifdef __cplusplus
30843 int F77_DUMMY_MAIN() { return 1; }
30853 rm -f conftest.$ac_objext conftest$ac_exeext
30854 if { (eval echo "$as_me:30854: \"$ac_link\"") >&5
30855 (eval $ac_link) 2>&5
30857 echo "$as_me:30857: \$? = $ac_status" >&5
30858 (exit $ac_status); } &&
30859 { ac_try='test -s conftest$ac_exeext'
30860 { (eval echo "$as_me:30860: \"$ac_try\"") >&5
30861 (eval $ac_try) 2>&5
30863 echo "$as_me:30863: \$? = $ac_status" >&5
30864 (exit $ac_status); }; }; then
30865 eval "if test -n \"$ac_lib\";then ac_cv_funclib_openpty=$ac_lib; else ac_cv_funclib_openpty=yes; fi";break
30867 echo "$as_me: failed program was:" >&5
30868 cat conftest.$ac_ext >&5
30870 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30872 eval "ac_cv_funclib_openpty=\${ac_cv_funclib_openpty-no}"
30873 LIBS="$ac_save_LIBS"
30879 eval "ac_res=\$ac_cv_funclib_openpty"
30883 for ac_func in openpty
30885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30886 echo "$as_me:30886: checking for $ac_func" >&5
30887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30888 if eval "test \"\${$as_ac_var+set}\" = set"; then
30889 echo $ECHO_N "(cached) $ECHO_C" >&6
30891 cat >conftest.$ac_ext <<_ACEOF
30892 #line 30892 "configure"
30893 #include "confdefs.h"
30894 /* System header to define __stub macros and hopefully few prototypes,
30895 which can conflict with char $ac_func (); below. */
30896 #include <assert.h>
30897 /* Override any gcc2 internal prototype to avoid an error. */
30901 /* We use char because int might match the return type of a gcc2
30902 builtin and then its argument prototype would still apply. */
30906 #ifdef F77_DUMMY_MAIN
30907 # ifdef __cplusplus
30910 int F77_DUMMY_MAIN() { return 1; }
30915 /* The GNU C library defines this for functions which it implements
30916 to always fail with ENOSYS. Some functions are actually named
30917 something starting with __ and the normal name is an alias. */
30918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30928 rm -f conftest.$ac_objext conftest$ac_exeext
30929 if { (eval echo "$as_me:30929: \"$ac_link\"") >&5
30930 (eval $ac_link) 2>&5
30932 echo "$as_me:30932: \$? = $ac_status" >&5
30933 (exit $ac_status); } &&
30934 { ac_try='test -s conftest$ac_exeext'
30935 { (eval echo "$as_me:30935: \"$ac_try\"") >&5
30936 (eval $ac_try) 2>&5
30938 echo "$as_me:30938: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30940 eval "$as_ac_var=yes"
30942 echo "$as_me: failed program was:" >&5
30943 cat conftest.$ac_ext >&5
30944 eval "$as_ac_var=no"
30946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30948 echo "$as_me:30948: result: `eval echo '${'$as_ac_var'}'`" >&5
30949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30950 if test `eval echo '${'$as_ac_var'}'` = yes; then
30951 cat >>confdefs.h <<_ACEOF
30952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30960 eval "ac_tr_func=HAVE_`echo openpty | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
30961 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
30962 eval "LIB_openpty=$ac_res"
30966 eval "ac_cv_func_openpty=yes"
30967 eval "LIB_openpty="
30968 cat >>confdefs.h <<_ACEOF
30969 #define $ac_tr_func 1
30972 echo "$as_me:30972: result: yes" >&5
30973 echo "${ECHO_T}yes" >&6
30976 eval "ac_cv_func_openpty=no"
30977 eval "LIB_openpty="
30978 echo "$as_me:30978: result: no" >&5
30979 echo "${ECHO_T}no" >&6
30982 eval "ac_cv_func_openpty=yes"
30983 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
30984 cat >>confdefs.h <<_ACEOF
30985 #define $ac_tr_func 1
30988 cat >>confdefs.h <<_ACEOF
30989 #define $ac_tr_lib 1
30992 echo "$as_me:30992: result: yes, in $ac_res" >&5
30993 echo "${ECHO_T}yes, in $ac_res" >&6
31001 echo "$as_me:31001: checking for tgetent" >&5
31002 echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
31003 if test "${ac_cv_funclib_tgetent+set}" = set; then
31004 echo $ECHO_N "(cached) $ECHO_C" >&6
31007 if eval "test \"\$ac_cv_func_tgetent\" != yes" ; then
31008 ac_save_LIBS="$LIBS"
31009 for ac_lib in "" termcap ncurses curses; do
31015 *) ac_lib="-l$ac_lib" ;;
31017 LIBS=" $ac_lib $ac_save_LIBS"
31018 cat >conftest.$ac_ext <<_ACEOF
31019 #line 31019 "configure"
31020 #include "confdefs.h"
31022 #ifdef F77_DUMMY_MAIN
31023 # ifdef __cplusplus
31026 int F77_DUMMY_MAIN() { return 1; }
31036 rm -f conftest.$ac_objext conftest$ac_exeext
31037 if { (eval echo "$as_me:31037: \"$ac_link\"") >&5
31038 (eval $ac_link) 2>&5
31040 echo "$as_me:31040: \$? = $ac_status" >&5
31041 (exit $ac_status); } &&
31042 { ac_try='test -s conftest$ac_exeext'
31043 { (eval echo "$as_me:31043: \"$ac_try\"") >&5
31044 (eval $ac_try) 2>&5
31046 echo "$as_me:31046: \$? = $ac_status" >&5
31047 (exit $ac_status); }; }; then
31048 eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
31050 echo "$as_me: failed program was:" >&5
31051 cat conftest.$ac_ext >&5
31053 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31055 eval "ac_cv_funclib_tgetent=\${ac_cv_funclib_tgetent-no}"
31056 LIBS="$ac_save_LIBS"
31062 eval "ac_res=\$ac_cv_funclib_tgetent"
31066 for ac_func in tgetent
31068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31069 echo "$as_me:31069: checking for $ac_func" >&5
31070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31071 if eval "test \"\${$as_ac_var+set}\" = set"; then
31072 echo $ECHO_N "(cached) $ECHO_C" >&6
31074 cat >conftest.$ac_ext <<_ACEOF
31075 #line 31075 "configure"
31076 #include "confdefs.h"
31077 /* System header to define __stub macros and hopefully few prototypes,
31078 which can conflict with char $ac_func (); below. */
31079 #include <assert.h>
31080 /* Override any gcc2 internal prototype to avoid an error. */
31084 /* We use char because int might match the return type of a gcc2
31085 builtin and then its argument prototype would still apply. */
31089 #ifdef F77_DUMMY_MAIN
31090 # ifdef __cplusplus
31093 int F77_DUMMY_MAIN() { return 1; }
31098 /* The GNU C library defines this for functions which it implements
31099 to always fail with ENOSYS. Some functions are actually named
31100 something starting with __ and the normal name is an alias. */
31101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31111 rm -f conftest.$ac_objext conftest$ac_exeext
31112 if { (eval echo "$as_me:31112: \"$ac_link\"") >&5
31113 (eval $ac_link) 2>&5
31115 echo "$as_me:31115: \$? = $ac_status" >&5
31116 (exit $ac_status); } &&
31117 { ac_try='test -s conftest$ac_exeext'
31118 { (eval echo "$as_me:31118: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31121 echo "$as_me:31121: \$? = $ac_status" >&5
31122 (exit $ac_status); }; }; then
31123 eval "$as_ac_var=yes"
31125 echo "$as_me: failed program was:" >&5
31126 cat conftest.$ac_ext >&5
31127 eval "$as_ac_var=no"
31129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31131 echo "$as_me:31131: result: `eval echo '${'$as_ac_var'}'`" >&5
31132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31133 if test `eval echo '${'$as_ac_var'}'` = yes; then
31134 cat >>confdefs.h <<_ACEOF
31135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31143 eval "ac_tr_func=HAVE_`echo tgetent | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
31144 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
31145 eval "LIB_tgetent=$ac_res"
31149 eval "ac_cv_func_tgetent=yes"
31150 eval "LIB_tgetent="
31151 cat >>confdefs.h <<_ACEOF
31152 #define $ac_tr_func 1
31155 echo "$as_me:31155: result: yes" >&5
31156 echo "${ECHO_T}yes" >&6
31159 eval "ac_cv_func_tgetent=no"
31160 eval "LIB_tgetent="
31161 echo "$as_me:31161: result: no" >&5
31162 echo "${ECHO_T}no" >&6
31165 eval "ac_cv_func_tgetent=yes"
31166 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
31167 cat >>confdefs.h <<_ACEOF
31168 #define $ac_tr_func 1
31171 cat >>confdefs.h <<_ACEOF
31172 #define $ac_tr_lib 1
31175 echo "$as_me:31175: result: yes, in $ac_res" >&5
31176 echo "${ECHO_T}yes, in $ac_res" >&6
31239 yp_get_default_domain \
31242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31243 echo "$as_me:31243: checking for $ac_func" >&5
31244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31245 if eval "test \"\${$as_ac_var+set}\" = set"; then
31246 echo $ECHO_N "(cached) $ECHO_C" >&6
31248 cat >conftest.$ac_ext <<_ACEOF
31249 #line 31249 "configure"
31250 #include "confdefs.h"
31251 /* System header to define __stub macros and hopefully few prototypes,
31252 which can conflict with char $ac_func (); below. */
31253 #include <assert.h>
31254 /* Override any gcc2 internal prototype to avoid an error. */
31258 /* We use char because int might match the return type of a gcc2
31259 builtin and then its argument prototype would still apply. */
31263 #ifdef F77_DUMMY_MAIN
31264 # ifdef __cplusplus
31267 int F77_DUMMY_MAIN() { return 1; }
31272 /* The GNU C library defines this for functions which it implements
31273 to always fail with ENOSYS. Some functions are actually named
31274 something starting with __ and the normal name is an alias. */
31275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31285 rm -f conftest.$ac_objext conftest$ac_exeext
31286 if { (eval echo "$as_me:31286: \"$ac_link\"") >&5
31287 (eval $ac_link) 2>&5
31289 echo "$as_me:31289: \$? = $ac_status" >&5
31290 (exit $ac_status); } &&
31291 { ac_try='test -s conftest$ac_exeext'
31292 { (eval echo "$as_me:31292: \"$ac_try\"") >&5
31293 (eval $ac_try) 2>&5
31295 echo "$as_me:31295: \$? = $ac_status" >&5
31296 (exit $ac_status); }; }; then
31297 eval "$as_ac_var=yes"
31299 echo "$as_me: failed program was:" >&5
31300 cat conftest.$ac_ext >&5
31301 eval "$as_ac_var=no"
31303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31305 echo "$as_me:31305: result: `eval echo '${'$as_ac_var'}'`" >&5
31306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31307 if test `eval echo '${'$as_ac_var'}'` = yes; then
31308 cat >>confdefs.h <<_ACEOF
31309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31320 for ac_header in capability.h sys/capability.h
31322 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31324 echo "$as_me:31324: checking for $ac_header" >&5
31325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31327 echo $ECHO_N "(cached) $ECHO_C" >&6
31329 echo "$as_me:31329: result: `eval echo '${'$as_ac_Header'}'`" >&5
31330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31332 # Is the header compilable?
31333 echo "$as_me:31333: checking $ac_header usability" >&5
31334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31335 cat >conftest.$ac_ext <<_ACEOF
31336 #line 31336 "configure"
31337 #include "confdefs.h"
31338 $ac_includes_default
31339 #include <$ac_header>
31341 rm -f conftest.$ac_objext
31342 if { (eval echo "$as_me:31342: \"$ac_compile\"") >&5
31343 (eval $ac_compile) 2>&5
31345 echo "$as_me:31345: \$? = $ac_status" >&5
31346 (exit $ac_status); } &&
31347 { ac_try='test -s conftest.$ac_objext'
31348 { (eval echo "$as_me:31348: \"$ac_try\"") >&5
31349 (eval $ac_try) 2>&5
31351 echo "$as_me:31351: \$? = $ac_status" >&5
31352 (exit $ac_status); }; }; then
31353 ac_header_compiler=yes
31355 echo "$as_me: failed program was:" >&5
31356 cat conftest.$ac_ext >&5
31357 ac_header_compiler=no
31359 rm -f conftest.$ac_objext conftest.$ac_ext
31360 echo "$as_me:31360: result: $ac_header_compiler" >&5
31361 echo "${ECHO_T}$ac_header_compiler" >&6
31363 # Is the header present?
31364 echo "$as_me:31364: checking $ac_header presence" >&5
31365 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31366 cat >conftest.$ac_ext <<_ACEOF
31367 #line 31367 "configure"
31368 #include "confdefs.h"
31369 #include <$ac_header>
31371 if { (eval echo "$as_me:31371: \"$ac_cpp conftest.$ac_ext\"") >&5
31372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31374 egrep -v '^ *\+' conftest.er1 >conftest.err
31376 cat conftest.err >&5
31377 echo "$as_me:31377: \$? = $ac_status" >&5
31378 (exit $ac_status); } >/dev/null; then
31379 if test -s conftest.err; then
31380 ac_cpp_err=$ac_c_preproc_warn_flag
31387 if test -z "$ac_cpp_err"; then
31388 ac_header_preproc=yes
31390 echo "$as_me: failed program was:" >&5
31391 cat conftest.$ac_ext >&5
31392 ac_header_preproc=no
31394 rm -f conftest.err conftest.$ac_ext
31395 echo "$as_me:31395: result: $ac_header_preproc" >&5
31396 echo "${ECHO_T}$ac_header_preproc" >&6
31398 # So? What about this header?
31399 case $ac_header_compiler:$ac_header_preproc in
31401 { echo "$as_me:31401: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31402 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31403 { echo "$as_me:31403: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
31406 { echo "$as_me:31406: WARNING: $ac_header: present but cannot be compiled" >&5
31407 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31408 { echo "$as_me:31408: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31409 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31410 { echo "$as_me:31410: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31411 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
31413 echo "$as_me:31413: checking for $ac_header" >&5
31414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31416 echo $ECHO_N "(cached) $ECHO_C" >&6
31418 eval "$as_ac_Header=$ac_header_preproc"
31420 echo "$as_me:31420: result: `eval echo '${'$as_ac_Header'}'`" >&5
31421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31425 cat >>confdefs.h <<_ACEOF
31426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31436 for ac_func in sgi_getcapabilitybyname cap_set_proc
31438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31439 echo "$as_me:31439: checking for $ac_func" >&5
31440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31441 if eval "test \"\${$as_ac_var+set}\" = set"; then
31442 echo $ECHO_N "(cached) $ECHO_C" >&6
31444 cat >conftest.$ac_ext <<_ACEOF
31445 #line 31445 "configure"
31446 #include "confdefs.h"
31447 /* System header to define __stub macros and hopefully few prototypes,
31448 which can conflict with char $ac_func (); below. */
31449 #include <assert.h>
31450 /* Override any gcc2 internal prototype to avoid an error. */
31454 /* We use char because int might match the return type of a gcc2
31455 builtin and then its argument prototype would still apply. */
31459 #ifdef F77_DUMMY_MAIN
31460 # ifdef __cplusplus
31463 int F77_DUMMY_MAIN() { return 1; }
31468 /* The GNU C library defines this for functions which it implements
31469 to always fail with ENOSYS. Some functions are actually named
31470 something starting with __ and the normal name is an alias. */
31471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31481 rm -f conftest.$ac_objext conftest$ac_exeext
31482 if { (eval echo "$as_me:31482: \"$ac_link\"") >&5
31483 (eval $ac_link) 2>&5
31485 echo "$as_me:31485: \$? = $ac_status" >&5
31486 (exit $ac_status); } &&
31487 { ac_try='test -s conftest$ac_exeext'
31488 { (eval echo "$as_me:31488: \"$ac_try\"") >&5
31489 (eval $ac_try) 2>&5
31491 echo "$as_me:31491: \$? = $ac_status" >&5
31492 (exit $ac_status); }; }; then
31493 eval "$as_ac_var=yes"
31495 echo "$as_me: failed program was:" >&5
31496 cat conftest.$ac_ext >&5
31497 eval "$as_ac_var=no"
31499 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31501 echo "$as_me:31501: result: `eval echo '${'$as_ac_var'}'`" >&5
31502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31503 if test `eval echo '${'$as_ac_var'}'` = yes; then
31504 cat >>confdefs.h <<_ACEOF
31505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31517 echo "$as_me:31517: checking for getpwnam_r" >&5
31518 echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
31519 if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
31520 echo $ECHO_N "(cached) $ECHO_C" >&6
31523 if eval "test \"\$ac_cv_func_getpwnam_r\" != yes" ; then
31524 ac_save_LIBS="$LIBS"
31525 for ac_lib in "" c_r; do
31531 *) ac_lib="-l$ac_lib" ;;
31533 LIBS=" $ac_lib $ac_save_LIBS"
31534 cat >conftest.$ac_ext <<_ACEOF
31535 #line 31535 "configure"
31536 #include "confdefs.h"
31538 #ifdef F77_DUMMY_MAIN
31539 # ifdef __cplusplus
31542 int F77_DUMMY_MAIN() { return 1; }
31552 rm -f conftest.$ac_objext conftest$ac_exeext
31553 if { (eval echo "$as_me:31553: \"$ac_link\"") >&5
31554 (eval $ac_link) 2>&5
31556 echo "$as_me:31556: \$? = $ac_status" >&5
31557 (exit $ac_status); } &&
31558 { ac_try='test -s conftest$ac_exeext'
31559 { (eval echo "$as_me:31559: \"$ac_try\"") >&5
31560 (eval $ac_try) 2>&5
31562 echo "$as_me:31562: \$? = $ac_status" >&5
31563 (exit $ac_status); }; }; then
31564 eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
31566 echo "$as_me: failed program was:" >&5
31567 cat conftest.$ac_ext >&5
31569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31571 eval "ac_cv_funclib_getpwnam_r=\${ac_cv_funclib_getpwnam_r-no}"
31572 LIBS="$ac_save_LIBS"
31578 eval "ac_res=\$ac_cv_funclib_getpwnam_r"
31582 for ac_func in getpwnam_r
31584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31585 echo "$as_me:31585: checking for $ac_func" >&5
31586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31587 if eval "test \"\${$as_ac_var+set}\" = set"; then
31588 echo $ECHO_N "(cached) $ECHO_C" >&6
31590 cat >conftest.$ac_ext <<_ACEOF
31591 #line 31591 "configure"
31592 #include "confdefs.h"
31593 /* System header to define __stub macros and hopefully few prototypes,
31594 which can conflict with char $ac_func (); below. */
31595 #include <assert.h>
31596 /* Override any gcc2 internal prototype to avoid an error. */
31600 /* We use char because int might match the return type of a gcc2
31601 builtin and then its argument prototype would still apply. */
31605 #ifdef F77_DUMMY_MAIN
31606 # ifdef __cplusplus
31609 int F77_DUMMY_MAIN() { return 1; }
31614 /* The GNU C library defines this for functions which it implements
31615 to always fail with ENOSYS. Some functions are actually named
31616 something starting with __ and the normal name is an alias. */
31617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31627 rm -f conftest.$ac_objext conftest$ac_exeext
31628 if { (eval echo "$as_me:31628: \"$ac_link\"") >&5
31629 (eval $ac_link) 2>&5
31631 echo "$as_me:31631: \$? = $ac_status" >&5
31632 (exit $ac_status); } &&
31633 { ac_try='test -s conftest$ac_exeext'
31634 { (eval echo "$as_me:31634: \"$ac_try\"") >&5
31635 (eval $ac_try) 2>&5
31637 echo "$as_me:31637: \$? = $ac_status" >&5
31638 (exit $ac_status); }; }; then
31639 eval "$as_ac_var=yes"
31641 echo "$as_me: failed program was:" >&5
31642 cat conftest.$ac_ext >&5
31643 eval "$as_ac_var=no"
31645 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31647 echo "$as_me:31647: result: `eval echo '${'$as_ac_var'}'`" >&5
31648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31649 if test `eval echo '${'$as_ac_var'}'` = yes; then
31650 cat >>confdefs.h <<_ACEOF
31651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31659 eval "ac_tr_func=HAVE_`echo getpwnam_r | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
31660 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
31661 eval "LIB_getpwnam_r=$ac_res"
31665 eval "ac_cv_func_getpwnam_r=yes"
31666 eval "LIB_getpwnam_r="
31667 cat >>confdefs.h <<_ACEOF
31668 #define $ac_tr_func 1
31671 echo "$as_me:31671: result: yes" >&5
31672 echo "${ECHO_T}yes" >&6
31675 eval "ac_cv_func_getpwnam_r=no"
31676 eval "LIB_getpwnam_r="
31677 echo "$as_me:31677: result: no" >&5
31678 echo "${ECHO_T}no" >&6
31681 eval "ac_cv_func_getpwnam_r=yes"
31682 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
31683 cat >>confdefs.h <<_ACEOF
31684 #define $ac_tr_func 1
31687 cat >>confdefs.h <<_ACEOF
31688 #define $ac_tr_lib 1
31691 echo "$as_me:31691: result: yes, in $ac_res" >&5
31692 echo "${ECHO_T}yes, in $ac_res" >&6
31697 if test "$ac_cv_func_getpwnam_r" = yes; then
31698 echo "$as_me:31698: checking if getpwnam_r is posix" >&5
31699 echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
31700 if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
31701 echo $ECHO_N "(cached) $ECHO_C" >&6
31704 LIBS="$LIBS $LIB_getpwnam_r"
31705 if test "$cross_compiling" = yes; then
31708 cat >conftest.$ac_ext <<_ACEOF
31709 #line 31709 "configure"
31710 #include "confdefs.h"
31715 struct passwd pw, *pwd;
31716 return getpwnam_r("", &pw, NULL, 0, &pwd) < 0;
31720 rm -f conftest$ac_exeext
31721 if { (eval echo "$as_me:31721: \"$ac_link\"") >&5
31722 (eval $ac_link) 2>&5
31724 echo "$as_me:31724: \$? = $ac_status" >&5
31725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31726 { (eval echo "$as_me:31726: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31729 echo "$as_me:31729: \$? = $ac_status" >&5
31730 (exit $ac_status); }; }; then
31731 ac_cv_func_getpwnam_r_posix=yes
31733 echo "$as_me: program exited with status $ac_status" >&5
31734 echo "$as_me: failed program was:" >&5
31735 cat conftest.$ac_ext >&5
31736 ( exit $ac_status )
31737 ac_cv_func_getpwnam_r_posix=no
31739 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31743 echo "$as_me:31743: result: $ac_cv_func_getpwnam_r_posix" >&5
31744 echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
31745 if test "$ac_cv_func_getpwnam_r_posix" = yes; then
31747 cat >>confdefs.h <<\_ACEOF
31748 #define POSIX_GETPWNAM_R 1
31757 for ac_func in getudbnam setlim
31759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31760 echo "$as_me:31760: checking for $ac_func" >&5
31761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31762 if eval "test \"\${$as_ac_var+set}\" = set"; then
31763 echo $ECHO_N "(cached) $ECHO_C" >&6
31765 cat >conftest.$ac_ext <<_ACEOF
31766 #line 31766 "configure"
31767 #include "confdefs.h"
31768 /* System header to define __stub macros and hopefully few prototypes,
31769 which can conflict with char $ac_func (); below. */
31770 #include <assert.h>
31771 /* Override any gcc2 internal prototype to avoid an error. */
31775 /* We use char because int might match the return type of a gcc2
31776 builtin and then its argument prototype would still apply. */
31780 #ifdef F77_DUMMY_MAIN
31781 # ifdef __cplusplus
31784 int F77_DUMMY_MAIN() { return 1; }
31789 /* The GNU C library defines this for functions which it implements
31790 to always fail with ENOSYS. Some functions are actually named
31791 something starting with __ and the normal name is an alias. */
31792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31802 rm -f conftest.$ac_objext conftest$ac_exeext
31803 if { (eval echo "$as_me:31803: \"$ac_link\"") >&5
31804 (eval $ac_link) 2>&5
31806 echo "$as_me:31806: \$? = $ac_status" >&5
31807 (exit $ac_status); } &&
31808 { ac_try='test -s conftest$ac_exeext'
31809 { (eval echo "$as_me:31809: \"$ac_try\"") >&5
31810 (eval $ac_try) 2>&5
31812 echo "$as_me:31812: \$? = $ac_status" >&5
31813 (exit $ac_status); }; }; then
31814 eval "$as_ac_var=yes"
31816 echo "$as_me: failed program was:" >&5
31817 cat conftest.$ac_ext >&5
31818 eval "$as_ac_var=no"
31820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31822 echo "$as_me:31822: result: `eval echo '${'$as_ac_var'}'`" >&5
31823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31824 if test `eval echo '${'$as_ac_var'}'` = yes; then
31825 cat >>confdefs.h <<_ACEOF
31826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31837 echo "$as_me:31837: checking for ut_addr in struct utmp" >&5
31838 echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
31839 if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
31840 echo $ECHO_N "(cached) $ECHO_C" >&6
31843 cat >conftest.$ac_ext <<_ACEOF
31844 #line 31844 "configure"
31845 #include "confdefs.h"
31847 #ifdef F77_DUMMY_MAIN
31848 # ifdef __cplusplus
31851 int F77_DUMMY_MAIN() { return 1; }
31856 struct utmp x; x.ut_addr;
31861 rm -f conftest.$ac_objext
31862 if { (eval echo "$as_me:31862: \"$ac_compile\"") >&5
31863 (eval $ac_compile) 2>&5
31865 echo "$as_me:31865: \$? = $ac_status" >&5
31866 (exit $ac_status); } &&
31867 { ac_try='test -s conftest.$ac_objext'
31868 { (eval echo "$as_me:31868: \"$ac_try\"") >&5
31869 (eval $ac_try) 2>&5
31871 echo "$as_me:31871: \$? = $ac_status" >&5
31872 (exit $ac_status); }; }; then
31873 ac_cv_type_struct_utmp_ut_addr=yes
31875 echo "$as_me: failed program was:" >&5
31876 cat conftest.$ac_ext >&5
31877 ac_cv_type_struct_utmp_ut_addr=no
31879 rm -f conftest.$ac_objext conftest.$ac_ext
31881 echo "$as_me:31881: result: $ac_cv_type_struct_utmp_ut_addr" >&5
31882 echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
31883 if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
31886 cat >>confdefs.h <<\_ACEOF
31887 #define HAVE_STRUCT_UTMP_UT_ADDR 1
31896 echo "$as_me:31896: checking for ut_host in struct utmp" >&5
31897 echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
31898 if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
31899 echo $ECHO_N "(cached) $ECHO_C" >&6
31902 cat >conftest.$ac_ext <<_ACEOF
31903 #line 31903 "configure"
31904 #include "confdefs.h"
31906 #ifdef F77_DUMMY_MAIN
31907 # ifdef __cplusplus
31910 int F77_DUMMY_MAIN() { return 1; }
31915 struct utmp x; x.ut_host;
31920 rm -f conftest.$ac_objext
31921 if { (eval echo "$as_me:31921: \"$ac_compile\"") >&5
31922 (eval $ac_compile) 2>&5
31924 echo "$as_me:31924: \$? = $ac_status" >&5
31925 (exit $ac_status); } &&
31926 { ac_try='test -s conftest.$ac_objext'
31927 { (eval echo "$as_me:31927: \"$ac_try\"") >&5
31928 (eval $ac_try) 2>&5
31930 echo "$as_me:31930: \$? = $ac_status" >&5
31931 (exit $ac_status); }; }; then
31932 ac_cv_type_struct_utmp_ut_host=yes
31934 echo "$as_me: failed program was:" >&5
31935 cat conftest.$ac_ext >&5
31936 ac_cv_type_struct_utmp_ut_host=no
31938 rm -f conftest.$ac_objext conftest.$ac_ext
31940 echo "$as_me:31940: result: $ac_cv_type_struct_utmp_ut_host" >&5
31941 echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
31942 if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
31945 cat >>confdefs.h <<\_ACEOF
31946 #define HAVE_STRUCT_UTMP_UT_HOST 1
31955 echo "$as_me:31955: checking for ut_id in struct utmp" >&5
31956 echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
31957 if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
31958 echo $ECHO_N "(cached) $ECHO_C" >&6
31961 cat >conftest.$ac_ext <<_ACEOF
31962 #line 31962 "configure"
31963 #include "confdefs.h"
31965 #ifdef F77_DUMMY_MAIN
31966 # ifdef __cplusplus
31969 int F77_DUMMY_MAIN() { return 1; }
31974 struct utmp x; x.ut_id;
31979 rm -f conftest.$ac_objext
31980 if { (eval echo "$as_me:31980: \"$ac_compile\"") >&5
31981 (eval $ac_compile) 2>&5
31983 echo "$as_me:31983: \$? = $ac_status" >&5
31984 (exit $ac_status); } &&
31985 { ac_try='test -s conftest.$ac_objext'
31986 { (eval echo "$as_me:31986: \"$ac_try\"") >&5
31987 (eval $ac_try) 2>&5
31989 echo "$as_me:31989: \$? = $ac_status" >&5
31990 (exit $ac_status); }; }; then
31991 ac_cv_type_struct_utmp_ut_id=yes
31993 echo "$as_me: failed program was:" >&5
31994 cat conftest.$ac_ext >&5
31995 ac_cv_type_struct_utmp_ut_id=no
31997 rm -f conftest.$ac_objext conftest.$ac_ext
31999 echo "$as_me:31999: result: $ac_cv_type_struct_utmp_ut_id" >&5
32000 echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
32001 if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
32004 cat >>confdefs.h <<\_ACEOF
32005 #define HAVE_STRUCT_UTMP_UT_ID 1
32014 echo "$as_me:32014: checking for ut_pid in struct utmp" >&5
32015 echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
32016 if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
32017 echo $ECHO_N "(cached) $ECHO_C" >&6
32020 cat >conftest.$ac_ext <<_ACEOF
32021 #line 32021 "configure"
32022 #include "confdefs.h"
32024 #ifdef F77_DUMMY_MAIN
32025 # ifdef __cplusplus
32028 int F77_DUMMY_MAIN() { return 1; }
32033 struct utmp x; x.ut_pid;
32038 rm -f conftest.$ac_objext
32039 if { (eval echo "$as_me:32039: \"$ac_compile\"") >&5
32040 (eval $ac_compile) 2>&5
32042 echo "$as_me:32042: \$? = $ac_status" >&5
32043 (exit $ac_status); } &&
32044 { ac_try='test -s conftest.$ac_objext'
32045 { (eval echo "$as_me:32045: \"$ac_try\"") >&5
32046 (eval $ac_try) 2>&5
32048 echo "$as_me:32048: \$? = $ac_status" >&5
32049 (exit $ac_status); }; }; then
32050 ac_cv_type_struct_utmp_ut_pid=yes
32052 echo "$as_me: failed program was:" >&5
32053 cat conftest.$ac_ext >&5
32054 ac_cv_type_struct_utmp_ut_pid=no
32056 rm -f conftest.$ac_objext conftest.$ac_ext
32058 echo "$as_me:32058: result: $ac_cv_type_struct_utmp_ut_pid" >&5
32059 echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
32060 if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
32063 cat >>confdefs.h <<\_ACEOF
32064 #define HAVE_STRUCT_UTMP_UT_PID 1
32073 echo "$as_me:32073: checking for ut_type in struct utmp" >&5
32074 echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
32075 if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
32076 echo $ECHO_N "(cached) $ECHO_C" >&6
32079 cat >conftest.$ac_ext <<_ACEOF
32080 #line 32080 "configure"
32081 #include "confdefs.h"
32083 #ifdef F77_DUMMY_MAIN
32084 # ifdef __cplusplus
32087 int F77_DUMMY_MAIN() { return 1; }
32092 struct utmp x; x.ut_type;
32097 rm -f conftest.$ac_objext
32098 if { (eval echo "$as_me:32098: \"$ac_compile\"") >&5
32099 (eval $ac_compile) 2>&5
32101 echo "$as_me:32101: \$? = $ac_status" >&5
32102 (exit $ac_status); } &&
32103 { ac_try='test -s conftest.$ac_objext'
32104 { (eval echo "$as_me:32104: \"$ac_try\"") >&5
32105 (eval $ac_try) 2>&5
32107 echo "$as_me:32107: \$? = $ac_status" >&5
32108 (exit $ac_status); }; }; then
32109 ac_cv_type_struct_utmp_ut_type=yes
32111 echo "$as_me: failed program was:" >&5
32112 cat conftest.$ac_ext >&5
32113 ac_cv_type_struct_utmp_ut_type=no
32115 rm -f conftest.$ac_objext conftest.$ac_ext
32117 echo "$as_me:32117: result: $ac_cv_type_struct_utmp_ut_type" >&5
32118 echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
32119 if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
32122 cat >>confdefs.h <<\_ACEOF
32123 #define HAVE_STRUCT_UTMP_UT_TYPE 1
32132 echo "$as_me:32132: checking for ut_user in struct utmp" >&5
32133 echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
32134 if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
32135 echo $ECHO_N "(cached) $ECHO_C" >&6
32138 cat >conftest.$ac_ext <<_ACEOF
32139 #line 32139 "configure"
32140 #include "confdefs.h"
32142 #ifdef F77_DUMMY_MAIN
32143 # ifdef __cplusplus
32146 int F77_DUMMY_MAIN() { return 1; }
32151 struct utmp x; x.ut_user;
32156 rm -f conftest.$ac_objext
32157 if { (eval echo "$as_me:32157: \"$ac_compile\"") >&5
32158 (eval $ac_compile) 2>&5
32160 echo "$as_me:32160: \$? = $ac_status" >&5
32161 (exit $ac_status); } &&
32162 { ac_try='test -s conftest.$ac_objext'
32163 { (eval echo "$as_me:32163: \"$ac_try\"") >&5
32164 (eval $ac_try) 2>&5
32166 echo "$as_me:32166: \$? = $ac_status" >&5
32167 (exit $ac_status); }; }; then
32168 ac_cv_type_struct_utmp_ut_user=yes
32170 echo "$as_me: failed program was:" >&5
32171 cat conftest.$ac_ext >&5
32172 ac_cv_type_struct_utmp_ut_user=no
32174 rm -f conftest.$ac_objext conftest.$ac_ext
32176 echo "$as_me:32176: result: $ac_cv_type_struct_utmp_ut_user" >&5
32177 echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
32178 if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
32181 cat >>confdefs.h <<\_ACEOF
32182 #define HAVE_STRUCT_UTMP_UT_USER 1
32191 echo "$as_me:32191: checking for ut_exit in struct utmpx" >&5
32192 echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
32193 if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
32194 echo $ECHO_N "(cached) $ECHO_C" >&6
32197 cat >conftest.$ac_ext <<_ACEOF
32198 #line 32198 "configure"
32199 #include "confdefs.h"
32201 #ifdef F77_DUMMY_MAIN
32202 # ifdef __cplusplus
32205 int F77_DUMMY_MAIN() { return 1; }
32210 struct utmpx x; x.ut_exit;
32215 rm -f conftest.$ac_objext
32216 if { (eval echo "$as_me:32216: \"$ac_compile\"") >&5
32217 (eval $ac_compile) 2>&5
32219 echo "$as_me:32219: \$? = $ac_status" >&5
32220 (exit $ac_status); } &&
32221 { ac_try='test -s conftest.$ac_objext'
32222 { (eval echo "$as_me:32222: \"$ac_try\"") >&5
32223 (eval $ac_try) 2>&5
32225 echo "$as_me:32225: \$? = $ac_status" >&5
32226 (exit $ac_status); }; }; then
32227 ac_cv_type_struct_utmpx_ut_exit=yes
32229 echo "$as_me: failed program was:" >&5
32230 cat conftest.$ac_ext >&5
32231 ac_cv_type_struct_utmpx_ut_exit=no
32233 rm -f conftest.$ac_objext conftest.$ac_ext
32235 echo "$as_me:32235: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
32236 echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
32237 if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
32240 cat >>confdefs.h <<\_ACEOF
32241 #define HAVE_STRUCT_UTMPX_UT_EXIT 1
32250 echo "$as_me:32250: checking for ut_syslen in struct utmpx" >&5
32251 echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
32252 if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
32253 echo $ECHO_N "(cached) $ECHO_C" >&6
32256 cat >conftest.$ac_ext <<_ACEOF
32257 #line 32257 "configure"
32258 #include "confdefs.h"
32260 #ifdef F77_DUMMY_MAIN
32261 # ifdef __cplusplus
32264 int F77_DUMMY_MAIN() { return 1; }
32269 struct utmpx x; x.ut_syslen;
32274 rm -f conftest.$ac_objext
32275 if { (eval echo "$as_me:32275: \"$ac_compile\"") >&5
32276 (eval $ac_compile) 2>&5
32278 echo "$as_me:32278: \$? = $ac_status" >&5
32279 (exit $ac_status); } &&
32280 { ac_try='test -s conftest.$ac_objext'
32281 { (eval echo "$as_me:32281: \"$ac_try\"") >&5
32282 (eval $ac_try) 2>&5
32284 echo "$as_me:32284: \$? = $ac_status" >&5
32285 (exit $ac_status); }; }; then
32286 ac_cv_type_struct_utmpx_ut_syslen=yes
32288 echo "$as_me: failed program was:" >&5
32289 cat conftest.$ac_ext >&5
32290 ac_cv_type_struct_utmpx_ut_syslen=no
32292 rm -f conftest.$ac_objext conftest.$ac_ext
32294 echo "$as_me:32294: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
32295 echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
32296 if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
32299 cat >>confdefs.h <<\_ACEOF
32300 #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
32308 echo "$as_me:32308: checking for int8_t" >&5
32309 echo $ECHO_N "checking for int8_t... $ECHO_C" >&6
32310 if test "${ac_cv_type_int8_t+set}" = set; then
32311 echo $ECHO_N "(cached) $ECHO_C" >&6
32313 cat >conftest.$ac_ext <<_ACEOF
32314 #line 32314 "configure"
32315 #include "confdefs.h"
32317 #ifdef HAVE_INTTYPES_H
32318 #include <inttypes.h>
32320 #ifdef HAVE_SYS_TYPES_H
32321 #include <sys/types.h>
32323 #ifdef HAVE_SYS_BITYPES_H
32324 #include <sys/bitypes.h>
32326 #ifdef HAVE_BIND_BITYPES_H
32327 #include <bind/bitypes.h>
32329 #ifdef HAVE_NETINET_IN6_MACHTYPES_H
32330 #include <netinet/in6_machtypes.h>
32334 #ifdef F77_DUMMY_MAIN
32335 # ifdef __cplusplus
32338 int F77_DUMMY_MAIN() { return 1; }
32345 if (sizeof (int8_t))
32351 rm -f conftest.$ac_objext
32352 if { (eval echo "$as_me:32352: \"$ac_compile\"") >&5
32353 (eval $ac_compile) 2>&5
32355 echo "$as_me:32355: \$? = $ac_status" >&5
32356 (exit $ac_status); } &&
32357 { ac_try='test -s conftest.$ac_objext'
32358 { (eval echo "$as_me:32358: \"$ac_try\"") >&5
32359 (eval $ac_try) 2>&5
32361 echo "$as_me:32361: \$? = $ac_status" >&5
32362 (exit $ac_status); }; }; then
32363 ac_cv_type_int8_t=yes
32365 echo "$as_me: failed program was:" >&5
32366 cat conftest.$ac_ext >&5
32367 ac_cv_type_int8_t=no
32369 rm -f conftest.$ac_objext conftest.$ac_ext
32371 echo "$as_me:32371: result: $ac_cv_type_int8_t" >&5
32372 echo "${ECHO_T}$ac_cv_type_int8_t" >&6
32373 if test $ac_cv_type_int8_t = yes; then
32375 cat >>confdefs.h <<_ACEOF
32376 #define HAVE_INT8_T 1
32381 echo "$as_me:32381: checking for int16_t" >&5
32382 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
32383 if test "${ac_cv_type_int16_t+set}" = set; then
32384 echo $ECHO_N "(cached) $ECHO_C" >&6
32386 cat >conftest.$ac_ext <<_ACEOF
32387 #line 32387 "configure"
32388 #include "confdefs.h"
32390 #ifdef HAVE_INTTYPES_H
32391 #include <inttypes.h>
32393 #ifdef HAVE_SYS_TYPES_H
32394 #include <sys/types.h>
32396 #ifdef HAVE_SYS_BITYPES_H
32397 #include <sys/bitypes.h>
32399 #ifdef HAVE_BIND_BITYPES_H
32400 #include <bind/bitypes.h>
32402 #ifdef HAVE_NETINET_IN6_MACHTYPES_H
32403 #include <netinet/in6_machtypes.h>
32407 #ifdef F77_DUMMY_MAIN
32408 # ifdef __cplusplus
32411 int F77_DUMMY_MAIN() { return 1; }
32418 if (sizeof (int16_t))
32424 rm -f conftest.$ac_objext
32425 if { (eval echo "$as_me:32425: \"$ac_compile\"") >&5
32426 (eval $ac_compile) 2>&5
32428 echo "$as_me:32428: \$? = $ac_status" >&5
32429 (exit $ac_status); } &&
32430 { ac_try='test -s conftest.$ac_objext'
32431 { (eval echo "$as_me:32431: \"$ac_try\"") >&5
32432 (eval $ac_try) 2>&5
32434 echo "$as_me:32434: \$? = $ac_status" >&5
32435 (exit $ac_status); }; }; then
32436 ac_cv_type_int16_t=yes
32438 echo "$as_me: failed program was:" >&5
32439 cat conftest.$ac_ext >&5
32440 ac_cv_type_int16_t=no
32442 rm -f conftest.$ac_objext conftest.$ac_ext
32444 echo "$as_me:32444: result: $ac_cv_type_int16_t" >&5
32445 echo "${ECHO_T}$ac_cv_type_int16_t" >&6
32446 if test $ac_cv_type_int16_t = yes; then
32448 cat >>confdefs.h <<_ACEOF
32449 #define HAVE_INT16_T 1
32454 echo "$as_me:32454: checking for int32_t" >&5
32455 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
32456 if test "${ac_cv_type_int32_t+set}" = set; then
32457 echo $ECHO_N "(cached) $ECHO_C" >&6
32459 cat >conftest.$ac_ext <<_ACEOF
32460 #line 32460 "configure"
32461 #include "confdefs.h"
32463 #ifdef HAVE_INTTYPES_H
32464 #include <inttypes.h>
32466 #ifdef HAVE_SYS_TYPES_H
32467 #include <sys/types.h>
32469 #ifdef HAVE_SYS_BITYPES_H
32470 #include <sys/bitypes.h>
32472 #ifdef HAVE_BIND_BITYPES_H
32473 #include <bind/bitypes.h>
32475 #ifdef HAVE_NETINET_IN6_MACHTYPES_H
32476 #include <netinet/in6_machtypes.h>
32480 #ifdef F77_DUMMY_MAIN
32481 # ifdef __cplusplus
32484 int F77_DUMMY_MAIN() { return 1; }
32491 if (sizeof (int32_t))
32497 rm -f conftest.$ac_objext
32498 if { (eval echo "$as_me:32498: \"$ac_compile\"") >&5
32499 (eval $ac_compile) 2>&5
32501 echo "$as_me:32501: \$? = $ac_status" >&5
32502 (exit $ac_status); } &&
32503 { ac_try='test -s conftest.$ac_objext'
32504 { (eval echo "$as_me:32504: \"$ac_try\"") >&5
32505 (eval $ac_try) 2>&5
32507 echo "$as_me:32507: \$? = $ac_status" >&5
32508 (exit $ac_status); }; }; then
32509 ac_cv_type_int32_t=yes
32511 echo "$as_me: failed program was:" >&5
32512 cat conftest.$ac_ext >&5
32513 ac_cv_type_int32_t=no
32515 rm -f conftest.$ac_objext conftest.$ac_ext
32517 echo "$as_me:32517: result: $ac_cv_type_int32_t" >&5
32518 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
32519 if test $ac_cv_type_int32_t = yes; then
32521 cat >>confdefs.h <<_ACEOF
32522 #define HAVE_INT32_T 1
32527 echo "$as_me:32527: checking for int64_t" >&5
32528 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
32529 if test "${ac_cv_type_int64_t+set}" = set; then
32530 echo $ECHO_N "(cached) $ECHO_C" >&6
32532 cat >conftest.$ac_ext <<_ACEOF
32533 #line 32533 "configure"
32534 #include "confdefs.h"
32536 #ifdef HAVE_INTTYPES_H
32537 #include <inttypes.h>
32539 #ifdef HAVE_SYS_TYPES_H
32540 #include <sys/types.h>
32542 #ifdef HAVE_SYS_BITYPES_H
32543 #include <sys/bitypes.h>
32545 #ifdef HAVE_BIND_BITYPES_H
32546 #include <bind/bitypes.h>
32548 #ifdef HAVE_NETINET_IN6_MACHTYPES_H
32549 #include <netinet/in6_machtypes.h>
32553 #ifdef F77_DUMMY_MAIN
32554 # ifdef __cplusplus
32557 int F77_DUMMY_MAIN() { return 1; }
32564 if (sizeof (int64_t))
32570 rm -f conftest.$ac_objext
32571 if { (eval echo "$as_me:32571: \"$ac_compile\"") >&5
32572 (eval $ac_compile) 2>&5
32574 echo "$as_me:32574: \$? = $ac_status" >&5
32575 (exit $ac_status); } &&
32576 { ac_try='test -s conftest.$ac_objext'
32577 { (eval echo "$as_me:32577: \"$ac_try\"") >&5
32578 (eval $ac_try) 2>&5
32580 echo "$as_me:32580: \$? = $ac_status" >&5
32581 (exit $ac_status); }; }; then
32582 ac_cv_type_int64_t=yes
32584 echo "$as_me: failed program was:" >&5
32585 cat conftest.$ac_ext >&5
32586 ac_cv_type_int64_t=no
32588 rm -f conftest.$ac_objext conftest.$ac_ext
32590 echo "$as_me:32590: result: $ac_cv_type_int64_t" >&5
32591 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
32592 if test $ac_cv_type_int64_t = yes; then
32594 cat >>confdefs.h <<_ACEOF
32595 #define HAVE_INT64_T 1
32600 echo "$as_me:32600: checking for u_int8_t" >&5
32601 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
32602 if test "${ac_cv_type_u_int8_t+set}" = set; then
32603 echo $ECHO_N "(cached) $ECHO_C" >&6
32605 cat >conftest.$ac_ext <<_ACEOF
32606 #line 32606 "configure"
32607 #include "confdefs.h"
32609 #ifdef HAVE_INTTYPES_H
32610 #include <inttypes.h>
32612 #ifdef HAVE_SYS_TYPES_H
32613 #include <sys/types.h>
32615 #ifdef HAVE_SYS_BITYPES_H
32616 #include <sys/bitypes.h>
32618 #ifdef HAVE_BIND_BITYPES_H
32619 #include <bind/bitypes.h>
32621 #ifdef HAVE_NETINET_IN6_MACHTYPES_H
32622 #include <netinet/in6_machtypes.h>
32626 #ifdef F77_DUMMY_MAIN
32627 # ifdef __cplusplus
32630 int F77_DUMMY_MAIN() { return 1; }
32635 if ((u_int8_t *) 0)
32637 if (sizeof (u_int8_t))
32643 rm -f conftest.$ac_objext
32644 if { (eval echo "$as_me:32644: \"$ac_compile\"") >&5
32645 (eval $ac_compile) 2>&5
32647 echo "$as_me:32647: \$? = $ac_status" >&5
32648 (exit $ac_status); } &&
32649 { ac_try='test -s conftest.$ac_objext'
32650 { (eval echo "$as_me:32650: \"$ac_try\"") >&5
32651 (eval $ac_try) 2>&5
32653 echo "$as_me:32653: \$? = $ac_status" >&5
32654 (exit $ac_status); }; }; then
32655 ac_cv_type_u_int8_t=yes
32657 echo "$as_me: failed program was:" >&5
32658 cat conftest.$ac_ext >&5
32659 ac_cv_type_u_int8_t=no
32661 rm -f conftest.$ac_objext conftest.$ac_ext
32663 echo "$as_me:32663: result: $ac_cv_type_u_int8_t" >&5
32664 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
32665 if test $ac_cv_type_u_int8_t = yes; then
32667 cat >>confdefs.h <<_ACEOF
32668 #define HAVE_U_INT8_T 1
32673 echo "$as_me:32673: checking for u_int16_t" >&5
32674 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
32675 if test "${ac_cv_type_u_int16_t+set}" = set; then
32676 echo $ECHO_N "(cached) $ECHO_C" >&6
32678 cat >conftest.$ac_ext <<_ACEOF
32679 #line 32679 "configure"
32680 #include "confdefs.h"
32682 #ifdef HAVE_INTTYPES_H
32683 #include <inttypes.h>
32685 #ifdef HAVE_SYS_TYPES_H
32686 #include <sys/types.h>
32688 #ifdef HAVE_SYS_BITYPES_H
32689 #include <sys/bitypes.h>
32691 #ifdef HAVE_BIND_BITYPES_H
32692 #include <bind/bitypes.h>
32694 #ifdef HAVE_NETINET_IN6_MACHTYPES_H
32695 #include <netinet/in6_machtypes.h>
32699 #ifdef F77_DUMMY_MAIN
32700 # ifdef __cplusplus
32703 int F77_DUMMY_MAIN() { return 1; }
32708 if ((u_int16_t *) 0)
32710 if (sizeof (u_int16_t))
32716 rm -f conftest.$ac_objext
32717 if { (eval echo "$as_me:32717: \"$ac_compile\"") >&5
32718 (eval $ac_compile) 2>&5
32720 echo "$as_me:32720: \$? = $ac_status" >&5
32721 (exit $ac_status); } &&
32722 { ac_try='test -s conftest.$ac_objext'
32723 { (eval echo "$as_me:32723: \"$ac_try\"") >&5
32724 (eval $ac_try) 2>&5
32726 echo "$as_me:32726: \$? = $ac_status" >&5
32727 (exit $ac_status); }; }; then
32728 ac_cv_type_u_int16_t=yes
32730 echo "$as_me: failed program was:" >&5
32731 cat conftest.$ac_ext >&5
32732 ac_cv_type_u_int16_t=no
32734 rm -f conftest.$ac_objext conftest.$ac_ext
32736 echo "$as_me:32736: result: $ac_cv_type_u_int16_t" >&5
32737 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
32738 if test $ac_cv_type_u_int16_t = yes; then
32740 cat >>confdefs.h <<_ACEOF
32741 #define HAVE_U_INT16_T 1
32746 echo "$as_me:32746: checking for u_int32_t" >&5
32747 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
32748 if test "${ac_cv_type_u_int32_t+set}" = set; then
32749 echo $ECHO_N "(cached) $ECHO_C" >&6
32751 cat >conftest.$ac_ext <<_ACEOF
32752 #line 32752 "configure"
32753 #include "confdefs.h"
32755 #ifdef HAVE_INTTYPES_H
32756 #include <inttypes.h>
32758 #ifdef HAVE_SYS_TYPES_H
32759 #include <sys/types.h>
32761 #ifdef HAVE_SYS_BITYPES_H
32762 #include <sys/bitypes.h>
32764 #ifdef HAVE_BIND_BITYPES_H
32765 #include <bind/bitypes.h>
32767 #ifdef HAVE_NETINET_IN6_MACHTYPES_H
32768 #include <netinet/in6_machtypes.h>
32772 #ifdef F77_DUMMY_MAIN
32773 # ifdef __cplusplus
32776 int F77_DUMMY_MAIN() { return 1; }
32781 if ((u_int32_t *) 0)
32783 if (sizeof (u_int32_t))
32789 rm -f conftest.$ac_objext
32790 if { (eval echo "$as_me:32790: \"$ac_compile\"") >&5
32791 (eval $ac_compile) 2>&5
32793 echo "$as_me:32793: \$? = $ac_status" >&5
32794 (exit $ac_status); } &&
32795 { ac_try='test -s conftest.$ac_objext'
32796 { (eval echo "$as_me:32796: \"$ac_try\"") >&5
32797 (eval $ac_try) 2>&5
32799 echo "$as_me:32799: \$? = $ac_status" >&5
32800 (exit $ac_status); }; }; then
32801 ac_cv_type_u_int32_t=yes
32803 echo "$as_me: failed program was:" >&5
32804 cat conftest.$ac_ext >&5
32805 ac_cv_type_u_int32_t=no
32807 rm -f conftest.$ac_objext conftest.$ac_ext
32809 echo "$as_me:32809: result: $ac_cv_type_u_int32_t" >&5
32810 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
32811 if test $ac_cv_type_u_int32_t = yes; then
32813 cat >>confdefs.h <<_ACEOF
32814 #define HAVE_U_INT32_T 1
32819 echo "$as_me:32819: checking for u_int64_t" >&5
32820 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
32821 if test "${ac_cv_type_u_int64_t+set}" = set; then
32822 echo $ECHO_N "(cached) $ECHO_C" >&6
32824 cat >conftest.$ac_ext <<_ACEOF
32825 #line 32825 "configure"
32826 #include "confdefs.h"
32828 #ifdef HAVE_INTTYPES_H
32829 #include <inttypes.h>
32831 #ifdef HAVE_SYS_TYPES_H
32832 #include <sys/types.h>
32834 #ifdef HAVE_SYS_BITYPES_H
32835 #include <sys/bitypes.h>
32837 #ifdef HAVE_BIND_BITYPES_H
32838 #include <bind/bitypes.h>
32840 #ifdef HAVE_NETINET_IN6_MACHTYPES_H
32841 #include <netinet/in6_machtypes.h>
32845 #ifdef F77_DUMMY_MAIN
32846 # ifdef __cplusplus
32849 int F77_DUMMY_MAIN() { return 1; }
32854 if ((u_int64_t *) 0)
32856 if (sizeof (u_int64_t))
32862 rm -f conftest.$ac_objext
32863 if { (eval echo "$as_me:32863: \"$ac_compile\"") >&5
32864 (eval $ac_compile) 2>&5
32866 echo "$as_me:32866: \$? = $ac_status" >&5
32867 (exit $ac_status); } &&
32868 { ac_try='test -s conftest.$ac_objext'
32869 { (eval echo "$as_me:32869: \"$ac_try\"") >&5
32870 (eval $ac_try) 2>&5
32872 echo "$as_me:32872: \$? = $ac_status" >&5
32873 (exit $ac_status); }; }; then
32874 ac_cv_type_u_int64_t=yes
32876 echo "$as_me: failed program was:" >&5
32877 cat conftest.$ac_ext >&5
32878 ac_cv_type_u_int64_t=no
32880 rm -f conftest.$ac_objext conftest.$ac_ext
32882 echo "$as_me:32882: result: $ac_cv_type_u_int64_t" >&5
32883 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
32884 if test $ac_cv_type_u_int64_t = yes; then
32886 cat >>confdefs.h <<_ACEOF
32887 #define HAVE_U_INT64_T 1
32892 echo "$as_me:32892: checking for uint8_t" >&5
32893 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
32894 if test "${ac_cv_type_uint8_t+set}" = set; then
32895 echo $ECHO_N "(cached) $ECHO_C" >&6
32897 cat >conftest.$ac_ext <<_ACEOF
32898 #line 32898 "configure"
32899 #include "confdefs.h"
32901 #ifdef HAVE_INTTYPES_H
32902 #include <inttypes.h>
32904 #ifdef HAVE_SYS_TYPES_H
32905 #include <sys/types.h>
32907 #ifdef HAVE_SYS_BITYPES_H
32908 #include <sys/bitypes.h>
32910 #ifdef HAVE_BIND_BITYPES_H
32911 #include <bind/bitypes.h>
32913 #ifdef HAVE_NETINET_IN6_MACHTYPES_H
32914 #include <netinet/in6_machtypes.h>
32918 #ifdef F77_DUMMY_MAIN
32919 # ifdef __cplusplus
32922 int F77_DUMMY_MAIN() { return 1; }
32929 if (sizeof (uint8_t))
32935 rm -f conftest.$ac_objext
32936 if { (eval echo "$as_me:32936: \"$ac_compile\"") >&5
32937 (eval $ac_compile) 2>&5
32939 echo "$as_me:32939: \$? = $ac_status" >&5
32940 (exit $ac_status); } &&
32941 { ac_try='test -s conftest.$ac_objext'
32942 { (eval echo "$as_me:32942: \"$ac_try\"") >&5
32943 (eval $ac_try) 2>&5
32945 echo "$as_me:32945: \$? = $ac_status" >&5
32946 (exit $ac_status); }; }; then
32947 ac_cv_type_uint8_t=yes
32949 echo "$as_me: failed program was:" >&5
32950 cat conftest.$ac_ext >&5
32951 ac_cv_type_uint8_t=no
32953 rm -f conftest.$ac_objext conftest.$ac_ext
32955 echo "$as_me:32955: result: $ac_cv_type_uint8_t" >&5
32956 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
32957 if test $ac_cv_type_uint8_t = yes; then
32959 cat >>confdefs.h <<_ACEOF
32960 #define HAVE_UINT8_T 1
32965 echo "$as_me:32965: checking for uint16_t" >&5
32966 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
32967 if test "${ac_cv_type_uint16_t+set}" = set; then
32968 echo $ECHO_N "(cached) $ECHO_C" >&6
32970 cat >conftest.$ac_ext <<_ACEOF
32971 #line 32971 "configure"
32972 #include "confdefs.h"
32974 #ifdef HAVE_INTTYPES_H
32975 #include <inttypes.h>
32977 #ifdef HAVE_SYS_TYPES_H
32978 #include <sys/types.h>
32980 #ifdef HAVE_SYS_BITYPES_H
32981 #include <sys/bitypes.h>
32983 #ifdef HAVE_BIND_BITYPES_H
32984 #include <bind/bitypes.h>
32986 #ifdef HAVE_NETINET_IN6_MACHTYPES_H
32987 #include <netinet/in6_machtypes.h>
32991 #ifdef F77_DUMMY_MAIN
32992 # ifdef __cplusplus
32995 int F77_DUMMY_MAIN() { return 1; }
33000 if ((uint16_t *) 0)
33002 if (sizeof (uint16_t))
33008 rm -f conftest.$ac_objext
33009 if { (eval echo "$as_me:33009: \"$ac_compile\"") >&5
33010 (eval $ac_compile) 2>&5
33012 echo "$as_me:33012: \$? = $ac_status" >&5
33013 (exit $ac_status); } &&
33014 { ac_try='test -s conftest.$ac_objext'
33015 { (eval echo "$as_me:33015: \"$ac_try\"") >&5
33016 (eval $ac_try) 2>&5
33018 echo "$as_me:33018: \$? = $ac_status" >&5
33019 (exit $ac_status); }; }; then
33020 ac_cv_type_uint16_t=yes
33022 echo "$as_me: failed program was:" >&5
33023 cat conftest.$ac_ext >&5
33024 ac_cv_type_uint16_t=no
33026 rm -f conftest.$ac_objext conftest.$ac_ext
33028 echo "$as_me:33028: result: $ac_cv_type_uint16_t" >&5
33029 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
33030 if test $ac_cv_type_uint16_t = yes; then
33032 cat >>confdefs.h <<_ACEOF
33033 #define HAVE_UINT16_T 1
33038 echo "$as_me:33038: checking for uint32_t" >&5
33039 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
33040 if test "${ac_cv_type_uint32_t+set}" = set; then
33041 echo $ECHO_N "(cached) $ECHO_C" >&6
33043 cat >conftest.$ac_ext <<_ACEOF
33044 #line 33044 "configure"
33045 #include "confdefs.h"
33047 #ifdef HAVE_INTTYPES_H
33048 #include <inttypes.h>
33050 #ifdef HAVE_SYS_TYPES_H
33051 #include <sys/types.h>
33053 #ifdef HAVE_SYS_BITYPES_H
33054 #include <sys/bitypes.h>
33056 #ifdef HAVE_BIND_BITYPES_H
33057 #include <bind/bitypes.h>
33059 #ifdef HAVE_NETINET_IN6_MACHTYPES_H
33060 #include <netinet/in6_machtypes.h>
33064 #ifdef F77_DUMMY_MAIN
33065 # ifdef __cplusplus
33068 int F77_DUMMY_MAIN() { return 1; }
33073 if ((uint32_t *) 0)
33075 if (sizeof (uint32_t))
33081 rm -f conftest.$ac_objext
33082 if { (eval echo "$as_me:33082: \"$ac_compile\"") >&5
33083 (eval $ac_compile) 2>&5
33085 echo "$as_me:33085: \$? = $ac_status" >&5
33086 (exit $ac_status); } &&
33087 { ac_try='test -s conftest.$ac_objext'
33088 { (eval echo "$as_me:33088: \"$ac_try\"") >&5
33089 (eval $ac_try) 2>&5
33091 echo "$as_me:33091: \$? = $ac_status" >&5
33092 (exit $ac_status); }; }; then
33093 ac_cv_type_uint32_t=yes
33095 echo "$as_me: failed program was:" >&5
33096 cat conftest.$ac_ext >&5
33097 ac_cv_type_uint32_t=no
33099 rm -f conftest.$ac_objext conftest.$ac_ext
33101 echo "$as_me:33101: result: $ac_cv_type_uint32_t" >&5
33102 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
33103 if test $ac_cv_type_uint32_t = yes; then
33105 cat >>confdefs.h <<_ACEOF
33106 #define HAVE_UINT32_T 1
33111 echo "$as_me:33111: checking for uint64_t" >&5
33112 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
33113 if test "${ac_cv_type_uint64_t+set}" = set; then
33114 echo $ECHO_N "(cached) $ECHO_C" >&6
33116 cat >conftest.$ac_ext <<_ACEOF
33117 #line 33117 "configure"
33118 #include "confdefs.h"
33120 #ifdef HAVE_INTTYPES_H
33121 #include <inttypes.h>
33123 #ifdef HAVE_SYS_TYPES_H
33124 #include <sys/types.h>
33126 #ifdef HAVE_SYS_BITYPES_H
33127 #include <sys/bitypes.h>
33129 #ifdef HAVE_BIND_BITYPES_H
33130 #include <bind/bitypes.h>
33132 #ifdef HAVE_NETINET_IN6_MACHTYPES_H
33133 #include <netinet/in6_machtypes.h>
33137 #ifdef F77_DUMMY_MAIN
33138 # ifdef __cplusplus
33141 int F77_DUMMY_MAIN() { return 1; }
33146 if ((uint64_t *) 0)
33148 if (sizeof (uint64_t))
33154 rm -f conftest.$ac_objext
33155 if { (eval echo "$as_me:33155: \"$ac_compile\"") >&5
33156 (eval $ac_compile) 2>&5
33158 echo "$as_me:33158: \$? = $ac_status" >&5
33159 (exit $ac_status); } &&
33160 { ac_try='test -s conftest.$ac_objext'
33161 { (eval echo "$as_me:33161: \"$ac_try\"") >&5
33162 (eval $ac_try) 2>&5
33164 echo "$as_me:33164: \$? = $ac_status" >&5
33165 (exit $ac_status); }; }; then
33166 ac_cv_type_uint64_t=yes
33168 echo "$as_me: failed program was:" >&5
33169 cat conftest.$ac_ext >&5
33170 ac_cv_type_uint64_t=no
33172 rm -f conftest.$ac_objext conftest.$ac_ext
33174 echo "$as_me:33174: result: $ac_cv_type_uint64_t" >&5
33175 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
33176 if test $ac_cv_type_uint64_t = yes; then
33178 cat >>confdefs.h <<_ACEOF
33179 #define HAVE_UINT64_T 1
33190 # Check whether --with-openssl or --without-openssl was given.
33191 if test "${with_openssl+set}" = set; then
33192 withval="$with_openssl"
33197 # Check whether --with-openssl-lib or --without-openssl-lib was given.
33198 if test "${with_openssl_lib+set}" = set; then
33199 withval="$with_openssl_lib"
33200 if test "$withval" = "yes" -o "$withval" = "no"; then
33201 { { echo "$as_me:33201: error: No argument for --with-openssl-lib" >&5
33202 echo "$as_me: error: No argument for --with-openssl-lib" >&2;}
33203 { (exit 1); exit 1; }; }
33204 elif test "X$with_openssl" = "X"; then
33210 # Check whether --with-openssl-include or --without-openssl-include was given.
33211 if test "${with_openssl_include+set}" = set; then
33212 withval="$with_openssl_include"
33213 if test "$withval" = "yes" -o "$withval" = "no"; then
33214 { { echo "$as_me:33214: error: No argument for --with-openssl-include" >&5
33215 echo "$as_me: error: No argument for --with-openssl-include" >&2;}
33216 { (exit 1); exit 1; }; }
33217 elif test "X$with_openssl" = "X"; then
33222 case "$with_openssl" in
33226 *) if test "$with_openssl_include" = ""; then
33227 with_openssl_include="$with_openssl/include"
33229 if test "$with_openssl_lib" = ""; then
33230 with_openssl_lib="$with_openssl/lib$abilibdirext"
33238 echo "$as_me:33238: checking for crypto library" >&5
33239 echo $ECHO_N "checking for crypto library... $ECHO_C" >&6
33242 if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
33244 save_CPPFLAGS="$CPPFLAGS"
33248 if test "$with_openssl_include" != ""; then
33249 INCLUDE_des="-I${with_openssl}/include"
33251 if test "$with_openssl_lib" != ""; then
33252 LIB_des="-L${with_openssl}/lib"
33254 CPPFLAGS="${INCLUDE_des} ${CPPFLAGS}"
33255 LIB_des="${LIB_des} -lcrypto"
33256 LIB_des_a="$LIB_des"
33257 LIB_des_so="$LIB_des"
33258 LIB_des_appl="$LIB_des"
33259 LIBS="${LIBS} ${LIB_des}"
33260 cat >conftest.$ac_ext <<_ACEOF
33261 #line 33261 "configure"
33262 #include "confdefs.h"
33264 #include <openssl/md4.h>
33265 #include <openssl/md5.h>
33266 #include <openssl/sha.h>
33267 #include <openssl/des.h>
33268 #include <openssl/rc4.h>
33270 #ifdef F77_DUMMY_MAIN
33271 # ifdef __cplusplus
33274 int F77_DUMMY_MAIN() { return 1; }
33280 void *schedule = 0;
33289 des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
33296 rm -f conftest.$ac_objext conftest$ac_exeext
33297 if { (eval echo "$as_me:33297: \"$ac_link\"") >&5
33298 (eval $ac_link) 2>&5
33300 echo "$as_me:33300: \$? = $ac_status" >&5
33301 (exit $ac_status); } &&
33302 { ac_try='test -s conftest$ac_exeext'
33303 { (eval echo "$as_me:33303: \"$ac_try\"") >&5
33304 (eval $ac_try) 2>&5
33306 echo "$as_me:33306: \$? = $ac_status" >&5
33307 (exit $ac_status); }; }; then
33309 crypto_lib=libcrypto openssl=yes
33310 echo "$as_me:33310: result: libcrypto" >&5
33311 echo "${ECHO_T}libcrypto" >&6
33313 echo "$as_me: failed program was:" >&5
33314 cat conftest.$ac_ext >&5
33316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33317 CPPFLAGS="$save_CPPFLAGS"
33321 if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
33322 save_CPPFLAGS="$CPPFLAGS"
33326 for i in $LIB_krb4; do
33328 -L*) cdirs="$cdirs $i";;
33329 -l*) clibs="$clibs $i";;
33334 for i in $INCLUDE_krb4; do
33335 CFLAGS="$i $save_CFLAGS"
33336 cat >conftest.$ac_ext <<_ACEOF
33337 #line 33337 "configure"
33338 #include "confdefs.h"
33340 #undef KRB5 /* makes md4.h et al unhappy */
33342 #include <openssl/md4.h>
33343 #include <openssl/md5.h>
33344 #include <openssl/sha.h>
33345 #include <openssl/des.h>
33346 #include <openssl/rc4.h>
33348 #ifdef F77_DUMMY_MAIN
33349 # ifdef __cplusplus
33352 int F77_DUMMY_MAIN() { return 1; }
33366 des_cbc_encrypt(0, 0, 0, 0, 0, 0);
33372 rm -f conftest.$ac_objext
33373 if { (eval echo "$as_me:33373: \"$ac_compile\"") >&5
33374 (eval $ac_compile) 2>&5
33376 echo "$as_me:33376: \$? = $ac_status" >&5
33377 (exit $ac_status); } &&
33378 { ac_try='test -s conftest.$ac_objext'
33379 { (eval echo "$as_me:33379: \"$ac_try\"") >&5
33380 (eval $ac_try) 2>&5
33382 echo "$as_me:33382: \$? = $ac_status" >&5
33383 (exit $ac_status); }; }; then
33384 openssl=yes ires="$i"; break
33386 echo "$as_me: failed program was:" >&5
33387 cat conftest.$ac_ext >&5
33389 rm -f conftest.$ac_objext conftest.$ac_ext
33390 cat >conftest.$ac_ext <<_ACEOF
33391 #line 33391 "configure"
33392 #include "confdefs.h"
33394 #undef KRB5 /* makes md4.h et al unhappy */
33402 #ifdef F77_DUMMY_MAIN
33403 # ifdef __cplusplus
33406 int F77_DUMMY_MAIN() { return 1; }
33420 des_cbc_encrypt(0, 0, 0, 0, 0, 0);
33426 rm -f conftest.$ac_objext
33427 if { (eval echo "$as_me:33427: \"$ac_compile\"") >&5
33428 (eval $ac_compile) 2>&5
33430 echo "$as_me:33430: \$? = $ac_status" >&5
33431 (exit $ac_status); } &&
33432 { ac_try='test -s conftest.$ac_objext'
33433 { (eval echo "$as_me:33433: \"$ac_try\"") >&5
33434 (eval $ac_try) 2>&5
33436 echo "$as_me:33436: \$? = $ac_status" >&5
33437 (exit $ac_status); }; }; then
33440 echo "$as_me: failed program was:" >&5
33441 cat conftest.$ac_ext >&5
33443 rm -f conftest.$ac_objext conftest.$ac_ext
33446 for i in $cdirs; do
33447 for j in $clibs; do
33448 LIBS="$i $j $save_LIBS"
33449 if test "$openssl" = yes; then
33450 cat >conftest.$ac_ext <<_ACEOF
33451 #line 33451 "configure"
33452 #include "confdefs.h"
33454 #undef KRB5 /* makes md4.h et al unhappy */
33456 #include <openssl/md4.h>
33457 #include <openssl/md5.h>
33458 #include <openssl/sha.h>
33459 #include <openssl/des.h>
33460 #include <openssl/rc4.h>
33462 #ifdef F77_DUMMY_MAIN
33463 # ifdef __cplusplus
33466 int F77_DUMMY_MAIN() { return 1; }
33480 des_cbc_encrypt(0, 0, 0, 0, 0, 0);
33486 rm -f conftest.$ac_objext conftest$ac_exeext
33487 if { (eval echo "$as_me:33487: \"$ac_link\"") >&5
33488 (eval $ac_link) 2>&5
33490 echo "$as_me:33490: \$? = $ac_status" >&5
33491 (exit $ac_status); } &&
33492 { ac_try='test -s conftest$ac_exeext'
33493 { (eval echo "$as_me:33493: \"$ac_try\"") >&5
33494 (eval $ac_try) 2>&5
33496 echo "$as_me:33496: \$? = $ac_status" >&5
33497 (exit $ac_status); }; }; then
33498 lres="$i $j"; break 2
33500 echo "$as_me: failed program was:" >&5
33501 cat conftest.$ac_ext >&5
33503 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33505 cat >conftest.$ac_ext <<_ACEOF
33506 #line 33506 "configure"
33507 #include "confdefs.h"
33509 #undef KRB5 /* makes md4.h et al unhappy */
33517 #ifdef F77_DUMMY_MAIN
33518 # ifdef __cplusplus
33521 int F77_DUMMY_MAIN() { return 1; }
33535 des_cbc_encrypt(0, 0, 0, 0, 0, 0);
33541 rm -f conftest.$ac_objext conftest$ac_exeext
33542 if { (eval echo "$as_me:33542: \"$ac_link\"") >&5
33543 (eval $ac_link) 2>&5
33545 echo "$as_me:33545: \$? = $ac_status" >&5
33546 (exit $ac_status); } &&
33547 { ac_try='test -s conftest$ac_exeext'
33548 { (eval echo "$as_me:33548: \"$ac_try\"") >&5
33549 (eval $ac_try) 2>&5
33551 echo "$as_me:33551: \$? = $ac_status" >&5
33552 (exit $ac_status); }; }; then
33553 lres="$i $j"; break 2
33555 echo "$as_me: failed program was:" >&5
33556 cat conftest.$ac_ext >&5
33558 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33562 CFLAGS="$save_CFLAGS"
33564 if test "$ires" -a "$lres"; then
33565 INCLUDE_des="$ires"
33568 echo "$as_me:33568: result: same as krb4" >&5
33569 echo "${ECHO_T}same as krb4" >&6
33570 LIB_des_a='$(LIB_des)'
33571 LIB_des_so='$(LIB_des)'
33572 LIB_des_appl='$(LIB_des)'
33576 if test "$crypto_lib" = "unknown"; then
33579 LIB_des='$(top_builddir)/lib/des/libdes.la'
33580 LIB_des_a='$(top_builddir)/lib/des/.libs/libdes.a'
33581 LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
33582 LIB_des_appl="-ldes"
33584 echo "$as_me:33584: result: included libdes" >&5
33585 echo "${ECHO_T}included libdes" >&6
33589 if test "$openssl" = "yes"; then
33591 cat >>confdefs.h <<\_ACEOF
33592 #define HAVE_OPENSSL 1
33598 if test "$openssl" = yes; then
33600 HAVE_OPENSSL_FALSE='#'
33602 HAVE_OPENSSL_TRUE='#'
33603 HAVE_OPENSSL_FALSE=
33618 echo "$as_me:33618: checking for el_init" >&5
33619 echo $ECHO_N "checking for el_init... $ECHO_C" >&6
33620 if test "${ac_cv_funclib_el_init+set}" = set; then
33621 echo $ECHO_N "(cached) $ECHO_C" >&6
33624 if eval "test \"\$ac_cv_func_el_init\" != yes" ; then
33625 ac_save_LIBS="$LIBS"
33626 for ac_lib in "" edit; do
33632 *) ac_lib="-l$ac_lib" ;;
33634 LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
33635 cat >conftest.$ac_ext <<_ACEOF
33636 #line 33636 "configure"
33637 #include "confdefs.h"
33639 #ifdef F77_DUMMY_MAIN
33640 # ifdef __cplusplus
33643 int F77_DUMMY_MAIN() { return 1; }
33653 rm -f conftest.$ac_objext conftest$ac_exeext
33654 if { (eval echo "$as_me:33654: \"$ac_link\"") >&5
33655 (eval $ac_link) 2>&5
33657 echo "$as_me:33657: \$? = $ac_status" >&5
33658 (exit $ac_status); } &&
33659 { ac_try='test -s conftest$ac_exeext'
33660 { (eval echo "$as_me:33660: \"$ac_try\"") >&5
33661 (eval $ac_try) 2>&5
33663 echo "$as_me:33663: \$? = $ac_status" >&5
33664 (exit $ac_status); }; }; then
33665 eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
33667 echo "$as_me: failed program was:" >&5
33668 cat conftest.$ac_ext >&5
33670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33672 eval "ac_cv_funclib_el_init=\${ac_cv_funclib_el_init-no}"
33673 LIBS="$ac_save_LIBS"
33679 eval "ac_res=\$ac_cv_funclib_el_init"
33683 for ac_func in el_init
33685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33686 echo "$as_me:33686: checking for $ac_func" >&5
33687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33688 if eval "test \"\${$as_ac_var+set}\" = set"; then
33689 echo $ECHO_N "(cached) $ECHO_C" >&6
33691 cat >conftest.$ac_ext <<_ACEOF
33692 #line 33692 "configure"
33693 #include "confdefs.h"
33694 /* System header to define __stub macros and hopefully few prototypes,
33695 which can conflict with char $ac_func (); below. */
33696 #include <assert.h>
33697 /* Override any gcc2 internal prototype to avoid an error. */
33701 /* We use char because int might match the return type of a gcc2
33702 builtin and then its argument prototype would still apply. */
33706 #ifdef F77_DUMMY_MAIN
33707 # ifdef __cplusplus
33710 int F77_DUMMY_MAIN() { return 1; }
33715 /* The GNU C library defines this for functions which it implements
33716 to always fail with ENOSYS. Some functions are actually named
33717 something starting with __ and the normal name is an alias. */
33718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33728 rm -f conftest.$ac_objext conftest$ac_exeext
33729 if { (eval echo "$as_me:33729: \"$ac_link\"") >&5
33730 (eval $ac_link) 2>&5
33732 echo "$as_me:33732: \$? = $ac_status" >&5
33733 (exit $ac_status); } &&
33734 { ac_try='test -s conftest$ac_exeext'
33735 { (eval echo "$as_me:33735: \"$ac_try\"") >&5
33736 (eval $ac_try) 2>&5
33738 echo "$as_me:33738: \$? = $ac_status" >&5
33739 (exit $ac_status); }; }; then
33740 eval "$as_ac_var=yes"
33742 echo "$as_me: failed program was:" >&5
33743 cat conftest.$ac_ext >&5
33744 eval "$as_ac_var=no"
33746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33748 echo "$as_me:33748: result: `eval echo '${'$as_ac_var'}'`" >&5
33749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33750 if test `eval echo '${'$as_ac_var'}'` = yes; then
33751 cat >>confdefs.h <<_ACEOF
33752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33760 eval "ac_tr_func=HAVE_`echo el_init | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
33761 eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
33762 eval "LIB_el_init=$ac_res"
33766 eval "ac_cv_func_el_init=yes"
33767 eval "LIB_el_init="
33768 cat >>confdefs.h <<_ACEOF
33769 #define $ac_tr_func 1
33772 echo "$as_me:33772: result: yes" >&5
33773 echo "${ECHO_T}yes" >&6
33776 eval "ac_cv_func_el_init=no"
33777 eval "LIB_el_init="
33778 echo "$as_me:33778: result: no" >&5
33779 echo "${ECHO_T}no" >&6
33782 eval "ac_cv_func_el_init=yes"
33783 eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
33784 cat >>confdefs.h <<_ACEOF
33785 #define $ac_tr_func 1
33788 cat >>confdefs.h <<_ACEOF
33789 #define $ac_tr_lib 1
33792 echo "$as_me:33792: result: yes, in $ac_res" >&5
33793 echo "${ECHO_T}yes, in $ac_res" >&6
33798 if test "$ac_cv_func_el_init" = yes ; then
33799 echo "$as_me:33799: checking for four argument el_init" >&5
33800 echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
33801 if test "${ac_cv_func_el_init_four+set}" = set; then
33802 echo $ECHO_N "(cached) $ECHO_C" >&6
33805 cat >conftest.$ac_ext <<_ACEOF
33806 #line 33806 "configure"
33807 #include "confdefs.h"
33809 #include <histedit.h>
33810 #ifdef F77_DUMMY_MAIN
33811 # ifdef __cplusplus
33814 int F77_DUMMY_MAIN() { return 1; }
33819 el_init("", NULL, NULL, NULL);
33824 rm -f conftest.$ac_objext
33825 if { (eval echo "$as_me:33825: \"$ac_compile\"") >&5
33826 (eval $ac_compile) 2>&5
33828 echo "$as_me:33828: \$? = $ac_status" >&5
33829 (exit $ac_status); } &&
33830 { ac_try='test -s conftest.$ac_objext'
33831 { (eval echo "$as_me:33831: \"$ac_try\"") >&5
33832 (eval $ac_try) 2>&5
33834 echo "$as_me:33834: \$? = $ac_status" >&5
33835 (exit $ac_status); }; }; then
33836 ac_cv_func_el_init_four=yes
33838 echo "$as_me: failed program was:" >&5
33839 cat conftest.$ac_ext >&5
33840 ac_cv_func_el_init_four=no
33842 rm -f conftest.$ac_objext conftest.$ac_ext
33844 echo "$as_me:33844: result: $ac_cv_func_el_init_four" >&5
33845 echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
33846 if test "$ac_cv_func_el_init_four" = yes; then
33848 cat >>confdefs.h <<\_ACEOF
33849 #define HAVE_FOUR_VALUED_EL_INIT 1
33857 if test "$with_readline" = yes; then
33859 elif test "$ac_cv_func_readline" = yes; then
33861 elif test "$ac_cv_func_el_init" = yes; then
33863 LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
33865 LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
33869 if test "$ac_foo" = yes; then
33871 el_compat_FALSE='#'
33878 cat >>confdefs.h <<\_ACEOF
33879 #define HAVE_READLINE 1
33886 cat >>confdefs.h <<\_ACEOF
33887 #define AUTHENTICATION 1
33890 cat >>confdefs.h <<\_ACEOF
33891 #define ENCRYPTION 1
33894 cat >>confdefs.h <<\_ACEOF
33895 #define DES_ENCRYPTION 1
33898 cat >>confdefs.h <<\_ACEOF
33899 #define DIAGNOSTICS 1
33902 cat >>confdefs.h <<\_ACEOF
33903 #define OLD_ENVIRON 1
33907 cat >>confdefs.h <<\_ACEOF
33913 # Simple test for streamspty, based on the existance of getmsg(), alas
33914 # this breaks on SunOS4 which have streams but BSD-like ptys
33916 # And also something wierd has happend with dec-osf1, fallback to bsd-ptys
33919 *-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
33922 echo "$as_me:33922: checking for getmsg" >&5
33923 echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
33924 if test "${ac_cv_func_getmsg+set}" = set; then
33925 echo $ECHO_N "(cached) $ECHO_C" >&6
33927 cat >conftest.$ac_ext <<_ACEOF
33928 #line 33928 "configure"
33929 #include "confdefs.h"
33930 /* System header to define __stub macros and hopefully few prototypes,
33931 which can conflict with char getmsg (); below. */
33932 #include <assert.h>
33933 /* Override any gcc2 internal prototype to avoid an error. */
33937 /* We use char because int might match the return type of a gcc2
33938 builtin and then its argument prototype would still apply. */
33942 #ifdef F77_DUMMY_MAIN
33943 # ifdef __cplusplus
33946 int F77_DUMMY_MAIN() { return 1; }
33951 /* The GNU C library defines this for functions which it implements
33952 to always fail with ENOSYS. Some functions are actually named
33953 something starting with __ and the normal name is an alias. */
33954 #if defined (__stub_getmsg) || defined (__stub___getmsg)
33964 rm -f conftest.$ac_objext conftest$ac_exeext
33965 if { (eval echo "$as_me:33965: \"$ac_link\"") >&5
33966 (eval $ac_link) 2>&5
33968 echo "$as_me:33968: \$? = $ac_status" >&5
33969 (exit $ac_status); } &&
33970 { ac_try='test -s conftest$ac_exeext'
33971 { (eval echo "$as_me:33971: \"$ac_try\"") >&5
33972 (eval $ac_try) 2>&5
33974 echo "$as_me:33974: \$? = $ac_status" >&5
33975 (exit $ac_status); }; }; then
33976 ac_cv_func_getmsg=yes
33978 echo "$as_me: failed program was:" >&5
33979 cat conftest.$ac_ext >&5
33980 ac_cv_func_getmsg=no
33982 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33984 echo "$as_me:33984: result: $ac_cv_func_getmsg" >&5
33985 echo "${ECHO_T}$ac_cv_func_getmsg" >&6
33987 if test "$ac_cv_func_getmsg" = "yes"; then
33988 echo "$as_me:33988: checking if getmsg works" >&5
33989 echo $ECHO_N "checking if getmsg works... $ECHO_C" >&6
33990 if test "${ac_cv_func_getmsg_works+set}" = set; then
33991 echo $ECHO_N "(cached) $ECHO_C" >&6
33993 if test "$cross_compiling" = yes; then
33994 ac_cv_func_getmsg_works=no
33996 cat >conftest.$ac_ext <<_ACEOF
33997 #line 33997 "configure"
33998 #include "confdefs.h"
34006 ret = getmsg(open("/dev/null", 0), NULL, NULL, NULL);
34007 if(ret < 0 && errno == ENOSYS)
34013 rm -f conftest$ac_exeext
34014 if { (eval echo "$as_me:34014: \"$ac_link\"") >&5
34015 (eval $ac_link) 2>&5
34017 echo "$as_me:34017: \$? = $ac_status" >&5
34018 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34019 { (eval echo "$as_me:34019: \"$ac_try\"") >&5
34020 (eval $ac_try) 2>&5
34022 echo "$as_me:34022: \$? = $ac_status" >&5
34023 (exit $ac_status); }; }; then
34024 ac_cv_func_getmsg_works=yes
34026 echo "$as_me: program exited with status $ac_status" >&5
34027 echo "$as_me: failed program was:" >&5
34028 cat conftest.$ac_ext >&5
34029 ( exit $ac_status )
34030 ac_cv_func_getmsg_works=no
34032 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34035 echo "$as_me:34035: result: $ac_cv_func_getmsg_works" >&5
34036 echo "${ECHO_T}$ac_cv_func_getmsg_works" >&6
34037 if test "$ac_cv_func_getmsg_works" = "yes"; then
34039 cat >>confdefs.h <<\_ACEOF
34040 #define HAVE_GETMSG 1
34044 cat >>confdefs.h <<\_ACEOF
34045 #define STREAMSPTY 1
34059 # Extract the first word of "compile_et", so it can be a program name with args.
34060 set dummy compile_et; ac_word=$2
34061 echo "$as_me:34061: checking for $ac_word" >&5
34062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34063 if test "${ac_cv_prog_COMPILE_ET+set}" = set; then
34064 echo $ECHO_N "(cached) $ECHO_C" >&6
34066 if test -n "$COMPILE_ET"; then
34067 ac_cv_prog_COMPILE_ET="$COMPILE_ET" # Let the user override the test.
34069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34070 for as_dir in $PATH
34073 test -z "$as_dir" && as_dir=.
34074 for ac_exec_ext in '' $ac_executable_extensions; do
34075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34076 ac_cv_prog_COMPILE_ET="compile_et"
34077 echo "$as_me:34077: found $as_dir/$ac_word$ac_exec_ext" >&5
34085 COMPILE_ET=$ac_cv_prog_COMPILE_ET
34086 if test -n "$COMPILE_ET"; then
34087 echo "$as_me:34087: result: $COMPILE_ET" >&5
34088 echo "${ECHO_T}$COMPILE_ET" >&6
34090 echo "$as_me:34090: result: no" >&5
34091 echo "${ECHO_T}no" >&6
34095 krb_cv_compile_et="no"
34096 if test "${COMPILE_ET}" = "compile_et"; then
34098 echo "$as_me:34098: checking whether compile_et has the features we need" >&5
34099 echo $ECHO_N "checking whether compile_et has the features we need... $ECHO_C" >&6
34100 cat > conftest_et.et <<'EOF'
34104 error_code CODE1, "CODE1"
34106 error_code CODE2, "CODE2"
34109 if ${COMPILE_ET} conftest_et.et >/dev/null 2>&1; then
34110 save_CPPFLAGS="${save_CPPFLAGS}"
34111 if test -d "/usr/include/et"; then
34112 CPPFLAGS="-I/usr/include/et ${CPPFLAGS}"
34114 if test "$cross_compiling" = yes; then
34115 { { echo "$as_me:34115: error: cannot run test program while cross compiling" >&5
34116 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
34117 { (exit 1); exit 1; }; }
34119 cat >conftest.$ac_ext <<_ACEOF
34120 #line 34120 "configure"
34121 #include "confdefs.h"
34123 #include <com_err.h>
34124 #include <string.h>
34125 #include "conftest_et.h"
34126 int main(){return (CONFTEST_CODE2 - CONFTEST_CODE1) != 127;}
34129 rm -f conftest$ac_exeext
34130 if { (eval echo "$as_me:34130: \"$ac_link\"") >&5
34131 (eval $ac_link) 2>&5
34133 echo "$as_me:34133: \$? = $ac_status" >&5
34134 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34135 { (eval echo "$as_me:34135: \"$ac_try\"") >&5
34136 (eval $ac_try) 2>&5
34138 echo "$as_me:34138: \$? = $ac_status" >&5
34139 (exit $ac_status); }; }; then
34140 krb_cv_compile_et="yes"
34142 echo "$as_me: program exited with status $ac_status" >&5
34143 echo "$as_me: failed program was:" >&5
34144 cat conftest.$ac_ext >&5
34145 ( exit $ac_status )
34146 CPPFLAGS="${save_CPPFLAGS}"
34148 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34151 echo "$as_me:34151: result: ${krb_cv_compile_et}" >&5
34152 echo "${ECHO_T}${krb_cv_compile_et}" >&6
34156 if test "${krb_cv_compile_et}" = "yes"; then
34157 krb_cv_save_LIBS="${LIBS}"
34158 LIBS="${LIBS} -lcom_err"
34159 echo "$as_me:34159: checking for com_err" >&5
34160 echo $ECHO_N "checking for com_err... $ECHO_C" >&6
34161 cat >conftest.$ac_ext <<_ACEOF
34162 #line 34162 "configure"
34163 #include "confdefs.h"
34164 #include <com_err.h>
34165 #ifdef F77_DUMMY_MAIN
34166 # ifdef __cplusplus
34169 int F77_DUMMY_MAIN() { return 1; }
34176 p = error_message(0);
34182 rm -f conftest.$ac_objext conftest$ac_exeext
34183 if { (eval echo "$as_me:34183: \"$ac_link\"") >&5
34184 (eval $ac_link) 2>&5
34186 echo "$as_me:34186: \$? = $ac_status" >&5
34187 (exit $ac_status); } &&
34188 { ac_try='test -s conftest$ac_exeext'
34189 { (eval echo "$as_me:34189: \"$ac_try\"") >&5
34190 (eval $ac_try) 2>&5
34192 echo "$as_me:34192: \$? = $ac_status" >&5
34193 (exit $ac_status); }; }; then
34194 krb_cv_com_err="yes"
34196 echo "$as_me: failed program was:" >&5
34197 cat conftest.$ac_ext >&5
34198 krb_cv_com_err="no"; CPPFLAGS="${save_CPPFLAGS}"
34200 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34201 echo "$as_me:34201: result: ${krb_cv_com_err}" >&5
34202 echo "${ECHO_T}${krb_cv_com_err}" >&6
34203 LIBS="${krb_cv_save_LIBS}"
34205 krb_cv_com_err="no"
34208 if test "${krb_cv_com_err}" = "yes"; then
34210 LIB_com_err="-lcom_err"
34213 { echo "$as_me:34213: Using the already-installed com_err" >&5
34214 echo "$as_me: Using the already-installed com_err" >&6;}
34216 COMPILE_ET="\$(top_builddir)/lib/com_err/compile_et"
34217 DIR_com_err="com_err"
34218 LIB_com_err="\$(top_builddir)/lib/com_err/libcom_err.la"
34219 LIB_com_err_a="\$(top_builddir)/lib/com_err/.libs/libcom_err.a"
34220 LIB_com_err_so="\$(top_builddir)/lib/com_err/.libs/libcom_err.so"
34221 { echo "$as_me:34221: Using our own com_err" >&5
34222 echo "$as_me: Using our own com_err" >&6;}
34232 echo "$as_me:34232: checking which authentication modules should be built" >&5
34233 echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
34237 if test "$ac_cv_header_siad_h" = yes; then
34238 LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
34242 *-*-freebsd*) ac_cv_want_pam_krb4=no ;;
34243 *) ac_cv_want_pam_krb4=yes ;;
34246 if test "$ac_cv_want_pam_krb4" = yes -a \
34247 "$ac_cv_header_security_pam_modules_h" = yes -a \
34248 "$enable_shared" = yes; then
34249 LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
34253 *-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
34256 echo "$as_me:34256: result: $LIB_AUTH_SUBDIRS" >&5
34257 echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
34262 # This is done by AC_OUTPUT but we need the result here.
34263 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34264 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34269 while test "x$y" != "x$x"; do
34274 cat >>confdefs.h <<_ACEOF
34275 #define BINDIR "$x"
34280 while test "x$y" != "x$x"; do
34285 cat >>confdefs.h <<_ACEOF
34286 #define LIBDIR "$x"
34291 while test "x$y" != "x$x"; do
34296 cat >>confdefs.h <<_ACEOF
34297 #define LIBEXECDIR "$x"
34300 x="${localstatedir}"
34302 while test "x$y" != "x$x"; do
34307 cat >>confdefs.h <<_ACEOF
34308 #define LOCALSTATEDIR "$x"
34313 while test "x$y" != "x$x"; do
34318 cat >>confdefs.h <<_ACEOF
34319 #define SBINDIR "$x"
34324 while test "x$y" != "x$x"; do
34329 cat >>confdefs.h <<_ACEOF
34330 #define SYSCONFDIR "$x"
34335 LTLIBOBJS=`echo "$LIBOBJS" |
34336 sed 's,\.[^.]* ,.lo ,g;s,\.[^.]*$,.lo,'`
34342 ac_config_files="$ac_config_files Makefile include/Makefile include/kadm5/Makefile lib/Makefile lib/45/Makefile lib/auth/Makefile lib/auth/afskauthlib/Makefile lib/auth/pam/Makefile lib/auth/sia/Makefile lib/asn1/Makefile lib/com_err/Makefile lib/des/Makefile lib/editline/Makefile lib/gssapi/Makefile lib/hdb/Makefile lib/kadm5/Makefile lib/kafs/Makefile lib/kdfs/Makefile lib/krb5/Makefile lib/otp/Makefile lib/roken/Makefile lib/sl/Makefile lib/vers/Makefile kuser/Makefile kpasswd/Makefile kadmin/Makefile admin/Makefile kdc/Makefile appl/Makefile appl/afsutil/Makefile appl/ftp/Makefile appl/ftp/common/Makefile appl/ftp/ftp/Makefile appl/ftp/ftpd/Makefile appl/kx/Makefile appl/login/Makefile appl/otp/Makefile appl/popper/Makefile appl/push/Makefile appl/rsh/Makefile appl/rcp/Makefile appl/su/Makefile appl/xnlock/Makefile appl/telnet/Makefile appl/telnet/libtelnet/Makefile appl/telnet/telnet/Makefile appl/telnet/telnetd/Makefile appl/test/Makefile appl/kf/Makefile appl/dceutils/Makefile doc/Makefile tools/Makefile"
34345 cat >confcache <<\_ACEOF
34346 # This file is a shell script that caches the results of configure
34347 # tests run on this system so they can be shared between configure
34348 # scripts and configure runs, see configure's option --config-cache.
34349 # It is not useful on other systems. If it contains results you don't
34350 # want to keep, you may remove or edit it.
34352 # config.status only pays attention to the cache file if you give it
34353 # the --recheck option to rerun configure.
34355 # `ac_cv_env_foo' variables (set or unset) will be overriden when
34356 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34357 # following values.
34361 # The following way of writing the cache mishandles newlines in values,
34362 # but we know of no workaround that is simple, portable, and efficient.
34363 # So, don't put newlines in cache variables' values.
34364 # Ultrix sh set writes to stderr and can't be redirected directly,
34365 # and sets the high bit in the cache file unless we assign to the vars.
34368 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34370 # `set' does not quote correctly, so add quotes (double-quote
34371 # substitution turns \\\\ into \\, and sed turns \\ into \).
34374 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34377 # `set' quotes correctly as required by POSIX, so do not add quotes.
34379 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34386 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34388 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34390 if cmp -s $cache_file confcache; then :; else
34391 if test -w $cache_file; then
34392 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34393 cat confcache >$cache_file
34395 echo "not updating unwritable cache $cache_file"
34400 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34401 # Let make expand exec_prefix.
34402 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34404 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34405 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34406 # trailing colons and then remove the whole line if VPATH becomes empty
34407 # (actually we leave an empty line to preserve line numbers).
34408 if test "x$srcdir" = x.; then
34409 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34410 s/:*\$(srcdir):*/:/;
34411 s/:*\${srcdir}:*/:/;
34413 s/^\([^=]*=[ ]*\):*/\1/;
34419 DEFS=-DHAVE_CONFIG_H
34421 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34422 { { echo "$as_me:34422: error: conditional \"AMDEP\" was never defined.
34423 Usually this means the macro was only invoked conditionally." >&5
34424 echo "$as_me: error: conditional \"AMDEP\" was never defined.
34425 Usually this means the macro was only invoked conditionally." >&2;}
34426 { (exit 1); exit 1; }; }
34428 if test -z "${HAVE_DB1_TRUE}" && test -z "${HAVE_DB1_FALSE}"; then
34429 { { echo "$as_me:34429: error: conditional \"HAVE_DB1\" was never defined.
34430 Usually this means the macro was only invoked conditionally." >&5
34431 echo "$as_me: error: conditional \"HAVE_DB1\" was never defined.
34432 Usually this means the macro was only invoked conditionally." >&2;}
34433 { (exit 1); exit 1; }; }
34435 if test -z "${HAVE_DB3_TRUE}" && test -z "${HAVE_DB3_FALSE}"; then
34436 { { echo "$as_me:34436: error: conditional \"HAVE_DB3\" was never defined.
34437 Usually this means the macro was only invoked conditionally." >&5
34438 echo "$as_me: error: conditional \"HAVE_DB3\" was never defined.
34439 Usually this means the macro was only invoked conditionally." >&2;}
34440 { (exit 1); exit 1; }; }
34442 if test -z "${HAVE_NDBM_TRUE}" && test -z "${HAVE_NDBM_FALSE}"; then
34443 { { echo "$as_me:34443: error: conditional \"HAVE_NDBM\" was never defined.
34444 Usually this means the macro was only invoked conditionally." >&5
34445 echo "$as_me: error: conditional \"HAVE_NDBM\" was never defined.
34446 Usually this means the macro was only invoked conditionally." >&2;}
34447 { (exit 1); exit 1; }; }
34449 if test -z "${have_err_h_TRUE}" && test -z "${have_err_h_FALSE}"; then
34450 { { echo "$as_me:34450: error: conditional \"have_err_h\" was never defined.
34451 Usually this means the macro was only invoked conditionally." >&5
34452 echo "$as_me: error: conditional \"have_err_h\" was never defined.
34453 Usually this means the macro was only invoked conditionally." >&2;}
34454 { (exit 1); exit 1; }; }
34456 if test -z "${have_fnmatch_h_TRUE}" && test -z "${have_fnmatch_h_FALSE}"; then
34457 { { echo "$as_me:34457: error: conditional \"have_fnmatch_h\" was never defined.
34458 Usually this means the macro was only invoked conditionally." >&5
34459 echo "$as_me: error: conditional \"have_fnmatch_h\" was never defined.
34460 Usually this means the macro was only invoked conditionally." >&2;}
34461 { (exit 1); exit 1; }; }
34463 if test -z "${have_ifaddrs_h_TRUE}" && test -z "${have_ifaddrs_h_FALSE}"; then
34464 { { echo "$as_me:34464: error: conditional \"have_ifaddrs_h\" was never defined.
34465 Usually this means the macro was only invoked conditionally." >&5
34466 echo "$as_me: error: conditional \"have_ifaddrs_h\" was never defined.
34467 Usually this means the macro was only invoked conditionally." >&2;}
34468 { (exit 1); exit 1; }; }
34470 if test -z "${have_vis_h_TRUE}" && test -z "${have_vis_h_FALSE}"; then
34471 { { echo "$as_me:34471: error: conditional \"have_vis_h\" was never defined.
34472 Usually this means the macro was only invoked conditionally." >&5
34473 echo "$as_me: error: conditional \"have_vis_h\" was never defined.
34474 Usually this means the macro was only invoked conditionally." >&2;}
34475 { (exit 1); exit 1; }; }
34477 if test -z "${have_glob_h_TRUE}" && test -z "${have_glob_h_FALSE}"; then
34478 { { echo "$as_me:34478: error: conditional \"have_glob_h\" was never defined.
34479 Usually this means the macro was only invoked conditionally." >&5
34480 echo "$as_me: error: conditional \"have_glob_h\" was never defined.
34481 Usually this means the macro was only invoked conditionally." >&2;}
34482 { (exit 1); exit 1; }; }
34484 if test -z "${KRB4_TRUE}" && test -z "${KRB4_FALSE}"; then
34485 { { echo "$as_me:34485: error: conditional \"KRB4\" was never defined.
34486 Usually this means the macro was only invoked conditionally." >&5
34487 echo "$as_me: error: conditional \"KRB4\" was never defined.
34488 Usually this means the macro was only invoked conditionally." >&2;}
34489 { (exit 1); exit 1; }; }
34491 if test -z "${KRB5_TRUE}" && test -z "${KRB5_FALSE}"; then
34492 { { echo "$as_me:34492: error: conditional \"KRB5\" was never defined.
34493 Usually this means the macro was only invoked conditionally." >&5
34494 echo "$as_me: error: conditional \"KRB5\" was never defined.
34495 Usually this means the macro was only invoked conditionally." >&2;}
34496 { (exit 1); exit 1; }; }
34498 if test -z "${do_roken_rename_TRUE}" && test -z "${do_roken_rename_FALSE}"; then
34499 { { echo "$as_me:34499: error: conditional \"do_roken_rename\" was never defined.
34500 Usually this means the macro was only invoked conditionally." >&5
34501 echo "$as_me: error: conditional \"do_roken_rename\" was never defined.
34502 Usually this means the macro was only invoked conditionally." >&2;}
34503 { (exit 1); exit 1; }; }
34505 if test -z "${DCE_TRUE}" && test -z "${DCE_FALSE}"; then
34506 { { echo "$as_me:34506: error: conditional \"DCE\" was never defined.
34507 Usually this means the macro was only invoked conditionally." >&5
34508 echo "$as_me: error: conditional \"DCE\" was never defined.
34509 Usually this means the macro was only invoked conditionally." >&2;}
34510 { (exit 1); exit 1; }; }
34512 if test -z "${OTP_TRUE}" && test -z "${OTP_FALSE}"; then
34513 { { echo "$as_me:34513: error: conditional \"OTP\" was never defined.
34514 Usually this means the macro was only invoked conditionally." >&5
34515 echo "$as_me: error: conditional \"OTP\" was never defined.
34516 Usually this means the macro was only invoked conditionally." >&2;}
34517 { (exit 1); exit 1; }; }
34519 if test -z "${CATMAN_TRUE}" && test -z "${CATMAN_FALSE}"; then
34520 { { echo "$as_me:34520: error: conditional \"CATMAN\" was never defined.
34521 Usually this means the macro was only invoked conditionally." >&5
34522 echo "$as_me: error: conditional \"CATMAN\" was never defined.
34523 Usually this means the macro was only invoked conditionally." >&2;}
34524 { (exit 1); exit 1; }; }
34526 if test -z "${AIX_TRUE}" && test -z "${AIX_FALSE}"; then
34527 { { echo "$as_me:34527: error: conditional \"AIX\" was never defined.
34528 Usually this means the macro was only invoked conditionally." >&5
34529 echo "$as_me: error: conditional \"AIX\" was never defined.
34530 Usually this means the macro was only invoked conditionally." >&2;}
34531 { (exit 1); exit 1; }; }
34533 if test -z "${AIX4_TRUE}" && test -z "${AIX4_FALSE}"; then
34534 { { echo "$as_me:34534: error: conditional \"AIX4\" was never defined.
34535 Usually this means the macro was only invoked conditionally." >&5
34536 echo "$as_me: error: conditional \"AIX4\" was never defined.
34537 Usually this means the macro was only invoked conditionally." >&2;}
34538 { (exit 1); exit 1; }; }
34540 if test -z "${HAVE_DLOPEN_TRUE}" && test -z "${HAVE_DLOPEN_FALSE}"; then
34541 { { echo "$as_me:34541: error: conditional \"HAVE_DLOPEN\" was never defined.
34542 Usually this means the macro was only invoked conditionally." >&5
34543 echo "$as_me: error: conditional \"HAVE_DLOPEN\" was never defined.
34544 Usually this means the macro was only invoked conditionally." >&2;}
34545 { (exit 1); exit 1; }; }
34547 if test -z "${AIX_DYNAMIC_AFS_TRUE}" && test -z "${AIX_DYNAMIC_AFS_FALSE}"; then
34548 { { echo "$as_me:34548: error: conditional \"AIX_DYNAMIC_AFS\" was never defined.
34549 Usually this means the macro was only invoked conditionally." >&5
34550 echo "$as_me: error: conditional \"AIX_DYNAMIC_AFS\" was never defined.
34551 Usually this means the macro was only invoked conditionally." >&2;}
34552 { (exit 1); exit 1; }; }
34554 if test -z "${IRIX_TRUE}" && test -z "${IRIX_FALSE}"; then
34555 { { echo "$as_me:34555: error: conditional \"IRIX\" was never defined.
34556 Usually this means the macro was only invoked conditionally." >&5
34557 echo "$as_me: error: conditional \"IRIX\" was never defined.
34558 Usually this means the macro was only invoked conditionally." >&2;}
34559 { (exit 1); exit 1; }; }
34561 if test -z "${HAVE_X_TRUE}" && test -z "${HAVE_X_FALSE}"; then
34562 { { echo "$as_me:34562: error: conditional \"HAVE_X\" was never defined.
34563 Usually this means the macro was only invoked conditionally." >&5
34564 echo "$as_me: error: conditional \"HAVE_X\" was never defined.
34565 Usually this means the macro was only invoked conditionally." >&2;}
34566 { (exit 1); exit 1; }; }
34568 if test -z "${NEED_WRITEAUTH_TRUE}" && test -z "${NEED_WRITEAUTH_FALSE}"; then
34569 { { echo "$as_me:34569: error: conditional \"NEED_WRITEAUTH\" was never defined.
34570 Usually this means the macro was only invoked conditionally." >&5
34571 echo "$as_me: error: conditional \"NEED_WRITEAUTH\" was never defined.
34572 Usually this means the macro was only invoked conditionally." >&2;}
34573 { (exit 1); exit 1; }; }
34575 if test -z "${HAVE_OPENSSL_TRUE}" && test -z "${HAVE_OPENSSL_FALSE}"; then
34576 { { echo "$as_me:34576: error: conditional \"HAVE_OPENSSL\" was never defined.
34577 Usually this means the macro was only invoked conditionally." >&5
34578 echo "$as_me: error: conditional \"HAVE_OPENSSL\" was never defined.
34579 Usually this means the macro was only invoked conditionally." >&2;}
34580 { (exit 1); exit 1; }; }
34582 if test -z "${el_compat_TRUE}" && test -z "${el_compat_FALSE}"; then
34583 { { echo "$as_me:34583: error: conditional \"el_compat\" was never defined.
34584 Usually this means the macro was only invoked conditionally." >&5
34585 echo "$as_me: error: conditional \"el_compat\" was never defined.
34586 Usually this means the macro was only invoked conditionally." >&2;}
34587 { (exit 1); exit 1; }; }
34590 : ${CONFIG_STATUS=./config.status}
34591 ac_clean_files_save=$ac_clean_files
34592 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34593 { echo "$as_me:34593: creating $CONFIG_STATUS" >&5
34594 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34595 cat >$CONFIG_STATUS <<_ACEOF
34597 # Generated by $as_me.
34598 # Run this file to recreate the current configuration.
34599 # Compiler output produced by configure, useful for debugging
34600 # configure, is in config.log if it exists.
34603 SHELL=\${CONFIG_SHELL-$SHELL}
34606 cat >>$CONFIG_STATUS <<\_ACEOF
34608 ## --------------------- ##
34609 ## M4sh Initialization. ##
34610 ## --------------------- ##
34612 # Be Bourne compatible
34613 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34616 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34621 # Support unset when possible.
34622 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34628 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
34629 { $as_unset LANG || test "${LANG+set}" != set; } ||
34630 { LANG=C; export LANG; }
34631 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
34632 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
34633 { LC_ALL=C; export LC_ALL; }
34634 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
34635 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
34636 { LC_TIME=C; export LC_TIME; }
34637 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
34638 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
34639 { LC_CTYPE=C; export LC_CTYPE; }
34640 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
34641 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
34642 { LANGUAGE=C; export LANGUAGE; }
34643 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
34644 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
34645 { LC_COLLATE=C; export LC_COLLATE; }
34646 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
34647 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
34648 { LC_NUMERIC=C; export LC_NUMERIC; }
34649 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
34650 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
34651 { LC_MESSAGES=C; export LC_MESSAGES; }
34654 # Name of the executable.
34655 as_me=`(basename "$0") 2>/dev/null ||
34656 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34657 X"$0" : 'X\(//\)$' \| \
34658 X"$0" : 'X\(/\)$' \| \
34659 . : '\(.\)' 2>/dev/null ||
34661 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34662 /^X\/\(\/\/\)$/{ s//\1/; q; }
34663 /^X\/\(\/\).*/{ s//\1/; q; }
34666 # PATH needs CR, and LINENO needs CR and PATH.
34667 # Avoid depending upon Character Ranges.
34668 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34669 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34670 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34671 as_cr_digits='0123456789'
34672 as_cr_alnum=$as_cr_Letters$as_cr_digits
34674 # The user is always right.
34675 if test "${PATH_SEPARATOR+set}" != set; then
34676 echo "#! /bin/sh" >conftest.sh
34677 echo "exit 0" >>conftest.sh
34678 chmod +x conftest.sh
34679 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
34690 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34691 test "x$as_lineno_1" != "x$as_lineno_2" &&
34692 test "x$as_lineno_3" = "x$as_lineno_2" || {
34693 # Find who we are. Look in the path if we contain no path at all
34696 *[\\/]* ) as_myself=$0 ;;
34697 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34698 for as_dir in $PATH
34701 test -z "$as_dir" && as_dir=.
34702 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34707 # We did not find ourselves, most probably we were run as `sh COMMAND'
34708 # in which case we are not to be found in the path.
34709 if test "x$as_myself" = x; then
34712 if test ! -f "$as_myself"; then
34713 { { echo "$as_me:34713: error: cannot find myself; rerun with an absolute path" >&5
34714 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34715 { (exit 1); exit 1; }; }
34717 case $CONFIG_SHELL in
34719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34720 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34723 test -z "$as_dir" && as_dir=.
34724 for as_base in sh bash ksh sh5; do
34727 if ("$as_dir/$as_base" -c '
34730 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34731 test "x$as_lineno_1" != "x$as_lineno_2" &&
34732 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34733 CONFIG_SHELL=$as_dir/$as_base
34734 export CONFIG_SHELL
34735 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34743 # Create $as_me.lineno as a copy of $as_myself, but with 34743
34744 # uniformly replaced by the line number. The first 'sed' inserts a
34745 # line-number line before each line; the second 'sed' does the real
34746 # work. The second script uses 'N' to pair each line-number line
34747 # with the numbered line, and appends trailing '-' during
34748 # substitution so that 34748 is not a special case at line end.
34749 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34750 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34751 sed '=' <$as_myself |
34756 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34759 s,^['$as_cr_digits']*\n,,
34760 ' >$as_me.lineno &&
34761 chmod +x $as_me.lineno ||
34762 { { echo "$as_me:34762: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34763 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34764 { (exit 1); exit 1; }; }
34766 # Don't try to exec as it changes $[0], causing all sort of problems
34767 # (the dirname of $[0] is not the place where we might find the
34768 # original and so on. Autoconf is especially sensible to this).
34770 # Exit status is that of the last command.
34775 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34776 *c*,-n*) ECHO_N= ECHO_C='
34778 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34779 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
34782 if expr a : '\(a\)' >/dev/null 2>&1; then
34788 rm -f conf$$ conf$$.exe conf$$.file
34790 if ln -s conf$$.file conf$$ 2>/dev/null; then
34791 # We could just check for DJGPP; but this test a) works b) is more generic
34792 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34793 if test -f conf$$.exe; then
34794 # Don't use ln at all; we don't have any links
34799 elif ln conf$$.file conf$$ 2>/dev/null; then
34804 rm -f conf$$ conf$$.exe conf$$.file
34806 as_executable_p="test -f"
34808 # Sed expression to map a string onto a valid CPP name.
34809 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
34811 # Sed expression to map a string onto a valid variable name.
34812 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
34816 # We need space, tab and new line, in precisely that order.
34822 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
34826 # Open the log real soon, to keep \$[0] and so on meaningful, and to
34827 # report actual input values of CONFIG_FILES etc. instead of their
34828 # values after options handling. Logging --version etc. is OK.
34832 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34833 ## Running $as_me. ##
34838 This file was extended by Heimdal $as_me 0.4f, which was
34839 generated by GNU Autoconf 2.53. Invocation command line was
34841 CONFIG_FILES = $CONFIG_FILES
34842 CONFIG_HEADERS = $CONFIG_HEADERS
34843 CONFIG_LINKS = $CONFIG_LINKS
34844 CONFIG_COMMANDS = $CONFIG_COMMANDS
34848 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34852 # Files that config.status was made for.
34853 if test -n "$ac_config_files"; then
34854 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34857 if test -n "$ac_config_headers"; then
34858 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34861 if test -n "$ac_config_links"; then
34862 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34865 if test -n "$ac_config_commands"; then
34866 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34869 cat >>$CONFIG_STATUS <<\_ACEOF
34872 \`$as_me' instantiates files from templates according to the
34873 current configuration.
34875 Usage: $0 [OPTIONS] [FILE]...
34877 -h, --help print this help, then exit
34878 -V, --version print version number, then exit
34879 -d, --debug don't remove temporary files
34880 --recheck update $as_me by reconfiguring in the same conditions
34881 --file=FILE[:TEMPLATE]
34882 instantiate the configuration file FILE
34883 --header=FILE[:TEMPLATE]
34884 instantiate the configuration header FILE
34886 Configuration files:
34889 Configuration headers:
34892 Configuration commands:
34895 Report bugs to <bug-autoconf@gnu.org>."
34898 cat >>$CONFIG_STATUS <<_ACEOF
34900 Heimdal config.status 0.4f
34901 configured by $0, generated by GNU Autoconf 2.53,
34902 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
34904 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
34905 Free Software Foundation, Inc.
34906 This config.status script is free software; the Free Software Foundation
34907 gives unlimited permission to copy, distribute and modify it."
34912 cat >>$CONFIG_STATUS <<\_ACEOF
34913 # If no file are specified by the user, then we need to provide default
34914 # value. By we need to know if files were specified by the user.
34920 ac_option=`expr "x$1" : 'x\([^=]*\)='`
34921 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
34923 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
34927 *) # This is not an option, so the user has probably given explicit
34929 ac_need_defaults=false;;
34933 # Handling of the options.
34935 cat >>$CONFIG_STATUS <<_ACEOF
34936 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34937 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
34938 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
34940 cat >>$CONFIG_STATUS <<\_ACEOF
34941 --version | --vers* | -V )
34942 echo "$ac_cs_version"; exit 0 ;;
34944 # Conflict between --help and --header
34945 { { echo "$as_me:34945: error: ambiguous option: $1
34946 Try \`$0 --help' for more information." >&5
34947 echo "$as_me: error: ambiguous option: $1
34948 Try \`$0 --help' for more information." >&2;}
34949 { (exit 1); exit 1; }; };;
34950 --help | --hel | -h )
34951 echo "$ac_cs_usage"; exit 0 ;;
34952 --debug | --d* | -d )
34954 --file | --fil | --fi | --f )
34956 CONFIG_FILES="$CONFIG_FILES $1"
34957 ac_need_defaults=false;;
34958 --header | --heade | --head | --hea )
34960 CONFIG_HEADERS="$CONFIG_HEADERS $1"
34961 ac_need_defaults=false;;
34963 # This is an error.
34964 -*) { { echo "$as_me:34964: error: unrecognized option: $1
34965 Try \`$0 --help' for more information." >&5
34966 echo "$as_me: error: unrecognized option: $1
34967 Try \`$0 --help' for more information." >&2;}
34968 { (exit 1); exit 1; }; } ;;
34970 *) ac_config_targets="$ac_config_targets $1" ;;
34978 cat >>$CONFIG_STATUS <<_ACEOF
34980 # INIT-COMMANDS section.
34983 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34989 cat >>$CONFIG_STATUS <<\_ACEOF
34990 for ac_config_target in $ac_config_targets
34992 case "$ac_config_target" in
34993 # Handling of arguments.
34994 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34995 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
34996 "include/kadm5/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/kadm5/Makefile" ;;
34997 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
34998 "lib/45/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/45/Makefile" ;;
34999 "lib/auth/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/Makefile" ;;
35000 "lib/auth/afskauthlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/afskauthlib/Makefile" ;;
35001 "lib/auth/pam/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/pam/Makefile" ;;
35002 "lib/auth/sia/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/sia/Makefile" ;;
35003 "lib/asn1/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/asn1/Makefile" ;;
35004 "lib/com_err/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/com_err/Makefile" ;;
35005 "lib/des/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/des/Makefile" ;;
35006 "lib/editline/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/editline/Makefile" ;;
35007 "lib/gssapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/gssapi/Makefile" ;;
35008 "lib/hdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/hdb/Makefile" ;;
35009 "lib/kadm5/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kadm5/Makefile" ;;
35010 "lib/kafs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kafs/Makefile" ;;
35011 "lib/kdfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kdfs/Makefile" ;;
35012 "lib/krb5/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/krb5/Makefile" ;;
35013 "lib/otp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/otp/Makefile" ;;
35014 "lib/roken/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/roken/Makefile" ;;
35015 "lib/sl/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/sl/Makefile" ;;
35016 "lib/vers/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/vers/Makefile" ;;
35017 "kuser/Makefile" ) CONFIG_FILES="$CONFIG_FILES kuser/Makefile" ;;
35018 "kpasswd/Makefile" ) CONFIG_FILES="$CONFIG_FILES kpasswd/Makefile" ;;
35019 "kadmin/Makefile" ) CONFIG_FILES="$CONFIG_FILES kadmin/Makefile" ;;
35020 "admin/Makefile" ) CONFIG_FILES="$CONFIG_FILES admin/Makefile" ;;
35021 "kdc/Makefile" ) CONFIG_FILES="$CONFIG_FILES kdc/Makefile" ;;
35022 "appl/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/Makefile" ;;
35023 "appl/afsutil/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/afsutil/Makefile" ;;
35024 "appl/ftp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/Makefile" ;;
35025 "appl/ftp/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/common/Makefile" ;;
35026 "appl/ftp/ftp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/ftp/Makefile" ;;
35027 "appl/ftp/ftpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/ftpd/Makefile" ;;
35028 "appl/kx/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/kx/Makefile" ;;
35029 "appl/login/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/login/Makefile" ;;
35030 "appl/otp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/otp/Makefile" ;;
35031 "appl/popper/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/popper/Makefile" ;;
35032 "appl/push/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/push/Makefile" ;;
35033 "appl/rsh/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/rsh/Makefile" ;;
35034 "appl/rcp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/rcp/Makefile" ;;
35035 "appl/su/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/su/Makefile" ;;
35036 "appl/xnlock/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/xnlock/Makefile" ;;
35037 "appl/telnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/Makefile" ;;
35038 "appl/telnet/libtelnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/libtelnet/Makefile" ;;
35039 "appl/telnet/telnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/telnet/Makefile" ;;
35040 "appl/telnet/telnetd/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/telnetd/Makefile" ;;
35041 "appl/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/test/Makefile" ;;
35042 "appl/kf/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/kf/Makefile" ;;
35043 "appl/dceutils/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/dceutils/Makefile" ;;
35044 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
35045 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
35046 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
35047 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
35048 *) { { echo "$as_me:35048: error: invalid argument: $ac_config_target" >&5
35049 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35050 { (exit 1); exit 1; }; };;
35054 # If the user did not use the arguments to specify the items to instantiate,
35055 # then the envvar interface is used. Set only those that are not.
35056 # We use the long form for the default assignment because of an extremely
35057 # bizarre bug on SunOS 4.1.3.
35058 if $ac_need_defaults; then
35059 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35060 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35061 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35064 # Create a temporary directory, and hook for its removal unless debugging.
35067 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35068 trap '{ (exit 1); exit 1; }' 1 2 13 15
35071 # Create a (secure) tmp directory for tmp files.
35074 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
35075 test -n "$tmp" && test -d "$tmp"
35078 tmp=$TMPDIR/cs$$-$RANDOM
35079 (umask 077 && mkdir $tmp)
35082 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
35083 { (exit 1); exit 1; }
35088 cat >>$CONFIG_STATUS <<_ACEOF
35091 # CONFIG_FILES section.
35094 # No need to generate the scripts if there are no CONFIG_FILES.
35095 # This happens for instance when ./config.status config.h
35096 if test -n "\$CONFIG_FILES"; then
35097 # Protect against being on the right side of a sed subst in config.status.
35098 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35099 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35100 s,@SHELL@,$SHELL,;t t
35101 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35102 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35103 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35104 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35105 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35106 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35107 s,@exec_prefix@,$exec_prefix,;t t
35108 s,@prefix@,$prefix,;t t
35109 s,@program_transform_name@,$program_transform_name,;t t
35110 s,@bindir@,$bindir,;t t
35111 s,@sbindir@,$sbindir,;t t
35112 s,@libexecdir@,$libexecdir,;t t
35113 s,@datadir@,$datadir,;t t
35114 s,@sysconfdir@,$sysconfdir,;t t
35115 s,@sharedstatedir@,$sharedstatedir,;t t
35116 s,@localstatedir@,$localstatedir,;t t
35117 s,@libdir@,$libdir,;t t
35118 s,@includedir@,$includedir,;t t
35119 s,@oldincludedir@,$oldincludedir,;t t
35120 s,@infodir@,$infodir,;t t
35121 s,@mandir@,$mandir,;t t
35122 s,@build_alias@,$build_alias,;t t
35123 s,@host_alias@,$host_alias,;t t
35124 s,@target_alias@,$target_alias,;t t
35125 s,@DEFS@,$DEFS,;t t
35126 s,@ECHO_C@,$ECHO_C,;t t
35127 s,@ECHO_N@,$ECHO_N,;t t
35128 s,@ECHO_T@,$ECHO_T,;t t
35129 s,@LIBS@,$LIBS,;t t
35131 s,@CFLAGS@,$CFLAGS,;t t
35132 s,@LDFLAGS@,$LDFLAGS,;t t
35133 s,@CPPFLAGS@,$CPPFLAGS,;t t
35134 s,@ac_ct_CC@,$ac_ct_CC,;t t
35135 s,@EXEEXT@,$EXEEXT,;t t
35136 s,@OBJEXT@,$OBJEXT,;t t
35138 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35139 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35140 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35141 s,@PACKAGE@,$PACKAGE,;t t
35142 s,@VERSION@,$VERSION,;t t
35143 s,@ACLOCAL@,$ACLOCAL,;t t
35144 s,@AUTOCONF@,$AUTOCONF,;t t
35145 s,@AUTOMAKE@,$AUTOMAKE,;t t
35146 s,@AUTOHEADER@,$AUTOHEADER,;t t
35147 s,@MAKEINFO@,$MAKEINFO,;t t
35148 s,@AMTAR@,$AMTAR,;t t
35149 s,@install_sh@,$install_sh,;t t
35150 s,@STRIP@,$STRIP,;t t
35151 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
35152 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
35154 s,@SET_MAKE@,$SET_MAKE,;t t
35155 s,@DEPDIR@,$DEPDIR,;t t
35156 s,@am__include@,$am__include,;t t
35157 s,@am__quote@,$am__quote,;t t
35158 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
35159 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
35160 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
35161 s,@CCDEPMODE@,$CCDEPMODE,;t t
35162 s,@build@,$build,;t t
35163 s,@build_cpu@,$build_cpu,;t t
35164 s,@build_vendor@,$build_vendor,;t t
35165 s,@build_os@,$build_os,;t t
35166 s,@host@,$host,;t t
35167 s,@host_cpu@,$host_cpu,;t t
35168 s,@host_vendor@,$host_vendor,;t t
35169 s,@host_os@,$host_os,;t t
35170 s,@CANONICAL_HOST@,$CANONICAL_HOST,;t t
35171 s,@YACC@,$YACC,;t t
35173 s,@LEXLIB@,$LEXLIB,;t t
35174 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35175 s,@LN_S@,$LN_S,;t t
35176 s,@ECHO@,$ECHO,;t t
35177 s,@RANLIB@,$RANLIB,;t t
35178 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35179 s,@LIBTOOL@,$LIBTOOL,;t t
35180 s,@WFLAGS@,$WFLAGS,;t t
35181 s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
35182 s,@WFLAGS_NOIMPLICITINT@,$WFLAGS_NOIMPLICITINT,;t t
35183 s,@LIB_db_create@,$LIB_db_create,;t t
35184 s,@LIB_dbopen@,$LIB_dbopen,;t t
35185 s,@LIB_dbm_firstkey@,$LIB_dbm_firstkey,;t t
35186 s,@HAVE_DB1_TRUE@,$HAVE_DB1_TRUE,;t t
35187 s,@HAVE_DB1_FALSE@,$HAVE_DB1_FALSE,;t t
35188 s,@HAVE_DB3_TRUE@,$HAVE_DB3_TRUE,;t t
35189 s,@HAVE_DB3_FALSE@,$HAVE_DB3_FALSE,;t t
35190 s,@HAVE_NDBM_TRUE@,$HAVE_NDBM_TRUE,;t t
35191 s,@HAVE_NDBM_FALSE@,$HAVE_NDBM_FALSE,;t t
35192 s,@DBLIB@,$DBLIB,;t t
35193 s,@LIB_NDBM@,$LIB_NDBM,;t t
35194 s,@VOID_RETSIGTYPE@,$VOID_RETSIGTYPE,;t t
35195 s,@have_err_h_TRUE@,$have_err_h_TRUE,;t t
35196 s,@have_err_h_FALSE@,$have_err_h_FALSE,;t t
35197 s,@have_fnmatch_h_TRUE@,$have_fnmatch_h_TRUE,;t t
35198 s,@have_fnmatch_h_FALSE@,$have_fnmatch_h_FALSE,;t t
35199 s,@have_ifaddrs_h_TRUE@,$have_ifaddrs_h_TRUE,;t t
35200 s,@have_ifaddrs_h_FALSE@,$have_ifaddrs_h_FALSE,;t t
35201 s,@have_vis_h_TRUE@,$have_vis_h_TRUE,;t t
35202 s,@have_vis_h_FALSE@,$have_vis_h_FALSE,;t t
35203 s,@LIB_socket@,$LIB_socket,;t t
35204 s,@LIB_gethostbyname@,$LIB_gethostbyname,;t t
35205 s,@LIB_syslog@,$LIB_syslog,;t t
35206 s,@LIB_gethostbyname2@,$LIB_gethostbyname2,;t t
35207 s,@LIB_res_search@,$LIB_res_search,;t t
35208 s,@LIB_dn_expand@,$LIB_dn_expand,;t t
35209 s,@LIBOBJS@,$LIBOBJS,;t t
35210 s,@have_glob_h_TRUE@,$have_glob_h_TRUE,;t t
35211 s,@have_glob_h_FALSE@,$have_glob_h_FALSE,;t t
35212 s,@LIB_getsockopt@,$LIB_getsockopt,;t t
35213 s,@LIB_setsockopt@,$LIB_setsockopt,;t t
35214 s,@LIB_hstrerror@,$LIB_hstrerror,;t t
35215 s,@LIB_bswap16@,$LIB_bswap16,;t t
35216 s,@LIB_bswap32@,$LIB_bswap32,;t t
35217 s,@LIB_pidfile@,$LIB_pidfile,;t t
35218 s,@LIB_getaddrinfo@,$LIB_getaddrinfo,;t t
35219 s,@LIB_getnameinfo@,$LIB_getnameinfo,;t t
35220 s,@LIB_freeaddrinfo@,$LIB_freeaddrinfo,;t t
35221 s,@LIB_gai_strerror@,$LIB_gai_strerror,;t t
35222 s,@LIB_crypt@,$LIB_crypt,;t t
35223 s,@DIR_roken@,$DIR_roken,;t t
35224 s,@LIB_roken@,$LIB_roken,;t t
35225 s,@INCLUDES_roken@,$INCLUDES_roken,;t t
35226 s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
35227 s,@LIB_openldap@,$LIB_openldap,;t t
35228 s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
35229 s,@LIB_krb4@,$LIB_krb4,;t t
35230 s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
35231 s,@LIB_krb_enable_debug@,$LIB_krb_enable_debug,;t t
35232 s,@LIB_krb_disable_debug@,$LIB_krb_disable_debug,;t t
35233 s,@LIB_krb_get_our_ip_for_realm@,$LIB_krb_get_our_ip_for_realm,;t t
35234 s,@LIB_krb_kdctimeofday@,$LIB_krb_kdctimeofday,;t t
35235 s,@LIB_krb_get_kdc_time_diff@,$LIB_krb_get_kdc_time_diff,;t t
35236 s,@KRB4_TRUE@,$KRB4_TRUE,;t t
35237 s,@KRB4_FALSE@,$KRB4_FALSE,;t t
35238 s,@KRB5_TRUE@,$KRB5_TRUE,;t t
35239 s,@KRB5_FALSE@,$KRB5_FALSE,;t t
35240 s,@do_roken_rename_TRUE@,$do_roken_rename_TRUE,;t t
35241 s,@do_roken_rename_FALSE@,$do_roken_rename_FALSE,;t t
35242 s,@LIB_kdb@,$LIB_kdb,;t t
35243 s,@DCE_TRUE@,$DCE_TRUE,;t t
35244 s,@DCE_FALSE@,$DCE_FALSE,;t t
35245 s,@dpagaix_cflags@,$dpagaix_cflags,;t t
35246 s,@dpagaix_ldadd@,$dpagaix_ldadd,;t t
35247 s,@dpagaix_ldflags@,$dpagaix_ldflags,;t t
35248 s,@LIB_otp@,$LIB_otp,;t t
35249 s,@OTP_TRUE@,$OTP_TRUE,;t t
35250 s,@OTP_FALSE@,$OTP_FALSE,;t t
35251 s,@LIB_security@,$LIB_security,;t t
35252 s,@NROFF@,$NROFF,;t t
35253 s,@GROFF@,$GROFF,;t t
35254 s,@CATMAN@,$CATMAN,;t t
35255 s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
35256 s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
35257 s,@CATMANEXT@,$CATMANEXT,;t t
35258 s,@INCLUDE_readline@,$INCLUDE_readline,;t t
35259 s,@LIB_readline@,$LIB_readline,;t t
35260 s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
35261 s,@LIB_hesiod@,$LIB_hesiod,;t t
35262 s,@AIX_TRUE@,$AIX_TRUE,;t t
35263 s,@AIX_FALSE@,$AIX_FALSE,;t t
35264 s,@AIX4_TRUE@,$AIX4_TRUE,;t t
35265 s,@AIX4_FALSE@,$AIX4_FALSE,;t t
35266 s,@LIB_dlopen@,$LIB_dlopen,;t t
35267 s,@HAVE_DLOPEN_TRUE@,$HAVE_DLOPEN_TRUE,;t t
35268 s,@HAVE_DLOPEN_FALSE@,$HAVE_DLOPEN_FALSE,;t t
35269 s,@LIB_loadquery@,$LIB_loadquery,;t t
35270 s,@AIX_DYNAMIC_AFS_TRUE@,$AIX_DYNAMIC_AFS_TRUE,;t t
35271 s,@AIX_DYNAMIC_AFS_FALSE@,$AIX_DYNAMIC_AFS_FALSE,;t t
35272 s,@AIX_EXTRA_KAFS@,$AIX_EXTRA_KAFS,;t t
35273 s,@IRIX_TRUE@,$IRIX_TRUE,;t t
35274 s,@IRIX_FALSE@,$IRIX_FALSE,;t t
35275 s,@X_CFLAGS@,$X_CFLAGS,;t t
35276 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35277 s,@X_LIBS@,$X_LIBS,;t t
35278 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35279 s,@HAVE_X_TRUE@,$HAVE_X_TRUE,;t t
35280 s,@HAVE_X_FALSE@,$HAVE_X_FALSE,;t t
35281 s,@LIB_XauWriteAuth@,$LIB_XauWriteAuth,;t t
35282 s,@LIB_XauReadAuth@,$LIB_XauReadAuth,;t t
35283 s,@LIB_XauFileName@,$LIB_XauFileName,;t t
35284 s,@NEED_WRITEAUTH_TRUE@,$NEED_WRITEAUTH_TRUE,;t t
35285 s,@NEED_WRITEAUTH_FALSE@,$NEED_WRITEAUTH_FALSE,;t t
35286 s,@LIB_logwtmp@,$LIB_logwtmp,;t t
35287 s,@LIB_logout@,$LIB_logout,;t t
35288 s,@LIB_openpty@,$LIB_openpty,;t t
35289 s,@LIB_tgetent@,$LIB_tgetent,;t t
35290 s,@LIB_getpwnam_r@,$LIB_getpwnam_r,;t t
35291 s,@HAVE_OPENSSL_TRUE@,$HAVE_OPENSSL_TRUE,;t t
35292 s,@HAVE_OPENSSL_FALSE@,$HAVE_OPENSSL_FALSE,;t t
35293 s,@DIR_des@,$DIR_des,;t t
35294 s,@INCLUDE_des@,$INCLUDE_des,;t t
35295 s,@LIB_des@,$LIB_des,;t t
35296 s,@LIB_des_a@,$LIB_des_a,;t t
35297 s,@LIB_des_so@,$LIB_des_so,;t t
35298 s,@LIB_des_appl@,$LIB_des_appl,;t t
35299 s,@LIB_el_init@,$LIB_el_init,;t t
35300 s,@el_compat_TRUE@,$el_compat_TRUE,;t t
35301 s,@el_compat_FALSE@,$el_compat_FALSE,;t t
35302 s,@COMPILE_ET@,$COMPILE_ET,;t t
35303 s,@DIR_com_err@,$DIR_com_err,;t t
35304 s,@LIB_com_err@,$LIB_com_err,;t t
35305 s,@LIB_com_err_a@,$LIB_com_err_a,;t t
35306 s,@LIB_com_err_so@,$LIB_com_err_so,;t t
35307 s,@LIB_AUTH_SUBDIRS@,$LIB_AUTH_SUBDIRS,;t t
35308 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35313 cat >>$CONFIG_STATUS <<\_ACEOF
35314 # Split the substitutions into bite-sized pieces for seds with
35315 # small command number limits, like on Digital OSF/1 and HP-UX.
35316 ac_max_sed_lines=48
35317 ac_sed_frag=1 # Number of current file.
35318 ac_beg=1 # First line for current file.
35319 ac_end=$ac_max_sed_lines # Line after last line for current file.
35322 while $ac_more_lines; do
35323 if test $ac_beg -gt 1; then
35324 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35326 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35328 if test ! -s $tmp/subs.frag; then
35329 ac_more_lines=false
35331 # The purpose of the label and of the branching condition is to
35332 # speed up the sed processing (if there are no `@' at all, there
35333 # is no need to browse any of the substitutions).
35334 # These are the two extra sed commands mentioned above.
35336 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35337 if test -z "$ac_sed_cmds"; then
35338 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35340 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35342 ac_sed_frag=`expr $ac_sed_frag + 1`
35344 ac_end=`expr $ac_end + $ac_max_sed_lines`
35347 if test -z "$ac_sed_cmds"; then
35350 fi # test -n "$CONFIG_FILES"
35353 cat >>$CONFIG_STATUS <<\_ACEOF
35354 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35355 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35357 - | *:- | *:-:* ) # input from stdin
35359 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35360 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35361 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35362 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35363 * ) ac_file_in=$ac_file.in ;;
35366 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35367 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35368 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35369 X"$ac_file" : 'X\(//\)[^/]' \| \
35370 X"$ac_file" : 'X\(//\)$' \| \
35371 X"$ac_file" : 'X\(/\)' \| \
35372 . : '\(.\)' 2>/dev/null ||
35374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35375 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35376 /^X\(\/\/\)$/{ s//\1/; q; }
35377 /^X\(\/\).*/{ s//\1/; q; }
35379 { case "$ac_dir" in
35380 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
35384 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
35385 case $as_mkdir_dir in
35386 # Skip DOS drivespec
35387 ?:) as_incr_dir=$as_mkdir_dir ;;
35389 as_incr_dir=$as_incr_dir/$as_mkdir_dir
35390 test -d "$as_incr_dir" ||
35391 mkdir "$as_incr_dir" ||
35392 { { echo "$as_me:35392: error: cannot create \"$ac_dir\"" >&5
35393 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
35394 { (exit 1); exit 1; }; }
35401 if test "$ac_dir" != .; then
35402 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35403 # A "../" for each directory in $ac_dir_suffix.
35404 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35406 ac_dir_suffix= ac_top_builddir=
35410 .) # No --srcdir option. We are building in place.
35412 if test -z "$ac_top_builddir"; then
35415 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35417 [\\/]* | ?:[\\/]* ) # Absolute path.
35418 ac_srcdir=$srcdir$ac_dir_suffix;
35419 ac_top_srcdir=$srcdir ;;
35420 *) # Relative path.
35421 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35422 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35424 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35426 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35427 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
35428 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35429 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35433 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35434 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35437 if test x"$ac_file" != x-; then
35438 { echo "$as_me:35438: creating $ac_file" >&5
35439 echo "$as_me: creating $ac_file" >&6;}
35442 # Let's still pretend it is `configure' which instantiates (i.e., don't
35443 # use $as_me), people would be surprised to read:
35444 # /* config.h. Generated by config.status. */
35445 if test x"$ac_file" = x-; then
35448 configure_input="$ac_file. "
35450 configure_input=$configure_input"Generated from `echo $ac_file_in |
35451 sed 's,.*/,,'` by configure."
35453 # First look for the input files in the build tree, otherwise in the
35455 ac_file_inputs=`IFS=:
35456 for f in $ac_file_in; do
35458 -) echo $tmp/stdin ;;
35460 # Absolute (can't be DOS-style, as IFS=:)
35461 test -f "$f" || { { echo "$as_me:35461: error: cannot find input file: $f" >&5
35462 echo "$as_me: error: cannot find input file: $f" >&2;}
35463 { (exit 1); exit 1; }; }
35466 if test -f "$f"; then
35469 elif test -f "$srcdir/$f"; then
35474 { { echo "$as_me:35474: error: cannot find input file: $f" >&5
35475 echo "$as_me: error: cannot find input file: $f" >&2;}
35476 { (exit 1); exit 1; }; }
35479 done` || { (exit 1); exit 1; }
35481 cat >>$CONFIG_STATUS <<_ACEOF
35485 cat >>$CONFIG_STATUS <<\_ACEOF
35487 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35488 s,@configure_input@,$configure_input,;t t
35489 s,@srcdir@,$ac_srcdir,;t t
35490 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35491 s,@top_srcdir@,$ac_top_srcdir,;t t
35492 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35493 s,@builddir@,$ac_builddir,;t t
35494 s,@abs_builddir@,$ac_abs_builddir,;t t
35495 s,@top_builddir@,$ac_top_builddir,;t t
35496 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35497 s,@INSTALL@,$ac_INSTALL,;t t
35498 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35500 if test x"$ac_file" != x-; then
35501 mv $tmp/out $ac_file
35509 cat >>$CONFIG_STATUS <<\_ACEOF
35512 # CONFIG_HEADER section.
35515 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35516 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35518 # ac_d sets the value in "#define NAME VALUE" lines.
35519 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35520 ac_dB='[ ].*$,\1#\2'
35523 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35524 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35525 ac_uB='$,\1#\2define\3'
35529 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35530 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35532 - | *:- | *:-:* ) # input from stdin
35534 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35535 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35536 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35537 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35538 * ) ac_file_in=$ac_file.in ;;
35541 test x"$ac_file" != x- && { echo "$as_me:35541: creating $ac_file" >&5
35542 echo "$as_me: creating $ac_file" >&6;}
35544 # First look for the input files in the build tree, otherwise in the
35546 ac_file_inputs=`IFS=:
35547 for f in $ac_file_in; do
35549 -) echo $tmp/stdin ;;
35551 # Absolute (can't be DOS-style, as IFS=:)
35552 test -f "$f" || { { echo "$as_me:35552: error: cannot find input file: $f" >&5
35553 echo "$as_me: error: cannot find input file: $f" >&2;}
35554 { (exit 1); exit 1; }; }
35557 if test -f "$f"; then
35560 elif test -f "$srcdir/$f"; then
35565 { { echo "$as_me:35565: error: cannot find input file: $f" >&5
35566 echo "$as_me: error: cannot find input file: $f" >&2;}
35567 { (exit 1); exit 1; }; }
35570 done` || { (exit 1); exit 1; }
35571 # Remove the trailing spaces.
35572 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35576 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35577 # `conftest.undefs', that substitutes the proper values into
35578 # config.h.in to produce config.h. The first handles `#define'
35579 # templates, and the second `#undef' templates.
35580 # And first: Protect against being on the right side of a sed subst in
35581 # config.status. Protect against being in an unquoted here document
35582 # in config.status.
35583 rm -f conftest.defines conftest.undefs
35584 # Using a here document instead of a string reduces the quoting nightmare.
35585 # Putting comments in sed scripts is not portable.
35587 # `end' is used to avoid that the second main sed command (meant for
35588 # 0-ary CPP macros) applies to n-ary macro definitions.
35589 # See the Autoconf documentation for `clear'.
35590 cat >confdef2sed.sed <<\_ACEOF
35595 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35597 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35600 # If some macros were called several times there might be several times
35601 # the same #defines, which is useless. Nevertheless, we may not want to
35602 # sort them, since we want the *last* AC-DEFINE to be honored.
35603 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35604 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35605 rm -f confdef2sed.sed
35607 # This sed command replaces #undef with comments. This is necessary, for
35608 # example, in the case of _POSIX_SOURCE, which is predefined and required
35609 # on some systems where configure will not decide to define it.
35610 cat >>conftest.undefs <<\_ACEOF
35611 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35614 # Break up conftest.defines because some shells have a limit on the size
35615 # of here documents, and old seds have small limits too (100 cmds).
35616 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35617 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35618 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35619 echo ' :' >>$CONFIG_STATUS
35620 rm -f conftest.tail
35621 while grep . conftest.defines >/dev/null
35623 # Write a limited-size here document to $tmp/defines.sed.
35624 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35625 # Speed up: don't consider the non `#define' lines.
35626 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35627 # Work around the forget-to-reset-the-flag bug.
35628 echo 't clr' >>$CONFIG_STATUS
35629 echo ': clr' >>$CONFIG_STATUS
35630 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35632 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35634 mv $tmp/out $tmp/in
35636 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35637 rm -f conftest.defines
35638 mv conftest.tail conftest.defines
35640 rm -f conftest.defines
35641 echo ' fi # egrep' >>$CONFIG_STATUS
35642 echo >>$CONFIG_STATUS
35644 # Break up conftest.undefs because some shells have a limit on the size
35645 # of here documents, and old seds have small limits too (100 cmds).
35646 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35647 rm -f conftest.tail
35648 while grep . conftest.undefs >/dev/null
35650 # Write a limited-size here document to $tmp/undefs.sed.
35651 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35652 # Speed up: don't consider the non `#undef'
35653 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35654 # Work around the forget-to-reset-the-flag bug.
35655 echo 't clr' >>$CONFIG_STATUS
35656 echo ': clr' >>$CONFIG_STATUS
35657 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35659 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35661 mv $tmp/out $tmp/in
35663 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35664 rm -f conftest.undefs
35665 mv conftest.tail conftest.undefs
35667 rm -f conftest.undefs
35669 cat >>$CONFIG_STATUS <<\_ACEOF
35670 # Let's still pretend it is `configure' which instantiates (i.e., don't
35671 # use $as_me), people would be surprised to read:
35672 # /* config.h. Generated by config.status. */
35673 if test x"$ac_file" = x-; then
35674 echo "/* Generated by configure. */" >$tmp/config.h
35676 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35678 cat $tmp/in >>$tmp/config.h
35680 if test x"$ac_file" != x-; then
35681 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
35682 { echo "$as_me:35682: $ac_file is unchanged" >&5
35683 echo "$as_me: $ac_file is unchanged" >&6;}
35685 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35686 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35687 X"$ac_file" : 'X\(//\)[^/]' \| \
35688 X"$ac_file" : 'X\(//\)$' \| \
35689 X"$ac_file" : 'X\(/\)' \| \
35690 . : '\(.\)' 2>/dev/null ||
35692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35693 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35694 /^X\(\/\/\)$/{ s//\1/; q; }
35695 /^X\(\/\).*/{ s//\1/; q; }
35697 { case "$ac_dir" in
35698 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
35702 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
35703 case $as_mkdir_dir in
35704 # Skip DOS drivespec
35705 ?:) as_incr_dir=$as_mkdir_dir ;;
35707 as_incr_dir=$as_incr_dir/$as_mkdir_dir
35708 test -d "$as_incr_dir" ||
35709 mkdir "$as_incr_dir" ||
35710 { { echo "$as_me:35710: error: cannot create \"$ac_dir\"" >&5
35711 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
35712 { (exit 1); exit 1; }; }
35718 mv $tmp/config.h $ac_file
35722 rm -f $tmp/config.h
35724 # Run the commands associated with the file.
35726 include/config.h ) # update the timestamp
35727 echo 'timestamp for include/config.h' >"include/stamp-h1"
35732 cat >>$CONFIG_STATUS <<\_ACEOF
35735 # CONFIG_COMMANDS section.
35737 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35738 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35739 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35740 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35741 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35742 X"$ac_dest" : 'X\(//\)[^/]' \| \
35743 X"$ac_dest" : 'X\(//\)$' \| \
35744 X"$ac_dest" : 'X\(/\)' \| \
35745 . : '\(.\)' 2>/dev/null ||
35747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35748 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35749 /^X\(\/\/\)$/{ s//\1/; q; }
35750 /^X\(\/\).*/{ s//\1/; q; }
35754 if test "$ac_dir" != .; then
35755 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35756 # A "../" for each directory in $ac_dir_suffix.
35757 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35759 ac_dir_suffix= ac_top_builddir=
35763 .) # No --srcdir option. We are building in place.
35765 if test -z "$ac_top_builddir"; then
35768 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35770 [\\/]* | ?:[\\/]* ) # Absolute path.
35771 ac_srcdir=$srcdir$ac_dir_suffix;
35772 ac_top_srcdir=$srcdir ;;
35773 *) # Relative path.
35774 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35775 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35777 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35779 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35780 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
35781 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35782 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35785 { echo "$as_me:35785: executing $ac_dest commands" >&5
35786 echo "$as_me: executing $ac_dest commands" >&6;}
35788 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35789 # Strip MF so we end up with the name of the file.
35790 mf=`echo "$mf" | sed -e 's/:.*$//'`
35791 # Check whether this is an Automake generated Makefile or not.
35792 # We used to match only the files named `Makefile.in', but
35793 # some people rename them; so instead we look at the file content.
35794 # Grep'ing the first line is not enough: some people post-process
35795 # each Makefile.in and add a new line on top of each file to say so.
35796 # So let's grep whole file.
35797 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35798 dirpart=`(dirname "$mf") 2>/dev/null ||
35799 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35800 X"$mf" : 'X\(//\)[^/]' \| \
35801 X"$mf" : 'X\(//\)$' \| \
35802 X"$mf" : 'X\(/\)' \| \
35803 . : '\(.\)' 2>/dev/null ||
35805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35806 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35807 /^X\(\/\/\)$/{ s//\1/; q; }
35808 /^X\(\/\).*/{ s//\1/; q; }
35813 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
35814 # Extract the definition of DEP_FILES from the Makefile without
35816 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
35817 test -z "$DEPDIR" && continue
35818 # When using ansi2knr, U may be empty or an underscore; expand it
35819 U=`sed -n -e '/^U = / s///p' < "$mf"`
35820 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
35821 # We invoke sed twice because it is the simplest approach to
35822 # changing $(DEPDIR) to its actual value in the expansion.
35823 for file in `sed -n -e '
35824 /^DEP_FILES = .*\\\\$/ {
35833 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
35834 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35835 # Make sure the directory exists.
35836 test -f "$dirpart/$file" && continue
35837 fdir=`(dirname "$file") 2>/dev/null ||
35838 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35839 X"$file" : 'X\(//\)[^/]' \| \
35840 X"$file" : 'X\(//\)$' \| \
35841 X"$file" : 'X\(/\)' \| \
35842 . : '\(.\)' 2>/dev/null ||
35844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35845 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35846 /^X\(\/\/\)$/{ s//\1/; q; }
35847 /^X\(\/\).*/{ s//\1/; q; }
35849 { case $dirpart/$fdir in
35850 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
35853 as_dummy=$dirpart/$fdir
35854 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
35855 case $as_mkdir_dir in
35856 # Skip DOS drivespec
35857 ?:) as_incr_dir=$as_mkdir_dir ;;
35859 as_incr_dir=$as_incr_dir/$as_mkdir_dir
35860 test -d "$as_incr_dir" ||
35861 mkdir "$as_incr_dir" ||
35862 { { echo "$as_me:35862: error: cannot create $dirpart/$fdir" >&5
35863 echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
35864 { (exit 1); exit 1; }; }
35869 # echo "creating $dirpart/$file"
35870 echo '# dummy' > "$dirpart/$file"
35878 cat >>$CONFIG_STATUS <<\_ACEOF
35880 { (exit 0); exit 0; }
35882 chmod +x $CONFIG_STATUS
35883 ac_clean_files=$ac_clean_files_save
35886 # configure is writing to config.log, and then calls config.status.
35887 # config.status does its own redirection, appending to config.log.
35888 # Unfortunately, on DOS this fails, as config.log is still kept open
35889 # by configure, so config.status won't be able to write to it; its
35890 # output is simply discarded. So we exec the FD to /dev/null,
35891 # effectively closing config.log, so it can be properly (re)opened and
35892 # appended to by config.status. When coming back to configure, we
35893 # need to make the FD available again.
35894 if test "$no_create" != yes; then
35897 $SHELL $CONFIG_STATUS || ac_cs_success=false
35899 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35900 # would make configure fail if this is the last instruction.
35901 $ac_cs_success || { (exit 1); exit 1; }
35906 cat > include/newversion.h.in <<EOF
35907 const char *heimdal_long_version = "@(#)\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$";
35908 const char *heimdal_version = "Heimdal 0.4f";
35911 if test -f include/version.h && cmp -s include/newversion.h.in include/version.h.in; then
35912 echo "include/version.h is unchanged"
35913 rm -f include/newversion.h.in
35915 echo "creating include/version.h"
35916 User=${USER-${LOGNAME}}
35917 Host=`(hostname || uname -n || echo unknown) 2>/dev/null | sed 1q`
35919 mv -f include/newversion.h.in include/version.h.in
35920 sed -e "s/@USER@/$User/" -e "s/@HOST@/$Host/" -e "s/@DATE@/$Date/" include/version.h.in > include/version.h