comparison configure @ 48200:abfcf5ec4ad2

Regenerated.
author Markus Rost <rost@math.uni-bielefeld.de>
date Thu, 07 Nov 2002 17:33:03 +0000
parents ca6ea93e02f2
children 55c749e7394a
comparison
equal deleted inserted replaced
48199:087f372af5bb 48200:abfcf5ec4ad2
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52. 3 # Generated by GNU Autoconf 2.53.
4 # 4 #
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc. 6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation 7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it. 8 # gives unlimited permission to copy, distribute and modify it.
9 9
10 if expr a : '\(a\)' >/dev/null 2>&1; then
11 as_expr=expr
12 else
13 as_expr=false
14 fi
15
16
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
20
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 emulate sh
24 NULLCMD=:
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 set -o posix
27 fi
28
29 # NLS nuisances.
30 # Support unset when possible.
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 as_unset=unset
33 else
34 as_unset=false
35 fi
36
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
61
62
63 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
69 echo X/"$0" |
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
73 s/.*/./; q'`
74
75 # PATH needs CR, and LINENO needs CR and PATH.
10 # Avoid depending upon Character Ranges. 76 # Avoid depending upon Character Ranges.
11 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14 as_cr_digits='0123456789' 80 as_cr_digits='0123456789'
15 as_cr_alnum=$as_cr_Letters$as_cr_digits 81 as_cr_alnum=$as_cr_Letters$as_cr_digits
16 82
17 # Sed expression to map a string onto a valid variable name. 83 # The user is always right.
18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 84 if test "${PATH_SEPARATOR+set}" != set; then
19 85 echo "#! /bin/sh" >conftest.sh
20 # Sed expression to map a string onto a valid CPP name. 86 echo "exit 0" >>conftest.sh
21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 87 chmod +x conftest.sh
22 88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
23 # Be Bourne compatible 89 PATH_SEPARATOR=';'
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 90 else
25 emulate sh 91 PATH_SEPARATOR=:
26 NULLCMD=: 92 fi
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 93 rm -f conftest.sh
28 set -o posix 94 fi
29 fi 95
30 96
31 # Name of the executable. 97 as_lineno_1=$LINENO
32 as_me=`echo "$0" |sed 's,.*[\\/],,'` 98 as_lineno_2=$LINENO
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
103 # relative or not.
104 case $0 in
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107 for as_dir in $PATH
108 do
109 IFS=$as_save_IFS
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 done
113
114 ;;
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119 as_myself=$0
120 fi
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
124 fi
125 case $CONFIG_SHELL in
126 '')
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129 do
130 IFS=$as_save_IFS
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
133 case $as_dir in
134 /*)
135 if ("$as_dir/$as_base" -c '
136 as_lineno_1=$LINENO
137 as_lineno_2=$LINENO
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
142 export CONFIG_SHELL
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144 fi;;
145 esac
146 done
147 done
148 ;;
149 esac
150
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
160 sed '
161 N
162 s,$,-,
163 : loop
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165 t loop
166 s,-$,,
167 s,^['$as_cr_digits']*\n,,
168 ' >$as_me.lineno &&
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
172
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
176 . ./$as_me.lineno
177 # Exit status is that of the last command.
178 exit
179 }
180
181
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
184 ' ECHO_T=' ' ;;
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
187 esac
33 188
34 if expr a : '\(a\)' >/dev/null 2>&1; then 189 if expr a : '\(a\)' >/dev/null 2>&1; then
35 as_expr=expr 190 as_expr=expr
36 else 191 else
37 as_expr=false 192 as_expr=false
55 fi 210 fi
56 rm -f conf$$ conf$$.exe conf$$.file 211 rm -f conf$$ conf$$.exe conf$$.file
57 212
58 as_executable_p="test -f" 213 as_executable_p="test -f"
59 214
60 # Support unset when possible. 215 # Sed expression to map a string onto a valid CPP name.
61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
62 as_unset=unset 217
63 else 218 # Sed expression to map a string onto a valid variable name.
64 as_unset=false 219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
65 fi 220
66
67 # NLS nuisances.
68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
76 221
77 # IFS 222 # IFS
78 # We need space, tab and new line, in precisely that order. 223 # We need space, tab and new line, in precisely that order.
79 as_nl=' 224 as_nl='
80 ' 225 '
81 IFS=" $as_nl" 226 IFS=" $as_nl"
82 227
83 # CDPATH. 228 # CDPATH.
84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230
85 231
86 # Name of the host. 232 # Name of the host.
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too. 234 # so uname gets run too.
89 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
94 # Initializations. 240 # Initializations.
95 # 241 #
96 ac_default_prefix=/usr/local 242 ac_default_prefix=/usr/local
97 cross_compiling=no 243 cross_compiling=no
98 subdirs= 244 subdirs=
99 MFLAGS= MAKEFLAGS= 245 MFLAGS=
246 MAKEFLAGS=
100 SHELL=${CONFIG_SHELL-/bin/sh} 247 SHELL=${CONFIG_SHELL-/bin/sh}
101 248
102 # Maximum number of lines to put in a shell here document. 249 # Maximum number of lines to put in a shell here document.
103 # This variable seems obsolete. It should probably be removed, and 250 # This variable seems obsolete. It should probably be removed, and
104 # only ac_max_sed_lines should be used. 251 # only ac_max_sed_lines should be used.
105 : ${ac_max_here_lines=38} 252 : ${ac_max_here_lines=38}
253
254 # Identity of this package.
255 PACKAGE_NAME=
256 PACKAGE_TARNAME=
257 PACKAGE_VERSION=
258 PACKAGE_STRING=
259 PACKAGE_BUGREPORT=
106 260
107 ac_unique_file="src/lisp.h" 261 ac_unique_file="src/lisp.h"
108 # Factoring default headers for most tests. 262 # Factoring default headers for most tests.
109 ac_includes_default="\ 263 ac_includes_default="\
110 #include <stdio.h> 264 #include <stdio.h>
139 # endif 293 # endif
140 #endif 294 #endif
141 #if HAVE_UNISTD_H 295 #if HAVE_UNISTD_H
142 # include <unistd.h> 296 # include <unistd.h>
143 #endif" 297 #endif"
298
144 299
145 # Initialize some variables set by options. 300 # Initialize some variables set by options.
146 ac_init_help= 301 ac_init_help=
147 ac_init_version=false 302 ac_init_version=false
148 # The variables have the same names as the options, with 303 # The variables have the same names as the options, with
178 includedir='${prefix}/include' 333 includedir='${prefix}/include'
179 oldincludedir='/usr/include' 334 oldincludedir='/usr/include'
180 infodir='${prefix}/info' 335 infodir='${prefix}/info'
181 mandir='${prefix}/man' 336 mandir='${prefix}/man'
182 337
183 # Identity of this package.
184 PACKAGE_NAME=
185 PACKAGE_TARNAME=
186 PACKAGE_VERSION=
187 PACKAGE_STRING=
188 PACKAGE_BUGREPORT=
189
190 ac_prev= 338 ac_prev=
191 for ac_option 339 for ac_option
192 do 340 do
193 # If the previous option needs an argument, assign it. 341 # If the previous option needs an argument, assign it.
194 if test -n "$ac_prev"; then 342 if test -n "$ac_prev"; then
317 -nfp | --nfp | --nf) 465 -nfp | --nfp | --nf)
318 # Obsolete; use --without-fp. 466 # Obsolete; use --without-fp.
319 with_fp=no ;; 467 with_fp=no ;;
320 468
321 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
322 | --no-cr | --no-c) 470 | --no-cr | --no-c | -n)
323 no_create=yes ;; 471 no_create=yes ;;
324 472
325 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
326 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
327 no_recursion=yes ;; 475 no_recursion=yes ;;
496 for ac_var in exec_prefix prefix 644 for ac_var in exec_prefix prefix
497 do 645 do
498 eval ac_val=$`echo $ac_var` 646 eval ac_val=$`echo $ac_var`
499 case $ac_val in 647 case $ac_val in
500 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
501 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
502 { (exit 1); exit 1; }; };; 650 { (exit 1); exit 1; }; };;
503 esac 651 esac
504 done 652 done
505 653
506 # Be sure to have absolute paths. 654 # Be sure to have absolute paths.
508 localstatedir libdir includedir oldincludedir infodir mandir 656 localstatedir libdir includedir oldincludedir infodir mandir
509 do 657 do
510 eval ac_val=$`echo $ac_var` 658 eval ac_val=$`echo $ac_var`
511 case $ac_val in 659 case $ac_val in
512 [\\/$]* | ?:[\\/]* ) ;; 660 [\\/$]* | ?:[\\/]* ) ;;
513 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
514 { (exit 1); exit 1; }; };; 662 { (exit 1); exit 1; }; };;
515 esac 663 esac
516 done 664 done
517 665
518 # There might be people who depend on the old broken behavior: `$host' 666 # There might be people who depend on the old broken behavior: `$host'
519 # used to hold the argument of --host etc. 667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
520 build=$build_alias 669 build=$build_alias
521 host=$host_alias 670 host=$host_alias
522 target=$target_alias 671 target=$target_alias
523 672
524 # FIXME: should be removed in autoconf 3.0. 673 # FIXME: To remove some day.
525 if test "x$host_alias" != x; then 674 if test "x$host_alias" != x; then
526 if test "x$build_alias" = x; then 675 if test "x$build_alias" = x; then
527 cross_compiling=maybe 676 cross_compiling=maybe
528 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
529 If a cross compiler is detected then cross compile mode will be used." >&2 678 If a cross compiler is detected then cross compile mode will be used." >&2
535 ac_tool_prefix= 684 ac_tool_prefix=
536 test -n "$host_alias" && ac_tool_prefix=$host_alias- 685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
537 686
538 test "$silent" = yes && exec 6>/dev/null 687 test "$silent" = yes && exec 6>/dev/null
539 688
689
540 # Find the source files, if location was not specified. 690 # Find the source files, if location was not specified.
541 if test -z "$srcdir"; then 691 if test -z "$srcdir"; then
542 ac_srcdir_defaulted=yes 692 ac_srcdir_defaulted=yes
543 # Try the directory containing this script, then its parent. 693 # Try the directory containing this script, then its parent.
544 ac_prog=$0 694 ac_confdir=`(dirname "$0") 2>/dev/null ||
545 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
700 echo X"$0" |
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
705 s/.*/./; q'`
547 srcdir=$ac_confdir 706 srcdir=$ac_confdir
548 if test ! -r $srcdir/$ac_unique_file; then 707 if test ! -r $srcdir/$ac_unique_file; then
549 srcdir=.. 708 srcdir=..
550 fi 709 fi
551 else 710 else
552 ac_srcdir_defaulted=no 711 ac_srcdir_defaulted=no
553 fi 712 fi
554 if test ! -r $srcdir/$ac_unique_file; then 713 if test ! -r $srcdir/$ac_unique_file; then
555 if test "$ac_srcdir_defaulted" = yes; then 714 if test "$ac_srcdir_defaulted" = yes; then
556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
557 { (exit 1); exit 1; }; } 716 { (exit 1); exit 1; }; }
558 else 717 else
559 { echo "$as_me: error: cannot find sources in $srcdir" >&2 718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
560 { (exit 1); exit 1; }; } 719 { (exit 1); exit 1; }; }
561 fi 720 fi
562 fi 721 fi
563 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
564 ac_env_build_alias_set=${build_alias+set} 723 ac_env_build_alias_set=${build_alias+set}
598 # Report the --help message. 757 # Report the --help message.
599 # 758 #
600 if test "$ac_init_help" = "long"; then 759 if test "$ac_init_help" = "long"; then
601 # Omit some internal or obsolete options to make the list less imposing. 760 # Omit some internal or obsolete options to make the list less imposing.
602 # This message is too long to be a string in the A/UX 3.1 sh. 761 # This message is too long to be a string in the A/UX 3.1 sh.
603 cat <<EOF 762 cat <<_ACEOF
604 \`configure' configures this package to adapt to many kinds of systems. 763 \`configure' configures this package to adapt to many kinds of systems.
605 764
606 Usage: $0 [OPTION]... [VAR=VALUE]... 765 Usage: $0 [OPTION]... [VAR=VALUE]...
607 766
608 To assign environment variables (e.g., CC, CFLAGS...), specify them as 767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
619 --cache-file=FILE cache test results in FILE [disabled] 778 --cache-file=FILE cache test results in FILE [disabled]
620 -C, --config-cache alias for \`--cache-file=config.cache' 779 -C, --config-cache alias for \`--cache-file=config.cache'
621 -n, --no-create do not create output files 780 -n, --no-create do not create output files
622 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
623 782
624 EOF 783 _ACEOF
625 784
626 cat <<EOF 785 cat <<_ACEOF
627 Installation directories: 786 Installation directories:
628 --prefix=PREFIX install architecture-independent files in PREFIX 787 --prefix=PREFIX install architecture-independent files in PREFIX
629 [$ac_default_prefix] 788 [$ac_default_prefix]
630 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
631 [PREFIX] 790 [PREFIX]
648 --libdir=DIR object code libraries [EPREFIX/lib] 807 --libdir=DIR object code libraries [EPREFIX/lib]
649 --includedir=DIR C header files [PREFIX/include] 808 --includedir=DIR C header files [PREFIX/include]
650 --oldincludedir=DIR C header files for non-gcc [/usr/include] 809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
651 --infodir=DIR info documentation [PREFIX/info] 810 --infodir=DIR info documentation [PREFIX/info]
652 --mandir=DIR man documentation [PREFIX/man] 811 --mandir=DIR man documentation [PREFIX/man]
653 EOF 812 _ACEOF
654 813
655 cat <<\EOF 814 cat <<\_ACEOF
656 815
657 Program names: 816 Program names:
658 --program-prefix=PREFIX prepend PREFIX to installed program names 817 --program-prefix=PREFIX prepend PREFIX to installed program names
659 --program-suffix=SUFFIX append SUFFIX to installed program names 818 --program-suffix=SUFFIX append SUFFIX to installed program names
660 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 819 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
663 --x-includes=DIR X include files are in DIR 822 --x-includes=DIR X include files are in DIR
664 --x-libraries=DIR X library files are in DIR 823 --x-libraries=DIR X library files are in DIR
665 824
666 System types: 825 System types:
667 --build=BUILD configure for building on BUILD [guessed] 826 --build=BUILD configure for building on BUILD [guessed]
668 --host=HOST build programs to run on HOST [BUILD] 827 --host=HOST cross-compile to build programs to run on HOST [BUILD]
669 EOF 828 _ACEOF
670 fi 829 fi
671 830
672 if test -n "$ac_init_help"; then 831 if test -n "$ac_init_help"; then
673 832
674 cat <<\EOF 833 cat <<\_ACEOF
675 834
676 Optional Features: 835 Optional Features:
677 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 836 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
678 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 837 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
679 --disable-largefile omit support for large files 838 --disable-largefile omit support for large files
709 CPP C preprocessor 868 CPP C preprocessor
710 869
711 Use these variables to override the choices made by `configure' or to help 870 Use these variables to override the choices made by `configure' or to help
712 it to find libraries and programs with nonstandard names/locations. 871 it to find libraries and programs with nonstandard names/locations.
713 872
714 EOF 873 _ACEOF
715 fi 874 fi
716 875
717 if test "$ac_init_help" = "recursive"; then 876 if test "$ac_init_help" = "recursive"; then
718 # If there are subdirs, report their specific --help. 877 # If there are subdirs, report their specific --help.
719 ac_popdir=`pwd` 878 ac_popdir=`pwd`
720 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
721 cd $ac_subdir 880 test -d $ac_dir || continue
722 # A "../" for each directory in /$ac_subdir. 881 ac_builddir=.
723 ac_dots=`echo $ac_subdir | 882
724 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 883 if test "$ac_dir" != .; then
725 884 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
726 case $srcdir in 885 # A "../" for each directory in $ac_dir_suffix.
727 .) # No --srcdir option. We are building in place. 886 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
728 ac_sub_srcdir=$srcdir ;; 887 else
729 [\\/]* | ?:[\\/]* ) # Absolute path. 888 ac_dir_suffix= ac_top_builddir=
730 ac_sub_srcdir=$srcdir/$ac_subdir ;; 889 fi
731 *) # Relative path. 890
732 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 891 case $srcdir in
733 esac 892 .) # No --srcdir option. We are building in place.
734 893 ac_srcdir=.
894 if test -z "$ac_top_builddir"; then
895 ac_top_srcdir=.
896 else
897 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
898 fi ;;
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
902 *) # Relative path.
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
905 esac
906 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
907 # absolute.
908 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
909 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
910 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
911 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
912
913 cd $ac_dir
735 # Check for guested configure; otherwise get Cygnus style configure. 914 # Check for guested configure; otherwise get Cygnus style configure.
736 if test -f $ac_sub_srcdir/configure.gnu; then 915 if test -f $ac_srcdir/configure.gnu; then
737 echo 916 echo
738 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 917 $SHELL $ac_srcdir/configure.gnu --help=recursive
739 elif test -f $ac_sub_srcdir/configure; then 918 elif test -f $ac_srcdir/configure; then
740 echo 919 echo
741 $SHELL $ac_sub_srcdir/configure --help=recursive 920 $SHELL $ac_srcdir/configure --help=recursive
742 elif test -f $ac_sub_srcdir/configure.ac || 921 elif test -f $ac_srcdir/configure.ac ||
743 test -f $ac_sub_srcdir/configure.in; then 922 test -f $ac_srcdir/configure.in; then
744 echo 923 echo
745 $ac_configure --help 924 $ac_configure --help
746 else 925 else
747 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 926 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
748 fi 927 fi
749 cd $ac_popdir 928 cd $ac_popdir
750 done 929 done
751 fi 930 fi
752 931
753 test -n "$ac_init_help" && exit 0 932 test -n "$ac_init_help" && exit 0
754 if $ac_init_version; then 933 if $ac_init_version; then
755 cat <<\EOF 934 cat <<\_ACEOF
756 935
757 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 936 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
758 Free Software Foundation, Inc. 937 Free Software Foundation, Inc.
759 This configure script is free software; the Free Software Foundation 938 This configure script is free software; the Free Software Foundation
760 gives unlimited permission to copy, distribute and modify it. 939 gives unlimited permission to copy, distribute and modify it.
761 EOF 940 _ACEOF
762 exit 0 941 exit 0
763 fi 942 fi
764 exec 5>config.log 943 exec 5>config.log
765 cat >&5 <<EOF 944 cat >&5 <<_ACEOF
766 This file contains any messages produced by compilers while 945 This file contains any messages produced by compilers while
767 running configure, to aid debugging if configure makes a mistake. 946 running configure, to aid debugging if configure makes a mistake.
768 947
769 It was created by $as_me, which was 948 It was created by $as_me, which was
770 generated by GNU Autoconf 2.52. Invocation command line was 949 generated by GNU Autoconf 2.53. Invocation command line was
771 950
772 $ $0 $@ 951 $ $0 $@
773 952
774 EOF 953 _ACEOF
775 { 954 {
776 cat <<_ASUNAME 955 cat <<_ASUNAME
777 ## ---------- ## 956 ## --------- ##
778 ## Platform. ## 957 ## Platform. ##
779 ## ---------- ## 958 ## --------- ##
780 959
781 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 960 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
782 uname -m = `(uname -m) 2>/dev/null || echo unknown` 961 uname -m = `(uname -m) 2>/dev/null || echo unknown`
783 uname -r = `(uname -r) 2>/dev/null || echo unknown` 962 uname -r = `(uname -r) 2>/dev/null || echo unknown`
784 uname -s = `(uname -s) 2>/dev/null || echo unknown` 963 uname -s = `(uname -s) 2>/dev/null || echo unknown`
793 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 972 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
794 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 973 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
795 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 974 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
796 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 975 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
797 976
798 PATH = $PATH
799
800 _ASUNAME 977 _ASUNAME
978
979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
980 for as_dir in $PATH
981 do
982 IFS=$as_save_IFS
983 test -z "$as_dir" && as_dir=.
984 echo "PATH: $as_dir"
985 done
986
801 } >&5 987 } >&5
802 988
803 cat >&5 <<EOF 989 cat >&5 <<_ACEOF
804 ## ------------ ## 990
805 ## Core tests. ## 991
806 ## ------------ ## 992 ## ----------- ##
807 993 ## Core tests. ##
808 EOF 994 ## ----------- ##
995
996 _ACEOF
997
809 998
810 # Keep a trace of the command line. 999 # Keep a trace of the command line.
811 # Strip out --no-create and --no-recursion so they do not pile up. 1000 # Strip out --no-create and --no-recursion so they do not pile up.
812 # Also quote any args containing shell meta-characters. 1001 # Also quote any args containing shell meta-characters.
813 ac_configure_args= 1002 ac_configure_args=
814 ac_sep= 1003 ac_sep=
815 for ac_arg 1004 for ac_arg
816 do 1005 do
817 case $ac_arg in 1006 case $ac_arg in
818 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1007 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
819 | --no-cr | --no-c) ;; 1008 | --no-cr | --no-c | -n ) continue ;;
820 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
821 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011 continue ;;
822 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1012 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
823 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 1013 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
824 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1014 esac
825 ac_sep=" " ;; 1015 case " $ac_configure_args " in
826 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 1016 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
827 ac_sep=" " ;; 1017 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1018 ac_sep=" " ;;
828 esac 1019 esac
829 # Get rid of the leading space. 1020 # Get rid of the leading space.
830 done 1021 done
831 1022
832 # When interrupted or exit'd, cleanup temporary files, and complete 1023 # When interrupted or exit'd, cleanup temporary files, and complete
833 # config.log. We remove comments because anyway the quotes in there 1024 # config.log. We remove comments because anyway the quotes in there
834 # would cause problems or look ugly. 1025 # would cause problems or look ugly.
1026 # WARNING: Be sure not to use single quotes in there, as some shells,
1027 # such as our DU 5.0 friend, will then `close' the trap.
835 trap 'exit_status=$? 1028 trap 'exit_status=$?
836 # Save into config.log some information that might help in debugging. 1029 # Save into config.log some information that might help in debugging.
837 echo >&5 1030 {
838 echo "## ----------------- ##" >&5 1031 echo
839 echo "## Cache variables. ##" >&5 1032 cat <<\_ASBOX
840 echo "## ----------------- ##" >&5 1033 ## ---------------- ##
841 echo >&5 1034 ## Cache variables. ##
842 # The following way of writing the cache mishandles newlines in values, 1035 ## ---------------- ##
1036 _ASBOX
1037 echo
1038 # The following way of writing the cache mishandles newlines in values,
843 { 1039 {
844 (set) 2>&1 | 1040 (set) 2>&1 |
845 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1041 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
846 *ac_space=\ *) 1042 *ac_space=\ *)
847 sed -n \ 1043 sed -n \
851 *) 1047 *)
852 sed -n \ 1048 sed -n \
853 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1049 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
854 ;; 1050 ;;
855 esac; 1051 esac;
856 } >&5 1052 }
857 sed "/^$/d" confdefs.h >conftest.log 1053 echo
858 if test -s conftest.log; then 1054 if test -s confdefs.h; then
859 echo >&5 1055 cat <<\_ASBOX
860 echo "## ------------ ##" >&5 1056 ## ----------- ##
861 echo "## confdefs.h. ##" >&5 1057 ## confdefs.h. ##
862 echo "## ------------ ##" >&5 1058 ## ----------- ##
863 echo >&5 1059 _ASBOX
864 cat conftest.log >&5 1060 echo
865 fi 1061 sed "/^$/d" confdefs.h
866 (echo; echo) >&5 1062 echo
867 test "$ac_signal" != 0 && 1063 fi
868 echo "$as_me: caught signal $ac_signal" >&5 1064 test "$ac_signal" != 0 &&
869 echo "$as_me: exit $exit_status" >&5 1065 echo "$as_me: caught signal $ac_signal"
870 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 1066 echo "$as_me: exit $exit_status"
1067 } >&5
1068 rm -f core core.* *.core &&
1069 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
871 exit $exit_status 1070 exit $exit_status
872 ' 0 1071 ' 0
873 for ac_signal in 1 2 13 15; do 1072 for ac_signal in 1 2 13 15; do
874 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1073 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
875 done 1074 done
877 1076
878 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1077 # confdefs.h avoids OS command line length limits that DEFS can exceed.
879 rm -rf conftest* confdefs.h 1078 rm -rf conftest* confdefs.h
880 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1079 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
881 echo >confdefs.h 1080 echo >confdefs.h
1081
1082 # Predefined preprocessor variables.
1083
1084 cat >>confdefs.h <<_ACEOF
1085 #define PACKAGE_NAME "$PACKAGE_NAME"
1086 _ACEOF
1087
1088
1089 cat >>confdefs.h <<_ACEOF
1090 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1091 _ACEOF
1092
1093
1094 cat >>confdefs.h <<_ACEOF
1095 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1096 _ACEOF
1097
1098
1099 cat >>confdefs.h <<_ACEOF
1100 #define PACKAGE_STRING "$PACKAGE_STRING"
1101 _ACEOF
1102
1103
1104 cat >>confdefs.h <<_ACEOF
1105 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1106 _ACEOF
1107
882 1108
883 # Let the site file select an alternate cache file if it wants to. 1109 # Let the site file select an alternate cache file if it wants to.
884 # Prefer explicitly selected file to automatically selected ones. 1110 # Prefer explicitly selected file to automatically selected ones.
885 if test -z "$CONFIG_SITE"; then 1111 if test -z "$CONFIG_SITE"; then
886 if test "x$prefix" != xNONE; then 1112 if test "x$prefix" != xNONE; then
889 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1115 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
890 fi 1116 fi
891 fi 1117 fi
892 for ac_site_file in $CONFIG_SITE; do 1118 for ac_site_file in $CONFIG_SITE; do
893 if test -r "$ac_site_file"; then 1119 if test -r "$ac_site_file"; then
894 { echo "$as_me:894: loading site script $ac_site_file" >&5 1120 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
895 echo "$as_me: loading site script $ac_site_file" >&6;} 1121 echo "$as_me: loading site script $ac_site_file" >&6;}
896 cat "$ac_site_file" >&5 1122 sed 's/^/| /' "$ac_site_file" >&5
897 . "$ac_site_file" 1123 . "$ac_site_file"
898 fi 1124 fi
899 done 1125 done
900 1126
901 if test -r "$cache_file"; then 1127 if test -r "$cache_file"; then
902 # Some versions of bash will fail to source /dev/null (special 1128 # Some versions of bash will fail to source /dev/null (special
903 # files actually), so we avoid doing that. 1129 # files actually), so we avoid doing that.
904 if test -f "$cache_file"; then 1130 if test -f "$cache_file"; then
905 { echo "$as_me:905: loading cache $cache_file" >&5 1131 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
906 echo "$as_me: loading cache $cache_file" >&6;} 1132 echo "$as_me: loading cache $cache_file" >&6;}
907 case $cache_file in 1133 case $cache_file in
908 [\\/]* | ?:[\\/]* ) . $cache_file;; 1134 [\\/]* | ?:[\\/]* ) . $cache_file;;
909 *) . ./$cache_file;; 1135 *) . ./$cache_file;;
910 esac 1136 esac
911 fi 1137 fi
912 else 1138 else
913 { echo "$as_me:913: creating cache $cache_file" >&5 1139 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
914 echo "$as_me: creating cache $cache_file" >&6;} 1140 echo "$as_me: creating cache $cache_file" >&6;}
915 >$cache_file 1141 >$cache_file
916 fi 1142 fi
917 1143
918 # Check that the precious variables saved in the cache have kept the same 1144 # Check that the precious variables saved in the cache have kept the same
924 eval ac_new_set=\$ac_env_${ac_var}_set 1150 eval ac_new_set=\$ac_env_${ac_var}_set
925 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1151 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
926 eval ac_new_val="\$ac_env_${ac_var}_value" 1152 eval ac_new_val="\$ac_env_${ac_var}_value"
927 case $ac_old_set,$ac_new_set in 1153 case $ac_old_set,$ac_new_set in
928 set,) 1154 set,)
929 { echo "$as_me:929: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1155 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
930 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1156 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
931 ac_cache_corrupted=: ;; 1157 ac_cache_corrupted=: ;;
932 ,set) 1158 ,set)
933 { echo "$as_me:933: error: \`$ac_var' was not set in the previous run" >&5 1159 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
934 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1160 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
935 ac_cache_corrupted=: ;; 1161 ac_cache_corrupted=: ;;
936 ,);; 1162 ,);;
937 *) 1163 *)
938 if test "x$ac_old_val" != "x$ac_new_val"; then 1164 if test "x$ac_old_val" != "x$ac_new_val"; then
939 { echo "$as_me:939: error: \`$ac_var' has changed since the previous run:" >&5 1165 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
940 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1166 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
941 { echo "$as_me:941: former value: $ac_old_val" >&5 1167 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
942 echo "$as_me: former value: $ac_old_val" >&2;} 1168 echo "$as_me: former value: $ac_old_val" >&2;}
943 { echo "$as_me:943: current value: $ac_new_val" >&5 1169 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
944 echo "$as_me: current value: $ac_new_val" >&2;} 1170 echo "$as_me: current value: $ac_new_val" >&2;}
945 ac_cache_corrupted=: 1171 ac_cache_corrupted=:
946 fi;; 1172 fi;;
947 esac 1173 esac
948 # Pass precious variables to config.status. It doesn't matter if 1174 # Pass precious variables to config.status.
949 # we pass some twice (in addition to the command line arguments).
950 if test "$ac_new_set" = set; then 1175 if test "$ac_new_set" = set; then
951 case $ac_new_val in 1176 case $ac_new_val in
952 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1177 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
953 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 1178 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
954 ac_configure_args="$ac_configure_args '$ac_arg'" 1179 *) ac_arg=$ac_var=$ac_new_val ;;
955 ;; 1180 esac
956 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 1181 case " $ac_configure_args " in
957 ;; 1182 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1183 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
958 esac 1184 esac
959 fi 1185 fi
960 done 1186 done
961 if $ac_cache_corrupted; then 1187 if $ac_cache_corrupted; then
962 { echo "$as_me:962: error: changes in the environment can compromise the build" >&5 1188 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
963 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1189 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
964 { { echo "$as_me:964: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1190 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
965 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1191 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
966 { (exit 1); exit 1; }; } 1192 { (exit 1); exit 1; }; }
967 fi 1193 fi
968 1194
969 ac_ext=c 1195 ac_ext=c
970 ac_cpp='$CPP $CPPFLAGS' 1196 ac_cpp='$CPP $CPPFLAGS'
971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
973 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
974 1200
975 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 1201
976 *c*,-n*) ECHO_N= ECHO_C=' 1202
977 ' ECHO_T=' ' ;; 1203
978 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 1204
979 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 1205
980 esac 1206
981 echo "#! $SHELL" >conftest.sh 1207
982 echo "exit 0" >>conftest.sh 1208
983 chmod +x conftest.sh 1209
984 if { (echo "$as_me:984: PATH=\".;.\"; conftest.sh") >&5 1210
985 (PATH=".;."; conftest.sh) 2>&5 1211
986 ac_status=$? 1212
987 echo "$as_me:987: \$? = $ac_status" >&5 1213
988 (exit $ac_status); }; then 1214
989 ac_path_separator=';' 1215
990 else 1216
991 ac_path_separator=:
992 fi
993 PATH_SEPARATOR="$ac_path_separator"
994 rm -f conftest.sh
995 1217
996 ac_config_headers="$ac_config_headers src/config.h:src/config.in" 1218 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
1219
997 1220
998 test "$program_prefix" != NONE && 1221 test "$program_prefix" != NONE &&
999 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1222 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1000 # Use a double $ so make ignores it. 1223 # Use a double $ so make ignores it.
1001 test "$program_suffix" != NONE && 1224 test "$program_suffix" != NONE &&
1006 s/[\\$]/&&/g;s/;s,x,x,$// 1229 s/[\\$]/&&/g;s/;s,x,x,$//
1007 _ACEOF 1230 _ACEOF
1008 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1231 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1009 rm conftest.sed 1232 rm conftest.sed
1010 1233
1234
1011 lispdir='${datadir}/emacs/${version}/lisp' 1235 lispdir='${datadir}/emacs/${version}/lisp'
1012 locallisppath='${datadir}/emacs/${version}/site-lisp:'\ 1236 locallisppath='${datadir}/emacs/${version}/site-lisp:'\
1013 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim' 1237 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
1014 lisppath='${locallisppath}:${lispdir}' 1238 lisppath='${locallisppath}:${lispdir}'
1015 etcdir='${datadir}/emacs/${version}/etc' 1239 etcdir='${datadir}/emacs/${version}/etc'
1017 docdir='${datadir}/emacs/${version}/etc' 1241 docdir='${datadir}/emacs/${version}/etc'
1018 gamedir='${localstatedir}/games/emacs' 1242 gamedir='${localstatedir}/games/emacs'
1019 1243
1020 gameuser=games 1244 gameuser=games
1021 1245
1246
1022 # Check whether --with-gcc or --without-gcc was given. 1247 # Check whether --with-gcc or --without-gcc was given.
1023 if test "${with_gcc+set}" = set; then 1248 if test "${with_gcc+set}" = set; then
1024 withval="$with_gcc" 1249 withval="$with_gcc"
1025 1250
1026 fi; 1251 fi;
1027 1252
1028 # Check whether --with-pop or --without-pop was given. 1253 # Check whether --with-pop or --without-pop was given.
1029 if test "${with_pop+set}" = set; then 1254 if test "${with_pop+set}" = set; then
1030 withval="$with_pop" 1255 withval="$with_pop"
1031 if test "$withval" = yes; then 1256 if test "$withval" = yes; then
1032 cat >>confdefs.h <<\EOF 1257 cat >>confdefs.h <<\_ACEOF
1033 #define MAIL_USE_POP 1 1258 #define MAIL_USE_POP 1
1034 EOF 1259 _ACEOF
1035 1260
1036 else : 1261 else :
1037 fi 1262 fi
1038 else 1263 else
1039 cat >>confdefs.h <<\EOF 1264 cat >>confdefs.h <<\_ACEOF
1040 #define MAIL_USE_POP 1 1265 #define MAIL_USE_POP 1
1041 EOF 1266 _ACEOF
1042 1267
1043 fi; 1268 fi;
1269
1044 1270
1045 # Check whether --with-kerberos or --without-kerberos was given. 1271 # Check whether --with-kerberos or --without-kerberos was given.
1046 if test "${with_kerberos+set}" = set; then 1272 if test "${with_kerberos+set}" = set; then
1047 withval="$with_kerberos" 1273 withval="$with_kerberos"
1048 cat >>confdefs.h <<\EOF 1274 cat >>confdefs.h <<\_ACEOF
1049 #define KERBEROS 1 1275 #define KERBEROS 1
1050 EOF 1276 _ACEOF
1051 1277
1052 fi; 1278 fi;
1279
1053 1280
1054 # Check whether --with-kerberos5 or --without-kerberos5 was given. 1281 # Check whether --with-kerberos5 or --without-kerberos5 was given.
1055 if test "${with_kerberos5+set}" = set; then 1282 if test "${with_kerberos5+set}" = set; then
1056 withval="$with_kerberos5" 1283 withval="$with_kerberos5"
1057 if test "${with_kerberos5+set}" = set; then 1284 if test "${with_kerberos5+set}" = set; then
1058 if test "${with_kerberos+set}" != set; then 1285 if test "${with_kerberos+set}" != set; then
1059 with_kerberos=yes 1286 with_kerberos=yes
1060 cat >>confdefs.h <<\EOF 1287 cat >>confdefs.h <<\_ACEOF
1061 #define KERBEROS 1 1288 #define KERBEROS 1
1062 EOF 1289 _ACEOF
1063 1290
1064 fi 1291 fi
1065 fi 1292 fi
1066 1293
1067 cat >>confdefs.h <<\EOF 1294 cat >>confdefs.h <<\_ACEOF
1068 #define KERBEROS5 1 1295 #define KERBEROS5 1
1069 EOF 1296 _ACEOF
1070 1297
1071 fi; 1298 fi;
1072 1299
1073 # Check whether --with-hesiod or --without-hesiod was given. 1300 # Check whether --with-hesiod or --without-hesiod was given.
1074 if test "${with_hesiod+set}" = set; then 1301 if test "${with_hesiod+set}" = set; then
1075 withval="$with_hesiod" 1302 withval="$with_hesiod"
1076 1303
1077 cat >>confdefs.h <<\EOF 1304 cat >>confdefs.h <<\_ACEOF
1078 #define HESIOD 1 1305 #define HESIOD 1
1079 EOF 1306 _ACEOF
1080 1307
1081 fi; 1308 fi;
1309
1082 1310
1083 # Check whether --with-sound or --without-sound was given. 1311 # Check whether --with-sound or --without-sound was given.
1084 if test "${with_sound+set}" = set; then 1312 if test "${with_sound+set}" = set; then
1085 withval="$with_sound" 1313 withval="$with_sound"
1086 1314
1087 fi; 1315 fi;
1316
1088 1317
1089 # Check whether --with-x-toolkit or --without-x-toolkit was given. 1318 # Check whether --with-x-toolkit or --without-x-toolkit was given.
1090 if test "${with_x_toolkit+set}" = set; then 1319 if test "${with_x_toolkit+set}" = set; then
1091 withval="$with_x_toolkit" 1320 withval="$with_x_toolkit"
1092 case "${withval}" in 1321 case "${withval}" in
1094 n | no ) val=no ;; 1323 n | no ) val=no ;;
1095 l | lu | luc | luci | lucid ) val=lucid ;; 1324 l | lu | luc | luci | lucid ) val=lucid ;;
1096 a | at | ath | athe | athen | athena ) val=athena ;; 1325 a | at | ath | athe | athen | athena ) val=athena ;;
1097 m | mo | mot | moti | motif ) val=motif ;; 1326 m | mo | mot | moti | motif ) val=motif ;;
1098 * ) 1327 * )
1099 { { echo "$as_me:1099: error: \`--with-x-toolkit=$withval' is invalid\; 1328 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\;
1100 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. 1329 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
1101 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5 1330 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
1102 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\; 1331 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
1103 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. 1332 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
1104 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;} 1333 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;}
1182 esac 1411 esac
1183 1412
1184 #### Check if the source directory already has a configured system in it. 1413 #### Check if the source directory already has a configured system in it.
1185 if test `pwd` != `(cd ${srcdir} && pwd)` \ 1414 if test `pwd` != `(cd ${srcdir} && pwd)` \
1186 && test -f "${srcdir}/src/config.h" ; then 1415 && test -f "${srcdir}/src/config.h" ; then
1187 { echo "$as_me:1187: WARNING: The directory tree \`${srcdir}' is being used 1416 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
1188 as a build directory right now; it has been configured in its own 1417 as a build directory right now; it has been configured in its own
1189 right. To configure in another directory as well, you MUST 1418 right. To configure in another directory as well, you MUST
1190 use GNU make. If you do not have GNU make, then you must 1419 use GNU make. If you do not have GNU make, then you must
1191 now do \`make distclean' in ${srcdir}, 1420 now do \`make distclean' in ${srcdir},
1192 and then run $0 again." >&5 1421 and then run $0 again." >&5
1227 ac_install_sh="$ac_aux_dir/shtool install -c" 1456 ac_install_sh="$ac_aux_dir/shtool install -c"
1228 break 1457 break
1229 fi 1458 fi
1230 done 1459 done
1231 if test -z "$ac_aux_dir"; then 1460 if test -z "$ac_aux_dir"; then
1232 { { echo "$as_me:1232: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1461 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1233 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1462 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1234 { (exit 1); exit 1; }; } 1463 { (exit 1); exit 1; }; }
1235 fi 1464 fi
1236 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1465 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1237 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1466 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1238 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1467 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1239 1468
1240 # Make sure we can run config.sub. 1469 # Make sure we can run config.sub.
1241 $ac_config_sub sun4 >/dev/null 2>&1 || 1470 $ac_config_sub sun4 >/dev/null 2>&1 ||
1242 { { echo "$as_me:1242: error: cannot run $ac_config_sub" >&5 1471 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1243 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1472 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1244 { (exit 1); exit 1; }; } 1473 { (exit 1); exit 1; }; }
1245 1474
1246 echo "$as_me:1246: checking build system type" >&5 1475 echo "$as_me:$LINENO: checking build system type" >&5
1247 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1476 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1248 if test "${ac_cv_build+set}" = set; then 1477 if test "${ac_cv_build+set}" = set; then
1249 echo $ECHO_N "(cached) $ECHO_C" >&6 1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1250 else 1479 else
1251 ac_cv_build_alias=$build_alias 1480 ac_cv_build_alias=$build_alias
1252 test -z "$ac_cv_build_alias" && 1481 test -z "$ac_cv_build_alias" &&
1253 ac_cv_build_alias=`$ac_config_guess` 1482 ac_cv_build_alias=`$ac_config_guess`
1254 test -z "$ac_cv_build_alias" && 1483 test -z "$ac_cv_build_alias" &&
1255 { { echo "$as_me:1255: error: cannot guess build type; you must specify one" >&5 1484 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1256 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1485 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1257 { (exit 1); exit 1; }; } 1486 { (exit 1); exit 1; }; }
1258 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1487 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1259 { { echo "$as_me:1259: error: $ac_config_sub $ac_cv_build_alias failed." >&5 1488 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1260 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 1489 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1261 { (exit 1); exit 1; }; } 1490 { (exit 1); exit 1; }; }
1262 1491
1263 fi 1492 fi
1264 echo "$as_me:1264: result: $ac_cv_build" >&5 1493 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1265 echo "${ECHO_T}$ac_cv_build" >&6 1494 echo "${ECHO_T}$ac_cv_build" >&6
1266 build=$ac_cv_build 1495 build=$ac_cv_build
1267 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1496 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1268 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1497 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1269 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1498 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1270 1499
1271 echo "$as_me:1271: checking host system type" >&5 1500
1501 echo "$as_me:$LINENO: checking host system type" >&5
1272 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1502 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1273 if test "${ac_cv_host+set}" = set; then 1503 if test "${ac_cv_host+set}" = set; then
1274 echo $ECHO_N "(cached) $ECHO_C" >&6 1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1275 else 1505 else
1276 ac_cv_host_alias=$host_alias 1506 ac_cv_host_alias=$host_alias
1277 test -z "$ac_cv_host_alias" && 1507 test -z "$ac_cv_host_alias" &&
1278 ac_cv_host_alias=$ac_cv_build_alias 1508 ac_cv_host_alias=$ac_cv_build_alias
1279 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1509 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1280 { { echo "$as_me:1280: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1510 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1281 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1511 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1282 { (exit 1); exit 1; }; } 1512 { (exit 1); exit 1; }; }
1283 1513
1284 fi 1514 fi
1285 echo "$as_me:1285: result: $ac_cv_host" >&5 1515 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1286 echo "${ECHO_T}$ac_cv_host" >&6 1516 echo "${ECHO_T}$ac_cv_host" >&6
1287 host=$ac_cv_host 1517 host=$ac_cv_host
1288 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1518 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1289 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1519 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1290 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1520 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1291 1521
1522
1292 canonical=$host 1523 canonical=$host
1293 configuration=${host_alias-$host} 1524 configuration=${host_alias-$host}
1525
1294 1526
1295 ### If you add support for a new configuration, add code to this 1527 ### If you add support for a new configuration, add code to this
1296 ### switch statement to recognize your configuration name and select 1528 ### switch statement to recognize your configuration name and select
1297 ### the appropriate operating system and machine description files. 1529 ### the appropriate operating system and machine description files.
1298 1530
2273 unported=yes 2505 unported=yes
2274 ;; 2506 ;;
2275 esac 2507 esac
2276 fi 2508 fi
2277 2509
2510
2278 if test $unported = yes; then 2511 if test $unported = yes; then
2279 { { echo "$as_me:2279: error: Emacs hasn't been ported to \`${canonical}' systems. 2512 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
2280 Check \`etc/MACHINES' for recognized configuration names." >&5 2513 Check \`etc/MACHINES' for recognized configuration names." >&5
2281 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2514 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2282 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2515 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2283 { (exit 1); exit 1; }; } 2516 { (exit 1); exit 1; }; }
2284 fi 2517 fi
2285 2518
2286 machfile="m/${machine}.h" 2519 machfile="m/${machine}.h"
2287 opsysfile="s/${opsys}.h" 2520 opsysfile="s/${opsys}.h"
2521
2288 2522
2289 #### Choose a compiler. 2523 #### Choose a compiler.
2290 test -n "$CC" && cc_specified=yes 2524 test -n "$CC" && cc_specified=yes
2291 2525
2292 # Save the value of CFLAGS that the user specified. 2526 # Save the value of CFLAGS that the user specified.
2303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2304 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2305 if test -n "$ac_tool_prefix"; then 2539 if test -n "$ac_tool_prefix"; then
2306 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2307 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2541 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2308 echo "$as_me:2308: checking for $ac_word" >&5 2542 echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2310 if test "${ac_cv_prog_CC+set}" = set; then 2544 if test "${ac_cv_prog_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6 2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 else 2546 else
2313 if test -n "$CC"; then 2547 if test -n "$CC"; then
2314 ac_cv_prog_CC="$CC" # Let the user override the test. 2548 ac_cv_prog_CC="$CC" # Let the user override the test.
2315 else 2549 else
2316 ac_save_IFS=$IFS; IFS=$ac_path_separator 2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 ac_dummy="$PATH" 2551 for as_dir in $PATH
2318 for ac_dir in $ac_dummy; do 2552 do
2319 IFS=$ac_save_IFS 2553 IFS=$as_save_IFS
2320 test -z "$ac_dir" && ac_dir=. 2554 test -z "$as_dir" && as_dir=.
2321 $as_executable_p "$ac_dir/$ac_word" || continue 2555 for ac_exec_ext in '' $ac_executable_extensions; do
2322 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2323 echo "$as_me:2323: found $ac_dir/$ac_word" >&5 2557 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2324 break 2558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 break 2
2560 fi
2561 done
2325 done 2562 done
2326 2563
2327 fi 2564 fi
2328 fi 2565 fi
2329 CC=$ac_cv_prog_CC 2566 CC=$ac_cv_prog_CC
2330 if test -n "$CC"; then 2567 if test -n "$CC"; then
2331 echo "$as_me:2331: result: $CC" >&5 2568 echo "$as_me:$LINENO: result: $CC" >&5
2332 echo "${ECHO_T}$CC" >&6 2569 echo "${ECHO_T}$CC" >&6
2333 else 2570 else
2334 echo "$as_me:2334: result: no" >&5 2571 echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6 2572 echo "${ECHO_T}no" >&6
2336 fi 2573 fi
2337 2574
2338 fi 2575 fi
2339 if test -z "$ac_cv_prog_CC"; then 2576 if test -z "$ac_cv_prog_CC"; then
2340 ac_ct_CC=$CC 2577 ac_ct_CC=$CC
2341 # Extract the first word of "gcc", so it can be a program name with args. 2578 # Extract the first word of "gcc", so it can be a program name with args.
2342 set dummy gcc; ac_word=$2 2579 set dummy gcc; ac_word=$2
2343 echo "$as_me:2343: checking for $ac_word" >&5 2580 echo "$as_me:$LINENO: checking for $ac_word" >&5
2344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2345 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2582 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2346 echo $ECHO_N "(cached) $ECHO_C" >&6 2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 else 2584 else
2348 if test -n "$ac_ct_CC"; then 2585 if test -n "$ac_ct_CC"; then
2349 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2586 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2350 else 2587 else
2351 ac_save_IFS=$IFS; IFS=$ac_path_separator 2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352 ac_dummy="$PATH" 2589 for as_dir in $PATH
2353 for ac_dir in $ac_dummy; do 2590 do
2354 IFS=$ac_save_IFS 2591 IFS=$as_save_IFS
2355 test -z "$ac_dir" && ac_dir=. 2592 test -z "$as_dir" && as_dir=.
2356 $as_executable_p "$ac_dir/$ac_word" || continue 2593 for ac_exec_ext in '' $ac_executable_extensions; do
2357 ac_cv_prog_ac_ct_CC="gcc" 2594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2358 echo "$as_me:2358: found $ac_dir/$ac_word" >&5 2595 ac_cv_prog_ac_ct_CC="gcc"
2359 break 2596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 break 2
2598 fi
2599 done
2360 done 2600 done
2361 2601
2362 fi 2602 fi
2363 fi 2603 fi
2364 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2365 if test -n "$ac_ct_CC"; then 2605 if test -n "$ac_ct_CC"; then
2366 echo "$as_me:2366: result: $ac_ct_CC" >&5 2606 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2367 echo "${ECHO_T}$ac_ct_CC" >&6 2607 echo "${ECHO_T}$ac_ct_CC" >&6
2368 else 2608 else
2369 echo "$as_me:2369: result: no" >&5 2609 echo "$as_me:$LINENO: result: no" >&5
2370 echo "${ECHO_T}no" >&6 2610 echo "${ECHO_T}no" >&6
2371 fi 2611 fi
2372 2612
2373 CC=$ac_ct_CC 2613 CC=$ac_ct_CC
2374 else 2614 else
2377 2617
2378 if test -z "$CC"; then 2618 if test -z "$CC"; then
2379 if test -n "$ac_tool_prefix"; then 2619 if test -n "$ac_tool_prefix"; then
2380 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2620 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2381 set dummy ${ac_tool_prefix}cc; ac_word=$2 2621 set dummy ${ac_tool_prefix}cc; ac_word=$2
2382 echo "$as_me:2382: checking for $ac_word" >&5 2622 echo "$as_me:$LINENO: checking for $ac_word" >&5
2383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2384 if test "${ac_cv_prog_CC+set}" = set; then 2624 if test "${ac_cv_prog_CC+set}" = set; then
2385 echo $ECHO_N "(cached) $ECHO_C" >&6 2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2386 else 2626 else
2387 if test -n "$CC"; then 2627 if test -n "$CC"; then
2388 ac_cv_prog_CC="$CC" # Let the user override the test. 2628 ac_cv_prog_CC="$CC" # Let the user override the test.
2389 else 2629 else
2390 ac_save_IFS=$IFS; IFS=$ac_path_separator 2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391 ac_dummy="$PATH" 2631 for as_dir in $PATH
2392 for ac_dir in $ac_dummy; do 2632 do
2393 IFS=$ac_save_IFS 2633 IFS=$as_save_IFS
2394 test -z "$ac_dir" && ac_dir=. 2634 test -z "$as_dir" && as_dir=.
2395 $as_executable_p "$ac_dir/$ac_word" || continue 2635 for ac_exec_ext in '' $ac_executable_extensions; do
2396 ac_cv_prog_CC="${ac_tool_prefix}cc" 2636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2397 echo "$as_me:2397: found $ac_dir/$ac_word" >&5 2637 ac_cv_prog_CC="${ac_tool_prefix}cc"
2398 break 2638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 break 2
2640 fi
2641 done
2399 done 2642 done
2400 2643
2401 fi 2644 fi
2402 fi 2645 fi
2403 CC=$ac_cv_prog_CC 2646 CC=$ac_cv_prog_CC
2404 if test -n "$CC"; then 2647 if test -n "$CC"; then
2405 echo "$as_me:2405: result: $CC" >&5 2648 echo "$as_me:$LINENO: result: $CC" >&5
2406 echo "${ECHO_T}$CC" >&6 2649 echo "${ECHO_T}$CC" >&6
2407 else 2650 else
2408 echo "$as_me:2408: result: no" >&5 2651 echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6 2652 echo "${ECHO_T}no" >&6
2410 fi 2653 fi
2411 2654
2412 fi 2655 fi
2413 if test -z "$ac_cv_prog_CC"; then 2656 if test -z "$ac_cv_prog_CC"; then
2414 ac_ct_CC=$CC 2657 ac_ct_CC=$CC
2415 # Extract the first word of "cc", so it can be a program name with args. 2658 # Extract the first word of "cc", so it can be a program name with args.
2416 set dummy cc; ac_word=$2 2659 set dummy cc; ac_word=$2
2417 echo "$as_me:2417: checking for $ac_word" >&5 2660 echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2419 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6 2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 else 2664 else
2422 if test -n "$ac_ct_CC"; then 2665 if test -n "$ac_ct_CC"; then
2423 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2424 else 2667 else
2425 ac_save_IFS=$IFS; IFS=$ac_path_separator 2668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 ac_dummy="$PATH" 2669 for as_dir in $PATH
2427 for ac_dir in $ac_dummy; do 2670 do
2428 IFS=$ac_save_IFS 2671 IFS=$as_save_IFS
2429 test -z "$ac_dir" && ac_dir=. 2672 test -z "$as_dir" && as_dir=.
2430 $as_executable_p "$ac_dir/$ac_word" || continue 2673 for ac_exec_ext in '' $ac_executable_extensions; do
2431 ac_cv_prog_ac_ct_CC="cc" 2674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432 echo "$as_me:2432: found $ac_dir/$ac_word" >&5 2675 ac_cv_prog_ac_ct_CC="cc"
2433 break 2676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 break 2
2678 fi
2679 done
2434 done 2680 done
2435 2681
2436 fi 2682 fi
2437 fi 2683 fi
2438 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2439 if test -n "$ac_ct_CC"; then 2685 if test -n "$ac_ct_CC"; then
2440 echo "$as_me:2440: result: $ac_ct_CC" >&5 2686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2441 echo "${ECHO_T}$ac_ct_CC" >&6 2687 echo "${ECHO_T}$ac_ct_CC" >&6
2442 else 2688 else
2443 echo "$as_me:2443: result: no" >&5 2689 echo "$as_me:$LINENO: result: no" >&5
2444 echo "${ECHO_T}no" >&6 2690 echo "${ECHO_T}no" >&6
2445 fi 2691 fi
2446 2692
2447 CC=$ac_ct_CC 2693 CC=$ac_ct_CC
2448 else 2694 else
2451 2697
2452 fi 2698 fi
2453 if test -z "$CC"; then 2699 if test -z "$CC"; then
2454 # Extract the first word of "cc", so it can be a program name with args. 2700 # Extract the first word of "cc", so it can be a program name with args.
2455 set dummy cc; ac_word=$2 2701 set dummy cc; ac_word=$2
2456 echo "$as_me:2456: checking for $ac_word" >&5 2702 echo "$as_me:$LINENO: checking for $ac_word" >&5
2457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2458 if test "${ac_cv_prog_CC+set}" = set; then 2704 if test "${ac_cv_prog_CC+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6 2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 else 2706 else
2461 if test -n "$CC"; then 2707 if test -n "$CC"; then
2462 ac_cv_prog_CC="$CC" # Let the user override the test. 2708 ac_cv_prog_CC="$CC" # Let the user override the test.
2463 else 2709 else
2464 ac_prog_rejected=no 2710 ac_prog_rejected=no
2465 ac_save_IFS=$IFS; IFS=$ac_path_separator 2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 ac_dummy="$PATH" 2712 for as_dir in $PATH
2467 for ac_dir in $ac_dummy; do 2713 do
2468 IFS=$ac_save_IFS 2714 IFS=$as_save_IFS
2469 test -z "$ac_dir" && ac_dir=. 2715 test -z "$as_dir" && as_dir=.
2470 $as_executable_p "$ac_dir/$ac_word" || continue 2716 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472 ac_prog_rejected=yes 2718 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2473 continue 2719 ac_prog_rejected=yes
2474 fi 2720 continue
2475 ac_cv_prog_CC="cc" 2721 fi
2476 echo "$as_me:2476: found $ac_dir/$ac_word" >&5 2722 ac_cv_prog_CC="cc"
2477 break 2723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 break 2
2725 fi
2726 done
2478 done 2727 done
2479 2728
2480 if test $ac_prog_rejected = yes; then 2729 if test $ac_prog_rejected = yes; then
2481 # We found a bogon in the path, so make sure we never use it. 2730 # We found a bogon in the path, so make sure we never use it.
2482 set dummy $ac_cv_prog_CC 2731 set dummy $ac_cv_prog_CC
2484 if test $# != 0; then 2733 if test $# != 0; then
2485 # We chose a different compiler from the bogus one. 2734 # We chose a different compiler from the bogus one.
2486 # However, it has the same basename, so the bogon will be chosen 2735 # However, it has the same basename, so the bogon will be chosen
2487 # first if we set CC to just the basename; use the full file name. 2736 # first if we set CC to just the basename; use the full file name.
2488 shift 2737 shift
2489 set dummy "$ac_dir/$ac_word" ${1+"$@"} 2738 set dummy "$as_dir/$ac_word" ${1+"$@"}
2490 shift 2739 shift
2491 ac_cv_prog_CC="$@" 2740 ac_cv_prog_CC="$@"
2492 fi 2741 fi
2493 fi 2742 fi
2494 fi 2743 fi
2495 fi 2744 fi
2496 CC=$ac_cv_prog_CC 2745 CC=$ac_cv_prog_CC
2497 if test -n "$CC"; then 2746 if test -n "$CC"; then
2498 echo "$as_me:2498: result: $CC" >&5 2747 echo "$as_me:$LINENO: result: $CC" >&5
2499 echo "${ECHO_T}$CC" >&6 2748 echo "${ECHO_T}$CC" >&6
2500 else 2749 else
2501 echo "$as_me:2501: result: no" >&5 2750 echo "$as_me:$LINENO: result: no" >&5
2502 echo "${ECHO_T}no" >&6 2751 echo "${ECHO_T}no" >&6
2503 fi 2752 fi
2504 2753
2505 fi 2754 fi
2506 if test -z "$CC"; then 2755 if test -z "$CC"; then
2507 if test -n "$ac_tool_prefix"; then 2756 if test -n "$ac_tool_prefix"; then
2508 for ac_prog in cl 2757 for ac_prog in cl
2509 do 2758 do
2510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2759 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2511 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2760 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2512 echo "$as_me:2512: checking for $ac_word" >&5 2761 echo "$as_me:$LINENO: checking for $ac_word" >&5
2513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2514 if test "${ac_cv_prog_CC+set}" = set; then 2763 if test "${ac_cv_prog_CC+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6 2764 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 else 2765 else
2517 if test -n "$CC"; then 2766 if test -n "$CC"; then
2518 ac_cv_prog_CC="$CC" # Let the user override the test. 2767 ac_cv_prog_CC="$CC" # Let the user override the test.
2519 else 2768 else
2520 ac_save_IFS=$IFS; IFS=$ac_path_separator 2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 ac_dummy="$PATH" 2770 for as_dir in $PATH
2522 for ac_dir in $ac_dummy; do 2771 do
2523 IFS=$ac_save_IFS 2772 IFS=$as_save_IFS
2524 test -z "$ac_dir" && ac_dir=. 2773 test -z "$as_dir" && as_dir=.
2525 $as_executable_p "$ac_dir/$ac_word" || continue 2774 for ac_exec_ext in '' $ac_executable_extensions; do
2526 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2527 echo "$as_me:2527: found $ac_dir/$ac_word" >&5 2776 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2528 break 2777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2778 break 2
2779 fi
2780 done
2529 done 2781 done
2530 2782
2531 fi 2783 fi
2532 fi 2784 fi
2533 CC=$ac_cv_prog_CC 2785 CC=$ac_cv_prog_CC
2534 if test -n "$CC"; then 2786 if test -n "$CC"; then
2535 echo "$as_me:2535: result: $CC" >&5 2787 echo "$as_me:$LINENO: result: $CC" >&5
2536 echo "${ECHO_T}$CC" >&6 2788 echo "${ECHO_T}$CC" >&6
2537 else 2789 else
2538 echo "$as_me:2538: result: no" >&5 2790 echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6 2791 echo "${ECHO_T}no" >&6
2540 fi 2792 fi
2541 2793
2542 test -n "$CC" && break 2794 test -n "$CC" && break
2543 done 2795 done
2546 ac_ct_CC=$CC 2798 ac_ct_CC=$CC
2547 for ac_prog in cl 2799 for ac_prog in cl
2548 do 2800 do
2549 # Extract the first word of "$ac_prog", so it can be a program name with args. 2801 # Extract the first word of "$ac_prog", so it can be a program name with args.
2550 set dummy $ac_prog; ac_word=$2 2802 set dummy $ac_prog; ac_word=$2
2551 echo "$as_me:2551: checking for $ac_word" >&5 2803 echo "$as_me:$LINENO: checking for $ac_word" >&5
2552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2553 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2805 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6 2806 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 else 2807 else
2556 if test -n "$ac_ct_CC"; then 2808 if test -n "$ac_ct_CC"; then
2557 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2809 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2558 else 2810 else
2559 ac_save_IFS=$IFS; IFS=$ac_path_separator 2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 ac_dummy="$PATH" 2812 for as_dir in $PATH
2561 for ac_dir in $ac_dummy; do 2813 do
2562 IFS=$ac_save_IFS 2814 IFS=$as_save_IFS
2563 test -z "$ac_dir" && ac_dir=. 2815 test -z "$as_dir" && as_dir=.
2564 $as_executable_p "$ac_dir/$ac_word" || continue 2816 for ac_exec_ext in '' $ac_executable_extensions; do
2565 ac_cv_prog_ac_ct_CC="$ac_prog" 2817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2566 echo "$as_me:2566: found $ac_dir/$ac_word" >&5 2818 ac_cv_prog_ac_ct_CC="$ac_prog"
2567 break 2819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2820 break 2
2821 fi
2822 done
2568 done 2823 done
2569 2824
2570 fi 2825 fi
2571 fi 2826 fi
2572 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2573 if test -n "$ac_ct_CC"; then 2828 if test -n "$ac_ct_CC"; then
2574 echo "$as_me:2574: result: $ac_ct_CC" >&5 2829 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2575 echo "${ECHO_T}$ac_ct_CC" >&6 2830 echo "${ECHO_T}$ac_ct_CC" >&6
2576 else 2831 else
2577 echo "$as_me:2577: result: no" >&5 2832 echo "$as_me:$LINENO: result: no" >&5
2578 echo "${ECHO_T}no" >&6 2833 echo "${ECHO_T}no" >&6
2579 fi 2834 fi
2580 2835
2581 test -n "$ac_ct_CC" && break 2836 test -n "$ac_ct_CC" && break
2582 done 2837 done
2584 CC=$ac_ct_CC 2839 CC=$ac_ct_CC
2585 fi 2840 fi
2586 2841
2587 fi 2842 fi
2588 2843
2589 test -z "$CC" && { { echo "$as_me:2589: error: no acceptable cc found in \$PATH" >&5 2844
2590 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2845 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2846 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2591 { (exit 1); exit 1; }; } 2847 { (exit 1); exit 1; }; }
2592 2848
2593 # Provide some information about the compiler. 2849 # Provide some information about the compiler.
2594 echo "$as_me:2594:" \ 2850 echo "$as_me:$LINENO:" \
2595 "checking for C compiler version" >&5 2851 "checking for C compiler version" >&5
2596 ac_compiler=`set X $ac_compile; echo $2` 2852 ac_compiler=`set X $ac_compile; echo $2`
2597 { (eval echo "$as_me:2597: \"$ac_compiler --version </dev/null >&5\"") >&5 2853 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2598 (eval $ac_compiler --version </dev/null >&5) 2>&5 2854 (eval $ac_compiler --version </dev/null >&5) 2>&5
2599 ac_status=$? 2855 ac_status=$?
2600 echo "$as_me:2600: \$? = $ac_status" >&5 2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } 2857 (exit $ac_status); }
2602 { (eval echo "$as_me:2602: \"$ac_compiler -v </dev/null >&5\"") >&5 2858 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2603 (eval $ac_compiler -v </dev/null >&5) 2>&5 2859 (eval $ac_compiler -v </dev/null >&5) 2>&5
2604 ac_status=$? 2860 ac_status=$?
2605 echo "$as_me:2605: \$? = $ac_status" >&5 2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); } 2862 (exit $ac_status); }
2607 { (eval echo "$as_me:2607: \"$ac_compiler -V </dev/null >&5\"") >&5 2863 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2608 (eval $ac_compiler -V </dev/null >&5) 2>&5 2864 (eval $ac_compiler -V </dev/null >&5) 2>&5
2609 ac_status=$? 2865 ac_status=$?
2610 echo "$as_me:2610: \$? = $ac_status" >&5 2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); } 2867 (exit $ac_status); }
2612 2868
2613 cat >conftest.$ac_ext <<_ACEOF 2869 cat >conftest.$ac_ext <<_ACEOF
2614 #line 2614 "configure" 2870 #line $LINENO "configure"
2615 #include "confdefs.h" 2871 #include "confdefs.h"
2616 2872
2873 #ifdef F77_DUMMY_MAIN
2874 # ifdef __cplusplus
2875 extern "C"
2876 # endif
2877 int F77_DUMMY_MAIN() { return 1; }
2878 #endif
2617 int 2879 int
2618 main () 2880 main ()
2619 { 2881 {
2620 2882
2621 ; 2883 ;
2625 ac_clean_files_save=$ac_clean_files 2887 ac_clean_files_save=$ac_clean_files
2626 ac_clean_files="$ac_clean_files a.out a.exe" 2888 ac_clean_files="$ac_clean_files a.out a.exe"
2627 # Try to create an executable without -o first, disregard a.out. 2889 # Try to create an executable without -o first, disregard a.out.
2628 # It will help us diagnose broken compilers, and finding out an intuition 2890 # It will help us diagnose broken compilers, and finding out an intuition
2629 # of exeext. 2891 # of exeext.
2630 echo "$as_me:2630: checking for C compiler default output" >&5 2892 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2631 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2893 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2632 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2894 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2633 if { (eval echo "$as_me:2633: \"$ac_link_default\"") >&5 2895 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2634 (eval $ac_link_default) 2>&5 2896 (eval $ac_link_default) 2>&5
2635 ac_status=$? 2897 ac_status=$?
2636 echo "$as_me:2636: \$? = $ac_status" >&5 2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; then 2899 (exit $ac_status); }; then
2638 # Find the output, starting from the most likely. This scheme is 2900 # Find the output, starting from the most likely. This scheme is
2639 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2901 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2640 # resort. 2902 # resort.
2641 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 2903
2904 # Be careful to initialize this variable, since it used to be cached.
2905 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2906 ac_cv_exeext=
2907 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2642 ls a.out conftest 2>/dev/null; 2908 ls a.out conftest 2>/dev/null;
2643 ls a.* conftest.* 2>/dev/null`; do 2909 ls a.* conftest.* 2>/dev/null`; do
2644 case $ac_file in 2910 case $ac_file in
2645 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 2911 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2646 a.out ) # We found the default executable, but exeext='' is most 2912 a.out ) # We found the default executable, but exeext='' is most
2647 # certainly right. 2913 # certainly right.
2648 break;; 2914 break;;
2649 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2915 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2650 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 2916 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2654 esac 2920 esac
2655 done 2921 done
2656 else 2922 else
2657 echo "$as_me: failed program was:" >&5 2923 echo "$as_me: failed program was:" >&5
2658 cat conftest.$ac_ext >&5 2924 cat conftest.$ac_ext >&5
2659 { { echo "$as_me:2659: error: C compiler cannot create executables" >&5 2925 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2660 echo "$as_me: error: C compiler cannot create executables" >&2;} 2926 echo "$as_me: error: C compiler cannot create executables" >&2;}
2661 { (exit 77); exit 77; }; } 2927 { (exit 77); exit 77; }; }
2662 fi 2928 fi
2663 2929
2664 ac_exeext=$ac_cv_exeext 2930 ac_exeext=$ac_cv_exeext
2665 echo "$as_me:2665: result: $ac_file" >&5 2931 echo "$as_me:$LINENO: result: $ac_file" >&5
2666 echo "${ECHO_T}$ac_file" >&6 2932 echo "${ECHO_T}$ac_file" >&6
2667 2933
2668 # Check the compiler produces executables we can run. If not, either 2934 # Check the compiler produces executables we can run. If not, either
2669 # the compiler is broken, or we cross compile. 2935 # the compiler is broken, or we cross compile.
2670 echo "$as_me:2670: checking whether the C compiler works" >&5 2936 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2671 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2937 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2672 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2938 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2673 # If not cross compiling, check that we can run a simple program. 2939 # If not cross compiling, check that we can run a simple program.
2674 if test "$cross_compiling" != yes; then 2940 if test "$cross_compiling" != yes; then
2675 if { ac_try='./$ac_file' 2941 if { ac_try='./$ac_file'
2676 { (eval echo "$as_me:2676: \"$ac_try\"") >&5 2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2677 (eval $ac_try) 2>&5 2943 (eval $ac_try) 2>&5
2678 ac_status=$? 2944 ac_status=$?
2679 echo "$as_me:2679: \$? = $ac_status" >&5 2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; }; then 2946 (exit $ac_status); }; }; then
2681 cross_compiling=no 2947 cross_compiling=no
2682 else 2948 else
2683 if test "$cross_compiling" = maybe; then 2949 if test "$cross_compiling" = maybe; then
2684 cross_compiling=yes 2950 cross_compiling=yes
2685 else 2951 else
2686 { { echo "$as_me:2686: error: cannot run C compiled programs. 2952 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2687 If you meant to cross compile, use \`--host'." >&5 2953 If you meant to cross compile, use \`--host'." >&5
2688 echo "$as_me: error: cannot run C compiled programs. 2954 echo "$as_me: error: cannot run C compiled programs.
2689 If you meant to cross compile, use \`--host'." >&2;} 2955 If you meant to cross compile, use \`--host'." >&2;}
2690 { (exit 1); exit 1; }; } 2956 { (exit 1); exit 1; }; }
2691 fi 2957 fi
2692 fi 2958 fi
2693 fi 2959 fi
2694 echo "$as_me:2694: result: yes" >&5 2960 echo "$as_me:$LINENO: result: yes" >&5
2695 echo "${ECHO_T}yes" >&6 2961 echo "${ECHO_T}yes" >&6
2696 2962
2697 rm -f a.out a.exe conftest$ac_cv_exeext 2963 rm -f a.out a.exe conftest$ac_cv_exeext
2698 ac_clean_files=$ac_clean_files_save 2964 ac_clean_files=$ac_clean_files_save
2699 # Check the compiler produces executables we can run. If not, either 2965 # Check the compiler produces executables we can run. If not, either
2700 # the compiler is broken, or we cross compile. 2966 # the compiler is broken, or we cross compile.
2701 echo "$as_me:2701: checking whether we are cross compiling" >&5 2967 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2702 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2968 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2703 echo "$as_me:2703: result: $cross_compiling" >&5 2969 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2704 echo "${ECHO_T}$cross_compiling" >&6 2970 echo "${ECHO_T}$cross_compiling" >&6
2705 2971
2706 echo "$as_me:2706: checking for executable suffix" >&5 2972 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2707 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 2973 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2708 if { (eval echo "$as_me:2708: \"$ac_link\"") >&5 2974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2709 (eval $ac_link) 2>&5 2975 (eval $ac_link) 2>&5
2710 ac_status=$? 2976 ac_status=$?
2711 echo "$as_me:2711: \$? = $ac_status" >&5 2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); }; then 2978 (exit $ac_status); }; then
2713 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2979 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2714 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2980 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2715 # work properly (i.e., refer to `conftest.exe'), while it won't with 2981 # work properly (i.e., refer to `conftest.exe'), while it won't with
2716 # `rm'. 2982 # `rm'.
2722 break;; 2988 break;;
2723 * ) break;; 2989 * ) break;;
2724 esac 2990 esac
2725 done 2991 done
2726 else 2992 else
2727 { { echo "$as_me:2727: error: cannot compute EXEEXT: cannot compile and link" >&5 2993 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2728 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 2994 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2729 { (exit 1); exit 1; }; } 2995 { (exit 1); exit 1; }; }
2730 fi 2996 fi
2731 2997
2732 rm -f conftest$ac_cv_exeext 2998 rm -f conftest$ac_cv_exeext
2733 echo "$as_me:2733: result: $ac_cv_exeext" >&5 2999 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2734 echo "${ECHO_T}$ac_cv_exeext" >&6 3000 echo "${ECHO_T}$ac_cv_exeext" >&6
2735 3001
2736 rm -f conftest.$ac_ext 3002 rm -f conftest.$ac_ext
2737 EXEEXT=$ac_cv_exeext 3003 EXEEXT=$ac_cv_exeext
2738 ac_exeext=$EXEEXT 3004 ac_exeext=$EXEEXT
2739 echo "$as_me:2739: checking for object suffix" >&5 3005 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2740 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 3006 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2741 if test "${ac_cv_objext+set}" = set; then 3007 if test "${ac_cv_objext+set}" = set; then
2742 echo $ECHO_N "(cached) $ECHO_C" >&6 3008 echo $ECHO_N "(cached) $ECHO_C" >&6
2743 else 3009 else
2744 cat >conftest.$ac_ext <<_ACEOF 3010 cat >conftest.$ac_ext <<_ACEOF
2745 #line 2745 "configure" 3011 #line $LINENO "configure"
2746 #include "confdefs.h" 3012 #include "confdefs.h"
2747 3013
3014 #ifdef F77_DUMMY_MAIN
3015 # ifdef __cplusplus
3016 extern "C"
3017 # endif
3018 int F77_DUMMY_MAIN() { return 1; }
3019 #endif
2748 int 3020 int
2749 main () 3021 main ()
2750 { 3022 {
2751 3023
2752 ; 3024 ;
2753 return 0; 3025 return 0;
2754 } 3026 }
2755 _ACEOF 3027 _ACEOF
2756 rm -f conftest.o conftest.obj 3028 rm -f conftest.o conftest.obj
2757 if { (eval echo "$as_me:2757: \"$ac_compile\"") >&5 3029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>&5 3030 (eval $ac_compile) 2>&5
2759 ac_status=$? 3031 ac_status=$?
2760 echo "$as_me:2760: \$? = $ac_status" >&5 3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; then 3033 (exit $ac_status); }; then
2762 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3034 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2763 case $ac_file in 3035 case $ac_file in
2764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 3036 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2765 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3037 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2767 esac 3039 esac
2768 done 3040 done
2769 else 3041 else
2770 echo "$as_me: failed program was:" >&5 3042 echo "$as_me: failed program was:" >&5
2771 cat conftest.$ac_ext >&5 3043 cat conftest.$ac_ext >&5
2772 { { echo "$as_me:2772: error: cannot compute OBJEXT: cannot compile" >&5 3044 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2773 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 3045 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2774 { (exit 1); exit 1; }; } 3046 { (exit 1); exit 1; }; }
2775 fi 3047 fi
2776 3048
2777 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3049 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2778 fi 3050 fi
2779 echo "$as_me:2779: result: $ac_cv_objext" >&5 3051 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2780 echo "${ECHO_T}$ac_cv_objext" >&6 3052 echo "${ECHO_T}$ac_cv_objext" >&6
2781 OBJEXT=$ac_cv_objext 3053 OBJEXT=$ac_cv_objext
2782 ac_objext=$OBJEXT 3054 ac_objext=$OBJEXT
2783 echo "$as_me:2783: checking whether we are using the GNU C compiler" >&5 3055 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2784 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 3056 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2785 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3057 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6 3058 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 else 3059 else
2788 cat >conftest.$ac_ext <<_ACEOF 3060 cat >conftest.$ac_ext <<_ACEOF
2789 #line 2789 "configure" 3061 #line $LINENO "configure"
2790 #include "confdefs.h" 3062 #include "confdefs.h"
2791 3063
3064 #ifdef F77_DUMMY_MAIN
3065 # ifdef __cplusplus
3066 extern "C"
3067 # endif
3068 int F77_DUMMY_MAIN() { return 1; }
3069 #endif
2792 int 3070 int
2793 main () 3071 main ()
2794 { 3072 {
2795 #ifndef __GNUC__ 3073 #ifndef __GNUC__
2796 choke me 3074 choke me
2799 ; 3077 ;
2800 return 0; 3078 return 0;
2801 } 3079 }
2802 _ACEOF 3080 _ACEOF
2803 rm -f conftest.$ac_objext 3081 rm -f conftest.$ac_objext
2804 if { (eval echo "$as_me:2804: \"$ac_compile\"") >&5 3082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2805 (eval $ac_compile) 2>&5 3083 (eval $ac_compile) 2>&5
2806 ac_status=$? 3084 ac_status=$?
2807 echo "$as_me:2807: \$? = $ac_status" >&5 3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); } && 3086 (exit $ac_status); } &&
2809 { ac_try='test -s conftest.$ac_objext' 3087 { ac_try='test -s conftest.$ac_objext'
2810 { (eval echo "$as_me:2810: \"$ac_try\"") >&5 3088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2811 (eval $ac_try) 2>&5 3089 (eval $ac_try) 2>&5
2812 ac_status=$? 3090 ac_status=$?
2813 echo "$as_me:2813: \$? = $ac_status" >&5 3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; }; then 3092 (exit $ac_status); }; }; then
2815 ac_compiler_gnu=yes 3093 ac_compiler_gnu=yes
2816 else 3094 else
2817 echo "$as_me: failed program was:" >&5 3095 echo "$as_me: failed program was:" >&5
2818 cat conftest.$ac_ext >&5 3096 cat conftest.$ac_ext >&5
2820 fi 3098 fi
2821 rm -f conftest.$ac_objext conftest.$ac_ext 3099 rm -f conftest.$ac_objext conftest.$ac_ext
2822 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3100 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2823 3101
2824 fi 3102 fi
2825 echo "$as_me:2825: result: $ac_cv_c_compiler_gnu" >&5 3103 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2826 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 3104 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2827 GCC=`test $ac_compiler_gnu = yes && echo yes` 3105 GCC=`test $ac_compiler_gnu = yes && echo yes`
2828 ac_test_CFLAGS=${CFLAGS+set} 3106 ac_test_CFLAGS=${CFLAGS+set}
2829 ac_save_CFLAGS=$CFLAGS 3107 ac_save_CFLAGS=$CFLAGS
2830 CFLAGS="-g" 3108 CFLAGS="-g"
2831 echo "$as_me:2831: checking whether $CC accepts -g" >&5 3109 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2832 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 3110 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2833 if test "${ac_cv_prog_cc_g+set}" = set; then 3111 if test "${ac_cv_prog_cc_g+set}" = set; then
2834 echo $ECHO_N "(cached) $ECHO_C" >&6 3112 echo $ECHO_N "(cached) $ECHO_C" >&6
2835 else 3113 else
2836 cat >conftest.$ac_ext <<_ACEOF 3114 cat >conftest.$ac_ext <<_ACEOF
2837 #line 2837 "configure" 3115 #line $LINENO "configure"
2838 #include "confdefs.h" 3116 #include "confdefs.h"
2839 3117
3118 #ifdef F77_DUMMY_MAIN
3119 # ifdef __cplusplus
3120 extern "C"
3121 # endif
3122 int F77_DUMMY_MAIN() { return 1; }
3123 #endif
2840 int 3124 int
2841 main () 3125 main ()
2842 { 3126 {
2843 3127
2844 ; 3128 ;
2845 return 0; 3129 return 0;
2846 } 3130 }
2847 _ACEOF 3131 _ACEOF
2848 rm -f conftest.$ac_objext 3132 rm -f conftest.$ac_objext
2849 if { (eval echo "$as_me:2849: \"$ac_compile\"") >&5 3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2850 (eval $ac_compile) 2>&5 3134 (eval $ac_compile) 2>&5
2851 ac_status=$? 3135 ac_status=$?
2852 echo "$as_me:2852: \$? = $ac_status" >&5 3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } && 3137 (exit $ac_status); } &&
2854 { ac_try='test -s conftest.$ac_objext' 3138 { ac_try='test -s conftest.$ac_objext'
2855 { (eval echo "$as_me:2855: \"$ac_try\"") >&5 3139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 (eval $ac_try) 2>&5 3140 (eval $ac_try) 2>&5
2857 ac_status=$? 3141 ac_status=$?
2858 echo "$as_me:2858: \$? = $ac_status" >&5 3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; }; then 3143 (exit $ac_status); }; }; then
2860 ac_cv_prog_cc_g=yes 3144 ac_cv_prog_cc_g=yes
2861 else 3145 else
2862 echo "$as_me: failed program was:" >&5 3146 echo "$as_me: failed program was:" >&5
2863 cat conftest.$ac_ext >&5 3147 cat conftest.$ac_ext >&5
2864 ac_cv_prog_cc_g=no 3148 ac_cv_prog_cc_g=no
2865 fi 3149 fi
2866 rm -f conftest.$ac_objext conftest.$ac_ext 3150 rm -f conftest.$ac_objext conftest.$ac_ext
2867 fi 3151 fi
2868 echo "$as_me:2868: result: $ac_cv_prog_cc_g" >&5 3152 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2869 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3153 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2870 if test "$ac_test_CFLAGS" = set; then 3154 if test "$ac_test_CFLAGS" = set; then
2871 CFLAGS=$ac_save_CFLAGS 3155 CFLAGS=$ac_save_CFLAGS
2872 elif test $ac_cv_prog_cc_g = yes; then 3156 elif test $ac_cv_prog_cc_g = yes; then
2873 if test "$GCC" = yes; then 3157 if test "$GCC" = yes; then
2890 #ifndef __cplusplus 3174 #ifndef __cplusplus
2891 choke me 3175 choke me
2892 #endif 3176 #endif
2893 _ACEOF 3177 _ACEOF
2894 rm -f conftest.$ac_objext 3178 rm -f conftest.$ac_objext
2895 if { (eval echo "$as_me:2895: \"$ac_compile\"") >&5 3179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2896 (eval $ac_compile) 2>&5 3180 (eval $ac_compile) 2>&5
2897 ac_status=$? 3181 ac_status=$?
2898 echo "$as_me:2898: \$? = $ac_status" >&5 3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); } && 3183 (exit $ac_status); } &&
2900 { ac_try='test -s conftest.$ac_objext' 3184 { ac_try='test -s conftest.$ac_objext'
2901 { (eval echo "$as_me:2901: \"$ac_try\"") >&5 3185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 (eval $ac_try) 2>&5 3186 (eval $ac_try) 2>&5
2903 ac_status=$? 3187 ac_status=$?
2904 echo "$as_me:2904: \$? = $ac_status" >&5 3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; }; then 3189 (exit $ac_status); }; }; then
2906 for ac_declaration in \ 3190 for ac_declaration in \
2907 ''\ 3191 ''\
2908 '#include <stdlib.h>' \ 3192 '#include <stdlib.h>' \
2909 'extern "C" void std::exit (int) throw (); using std::exit;' \ 3193 'extern "C" void std::exit (int) throw (); using std::exit;' \
2911 'extern "C" void exit (int) throw ();' \ 3195 'extern "C" void exit (int) throw ();' \
2912 'extern "C" void exit (int);' \ 3196 'extern "C" void exit (int);' \
2913 'void exit (int);' 3197 'void exit (int);'
2914 do 3198 do
2915 cat >conftest.$ac_ext <<_ACEOF 3199 cat >conftest.$ac_ext <<_ACEOF
2916 #line 2916 "configure" 3200 #line $LINENO "configure"
2917 #include "confdefs.h" 3201 #include "confdefs.h"
2918 #include <stdlib.h> 3202 #include <stdlib.h>
2919 $ac_declaration 3203 $ac_declaration
3204 #ifdef F77_DUMMY_MAIN
3205 # ifdef __cplusplus
3206 extern "C"
3207 # endif
3208 int F77_DUMMY_MAIN() { return 1; }
3209 #endif
2920 int 3210 int
2921 main () 3211 main ()
2922 { 3212 {
2923 exit (42); 3213 exit (42);
2924 ; 3214 ;
2925 return 0; 3215 return 0;
2926 } 3216 }
2927 _ACEOF 3217 _ACEOF
2928 rm -f conftest.$ac_objext 3218 rm -f conftest.$ac_objext
2929 if { (eval echo "$as_me:2929: \"$ac_compile\"") >&5 3219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2930 (eval $ac_compile) 2>&5 3220 (eval $ac_compile) 2>&5
2931 ac_status=$? 3221 ac_status=$?
2932 echo "$as_me:2932: \$? = $ac_status" >&5 3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } && 3223 (exit $ac_status); } &&
2934 { ac_try='test -s conftest.$ac_objext' 3224 { ac_try='test -s conftest.$ac_objext'
2935 { (eval echo "$as_me:2935: \"$ac_try\"") >&5 3225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936 (eval $ac_try) 2>&5 3226 (eval $ac_try) 2>&5
2937 ac_status=$? 3227 ac_status=$?
2938 echo "$as_me:2938: \$? = $ac_status" >&5 3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then 3229 (exit $ac_status); }; }; then
2940 : 3230 :
2941 else 3231 else
2942 echo "$as_me: failed program was:" >&5 3232 echo "$as_me: failed program was:" >&5
2943 cat conftest.$ac_ext >&5 3233 cat conftest.$ac_ext >&5
2944 continue 3234 continue
2945 fi 3235 fi
2946 rm -f conftest.$ac_objext conftest.$ac_ext 3236 rm -f conftest.$ac_objext conftest.$ac_ext
2947 cat >conftest.$ac_ext <<_ACEOF 3237 cat >conftest.$ac_ext <<_ACEOF
2948 #line 2948 "configure" 3238 #line $LINENO "configure"
2949 #include "confdefs.h" 3239 #include "confdefs.h"
2950 $ac_declaration 3240 $ac_declaration
3241 #ifdef F77_DUMMY_MAIN
3242 # ifdef __cplusplus
3243 extern "C"
3244 # endif
3245 int F77_DUMMY_MAIN() { return 1; }
3246 #endif
2951 int 3247 int
2952 main () 3248 main ()
2953 { 3249 {
2954 exit (42); 3250 exit (42);
2955 ; 3251 ;
2956 return 0; 3252 return 0;
2957 } 3253 }
2958 _ACEOF 3254 _ACEOF
2959 rm -f conftest.$ac_objext 3255 rm -f conftest.$ac_objext
2960 if { (eval echo "$as_me:2960: \"$ac_compile\"") >&5 3256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2961 (eval $ac_compile) 2>&5 3257 (eval $ac_compile) 2>&5
2962 ac_status=$? 3258 ac_status=$?
2963 echo "$as_me:2963: \$? = $ac_status" >&5 3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); } && 3260 (exit $ac_status); } &&
2965 { ac_try='test -s conftest.$ac_objext' 3261 { ac_try='test -s conftest.$ac_objext'
2966 { (eval echo "$as_me:2966: \"$ac_try\"") >&5 3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2967 (eval $ac_try) 2>&5 3263 (eval $ac_try) 2>&5
2968 ac_status=$? 3264 ac_status=$?
2969 echo "$as_me:2969: \$? = $ac_status" >&5 3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; }; then 3266 (exit $ac_status); }; }; then
2971 break 3267 break
2972 else 3268 else
2973 echo "$as_me: failed program was:" >&5 3269 echo "$as_me: failed program was:" >&5
2974 cat conftest.$ac_ext >&5 3270 cat conftest.$ac_ext >&5
2991 ac_cpp='$CPP $CPPFLAGS' 3287 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995 3291
3292
2996 # On Suns, sometimes $CPP names a directory. 3293 # On Suns, sometimes $CPP names a directory.
2997 if test -n "$CPP" && test -d "$CPP"; then 3294 if test -n "$CPP" && test -d "$CPP"; then
2998 CPP= 3295 CPP=
2999 fi 3296 fi
3000 3297
3027 3324
3028 #### Some other nice autoconf tests. If you add a test here which 3325 #### Some other nice autoconf tests. If you add a test here which
3029 #### should make an entry in src/config.h, don't forget to add an 3326 #### should make an entry in src/config.h, don't forget to add an
3030 #### #undef clause to src/config.h.in for autoconf to modify. 3327 #### #undef clause to src/config.h.in for autoconf to modify.
3031 3328
3032 echo "$as_me:3032: checking whether ln -s works" >&5 3329 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3033 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3330 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3034 LN_S=$as_ln_s 3331 LN_S=$as_ln_s
3035 if test "$LN_S" = "ln -s"; then 3332 if test "$LN_S" = "ln -s"; then
3036 echo "$as_me:3036: result: yes" >&5 3333 echo "$as_me:$LINENO: result: yes" >&5
3037 echo "${ECHO_T}yes" >&6 3334 echo "${ECHO_T}yes" >&6
3038 else 3335 else
3039 echo "$as_me:3039: result: no, using $LN_S" >&5 3336 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3040 echo "${ECHO_T}no, using $LN_S" >&6 3337 echo "${ECHO_T}no, using $LN_S" >&6
3041 fi 3338 fi
3042 3339
3043 ac_ext=c 3340 ac_ext=c
3044 ac_cpp='$CPP $CPPFLAGS' 3341 ac_cpp='$CPP $CPPFLAGS'
3045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3047 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3048 echo "$as_me:3048: checking how to run the C preprocessor" >&5 3345 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3049 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3346 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3050 # On Suns, sometimes $CPP names a directory. 3347 # On Suns, sometimes $CPP names a directory.
3051 if test -n "$CPP" && test -d "$CPP"; then 3348 if test -n "$CPP" && test -d "$CPP"; then
3052 CPP= 3349 CPP=
3053 fi 3350 fi
3064 # Use a header file that comes with gcc, so configuring glibc 3361 # Use a header file that comes with gcc, so configuring glibc
3065 # with a fresh cross-compiler works. 3362 # with a fresh cross-compiler works.
3066 # On the NeXT, cc -E runs the code through the compiler's parser, 3363 # On the NeXT, cc -E runs the code through the compiler's parser,
3067 # not just through cpp. "Syntax error" is here to catch this case. 3364 # not just through cpp. "Syntax error" is here to catch this case.
3068 cat >conftest.$ac_ext <<_ACEOF 3365 cat >conftest.$ac_ext <<_ACEOF
3069 #line 3069 "configure" 3366 #line $LINENO "configure"
3070 #include "confdefs.h" 3367 #include "confdefs.h"
3071 #include <assert.h> 3368 #include <assert.h>
3072 Syntax error 3369 Syntax error
3073 _ACEOF 3370 _ACEOF
3074 if { (eval echo "$as_me:3074: \"$ac_cpp conftest.$ac_ext\"") >&5 3371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3076 ac_status=$? 3373 ac_status=$?
3077 egrep -v '^ *\+' conftest.er1 >conftest.err 3374 egrep -v '^ *\+' conftest.er1 >conftest.err
3078 rm -f conftest.er1 3375 rm -f conftest.er1
3079 cat conftest.err >&5 3376 cat conftest.err >&5
3080 echo "$as_me:3080: \$? = $ac_status" >&5 3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); } >/dev/null; then 3378 (exit $ac_status); } >/dev/null; then
3082 if test -s conftest.err; then 3379 if test -s conftest.err; then
3083 ac_cpp_err=$ac_c_preproc_warn_flag 3380 ac_cpp_err=$ac_c_preproc_warn_flag
3084 else 3381 else
3085 ac_cpp_err= 3382 ac_cpp_err=
3098 rm -f conftest.err conftest.$ac_ext 3395 rm -f conftest.err conftest.$ac_ext
3099 3396
3100 # OK, works on sane cases. Now check whether non-existent headers 3397 # OK, works on sane cases. Now check whether non-existent headers
3101 # can be detected and how. 3398 # can be detected and how.
3102 cat >conftest.$ac_ext <<_ACEOF 3399 cat >conftest.$ac_ext <<_ACEOF
3103 #line 3103 "configure" 3400 #line $LINENO "configure"
3104 #include "confdefs.h" 3401 #include "confdefs.h"
3105 #include <ac_nonexistent.h> 3402 #include <ac_nonexistent.h>
3106 _ACEOF 3403 _ACEOF
3107 if { (eval echo "$as_me:3107: \"$ac_cpp conftest.$ac_ext\"") >&5 3404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3109 ac_status=$? 3406 ac_status=$?
3110 egrep -v '^ *\+' conftest.er1 >conftest.err 3407 egrep -v '^ *\+' conftest.er1 >conftest.err
3111 rm -f conftest.er1 3408 rm -f conftest.er1
3112 cat conftest.err >&5 3409 cat conftest.err >&5
3113 echo "$as_me:3113: \$? = $ac_status" >&5 3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); } >/dev/null; then 3411 (exit $ac_status); } >/dev/null; then
3115 if test -s conftest.err; then 3412 if test -s conftest.err; then
3116 ac_cpp_err=$ac_c_preproc_warn_flag 3413 ac_cpp_err=$ac_c_preproc_warn_flag
3117 else 3414 else
3118 ac_cpp_err= 3415 ac_cpp_err=
3145 fi 3442 fi
3146 CPP=$ac_cv_prog_CPP 3443 CPP=$ac_cv_prog_CPP
3147 else 3444 else
3148 ac_cv_prog_CPP=$CPP 3445 ac_cv_prog_CPP=$CPP
3149 fi 3446 fi
3150 echo "$as_me:3150: result: $CPP" >&5 3447 echo "$as_me:$LINENO: result: $CPP" >&5
3151 echo "${ECHO_T}$CPP" >&6 3448 echo "${ECHO_T}$CPP" >&6
3152 ac_preproc_ok=false 3449 ac_preproc_ok=false
3153 for ac_c_preproc_warn_flag in '' yes 3450 for ac_c_preproc_warn_flag in '' yes
3154 do 3451 do
3155 # Use a header file that comes with gcc, so configuring glibc 3452 # Use a header file that comes with gcc, so configuring glibc
3156 # with a fresh cross-compiler works. 3453 # with a fresh cross-compiler works.
3157 # On the NeXT, cc -E runs the code through the compiler's parser, 3454 # On the NeXT, cc -E runs the code through the compiler's parser,
3158 # not just through cpp. "Syntax error" is here to catch this case. 3455 # not just through cpp. "Syntax error" is here to catch this case.
3159 cat >conftest.$ac_ext <<_ACEOF 3456 cat >conftest.$ac_ext <<_ACEOF
3160 #line 3160 "configure" 3457 #line $LINENO "configure"
3161 #include "confdefs.h" 3458 #include "confdefs.h"
3162 #include <assert.h> 3459 #include <assert.h>
3163 Syntax error 3460 Syntax error
3164 _ACEOF 3461 _ACEOF
3165 if { (eval echo "$as_me:3165: \"$ac_cpp conftest.$ac_ext\"") >&5 3462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3167 ac_status=$? 3464 ac_status=$?
3168 egrep -v '^ *\+' conftest.er1 >conftest.err 3465 egrep -v '^ *\+' conftest.er1 >conftest.err
3169 rm -f conftest.er1 3466 rm -f conftest.er1
3170 cat conftest.err >&5 3467 cat conftest.err >&5
3171 echo "$as_me:3171: \$? = $ac_status" >&5 3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } >/dev/null; then 3469 (exit $ac_status); } >/dev/null; then
3173 if test -s conftest.err; then 3470 if test -s conftest.err; then
3174 ac_cpp_err=$ac_c_preproc_warn_flag 3471 ac_cpp_err=$ac_c_preproc_warn_flag
3175 else 3472 else
3176 ac_cpp_err= 3473 ac_cpp_err=
3189 rm -f conftest.err conftest.$ac_ext 3486 rm -f conftest.err conftest.$ac_ext
3190 3487
3191 # OK, works on sane cases. Now check whether non-existent headers 3488 # OK, works on sane cases. Now check whether non-existent headers
3192 # can be detected and how. 3489 # can be detected and how.
3193 cat >conftest.$ac_ext <<_ACEOF 3490 cat >conftest.$ac_ext <<_ACEOF
3194 #line 3194 "configure" 3491 #line $LINENO "configure"
3195 #include "confdefs.h" 3492 #include "confdefs.h"
3196 #include <ac_nonexistent.h> 3493 #include <ac_nonexistent.h>
3197 _ACEOF 3494 _ACEOF
3198 if { (eval echo "$as_me:3198: \"$ac_cpp conftest.$ac_ext\"") >&5 3495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3200 ac_status=$? 3497 ac_status=$?
3201 egrep -v '^ *\+' conftest.er1 >conftest.err 3498 egrep -v '^ *\+' conftest.er1 >conftest.err
3202 rm -f conftest.er1 3499 rm -f conftest.er1
3203 cat conftest.err >&5 3500 cat conftest.err >&5
3204 echo "$as_me:3204: \$? = $ac_status" >&5 3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); } >/dev/null; then 3502 (exit $ac_status); } >/dev/null; then
3206 if test -s conftest.err; then 3503 if test -s conftest.err; then
3207 ac_cpp_err=$ac_c_preproc_warn_flag 3504 ac_cpp_err=$ac_c_preproc_warn_flag
3208 else 3505 else
3209 ac_cpp_err= 3506 ac_cpp_err=
3227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3228 rm -f conftest.err conftest.$ac_ext 3525 rm -f conftest.err conftest.$ac_ext
3229 if $ac_preproc_ok; then 3526 if $ac_preproc_ok; then
3230 : 3527 :
3231 else 3528 else
3232 { { echo "$as_me:3232: error: C preprocessor \"$CPP\" fails sanity check" >&5 3529 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3233 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3530 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3234 { (exit 1); exit 1; }; } 3531 { (exit 1); exit 1; }; }
3235 fi 3532 fi
3236 3533
3237 ac_ext=c 3534 ac_ext=c
3250 # AmigaOS /C/install, which installs bootblocks on floppy discs 3547 # AmigaOS /C/install, which installs bootblocks on floppy discs
3251 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3548 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3252 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3549 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3253 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3550 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3254 # ./install, which can be erroneously created by make from ./install.sh. 3551 # ./install, which can be erroneously created by make from ./install.sh.
3255 echo "$as_me:3255: checking for a BSD compatible install" >&5 3552 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3256 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 3553 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3257 if test -z "$INSTALL"; then 3554 if test -z "$INSTALL"; then
3258 if test "${ac_cv_path_install+set}" = set; then 3555 if test "${ac_cv_path_install+set}" = set; then
3259 echo $ECHO_N "(cached) $ECHO_C" >&6 3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 else 3557 else
3261 ac_save_IFS=$IFS; IFS=$ac_path_separator 3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 for ac_dir in $PATH; do 3559 for as_dir in $PATH
3263 IFS=$ac_save_IFS 3560 do
3264 # Account for people who put trailing slashes in PATH elements. 3561 IFS=$as_save_IFS
3265 case $ac_dir/ in 3562 test -z "$as_dir" && as_dir=.
3266 / | ./ | .// | /cC/* \ 3563 # Account for people who put trailing slashes in PATH elements.
3267 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 3564 case $as_dir/ in
3268 | /usr/ucb/* ) ;; 3565 ./ | .// | /cC/* | \
3269 *) 3566 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3270 # OSF1 and SCO ODT 3.0 have their own names for install. 3567 /usr/ucb/* ) ;;
3271 # Don't use installbsd from OSF since it installs stuff as root 3568 *)
3272 # by default. 3569 # OSF1 and SCO ODT 3.0 have their own names for install.
3273 for ac_prog in ginstall scoinst install; do 3570 # Don't use installbsd from OSF since it installs stuff as root
3274 if $as_executable_p "$ac_dir/$ac_prog"; then 3571 # by default.
3275 if test $ac_prog = install && 3572 for ac_prog in ginstall scoinst install; do
3276 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then 3573 for ac_exec_ext in '' $ac_executable_extensions; do
3277 # AIX install. It has an incompatible calling convention. 3574 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3278 : 3575 if test $ac_prog = install &&
3279 elif test $ac_prog = install && 3576 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3280 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then 3577 # AIX install. It has an incompatible calling convention.
3281 # program-specific install script used by HP pwplus--don't use. 3578 :
3282 : 3579 elif test $ac_prog = install &&
3283 else 3580 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3284 ac_cv_path_install="$ac_dir/$ac_prog -c" 3581 # program-specific install script used by HP pwplus--don't use.
3285 break 2 3582 :
3286 fi 3583 else
3287 fi 3584 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3585 break 3
3586 fi
3587 fi
3288 done 3588 done
3289 ;; 3589 done
3290 esac 3590 ;;
3291 done 3591 esac
3592 done
3593
3292 3594
3293 fi 3595 fi
3294 if test "${ac_cv_path_install+set}" = set; then 3596 if test "${ac_cv_path_install+set}" = set; then
3295 INSTALL=$ac_cv_path_install 3597 INSTALL=$ac_cv_path_install
3296 else 3598 else
3299 # break other packages using the cache if that directory is 3601 # break other packages using the cache if that directory is
3300 # removed, or if the path is relative. 3602 # removed, or if the path is relative.
3301 INSTALL=$ac_install_sh 3603 INSTALL=$ac_install_sh
3302 fi 3604 fi
3303 fi 3605 fi
3304 echo "$as_me:3304: result: $INSTALL" >&5 3606 echo "$as_me:$LINENO: result: $INSTALL" >&5
3305 echo "${ECHO_T}$INSTALL" >&6 3607 echo "${ECHO_T}$INSTALL" >&6
3306 3608
3307 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3609 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3308 # It thinks the first close brace ends the variable substitution. 3610 # It thinks the first close brace ends the variable substitution.
3309 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3611 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3310 3612
3311 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3613 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3312 3614
3313 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3615 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3314
3315 for ac_prog in 'bison -y' byacc
3316 do
3317 # Extract the first word of "$ac_prog", so it can be a program name with args.
3318 set dummy $ac_prog; ac_word=$2
3319 echo "$as_me:3319: checking for $ac_word" >&5
3320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3321 if test "${ac_cv_prog_YACC+set}" = set; then
3322 echo $ECHO_N "(cached) $ECHO_C" >&6
3323 else
3324 if test -n "$YACC"; then
3325 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3326 else
3327 ac_save_IFS=$IFS; IFS=$ac_path_separator
3328 ac_dummy="$PATH"
3329 for ac_dir in $ac_dummy; do
3330 IFS=$ac_save_IFS
3331 test -z "$ac_dir" && ac_dir=.
3332 $as_executable_p "$ac_dir/$ac_word" || continue
3333 ac_cv_prog_YACC="$ac_prog"
3334 echo "$as_me:3334: found $ac_dir/$ac_word" >&5
3335 break
3336 done
3337
3338 fi
3339 fi
3340 YACC=$ac_cv_prog_YACC
3341 if test -n "$YACC"; then
3342 echo "$as_me:3342: result: $YACC" >&5
3343 echo "${ECHO_T}$YACC" >&6
3344 else
3345 echo "$as_me:3345: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3347 fi
3348
3349 test -n "$YACC" && break
3350 done
3351 test -n "$YACC" || YACC="yacc"
3352 3616
3353 if test "x$RANLIB" = x; then 3617 if test "x$RANLIB" = x; then
3354 if test -n "$ac_tool_prefix"; then 3618 if test -n "$ac_tool_prefix"; then
3355 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3619 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3356 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3620 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3357 echo "$as_me:3357: checking for $ac_word" >&5 3621 echo "$as_me:$LINENO: checking for $ac_word" >&5
3358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3359 if test "${ac_cv_prog_RANLIB+set}" = set; then 3623 if test "${ac_cv_prog_RANLIB+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6 3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 else 3625 else
3362 if test -n "$RANLIB"; then 3626 if test -n "$RANLIB"; then
3363 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3627 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3364 else 3628 else
3365 ac_save_IFS=$IFS; IFS=$ac_path_separator 3629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 ac_dummy="$PATH" 3630 for as_dir in $PATH
3367 for ac_dir in $ac_dummy; do 3631 do
3368 IFS=$ac_save_IFS 3632 IFS=$as_save_IFS
3369 test -z "$ac_dir" && ac_dir=. 3633 test -z "$as_dir" && as_dir=.
3370 $as_executable_p "$ac_dir/$ac_word" || continue 3634 for ac_exec_ext in '' $ac_executable_extensions; do
3371 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372 echo "$as_me:3372: found $ac_dir/$ac_word" >&5 3636 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3373 break 3637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3638 break 2
3639 fi
3640 done
3374 done 3641 done
3375 3642
3376 fi 3643 fi
3377 fi 3644 fi
3378 RANLIB=$ac_cv_prog_RANLIB 3645 RANLIB=$ac_cv_prog_RANLIB
3379 if test -n "$RANLIB"; then 3646 if test -n "$RANLIB"; then
3380 echo "$as_me:3380: result: $RANLIB" >&5 3647 echo "$as_me:$LINENO: result: $RANLIB" >&5
3381 echo "${ECHO_T}$RANLIB" >&6 3648 echo "${ECHO_T}$RANLIB" >&6
3382 else 3649 else
3383 echo "$as_me:3383: result: no" >&5 3650 echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6 3651 echo "${ECHO_T}no" >&6
3385 fi 3652 fi
3386 3653
3387 fi 3654 fi
3388 if test -z "$ac_cv_prog_RANLIB"; then 3655 if test -z "$ac_cv_prog_RANLIB"; then
3389 ac_ct_RANLIB=$RANLIB 3656 ac_ct_RANLIB=$RANLIB
3390 # Extract the first word of "ranlib", so it can be a program name with args. 3657 # Extract the first word of "ranlib", so it can be a program name with args.
3391 set dummy ranlib; ac_word=$2 3658 set dummy ranlib; ac_word=$2
3392 echo "$as_me:3392: checking for $ac_word" >&5 3659 echo "$as_me:$LINENO: checking for $ac_word" >&5
3393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3394 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3661 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3395 echo $ECHO_N "(cached) $ECHO_C" >&6 3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 else 3663 else
3397 if test -n "$ac_ct_RANLIB"; then 3664 if test -n "$ac_ct_RANLIB"; then
3398 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3665 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3399 else 3666 else
3400 ac_save_IFS=$IFS; IFS=$ac_path_separator 3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3401 ac_dummy="$PATH" 3668 for as_dir in $PATH
3402 for ac_dir in $ac_dummy; do 3669 do
3403 IFS=$ac_save_IFS 3670 IFS=$as_save_IFS
3404 test -z "$ac_dir" && ac_dir=. 3671 test -z "$as_dir" && as_dir=.
3405 $as_executable_p "$ac_dir/$ac_word" || continue 3672 for ac_exec_ext in '' $ac_executable_extensions; do
3406 ac_cv_prog_ac_ct_RANLIB="ranlib" 3673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3407 echo "$as_me:3407: found $ac_dir/$ac_word" >&5 3674 ac_cv_prog_ac_ct_RANLIB="ranlib"
3408 break 3675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3677 fi
3678 done
3409 done 3679 done
3410 3680
3411 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3681 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3412 fi 3682 fi
3413 fi 3683 fi
3414 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3684 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3415 if test -n "$ac_ct_RANLIB"; then 3685 if test -n "$ac_ct_RANLIB"; then
3416 echo "$as_me:3416: result: $ac_ct_RANLIB" >&5 3686 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3417 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3687 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3418 else 3688 else
3419 echo "$as_me:3419: result: no" >&5 3689 echo "$as_me:$LINENO: result: no" >&5
3420 echo "${ECHO_T}no" >&6 3690 echo "${ECHO_T}no" >&6
3421 fi 3691 fi
3422 3692
3423 RANLIB=$ac_ct_RANLIB 3693 RANLIB=$ac_ct_RANLIB
3424 else 3694 else
3425 RANLIB="$ac_cv_prog_RANLIB" 3695 RANLIB="$ac_cv_prog_RANLIB"
3426 fi 3696 fi
3427 3697
3428 fi 3698 fi
3699
3429 3700
3430 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x 3701 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
3431 then 3702 then
3432 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" 3703 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
3433 fi 3704 fi
3435 if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x 3706 if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x
3436 then 3707 then
3437 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS" 3708 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
3438 fi 3709 fi
3439 3710
3440 echo "$as_me:3440: checking for AIX" >&5 3711
3712
3713
3714 echo "$as_me:$LINENO: checking for AIX" >&5
3441 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3715 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3442 cat >conftest.$ac_ext <<_ACEOF 3716 cat >conftest.$ac_ext <<_ACEOF
3443 #line 3443 "configure" 3717 #line $LINENO "configure"
3444 #include "confdefs.h" 3718 #include "confdefs.h"
3445 #ifdef _AIX 3719 #ifdef _AIX
3446 yes 3720 yes
3447 #endif 3721 #endif
3448 3722
3449 _ACEOF 3723 _ACEOF
3450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3451 egrep "yes" >/dev/null 2>&1; then 3725 egrep "yes" >/dev/null 2>&1; then
3452 echo "$as_me:3452: result: yes" >&5 3726 echo "$as_me:$LINENO: result: yes" >&5
3453 echo "${ECHO_T}yes" >&6 3727 echo "${ECHO_T}yes" >&6
3454 cat >>confdefs.h <<\EOF 3728 cat >>confdefs.h <<\_ACEOF
3455 #define _ALL_SOURCE 1 3729 #define _ALL_SOURCE 1
3456 EOF 3730 _ACEOF
3457 3731
3458 else 3732 else
3459 echo "$as_me:3459: result: no" >&5 3733 echo "$as_me:$LINENO: result: no" >&5
3460 echo "${ECHO_T}no" >&6 3734 echo "${ECHO_T}no" >&6
3461 fi 3735 fi
3462 rm -f conftest* 3736 rm -f conftest*
3463 3737
3738
3739
3464 #### Extract some information from the operating system and machine files. 3740 #### Extract some information from the operating system and machine files.
3465 3741
3466 { echo "$as_me:3466: checking the machine- and system-dependent files to find out 3742 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
3467 - which libraries the lib-src programs will want, and 3743 - which libraries the lib-src programs will want, and
3468 - whether the GNU malloc routines are usable..." >&5 3744 - whether the GNU malloc routines are usable..." >&5
3469 echo "$as_me: checking the machine- and system-dependent files to find out 3745 echo "$as_me: checking the machine- and system-dependent files to find out
3470 - which libraries the lib-src programs will want, and 3746 - which libraries the lib-src programs will want, and
3471 - whether the GNU malloc routines are usable..." >&6;} 3747 - whether the GNU malloc routines are usable..." >&6;}
3611 enableval="$enable_largefile" 3887 enableval="$enable_largefile"
3612 3888
3613 fi; 3889 fi;
3614 if test "$enable_largefile" != no; then 3890 if test "$enable_largefile" != no; then
3615 3891
3616 echo "$as_me:3616: checking for special C compiler options needed for large files" >&5 3892 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3617 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3893 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3618 if test "${ac_cv_sys_largefile_CC+set}" = set; then 3894 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3619 echo $ECHO_N "(cached) $ECHO_C" >&6 3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3620 else 3896 else
3621 ac_cv_sys_largefile_CC=no 3897 ac_cv_sys_largefile_CC=no
3623 ac_save_CC=$CC 3899 ac_save_CC=$CC
3624 while :; do 3900 while :; do
3625 # IRIX 6.2 and later do not support large files by default, 3901 # IRIX 6.2 and later do not support large files by default,
3626 # so use the C compiler's -n32 option if that helps. 3902 # so use the C compiler's -n32 option if that helps.
3627 cat >conftest.$ac_ext <<_ACEOF 3903 cat >conftest.$ac_ext <<_ACEOF
3628 #line 3628 "configure" 3904 #line $LINENO "configure"
3629 #include "confdefs.h" 3905 #include "confdefs.h"
3630 #include <sys/types.h> 3906 #include <sys/types.h>
3631 /* Check that off_t can represent 2**63 - 1 correctly. 3907 /* Check that off_t can represent 2**63 - 1 correctly.
3632 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3908 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3633 since some C++ compilers masquerading as C compilers 3909 since some C++ compilers masquerading as C compilers
3634 incorrectly reject 9223372036854775807. */ 3910 incorrectly reject 9223372036854775807. */
3635 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 3911 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3636 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3912 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3637 && LARGE_OFF_T % 2147483647 == 1) 3913 && LARGE_OFF_T % 2147483647 == 1)
3638 ? 1 : -1]; 3914 ? 1 : -1];
3915 #ifdef F77_DUMMY_MAIN
3916 # ifdef __cplusplus
3917 extern "C"
3918 # endif
3919 int F77_DUMMY_MAIN() { return 1; }
3920 #endif
3639 int 3921 int
3640 main () 3922 main ()
3641 { 3923 {
3642 3924
3643 ; 3925 ;
3644 return 0; 3926 return 0;
3645 } 3927 }
3646 _ACEOF 3928 _ACEOF
3647 rm -f conftest.$ac_objext 3929 rm -f conftest.$ac_objext
3648 if { (eval echo "$as_me:3648: \"$ac_compile\"") >&5 3930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3649 (eval $ac_compile) 2>&5 3931 (eval $ac_compile) 2>&5
3650 ac_status=$? 3932 ac_status=$?
3651 echo "$as_me:3651: \$? = $ac_status" >&5 3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } && 3934 (exit $ac_status); } &&
3653 { ac_try='test -s conftest.$ac_objext' 3935 { ac_try='test -s conftest.$ac_objext'
3654 { (eval echo "$as_me:3654: \"$ac_try\"") >&5 3936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 (eval $ac_try) 2>&5 3937 (eval $ac_try) 2>&5
3656 ac_status=$? 3938 ac_status=$?
3657 echo "$as_me:3657: \$? = $ac_status" >&5 3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); }; }; then 3940 (exit $ac_status); }; }; then
3659 break 3941 break
3660 else 3942 else
3661 echo "$as_me: failed program was:" >&5 3943 echo "$as_me: failed program was:" >&5
3662 cat conftest.$ac_ext >&5 3944 cat conftest.$ac_ext >&5
3663 fi 3945 fi
3664 rm -f conftest.$ac_objext 3946 rm -f conftest.$ac_objext
3665 CC="$CC -n32" 3947 CC="$CC -n32"
3666 rm -f conftest.$ac_objext 3948 rm -f conftest.$ac_objext
3667 if { (eval echo "$as_me:3667: \"$ac_compile\"") >&5 3949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3668 (eval $ac_compile) 2>&5 3950 (eval $ac_compile) 2>&5
3669 ac_status=$? 3951 ac_status=$?
3670 echo "$as_me:3670: \$? = $ac_status" >&5 3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); } && 3953 (exit $ac_status); } &&
3672 { ac_try='test -s conftest.$ac_objext' 3954 { ac_try='test -s conftest.$ac_objext'
3673 { (eval echo "$as_me:3673: \"$ac_try\"") >&5 3955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674 (eval $ac_try) 2>&5 3956 (eval $ac_try) 2>&5
3675 ac_status=$? 3957 ac_status=$?
3676 echo "$as_me:3676: \$? = $ac_status" >&5 3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); }; }; then 3959 (exit $ac_status); }; }; then
3678 ac_cv_sys_largefile_CC=' -n32'; break 3960 ac_cv_sys_largefile_CC=' -n32'; break
3679 else 3961 else
3680 echo "$as_me: failed program was:" >&5 3962 echo "$as_me: failed program was:" >&5
3681 cat conftest.$ac_ext >&5 3963 cat conftest.$ac_ext >&5
3685 done 3967 done
3686 CC=$ac_save_CC 3968 CC=$ac_save_CC
3687 rm -f conftest.$ac_ext 3969 rm -f conftest.$ac_ext
3688 fi 3970 fi
3689 fi 3971 fi
3690 echo "$as_me:3690: result: $ac_cv_sys_largefile_CC" >&5 3972 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3691 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3973 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3692 if test "$ac_cv_sys_largefile_CC" != no; then 3974 if test "$ac_cv_sys_largefile_CC" != no; then
3693 CC=$CC$ac_cv_sys_largefile_CC 3975 CC=$CC$ac_cv_sys_largefile_CC
3694 fi 3976 fi
3695 3977
3696 echo "$as_me:3696: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3978 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3697 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3979 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3698 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3980 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6 3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else 3982 else
3701 while :; do 3983 while :; do
3702 ac_cv_sys_file_offset_bits=no 3984 ac_cv_sys_file_offset_bits=no
3703 cat >conftest.$ac_ext <<_ACEOF 3985 cat >conftest.$ac_ext <<_ACEOF
3704 #line 3704 "configure" 3986 #line $LINENO "configure"
3705 #include "confdefs.h" 3987 #include "confdefs.h"
3706 #include <sys/types.h> 3988 #include <sys/types.h>
3707 /* Check that off_t can represent 2**63 - 1 correctly. 3989 /* Check that off_t can represent 2**63 - 1 correctly.
3708 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3990 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3709 since some C++ compilers masquerading as C compilers 3991 since some C++ compilers masquerading as C compilers
3710 incorrectly reject 9223372036854775807. */ 3992 incorrectly reject 9223372036854775807. */
3711 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 3993 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3712 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3994 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3713 && LARGE_OFF_T % 2147483647 == 1) 3995 && LARGE_OFF_T % 2147483647 == 1)
3714 ? 1 : -1]; 3996 ? 1 : -1];
3997 #ifdef F77_DUMMY_MAIN
3998 # ifdef __cplusplus
3999 extern "C"
4000 # endif
4001 int F77_DUMMY_MAIN() { return 1; }
4002 #endif
3715 int 4003 int
3716 main () 4004 main ()
3717 { 4005 {
3718 4006
3719 ; 4007 ;
3720 return 0; 4008 return 0;
3721 } 4009 }
3722 _ACEOF 4010 _ACEOF
3723 rm -f conftest.$ac_objext 4011 rm -f conftest.$ac_objext
3724 if { (eval echo "$as_me:3724: \"$ac_compile\"") >&5 4012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3725 (eval $ac_compile) 2>&5 4013 (eval $ac_compile) 2>&5
3726 ac_status=$? 4014 ac_status=$?
3727 echo "$as_me:3727: \$? = $ac_status" >&5 4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); } && 4016 (exit $ac_status); } &&
3729 { ac_try='test -s conftest.$ac_objext' 4017 { ac_try='test -s conftest.$ac_objext'
3730 { (eval echo "$as_me:3730: \"$ac_try\"") >&5 4018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 (eval $ac_try) 2>&5 4019 (eval $ac_try) 2>&5
3732 ac_status=$? 4020 ac_status=$?
3733 echo "$as_me:3733: \$? = $ac_status" >&5 4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then 4022 (exit $ac_status); }; }; then
3735 break 4023 break
3736 else 4024 else
3737 echo "$as_me: failed program was:" >&5 4025 echo "$as_me: failed program was:" >&5
3738 cat conftest.$ac_ext >&5 4026 cat conftest.$ac_ext >&5
3739 fi 4027 fi
3740 rm -f conftest.$ac_objext conftest.$ac_ext 4028 rm -f conftest.$ac_objext conftest.$ac_ext
3741 cat >conftest.$ac_ext <<_ACEOF 4029 cat >conftest.$ac_ext <<_ACEOF
3742 #line 3742 "configure" 4030 #line $LINENO "configure"
3743 #include "confdefs.h" 4031 #include "confdefs.h"
3744 #define _FILE_OFFSET_BITS 64 4032 #define _FILE_OFFSET_BITS 64
3745 #include <sys/types.h> 4033 #include <sys/types.h>
3746 /* Check that off_t can represent 2**63 - 1 correctly. 4034 /* Check that off_t can represent 2**63 - 1 correctly.
3747 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4035 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3749 incorrectly reject 9223372036854775807. */ 4037 incorrectly reject 9223372036854775807. */
3750 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4038 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4039 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3752 && LARGE_OFF_T % 2147483647 == 1) 4040 && LARGE_OFF_T % 2147483647 == 1)
3753 ? 1 : -1]; 4041 ? 1 : -1];
4042 #ifdef F77_DUMMY_MAIN
4043 # ifdef __cplusplus
4044 extern "C"
4045 # endif
4046 int F77_DUMMY_MAIN() { return 1; }
4047 #endif
3754 int 4048 int
3755 main () 4049 main ()
3756 { 4050 {
3757 4051
3758 ; 4052 ;
3759 return 0; 4053 return 0;
3760 } 4054 }
3761 _ACEOF 4055 _ACEOF
3762 rm -f conftest.$ac_objext 4056 rm -f conftest.$ac_objext
3763 if { (eval echo "$as_me:3763: \"$ac_compile\"") >&5 4057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3764 (eval $ac_compile) 2>&5 4058 (eval $ac_compile) 2>&5
3765 ac_status=$? 4059 ac_status=$?
3766 echo "$as_me:3766: \$? = $ac_status" >&5 4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); } && 4061 (exit $ac_status); } &&
3768 { ac_try='test -s conftest.$ac_objext' 4062 { ac_try='test -s conftest.$ac_objext'
3769 { (eval echo "$as_me:3769: \"$ac_try\"") >&5 4063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3770 (eval $ac_try) 2>&5 4064 (eval $ac_try) 2>&5
3771 ac_status=$? 4065 ac_status=$?
3772 echo "$as_me:3772: \$? = $ac_status" >&5 4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; }; then 4067 (exit $ac_status); }; }; then
3774 ac_cv_sys_file_offset_bits=64; break 4068 ac_cv_sys_file_offset_bits=64; break
3775 else 4069 else
3776 echo "$as_me: failed program was:" >&5 4070 echo "$as_me: failed program was:" >&5
3777 cat conftest.$ac_ext >&5 4071 cat conftest.$ac_ext >&5
3778 fi 4072 fi
3779 rm -f conftest.$ac_objext conftest.$ac_ext 4073 rm -f conftest.$ac_objext conftest.$ac_ext
3780 break 4074 break
3781 done 4075 done
3782 fi 4076 fi
3783 echo "$as_me:3783: result: $ac_cv_sys_file_offset_bits" >&5 4077 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3784 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 4078 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3785 if test "$ac_cv_sys_file_offset_bits" != no; then 4079 if test "$ac_cv_sys_file_offset_bits" != no; then
3786 4080
3787 cat >>confdefs.h <<EOF 4081 cat >>confdefs.h <<_ACEOF
3788 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 4082 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3789 EOF 4083 _ACEOF
3790 4084
3791 fi 4085 fi
3792 rm -f conftest* 4086 rm -f conftest*
3793 echo "$as_me:3793: checking for _LARGE_FILES value needed for large files" >&5 4087 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3794 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 4088 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3795 if test "${ac_cv_sys_large_files+set}" = set; then 4089 if test "${ac_cv_sys_large_files+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6 4090 echo $ECHO_N "(cached) $ECHO_C" >&6
3797 else 4091 else
3798 while :; do 4092 while :; do
3799 ac_cv_sys_large_files=no 4093 ac_cv_sys_large_files=no
3800 cat >conftest.$ac_ext <<_ACEOF 4094 cat >conftest.$ac_ext <<_ACEOF
3801 #line 3801 "configure" 4095 #line $LINENO "configure"
3802 #include "confdefs.h" 4096 #include "confdefs.h"
3803 #include <sys/types.h> 4097 #include <sys/types.h>
3804 /* Check that off_t can represent 2**63 - 1 correctly. 4098 /* Check that off_t can represent 2**63 - 1 correctly.
3805 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4099 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3806 since some C++ compilers masquerading as C compilers 4100 since some C++ compilers masquerading as C compilers
3807 incorrectly reject 9223372036854775807. */ 4101 incorrectly reject 9223372036854775807. */
3808 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4102 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3809 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4103 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3810 && LARGE_OFF_T % 2147483647 == 1) 4104 && LARGE_OFF_T % 2147483647 == 1)
3811 ? 1 : -1]; 4105 ? 1 : -1];
4106 #ifdef F77_DUMMY_MAIN
4107 # ifdef __cplusplus
4108 extern "C"
4109 # endif
4110 int F77_DUMMY_MAIN() { return 1; }
4111 #endif
3812 int 4112 int
3813 main () 4113 main ()
3814 { 4114 {
3815 4115
3816 ; 4116 ;
3817 return 0; 4117 return 0;
3818 } 4118 }
3819 _ACEOF 4119 _ACEOF
3820 rm -f conftest.$ac_objext 4120 rm -f conftest.$ac_objext
3821 if { (eval echo "$as_me:3821: \"$ac_compile\"") >&5 4121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3822 (eval $ac_compile) 2>&5 4122 (eval $ac_compile) 2>&5
3823 ac_status=$? 4123 ac_status=$?
3824 echo "$as_me:3824: \$? = $ac_status" >&5 4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); } && 4125 (exit $ac_status); } &&
3826 { ac_try='test -s conftest.$ac_objext' 4126 { ac_try='test -s conftest.$ac_objext'
3827 { (eval echo "$as_me:3827: \"$ac_try\"") >&5 4127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828 (eval $ac_try) 2>&5 4128 (eval $ac_try) 2>&5
3829 ac_status=$? 4129 ac_status=$?
3830 echo "$as_me:3830: \$? = $ac_status" >&5 4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); }; }; then 4131 (exit $ac_status); }; }; then
3832 break 4132 break
3833 else 4133 else
3834 echo "$as_me: failed program was:" >&5 4134 echo "$as_me: failed program was:" >&5
3835 cat conftest.$ac_ext >&5 4135 cat conftest.$ac_ext >&5
3836 fi 4136 fi
3837 rm -f conftest.$ac_objext conftest.$ac_ext 4137 rm -f conftest.$ac_objext conftest.$ac_ext
3838 cat >conftest.$ac_ext <<_ACEOF 4138 cat >conftest.$ac_ext <<_ACEOF
3839 #line 3839 "configure" 4139 #line $LINENO "configure"
3840 #include "confdefs.h" 4140 #include "confdefs.h"
3841 #define _LARGE_FILES 1 4141 #define _LARGE_FILES 1
3842 #include <sys/types.h> 4142 #include <sys/types.h>
3843 /* Check that off_t can represent 2**63 - 1 correctly. 4143 /* Check that off_t can represent 2**63 - 1 correctly.
3844 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4144 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3846 incorrectly reject 9223372036854775807. */ 4146 incorrectly reject 9223372036854775807. */
3847 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4147 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3848 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4148 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3849 && LARGE_OFF_T % 2147483647 == 1) 4149 && LARGE_OFF_T % 2147483647 == 1)
3850 ? 1 : -1]; 4150 ? 1 : -1];
4151 #ifdef F77_DUMMY_MAIN
4152 # ifdef __cplusplus
4153 extern "C"
4154 # endif
4155 int F77_DUMMY_MAIN() { return 1; }
4156 #endif
3851 int 4157 int
3852 main () 4158 main ()
3853 { 4159 {
3854 4160
3855 ; 4161 ;
3856 return 0; 4162 return 0;
3857 } 4163 }
3858 _ACEOF 4164 _ACEOF
3859 rm -f conftest.$ac_objext 4165 rm -f conftest.$ac_objext
3860 if { (eval echo "$as_me:3860: \"$ac_compile\"") >&5 4166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3861 (eval $ac_compile) 2>&5 4167 (eval $ac_compile) 2>&5
3862 ac_status=$? 4168 ac_status=$?
3863 echo "$as_me:3863: \$? = $ac_status" >&5 4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); } && 4170 (exit $ac_status); } &&
3865 { ac_try='test -s conftest.$ac_objext' 4171 { ac_try='test -s conftest.$ac_objext'
3866 { (eval echo "$as_me:3866: \"$ac_try\"") >&5 4172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3867 (eval $ac_try) 2>&5 4173 (eval $ac_try) 2>&5
3868 ac_status=$? 4174 ac_status=$?
3869 echo "$as_me:3869: \$? = $ac_status" >&5 4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); }; }; then 4176 (exit $ac_status); }; }; then
3871 ac_cv_sys_large_files=1; break 4177 ac_cv_sys_large_files=1; break
3872 else 4178 else
3873 echo "$as_me: failed program was:" >&5 4179 echo "$as_me: failed program was:" >&5
3874 cat conftest.$ac_ext >&5 4180 cat conftest.$ac_ext >&5
3875 fi 4181 fi
3876 rm -f conftest.$ac_objext conftest.$ac_ext 4182 rm -f conftest.$ac_objext conftest.$ac_ext
3877 break 4183 break
3878 done 4184 done
3879 fi 4185 fi
3880 echo "$as_me:3880: result: $ac_cv_sys_large_files" >&5 4186 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3881 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 4187 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3882 if test "$ac_cv_sys_large_files" != no; then 4188 if test "$ac_cv_sys_large_files" != no; then
3883 4189
3884 cat >>confdefs.h <<EOF 4190 cat >>confdefs.h <<_ACEOF
3885 #define _LARGE_FILES $ac_cv_sys_large_files 4191 #define _LARGE_FILES $ac_cv_sys_large_files
3886 EOF 4192 _ACEOF
3887 4193
3888 fi 4194 fi
3889 rm -f conftest* 4195 rm -f conftest*
3890 fi 4196 fi
4197
3891 4198
3892 if test "${with_sound}" != "no"; then 4199 if test "${with_sound}" != "no"; then
3893 # Sound support for GNU/Linux and the free BSDs. 4200 # Sound support for GNU/Linux and the free BSDs.
3894 4201 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3895 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 4202 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3896 do 4203 if test "${ac_cv_header_stdc+set}" = set; then
3897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3898 echo "$as_me:3898: checking for $ac_header" >&5
3899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3901 echo $ECHO_N "(cached) $ECHO_C" >&6 4204 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 else 4205 else
3903 cat >conftest.$ac_ext <<_ACEOF 4206 cat >conftest.$ac_ext <<_ACEOF
3904 #line 3904 "configure" 4207 #line $LINENO "configure"
3905 #include "confdefs.h" 4208 #include "confdefs.h"
3906 #include <$ac_header> 4209 #include <stdlib.h>
3907 _ACEOF 4210 #include <stdarg.h>
3908 if { (eval echo "$as_me:3908: \"$ac_cpp conftest.$ac_ext\"") >&5 4211 #include <string.h>
4212 #include <float.h>
4213
4214 _ACEOF
4215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3910 ac_status=$? 4217 ac_status=$?
3911 egrep -v '^ *\+' conftest.er1 >conftest.err 4218 egrep -v '^ *\+' conftest.er1 >conftest.err
3912 rm -f conftest.er1 4219 rm -f conftest.er1
3913 cat conftest.err >&5 4220 cat conftest.err >&5
3914 echo "$as_me:3914: \$? = $ac_status" >&5 4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); } >/dev/null; then 4222 (exit $ac_status); } >/dev/null; then
3916 if test -s conftest.err; then 4223 if test -s conftest.err; then
3917 ac_cpp_err=$ac_c_preproc_warn_flag 4224 ac_cpp_err=$ac_c_preproc_warn_flag
3918 else 4225 else
3919 ac_cpp_err= 4226 ac_cpp_err=
3920 fi 4227 fi
3921 else 4228 else
3922 ac_cpp_err=yes 4229 ac_cpp_err=yes
3923 fi 4230 fi
3924 if test -z "$ac_cpp_err"; then 4231 if test -z "$ac_cpp_err"; then
3925 eval "$as_ac_Header=yes"
3926 else
3927 echo "$as_me: failed program was:" >&5
3928 cat conftest.$ac_ext >&5
3929 eval "$as_ac_Header=no"
3930 fi
3931 rm -f conftest.err conftest.$ac_ext
3932 fi
3933 echo "$as_me:3933: result: `eval echo '${'$as_ac_Header'}'`" >&5
3934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3936 cat >>confdefs.h <<EOF
3937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3938 EOF
3939
3940 fi
3941 done
3942
3943 # Emulation library used on NetBSD.
3944 echo "$as_me:3944: checking for _oss_ioctl in -lossaudio" >&5
3945 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3946 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 else
3949 ac_check_lib_save_LIBS=$LIBS
3950 LIBS="-lossaudio $LIBS"
3951 cat >conftest.$ac_ext <<_ACEOF
3952 #line 3952 "configure"
3953 #include "confdefs.h"
3954
3955 /* Override any gcc2 internal prototype to avoid an error. */
3956 #ifdef __cplusplus
3957 extern "C"
3958 #endif
3959 /* We use char because int might match the return type of a gcc2
3960 builtin and then its argument prototype would still apply. */
3961 char _oss_ioctl ();
3962 int
3963 main ()
3964 {
3965 _oss_ioctl ();
3966 ;
3967 return 0;
3968 }
3969 _ACEOF
3970 rm -f conftest.$ac_objext conftest$ac_exeext
3971 if { (eval echo "$as_me:3971: \"$ac_link\"") >&5
3972 (eval $ac_link) 2>&5
3973 ac_status=$?
3974 echo "$as_me:3974: \$? = $ac_status" >&5
3975 (exit $ac_status); } &&
3976 { ac_try='test -s conftest$ac_exeext'
3977 { (eval echo "$as_me:3977: \"$ac_try\"") >&5
3978 (eval $ac_try) 2>&5
3979 ac_status=$?
3980 echo "$as_me:3980: \$? = $ac_status" >&5
3981 (exit $ac_status); }; }; then
3982 ac_cv_lib_ossaudio__oss_ioctl=yes
3983 else
3984 echo "$as_me: failed program was:" >&5
3985 cat conftest.$ac_ext >&5
3986 ac_cv_lib_ossaudio__oss_ioctl=no
3987 fi
3988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3989 LIBS=$ac_check_lib_save_LIBS
3990 fi
3991 echo "$as_me:3991: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3992 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3993 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3994 LIBSOUND=-lossaudio
3995 else
3996 LIBSOUND=
3997 fi
3998
3999 fi
4000
4001 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
4002 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
4003 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
4004 do
4005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4006 echo "$as_me:4006: checking for $ac_header" >&5
4007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4010 else
4011 cat >conftest.$ac_ext <<_ACEOF
4012 #line 4012 "configure"
4013 #include "confdefs.h"
4014 #include <$ac_header>
4015 _ACEOF
4016 if { (eval echo "$as_me:4016: \"$ac_cpp conftest.$ac_ext\"") >&5
4017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4018 ac_status=$?
4019 egrep -v '^ *\+' conftest.er1 >conftest.err
4020 rm -f conftest.er1
4021 cat conftest.err >&5
4022 echo "$as_me:4022: \$? = $ac_status" >&5
4023 (exit $ac_status); } >/dev/null; then
4024 if test -s conftest.err; then
4025 ac_cpp_err=$ac_c_preproc_warn_flag
4026 else
4027 ac_cpp_err=
4028 fi
4029 else
4030 ac_cpp_err=yes
4031 fi
4032 if test -z "$ac_cpp_err"; then
4033 eval "$as_ac_Header=yes"
4034 else
4035 echo "$as_me: failed program was:" >&5
4036 cat conftest.$ac_ext >&5
4037 eval "$as_ac_Header=no"
4038 fi
4039 rm -f conftest.err conftest.$ac_ext
4040 fi
4041 echo "$as_me:4041: result: `eval echo '${'$as_ac_Header'}'`" >&5
4042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4044 cat >>confdefs.h <<EOF
4045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4046 EOF
4047
4048 fi
4049 done
4050
4051 echo "$as_me:4051: checking for ANSI C header files" >&5
4052 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4053 if test "${ac_cv_header_stdc+set}" = set; then
4054 echo $ECHO_N "(cached) $ECHO_C" >&6
4055 else
4056 cat >conftest.$ac_ext <<_ACEOF
4057 #line 4057 "configure"
4058 #include "confdefs.h"
4059 #include <stdlib.h>
4060 #include <stdarg.h>
4061 #include <string.h>
4062 #include <float.h>
4063
4064 _ACEOF
4065 if { (eval echo "$as_me:4065: \"$ac_cpp conftest.$ac_ext\"") >&5
4066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4067 ac_status=$?
4068 egrep -v '^ *\+' conftest.er1 >conftest.err
4069 rm -f conftest.er1
4070 cat conftest.err >&5
4071 echo "$as_me:4071: \$? = $ac_status" >&5
4072 (exit $ac_status); } >/dev/null; then
4073 if test -s conftest.err; then
4074 ac_cpp_err=$ac_c_preproc_warn_flag
4075 else
4076 ac_cpp_err=
4077 fi
4078 else
4079 ac_cpp_err=yes
4080 fi
4081 if test -z "$ac_cpp_err"; then
4082 ac_cv_header_stdc=yes 4232 ac_cv_header_stdc=yes
4083 else 4233 else
4084 echo "$as_me: failed program was:" >&5 4234 echo "$as_me: failed program was:" >&5
4085 cat conftest.$ac_ext >&5 4235 cat conftest.$ac_ext >&5
4086 ac_cv_header_stdc=no 4236 ac_cv_header_stdc=no
4088 rm -f conftest.err conftest.$ac_ext 4238 rm -f conftest.err conftest.$ac_ext
4089 4239
4090 if test $ac_cv_header_stdc = yes; then 4240 if test $ac_cv_header_stdc = yes; then
4091 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4241 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4092 cat >conftest.$ac_ext <<_ACEOF 4242 cat >conftest.$ac_ext <<_ACEOF
4093 #line 4093 "configure" 4243 #line $LINENO "configure"
4094 #include "confdefs.h" 4244 #include "confdefs.h"
4095 #include <string.h> 4245 #include <string.h>
4096 4246
4097 _ACEOF 4247 _ACEOF
4098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4106 fi 4256 fi
4107 4257
4108 if test $ac_cv_header_stdc = yes; then 4258 if test $ac_cv_header_stdc = yes; then
4109 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4259 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4110 cat >conftest.$ac_ext <<_ACEOF 4260 cat >conftest.$ac_ext <<_ACEOF
4111 #line 4111 "configure" 4261 #line $LINENO "configure"
4112 #include "confdefs.h" 4262 #include "confdefs.h"
4113 #include <stdlib.h> 4263 #include <stdlib.h>
4114 4264
4115 _ACEOF 4265 _ACEOF
4116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4127 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4277 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4128 if test "$cross_compiling" = yes; then 4278 if test "$cross_compiling" = yes; then
4129 : 4279 :
4130 else 4280 else
4131 cat >conftest.$ac_ext <<_ACEOF 4281 cat >conftest.$ac_ext <<_ACEOF
4132 #line 4132 "configure" 4282 #line $LINENO "configure"
4133 #include "confdefs.h" 4283 #include "confdefs.h"
4134 #include <ctype.h> 4284 #include <ctype.h>
4135 #if ((' ' & 0x0FF) == 0x020) 4285 #if ((' ' & 0x0FF) == 0x020)
4136 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4286 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4137 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4287 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4153 exit(2); 4303 exit(2);
4154 exit (0); 4304 exit (0);
4155 } 4305 }
4156 _ACEOF 4306 _ACEOF
4157 rm -f conftest$ac_exeext 4307 rm -f conftest$ac_exeext
4158 if { (eval echo "$as_me:4158: \"$ac_link\"") >&5 4308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4159 (eval $ac_link) 2>&5 4309 (eval $ac_link) 2>&5
4160 ac_status=$? 4310 ac_status=$?
4161 echo "$as_me:4161: \$? = $ac_status" >&5 4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4163 { (eval echo "$as_me:4163: \"$ac_try\"") >&5 4313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4164 (eval $ac_try) 2>&5 4314 (eval $ac_try) 2>&5
4165 ac_status=$? 4315 ac_status=$?
4166 echo "$as_me:4166: \$? = $ac_status" >&5 4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); }; }; then 4317 (exit $ac_status); }; }; then
4168 : 4318 :
4169 else 4319 else
4170 echo "$as_me: program exited with status $ac_status" >&5 4320 echo "$as_me: program exited with status $ac_status" >&5
4171 echo "$as_me: failed program was:" >&5 4321 echo "$as_me: failed program was:" >&5
4172 cat conftest.$ac_ext >&5 4322 cat conftest.$ac_ext >&5
4323 ( exit $ac_status )
4173 ac_cv_header_stdc=no 4324 ac_cv_header_stdc=no
4174 fi 4325 fi
4175 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4326 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4176 fi 4327 fi
4177 fi 4328 fi
4178 fi 4329 fi
4179 echo "$as_me:4179: result: $ac_cv_header_stdc" >&5 4330 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4180 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4331 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4181 if test $ac_cv_header_stdc = yes; then 4332 if test $ac_cv_header_stdc = yes; then
4182 4333
4183 cat >>confdefs.h <<\EOF 4334 cat >>confdefs.h <<\_ACEOF
4184 #define STDC_HEADERS 1 4335 #define STDC_HEADERS 1
4185 EOF 4336 _ACEOF
4186 4337
4187 fi 4338 fi
4188 4339
4189 echo "$as_me:4189: checking whether time.h and sys/time.h may both be included" >&5 4340 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4351 inttypes.h stdint.h unistd.h
4352 do
4353 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4354 echo "$as_me:$LINENO: checking for $ac_header" >&5
4355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4357 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 else
4359 cat >conftest.$ac_ext <<_ACEOF
4360 #line $LINENO "configure"
4361 #include "confdefs.h"
4362 $ac_includes_default
4363
4364 #include <$ac_header>
4365 _ACEOF
4366 rm -f conftest.$ac_objext
4367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4368 (eval $ac_compile) 2>&5
4369 ac_status=$?
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try='test -s conftest.$ac_objext'
4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4374 (eval $ac_try) 2>&5
4375 ac_status=$?
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }; }; then
4378 eval "$as_ac_Header=yes"
4379 else
4380 echo "$as_me: failed program was:" >&5
4381 cat conftest.$ac_ext >&5
4382 eval "$as_ac_Header=no"
4383 fi
4384 rm -f conftest.$ac_objext conftest.$ac_ext
4385 fi
4386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4389 cat >>confdefs.h <<_ACEOF
4390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4391 _ACEOF
4392
4393 fi
4394
4395 done
4396
4397
4398
4399
4400
4401 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
4402 do
4403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4405 echo "$as_me:$LINENO: checking for $ac_header" >&5
4406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4408 echo $ECHO_N "(cached) $ECHO_C" >&6
4409 fi
4410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4412 else
4413 # Is the header compilable?
4414 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4415 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4416 cat >conftest.$ac_ext <<_ACEOF
4417 #line $LINENO "configure"
4418 #include "confdefs.h"
4419 $ac_includes_default
4420 #include <$ac_header>
4421 _ACEOF
4422 rm -f conftest.$ac_objext
4423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4424 (eval $ac_compile) 2>&5
4425 ac_status=$?
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); } &&
4428 { ac_try='test -s conftest.$ac_objext'
4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4430 (eval $ac_try) 2>&5
4431 ac_status=$?
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; }; then
4434 ac_header_compiler=yes
4435 else
4436 echo "$as_me: failed program was:" >&5
4437 cat conftest.$ac_ext >&5
4438 ac_header_compiler=no
4439 fi
4440 rm -f conftest.$ac_objext conftest.$ac_ext
4441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4442 echo "${ECHO_T}$ac_header_compiler" >&6
4443
4444 # Is the header present?
4445 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4446 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4447 cat >conftest.$ac_ext <<_ACEOF
4448 #line $LINENO "configure"
4449 #include "confdefs.h"
4450 #include <$ac_header>
4451 _ACEOF
4452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4453 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4454 ac_status=$?
4455 egrep -v '^ *\+' conftest.er1 >conftest.err
4456 rm -f conftest.er1
4457 cat conftest.err >&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } >/dev/null; then
4460 if test -s conftest.err; then
4461 ac_cpp_err=$ac_c_preproc_warn_flag
4462 else
4463 ac_cpp_err=
4464 fi
4465 else
4466 ac_cpp_err=yes
4467 fi
4468 if test -z "$ac_cpp_err"; then
4469 ac_header_preproc=yes
4470 else
4471 echo "$as_me: failed program was:" >&5
4472 cat conftest.$ac_ext >&5
4473 ac_header_preproc=no
4474 fi
4475 rm -f conftest.err conftest.$ac_ext
4476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4477 echo "${ECHO_T}$ac_header_preproc" >&6
4478
4479 # So? What about this header?
4480 case $ac_header_compiler:$ac_header_preproc in
4481 yes:no )
4482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4486 no:yes )
4487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4490 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4493 esac
4494 echo "$as_me:$LINENO: checking for $ac_header" >&5
4495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4498 else
4499 eval "$as_ac_Header=$ac_header_preproc"
4500 fi
4501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4503
4504 fi
4505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4506 cat >>confdefs.h <<_ACEOF
4507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4508 _ACEOF
4509
4510 fi
4511
4512 done
4513
4514 # Emulation library used on NetBSD.
4515 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
4516 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4517 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 else
4520 ac_check_lib_save_LIBS=$LIBS
4521 LIBS="-lossaudio $LIBS"
4522 cat >conftest.$ac_ext <<_ACEOF
4523 #line $LINENO "configure"
4524 #include "confdefs.h"
4525
4526 /* Override any gcc2 internal prototype to avoid an error. */
4527 #ifdef __cplusplus
4528 extern "C"
4529 #endif
4530 /* We use char because int might match the return type of a gcc2
4531 builtin and then its argument prototype would still apply. */
4532 char _oss_ioctl ();
4533 #ifdef F77_DUMMY_MAIN
4534 # ifdef __cplusplus
4535 extern "C"
4536 # endif
4537 int F77_DUMMY_MAIN() { return 1; }
4538 #endif
4539 int
4540 main ()
4541 {
4542 _oss_ioctl ();
4543 ;
4544 return 0;
4545 }
4546 _ACEOF
4547 rm -f conftest.$ac_objext conftest$ac_exeext
4548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4549 (eval $ac_link) 2>&5
4550 ac_status=$?
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); } &&
4553 { ac_try='test -s conftest$ac_exeext'
4554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4555 (eval $ac_try) 2>&5
4556 ac_status=$?
4557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558 (exit $ac_status); }; }; then
4559 ac_cv_lib_ossaudio__oss_ioctl=yes
4560 else
4561 echo "$as_me: failed program was:" >&5
4562 cat conftest.$ac_ext >&5
4563 ac_cv_lib_ossaudio__oss_ioctl=no
4564 fi
4565 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4566 LIBS=$ac_check_lib_save_LIBS
4567 fi
4568 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4569 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4570 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4571 LIBSOUND=-lossaudio
4572 else
4573 LIBSOUND=
4574 fi
4575
4576
4577 fi
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
4600 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
4601 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h pty.h sys/mman.h \
4602 sys/param.h
4603 do
4604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4606 echo "$as_me:$LINENO: checking for $ac_header" >&5
4607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4610 fi
4611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4613 else
4614 # Is the header compilable?
4615 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4617 cat >conftest.$ac_ext <<_ACEOF
4618 #line $LINENO "configure"
4619 #include "confdefs.h"
4620 $ac_includes_default
4621 #include <$ac_header>
4622 _ACEOF
4623 rm -f conftest.$ac_objext
4624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4625 (eval $ac_compile) 2>&5
4626 ac_status=$?
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); } &&
4629 { ac_try='test -s conftest.$ac_objext'
4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4631 (eval $ac_try) 2>&5
4632 ac_status=$?
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); }; }; then
4635 ac_header_compiler=yes
4636 else
4637 echo "$as_me: failed program was:" >&5
4638 cat conftest.$ac_ext >&5
4639 ac_header_compiler=no
4640 fi
4641 rm -f conftest.$ac_objext conftest.$ac_ext
4642 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4643 echo "${ECHO_T}$ac_header_compiler" >&6
4644
4645 # Is the header present?
4646 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4647 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4648 cat >conftest.$ac_ext <<_ACEOF
4649 #line $LINENO "configure"
4650 #include "confdefs.h"
4651 #include <$ac_header>
4652 _ACEOF
4653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4655 ac_status=$?
4656 egrep -v '^ *\+' conftest.er1 >conftest.err
4657 rm -f conftest.er1
4658 cat conftest.err >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); } >/dev/null; then
4661 if test -s conftest.err; then
4662 ac_cpp_err=$ac_c_preproc_warn_flag
4663 else
4664 ac_cpp_err=
4665 fi
4666 else
4667 ac_cpp_err=yes
4668 fi
4669 if test -z "$ac_cpp_err"; then
4670 ac_header_preproc=yes
4671 else
4672 echo "$as_me: failed program was:" >&5
4673 cat conftest.$ac_ext >&5
4674 ac_header_preproc=no
4675 fi
4676 rm -f conftest.err conftest.$ac_ext
4677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4678 echo "${ECHO_T}$ac_header_preproc" >&6
4679
4680 # So? What about this header?
4681 case $ac_header_compiler:$ac_header_preproc in
4682 yes:no )
4683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4686 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4687 no:yes )
4688 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4689 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4690 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4691 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4694 esac
4695 echo "$as_me:$LINENO: checking for $ac_header" >&5
4696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4698 echo $ECHO_N "(cached) $ECHO_C" >&6
4699 else
4700 eval "$as_ac_Header=$ac_header_preproc"
4701 fi
4702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4704
4705 fi
4706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4707 cat >>confdefs.h <<_ACEOF
4708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4709 _ACEOF
4710
4711 fi
4712
4713 done
4714
4715 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4716 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4717 if test "${ac_cv_header_stdc+set}" = set; then
4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4719 else
4720 cat >conftest.$ac_ext <<_ACEOF
4721 #line $LINENO "configure"
4722 #include "confdefs.h"
4723 #include <stdlib.h>
4724 #include <stdarg.h>
4725 #include <string.h>
4726 #include <float.h>
4727
4728 _ACEOF
4729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4731 ac_status=$?
4732 egrep -v '^ *\+' conftest.er1 >conftest.err
4733 rm -f conftest.er1
4734 cat conftest.err >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); } >/dev/null; then
4737 if test -s conftest.err; then
4738 ac_cpp_err=$ac_c_preproc_warn_flag
4739 else
4740 ac_cpp_err=
4741 fi
4742 else
4743 ac_cpp_err=yes
4744 fi
4745 if test -z "$ac_cpp_err"; then
4746 ac_cv_header_stdc=yes
4747 else
4748 echo "$as_me: failed program was:" >&5
4749 cat conftest.$ac_ext >&5
4750 ac_cv_header_stdc=no
4751 fi
4752 rm -f conftest.err conftest.$ac_ext
4753
4754 if test $ac_cv_header_stdc = yes; then
4755 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4756 cat >conftest.$ac_ext <<_ACEOF
4757 #line $LINENO "configure"
4758 #include "confdefs.h"
4759 #include <string.h>
4760
4761 _ACEOF
4762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4763 egrep "memchr" >/dev/null 2>&1; then
4764 :
4765 else
4766 ac_cv_header_stdc=no
4767 fi
4768 rm -f conftest*
4769
4770 fi
4771
4772 if test $ac_cv_header_stdc = yes; then
4773 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4774 cat >conftest.$ac_ext <<_ACEOF
4775 #line $LINENO "configure"
4776 #include "confdefs.h"
4777 #include <stdlib.h>
4778
4779 _ACEOF
4780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4781 egrep "free" >/dev/null 2>&1; then
4782 :
4783 else
4784 ac_cv_header_stdc=no
4785 fi
4786 rm -f conftest*
4787
4788 fi
4789
4790 if test $ac_cv_header_stdc = yes; then
4791 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4792 if test "$cross_compiling" = yes; then
4793 :
4794 else
4795 cat >conftest.$ac_ext <<_ACEOF
4796 #line $LINENO "configure"
4797 #include "confdefs.h"
4798 #include <ctype.h>
4799 #if ((' ' & 0x0FF) == 0x020)
4800 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4801 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4802 #else
4803 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4804 || ('j' <= (c) && (c) <= 'r') \
4805 || ('s' <= (c) && (c) <= 'z'))
4806 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4807 #endif
4808
4809 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4810 int
4811 main ()
4812 {
4813 int i;
4814 for (i = 0; i < 256; i++)
4815 if (XOR (islower (i), ISLOWER (i))
4816 || toupper (i) != TOUPPER (i))
4817 exit(2);
4818 exit (0);
4819 }
4820 _ACEOF
4821 rm -f conftest$ac_exeext
4822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4823 (eval $ac_link) 2>&5
4824 ac_status=$?
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4828 (eval $ac_try) 2>&5
4829 ac_status=$?
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; }; then
4832 :
4833 else
4834 echo "$as_me: program exited with status $ac_status" >&5
4835 echo "$as_me: failed program was:" >&5
4836 cat conftest.$ac_ext >&5
4837 ( exit $ac_status )
4838 ac_cv_header_stdc=no
4839 fi
4840 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4841 fi
4842 fi
4843 fi
4844 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4845 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4846 if test $ac_cv_header_stdc = yes; then
4847
4848 cat >>confdefs.h <<\_ACEOF
4849 #define STDC_HEADERS 1
4850 _ACEOF
4851
4852 fi
4853
4854 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4190 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4855 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4191 if test "${ac_cv_header_time+set}" = set; then 4856 if test "${ac_cv_header_time+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6 4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 else 4858 else
4194 cat >conftest.$ac_ext <<_ACEOF 4859 cat >conftest.$ac_ext <<_ACEOF
4195 #line 4195 "configure" 4860 #line $LINENO "configure"
4196 #include "confdefs.h" 4861 #include "confdefs.h"
4197 #include <sys/types.h> 4862 #include <sys/types.h>
4198 #include <sys/time.h> 4863 #include <sys/time.h>
4199 #include <time.h> 4864 #include <time.h>
4200 4865
4866 #ifdef F77_DUMMY_MAIN
4867 # ifdef __cplusplus
4868 extern "C"
4869 # endif
4870 int F77_DUMMY_MAIN() { return 1; }
4871 #endif
4201 int 4872 int
4202 main () 4873 main ()
4203 { 4874 {
4204 if ((struct tm *) 0) 4875 if ((struct tm *) 0)
4205 return 0; 4876 return 0;
4206 ; 4877 ;
4207 return 0; 4878 return 0;
4208 } 4879 }
4209 _ACEOF 4880 _ACEOF
4210 rm -f conftest.$ac_objext 4881 rm -f conftest.$ac_objext
4211 if { (eval echo "$as_me:4211: \"$ac_compile\"") >&5 4882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4212 (eval $ac_compile) 2>&5 4883 (eval $ac_compile) 2>&5
4213 ac_status=$? 4884 ac_status=$?
4214 echo "$as_me:4214: \$? = $ac_status" >&5 4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } && 4886 (exit $ac_status); } &&
4216 { ac_try='test -s conftest.$ac_objext' 4887 { ac_try='test -s conftest.$ac_objext'
4217 { (eval echo "$as_me:4217: \"$ac_try\"") >&5 4888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4218 (eval $ac_try) 2>&5 4889 (eval $ac_try) 2>&5
4219 ac_status=$? 4890 ac_status=$?
4220 echo "$as_me:4220: \$? = $ac_status" >&5 4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); }; }; then 4892 (exit $ac_status); }; }; then
4222 ac_cv_header_time=yes 4893 ac_cv_header_time=yes
4223 else 4894 else
4224 echo "$as_me: failed program was:" >&5 4895 echo "$as_me: failed program was:" >&5
4225 cat conftest.$ac_ext >&5 4896 cat conftest.$ac_ext >&5
4226 ac_cv_header_time=no 4897 ac_cv_header_time=no
4227 fi 4898 fi
4228 rm -f conftest.$ac_objext conftest.$ac_ext 4899 rm -f conftest.$ac_objext conftest.$ac_ext
4229 fi 4900 fi
4230 echo "$as_me:4230: result: $ac_cv_header_time" >&5 4901 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4231 echo "${ECHO_T}$ac_cv_header_time" >&6 4902 echo "${ECHO_T}$ac_cv_header_time" >&6
4232 if test $ac_cv_header_time = yes; then 4903 if test $ac_cv_header_time = yes; then
4233 4904
4234 cat >>confdefs.h <<\EOF 4905 cat >>confdefs.h <<\_ACEOF
4235 #define TIME_WITH_SYS_TIME 1 4906 #define TIME_WITH_SYS_TIME 1
4236 EOF 4907 _ACEOF
4237 4908
4238 fi 4909 fi
4239 4910
4240 echo "$as_me:4240: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4911 echo "$as_me:$LINENO: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4241 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 4912 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4242 if test "${ac_cv_decl_sys_siglist+set}" = set; then 4913 if test "${ac_cv_decl_sys_siglist+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6 4914 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 else 4915 else
4245 cat >conftest.$ac_ext <<_ACEOF 4916 cat >conftest.$ac_ext <<_ACEOF
4246 #line 4246 "configure" 4917 #line $LINENO "configure"
4247 #include "confdefs.h" 4918 #include "confdefs.h"
4248 #include <sys/types.h> 4919 #include <sys/types.h>
4249 #include <signal.h> 4920 #include <signal.h>
4250 /* NetBSD declares sys_siglist in unistd.h. */ 4921 /* NetBSD declares sys_siglist in unistd.h. */
4251 #if HAVE_UNISTD_H 4922 #if HAVE_UNISTD_H
4252 # include <unistd.h> 4923 # include <unistd.h>
4253 #endif 4924 #endif
4254 4925
4926 #ifdef F77_DUMMY_MAIN
4927 # ifdef __cplusplus
4928 extern "C"
4929 # endif
4930 int F77_DUMMY_MAIN() { return 1; }
4931 #endif
4255 int 4932 int
4256 main () 4933 main ()
4257 { 4934 {
4258 char *msg = *(sys_siglist + 1); 4935 char *msg = *(sys_siglist + 1);
4259 ; 4936 ;
4260 return 0; 4937 return 0;
4261 } 4938 }
4262 _ACEOF 4939 _ACEOF
4263 rm -f conftest.$ac_objext 4940 rm -f conftest.$ac_objext
4264 if { (eval echo "$as_me:4264: \"$ac_compile\"") >&5 4941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4265 (eval $ac_compile) 2>&5 4942 (eval $ac_compile) 2>&5
4266 ac_status=$? 4943 ac_status=$?
4267 echo "$as_me:4267: \$? = $ac_status" >&5 4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 (exit $ac_status); } && 4945 (exit $ac_status); } &&
4269 { ac_try='test -s conftest.$ac_objext' 4946 { ac_try='test -s conftest.$ac_objext'
4270 { (eval echo "$as_me:4270: \"$ac_try\"") >&5 4947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271 (eval $ac_try) 2>&5 4948 (eval $ac_try) 2>&5
4272 ac_status=$? 4949 ac_status=$?
4273 echo "$as_me:4273: \$? = $ac_status" >&5 4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274 (exit $ac_status); }; }; then 4951 (exit $ac_status); }; }; then
4275 ac_cv_decl_sys_siglist=yes 4952 ac_cv_decl_sys_siglist=yes
4276 else 4953 else
4277 echo "$as_me: failed program was:" >&5 4954 echo "$as_me: failed program was:" >&5
4278 cat conftest.$ac_ext >&5 4955 cat conftest.$ac_ext >&5
4279 ac_cv_decl_sys_siglist=no 4956 ac_cv_decl_sys_siglist=no
4280 fi 4957 fi
4281 rm -f conftest.$ac_objext conftest.$ac_ext 4958 rm -f conftest.$ac_objext conftest.$ac_ext
4282 fi 4959 fi
4283 echo "$as_me:4283: result: $ac_cv_decl_sys_siglist" >&5 4960 echo "$as_me:$LINENO: result: $ac_cv_decl_sys_siglist" >&5
4284 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 4961 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4285 if test $ac_cv_decl_sys_siglist = yes; then 4962 if test $ac_cv_decl_sys_siglist = yes; then
4286 4963
4287 cat >>confdefs.h <<\EOF 4964 cat >>confdefs.h <<\_ACEOF
4288 #define SYS_SIGLIST_DECLARED 1 4965 #define SYS_SIGLIST_DECLARED 1
4289 EOF 4966 _ACEOF
4290 4967
4291 fi 4968 fi
4292 4969
4293 echo "$as_me:4293: checking for sys/wait.h that is POSIX.1 compatible" >&5 4970 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4294 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4971 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4295 if test "${ac_cv_header_sys_wait_h+set}" = set; then 4972 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6 4973 echo $ECHO_N "(cached) $ECHO_C" >&6
4297 else 4974 else
4298 cat >conftest.$ac_ext <<_ACEOF 4975 cat >conftest.$ac_ext <<_ACEOF
4299 #line 4299 "configure" 4976 #line $LINENO "configure"
4300 #include "confdefs.h" 4977 #include "confdefs.h"
4301 #include <sys/types.h> 4978 #include <sys/types.h>
4302 #include <sys/wait.h> 4979 #include <sys/wait.h>
4303 #ifndef WEXITSTATUS 4980 #ifndef WEXITSTATUS
4304 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 4981 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4305 #endif 4982 #endif
4306 #ifndef WIFEXITED 4983 #ifndef WIFEXITED
4307 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 4984 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4308 #endif 4985 #endif
4309 4986
4987 #ifdef F77_DUMMY_MAIN
4988 # ifdef __cplusplus
4989 extern "C"
4990 # endif
4991 int F77_DUMMY_MAIN() { return 1; }
4992 #endif
4310 int 4993 int
4311 main () 4994 main ()
4312 { 4995 {
4313 int s; 4996 int s;
4314 wait (&s); 4997 wait (&s);
4316 ; 4999 ;
4317 return 0; 5000 return 0;
4318 } 5001 }
4319 _ACEOF 5002 _ACEOF
4320 rm -f conftest.$ac_objext 5003 rm -f conftest.$ac_objext
4321 if { (eval echo "$as_me:4321: \"$ac_compile\"") >&5 5004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4322 (eval $ac_compile) 2>&5 5005 (eval $ac_compile) 2>&5
4323 ac_status=$? 5006 ac_status=$?
4324 echo "$as_me:4324: \$? = $ac_status" >&5 5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); } && 5008 (exit $ac_status); } &&
4326 { ac_try='test -s conftest.$ac_objext' 5009 { ac_try='test -s conftest.$ac_objext'
4327 { (eval echo "$as_me:4327: \"$ac_try\"") >&5 5010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4328 (eval $ac_try) 2>&5 5011 (eval $ac_try) 2>&5
4329 ac_status=$? 5012 ac_status=$?
4330 echo "$as_me:4330: \$? = $ac_status" >&5 5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }; }; then 5014 (exit $ac_status); }; }; then
4332 ac_cv_header_sys_wait_h=yes 5015 ac_cv_header_sys_wait_h=yes
4333 else 5016 else
4334 echo "$as_me: failed program was:" >&5 5017 echo "$as_me: failed program was:" >&5
4335 cat conftest.$ac_ext >&5 5018 cat conftest.$ac_ext >&5
4336 ac_cv_header_sys_wait_h=no 5019 ac_cv_header_sys_wait_h=no
4337 fi 5020 fi
4338 rm -f conftest.$ac_objext conftest.$ac_ext 5021 rm -f conftest.$ac_objext conftest.$ac_ext
4339 fi 5022 fi
4340 echo "$as_me:4340: result: $ac_cv_header_sys_wait_h" >&5 5023 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4341 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 5024 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4342 if test $ac_cv_header_sys_wait_h = yes; then 5025 if test $ac_cv_header_sys_wait_h = yes; then
4343 5026
4344 cat >>confdefs.h <<\EOF 5027 cat >>confdefs.h <<\_ACEOF
4345 #define HAVE_SYS_WAIT_H 1 5028 #define HAVE_SYS_WAIT_H 1
4346 EOF 5029 _ACEOF
4347 5030
4348 fi 5031 fi
4349 5032
4350 echo "$as_me:4350: checking for struct utimbuf" >&5 5033
5034 echo "$as_me:$LINENO: checking for struct utimbuf" >&5
4351 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 5035 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4352 if test "${emacs_cv_struct_utimbuf+set}" = set; then 5036 if test "${emacs_cv_struct_utimbuf+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6 5037 echo $ECHO_N "(cached) $ECHO_C" >&6
4354 else 5038 else
4355 cat >conftest.$ac_ext <<_ACEOF 5039 cat >conftest.$ac_ext <<_ACEOF
4356 #line 4356 "configure" 5040 #line $LINENO "configure"
4357 #include "confdefs.h" 5041 #include "confdefs.h"
4358 #ifdef TIME_WITH_SYS_TIME 5042 #ifdef TIME_WITH_SYS_TIME
4359 #include <sys/time.h> 5043 #include <sys/time.h>
4360 #include <time.h> 5044 #include <time.h>
4361 #else 5045 #else
4366 #endif 5050 #endif
4367 #endif 5051 #endif
4368 #ifdef HAVE_UTIME_H 5052 #ifdef HAVE_UTIME_H
4369 #include <utime.h> 5053 #include <utime.h>
4370 #endif 5054 #endif
5055 #ifdef F77_DUMMY_MAIN
5056 # ifdef __cplusplus
5057 extern "C"
5058 # endif
5059 int F77_DUMMY_MAIN() { return 1; }
5060 #endif
4371 int 5061 int
4372 main () 5062 main ()
4373 { 5063 {
4374 static struct utimbuf x; x.actime = x.modtime; 5064 static struct utimbuf x; x.actime = x.modtime;
4375 ; 5065 ;
4376 return 0; 5066 return 0;
4377 } 5067 }
4378 _ACEOF 5068 _ACEOF
4379 rm -f conftest.$ac_objext 5069 rm -f conftest.$ac_objext
4380 if { (eval echo "$as_me:4380: \"$ac_compile\"") >&5 5070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4381 (eval $ac_compile) 2>&5 5071 (eval $ac_compile) 2>&5
4382 ac_status=$? 5072 ac_status=$?
4383 echo "$as_me:4383: \$? = $ac_status" >&5 5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } && 5074 (exit $ac_status); } &&
4385 { ac_try='test -s conftest.$ac_objext' 5075 { ac_try='test -s conftest.$ac_objext'
4386 { (eval echo "$as_me:4386: \"$ac_try\"") >&5 5076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4387 (eval $ac_try) 2>&5 5077 (eval $ac_try) 2>&5
4388 ac_status=$? 5078 ac_status=$?
4389 echo "$as_me:4389: \$? = $ac_status" >&5 5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }; }; then 5080 (exit $ac_status); }; }; then
4391 emacs_cv_struct_utimbuf=yes 5081 emacs_cv_struct_utimbuf=yes
4392 else 5082 else
4393 echo "$as_me: failed program was:" >&5 5083 echo "$as_me: failed program was:" >&5
4394 cat conftest.$ac_ext >&5 5084 cat conftest.$ac_ext >&5
4395 emacs_cv_struct_utimbuf=no 5085 emacs_cv_struct_utimbuf=no
4396 fi 5086 fi
4397 rm -f conftest.$ac_objext conftest.$ac_ext 5087 rm -f conftest.$ac_objext conftest.$ac_ext
4398 fi 5088 fi
4399 echo "$as_me:4399: result: $emacs_cv_struct_utimbuf" >&5 5089 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
4400 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 5090 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4401 if test $emacs_cv_struct_utimbuf = yes; then 5091 if test $emacs_cv_struct_utimbuf = yes; then
4402 5092
4403 cat >>confdefs.h <<\EOF 5093 cat >>confdefs.h <<\_ACEOF
4404 #define HAVE_STRUCT_UTIMBUF 1 5094 #define HAVE_STRUCT_UTIMBUF 1
4405 EOF 5095 _ACEOF
4406 5096
4407 fi 5097 fi
4408 5098
4409 echo "$as_me:4409: checking return type of signal handlers" >&5 5099 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4410 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 5100 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4411 if test "${ac_cv_type_signal+set}" = set; then 5101 if test "${ac_cv_type_signal+set}" = set; then
4412 echo $ECHO_N "(cached) $ECHO_C" >&6 5102 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 else 5103 else
4414 cat >conftest.$ac_ext <<_ACEOF 5104 cat >conftest.$ac_ext <<_ACEOF
4415 #line 4415 "configure" 5105 #line $LINENO "configure"
4416 #include "confdefs.h" 5106 #include "confdefs.h"
4417 #include <sys/types.h> 5107 #include <sys/types.h>
4418 #include <signal.h> 5108 #include <signal.h>
4419 #ifdef signal 5109 #ifdef signal
4420 # undef signal 5110 # undef signal
4423 extern "C" void (*signal (int, void (*)(int)))(int); 5113 extern "C" void (*signal (int, void (*)(int)))(int);
4424 #else 5114 #else
4425 void (*signal ()) (); 5115 void (*signal ()) ();
4426 #endif 5116 #endif
4427 5117
5118 #ifdef F77_DUMMY_MAIN
5119 # ifdef __cplusplus
5120 extern "C"
5121 # endif
5122 int F77_DUMMY_MAIN() { return 1; }
5123 #endif
4428 int 5124 int
4429 main () 5125 main ()
4430 { 5126 {
4431 int i; 5127 int i;
4432 ; 5128 ;
4433 return 0; 5129 return 0;
4434 } 5130 }
4435 _ACEOF 5131 _ACEOF
4436 rm -f conftest.$ac_objext 5132 rm -f conftest.$ac_objext
4437 if { (eval echo "$as_me:4437: \"$ac_compile\"") >&5 5133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4438 (eval $ac_compile) 2>&5 5134 (eval $ac_compile) 2>&5
4439 ac_status=$? 5135 ac_status=$?
4440 echo "$as_me:4440: \$? = $ac_status" >&5 5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); } && 5137 (exit $ac_status); } &&
4442 { ac_try='test -s conftest.$ac_objext' 5138 { ac_try='test -s conftest.$ac_objext'
4443 { (eval echo "$as_me:4443: \"$ac_try\"") >&5 5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4444 (eval $ac_try) 2>&5 5140 (eval $ac_try) 2>&5
4445 ac_status=$? 5141 ac_status=$?
4446 echo "$as_me:4446: \$? = $ac_status" >&5 5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; }; then 5143 (exit $ac_status); }; }; then
4448 ac_cv_type_signal=void 5144 ac_cv_type_signal=void
4449 else 5145 else
4450 echo "$as_me: failed program was:" >&5 5146 echo "$as_me: failed program was:" >&5
4451 cat conftest.$ac_ext >&5 5147 cat conftest.$ac_ext >&5
4452 ac_cv_type_signal=int 5148 ac_cv_type_signal=int
4453 fi 5149 fi
4454 rm -f conftest.$ac_objext conftest.$ac_ext 5150 rm -f conftest.$ac_objext conftest.$ac_ext
4455 fi 5151 fi
4456 echo "$as_me:4456: result: $ac_cv_type_signal" >&5 5152 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4457 echo "${ECHO_T}$ac_cv_type_signal" >&6 5153 echo "${ECHO_T}$ac_cv_type_signal" >&6
4458 5154
4459 cat >>confdefs.h <<EOF 5155 cat >>confdefs.h <<_ACEOF
4460 #define RETSIGTYPE $ac_cv_type_signal 5156 #define RETSIGTYPE $ac_cv_type_signal
4461 EOF 5157 _ACEOF
4462 5158
4463 echo "$as_me:4463: checking for speed_t" >&5 5159
5160
5161 echo "$as_me:$LINENO: checking for speed_t" >&5
4464 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 5162 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4465 if test "${emacs_cv_speed_t+set}" = set; then 5163 if test "${emacs_cv_speed_t+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6 5164 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 else 5165 else
4468 cat >conftest.$ac_ext <<_ACEOF 5166 cat >conftest.$ac_ext <<_ACEOF
4469 #line 4469 "configure" 5167 #line $LINENO "configure"
4470 #include "confdefs.h" 5168 #include "confdefs.h"
4471 #include <termios.h> 5169 #include <termios.h>
5170 #ifdef F77_DUMMY_MAIN
5171 # ifdef __cplusplus
5172 extern "C"
5173 # endif
5174 int F77_DUMMY_MAIN() { return 1; }
5175 #endif
4472 int 5176 int
4473 main () 5177 main ()
4474 { 5178 {
4475 speed_t x = 1; 5179 speed_t x = 1;
4476 ; 5180 ;
4477 return 0; 5181 return 0;
4478 } 5182 }
4479 _ACEOF 5183 _ACEOF
4480 rm -f conftest.$ac_objext 5184 rm -f conftest.$ac_objext
4481 if { (eval echo "$as_me:4481: \"$ac_compile\"") >&5 5185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4482 (eval $ac_compile) 2>&5 5186 (eval $ac_compile) 2>&5
4483 ac_status=$? 5187 ac_status=$?
4484 echo "$as_me:4484: \$? = $ac_status" >&5 5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); } && 5189 (exit $ac_status); } &&
4486 { ac_try='test -s conftest.$ac_objext' 5190 { ac_try='test -s conftest.$ac_objext'
4487 { (eval echo "$as_me:4487: \"$ac_try\"") >&5 5191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488 (eval $ac_try) 2>&5 5192 (eval $ac_try) 2>&5
4489 ac_status=$? 5193 ac_status=$?
4490 echo "$as_me:4490: \$? = $ac_status" >&5 5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); }; }; then 5195 (exit $ac_status); }; }; then
4492 emacs_cv_speed_t=yes 5196 emacs_cv_speed_t=yes
4493 else 5197 else
4494 echo "$as_me: failed program was:" >&5 5198 echo "$as_me: failed program was:" >&5
4495 cat conftest.$ac_ext >&5 5199 cat conftest.$ac_ext >&5
4496 emacs_cv_speed_t=no 5200 emacs_cv_speed_t=no
4497 fi 5201 fi
4498 rm -f conftest.$ac_objext conftest.$ac_ext 5202 rm -f conftest.$ac_objext conftest.$ac_ext
4499 fi 5203 fi
4500 echo "$as_me:4500: result: $emacs_cv_speed_t" >&5 5204 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
4501 echo "${ECHO_T}$emacs_cv_speed_t" >&6 5205 echo "${ECHO_T}$emacs_cv_speed_t" >&6
4502 if test $emacs_cv_speed_t = yes; then 5206 if test $emacs_cv_speed_t = yes; then
4503 5207
4504 cat >>confdefs.h <<\EOF 5208 cat >>confdefs.h <<\_ACEOF
4505 #define HAVE_SPEED_T 1 5209 #define HAVE_SPEED_T 1
4506 EOF 5210 _ACEOF
4507 5211
4508 fi 5212 fi
4509 5213
4510 echo "$as_me:4510: checking for struct timeval" >&5 5214 echo "$as_me:$LINENO: checking for struct timeval" >&5
4511 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 5215 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4512 if test "${emacs_cv_struct_timeval+set}" = set; then 5216 if test "${emacs_cv_struct_timeval+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6 5217 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 else 5218 else
4515 cat >conftest.$ac_ext <<_ACEOF 5219 cat >conftest.$ac_ext <<_ACEOF
4516 #line 4516 "configure" 5220 #line $LINENO "configure"
4517 #include "confdefs.h" 5221 #include "confdefs.h"
4518 #ifdef TIME_WITH_SYS_TIME 5222 #ifdef TIME_WITH_SYS_TIME
4519 #include <sys/time.h> 5223 #include <sys/time.h>
4520 #include <time.h> 5224 #include <time.h>
4521 #else 5225 #else
4523 #include <sys/time.h> 5227 #include <sys/time.h>
4524 #else 5228 #else
4525 #include <time.h> 5229 #include <time.h>
4526 #endif 5230 #endif
4527 #endif 5231 #endif
5232 #ifdef F77_DUMMY_MAIN
5233 # ifdef __cplusplus
5234 extern "C"
5235 # endif
5236 int F77_DUMMY_MAIN() { return 1; }
5237 #endif
4528 int 5238 int
4529 main () 5239 main ()
4530 { 5240 {
4531 static struct timeval x; x.tv_sec = x.tv_usec; 5241 static struct timeval x; x.tv_sec = x.tv_usec;
4532 ; 5242 ;
4533 return 0; 5243 return 0;
4534 } 5244 }
4535 _ACEOF 5245 _ACEOF
4536 rm -f conftest.$ac_objext 5246 rm -f conftest.$ac_objext
4537 if { (eval echo "$as_me:4537: \"$ac_compile\"") >&5 5247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4538 (eval $ac_compile) 2>&5 5248 (eval $ac_compile) 2>&5
4539 ac_status=$? 5249 ac_status=$?
4540 echo "$as_me:4540: \$? = $ac_status" >&5 5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } && 5251 (exit $ac_status); } &&
4542 { ac_try='test -s conftest.$ac_objext' 5252 { ac_try='test -s conftest.$ac_objext'
4543 { (eval echo "$as_me:4543: \"$ac_try\"") >&5 5253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4544 (eval $ac_try) 2>&5 5254 (eval $ac_try) 2>&5
4545 ac_status=$? 5255 ac_status=$?
4546 echo "$as_me:4546: \$? = $ac_status" >&5 5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }; }; then 5257 (exit $ac_status); }; }; then
4548 emacs_cv_struct_timeval=yes 5258 emacs_cv_struct_timeval=yes
4549 else 5259 else
4550 echo "$as_me: failed program was:" >&5 5260 echo "$as_me: failed program was:" >&5
4551 cat conftest.$ac_ext >&5 5261 cat conftest.$ac_ext >&5
4552 emacs_cv_struct_timeval=no 5262 emacs_cv_struct_timeval=no
4553 fi 5263 fi
4554 rm -f conftest.$ac_objext conftest.$ac_ext 5264 rm -f conftest.$ac_objext conftest.$ac_ext
4555 fi 5265 fi
4556 echo "$as_me:4556: result: $emacs_cv_struct_timeval" >&5 5266 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
4557 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 5267 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4558 HAVE_TIMEVAL=$emacs_cv_struct_timeval 5268 HAVE_TIMEVAL=$emacs_cv_struct_timeval
4559 if test $emacs_cv_struct_timeval = yes; then 5269 if test $emacs_cv_struct_timeval = yes; then
4560 5270
4561 cat >>confdefs.h <<\EOF 5271 cat >>confdefs.h <<\_ACEOF
4562 #define HAVE_TIMEVAL 1 5272 #define HAVE_TIMEVAL 1
4563 EOF 5273 _ACEOF
4564 5274
4565 fi 5275 fi
4566 5276
4567 echo "$as_me:4567: checking for struct exception" >&5 5277 echo "$as_me:$LINENO: checking for struct exception" >&5
4568 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 5278 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4569 if test "${emacs_cv_struct_exception+set}" = set; then 5279 if test "${emacs_cv_struct_exception+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6 5280 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 else 5281 else
4572 cat >conftest.$ac_ext <<_ACEOF 5282 cat >conftest.$ac_ext <<_ACEOF
4573 #line 4573 "configure" 5283 #line $LINENO "configure"
4574 #include "confdefs.h" 5284 #include "confdefs.h"
4575 #include <math.h> 5285 #include <math.h>
5286 #ifdef F77_DUMMY_MAIN
5287 # ifdef __cplusplus
5288 extern "C"
5289 # endif
5290 int F77_DUMMY_MAIN() { return 1; }
5291 #endif
4576 int 5292 int
4577 main () 5293 main ()
4578 { 5294 {
4579 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; 5295 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
4580 ; 5296 ;
4581 return 0; 5297 return 0;
4582 } 5298 }
4583 _ACEOF 5299 _ACEOF
4584 rm -f conftest.$ac_objext 5300 rm -f conftest.$ac_objext
4585 if { (eval echo "$as_me:4585: \"$ac_compile\"") >&5 5301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4586 (eval $ac_compile) 2>&5 5302 (eval $ac_compile) 2>&5
4587 ac_status=$? 5303 ac_status=$?
4588 echo "$as_me:4588: \$? = $ac_status" >&5 5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); } && 5305 (exit $ac_status); } &&
4590 { ac_try='test -s conftest.$ac_objext' 5306 { ac_try='test -s conftest.$ac_objext'
4591 { (eval echo "$as_me:4591: \"$ac_try\"") >&5 5307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592 (eval $ac_try) 2>&5 5308 (eval $ac_try) 2>&5
4593 ac_status=$? 5309 ac_status=$?
4594 echo "$as_me:4594: \$? = $ac_status" >&5 5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; }; then 5311 (exit $ac_status); }; }; then
4596 emacs_cv_struct_exception=yes 5312 emacs_cv_struct_exception=yes
4597 else 5313 else
4598 echo "$as_me: failed program was:" >&5 5314 echo "$as_me: failed program was:" >&5
4599 cat conftest.$ac_ext >&5 5315 cat conftest.$ac_ext >&5
4600 emacs_cv_struct_exception=no 5316 emacs_cv_struct_exception=no
4601 fi 5317 fi
4602 rm -f conftest.$ac_objext conftest.$ac_ext 5318 rm -f conftest.$ac_objext conftest.$ac_ext
4603 fi 5319 fi
4604 echo "$as_me:4604: result: $emacs_cv_struct_exception" >&5 5320 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
4605 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 5321 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4606 HAVE_EXCEPTION=$emacs_cv_struct_exception 5322 HAVE_EXCEPTION=$emacs_cv_struct_exception
4607 if test $emacs_cv_struct_exception != yes; then 5323 if test $emacs_cv_struct_exception != yes; then
4608 5324
4609 cat >>confdefs.h <<\EOF 5325 cat >>confdefs.h <<\_ACEOF
4610 #define NO_MATHERR 1 5326 #define NO_MATHERR 1
4611 EOF 5327 _ACEOF
4612 5328
4613 fi 5329 fi
4614 5330
4615 echo "$as_me:4615: checking whether struct tm is in sys/time.h or time.h" >&5 5331 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4616 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 5332 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4617 if test "${ac_cv_struct_tm+set}" = set; then 5333 if test "${ac_cv_struct_tm+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6 5334 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 else 5335 else
4620 cat >conftest.$ac_ext <<_ACEOF 5336 cat >conftest.$ac_ext <<_ACEOF
4621 #line 4621 "configure" 5337 #line $LINENO "configure"
4622 #include "confdefs.h" 5338 #include "confdefs.h"
4623 #include <sys/types.h> 5339 #include <sys/types.h>
4624 #include <time.h> 5340 #include <time.h>
4625 5341
5342 #ifdef F77_DUMMY_MAIN
5343 # ifdef __cplusplus
5344 extern "C"
5345 # endif
5346 int F77_DUMMY_MAIN() { return 1; }
5347 #endif
4626 int 5348 int
4627 main () 5349 main ()
4628 { 5350 {
4629 struct tm *tp; tp->tm_sec; 5351 struct tm *tp; tp->tm_sec;
4630 ; 5352 ;
4631 return 0; 5353 return 0;
4632 } 5354 }
4633 _ACEOF 5355 _ACEOF
4634 rm -f conftest.$ac_objext 5356 rm -f conftest.$ac_objext
4635 if { (eval echo "$as_me:4635: \"$ac_compile\"") >&5 5357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4636 (eval $ac_compile) 2>&5 5358 (eval $ac_compile) 2>&5
4637 ac_status=$? 5359 ac_status=$?
4638 echo "$as_me:4638: \$? = $ac_status" >&5 5360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); } && 5361 (exit $ac_status); } &&
4640 { ac_try='test -s conftest.$ac_objext' 5362 { ac_try='test -s conftest.$ac_objext'
4641 { (eval echo "$as_me:4641: \"$ac_try\"") >&5 5363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642 (eval $ac_try) 2>&5 5364 (eval $ac_try) 2>&5
4643 ac_status=$? 5365 ac_status=$?
4644 echo "$as_me:4644: \$? = $ac_status" >&5 5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); }; }; then 5367 (exit $ac_status); }; }; then
4646 ac_cv_struct_tm=time.h 5368 ac_cv_struct_tm=time.h
4647 else 5369 else
4648 echo "$as_me: failed program was:" >&5 5370 echo "$as_me: failed program was:" >&5
4649 cat conftest.$ac_ext >&5 5371 cat conftest.$ac_ext >&5
4650 ac_cv_struct_tm=sys/time.h 5372 ac_cv_struct_tm=sys/time.h
4651 fi 5373 fi
4652 rm -f conftest.$ac_objext conftest.$ac_ext 5374 rm -f conftest.$ac_objext conftest.$ac_ext
4653 fi 5375 fi
4654 echo "$as_me:4654: result: $ac_cv_struct_tm" >&5 5376 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4655 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5377 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4656 if test $ac_cv_struct_tm = sys/time.h; then 5378 if test $ac_cv_struct_tm = sys/time.h; then
4657 5379
4658 cat >>confdefs.h <<\EOF 5380 cat >>confdefs.h <<\_ACEOF
4659 #define TM_IN_SYS_TIME 1 5381 #define TM_IN_SYS_TIME 1
4660 EOF 5382 _ACEOF
4661 5383
4662 fi 5384 fi
4663 5385
4664 echo "$as_me:4664: checking for struct tm.tm_zone" >&5 5386 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
4665 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 5387 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4666 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 5388 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6 5389 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 else 5390 else
4669 cat >conftest.$ac_ext <<_ACEOF 5391 cat >conftest.$ac_ext <<_ACEOF
4670 #line 4670 "configure" 5392 #line $LINENO "configure"
4671 #include "confdefs.h" 5393 #include "confdefs.h"
4672 #include <sys/types.h> 5394 #include <sys/types.h>
4673 #include <$ac_cv_struct_tm> 5395 #include <$ac_cv_struct_tm>
4674 5396
5397
5398 #ifdef F77_DUMMY_MAIN
5399 # ifdef __cplusplus
5400 extern "C"
5401 # endif
5402 int F77_DUMMY_MAIN() { return 1; }
5403 #endif
4675 int 5404 int
4676 main () 5405 main ()
4677 { 5406 {
4678 static struct tm ac_aggr; 5407 static struct tm ac_aggr;
4679 if (ac_aggr.tm_zone) 5408 if (ac_aggr.tm_zone)
4681 ; 5410 ;
4682 return 0; 5411 return 0;
4683 } 5412 }
4684 _ACEOF 5413 _ACEOF
4685 rm -f conftest.$ac_objext 5414 rm -f conftest.$ac_objext
4686 if { (eval echo "$as_me:4686: \"$ac_compile\"") >&5 5415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4687 (eval $ac_compile) 2>&5 5416 (eval $ac_compile) 2>&5
4688 ac_status=$? 5417 ac_status=$?
4689 echo "$as_me:4689: \$? = $ac_status" >&5 5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } && 5419 (exit $ac_status); } &&
4691 { ac_try='test -s conftest.$ac_objext' 5420 { ac_try='test -s conftest.$ac_objext'
4692 { (eval echo "$as_me:4692: \"$ac_try\"") >&5 5421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4693 (eval $ac_try) 2>&5 5422 (eval $ac_try) 2>&5
4694 ac_status=$? 5423 ac_status=$?
4695 echo "$as_me:4695: \$? = $ac_status" >&5 5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); }; }; then 5425 (exit $ac_status); }; }; then
4697 ac_cv_member_struct_tm_tm_zone=yes 5426 ac_cv_member_struct_tm_tm_zone=yes
4698 else 5427 else
4699 echo "$as_me: failed program was:" >&5 5428 echo "$as_me: failed program was:" >&5
4700 cat conftest.$ac_ext >&5 5429 cat conftest.$ac_ext >&5
4701 ac_cv_member_struct_tm_tm_zone=no 5430 ac_cv_member_struct_tm_tm_zone=no
4702 fi 5431 fi
4703 rm -f conftest.$ac_objext conftest.$ac_ext 5432 rm -f conftest.$ac_objext conftest.$ac_ext
4704 fi 5433 fi
4705 echo "$as_me:4705: result: $ac_cv_member_struct_tm_tm_zone" >&5 5434 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
4706 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 5435 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4707 if test $ac_cv_member_struct_tm_tm_zone = yes; then 5436 if test $ac_cv_member_struct_tm_tm_zone = yes; then
4708 5437
4709 cat >>confdefs.h <<EOF 5438 cat >>confdefs.h <<_ACEOF
4710 #define HAVE_STRUCT_TM_TM_ZONE 1 5439 #define HAVE_STRUCT_TM_TM_ZONE 1
4711 EOF 5440 _ACEOF
5441
4712 5442
4713 fi 5443 fi
4714 5444
4715 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then 5445 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
4716 5446
4717 cat >>confdefs.h <<\EOF 5447 cat >>confdefs.h <<\_ACEOF
4718 #define HAVE_TM_ZONE 1 5448 #define HAVE_TM_ZONE 1
4719 EOF 5449 _ACEOF
4720 5450
4721 else 5451 else
4722 echo "$as_me:4722: checking for tzname" >&5 5452 echo "$as_me:$LINENO: checking for tzname" >&5
4723 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 5453 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4724 if test "${ac_cv_var_tzname+set}" = set; then 5454 if test "${ac_cv_var_tzname+set}" = set; then
4725 echo $ECHO_N "(cached) $ECHO_C" >&6 5455 echo $ECHO_N "(cached) $ECHO_C" >&6
4726 else 5456 else
4727 cat >conftest.$ac_ext <<_ACEOF 5457 cat >conftest.$ac_ext <<_ACEOF
4728 #line 4728 "configure" 5458 #line $LINENO "configure"
4729 #include "confdefs.h" 5459 #include "confdefs.h"
4730 #include <time.h> 5460 #include <time.h>
4731 #ifndef tzname /* For SGI. */ 5461 #ifndef tzname /* For SGI. */
4732 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 5462 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4733 #endif 5463 #endif
4734 5464
5465 #ifdef F77_DUMMY_MAIN
5466 # ifdef __cplusplus
5467 extern "C"
5468 # endif
5469 int F77_DUMMY_MAIN() { return 1; }
5470 #endif
4735 int 5471 int
4736 main () 5472 main ()
4737 { 5473 {
4738 atoi(*tzname); 5474 atoi(*tzname);
4739 ; 5475 ;
4740 return 0; 5476 return 0;
4741 } 5477 }
4742 _ACEOF 5478 _ACEOF
4743 rm -f conftest.$ac_objext conftest$ac_exeext 5479 rm -f conftest.$ac_objext conftest$ac_exeext
4744 if { (eval echo "$as_me:4744: \"$ac_link\"") >&5 5480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4745 (eval $ac_link) 2>&5 5481 (eval $ac_link) 2>&5
4746 ac_status=$? 5482 ac_status=$?
4747 echo "$as_me:4747: \$? = $ac_status" >&5 5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); } && 5484 (exit $ac_status); } &&
4749 { ac_try='test -s conftest$ac_exeext' 5485 { ac_try='test -s conftest$ac_exeext'
4750 { (eval echo "$as_me:4750: \"$ac_try\"") >&5 5486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 (eval $ac_try) 2>&5 5487 (eval $ac_try) 2>&5
4752 ac_status=$? 5488 ac_status=$?
4753 echo "$as_me:4753: \$? = $ac_status" >&5 5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }; }; then 5490 (exit $ac_status); }; }; then
4755 ac_cv_var_tzname=yes 5491 ac_cv_var_tzname=yes
4756 else 5492 else
4757 echo "$as_me: failed program was:" >&5 5493 echo "$as_me: failed program was:" >&5
4758 cat conftest.$ac_ext >&5 5494 cat conftest.$ac_ext >&5
4759 ac_cv_var_tzname=no 5495 ac_cv_var_tzname=no
4760 fi 5496 fi
4761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4762 fi 5498 fi
4763 echo "$as_me:4763: result: $ac_cv_var_tzname" >&5 5499 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
4764 echo "${ECHO_T}$ac_cv_var_tzname" >&6 5500 echo "${ECHO_T}$ac_cv_var_tzname" >&6
4765 if test $ac_cv_var_tzname = yes; then 5501 if test $ac_cv_var_tzname = yes; then
4766 5502
4767 cat >>confdefs.h <<\EOF 5503 cat >>confdefs.h <<\_ACEOF
4768 #define HAVE_TZNAME 1 5504 #define HAVE_TZNAME 1
4769 EOF 5505 _ACEOF
4770 5506
4771 fi 5507 fi
4772 fi 5508 fi
4773 5509
4774 echo "$as_me:4774: checking for struct tm.tm_gmtoff" >&5 5510 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
4775 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 5511 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
4776 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then 5512 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6 5513 echo $ECHO_N "(cached) $ECHO_C" >&6
4778 else 5514 else
4779 cat >conftest.$ac_ext <<_ACEOF 5515 cat >conftest.$ac_ext <<_ACEOF
4780 #line 4780 "configure" 5516 #line $LINENO "configure"
4781 #include "confdefs.h" 5517 #include "confdefs.h"
4782 #include <time.h> 5518 #include <time.h>
4783 5519
5520 #ifdef F77_DUMMY_MAIN
5521 # ifdef __cplusplus
5522 extern "C"
5523 # endif
5524 int F77_DUMMY_MAIN() { return 1; }
5525 #endif
4784 int 5526 int
4785 main () 5527 main ()
4786 { 5528 {
4787 static struct tm ac_aggr; 5529 static struct tm ac_aggr;
4788 if (ac_aggr.tm_gmtoff) 5530 if (ac_aggr.tm_gmtoff)
4790 ; 5532 ;
4791 return 0; 5533 return 0;
4792 } 5534 }
4793 _ACEOF 5535 _ACEOF
4794 rm -f conftest.$ac_objext 5536 rm -f conftest.$ac_objext
4795 if { (eval echo "$as_me:4795: \"$ac_compile\"") >&5 5537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4796 (eval $ac_compile) 2>&5 5538 (eval $ac_compile) 2>&5
4797 ac_status=$? 5539 ac_status=$?
4798 echo "$as_me:4798: \$? = $ac_status" >&5 5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); } && 5541 (exit $ac_status); } &&
4800 { ac_try='test -s conftest.$ac_objext' 5542 { ac_try='test -s conftest.$ac_objext'
4801 { (eval echo "$as_me:4801: \"$ac_try\"") >&5 5543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802 (eval $ac_try) 2>&5 5544 (eval $ac_try) 2>&5
4803 ac_status=$? 5545 ac_status=$?
4804 echo "$as_me:4804: \$? = $ac_status" >&5 5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); }; }; then 5547 (exit $ac_status); }; }; then
4806 ac_cv_member_struct_tm_tm_gmtoff=yes 5548 ac_cv_member_struct_tm_tm_gmtoff=yes
4807 else 5549 else
4808 echo "$as_me: failed program was:" >&5 5550 echo "$as_me: failed program was:" >&5
4809 cat conftest.$ac_ext >&5 5551 cat conftest.$ac_ext >&5
4810 ac_cv_member_struct_tm_tm_gmtoff=no 5552 ac_cv_member_struct_tm_tm_gmtoff=no
4811 fi 5553 fi
4812 rm -f conftest.$ac_objext conftest.$ac_ext 5554 rm -f conftest.$ac_objext conftest.$ac_ext
4813 fi 5555 fi
4814 echo "$as_me:4814: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 5556 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
4815 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 5557 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
4816 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then 5558 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
4817 5559
4818 cat >>confdefs.h <<\EOF 5560 cat >>confdefs.h <<\_ACEOF
4819 #define HAVE_TM_GMTOFF 1 5561 #define HAVE_TM_GMTOFF 1
4820 EOF 5562 _ACEOF
4821 5563
4822 fi 5564 fi
4823 5565
4824 echo "$as_me:4824: checking for $CC option to accept ANSI C" >&5 5566
5567
5568 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4825 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 5569 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4826 if test "${ac_cv_prog_cc_stdc+set}" = set; then 5570 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4827 echo $ECHO_N "(cached) $ECHO_C" >&6 5571 echo $ECHO_N "(cached) $ECHO_C" >&6
4828 else 5572 else
4829 ac_cv_prog_cc_stdc=no 5573 ac_cv_prog_cc_stdc=no
4830 ac_save_CC=$CC 5574 ac_save_CC=$CC
4831 cat >conftest.$ac_ext <<_ACEOF 5575 cat >conftest.$ac_ext <<_ACEOF
4832 #line 4832 "configure" 5576 #line $LINENO "configure"
4833 #include "confdefs.h" 5577 #include "confdefs.h"
4834 #include <stdarg.h> 5578 #include <stdarg.h>
4835 #include <stdio.h> 5579 #include <stdio.h>
4836 #include <sys/types.h> 5580 #include <sys/types.h>
4837 #include <sys/stat.h> 5581 #include <sys/stat.h>
4857 struct s1 {int (*f) (int a);}; 5601 struct s1 {int (*f) (int a);};
4858 struct s2 {int (*f) (double a);}; 5602 struct s2 {int (*f) (double a);};
4859 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5603 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4860 int argc; 5604 int argc;
4861 char **argv; 5605 char **argv;
5606 #ifdef F77_DUMMY_MAIN
5607 # ifdef __cplusplus
5608 extern "C"
5609 # endif
5610 int F77_DUMMY_MAIN() { return 1; }
5611 #endif
4862 int 5612 int
4863 main () 5613 main ()
4864 { 5614 {
4865 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5615 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4866 ; 5616 ;
4876 # SVR4 -Xc -D__EXTENSIONS__ 5626 # SVR4 -Xc -D__EXTENSIONS__
4877 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5627 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4878 do 5628 do
4879 CC="$ac_save_CC $ac_arg" 5629 CC="$ac_save_CC $ac_arg"
4880 rm -f conftest.$ac_objext 5630 rm -f conftest.$ac_objext
4881 if { (eval echo "$as_me:4881: \"$ac_compile\"") >&5 5631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4882 (eval $ac_compile) 2>&5 5632 (eval $ac_compile) 2>&5
4883 ac_status=$? 5633 ac_status=$?
4884 echo "$as_me:4884: \$? = $ac_status" >&5 5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); } && 5635 (exit $ac_status); } &&
4886 { ac_try='test -s conftest.$ac_objext' 5636 { ac_try='test -s conftest.$ac_objext'
4887 { (eval echo "$as_me:4887: \"$ac_try\"") >&5 5637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4888 (eval $ac_try) 2>&5 5638 (eval $ac_try) 2>&5
4889 ac_status=$? 5639 ac_status=$?
4890 echo "$as_me:4890: \$? = $ac_status" >&5 5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); }; }; then 5641 (exit $ac_status); }; }; then
4892 ac_cv_prog_cc_stdc=$ac_arg 5642 ac_cv_prog_cc_stdc=$ac_arg
4893 break 5643 break
4894 else 5644 else
4895 echo "$as_me: failed program was:" >&5 5645 echo "$as_me: failed program was:" >&5
4902 5652
4903 fi 5653 fi
4904 5654
4905 case "x$ac_cv_prog_cc_stdc" in 5655 case "x$ac_cv_prog_cc_stdc" in
4906 x|xno) 5656 x|xno)
4907 echo "$as_me:4907: result: none needed" >&5 5657 echo "$as_me:$LINENO: result: none needed" >&5
4908 echo "${ECHO_T}none needed" >&6 ;; 5658 echo "${ECHO_T}none needed" >&6 ;;
4909 *) 5659 *)
4910 echo "$as_me:4910: result: $ac_cv_prog_cc_stdc" >&5 5660 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4911 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5661 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4912 CC="$CC $ac_cv_prog_cc_stdc" ;; 5662 CC="$CC $ac_cv_prog_cc_stdc" ;;
4913 esac 5663 esac
4914 5664
4915 echo "$as_me:4915: checking for function prototypes" >&5 5665 echo "$as_me:$LINENO: checking for function prototypes" >&5
4916 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5666 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4917 if test "$ac_cv_prog_cc_stdc" != no; then 5667 if test "$ac_cv_prog_cc_stdc" != no; then
4918 echo "$as_me:4918: result: yes" >&5 5668 echo "$as_me:$LINENO: result: yes" >&5
4919 echo "${ECHO_T}yes" >&6 5669 echo "${ECHO_T}yes" >&6
4920 5670
4921 cat >>confdefs.h <<\EOF 5671 cat >>confdefs.h <<\_ACEOF
4922 #define PROTOTYPES 1 5672 #define PROTOTYPES 1
4923 EOF 5673 _ACEOF
4924 5674
4925 else 5675
4926 echo "$as_me:4926: result: no" >&5 5676 cat >>confdefs.h <<\_ACEOF
5677 #define __PROTOTYPES 1
5678 _ACEOF
5679
5680 else
5681 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6 5682 echo "${ECHO_T}no" >&6
4928 fi 5683 fi
4929 5684
4930 echo "$as_me:4930: checking for working volatile" >&5 5685 echo "$as_me:$LINENO: checking for working volatile" >&5
4931 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 5686 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4932 if test "${ac_cv_c_volatile+set}" = set; then 5687 if test "${ac_cv_c_volatile+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6 5688 echo $ECHO_N "(cached) $ECHO_C" >&6
4934 else 5689 else
4935 cat >conftest.$ac_ext <<_ACEOF 5690 cat >conftest.$ac_ext <<_ACEOF
4936 #line 4936 "configure" 5691 #line $LINENO "configure"
4937 #include "confdefs.h" 5692 #include "confdefs.h"
4938 5693
5694 #ifdef F77_DUMMY_MAIN
5695 # ifdef __cplusplus
5696 extern "C"
5697 # endif
5698 int F77_DUMMY_MAIN() { return 1; }
5699 #endif
4939 int 5700 int
4940 main () 5701 main ()
4941 { 5702 {
4942 5703
4943 volatile int x; 5704 volatile int x;
4945 ; 5706 ;
4946 return 0; 5707 return 0;
4947 } 5708 }
4948 _ACEOF 5709 _ACEOF
4949 rm -f conftest.$ac_objext 5710 rm -f conftest.$ac_objext
4950 if { (eval echo "$as_me:4950: \"$ac_compile\"") >&5 5711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4951 (eval $ac_compile) 2>&5 5712 (eval $ac_compile) 2>&5
4952 ac_status=$? 5713 ac_status=$?
4953 echo "$as_me:4953: \$? = $ac_status" >&5 5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); } && 5715 (exit $ac_status); } &&
4955 { ac_try='test -s conftest.$ac_objext' 5716 { ac_try='test -s conftest.$ac_objext'
4956 { (eval echo "$as_me:4956: \"$ac_try\"") >&5 5717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4957 (eval $ac_try) 2>&5 5718 (eval $ac_try) 2>&5
4958 ac_status=$? 5719 ac_status=$?
4959 echo "$as_me:4959: \$? = $ac_status" >&5 5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }; }; then 5721 (exit $ac_status); }; }; then
4961 ac_cv_c_volatile=yes 5722 ac_cv_c_volatile=yes
4962 else 5723 else
4963 echo "$as_me: failed program was:" >&5 5724 echo "$as_me: failed program was:" >&5
4964 cat conftest.$ac_ext >&5 5725 cat conftest.$ac_ext >&5
4965 ac_cv_c_volatile=no 5726 ac_cv_c_volatile=no
4966 fi 5727 fi
4967 rm -f conftest.$ac_objext conftest.$ac_ext 5728 rm -f conftest.$ac_objext conftest.$ac_ext
4968 fi 5729 fi
4969 echo "$as_me:4969: result: $ac_cv_c_volatile" >&5 5730 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4970 echo "${ECHO_T}$ac_cv_c_volatile" >&6 5731 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4971 if test $ac_cv_c_volatile = no; then 5732 if test $ac_cv_c_volatile = no; then
4972 5733
4973 cat >>confdefs.h <<\EOF 5734 cat >>confdefs.h <<\_ACEOF
4974 #define volatile 5735 #define volatile
4975 EOF 5736 _ACEOF
4976 5737
4977 fi 5738 fi
4978 5739
4979 echo "$as_me:4979: checking for an ANSI C-conforming const" >&5 5740 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4980 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5741 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4981 if test "${ac_cv_c_const+set}" = set; then 5742 if test "${ac_cv_c_const+set}" = set; then
4982 echo $ECHO_N "(cached) $ECHO_C" >&6 5743 echo $ECHO_N "(cached) $ECHO_C" >&6
4983 else 5744 else
4984 cat >conftest.$ac_ext <<_ACEOF 5745 cat >conftest.$ac_ext <<_ACEOF
4985 #line 4985 "configure" 5746 #line $LINENO "configure"
4986 #include "confdefs.h" 5747 #include "confdefs.h"
4987 5748
5749 #ifdef F77_DUMMY_MAIN
5750 # ifdef __cplusplus
5751 extern "C"
5752 # endif
5753 int F77_DUMMY_MAIN() { return 1; }
5754 #endif
4988 int 5755 int
4989 main () 5756 main ()
4990 { 5757 {
4991 /* FIXME: Include the comments suggested by Paul. */ 5758 /* FIXME: Include the comments suggested by Paul. */
4992 #ifndef __cplusplus 5759 #ifndef __cplusplus
5038 ; 5805 ;
5039 return 0; 5806 return 0;
5040 } 5807 }
5041 _ACEOF 5808 _ACEOF
5042 rm -f conftest.$ac_objext 5809 rm -f conftest.$ac_objext
5043 if { (eval echo "$as_me:5043: \"$ac_compile\"") >&5 5810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5044 (eval $ac_compile) 2>&5 5811 (eval $ac_compile) 2>&5
5045 ac_status=$? 5812 ac_status=$?
5046 echo "$as_me:5046: \$? = $ac_status" >&5 5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); } && 5814 (exit $ac_status); } &&
5048 { ac_try='test -s conftest.$ac_objext' 5815 { ac_try='test -s conftest.$ac_objext'
5049 { (eval echo "$as_me:5049: \"$ac_try\"") >&5 5816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050 (eval $ac_try) 2>&5 5817 (eval $ac_try) 2>&5
5051 ac_status=$? 5818 ac_status=$?
5052 echo "$as_me:5052: \$? = $ac_status" >&5 5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); }; }; then 5820 (exit $ac_status); }; }; then
5054 ac_cv_c_const=yes 5821 ac_cv_c_const=yes
5055 else 5822 else
5056 echo "$as_me: failed program was:" >&5 5823 echo "$as_me: failed program was:" >&5
5057 cat conftest.$ac_ext >&5 5824 cat conftest.$ac_ext >&5
5058 ac_cv_c_const=no 5825 ac_cv_c_const=no
5059 fi 5826 fi
5060 rm -f conftest.$ac_objext conftest.$ac_ext 5827 rm -f conftest.$ac_objext conftest.$ac_ext
5061 fi 5828 fi
5062 echo "$as_me:5062: result: $ac_cv_c_const" >&5 5829 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5063 echo "${ECHO_T}$ac_cv_c_const" >&6 5830 echo "${ECHO_T}$ac_cv_c_const" >&6
5064 if test $ac_cv_c_const = no; then 5831 if test $ac_cv_c_const = no; then
5065 5832
5066 cat >>confdefs.h <<\EOF 5833 cat >>confdefs.h <<\_ACEOF
5067 #define const 5834 #define const
5068 EOF 5835 _ACEOF
5069 5836
5070 fi 5837 fi
5071 5838
5072 echo "$as_me:5072: checking for void * support" >&5 5839 echo "$as_me:$LINENO: checking for void * support" >&5
5073 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 5840 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5074 if test "${emacs_cv_void_star+set}" = set; then 5841 if test "${emacs_cv_void_star+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6 5842 echo $ECHO_N "(cached) $ECHO_C" >&6
5076 else 5843 else
5077 cat >conftest.$ac_ext <<_ACEOF 5844 cat >conftest.$ac_ext <<_ACEOF
5078 #line 5078 "configure" 5845 #line $LINENO "configure"
5079 #include "confdefs.h" 5846 #include "confdefs.h"
5080 5847
5848 #ifdef F77_DUMMY_MAIN
5849 # ifdef __cplusplus
5850 extern "C"
5851 # endif
5852 int F77_DUMMY_MAIN() { return 1; }
5853 #endif
5081 int 5854 int
5082 main () 5855 main ()
5083 { 5856 {
5084 void * foo; 5857 void * foo;
5085 ; 5858 ;
5086 return 0; 5859 return 0;
5087 } 5860 }
5088 _ACEOF 5861 _ACEOF
5089 rm -f conftest.$ac_objext 5862 rm -f conftest.$ac_objext
5090 if { (eval echo "$as_me:5090: \"$ac_compile\"") >&5 5863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5091 (eval $ac_compile) 2>&5 5864 (eval $ac_compile) 2>&5
5092 ac_status=$? 5865 ac_status=$?
5093 echo "$as_me:5093: \$? = $ac_status" >&5 5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } && 5867 (exit $ac_status); } &&
5095 { ac_try='test -s conftest.$ac_objext' 5868 { ac_try='test -s conftest.$ac_objext'
5096 { (eval echo "$as_me:5096: \"$ac_try\"") >&5 5869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5097 (eval $ac_try) 2>&5 5870 (eval $ac_try) 2>&5
5098 ac_status=$? 5871 ac_status=$?
5099 echo "$as_me:5099: \$? = $ac_status" >&5 5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); }; }; then 5873 (exit $ac_status); }; }; then
5101 emacs_cv_void_star=yes 5874 emacs_cv_void_star=yes
5102 else 5875 else
5103 echo "$as_me: failed program was:" >&5 5876 echo "$as_me: failed program was:" >&5
5104 cat conftest.$ac_ext >&5 5877 cat conftest.$ac_ext >&5
5105 emacs_cv_void_star=no 5878 emacs_cv_void_star=no
5106 fi 5879 fi
5107 rm -f conftest.$ac_objext conftest.$ac_ext 5880 rm -f conftest.$ac_objext conftest.$ac_ext
5108 fi 5881 fi
5109 echo "$as_me:5109: result: $emacs_cv_void_star" >&5 5882 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
5110 echo "${ECHO_T}$emacs_cv_void_star" >&6 5883 echo "${ECHO_T}$emacs_cv_void_star" >&6
5111 if test $emacs_cv_void_star = yes; then 5884 if test $emacs_cv_void_star = yes; then
5112 cat >>confdefs.h <<\EOF 5885 cat >>confdefs.h <<\_ACEOF
5113 #define POINTER_TYPE void 5886 #define POINTER_TYPE void
5114 EOF 5887 _ACEOF
5115 5888
5116 else 5889 else
5117 cat >>confdefs.h <<\EOF 5890 cat >>confdefs.h <<\_ACEOF
5118 #define POINTER_TYPE char 5891 #define POINTER_TYPE char
5119 EOF 5892 _ACEOF
5120 5893
5121 fi 5894 fi
5122 5895
5123 echo "$as_me:5123: checking whether ${MAKE-make} sets \${MAKE}" >&5 5896
5897 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
5124 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5898 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5125 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5899 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5126 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 5900 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6 5901 echo $ECHO_N "(cached) $ECHO_C" >&6
5128 else 5902 else
5129 cat >conftest.make <<\EOF 5903 cat >conftest.make <<\_ACEOF
5130 all: 5904 all:
5131 @echo 'ac_maketemp="${MAKE}"' 5905 @echo 'ac_maketemp="${MAKE}"'
5132 EOF 5906 _ACEOF
5133 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 5907 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5134 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 5908 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
5135 if test -n "$ac_maketemp"; then 5909 if test -n "$ac_maketemp"; then
5136 eval ac_cv_prog_make_${ac_make}_set=yes 5910 eval ac_cv_prog_make_${ac_make}_set=yes
5137 else 5911 else
5138 eval ac_cv_prog_make_${ac_make}_set=no 5912 eval ac_cv_prog_make_${ac_make}_set=no
5139 fi 5913 fi
5140 rm -f conftest.make 5914 rm -f conftest.make
5141 fi 5915 fi
5142 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5916 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5143 echo "$as_me:5143: result: yes" >&5 5917 echo "$as_me:$LINENO: result: yes" >&5
5144 echo "${ECHO_T}yes" >&6 5918 echo "${ECHO_T}yes" >&6
5145 SET_MAKE= 5919 SET_MAKE=
5146 else 5920 else
5147 echo "$as_me:5147: result: no" >&5 5921 echo "$as_me:$LINENO: result: no" >&5
5148 echo "${ECHO_T}no" >&6 5922 echo "${ECHO_T}no" >&6
5149 SET_MAKE="MAKE=${MAKE-make}" 5923 SET_MAKE="MAKE=${MAKE-make}"
5150 fi 5924 fi
5151 5925
5152 echo "$as_me:5152: checking for long file names" >&5 5926
5927 echo "$as_me:$LINENO: checking for long file names" >&5
5153 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 5928 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5154 if test "${ac_cv_sys_long_file_names+set}" = set; then 5929 if test "${ac_cv_sys_long_file_names+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6 5930 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 else 5931 else
5157 ac_cv_sys_long_file_names=yes 5932 ac_cv_sys_long_file_names=yes
5186 break 5961 break
5187 fi 5962 fi
5188 rm -rf $ac_xdir 2>/dev/null 5963 rm -rf $ac_xdir 2>/dev/null
5189 done 5964 done
5190 fi 5965 fi
5191 echo "$as_me:5191: result: $ac_cv_sys_long_file_names" >&5 5966 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
5192 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 5967 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5193 if test $ac_cv_sys_long_file_names = yes; then 5968 if test $ac_cv_sys_long_file_names = yes; then
5194 5969
5195 cat >>confdefs.h <<\EOF 5970 cat >>confdefs.h <<\_ACEOF
5196 #define HAVE_LONG_FILE_NAMES 1 5971 #define HAVE_LONG_FILE_NAMES 1
5197 EOF 5972 _ACEOF
5198 5973
5199 fi 5974 fi
5975
5200 5976
5201 #### Choose a window system. 5977 #### Choose a window system.
5202 5978
5203 echo "$as_me:5203: checking for X" >&5 5979 echo "$as_me:$LINENO: checking for X" >&5
5204 echo $ECHO_N "checking for X... $ECHO_C" >&6 5980 echo $ECHO_N "checking for X... $ECHO_C" >&6
5981
5205 5982
5206 # Check whether --with-x or --without-x was given. 5983 # Check whether --with-x or --without-x was given.
5207 if test "${with_x+set}" = set; then 5984 if test "${with_x+set}" = set; then
5208 withval="$with_x" 5985 withval="$with_x"
5209 5986
5224 ac_x_includes=no ac_x_libraries=no 6001 ac_x_includes=no ac_x_libraries=no
5225 rm -fr conftest.dir 6002 rm -fr conftest.dir
5226 if mkdir conftest.dir; then 6003 if mkdir conftest.dir; then
5227 cd conftest.dir 6004 cd conftest.dir
5228 # Make sure to not put "make" in the Imakefile rules, since we grep it out. 6005 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5229 cat >Imakefile <<'EOF' 6006 cat >Imakefile <<'_ACEOF'
5230 acfindx: 6007 acfindx:
5231 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' 6008 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5232 EOF 6009 _ACEOF
5233 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then 6010 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
5234 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 6011 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5235 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` 6012 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
5236 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 6013 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5237 for ac_extension in a so sl; do 6014 for ac_extension in a so sl; do
5295 6072
5296 if test "$ac_x_includes" = no; then 6073 if test "$ac_x_includes" = no; then
5297 # Guess where to find include files, by looking for Intrinsic.h. 6074 # Guess where to find include files, by looking for Intrinsic.h.
5298 # First, try using that file with no special directory specified. 6075 # First, try using that file with no special directory specified.
5299 cat >conftest.$ac_ext <<_ACEOF 6076 cat >conftest.$ac_ext <<_ACEOF
5300 #line 5300 "configure" 6077 #line $LINENO "configure"
5301 #include "confdefs.h" 6078 #include "confdefs.h"
5302 #include <X11/Intrinsic.h> 6079 #include <X11/Intrinsic.h>
5303 _ACEOF 6080 _ACEOF
5304 if { (eval echo "$as_me:5304: \"$ac_cpp conftest.$ac_ext\"") >&5 6081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5306 ac_status=$? 6083 ac_status=$?
5307 egrep -v '^ *\+' conftest.er1 >conftest.err 6084 egrep -v '^ *\+' conftest.er1 >conftest.err
5308 rm -f conftest.er1 6085 rm -f conftest.er1
5309 cat conftest.err >&5 6086 cat conftest.err >&5
5310 echo "$as_me:5310: \$? = $ac_status" >&5 6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); } >/dev/null; then 6088 (exit $ac_status); } >/dev/null; then
5312 if test -s conftest.err; then 6089 if test -s conftest.err; then
5313 ac_cpp_err=$ac_c_preproc_warn_flag 6090 ac_cpp_err=$ac_c_preproc_warn_flag
5314 else 6091 else
5315 ac_cpp_err= 6092 ac_cpp_err=
5338 # See if we find them without any special options. 6115 # See if we find them without any special options.
5339 # Don't add to $LIBS permanently. 6116 # Don't add to $LIBS permanently.
5340 ac_save_LIBS=$LIBS 6117 ac_save_LIBS=$LIBS
5341 LIBS="-lXt $LIBS" 6118 LIBS="-lXt $LIBS"
5342 cat >conftest.$ac_ext <<_ACEOF 6119 cat >conftest.$ac_ext <<_ACEOF
5343 #line 5343 "configure" 6120 #line $LINENO "configure"
5344 #include "confdefs.h" 6121 #include "confdefs.h"
5345 #include <X11/Intrinsic.h> 6122 #include <X11/Intrinsic.h>
6123 #ifdef F77_DUMMY_MAIN
6124 # ifdef __cplusplus
6125 extern "C"
6126 # endif
6127 int F77_DUMMY_MAIN() { return 1; }
6128 #endif
5346 int 6129 int
5347 main () 6130 main ()
5348 { 6131 {
5349 XtMalloc (0) 6132 XtMalloc (0)
5350 ; 6133 ;
5351 return 0; 6134 return 0;
5352 } 6135 }
5353 _ACEOF 6136 _ACEOF
5354 rm -f conftest.$ac_objext conftest$ac_exeext 6137 rm -f conftest.$ac_objext conftest$ac_exeext
5355 if { (eval echo "$as_me:5355: \"$ac_link\"") >&5 6138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5356 (eval $ac_link) 2>&5 6139 (eval $ac_link) 2>&5
5357 ac_status=$? 6140 ac_status=$?
5358 echo "$as_me:5358: \$? = $ac_status" >&5 6141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); } && 6142 (exit $ac_status); } &&
5360 { ac_try='test -s conftest$ac_exeext' 6143 { ac_try='test -s conftest$ac_exeext'
5361 { (eval echo "$as_me:5361: \"$ac_try\"") >&5 6144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5362 (eval $ac_try) 2>&5 6145 (eval $ac_try) 2>&5
5363 ac_status=$? 6146 ac_status=$?
5364 echo "$as_me:5364: \$? = $ac_status" >&5 6147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); }; }; then 6148 (exit $ac_status); }; }; then
5366 LIBS=$ac_save_LIBS 6149 LIBS=$ac_save_LIBS
5367 # We can link X programs with no special library path. 6150 # We can link X programs with no special library path.
5368 ac_x_libraries= 6151 ac_x_libraries=
5369 else 6152 else
5397 fi 6180 fi
5398 eval "$ac_cv_have_x" 6181 eval "$ac_cv_have_x"
5399 fi # $with_x != no 6182 fi # $with_x != no
5400 6183
5401 if test "$have_x" != yes; then 6184 if test "$have_x" != yes; then
5402 echo "$as_me:5402: result: $have_x" >&5 6185 echo "$as_me:$LINENO: result: $have_x" >&5
5403 echo "${ECHO_T}$have_x" >&6 6186 echo "${ECHO_T}$have_x" >&6
5404 no_x=yes 6187 no_x=yes
5405 else 6188 else
5406 # If each of the values was on the command line, it overrides each guess. 6189 # If each of the values was on the command line, it overrides each guess.
5407 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 6190 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5408 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 6191 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5409 # Update the cache value to reflect the command line values. 6192 # Update the cache value to reflect the command line values.
5410 ac_cv_have_x="have_x=yes \ 6193 ac_cv_have_x="have_x=yes \
5411 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 6194 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5412 echo "$as_me:5412: result: libraries $x_libraries, headers $x_includes" >&5 6195 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5413 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 6196 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5414 fi 6197 fi
5415 6198
5416 if test "$no_x" = yes; then 6199 if test "$no_x" = yes; then
5417 window_system=none 6200 window_system=none
5505 6288
5506 # Do the opsystem or machine files prohibit the use of the GNU malloc? 6289 # Do the opsystem or machine files prohibit the use of the GNU malloc?
5507 # Assume not, until told otherwise. 6290 # Assume not, until told otherwise.
5508 GNU_MALLOC=yes 6291 GNU_MALLOC=yes
5509 doug_lea_malloc=yes 6292 doug_lea_malloc=yes
5510 echo "$as_me:5510: checking for malloc_get_state" >&5 6293 echo "$as_me:$LINENO: checking for malloc_get_state" >&5
5511 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 6294 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5512 if test "${ac_cv_func_malloc_get_state+set}" = set; then 6295 if test "${ac_cv_func_malloc_get_state+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6 6296 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 else 6297 else
5515 cat >conftest.$ac_ext <<_ACEOF 6298 cat >conftest.$ac_ext <<_ACEOF
5516 #line 5516 "configure" 6299 #line $LINENO "configure"
5517 #include "confdefs.h" 6300 #include "confdefs.h"
5518 /* System header to define __stub macros and hopefully few prototypes, 6301 /* System header to define __stub macros and hopefully few prototypes,
5519 which can conflict with char malloc_get_state (); below. */ 6302 which can conflict with char malloc_get_state (); below. */
5520 #include <assert.h> 6303 #include <assert.h>
5521 /* Override any gcc2 internal prototype to avoid an error. */ 6304 /* Override any gcc2 internal prototype to avoid an error. */
5525 /* We use char because int might match the return type of a gcc2 6308 /* We use char because int might match the return type of a gcc2
5526 builtin and then its argument prototype would still apply. */ 6309 builtin and then its argument prototype would still apply. */
5527 char malloc_get_state (); 6310 char malloc_get_state ();
5528 char (*f) (); 6311 char (*f) ();
5529 6312
6313 #ifdef F77_DUMMY_MAIN
6314 # ifdef __cplusplus
6315 extern "C"
6316 # endif
6317 int F77_DUMMY_MAIN() { return 1; }
6318 #endif
5530 int 6319 int
5531 main () 6320 main ()
5532 { 6321 {
5533 /* The GNU C library defines this for functions which it implements 6322 /* The GNU C library defines this for functions which it implements
5534 to always fail with ENOSYS. Some functions are actually named 6323 to always fail with ENOSYS. Some functions are actually named
5542 ; 6331 ;
5543 return 0; 6332 return 0;
5544 } 6333 }
5545 _ACEOF 6334 _ACEOF
5546 rm -f conftest.$ac_objext conftest$ac_exeext 6335 rm -f conftest.$ac_objext conftest$ac_exeext
5547 if { (eval echo "$as_me:5547: \"$ac_link\"") >&5 6336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5548 (eval $ac_link) 2>&5 6337 (eval $ac_link) 2>&5
5549 ac_status=$? 6338 ac_status=$?
5550 echo "$as_me:5550: \$? = $ac_status" >&5 6339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } && 6340 (exit $ac_status); } &&
5552 { ac_try='test -s conftest$ac_exeext' 6341 { ac_try='test -s conftest$ac_exeext'
5553 { (eval echo "$as_me:5553: \"$ac_try\"") >&5 6342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5554 (eval $ac_try) 2>&5 6343 (eval $ac_try) 2>&5
5555 ac_status=$? 6344 ac_status=$?
5556 echo "$as_me:5556: \$? = $ac_status" >&5 6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); }; }; then 6346 (exit $ac_status); }; }; then
5558 ac_cv_func_malloc_get_state=yes 6347 ac_cv_func_malloc_get_state=yes
5559 else 6348 else
5560 echo "$as_me: failed program was:" >&5 6349 echo "$as_me: failed program was:" >&5
5561 cat conftest.$ac_ext >&5 6350 cat conftest.$ac_ext >&5
5562 ac_cv_func_malloc_get_state=no 6351 ac_cv_func_malloc_get_state=no
5563 fi 6352 fi
5564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6353 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5565 fi 6354 fi
5566 echo "$as_me:5566: result: $ac_cv_func_malloc_get_state" >&5 6355 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
5567 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 6356 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5568 if test $ac_cv_func_malloc_get_state = yes; then 6357 if test $ac_cv_func_malloc_get_state = yes; then
5569 : 6358 :
5570 else 6359 else
5571 doug_lea_malloc=no 6360 doug_lea_malloc=no
5572 fi 6361 fi
5573 6362
5574 echo "$as_me:5574: checking for malloc_set_state" >&5 6363 echo "$as_me:$LINENO: checking for malloc_set_state" >&5
5575 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 6364 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5576 if test "${ac_cv_func_malloc_set_state+set}" = set; then 6365 if test "${ac_cv_func_malloc_set_state+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6 6366 echo $ECHO_N "(cached) $ECHO_C" >&6
5578 else 6367 else
5579 cat >conftest.$ac_ext <<_ACEOF 6368 cat >conftest.$ac_ext <<_ACEOF
5580 #line 5580 "configure" 6369 #line $LINENO "configure"
5581 #include "confdefs.h" 6370 #include "confdefs.h"
5582 /* System header to define __stub macros and hopefully few prototypes, 6371 /* System header to define __stub macros and hopefully few prototypes,
5583 which can conflict with char malloc_set_state (); below. */ 6372 which can conflict with char malloc_set_state (); below. */
5584 #include <assert.h> 6373 #include <assert.h>
5585 /* Override any gcc2 internal prototype to avoid an error. */ 6374 /* Override any gcc2 internal prototype to avoid an error. */
5589 /* We use char because int might match the return type of a gcc2 6378 /* We use char because int might match the return type of a gcc2
5590 builtin and then its argument prototype would still apply. */ 6379 builtin and then its argument prototype would still apply. */
5591 char malloc_set_state (); 6380 char malloc_set_state ();
5592 char (*f) (); 6381 char (*f) ();
5593 6382
6383 #ifdef F77_DUMMY_MAIN
6384 # ifdef __cplusplus
6385 extern "C"
6386 # endif
6387 int F77_DUMMY_MAIN() { return 1; }
6388 #endif
5594 int 6389 int
5595 main () 6390 main ()
5596 { 6391 {
5597 /* The GNU C library defines this for functions which it implements 6392 /* The GNU C library defines this for functions which it implements
5598 to always fail with ENOSYS. Some functions are actually named 6393 to always fail with ENOSYS. Some functions are actually named
5606 ; 6401 ;
5607 return 0; 6402 return 0;
5608 } 6403 }
5609 _ACEOF 6404 _ACEOF
5610 rm -f conftest.$ac_objext conftest$ac_exeext 6405 rm -f conftest.$ac_objext conftest$ac_exeext
5611 if { (eval echo "$as_me:5611: \"$ac_link\"") >&5 6406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5612 (eval $ac_link) 2>&5 6407 (eval $ac_link) 2>&5
5613 ac_status=$? 6408 ac_status=$?
5614 echo "$as_me:5614: \$? = $ac_status" >&5 6409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); } && 6410 (exit $ac_status); } &&
5616 { ac_try='test -s conftest$ac_exeext' 6411 { ac_try='test -s conftest$ac_exeext'
5617 { (eval echo "$as_me:5617: \"$ac_try\"") >&5 6412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5618 (eval $ac_try) 2>&5 6413 (eval $ac_try) 2>&5
5619 ac_status=$? 6414 ac_status=$?
5620 echo "$as_me:5620: \$? = $ac_status" >&5 6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; }; then 6416 (exit $ac_status); }; }; then
5622 ac_cv_func_malloc_set_state=yes 6417 ac_cv_func_malloc_set_state=yes
5623 else 6418 else
5624 echo "$as_me: failed program was:" >&5 6419 echo "$as_me: failed program was:" >&5
5625 cat conftest.$ac_ext >&5 6420 cat conftest.$ac_ext >&5
5626 ac_cv_func_malloc_set_state=no 6421 ac_cv_func_malloc_set_state=no
5627 fi 6422 fi
5628 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5629 fi 6424 fi
5630 echo "$as_me:5630: result: $ac_cv_func_malloc_set_state" >&5 6425 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
5631 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 6426 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5632 if test $ac_cv_func_malloc_set_state = yes; then 6427 if test $ac_cv_func_malloc_set_state = yes; then
5633 : 6428 :
5634 else 6429 else
5635 doug_lea_malloc=no 6430 doug_lea_malloc=no
5636 fi 6431 fi
5637 6432
5638 echo "$as_me:5638: checking whether __after_morecore_hook exists" >&5 6433 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
5639 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 6434 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5640 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 6435 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6 6436 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 else 6437 else
5643 cat >conftest.$ac_ext <<_ACEOF 6438 cat >conftest.$ac_ext <<_ACEOF
5644 #line 5644 "configure" 6439 #line $LINENO "configure"
5645 #include "confdefs.h" 6440 #include "confdefs.h"
5646 extern void (* __after_morecore_hook)(); 6441 extern void (* __after_morecore_hook)();
6442 #ifdef F77_DUMMY_MAIN
6443 # ifdef __cplusplus
6444 extern "C"
6445 # endif
6446 int F77_DUMMY_MAIN() { return 1; }
6447 #endif
5647 int 6448 int
5648 main () 6449 main ()
5649 { 6450 {
5650 __after_morecore_hook = 0 6451 __after_morecore_hook = 0
5651 ; 6452 ;
5652 return 0; 6453 return 0;
5653 } 6454 }
5654 _ACEOF 6455 _ACEOF
5655 rm -f conftest.$ac_objext conftest$ac_exeext 6456 rm -f conftest.$ac_objext conftest$ac_exeext
5656 if { (eval echo "$as_me:5656: \"$ac_link\"") >&5 6457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5657 (eval $ac_link) 2>&5 6458 (eval $ac_link) 2>&5
5658 ac_status=$? 6459 ac_status=$?
5659 echo "$as_me:5659: \$? = $ac_status" >&5 6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); } && 6461 (exit $ac_status); } &&
5661 { ac_try='test -s conftest$ac_exeext' 6462 { ac_try='test -s conftest$ac_exeext'
5662 { (eval echo "$as_me:5662: \"$ac_try\"") >&5 6463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5663 (eval $ac_try) 2>&5 6464 (eval $ac_try) 2>&5
5664 ac_status=$? 6465 ac_status=$?
5665 echo "$as_me:5665: \$? = $ac_status" >&5 6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); }; }; then 6467 (exit $ac_status); }; }; then
5667 emacs_cv_var___after_morecore_hook=yes 6468 emacs_cv_var___after_morecore_hook=yes
5668 else 6469 else
5669 echo "$as_me: failed program was:" >&5 6470 echo "$as_me: failed program was:" >&5
5670 cat conftest.$ac_ext >&5 6471 cat conftest.$ac_ext >&5
5671 emacs_cv_var___after_morecore_hook=no 6472 emacs_cv_var___after_morecore_hook=no
5672 fi 6473 fi
5673 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5674 fi 6475 fi
5675 echo "$as_me:5675: result: $emacs_cv_var___after_morecore_hook" >&5 6476 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
5676 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 6477 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5677 if test $emacs_cv_var___after_morecore_hook = no; then 6478 if test $emacs_cv_var___after_morecore_hook = no; then
5678 doug_lea_malloc=no 6479 doug_lea_malloc=no
5679 fi 6480 fi
5680 if test "${system_malloc}" = "yes"; then 6481 if test "${system_malloc}" = "yes"; then
5686 if test "$GNU_MALLOC" = yes ; then 6487 if test "$GNU_MALLOC" = yes ; then
5687 GNU_MALLOC_reason=" 6488 GNU_MALLOC_reason="
5688 (Using Doug Lea's new malloc from the GNU C Library.)" 6489 (Using Doug Lea's new malloc from the GNU C Library.)"
5689 fi 6490 fi
5690 6491
5691 cat >>confdefs.h <<\EOF 6492 cat >>confdefs.h <<\_ACEOF
5692 #define DOUG_LEA_MALLOC 1 6493 #define DOUG_LEA_MALLOC 1
5693 EOF 6494 _ACEOF
5694 6495
5695 fi 6496 fi
5696 6497
5697 if test x"${REL_ALLOC}" = x; then 6498 if test x"${REL_ALLOC}" = x; then
5698 REL_ALLOC=${GNU_MALLOC} 6499 REL_ALLOC=${GNU_MALLOC}
5699 fi 6500 fi
5700 6501
5701 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 6502
5702 6503
5703 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5704 inttypes.h stdint.h unistd.h
5705 do
5706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5707 echo "$as_me:5707: checking for $ac_header" >&5
5708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5710 echo $ECHO_N "(cached) $ECHO_C" >&6
5711 else
5712 cat >conftest.$ac_ext <<_ACEOF
5713 #line 5713 "configure"
5714 #include "confdefs.h"
5715 $ac_includes_default
5716 #include <$ac_header>
5717 _ACEOF
5718 rm -f conftest.$ac_objext
5719 if { (eval echo "$as_me:5719: \"$ac_compile\"") >&5
5720 (eval $ac_compile) 2>&5
5721 ac_status=$?
5722 echo "$as_me:5722: \$? = $ac_status" >&5
5723 (exit $ac_status); } &&
5724 { ac_try='test -s conftest.$ac_objext'
5725 { (eval echo "$as_me:5725: \"$ac_try\"") >&5
5726 (eval $ac_try) 2>&5
5727 ac_status=$?
5728 echo "$as_me:5728: \$? = $ac_status" >&5
5729 (exit $ac_status); }; }; then
5730 eval "$as_ac_Header=yes"
5731 else
5732 echo "$as_me: failed program was:" >&5
5733 cat conftest.$ac_ext >&5
5734 eval "$as_ac_Header=no"
5735 fi
5736 rm -f conftest.$ac_objext conftest.$ac_ext
5737 fi
5738 echo "$as_me:5738: result: `eval echo '${'$as_ac_Header'}'`" >&5
5739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5741 cat >>confdefs.h <<EOF
5742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5743 EOF
5744
5745 fi
5746 done
5747 6504
5748 for ac_header in stdlib.h unistd.h 6505 for ac_header in stdlib.h unistd.h
5749 do 6506 do
5750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5751 echo "$as_me:5751: checking for $ac_header" >&5 6508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6509 echo "$as_me:$LINENO: checking for $ac_header" >&5
5752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5753 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5754 echo $ECHO_N "(cached) $ECHO_C" >&6 6512 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 else 6513 fi
5756 cat >conftest.$ac_ext <<_ACEOF 6514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5757 #line 5757 "configure" 6515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5758 #include "confdefs.h" 6516 else
6517 # Is the header compilable?
6518 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6520 cat >conftest.$ac_ext <<_ACEOF
6521 #line $LINENO "configure"
6522 #include "confdefs.h"
6523 $ac_includes_default
5759 #include <$ac_header> 6524 #include <$ac_header>
5760 _ACEOF 6525 _ACEOF
5761 if { (eval echo "$as_me:5761: \"$ac_cpp conftest.$ac_ext\"") >&5 6526 rm -f conftest.$ac_objext
6527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6528 (eval $ac_compile) 2>&5
6529 ac_status=$?
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); } &&
6532 { ac_try='test -s conftest.$ac_objext'
6533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6534 (eval $ac_try) 2>&5
6535 ac_status=$?
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); }; }; then
6538 ac_header_compiler=yes
6539 else
6540 echo "$as_me: failed program was:" >&5
6541 cat conftest.$ac_ext >&5
6542 ac_header_compiler=no
6543 fi
6544 rm -f conftest.$ac_objext conftest.$ac_ext
6545 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6546 echo "${ECHO_T}$ac_header_compiler" >&6
6547
6548 # Is the header present?
6549 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6550 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6551 cat >conftest.$ac_ext <<_ACEOF
6552 #line $LINENO "configure"
6553 #include "confdefs.h"
6554 #include <$ac_header>
6555 _ACEOF
6556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5763 ac_status=$? 6558 ac_status=$?
5764 egrep -v '^ *\+' conftest.er1 >conftest.err 6559 egrep -v '^ *\+' conftest.er1 >conftest.err
5765 rm -f conftest.er1 6560 rm -f conftest.er1
5766 cat conftest.err >&5 6561 cat conftest.err >&5
5767 echo "$as_me:5767: \$? = $ac_status" >&5 6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); } >/dev/null; then 6563 (exit $ac_status); } >/dev/null; then
5769 if test -s conftest.err; then 6564 if test -s conftest.err; then
5770 ac_cpp_err=$ac_c_preproc_warn_flag 6565 ac_cpp_err=$ac_c_preproc_warn_flag
5771 else 6566 else
5772 ac_cpp_err= 6567 ac_cpp_err=
5773 fi 6568 fi
5774 else 6569 else
5775 ac_cpp_err=yes 6570 ac_cpp_err=yes
5776 fi 6571 fi
5777 if test -z "$ac_cpp_err"; then 6572 if test -z "$ac_cpp_err"; then
5778 eval "$as_ac_Header=yes" 6573 ac_header_preproc=yes
5779 else 6574 else
5780 echo "$as_me: failed program was:" >&5 6575 echo "$as_me: failed program was:" >&5
5781 cat conftest.$ac_ext >&5 6576 cat conftest.$ac_ext >&5
5782 eval "$as_ac_Header=no" 6577 ac_header_preproc=no
5783 fi 6578 fi
5784 rm -f conftest.err conftest.$ac_ext 6579 rm -f conftest.err conftest.$ac_ext
5785 fi 6580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5786 echo "$as_me:5786: result: `eval echo '${'$as_ac_Header'}'`" >&5 6581 echo "${ECHO_T}$ac_header_preproc" >&6
6582
6583 # So? What about this header?
6584 case $ac_header_compiler:$ac_header_preproc in
6585 yes:no )
6586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6590 no:yes )
6591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6597 esac
6598 echo "$as_me:$LINENO: checking for $ac_header" >&5
6599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6601 echo $ECHO_N "(cached) $ECHO_C" >&6
6602 else
6603 eval "$as_ac_Header=$ac_header_preproc"
6604 fi
6605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6607
6608 fi
5788 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5789 cat >>confdefs.h <<EOF 6610 cat >>confdefs.h <<_ACEOF
5790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5791 EOF 6612 _ACEOF
5792 6613
5793 fi 6614 fi
6615
5794 done 6616 done
6617
5795 6618
5796 for ac_func in getpagesize 6619 for ac_func in getpagesize
5797 do 6620 do
5798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5799 echo "$as_me:5799: checking for $ac_func" >&5 6622 echo "$as_me:$LINENO: checking for $ac_func" >&5
5800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5801 if eval "test \"\${$as_ac_var+set}\" = set"; then 6624 if eval "test \"\${$as_ac_var+set}\" = set"; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6 6625 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 else 6626 else
5804 cat >conftest.$ac_ext <<_ACEOF 6627 cat >conftest.$ac_ext <<_ACEOF
5805 #line 5805 "configure" 6628 #line $LINENO "configure"
5806 #include "confdefs.h" 6629 #include "confdefs.h"
5807 /* System header to define __stub macros and hopefully few prototypes, 6630 /* System header to define __stub macros and hopefully few prototypes,
5808 which can conflict with char $ac_func (); below. */ 6631 which can conflict with char $ac_func (); below. */
5809 #include <assert.h> 6632 #include <assert.h>
5810 /* Override any gcc2 internal prototype to avoid an error. */ 6633 /* Override any gcc2 internal prototype to avoid an error. */
5814 /* We use char because int might match the return type of a gcc2 6637 /* We use char because int might match the return type of a gcc2
5815 builtin and then its argument prototype would still apply. */ 6638 builtin and then its argument prototype would still apply. */
5816 char $ac_func (); 6639 char $ac_func ();
5817 char (*f) (); 6640 char (*f) ();
5818 6641
6642 #ifdef F77_DUMMY_MAIN
6643 # ifdef __cplusplus
6644 extern "C"
6645 # endif
6646 int F77_DUMMY_MAIN() { return 1; }
6647 #endif
5819 int 6648 int
5820 main () 6649 main ()
5821 { 6650 {
5822 /* The GNU C library defines this for functions which it implements 6651 /* The GNU C library defines this for functions which it implements
5823 to always fail with ENOSYS. Some functions are actually named 6652 to always fail with ENOSYS. Some functions are actually named
5831 ; 6660 ;
5832 return 0; 6661 return 0;
5833 } 6662 }
5834 _ACEOF 6663 _ACEOF
5835 rm -f conftest.$ac_objext conftest$ac_exeext 6664 rm -f conftest.$ac_objext conftest$ac_exeext
5836 if { (eval echo "$as_me:5836: \"$ac_link\"") >&5 6665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5837 (eval $ac_link) 2>&5 6666 (eval $ac_link) 2>&5
5838 ac_status=$? 6667 ac_status=$?
5839 echo "$as_me:5839: \$? = $ac_status" >&5 6668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } && 6669 (exit $ac_status); } &&
5841 { ac_try='test -s conftest$ac_exeext' 6670 { ac_try='test -s conftest$ac_exeext'
5842 { (eval echo "$as_me:5842: \"$ac_try\"") >&5 6671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 (eval $ac_try) 2>&5 6672 (eval $ac_try) 2>&5
5844 ac_status=$? 6673 ac_status=$?
5845 echo "$as_me:5845: \$? = $ac_status" >&5 6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); }; }; then 6675 (exit $ac_status); }; }; then
5847 eval "$as_ac_var=yes" 6676 eval "$as_ac_var=yes"
5848 else 6677 else
5849 echo "$as_me: failed program was:" >&5 6678 echo "$as_me: failed program was:" >&5
5850 cat conftest.$ac_ext >&5 6679 cat conftest.$ac_ext >&5
5851 eval "$as_ac_var=no" 6680 eval "$as_ac_var=no"
5852 fi 6681 fi
5853 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5854 fi 6683 fi
5855 echo "$as_me:5855: result: `eval echo '${'$as_ac_var'}'`" >&5 6684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5857 if test `eval echo '${'$as_ac_var'}'` = yes; then 6686 if test `eval echo '${'$as_ac_var'}'` = yes; then
5858 cat >>confdefs.h <<EOF 6687 cat >>confdefs.h <<_ACEOF
5859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5860 EOF 6689 _ACEOF
5861 6690
5862 fi 6691 fi
5863 done 6692 done
5864 6693
5865 echo "$as_me:5865: checking for working mmap" >&5 6694 echo "$as_me:$LINENO: checking for working mmap" >&5
5866 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 6695 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5867 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 6696 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5868 echo $ECHO_N "(cached) $ECHO_C" >&6 6697 echo $ECHO_N "(cached) $ECHO_C" >&6
5869 else 6698 else
5870 if test "$cross_compiling" = yes; then 6699 if test "$cross_compiling" = yes; then
5871 ac_cv_func_mmap_fixed_mapped=no 6700 ac_cv_func_mmap_fixed_mapped=no
5872 else 6701 else
5873 cat >conftest.$ac_ext <<_ACEOF 6702 cat >conftest.$ac_ext <<_ACEOF
5874 #line 5874 "configure" 6703 #line $LINENO "configure"
5875 #include "confdefs.h" 6704 #include "confdefs.h"
5876 $ac_includes_default 6705 $ac_includes_default
6706 /* malloc might have been renamed as rpl_malloc. */
6707 #undef malloc
6708
5877 /* Thanks to Mike Haertel and Jim Avera for this test. 6709 /* Thanks to Mike Haertel and Jim Avera for this test.
5878 Here is a matrix of mmap possibilities: 6710 Here is a matrix of mmap possibilities:
5879 mmap private not fixed 6711 mmap private not fixed
5880 mmap private fixed at somewhere currently unmapped 6712 mmap private fixed at somewhere currently unmapped
5881 mmap private fixed at somewhere already mapped 6713 mmap private fixed at somewhere already mapped
5887 address. (There have been systems where private was not correctly 6719 address. (There have been systems where private was not correctly
5888 implemented like the infamous i386 svr4.0, and systems where the 6720 implemented like the infamous i386 svr4.0, and systems where the
5889 VM page cache was not coherent with the file system buffer cache 6721 VM page cache was not coherent with the file system buffer cache
5890 like early versions of FreeBSD and possibly contemporary NetBSD.) 6722 like early versions of FreeBSD and possibly contemporary NetBSD.)
5891 For shared mappings, we should conversely verify that changes get 6723 For shared mappings, we should conversely verify that changes get
5892 propogated back to all the places they're supposed to be. 6724 propagated back to all the places they're supposed to be.
5893 6725
5894 Grep wants private fixed already mapped. 6726 Grep wants private fixed already mapped.
5895 The main things grep needs to know about mmap are: 6727 The main things grep needs to know about mmap are:
5896 * does it exist and is it safe to write into the mmap'd area 6728 * does it exist and is it safe to write into the mmap'd area
5897 * how to use it (BSD variants) */ 6729 * how to use it (BSD variants) */
5996 close (fd); 6828 close (fd);
5997 exit (0); 6829 exit (0);
5998 } 6830 }
5999 _ACEOF 6831 _ACEOF
6000 rm -f conftest$ac_exeext 6832 rm -f conftest$ac_exeext
6001 if { (eval echo "$as_me:6001: \"$ac_link\"") >&5 6833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6002 (eval $ac_link) 2>&5 6834 (eval $ac_link) 2>&5
6003 ac_status=$? 6835 ac_status=$?
6004 echo "$as_me:6004: \$? = $ac_status" >&5 6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6837 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6006 { (eval echo "$as_me:6006: \"$ac_try\"") >&5 6838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007 (eval $ac_try) 2>&5 6839 (eval $ac_try) 2>&5
6008 ac_status=$? 6840 ac_status=$?
6009 echo "$as_me:6009: \$? = $ac_status" >&5 6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); }; }; then 6842 (exit $ac_status); }; }; then
6011 ac_cv_func_mmap_fixed_mapped=yes 6843 ac_cv_func_mmap_fixed_mapped=yes
6012 else 6844 else
6013 echo "$as_me: program exited with status $ac_status" >&5 6845 echo "$as_me: program exited with status $ac_status" >&5
6014 echo "$as_me: failed program was:" >&5 6846 echo "$as_me: failed program was:" >&5
6015 cat conftest.$ac_ext >&5 6847 cat conftest.$ac_ext >&5
6848 ( exit $ac_status )
6016 ac_cv_func_mmap_fixed_mapped=no 6849 ac_cv_func_mmap_fixed_mapped=no
6017 fi 6850 fi
6018 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6851 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6019 fi 6852 fi
6020 fi 6853 fi
6021 echo "$as_me:6021: result: $ac_cv_func_mmap_fixed_mapped" >&5 6854 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6022 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 6855 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6023 if test $ac_cv_func_mmap_fixed_mapped = yes; then 6856 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6024 6857
6025 cat >>confdefs.h <<\EOF 6858 cat >>confdefs.h <<\_ACEOF
6026 #define HAVE_MMAP 1 6859 #define HAVE_MMAP 1
6027 EOF 6860 _ACEOF
6028 6861
6029 fi 6862 fi
6030 rm -f conftest.mmap 6863 rm -f conftest.mmap
6031 6864
6032 if test $use_mmap_for_buffers = yes; then 6865 if test $use_mmap_for_buffers = yes; then
6033 REL_ALLOC=no 6866 REL_ALLOC=no
6034 fi 6867 fi
6035 6868
6036 LIBS="$libsrc_libs $LIBS" 6869 LIBS="$libsrc_libs $LIBS"
6037 6870
6038 echo "$as_me:6038: checking for dnet_ntoa in -ldnet" >&5 6871
6872 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
6039 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 6873 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6040 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 6874 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6041 echo $ECHO_N "(cached) $ECHO_C" >&6 6875 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 else 6876 else
6043 ac_check_lib_save_LIBS=$LIBS 6877 ac_check_lib_save_LIBS=$LIBS
6044 LIBS="-ldnet $LIBS" 6878 LIBS="-ldnet $LIBS"
6045 cat >conftest.$ac_ext <<_ACEOF 6879 cat >conftest.$ac_ext <<_ACEOF
6046 #line 6046 "configure" 6880 #line $LINENO "configure"
6047 #include "confdefs.h" 6881 #include "confdefs.h"
6048 6882
6049 /* Override any gcc2 internal prototype to avoid an error. */ 6883 /* Override any gcc2 internal prototype to avoid an error. */
6050 #ifdef __cplusplus 6884 #ifdef __cplusplus
6051 extern "C" 6885 extern "C"
6052 #endif 6886 #endif
6053 /* We use char because int might match the return type of a gcc2 6887 /* We use char because int might match the return type of a gcc2
6054 builtin and then its argument prototype would still apply. */ 6888 builtin and then its argument prototype would still apply. */
6055 char dnet_ntoa (); 6889 char dnet_ntoa ();
6890 #ifdef F77_DUMMY_MAIN
6891 # ifdef __cplusplus
6892 extern "C"
6893 # endif
6894 int F77_DUMMY_MAIN() { return 1; }
6895 #endif
6056 int 6896 int
6057 main () 6897 main ()
6058 { 6898 {
6059 dnet_ntoa (); 6899 dnet_ntoa ();
6060 ; 6900 ;
6061 return 0; 6901 return 0;
6062 } 6902 }
6063 _ACEOF 6903 _ACEOF
6064 rm -f conftest.$ac_objext conftest$ac_exeext 6904 rm -f conftest.$ac_objext conftest$ac_exeext
6065 if { (eval echo "$as_me:6065: \"$ac_link\"") >&5 6905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6066 (eval $ac_link) 2>&5 6906 (eval $ac_link) 2>&5
6067 ac_status=$? 6907 ac_status=$?
6068 echo "$as_me:6068: \$? = $ac_status" >&5 6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); } && 6909 (exit $ac_status); } &&
6070 { ac_try='test -s conftest$ac_exeext' 6910 { ac_try='test -s conftest$ac_exeext'
6071 { (eval echo "$as_me:6071: \"$ac_try\"") >&5 6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6072 (eval $ac_try) 2>&5 6912 (eval $ac_try) 2>&5
6073 ac_status=$? 6913 ac_status=$?
6074 echo "$as_me:6074: \$? = $ac_status" >&5 6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); }; }; then 6915 (exit $ac_status); }; }; then
6076 ac_cv_lib_dnet_dnet_ntoa=yes 6916 ac_cv_lib_dnet_dnet_ntoa=yes
6077 else 6917 else
6078 echo "$as_me: failed program was:" >&5 6918 echo "$as_me: failed program was:" >&5
6079 cat conftest.$ac_ext >&5 6919 cat conftest.$ac_ext >&5
6080 ac_cv_lib_dnet_dnet_ntoa=no 6920 ac_cv_lib_dnet_dnet_ntoa=no
6081 fi 6921 fi
6082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6083 LIBS=$ac_check_lib_save_LIBS 6923 LIBS=$ac_check_lib_save_LIBS
6084 fi 6924 fi
6085 echo "$as_me:6085: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6925 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6086 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 6926 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6087 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 6927 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6088 cat >>confdefs.h <<EOF 6928 cat >>confdefs.h <<_ACEOF
6089 #define HAVE_LIBDNET 1 6929 #define HAVE_LIBDNET 1
6090 EOF 6930 _ACEOF
6091 6931
6092 LIBS="-ldnet $LIBS" 6932 LIBS="-ldnet $LIBS"
6093 6933
6094 fi 6934 fi
6095 6935
6096 echo "$as_me:6096: checking for main in -lXbsd" >&5 6936
6937 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
6097 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 6938 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6098 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 6939 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6099 echo $ECHO_N "(cached) $ECHO_C" >&6 6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6100 else 6941 else
6101 ac_check_lib_save_LIBS=$LIBS 6942 ac_check_lib_save_LIBS=$LIBS
6102 LIBS="-lXbsd $LIBS" 6943 LIBS="-lXbsd $LIBS"
6103 cat >conftest.$ac_ext <<_ACEOF 6944 cat >conftest.$ac_ext <<_ACEOF
6104 #line 6104 "configure" 6945 #line $LINENO "configure"
6105 #include "confdefs.h" 6946 #include "confdefs.h"
6106 6947
6948
6949 #ifdef F77_DUMMY_MAIN
6950 # ifdef __cplusplus
6951 extern "C"
6952 # endif
6953 int F77_DUMMY_MAIN() { return 1; }
6954 #endif
6107 int 6955 int
6108 main () 6956 main ()
6109 { 6957 {
6110 main (); 6958 main ();
6111 ; 6959 ;
6112 return 0; 6960 return 0;
6113 } 6961 }
6114 _ACEOF 6962 _ACEOF
6115 rm -f conftest.$ac_objext conftest$ac_exeext 6963 rm -f conftest.$ac_objext conftest$ac_exeext
6116 if { (eval echo "$as_me:6116: \"$ac_link\"") >&5 6964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6117 (eval $ac_link) 2>&5 6965 (eval $ac_link) 2>&5
6118 ac_status=$? 6966 ac_status=$?
6119 echo "$as_me:6119: \$? = $ac_status" >&5 6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); } && 6968 (exit $ac_status); } &&
6121 { ac_try='test -s conftest$ac_exeext' 6969 { ac_try='test -s conftest$ac_exeext'
6122 { (eval echo "$as_me:6122: \"$ac_try\"") >&5 6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6123 (eval $ac_try) 2>&5 6971 (eval $ac_try) 2>&5
6124 ac_status=$? 6972 ac_status=$?
6125 echo "$as_me:6125: \$? = $ac_status" >&5 6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; }; then 6974 (exit $ac_status); }; }; then
6127 ac_cv_lib_Xbsd_main=yes 6975 ac_cv_lib_Xbsd_main=yes
6128 else 6976 else
6129 echo "$as_me: failed program was:" >&5 6977 echo "$as_me: failed program was:" >&5
6130 cat conftest.$ac_ext >&5 6978 cat conftest.$ac_ext >&5
6131 ac_cv_lib_Xbsd_main=no 6979 ac_cv_lib_Xbsd_main=no
6132 fi 6980 fi
6133 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6981 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6134 LIBS=$ac_check_lib_save_LIBS 6982 LIBS=$ac_check_lib_save_LIBS
6135 fi 6983 fi
6136 echo "$as_me:6136: result: $ac_cv_lib_Xbsd_main" >&5 6984 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
6137 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 6985 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6138 if test $ac_cv_lib_Xbsd_main = yes; then 6986 if test $ac_cv_lib_Xbsd_main = yes; then
6139 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 6987 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6140 fi 6988 fi
6141 6989
6142 echo "$as_me:6142: checking for cma_open in -lpthreads" >&5 6990
6991
6992 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
6143 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 6993 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6144 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 6994 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6145 echo $ECHO_N "(cached) $ECHO_C" >&6 6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6146 else 6996 else
6147 ac_check_lib_save_LIBS=$LIBS 6997 ac_check_lib_save_LIBS=$LIBS
6148 LIBS="-lpthreads $LIBS" 6998 LIBS="-lpthreads $LIBS"
6149 cat >conftest.$ac_ext <<_ACEOF 6999 cat >conftest.$ac_ext <<_ACEOF
6150 #line 6150 "configure" 7000 #line $LINENO "configure"
6151 #include "confdefs.h" 7001 #include "confdefs.h"
6152 7002
6153 /* Override any gcc2 internal prototype to avoid an error. */ 7003 /* Override any gcc2 internal prototype to avoid an error. */
6154 #ifdef __cplusplus 7004 #ifdef __cplusplus
6155 extern "C" 7005 extern "C"
6156 #endif 7006 #endif
6157 /* We use char because int might match the return type of a gcc2 7007 /* We use char because int might match the return type of a gcc2
6158 builtin and then its argument prototype would still apply. */ 7008 builtin and then its argument prototype would still apply. */
6159 char cma_open (); 7009 char cma_open ();
7010 #ifdef F77_DUMMY_MAIN
7011 # ifdef __cplusplus
7012 extern "C"
7013 # endif
7014 int F77_DUMMY_MAIN() { return 1; }
7015 #endif
6160 int 7016 int
6161 main () 7017 main ()
6162 { 7018 {
6163 cma_open (); 7019 cma_open ();
6164 ; 7020 ;
6165 return 0; 7021 return 0;
6166 } 7022 }
6167 _ACEOF 7023 _ACEOF
6168 rm -f conftest.$ac_objext conftest$ac_exeext 7024 rm -f conftest.$ac_objext conftest$ac_exeext
6169 if { (eval echo "$as_me:6169: \"$ac_link\"") >&5 7025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6170 (eval $ac_link) 2>&5 7026 (eval $ac_link) 2>&5
6171 ac_status=$? 7027 ac_status=$?
6172 echo "$as_me:6172: \$? = $ac_status" >&5 7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); } && 7029 (exit $ac_status); } &&
6174 { ac_try='test -s conftest$ac_exeext' 7030 { ac_try='test -s conftest$ac_exeext'
6175 { (eval echo "$as_me:6175: \"$ac_try\"") >&5 7031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6176 (eval $ac_try) 2>&5 7032 (eval $ac_try) 2>&5
6177 ac_status=$? 7033 ac_status=$?
6178 echo "$as_me:6178: \$? = $ac_status" >&5 7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then 7035 (exit $ac_status); }; }; then
6180 ac_cv_lib_pthreads_cma_open=yes 7036 ac_cv_lib_pthreads_cma_open=yes
6181 else 7037 else
6182 echo "$as_me: failed program was:" >&5 7038 echo "$as_me: failed program was:" >&5
6183 cat conftest.$ac_ext >&5 7039 cat conftest.$ac_ext >&5
6184 ac_cv_lib_pthreads_cma_open=no 7040 ac_cv_lib_pthreads_cma_open=no
6185 fi 7041 fi
6186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6187 LIBS=$ac_check_lib_save_LIBS 7043 LIBS=$ac_check_lib_save_LIBS
6188 fi 7044 fi
6189 echo "$as_me:6189: result: $ac_cv_lib_pthreads_cma_open" >&5 7045 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
6190 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 7046 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6191 if test $ac_cv_lib_pthreads_cma_open = yes; then 7047 if test $ac_cv_lib_pthreads_cma_open = yes; then
6192 cat >>confdefs.h <<EOF 7048 cat >>confdefs.h <<_ACEOF
6193 #define HAVE_LIBPTHREADS 1 7049 #define HAVE_LIBPTHREADS 1
6194 EOF 7050 _ACEOF
6195 7051
6196 LIBS="-lpthreads $LIBS" 7052 LIBS="-lpthreads $LIBS"
6197 7053
6198 fi 7054 fi
6199 7055
6200 echo "$as_me:6200: checking for XFree86 in /usr/X386" >&5 7056
7057 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
6201 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 7058 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6202 if test -d /usr/X386/include; then 7059 if test -d /usr/X386/include; then
6203 HAVE_XFREE386=yes 7060 HAVE_XFREE386=yes
6204 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 7061 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
6205 else 7062 else
6206 HAVE_XFREE386=no 7063 HAVE_XFREE386=no
6207 fi 7064 fi
6208 echo "$as_me:6208: result: $HAVE_XFREE386" >&5 7065 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
6209 echo "${ECHO_T}$HAVE_XFREE386" >&6 7066 echo "${ECHO_T}$HAVE_XFREE386" >&6
6210 7067
6211 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets 7068 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
6212 # used for the tests that follow. We set them back to REAL_CFLAGS and 7069 # used for the tests that follow. We set them back to REAL_CFLAGS and
6213 # REAL_CPPFLAGS later on. 7070 # REAL_CPPFLAGS later on.
6229 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 7086 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
6230 export LD_RUN_PATH 7087 export LD_RUN_PATH
6231 fi 7088 fi
6232 7089
6233 if test "${opsys}" = "gnu-linux"; then 7090 if test "${opsys}" = "gnu-linux"; then
6234 echo "$as_me:6234: checking whether X on GNU/Linux needs -b to link" >&5 7091 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
6235 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 7092 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6236 cat >conftest.$ac_ext <<_ACEOF 7093 cat >conftest.$ac_ext <<_ACEOF
6237 #line 6237 "configure" 7094 #line $LINENO "configure"
6238 #include "confdefs.h" 7095 #include "confdefs.h"
6239 7096
7097 #ifdef F77_DUMMY_MAIN
7098 # ifdef __cplusplus
7099 extern "C"
7100 # endif
7101 int F77_DUMMY_MAIN() { return 1; }
7102 #endif
6240 int 7103 int
6241 main () 7104 main ()
6242 { 7105 {
6243 XOpenDisplay ("foo"); 7106 XOpenDisplay ("foo");
6244 ; 7107 ;
6245 return 0; 7108 return 0;
6246 } 7109 }
6247 _ACEOF 7110 _ACEOF
6248 rm -f conftest.$ac_objext conftest$ac_exeext 7111 rm -f conftest.$ac_objext conftest$ac_exeext
6249 if { (eval echo "$as_me:6249: \"$ac_link\"") >&5 7112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6250 (eval $ac_link) 2>&5 7113 (eval $ac_link) 2>&5
6251 ac_status=$? 7114 ac_status=$?
6252 echo "$as_me:6252: \$? = $ac_status" >&5 7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } && 7116 (exit $ac_status); } &&
6254 { ac_try='test -s conftest$ac_exeext' 7117 { ac_try='test -s conftest$ac_exeext'
6255 { (eval echo "$as_me:6255: \"$ac_try\"") >&5 7118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6256 (eval $ac_try) 2>&5 7119 (eval $ac_try) 2>&5
6257 ac_status=$? 7120 ac_status=$?
6258 echo "$as_me:6258: \$? = $ac_status" >&5 7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259 (exit $ac_status); }; }; then 7122 (exit $ac_status); }; }; then
6260 xlinux_first_failure=no 7123 xlinux_first_failure=no
6261 else 7124 else
6262 echo "$as_me: failed program was:" >&5 7125 echo "$as_me: failed program was:" >&5
6263 cat conftest.$ac_ext >&5 7126 cat conftest.$ac_ext >&5
6272 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" 7135 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
6273 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 7136 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
6274 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 7137 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6275 LIBS="$LIBS -b i486-linuxaout" 7138 LIBS="$LIBS -b i486-linuxaout"
6276 cat >conftest.$ac_ext <<_ACEOF 7139 cat >conftest.$ac_ext <<_ACEOF
6277 #line 6277 "configure" 7140 #line $LINENO "configure"
6278 #include "confdefs.h" 7141 #include "confdefs.h"
6279 7142
7143 #ifdef F77_DUMMY_MAIN
7144 # ifdef __cplusplus
7145 extern "C"
7146 # endif
7147 int F77_DUMMY_MAIN() { return 1; }
7148 #endif
6280 int 7149 int
6281 main () 7150 main ()
6282 { 7151 {
6283 XOpenDisplay ("foo"); 7152 XOpenDisplay ("foo");
6284 ; 7153 ;
6285 return 0; 7154 return 0;
6286 } 7155 }
6287 _ACEOF 7156 _ACEOF
6288 rm -f conftest.$ac_objext conftest$ac_exeext 7157 rm -f conftest.$ac_objext conftest$ac_exeext
6289 if { (eval echo "$as_me:6289: \"$ac_link\"") >&5 7158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6290 (eval $ac_link) 2>&5 7159 (eval $ac_link) 2>&5
6291 ac_status=$? 7160 ac_status=$?
6292 echo "$as_me:6292: \$? = $ac_status" >&5 7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } && 7162 (exit $ac_status); } &&
6294 { ac_try='test -s conftest$ac_exeext' 7163 { ac_try='test -s conftest$ac_exeext'
6295 { (eval echo "$as_me:6295: \"$ac_try\"") >&5 7164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296 (eval $ac_try) 2>&5 7165 (eval $ac_try) 2>&5
6297 ac_status=$? 7166 ac_status=$?
6298 echo "$as_me:6298: \$? = $ac_status" >&5 7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; }; then 7168 (exit $ac_status); }; }; then
6300 xlinux_second_failure=no 7169 xlinux_second_failure=no
6301 else 7170 else
6302 echo "$as_me: failed program was:" >&5 7171 echo "$as_me: failed program was:" >&5
6303 cat conftest.$ac_ext >&5 7172 cat conftest.$ac_ext >&5
6309 # So take it out. This plays safe. 7178 # So take it out. This plays safe.
6310 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 7179 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
6311 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 7180 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6312 CPPFLAGS="$OLD_CPPFLAGS" 7181 CPPFLAGS="$OLD_CPPFLAGS"
6313 LIBS="$OLD_LIBS" 7182 LIBS="$OLD_LIBS"
6314 echo "$as_me:6314: result: no" >&5 7183 echo "$as_me:$LINENO: result: no" >&5
6315 echo "${ECHO_T}no" >&6 7184 echo "${ECHO_T}no" >&6
6316 else 7185 else
6317 echo "$as_me:6317: result: yes" >&5 7186 echo "$as_me:$LINENO: result: yes" >&5
6318 echo "${ECHO_T}yes" >&6 7187 echo "${ECHO_T}yes" >&6
6319 fi 7188 fi
6320 else 7189 else
6321 echo "$as_me:6321: result: no" >&5 7190 echo "$as_me:$LINENO: result: no" >&5
6322 echo "${ECHO_T}no" >&6 7191 echo "${ECHO_T}no" >&6
6323 fi 7192 fi
6324 fi 7193 fi
6325 7194
6326 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 7195 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6327 # header files included from there. 7196 # header files included from there.
6328 echo "$as_me:6328: checking for Xkb" >&5 7197 echo "$as_me:$LINENO: checking for Xkb" >&5
6329 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 7198 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6330 cat >conftest.$ac_ext <<_ACEOF 7199 cat >conftest.$ac_ext <<_ACEOF
6331 #line 6331 "configure" 7200 #line $LINENO "configure"
6332 #include "confdefs.h" 7201 #include "confdefs.h"
6333 #include <X11/Xlib.h> 7202 #include <X11/Xlib.h>
6334 #include <X11/XKBlib.h> 7203 #include <X11/XKBlib.h>
7204 #ifdef F77_DUMMY_MAIN
7205 # ifdef __cplusplus
7206 extern "C"
7207 # endif
7208 int F77_DUMMY_MAIN() { return 1; }
7209 #endif
6335 int 7210 int
6336 main () 7211 main ()
6337 { 7212 {
6338 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); 7213 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
6339 ; 7214 ;
6340 return 0; 7215 return 0;
6341 } 7216 }
6342 _ACEOF 7217 _ACEOF
6343 rm -f conftest.$ac_objext conftest$ac_exeext 7218 rm -f conftest.$ac_objext conftest$ac_exeext
6344 if { (eval echo "$as_me:6344: \"$ac_link\"") >&5 7219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6345 (eval $ac_link) 2>&5 7220 (eval $ac_link) 2>&5
6346 ac_status=$? 7221 ac_status=$?
6347 echo "$as_me:6347: \$? = $ac_status" >&5 7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); } && 7223 (exit $ac_status); } &&
6349 { ac_try='test -s conftest$ac_exeext' 7224 { ac_try='test -s conftest$ac_exeext'
6350 { (eval echo "$as_me:6350: \"$ac_try\"") >&5 7225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6351 (eval $ac_try) 2>&5 7226 (eval $ac_try) 2>&5
6352 ac_status=$? 7227 ac_status=$?
6353 echo "$as_me:6353: \$? = $ac_status" >&5 7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); }; }; then 7229 (exit $ac_status); }; }; then
6355 emacs_xkb=yes 7230 emacs_xkb=yes
6356 else 7231 else
6357 echo "$as_me: failed program was:" >&5 7232 echo "$as_me: failed program was:" >&5
6358 cat conftest.$ac_ext >&5 7233 cat conftest.$ac_ext >&5
6359 emacs_xkb=no 7234 emacs_xkb=no
6360 fi 7235 fi
6361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6362 echo "$as_me:6362: result: $emacs_xkb" >&5 7237 echo "$as_me:$LINENO: result: $emacs_xkb" >&5
6363 echo "${ECHO_T}$emacs_xkb" >&6 7238 echo "${ECHO_T}$emacs_xkb" >&6
6364 if test $emacs_xkb = yes; then 7239 if test $emacs_xkb = yes; then
6365 7240
6366 cat >>confdefs.h <<\EOF 7241 cat >>confdefs.h <<\_ACEOF
6367 #define HAVE_XKBGETKEYBOARD 1 7242 #define HAVE_XKBGETKEYBOARD 1
6368 EOF 7243 _ACEOF
6369 7244
6370 fi 7245 fi
7246
7247
7248
7249
6371 7250
6372 for ac_func in XrmSetDatabase XScreenResourceString \ 7251 for ac_func in XrmSetDatabase XScreenResourceString \
6373 XScreenNumberOfScreen XSetWMProtocols 7252 XScreenNumberOfScreen XSetWMProtocols
6374 do 7253 do
6375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6376 echo "$as_me:6376: checking for $ac_func" >&5 7255 echo "$as_me:$LINENO: checking for $ac_func" >&5
6377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6378 if eval "test \"\${$as_ac_var+set}\" = set"; then 7257 if eval "test \"\${$as_ac_var+set}\" = set"; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6 7258 echo $ECHO_N "(cached) $ECHO_C" >&6
6380 else 7259 else
6381 cat >conftest.$ac_ext <<_ACEOF 7260 cat >conftest.$ac_ext <<_ACEOF
6382 #line 6382 "configure" 7261 #line $LINENO "configure"
6383 #include "confdefs.h" 7262 #include "confdefs.h"
6384 /* System header to define __stub macros and hopefully few prototypes, 7263 /* System header to define __stub macros and hopefully few prototypes,
6385 which can conflict with char $ac_func (); below. */ 7264 which can conflict with char $ac_func (); below. */
6386 #include <assert.h> 7265 #include <assert.h>
6387 /* Override any gcc2 internal prototype to avoid an error. */ 7266 /* Override any gcc2 internal prototype to avoid an error. */
6391 /* We use char because int might match the return type of a gcc2 7270 /* We use char because int might match the return type of a gcc2
6392 builtin and then its argument prototype would still apply. */ 7271 builtin and then its argument prototype would still apply. */
6393 char $ac_func (); 7272 char $ac_func ();
6394 char (*f) (); 7273 char (*f) ();
6395 7274
7275 #ifdef F77_DUMMY_MAIN
7276 # ifdef __cplusplus
7277 extern "C"
7278 # endif
7279 int F77_DUMMY_MAIN() { return 1; }
7280 #endif
6396 int 7281 int
6397 main () 7282 main ()
6398 { 7283 {
6399 /* The GNU C library defines this for functions which it implements 7284 /* The GNU C library defines this for functions which it implements
6400 to always fail with ENOSYS. Some functions are actually named 7285 to always fail with ENOSYS. Some functions are actually named
6408 ; 7293 ;
6409 return 0; 7294 return 0;
6410 } 7295 }
6411 _ACEOF 7296 _ACEOF
6412 rm -f conftest.$ac_objext conftest$ac_exeext 7297 rm -f conftest.$ac_objext conftest$ac_exeext
6413 if { (eval echo "$as_me:6413: \"$ac_link\"") >&5 7298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6414 (eval $ac_link) 2>&5 7299 (eval $ac_link) 2>&5
6415 ac_status=$? 7300 ac_status=$?
6416 echo "$as_me:6416: \$? = $ac_status" >&5 7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); } && 7302 (exit $ac_status); } &&
6418 { ac_try='test -s conftest$ac_exeext' 7303 { ac_try='test -s conftest$ac_exeext'
6419 { (eval echo "$as_me:6419: \"$ac_try\"") >&5 7304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6420 (eval $ac_try) 2>&5 7305 (eval $ac_try) 2>&5
6421 ac_status=$? 7306 ac_status=$?
6422 echo "$as_me:6422: \$? = $ac_status" >&5 7307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; }; then 7308 (exit $ac_status); }; }; then
6424 eval "$as_ac_var=yes" 7309 eval "$as_ac_var=yes"
6425 else 7310 else
6426 echo "$as_me: failed program was:" >&5 7311 echo "$as_me: failed program was:" >&5
6427 cat conftest.$ac_ext >&5 7312 cat conftest.$ac_ext >&5
6428 eval "$as_ac_var=no" 7313 eval "$as_ac_var=no"
6429 fi 7314 fi
6430 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6431 fi 7316 fi
6432 echo "$as_me:6432: result: `eval echo '${'$as_ac_var'}'`" >&5 7317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6434 if test `eval echo '${'$as_ac_var'}'` = yes; then 7319 if test `eval echo '${'$as_ac_var'}'` = yes; then
6435 cat >>confdefs.h <<EOF 7320 cat >>confdefs.h <<_ACEOF
6436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6437 EOF 7322 _ACEOF
6438 7323
6439 fi 7324 fi
6440 done 7325 done
6441 7326
6442 fi 7327 fi
6443 7328
6444 if test "${window_system}" = "x11"; then 7329 if test "${window_system}" = "x11"; then
6445 echo "$as_me:6445: checking X11 version 6" >&5 7330 echo "$as_me:$LINENO: checking X11 version 6" >&5
6446 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 7331 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6447 if test "${emacs_cv_x11_version_6+set}" = set; then 7332 if test "${emacs_cv_x11_version_6+set}" = set; then
6448 echo $ECHO_N "(cached) $ECHO_C" >&6 7333 echo $ECHO_N "(cached) $ECHO_C" >&6
6449 else 7334 else
6450 cat >conftest.$ac_ext <<_ACEOF 7335 cat >conftest.$ac_ext <<_ACEOF
6451 #line 6451 "configure" 7336 #line $LINENO "configure"
6452 #include "confdefs.h" 7337 #include "confdefs.h"
6453 #include <X11/Xlib.h> 7338 #include <X11/Xlib.h>
7339 #ifdef F77_DUMMY_MAIN
7340 # ifdef __cplusplus
7341 extern "C"
7342 # endif
7343 int F77_DUMMY_MAIN() { return 1; }
7344 #endif
6454 int 7345 int
6455 main () 7346 main ()
6456 { 7347 {
6457 #if XlibSpecificationRelease < 6 7348 #if XlibSpecificationRelease < 6
6458 fail; 7349 fail;
6461 ; 7352 ;
6462 return 0; 7353 return 0;
6463 } 7354 }
6464 _ACEOF 7355 _ACEOF
6465 rm -f conftest.$ac_objext conftest$ac_exeext 7356 rm -f conftest.$ac_objext conftest$ac_exeext
6466 if { (eval echo "$as_me:6466: \"$ac_link\"") >&5 7357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6467 (eval $ac_link) 2>&5 7358 (eval $ac_link) 2>&5
6468 ac_status=$? 7359 ac_status=$?
6469 echo "$as_me:6469: \$? = $ac_status" >&5 7360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); } && 7361 (exit $ac_status); } &&
6471 { ac_try='test -s conftest$ac_exeext' 7362 { ac_try='test -s conftest$ac_exeext'
6472 { (eval echo "$as_me:6472: \"$ac_try\"") >&5 7363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 (eval $ac_try) 2>&5 7364 (eval $ac_try) 2>&5
6474 ac_status=$? 7365 ac_status=$?
6475 echo "$as_me:6475: \$? = $ac_status" >&5 7366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; }; then 7367 (exit $ac_status); }; }; then
6477 emacs_cv_x11_version_6=yes 7368 emacs_cv_x11_version_6=yes
6478 else 7369 else
6479 echo "$as_me: failed program was:" >&5 7370 echo "$as_me: failed program was:" >&5
6480 cat conftest.$ac_ext >&5 7371 cat conftest.$ac_ext >&5
6482 fi 7373 fi
6483 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6484 fi 7375 fi
6485 7376
6486 if test $emacs_cv_x11_version_6 = yes; then 7377 if test $emacs_cv_x11_version_6 = yes; then
6487 echo "$as_me:6487: result: 6 or newer" >&5 7378 echo "$as_me:$LINENO: result: 6 or newer" >&5
6488 echo "${ECHO_T}6 or newer" >&6 7379 echo "${ECHO_T}6 or newer" >&6
6489 7380
6490 cat >>confdefs.h <<\EOF 7381 cat >>confdefs.h <<\_ACEOF
6491 #define HAVE_X11R6 1 7382 #define HAVE_X11R6 1
6492 EOF 7383 _ACEOF
6493 7384
6494 else 7385 else
6495 echo "$as_me:6495: result: before 6" >&5 7386 echo "$as_me:$LINENO: result: before 6" >&5
6496 echo "${ECHO_T}before 6" >&6 7387 echo "${ECHO_T}before 6" >&6
6497 fi 7388 fi
6498 fi 7389 fi
6499 7390
6500 if test "${window_system}" = "x11"; then 7391 if test "${window_system}" = "x11"; then
6501 echo "$as_me:6501: checking X11 version 5" >&5 7392 echo "$as_me:$LINENO: checking X11 version 5" >&5
6502 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 7393 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6503 if test "${emacs_cv_x11_version_5+set}" = set; then 7394 if test "${emacs_cv_x11_version_5+set}" = set; then
6504 echo $ECHO_N "(cached) $ECHO_C" >&6 7395 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 else 7396 else
6506 cat >conftest.$ac_ext <<_ACEOF 7397 cat >conftest.$ac_ext <<_ACEOF
6507 #line 6507 "configure" 7398 #line $LINENO "configure"
6508 #include "confdefs.h" 7399 #include "confdefs.h"
6509 #include <X11/Xlib.h> 7400 #include <X11/Xlib.h>
7401 #ifdef F77_DUMMY_MAIN
7402 # ifdef __cplusplus
7403 extern "C"
7404 # endif
7405 int F77_DUMMY_MAIN() { return 1; }
7406 #endif
6510 int 7407 int
6511 main () 7408 main ()
6512 { 7409 {
6513 #if XlibSpecificationRelease < 5 7410 #if XlibSpecificationRelease < 5
6514 fail; 7411 fail;
6517 ; 7414 ;
6518 return 0; 7415 return 0;
6519 } 7416 }
6520 _ACEOF 7417 _ACEOF
6521 rm -f conftest.$ac_objext conftest$ac_exeext 7418 rm -f conftest.$ac_objext conftest$ac_exeext
6522 if { (eval echo "$as_me:6522: \"$ac_link\"") >&5 7419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6523 (eval $ac_link) 2>&5 7420 (eval $ac_link) 2>&5
6524 ac_status=$? 7421 ac_status=$?
6525 echo "$as_me:6525: \$? = $ac_status" >&5 7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); } && 7423 (exit $ac_status); } &&
6527 { ac_try='test -s conftest$ac_exeext' 7424 { ac_try='test -s conftest$ac_exeext'
6528 { (eval echo "$as_me:6528: \"$ac_try\"") >&5 7425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 (eval $ac_try) 2>&5 7426 (eval $ac_try) 2>&5
6530 ac_status=$? 7427 ac_status=$?
6531 echo "$as_me:6531: \$? = $ac_status" >&5 7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }; }; then 7429 (exit $ac_status); }; }; then
6533 emacs_cv_x11_version_5=yes 7430 emacs_cv_x11_version_5=yes
6534 else 7431 else
6535 echo "$as_me: failed program was:" >&5 7432 echo "$as_me: failed program was:" >&5
6536 cat conftest.$ac_ext >&5 7433 cat conftest.$ac_ext >&5
6538 fi 7435 fi
6539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7436 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6540 fi 7437 fi
6541 7438
6542 if test $emacs_cv_x11_version_5 = yes; then 7439 if test $emacs_cv_x11_version_5 = yes; then
6543 echo "$as_me:6543: result: 5 or newer" >&5 7440 echo "$as_me:$LINENO: result: 5 or newer" >&5
6544 echo "${ECHO_T}5 or newer" >&6 7441 echo "${ECHO_T}5 or newer" >&6
6545 HAVE_X11R5=yes 7442 HAVE_X11R5=yes
6546 7443
6547 cat >>confdefs.h <<\EOF 7444 cat >>confdefs.h <<\_ACEOF
6548 #define HAVE_X11R5 1 7445 #define HAVE_X11R5 1
6549 EOF 7446 _ACEOF
6550 7447
6551 else 7448 else
6552 HAVE_X11R5=no 7449 HAVE_X11R5=no
6553 echo "$as_me:6553: result: before 5" >&5 7450 echo "$as_me:$LINENO: result: before 5" >&5
6554 echo "${ECHO_T}before 5" >&6 7451 echo "${ECHO_T}before 5" >&6
6555 fi 7452 fi
6556 fi 7453 fi
6557 7454
6558 if test x"${USE_X_TOOLKIT}" = xmaybe; then 7455 if test x"${USE_X_TOOLKIT}" = xmaybe; then
6559 if test x"${HAVE_X11R5}" = xyes; then 7456 if test x"${HAVE_X11R5}" = xyes; then
6560 echo "$as_me:6560: checking X11 version 5 with Xaw" >&5 7457 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
6561 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 7458 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6562 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 7459 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6563 echo $ECHO_N "(cached) $ECHO_C" >&6 7460 echo $ECHO_N "(cached) $ECHO_C" >&6
6564 else 7461 else
6565 cat >conftest.$ac_ext <<_ACEOF 7462 cat >conftest.$ac_ext <<_ACEOF
6566 #line 6566 "configure" 7463 #line $LINENO "configure"
6567 #include "confdefs.h" 7464 #include "confdefs.h"
6568 7465
6569 #include <X11/Intrinsic.h> 7466 #include <X11/Intrinsic.h>
6570 #include <X11/Xaw/Simple.h> 7467 #include <X11/Xaw/Simple.h>
7468 #ifdef F77_DUMMY_MAIN
7469 # ifdef __cplusplus
7470 extern "C"
7471 # endif
7472 int F77_DUMMY_MAIN() { return 1; }
7473 #endif
6571 int 7474 int
6572 main () 7475 main ()
6573 { 7476 {
6574 7477
6575 ; 7478 ;
6576 return 0; 7479 return 0;
6577 } 7480 }
6578 _ACEOF 7481 _ACEOF
6579 rm -f conftest.$ac_objext conftest$ac_exeext 7482 rm -f conftest.$ac_objext conftest$ac_exeext
6580 if { (eval echo "$as_me:6580: \"$ac_link\"") >&5 7483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6581 (eval $ac_link) 2>&5 7484 (eval $ac_link) 2>&5
6582 ac_status=$? 7485 ac_status=$?
6583 echo "$as_me:6583: \$? = $ac_status" >&5 7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); } && 7487 (exit $ac_status); } &&
6585 { ac_try='test -s conftest$ac_exeext' 7488 { ac_try='test -s conftest$ac_exeext'
6586 { (eval echo "$as_me:6586: \"$ac_try\"") >&5 7489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6587 (eval $ac_try) 2>&5 7490 (eval $ac_try) 2>&5
6588 ac_status=$? 7491 ac_status=$?
6589 echo "$as_me:6589: \$? = $ac_status" >&5 7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); }; }; then 7493 (exit $ac_status); }; }; then
6591 emacs_cv_x11_version_5_with_xaw=yes 7494 emacs_cv_x11_version_5_with_xaw=yes
6592 else 7495 else
6593 echo "$as_me: failed program was:" >&5 7496 echo "$as_me: failed program was:" >&5
6594 cat conftest.$ac_ext >&5 7497 cat conftest.$ac_ext >&5
6596 fi 7499 fi
6597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7500 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6598 fi 7501 fi
6599 7502
6600 if test $emacs_cv_x11_version_5_with_xaw = yes; then 7503 if test $emacs_cv_x11_version_5_with_xaw = yes; then
6601 echo "$as_me:6601: result: 5 or newer, with Xaw; use toolkit by default" >&5 7504 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
6602 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 7505 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6603 USE_X_TOOLKIT=LUCID 7506 USE_X_TOOLKIT=LUCID
6604 else 7507 else
6605 echo "$as_me:6605: result: before 5 or no Xaw; do not use toolkit by default" >&5 7508 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
6606 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 7509 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6607 USE_X_TOOLKIT=none 7510 USE_X_TOOLKIT=none
6608 fi 7511 fi
6609 else 7512 else
6610 USE_X_TOOLKIT=none 7513 USE_X_TOOLKIT=none
6612 fi 7515 fi
6613 7516
6614 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 7517 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6615 7518
6616 if test "${USE_X_TOOLKIT}" != "none"; then 7519 if test "${USE_X_TOOLKIT}" != "none"; then
6617 echo "$as_me:6617: checking X11 toolkit version" >&5 7520 echo "$as_me:$LINENO: checking X11 toolkit version" >&5
6618 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 7521 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6619 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 7522 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6620 echo $ECHO_N "(cached) $ECHO_C" >&6 7523 echo $ECHO_N "(cached) $ECHO_C" >&6
6621 else 7524 else
6622 cat >conftest.$ac_ext <<_ACEOF 7525 cat >conftest.$ac_ext <<_ACEOF
6623 #line 6623 "configure" 7526 #line $LINENO "configure"
6624 #include "confdefs.h" 7527 #include "confdefs.h"
6625 #include <X11/Intrinsic.h> 7528 #include <X11/Intrinsic.h>
7529 #ifdef F77_DUMMY_MAIN
7530 # ifdef __cplusplus
7531 extern "C"
7532 # endif
7533 int F77_DUMMY_MAIN() { return 1; }
7534 #endif
6626 int 7535 int
6627 main () 7536 main ()
6628 { 7537 {
6629 #if XtSpecificationRelease < 6 7538 #if XtSpecificationRelease < 6
6630 fail; 7539 fail;
6633 ; 7542 ;
6634 return 0; 7543 return 0;
6635 } 7544 }
6636 _ACEOF 7545 _ACEOF
6637 rm -f conftest.$ac_objext conftest$ac_exeext 7546 rm -f conftest.$ac_objext conftest$ac_exeext
6638 if { (eval echo "$as_me:6638: \"$ac_link\"") >&5 7547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6639 (eval $ac_link) 2>&5 7548 (eval $ac_link) 2>&5
6640 ac_status=$? 7549 ac_status=$?
6641 echo "$as_me:6641: \$? = $ac_status" >&5 7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); } && 7551 (exit $ac_status); } &&
6643 { ac_try='test -s conftest$ac_exeext' 7552 { ac_try='test -s conftest$ac_exeext'
6644 { (eval echo "$as_me:6644: \"$ac_try\"") >&5 7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6645 (eval $ac_try) 2>&5 7554 (eval $ac_try) 2>&5
6646 ac_status=$? 7555 ac_status=$?
6647 echo "$as_me:6647: \$? = $ac_status" >&5 7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }; then 7557 (exit $ac_status); }; }; then
6649 emacs_cv_x11_toolkit_version_6=yes 7558 emacs_cv_x11_toolkit_version_6=yes
6650 else 7559 else
6651 echo "$as_me: failed program was:" >&5 7560 echo "$as_me: failed program was:" >&5
6652 cat conftest.$ac_ext >&5 7561 cat conftest.$ac_ext >&5
6655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6656 fi 7565 fi
6657 7566
6658 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 7567 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6659 if test $emacs_cv_x11_toolkit_version_6 = yes; then 7568 if test $emacs_cv_x11_toolkit_version_6 = yes; then
6660 echo "$as_me:6660: result: 6 or newer" >&5 7569 echo "$as_me:$LINENO: result: 6 or newer" >&5
6661 echo "${ECHO_T}6 or newer" >&6 7570 echo "${ECHO_T}6 or newer" >&6
6662 7571
6663 cat >>confdefs.h <<\EOF 7572 cat >>confdefs.h <<\_ACEOF
6664 #define HAVE_X11XTR6 1 7573 #define HAVE_X11XTR6 1
6665 EOF 7574 _ACEOF
6666 7575
6667 else 7576 else
6668 echo "$as_me:6668: result: before 6" >&5 7577 echo "$as_me:$LINENO: result: before 6" >&5
6669 echo "${ECHO_T}before 6" >&6 7578 echo "${ECHO_T}before 6" >&6
6670 fi 7579 fi
6671 7580
6672 OLDLIBS="$LIBS" 7581 OLDLIBS="$LIBS"
6673 if test x$HAVE_X11XTR6 = xyes; then 7582 if test x$HAVE_X11XTR6 = xyes; then
6674 LIBS="-lXt -lSM -lICE $LIBS" 7583 LIBS="-lXt -lSM -lICE $LIBS"
6675 else 7584 else
6676 LIBS="-lXt $LIBS" 7585 LIBS="-lXt $LIBS"
6677 fi 7586 fi
6678 7587
6679 echo "$as_me:6679: checking for XmuConvertStandardSelection in -lXmu" >&5 7588 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
6680 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 7589 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6681 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 7590 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6682 echo $ECHO_N "(cached) $ECHO_C" >&6 7591 echo $ECHO_N "(cached) $ECHO_C" >&6
6683 else 7592 else
6684 ac_check_lib_save_LIBS=$LIBS 7593 ac_check_lib_save_LIBS=$LIBS
6685 LIBS="-lXmu $LIBS" 7594 LIBS="-lXmu $LIBS"
6686 cat >conftest.$ac_ext <<_ACEOF 7595 cat >conftest.$ac_ext <<_ACEOF
6687 #line 6687 "configure" 7596 #line $LINENO "configure"
6688 #include "confdefs.h" 7597 #include "confdefs.h"
6689 7598
6690 /* Override any gcc2 internal prototype to avoid an error. */ 7599 /* Override any gcc2 internal prototype to avoid an error. */
6691 #ifdef __cplusplus 7600 #ifdef __cplusplus
6692 extern "C" 7601 extern "C"
6693 #endif 7602 #endif
6694 /* We use char because int might match the return type of a gcc2 7603 /* We use char because int might match the return type of a gcc2
6695 builtin and then its argument prototype would still apply. */ 7604 builtin and then its argument prototype would still apply. */
6696 char XmuConvertStandardSelection (); 7605 char XmuConvertStandardSelection ();
7606 #ifdef F77_DUMMY_MAIN
7607 # ifdef __cplusplus
7608 extern "C"
7609 # endif
7610 int F77_DUMMY_MAIN() { return 1; }
7611 #endif
6697 int 7612 int
6698 main () 7613 main ()
6699 { 7614 {
6700 XmuConvertStandardSelection (); 7615 XmuConvertStandardSelection ();
6701 ; 7616 ;
6702 return 0; 7617 return 0;
6703 } 7618 }
6704 _ACEOF 7619 _ACEOF
6705 rm -f conftest.$ac_objext conftest$ac_exeext 7620 rm -f conftest.$ac_objext conftest$ac_exeext
6706 if { (eval echo "$as_me:6706: \"$ac_link\"") >&5 7621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6707 (eval $ac_link) 2>&5 7622 (eval $ac_link) 2>&5
6708 ac_status=$? 7623 ac_status=$?
6709 echo "$as_me:6709: \$? = $ac_status" >&5 7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } && 7625 (exit $ac_status); } &&
6711 { ac_try='test -s conftest$ac_exeext' 7626 { ac_try='test -s conftest$ac_exeext'
6712 { (eval echo "$as_me:6712: \"$ac_try\"") >&5 7627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6713 (eval $ac_try) 2>&5 7628 (eval $ac_try) 2>&5
6714 ac_status=$? 7629 ac_status=$?
6715 echo "$as_me:6715: \$? = $ac_status" >&5 7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); }; }; then 7631 (exit $ac_status); }; }; then
6717 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 7632 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6718 else 7633 else
6719 echo "$as_me: failed program was:" >&5 7634 echo "$as_me: failed program was:" >&5
6720 cat conftest.$ac_ext >&5 7635 cat conftest.$ac_ext >&5
6721 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 7636 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
6722 fi 7637 fi
6723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6724 LIBS=$ac_check_lib_save_LIBS 7639 LIBS=$ac_check_lib_save_LIBS
6725 fi 7640 fi
6726 echo "$as_me:6726: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 7641 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6727 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 7642 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6728 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 7643 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6729 cat >>confdefs.h <<EOF 7644 cat >>confdefs.h <<_ACEOF
6730 #define HAVE_LIBXMU 1 7645 #define HAVE_LIBXMU 1
6731 EOF 7646 _ACEOF
6732 7647
6733 LIBS="-lXmu $LIBS" 7648 LIBS="-lXmu $LIBS"
6734 7649
6735 fi 7650 fi
6736 7651
6739 7654
6740 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 7655 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
6741 if test "${HAVE_X11}" = "yes"; then 7656 if test "${HAVE_X11}" = "yes"; then
6742 if test "${USE_X_TOOLKIT}" != "none"; then 7657 if test "${USE_X_TOOLKIT}" != "none"; then
6743 7658
6744 echo "$as_me:6744: checking for XShapeQueryExtension in -lXext" >&5 7659 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6745 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 7660 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6746 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 7661 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6747 echo $ECHO_N "(cached) $ECHO_C" >&6 7662 echo $ECHO_N "(cached) $ECHO_C" >&6
6748 else 7663 else
6749 ac_check_lib_save_LIBS=$LIBS 7664 ac_check_lib_save_LIBS=$LIBS
6750 LIBS="-lXext $LIBS" 7665 LIBS="-lXext $LIBS"
6751 cat >conftest.$ac_ext <<_ACEOF 7666 cat >conftest.$ac_ext <<_ACEOF
6752 #line 6752 "configure" 7667 #line $LINENO "configure"
6753 #include "confdefs.h" 7668 #include "confdefs.h"
6754 7669
6755 /* Override any gcc2 internal prototype to avoid an error. */ 7670 /* Override any gcc2 internal prototype to avoid an error. */
6756 #ifdef __cplusplus 7671 #ifdef __cplusplus
6757 extern "C" 7672 extern "C"
6758 #endif 7673 #endif
6759 /* We use char because int might match the return type of a gcc2 7674 /* We use char because int might match the return type of a gcc2
6760 builtin and then its argument prototype would still apply. */ 7675 builtin and then its argument prototype would still apply. */
6761 char XShapeQueryExtension (); 7676 char XShapeQueryExtension ();
7677 #ifdef F77_DUMMY_MAIN
7678 # ifdef __cplusplus
7679 extern "C"
7680 # endif
7681 int F77_DUMMY_MAIN() { return 1; }
7682 #endif
6762 int 7683 int
6763 main () 7684 main ()
6764 { 7685 {
6765 XShapeQueryExtension (); 7686 XShapeQueryExtension ();
6766 ; 7687 ;
6767 return 0; 7688 return 0;
6768 } 7689 }
6769 _ACEOF 7690 _ACEOF
6770 rm -f conftest.$ac_objext conftest$ac_exeext 7691 rm -f conftest.$ac_objext conftest$ac_exeext
6771 if { (eval echo "$as_me:6771: \"$ac_link\"") >&5 7692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6772 (eval $ac_link) 2>&5 7693 (eval $ac_link) 2>&5
6773 ac_status=$? 7694 ac_status=$?
6774 echo "$as_me:6774: \$? = $ac_status" >&5 7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); } && 7696 (exit $ac_status); } &&
6776 { ac_try='test -s conftest$ac_exeext' 7697 { ac_try='test -s conftest$ac_exeext'
6777 { (eval echo "$as_me:6777: \"$ac_try\"") >&5 7698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 (eval $ac_try) 2>&5 7699 (eval $ac_try) 2>&5
6779 ac_status=$? 7700 ac_status=$?
6780 echo "$as_me:6780: \$? = $ac_status" >&5 7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; }; then 7702 (exit $ac_status); }; }; then
6782 ac_cv_lib_Xext_XShapeQueryExtension=yes 7703 ac_cv_lib_Xext_XShapeQueryExtension=yes
6783 else 7704 else
6784 echo "$as_me: failed program was:" >&5 7705 echo "$as_me: failed program was:" >&5
6785 cat conftest.$ac_ext >&5 7706 cat conftest.$ac_ext >&5
6786 ac_cv_lib_Xext_XShapeQueryExtension=no 7707 ac_cv_lib_Xext_XShapeQueryExtension=no
6787 fi 7708 fi
6788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7709 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6789 LIBS=$ac_check_lib_save_LIBS 7710 LIBS=$ac_check_lib_save_LIBS
6790 fi 7711 fi
6791 echo "$as_me:6791: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 7712 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6792 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 7713 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6793 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 7714 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6794 cat >>confdefs.h <<EOF 7715 cat >>confdefs.h <<_ACEOF
6795 #define HAVE_LIBXEXT 1 7716 #define HAVE_LIBXEXT 1
6796 EOF 7717 _ACEOF
6797 7718
6798 LIBS="-lXext $LIBS" 7719 LIBS="-lXext $LIBS"
6799 7720
6800 fi 7721 fi
6801 7722
6802 fi 7723 fi
6803 fi 7724 fi
6804 7725
6805 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 7726 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6806 echo "$as_me:6806: checking for LessTif where some systems put it" >&5 7727 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
6807 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6 7728 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
6808 if test "${emacs_cv_lesstif+set}" = set; then 7729 if test "${emacs_cv_lesstif+set}" = set; then
6809 echo $ECHO_N "(cached) $ECHO_C" >&6 7730 echo $ECHO_N "(cached) $ECHO_C" >&6
6810 else 7731 else
6811 # We put this in CFLAGS temporarily to precede other -I options 7732 # We put this in CFLAGS temporarily to precede other -I options
6814 OLD_CPPFLAGS=$CPPFLAGS 7735 OLD_CPPFLAGS=$CPPFLAGS
6815 OLD_CFLAGS=$CFLAGS 7736 OLD_CFLAGS=$CFLAGS
6816 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" 7737 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
6817 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" 7738 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
6818 cat >conftest.$ac_ext <<_ACEOF 7739 cat >conftest.$ac_ext <<_ACEOF
6819 #line 6819 "configure" 7740 #line $LINENO "configure"
6820 #include "confdefs.h" 7741 #include "confdefs.h"
6821 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> 7742 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
7743 #ifdef F77_DUMMY_MAIN
7744 # ifdef __cplusplus
7745 extern "C"
7746 # endif
7747 int F77_DUMMY_MAIN() { return 1; }
7748 #endif
6822 int 7749 int
6823 main () 7750 main ()
6824 { 7751 {
6825 int x = 5; 7752 int x = 5;
6826 ; 7753 ;
6827 return 0; 7754 return 0;
6828 } 7755 }
6829 _ACEOF 7756 _ACEOF
6830 rm -f conftest.$ac_objext 7757 rm -f conftest.$ac_objext
6831 if { (eval echo "$as_me:6831: \"$ac_compile\"") >&5 7758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6832 (eval $ac_compile) 2>&5 7759 (eval $ac_compile) 2>&5
6833 ac_status=$? 7760 ac_status=$?
6834 echo "$as_me:6834: \$? = $ac_status" >&5 7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); } && 7762 (exit $ac_status); } &&
6836 { ac_try='test -s conftest.$ac_objext' 7763 { ac_try='test -s conftest.$ac_objext'
6837 { (eval echo "$as_me:6837: \"$ac_try\"") >&5 7764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6838 (eval $ac_try) 2>&5 7765 (eval $ac_try) 2>&5
6839 ac_status=$? 7766 ac_status=$?
6840 echo "$as_me:6840: \$? = $ac_status" >&5 7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; }; then 7768 (exit $ac_status); }; }; then
6842 emacs_cv_lesstif=yes 7769 emacs_cv_lesstif=yes
6843 else 7770 else
6844 echo "$as_me: failed program was:" >&5 7771 echo "$as_me: failed program was:" >&5
6845 cat conftest.$ac_ext >&5 7772 cat conftest.$ac_ext >&5
6846 emacs_cv_lesstif=no 7773 emacs_cv_lesstif=no
6847 fi 7774 fi
6848 rm -f conftest.$ac_objext conftest.$ac_ext 7775 rm -f conftest.$ac_objext conftest.$ac_ext
6849 fi 7776 fi
6850 echo "$as_me:6850: result: $emacs_cv_lesstif" >&5 7777 echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
6851 echo "${ECHO_T}$emacs_cv_lesstif" >&6 7778 echo "${ECHO_T}$emacs_cv_lesstif" >&6
6852 if test $emacs_cv_lesstif = yes; then 7779 if test $emacs_cv_lesstif = yes; then
6853 # Make sure this -I option remains in CPPFLAGS after it is set 7780 # Make sure this -I option remains in CPPFLAGS after it is set
6854 # back to REAL_CPPFLAGS. 7781 # back to REAL_CPPFLAGS.
6855 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not 7782 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
6859 LDFLAGS="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS" 7786 LDFLAGS="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
6860 else 7787 else
6861 CFLAGS=$OLD_CFLAGS 7788 CFLAGS=$OLD_CFLAGS
6862 CPPFLAGS=$OLD_CPPFLAGS 7789 CPPFLAGS=$OLD_CPPFLAGS
6863 fi 7790 fi
6864 echo "$as_me:6864: checking for Motif version 2.1" >&5 7791 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
6865 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 7792 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6866 if test "${emacs_cv_motif_version_2_1+set}" = set; then 7793 if test "${emacs_cv_motif_version_2_1+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6 7794 echo $ECHO_N "(cached) $ECHO_C" >&6
6868 else 7795 else
6869 cat >conftest.$ac_ext <<_ACEOF 7796 cat >conftest.$ac_ext <<_ACEOF
6870 #line 6870 "configure" 7797 #line $LINENO "configure"
6871 #include "confdefs.h" 7798 #include "confdefs.h"
6872 #include <Xm/Xm.h> 7799 #include <Xm/Xm.h>
7800 #ifdef F77_DUMMY_MAIN
7801 # ifdef __cplusplus
7802 extern "C"
7803 # endif
7804 int F77_DUMMY_MAIN() { return 1; }
7805 #endif
6873 int 7806 int
6874 main () 7807 main ()
6875 { 7808 {
6876 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) 7809 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
6877 int x = 5; 7810 int x = 5;
6881 ; 7814 ;
6882 return 0; 7815 return 0;
6883 } 7816 }
6884 _ACEOF 7817 _ACEOF
6885 rm -f conftest.$ac_objext 7818 rm -f conftest.$ac_objext
6886 if { (eval echo "$as_me:6886: \"$ac_compile\"") >&5 7819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6887 (eval $ac_compile) 2>&5 7820 (eval $ac_compile) 2>&5
6888 ac_status=$? 7821 ac_status=$?
6889 echo "$as_me:6889: \$? = $ac_status" >&5 7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); } && 7823 (exit $ac_status); } &&
6891 { ac_try='test -s conftest.$ac_objext' 7824 { ac_try='test -s conftest.$ac_objext'
6892 { (eval echo "$as_me:6892: \"$ac_try\"") >&5 7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 (eval $ac_try) 2>&5 7826 (eval $ac_try) 2>&5
6894 ac_status=$? 7827 ac_status=$?
6895 echo "$as_me:6895: \$? = $ac_status" >&5 7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; }; then 7829 (exit $ac_status); }; }; then
6897 emacs_cv_motif_version_2_1=yes 7830 emacs_cv_motif_version_2_1=yes
6898 else 7831 else
6899 echo "$as_me: failed program was:" >&5 7832 echo "$as_me: failed program was:" >&5
6900 cat conftest.$ac_ext >&5 7833 cat conftest.$ac_ext >&5
6901 emacs_cv_motif_version_2_1=no 7834 emacs_cv_motif_version_2_1=no
6902 fi 7835 fi
6903 rm -f conftest.$ac_objext conftest.$ac_ext 7836 rm -f conftest.$ac_objext conftest.$ac_ext
6904 fi 7837 fi
6905 echo "$as_me:6905: result: $emacs_cv_motif_version_2_1" >&5 7838 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
6906 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 7839 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6907 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 7840 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6908 if test $emacs_cv_motif_version_2_1 = yes; then 7841 if test $emacs_cv_motif_version_2_1 = yes; then
6909 HAVE_LIBXP=no 7842 HAVE_LIBXP=no
6910 7843
6911 cat >>confdefs.h <<\EOF 7844 cat >>confdefs.h <<\_ACEOF
6912 #define HAVE_MOTIF_2_1 1 7845 #define HAVE_MOTIF_2_1 1
6913 EOF 7846 _ACEOF
6914 7847
6915 echo "$as_me:6915: checking for XpCreateContext in -lXp" >&5 7848 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
6916 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 7849 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6917 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 7850 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6918 echo $ECHO_N "(cached) $ECHO_C" >&6 7851 echo $ECHO_N "(cached) $ECHO_C" >&6
6919 else 7852 else
6920 ac_check_lib_save_LIBS=$LIBS 7853 ac_check_lib_save_LIBS=$LIBS
6921 LIBS="-lXp $LIBS" 7854 LIBS="-lXp $LIBS"
6922 cat >conftest.$ac_ext <<_ACEOF 7855 cat >conftest.$ac_ext <<_ACEOF
6923 #line 6923 "configure" 7856 #line $LINENO "configure"
6924 #include "confdefs.h" 7857 #include "confdefs.h"
6925 7858
6926 /* Override any gcc2 internal prototype to avoid an error. */ 7859 /* Override any gcc2 internal prototype to avoid an error. */
6927 #ifdef __cplusplus 7860 #ifdef __cplusplus
6928 extern "C" 7861 extern "C"
6929 #endif 7862 #endif
6930 /* We use char because int might match the return type of a gcc2 7863 /* We use char because int might match the return type of a gcc2
6931 builtin and then its argument prototype would still apply. */ 7864 builtin and then its argument prototype would still apply. */
6932 char XpCreateContext (); 7865 char XpCreateContext ();
7866 #ifdef F77_DUMMY_MAIN
7867 # ifdef __cplusplus
7868 extern "C"
7869 # endif
7870 int F77_DUMMY_MAIN() { return 1; }
7871 #endif
6933 int 7872 int
6934 main () 7873 main ()
6935 { 7874 {
6936 XpCreateContext (); 7875 XpCreateContext ();
6937 ; 7876 ;
6938 return 0; 7877 return 0;
6939 } 7878 }
6940 _ACEOF 7879 _ACEOF
6941 rm -f conftest.$ac_objext conftest$ac_exeext 7880 rm -f conftest.$ac_objext conftest$ac_exeext
6942 if { (eval echo "$as_me:6942: \"$ac_link\"") >&5 7881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6943 (eval $ac_link) 2>&5 7882 (eval $ac_link) 2>&5
6944 ac_status=$? 7883 ac_status=$?
6945 echo "$as_me:6945: \$? = $ac_status" >&5 7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); } && 7885 (exit $ac_status); } &&
6947 { ac_try='test -s conftest$ac_exeext' 7886 { ac_try='test -s conftest$ac_exeext'
6948 { (eval echo "$as_me:6948: \"$ac_try\"") >&5 7887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 (eval $ac_try) 2>&5 7888 (eval $ac_try) 2>&5
6950 ac_status=$? 7889 ac_status=$?
6951 echo "$as_me:6951: \$? = $ac_status" >&5 7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); }; }; then 7891 (exit $ac_status); }; }; then
6953 ac_cv_lib_Xp_XpCreateContext=yes 7892 ac_cv_lib_Xp_XpCreateContext=yes
6954 else 7893 else
6955 echo "$as_me: failed program was:" >&5 7894 echo "$as_me: failed program was:" >&5
6956 cat conftest.$ac_ext >&5 7895 cat conftest.$ac_ext >&5
6957 ac_cv_lib_Xp_XpCreateContext=no 7896 ac_cv_lib_Xp_XpCreateContext=no
6958 fi 7897 fi
6959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6960 LIBS=$ac_check_lib_save_LIBS 7899 LIBS=$ac_check_lib_save_LIBS
6961 fi 7900 fi
6962 echo "$as_me:6962: result: $ac_cv_lib_Xp_XpCreateContext" >&5 7901 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6963 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 7902 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6964 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 7903 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6965 HAVE_LIBXP=yes 7904 HAVE_LIBXP=yes
6966 fi 7905 fi
6967 7906
6968 if test ${HAVE_LIBXP} = yes; then 7907 if test ${HAVE_LIBXP} = yes; then
6969 7908
6970 cat >>confdefs.h <<\EOF 7909 cat >>confdefs.h <<\_ACEOF
6971 #define HAVE_LIBXP 1 7910 #define HAVE_LIBXP 1
6972 EOF 7911 _ACEOF
6973 7912
6974 fi 7913 fi
6975 fi 7914 fi
6976 fi 7915 fi
6977 7916
6978 ### Is -lXaw3d available? 7917 ### Is -lXaw3d available?
6979 HAVE_XAW3D=no 7918 HAVE_XAW3D=no
6980 if test "${HAVE_X11}" = "yes"; then 7919 if test "${HAVE_X11}" = "yes"; then
6981 if test "${USE_X_TOOLKIT}" != "none"; then 7920 if test "${USE_X_TOOLKIT}" != "none"; then
6982 echo "$as_me:6982: checking for X11/Xaw3d/Scrollbar.h" >&5 7921 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
7922 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
6983 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 7923 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6984 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 7924 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6985 echo $ECHO_N "(cached) $ECHO_C" >&6 7925 echo $ECHO_N "(cached) $ECHO_C" >&6
6986 else 7926 fi
6987 cat >conftest.$ac_ext <<_ACEOF 7927 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6988 #line 6988 "configure" 7928 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6989 #include "confdefs.h" 7929 else
7930 # Is the header compilable?
7931 echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h usability" >&5
7932 echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h usability... $ECHO_C" >&6
7933 cat >conftest.$ac_ext <<_ACEOF
7934 #line $LINENO "configure"
7935 #include "confdefs.h"
7936 $ac_includes_default
6990 #include <X11/Xaw3d/Scrollbar.h> 7937 #include <X11/Xaw3d/Scrollbar.h>
6991 _ACEOF 7938 _ACEOF
6992 if { (eval echo "$as_me:6992: \"$ac_cpp conftest.$ac_ext\"") >&5 7939 rm -f conftest.$ac_objext
7940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7941 (eval $ac_compile) 2>&5
7942 ac_status=$?
7943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7944 (exit $ac_status); } &&
7945 { ac_try='test -s conftest.$ac_objext'
7946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7947 (eval $ac_try) 2>&5
7948 ac_status=$?
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); }; }; then
7951 ac_header_compiler=yes
7952 else
7953 echo "$as_me: failed program was:" >&5
7954 cat conftest.$ac_ext >&5
7955 ac_header_compiler=no
7956 fi
7957 rm -f conftest.$ac_objext conftest.$ac_ext
7958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7959 echo "${ECHO_T}$ac_header_compiler" >&6
7960
7961 # Is the header present?
7962 echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h presence" >&5
7963 echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h presence... $ECHO_C" >&6
7964 cat >conftest.$ac_ext <<_ACEOF
7965 #line $LINENO "configure"
7966 #include "confdefs.h"
7967 #include <X11/Xaw3d/Scrollbar.h>
7968 _ACEOF
7969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6993 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6994 ac_status=$? 7971 ac_status=$?
6995 egrep -v '^ *\+' conftest.er1 >conftest.err 7972 egrep -v '^ *\+' conftest.er1 >conftest.err
6996 rm -f conftest.er1 7973 rm -f conftest.er1
6997 cat conftest.err >&5 7974 cat conftest.err >&5
6998 echo "$as_me:6998: \$? = $ac_status" >&5 7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); } >/dev/null; then 7976 (exit $ac_status); } >/dev/null; then
7000 if test -s conftest.err; then 7977 if test -s conftest.err; then
7001 ac_cpp_err=$ac_c_preproc_warn_flag 7978 ac_cpp_err=$ac_c_preproc_warn_flag
7002 else 7979 else
7003 ac_cpp_err= 7980 ac_cpp_err=
7004 fi 7981 fi
7005 else 7982 else
7006 ac_cpp_err=yes 7983 ac_cpp_err=yes
7007 fi 7984 fi
7008 if test -z "$ac_cpp_err"; then 7985 if test -z "$ac_cpp_err"; then
7009 ac_cv_header_X11_Xaw3d_Scrollbar_h=yes 7986 ac_header_preproc=yes
7010 else 7987 else
7011 echo "$as_me: failed program was:" >&5 7988 echo "$as_me: failed program was:" >&5
7012 cat conftest.$ac_ext >&5 7989 cat conftest.$ac_ext >&5
7013 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 7990 ac_header_preproc=no
7014 fi 7991 fi
7015 rm -f conftest.err conftest.$ac_ext 7992 rm -f conftest.err conftest.$ac_ext
7016 fi 7993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7017 echo "$as_me:7017: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 7994 echo "${ECHO_T}$ac_header_preproc" >&6
7995
7996 # So? What about this header?
7997 case $ac_header_compiler:$ac_header_preproc in
7998 yes:no )
7999 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the compiler, rejected by the preprocessor!" >&5
8000 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8001 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&5
8002 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&2;};;
8003 no:yes )
8004 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: present but cannot be compiled" >&5
8005 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: present but cannot be compiled" >&2;}
8006 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: check for missing prerequisite headers?" >&5
8007 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: check for missing prerequisite headers?" >&2;}
8008 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&5
8009 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&2;};;
8010 esac
8011 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
8012 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
8013 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
8014 echo $ECHO_N "(cached) $ECHO_C" >&6
8015 else
8016 ac_cv_header_X11_Xaw3d_Scrollbar_h=$ac_header_preproc
8017 fi
8018 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
7018 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 8019 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
8020
8021 fi
7019 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 8022 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
7020 echo "$as_me:7020: checking for XawScrollbarSetThumb in -lXaw3d" >&5 8023 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
7021 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 8024 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
7022 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 8025 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
7023 echo $ECHO_N "(cached) $ECHO_C" >&6 8026 echo $ECHO_N "(cached) $ECHO_C" >&6
7024 else 8027 else
7025 ac_check_lib_save_LIBS=$LIBS 8028 ac_check_lib_save_LIBS=$LIBS
7026 LIBS="-lXaw3d $LIBS" 8029 LIBS="-lXaw3d $LIBS"
7027 cat >conftest.$ac_ext <<_ACEOF 8030 cat >conftest.$ac_ext <<_ACEOF
7028 #line 7028 "configure" 8031 #line $LINENO "configure"
7029 #include "confdefs.h" 8032 #include "confdefs.h"
7030 8033
7031 /* Override any gcc2 internal prototype to avoid an error. */ 8034 /* Override any gcc2 internal prototype to avoid an error. */
7032 #ifdef __cplusplus 8035 #ifdef __cplusplus
7033 extern "C" 8036 extern "C"
7034 #endif 8037 #endif
7035 /* We use char because int might match the return type of a gcc2 8038 /* We use char because int might match the return type of a gcc2
7036 builtin and then its argument prototype would still apply. */ 8039 builtin and then its argument prototype would still apply. */
7037 char XawScrollbarSetThumb (); 8040 char XawScrollbarSetThumb ();
8041 #ifdef F77_DUMMY_MAIN
8042 # ifdef __cplusplus
8043 extern "C"
8044 # endif
8045 int F77_DUMMY_MAIN() { return 1; }
8046 #endif
7038 int 8047 int
7039 main () 8048 main ()
7040 { 8049 {
7041 XawScrollbarSetThumb (); 8050 XawScrollbarSetThumb ();
7042 ; 8051 ;
7043 return 0; 8052 return 0;
7044 } 8053 }
7045 _ACEOF 8054 _ACEOF
7046 rm -f conftest.$ac_objext conftest$ac_exeext 8055 rm -f conftest.$ac_objext conftest$ac_exeext
7047 if { (eval echo "$as_me:7047: \"$ac_link\"") >&5 8056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7048 (eval $ac_link) 2>&5 8057 (eval $ac_link) 2>&5
7049 ac_status=$? 8058 ac_status=$?
7050 echo "$as_me:7050: \$? = $ac_status" >&5 8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); } && 8060 (exit $ac_status); } &&
7052 { ac_try='test -s conftest$ac_exeext' 8061 { ac_try='test -s conftest$ac_exeext'
7053 { (eval echo "$as_me:7053: \"$ac_try\"") >&5 8062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7054 (eval $ac_try) 2>&5 8063 (eval $ac_try) 2>&5
7055 ac_status=$? 8064 ac_status=$?
7056 echo "$as_me:7056: \$? = $ac_status" >&5 8065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); }; }; then 8066 (exit $ac_status); }; }; then
7058 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 8067 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
7059 else 8068 else
7060 echo "$as_me: failed program was:" >&5 8069 echo "$as_me: failed program was:" >&5
7061 cat conftest.$ac_ext >&5 8070 cat conftest.$ac_ext >&5
7062 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 8071 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
7063 fi 8072 fi
7064 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7065 LIBS=$ac_check_lib_save_LIBS 8074 LIBS=$ac_check_lib_save_LIBS
7066 fi 8075 fi
7067 echo "$as_me:7067: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 8076 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
7068 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 8077 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
7069 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 8078 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
7070 HAVE_XAW3D=yes 8079 HAVE_XAW3D=yes
7071 fi 8080 fi
7072 8081
7073 fi 8082 fi
7074 8083
8084
7075 if test "${HAVE_XAW3D}" = "yes"; then 8085 if test "${HAVE_XAW3D}" = "yes"; then
7076 8086
7077 cat >>confdefs.h <<\EOF 8087 cat >>confdefs.h <<\_ACEOF
7078 #define HAVE_XAW3D 1 8088 #define HAVE_XAW3D 1
7079 EOF 8089 _ACEOF
7080 8090
7081 fi 8091 fi
7082 fi 8092 fi
7083 fi 8093 fi
8094
8095
7084 8096
7085 USE_TOOLKIT_SCROLL_BARS=no 8097 USE_TOOLKIT_SCROLL_BARS=no
7086 if test "${with_toolkit_scroll_bars}" != "no"; then 8098 if test "${with_toolkit_scroll_bars}" != "no"; then
7087 if test "${USE_X_TOOLKIT}" != "none"; then 8099 if test "${USE_X_TOOLKIT}" != "none"; then
7088 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 8100 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
7089 cat >>confdefs.h <<\EOF 8101 cat >>confdefs.h <<\_ACEOF
7090 #define USE_TOOLKIT_SCROLL_BARS 1 8102 #define USE_TOOLKIT_SCROLL_BARS 1
7091 EOF 8103 _ACEOF
7092 8104
7093 HAVE_XAW3D=no 8105 HAVE_XAW3D=no
7094 USE_TOOLKIT_SCROLL_BARS=yes 8106 USE_TOOLKIT_SCROLL_BARS=yes
7095 elif test "${HAVE_XAW3D}" = "yes"; then 8107 elif test "${HAVE_XAW3D}" = "yes"; then
7096 cat >>confdefs.h <<\EOF 8108 cat >>confdefs.h <<\_ACEOF
7097 #define USE_TOOLKIT_SCROLL_BARS 1 8109 #define USE_TOOLKIT_SCROLL_BARS 1
7098 EOF 8110 _ACEOF
7099 8111
7100 USE_TOOLKIT_SCROLL_BARS=yes 8112 USE_TOOLKIT_SCROLL_BARS=yes
7101 fi 8113 fi
7102 fi 8114 fi
7103 fi 8115 fi
7104 8116
8117
7105 if test "${with_xim}" != "no"; then 8118 if test "${with_xim}" != "no"; then
7106 8119
7107 cat >>confdefs.h <<\EOF 8120 cat >>confdefs.h <<\_ACEOF
7108 #define USE_XIM 1 8121 #define USE_XIM 1
7109 EOF 8122 _ACEOF
7110 8123
7111 fi 8124 fi
7112 8125
7113 ### Use -lXpm if available, unless `--with-xpm=no'. 8126 ### Use -lXpm if available, unless `--with-xpm=no'.
7114 HAVE_XPM=no 8127 HAVE_XPM=no
7115 if test "${HAVE_X11}" = "yes"; then 8128 if test "${HAVE_X11}" = "yes"; then
7116 if test "${with_xpm}" != "no"; then 8129 if test "${with_xpm}" != "no"; then
7117 echo "$as_me:7117: checking for X11/xpm.h" >&5 8130 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
8131 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
7118 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 8132 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
7119 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 8133 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
7120 echo $ECHO_N "(cached) $ECHO_C" >&6 8134 echo $ECHO_N "(cached) $ECHO_C" >&6
7121 else 8135 fi
7122 cat >conftest.$ac_ext <<_ACEOF 8136 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
7123 #line 7123 "configure" 8137 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7124 #include "confdefs.h" 8138 else
8139 # Is the header compilable?
8140 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
8141 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
8142 cat >conftest.$ac_ext <<_ACEOF
8143 #line $LINENO "configure"
8144 #include "confdefs.h"
8145 $ac_includes_default
7125 #include <X11/xpm.h> 8146 #include <X11/xpm.h>
7126 _ACEOF 8147 _ACEOF
7127 if { (eval echo "$as_me:7127: \"$ac_cpp conftest.$ac_ext\"") >&5 8148 rm -f conftest.$ac_objext
8149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8150 (eval $ac_compile) 2>&5
8151 ac_status=$?
8152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8153 (exit $ac_status); } &&
8154 { ac_try='test -s conftest.$ac_objext'
8155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8156 (eval $ac_try) 2>&5
8157 ac_status=$?
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); }; }; then
8160 ac_header_compiler=yes
8161 else
8162 echo "$as_me: failed program was:" >&5
8163 cat conftest.$ac_ext >&5
8164 ac_header_compiler=no
8165 fi
8166 rm -f conftest.$ac_objext conftest.$ac_ext
8167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8168 echo "${ECHO_T}$ac_header_compiler" >&6
8169
8170 # Is the header present?
8171 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
8172 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
8173 cat >conftest.$ac_ext <<_ACEOF
8174 #line $LINENO "configure"
8175 #include "confdefs.h"
8176 #include <X11/xpm.h>
8177 _ACEOF
8178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7128 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7129 ac_status=$? 8180 ac_status=$?
7130 egrep -v '^ *\+' conftest.er1 >conftest.err 8181 egrep -v '^ *\+' conftest.er1 >conftest.err
7131 rm -f conftest.er1 8182 rm -f conftest.er1
7132 cat conftest.err >&5 8183 cat conftest.err >&5
7133 echo "$as_me:7133: \$? = $ac_status" >&5 8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); } >/dev/null; then 8185 (exit $ac_status); } >/dev/null; then
7135 if test -s conftest.err; then 8186 if test -s conftest.err; then
7136 ac_cpp_err=$ac_c_preproc_warn_flag 8187 ac_cpp_err=$ac_c_preproc_warn_flag
7137 else 8188 else
7138 ac_cpp_err= 8189 ac_cpp_err=
7139 fi 8190 fi
7140 else 8191 else
7141 ac_cpp_err=yes 8192 ac_cpp_err=yes
7142 fi 8193 fi
7143 if test -z "$ac_cpp_err"; then 8194 if test -z "$ac_cpp_err"; then
7144 ac_cv_header_X11_xpm_h=yes 8195 ac_header_preproc=yes
7145 else 8196 else
7146 echo "$as_me: failed program was:" >&5 8197 echo "$as_me: failed program was:" >&5
7147 cat conftest.$ac_ext >&5 8198 cat conftest.$ac_ext >&5
7148 ac_cv_header_X11_xpm_h=no 8199 ac_header_preproc=no
7149 fi 8200 fi
7150 rm -f conftest.err conftest.$ac_ext 8201 rm -f conftest.err conftest.$ac_ext
7151 fi 8202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7152 echo "$as_me:7152: result: $ac_cv_header_X11_xpm_h" >&5 8203 echo "${ECHO_T}$ac_header_preproc" >&6
8204
8205 # So? What about this header?
8206 case $ac_header_compiler:$ac_header_preproc in
8207 yes:no )
8208 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
8209 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8210 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
8211 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;};;
8212 no:yes )
8213 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
8214 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
8215 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
8216 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
8217 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
8218 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;};;
8219 esac
8220 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
8221 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
8222 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
8223 echo $ECHO_N "(cached) $ECHO_C" >&6
8224 else
8225 ac_cv_header_X11_xpm_h=$ac_header_preproc
8226 fi
8227 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
7153 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 8228 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
8229
8230 fi
7154 if test $ac_cv_header_X11_xpm_h = yes; then 8231 if test $ac_cv_header_X11_xpm_h = yes; then
7155 echo "$as_me:7155: checking for XpmReadFileToPixmap in -lXpm" >&5 8232 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
7156 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 8233 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7157 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 8234 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6 8235 echo $ECHO_N "(cached) $ECHO_C" >&6
7159 else 8236 else
7160 ac_check_lib_save_LIBS=$LIBS 8237 ac_check_lib_save_LIBS=$LIBS
7161 LIBS="-lXpm -lX11 $LIBS" 8238 LIBS="-lXpm -lX11 $LIBS"
7162 cat >conftest.$ac_ext <<_ACEOF 8239 cat >conftest.$ac_ext <<_ACEOF
7163 #line 7163 "configure" 8240 #line $LINENO "configure"
7164 #include "confdefs.h" 8241 #include "confdefs.h"
7165 8242
7166 /* Override any gcc2 internal prototype to avoid an error. */ 8243 /* Override any gcc2 internal prototype to avoid an error. */
7167 #ifdef __cplusplus 8244 #ifdef __cplusplus
7168 extern "C" 8245 extern "C"
7169 #endif 8246 #endif
7170 /* We use char because int might match the return type of a gcc2 8247 /* We use char because int might match the return type of a gcc2
7171 builtin and then its argument prototype would still apply. */ 8248 builtin and then its argument prototype would still apply. */
7172 char XpmReadFileToPixmap (); 8249 char XpmReadFileToPixmap ();
8250 #ifdef F77_DUMMY_MAIN
8251 # ifdef __cplusplus
8252 extern "C"
8253 # endif
8254 int F77_DUMMY_MAIN() { return 1; }
8255 #endif
7173 int 8256 int
7174 main () 8257 main ()
7175 { 8258 {
7176 XpmReadFileToPixmap (); 8259 XpmReadFileToPixmap ();
7177 ; 8260 ;
7178 return 0; 8261 return 0;
7179 } 8262 }
7180 _ACEOF 8263 _ACEOF
7181 rm -f conftest.$ac_objext conftest$ac_exeext 8264 rm -f conftest.$ac_objext conftest$ac_exeext
7182 if { (eval echo "$as_me:7182: \"$ac_link\"") >&5 8265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7183 (eval $ac_link) 2>&5 8266 (eval $ac_link) 2>&5
7184 ac_status=$? 8267 ac_status=$?
7185 echo "$as_me:7185: \$? = $ac_status" >&5 8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); } && 8269 (exit $ac_status); } &&
7187 { ac_try='test -s conftest$ac_exeext' 8270 { ac_try='test -s conftest$ac_exeext'
7188 { (eval echo "$as_me:7188: \"$ac_try\"") >&5 8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7189 (eval $ac_try) 2>&5 8272 (eval $ac_try) 2>&5
7190 ac_status=$? 8273 ac_status=$?
7191 echo "$as_me:7191: \$? = $ac_status" >&5 8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); }; }; then 8275 (exit $ac_status); }; }; then
7193 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 8276 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7194 else 8277 else
7195 echo "$as_me: failed program was:" >&5 8278 echo "$as_me: failed program was:" >&5
7196 cat conftest.$ac_ext >&5 8279 cat conftest.$ac_ext >&5
7197 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 8280 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7198 fi 8281 fi
7199 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7200 LIBS=$ac_check_lib_save_LIBS 8283 LIBS=$ac_check_lib_save_LIBS
7201 fi 8284 fi
7202 echo "$as_me:7202: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 8285 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7203 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 8286 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7204 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 8287 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7205 HAVE_XPM=yes 8288 HAVE_XPM=yes
7206 fi 8289 fi
7207 8290
7208 fi 8291 fi
7209 8292
8293
7210 if test "${HAVE_XPM}" = "yes"; then 8294 if test "${HAVE_XPM}" = "yes"; then
7211 echo "$as_me:7211: checking for XpmReturnAllocPixels preprocessor define" >&5 8295 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
7212 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 8296 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7213 cat >conftest.$ac_ext <<_ACEOF 8297 cat >conftest.$ac_ext <<_ACEOF
7214 #line 7214 "configure" 8298 #line $LINENO "configure"
7215 #include "confdefs.h" 8299 #include "confdefs.h"
7216 #include "X11/xpm.h" 8300 #include "X11/xpm.h"
7217 #ifndef XpmReturnAllocPixels 8301 #ifndef XpmReturnAllocPixels
7218 no_return_alloc_pixels 8302 no_return_alloc_pixels
7219 #endif 8303 #endif
7225 else 8309 else
7226 HAVE_XPM=yes 8310 HAVE_XPM=yes
7227 fi 8311 fi
7228 rm -f conftest* 8312 rm -f conftest*
7229 8313
8314
7230 if test "${HAVE_XPM}" = "yes"; then 8315 if test "${HAVE_XPM}" = "yes"; then
7231 echo "$as_me:7231: result: yes" >&5 8316 echo "$as_me:$LINENO: result: yes" >&5
7232 echo "${ECHO_T}yes" >&6 8317 echo "${ECHO_T}yes" >&6
7233 else 8318 else
7234 echo "$as_me:7234: result: no" >&5 8319 echo "$as_me:$LINENO: result: no" >&5
7235 echo "${ECHO_T}no" >&6 8320 echo "${ECHO_T}no" >&6
7236 fi 8321 fi
7237 fi 8322 fi
7238 fi 8323 fi
7239 8324
7240 if test "${HAVE_XPM}" = "yes"; then 8325 if test "${HAVE_XPM}" = "yes"; then
7241 8326
7242 cat >>confdefs.h <<\EOF 8327 cat >>confdefs.h <<\_ACEOF
7243 #define HAVE_XPM 1 8328 #define HAVE_XPM 1
7244 EOF 8329 _ACEOF
7245 8330
7246 fi 8331 fi
7247 fi 8332 fi
7248 8333
7249 ### Use -ljpeg if available, unless `--with-jpeg=no'. 8334 ### Use -ljpeg if available, unless `--with-jpeg=no'.
7250 HAVE_JPEG=no 8335 HAVE_JPEG=no
7251 if test "${HAVE_X11}" = "yes"; then 8336 if test "${HAVE_X11}" = "yes"; then
7252 if test "${with_jpeg}" != "no"; then 8337 if test "${with_jpeg}" != "no"; then
7253 echo "$as_me:7253: checking for jerror.h" >&5 8338 if test "${ac_cv_header_jerror_h+set}" = set; then
8339 echo "$as_me:$LINENO: checking for jerror.h" >&5
7254 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 8340 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7255 if test "${ac_cv_header_jerror_h+set}" = set; then 8341 if test "${ac_cv_header_jerror_h+set}" = set; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6 8342 echo $ECHO_N "(cached) $ECHO_C" >&6
7257 else 8343 fi
7258 cat >conftest.$ac_ext <<_ACEOF 8344 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
7259 #line 7259 "configure" 8345 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7260 #include "confdefs.h" 8346 else
8347 # Is the header compilable?
8348 echo "$as_me:$LINENO: checking jerror.h usability" >&5
8349 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
8350 cat >conftest.$ac_ext <<_ACEOF
8351 #line $LINENO "configure"
8352 #include "confdefs.h"
8353 $ac_includes_default
7261 #include <jerror.h> 8354 #include <jerror.h>
7262 _ACEOF 8355 _ACEOF
7263 if { (eval echo "$as_me:7263: \"$ac_cpp conftest.$ac_ext\"") >&5 8356 rm -f conftest.$ac_objext
8357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8358 (eval $ac_compile) 2>&5
8359 ac_status=$?
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); } &&
8362 { ac_try='test -s conftest.$ac_objext'
8363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8364 (eval $ac_try) 2>&5
8365 ac_status=$?
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); }; }; then
8368 ac_header_compiler=yes
8369 else
8370 echo "$as_me: failed program was:" >&5
8371 cat conftest.$ac_ext >&5
8372 ac_header_compiler=no
8373 fi
8374 rm -f conftest.$ac_objext conftest.$ac_ext
8375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8376 echo "${ECHO_T}$ac_header_compiler" >&6
8377
8378 # Is the header present?
8379 echo "$as_me:$LINENO: checking jerror.h presence" >&5
8380 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
8381 cat >conftest.$ac_ext <<_ACEOF
8382 #line $LINENO "configure"
8383 #include "confdefs.h"
8384 #include <jerror.h>
8385 _ACEOF
8386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7264 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7265 ac_status=$? 8388 ac_status=$?
7266 egrep -v '^ *\+' conftest.er1 >conftest.err 8389 egrep -v '^ *\+' conftest.er1 >conftest.err
7267 rm -f conftest.er1 8390 rm -f conftest.er1
7268 cat conftest.err >&5 8391 cat conftest.err >&5
7269 echo "$as_me:7269: \$? = $ac_status" >&5 8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); } >/dev/null; then 8393 (exit $ac_status); } >/dev/null; then
7271 if test -s conftest.err; then 8394 if test -s conftest.err; then
7272 ac_cpp_err=$ac_c_preproc_warn_flag 8395 ac_cpp_err=$ac_c_preproc_warn_flag
7273 else 8396 else
7274 ac_cpp_err= 8397 ac_cpp_err=
7275 fi 8398 fi
7276 else 8399 else
7277 ac_cpp_err=yes 8400 ac_cpp_err=yes
7278 fi 8401 fi
7279 if test -z "$ac_cpp_err"; then 8402 if test -z "$ac_cpp_err"; then
7280 ac_cv_header_jerror_h=yes 8403 ac_header_preproc=yes
7281 else 8404 else
7282 echo "$as_me: failed program was:" >&5 8405 echo "$as_me: failed program was:" >&5
7283 cat conftest.$ac_ext >&5 8406 cat conftest.$ac_ext >&5
7284 ac_cv_header_jerror_h=no 8407 ac_header_preproc=no
7285 fi 8408 fi
7286 rm -f conftest.err conftest.$ac_ext 8409 rm -f conftest.err conftest.$ac_ext
7287 fi 8410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7288 echo "$as_me:7288: result: $ac_cv_header_jerror_h" >&5 8411 echo "${ECHO_T}$ac_header_preproc" >&6
8412
8413 # So? What about this header?
8414 case $ac_header_compiler:$ac_header_preproc in
8415 yes:no )
8416 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
8417 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8418 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
8419 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;};;
8420 no:yes )
8421 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
8422 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
8423 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
8424 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
8425 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
8426 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;};;
8427 esac
8428 echo "$as_me:$LINENO: checking for jerror.h" >&5
8429 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
8430 if test "${ac_cv_header_jerror_h+set}" = set; then
8431 echo $ECHO_N "(cached) $ECHO_C" >&6
8432 else
8433 ac_cv_header_jerror_h=$ac_header_preproc
8434 fi
8435 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
7289 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 8436 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
8437
8438 fi
7290 if test $ac_cv_header_jerror_h = yes; then 8439 if test $ac_cv_header_jerror_h = yes; then
7291 echo "$as_me:7291: checking for jpeg_destroy_compress in -ljpeg" >&5 8440 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
7292 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 8441 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7293 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 8442 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6 8443 echo $ECHO_N "(cached) $ECHO_C" >&6
7295 else 8444 else
7296 ac_check_lib_save_LIBS=$LIBS 8445 ac_check_lib_save_LIBS=$LIBS
7297 LIBS="-ljpeg $LIBS" 8446 LIBS="-ljpeg $LIBS"
7298 cat >conftest.$ac_ext <<_ACEOF 8447 cat >conftest.$ac_ext <<_ACEOF
7299 #line 7299 "configure" 8448 #line $LINENO "configure"
7300 #include "confdefs.h" 8449 #include "confdefs.h"
7301 8450
7302 /* Override any gcc2 internal prototype to avoid an error. */ 8451 /* Override any gcc2 internal prototype to avoid an error. */
7303 #ifdef __cplusplus 8452 #ifdef __cplusplus
7304 extern "C" 8453 extern "C"
7305 #endif 8454 #endif
7306 /* We use char because int might match the return type of a gcc2 8455 /* We use char because int might match the return type of a gcc2
7307 builtin and then its argument prototype would still apply. */ 8456 builtin and then its argument prototype would still apply. */
7308 char jpeg_destroy_compress (); 8457 char jpeg_destroy_compress ();
8458 #ifdef F77_DUMMY_MAIN
8459 # ifdef __cplusplus
8460 extern "C"
8461 # endif
8462 int F77_DUMMY_MAIN() { return 1; }
8463 #endif
7309 int 8464 int
7310 main () 8465 main ()
7311 { 8466 {
7312 jpeg_destroy_compress (); 8467 jpeg_destroy_compress ();
7313 ; 8468 ;
7314 return 0; 8469 return 0;
7315 } 8470 }
7316 _ACEOF 8471 _ACEOF
7317 rm -f conftest.$ac_objext conftest$ac_exeext 8472 rm -f conftest.$ac_objext conftest$ac_exeext
7318 if { (eval echo "$as_me:7318: \"$ac_link\"") >&5 8473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7319 (eval $ac_link) 2>&5 8474 (eval $ac_link) 2>&5
7320 ac_status=$? 8475 ac_status=$?
7321 echo "$as_me:7321: \$? = $ac_status" >&5 8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); } && 8477 (exit $ac_status); } &&
7323 { ac_try='test -s conftest$ac_exeext' 8478 { ac_try='test -s conftest$ac_exeext'
7324 { (eval echo "$as_me:7324: \"$ac_try\"") >&5 8479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325 (eval $ac_try) 2>&5 8480 (eval $ac_try) 2>&5
7326 ac_status=$? 8481 ac_status=$?
7327 echo "$as_me:7327: \$? = $ac_status" >&5 8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); }; }; then 8483 (exit $ac_status); }; }; then
7329 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 8484 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7330 else 8485 else
7331 echo "$as_me: failed program was:" >&5 8486 echo "$as_me: failed program was:" >&5
7332 cat conftest.$ac_ext >&5 8487 cat conftest.$ac_ext >&5
7333 ac_cv_lib_jpeg_jpeg_destroy_compress=no 8488 ac_cv_lib_jpeg_jpeg_destroy_compress=no
7334 fi 8489 fi
7335 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8490 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7336 LIBS=$ac_check_lib_save_LIBS 8491 LIBS=$ac_check_lib_save_LIBS
7337 fi 8492 fi
7338 echo "$as_me:7338: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 8493 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7339 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 8494 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7340 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 8495 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7341 HAVE_JPEG=yes 8496 HAVE_JPEG=yes
7342 fi 8497 fi
7343 8498
7344 fi 8499 fi
7345 8500
8501
7346 fi 8502 fi
7347 8503
8504
7348 if test "${HAVE_JPEG}" = "yes"; then 8505 if test "${HAVE_JPEG}" = "yes"; then
7349 cat >>confdefs.h <<\EOF 8506 cat >>confdefs.h <<\_ACEOF
7350 #define HAVE_JPEG 1 8507 #define HAVE_JPEG 1
7351 EOF 8508 _ACEOF
7352 8509
7353 cat >conftest.$ac_ext <<_ACEOF 8510 cat >conftest.$ac_ext <<_ACEOF
7354 #line 7354 "configure" 8511 #line $LINENO "configure"
7355 #include "confdefs.h" 8512 #include "confdefs.h"
7356 #include <jpeglib.h> 8513 #include <jpeglib.h>
7357 version=JPEG_LIB_VERSION 8514 version=JPEG_LIB_VERSION
7358 8515
7359 _ACEOF 8516 _ACEOF
7360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7361 egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then 8518 egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then
7362 cat >>confdefs.h <<\EOF 8519 cat >>confdefs.h <<\_ACEOF
7363 #define HAVE_JPEG 1 8520 #define HAVE_JPEG 1
7364 EOF 8521 _ACEOF
7365 8522
7366 else 8523 else
7367 { echo "$as_me:7367: WARNING: libjpeg found, but not version 6b or later" >&5 8524 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
7368 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 8525 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7369 HAVE_JPEG=no 8526 HAVE_JPEG=no
7370 fi 8527 fi
7371 rm -f conftest* 8528 rm -f conftest*
7372 8529
7375 8532
7376 ### Use -lpng if available, unless `--with-png=no'. 8533 ### Use -lpng if available, unless `--with-png=no'.
7377 HAVE_PNG=no 8534 HAVE_PNG=no
7378 if test "${HAVE_X11}" = "yes"; then 8535 if test "${HAVE_X11}" = "yes"; then
7379 if test "${with_png}" != "no"; then 8536 if test "${with_png}" != "no"; then
7380 echo "$as_me:7380: checking for png.h" >&5 8537 if test "${ac_cv_header_png_h+set}" = set; then
8538 echo "$as_me:$LINENO: checking for png.h" >&5
7381 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 8539 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7382 if test "${ac_cv_header_png_h+set}" = set; then 8540 if test "${ac_cv_header_png_h+set}" = set; then
7383 echo $ECHO_N "(cached) $ECHO_C" >&6 8541 echo $ECHO_N "(cached) $ECHO_C" >&6
7384 else 8542 fi
7385 cat >conftest.$ac_ext <<_ACEOF 8543 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
7386 #line 7386 "configure" 8544 echo "${ECHO_T}$ac_cv_header_png_h" >&6
7387 #include "confdefs.h" 8545 else
8546 # Is the header compilable?
8547 echo "$as_me:$LINENO: checking png.h usability" >&5
8548 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
8549 cat >conftest.$ac_ext <<_ACEOF
8550 #line $LINENO "configure"
8551 #include "confdefs.h"
8552 $ac_includes_default
7388 #include <png.h> 8553 #include <png.h>
7389 _ACEOF 8554 _ACEOF
7390 if { (eval echo "$as_me:7390: \"$ac_cpp conftest.$ac_ext\"") >&5 8555 rm -f conftest.$ac_objext
8556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8557 (eval $ac_compile) 2>&5
8558 ac_status=$?
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } &&
8561 { ac_try='test -s conftest.$ac_objext'
8562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563 (eval $ac_try) 2>&5
8564 ac_status=$?
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); }; }; then
8567 ac_header_compiler=yes
8568 else
8569 echo "$as_me: failed program was:" >&5
8570 cat conftest.$ac_ext >&5
8571 ac_header_compiler=no
8572 fi
8573 rm -f conftest.$ac_objext conftest.$ac_ext
8574 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8575 echo "${ECHO_T}$ac_header_compiler" >&6
8576
8577 # Is the header present?
8578 echo "$as_me:$LINENO: checking png.h presence" >&5
8579 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
8580 cat >conftest.$ac_ext <<_ACEOF
8581 #line $LINENO "configure"
8582 #include "confdefs.h"
8583 #include <png.h>
8584 _ACEOF
8585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7391 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7392 ac_status=$? 8587 ac_status=$?
7393 egrep -v '^ *\+' conftest.er1 >conftest.err 8588 egrep -v '^ *\+' conftest.er1 >conftest.err
7394 rm -f conftest.er1 8589 rm -f conftest.er1
7395 cat conftest.err >&5 8590 cat conftest.err >&5
7396 echo "$as_me:7396: \$? = $ac_status" >&5 8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); } >/dev/null; then 8592 (exit $ac_status); } >/dev/null; then
7398 if test -s conftest.err; then 8593 if test -s conftest.err; then
7399 ac_cpp_err=$ac_c_preproc_warn_flag 8594 ac_cpp_err=$ac_c_preproc_warn_flag
7400 else 8595 else
7401 ac_cpp_err= 8596 ac_cpp_err=
7402 fi 8597 fi
7403 else 8598 else
7404 ac_cpp_err=yes 8599 ac_cpp_err=yes
7405 fi 8600 fi
7406 if test -z "$ac_cpp_err"; then 8601 if test -z "$ac_cpp_err"; then
7407 ac_cv_header_png_h=yes 8602 ac_header_preproc=yes
7408 else 8603 else
7409 echo "$as_me: failed program was:" >&5 8604 echo "$as_me: failed program was:" >&5
7410 cat conftest.$ac_ext >&5 8605 cat conftest.$ac_ext >&5
7411 ac_cv_header_png_h=no 8606 ac_header_preproc=no
7412 fi 8607 fi
7413 rm -f conftest.err conftest.$ac_ext 8608 rm -f conftest.err conftest.$ac_ext
7414 fi 8609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7415 echo "$as_me:7415: result: $ac_cv_header_png_h" >&5 8610 echo "${ECHO_T}$ac_header_preproc" >&6
8611
8612 # So? What about this header?
8613 case $ac_header_compiler:$ac_header_preproc in
8614 yes:no )
8615 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
8616 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8617 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
8618 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;};;
8619 no:yes )
8620 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
8621 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
8622 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
8623 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
8624 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
8625 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;};;
8626 esac
8627 echo "$as_me:$LINENO: checking for png.h" >&5
8628 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
8629 if test "${ac_cv_header_png_h+set}" = set; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8631 else
8632 ac_cv_header_png_h=$ac_header_preproc
8633 fi
8634 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
7416 echo "${ECHO_T}$ac_cv_header_png_h" >&6 8635 echo "${ECHO_T}$ac_cv_header_png_h" >&6
8636
8637 fi
7417 if test $ac_cv_header_png_h = yes; then 8638 if test $ac_cv_header_png_h = yes; then
7418 echo "$as_me:7418: checking for png_get_channels in -lpng" >&5 8639 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
7419 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 8640 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7420 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 8641 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6 8642 echo $ECHO_N "(cached) $ECHO_C" >&6
7422 else 8643 else
7423 ac_check_lib_save_LIBS=$LIBS 8644 ac_check_lib_save_LIBS=$LIBS
7424 LIBS="-lpng -lz -lm $LIBS" 8645 LIBS="-lpng -lz -lm $LIBS"
7425 cat >conftest.$ac_ext <<_ACEOF 8646 cat >conftest.$ac_ext <<_ACEOF
7426 #line 7426 "configure" 8647 #line $LINENO "configure"
7427 #include "confdefs.h" 8648 #include "confdefs.h"
7428 8649
7429 /* Override any gcc2 internal prototype to avoid an error. */ 8650 /* Override any gcc2 internal prototype to avoid an error. */
7430 #ifdef __cplusplus 8651 #ifdef __cplusplus
7431 extern "C" 8652 extern "C"
7432 #endif 8653 #endif
7433 /* We use char because int might match the return type of a gcc2 8654 /* We use char because int might match the return type of a gcc2
7434 builtin and then its argument prototype would still apply. */ 8655 builtin and then its argument prototype would still apply. */
7435 char png_get_channels (); 8656 char png_get_channels ();
8657 #ifdef F77_DUMMY_MAIN
8658 # ifdef __cplusplus
8659 extern "C"
8660 # endif
8661 int F77_DUMMY_MAIN() { return 1; }
8662 #endif
7436 int 8663 int
7437 main () 8664 main ()
7438 { 8665 {
7439 png_get_channels (); 8666 png_get_channels ();
7440 ; 8667 ;
7441 return 0; 8668 return 0;
7442 } 8669 }
7443 _ACEOF 8670 _ACEOF
7444 rm -f conftest.$ac_objext conftest$ac_exeext 8671 rm -f conftest.$ac_objext conftest$ac_exeext
7445 if { (eval echo "$as_me:7445: \"$ac_link\"") >&5 8672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7446 (eval $ac_link) 2>&5 8673 (eval $ac_link) 2>&5
7447 ac_status=$? 8674 ac_status=$?
7448 echo "$as_me:7448: \$? = $ac_status" >&5 8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); } && 8676 (exit $ac_status); } &&
7450 { ac_try='test -s conftest$ac_exeext' 8677 { ac_try='test -s conftest$ac_exeext'
7451 { (eval echo "$as_me:7451: \"$ac_try\"") >&5 8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7452 (eval $ac_try) 2>&5 8679 (eval $ac_try) 2>&5
7453 ac_status=$? 8680 ac_status=$?
7454 echo "$as_me:7454: \$? = $ac_status" >&5 8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); }; }; then 8682 (exit $ac_status); }; }; then
7456 ac_cv_lib_png_png_get_channels=yes 8683 ac_cv_lib_png_png_get_channels=yes
7457 else 8684 else
7458 echo "$as_me: failed program was:" >&5 8685 echo "$as_me: failed program was:" >&5
7459 cat conftest.$ac_ext >&5 8686 cat conftest.$ac_ext >&5
7460 ac_cv_lib_png_png_get_channels=no 8687 ac_cv_lib_png_png_get_channels=no
7461 fi 8688 fi
7462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8689 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7463 LIBS=$ac_check_lib_save_LIBS 8690 LIBS=$ac_check_lib_save_LIBS
7464 fi 8691 fi
7465 echo "$as_me:7465: result: $ac_cv_lib_png_png_get_channels" >&5 8692 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
7466 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 8693 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7467 if test $ac_cv_lib_png_png_get_channels = yes; then 8694 if test $ac_cv_lib_png_png_get_channels = yes; then
7468 HAVE_PNG=yes 8695 HAVE_PNG=yes
7469 fi 8696 fi
7470 8697
7471 fi 8698 fi
7472 8699
8700
7473 fi 8701 fi
7474 8702
7475 if test "${HAVE_PNG}" = "yes"; then 8703 if test "${HAVE_PNG}" = "yes"; then
7476 8704
7477 cat >>confdefs.h <<\EOF 8705 cat >>confdefs.h <<\_ACEOF
7478 #define HAVE_PNG 1 8706 #define HAVE_PNG 1
7479 EOF 8707 _ACEOF
7480 8708
7481 fi 8709 fi
7482 fi 8710 fi
7483 8711
7484 ### Use -ltiff if available, unless `--with-tiff=no'. 8712 ### Use -ltiff if available, unless `--with-tiff=no'.
7485 HAVE_TIFF=no 8713 HAVE_TIFF=no
7486 if test "${HAVE_X11}" = "yes"; then 8714 if test "${HAVE_X11}" = "yes"; then
7487 if test "${with_tiff}" != "no"; then 8715 if test "${with_tiff}" != "no"; then
7488 echo "$as_me:7488: checking for tiffio.h" >&5 8716 if test "${ac_cv_header_tiffio_h+set}" = set; then
8717 echo "$as_me:$LINENO: checking for tiffio.h" >&5
7489 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 8718 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7490 if test "${ac_cv_header_tiffio_h+set}" = set; then 8719 if test "${ac_cv_header_tiffio_h+set}" = set; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6 8720 echo $ECHO_N "(cached) $ECHO_C" >&6
7492 else 8721 fi
7493 cat >conftest.$ac_ext <<_ACEOF 8722 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
7494 #line 7494 "configure" 8723 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7495 #include "confdefs.h" 8724 else
8725 # Is the header compilable?
8726 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
8727 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
8728 cat >conftest.$ac_ext <<_ACEOF
8729 #line $LINENO "configure"
8730 #include "confdefs.h"
8731 $ac_includes_default
7496 #include <tiffio.h> 8732 #include <tiffio.h>
7497 _ACEOF 8733 _ACEOF
7498 if { (eval echo "$as_me:7498: \"$ac_cpp conftest.$ac_ext\"") >&5 8734 rm -f conftest.$ac_objext
8735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8736 (eval $ac_compile) 2>&5
8737 ac_status=$?
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); } &&
8740 { ac_try='test -s conftest.$ac_objext'
8741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8742 (eval $ac_try) 2>&5
8743 ac_status=$?
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); }; }; then
8746 ac_header_compiler=yes
8747 else
8748 echo "$as_me: failed program was:" >&5
8749 cat conftest.$ac_ext >&5
8750 ac_header_compiler=no
8751 fi
8752 rm -f conftest.$ac_objext conftest.$ac_ext
8753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8754 echo "${ECHO_T}$ac_header_compiler" >&6
8755
8756 # Is the header present?
8757 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
8758 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
8759 cat >conftest.$ac_ext <<_ACEOF
8760 #line $LINENO "configure"
8761 #include "confdefs.h"
8762 #include <tiffio.h>
8763 _ACEOF
8764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7500 ac_status=$? 8766 ac_status=$?
7501 egrep -v '^ *\+' conftest.er1 >conftest.err 8767 egrep -v '^ *\+' conftest.er1 >conftest.err
7502 rm -f conftest.er1 8768 rm -f conftest.er1
7503 cat conftest.err >&5 8769 cat conftest.err >&5
7504 echo "$as_me:7504: \$? = $ac_status" >&5 8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); } >/dev/null; then 8771 (exit $ac_status); } >/dev/null; then
7506 if test -s conftest.err; then 8772 if test -s conftest.err; then
7507 ac_cpp_err=$ac_c_preproc_warn_flag 8773 ac_cpp_err=$ac_c_preproc_warn_flag
7508 else 8774 else
7509 ac_cpp_err= 8775 ac_cpp_err=
7510 fi 8776 fi
7511 else 8777 else
7512 ac_cpp_err=yes 8778 ac_cpp_err=yes
7513 fi 8779 fi
7514 if test -z "$ac_cpp_err"; then 8780 if test -z "$ac_cpp_err"; then
7515 ac_cv_header_tiffio_h=yes 8781 ac_header_preproc=yes
7516 else 8782 else
7517 echo "$as_me: failed program was:" >&5 8783 echo "$as_me: failed program was:" >&5
7518 cat conftest.$ac_ext >&5 8784 cat conftest.$ac_ext >&5
7519 ac_cv_header_tiffio_h=no 8785 ac_header_preproc=no
7520 fi 8786 fi
7521 rm -f conftest.err conftest.$ac_ext 8787 rm -f conftest.err conftest.$ac_ext
7522 fi 8788 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7523 echo "$as_me:7523: result: $ac_cv_header_tiffio_h" >&5 8789 echo "${ECHO_T}$ac_header_preproc" >&6
8790
8791 # So? What about this header?
8792 case $ac_header_compiler:$ac_header_preproc in
8793 yes:no )
8794 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
8795 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8796 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
8797 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};;
8798 no:yes )
8799 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
8800 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
8801 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
8802 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
8803 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
8804 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};;
8805 esac
8806 echo "$as_me:$LINENO: checking for tiffio.h" >&5
8807 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
8808 if test "${ac_cv_header_tiffio_h+set}" = set; then
8809 echo $ECHO_N "(cached) $ECHO_C" >&6
8810 else
8811 ac_cv_header_tiffio_h=$ac_header_preproc
8812 fi
8813 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
7524 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 8814 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
8815
8816 fi
7525 if test $ac_cv_header_tiffio_h = yes; then 8817 if test $ac_cv_header_tiffio_h = yes; then
7526 tifflibs="-lz -lm" 8818 tifflibs="-lz -lm"
7527 # At least one tiff package requires the jpeg library. 8819 # At least one tiff package requires the jpeg library.
7528 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 8820 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7529 echo "$as_me:7529: checking for TIFFGetVersion in -ltiff" >&5 8821 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
7530 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 8822 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7531 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 8823 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7532 echo $ECHO_N "(cached) $ECHO_C" >&6 8824 echo $ECHO_N "(cached) $ECHO_C" >&6
7533 else 8825 else
7534 ac_check_lib_save_LIBS=$LIBS 8826 ac_check_lib_save_LIBS=$LIBS
7535 LIBS="-ltiff $tifflibs $LIBS" 8827 LIBS="-ltiff $tifflibs $LIBS"
7536 cat >conftest.$ac_ext <<_ACEOF 8828 cat >conftest.$ac_ext <<_ACEOF
7537 #line 7537 "configure" 8829 #line $LINENO "configure"
7538 #include "confdefs.h" 8830 #include "confdefs.h"
7539 8831
7540 /* Override any gcc2 internal prototype to avoid an error. */ 8832 /* Override any gcc2 internal prototype to avoid an error. */
7541 #ifdef __cplusplus 8833 #ifdef __cplusplus
7542 extern "C" 8834 extern "C"
7543 #endif 8835 #endif
7544 /* We use char because int might match the return type of a gcc2 8836 /* We use char because int might match the return type of a gcc2
7545 builtin and then its argument prototype would still apply. */ 8837 builtin and then its argument prototype would still apply. */
7546 char TIFFGetVersion (); 8838 char TIFFGetVersion ();
8839 #ifdef F77_DUMMY_MAIN
8840 # ifdef __cplusplus
8841 extern "C"
8842 # endif
8843 int F77_DUMMY_MAIN() { return 1; }
8844 #endif
7547 int 8845 int
7548 main () 8846 main ()
7549 { 8847 {
7550 TIFFGetVersion (); 8848 TIFFGetVersion ();
7551 ; 8849 ;
7552 return 0; 8850 return 0;
7553 } 8851 }
7554 _ACEOF 8852 _ACEOF
7555 rm -f conftest.$ac_objext conftest$ac_exeext 8853 rm -f conftest.$ac_objext conftest$ac_exeext
7556 if { (eval echo "$as_me:7556: \"$ac_link\"") >&5 8854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7557 (eval $ac_link) 2>&5 8855 (eval $ac_link) 2>&5
7558 ac_status=$? 8856 ac_status=$?
7559 echo "$as_me:7559: \$? = $ac_status" >&5 8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); } && 8858 (exit $ac_status); } &&
7561 { ac_try='test -s conftest$ac_exeext' 8859 { ac_try='test -s conftest$ac_exeext'
7562 { (eval echo "$as_me:7562: \"$ac_try\"") >&5 8860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563 (eval $ac_try) 2>&5 8861 (eval $ac_try) 2>&5
7564 ac_status=$? 8862 ac_status=$?
7565 echo "$as_me:7565: \$? = $ac_status" >&5 8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); }; }; then 8864 (exit $ac_status); }; }; then
7567 ac_cv_lib_tiff_TIFFGetVersion=yes 8865 ac_cv_lib_tiff_TIFFGetVersion=yes
7568 else 8866 else
7569 echo "$as_me: failed program was:" >&5 8867 echo "$as_me: failed program was:" >&5
7570 cat conftest.$ac_ext >&5 8868 cat conftest.$ac_ext >&5
7571 ac_cv_lib_tiff_TIFFGetVersion=no 8869 ac_cv_lib_tiff_TIFFGetVersion=no
7572 fi 8870 fi
7573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8871 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7574 LIBS=$ac_check_lib_save_LIBS 8872 LIBS=$ac_check_lib_save_LIBS
7575 fi 8873 fi
7576 echo "$as_me:7576: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 8874 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7577 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 8875 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7578 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 8876 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7579 HAVE_TIFF=yes 8877 HAVE_TIFF=yes
7580 fi 8878 fi
7581 8879
7582 fi 8880 fi
7583 8881
8882
7584 fi 8883 fi
7585 8884
7586 if test "${HAVE_TIFF}" = "yes"; then 8885 if test "${HAVE_TIFF}" = "yes"; then
7587 8886
7588 cat >>confdefs.h <<\EOF 8887 cat >>confdefs.h <<\_ACEOF
7589 #define HAVE_TIFF 1 8888 #define HAVE_TIFF 1
7590 EOF 8889 _ACEOF
7591 8890
7592 fi 8891 fi
7593 fi 8892 fi
7594 8893
7595 ### Use -lgif if available, unless `--with-gif=no'. 8894 ### Use -lgif if available, unless `--with-gif=no'.
7596 HAVE_GIF=no 8895 HAVE_GIF=no
7597 if test "${HAVE_X11}" = "yes"; then 8896 if test "${HAVE_X11}" = "yes"; then
7598 if test "${with_gif}" != "no"; then 8897 if test "${with_gif}" != "no"; then
7599 echo "$as_me:7599: checking for gif_lib.h" >&5 8898 if test "${ac_cv_header_gif_lib_h+set}" = set; then
8899 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
7600 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 8900 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7601 if test "${ac_cv_header_gif_lib_h+set}" = set; then 8901 if test "${ac_cv_header_gif_lib_h+set}" = set; then
7602 echo $ECHO_N "(cached) $ECHO_C" >&6 8902 echo $ECHO_N "(cached) $ECHO_C" >&6
7603 else 8903 fi
7604 cat >conftest.$ac_ext <<_ACEOF 8904 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
7605 #line 7605 "configure" 8905 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7606 #include "confdefs.h" 8906 else
8907 # Is the header compilable?
8908 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
8909 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
8910 cat >conftest.$ac_ext <<_ACEOF
8911 #line $LINENO "configure"
8912 #include "confdefs.h"
8913 $ac_includes_default
7607 #include <gif_lib.h> 8914 #include <gif_lib.h>
7608 _ACEOF 8915 _ACEOF
7609 if { (eval echo "$as_me:7609: \"$ac_cpp conftest.$ac_ext\"") >&5 8916 rm -f conftest.$ac_objext
8917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8918 (eval $ac_compile) 2>&5
8919 ac_status=$?
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); } &&
8922 { ac_try='test -s conftest.$ac_objext'
8923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8924 (eval $ac_try) 2>&5
8925 ac_status=$?
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); }; }; then
8928 ac_header_compiler=yes
8929 else
8930 echo "$as_me: failed program was:" >&5
8931 cat conftest.$ac_ext >&5
8932 ac_header_compiler=no
8933 fi
8934 rm -f conftest.$ac_objext conftest.$ac_ext
8935 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8936 echo "${ECHO_T}$ac_header_compiler" >&6
8937
8938 # Is the header present?
8939 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
8940 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
8941 cat >conftest.$ac_ext <<_ACEOF
8942 #line $LINENO "configure"
8943 #include "confdefs.h"
8944 #include <gif_lib.h>
8945 _ACEOF
8946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7611 ac_status=$? 8948 ac_status=$?
7612 egrep -v '^ *\+' conftest.er1 >conftest.err 8949 egrep -v '^ *\+' conftest.er1 >conftest.err
7613 rm -f conftest.er1 8950 rm -f conftest.er1
7614 cat conftest.err >&5 8951 cat conftest.err >&5
7615 echo "$as_me:7615: \$? = $ac_status" >&5 8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); } >/dev/null; then 8953 (exit $ac_status); } >/dev/null; then
7617 if test -s conftest.err; then 8954 if test -s conftest.err; then
7618 ac_cpp_err=$ac_c_preproc_warn_flag 8955 ac_cpp_err=$ac_c_preproc_warn_flag
7619 else 8956 else
7620 ac_cpp_err= 8957 ac_cpp_err=
7621 fi 8958 fi
7622 else 8959 else
7623 ac_cpp_err=yes 8960 ac_cpp_err=yes
7624 fi 8961 fi
7625 if test -z "$ac_cpp_err"; then 8962 if test -z "$ac_cpp_err"; then
7626 ac_cv_header_gif_lib_h=yes 8963 ac_header_preproc=yes
7627 else 8964 else
7628 echo "$as_me: failed program was:" >&5 8965 echo "$as_me: failed program was:" >&5
7629 cat conftest.$ac_ext >&5 8966 cat conftest.$ac_ext >&5
7630 ac_cv_header_gif_lib_h=no 8967 ac_header_preproc=no
7631 fi 8968 fi
7632 rm -f conftest.err conftest.$ac_ext 8969 rm -f conftest.err conftest.$ac_ext
7633 fi 8970 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7634 echo "$as_me:7634: result: $ac_cv_header_gif_lib_h" >&5 8971 echo "${ECHO_T}$ac_header_preproc" >&6
8972
8973 # So? What about this header?
8974 case $ac_header_compiler:$ac_header_preproc in
8975 yes:no )
8976 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
8977 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8978 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
8979 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;};;
8980 no:yes )
8981 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
8982 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
8983 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
8984 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
8985 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
8986 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;};;
8987 esac
8988 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
8989 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
8990 if test "${ac_cv_header_gif_lib_h+set}" = set; then
8991 echo $ECHO_N "(cached) $ECHO_C" >&6
8992 else
8993 ac_cv_header_gif_lib_h=$ac_header_preproc
8994 fi
8995 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
7635 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 8996 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
8997
8998 fi
7636 if test $ac_cv_header_gif_lib_h = yes; then 8999 if test $ac_cv_header_gif_lib_h = yes; then
7637 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 9000 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
7638 # Earlier versions can crash Emacs. 9001 # Earlier versions can crash Emacs.
7639 echo "$as_me:7639: checking for EGifPutExtensionLast in -lungif" >&5 9002 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
7640 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 9003 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
7641 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 9004 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
7642 echo $ECHO_N "(cached) $ECHO_C" >&6 9005 echo $ECHO_N "(cached) $ECHO_C" >&6
7643 else 9006 else
7644 ac_check_lib_save_LIBS=$LIBS 9007 ac_check_lib_save_LIBS=$LIBS
7645 LIBS="-lungif $LIBS" 9008 LIBS="-lungif $LIBS"
7646 cat >conftest.$ac_ext <<_ACEOF 9009 cat >conftest.$ac_ext <<_ACEOF
7647 #line 7647 "configure" 9010 #line $LINENO "configure"
7648 #include "confdefs.h" 9011 #include "confdefs.h"
7649 9012
7650 /* Override any gcc2 internal prototype to avoid an error. */ 9013 /* Override any gcc2 internal prototype to avoid an error. */
7651 #ifdef __cplusplus 9014 #ifdef __cplusplus
7652 extern "C" 9015 extern "C"
7653 #endif 9016 #endif
7654 /* We use char because int might match the return type of a gcc2 9017 /* We use char because int might match the return type of a gcc2
7655 builtin and then its argument prototype would still apply. */ 9018 builtin and then its argument prototype would still apply. */
7656 char EGifPutExtensionLast (); 9019 char EGifPutExtensionLast ();
9020 #ifdef F77_DUMMY_MAIN
9021 # ifdef __cplusplus
9022 extern "C"
9023 # endif
9024 int F77_DUMMY_MAIN() { return 1; }
9025 #endif
7657 int 9026 int
7658 main () 9027 main ()
7659 { 9028 {
7660 EGifPutExtensionLast (); 9029 EGifPutExtensionLast ();
7661 ; 9030 ;
7662 return 0; 9031 return 0;
7663 } 9032 }
7664 _ACEOF 9033 _ACEOF
7665 rm -f conftest.$ac_objext conftest$ac_exeext 9034 rm -f conftest.$ac_objext conftest$ac_exeext
7666 if { (eval echo "$as_me:7666: \"$ac_link\"") >&5 9035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7667 (eval $ac_link) 2>&5 9036 (eval $ac_link) 2>&5
7668 ac_status=$? 9037 ac_status=$?
7669 echo "$as_me:7669: \$? = $ac_status" >&5 9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } && 9039 (exit $ac_status); } &&
7671 { ac_try='test -s conftest$ac_exeext' 9040 { ac_try='test -s conftest$ac_exeext'
7672 { (eval echo "$as_me:7672: \"$ac_try\"") >&5 9041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7673 (eval $ac_try) 2>&5 9042 (eval $ac_try) 2>&5
7674 ac_status=$? 9043 ac_status=$?
7675 echo "$as_me:7675: \$? = $ac_status" >&5 9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); }; }; then 9045 (exit $ac_status); }; }; then
7677 ac_cv_lib_ungif_EGifPutExtensionLast=yes 9046 ac_cv_lib_ungif_EGifPutExtensionLast=yes
7678 else 9047 else
7679 echo "$as_me: failed program was:" >&5 9048 echo "$as_me: failed program was:" >&5
7680 cat conftest.$ac_ext >&5 9049 cat conftest.$ac_ext >&5
7681 ac_cv_lib_ungif_EGifPutExtensionLast=no 9050 ac_cv_lib_ungif_EGifPutExtensionLast=no
7682 fi 9051 fi
7683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7684 LIBS=$ac_check_lib_save_LIBS 9053 LIBS=$ac_check_lib_save_LIBS
7685 fi 9054 fi
7686 echo "$as_me:7686: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 9055 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
7687 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 9056 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
7688 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 9057 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
7689 HAVE_GIF=yes 9058 HAVE_GIF=yes
7690 fi 9059 fi
7691 9060
7692 fi 9061 fi
7693 9062
9063
7694 fi 9064 fi
7695 9065
7696 if test "${HAVE_GIF}" = "yes"; then 9066 if test "${HAVE_GIF}" = "yes"; then
7697 9067
7698 cat >>confdefs.h <<\EOF 9068 cat >>confdefs.h <<\_ACEOF
7699 #define HAVE_GIF 1 9069 #define HAVE_GIF 1
7700 EOF 9070 _ACEOF
7701 9071
7702 fi 9072 fi
7703 fi 9073 fi
7704 9074
7705 ### Use Mac OS X Carbon API to implement GUI. 9075 ### Use Mac OS X Carbon API to implement GUI.
7706 HAVE_CARBON=no 9076 HAVE_CARBON=no
7707 if test "${with_carbon}" != "no"; then 9077 if test "${with_carbon}" != "no"; then
7708 echo "$as_me:7708: checking for Carbon/Carbon.h" >&5 9078 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
9079 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
7709 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 9080 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
7710 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 9081 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
7711 echo $ECHO_N "(cached) $ECHO_C" >&6 9082 echo $ECHO_N "(cached) $ECHO_C" >&6
7712 else 9083 fi
7713 cat >conftest.$ac_ext <<_ACEOF 9084 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
7714 #line 7714 "configure" 9085 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
7715 #include "confdefs.h" 9086 else
9087 # Is the header compilable?
9088 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
9089 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
9090 cat >conftest.$ac_ext <<_ACEOF
9091 #line $LINENO "configure"
9092 #include "confdefs.h"
9093 $ac_includes_default
7716 #include <Carbon/Carbon.h> 9094 #include <Carbon/Carbon.h>
7717 _ACEOF 9095 _ACEOF
7718 if { (eval echo "$as_me:7718: \"$ac_cpp conftest.$ac_ext\"") >&5 9096 rm -f conftest.$ac_objext
9097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9098 (eval $ac_compile) 2>&5
9099 ac_status=$?
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 (exit $ac_status); } &&
9102 { ac_try='test -s conftest.$ac_objext'
9103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9104 (eval $ac_try) 2>&5
9105 ac_status=$?
9106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107 (exit $ac_status); }; }; then
9108 ac_header_compiler=yes
9109 else
9110 echo "$as_me: failed program was:" >&5
9111 cat conftest.$ac_ext >&5
9112 ac_header_compiler=no
9113 fi
9114 rm -f conftest.$ac_objext conftest.$ac_ext
9115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9116 echo "${ECHO_T}$ac_header_compiler" >&6
9117
9118 # Is the header present?
9119 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
9120 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
9121 cat >conftest.$ac_ext <<_ACEOF
9122 #line $LINENO "configure"
9123 #include "confdefs.h"
9124 #include <Carbon/Carbon.h>
9125 _ACEOF
9126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7720 ac_status=$? 9128 ac_status=$?
7721 egrep -v '^ *\+' conftest.er1 >conftest.err 9129 egrep -v '^ *\+' conftest.er1 >conftest.err
7722 rm -f conftest.er1 9130 rm -f conftest.er1
7723 cat conftest.err >&5 9131 cat conftest.err >&5
7724 echo "$as_me:7724: \$? = $ac_status" >&5 9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); } >/dev/null; then 9133 (exit $ac_status); } >/dev/null; then
7726 if test -s conftest.err; then 9134 if test -s conftest.err; then
7727 ac_cpp_err=$ac_c_preproc_warn_flag 9135 ac_cpp_err=$ac_c_preproc_warn_flag
7728 else 9136 else
7729 ac_cpp_err= 9137 ac_cpp_err=
7730 fi 9138 fi
7731 else 9139 else
7732 ac_cpp_err=yes 9140 ac_cpp_err=yes
7733 fi 9141 fi
7734 if test -z "$ac_cpp_err"; then 9142 if test -z "$ac_cpp_err"; then
7735 ac_cv_header_Carbon_Carbon_h=yes 9143 ac_header_preproc=yes
7736 else 9144 else
7737 echo "$as_me: failed program was:" >&5 9145 echo "$as_me: failed program was:" >&5
7738 cat conftest.$ac_ext >&5 9146 cat conftest.$ac_ext >&5
7739 ac_cv_header_Carbon_Carbon_h=no 9147 ac_header_preproc=no
7740 fi 9148 fi
7741 rm -f conftest.err conftest.$ac_ext 9149 rm -f conftest.err conftest.$ac_ext
7742 fi 9150 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7743 echo "$as_me:7743: result: $ac_cv_header_Carbon_Carbon_h" >&5 9151 echo "${ECHO_T}$ac_header_preproc" >&6
9152
9153 # So? What about this header?
9154 case $ac_header_compiler:$ac_header_preproc in
9155 yes:no )
9156 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
9157 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9158 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
9159 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;};;
9160 no:yes )
9161 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
9162 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
9163 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
9164 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
9165 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
9166 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;};;
9167 esac
9168 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
9169 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
9170 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9172 else
9173 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
9174 fi
9175 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
7744 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 9176 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
9177
9178 fi
7745 if test $ac_cv_header_Carbon_Carbon_h = yes; then 9179 if test $ac_cv_header_Carbon_Carbon_h = yes; then
7746 HAVE_CARBON=yes 9180 HAVE_CARBON=yes
7747 fi 9181 fi
7748 9182
9183
7749 fi 9184 fi
7750 9185
7751 if test "${HAVE_CARBON}" = "yes"; then 9186 if test "${HAVE_CARBON}" = "yes"; then
7752 9187
7753 cat >>confdefs.h <<\EOF 9188 cat >>confdefs.h <<\_ACEOF
7754 #define HAVE_CARBON 1 9189 #define HAVE_CARBON 1
7755 EOF 9190 _ACEOF
7756 9191
7757 fi 9192 fi
7758 9193
7759 ### Use session management (-lSM -lICE) if available 9194 ### Use session management (-lSM -lICE) if available
7760 HAVE_X_SM=no 9195 HAVE_X_SM=no
7761 if test "${HAVE_X11}" = "yes"; then 9196 if test "${HAVE_X11}" = "yes"; then
7762 echo "$as_me:7762: checking for X11/SM/SMlib.h" >&5 9197 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
9198 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
7763 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 9199 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
7764 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 9200 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
7765 echo $ECHO_N "(cached) $ECHO_C" >&6 9201 echo $ECHO_N "(cached) $ECHO_C" >&6
7766 else 9202 fi
7767 cat >conftest.$ac_ext <<_ACEOF 9203 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
7768 #line 7768 "configure" 9204 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
7769 #include "confdefs.h" 9205 else
9206 # Is the header compilable?
9207 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
9208 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
9209 cat >conftest.$ac_ext <<_ACEOF
9210 #line $LINENO "configure"
9211 #include "confdefs.h"
9212 $ac_includes_default
7770 #include <X11/SM/SMlib.h> 9213 #include <X11/SM/SMlib.h>
7771 _ACEOF 9214 _ACEOF
7772 if { (eval echo "$as_me:7772: \"$ac_cpp conftest.$ac_ext\"") >&5 9215 rm -f conftest.$ac_objext
9216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9217 (eval $ac_compile) 2>&5
9218 ac_status=$?
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); } &&
9221 { ac_try='test -s conftest.$ac_objext'
9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9223 (eval $ac_try) 2>&5
9224 ac_status=$?
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); }; }; then
9227 ac_header_compiler=yes
9228 else
9229 echo "$as_me: failed program was:" >&5
9230 cat conftest.$ac_ext >&5
9231 ac_header_compiler=no
9232 fi
9233 rm -f conftest.$ac_objext conftest.$ac_ext
9234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9235 echo "${ECHO_T}$ac_header_compiler" >&6
9236
9237 # Is the header present?
9238 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
9239 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
9240 cat >conftest.$ac_ext <<_ACEOF
9241 #line $LINENO "configure"
9242 #include "confdefs.h"
9243 #include <X11/SM/SMlib.h>
9244 _ACEOF
9245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7774 ac_status=$? 9247 ac_status=$?
7775 egrep -v '^ *\+' conftest.er1 >conftest.err 9248 egrep -v '^ *\+' conftest.er1 >conftest.err
7776 rm -f conftest.er1 9249 rm -f conftest.er1
7777 cat conftest.err >&5 9250 cat conftest.err >&5
7778 echo "$as_me:7778: \$? = $ac_status" >&5 9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); } >/dev/null; then 9252 (exit $ac_status); } >/dev/null; then
7780 if test -s conftest.err; then 9253 if test -s conftest.err; then
7781 ac_cpp_err=$ac_c_preproc_warn_flag 9254 ac_cpp_err=$ac_c_preproc_warn_flag
7782 else 9255 else
7783 ac_cpp_err= 9256 ac_cpp_err=
7784 fi 9257 fi
7785 else 9258 else
7786 ac_cpp_err=yes 9259 ac_cpp_err=yes
7787 fi 9260 fi
7788 if test -z "$ac_cpp_err"; then 9261 if test -z "$ac_cpp_err"; then
7789 ac_cv_header_X11_SM_SMlib_h=yes 9262 ac_header_preproc=yes
7790 else 9263 else
7791 echo "$as_me: failed program was:" >&5 9264 echo "$as_me: failed program was:" >&5
7792 cat conftest.$ac_ext >&5 9265 cat conftest.$ac_ext >&5
7793 ac_cv_header_X11_SM_SMlib_h=no 9266 ac_header_preproc=no
7794 fi 9267 fi
7795 rm -f conftest.err conftest.$ac_ext 9268 rm -f conftest.err conftest.$ac_ext
7796 fi 9269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7797 echo "$as_me:7797: result: $ac_cv_header_X11_SM_SMlib_h" >&5 9270 echo "${ECHO_T}$ac_header_preproc" >&6
9271
9272 # So? What about this header?
9273 case $ac_header_compiler:$ac_header_preproc in
9274 yes:no )
9275 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
9276 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9277 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
9278 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;};;
9279 no:yes )
9280 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
9281 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
9282 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
9283 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
9284 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
9285 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;};;
9286 esac
9287 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
9288 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
9289 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
9290 echo $ECHO_N "(cached) $ECHO_C" >&6
9291 else
9292 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
9293 fi
9294 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
7798 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 9295 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
9296
9297 fi
7799 if test $ac_cv_header_X11_SM_SMlib_h = yes; then 9298 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
7800 echo "$as_me:7800: checking for SmcOpenConnection in -lSM" >&5 9299 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
7801 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 9300 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
7802 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 9301 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
7803 echo $ECHO_N "(cached) $ECHO_C" >&6 9302 echo $ECHO_N "(cached) $ECHO_C" >&6
7804 else 9303 else
7805 ac_check_lib_save_LIBS=$LIBS 9304 ac_check_lib_save_LIBS=$LIBS
7806 LIBS="-lSM $LIBS" 9305 LIBS="-lSM $LIBS"
7807 cat >conftest.$ac_ext <<_ACEOF 9306 cat >conftest.$ac_ext <<_ACEOF
7808 #line 7808 "configure" 9307 #line $LINENO "configure"
7809 #include "confdefs.h" 9308 #include "confdefs.h"
7810 9309
7811 /* Override any gcc2 internal prototype to avoid an error. */ 9310 /* Override any gcc2 internal prototype to avoid an error. */
7812 #ifdef __cplusplus 9311 #ifdef __cplusplus
7813 extern "C" 9312 extern "C"
7814 #endif 9313 #endif
7815 /* We use char because int might match the return type of a gcc2 9314 /* We use char because int might match the return type of a gcc2
7816 builtin and then its argument prototype would still apply. */ 9315 builtin and then its argument prototype would still apply. */
7817 char SmcOpenConnection (); 9316 char SmcOpenConnection ();
9317 #ifdef F77_DUMMY_MAIN
9318 # ifdef __cplusplus
9319 extern "C"
9320 # endif
9321 int F77_DUMMY_MAIN() { return 1; }
9322 #endif
7818 int 9323 int
7819 main () 9324 main ()
7820 { 9325 {
7821 SmcOpenConnection (); 9326 SmcOpenConnection ();
7822 ; 9327 ;
7823 return 0; 9328 return 0;
7824 } 9329 }
7825 _ACEOF 9330 _ACEOF
7826 rm -f conftest.$ac_objext conftest$ac_exeext 9331 rm -f conftest.$ac_objext conftest$ac_exeext
7827 if { (eval echo "$as_me:7827: \"$ac_link\"") >&5 9332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7828 (eval $ac_link) 2>&5 9333 (eval $ac_link) 2>&5
7829 ac_status=$? 9334 ac_status=$?
7830 echo "$as_me:7830: \$? = $ac_status" >&5 9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); } && 9336 (exit $ac_status); } &&
7832 { ac_try='test -s conftest$ac_exeext' 9337 { ac_try='test -s conftest$ac_exeext'
7833 { (eval echo "$as_me:7833: \"$ac_try\"") >&5 9338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834 (eval $ac_try) 2>&5 9339 (eval $ac_try) 2>&5
7835 ac_status=$? 9340 ac_status=$?
7836 echo "$as_me:7836: \$? = $ac_status" >&5 9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }; }; then 9342 (exit $ac_status); }; }; then
7838 ac_cv_lib_SM_SmcOpenConnection=yes 9343 ac_cv_lib_SM_SmcOpenConnection=yes
7839 else 9344 else
7840 echo "$as_me: failed program was:" >&5 9345 echo "$as_me: failed program was:" >&5
7841 cat conftest.$ac_ext >&5 9346 cat conftest.$ac_ext >&5
7842 ac_cv_lib_SM_SmcOpenConnection=no 9347 ac_cv_lib_SM_SmcOpenConnection=no
7843 fi 9348 fi
7844 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7845 LIBS=$ac_check_lib_save_LIBS 9350 LIBS=$ac_check_lib_save_LIBS
7846 fi 9351 fi
7847 echo "$as_me:7847: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 9352 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
7848 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 9353 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
7849 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 9354 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
7850 HAVE_X_SM=yes 9355 HAVE_X_SM=yes
7851 else 9356 else
7852 -lICE 9357 -lICE
7853 fi 9358 fi
7854 9359
7855 fi 9360 fi
7856 9361
9362
9363
7857 if test "${HAVE_X_SM}" = "yes"; then 9364 if test "${HAVE_X_SM}" = "yes"; then
7858 9365
7859 cat >>confdefs.h <<\EOF 9366 cat >>confdefs.h <<\_ACEOF
7860 #define HAVE_X_SM 1 9367 #define HAVE_X_SM 1
7861 EOF 9368 _ACEOF
7862 9369
7863 case "$LIBS" in 9370 case "$LIBS" in
7864 *-lSM*) ;; 9371 *-lSM*) ;;
7865 *) LIBS="-lSM -lICE $LIBS" ;; 9372 *) LIBS="-lSM -lICE $LIBS" ;;
7866 esac 9373 esac
7867 fi 9374 fi
7868 fi 9375 fi
7869 9376
7870 # If netdb.h doesn't declare h_errno, we must declare it by hand. 9377 # If netdb.h doesn't declare h_errno, we must declare it by hand.
7871 echo "$as_me:7871: checking whether netdb declares h_errno" >&5 9378 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
7872 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 9379 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7873 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 9380 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7874 echo $ECHO_N "(cached) $ECHO_C" >&6 9381 echo $ECHO_N "(cached) $ECHO_C" >&6
7875 else 9382 else
7876 cat >conftest.$ac_ext <<_ACEOF 9383 cat >conftest.$ac_ext <<_ACEOF
7877 #line 7877 "configure" 9384 #line $LINENO "configure"
7878 #include "confdefs.h" 9385 #include "confdefs.h"
7879 #include <netdb.h> 9386 #include <netdb.h>
9387 #ifdef F77_DUMMY_MAIN
9388 # ifdef __cplusplus
9389 extern "C"
9390 # endif
9391 int F77_DUMMY_MAIN() { return 1; }
9392 #endif
7880 int 9393 int
7881 main () 9394 main ()
7882 { 9395 {
7883 return h_errno; 9396 return h_errno;
7884 ; 9397 ;
7885 return 0; 9398 return 0;
7886 } 9399 }
7887 _ACEOF 9400 _ACEOF
7888 rm -f conftest.$ac_objext conftest$ac_exeext 9401 rm -f conftest.$ac_objext conftest$ac_exeext
7889 if { (eval echo "$as_me:7889: \"$ac_link\"") >&5 9402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7890 (eval $ac_link) 2>&5 9403 (eval $ac_link) 2>&5
7891 ac_status=$? 9404 ac_status=$?
7892 echo "$as_me:7892: \$? = $ac_status" >&5 9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); } && 9406 (exit $ac_status); } &&
7894 { ac_try='test -s conftest$ac_exeext' 9407 { ac_try='test -s conftest$ac_exeext'
7895 { (eval echo "$as_me:7895: \"$ac_try\"") >&5 9408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7896 (eval $ac_try) 2>&5 9409 (eval $ac_try) 2>&5
7897 ac_status=$? 9410 ac_status=$?
7898 echo "$as_me:7898: \$? = $ac_status" >&5 9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7899 (exit $ac_status); }; }; then 9412 (exit $ac_status); }; }; then
7900 emacs_cv_netdb_declares_h_errno=yes 9413 emacs_cv_netdb_declares_h_errno=yes
7901 else 9414 else
7902 echo "$as_me: failed program was:" >&5 9415 echo "$as_me: failed program was:" >&5
7903 cat conftest.$ac_ext >&5 9416 cat conftest.$ac_ext >&5
7904 emacs_cv_netdb_declares_h_errno=no 9417 emacs_cv_netdb_declares_h_errno=no
7905 fi 9418 fi
7906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9419 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7907 fi 9420 fi
7908 echo "$as_me:7908: result: $emacs_cv_netdb_declares_h_errno" >&5 9421 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
7909 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 9422 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7910 if test $emacs_cv_netdb_declares_h_errno = yes; then 9423 if test $emacs_cv_netdb_declares_h_errno = yes; then
7911 9424
7912 cat >>confdefs.h <<\EOF 9425 cat >>confdefs.h <<\_ACEOF
7913 #define HAVE_H_ERRNO 1 9426 #define HAVE_H_ERRNO 1
7914 EOF 9427 _ACEOF
7915 9428
7916 fi 9429 fi
7917 9430
7918 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 9431 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7919 # for constant arguments. Useless! 9432 # for constant arguments. Useless!
7920 echo "$as_me:7920: checking for working alloca.h" >&5 9433 echo "$as_me:$LINENO: checking for working alloca.h" >&5
7921 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 9434 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7922 if test "${ac_cv_working_alloca_h+set}" = set; then 9435 if test "${ac_cv_working_alloca_h+set}" = set; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6 9436 echo $ECHO_N "(cached) $ECHO_C" >&6
7924 else 9437 else
7925 cat >conftest.$ac_ext <<_ACEOF 9438 cat >conftest.$ac_ext <<_ACEOF
7926 #line 7926 "configure" 9439 #line $LINENO "configure"
7927 #include "confdefs.h" 9440 #include "confdefs.h"
7928 #include <alloca.h> 9441 #include <alloca.h>
9442 #ifdef F77_DUMMY_MAIN
9443 # ifdef __cplusplus
9444 extern "C"
9445 # endif
9446 int F77_DUMMY_MAIN() { return 1; }
9447 #endif
7929 int 9448 int
7930 main () 9449 main ()
7931 { 9450 {
7932 char *p = (char *) alloca (2 * sizeof (int)); 9451 char *p = (char *) alloca (2 * sizeof (int));
7933 ; 9452 ;
7934 return 0; 9453 return 0;
7935 } 9454 }
7936 _ACEOF 9455 _ACEOF
7937 rm -f conftest.$ac_objext conftest$ac_exeext 9456 rm -f conftest.$ac_objext conftest$ac_exeext
7938 if { (eval echo "$as_me:7938: \"$ac_link\"") >&5 9457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7939 (eval $ac_link) 2>&5 9458 (eval $ac_link) 2>&5
7940 ac_status=$? 9459 ac_status=$?
7941 echo "$as_me:7941: \$? = $ac_status" >&5 9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); } && 9461 (exit $ac_status); } &&
7943 { ac_try='test -s conftest$ac_exeext' 9462 { ac_try='test -s conftest$ac_exeext'
7944 { (eval echo "$as_me:7944: \"$ac_try\"") >&5 9463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 (eval $ac_try) 2>&5 9464 (eval $ac_try) 2>&5
7946 ac_status=$? 9465 ac_status=$?
7947 echo "$as_me:7947: \$? = $ac_status" >&5 9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); }; }; then 9467 (exit $ac_status); }; }; then
7949 ac_cv_working_alloca_h=yes 9468 ac_cv_working_alloca_h=yes
7950 else 9469 else
7951 echo "$as_me: failed program was:" >&5 9470 echo "$as_me: failed program was:" >&5
7952 cat conftest.$ac_ext >&5 9471 cat conftest.$ac_ext >&5
7953 ac_cv_working_alloca_h=no 9472 ac_cv_working_alloca_h=no
7954 fi 9473 fi
7955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7956 fi 9475 fi
7957 echo "$as_me:7957: result: $ac_cv_working_alloca_h" >&5 9476 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
7958 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 9477 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7959 if test $ac_cv_working_alloca_h = yes; then 9478 if test $ac_cv_working_alloca_h = yes; then
7960 9479
7961 cat >>confdefs.h <<\EOF 9480 cat >>confdefs.h <<\_ACEOF
7962 #define HAVE_ALLOCA_H 1 9481 #define HAVE_ALLOCA_H 1
7963 EOF 9482 _ACEOF
7964 9483
7965 fi 9484 fi
7966 9485
7967 echo "$as_me:7967: checking for alloca" >&5 9486 echo "$as_me:$LINENO: checking for alloca" >&5
7968 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 9487 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7969 if test "${ac_cv_func_alloca_works+set}" = set; then 9488 if test "${ac_cv_func_alloca_works+set}" = set; then
7970 echo $ECHO_N "(cached) $ECHO_C" >&6 9489 echo $ECHO_N "(cached) $ECHO_C" >&6
7971 else 9490 else
7972 cat >conftest.$ac_ext <<_ACEOF 9491 cat >conftest.$ac_ext <<_ACEOF
7973 #line 7973 "configure" 9492 #line $LINENO "configure"
7974 #include "confdefs.h" 9493 #include "confdefs.h"
7975 #ifdef __GNUC__ 9494 #ifdef __GNUC__
7976 # define alloca __builtin_alloca 9495 # define alloca __builtin_alloca
7977 #else 9496 #else
7978 # ifdef _MSC_VER 9497 # ifdef _MSC_VER
7991 # endif 9510 # endif
7992 # endif 9511 # endif
7993 # endif 9512 # endif
7994 #endif 9513 #endif
7995 9514
9515 #ifdef F77_DUMMY_MAIN
9516 # ifdef __cplusplus
9517 extern "C"
9518 # endif
9519 int F77_DUMMY_MAIN() { return 1; }
9520 #endif
7996 int 9521 int
7997 main () 9522 main ()
7998 { 9523 {
7999 char *p = (char *) alloca (1); 9524 char *p = (char *) alloca (1);
8000 ; 9525 ;
8001 return 0; 9526 return 0;
8002 } 9527 }
8003 _ACEOF 9528 _ACEOF
8004 rm -f conftest.$ac_objext conftest$ac_exeext 9529 rm -f conftest.$ac_objext conftest$ac_exeext
8005 if { (eval echo "$as_me:8005: \"$ac_link\"") >&5 9530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8006 (eval $ac_link) 2>&5 9531 (eval $ac_link) 2>&5
8007 ac_status=$? 9532 ac_status=$?
8008 echo "$as_me:8008: \$? = $ac_status" >&5 9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } && 9534 (exit $ac_status); } &&
8010 { ac_try='test -s conftest$ac_exeext' 9535 { ac_try='test -s conftest$ac_exeext'
8011 { (eval echo "$as_me:8011: \"$ac_try\"") >&5 9536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8012 (eval $ac_try) 2>&5 9537 (eval $ac_try) 2>&5
8013 ac_status=$? 9538 ac_status=$?
8014 echo "$as_me:8014: \$? = $ac_status" >&5 9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }; }; then 9540 (exit $ac_status); }; }; then
8016 ac_cv_func_alloca_works=yes 9541 ac_cv_func_alloca_works=yes
8017 else 9542 else
8018 echo "$as_me: failed program was:" >&5 9543 echo "$as_me: failed program was:" >&5
8019 cat conftest.$ac_ext >&5 9544 cat conftest.$ac_ext >&5
8020 ac_cv_func_alloca_works=no 9545 ac_cv_func_alloca_works=no
8021 fi 9546 fi
8022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9547 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8023 fi 9548 fi
8024 echo "$as_me:8024: result: $ac_cv_func_alloca_works" >&5 9549 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8025 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 9550 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8026 9551
8027 if test $ac_cv_func_alloca_works = yes; then 9552 if test $ac_cv_func_alloca_works = yes; then
8028 9553
8029 cat >>confdefs.h <<\EOF 9554 cat >>confdefs.h <<\_ACEOF
8030 #define HAVE_ALLOCA 1 9555 #define HAVE_ALLOCA 1
8031 EOF 9556 _ACEOF
8032 9557
8033 else 9558 else
8034 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 9559 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8035 # that cause trouble. Some versions do not even contain alloca or 9560 # that cause trouble. Some versions do not even contain alloca or
8036 # contain a buggy version. If you still want to use their alloca, 9561 # contain a buggy version. If you still want to use their alloca,
8037 # use ar to extract alloca.o from them instead of compiling alloca.c. 9562 # use ar to extract alloca.o from them instead of compiling alloca.c.
8038 9563
8039 ALLOCA=alloca.$ac_objext 9564 ALLOCA=alloca.$ac_objext
8040 9565
8041 cat >>confdefs.h <<\EOF 9566 cat >>confdefs.h <<\_ACEOF
8042 #define C_ALLOCA 1 9567 #define C_ALLOCA 1
8043 EOF 9568 _ACEOF
8044 9569
8045 echo "$as_me:8045: checking whether \`alloca.c' needs Cray hooks" >&5 9570
9571 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8046 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 9572 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8047 if test "${ac_cv_os_cray+set}" = set; then 9573 if test "${ac_cv_os_cray+set}" = set; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6 9574 echo $ECHO_N "(cached) $ECHO_C" >&6
8049 else 9575 else
8050 cat >conftest.$ac_ext <<_ACEOF 9576 cat >conftest.$ac_ext <<_ACEOF
8051 #line 8051 "configure" 9577 #line $LINENO "configure"
8052 #include "confdefs.h" 9578 #include "confdefs.h"
8053 #if defined(CRAY) && ! defined(CRAY2) 9579 #if defined(CRAY) && ! defined(CRAY2)
8054 webecray 9580 webecray
8055 #else 9581 #else
8056 wenotbecray 9582 wenotbecray
8064 ac_cv_os_cray=no 9590 ac_cv_os_cray=no
8065 fi 9591 fi
8066 rm -f conftest* 9592 rm -f conftest*
8067 9593
8068 fi 9594 fi
8069 echo "$as_me:8069: result: $ac_cv_os_cray" >&5 9595 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8070 echo "${ECHO_T}$ac_cv_os_cray" >&6 9596 echo "${ECHO_T}$ac_cv_os_cray" >&6
8071 if test $ac_cv_os_cray = yes; then 9597 if test $ac_cv_os_cray = yes; then
8072 for ac_func in _getb67 GETB67 getb67; do 9598 for ac_func in _getb67 GETB67 getb67; do
8073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8074 echo "$as_me:8074: checking for $ac_func" >&5 9600 echo "$as_me:$LINENO: checking for $ac_func" >&5
8075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8076 if eval "test \"\${$as_ac_var+set}\" = set"; then 9602 if eval "test \"\${$as_ac_var+set}\" = set"; then
8077 echo $ECHO_N "(cached) $ECHO_C" >&6 9603 echo $ECHO_N "(cached) $ECHO_C" >&6
8078 else 9604 else
8079 cat >conftest.$ac_ext <<_ACEOF 9605 cat >conftest.$ac_ext <<_ACEOF
8080 #line 8080 "configure" 9606 #line $LINENO "configure"
8081 #include "confdefs.h" 9607 #include "confdefs.h"
8082 /* System header to define __stub macros and hopefully few prototypes, 9608 /* System header to define __stub macros and hopefully few prototypes,
8083 which can conflict with char $ac_func (); below. */ 9609 which can conflict with char $ac_func (); below. */
8084 #include <assert.h> 9610 #include <assert.h>
8085 /* Override any gcc2 internal prototype to avoid an error. */ 9611 /* Override any gcc2 internal prototype to avoid an error. */
8089 /* We use char because int might match the return type of a gcc2 9615 /* We use char because int might match the return type of a gcc2
8090 builtin and then its argument prototype would still apply. */ 9616 builtin and then its argument prototype would still apply. */
8091 char $ac_func (); 9617 char $ac_func ();
8092 char (*f) (); 9618 char (*f) ();
8093 9619
9620 #ifdef F77_DUMMY_MAIN
9621 # ifdef __cplusplus
9622 extern "C"
9623 # endif
9624 int F77_DUMMY_MAIN() { return 1; }
9625 #endif
8094 int 9626 int
8095 main () 9627 main ()
8096 { 9628 {
8097 /* The GNU C library defines this for functions which it implements 9629 /* The GNU C library defines this for functions which it implements
8098 to always fail with ENOSYS. Some functions are actually named 9630 to always fail with ENOSYS. Some functions are actually named
8106 ; 9638 ;
8107 return 0; 9639 return 0;
8108 } 9640 }
8109 _ACEOF 9641 _ACEOF
8110 rm -f conftest.$ac_objext conftest$ac_exeext 9642 rm -f conftest.$ac_objext conftest$ac_exeext
8111 if { (eval echo "$as_me:8111: \"$ac_link\"") >&5 9643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8112 (eval $ac_link) 2>&5 9644 (eval $ac_link) 2>&5
8113 ac_status=$? 9645 ac_status=$?
8114 echo "$as_me:8114: \$? = $ac_status" >&5 9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); } && 9647 (exit $ac_status); } &&
8116 { ac_try='test -s conftest$ac_exeext' 9648 { ac_try='test -s conftest$ac_exeext'
8117 { (eval echo "$as_me:8117: \"$ac_try\"") >&5 9649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8118 (eval $ac_try) 2>&5 9650 (eval $ac_try) 2>&5
8119 ac_status=$? 9651 ac_status=$?
8120 echo "$as_me:8120: \$? = $ac_status" >&5 9652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 (exit $ac_status); }; }; then 9653 (exit $ac_status); }; }; then
8122 eval "$as_ac_var=yes" 9654 eval "$as_ac_var=yes"
8123 else 9655 else
8124 echo "$as_me: failed program was:" >&5 9656 echo "$as_me: failed program was:" >&5
8125 cat conftest.$ac_ext >&5 9657 cat conftest.$ac_ext >&5
8126 eval "$as_ac_var=no" 9658 eval "$as_ac_var=no"
8127 fi 9659 fi
8128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8129 fi 9661 fi
8130 echo "$as_me:8130: result: `eval echo '${'$as_ac_var'}'`" >&5 9662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8132 if test `eval echo '${'$as_ac_var'}'` = yes; then 9664 if test `eval echo '${'$as_ac_var'}'` = yes; then
8133 9665
8134 cat >>confdefs.h <<EOF 9666 cat >>confdefs.h <<_ACEOF
8135 #define CRAY_STACKSEG_END $ac_func 9667 #define CRAY_STACKSEG_END $ac_func
8136 EOF 9668 _ACEOF
8137 9669
8138 break 9670 break
8139 fi 9671 fi
8140 9672
8141 done 9673 done
8142 fi 9674 fi
8143 9675
8144 echo "$as_me:8144: checking stack direction for C alloca" >&5 9676 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8145 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 9677 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8146 if test "${ac_cv_c_stack_direction+set}" = set; then 9678 if test "${ac_cv_c_stack_direction+set}" = set; then
8147 echo $ECHO_N "(cached) $ECHO_C" >&6 9679 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 else 9680 else
8149 if test "$cross_compiling" = yes; then 9681 if test "$cross_compiling" = yes; then
8150 ac_cv_c_stack_direction=0 9682 ac_cv_c_stack_direction=0
8151 else 9683 else
8152 cat >conftest.$ac_ext <<_ACEOF 9684 cat >conftest.$ac_ext <<_ACEOF
8153 #line 8153 "configure" 9685 #line $LINENO "configure"
8154 #include "confdefs.h" 9686 #include "confdefs.h"
8155 int 9687 int
8156 find_stack_direction () 9688 find_stack_direction ()
8157 { 9689 {
8158 static char *addr = 0; 9690 static char *addr = 0;
8171 { 9703 {
8172 exit (find_stack_direction () < 0); 9704 exit (find_stack_direction () < 0);
8173 } 9705 }
8174 _ACEOF 9706 _ACEOF
8175 rm -f conftest$ac_exeext 9707 rm -f conftest$ac_exeext
8176 if { (eval echo "$as_me:8176: \"$ac_link\"") >&5 9708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8177 (eval $ac_link) 2>&5 9709 (eval $ac_link) 2>&5
8178 ac_status=$? 9710 ac_status=$?
8179 echo "$as_me:8179: \$? = $ac_status" >&5 9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9712 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8181 { (eval echo "$as_me:8181: \"$ac_try\"") >&5 9713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182 (eval $ac_try) 2>&5 9714 (eval $ac_try) 2>&5
8183 ac_status=$? 9715 ac_status=$?
8184 echo "$as_me:8184: \$? = $ac_status" >&5 9716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); }; }; then 9717 (exit $ac_status); }; }; then
8186 ac_cv_c_stack_direction=1 9718 ac_cv_c_stack_direction=1
8187 else 9719 else
8188 echo "$as_me: program exited with status $ac_status" >&5 9720 echo "$as_me: program exited with status $ac_status" >&5
8189 echo "$as_me: failed program was:" >&5 9721 echo "$as_me: failed program was:" >&5
8190 cat conftest.$ac_ext >&5 9722 cat conftest.$ac_ext >&5
9723 ( exit $ac_status )
8191 ac_cv_c_stack_direction=-1 9724 ac_cv_c_stack_direction=-1
8192 fi 9725 fi
8193 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9726 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8194 fi 9727 fi
8195 fi 9728 fi
8196 echo "$as_me:8196: result: $ac_cv_c_stack_direction" >&5 9729 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
8197 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 9730 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8198 9731
8199 cat >>confdefs.h <<EOF 9732 cat >>confdefs.h <<_ACEOF
8200 #define STACK_DIRECTION $ac_cv_c_stack_direction 9733 #define STACK_DIRECTION $ac_cv_c_stack_direction
8201 EOF 9734 _ACEOF
8202 9735
8203 fi 9736
9737 fi
9738
8204 9739
8205 # fmod, logb, and frexp are found in -lm on most systems. 9740 # fmod, logb, and frexp are found in -lm on most systems.
8206 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 9741 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
8207 9742
8208 echo "$as_me:8208: checking for sqrt in -lm" >&5 9743 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
8209 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 9744 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
8210 if test "${ac_cv_lib_m_sqrt+set}" = set; then 9745 if test "${ac_cv_lib_m_sqrt+set}" = set; then
8211 echo $ECHO_N "(cached) $ECHO_C" >&6 9746 echo $ECHO_N "(cached) $ECHO_C" >&6
8212 else 9747 else
8213 ac_check_lib_save_LIBS=$LIBS 9748 ac_check_lib_save_LIBS=$LIBS
8214 LIBS="-lm $LIBS" 9749 LIBS="-lm $LIBS"
8215 cat >conftest.$ac_ext <<_ACEOF 9750 cat >conftest.$ac_ext <<_ACEOF
8216 #line 8216 "configure" 9751 #line $LINENO "configure"
8217 #include "confdefs.h" 9752 #include "confdefs.h"
8218 9753
8219 /* Override any gcc2 internal prototype to avoid an error. */ 9754 /* Override any gcc2 internal prototype to avoid an error. */
8220 #ifdef __cplusplus 9755 #ifdef __cplusplus
8221 extern "C" 9756 extern "C"
8222 #endif 9757 #endif
8223 /* We use char because int might match the return type of a gcc2 9758 /* We use char because int might match the return type of a gcc2
8224 builtin and then its argument prototype would still apply. */ 9759 builtin and then its argument prototype would still apply. */
8225 char sqrt (); 9760 char sqrt ();
9761 #ifdef F77_DUMMY_MAIN
9762 # ifdef __cplusplus
9763 extern "C"
9764 # endif
9765 int F77_DUMMY_MAIN() { return 1; }
9766 #endif
8226 int 9767 int
8227 main () 9768 main ()
8228 { 9769 {
8229 sqrt (); 9770 sqrt ();
8230 ; 9771 ;
8231 return 0; 9772 return 0;
8232 } 9773 }
8233 _ACEOF 9774 _ACEOF
8234 rm -f conftest.$ac_objext conftest$ac_exeext 9775 rm -f conftest.$ac_objext conftest$ac_exeext
8235 if { (eval echo "$as_me:8235: \"$ac_link\"") >&5 9776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8236 (eval $ac_link) 2>&5 9777 (eval $ac_link) 2>&5
8237 ac_status=$? 9778 ac_status=$?
8238 echo "$as_me:8238: \$? = $ac_status" >&5 9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); } && 9780 (exit $ac_status); } &&
8240 { ac_try='test -s conftest$ac_exeext' 9781 { ac_try='test -s conftest$ac_exeext'
8241 { (eval echo "$as_me:8241: \"$ac_try\"") >&5 9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8242 (eval $ac_try) 2>&5 9783 (eval $ac_try) 2>&5
8243 ac_status=$? 9784 ac_status=$?
8244 echo "$as_me:8244: \$? = $ac_status" >&5 9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); }; }; then 9786 (exit $ac_status); }; }; then
8246 ac_cv_lib_m_sqrt=yes 9787 ac_cv_lib_m_sqrt=yes
8247 else 9788 else
8248 echo "$as_me: failed program was:" >&5 9789 echo "$as_me: failed program was:" >&5
8249 cat conftest.$ac_ext >&5 9790 cat conftest.$ac_ext >&5
8250 ac_cv_lib_m_sqrt=no 9791 ac_cv_lib_m_sqrt=no
8251 fi 9792 fi
8252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8253 LIBS=$ac_check_lib_save_LIBS 9794 LIBS=$ac_check_lib_save_LIBS
8254 fi 9795 fi
8255 echo "$as_me:8255: result: $ac_cv_lib_m_sqrt" >&5 9796 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
8256 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 9797 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
8257 if test $ac_cv_lib_m_sqrt = yes; then 9798 if test $ac_cv_lib_m_sqrt = yes; then
8258 cat >>confdefs.h <<EOF 9799 cat >>confdefs.h <<_ACEOF
8259 #define HAVE_LIBM 1 9800 #define HAVE_LIBM 1
8260 EOF 9801 _ACEOF
8261 9802
8262 LIBS="-lm $LIBS" 9803 LIBS="-lm $LIBS"
8263 9804
8264 fi 9805 fi
8265 9806
9807
8266 # Check for mail-locking functions in a "mail" library 9808 # Check for mail-locking functions in a "mail" library
8267 9809
8268 echo "$as_me:8268: checking for maillock in -lmail" >&5 9810 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
8269 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 9811 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
8270 if test "${ac_cv_lib_mail_maillock+set}" = set; then 9812 if test "${ac_cv_lib_mail_maillock+set}" = set; then
8271 echo $ECHO_N "(cached) $ECHO_C" >&6 9813 echo $ECHO_N "(cached) $ECHO_C" >&6
8272 else 9814 else
8273 ac_check_lib_save_LIBS=$LIBS 9815 ac_check_lib_save_LIBS=$LIBS
8274 LIBS="-lmail $LIBS" 9816 LIBS="-lmail $LIBS"
8275 cat >conftest.$ac_ext <<_ACEOF 9817 cat >conftest.$ac_ext <<_ACEOF
8276 #line 8276 "configure" 9818 #line $LINENO "configure"
8277 #include "confdefs.h" 9819 #include "confdefs.h"
8278 9820
8279 /* Override any gcc2 internal prototype to avoid an error. */ 9821 /* Override any gcc2 internal prototype to avoid an error. */
8280 #ifdef __cplusplus 9822 #ifdef __cplusplus
8281 extern "C" 9823 extern "C"
8282 #endif 9824 #endif
8283 /* We use char because int might match the return type of a gcc2 9825 /* We use char because int might match the return type of a gcc2
8284 builtin and then its argument prototype would still apply. */ 9826 builtin and then its argument prototype would still apply. */
8285 char maillock (); 9827 char maillock ();
9828 #ifdef F77_DUMMY_MAIN
9829 # ifdef __cplusplus
9830 extern "C"
9831 # endif
9832 int F77_DUMMY_MAIN() { return 1; }
9833 #endif
8286 int 9834 int
8287 main () 9835 main ()
8288 { 9836 {
8289 maillock (); 9837 maillock ();
8290 ; 9838 ;
8291 return 0; 9839 return 0;
8292 } 9840 }
8293 _ACEOF 9841 _ACEOF
8294 rm -f conftest.$ac_objext conftest$ac_exeext 9842 rm -f conftest.$ac_objext conftest$ac_exeext
8295 if { (eval echo "$as_me:8295: \"$ac_link\"") >&5 9843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8296 (eval $ac_link) 2>&5 9844 (eval $ac_link) 2>&5
8297 ac_status=$? 9845 ac_status=$?
8298 echo "$as_me:8298: \$? = $ac_status" >&5 9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); } && 9847 (exit $ac_status); } &&
8300 { ac_try='test -s conftest$ac_exeext' 9848 { ac_try='test -s conftest$ac_exeext'
8301 { (eval echo "$as_me:8301: \"$ac_try\"") >&5 9849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 (eval $ac_try) 2>&5 9850 (eval $ac_try) 2>&5
8303 ac_status=$? 9851 ac_status=$?
8304 echo "$as_me:8304: \$? = $ac_status" >&5 9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); }; }; then 9853 (exit $ac_status); }; }; then
8306 ac_cv_lib_mail_maillock=yes 9854 ac_cv_lib_mail_maillock=yes
8307 else 9855 else
8308 echo "$as_me: failed program was:" >&5 9856 echo "$as_me: failed program was:" >&5
8309 cat conftest.$ac_ext >&5 9857 cat conftest.$ac_ext >&5
8310 ac_cv_lib_mail_maillock=no 9858 ac_cv_lib_mail_maillock=no
8311 fi 9859 fi
8312 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8313 LIBS=$ac_check_lib_save_LIBS 9861 LIBS=$ac_check_lib_save_LIBS
8314 fi 9862 fi
8315 echo "$as_me:8315: result: $ac_cv_lib_mail_maillock" >&5 9863 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
8316 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 9864 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
8317 if test $ac_cv_lib_mail_maillock = yes; then 9865 if test $ac_cv_lib_mail_maillock = yes; then
8318 cat >>confdefs.h <<EOF 9866 cat >>confdefs.h <<_ACEOF
8319 #define HAVE_LIBMAIL 1 9867 #define HAVE_LIBMAIL 1
8320 EOF 9868 _ACEOF
8321 9869
8322 LIBS="-lmail $LIBS" 9870 LIBS="-lmail $LIBS"
8323 9871
8324 fi 9872 fi
8325 9873
8326 echo "$as_me:8326: checking for maillock in -llockfile" >&5 9874
9875 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
8327 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 9876 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
8328 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 9877 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8329 echo $ECHO_N "(cached) $ECHO_C" >&6 9878 echo $ECHO_N "(cached) $ECHO_C" >&6
8330 else 9879 else
8331 ac_check_lib_save_LIBS=$LIBS 9880 ac_check_lib_save_LIBS=$LIBS
8332 LIBS="-llockfile $LIBS" 9881 LIBS="-llockfile $LIBS"
8333 cat >conftest.$ac_ext <<_ACEOF 9882 cat >conftest.$ac_ext <<_ACEOF
8334 #line 8334 "configure" 9883 #line $LINENO "configure"
8335 #include "confdefs.h" 9884 #include "confdefs.h"
8336 9885
8337 /* Override any gcc2 internal prototype to avoid an error. */ 9886 /* Override any gcc2 internal prototype to avoid an error. */
8338 #ifdef __cplusplus 9887 #ifdef __cplusplus
8339 extern "C" 9888 extern "C"
8340 #endif 9889 #endif
8341 /* We use char because int might match the return type of a gcc2 9890 /* We use char because int might match the return type of a gcc2
8342 builtin and then its argument prototype would still apply. */ 9891 builtin and then its argument prototype would still apply. */
8343 char maillock (); 9892 char maillock ();
9893 #ifdef F77_DUMMY_MAIN
9894 # ifdef __cplusplus
9895 extern "C"
9896 # endif
9897 int F77_DUMMY_MAIN() { return 1; }
9898 #endif
8344 int 9899 int
8345 main () 9900 main ()
8346 { 9901 {
8347 maillock (); 9902 maillock ();
8348 ; 9903 ;
8349 return 0; 9904 return 0;
8350 } 9905 }
8351 _ACEOF 9906 _ACEOF
8352 rm -f conftest.$ac_objext conftest$ac_exeext 9907 rm -f conftest.$ac_objext conftest$ac_exeext
8353 if { (eval echo "$as_me:8353: \"$ac_link\"") >&5 9908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8354 (eval $ac_link) 2>&5 9909 (eval $ac_link) 2>&5
8355 ac_status=$? 9910 ac_status=$?
8356 echo "$as_me:8356: \$? = $ac_status" >&5 9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); } && 9912 (exit $ac_status); } &&
8358 { ac_try='test -s conftest$ac_exeext' 9913 { ac_try='test -s conftest$ac_exeext'
8359 { (eval echo "$as_me:8359: \"$ac_try\"") >&5 9914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8360 (eval $ac_try) 2>&5 9915 (eval $ac_try) 2>&5
8361 ac_status=$? 9916 ac_status=$?
8362 echo "$as_me:8362: \$? = $ac_status" >&5 9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); }; }; then 9918 (exit $ac_status); }; }; then
8364 ac_cv_lib_lockfile_maillock=yes 9919 ac_cv_lib_lockfile_maillock=yes
8365 else 9920 else
8366 echo "$as_me: failed program was:" >&5 9921 echo "$as_me: failed program was:" >&5
8367 cat conftest.$ac_ext >&5 9922 cat conftest.$ac_ext >&5
8368 ac_cv_lib_lockfile_maillock=no 9923 ac_cv_lib_lockfile_maillock=no
8369 fi 9924 fi
8370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9925 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8371 LIBS=$ac_check_lib_save_LIBS 9926 LIBS=$ac_check_lib_save_LIBS
8372 fi 9927 fi
8373 echo "$as_me:8373: result: $ac_cv_lib_lockfile_maillock" >&5 9928 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
8374 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 9929 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8375 if test $ac_cv_lib_lockfile_maillock = yes; then 9930 if test $ac_cv_lib_lockfile_maillock = yes; then
8376 cat >>confdefs.h <<EOF 9931 cat >>confdefs.h <<_ACEOF
8377 #define HAVE_LIBLOCKFILE 1 9932 #define HAVE_LIBLOCKFILE 1
8378 EOF 9933 _ACEOF
8379 9934
8380 LIBS="-llockfile $LIBS" 9935 LIBS="-llockfile $LIBS"
8381 9936
8382 fi 9937 fi
8383 9938
8385 # locking (e.g. Debian). If we couldn't link against liblockfile 9940 # locking (e.g. Debian). If we couldn't link against liblockfile
8386 # (no liblockfile.a installed), ensure that we don't need to. 9941 # (no liblockfile.a installed), ensure that we don't need to.
8387 if test "$ac_cv_lib_lockfile_maillock" = no; then 9942 if test "$ac_cv_lib_lockfile_maillock" = no; then
8388 # Extract the first word of "liblockfile.so", so it can be a program name with args. 9943 # Extract the first word of "liblockfile.so", so it can be a program name with args.
8389 set dummy liblockfile.so; ac_word=$2 9944 set dummy liblockfile.so; ac_word=$2
8390 echo "$as_me:8390: checking for $ac_word" >&5 9945 echo "$as_me:$LINENO: checking for $ac_word" >&5
8391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8392 if test "${ac_cv_prog_liblockfile+set}" = set; then 9947 if test "${ac_cv_prog_liblockfile+set}" = set; then
8393 echo $ECHO_N "(cached) $ECHO_C" >&6 9948 echo $ECHO_N "(cached) $ECHO_C" >&6
8394 else 9949 else
8395 if test -n "$liblockfile"; then 9950 if test -n "$liblockfile"; then
8396 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 9951 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
8397 else 9952 else
8398 ac_save_IFS=$IFS; IFS=$ac_path_separator 9953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8399 ac_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH" 9954 for as_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH
8400 for ac_dir in $ac_dummy; do 9955 do
8401 IFS=$ac_save_IFS 9956 IFS=$as_save_IFS
8402 test -z "$ac_dir" && ac_dir=. 9957 test -z "$as_dir" && as_dir=.
8403 $as_executable_p "$ac_dir/$ac_word" || continue 9958 for ac_exec_ext in '' $ac_executable_extensions; do
8404 ac_cv_prog_liblockfile="yes" 9959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8405 echo "$as_me:8405: found $ac_dir/$ac_word" >&5 9960 ac_cv_prog_liblockfile="yes"
8406 break 9961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9962 break 2
9963 fi
9964 done
8407 done 9965 done
8408 9966
8409 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 9967 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
8410 fi 9968 fi
8411 fi 9969 fi
8412 liblockfile=$ac_cv_prog_liblockfile 9970 liblockfile=$ac_cv_prog_liblockfile
8413 if test -n "$liblockfile"; then 9971 if test -n "$liblockfile"; then
8414 echo "$as_me:8414: result: $liblockfile" >&5 9972 echo "$as_me:$LINENO: result: $liblockfile" >&5
8415 echo "${ECHO_T}$liblockfile" >&6 9973 echo "${ECHO_T}$liblockfile" >&6
8416 else 9974 else
8417 echo "$as_me:8417: result: no" >&5 9975 echo "$as_me:$LINENO: result: no" >&5
8418 echo "${ECHO_T}no" >&6 9976 echo "${ECHO_T}no" >&6
8419 fi 9977 fi
8420 9978
8421 if test $ac_cv_prog_liblockfile = yes; then 9979 if test $ac_cv_prog_liblockfile = yes; then
8422 { { echo "$as_me:8422: error: Shared liblockfile found but can't link against it. 9980 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
8423 This probably means that movemail could lose mail. 9981 This probably means that movemail could lose mail.
8424 There may be a \`development' package to install containing liblockfile." >&5 9982 There may be a \`development' package to install containing liblockfile." >&5
8425 echo "$as_me: error: Shared liblockfile found but can't link against it. 9983 echo "$as_me: error: Shared liblockfile found but can't link against it.
8426 This probably means that movemail could lose mail. 9984 This probably means that movemail could lose mail.
8427 There may be a \`development' package to install containing liblockfile." >&2;} 9985 There may be a \`development' package to install containing liblockfile." >&2;}
8428 { (exit 1); exit 1; }; } 9986 { (exit 1); exit 1; }; }
8429 else 9987 else
8430 cat >>confdefs.h <<\EOF 9988 cat >>confdefs.h <<\_ACEOF
8431 #define LIBMAIL -llockfile 9989 #define LIBMAIL -llockfile
8432 EOF 9990 _ACEOF
8433 9991
8434 fi 9992 fi
8435 else : 9993 else :
8436 fi 9994 fi
8437 9995
8438 for ac_func in touchlock 9996 for ac_func in touchlock
8439 do 9997 do
8440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8441 echo "$as_me:8441: checking for $ac_func" >&5 9999 echo "$as_me:$LINENO: checking for $ac_func" >&5
8442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8443 if eval "test \"\${$as_ac_var+set}\" = set"; then 10001 if eval "test \"\${$as_ac_var+set}\" = set"; then
8444 echo $ECHO_N "(cached) $ECHO_C" >&6 10002 echo $ECHO_N "(cached) $ECHO_C" >&6
8445 else 10003 else
8446 cat >conftest.$ac_ext <<_ACEOF 10004 cat >conftest.$ac_ext <<_ACEOF
8447 #line 8447 "configure" 10005 #line $LINENO "configure"
8448 #include "confdefs.h" 10006 #include "confdefs.h"
8449 /* System header to define __stub macros and hopefully few prototypes, 10007 /* System header to define __stub macros and hopefully few prototypes,
8450 which can conflict with char $ac_func (); below. */ 10008 which can conflict with char $ac_func (); below. */
8451 #include <assert.h> 10009 #include <assert.h>
8452 /* Override any gcc2 internal prototype to avoid an error. */ 10010 /* Override any gcc2 internal prototype to avoid an error. */
8456 /* We use char because int might match the return type of a gcc2 10014 /* We use char because int might match the return type of a gcc2
8457 builtin and then its argument prototype would still apply. */ 10015 builtin and then its argument prototype would still apply. */
8458 char $ac_func (); 10016 char $ac_func ();
8459 char (*f) (); 10017 char (*f) ();
8460 10018
10019 #ifdef F77_DUMMY_MAIN
10020 # ifdef __cplusplus
10021 extern "C"
10022 # endif
10023 int F77_DUMMY_MAIN() { return 1; }
10024 #endif
8461 int 10025 int
8462 main () 10026 main ()
8463 { 10027 {
8464 /* The GNU C library defines this for functions which it implements 10028 /* The GNU C library defines this for functions which it implements
8465 to always fail with ENOSYS. Some functions are actually named 10029 to always fail with ENOSYS. Some functions are actually named
8473 ; 10037 ;
8474 return 0; 10038 return 0;
8475 } 10039 }
8476 _ACEOF 10040 _ACEOF
8477 rm -f conftest.$ac_objext conftest$ac_exeext 10041 rm -f conftest.$ac_objext conftest$ac_exeext
8478 if { (eval echo "$as_me:8478: \"$ac_link\"") >&5 10042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8479 (eval $ac_link) 2>&5 10043 (eval $ac_link) 2>&5
8480 ac_status=$? 10044 ac_status=$?
8481 echo "$as_me:8481: \$? = $ac_status" >&5 10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); } && 10046 (exit $ac_status); } &&
8483 { ac_try='test -s conftest$ac_exeext' 10047 { ac_try='test -s conftest$ac_exeext'
8484 { (eval echo "$as_me:8484: \"$ac_try\"") >&5 10048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8485 (eval $ac_try) 2>&5 10049 (eval $ac_try) 2>&5
8486 ac_status=$? 10050 ac_status=$?
8487 echo "$as_me:8487: \$? = $ac_status" >&5 10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); }; }; then 10052 (exit $ac_status); }; }; then
8489 eval "$as_ac_var=yes" 10053 eval "$as_ac_var=yes"
8490 else 10054 else
8491 echo "$as_me: failed program was:" >&5 10055 echo "$as_me: failed program was:" >&5
8492 cat conftest.$ac_ext >&5 10056 cat conftest.$ac_ext >&5
8493 eval "$as_ac_var=no" 10057 eval "$as_ac_var=no"
8494 fi 10058 fi
8495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10059 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8496 fi 10060 fi
8497 echo "$as_me:8497: result: `eval echo '${'$as_ac_var'}'`" >&5 10061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8499 if test `eval echo '${'$as_ac_var'}'` = yes; then 10063 if test `eval echo '${'$as_ac_var'}'` = yes; then
8500 cat >>confdefs.h <<EOF 10064 cat >>confdefs.h <<_ACEOF
8501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8502 EOF 10066 _ACEOF
8503 10067
8504 fi 10068 fi
8505 done 10069 done
10070
8506 10071
8507 for ac_header in maillock.h 10072 for ac_header in maillock.h
8508 do 10073 do
8509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8510 echo "$as_me:8510: checking for $ac_header" >&5 10075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10076 echo "$as_me:$LINENO: checking for $ac_header" >&5
8511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8512 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8513 echo $ECHO_N "(cached) $ECHO_C" >&6 10079 echo $ECHO_N "(cached) $ECHO_C" >&6
8514 else 10080 fi
8515 cat >conftest.$ac_ext <<_ACEOF 10081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8516 #line 8516 "configure" 10082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8517 #include "confdefs.h" 10083 else
10084 # Is the header compilable?
10085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10087 cat >conftest.$ac_ext <<_ACEOF
10088 #line $LINENO "configure"
10089 #include "confdefs.h"
10090 $ac_includes_default
8518 #include <$ac_header> 10091 #include <$ac_header>
8519 _ACEOF 10092 _ACEOF
8520 if { (eval echo "$as_me:8520: \"$ac_cpp conftest.$ac_ext\"") >&5 10093 rm -f conftest.$ac_objext
10094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10095 (eval $ac_compile) 2>&5
10096 ac_status=$?
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); } &&
10099 { ac_try='test -s conftest.$ac_objext'
10100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10101 (eval $ac_try) 2>&5
10102 ac_status=$?
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); }; }; then
10105 ac_header_compiler=yes
10106 else
10107 echo "$as_me: failed program was:" >&5
10108 cat conftest.$ac_ext >&5
10109 ac_header_compiler=no
10110 fi
10111 rm -f conftest.$ac_objext conftest.$ac_ext
10112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10113 echo "${ECHO_T}$ac_header_compiler" >&6
10114
10115 # Is the header present?
10116 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10117 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10118 cat >conftest.$ac_ext <<_ACEOF
10119 #line $LINENO "configure"
10120 #include "confdefs.h"
10121 #include <$ac_header>
10122 _ACEOF
10123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8522 ac_status=$? 10125 ac_status=$?
8523 egrep -v '^ *\+' conftest.er1 >conftest.err 10126 egrep -v '^ *\+' conftest.er1 >conftest.err
8524 rm -f conftest.er1 10127 rm -f conftest.er1
8525 cat conftest.err >&5 10128 cat conftest.err >&5
8526 echo "$as_me:8526: \$? = $ac_status" >&5 10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); } >/dev/null; then 10130 (exit $ac_status); } >/dev/null; then
8528 if test -s conftest.err; then 10131 if test -s conftest.err; then
8529 ac_cpp_err=$ac_c_preproc_warn_flag 10132 ac_cpp_err=$ac_c_preproc_warn_flag
8530 else 10133 else
8531 ac_cpp_err= 10134 ac_cpp_err=
8532 fi 10135 fi
8533 else 10136 else
8534 ac_cpp_err=yes 10137 ac_cpp_err=yes
8535 fi 10138 fi
8536 if test -z "$ac_cpp_err"; then 10139 if test -z "$ac_cpp_err"; then
8537 eval "$as_ac_Header=yes" 10140 ac_header_preproc=yes
8538 else 10141 else
8539 echo "$as_me: failed program was:" >&5 10142 echo "$as_me: failed program was:" >&5
8540 cat conftest.$ac_ext >&5 10143 cat conftest.$ac_ext >&5
8541 eval "$as_ac_Header=no" 10144 ac_header_preproc=no
8542 fi 10145 fi
8543 rm -f conftest.err conftest.$ac_ext 10146 rm -f conftest.err conftest.$ac_ext
8544 fi 10147 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8545 echo "$as_me:8545: result: `eval echo '${'$as_ac_Header'}'`" >&5 10148 echo "${ECHO_T}$ac_header_preproc" >&6
10149
10150 # So? What about this header?
10151 case $ac_header_compiler:$ac_header_preproc in
10152 yes:no )
10153 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10154 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10157 no:yes )
10158 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10159 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10160 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10161 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10164 esac
10165 echo "$as_me:$LINENO: checking for $ac_header" >&5
10166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10168 echo $ECHO_N "(cached) $ECHO_C" >&6
10169 else
10170 eval "$as_ac_Header=$ac_header_preproc"
10171 fi
10172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10174
10175 fi
8547 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8548 cat >>confdefs.h <<EOF 10177 cat >>confdefs.h <<_ACEOF
8549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8550 EOF 10179 _ACEOF
8551 10180
8552 fi 10181 fi
10182
8553 done 10183 done
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
8554 10242
8555 for ac_func in gethostname getdomainname dup2 \ 10243 for ac_func in gethostname getdomainname dup2 \
8556 rename closedir mkdir rmdir sysinfo \ 10244 rename closedir mkdir rmdir sysinfo \
8557 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 10245 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
8558 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ 10246 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
8559 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ 10247 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
8560 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 10248 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
8561 sendto recvfrom getsockopt setsockopt getsockname getpeername \ 10249 sendto recvfrom getsockopt setsockopt getsockname getpeername \
8562 gai_strerror mkstemp getline getdelim 10250 gai_strerror mkstemp getline getdelim mremap memmove
8563 do 10251 do
8564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8565 echo "$as_me:8565: checking for $ac_func" >&5 10253 echo "$as_me:$LINENO: checking for $ac_func" >&5
8566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8567 if eval "test \"\${$as_ac_var+set}\" = set"; then 10255 if eval "test \"\${$as_ac_var+set}\" = set"; then
8568 echo $ECHO_N "(cached) $ECHO_C" >&6 10256 echo $ECHO_N "(cached) $ECHO_C" >&6
8569 else 10257 else
8570 cat >conftest.$ac_ext <<_ACEOF 10258 cat >conftest.$ac_ext <<_ACEOF
8571 #line 8571 "configure" 10259 #line $LINENO "configure"
8572 #include "confdefs.h" 10260 #include "confdefs.h"
8573 /* System header to define __stub macros and hopefully few prototypes, 10261 /* System header to define __stub macros and hopefully few prototypes,
8574 which can conflict with char $ac_func (); below. */ 10262 which can conflict with char $ac_func (); below. */
8575 #include <assert.h> 10263 #include <assert.h>
8576 /* Override any gcc2 internal prototype to avoid an error. */ 10264 /* Override any gcc2 internal prototype to avoid an error. */
8580 /* We use char because int might match the return type of a gcc2 10268 /* We use char because int might match the return type of a gcc2
8581 builtin and then its argument prototype would still apply. */ 10269 builtin and then its argument prototype would still apply. */
8582 char $ac_func (); 10270 char $ac_func ();
8583 char (*f) (); 10271 char (*f) ();
8584 10272
10273 #ifdef F77_DUMMY_MAIN
10274 # ifdef __cplusplus
10275 extern "C"
10276 # endif
10277 int F77_DUMMY_MAIN() { return 1; }
10278 #endif
8585 int 10279 int
8586 main () 10280 main ()
8587 { 10281 {
8588 /* The GNU C library defines this for functions which it implements 10282 /* The GNU C library defines this for functions which it implements
8589 to always fail with ENOSYS. Some functions are actually named 10283 to always fail with ENOSYS. Some functions are actually named
8597 ; 10291 ;
8598 return 0; 10292 return 0;
8599 } 10293 }
8600 _ACEOF 10294 _ACEOF
8601 rm -f conftest.$ac_objext conftest$ac_exeext 10295 rm -f conftest.$ac_objext conftest$ac_exeext
8602 if { (eval echo "$as_me:8602: \"$ac_link\"") >&5 10296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8603 (eval $ac_link) 2>&5 10297 (eval $ac_link) 2>&5
8604 ac_status=$? 10298 ac_status=$?
8605 echo "$as_me:8605: \$? = $ac_status" >&5 10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); } && 10300 (exit $ac_status); } &&
8607 { ac_try='test -s conftest$ac_exeext' 10301 { ac_try='test -s conftest$ac_exeext'
8608 { (eval echo "$as_me:8608: \"$ac_try\"") >&5 10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 (eval $ac_try) 2>&5 10303 (eval $ac_try) 2>&5
8610 ac_status=$? 10304 ac_status=$?
8611 echo "$as_me:8611: \$? = $ac_status" >&5 10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; }; then 10306 (exit $ac_status); }; }; then
8613 eval "$as_ac_var=yes" 10307 eval "$as_ac_var=yes"
8614 else 10308 else
8615 echo "$as_me: failed program was:" >&5 10309 echo "$as_me: failed program was:" >&5
8616 cat conftest.$ac_ext >&5 10310 cat conftest.$ac_ext >&5
8617 eval "$as_ac_var=no" 10311 eval "$as_ac_var=no"
8618 fi 10312 fi
8619 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8620 fi 10314 fi
8621 echo "$as_me:8621: result: `eval echo '${'$as_ac_var'}'`" >&5 10315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8623 if test `eval echo '${'$as_ac_var'}'` = yes; then 10317 if test `eval echo '${'$as_ac_var'}'` = yes; then
8624 cat >>confdefs.h <<EOF 10318 cat >>confdefs.h <<_ACEOF
8625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8626 EOF 10320 _ACEOF
8627 10321
8628 fi 10322 fi
8629 done 10323 done
10324
10325
8630 10326
8631 for ac_header in sys/un.h 10327 for ac_header in sys/un.h
8632 do 10328 do
8633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8634 echo "$as_me:8634: checking for $ac_header" >&5 10330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10331 echo "$as_me:$LINENO: checking for $ac_header" >&5
8635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8636 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8637 echo $ECHO_N "(cached) $ECHO_C" >&6 10334 echo $ECHO_N "(cached) $ECHO_C" >&6
8638 else 10335 fi
8639 cat >conftest.$ac_ext <<_ACEOF 10336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8640 #line 8640 "configure" 10337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8641 #include "confdefs.h" 10338 else
10339 # Is the header compilable?
10340 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10341 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10342 cat >conftest.$ac_ext <<_ACEOF
10343 #line $LINENO "configure"
10344 #include "confdefs.h"
10345 $ac_includes_default
8642 #include <$ac_header> 10346 #include <$ac_header>
8643 _ACEOF 10347 _ACEOF
8644 if { (eval echo "$as_me:8644: \"$ac_cpp conftest.$ac_ext\"") >&5 10348 rm -f conftest.$ac_objext
10349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10350 (eval $ac_compile) 2>&5
10351 ac_status=$?
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); } &&
10354 { ac_try='test -s conftest.$ac_objext'
10355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10356 (eval $ac_try) 2>&5
10357 ac_status=$?
10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 (exit $ac_status); }; }; then
10360 ac_header_compiler=yes
10361 else
10362 echo "$as_me: failed program was:" >&5
10363 cat conftest.$ac_ext >&5
10364 ac_header_compiler=no
10365 fi
10366 rm -f conftest.$ac_objext conftest.$ac_ext
10367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10368 echo "${ECHO_T}$ac_header_compiler" >&6
10369
10370 # Is the header present?
10371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10373 cat >conftest.$ac_ext <<_ACEOF
10374 #line $LINENO "configure"
10375 #include "confdefs.h"
10376 #include <$ac_header>
10377 _ACEOF
10378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8646 ac_status=$? 10380 ac_status=$?
8647 egrep -v '^ *\+' conftest.er1 >conftest.err 10381 egrep -v '^ *\+' conftest.er1 >conftest.err
8648 rm -f conftest.er1 10382 rm -f conftest.er1
8649 cat conftest.err >&5 10383 cat conftest.err >&5
8650 echo "$as_me:8650: \$? = $ac_status" >&5 10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); } >/dev/null; then 10385 (exit $ac_status); } >/dev/null; then
8652 if test -s conftest.err; then 10386 if test -s conftest.err; then
8653 ac_cpp_err=$ac_c_preproc_warn_flag 10387 ac_cpp_err=$ac_c_preproc_warn_flag
8654 else 10388 else
8655 ac_cpp_err= 10389 ac_cpp_err=
8656 fi 10390 fi
8657 else 10391 else
8658 ac_cpp_err=yes 10392 ac_cpp_err=yes
8659 fi 10393 fi
8660 if test -z "$ac_cpp_err"; then 10394 if test -z "$ac_cpp_err"; then
8661 eval "$as_ac_Header=yes" 10395 ac_header_preproc=yes
8662 else 10396 else
8663 echo "$as_me: failed program was:" >&5 10397 echo "$as_me: failed program was:" >&5
8664 cat conftest.$ac_ext >&5 10398 cat conftest.$ac_ext >&5
8665 eval "$as_ac_Header=no" 10399 ac_header_preproc=no
8666 fi 10400 fi
8667 rm -f conftest.err conftest.$ac_ext 10401 rm -f conftest.err conftest.$ac_ext
8668 fi 10402 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8669 echo "$as_me:8669: result: `eval echo '${'$as_ac_Header'}'`" >&5 10403 echo "${ECHO_T}$ac_header_preproc" >&6
10404
10405 # So? What about this header?
10406 case $ac_header_compiler:$ac_header_preproc in
10407 yes:no )
10408 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10409 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10411 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10412 no:yes )
10413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10417 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10418 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10419 esac
10420 echo "$as_me:$LINENO: checking for $ac_header" >&5
10421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10423 echo $ECHO_N "(cached) $ECHO_C" >&6
10424 else
10425 eval "$as_ac_Header=$ac_header_preproc"
10426 fi
10427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10429
10430 fi
8671 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8672 cat >>confdefs.h <<EOF 10432 cat >>confdefs.h <<_ACEOF
8673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8674 EOF 10434 _ACEOF
8675 10435
8676 fi 10436 fi
10437
8677 done 10438 done
10439
10440
10441
8678 10442
8679 for ac_header in sys/time.h unistd.h 10443 for ac_header in sys/time.h unistd.h
8680 do 10444 do
8681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10445 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8682 echo "$as_me:8682: checking for $ac_header" >&5 10446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10447 echo "$as_me:$LINENO: checking for $ac_header" >&5
8683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8684 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6 10450 echo $ECHO_N "(cached) $ECHO_C" >&6
8686 else 10451 fi
8687 cat >conftest.$ac_ext <<_ACEOF 10452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8688 #line 8688 "configure" 10453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8689 #include "confdefs.h" 10454 else
10455 # Is the header compilable?
10456 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10457 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10458 cat >conftest.$ac_ext <<_ACEOF
10459 #line $LINENO "configure"
10460 #include "confdefs.h"
10461 $ac_includes_default
8690 #include <$ac_header> 10462 #include <$ac_header>
8691 _ACEOF 10463 _ACEOF
8692 if { (eval echo "$as_me:8692: \"$ac_cpp conftest.$ac_ext\"") >&5 10464 rm -f conftest.$ac_objext
10465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10466 (eval $ac_compile) 2>&5
10467 ac_status=$?
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); } &&
10470 { ac_try='test -s conftest.$ac_objext'
10471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10472 (eval $ac_try) 2>&5
10473 ac_status=$?
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); }; }; then
10476 ac_header_compiler=yes
10477 else
10478 echo "$as_me: failed program was:" >&5
10479 cat conftest.$ac_ext >&5
10480 ac_header_compiler=no
10481 fi
10482 rm -f conftest.$ac_objext conftest.$ac_ext
10483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10484 echo "${ECHO_T}$ac_header_compiler" >&6
10485
10486 # Is the header present?
10487 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10489 cat >conftest.$ac_ext <<_ACEOF
10490 #line $LINENO "configure"
10491 #include "confdefs.h"
10492 #include <$ac_header>
10493 _ACEOF
10494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8694 ac_status=$? 10496 ac_status=$?
8695 egrep -v '^ *\+' conftest.er1 >conftest.err 10497 egrep -v '^ *\+' conftest.er1 >conftest.err
8696 rm -f conftest.er1 10498 rm -f conftest.er1
8697 cat conftest.err >&5 10499 cat conftest.err >&5
8698 echo "$as_me:8698: \$? = $ac_status" >&5 10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); } >/dev/null; then 10501 (exit $ac_status); } >/dev/null; then
8700 if test -s conftest.err; then 10502 if test -s conftest.err; then
8701 ac_cpp_err=$ac_c_preproc_warn_flag 10503 ac_cpp_err=$ac_c_preproc_warn_flag
8702 else 10504 else
8703 ac_cpp_err= 10505 ac_cpp_err=
8704 fi 10506 fi
8705 else 10507 else
8706 ac_cpp_err=yes 10508 ac_cpp_err=yes
8707 fi 10509 fi
8708 if test -z "$ac_cpp_err"; then 10510 if test -z "$ac_cpp_err"; then
8709 eval "$as_ac_Header=yes" 10511 ac_header_preproc=yes
8710 else 10512 else
8711 echo "$as_me: failed program was:" >&5 10513 echo "$as_me: failed program was:" >&5
8712 cat conftest.$ac_ext >&5 10514 cat conftest.$ac_ext >&5
8713 eval "$as_ac_Header=no" 10515 ac_header_preproc=no
8714 fi 10516 fi
8715 rm -f conftest.err conftest.$ac_ext 10517 rm -f conftest.err conftest.$ac_ext
8716 fi 10518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8717 echo "$as_me:8717: result: `eval echo '${'$as_ac_Header'}'`" >&5 10519 echo "${ECHO_T}$ac_header_preproc" >&6
10520
10521 # So? What about this header?
10522 case $ac_header_compiler:$ac_header_preproc in
10523 yes:no )
10524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10528 no:yes )
10529 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10530 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10531 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10532 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10534 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10535 esac
10536 echo "$as_me:$LINENO: checking for $ac_header" >&5
10537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10539 echo $ECHO_N "(cached) $ECHO_C" >&6
10540 else
10541 eval "$as_ac_Header=$ac_header_preproc"
10542 fi
10543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10545
10546 fi
8719 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8720 cat >>confdefs.h <<EOF 10548 cat >>confdefs.h <<_ACEOF
8721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8722 EOF 10550 _ACEOF
8723 10551
8724 fi 10552 fi
10553
8725 done 10554 done
10555
8726 10556
8727 for ac_func in alarm 10557 for ac_func in alarm
8728 do 10558 do
8729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8730 echo "$as_me:8730: checking for $ac_func" >&5 10560 echo "$as_me:$LINENO: checking for $ac_func" >&5
8731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8732 if eval "test \"\${$as_ac_var+set}\" = set"; then 10562 if eval "test \"\${$as_ac_var+set}\" = set"; then
8733 echo $ECHO_N "(cached) $ECHO_C" >&6 10563 echo $ECHO_N "(cached) $ECHO_C" >&6
8734 else 10564 else
8735 cat >conftest.$ac_ext <<_ACEOF 10565 cat >conftest.$ac_ext <<_ACEOF
8736 #line 8736 "configure" 10566 #line $LINENO "configure"
8737 #include "confdefs.h" 10567 #include "confdefs.h"
8738 /* System header to define __stub macros and hopefully few prototypes, 10568 /* System header to define __stub macros and hopefully few prototypes,
8739 which can conflict with char $ac_func (); below. */ 10569 which can conflict with char $ac_func (); below. */
8740 #include <assert.h> 10570 #include <assert.h>
8741 /* Override any gcc2 internal prototype to avoid an error. */ 10571 /* Override any gcc2 internal prototype to avoid an error. */
8745 /* We use char because int might match the return type of a gcc2 10575 /* We use char because int might match the return type of a gcc2
8746 builtin and then its argument prototype would still apply. */ 10576 builtin and then its argument prototype would still apply. */
8747 char $ac_func (); 10577 char $ac_func ();
8748 char (*f) (); 10578 char (*f) ();
8749 10579
10580 #ifdef F77_DUMMY_MAIN
10581 # ifdef __cplusplus
10582 extern "C"
10583 # endif
10584 int F77_DUMMY_MAIN() { return 1; }
10585 #endif
8750 int 10586 int
8751 main () 10587 main ()
8752 { 10588 {
8753 /* The GNU C library defines this for functions which it implements 10589 /* The GNU C library defines this for functions which it implements
8754 to always fail with ENOSYS. Some functions are actually named 10590 to always fail with ENOSYS. Some functions are actually named
8762 ; 10598 ;
8763 return 0; 10599 return 0;
8764 } 10600 }
8765 _ACEOF 10601 _ACEOF
8766 rm -f conftest.$ac_objext conftest$ac_exeext 10602 rm -f conftest.$ac_objext conftest$ac_exeext
8767 if { (eval echo "$as_me:8767: \"$ac_link\"") >&5 10603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8768 (eval $ac_link) 2>&5 10604 (eval $ac_link) 2>&5
8769 ac_status=$? 10605 ac_status=$?
8770 echo "$as_me:8770: \$? = $ac_status" >&5 10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 (exit $ac_status); } && 10607 (exit $ac_status); } &&
8772 { ac_try='test -s conftest$ac_exeext' 10608 { ac_try='test -s conftest$ac_exeext'
8773 { (eval echo "$as_me:8773: \"$ac_try\"") >&5 10609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8774 (eval $ac_try) 2>&5 10610 (eval $ac_try) 2>&5
8775 ac_status=$? 10611 ac_status=$?
8776 echo "$as_me:8776: \$? = $ac_status" >&5 10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); }; }; then 10613 (exit $ac_status); }; }; then
8778 eval "$as_ac_var=yes" 10614 eval "$as_ac_var=yes"
8779 else 10615 else
8780 echo "$as_me: failed program was:" >&5 10616 echo "$as_me: failed program was:" >&5
8781 cat conftest.$ac_ext >&5 10617 cat conftest.$ac_ext >&5
8782 eval "$as_ac_var=no" 10618 eval "$as_ac_var=no"
8783 fi 10619 fi
8784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8785 fi 10621 fi
8786 echo "$as_me:8786: result: `eval echo '${'$as_ac_var'}'`" >&5 10622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8788 if test `eval echo '${'$as_ac_var'}'` = yes; then 10624 if test `eval echo '${'$as_ac_var'}'` = yes; then
8789 cat >>confdefs.h <<EOF 10625 cat >>confdefs.h <<_ACEOF
8790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8791 EOF 10627 _ACEOF
8792 10628
8793 fi 10629 fi
8794 done 10630 done
8795 10631
8796 echo "$as_me:8796: checking for working mktime" >&5 10632 echo "$as_me:$LINENO: checking for working mktime" >&5
8797 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 10633 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8798 if test "${ac_cv_func_working_mktime+set}" = set; then 10634 if test "${ac_cv_func_working_mktime+set}" = set; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6 10635 echo $ECHO_N "(cached) $ECHO_C" >&6
8800 else 10636 else
8801 if test "$cross_compiling" = yes; then 10637 if test "$cross_compiling" = yes; then
8802 ac_cv_func_working_mktime=no 10638 ac_cv_func_working_mktime=no
8803 else 10639 else
8804 cat >conftest.$ac_ext <<_ACEOF 10640 cat >conftest.$ac_ext <<_ACEOF
8805 #line 8805 "configure" 10641 #line $LINENO "configure"
8806 #include "confdefs.h" 10642 #include "confdefs.h"
8807 /* Test program from Paul Eggert and Tony Leneis. */ 10643 /* Test program from Paul Eggert and Tony Leneis. */
8808 #if TIME_WITH_SYS_TIME 10644 #if TIME_WITH_SYS_TIME
8809 # include <sys/time.h> 10645 # include <sys/time.h>
8810 # include <time.h> 10646 # include <time.h>
8949 spring_forward_gap (); 10785 spring_forward_gap ();
8950 exit (0); 10786 exit (0);
8951 } 10787 }
8952 _ACEOF 10788 _ACEOF
8953 rm -f conftest$ac_exeext 10789 rm -f conftest$ac_exeext
8954 if { (eval echo "$as_me:8954: \"$ac_link\"") >&5 10790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8955 (eval $ac_link) 2>&5 10791 (eval $ac_link) 2>&5
8956 ac_status=$? 10792 ac_status=$?
8957 echo "$as_me:8957: \$? = $ac_status" >&5 10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8959 { (eval echo "$as_me:8959: \"$ac_try\"") >&5 10795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8960 (eval $ac_try) 2>&5 10796 (eval $ac_try) 2>&5
8961 ac_status=$? 10797 ac_status=$?
8962 echo "$as_me:8962: \$? = $ac_status" >&5 10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); }; }; then 10799 (exit $ac_status); }; }; then
8964 ac_cv_func_working_mktime=yes 10800 ac_cv_func_working_mktime=yes
8965 else 10801 else
8966 echo "$as_me: program exited with status $ac_status" >&5 10802 echo "$as_me: program exited with status $ac_status" >&5
8967 echo "$as_me: failed program was:" >&5 10803 echo "$as_me: failed program was:" >&5
8968 cat conftest.$ac_ext >&5 10804 cat conftest.$ac_ext >&5
10805 ( exit $ac_status )
8969 ac_cv_func_working_mktime=no 10806 ac_cv_func_working_mktime=no
8970 fi 10807 fi
8971 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10808 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8972 fi 10809 fi
8973 fi 10810 fi
8974 echo "$as_me:8974: result: $ac_cv_func_working_mktime" >&5 10811 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
8975 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 10812 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8976 if test $ac_cv_func_working_mktime = no; then 10813 if test $ac_cv_func_working_mktime = no; then
8977 LIBOBJS="$LIBOBJS mktime.$ac_objext" 10814 LIBOBJS="$LIBOBJS mktime.$ac_objext"
8978 fi 10815 fi
8979 10816
8980 if test "$ac_cv_func_working_mktime" = no; then 10817 if test "$ac_cv_func_working_mktime" = no; then
8981 10818
8982 cat >>confdefs.h <<\EOF 10819 cat >>confdefs.h <<\_ACEOF
8983 #define BROKEN_MKTIME 1 10820 #define BROKEN_MKTIME 1
8984 EOF 10821 _ACEOF
8985 10822
8986 fi 10823 fi
8987 10824
8988 ac_have_func=no # yes means we've found a way to get the load average. 10825 ac_have_func=no # yes means we've found a way to get the load average.
8989 10826
8990 ac_save_LIBS=$LIBS 10827 ac_save_LIBS=$LIBS
8991 10828
8992 # Check for getloadavg, but be sure not to touch the cache variable. 10829 # Check for getloadavg, but be sure not to touch the cache variable.
8993 (echo "$as_me:8993: checking for getloadavg" >&5 10830 (echo "$as_me:$LINENO: checking for getloadavg" >&5
8994 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 10831 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8995 if test "${ac_cv_func_getloadavg+set}" = set; then 10832 if test "${ac_cv_func_getloadavg+set}" = set; then
8996 echo $ECHO_N "(cached) $ECHO_C" >&6 10833 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 else 10834 else
8998 cat >conftest.$ac_ext <<_ACEOF 10835 cat >conftest.$ac_ext <<_ACEOF
8999 #line 8999 "configure" 10836 #line $LINENO "configure"
9000 #include "confdefs.h" 10837 #include "confdefs.h"
9001 /* System header to define __stub macros and hopefully few prototypes, 10838 /* System header to define __stub macros and hopefully few prototypes,
9002 which can conflict with char getloadavg (); below. */ 10839 which can conflict with char getloadavg (); below. */
9003 #include <assert.h> 10840 #include <assert.h>
9004 /* Override any gcc2 internal prototype to avoid an error. */ 10841 /* Override any gcc2 internal prototype to avoid an error. */
9008 /* We use char because int might match the return type of a gcc2 10845 /* We use char because int might match the return type of a gcc2
9009 builtin and then its argument prototype would still apply. */ 10846 builtin and then its argument prototype would still apply. */
9010 char getloadavg (); 10847 char getloadavg ();
9011 char (*f) (); 10848 char (*f) ();
9012 10849
10850 #ifdef F77_DUMMY_MAIN
10851 # ifdef __cplusplus
10852 extern "C"
10853 # endif
10854 int F77_DUMMY_MAIN() { return 1; }
10855 #endif
9013 int 10856 int
9014 main () 10857 main ()
9015 { 10858 {
9016 /* The GNU C library defines this for functions which it implements 10859 /* The GNU C library defines this for functions which it implements
9017 to always fail with ENOSYS. Some functions are actually named 10860 to always fail with ENOSYS. Some functions are actually named
9025 ; 10868 ;
9026 return 0; 10869 return 0;
9027 } 10870 }
9028 _ACEOF 10871 _ACEOF
9029 rm -f conftest.$ac_objext conftest$ac_exeext 10872 rm -f conftest.$ac_objext conftest$ac_exeext
9030 if { (eval echo "$as_me:9030: \"$ac_link\"") >&5 10873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9031 (eval $ac_link) 2>&5 10874 (eval $ac_link) 2>&5
9032 ac_status=$? 10875 ac_status=$?
9033 echo "$as_me:9033: \$? = $ac_status" >&5 10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); } && 10877 (exit $ac_status); } &&
9035 { ac_try='test -s conftest$ac_exeext' 10878 { ac_try='test -s conftest$ac_exeext'
9036 { (eval echo "$as_me:9036: \"$ac_try\"") >&5 10879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9037 (eval $ac_try) 2>&5 10880 (eval $ac_try) 2>&5
9038 ac_status=$? 10881 ac_status=$?
9039 echo "$as_me:9039: \$? = $ac_status" >&5 10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); }; }; then 10883 (exit $ac_status); }; }; then
9041 ac_cv_func_getloadavg=yes 10884 ac_cv_func_getloadavg=yes
9042 else 10885 else
9043 echo "$as_me: failed program was:" >&5 10886 echo "$as_me: failed program was:" >&5
9044 cat conftest.$ac_ext >&5 10887 cat conftest.$ac_ext >&5
9045 ac_cv_func_getloadavg=no 10888 ac_cv_func_getloadavg=no
9046 fi 10889 fi
9047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9048 fi 10891 fi
9049 echo "$as_me:9049: result: $ac_cv_func_getloadavg" >&5 10892 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
9050 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 10893 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
9051 if test $ac_cv_func_getloadavg = yes; then 10894 if test $ac_cv_func_getloadavg = yes; then
9052 exit 0 10895 exit 0
9053 else 10896 else
9054 exit 1 10897 exit 1
9058 # On HPUX9, an unprivileged user can get load averages through this function. 10901 # On HPUX9, an unprivileged user can get load averages through this function.
9059 10902
9060 for ac_func in pstat_getdynamic 10903 for ac_func in pstat_getdynamic
9061 do 10904 do
9062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9063 echo "$as_me:9063: checking for $ac_func" >&5 10906 echo "$as_me:$LINENO: checking for $ac_func" >&5
9064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9065 if eval "test \"\${$as_ac_var+set}\" = set"; then 10908 if eval "test \"\${$as_ac_var+set}\" = set"; then
9066 echo $ECHO_N "(cached) $ECHO_C" >&6 10909 echo $ECHO_N "(cached) $ECHO_C" >&6
9067 else 10910 else
9068 cat >conftest.$ac_ext <<_ACEOF 10911 cat >conftest.$ac_ext <<_ACEOF
9069 #line 9069 "configure" 10912 #line $LINENO "configure"
9070 #include "confdefs.h" 10913 #include "confdefs.h"
9071 /* System header to define __stub macros and hopefully few prototypes, 10914 /* System header to define __stub macros and hopefully few prototypes,
9072 which can conflict with char $ac_func (); below. */ 10915 which can conflict with char $ac_func (); below. */
9073 #include <assert.h> 10916 #include <assert.h>
9074 /* Override any gcc2 internal prototype to avoid an error. */ 10917 /* Override any gcc2 internal prototype to avoid an error. */
9078 /* We use char because int might match the return type of a gcc2 10921 /* We use char because int might match the return type of a gcc2
9079 builtin and then its argument prototype would still apply. */ 10922 builtin and then its argument prototype would still apply. */
9080 char $ac_func (); 10923 char $ac_func ();
9081 char (*f) (); 10924 char (*f) ();
9082 10925
10926 #ifdef F77_DUMMY_MAIN
10927 # ifdef __cplusplus
10928 extern "C"
10929 # endif
10930 int F77_DUMMY_MAIN() { return 1; }
10931 #endif
9083 int 10932 int
9084 main () 10933 main ()
9085 { 10934 {
9086 /* The GNU C library defines this for functions which it implements 10935 /* The GNU C library defines this for functions which it implements
9087 to always fail with ENOSYS. Some functions are actually named 10936 to always fail with ENOSYS. Some functions are actually named
9095 ; 10944 ;
9096 return 0; 10945 return 0;
9097 } 10946 }
9098 _ACEOF 10947 _ACEOF
9099 rm -f conftest.$ac_objext conftest$ac_exeext 10948 rm -f conftest.$ac_objext conftest$ac_exeext
9100 if { (eval echo "$as_me:9100: \"$ac_link\"") >&5 10949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9101 (eval $ac_link) 2>&5 10950 (eval $ac_link) 2>&5
9102 ac_status=$? 10951 ac_status=$?
9103 echo "$as_me:9103: \$? = $ac_status" >&5 10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); } && 10953 (exit $ac_status); } &&
9105 { ac_try='test -s conftest$ac_exeext' 10954 { ac_try='test -s conftest$ac_exeext'
9106 { (eval echo "$as_me:9106: \"$ac_try\"") >&5 10955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9107 (eval $ac_try) 2>&5 10956 (eval $ac_try) 2>&5
9108 ac_status=$? 10957 ac_status=$?
9109 echo "$as_me:9109: \$? = $ac_status" >&5 10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); }; }; then 10959 (exit $ac_status); }; }; then
9111 eval "$as_ac_var=yes" 10960 eval "$as_ac_var=yes"
9112 else 10961 else
9113 echo "$as_me: failed program was:" >&5 10962 echo "$as_me: failed program was:" >&5
9114 cat conftest.$ac_ext >&5 10963 cat conftest.$ac_ext >&5
9115 eval "$as_ac_var=no" 10964 eval "$as_ac_var=no"
9116 fi 10965 fi
9117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10966 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9118 fi 10967 fi
9119 echo "$as_me:9119: result: `eval echo '${'$as_ac_var'}'`" >&5 10968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9121 if test `eval echo '${'$as_ac_var'}'` = yes; then 10970 if test `eval echo '${'$as_ac_var'}'` = yes; then
9122 cat >>confdefs.h <<EOF 10971 cat >>confdefs.h <<_ACEOF
9123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9124 EOF 10973 _ACEOF
9125 10974
9126 fi 10975 fi
9127 done 10976 done
9128 10977
10978
9129 # Solaris has libkstat which does not require root. 10979 # Solaris has libkstat which does not require root.
9130 10980
9131 echo "$as_me:9131: checking for kstat_open in -lkstat" >&5 10981 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
9132 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 10982 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
9133 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 10983 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
9134 echo $ECHO_N "(cached) $ECHO_C" >&6 10984 echo $ECHO_N "(cached) $ECHO_C" >&6
9135 else 10985 else
9136 ac_check_lib_save_LIBS=$LIBS 10986 ac_check_lib_save_LIBS=$LIBS
9137 LIBS="-lkstat $LIBS" 10987 LIBS="-lkstat $LIBS"
9138 cat >conftest.$ac_ext <<_ACEOF 10988 cat >conftest.$ac_ext <<_ACEOF
9139 #line 9139 "configure" 10989 #line $LINENO "configure"
9140 #include "confdefs.h" 10990 #include "confdefs.h"
9141 10991
9142 /* Override any gcc2 internal prototype to avoid an error. */ 10992 /* Override any gcc2 internal prototype to avoid an error. */
9143 #ifdef __cplusplus 10993 #ifdef __cplusplus
9144 extern "C" 10994 extern "C"
9145 #endif 10995 #endif
9146 /* We use char because int might match the return type of a gcc2 10996 /* We use char because int might match the return type of a gcc2
9147 builtin and then its argument prototype would still apply. */ 10997 builtin and then its argument prototype would still apply. */
9148 char kstat_open (); 10998 char kstat_open ();
10999 #ifdef F77_DUMMY_MAIN
11000 # ifdef __cplusplus
11001 extern "C"
11002 # endif
11003 int F77_DUMMY_MAIN() { return 1; }
11004 #endif
9149 int 11005 int
9150 main () 11006 main ()
9151 { 11007 {
9152 kstat_open (); 11008 kstat_open ();
9153 ; 11009 ;
9154 return 0; 11010 return 0;
9155 } 11011 }
9156 _ACEOF 11012 _ACEOF
9157 rm -f conftest.$ac_objext conftest$ac_exeext 11013 rm -f conftest.$ac_objext conftest$ac_exeext
9158 if { (eval echo "$as_me:9158: \"$ac_link\"") >&5 11014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9159 (eval $ac_link) 2>&5 11015 (eval $ac_link) 2>&5
9160 ac_status=$? 11016 ac_status=$?
9161 echo "$as_me:9161: \$? = $ac_status" >&5 11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); } && 11018 (exit $ac_status); } &&
9163 { ac_try='test -s conftest$ac_exeext' 11019 { ac_try='test -s conftest$ac_exeext'
9164 { (eval echo "$as_me:9164: \"$ac_try\"") >&5 11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9165 (eval $ac_try) 2>&5 11021 (eval $ac_try) 2>&5
9166 ac_status=$? 11022 ac_status=$?
9167 echo "$as_me:9167: \$? = $ac_status" >&5 11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); }; }; then 11024 (exit $ac_status); }; }; then
9169 ac_cv_lib_kstat_kstat_open=yes 11025 ac_cv_lib_kstat_kstat_open=yes
9170 else 11026 else
9171 echo "$as_me: failed program was:" >&5 11027 echo "$as_me: failed program was:" >&5
9172 cat conftest.$ac_ext >&5 11028 cat conftest.$ac_ext >&5
9173 ac_cv_lib_kstat_kstat_open=no 11029 ac_cv_lib_kstat_kstat_open=no
9174 fi 11030 fi
9175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9176 LIBS=$ac_check_lib_save_LIBS 11032 LIBS=$ac_check_lib_save_LIBS
9177 fi 11033 fi
9178 echo "$as_me:9178: result: $ac_cv_lib_kstat_kstat_open" >&5 11034 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
9179 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 11035 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
9180 if test $ac_cv_lib_kstat_kstat_open = yes; then 11036 if test $ac_cv_lib_kstat_kstat_open = yes; then
9181 cat >>confdefs.h <<EOF 11037 cat >>confdefs.h <<_ACEOF
9182 #define HAVE_LIBKSTAT 1 11038 #define HAVE_LIBKSTAT 1
9183 EOF 11039 _ACEOF
9184 11040
9185 LIBS="-lkstat $LIBS" 11041 LIBS="-lkstat $LIBS"
9186 11042
9187 fi 11043 fi
9188 11044
9191 # Some systems with -lutil have (and need) -lkvm as well, some do not. 11047 # Some systems with -lutil have (and need) -lkvm as well, some do not.
9192 # On Solaris, -lkvm requires nlist from -lelf, so check that first 11048 # On Solaris, -lkvm requires nlist from -lelf, so check that first
9193 # to get the right answer into the cache. 11049 # to get the right answer into the cache.
9194 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 11050 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
9195 if test $ac_have_func = no; then 11051 if test $ac_have_func = no; then
9196 echo "$as_me:9196: checking for elf_begin in -lelf" >&5 11052 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
9197 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 11053 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
9198 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 11054 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9199 echo $ECHO_N "(cached) $ECHO_C" >&6 11055 echo $ECHO_N "(cached) $ECHO_C" >&6
9200 else 11056 else
9201 ac_check_lib_save_LIBS=$LIBS 11057 ac_check_lib_save_LIBS=$LIBS
9202 LIBS="-lelf $LIBS" 11058 LIBS="-lelf $LIBS"
9203 cat >conftest.$ac_ext <<_ACEOF 11059 cat >conftest.$ac_ext <<_ACEOF
9204 #line 9204 "configure" 11060 #line $LINENO "configure"
9205 #include "confdefs.h" 11061 #include "confdefs.h"
9206 11062
9207 /* Override any gcc2 internal prototype to avoid an error. */ 11063 /* Override any gcc2 internal prototype to avoid an error. */
9208 #ifdef __cplusplus 11064 #ifdef __cplusplus
9209 extern "C" 11065 extern "C"
9210 #endif 11066 #endif
9211 /* We use char because int might match the return type of a gcc2 11067 /* We use char because int might match the return type of a gcc2
9212 builtin and then its argument prototype would still apply. */ 11068 builtin and then its argument prototype would still apply. */
9213 char elf_begin (); 11069 char elf_begin ();
11070 #ifdef F77_DUMMY_MAIN
11071 # ifdef __cplusplus
11072 extern "C"
11073 # endif
11074 int F77_DUMMY_MAIN() { return 1; }
11075 #endif
9214 int 11076 int
9215 main () 11077 main ()
9216 { 11078 {
9217 elf_begin (); 11079 elf_begin ();
9218 ; 11080 ;
9219 return 0; 11081 return 0;
9220 } 11082 }
9221 _ACEOF 11083 _ACEOF
9222 rm -f conftest.$ac_objext conftest$ac_exeext 11084 rm -f conftest.$ac_objext conftest$ac_exeext
9223 if { (eval echo "$as_me:9223: \"$ac_link\"") >&5 11085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9224 (eval $ac_link) 2>&5 11086 (eval $ac_link) 2>&5
9225 ac_status=$? 11087 ac_status=$?
9226 echo "$as_me:9226: \$? = $ac_status" >&5 11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); } && 11089 (exit $ac_status); } &&
9228 { ac_try='test -s conftest$ac_exeext' 11090 { ac_try='test -s conftest$ac_exeext'
9229 { (eval echo "$as_me:9229: \"$ac_try\"") >&5 11091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9230 (eval $ac_try) 2>&5 11092 (eval $ac_try) 2>&5
9231 ac_status=$? 11093 ac_status=$?
9232 echo "$as_me:9232: \$? = $ac_status" >&5 11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }; }; then 11095 (exit $ac_status); }; }; then
9234 ac_cv_lib_elf_elf_begin=yes 11096 ac_cv_lib_elf_elf_begin=yes
9235 else 11097 else
9236 echo "$as_me: failed program was:" >&5 11098 echo "$as_me: failed program was:" >&5
9237 cat conftest.$ac_ext >&5 11099 cat conftest.$ac_ext >&5
9238 ac_cv_lib_elf_elf_begin=no 11100 ac_cv_lib_elf_elf_begin=no
9239 fi 11101 fi
9240 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9241 LIBS=$ac_check_lib_save_LIBS 11103 LIBS=$ac_check_lib_save_LIBS
9242 fi 11104 fi
9243 echo "$as_me:9243: result: $ac_cv_lib_elf_elf_begin" >&5 11105 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
9244 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 11106 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9245 if test $ac_cv_lib_elf_elf_begin = yes; then 11107 if test $ac_cv_lib_elf_elf_begin = yes; then
9246 LIBS="-lelf $LIBS" 11108 LIBS="-lelf $LIBS"
9247 fi 11109 fi
9248 11110
9249 fi 11111 fi
9250 if test $ac_have_func = no; then 11112 if test $ac_have_func = no; then
9251 echo "$as_me:9251: checking for kvm_open in -lkvm" >&5 11113 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
9252 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 11114 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9253 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 11115 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9254 echo $ECHO_N "(cached) $ECHO_C" >&6 11116 echo $ECHO_N "(cached) $ECHO_C" >&6
9255 else 11117 else
9256 ac_check_lib_save_LIBS=$LIBS 11118 ac_check_lib_save_LIBS=$LIBS
9257 LIBS="-lkvm $LIBS" 11119 LIBS="-lkvm $LIBS"
9258 cat >conftest.$ac_ext <<_ACEOF 11120 cat >conftest.$ac_ext <<_ACEOF
9259 #line 9259 "configure" 11121 #line $LINENO "configure"
9260 #include "confdefs.h" 11122 #include "confdefs.h"
9261 11123
9262 /* Override any gcc2 internal prototype to avoid an error. */ 11124 /* Override any gcc2 internal prototype to avoid an error. */
9263 #ifdef __cplusplus 11125 #ifdef __cplusplus
9264 extern "C" 11126 extern "C"
9265 #endif 11127 #endif
9266 /* We use char because int might match the return type of a gcc2 11128 /* We use char because int might match the return type of a gcc2
9267 builtin and then its argument prototype would still apply. */ 11129 builtin and then its argument prototype would still apply. */
9268 char kvm_open (); 11130 char kvm_open ();
11131 #ifdef F77_DUMMY_MAIN
11132 # ifdef __cplusplus
11133 extern "C"
11134 # endif
11135 int F77_DUMMY_MAIN() { return 1; }
11136 #endif
9269 int 11137 int
9270 main () 11138 main ()
9271 { 11139 {
9272 kvm_open (); 11140 kvm_open ();
9273 ; 11141 ;
9274 return 0; 11142 return 0;
9275 } 11143 }
9276 _ACEOF 11144 _ACEOF
9277 rm -f conftest.$ac_objext conftest$ac_exeext 11145 rm -f conftest.$ac_objext conftest$ac_exeext
9278 if { (eval echo "$as_me:9278: \"$ac_link\"") >&5 11146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9279 (eval $ac_link) 2>&5 11147 (eval $ac_link) 2>&5
9280 ac_status=$? 11148 ac_status=$?
9281 echo "$as_me:9281: \$? = $ac_status" >&5 11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); } && 11150 (exit $ac_status); } &&
9283 { ac_try='test -s conftest$ac_exeext' 11151 { ac_try='test -s conftest$ac_exeext'
9284 { (eval echo "$as_me:9284: \"$ac_try\"") >&5 11152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9285 (eval $ac_try) 2>&5 11153 (eval $ac_try) 2>&5
9286 ac_status=$? 11154 ac_status=$?
9287 echo "$as_me:9287: \$? = $ac_status" >&5 11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); }; }; then 11156 (exit $ac_status); }; }; then
9289 ac_cv_lib_kvm_kvm_open=yes 11157 ac_cv_lib_kvm_kvm_open=yes
9290 else 11158 else
9291 echo "$as_me: failed program was:" >&5 11159 echo "$as_me: failed program was:" >&5
9292 cat conftest.$ac_ext >&5 11160 cat conftest.$ac_ext >&5
9293 ac_cv_lib_kvm_kvm_open=no 11161 ac_cv_lib_kvm_kvm_open=no
9294 fi 11162 fi
9295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9296 LIBS=$ac_check_lib_save_LIBS 11164 LIBS=$ac_check_lib_save_LIBS
9297 fi 11165 fi
9298 echo "$as_me:9298: result: $ac_cv_lib_kvm_kvm_open" >&5 11166 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
9299 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 11167 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9300 if test $ac_cv_lib_kvm_kvm_open = yes; then 11168 if test $ac_cv_lib_kvm_kvm_open = yes; then
9301 LIBS="-lkvm $LIBS" 11169 LIBS="-lkvm $LIBS"
9302 fi 11170 fi
9303 11171
9304 # Check for the 4.4BSD definition of getloadavg. 11172 # Check for the 4.4BSD definition of getloadavg.
9305 echo "$as_me:9305: checking for getloadavg in -lutil" >&5 11173 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
9306 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 11174 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9307 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 11175 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9308 echo $ECHO_N "(cached) $ECHO_C" >&6 11176 echo $ECHO_N "(cached) $ECHO_C" >&6
9309 else 11177 else
9310 ac_check_lib_save_LIBS=$LIBS 11178 ac_check_lib_save_LIBS=$LIBS
9311 LIBS="-lutil $LIBS" 11179 LIBS="-lutil $LIBS"
9312 cat >conftest.$ac_ext <<_ACEOF 11180 cat >conftest.$ac_ext <<_ACEOF
9313 #line 9313 "configure" 11181 #line $LINENO "configure"
9314 #include "confdefs.h" 11182 #include "confdefs.h"
9315 11183
9316 /* Override any gcc2 internal prototype to avoid an error. */ 11184 /* Override any gcc2 internal prototype to avoid an error. */
9317 #ifdef __cplusplus 11185 #ifdef __cplusplus
9318 extern "C" 11186 extern "C"
9319 #endif 11187 #endif
9320 /* We use char because int might match the return type of a gcc2 11188 /* We use char because int might match the return type of a gcc2
9321 builtin and then its argument prototype would still apply. */ 11189 builtin and then its argument prototype would still apply. */
9322 char getloadavg (); 11190 char getloadavg ();
11191 #ifdef F77_DUMMY_MAIN
11192 # ifdef __cplusplus
11193 extern "C"
11194 # endif
11195 int F77_DUMMY_MAIN() { return 1; }
11196 #endif
9323 int 11197 int
9324 main () 11198 main ()
9325 { 11199 {
9326 getloadavg (); 11200 getloadavg ();
9327 ; 11201 ;
9328 return 0; 11202 return 0;
9329 } 11203 }
9330 _ACEOF 11204 _ACEOF
9331 rm -f conftest.$ac_objext conftest$ac_exeext 11205 rm -f conftest.$ac_objext conftest$ac_exeext
9332 if { (eval echo "$as_me:9332: \"$ac_link\"") >&5 11206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9333 (eval $ac_link) 2>&5 11207 (eval $ac_link) 2>&5
9334 ac_status=$? 11208 ac_status=$?
9335 echo "$as_me:9335: \$? = $ac_status" >&5 11209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); } && 11210 (exit $ac_status); } &&
9337 { ac_try='test -s conftest$ac_exeext' 11211 { ac_try='test -s conftest$ac_exeext'
9338 { (eval echo "$as_me:9338: \"$ac_try\"") >&5 11212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9339 (eval $ac_try) 2>&5 11213 (eval $ac_try) 2>&5
9340 ac_status=$? 11214 ac_status=$?
9341 echo "$as_me:9341: \$? = $ac_status" >&5 11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); }; }; then 11216 (exit $ac_status); }; }; then
9343 ac_cv_lib_util_getloadavg=yes 11217 ac_cv_lib_util_getloadavg=yes
9344 else 11218 else
9345 echo "$as_me: failed program was:" >&5 11219 echo "$as_me: failed program was:" >&5
9346 cat conftest.$ac_ext >&5 11220 cat conftest.$ac_ext >&5
9347 ac_cv_lib_util_getloadavg=no 11221 ac_cv_lib_util_getloadavg=no
9348 fi 11222 fi
9349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11223 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9350 LIBS=$ac_check_lib_save_LIBS 11224 LIBS=$ac_check_lib_save_LIBS
9351 fi 11225 fi
9352 echo "$as_me:9352: result: $ac_cv_lib_util_getloadavg" >&5 11226 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
9353 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 11227 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9354 if test $ac_cv_lib_util_getloadavg = yes; then 11228 if test $ac_cv_lib_util_getloadavg = yes; then
9355 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 11229 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
9356 fi 11230 fi
9357 11231
9360 if test $ac_have_func = no; then 11234 if test $ac_have_func = no; then
9361 # There is a commonly available library for RS/6000 AIX. 11235 # There is a commonly available library for RS/6000 AIX.
9362 # Since it is not a standard part of AIX, it might be installed locally. 11236 # Since it is not a standard part of AIX, it might be installed locally.
9363 ac_getloadavg_LIBS=$LIBS 11237 ac_getloadavg_LIBS=$LIBS
9364 LIBS="-L/usr/local/lib $LIBS" 11238 LIBS="-L/usr/local/lib $LIBS"
9365 echo "$as_me:9365: checking for getloadavg in -lgetloadavg" >&5 11239 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
9366 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 11240 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9367 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 11241 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9368 echo $ECHO_N "(cached) $ECHO_C" >&6 11242 echo $ECHO_N "(cached) $ECHO_C" >&6
9369 else 11243 else
9370 ac_check_lib_save_LIBS=$LIBS 11244 ac_check_lib_save_LIBS=$LIBS
9371 LIBS="-lgetloadavg $LIBS" 11245 LIBS="-lgetloadavg $LIBS"
9372 cat >conftest.$ac_ext <<_ACEOF 11246 cat >conftest.$ac_ext <<_ACEOF
9373 #line 9373 "configure" 11247 #line $LINENO "configure"
9374 #include "confdefs.h" 11248 #include "confdefs.h"
9375 11249
9376 /* Override any gcc2 internal prototype to avoid an error. */ 11250 /* Override any gcc2 internal prototype to avoid an error. */
9377 #ifdef __cplusplus 11251 #ifdef __cplusplus
9378 extern "C" 11252 extern "C"
9379 #endif 11253 #endif
9380 /* We use char because int might match the return type of a gcc2 11254 /* We use char because int might match the return type of a gcc2
9381 builtin and then its argument prototype would still apply. */ 11255 builtin and then its argument prototype would still apply. */
9382 char getloadavg (); 11256 char getloadavg ();
11257 #ifdef F77_DUMMY_MAIN
11258 # ifdef __cplusplus
11259 extern "C"
11260 # endif
11261 int F77_DUMMY_MAIN() { return 1; }
11262 #endif
9383 int 11263 int
9384 main () 11264 main ()
9385 { 11265 {
9386 getloadavg (); 11266 getloadavg ();
9387 ; 11267 ;
9388 return 0; 11268 return 0;
9389 } 11269 }
9390 _ACEOF 11270 _ACEOF
9391 rm -f conftest.$ac_objext conftest$ac_exeext 11271 rm -f conftest.$ac_objext conftest$ac_exeext
9392 if { (eval echo "$as_me:9392: \"$ac_link\"") >&5 11272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9393 (eval $ac_link) 2>&5 11273 (eval $ac_link) 2>&5
9394 ac_status=$? 11274 ac_status=$?
9395 echo "$as_me:9395: \$? = $ac_status" >&5 11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); } && 11276 (exit $ac_status); } &&
9397 { ac_try='test -s conftest$ac_exeext' 11277 { ac_try='test -s conftest$ac_exeext'
9398 { (eval echo "$as_me:9398: \"$ac_try\"") >&5 11278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9399 (eval $ac_try) 2>&5 11279 (eval $ac_try) 2>&5
9400 ac_status=$? 11280 ac_status=$?
9401 echo "$as_me:9401: \$? = $ac_status" >&5 11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then 11282 (exit $ac_status); }; }; then
9403 ac_cv_lib_getloadavg_getloadavg=yes 11283 ac_cv_lib_getloadavg_getloadavg=yes
9404 else 11284 else
9405 echo "$as_me: failed program was:" >&5 11285 echo "$as_me: failed program was:" >&5
9406 cat conftest.$ac_ext >&5 11286 cat conftest.$ac_ext >&5
9407 ac_cv_lib_getloadavg_getloadavg=no 11287 ac_cv_lib_getloadavg_getloadavg=no
9408 fi 11288 fi
9409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11289 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9410 LIBS=$ac_check_lib_save_LIBS 11290 LIBS=$ac_check_lib_save_LIBS
9411 fi 11291 fi
9412 echo "$as_me:9412: result: $ac_cv_lib_getloadavg_getloadavg" >&5 11292 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9413 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 11293 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9414 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 11294 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9415 LIBS="-lgetloadavg $LIBS" 11295 LIBS="-lgetloadavg $LIBS"
9416 else 11296 else
9417 LIBS=$ac_getloadavg_LIBS 11297 LIBS=$ac_getloadavg_LIBS
9423 # otherwise set up the replacement function. 11303 # otherwise set up the replacement function.
9424 11304
9425 for ac_func in getloadavg 11305 for ac_func in getloadavg
9426 do 11306 do
9427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9428 echo "$as_me:9428: checking for $ac_func" >&5 11308 echo "$as_me:$LINENO: checking for $ac_func" >&5
9429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9430 if eval "test \"\${$as_ac_var+set}\" = set"; then 11310 if eval "test \"\${$as_ac_var+set}\" = set"; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6 11311 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 else 11312 else
9433 cat >conftest.$ac_ext <<_ACEOF 11313 cat >conftest.$ac_ext <<_ACEOF
9434 #line 9434 "configure" 11314 #line $LINENO "configure"
9435 #include "confdefs.h" 11315 #include "confdefs.h"
9436 /* System header to define __stub macros and hopefully few prototypes, 11316 /* System header to define __stub macros and hopefully few prototypes,
9437 which can conflict with char $ac_func (); below. */ 11317 which can conflict with char $ac_func (); below. */
9438 #include <assert.h> 11318 #include <assert.h>
9439 /* Override any gcc2 internal prototype to avoid an error. */ 11319 /* Override any gcc2 internal prototype to avoid an error. */
9443 /* We use char because int might match the return type of a gcc2 11323 /* We use char because int might match the return type of a gcc2
9444 builtin and then its argument prototype would still apply. */ 11324 builtin and then its argument prototype would still apply. */
9445 char $ac_func (); 11325 char $ac_func ();
9446 char (*f) (); 11326 char (*f) ();
9447 11327
11328 #ifdef F77_DUMMY_MAIN
11329 # ifdef __cplusplus
11330 extern "C"
11331 # endif
11332 int F77_DUMMY_MAIN() { return 1; }
11333 #endif
9448 int 11334 int
9449 main () 11335 main ()
9450 { 11336 {
9451 /* The GNU C library defines this for functions which it implements 11337 /* The GNU C library defines this for functions which it implements
9452 to always fail with ENOSYS. Some functions are actually named 11338 to always fail with ENOSYS. Some functions are actually named
9460 ; 11346 ;
9461 return 0; 11347 return 0;
9462 } 11348 }
9463 _ACEOF 11349 _ACEOF
9464 rm -f conftest.$ac_objext conftest$ac_exeext 11350 rm -f conftest.$ac_objext conftest$ac_exeext
9465 if { (eval echo "$as_me:9465: \"$ac_link\"") >&5 11351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9466 (eval $ac_link) 2>&5 11352 (eval $ac_link) 2>&5
9467 ac_status=$? 11353 ac_status=$?
9468 echo "$as_me:9468: \$? = $ac_status" >&5 11354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); } && 11355 (exit $ac_status); } &&
9470 { ac_try='test -s conftest$ac_exeext' 11356 { ac_try='test -s conftest$ac_exeext'
9471 { (eval echo "$as_me:9471: \"$ac_try\"") >&5 11357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9472 (eval $ac_try) 2>&5 11358 (eval $ac_try) 2>&5
9473 ac_status=$? 11359 ac_status=$?
9474 echo "$as_me:9474: \$? = $ac_status" >&5 11360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); }; }; then 11361 (exit $ac_status); }; }; then
9476 eval "$as_ac_var=yes" 11362 eval "$as_ac_var=yes"
9477 else 11363 else
9478 echo "$as_me: failed program was:" >&5 11364 echo "$as_me: failed program was:" >&5
9479 cat conftest.$ac_ext >&5 11365 cat conftest.$ac_ext >&5
9480 eval "$as_ac_var=no" 11366 eval "$as_ac_var=no"
9481 fi 11367 fi
9482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9483 fi 11369 fi
9484 echo "$as_me:9484: result: `eval echo '${'$as_ac_var'}'`" >&5 11370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9486 if test `eval echo '${'$as_ac_var'}'` = yes; then 11372 if test `eval echo '${'$as_ac_var'}'` = yes; then
9487 cat >>confdefs.h <<EOF 11373 cat >>confdefs.h <<_ACEOF
9488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9489 EOF 11375 _ACEOF
9490 11376
9491 else 11377 else
9492 LIBOBJS="$LIBOBJS getloadavg.$ac_objext" 11378 LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
9493 11379
9494 cat >>confdefs.h <<\EOF 11380 cat >>confdefs.h <<\_ACEOF
9495 #define C_GETLOADAVG 1 11381 #define C_GETLOADAVG 1
9496 EOF 11382 _ACEOF
9497 11383
9498 # Figure out what our getloadavg.c needs. 11384 # Figure out what our getloadavg.c needs.
9499 ac_have_func=no 11385 ac_have_func=no
9500 echo "$as_me:9500: checking for sys/dg_sys_info.h" >&5 11386 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
11387 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
9501 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 11388 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9502 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 11389 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9503 echo $ECHO_N "(cached) $ECHO_C" >&6 11390 echo $ECHO_N "(cached) $ECHO_C" >&6
9504 else 11391 fi
9505 cat >conftest.$ac_ext <<_ACEOF 11392 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9506 #line 9506 "configure" 11393 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9507 #include "confdefs.h" 11394 else
11395 # Is the header compilable?
11396 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
11397 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
11398 cat >conftest.$ac_ext <<_ACEOF
11399 #line $LINENO "configure"
11400 #include "confdefs.h"
11401 $ac_includes_default
9508 #include <sys/dg_sys_info.h> 11402 #include <sys/dg_sys_info.h>
9509 _ACEOF 11403 _ACEOF
9510 if { (eval echo "$as_me:9510: \"$ac_cpp conftest.$ac_ext\"") >&5 11404 rm -f conftest.$ac_objext
11405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11406 (eval $ac_compile) 2>&5
11407 ac_status=$?
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); } &&
11410 { ac_try='test -s conftest.$ac_objext'
11411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11412 (eval $ac_try) 2>&5
11413 ac_status=$?
11414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415 (exit $ac_status); }; }; then
11416 ac_header_compiler=yes
11417 else
11418 echo "$as_me: failed program was:" >&5
11419 cat conftest.$ac_ext >&5
11420 ac_header_compiler=no
11421 fi
11422 rm -f conftest.$ac_objext conftest.$ac_ext
11423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11424 echo "${ECHO_T}$ac_header_compiler" >&6
11425
11426 # Is the header present?
11427 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
11428 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
11429 cat >conftest.$ac_ext <<_ACEOF
11430 #line $LINENO "configure"
11431 #include "confdefs.h"
11432 #include <sys/dg_sys_info.h>
11433 _ACEOF
11434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9512 ac_status=$? 11436 ac_status=$?
9513 egrep -v '^ *\+' conftest.er1 >conftest.err 11437 egrep -v '^ *\+' conftest.er1 >conftest.err
9514 rm -f conftest.er1 11438 rm -f conftest.er1
9515 cat conftest.err >&5 11439 cat conftest.err >&5
9516 echo "$as_me:9516: \$? = $ac_status" >&5 11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); } >/dev/null; then 11441 (exit $ac_status); } >/dev/null; then
9518 if test -s conftest.err; then 11442 if test -s conftest.err; then
9519 ac_cpp_err=$ac_c_preproc_warn_flag 11443 ac_cpp_err=$ac_c_preproc_warn_flag
9520 else 11444 else
9521 ac_cpp_err= 11445 ac_cpp_err=
9522 fi 11446 fi
9523 else 11447 else
9524 ac_cpp_err=yes 11448 ac_cpp_err=yes
9525 fi 11449 fi
9526 if test -z "$ac_cpp_err"; then 11450 if test -z "$ac_cpp_err"; then
9527 ac_cv_header_sys_dg_sys_info_h=yes 11451 ac_header_preproc=yes
9528 else 11452 else
9529 echo "$as_me: failed program was:" >&5 11453 echo "$as_me: failed program was:" >&5
9530 cat conftest.$ac_ext >&5 11454 cat conftest.$ac_ext >&5
9531 ac_cv_header_sys_dg_sys_info_h=no 11455 ac_header_preproc=no
9532 fi 11456 fi
9533 rm -f conftest.err conftest.$ac_ext 11457 rm -f conftest.err conftest.$ac_ext
9534 fi 11458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9535 echo "$as_me:9535: result: $ac_cv_header_sys_dg_sys_info_h" >&5 11459 echo "${ECHO_T}$ac_header_preproc" >&6
11460
11461 # So? What about this header?
11462 case $ac_header_compiler:$ac_header_preproc in
11463 yes:no )
11464 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
11465 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11466 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
11467 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;
11468 no:yes )
11469 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
11470 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
11471 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
11472 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
11473 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
11474 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;
11475 esac
11476 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
11477 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
11478 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 else
11481 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
11482 fi
11483 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9536 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 11484 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
11485
11486 fi
9537 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 11487 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9538 ac_have_func=yes 11488 ac_have_func=yes
9539 11489
9540 cat >>confdefs.h <<\EOF 11490 cat >>confdefs.h <<\_ACEOF
9541 #define DGUX 1 11491 #define DGUX 1
9542 EOF 11492 _ACEOF
9543 11493
9544 echo "$as_me:9544: checking for dg_sys_info in -ldgc" >&5 11494
11495 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
9545 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 11496 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9546 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 11497 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9547 echo $ECHO_N "(cached) $ECHO_C" >&6 11498 echo $ECHO_N "(cached) $ECHO_C" >&6
9548 else 11499 else
9549 ac_check_lib_save_LIBS=$LIBS 11500 ac_check_lib_save_LIBS=$LIBS
9550 LIBS="-ldgc $LIBS" 11501 LIBS="-ldgc $LIBS"
9551 cat >conftest.$ac_ext <<_ACEOF 11502 cat >conftest.$ac_ext <<_ACEOF
9552 #line 9552 "configure" 11503 #line $LINENO "configure"
9553 #include "confdefs.h" 11504 #include "confdefs.h"
9554 11505
9555 /* Override any gcc2 internal prototype to avoid an error. */ 11506 /* Override any gcc2 internal prototype to avoid an error. */
9556 #ifdef __cplusplus 11507 #ifdef __cplusplus
9557 extern "C" 11508 extern "C"
9558 #endif 11509 #endif
9559 /* We use char because int might match the return type of a gcc2 11510 /* We use char because int might match the return type of a gcc2
9560 builtin and then its argument prototype would still apply. */ 11511 builtin and then its argument prototype would still apply. */
9561 char dg_sys_info (); 11512 char dg_sys_info ();
11513 #ifdef F77_DUMMY_MAIN
11514 # ifdef __cplusplus
11515 extern "C"
11516 # endif
11517 int F77_DUMMY_MAIN() { return 1; }
11518 #endif
9562 int 11519 int
9563 main () 11520 main ()
9564 { 11521 {
9565 dg_sys_info (); 11522 dg_sys_info ();
9566 ; 11523 ;
9567 return 0; 11524 return 0;
9568 } 11525 }
9569 _ACEOF 11526 _ACEOF
9570 rm -f conftest.$ac_objext conftest$ac_exeext 11527 rm -f conftest.$ac_objext conftest$ac_exeext
9571 if { (eval echo "$as_me:9571: \"$ac_link\"") >&5 11528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9572 (eval $ac_link) 2>&5 11529 (eval $ac_link) 2>&5
9573 ac_status=$? 11530 ac_status=$?
9574 echo "$as_me:9574: \$? = $ac_status" >&5 11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); } && 11532 (exit $ac_status); } &&
9576 { ac_try='test -s conftest$ac_exeext' 11533 { ac_try='test -s conftest$ac_exeext'
9577 { (eval echo "$as_me:9577: \"$ac_try\"") >&5 11534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9578 (eval $ac_try) 2>&5 11535 (eval $ac_try) 2>&5
9579 ac_status=$? 11536 ac_status=$?
9580 echo "$as_me:9580: \$? = $ac_status" >&5 11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581 (exit $ac_status); }; }; then 11538 (exit $ac_status); }; }; then
9582 ac_cv_lib_dgc_dg_sys_info=yes 11539 ac_cv_lib_dgc_dg_sys_info=yes
9583 else 11540 else
9584 echo "$as_me: failed program was:" >&5 11541 echo "$as_me: failed program was:" >&5
9585 cat conftest.$ac_ext >&5 11542 cat conftest.$ac_ext >&5
9586 ac_cv_lib_dgc_dg_sys_info=no 11543 ac_cv_lib_dgc_dg_sys_info=no
9587 fi 11544 fi
9588 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9589 LIBS=$ac_check_lib_save_LIBS 11546 LIBS=$ac_check_lib_save_LIBS
9590 fi 11547 fi
9591 echo "$as_me:9591: result: $ac_cv_lib_dgc_dg_sys_info" >&5 11548 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9592 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 11549 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9593 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 11550 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9594 cat >>confdefs.h <<EOF 11551 cat >>confdefs.h <<_ACEOF
9595 #define HAVE_LIBDGC 1 11552 #define HAVE_LIBDGC 1
9596 EOF 11553 _ACEOF
9597 11554
9598 LIBS="-ldgc $LIBS" 11555 LIBS="-ldgc $LIBS"
9599 11556
9600 fi 11557 fi
9601 11558
9602 fi 11559 fi
9603 11560
9604 echo "$as_me:9604: checking for locale.h" >&5 11561
11562
11563 if test "${ac_cv_header_locale_h+set}" = set; then
11564 echo "$as_me:$LINENO: checking for locale.h" >&5
9605 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 11565 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9606 if test "${ac_cv_header_locale_h+set}" = set; then 11566 if test "${ac_cv_header_locale_h+set}" = set; then
9607 echo $ECHO_N "(cached) $ECHO_C" >&6 11567 echo $ECHO_N "(cached) $ECHO_C" >&6
9608 else 11568 fi
9609 cat >conftest.$ac_ext <<_ACEOF 11569 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
9610 #line 9610 "configure" 11570 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9611 #include "confdefs.h" 11571 else
11572 # Is the header compilable?
11573 echo "$as_me:$LINENO: checking locale.h usability" >&5
11574 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
11575 cat >conftest.$ac_ext <<_ACEOF
11576 #line $LINENO "configure"
11577 #include "confdefs.h"
11578 $ac_includes_default
9612 #include <locale.h> 11579 #include <locale.h>
9613 _ACEOF 11580 _ACEOF
9614 if { (eval echo "$as_me:9614: \"$ac_cpp conftest.$ac_ext\"") >&5 11581 rm -f conftest.$ac_objext
11582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11583 (eval $ac_compile) 2>&5
11584 ac_status=$?
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); } &&
11587 { ac_try='test -s conftest.$ac_objext'
11588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11589 (eval $ac_try) 2>&5
11590 ac_status=$?
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); }; }; then
11593 ac_header_compiler=yes
11594 else
11595 echo "$as_me: failed program was:" >&5
11596 cat conftest.$ac_ext >&5
11597 ac_header_compiler=no
11598 fi
11599 rm -f conftest.$ac_objext conftest.$ac_ext
11600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11601 echo "${ECHO_T}$ac_header_compiler" >&6
11602
11603 # Is the header present?
11604 echo "$as_me:$LINENO: checking locale.h presence" >&5
11605 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
11606 cat >conftest.$ac_ext <<_ACEOF
11607 #line $LINENO "configure"
11608 #include "confdefs.h"
11609 #include <locale.h>
11610 _ACEOF
11611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9615 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11612 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9616 ac_status=$? 11613 ac_status=$?
9617 egrep -v '^ *\+' conftest.er1 >conftest.err 11614 egrep -v '^ *\+' conftest.er1 >conftest.err
9618 rm -f conftest.er1 11615 rm -f conftest.er1
9619 cat conftest.err >&5 11616 cat conftest.err >&5
9620 echo "$as_me:9620: \$? = $ac_status" >&5 11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); } >/dev/null; then 11618 (exit $ac_status); } >/dev/null; then
9622 if test -s conftest.err; then 11619 if test -s conftest.err; then
9623 ac_cpp_err=$ac_c_preproc_warn_flag 11620 ac_cpp_err=$ac_c_preproc_warn_flag
9624 else 11621 else
9625 ac_cpp_err= 11622 ac_cpp_err=
9626 fi 11623 fi
9627 else 11624 else
9628 ac_cpp_err=yes 11625 ac_cpp_err=yes
9629 fi 11626 fi
9630 if test -z "$ac_cpp_err"; then 11627 if test -z "$ac_cpp_err"; then
9631 ac_cv_header_locale_h=yes 11628 ac_header_preproc=yes
9632 else 11629 else
9633 echo "$as_me: failed program was:" >&5 11630 echo "$as_me: failed program was:" >&5
9634 cat conftest.$ac_ext >&5 11631 cat conftest.$ac_ext >&5
9635 ac_cv_header_locale_h=no 11632 ac_header_preproc=no
9636 fi 11633 fi
9637 rm -f conftest.err conftest.$ac_ext 11634 rm -f conftest.err conftest.$ac_ext
9638 fi 11635 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9639 echo "$as_me:9639: result: $ac_cv_header_locale_h" >&5 11636 echo "${ECHO_T}$ac_header_preproc" >&6
11637
11638 # So? What about this header?
11639 case $ac_header_compiler:$ac_header_preproc in
11640 yes:no )
11641 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
11642 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11643 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
11644 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};;
11645 no:yes )
11646 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
11647 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
11648 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
11649 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
11650 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
11651 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};;
11652 esac
11653 echo "$as_me:$LINENO: checking for locale.h" >&5
11654 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
11655 if test "${ac_cv_header_locale_h+set}" = set; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6
11657 else
11658 ac_cv_header_locale_h=$ac_header_preproc
11659 fi
11660 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
9640 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 11661 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
11662
11663 fi
11664
11665
9641 11666
9642 for ac_func in setlocale 11667 for ac_func in setlocale
9643 do 11668 do
9644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9645 echo "$as_me:9645: checking for $ac_func" >&5 11670 echo "$as_me:$LINENO: checking for $ac_func" >&5
9646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9647 if eval "test \"\${$as_ac_var+set}\" = set"; then 11672 if eval "test \"\${$as_ac_var+set}\" = set"; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6 11673 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 else 11674 else
9650 cat >conftest.$ac_ext <<_ACEOF 11675 cat >conftest.$ac_ext <<_ACEOF
9651 #line 9651 "configure" 11676 #line $LINENO "configure"
9652 #include "confdefs.h" 11677 #include "confdefs.h"
9653 /* System header to define __stub macros and hopefully few prototypes, 11678 /* System header to define __stub macros and hopefully few prototypes,
9654 which can conflict with char $ac_func (); below. */ 11679 which can conflict with char $ac_func (); below. */
9655 #include <assert.h> 11680 #include <assert.h>
9656 /* Override any gcc2 internal prototype to avoid an error. */ 11681 /* Override any gcc2 internal prototype to avoid an error. */
9660 /* We use char because int might match the return type of a gcc2 11685 /* We use char because int might match the return type of a gcc2
9661 builtin and then its argument prototype would still apply. */ 11686 builtin and then its argument prototype would still apply. */
9662 char $ac_func (); 11687 char $ac_func ();
9663 char (*f) (); 11688 char (*f) ();
9664 11689
11690 #ifdef F77_DUMMY_MAIN
11691 # ifdef __cplusplus
11692 extern "C"
11693 # endif
11694 int F77_DUMMY_MAIN() { return 1; }
11695 #endif
9665 int 11696 int
9666 main () 11697 main ()
9667 { 11698 {
9668 /* The GNU C library defines this for functions which it implements 11699 /* The GNU C library defines this for functions which it implements
9669 to always fail with ENOSYS. Some functions are actually named 11700 to always fail with ENOSYS. Some functions are actually named
9677 ; 11708 ;
9678 return 0; 11709 return 0;
9679 } 11710 }
9680 _ACEOF 11711 _ACEOF
9681 rm -f conftest.$ac_objext conftest$ac_exeext 11712 rm -f conftest.$ac_objext conftest$ac_exeext
9682 if { (eval echo "$as_me:9682: \"$ac_link\"") >&5 11713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9683 (eval $ac_link) 2>&5 11714 (eval $ac_link) 2>&5
9684 ac_status=$? 11715 ac_status=$?
9685 echo "$as_me:9685: \$? = $ac_status" >&5 11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); } && 11717 (exit $ac_status); } &&
9687 { ac_try='test -s conftest$ac_exeext' 11718 { ac_try='test -s conftest$ac_exeext'
9688 { (eval echo "$as_me:9688: \"$ac_try\"") >&5 11719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9689 (eval $ac_try) 2>&5 11720 (eval $ac_try) 2>&5
9690 ac_status=$? 11721 ac_status=$?
9691 echo "$as_me:9691: \$? = $ac_status" >&5 11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); }; }; then 11723 (exit $ac_status); }; }; then
9693 eval "$as_ac_var=yes" 11724 eval "$as_ac_var=yes"
9694 else 11725 else
9695 echo "$as_me: failed program was:" >&5 11726 echo "$as_me: failed program was:" >&5
9696 cat conftest.$ac_ext >&5 11727 cat conftest.$ac_ext >&5
9697 eval "$as_ac_var=no" 11728 eval "$as_ac_var=no"
9698 fi 11729 fi
9699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9700 fi 11731 fi
9701 echo "$as_me:9701: result: `eval echo '${'$as_ac_var'}'`" >&5 11732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9703 if test `eval echo '${'$as_ac_var'}'` = yes; then 11734 if test `eval echo '${'$as_ac_var'}'` = yes; then
9704 cat >>confdefs.h <<EOF 11735 cat >>confdefs.h <<_ACEOF
9705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9706 EOF 11737 _ACEOF
9707 11738
9708 fi 11739 fi
9709 done 11740 done
11741
9710 11742
9711 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it 11743 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
9712 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because 11744 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
9713 # Irix 4.0.5F has the header but not the library. 11745 # Irix 4.0.5F has the header but not the library.
9714 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then 11746 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
9715 ac_have_func=yes 11747 ac_have_func=yes
9716 11748
9717 cat >>confdefs.h <<\EOF 11749 cat >>confdefs.h <<\_ACEOF
9718 #define SVR4 1 11750 #define SVR4 1
9719 EOF 11751 _ACEOF
9720 11752
9721 fi 11753 fi
9722 11754
9723 if test $ac_have_func = no; then 11755 if test $ac_have_func = no; then
9724 echo "$as_me:9724: checking for inq_stats/cpustats.h" >&5 11756 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
11757 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
9725 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 11758 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9726 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 11759 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9727 echo $ECHO_N "(cached) $ECHO_C" >&6 11760 echo $ECHO_N "(cached) $ECHO_C" >&6
9728 else 11761 fi
9729 cat >conftest.$ac_ext <<_ACEOF 11762 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9730 #line 9730 "configure" 11763 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9731 #include "confdefs.h" 11764 else
11765 # Is the header compilable?
11766 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
11767 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
11768 cat >conftest.$ac_ext <<_ACEOF
11769 #line $LINENO "configure"
11770 #include "confdefs.h"
11771 $ac_includes_default
9732 #include <inq_stats/cpustats.h> 11772 #include <inq_stats/cpustats.h>
9733 _ACEOF 11773 _ACEOF
9734 if { (eval echo "$as_me:9734: \"$ac_cpp conftest.$ac_ext\"") >&5 11774 rm -f conftest.$ac_objext
11775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11776 (eval $ac_compile) 2>&5
11777 ac_status=$?
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } &&
11780 { ac_try='test -s conftest.$ac_objext'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11783 ac_status=$?
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; }; then
11786 ac_header_compiler=yes
11787 else
11788 echo "$as_me: failed program was:" >&5
11789 cat conftest.$ac_ext >&5
11790 ac_header_compiler=no
11791 fi
11792 rm -f conftest.$ac_objext conftest.$ac_ext
11793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11794 echo "${ECHO_T}$ac_header_compiler" >&6
11795
11796 # Is the header present?
11797 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
11798 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
11799 cat >conftest.$ac_ext <<_ACEOF
11800 #line $LINENO "configure"
11801 #include "confdefs.h"
11802 #include <inq_stats/cpustats.h>
11803 _ACEOF
11804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9735 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9736 ac_status=$? 11806 ac_status=$?
9737 egrep -v '^ *\+' conftest.er1 >conftest.err 11807 egrep -v '^ *\+' conftest.er1 >conftest.err
9738 rm -f conftest.er1 11808 rm -f conftest.er1
9739 cat conftest.err >&5 11809 cat conftest.err >&5
9740 echo "$as_me:9740: \$? = $ac_status" >&5 11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); } >/dev/null; then 11811 (exit $ac_status); } >/dev/null; then
9742 if test -s conftest.err; then 11812 if test -s conftest.err; then
9743 ac_cpp_err=$ac_c_preproc_warn_flag 11813 ac_cpp_err=$ac_c_preproc_warn_flag
9744 else 11814 else
9745 ac_cpp_err= 11815 ac_cpp_err=
9746 fi 11816 fi
9747 else 11817 else
9748 ac_cpp_err=yes 11818 ac_cpp_err=yes
9749 fi 11819 fi
9750 if test -z "$ac_cpp_err"; then 11820 if test -z "$ac_cpp_err"; then
9751 ac_cv_header_inq_stats_cpustats_h=yes 11821 ac_header_preproc=yes
9752 else 11822 else
9753 echo "$as_me: failed program was:" >&5 11823 echo "$as_me: failed program was:" >&5
9754 cat conftest.$ac_ext >&5 11824 cat conftest.$ac_ext >&5
9755 ac_cv_header_inq_stats_cpustats_h=no 11825 ac_header_preproc=no
9756 fi 11826 fi
9757 rm -f conftest.err conftest.$ac_ext 11827 rm -f conftest.err conftest.$ac_ext
9758 fi 11828 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9759 echo "$as_me:9759: result: $ac_cv_header_inq_stats_cpustats_h" >&5 11829 echo "${ECHO_T}$ac_header_preproc" >&6
11830
11831 # So? What about this header?
11832 case $ac_header_compiler:$ac_header_preproc in
11833 yes:no )
11834 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
11835 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11836 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
11837 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11838 no:yes )
11839 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
11840 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
11841 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
11842 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
11843 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
11844 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11845 esac
11846 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
11847 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
11848 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
11849 echo $ECHO_N "(cached) $ECHO_C" >&6
11850 else
11851 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
11852 fi
11853 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9760 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 11854 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
11855
11856 fi
9761 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 11857 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9762 ac_have_func=yes 11858 ac_have_func=yes
9763 11859
9764 cat >>confdefs.h <<\EOF 11860 cat >>confdefs.h <<\_ACEOF
9765 #define UMAX 1 11861 #define UMAX 1
9766 EOF 11862 _ACEOF
9767 11863
9768 cat >>confdefs.h <<\EOF 11864
11865 cat >>confdefs.h <<\_ACEOF
9769 #define UMAX4_3 1 11866 #define UMAX4_3 1
9770 EOF 11867 _ACEOF
9771 11868
9772 fi 11869 fi
11870
9773 11871
9774 fi 11872 fi
9775 11873
9776 if test $ac_have_func = no; then 11874 if test $ac_have_func = no; then
9777 echo "$as_me:9777: checking for sys/cpustats.h" >&5 11875 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11876 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
9778 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 11877 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9779 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 11878 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9780 echo $ECHO_N "(cached) $ECHO_C" >&6 11879 echo $ECHO_N "(cached) $ECHO_C" >&6
9781 else 11880 fi
9782 cat >conftest.$ac_ext <<_ACEOF 11881 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
9783 #line 9783 "configure" 11882 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9784 #include "confdefs.h" 11883 else
11884 # Is the header compilable?
11885 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
11886 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
11887 cat >conftest.$ac_ext <<_ACEOF
11888 #line $LINENO "configure"
11889 #include "confdefs.h"
11890 $ac_includes_default
9785 #include <sys/cpustats.h> 11891 #include <sys/cpustats.h>
9786 _ACEOF 11892 _ACEOF
9787 if { (eval echo "$as_me:9787: \"$ac_cpp conftest.$ac_ext\"") >&5 11893 rm -f conftest.$ac_objext
11894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11895 (eval $ac_compile) 2>&5
11896 ac_status=$?
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); } &&
11899 { ac_try='test -s conftest.$ac_objext'
11900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11901 (eval $ac_try) 2>&5
11902 ac_status=$?
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); }; }; then
11905 ac_header_compiler=yes
11906 else
11907 echo "$as_me: failed program was:" >&5
11908 cat conftest.$ac_ext >&5
11909 ac_header_compiler=no
11910 fi
11911 rm -f conftest.$ac_objext conftest.$ac_ext
11912 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11913 echo "${ECHO_T}$ac_header_compiler" >&6
11914
11915 # Is the header present?
11916 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
11917 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
11918 cat >conftest.$ac_ext <<_ACEOF
11919 #line $LINENO "configure"
11920 #include "confdefs.h"
11921 #include <sys/cpustats.h>
11922 _ACEOF
11923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9789 ac_status=$? 11925 ac_status=$?
9790 egrep -v '^ *\+' conftest.er1 >conftest.err 11926 egrep -v '^ *\+' conftest.er1 >conftest.err
9791 rm -f conftest.er1 11927 rm -f conftest.er1
9792 cat conftest.err >&5 11928 cat conftest.err >&5
9793 echo "$as_me:9793: \$? = $ac_status" >&5 11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 (exit $ac_status); } >/dev/null; then 11930 (exit $ac_status); } >/dev/null; then
9795 if test -s conftest.err; then 11931 if test -s conftest.err; then
9796 ac_cpp_err=$ac_c_preproc_warn_flag 11932 ac_cpp_err=$ac_c_preproc_warn_flag
9797 else 11933 else
9798 ac_cpp_err= 11934 ac_cpp_err=
9799 fi 11935 fi
9800 else 11936 else
9801 ac_cpp_err=yes 11937 ac_cpp_err=yes
9802 fi 11938 fi
9803 if test -z "$ac_cpp_err"; then 11939 if test -z "$ac_cpp_err"; then
9804 ac_cv_header_sys_cpustats_h=yes 11940 ac_header_preproc=yes
9805 else 11941 else
9806 echo "$as_me: failed program was:" >&5 11942 echo "$as_me: failed program was:" >&5
9807 cat conftest.$ac_ext >&5 11943 cat conftest.$ac_ext >&5
9808 ac_cv_header_sys_cpustats_h=no 11944 ac_header_preproc=no
9809 fi 11945 fi
9810 rm -f conftest.err conftest.$ac_ext 11946 rm -f conftest.err conftest.$ac_ext
9811 fi 11947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9812 echo "$as_me:9812: result: $ac_cv_header_sys_cpustats_h" >&5 11948 echo "${ECHO_T}$ac_header_preproc" >&6
11949
11950 # So? What about this header?
11951 case $ac_header_compiler:$ac_header_preproc in
11952 yes:no )
11953 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
11954 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11955 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
11956 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11957 no:yes )
11958 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
11959 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
11960 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
11961 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
11962 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
11963 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11964 esac
11965 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
11966 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
11967 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11968 echo $ECHO_N "(cached) $ECHO_C" >&6
11969 else
11970 ac_cv_header_sys_cpustats_h=$ac_header_preproc
11971 fi
11972 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
9813 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 11973 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
11974
11975 fi
9814 if test $ac_cv_header_sys_cpustats_h = yes; then 11976 if test $ac_cv_header_sys_cpustats_h = yes; then
9815 ac_have_func=yes; cat >>confdefs.h <<\EOF 11977 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
9816 #define UMAX 1 11978 #define UMAX 1
9817 EOF 11979 _ACEOF
9818 11980
9819 fi 11981 fi
11982
9820 11983
9821 fi 11984 fi
9822 11985
9823 if test $ac_have_func = no; then 11986 if test $ac_have_func = no; then
9824 11987
9825 for ac_header in mach/mach.h 11988 for ac_header in mach/mach.h
9826 do 11989 do
9827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11990 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9828 echo "$as_me:9828: checking for $ac_header" >&5 11991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11992 echo "$as_me:$LINENO: checking for $ac_header" >&5
9829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9830 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9831 echo $ECHO_N "(cached) $ECHO_C" >&6 11995 echo $ECHO_N "(cached) $ECHO_C" >&6
9832 else 11996 fi
9833 cat >conftest.$ac_ext <<_ACEOF 11997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9834 #line 9834 "configure" 11998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9835 #include "confdefs.h" 11999 else
12000 # Is the header compilable?
12001 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12003 cat >conftest.$ac_ext <<_ACEOF
12004 #line $LINENO "configure"
12005 #include "confdefs.h"
12006 $ac_includes_default
9836 #include <$ac_header> 12007 #include <$ac_header>
9837 _ACEOF 12008 _ACEOF
9838 if { (eval echo "$as_me:9838: \"$ac_cpp conftest.$ac_ext\"") >&5 12009 rm -f conftest.$ac_objext
12010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12011 (eval $ac_compile) 2>&5
12012 ac_status=$?
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); } &&
12015 { ac_try='test -s conftest.$ac_objext'
12016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12017 (eval $ac_try) 2>&5
12018 ac_status=$?
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); }; }; then
12021 ac_header_compiler=yes
12022 else
12023 echo "$as_me: failed program was:" >&5
12024 cat conftest.$ac_ext >&5
12025 ac_header_compiler=no
12026 fi
12027 rm -f conftest.$ac_objext conftest.$ac_ext
12028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12029 echo "${ECHO_T}$ac_header_compiler" >&6
12030
12031 # Is the header present?
12032 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12033 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12034 cat >conftest.$ac_ext <<_ACEOF
12035 #line $LINENO "configure"
12036 #include "confdefs.h"
12037 #include <$ac_header>
12038 _ACEOF
12039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9840 ac_status=$? 12041 ac_status=$?
9841 egrep -v '^ *\+' conftest.er1 >conftest.err 12042 egrep -v '^ *\+' conftest.er1 >conftest.err
9842 rm -f conftest.er1 12043 rm -f conftest.er1
9843 cat conftest.err >&5 12044 cat conftest.err >&5
9844 echo "$as_me:9844: \$? = $ac_status" >&5 12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } >/dev/null; then 12046 (exit $ac_status); } >/dev/null; then
9846 if test -s conftest.err; then 12047 if test -s conftest.err; then
9847 ac_cpp_err=$ac_c_preproc_warn_flag 12048 ac_cpp_err=$ac_c_preproc_warn_flag
9848 else 12049 else
9849 ac_cpp_err= 12050 ac_cpp_err=
9850 fi 12051 fi
9851 else 12052 else
9852 ac_cpp_err=yes 12053 ac_cpp_err=yes
9853 fi 12054 fi
9854 if test -z "$ac_cpp_err"; then 12055 if test -z "$ac_cpp_err"; then
9855 eval "$as_ac_Header=yes" 12056 ac_header_preproc=yes
9856 else 12057 else
9857 echo "$as_me: failed program was:" >&5 12058 echo "$as_me: failed program was:" >&5
9858 cat conftest.$ac_ext >&5 12059 cat conftest.$ac_ext >&5
9859 eval "$as_ac_Header=no" 12060 ac_header_preproc=no
9860 fi 12061 fi
9861 rm -f conftest.err conftest.$ac_ext 12062 rm -f conftest.err conftest.$ac_ext
9862 fi 12063 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9863 echo "$as_me:9863: result: `eval echo '${'$as_ac_Header'}'`" >&5 12064 echo "${ECHO_T}$ac_header_preproc" >&6
12065
12066 # So? What about this header?
12067 case $ac_header_compiler:$ac_header_preproc in
12068 yes:no )
12069 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12070 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12072 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12073 no:yes )
12074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12080 esac
12081 echo "$as_me:$LINENO: checking for $ac_header" >&5
12082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12085 else
12086 eval "$as_ac_Header=$ac_header_preproc"
12087 fi
12088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12090
12091 fi
9865 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9866 cat >>confdefs.h <<EOF 12093 cat >>confdefs.h <<_ACEOF
9867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9868 EOF 12095 _ACEOF
9869 12096
9870 fi 12097 fi
12098
9871 done 12099 done
9872 12100
9873 fi 12101 fi
12102
9874 12103
9875 for ac_header in nlist.h 12104 for ac_header in nlist.h
9876 do 12105 do
9877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9878 echo "$as_me:9878: checking for $ac_header" >&5 12107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12108 echo "$as_me:$LINENO: checking for $ac_header" >&5
9879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9880 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9881 echo $ECHO_N "(cached) $ECHO_C" >&6 12111 echo $ECHO_N "(cached) $ECHO_C" >&6
9882 else 12112 fi
9883 cat >conftest.$ac_ext <<_ACEOF 12113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9884 #line 9884 "configure" 12114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9885 #include "confdefs.h" 12115 else
12116 # Is the header compilable?
12117 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12119 cat >conftest.$ac_ext <<_ACEOF
12120 #line $LINENO "configure"
12121 #include "confdefs.h"
12122 $ac_includes_default
9886 #include <$ac_header> 12123 #include <$ac_header>
9887 _ACEOF 12124 _ACEOF
9888 if { (eval echo "$as_me:9888: \"$ac_cpp conftest.$ac_ext\"") >&5 12125 rm -f conftest.$ac_objext
12126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12127 (eval $ac_compile) 2>&5
12128 ac_status=$?
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); } &&
12131 { ac_try='test -s conftest.$ac_objext'
12132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12133 (eval $ac_try) 2>&5
12134 ac_status=$?
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; }; then
12137 ac_header_compiler=yes
12138 else
12139 echo "$as_me: failed program was:" >&5
12140 cat conftest.$ac_ext >&5
12141 ac_header_compiler=no
12142 fi
12143 rm -f conftest.$ac_objext conftest.$ac_ext
12144 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12145 echo "${ECHO_T}$ac_header_compiler" >&6
12146
12147 # Is the header present?
12148 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12149 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12150 cat >conftest.$ac_ext <<_ACEOF
12151 #line $LINENO "configure"
12152 #include "confdefs.h"
12153 #include <$ac_header>
12154 _ACEOF
12155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9889 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9890 ac_status=$? 12157 ac_status=$?
9891 egrep -v '^ *\+' conftest.er1 >conftest.err 12158 egrep -v '^ *\+' conftest.er1 >conftest.err
9892 rm -f conftest.er1 12159 rm -f conftest.er1
9893 cat conftest.err >&5 12160 cat conftest.err >&5
9894 echo "$as_me:9894: \$? = $ac_status" >&5 12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); } >/dev/null; then 12162 (exit $ac_status); } >/dev/null; then
9896 if test -s conftest.err; then 12163 if test -s conftest.err; then
9897 ac_cpp_err=$ac_c_preproc_warn_flag 12164 ac_cpp_err=$ac_c_preproc_warn_flag
9898 else 12165 else
9899 ac_cpp_err= 12166 ac_cpp_err=
9900 fi 12167 fi
9901 else 12168 else
9902 ac_cpp_err=yes 12169 ac_cpp_err=yes
9903 fi 12170 fi
9904 if test -z "$ac_cpp_err"; then 12171 if test -z "$ac_cpp_err"; then
9905 eval "$as_ac_Header=yes" 12172 ac_header_preproc=yes
9906 else 12173 else
9907 echo "$as_me: failed program was:" >&5 12174 echo "$as_me: failed program was:" >&5
9908 cat conftest.$ac_ext >&5 12175 cat conftest.$ac_ext >&5
9909 eval "$as_ac_Header=no" 12176 ac_header_preproc=no
9910 fi 12177 fi
9911 rm -f conftest.err conftest.$ac_ext 12178 rm -f conftest.err conftest.$ac_ext
9912 fi 12179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9913 echo "$as_me:9913: result: `eval echo '${'$as_ac_Header'}'`" >&5 12180 echo "${ECHO_T}$ac_header_preproc" >&6
12181
12182 # So? What about this header?
12183 case $ac_header_compiler:$ac_header_preproc in
12184 yes:no )
12185 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12186 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12189 no:yes )
12190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12193 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12196 esac
12197 echo "$as_me:$LINENO: checking for $ac_header" >&5
12198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12200 echo $ECHO_N "(cached) $ECHO_C" >&6
12201 else
12202 eval "$as_ac_Header=$ac_header_preproc"
12203 fi
12204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12206
12207 fi
9915 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9916 cat >>confdefs.h <<EOF 12209 cat >>confdefs.h <<_ACEOF
9917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9918 EOF 12211 _ACEOF
9919 echo "$as_me:9919: checking for struct nlist.n_un.n_name" >&5 12212 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
9920 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 12213 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9921 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 12214 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6 12215 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 else 12216 else
9924 cat >conftest.$ac_ext <<_ACEOF 12217 cat >conftest.$ac_ext <<_ACEOF
9925 #line 9925 "configure" 12218 #line $LINENO "configure"
9926 #include "confdefs.h" 12219 #include "confdefs.h"
9927 #include <nlist.h> 12220 #include <nlist.h>
9928 12221
12222 #ifdef F77_DUMMY_MAIN
12223 # ifdef __cplusplus
12224 extern "C"
12225 # endif
12226 int F77_DUMMY_MAIN() { return 1; }
12227 #endif
9929 int 12228 int
9930 main () 12229 main ()
9931 { 12230 {
9932 static struct nlist ac_aggr; 12231 static struct nlist ac_aggr;
9933 if (ac_aggr.n_un.n_name) 12232 if (ac_aggr.n_un.n_name)
9935 ; 12234 ;
9936 return 0; 12235 return 0;
9937 } 12236 }
9938 _ACEOF 12237 _ACEOF
9939 rm -f conftest.$ac_objext 12238 rm -f conftest.$ac_objext
9940 if { (eval echo "$as_me:9940: \"$ac_compile\"") >&5 12239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9941 (eval $ac_compile) 2>&5 12240 (eval $ac_compile) 2>&5
9942 ac_status=$? 12241 ac_status=$?
9943 echo "$as_me:9943: \$? = $ac_status" >&5 12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9944 (exit $ac_status); } && 12243 (exit $ac_status); } &&
9945 { ac_try='test -s conftest.$ac_objext' 12244 { ac_try='test -s conftest.$ac_objext'
9946 { (eval echo "$as_me:9946: \"$ac_try\"") >&5 12245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9947 (eval $ac_try) 2>&5 12246 (eval $ac_try) 2>&5
9948 ac_status=$? 12247 ac_status=$?
9949 echo "$as_me:9949: \$? = $ac_status" >&5 12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); }; }; then 12249 (exit $ac_status); }; }; then
9951 ac_cv_member_struct_nlist_n_un_n_name=yes 12250 ac_cv_member_struct_nlist_n_un_n_name=yes
9952 else 12251 else
9953 echo "$as_me: failed program was:" >&5 12252 echo "$as_me: failed program was:" >&5
9954 cat conftest.$ac_ext >&5 12253 cat conftest.$ac_ext >&5
9955 ac_cv_member_struct_nlist_n_un_n_name=no 12254 ac_cv_member_struct_nlist_n_un_n_name=no
9956 fi 12255 fi
9957 rm -f conftest.$ac_objext conftest.$ac_ext 12256 rm -f conftest.$ac_objext conftest.$ac_ext
9958 fi 12257 fi
9959 echo "$as_me:9959: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 12258 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9960 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 12259 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9961 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 12260 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9962 12261
9963 cat >>confdefs.h <<EOF 12262 cat >>confdefs.h <<_ACEOF
9964 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 12263 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
9965 EOF 12264 _ACEOF
9966 12265
9967 cat >>confdefs.h <<\EOF 12266
12267 cat >>confdefs.h <<\_ACEOF
9968 #define NLIST_NAME_UNION 1 12268 #define NLIST_NAME_UNION 1
9969 EOF 12269 _ACEOF
9970 12270
9971 fi 12271 fi
9972 12272
9973 fi 12273
12274 fi
12275
9974 done 12276 done
9975 12277
9976 fi 12278 fi
9977 done 12279 done
9978 12280
12281
9979 # Some definitions of getloadavg require that the program be installed setgid. 12282 # Some definitions of getloadavg require that the program be installed setgid.
9980 echo "$as_me:9980: checking whether getloadavg requires setgid" >&5 12283 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
9981 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 12284 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9982 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 12285 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9983 echo $ECHO_N "(cached) $ECHO_C" >&6 12286 echo $ECHO_N "(cached) $ECHO_C" >&6
9984 else 12287 else
9985 cat >conftest.$ac_ext <<_ACEOF 12288 cat >conftest.$ac_ext <<_ACEOF
9986 #line 9986 "configure" 12289 #line $LINENO "configure"
9987 #include "confdefs.h" 12290 #include "confdefs.h"
9988 #include "$srcdir/getloadavg.c" 12291 #include "$srcdir/getloadavg.c"
9989 #ifdef LDAV_PRIVILEGED 12292 #ifdef LDAV_PRIVILEGED
9990 Yowza Am I SETGID yet 12293 Yowza Am I SETGID yet
9991 #endif 12294 #endif
9997 ac_cv_func_getloadavg_setgid=no 12300 ac_cv_func_getloadavg_setgid=no
9998 fi 12301 fi
9999 rm -f conftest* 12302 rm -f conftest*
10000 12303
10001 fi 12304 fi
10002 echo "$as_me:10002: result: $ac_cv_func_getloadavg_setgid" >&5 12305 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
10003 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 12306 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
10004 if test $ac_cv_func_getloadavg_setgid = yes; then 12307 if test $ac_cv_func_getloadavg_setgid = yes; then
10005 NEED_SETGID=true 12308 NEED_SETGID=true
10006 12309
10007 cat >>confdefs.h <<\EOF 12310 cat >>confdefs.h <<\_ACEOF
10008 #define GETLOADAVG_PRIVILEGED 1 12311 #define GETLOADAVG_PRIVILEGED 1
10009 EOF 12312 _ACEOF
10010 12313
10011 else 12314 else
10012 NEED_SETGID=false 12315 NEED_SETGID=false
10013 fi 12316 fi
10014 12317
10015 if test $ac_cv_func_getloadavg_setgid = yes; then 12318 if test $ac_cv_func_getloadavg_setgid = yes; then
10016 echo "$as_me:10016: checking group of /dev/kmem" >&5 12319 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
10017 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 12320 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
10018 if test "${ac_cv_group_kmem+set}" = set; then 12321 if test "${ac_cv_group_kmem+set}" = set; then
10019 echo $ECHO_N "(cached) $ECHO_C" >&6 12322 echo $ECHO_N "(cached) $ECHO_C" >&6
10020 else 12323 else
10021 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 12324 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
10026 | sed -ne 's/[ ][ ]*/ /g; 12329 | sed -ne 's/[ ][ ]*/ /g;
10027 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 12330 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
10028 / /s/.* //;p;'` 12331 / /s/.* //;p;'`
10029 12332
10030 fi 12333 fi
10031 echo "$as_me:10031: result: $ac_cv_group_kmem" >&5 12334 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
10032 echo "${ECHO_T}$ac_cv_group_kmem" >&6 12335 echo "${ECHO_T}$ac_cv_group_kmem" >&6
10033 KMEM_GROUP=$ac_cv_group_kmem 12336 KMEM_GROUP=$ac_cv_group_kmem
10034 fi 12337 fi
10035 if test "x$ac_save_LIBS" = x; then 12338 if test "x$ac_save_LIBS" = x; then
10036 GETLOADAVG_LIBS=$LIBS 12339 GETLOADAVG_LIBS=$LIBS
10037 else 12340 else
10038 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` 12341 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
10039 fi 12342 fi
10040 LIBS=$ac_save_LIBS 12343 LIBS=$ac_save_LIBS
10041 12344
10042 echo "$as_me:10042: checking for _LARGEFILE_SOURCE value needed for large files" >&5 12345
12346
12347 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
10043 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 12348 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
10044 if test "${ac_cv_sys_largefile_source+set}" = set; then 12349 if test "${ac_cv_sys_largefile_source+set}" = set; then
10045 echo $ECHO_N "(cached) $ECHO_C" >&6 12350 echo $ECHO_N "(cached) $ECHO_C" >&6
10046 else 12351 else
10047 while :; do 12352 while :; do
10048 ac_cv_sys_largefile_source=no 12353 ac_cv_sys_largefile_source=no
10049 cat >conftest.$ac_ext <<_ACEOF 12354 cat >conftest.$ac_ext <<_ACEOF
10050 #line 10050 "configure" 12355 #line $LINENO "configure"
10051 #include "confdefs.h" 12356 #include "confdefs.h"
10052 #include <stdio.h> 12357 #include <stdio.h>
12358 #ifdef F77_DUMMY_MAIN
12359 # ifdef __cplusplus
12360 extern "C"
12361 # endif
12362 int F77_DUMMY_MAIN() { return 1; }
12363 #endif
10053 int 12364 int
10054 main () 12365 main ()
10055 { 12366 {
10056 return !fseeko; 12367 return !fseeko;
10057 ; 12368 ;
10058 return 0; 12369 return 0;
10059 } 12370 }
10060 _ACEOF 12371 _ACEOF
10061 rm -f conftest.$ac_objext 12372 rm -f conftest.$ac_objext
10062 if { (eval echo "$as_me:10062: \"$ac_compile\"") >&5 12373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10063 (eval $ac_compile) 2>&5 12374 (eval $ac_compile) 2>&5
10064 ac_status=$? 12375 ac_status=$?
10065 echo "$as_me:10065: \$? = $ac_status" >&5 12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); } && 12377 (exit $ac_status); } &&
10067 { ac_try='test -s conftest.$ac_objext' 12378 { ac_try='test -s conftest.$ac_objext'
10068 { (eval echo "$as_me:10068: \"$ac_try\"") >&5 12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10069 (eval $ac_try) 2>&5 12380 (eval $ac_try) 2>&5
10070 ac_status=$? 12381 ac_status=$?
10071 echo "$as_me:10071: \$? = $ac_status" >&5 12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; }; then 12383 (exit $ac_status); }; }; then
10073 break 12384 break
10074 else 12385 else
10075 echo "$as_me: failed program was:" >&5 12386 echo "$as_me: failed program was:" >&5
10076 cat conftest.$ac_ext >&5 12387 cat conftest.$ac_ext >&5
10077 fi 12388 fi
10078 rm -f conftest.$ac_objext conftest.$ac_ext 12389 rm -f conftest.$ac_objext conftest.$ac_ext
10079 cat >conftest.$ac_ext <<_ACEOF 12390 cat >conftest.$ac_ext <<_ACEOF
10080 #line 10080 "configure" 12391 #line $LINENO "configure"
10081 #include "confdefs.h" 12392 #include "confdefs.h"
10082 #define _LARGEFILE_SOURCE 1 12393 #define _LARGEFILE_SOURCE 1
10083 #include <stdio.h> 12394 #include <stdio.h>
12395 #ifdef F77_DUMMY_MAIN
12396 # ifdef __cplusplus
12397 extern "C"
12398 # endif
12399 int F77_DUMMY_MAIN() { return 1; }
12400 #endif
10084 int 12401 int
10085 main () 12402 main ()
10086 { 12403 {
10087 return !fseeko; 12404 return !fseeko;
10088 ; 12405 ;
10089 return 0; 12406 return 0;
10090 } 12407 }
10091 _ACEOF 12408 _ACEOF
10092 rm -f conftest.$ac_objext 12409 rm -f conftest.$ac_objext
10093 if { (eval echo "$as_me:10093: \"$ac_compile\"") >&5 12410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10094 (eval $ac_compile) 2>&5 12411 (eval $ac_compile) 2>&5
10095 ac_status=$? 12412 ac_status=$?
10096 echo "$as_me:10096: \$? = $ac_status" >&5 12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); } && 12414 (exit $ac_status); } &&
10098 { ac_try='test -s conftest.$ac_objext' 12415 { ac_try='test -s conftest.$ac_objext'
10099 { (eval echo "$as_me:10099: \"$ac_try\"") >&5 12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10100 (eval $ac_try) 2>&5 12417 (eval $ac_try) 2>&5
10101 ac_status=$? 12418 ac_status=$?
10102 echo "$as_me:10102: \$? = $ac_status" >&5 12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); }; }; then 12420 (exit $ac_status); }; }; then
10104 ac_cv_sys_largefile_source=1; break 12421 ac_cv_sys_largefile_source=1; break
10105 else 12422 else
10106 echo "$as_me: failed program was:" >&5 12423 echo "$as_me: failed program was:" >&5
10107 cat conftest.$ac_ext >&5 12424 cat conftest.$ac_ext >&5
10108 fi 12425 fi
10109 rm -f conftest.$ac_objext conftest.$ac_ext 12426 rm -f conftest.$ac_objext conftest.$ac_ext
10110 break 12427 break
10111 done 12428 done
10112 fi 12429 fi
10113 echo "$as_me:10113: result: $ac_cv_sys_largefile_source" >&5 12430 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
10114 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 12431 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
10115 if test "$ac_cv_sys_largefile_source" != no; then 12432 if test "$ac_cv_sys_largefile_source" != no; then
10116 12433
10117 cat >>confdefs.h <<EOF 12434 cat >>confdefs.h <<_ACEOF
10118 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 12435 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
10119 EOF 12436 _ACEOF
10120 12437
10121 fi 12438 fi
10122 rm -f conftest* 12439 rm -f conftest*
10123 12440
10124 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 12441 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
10125 # in glibc 2.1.3, but that breaks too many other things. 12442 # in glibc 2.1.3, but that breaks too many other things.
10126 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 12443 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
10127 echo "$as_me:10127: checking for fseeko" >&5 12444 echo "$as_me:$LINENO: checking for fseeko" >&5
10128 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 12445 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
10129 if test "${ac_cv_func_fseeko+set}" = set; then 12446 if test "${ac_cv_func_fseeko+set}" = set; then
10130 echo $ECHO_N "(cached) $ECHO_C" >&6 12447 echo $ECHO_N "(cached) $ECHO_C" >&6
10131 else 12448 else
10132 cat >conftest.$ac_ext <<_ACEOF 12449 cat >conftest.$ac_ext <<_ACEOF
10133 #line 10133 "configure" 12450 #line $LINENO "configure"
10134 #include "confdefs.h" 12451 #include "confdefs.h"
10135 #include <stdio.h> 12452 #include <stdio.h>
12453 #ifdef F77_DUMMY_MAIN
12454 # ifdef __cplusplus
12455 extern "C"
12456 # endif
12457 int F77_DUMMY_MAIN() { return 1; }
12458 #endif
10136 int 12459 int
10137 main () 12460 main ()
10138 { 12461 {
10139 return fseeko && fseeko (stdin, 0, 0); 12462 return fseeko && fseeko (stdin, 0, 0);
10140 ; 12463 ;
10141 return 0; 12464 return 0;
10142 } 12465 }
10143 _ACEOF 12466 _ACEOF
10144 rm -f conftest.$ac_objext conftest$ac_exeext 12467 rm -f conftest.$ac_objext conftest$ac_exeext
10145 if { (eval echo "$as_me:10145: \"$ac_link\"") >&5 12468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10146 (eval $ac_link) 2>&5 12469 (eval $ac_link) 2>&5
10147 ac_status=$? 12470 ac_status=$?
10148 echo "$as_me:10148: \$? = $ac_status" >&5 12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); } && 12472 (exit $ac_status); } &&
10150 { ac_try='test -s conftest$ac_exeext' 12473 { ac_try='test -s conftest$ac_exeext'
10151 { (eval echo "$as_me:10151: \"$ac_try\"") >&5 12474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10152 (eval $ac_try) 2>&5 12475 (eval $ac_try) 2>&5
10153 ac_status=$? 12476 ac_status=$?
10154 echo "$as_me:10154: \$? = $ac_status" >&5 12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); }; }; then 12478 (exit $ac_status); }; }; then
10156 ac_cv_func_fseeko=yes 12479 ac_cv_func_fseeko=yes
10157 else 12480 else
10158 echo "$as_me: failed program was:" >&5 12481 echo "$as_me: failed program was:" >&5
10159 cat conftest.$ac_ext >&5 12482 cat conftest.$ac_ext >&5
10160 ac_cv_func_fseeko=no 12483 ac_cv_func_fseeko=no
10161 fi 12484 fi
10162 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12485 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10163 fi 12486 fi
10164 echo "$as_me:10164: result: $ac_cv_func_fseeko" >&5 12487 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
10165 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 12488 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
10166 if test $ac_cv_func_fseeko = yes; then 12489 if test $ac_cv_func_fseeko = yes; then
10167 12490
10168 cat >>confdefs.h <<\EOF 12491 cat >>confdefs.h <<\_ACEOF
10169 #define HAVE_FSEEKO 1 12492 #define HAVE_FSEEKO 1
10170 EOF 12493 _ACEOF
10171 12494
10172 fi 12495 fi
12496
10173 12497
10174 # UNIX98 PTYs. 12498 # UNIX98 PTYs.
10175 12499
10176 for ac_func in grantpt 12500 for ac_func in grantpt
10177 do 12501 do
10178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10179 echo "$as_me:10179: checking for $ac_func" >&5 12503 echo "$as_me:$LINENO: checking for $ac_func" >&5
10180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10181 if eval "test \"\${$as_ac_var+set}\" = set"; then 12505 if eval "test \"\${$as_ac_var+set}\" = set"; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6 12506 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 else 12507 else
10184 cat >conftest.$ac_ext <<_ACEOF 12508 cat >conftest.$ac_ext <<_ACEOF
10185 #line 10185 "configure" 12509 #line $LINENO "configure"
10186 #include "confdefs.h" 12510 #include "confdefs.h"
10187 /* System header to define __stub macros and hopefully few prototypes, 12511 /* System header to define __stub macros and hopefully few prototypes,
10188 which can conflict with char $ac_func (); below. */ 12512 which can conflict with char $ac_func (); below. */
10189 #include <assert.h> 12513 #include <assert.h>
10190 /* Override any gcc2 internal prototype to avoid an error. */ 12514 /* Override any gcc2 internal prototype to avoid an error. */
10194 /* We use char because int might match the return type of a gcc2 12518 /* We use char because int might match the return type of a gcc2
10195 builtin and then its argument prototype would still apply. */ 12519 builtin and then its argument prototype would still apply. */
10196 char $ac_func (); 12520 char $ac_func ();
10197 char (*f) (); 12521 char (*f) ();
10198 12522
12523 #ifdef F77_DUMMY_MAIN
12524 # ifdef __cplusplus
12525 extern "C"
12526 # endif
12527 int F77_DUMMY_MAIN() { return 1; }
12528 #endif
10199 int 12529 int
10200 main () 12530 main ()
10201 { 12531 {
10202 /* The GNU C library defines this for functions which it implements 12532 /* The GNU C library defines this for functions which it implements
10203 to always fail with ENOSYS. Some functions are actually named 12533 to always fail with ENOSYS. Some functions are actually named
10211 ; 12541 ;
10212 return 0; 12542 return 0;
10213 } 12543 }
10214 _ACEOF 12544 _ACEOF
10215 rm -f conftest.$ac_objext conftest$ac_exeext 12545 rm -f conftest.$ac_objext conftest$ac_exeext
10216 if { (eval echo "$as_me:10216: \"$ac_link\"") >&5 12546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10217 (eval $ac_link) 2>&5 12547 (eval $ac_link) 2>&5
10218 ac_status=$? 12548 ac_status=$?
10219 echo "$as_me:10219: \$? = $ac_status" >&5 12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); } && 12550 (exit $ac_status); } &&
10221 { ac_try='test -s conftest$ac_exeext' 12551 { ac_try='test -s conftest$ac_exeext'
10222 { (eval echo "$as_me:10222: \"$ac_try\"") >&5 12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10223 (eval $ac_try) 2>&5 12553 (eval $ac_try) 2>&5
10224 ac_status=$? 12554 ac_status=$?
10225 echo "$as_me:10225: \$? = $ac_status" >&5 12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); }; }; then 12556 (exit $ac_status); }; }; then
10227 eval "$as_ac_var=yes" 12557 eval "$as_ac_var=yes"
10228 else 12558 else
10229 echo "$as_me: failed program was:" >&5 12559 echo "$as_me: failed program was:" >&5
10230 cat conftest.$ac_ext >&5 12560 cat conftest.$ac_ext >&5
10231 eval "$as_ac_var=no" 12561 eval "$as_ac_var=no"
10232 fi 12562 fi
10233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10234 fi 12564 fi
10235 echo "$as_me:10235: result: `eval echo '${'$as_ac_var'}'`" >&5 12565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10237 if test `eval echo '${'$as_ac_var'}'` = yes; then 12567 if test `eval echo '${'$as_ac_var'}'` = yes; then
10238 cat >>confdefs.h <<EOF 12568 cat >>confdefs.h <<_ACEOF
10239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10240 EOF 12570 _ACEOF
10241 12571
10242 fi 12572 fi
10243 done 12573 done
12574
10244 12575
10245 # PTY-related GNU extensions. 12576 # PTY-related GNU extensions.
10246 12577
10247 for ac_func in getpt 12578 for ac_func in getpt
10248 do 12579 do
10249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10250 echo "$as_me:10250: checking for $ac_func" >&5 12581 echo "$as_me:$LINENO: checking for $ac_func" >&5
10251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10252 if eval "test \"\${$as_ac_var+set}\" = set"; then 12583 if eval "test \"\${$as_ac_var+set}\" = set"; then
10253 echo $ECHO_N "(cached) $ECHO_C" >&6 12584 echo $ECHO_N "(cached) $ECHO_C" >&6
10254 else 12585 else
10255 cat >conftest.$ac_ext <<_ACEOF 12586 cat >conftest.$ac_ext <<_ACEOF
10256 #line 10256 "configure" 12587 #line $LINENO "configure"
10257 #include "confdefs.h" 12588 #include "confdefs.h"
10258 /* System header to define __stub macros and hopefully few prototypes, 12589 /* System header to define __stub macros and hopefully few prototypes,
10259 which can conflict with char $ac_func (); below. */ 12590 which can conflict with char $ac_func (); below. */
10260 #include <assert.h> 12591 #include <assert.h>
10261 /* Override any gcc2 internal prototype to avoid an error. */ 12592 /* Override any gcc2 internal prototype to avoid an error. */
10265 /* We use char because int might match the return type of a gcc2 12596 /* We use char because int might match the return type of a gcc2
10266 builtin and then its argument prototype would still apply. */ 12597 builtin and then its argument prototype would still apply. */
10267 char $ac_func (); 12598 char $ac_func ();
10268 char (*f) (); 12599 char (*f) ();
10269 12600
12601 #ifdef F77_DUMMY_MAIN
12602 # ifdef __cplusplus
12603 extern "C"
12604 # endif
12605 int F77_DUMMY_MAIN() { return 1; }
12606 #endif
10270 int 12607 int
10271 main () 12608 main ()
10272 { 12609 {
10273 /* The GNU C library defines this for functions which it implements 12610 /* The GNU C library defines this for functions which it implements
10274 to always fail with ENOSYS. Some functions are actually named 12611 to always fail with ENOSYS. Some functions are actually named
10282 ; 12619 ;
10283 return 0; 12620 return 0;
10284 } 12621 }
10285 _ACEOF 12622 _ACEOF
10286 rm -f conftest.$ac_objext conftest$ac_exeext 12623 rm -f conftest.$ac_objext conftest$ac_exeext
10287 if { (eval echo "$as_me:10287: \"$ac_link\"") >&5 12624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10288 (eval $ac_link) 2>&5 12625 (eval $ac_link) 2>&5
10289 ac_status=$? 12626 ac_status=$?
10290 echo "$as_me:10290: \$? = $ac_status" >&5 12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291 (exit $ac_status); } && 12628 (exit $ac_status); } &&
10292 { ac_try='test -s conftest$ac_exeext' 12629 { ac_try='test -s conftest$ac_exeext'
10293 { (eval echo "$as_me:10293: \"$ac_try\"") >&5 12630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10294 (eval $ac_try) 2>&5 12631 (eval $ac_try) 2>&5
10295 ac_status=$? 12632 ac_status=$?
10296 echo "$as_me:10296: \$? = $ac_status" >&5 12633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); }; }; then 12634 (exit $ac_status); }; }; then
10298 eval "$as_ac_var=yes" 12635 eval "$as_ac_var=yes"
10299 else 12636 else
10300 echo "$as_me: failed program was:" >&5 12637 echo "$as_me: failed program was:" >&5
10301 cat conftest.$ac_ext >&5 12638 cat conftest.$ac_ext >&5
10302 eval "$as_ac_var=no" 12639 eval "$as_ac_var=no"
10303 fi 12640 fi
10304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10305 fi 12642 fi
10306 echo "$as_me:10306: result: `eval echo '${'$as_ac_var'}'`" >&5 12643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10308 if test `eval echo '${'$as_ac_var'}'` = yes; then 12645 if test `eval echo '${'$as_ac_var'}'` = yes; then
10309 cat >>confdefs.h <<EOF 12646 cat >>confdefs.h <<_ACEOF
10310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10311 EOF 12648 _ACEOF
10312 12649
10313 fi 12650 fi
10314 done 12651 done
12652
10315 12653
10316 # Check this now, so that we will NOT find the above functions in ncurses. 12654 # Check this now, so that we will NOT find the above functions in ncurses.
10317 # That is because we have not set up to link ncurses in lib-src. 12655 # That is because we have not set up to link ncurses in lib-src.
10318 # It's better to believe a function is not available 12656 # It's better to believe a function is not available
10319 # than to expect to find it in ncurses. 12657 # than to expect to find it in ncurses.
10320 12658
10321 echo "$as_me:10321: checking for tparm in -lncurses" >&5 12659 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
10322 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 12660 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
10323 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 12661 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
10324 echo $ECHO_N "(cached) $ECHO_C" >&6 12662 echo $ECHO_N "(cached) $ECHO_C" >&6
10325 else 12663 else
10326 ac_check_lib_save_LIBS=$LIBS 12664 ac_check_lib_save_LIBS=$LIBS
10327 LIBS="-lncurses $LIBS" 12665 LIBS="-lncurses $LIBS"
10328 cat >conftest.$ac_ext <<_ACEOF 12666 cat >conftest.$ac_ext <<_ACEOF
10329 #line 10329 "configure" 12667 #line $LINENO "configure"
10330 #include "confdefs.h" 12668 #include "confdefs.h"
10331 12669
10332 /* Override any gcc2 internal prototype to avoid an error. */ 12670 /* Override any gcc2 internal prototype to avoid an error. */
10333 #ifdef __cplusplus 12671 #ifdef __cplusplus
10334 extern "C" 12672 extern "C"
10335 #endif 12673 #endif
10336 /* We use char because int might match the return type of a gcc2 12674 /* We use char because int might match the return type of a gcc2
10337 builtin and then its argument prototype would still apply. */ 12675 builtin and then its argument prototype would still apply. */
10338 char tparm (); 12676 char tparm ();
12677 #ifdef F77_DUMMY_MAIN
12678 # ifdef __cplusplus
12679 extern "C"
12680 # endif
12681 int F77_DUMMY_MAIN() { return 1; }
12682 #endif
10339 int 12683 int
10340 main () 12684 main ()
10341 { 12685 {
10342 tparm (); 12686 tparm ();
10343 ; 12687 ;
10344 return 0; 12688 return 0;
10345 } 12689 }
10346 _ACEOF 12690 _ACEOF
10347 rm -f conftest.$ac_objext conftest$ac_exeext 12691 rm -f conftest.$ac_objext conftest$ac_exeext
10348 if { (eval echo "$as_me:10348: \"$ac_link\"") >&5 12692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10349 (eval $ac_link) 2>&5 12693 (eval $ac_link) 2>&5
10350 ac_status=$? 12694 ac_status=$?
10351 echo "$as_me:10351: \$? = $ac_status" >&5 12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); } && 12696 (exit $ac_status); } &&
10353 { ac_try='test -s conftest$ac_exeext' 12697 { ac_try='test -s conftest$ac_exeext'
10354 { (eval echo "$as_me:10354: \"$ac_try\"") >&5 12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10355 (eval $ac_try) 2>&5 12699 (eval $ac_try) 2>&5
10356 ac_status=$? 12700 ac_status=$?
10357 echo "$as_me:10357: \$? = $ac_status" >&5 12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); }; }; then 12702 (exit $ac_status); }; }; then
10359 ac_cv_lib_ncurses_tparm=yes 12703 ac_cv_lib_ncurses_tparm=yes
10360 else 12704 else
10361 echo "$as_me: failed program was:" >&5 12705 echo "$as_me: failed program was:" >&5
10362 cat conftest.$ac_ext >&5 12706 cat conftest.$ac_ext >&5
10363 ac_cv_lib_ncurses_tparm=no 12707 ac_cv_lib_ncurses_tparm=no
10364 fi 12708 fi
10365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12709 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10366 LIBS=$ac_check_lib_save_LIBS 12710 LIBS=$ac_check_lib_save_LIBS
10367 fi 12711 fi
10368 echo "$as_me:10368: result: $ac_cv_lib_ncurses_tparm" >&5 12712 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
10369 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 12713 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
10370 if test $ac_cv_lib_ncurses_tparm = yes; then 12714 if test $ac_cv_lib_ncurses_tparm = yes; then
10371 cat >>confdefs.h <<EOF 12715 cat >>confdefs.h <<_ACEOF
10372 #define HAVE_LIBNCURSES 1 12716 #define HAVE_LIBNCURSES 1
10373 EOF 12717 _ACEOF
10374 12718
10375 LIBS="-lncurses $LIBS" 12719 LIBS="-lncurses $LIBS"
10376 12720
10377 fi 12721 fi
12722
10378 12723
10379 # Do we need the Hesiod library to provide the support routines? 12724 # Do we need the Hesiod library to provide the support routines?
10380 if test "$with_hesiod" = yes ; then 12725 if test "$with_hesiod" = yes ; then
10381 # Don't set $LIBS here -- see comments above. 12726 # Don't set $LIBS here -- see comments above.
10382 resolv=no 12727 resolv=no
10383 echo "$as_me:10383: checking for res_send" >&5 12728 echo "$as_me:$LINENO: checking for res_send" >&5
10384 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 12729 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10385 if test "${ac_cv_func_res_send+set}" = set; then 12730 if test "${ac_cv_func_res_send+set}" = set; then
10386 echo $ECHO_N "(cached) $ECHO_C" >&6 12731 echo $ECHO_N "(cached) $ECHO_C" >&6
10387 else 12732 else
10388 cat >conftest.$ac_ext <<_ACEOF 12733 cat >conftest.$ac_ext <<_ACEOF
10389 #line 10389 "configure" 12734 #line $LINENO "configure"
10390 #include "confdefs.h" 12735 #include "confdefs.h"
10391 /* System header to define __stub macros and hopefully few prototypes, 12736 /* System header to define __stub macros and hopefully few prototypes,
10392 which can conflict with char res_send (); below. */ 12737 which can conflict with char res_send (); below. */
10393 #include <assert.h> 12738 #include <assert.h>
10394 /* Override any gcc2 internal prototype to avoid an error. */ 12739 /* Override any gcc2 internal prototype to avoid an error. */
10398 /* We use char because int might match the return type of a gcc2 12743 /* We use char because int might match the return type of a gcc2
10399 builtin and then its argument prototype would still apply. */ 12744 builtin and then its argument prototype would still apply. */
10400 char res_send (); 12745 char res_send ();
10401 char (*f) (); 12746 char (*f) ();
10402 12747
12748 #ifdef F77_DUMMY_MAIN
12749 # ifdef __cplusplus
12750 extern "C"
12751 # endif
12752 int F77_DUMMY_MAIN() { return 1; }
12753 #endif
10403 int 12754 int
10404 main () 12755 main ()
10405 { 12756 {
10406 /* The GNU C library defines this for functions which it implements 12757 /* The GNU C library defines this for functions which it implements
10407 to always fail with ENOSYS. Some functions are actually named 12758 to always fail with ENOSYS. Some functions are actually named
10415 ; 12766 ;
10416 return 0; 12767 return 0;
10417 } 12768 }
10418 _ACEOF 12769 _ACEOF
10419 rm -f conftest.$ac_objext conftest$ac_exeext 12770 rm -f conftest.$ac_objext conftest$ac_exeext
10420 if { (eval echo "$as_me:10420: \"$ac_link\"") >&5 12771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10421 (eval $ac_link) 2>&5 12772 (eval $ac_link) 2>&5
10422 ac_status=$? 12773 ac_status=$?
10423 echo "$as_me:10423: \$? = $ac_status" >&5 12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); } && 12775 (exit $ac_status); } &&
10425 { ac_try='test -s conftest$ac_exeext' 12776 { ac_try='test -s conftest$ac_exeext'
10426 { (eval echo "$as_me:10426: \"$ac_try\"") >&5 12777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5 12778 (eval $ac_try) 2>&5
10428 ac_status=$? 12779 ac_status=$?
10429 echo "$as_me:10429: \$? = $ac_status" >&5 12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; }; then 12781 (exit $ac_status); }; }; then
10431 ac_cv_func_res_send=yes 12782 ac_cv_func_res_send=yes
10432 else 12783 else
10433 echo "$as_me: failed program was:" >&5 12784 echo "$as_me: failed program was:" >&5
10434 cat conftest.$ac_ext >&5 12785 cat conftest.$ac_ext >&5
10435 ac_cv_func_res_send=no 12786 ac_cv_func_res_send=no
10436 fi 12787 fi
10437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10438 fi 12789 fi
10439 echo "$as_me:10439: result: $ac_cv_func_res_send" >&5 12790 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
10440 echo "${ECHO_T}$ac_cv_func_res_send" >&6 12791 echo "${ECHO_T}$ac_cv_func_res_send" >&6
10441 if test $ac_cv_func_res_send = yes; then 12792 if test $ac_cv_func_res_send = yes; then
10442 : 12793 :
10443 else 12794 else
10444 echo "$as_me:10444: checking for __res_send" >&5 12795 echo "$as_me:$LINENO: checking for __res_send" >&5
10445 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 12796 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10446 if test "${ac_cv_func___res_send+set}" = set; then 12797 if test "${ac_cv_func___res_send+set}" = set; then
10447 echo $ECHO_N "(cached) $ECHO_C" >&6 12798 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 else 12799 else
10449 cat >conftest.$ac_ext <<_ACEOF 12800 cat >conftest.$ac_ext <<_ACEOF
10450 #line 10450 "configure" 12801 #line $LINENO "configure"
10451 #include "confdefs.h" 12802 #include "confdefs.h"
10452 /* System header to define __stub macros and hopefully few prototypes, 12803 /* System header to define __stub macros and hopefully few prototypes,
10453 which can conflict with char __res_send (); below. */ 12804 which can conflict with char __res_send (); below. */
10454 #include <assert.h> 12805 #include <assert.h>
10455 /* Override any gcc2 internal prototype to avoid an error. */ 12806 /* Override any gcc2 internal prototype to avoid an error. */
10459 /* We use char because int might match the return type of a gcc2 12810 /* We use char because int might match the return type of a gcc2
10460 builtin and then its argument prototype would still apply. */ 12811 builtin and then its argument prototype would still apply. */
10461 char __res_send (); 12812 char __res_send ();
10462 char (*f) (); 12813 char (*f) ();
10463 12814
12815 #ifdef F77_DUMMY_MAIN
12816 # ifdef __cplusplus
12817 extern "C"
12818 # endif
12819 int F77_DUMMY_MAIN() { return 1; }
12820 #endif
10464 int 12821 int
10465 main () 12822 main ()
10466 { 12823 {
10467 /* The GNU C library defines this for functions which it implements 12824 /* The GNU C library defines this for functions which it implements
10468 to always fail with ENOSYS. Some functions are actually named 12825 to always fail with ENOSYS. Some functions are actually named
10476 ; 12833 ;
10477 return 0; 12834 return 0;
10478 } 12835 }
10479 _ACEOF 12836 _ACEOF
10480 rm -f conftest.$ac_objext conftest$ac_exeext 12837 rm -f conftest.$ac_objext conftest$ac_exeext
10481 if { (eval echo "$as_me:10481: \"$ac_link\"") >&5 12838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10482 (eval $ac_link) 2>&5 12839 (eval $ac_link) 2>&5
10483 ac_status=$? 12840 ac_status=$?
10484 echo "$as_me:10484: \$? = $ac_status" >&5 12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } && 12842 (exit $ac_status); } &&
10486 { ac_try='test -s conftest$ac_exeext' 12843 { ac_try='test -s conftest$ac_exeext'
10487 { (eval echo "$as_me:10487: \"$ac_try\"") >&5 12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10488 (eval $ac_try) 2>&5 12845 (eval $ac_try) 2>&5
10489 ac_status=$? 12846 ac_status=$?
10490 echo "$as_me:10490: \$? = $ac_status" >&5 12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); }; }; then 12848 (exit $ac_status); }; }; then
10492 ac_cv_func___res_send=yes 12849 ac_cv_func___res_send=yes
10493 else 12850 else
10494 echo "$as_me: failed program was:" >&5 12851 echo "$as_me: failed program was:" >&5
10495 cat conftest.$ac_ext >&5 12852 cat conftest.$ac_ext >&5
10496 ac_cv_func___res_send=no 12853 ac_cv_func___res_send=no
10497 fi 12854 fi
10498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12855 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10499 fi 12856 fi
10500 echo "$as_me:10500: result: $ac_cv_func___res_send" >&5 12857 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
10501 echo "${ECHO_T}$ac_cv_func___res_send" >&6 12858 echo "${ECHO_T}$ac_cv_func___res_send" >&6
10502 if test $ac_cv_func___res_send = yes; then 12859 if test $ac_cv_func___res_send = yes; then
10503 : 12860 :
10504 else 12861 else
10505 echo "$as_me:10505: checking for res_send in -lresolv" >&5 12862 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
10506 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 12863 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10507 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 12864 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10508 echo $ECHO_N "(cached) $ECHO_C" >&6 12865 echo $ECHO_N "(cached) $ECHO_C" >&6
10509 else 12866 else
10510 ac_check_lib_save_LIBS=$LIBS 12867 ac_check_lib_save_LIBS=$LIBS
10511 LIBS="-lresolv $LIBS" 12868 LIBS="-lresolv $LIBS"
10512 cat >conftest.$ac_ext <<_ACEOF 12869 cat >conftest.$ac_ext <<_ACEOF
10513 #line 10513 "configure" 12870 #line $LINENO "configure"
10514 #include "confdefs.h" 12871 #include "confdefs.h"
10515 12872
10516 /* Override any gcc2 internal prototype to avoid an error. */ 12873 /* Override any gcc2 internal prototype to avoid an error. */
10517 #ifdef __cplusplus 12874 #ifdef __cplusplus
10518 extern "C" 12875 extern "C"
10519 #endif 12876 #endif
10520 /* We use char because int might match the return type of a gcc2 12877 /* We use char because int might match the return type of a gcc2
10521 builtin and then its argument prototype would still apply. */ 12878 builtin and then its argument prototype would still apply. */
10522 char res_send (); 12879 char res_send ();
12880 #ifdef F77_DUMMY_MAIN
12881 # ifdef __cplusplus
12882 extern "C"
12883 # endif
12884 int F77_DUMMY_MAIN() { return 1; }
12885 #endif
10523 int 12886 int
10524 main () 12887 main ()
10525 { 12888 {
10526 res_send (); 12889 res_send ();
10527 ; 12890 ;
10528 return 0; 12891 return 0;
10529 } 12892 }
10530 _ACEOF 12893 _ACEOF
10531 rm -f conftest.$ac_objext conftest$ac_exeext 12894 rm -f conftest.$ac_objext conftest$ac_exeext
10532 if { (eval echo "$as_me:10532: \"$ac_link\"") >&5 12895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10533 (eval $ac_link) 2>&5 12896 (eval $ac_link) 2>&5
10534 ac_status=$? 12897 ac_status=$?
10535 echo "$as_me:10535: \$? = $ac_status" >&5 12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); } && 12899 (exit $ac_status); } &&
10537 { ac_try='test -s conftest$ac_exeext' 12900 { ac_try='test -s conftest$ac_exeext'
10538 { (eval echo "$as_me:10538: \"$ac_try\"") >&5 12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539 (eval $ac_try) 2>&5 12902 (eval $ac_try) 2>&5
10540 ac_status=$? 12903 ac_status=$?
10541 echo "$as_me:10541: \$? = $ac_status" >&5 12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); }; }; then 12905 (exit $ac_status); }; }; then
10543 ac_cv_lib_resolv_res_send=yes 12906 ac_cv_lib_resolv_res_send=yes
10544 else 12907 else
10545 echo "$as_me: failed program was:" >&5 12908 echo "$as_me: failed program was:" >&5
10546 cat conftest.$ac_ext >&5 12909 cat conftest.$ac_ext >&5
10547 ac_cv_lib_resolv_res_send=no 12910 ac_cv_lib_resolv_res_send=no
10548 fi 12911 fi
10549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10550 LIBS=$ac_check_lib_save_LIBS 12913 LIBS=$ac_check_lib_save_LIBS
10551 fi 12914 fi
10552 echo "$as_me:10552: result: $ac_cv_lib_resolv_res_send" >&5 12915 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
10553 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 12916 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10554 if test $ac_cv_lib_resolv_res_send = yes; then 12917 if test $ac_cv_lib_resolv_res_send = yes; then
10555 resolv=yes 12918 resolv=yes
10556 else 12919 else
10557 echo "$as_me:10557: checking for __res_send in -lresolv" >&5 12920 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
10558 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 12921 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10559 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 12922 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10560 echo $ECHO_N "(cached) $ECHO_C" >&6 12923 echo $ECHO_N "(cached) $ECHO_C" >&6
10561 else 12924 else
10562 ac_check_lib_save_LIBS=$LIBS 12925 ac_check_lib_save_LIBS=$LIBS
10563 LIBS="-lresolv $LIBS" 12926 LIBS="-lresolv $LIBS"
10564 cat >conftest.$ac_ext <<_ACEOF 12927 cat >conftest.$ac_ext <<_ACEOF
10565 #line 10565 "configure" 12928 #line $LINENO "configure"
10566 #include "confdefs.h" 12929 #include "confdefs.h"
10567 12930
10568 /* Override any gcc2 internal prototype to avoid an error. */ 12931 /* Override any gcc2 internal prototype to avoid an error. */
10569 #ifdef __cplusplus 12932 #ifdef __cplusplus
10570 extern "C" 12933 extern "C"
10571 #endif 12934 #endif
10572 /* We use char because int might match the return type of a gcc2 12935 /* We use char because int might match the return type of a gcc2
10573 builtin and then its argument prototype would still apply. */ 12936 builtin and then its argument prototype would still apply. */
10574 char __res_send (); 12937 char __res_send ();
12938 #ifdef F77_DUMMY_MAIN
12939 # ifdef __cplusplus
12940 extern "C"
12941 # endif
12942 int F77_DUMMY_MAIN() { return 1; }
12943 #endif
10575 int 12944 int
10576 main () 12945 main ()
10577 { 12946 {
10578 __res_send (); 12947 __res_send ();
10579 ; 12948 ;
10580 return 0; 12949 return 0;
10581 } 12950 }
10582 _ACEOF 12951 _ACEOF
10583 rm -f conftest.$ac_objext conftest$ac_exeext 12952 rm -f conftest.$ac_objext conftest$ac_exeext
10584 if { (eval echo "$as_me:10584: \"$ac_link\"") >&5 12953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10585 (eval $ac_link) 2>&5 12954 (eval $ac_link) 2>&5
10586 ac_status=$? 12955 ac_status=$?
10587 echo "$as_me:10587: \$? = $ac_status" >&5 12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588 (exit $ac_status); } && 12957 (exit $ac_status); } &&
10589 { ac_try='test -s conftest$ac_exeext' 12958 { ac_try='test -s conftest$ac_exeext'
10590 { (eval echo "$as_me:10590: \"$ac_try\"") >&5 12959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10591 (eval $ac_try) 2>&5 12960 (eval $ac_try) 2>&5
10592 ac_status=$? 12961 ac_status=$?
10593 echo "$as_me:10593: \$? = $ac_status" >&5 12962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594 (exit $ac_status); }; }; then 12963 (exit $ac_status); }; }; then
10595 ac_cv_lib_resolv___res_send=yes 12964 ac_cv_lib_resolv___res_send=yes
10596 else 12965 else
10597 echo "$as_me: failed program was:" >&5 12966 echo "$as_me: failed program was:" >&5
10598 cat conftest.$ac_ext >&5 12967 cat conftest.$ac_ext >&5
10599 ac_cv_lib_resolv___res_send=no 12968 ac_cv_lib_resolv___res_send=no
10600 fi 12969 fi
10601 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10602 LIBS=$ac_check_lib_save_LIBS 12971 LIBS=$ac_check_lib_save_LIBS
10603 fi 12972 fi
10604 echo "$as_me:10604: result: $ac_cv_lib_resolv___res_send" >&5 12973 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
10605 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 12974 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10606 if test $ac_cv_lib_resolv___res_send = yes; then 12975 if test $ac_cv_lib_resolv___res_send = yes; then
10607 resolv=yes 12976 resolv=yes
10608 fi 12977 fi
10609 12978
10614 fi 12983 fi
10615 12984
10616 if test "$resolv" = yes ; then 12985 if test "$resolv" = yes ; then
10617 RESOLVLIB=-lresolv 12986 RESOLVLIB=-lresolv
10618 12987
10619 cat >>confdefs.h <<\EOF 12988 cat >>confdefs.h <<\_ACEOF
10620 #define HAVE_LIBRESOLV 1 12989 #define HAVE_LIBRESOLV 1
10621 EOF 12990 _ACEOF
10622 12991
10623 else 12992 else
10624 RESOLVLIB= 12993 RESOLVLIB=
10625 fi 12994 fi
10626 echo "$as_me:10626: checking for hes_getmailhost" >&5 12995 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
10627 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 12996 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10628 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 12997 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6 12998 echo $ECHO_N "(cached) $ECHO_C" >&6
10630 else 12999 else
10631 cat >conftest.$ac_ext <<_ACEOF 13000 cat >conftest.$ac_ext <<_ACEOF
10632 #line 10632 "configure" 13001 #line $LINENO "configure"
10633 #include "confdefs.h" 13002 #include "confdefs.h"
10634 /* System header to define __stub macros and hopefully few prototypes, 13003 /* System header to define __stub macros and hopefully few prototypes,
10635 which can conflict with char hes_getmailhost (); below. */ 13004 which can conflict with char hes_getmailhost (); below. */
10636 #include <assert.h> 13005 #include <assert.h>
10637 /* Override any gcc2 internal prototype to avoid an error. */ 13006 /* Override any gcc2 internal prototype to avoid an error. */
10641 /* We use char because int might match the return type of a gcc2 13010 /* We use char because int might match the return type of a gcc2
10642 builtin and then its argument prototype would still apply. */ 13011 builtin and then its argument prototype would still apply. */
10643 char hes_getmailhost (); 13012 char hes_getmailhost ();
10644 char (*f) (); 13013 char (*f) ();
10645 13014
13015 #ifdef F77_DUMMY_MAIN
13016 # ifdef __cplusplus
13017 extern "C"
13018 # endif
13019 int F77_DUMMY_MAIN() { return 1; }
13020 #endif
10646 int 13021 int
10647 main () 13022 main ()
10648 { 13023 {
10649 /* The GNU C library defines this for functions which it implements 13024 /* The GNU C library defines this for functions which it implements
10650 to always fail with ENOSYS. Some functions are actually named 13025 to always fail with ENOSYS. Some functions are actually named
10658 ; 13033 ;
10659 return 0; 13034 return 0;
10660 } 13035 }
10661 _ACEOF 13036 _ACEOF
10662 rm -f conftest.$ac_objext conftest$ac_exeext 13037 rm -f conftest.$ac_objext conftest$ac_exeext
10663 if { (eval echo "$as_me:10663: \"$ac_link\"") >&5 13038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10664 (eval $ac_link) 2>&5 13039 (eval $ac_link) 2>&5
10665 ac_status=$? 13040 ac_status=$?
10666 echo "$as_me:10666: \$? = $ac_status" >&5 13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); } && 13042 (exit $ac_status); } &&
10668 { ac_try='test -s conftest$ac_exeext' 13043 { ac_try='test -s conftest$ac_exeext'
10669 { (eval echo "$as_me:10669: \"$ac_try\"") >&5 13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10670 (eval $ac_try) 2>&5 13045 (eval $ac_try) 2>&5
10671 ac_status=$? 13046 ac_status=$?
10672 echo "$as_me:10672: \$? = $ac_status" >&5 13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); }; }; then 13048 (exit $ac_status); }; }; then
10674 ac_cv_func_hes_getmailhost=yes 13049 ac_cv_func_hes_getmailhost=yes
10675 else 13050 else
10676 echo "$as_me: failed program was:" >&5 13051 echo "$as_me: failed program was:" >&5
10677 cat conftest.$ac_ext >&5 13052 cat conftest.$ac_ext >&5
10678 ac_cv_func_hes_getmailhost=no 13053 ac_cv_func_hes_getmailhost=no
10679 fi 13054 fi
10680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10681 fi 13056 fi
10682 echo "$as_me:10682: result: $ac_cv_func_hes_getmailhost" >&5 13057 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
10683 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 13058 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10684 if test $ac_cv_func_hes_getmailhost = yes; then 13059 if test $ac_cv_func_hes_getmailhost = yes; then
10685 : 13060 :
10686 else 13061 else
10687 echo "$as_me:10687: checking for hes_getmailhost in -lhesiod" >&5 13062 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
10688 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 13063 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10689 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 13064 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10690 echo $ECHO_N "(cached) $ECHO_C" >&6 13065 echo $ECHO_N "(cached) $ECHO_C" >&6
10691 else 13066 else
10692 ac_check_lib_save_LIBS=$LIBS 13067 ac_check_lib_save_LIBS=$LIBS
10693 LIBS="-lhesiod $RESOLVLIB $LIBS" 13068 LIBS="-lhesiod $RESOLVLIB $LIBS"
10694 cat >conftest.$ac_ext <<_ACEOF 13069 cat >conftest.$ac_ext <<_ACEOF
10695 #line 10695 "configure" 13070 #line $LINENO "configure"
10696 #include "confdefs.h" 13071 #include "confdefs.h"
10697 13072
10698 /* Override any gcc2 internal prototype to avoid an error. */ 13073 /* Override any gcc2 internal prototype to avoid an error. */
10699 #ifdef __cplusplus 13074 #ifdef __cplusplus
10700 extern "C" 13075 extern "C"
10701 #endif 13076 #endif
10702 /* We use char because int might match the return type of a gcc2 13077 /* We use char because int might match the return type of a gcc2
10703 builtin and then its argument prototype would still apply. */ 13078 builtin and then its argument prototype would still apply. */
10704 char hes_getmailhost (); 13079 char hes_getmailhost ();
13080 #ifdef F77_DUMMY_MAIN
13081 # ifdef __cplusplus
13082 extern "C"
13083 # endif
13084 int F77_DUMMY_MAIN() { return 1; }
13085 #endif
10705 int 13086 int
10706 main () 13087 main ()
10707 { 13088 {
10708 hes_getmailhost (); 13089 hes_getmailhost ();
10709 ; 13090 ;
10710 return 0; 13091 return 0;
10711 } 13092 }
10712 _ACEOF 13093 _ACEOF
10713 rm -f conftest.$ac_objext conftest$ac_exeext 13094 rm -f conftest.$ac_objext conftest$ac_exeext
10714 if { (eval echo "$as_me:10714: \"$ac_link\"") >&5 13095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10715 (eval $ac_link) 2>&5 13096 (eval $ac_link) 2>&5
10716 ac_status=$? 13097 ac_status=$?
10717 echo "$as_me:10717: \$? = $ac_status" >&5 13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); } && 13099 (exit $ac_status); } &&
10719 { ac_try='test -s conftest$ac_exeext' 13100 { ac_try='test -s conftest$ac_exeext'
10720 { (eval echo "$as_me:10720: \"$ac_try\"") >&5 13101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5 13102 (eval $ac_try) 2>&5
10722 ac_status=$? 13103 ac_status=$?
10723 echo "$as_me:10723: \$? = $ac_status" >&5 13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; }; then 13105 (exit $ac_status); }; }; then
10725 ac_cv_lib_hesiod_hes_getmailhost=yes 13106 ac_cv_lib_hesiod_hes_getmailhost=yes
10726 else 13107 else
10727 echo "$as_me: failed program was:" >&5 13108 echo "$as_me: failed program was:" >&5
10728 cat conftest.$ac_ext >&5 13109 cat conftest.$ac_ext >&5
10729 ac_cv_lib_hesiod_hes_getmailhost=no 13110 ac_cv_lib_hesiod_hes_getmailhost=no
10730 fi 13111 fi
10731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_lib_save_LIBS 13113 LIBS=$ac_check_lib_save_LIBS
10733 fi 13114 fi
10734 echo "$as_me:10734: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 13115 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10735 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 13116 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10736 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 13117 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10737 13118
10738 cat >>confdefs.h <<\EOF 13119 cat >>confdefs.h <<\_ACEOF
10739 #define HAVE_LIBHESIOD 1 13120 #define HAVE_LIBHESIOD 1
10740 EOF 13121 _ACEOF
10741 13122
10742 else 13123 else
10743 : 13124 :
10744 fi 13125 fi
10745 13126
10748 fi 13129 fi
10749 13130
10750 # These tell us which Kerberos-related libraries to use. 13131 # These tell us which Kerberos-related libraries to use.
10751 if test "${with_kerberos+set}" = set; then 13132 if test "${with_kerberos+set}" = set; then
10752 13133
10753 echo "$as_me:10753: checking for com_err in -lcom_err" >&5 13134 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
10754 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 13135 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10755 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 13136 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10756 echo $ECHO_N "(cached) $ECHO_C" >&6 13137 echo $ECHO_N "(cached) $ECHO_C" >&6
10757 else 13138 else
10758 ac_check_lib_save_LIBS=$LIBS 13139 ac_check_lib_save_LIBS=$LIBS
10759 LIBS="-lcom_err $LIBS" 13140 LIBS="-lcom_err $LIBS"
10760 cat >conftest.$ac_ext <<_ACEOF 13141 cat >conftest.$ac_ext <<_ACEOF
10761 #line 10761 "configure" 13142 #line $LINENO "configure"
10762 #include "confdefs.h" 13143 #include "confdefs.h"
10763 13144
10764 /* Override any gcc2 internal prototype to avoid an error. */ 13145 /* Override any gcc2 internal prototype to avoid an error. */
10765 #ifdef __cplusplus 13146 #ifdef __cplusplus
10766 extern "C" 13147 extern "C"
10767 #endif 13148 #endif
10768 /* We use char because int might match the return type of a gcc2 13149 /* We use char because int might match the return type of a gcc2
10769 builtin and then its argument prototype would still apply. */ 13150 builtin and then its argument prototype would still apply. */
10770 char com_err (); 13151 char com_err ();
13152 #ifdef F77_DUMMY_MAIN
13153 # ifdef __cplusplus
13154 extern "C"
13155 # endif
13156 int F77_DUMMY_MAIN() { return 1; }
13157 #endif
10771 int 13158 int
10772 main () 13159 main ()
10773 { 13160 {
10774 com_err (); 13161 com_err ();
10775 ; 13162 ;
10776 return 0; 13163 return 0;
10777 } 13164 }
10778 _ACEOF 13165 _ACEOF
10779 rm -f conftest.$ac_objext conftest$ac_exeext 13166 rm -f conftest.$ac_objext conftest$ac_exeext
10780 if { (eval echo "$as_me:10780: \"$ac_link\"") >&5 13167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10781 (eval $ac_link) 2>&5 13168 (eval $ac_link) 2>&5
10782 ac_status=$? 13169 ac_status=$?
10783 echo "$as_me:10783: \$? = $ac_status" >&5 13170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } && 13171 (exit $ac_status); } &&
10785 { ac_try='test -s conftest$ac_exeext' 13172 { ac_try='test -s conftest$ac_exeext'
10786 { (eval echo "$as_me:10786: \"$ac_try\"") >&5 13173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5 13174 (eval $ac_try) 2>&5
10788 ac_status=$? 13175 ac_status=$?
10789 echo "$as_me:10789: \$? = $ac_status" >&5 13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; }; then 13177 (exit $ac_status); }; }; then
10791 ac_cv_lib_com_err_com_err=yes 13178 ac_cv_lib_com_err_com_err=yes
10792 else 13179 else
10793 echo "$as_me: failed program was:" >&5 13180 echo "$as_me: failed program was:" >&5
10794 cat conftest.$ac_ext >&5 13181 cat conftest.$ac_ext >&5
10795 ac_cv_lib_com_err_com_err=no 13182 ac_cv_lib_com_err_com_err=no
10796 fi 13183 fi
10797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13184 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10798 LIBS=$ac_check_lib_save_LIBS 13185 LIBS=$ac_check_lib_save_LIBS
10799 fi 13186 fi
10800 echo "$as_me:10800: result: $ac_cv_lib_com_err_com_err" >&5 13187 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
10801 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 13188 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10802 if test $ac_cv_lib_com_err_com_err = yes; then 13189 if test $ac_cv_lib_com_err_com_err = yes; then
10803 cat >>confdefs.h <<EOF 13190 cat >>confdefs.h <<_ACEOF
10804 #define HAVE_LIBCOM_ERR 1 13191 #define HAVE_LIBCOM_ERR 1
10805 EOF 13192 _ACEOF
10806 13193
10807 LIBS="-lcom_err $LIBS" 13194 LIBS="-lcom_err $LIBS"
10808 13195
10809 fi 13196 fi
10810 13197
10811 echo "$as_me:10811: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 13198
13199 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10812 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 13200 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10813 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 13201 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6 13202 echo $ECHO_N "(cached) $ECHO_C" >&6
10815 else 13203 else
10816 ac_check_lib_save_LIBS=$LIBS 13204 ac_check_lib_save_LIBS=$LIBS
10817 LIBS="-lk5crypto $LIBS" 13205 LIBS="-lk5crypto $LIBS"
10818 cat >conftest.$ac_ext <<_ACEOF 13206 cat >conftest.$ac_ext <<_ACEOF
10819 #line 10819 "configure" 13207 #line $LINENO "configure"
10820 #include "confdefs.h" 13208 #include "confdefs.h"
10821 13209
10822 /* Override any gcc2 internal prototype to avoid an error. */ 13210 /* Override any gcc2 internal prototype to avoid an error. */
10823 #ifdef __cplusplus 13211 #ifdef __cplusplus
10824 extern "C" 13212 extern "C"
10825 #endif 13213 #endif
10826 /* We use char because int might match the return type of a gcc2 13214 /* We use char because int might match the return type of a gcc2
10827 builtin and then its argument prototype would still apply. */ 13215 builtin and then its argument prototype would still apply. */
10828 char mit_des_cbc_encrypt (); 13216 char mit_des_cbc_encrypt ();
13217 #ifdef F77_DUMMY_MAIN
13218 # ifdef __cplusplus
13219 extern "C"
13220 # endif
13221 int F77_DUMMY_MAIN() { return 1; }
13222 #endif
10829 int 13223 int
10830 main () 13224 main ()
10831 { 13225 {
10832 mit_des_cbc_encrypt (); 13226 mit_des_cbc_encrypt ();
10833 ; 13227 ;
10834 return 0; 13228 return 0;
10835 } 13229 }
10836 _ACEOF 13230 _ACEOF
10837 rm -f conftest.$ac_objext conftest$ac_exeext 13231 rm -f conftest.$ac_objext conftest$ac_exeext
10838 if { (eval echo "$as_me:10838: \"$ac_link\"") >&5 13232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10839 (eval $ac_link) 2>&5 13233 (eval $ac_link) 2>&5
10840 ac_status=$? 13234 ac_status=$?
10841 echo "$as_me:10841: \$? = $ac_status" >&5 13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } && 13236 (exit $ac_status); } &&
10843 { ac_try='test -s conftest$ac_exeext' 13237 { ac_try='test -s conftest$ac_exeext'
10844 { (eval echo "$as_me:10844: \"$ac_try\"") >&5 13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5 13239 (eval $ac_try) 2>&5
10846 ac_status=$? 13240 ac_status=$?
10847 echo "$as_me:10847: \$? = $ac_status" >&5 13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; }; then 13242 (exit $ac_status); }; }; then
10849 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 13243 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10850 else 13244 else
10851 echo "$as_me: failed program was:" >&5 13245 echo "$as_me: failed program was:" >&5
10852 cat conftest.$ac_ext >&5 13246 cat conftest.$ac_ext >&5
10853 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 13247 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
10854 fi 13248 fi
10855 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS 13250 LIBS=$ac_check_lib_save_LIBS
10857 fi 13251 fi
10858 echo "$as_me:10858: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 13252 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10859 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 13253 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10860 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 13254 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10861 cat >>confdefs.h <<EOF 13255 cat >>confdefs.h <<_ACEOF
10862 #define HAVE_LIBK5CRYPTO 1 13256 #define HAVE_LIBK5CRYPTO 1
10863 EOF 13257 _ACEOF
10864 13258
10865 LIBS="-lk5crypto $LIBS" 13259 LIBS="-lk5crypto $LIBS"
10866 13260
10867 fi 13261 fi
10868 13262
10869 echo "$as_me:10869: checking for mit_des_cbc_encrypt in -lcrypto" >&5 13263
13264 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10870 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 13265 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10871 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 13266 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6 13267 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 else 13268 else
10874 ac_check_lib_save_LIBS=$LIBS 13269 ac_check_lib_save_LIBS=$LIBS
10875 LIBS="-lcrypto $LIBS" 13270 LIBS="-lcrypto $LIBS"
10876 cat >conftest.$ac_ext <<_ACEOF 13271 cat >conftest.$ac_ext <<_ACEOF
10877 #line 10877 "configure" 13272 #line $LINENO "configure"
10878 #include "confdefs.h" 13273 #include "confdefs.h"
10879 13274
10880 /* Override any gcc2 internal prototype to avoid an error. */ 13275 /* Override any gcc2 internal prototype to avoid an error. */
10881 #ifdef __cplusplus 13276 #ifdef __cplusplus
10882 extern "C" 13277 extern "C"
10883 #endif 13278 #endif
10884 /* We use char because int might match the return type of a gcc2 13279 /* We use char because int might match the return type of a gcc2
10885 builtin and then its argument prototype would still apply. */ 13280 builtin and then its argument prototype would still apply. */
10886 char mit_des_cbc_encrypt (); 13281 char mit_des_cbc_encrypt ();
13282 #ifdef F77_DUMMY_MAIN
13283 # ifdef __cplusplus
13284 extern "C"
13285 # endif
13286 int F77_DUMMY_MAIN() { return 1; }
13287 #endif
10887 int 13288 int
10888 main () 13289 main ()
10889 { 13290 {
10890 mit_des_cbc_encrypt (); 13291 mit_des_cbc_encrypt ();
10891 ; 13292 ;
10892 return 0; 13293 return 0;
10893 } 13294 }
10894 _ACEOF 13295 _ACEOF
10895 rm -f conftest.$ac_objext conftest$ac_exeext 13296 rm -f conftest.$ac_objext conftest$ac_exeext
10896 if { (eval echo "$as_me:10896: \"$ac_link\"") >&5 13297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10897 (eval $ac_link) 2>&5 13298 (eval $ac_link) 2>&5
10898 ac_status=$? 13299 ac_status=$?
10899 echo "$as_me:10899: \$? = $ac_status" >&5 13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); } && 13301 (exit $ac_status); } &&
10901 { ac_try='test -s conftest$ac_exeext' 13302 { ac_try='test -s conftest$ac_exeext'
10902 { (eval echo "$as_me:10902: \"$ac_try\"") >&5 13303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10903 (eval $ac_try) 2>&5 13304 (eval $ac_try) 2>&5
10904 ac_status=$? 13305 ac_status=$?
10905 echo "$as_me:10905: \$? = $ac_status" >&5 13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; }; then 13307 (exit $ac_status); }; }; then
10907 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 13308 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10908 else 13309 else
10909 echo "$as_me: failed program was:" >&5 13310 echo "$as_me: failed program was:" >&5
10910 cat conftest.$ac_ext >&5 13311 cat conftest.$ac_ext >&5
10911 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 13312 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
10912 fi 13313 fi
10913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13314 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10914 LIBS=$ac_check_lib_save_LIBS 13315 LIBS=$ac_check_lib_save_LIBS
10915 fi 13316 fi
10916 echo "$as_me:10916: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 13317 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10917 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 13318 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10918 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 13319 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10919 cat >>confdefs.h <<EOF 13320 cat >>confdefs.h <<_ACEOF
10920 #define HAVE_LIBCRYPTO 1 13321 #define HAVE_LIBCRYPTO 1
10921 EOF 13322 _ACEOF
10922 13323
10923 LIBS="-lcrypto $LIBS" 13324 LIBS="-lcrypto $LIBS"
10924 13325
10925 fi 13326 fi
10926 13327
10927 echo "$as_me:10927: checking for krb5_init_context in -lkrb5" >&5 13328
13329 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
10928 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 13330 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10929 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 13331 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10930 echo $ECHO_N "(cached) $ECHO_C" >&6 13332 echo $ECHO_N "(cached) $ECHO_C" >&6
10931 else 13333 else
10932 ac_check_lib_save_LIBS=$LIBS 13334 ac_check_lib_save_LIBS=$LIBS
10933 LIBS="-lkrb5 $LIBS" 13335 LIBS="-lkrb5 $LIBS"
10934 cat >conftest.$ac_ext <<_ACEOF 13336 cat >conftest.$ac_ext <<_ACEOF
10935 #line 10935 "configure" 13337 #line $LINENO "configure"
10936 #include "confdefs.h" 13338 #include "confdefs.h"
10937 13339
10938 /* Override any gcc2 internal prototype to avoid an error. */ 13340 /* Override any gcc2 internal prototype to avoid an error. */
10939 #ifdef __cplusplus 13341 #ifdef __cplusplus
10940 extern "C" 13342 extern "C"
10941 #endif 13343 #endif
10942 /* We use char because int might match the return type of a gcc2 13344 /* We use char because int might match the return type of a gcc2
10943 builtin and then its argument prototype would still apply. */ 13345 builtin and then its argument prototype would still apply. */
10944 char krb5_init_context (); 13346 char krb5_init_context ();
13347 #ifdef F77_DUMMY_MAIN
13348 # ifdef __cplusplus
13349 extern "C"
13350 # endif
13351 int F77_DUMMY_MAIN() { return 1; }
13352 #endif
10945 int 13353 int
10946 main () 13354 main ()
10947 { 13355 {
10948 krb5_init_context (); 13356 krb5_init_context ();
10949 ; 13357 ;
10950 return 0; 13358 return 0;
10951 } 13359 }
10952 _ACEOF 13360 _ACEOF
10953 rm -f conftest.$ac_objext conftest$ac_exeext 13361 rm -f conftest.$ac_objext conftest$ac_exeext
10954 if { (eval echo "$as_me:10954: \"$ac_link\"") >&5 13362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10955 (eval $ac_link) 2>&5 13363 (eval $ac_link) 2>&5
10956 ac_status=$? 13364 ac_status=$?
10957 echo "$as_me:10957: \$? = $ac_status" >&5 13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); } && 13366 (exit $ac_status); } &&
10959 { ac_try='test -s conftest$ac_exeext' 13367 { ac_try='test -s conftest$ac_exeext'
10960 { (eval echo "$as_me:10960: \"$ac_try\"") >&5 13368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10961 (eval $ac_try) 2>&5 13369 (eval $ac_try) 2>&5
10962 ac_status=$? 13370 ac_status=$?
10963 echo "$as_me:10963: \$? = $ac_status" >&5 13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; }; then 13372 (exit $ac_status); }; }; then
10965 ac_cv_lib_krb5_krb5_init_context=yes 13373 ac_cv_lib_krb5_krb5_init_context=yes
10966 else 13374 else
10967 echo "$as_me: failed program was:" >&5 13375 echo "$as_me: failed program was:" >&5
10968 cat conftest.$ac_ext >&5 13376 cat conftest.$ac_ext >&5
10969 ac_cv_lib_krb5_krb5_init_context=no 13377 ac_cv_lib_krb5_krb5_init_context=no
10970 fi 13378 fi
10971 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13379 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10972 LIBS=$ac_check_lib_save_LIBS 13380 LIBS=$ac_check_lib_save_LIBS
10973 fi 13381 fi
10974 echo "$as_me:10974: result: $ac_cv_lib_krb5_krb5_init_context" >&5 13382 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10975 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 13383 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10976 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 13384 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10977 cat >>confdefs.h <<EOF 13385 cat >>confdefs.h <<_ACEOF
10978 #define HAVE_LIBKRB5 1 13386 #define HAVE_LIBKRB5 1
10979 EOF 13387 _ACEOF
10980 13388
10981 LIBS="-lkrb5 $LIBS" 13389 LIBS="-lkrb5 $LIBS"
10982 13390
10983 fi 13391 fi
10984 13392
10985 if test "${with_kerberos5+set}" != set; then 13393 if test "${with_kerberos5+set}" != set; then
10986 13394
10987 echo "$as_me:10987: checking for des_cbc_encrypt in -ldes425" >&5 13395 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
10988 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 13396 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10989 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 13397 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10990 echo $ECHO_N "(cached) $ECHO_C" >&6 13398 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 else 13399 else
10992 ac_check_lib_save_LIBS=$LIBS 13400 ac_check_lib_save_LIBS=$LIBS
10993 LIBS="-ldes425 $LIBS" 13401 LIBS="-ldes425 $LIBS"
10994 cat >conftest.$ac_ext <<_ACEOF 13402 cat >conftest.$ac_ext <<_ACEOF
10995 #line 10995 "configure" 13403 #line $LINENO "configure"
10996 #include "confdefs.h" 13404 #include "confdefs.h"
10997 13405
10998 /* Override any gcc2 internal prototype to avoid an error. */ 13406 /* Override any gcc2 internal prototype to avoid an error. */
10999 #ifdef __cplusplus 13407 #ifdef __cplusplus
11000 extern "C" 13408 extern "C"
11001 #endif 13409 #endif
11002 /* We use char because int might match the return type of a gcc2 13410 /* We use char because int might match the return type of a gcc2
11003 builtin and then its argument prototype would still apply. */ 13411 builtin and then its argument prototype would still apply. */
11004 char des_cbc_encrypt (); 13412 char des_cbc_encrypt ();
13413 #ifdef F77_DUMMY_MAIN
13414 # ifdef __cplusplus
13415 extern "C"
13416 # endif
13417 int F77_DUMMY_MAIN() { return 1; }
13418 #endif
11005 int 13419 int
11006 main () 13420 main ()
11007 { 13421 {
11008 des_cbc_encrypt (); 13422 des_cbc_encrypt ();
11009 ; 13423 ;
11010 return 0; 13424 return 0;
11011 } 13425 }
11012 _ACEOF 13426 _ACEOF
11013 rm -f conftest.$ac_objext conftest$ac_exeext 13427 rm -f conftest.$ac_objext conftest$ac_exeext
11014 if { (eval echo "$as_me:11014: \"$ac_link\"") >&5 13428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11015 (eval $ac_link) 2>&5 13429 (eval $ac_link) 2>&5
11016 ac_status=$? 13430 ac_status=$?
11017 echo "$as_me:11017: \$? = $ac_status" >&5 13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); } && 13432 (exit $ac_status); } &&
11019 { ac_try='test -s conftest$ac_exeext' 13433 { ac_try='test -s conftest$ac_exeext'
11020 { (eval echo "$as_me:11020: \"$ac_try\"") >&5 13434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5 13435 (eval $ac_try) 2>&5
11022 ac_status=$? 13436 ac_status=$?
11023 echo "$as_me:11023: \$? = $ac_status" >&5 13437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then 13438 (exit $ac_status); }; }; then
11025 ac_cv_lib_des425_des_cbc_encrypt=yes 13439 ac_cv_lib_des425_des_cbc_encrypt=yes
11026 else 13440 else
11027 echo "$as_me: failed program was:" >&5 13441 echo "$as_me: failed program was:" >&5
11028 cat conftest.$ac_ext >&5 13442 cat conftest.$ac_ext >&5
11029 ac_cv_lib_des425_des_cbc_encrypt=no 13443 ac_cv_lib_des425_des_cbc_encrypt=no
11030 fi 13444 fi
11031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11032 LIBS=$ac_check_lib_save_LIBS 13446 LIBS=$ac_check_lib_save_LIBS
11033 fi 13447 fi
11034 echo "$as_me:11034: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 13448 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
11035 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 13449 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
11036 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 13450 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
11037 cat >>confdefs.h <<EOF 13451 cat >>confdefs.h <<_ACEOF
11038 #define HAVE_LIBDES425 1 13452 #define HAVE_LIBDES425 1
11039 EOF 13453 _ACEOF
11040 13454
11041 LIBS="-ldes425 $LIBS" 13455 LIBS="-ldes425 $LIBS"
11042 13456
11043 else 13457 else
11044 13458
11045 echo "$as_me:11045: checking for des_cbc_encrypt in -ldes" >&5 13459 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
11046 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 13460 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
11047 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 13461 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6 13462 echo $ECHO_N "(cached) $ECHO_C" >&6
11049 else 13463 else
11050 ac_check_lib_save_LIBS=$LIBS 13464 ac_check_lib_save_LIBS=$LIBS
11051 LIBS="-ldes $LIBS" 13465 LIBS="-ldes $LIBS"
11052 cat >conftest.$ac_ext <<_ACEOF 13466 cat >conftest.$ac_ext <<_ACEOF
11053 #line 11053 "configure" 13467 #line $LINENO "configure"
11054 #include "confdefs.h" 13468 #include "confdefs.h"
11055 13469
11056 /* Override any gcc2 internal prototype to avoid an error. */ 13470 /* Override any gcc2 internal prototype to avoid an error. */
11057 #ifdef __cplusplus 13471 #ifdef __cplusplus
11058 extern "C" 13472 extern "C"
11059 #endif 13473 #endif
11060 /* We use char because int might match the return type of a gcc2 13474 /* We use char because int might match the return type of a gcc2
11061 builtin and then its argument prototype would still apply. */ 13475 builtin and then its argument prototype would still apply. */
11062 char des_cbc_encrypt (); 13476 char des_cbc_encrypt ();
13477 #ifdef F77_DUMMY_MAIN
13478 # ifdef __cplusplus
13479 extern "C"
13480 # endif
13481 int F77_DUMMY_MAIN() { return 1; }
13482 #endif
11063 int 13483 int
11064 main () 13484 main ()
11065 { 13485 {
11066 des_cbc_encrypt (); 13486 des_cbc_encrypt ();
11067 ; 13487 ;
11068 return 0; 13488 return 0;
11069 } 13489 }
11070 _ACEOF 13490 _ACEOF
11071 rm -f conftest.$ac_objext conftest$ac_exeext 13491 rm -f conftest.$ac_objext conftest$ac_exeext
11072 if { (eval echo "$as_me:11072: \"$ac_link\"") >&5 13492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11073 (eval $ac_link) 2>&5 13493 (eval $ac_link) 2>&5
11074 ac_status=$? 13494 ac_status=$?
11075 echo "$as_me:11075: \$? = $ac_status" >&5 13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); } && 13496 (exit $ac_status); } &&
11077 { ac_try='test -s conftest$ac_exeext' 13497 { ac_try='test -s conftest$ac_exeext'
11078 { (eval echo "$as_me:11078: \"$ac_try\"") >&5 13498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11079 (eval $ac_try) 2>&5 13499 (eval $ac_try) 2>&5
11080 ac_status=$? 13500 ac_status=$?
11081 echo "$as_me:11081: \$? = $ac_status" >&5 13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); }; }; then 13502 (exit $ac_status); }; }; then
11083 ac_cv_lib_des_des_cbc_encrypt=yes 13503 ac_cv_lib_des_des_cbc_encrypt=yes
11084 else 13504 else
11085 echo "$as_me: failed program was:" >&5 13505 echo "$as_me: failed program was:" >&5
11086 cat conftest.$ac_ext >&5 13506 cat conftest.$ac_ext >&5
11087 ac_cv_lib_des_des_cbc_encrypt=no 13507 ac_cv_lib_des_des_cbc_encrypt=no
11088 fi 13508 fi
11089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS 13510 LIBS=$ac_check_lib_save_LIBS
11091 fi 13511 fi
11092 echo "$as_me:11092: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 13512 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
11093 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 13513 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
11094 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 13514 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
11095 cat >>confdefs.h <<EOF 13515 cat >>confdefs.h <<_ACEOF
11096 #define HAVE_LIBDES 1 13516 #define HAVE_LIBDES 1
11097 EOF 13517 _ACEOF
11098 13518
11099 LIBS="-ldes $LIBS" 13519 LIBS="-ldes $LIBS"
11100 13520
11101 fi 13521 fi
11102 13522
11103 fi 13523 fi
11104 13524
11105 echo "$as_me:11105: checking for krb_get_cred in -lkrb4" >&5 13525
13526 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
11106 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 13527 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
11107 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 13528 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
11108 echo $ECHO_N "(cached) $ECHO_C" >&6 13529 echo $ECHO_N "(cached) $ECHO_C" >&6
11109 else 13530 else
11110 ac_check_lib_save_LIBS=$LIBS 13531 ac_check_lib_save_LIBS=$LIBS
11111 LIBS="-lkrb4 $LIBS" 13532 LIBS="-lkrb4 $LIBS"
11112 cat >conftest.$ac_ext <<_ACEOF 13533 cat >conftest.$ac_ext <<_ACEOF
11113 #line 11113 "configure" 13534 #line $LINENO "configure"
11114 #include "confdefs.h" 13535 #include "confdefs.h"
11115 13536
11116 /* Override any gcc2 internal prototype to avoid an error. */ 13537 /* Override any gcc2 internal prototype to avoid an error. */
11117 #ifdef __cplusplus 13538 #ifdef __cplusplus
11118 extern "C" 13539 extern "C"
11119 #endif 13540 #endif
11120 /* We use char because int might match the return type of a gcc2 13541 /* We use char because int might match the return type of a gcc2
11121 builtin and then its argument prototype would still apply. */ 13542 builtin and then its argument prototype would still apply. */
11122 char krb_get_cred (); 13543 char krb_get_cred ();
13544 #ifdef F77_DUMMY_MAIN
13545 # ifdef __cplusplus
13546 extern "C"
13547 # endif
13548 int F77_DUMMY_MAIN() { return 1; }
13549 #endif
11123 int 13550 int
11124 main () 13551 main ()
11125 { 13552 {
11126 krb_get_cred (); 13553 krb_get_cred ();
11127 ; 13554 ;
11128 return 0; 13555 return 0;
11129 } 13556 }
11130 _ACEOF 13557 _ACEOF
11131 rm -f conftest.$ac_objext conftest$ac_exeext 13558 rm -f conftest.$ac_objext conftest$ac_exeext
11132 if { (eval echo "$as_me:11132: \"$ac_link\"") >&5 13559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11133 (eval $ac_link) 2>&5 13560 (eval $ac_link) 2>&5
11134 ac_status=$? 13561 ac_status=$?
11135 echo "$as_me:11135: \$? = $ac_status" >&5 13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } && 13563 (exit $ac_status); } &&
11137 { ac_try='test -s conftest$ac_exeext' 13564 { ac_try='test -s conftest$ac_exeext'
11138 { (eval echo "$as_me:11138: \"$ac_try\"") >&5 13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11139 (eval $ac_try) 2>&5 13566 (eval $ac_try) 2>&5
11140 ac_status=$? 13567 ac_status=$?
11141 echo "$as_me:11141: \$? = $ac_status" >&5 13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); }; }; then 13569 (exit $ac_status); }; }; then
11143 ac_cv_lib_krb4_krb_get_cred=yes 13570 ac_cv_lib_krb4_krb_get_cred=yes
11144 else 13571 else
11145 echo "$as_me: failed program was:" >&5 13572 echo "$as_me: failed program was:" >&5
11146 cat conftest.$ac_ext >&5 13573 cat conftest.$ac_ext >&5
11147 ac_cv_lib_krb4_krb_get_cred=no 13574 ac_cv_lib_krb4_krb_get_cred=no
11148 fi 13575 fi
11149 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS 13577 LIBS=$ac_check_lib_save_LIBS
11151 fi 13578 fi
11152 echo "$as_me:11152: result: $ac_cv_lib_krb4_krb_get_cred" >&5 13579 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
11153 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 13580 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
11154 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 13581 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
11155 cat >>confdefs.h <<EOF 13582 cat >>confdefs.h <<_ACEOF
11156 #define HAVE_LIBKRB4 1 13583 #define HAVE_LIBKRB4 1
11157 EOF 13584 _ACEOF
11158 13585
11159 LIBS="-lkrb4 $LIBS" 13586 LIBS="-lkrb4 $LIBS"
11160 13587
11161 else 13588 else
11162 13589
11163 echo "$as_me:11163: checking for krb_get_cred in -lkrb" >&5 13590 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
11164 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 13591 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
11165 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 13592 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6 13593 echo $ECHO_N "(cached) $ECHO_C" >&6
11167 else 13594 else
11168 ac_check_lib_save_LIBS=$LIBS 13595 ac_check_lib_save_LIBS=$LIBS
11169 LIBS="-lkrb $LIBS" 13596 LIBS="-lkrb $LIBS"
11170 cat >conftest.$ac_ext <<_ACEOF 13597 cat >conftest.$ac_ext <<_ACEOF
11171 #line 11171 "configure" 13598 #line $LINENO "configure"
11172 #include "confdefs.h" 13599 #include "confdefs.h"
11173 13600
11174 /* Override any gcc2 internal prototype to avoid an error. */ 13601 /* Override any gcc2 internal prototype to avoid an error. */
11175 #ifdef __cplusplus 13602 #ifdef __cplusplus
11176 extern "C" 13603 extern "C"
11177 #endif 13604 #endif
11178 /* We use char because int might match the return type of a gcc2 13605 /* We use char because int might match the return type of a gcc2
11179 builtin and then its argument prototype would still apply. */ 13606 builtin and then its argument prototype would still apply. */
11180 char krb_get_cred (); 13607 char krb_get_cred ();
13608 #ifdef F77_DUMMY_MAIN
13609 # ifdef __cplusplus
13610 extern "C"
13611 # endif
13612 int F77_DUMMY_MAIN() { return 1; }
13613 #endif
11181 int 13614 int
11182 main () 13615 main ()
11183 { 13616 {
11184 krb_get_cred (); 13617 krb_get_cred ();
11185 ; 13618 ;
11186 return 0; 13619 return 0;
11187 } 13620 }
11188 _ACEOF 13621 _ACEOF
11189 rm -f conftest.$ac_objext conftest$ac_exeext 13622 rm -f conftest.$ac_objext conftest$ac_exeext
11190 if { (eval echo "$as_me:11190: \"$ac_link\"") >&5 13623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11191 (eval $ac_link) 2>&5 13624 (eval $ac_link) 2>&5
11192 ac_status=$? 13625 ac_status=$?
11193 echo "$as_me:11193: \$? = $ac_status" >&5 13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); } && 13627 (exit $ac_status); } &&
11195 { ac_try='test -s conftest$ac_exeext' 13628 { ac_try='test -s conftest$ac_exeext'
11196 { (eval echo "$as_me:11196: \"$ac_try\"") >&5 13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5 13630 (eval $ac_try) 2>&5
11198 ac_status=$? 13631 ac_status=$?
11199 echo "$as_me:11199: \$? = $ac_status" >&5 13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; }; then 13633 (exit $ac_status); }; }; then
11201 ac_cv_lib_krb_krb_get_cred=yes 13634 ac_cv_lib_krb_krb_get_cred=yes
11202 else 13635 else
11203 echo "$as_me: failed program was:" >&5 13636 echo "$as_me: failed program was:" >&5
11204 cat conftest.$ac_ext >&5 13637 cat conftest.$ac_ext >&5
11205 ac_cv_lib_krb_krb_get_cred=no 13638 ac_cv_lib_krb_krb_get_cred=no
11206 fi 13639 fi
11207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13640 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS 13641 LIBS=$ac_check_lib_save_LIBS
11209 fi 13642 fi
11210 echo "$as_me:11210: result: $ac_cv_lib_krb_krb_get_cred" >&5 13643 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
11211 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 13644 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
11212 if test $ac_cv_lib_krb_krb_get_cred = yes; then 13645 if test $ac_cv_lib_krb_krb_get_cred = yes; then
11213 cat >>confdefs.h <<EOF 13646 cat >>confdefs.h <<_ACEOF
11214 #define HAVE_LIBKRB 1 13647 #define HAVE_LIBKRB 1
11215 EOF 13648 _ACEOF
11216 13649
11217 LIBS="-lkrb $LIBS" 13650 LIBS="-lkrb $LIBS"
11218 13651
11219 fi 13652 fi
11220 13653
11225 if test "${with_kerberos5+set}" = set; then 13658 if test "${with_kerberos5+set}" = set; then
11226 13659
11227 for ac_header in krb5.h 13660 for ac_header in krb5.h
11228 do 13661 do
11229 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13662 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11230 echo "$as_me:11230: checking for $ac_header" >&5 13663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13664 echo "$as_me:$LINENO: checking for $ac_header" >&5
11231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11232 if eval "test \"\${$as_ac_Header+set}\" = set"; then 13666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11233 echo $ECHO_N "(cached) $ECHO_C" >&6 13667 echo $ECHO_N "(cached) $ECHO_C" >&6
11234 else 13668 fi
11235 cat >conftest.$ac_ext <<_ACEOF 13669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11236 #line 11236 "configure" 13670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11237 #include "confdefs.h" 13671 else
13672 # Is the header compilable?
13673 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13675 cat >conftest.$ac_ext <<_ACEOF
13676 #line $LINENO "configure"
13677 #include "confdefs.h"
13678 $ac_includes_default
11238 #include <$ac_header> 13679 #include <$ac_header>
11239 _ACEOF 13680 _ACEOF
11240 if { (eval echo "$as_me:11240: \"$ac_cpp conftest.$ac_ext\"") >&5 13681 rm -f conftest.$ac_objext
13682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13683 (eval $ac_compile) 2>&5
13684 ac_status=$?
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); } &&
13687 { ac_try='test -s conftest.$ac_objext'
13688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13689 (eval $ac_try) 2>&5
13690 ac_status=$?
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; }; then
13693 ac_header_compiler=yes
13694 else
13695 echo "$as_me: failed program was:" >&5
13696 cat conftest.$ac_ext >&5
13697 ac_header_compiler=no
13698 fi
13699 rm -f conftest.$ac_objext conftest.$ac_ext
13700 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13701 echo "${ECHO_T}$ac_header_compiler" >&6
13702
13703 # Is the header present?
13704 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13705 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13706 cat >conftest.$ac_ext <<_ACEOF
13707 #line $LINENO "configure"
13708 #include "confdefs.h"
13709 #include <$ac_header>
13710 _ACEOF
13711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13712 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11242 ac_status=$? 13713 ac_status=$?
11243 egrep -v '^ *\+' conftest.er1 >conftest.err 13714 egrep -v '^ *\+' conftest.er1 >conftest.err
11244 rm -f conftest.er1 13715 rm -f conftest.er1
11245 cat conftest.err >&5 13716 cat conftest.err >&5
11246 echo "$as_me:11246: \$? = $ac_status" >&5 13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } >/dev/null; then 13718 (exit $ac_status); } >/dev/null; then
11248 if test -s conftest.err; then 13719 if test -s conftest.err; then
11249 ac_cpp_err=$ac_c_preproc_warn_flag 13720 ac_cpp_err=$ac_c_preproc_warn_flag
11250 else 13721 else
11251 ac_cpp_err= 13722 ac_cpp_err=
11252 fi 13723 fi
11253 else 13724 else
11254 ac_cpp_err=yes 13725 ac_cpp_err=yes
11255 fi 13726 fi
11256 if test -z "$ac_cpp_err"; then 13727 if test -z "$ac_cpp_err"; then
11257 eval "$as_ac_Header=yes" 13728 ac_header_preproc=yes
11258 else 13729 else
11259 echo "$as_me: failed program was:" >&5 13730 echo "$as_me: failed program was:" >&5
11260 cat conftest.$ac_ext >&5 13731 cat conftest.$ac_ext >&5
11261 eval "$as_ac_Header=no" 13732 ac_header_preproc=no
11262 fi 13733 fi
11263 rm -f conftest.err conftest.$ac_ext 13734 rm -f conftest.err conftest.$ac_ext
11264 fi 13735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11265 echo "$as_me:11265: result: `eval echo '${'$as_ac_Header'}'`" >&5 13736 echo "${ECHO_T}$ac_header_preproc" >&6
13737
13738 # So? What about this header?
13739 case $ac_header_compiler:$ac_header_preproc in
13740 yes:no )
13741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13745 no:yes )
13746 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13747 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13748 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13749 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13752 esac
13753 echo "$as_me:$LINENO: checking for $ac_header" >&5
13754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13756 echo $ECHO_N "(cached) $ECHO_C" >&6
13757 else
13758 eval "$as_ac_Header=$ac_header_preproc"
13759 fi
13760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13762
13763 fi
11267 if test `eval echo '${'$as_ac_Header'}'` = yes; then 13764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11268 cat >>confdefs.h <<EOF 13765 cat >>confdefs.h <<_ACEOF
11269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 13766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11270 EOF 13767 _ACEOF
11271 13768
11272 fi 13769 fi
13770
11273 done 13771 done
11274 13772
11275 else 13773 else
11276 13774
11277 for ac_header in des.h 13775 for ac_header in des.h
11278 do 13776 do
11279 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13777 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11280 echo "$as_me:11280: checking for $ac_header" >&5 13778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13779 echo "$as_me:$LINENO: checking for $ac_header" >&5
11281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11282 if eval "test \"\${$as_ac_Header+set}\" = set"; then 13781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6 13782 echo $ECHO_N "(cached) $ECHO_C" >&6
11284 else 13783 fi
11285 cat >conftest.$ac_ext <<_ACEOF 13784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11286 #line 11286 "configure" 13785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11287 #include "confdefs.h" 13786 else
13787 # Is the header compilable?
13788 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13789 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13790 cat >conftest.$ac_ext <<_ACEOF
13791 #line $LINENO "configure"
13792 #include "confdefs.h"
13793 $ac_includes_default
11288 #include <$ac_header> 13794 #include <$ac_header>
11289 _ACEOF 13795 _ACEOF
11290 if { (eval echo "$as_me:11290: \"$ac_cpp conftest.$ac_ext\"") >&5 13796 rm -f conftest.$ac_objext
13797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13798 (eval $ac_compile) 2>&5
13799 ac_status=$?
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); } &&
13802 { ac_try='test -s conftest.$ac_objext'
13803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13804 (eval $ac_try) 2>&5
13805 ac_status=$?
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); }; }; then
13808 ac_header_compiler=yes
13809 else
13810 echo "$as_me: failed program was:" >&5
13811 cat conftest.$ac_ext >&5
13812 ac_header_compiler=no
13813 fi
13814 rm -f conftest.$ac_objext conftest.$ac_ext
13815 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13816 echo "${ECHO_T}$ac_header_compiler" >&6
13817
13818 # Is the header present?
13819 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13820 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13821 cat >conftest.$ac_ext <<_ACEOF
13822 #line $LINENO "configure"
13823 #include "confdefs.h"
13824 #include <$ac_header>
13825 _ACEOF
13826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13827 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11292 ac_status=$? 13828 ac_status=$?
11293 egrep -v '^ *\+' conftest.er1 >conftest.err 13829 egrep -v '^ *\+' conftest.er1 >conftest.err
11294 rm -f conftest.er1 13830 rm -f conftest.er1
11295 cat conftest.err >&5 13831 cat conftest.err >&5
11296 echo "$as_me:11296: \$? = $ac_status" >&5 13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } >/dev/null; then 13833 (exit $ac_status); } >/dev/null; then
11298 if test -s conftest.err; then 13834 if test -s conftest.err; then
11299 ac_cpp_err=$ac_c_preproc_warn_flag 13835 ac_cpp_err=$ac_c_preproc_warn_flag
11300 else 13836 else
11301 ac_cpp_err= 13837 ac_cpp_err=
11302 fi 13838 fi
11303 else 13839 else
11304 ac_cpp_err=yes 13840 ac_cpp_err=yes
11305 fi 13841 fi
11306 if test -z "$ac_cpp_err"; then 13842 if test -z "$ac_cpp_err"; then
11307 eval "$as_ac_Header=yes" 13843 ac_header_preproc=yes
11308 else 13844 else
11309 echo "$as_me: failed program was:" >&5 13845 echo "$as_me: failed program was:" >&5
11310 cat conftest.$ac_ext >&5 13846 cat conftest.$ac_ext >&5
11311 eval "$as_ac_Header=no" 13847 ac_header_preproc=no
11312 fi 13848 fi
11313 rm -f conftest.err conftest.$ac_ext 13849 rm -f conftest.err conftest.$ac_ext
11314 fi 13850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11315 echo "$as_me:11315: result: `eval echo '${'$as_ac_Header'}'`" >&5 13851 echo "${ECHO_T}$ac_header_preproc" >&6
13852
13853 # So? What about this header?
13854 case $ac_header_compiler:$ac_header_preproc in
13855 yes:no )
13856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13860 no:yes )
13861 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13862 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13863 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13864 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13866 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13867 esac
13868 echo "$as_me:$LINENO: checking for $ac_header" >&5
13869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13871 echo $ECHO_N "(cached) $ECHO_C" >&6
13872 else
13873 eval "$as_ac_Header=$ac_header_preproc"
13874 fi
13875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13877
13878 fi
11317 if test `eval echo '${'$as_ac_Header'}'` = yes; then 13879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11318 cat >>confdefs.h <<EOF 13880 cat >>confdefs.h <<_ACEOF
11319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 13881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11320 EOF 13882 _ACEOF
11321 13883
11322 else 13884 else
11323 13885
11324 for ac_header in kerberosIV/des.h 13886 for ac_header in kerberosIV/des.h
11325 do 13887 do
11326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11327 echo "$as_me:11327: checking for $ac_header" >&5 13889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13890 echo "$as_me:$LINENO: checking for $ac_header" >&5
11328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11329 if eval "test \"\${$as_ac_Header+set}\" = set"; then 13892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11330 echo $ECHO_N "(cached) $ECHO_C" >&6 13893 echo $ECHO_N "(cached) $ECHO_C" >&6
11331 else 13894 fi
11332 cat >conftest.$ac_ext <<_ACEOF 13895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11333 #line 11333 "configure" 13896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11334 #include "confdefs.h" 13897 else
13898 # Is the header compilable?
13899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13901 cat >conftest.$ac_ext <<_ACEOF
13902 #line $LINENO "configure"
13903 #include "confdefs.h"
13904 $ac_includes_default
11335 #include <$ac_header> 13905 #include <$ac_header>
11336 _ACEOF 13906 _ACEOF
11337 if { (eval echo "$as_me:11337: \"$ac_cpp conftest.$ac_ext\"") >&5 13907 rm -f conftest.$ac_objext
13908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13909 (eval $ac_compile) 2>&5
13910 ac_status=$?
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); } &&
13913 { ac_try='test -s conftest.$ac_objext'
13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915 (eval $ac_try) 2>&5
13916 ac_status=$?
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); }; }; then
13919 ac_header_compiler=yes
13920 else
13921 echo "$as_me: failed program was:" >&5
13922 cat conftest.$ac_ext >&5
13923 ac_header_compiler=no
13924 fi
13925 rm -f conftest.$ac_objext conftest.$ac_ext
13926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13927 echo "${ECHO_T}$ac_header_compiler" >&6
13928
13929 # Is the header present?
13930 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13931 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13932 cat >conftest.$ac_ext <<_ACEOF
13933 #line $LINENO "configure"
13934 #include "confdefs.h"
13935 #include <$ac_header>
13936 _ACEOF
13937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11339 ac_status=$? 13939 ac_status=$?
11340 egrep -v '^ *\+' conftest.er1 >conftest.err 13940 egrep -v '^ *\+' conftest.er1 >conftest.err
11341 rm -f conftest.er1 13941 rm -f conftest.er1
11342 cat conftest.err >&5 13942 cat conftest.err >&5
11343 echo "$as_me:11343: \$? = $ac_status" >&5 13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 (exit $ac_status); } >/dev/null; then 13944 (exit $ac_status); } >/dev/null; then
11345 if test -s conftest.err; then 13945 if test -s conftest.err; then
11346 ac_cpp_err=$ac_c_preproc_warn_flag 13946 ac_cpp_err=$ac_c_preproc_warn_flag
11347 else 13947 else
11348 ac_cpp_err= 13948 ac_cpp_err=
11349 fi 13949 fi
11350 else 13950 else
11351 ac_cpp_err=yes 13951 ac_cpp_err=yes
11352 fi 13952 fi
11353 if test -z "$ac_cpp_err"; then 13953 if test -z "$ac_cpp_err"; then
11354 eval "$as_ac_Header=yes" 13954 ac_header_preproc=yes
11355 else 13955 else
11356 echo "$as_me: failed program was:" >&5 13956 echo "$as_me: failed program was:" >&5
11357 cat conftest.$ac_ext >&5 13957 cat conftest.$ac_ext >&5
11358 eval "$as_ac_Header=no" 13958 ac_header_preproc=no
11359 fi 13959 fi
11360 rm -f conftest.err conftest.$ac_ext 13960 rm -f conftest.err conftest.$ac_ext
11361 fi 13961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11362 echo "$as_me:11362: result: `eval echo '${'$as_ac_Header'}'`" >&5 13962 echo "${ECHO_T}$ac_header_preproc" >&6
13963
13964 # So? What about this header?
13965 case $ac_header_compiler:$ac_header_preproc in
13966 yes:no )
13967 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13968 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13971 no:yes )
13972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13978 esac
13979 echo "$as_me:$LINENO: checking for $ac_header" >&5
13980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13983 else
13984 eval "$as_ac_Header=$ac_header_preproc"
13985 fi
13986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13988
13989 fi
11364 if test `eval echo '${'$as_ac_Header'}'` = yes; then 13990 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11365 cat >>confdefs.h <<EOF 13991 cat >>confdefs.h <<_ACEOF
11366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 13992 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11367 EOF 13993 _ACEOF
11368 13994
11369 else 13995 else
11370 13996
11371 for ac_header in kerberos/des.h 13997 for ac_header in kerberos/des.h
11372 do 13998 do
11373 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13999 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11374 echo "$as_me:11374: checking for $ac_header" >&5 14000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14001 echo "$as_me:$LINENO: checking for $ac_header" >&5
11375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11376 if eval "test \"\${$as_ac_Header+set}\" = set"; then 14003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11377 echo $ECHO_N "(cached) $ECHO_C" >&6 14004 echo $ECHO_N "(cached) $ECHO_C" >&6
11378 else 14005 fi
11379 cat >conftest.$ac_ext <<_ACEOF 14006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11380 #line 11380 "configure" 14007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11381 #include "confdefs.h" 14008 else
14009 # Is the header compilable?
14010 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14011 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14012 cat >conftest.$ac_ext <<_ACEOF
14013 #line $LINENO "configure"
14014 #include "confdefs.h"
14015 $ac_includes_default
11382 #include <$ac_header> 14016 #include <$ac_header>
11383 _ACEOF 14017 _ACEOF
11384 if { (eval echo "$as_me:11384: \"$ac_cpp conftest.$ac_ext\"") >&5 14018 rm -f conftest.$ac_objext
14019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14020 (eval $ac_compile) 2>&5
14021 ac_status=$?
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); } &&
14024 { ac_try='test -s conftest.$ac_objext'
14025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026 (eval $ac_try) 2>&5
14027 ac_status=$?
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; }; then
14030 ac_header_compiler=yes
14031 else
14032 echo "$as_me: failed program was:" >&5
14033 cat conftest.$ac_ext >&5
14034 ac_header_compiler=no
14035 fi
14036 rm -f conftest.$ac_objext conftest.$ac_ext
14037 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14038 echo "${ECHO_T}$ac_header_compiler" >&6
14039
14040 # Is the header present?
14041 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14042 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14043 cat >conftest.$ac_ext <<_ACEOF
14044 #line $LINENO "configure"
14045 #include "confdefs.h"
14046 #include <$ac_header>
14047 _ACEOF
14048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11386 ac_status=$? 14050 ac_status=$?
11387 egrep -v '^ *\+' conftest.er1 >conftest.err 14051 egrep -v '^ *\+' conftest.er1 >conftest.err
11388 rm -f conftest.er1 14052 rm -f conftest.er1
11389 cat conftest.err >&5 14053 cat conftest.err >&5
11390 echo "$as_me:11390: \$? = $ac_status" >&5 14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); } >/dev/null; then 14055 (exit $ac_status); } >/dev/null; then
11392 if test -s conftest.err; then 14056 if test -s conftest.err; then
11393 ac_cpp_err=$ac_c_preproc_warn_flag 14057 ac_cpp_err=$ac_c_preproc_warn_flag
11394 else 14058 else
11395 ac_cpp_err= 14059 ac_cpp_err=
11396 fi 14060 fi
11397 else 14061 else
11398 ac_cpp_err=yes 14062 ac_cpp_err=yes
11399 fi 14063 fi
11400 if test -z "$ac_cpp_err"; then 14064 if test -z "$ac_cpp_err"; then
11401 eval "$as_ac_Header=yes" 14065 ac_header_preproc=yes
11402 else 14066 else
11403 echo "$as_me: failed program was:" >&5 14067 echo "$as_me: failed program was:" >&5
11404 cat conftest.$ac_ext >&5 14068 cat conftest.$ac_ext >&5
11405 eval "$as_ac_Header=no" 14069 ac_header_preproc=no
11406 fi 14070 fi
11407 rm -f conftest.err conftest.$ac_ext 14071 rm -f conftest.err conftest.$ac_ext
11408 fi 14072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11409 echo "$as_me:11409: result: `eval echo '${'$as_ac_Header'}'`" >&5 14073 echo "${ECHO_T}$ac_header_preproc" >&6
14074
14075 # So? What about this header?
14076 case $ac_header_compiler:$ac_header_preproc in
14077 yes:no )
14078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14079 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14081 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14082 no:yes )
14083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14086 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14089 esac
14090 echo "$as_me:$LINENO: checking for $ac_header" >&5
14091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14094 else
14095 eval "$as_ac_Header=$ac_header_preproc"
14096 fi
14097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14099
14100 fi
11411 if test `eval echo '${'$as_ac_Header'}'` = yes; then 14101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11412 cat >>confdefs.h <<EOF 14102 cat >>confdefs.h <<_ACEOF
11413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11414 EOF 14104 _ACEOF
11415 14105
11416 fi 14106 fi
14107
11417 done 14108 done
11418 14109
11419 fi 14110 fi
14111
11420 done 14112 done
11421 14113
11422 fi 14114 fi
14115
11423 done 14116 done
14117
11424 14118
11425 for ac_header in krb.h 14119 for ac_header in krb.h
11426 do 14120 do
11427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11428 echo "$as_me:11428: checking for $ac_header" >&5 14122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14123 echo "$as_me:$LINENO: checking for $ac_header" >&5
11429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11430 if eval "test \"\${$as_ac_Header+set}\" = set"; then 14125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11431 echo $ECHO_N "(cached) $ECHO_C" >&6 14126 echo $ECHO_N "(cached) $ECHO_C" >&6
11432 else 14127 fi
11433 cat >conftest.$ac_ext <<_ACEOF 14128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11434 #line 11434 "configure" 14129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11435 #include "confdefs.h" 14130 else
14131 # Is the header compilable?
14132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14134 cat >conftest.$ac_ext <<_ACEOF
14135 #line $LINENO "configure"
14136 #include "confdefs.h"
14137 $ac_includes_default
11436 #include <$ac_header> 14138 #include <$ac_header>
11437 _ACEOF 14139 _ACEOF
11438 if { (eval echo "$as_me:11438: \"$ac_cpp conftest.$ac_ext\"") >&5 14140 rm -f conftest.$ac_objext
14141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14142 (eval $ac_compile) 2>&5
14143 ac_status=$?
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } &&
14146 { ac_try='test -s conftest.$ac_objext'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14149 ac_status=$?
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14152 ac_header_compiler=yes
14153 else
14154 echo "$as_me: failed program was:" >&5
14155 cat conftest.$ac_ext >&5
14156 ac_header_compiler=no
14157 fi
14158 rm -f conftest.$ac_objext conftest.$ac_ext
14159 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14160 echo "${ECHO_T}$ac_header_compiler" >&6
14161
14162 # Is the header present?
14163 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14164 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14165 cat >conftest.$ac_ext <<_ACEOF
14166 #line $LINENO "configure"
14167 #include "confdefs.h"
14168 #include <$ac_header>
14169 _ACEOF
14170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11440 ac_status=$? 14172 ac_status=$?
11441 egrep -v '^ *\+' conftest.er1 >conftest.err 14173 egrep -v '^ *\+' conftest.er1 >conftest.err
11442 rm -f conftest.er1 14174 rm -f conftest.er1
11443 cat conftest.err >&5 14175 cat conftest.err >&5
11444 echo "$as_me:11444: \$? = $ac_status" >&5 14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); } >/dev/null; then 14177 (exit $ac_status); } >/dev/null; then
11446 if test -s conftest.err; then 14178 if test -s conftest.err; then
11447 ac_cpp_err=$ac_c_preproc_warn_flag 14179 ac_cpp_err=$ac_c_preproc_warn_flag
11448 else 14180 else
11449 ac_cpp_err= 14181 ac_cpp_err=
11450 fi 14182 fi
11451 else 14183 else
11452 ac_cpp_err=yes 14184 ac_cpp_err=yes
11453 fi 14185 fi
11454 if test -z "$ac_cpp_err"; then 14186 if test -z "$ac_cpp_err"; then
11455 eval "$as_ac_Header=yes" 14187 ac_header_preproc=yes
11456 else 14188 else
11457 echo "$as_me: failed program was:" >&5 14189 echo "$as_me: failed program was:" >&5
11458 cat conftest.$ac_ext >&5 14190 cat conftest.$ac_ext >&5
11459 eval "$as_ac_Header=no" 14191 ac_header_preproc=no
11460 fi 14192 fi
11461 rm -f conftest.err conftest.$ac_ext 14193 rm -f conftest.err conftest.$ac_ext
11462 fi 14194 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11463 echo "$as_me:11463: result: `eval echo '${'$as_ac_Header'}'`" >&5 14195 echo "${ECHO_T}$ac_header_preproc" >&6
14196
14197 # So? What about this header?
14198 case $ac_header_compiler:$ac_header_preproc in
14199 yes:no )
14200 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14201 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14204 no:yes )
14205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14211 esac
14212 echo "$as_me:$LINENO: checking for $ac_header" >&5
14213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 else
14217 eval "$as_ac_Header=$ac_header_preproc"
14218 fi
14219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14221
14222 fi
11465 if test `eval echo '${'$as_ac_Header'}'` = yes; then 14223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11466 cat >>confdefs.h <<EOF 14224 cat >>confdefs.h <<_ACEOF
11467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11468 EOF 14226 _ACEOF
11469 14227
11470 else 14228 else
11471 14229
11472 for ac_header in kerberosIV/krb.h 14230 for ac_header in kerberosIV/krb.h
11473 do 14231 do
11474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11475 echo "$as_me:11475: checking for $ac_header" >&5 14233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14234 echo "$as_me:$LINENO: checking for $ac_header" >&5
11476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11477 if eval "test \"\${$as_ac_Header+set}\" = set"; then 14236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6 14237 echo $ECHO_N "(cached) $ECHO_C" >&6
11479 else 14238 fi
11480 cat >conftest.$ac_ext <<_ACEOF 14239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11481 #line 11481 "configure" 14240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11482 #include "confdefs.h" 14241 else
14242 # Is the header compilable?
14243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14245 cat >conftest.$ac_ext <<_ACEOF
14246 #line $LINENO "configure"
14247 #include "confdefs.h"
14248 $ac_includes_default
11483 #include <$ac_header> 14249 #include <$ac_header>
11484 _ACEOF 14250 _ACEOF
11485 if { (eval echo "$as_me:11485: \"$ac_cpp conftest.$ac_ext\"") >&5 14251 rm -f conftest.$ac_objext
14252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14253 (eval $ac_compile) 2>&5
14254 ac_status=$?
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); } &&
14257 { ac_try='test -s conftest.$ac_objext'
14258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14259 (eval $ac_try) 2>&5
14260 ac_status=$?
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); }; }; then
14263 ac_header_compiler=yes
14264 else
14265 echo "$as_me: failed program was:" >&5
14266 cat conftest.$ac_ext >&5
14267 ac_header_compiler=no
14268 fi
14269 rm -f conftest.$ac_objext conftest.$ac_ext
14270 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14271 echo "${ECHO_T}$ac_header_compiler" >&6
14272
14273 # Is the header present?
14274 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14275 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14276 cat >conftest.$ac_ext <<_ACEOF
14277 #line $LINENO "configure"
14278 #include "confdefs.h"
14279 #include <$ac_header>
14280 _ACEOF
14281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11486 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11487 ac_status=$? 14283 ac_status=$?
11488 egrep -v '^ *\+' conftest.er1 >conftest.err 14284 egrep -v '^ *\+' conftest.er1 >conftest.err
11489 rm -f conftest.er1 14285 rm -f conftest.er1
11490 cat conftest.err >&5 14286 cat conftest.err >&5
11491 echo "$as_me:11491: \$? = $ac_status" >&5 14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 (exit $ac_status); } >/dev/null; then 14288 (exit $ac_status); } >/dev/null; then
11493 if test -s conftest.err; then 14289 if test -s conftest.err; then
11494 ac_cpp_err=$ac_c_preproc_warn_flag 14290 ac_cpp_err=$ac_c_preproc_warn_flag
11495 else 14291 else
11496 ac_cpp_err= 14292 ac_cpp_err=
11497 fi 14293 fi
11498 else 14294 else
11499 ac_cpp_err=yes 14295 ac_cpp_err=yes
11500 fi 14296 fi
11501 if test -z "$ac_cpp_err"; then 14297 if test -z "$ac_cpp_err"; then
11502 eval "$as_ac_Header=yes" 14298 ac_header_preproc=yes
11503 else 14299 else
11504 echo "$as_me: failed program was:" >&5 14300 echo "$as_me: failed program was:" >&5
11505 cat conftest.$ac_ext >&5 14301 cat conftest.$ac_ext >&5
11506 eval "$as_ac_Header=no" 14302 ac_header_preproc=no
11507 fi 14303 fi
11508 rm -f conftest.err conftest.$ac_ext 14304 rm -f conftest.err conftest.$ac_ext
11509 fi 14305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11510 echo "$as_me:11510: result: `eval echo '${'$as_ac_Header'}'`" >&5 14306 echo "${ECHO_T}$ac_header_preproc" >&6
14307
14308 # So? What about this header?
14309 case $ac_header_compiler:$ac_header_preproc in
14310 yes:no )
14311 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14312 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14314 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14315 no:yes )
14316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14317 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14319 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14322 esac
14323 echo "$as_me:$LINENO: checking for $ac_header" >&5
14324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 else
14328 eval "$as_ac_Header=$ac_header_preproc"
14329 fi
14330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14332
14333 fi
11512 if test `eval echo '${'$as_ac_Header'}'` = yes; then 14334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11513 cat >>confdefs.h <<EOF 14335 cat >>confdefs.h <<_ACEOF
11514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11515 EOF 14337 _ACEOF
11516 14338
11517 else 14339 else
11518 14340
11519 for ac_header in kerberos/krb.h 14341 for ac_header in kerberos/krb.h
11520 do 14342 do
11521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11522 echo "$as_me:11522: checking for $ac_header" >&5 14344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14345 echo "$as_me:$LINENO: checking for $ac_header" >&5
11523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11524 if eval "test \"\${$as_ac_Header+set}\" = set"; then 14347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11525 echo $ECHO_N "(cached) $ECHO_C" >&6 14348 echo $ECHO_N "(cached) $ECHO_C" >&6
11526 else 14349 fi
11527 cat >conftest.$ac_ext <<_ACEOF 14350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11528 #line 11528 "configure" 14351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11529 #include "confdefs.h" 14352 else
14353 # Is the header compilable?
14354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14356 cat >conftest.$ac_ext <<_ACEOF
14357 #line $LINENO "configure"
14358 #include "confdefs.h"
14359 $ac_includes_default
11530 #include <$ac_header> 14360 #include <$ac_header>
11531 _ACEOF 14361 _ACEOF
11532 if { (eval echo "$as_me:11532: \"$ac_cpp conftest.$ac_ext\"") >&5 14362 rm -f conftest.$ac_objext
14363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14364 (eval $ac_compile) 2>&5
14365 ac_status=$?
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); } &&
14368 { ac_try='test -s conftest.$ac_objext'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14371 ac_status=$?
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; }; then
14374 ac_header_compiler=yes
14375 else
14376 echo "$as_me: failed program was:" >&5
14377 cat conftest.$ac_ext >&5
14378 ac_header_compiler=no
14379 fi
14380 rm -f conftest.$ac_objext conftest.$ac_ext
14381 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14382 echo "${ECHO_T}$ac_header_compiler" >&6
14383
14384 # Is the header present?
14385 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14386 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14387 cat >conftest.$ac_ext <<_ACEOF
14388 #line $LINENO "configure"
14389 #include "confdefs.h"
14390 #include <$ac_header>
14391 _ACEOF
14392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11533 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11534 ac_status=$? 14394 ac_status=$?
11535 egrep -v '^ *\+' conftest.er1 >conftest.err 14395 egrep -v '^ *\+' conftest.er1 >conftest.err
11536 rm -f conftest.er1 14396 rm -f conftest.er1
11537 cat conftest.err >&5 14397 cat conftest.err >&5
11538 echo "$as_me:11538: \$? = $ac_status" >&5 14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); } >/dev/null; then 14399 (exit $ac_status); } >/dev/null; then
11540 if test -s conftest.err; then 14400 if test -s conftest.err; then
11541 ac_cpp_err=$ac_c_preproc_warn_flag 14401 ac_cpp_err=$ac_c_preproc_warn_flag
11542 else 14402 else
11543 ac_cpp_err= 14403 ac_cpp_err=
11544 fi 14404 fi
11545 else 14405 else
11546 ac_cpp_err=yes 14406 ac_cpp_err=yes
11547 fi 14407 fi
11548 if test -z "$ac_cpp_err"; then 14408 if test -z "$ac_cpp_err"; then
11549 eval "$as_ac_Header=yes" 14409 ac_header_preproc=yes
11550 else 14410 else
11551 echo "$as_me: failed program was:" >&5 14411 echo "$as_me: failed program was:" >&5
11552 cat conftest.$ac_ext >&5 14412 cat conftest.$ac_ext >&5
11553 eval "$as_ac_Header=no" 14413 ac_header_preproc=no
11554 fi 14414 fi
11555 rm -f conftest.err conftest.$ac_ext 14415 rm -f conftest.err conftest.$ac_ext
11556 fi 14416 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11557 echo "$as_me:11557: result: `eval echo '${'$as_ac_Header'}'`" >&5 14417 echo "${ECHO_T}$ac_header_preproc" >&6
14418
14419 # So? What about this header?
14420 case $ac_header_compiler:$ac_header_preproc in
14421 yes:no )
14422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14426 no:yes )
14427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14433 esac
14434 echo "$as_me:$LINENO: checking for $ac_header" >&5
14435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14438 else
14439 eval "$as_ac_Header=$ac_header_preproc"
14440 fi
14441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14443
14444 fi
11559 if test `eval echo '${'$as_ac_Header'}'` = yes; then 14445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11560 cat >>confdefs.h <<EOF 14446 cat >>confdefs.h <<_ACEOF
11561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11562 EOF 14448 _ACEOF
11563 14449
11564 fi 14450 fi
14451
11565 done 14452 done
11566 14453
11567 fi 14454 fi
14455
11568 done 14456 done
11569 14457
11570 fi 14458 fi
14459
11571 done 14460 done
11572 14461
11573 fi 14462 fi
11574 14463
11575 for ac_header in com_err.h 14464 for ac_header in com_err.h
11576 do 14465 do
11577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14466 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11578 echo "$as_me:11578: checking for $ac_header" >&5 14467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14468 echo "$as_me:$LINENO: checking for $ac_header" >&5
11579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11580 if eval "test \"\${$as_ac_Header+set}\" = set"; then 14470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11581 echo $ECHO_N "(cached) $ECHO_C" >&6 14471 echo $ECHO_N "(cached) $ECHO_C" >&6
11582 else 14472 fi
11583 cat >conftest.$ac_ext <<_ACEOF 14473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11584 #line 11584 "configure" 14474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11585 #include "confdefs.h" 14475 else
14476 # Is the header compilable?
14477 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14478 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14479 cat >conftest.$ac_ext <<_ACEOF
14480 #line $LINENO "configure"
14481 #include "confdefs.h"
14482 $ac_includes_default
11586 #include <$ac_header> 14483 #include <$ac_header>
11587 _ACEOF 14484 _ACEOF
11588 if { (eval echo "$as_me:11588: \"$ac_cpp conftest.$ac_ext\"") >&5 14485 rm -f conftest.$ac_objext
14486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14487 (eval $ac_compile) 2>&5
14488 ac_status=$?
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); } &&
14491 { ac_try='test -s conftest.$ac_objext'
14492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14493 (eval $ac_try) 2>&5
14494 ac_status=$?
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; }; then
14497 ac_header_compiler=yes
14498 else
14499 echo "$as_me: failed program was:" >&5
14500 cat conftest.$ac_ext >&5
14501 ac_header_compiler=no
14502 fi
14503 rm -f conftest.$ac_objext conftest.$ac_ext
14504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14505 echo "${ECHO_T}$ac_header_compiler" >&6
14506
14507 # Is the header present?
14508 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14509 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14510 cat >conftest.$ac_ext <<_ACEOF
14511 #line $LINENO "configure"
14512 #include "confdefs.h"
14513 #include <$ac_header>
14514 _ACEOF
14515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11590 ac_status=$? 14517 ac_status=$?
11591 egrep -v '^ *\+' conftest.er1 >conftest.err 14518 egrep -v '^ *\+' conftest.er1 >conftest.err
11592 rm -f conftest.er1 14519 rm -f conftest.er1
11593 cat conftest.err >&5 14520 cat conftest.err >&5
11594 echo "$as_me:11594: \$? = $ac_status" >&5 14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); } >/dev/null; then 14522 (exit $ac_status); } >/dev/null; then
11596 if test -s conftest.err; then 14523 if test -s conftest.err; then
11597 ac_cpp_err=$ac_c_preproc_warn_flag 14524 ac_cpp_err=$ac_c_preproc_warn_flag
11598 else 14525 else
11599 ac_cpp_err= 14526 ac_cpp_err=
11600 fi 14527 fi
11601 else 14528 else
11602 ac_cpp_err=yes 14529 ac_cpp_err=yes
11603 fi 14530 fi
11604 if test -z "$ac_cpp_err"; then 14531 if test -z "$ac_cpp_err"; then
11605 eval "$as_ac_Header=yes" 14532 ac_header_preproc=yes
11606 else 14533 else
11607 echo "$as_me: failed program was:" >&5 14534 echo "$as_me: failed program was:" >&5
11608 cat conftest.$ac_ext >&5 14535 cat conftest.$ac_ext >&5
11609 eval "$as_ac_Header=no" 14536 ac_header_preproc=no
11610 fi 14537 fi
11611 rm -f conftest.err conftest.$ac_ext 14538 rm -f conftest.err conftest.$ac_ext
11612 fi 14539 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11613 echo "$as_me:11613: result: `eval echo '${'$as_ac_Header'}'`" >&5 14540 echo "${ECHO_T}$ac_header_preproc" >&6
14541
14542 # So? What about this header?
14543 case $ac_header_compiler:$ac_header_preproc in
14544 yes:no )
14545 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14546 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14548 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14549 no:yes )
14550 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14551 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14552 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14553 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14555 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14556 esac
14557 echo "$as_me:$LINENO: checking for $ac_header" >&5
14558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14561 else
14562 eval "$as_ac_Header=$ac_header_preproc"
14563 fi
14564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14566
14567 fi
11615 if test `eval echo '${'$as_ac_Header'}'` = yes; then 14568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11616 cat >>confdefs.h <<EOF 14569 cat >>confdefs.h <<_ACEOF
11617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11618 EOF 14571 _ACEOF
11619 14572
11620 fi 14573 fi
14574
11621 done 14575 done
11622 14576
11623 fi 14577 fi
11624 14578
11625 # Solaris requires -lintl if you want strerror (which calls dgettext) 14579 # Solaris requires -lintl if you want strerror (which calls dgettext)
11626 # to return localized messages. 14580 # to return localized messages.
11627 14581
11628 echo "$as_me:11628: checking for dgettext in -lintl" >&5 14582 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
11629 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 14583 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11630 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 14584 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11631 echo $ECHO_N "(cached) $ECHO_C" >&6 14585 echo $ECHO_N "(cached) $ECHO_C" >&6
11632 else 14586 else
11633 ac_check_lib_save_LIBS=$LIBS 14587 ac_check_lib_save_LIBS=$LIBS
11634 LIBS="-lintl $LIBS" 14588 LIBS="-lintl $LIBS"
11635 cat >conftest.$ac_ext <<_ACEOF 14589 cat >conftest.$ac_ext <<_ACEOF
11636 #line 11636 "configure" 14590 #line $LINENO "configure"
11637 #include "confdefs.h" 14591 #include "confdefs.h"
11638 14592
11639 /* Override any gcc2 internal prototype to avoid an error. */ 14593 /* Override any gcc2 internal prototype to avoid an error. */
11640 #ifdef __cplusplus 14594 #ifdef __cplusplus
11641 extern "C" 14595 extern "C"
11642 #endif 14596 #endif
11643 /* We use char because int might match the return type of a gcc2 14597 /* We use char because int might match the return type of a gcc2
11644 builtin and then its argument prototype would still apply. */ 14598 builtin and then its argument prototype would still apply. */
11645 char dgettext (); 14599 char dgettext ();
14600 #ifdef F77_DUMMY_MAIN
14601 # ifdef __cplusplus
14602 extern "C"
14603 # endif
14604 int F77_DUMMY_MAIN() { return 1; }
14605 #endif
11646 int 14606 int
11647 main () 14607 main ()
11648 { 14608 {
11649 dgettext (); 14609 dgettext ();
11650 ; 14610 ;
11651 return 0; 14611 return 0;
11652 } 14612 }
11653 _ACEOF 14613 _ACEOF
11654 rm -f conftest.$ac_objext conftest$ac_exeext 14614 rm -f conftest.$ac_objext conftest$ac_exeext
11655 if { (eval echo "$as_me:11655: \"$ac_link\"") >&5 14615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11656 (eval $ac_link) 2>&5 14616 (eval $ac_link) 2>&5
11657 ac_status=$? 14617 ac_status=$?
11658 echo "$as_me:11658: \$? = $ac_status" >&5 14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } && 14619 (exit $ac_status); } &&
11660 { ac_try='test -s conftest$ac_exeext' 14620 { ac_try='test -s conftest$ac_exeext'
11661 { (eval echo "$as_me:11661: \"$ac_try\"") >&5 14621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11662 (eval $ac_try) 2>&5 14622 (eval $ac_try) 2>&5
11663 ac_status=$? 14623 ac_status=$?
11664 echo "$as_me:11664: \$? = $ac_status" >&5 14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; }; then 14625 (exit $ac_status); }; }; then
11666 ac_cv_lib_intl_dgettext=yes 14626 ac_cv_lib_intl_dgettext=yes
11667 else 14627 else
11668 echo "$as_me: failed program was:" >&5 14628 echo "$as_me: failed program was:" >&5
11669 cat conftest.$ac_ext >&5 14629 cat conftest.$ac_ext >&5
11670 ac_cv_lib_intl_dgettext=no 14630 ac_cv_lib_intl_dgettext=no
11671 fi 14631 fi
11672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 14632 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11673 LIBS=$ac_check_lib_save_LIBS 14633 LIBS=$ac_check_lib_save_LIBS
11674 fi 14634 fi
11675 echo "$as_me:11675: result: $ac_cv_lib_intl_dgettext" >&5 14635 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
11676 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 14636 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11677 if test $ac_cv_lib_intl_dgettext = yes; then 14637 if test $ac_cv_lib_intl_dgettext = yes; then
11678 cat >>confdefs.h <<EOF 14638 cat >>confdefs.h <<_ACEOF
11679 #define HAVE_LIBINTL 1 14639 #define HAVE_LIBINTL 1
11680 EOF 14640 _ACEOF
11681 14641
11682 LIBS="-lintl $LIBS" 14642 LIBS="-lintl $LIBS"
11683 14643
11684 fi 14644 fi
11685 14645
11686 echo "$as_me:11686: checking whether localtime caches TZ" >&5 14646
14647 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
11687 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 14648 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11688 if test "${emacs_cv_localtime_cache+set}" = set; then 14649 if test "${emacs_cv_localtime_cache+set}" = set; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6 14650 echo $ECHO_N "(cached) $ECHO_C" >&6
11690 else 14651 else
11691 if test x$ac_cv_func_tzset = xyes; then 14652 if test x$ac_cv_func_tzset = xyes; then
11692 if test "$cross_compiling" = yes; then 14653 if test "$cross_compiling" = yes; then
11693 # If we have tzset, assume the worst when cross-compiling. 14654 # If we have tzset, assume the worst when cross-compiling.
11694 emacs_cv_localtime_cache=yes 14655 emacs_cv_localtime_cache=yes
11695 else 14656 else
11696 cat >conftest.$ac_ext <<_ACEOF 14657 cat >conftest.$ac_ext <<_ACEOF
11697 #line 11697 "configure" 14658 #line $LINENO "configure"
11698 #include "confdefs.h" 14659 #include "confdefs.h"
11699 #include <time.h> 14660 #include <time.h>
11700 extern char **environ; 14661 extern char **environ;
11701 unset_TZ () 14662 unset_TZ ()
11702 { 14663 {
11725 exit (1); 14686 exit (1);
11726 exit (0); 14687 exit (0);
11727 } 14688 }
11728 _ACEOF 14689 _ACEOF
11729 rm -f conftest$ac_exeext 14690 rm -f conftest$ac_exeext
11730 if { (eval echo "$as_me:11730: \"$ac_link\"") >&5 14691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11731 (eval $ac_link) 2>&5 14692 (eval $ac_link) 2>&5
11732 ac_status=$? 14693 ac_status=$?
11733 echo "$as_me:11733: \$? = $ac_status" >&5 14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11735 { (eval echo "$as_me:11735: \"$ac_try\"") >&5 14696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5 14697 (eval $ac_try) 2>&5
11737 ac_status=$? 14698 ac_status=$?
11738 echo "$as_me:11738: \$? = $ac_status" >&5 14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then 14700 (exit $ac_status); }; }; then
11740 emacs_cv_localtime_cache=no 14701 emacs_cv_localtime_cache=no
11741 else 14702 else
11742 echo "$as_me: program exited with status $ac_status" >&5 14703 echo "$as_me: program exited with status $ac_status" >&5
11743 echo "$as_me: failed program was:" >&5 14704 echo "$as_me: failed program was:" >&5
11744 cat conftest.$ac_ext >&5 14705 cat conftest.$ac_ext >&5
14706 ( exit $ac_status )
11745 emacs_cv_localtime_cache=yes 14707 emacs_cv_localtime_cache=yes
11746 fi 14708 fi
11747 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14709 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11748 fi 14710 fi
11749 else 14711 else
11750 # If we lack tzset, report that localtime does not cache TZ, 14712 # If we lack tzset, report that localtime does not cache TZ,
11751 # since we can't invalidate the cache if we don't have tzset. 14713 # since we can't invalidate the cache if we don't have tzset.
11752 emacs_cv_localtime_cache=no 14714 emacs_cv_localtime_cache=no
11753 fi 14715 fi
11754 fi 14716 fi
11755 echo "$as_me:11755: result: $emacs_cv_localtime_cache" >&5 14717 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
11756 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 14718 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11757 if test $emacs_cv_localtime_cache = yes; then 14719 if test $emacs_cv_localtime_cache = yes; then
11758 14720
11759 cat >>confdefs.h <<\EOF 14721 cat >>confdefs.h <<\_ACEOF
11760 #define LOCALTIME_CACHE 1 14722 #define LOCALTIME_CACHE 1
11761 EOF 14723 _ACEOF
11762 14724
11763 fi 14725 fi
11764 14726
11765 if test "x$HAVE_TIMEVAL" = xyes; then 14727 if test "x$HAVE_TIMEVAL" = xyes; then
11766 14728
11767 for ac_func in gettimeofday 14729 for ac_func in gettimeofday
11768 do 14730 do
11769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11770 echo "$as_me:11770: checking for $ac_func" >&5 14732 echo "$as_me:$LINENO: checking for $ac_func" >&5
11771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 14733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11772 if eval "test \"\${$as_ac_var+set}\" = set"; then 14734 if eval "test \"\${$as_ac_var+set}\" = set"; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6 14735 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 else 14736 else
11775 cat >conftest.$ac_ext <<_ACEOF 14737 cat >conftest.$ac_ext <<_ACEOF
11776 #line 11776 "configure" 14738 #line $LINENO "configure"
11777 #include "confdefs.h" 14739 #include "confdefs.h"
11778 /* System header to define __stub macros and hopefully few prototypes, 14740 /* System header to define __stub macros and hopefully few prototypes,
11779 which can conflict with char $ac_func (); below. */ 14741 which can conflict with char $ac_func (); below. */
11780 #include <assert.h> 14742 #include <assert.h>
11781 /* Override any gcc2 internal prototype to avoid an error. */ 14743 /* Override any gcc2 internal prototype to avoid an error. */
11785 /* We use char because int might match the return type of a gcc2 14747 /* We use char because int might match the return type of a gcc2
11786 builtin and then its argument prototype would still apply. */ 14748 builtin and then its argument prototype would still apply. */
11787 char $ac_func (); 14749 char $ac_func ();
11788 char (*f) (); 14750 char (*f) ();
11789 14751
14752 #ifdef F77_DUMMY_MAIN
14753 # ifdef __cplusplus
14754 extern "C"
14755 # endif
14756 int F77_DUMMY_MAIN() { return 1; }
14757 #endif
11790 int 14758 int
11791 main () 14759 main ()
11792 { 14760 {
11793 /* The GNU C library defines this for functions which it implements 14761 /* The GNU C library defines this for functions which it implements
11794 to always fail with ENOSYS. Some functions are actually named 14762 to always fail with ENOSYS. Some functions are actually named
11802 ; 14770 ;
11803 return 0; 14771 return 0;
11804 } 14772 }
11805 _ACEOF 14773 _ACEOF
11806 rm -f conftest.$ac_objext conftest$ac_exeext 14774 rm -f conftest.$ac_objext conftest$ac_exeext
11807 if { (eval echo "$as_me:11807: \"$ac_link\"") >&5 14775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11808 (eval $ac_link) 2>&5 14776 (eval $ac_link) 2>&5
11809 ac_status=$? 14777 ac_status=$?
11810 echo "$as_me:11810: \$? = $ac_status" >&5 14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); } && 14779 (exit $ac_status); } &&
11812 { ac_try='test -s conftest$ac_exeext' 14780 { ac_try='test -s conftest$ac_exeext'
11813 { (eval echo "$as_me:11813: \"$ac_try\"") >&5 14781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814 (eval $ac_try) 2>&5 14782 (eval $ac_try) 2>&5
11815 ac_status=$? 14783 ac_status=$?
11816 echo "$as_me:11816: \$? = $ac_status" >&5 14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); }; }; then 14785 (exit $ac_status); }; }; then
11818 eval "$as_ac_var=yes" 14786 eval "$as_ac_var=yes"
11819 else 14787 else
11820 echo "$as_me: failed program was:" >&5 14788 echo "$as_me: failed program was:" >&5
11821 cat conftest.$ac_ext >&5 14789 cat conftest.$ac_ext >&5
11822 eval "$as_ac_var=no" 14790 eval "$as_ac_var=no"
11823 fi 14791 fi
11824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 14792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11825 fi 14793 fi
11826 echo "$as_me:11826: result: `eval echo '${'$as_ac_var'}'`" >&5 14794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 14795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11828 if test `eval echo '${'$as_ac_var'}'` = yes; then 14796 if test `eval echo '${'$as_ac_var'}'` = yes; then
11829 cat >>confdefs.h <<EOF 14797 cat >>confdefs.h <<_ACEOF
11830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 14798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11831 EOF 14799 _ACEOF
11832 14800
11833 fi 14801 fi
11834 done 14802 done
11835 14803
11836 if test $ac_cv_func_gettimeofday = yes; then 14804 if test $ac_cv_func_gettimeofday = yes; then
11837 echo "$as_me:11837: checking whether gettimeofday can accept two arguments" >&5 14805 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11838 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 14806 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11839 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 14807 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6 14808 echo $ECHO_N "(cached) $ECHO_C" >&6
11841 else 14809 else
11842 cat >conftest.$ac_ext <<_ACEOF 14810 cat >conftest.$ac_ext <<_ACEOF
11843 #line 11843 "configure" 14811 #line $LINENO "configure"
11844 #include "confdefs.h" 14812 #include "confdefs.h"
11845 14813
11846 #ifdef TIME_WITH_SYS_TIME 14814 #ifdef TIME_WITH_SYS_TIME
11847 #include <sys/time.h> 14815 #include <sys/time.h>
11848 #include <time.h> 14816 #include <time.h>
11851 #include <sys/time.h> 14819 #include <sys/time.h>
11852 #else 14820 #else
11853 #include <time.h> 14821 #include <time.h>
11854 #endif 14822 #endif
11855 #endif 14823 #endif
14824 #ifdef F77_DUMMY_MAIN
14825 # ifdef __cplusplus
14826 extern "C"
14827 # endif
14828 int F77_DUMMY_MAIN() { return 1; }
14829 #endif
11856 int 14830 int
11857 main () 14831 main ()
11858 { 14832 {
11859 struct timeval time; 14833 struct timeval time;
11860 gettimeofday (&time, 0); 14834 gettimeofday (&time, 0);
11861 ; 14835 ;
11862 return 0; 14836 return 0;
11863 } 14837 }
11864 _ACEOF 14838 _ACEOF
11865 rm -f conftest.$ac_objext 14839 rm -f conftest.$ac_objext
11866 if { (eval echo "$as_me:11866: \"$ac_compile\"") >&5 14840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11867 (eval $ac_compile) 2>&5 14841 (eval $ac_compile) 2>&5
11868 ac_status=$? 14842 ac_status=$?
11869 echo "$as_me:11869: \$? = $ac_status" >&5 14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); } && 14844 (exit $ac_status); } &&
11871 { ac_try='test -s conftest.$ac_objext' 14845 { ac_try='test -s conftest.$ac_objext'
11872 { (eval echo "$as_me:11872: \"$ac_try\"") >&5 14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11873 (eval $ac_try) 2>&5 14847 (eval $ac_try) 2>&5
11874 ac_status=$? 14848 ac_status=$?
11875 echo "$as_me:11875: \$? = $ac_status" >&5 14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); }; }; then 14850 (exit $ac_status); }; }; then
11877 emacs_cv_gettimeofday_two_arguments=yes 14851 emacs_cv_gettimeofday_two_arguments=yes
11878 else 14852 else
11879 echo "$as_me: failed program was:" >&5 14853 echo "$as_me: failed program was:" >&5
11880 cat conftest.$ac_ext >&5 14854 cat conftest.$ac_ext >&5
11881 emacs_cv_gettimeofday_two_arguments=no 14855 emacs_cv_gettimeofday_two_arguments=no
11882 fi 14856 fi
11883 rm -f conftest.$ac_objext conftest.$ac_ext 14857 rm -f conftest.$ac_objext conftest.$ac_ext
11884 fi 14858 fi
11885 echo "$as_me:11885: result: $emacs_cv_gettimeofday_two_arguments" >&5 14859 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11886 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 14860 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11887 if test $emacs_cv_gettimeofday_two_arguments = no; then 14861 if test $emacs_cv_gettimeofday_two_arguments = no; then
11888 14862
11889 cat >>confdefs.h <<\EOF 14863 cat >>confdefs.h <<\_ACEOF
11890 #define GETTIMEOFDAY_ONE_ARGUMENT 1 14864 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11891 EOF 14865 _ACEOF
11892 14866
11893 fi 14867 fi
11894 fi 14868 fi
11895 fi 14869 fi
11896 14870
11897 if test "$ac_cv_func_gettimeofday" = yes; then 14871 if test "$ac_cv_func_gettimeofday" = yes; then
11898 echo "$as_me:11898: checking for struct timezone" >&5 14872 echo "$as_me:$LINENO: checking for struct timezone" >&5
11899 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 14873 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11900 if test "${emacs_cv_struct_timezone+set}" = set; then 14874 if test "${emacs_cv_struct_timezone+set}" = set; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6 14875 echo $ECHO_N "(cached) $ECHO_C" >&6
11902 else 14876 else
11903 cat >conftest.$ac_ext <<_ACEOF 14877 cat >conftest.$ac_ext <<_ACEOF
11904 #line 11904 "configure" 14878 #line $LINENO "configure"
11905 #include "confdefs.h" 14879 #include "confdefs.h"
11906 #include <sys/time.h> 14880 #include <sys/time.h>
14881 #ifdef F77_DUMMY_MAIN
14882 # ifdef __cplusplus
14883 extern "C"
14884 # endif
14885 int F77_DUMMY_MAIN() { return 1; }
14886 #endif
11907 int 14887 int
11908 main () 14888 main ()
11909 { 14889 {
11910 struct timezone tz; 14890 struct timezone tz;
11911 ; 14891 ;
11912 return 0; 14892 return 0;
11913 } 14893 }
11914 _ACEOF 14894 _ACEOF
11915 rm -f conftest.$ac_objext 14895 rm -f conftest.$ac_objext
11916 if { (eval echo "$as_me:11916: \"$ac_compile\"") >&5 14896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11917 (eval $ac_compile) 2>&5 14897 (eval $ac_compile) 2>&5
11918 ac_status=$? 14898 ac_status=$?
11919 echo "$as_me:11919: \$? = $ac_status" >&5 14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); } && 14900 (exit $ac_status); } &&
11921 { ac_try='test -s conftest.$ac_objext' 14901 { ac_try='test -s conftest.$ac_objext'
11922 { (eval echo "$as_me:11922: \"$ac_try\"") >&5 14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11923 (eval $ac_try) 2>&5 14903 (eval $ac_try) 2>&5
11924 ac_status=$? 14904 ac_status=$?
11925 echo "$as_me:11925: \$? = $ac_status" >&5 14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); }; }; then 14906 (exit $ac_status); }; }; then
11927 if test "$cross_compiling" = yes; then 14907 if test "$cross_compiling" = yes; then
11928 emacs_cv_struct_timezone=yes 14908 emacs_cv_struct_timezone=yes
11929 else 14909 else
11930 cat >conftest.$ac_ext <<_ACEOF 14910 cat >conftest.$ac_ext <<_ACEOF
11931 #line 11931 "configure" 14911 #line $LINENO "configure"
11932 #include "confdefs.h" 14912 #include "confdefs.h"
11933 14913
11934 #ifdef TIME_WITH_SYS_TIME 14914 #ifdef TIME_WITH_SYS_TIME
11935 #include <sys/time.h> 14915 #include <sys/time.h>
11936 #include <time.h> 14916 #include <time.h>
11946 struct timezone dummy; 14926 struct timezone dummy;
11947 exit (gettimeofday (&time, &dummy)); 14927 exit (gettimeofday (&time, &dummy));
11948 } 14928 }
11949 _ACEOF 14929 _ACEOF
11950 rm -f conftest$ac_exeext 14930 rm -f conftest$ac_exeext
11951 if { (eval echo "$as_me:11951: \"$ac_link\"") >&5 14931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11952 (eval $ac_link) 2>&5 14932 (eval $ac_link) 2>&5
11953 ac_status=$? 14933 ac_status=$?
11954 echo "$as_me:11954: \$? = $ac_status" >&5 14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14935 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11956 { (eval echo "$as_me:11956: \"$ac_try\"") >&5 14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11957 (eval $ac_try) 2>&5 14937 (eval $ac_try) 2>&5
11958 ac_status=$? 14938 ac_status=$?
11959 echo "$as_me:11959: \$? = $ac_status" >&5 14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); }; }; then 14940 (exit $ac_status); }; }; then
11961 emacs_cv_struct_timezone=yes 14941 emacs_cv_struct_timezone=yes
11962 else 14942 else
11963 echo "$as_me: program exited with status $ac_status" >&5 14943 echo "$as_me: program exited with status $ac_status" >&5
11964 echo "$as_me: failed program was:" >&5 14944 echo "$as_me: failed program was:" >&5
11965 cat conftest.$ac_ext >&5 14945 cat conftest.$ac_ext >&5
14946 ( exit $ac_status )
11966 emacs_cv_struct_timezone=no 14947 emacs_cv_struct_timezone=no
11967 fi 14948 fi
11968 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14949 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11969 fi 14950 fi
11970 else 14951 else
11972 cat conftest.$ac_ext >&5 14953 cat conftest.$ac_ext >&5
11973 emacs_cv_struct_timezone=no 14954 emacs_cv_struct_timezone=no
11974 fi 14955 fi
11975 rm -f conftest.$ac_objext conftest.$ac_ext 14956 rm -f conftest.$ac_objext conftest.$ac_ext
11976 fi 14957 fi
11977 echo "$as_me:11977: result: $emacs_cv_struct_timezone" >&5 14958 echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
11978 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 14959 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11979 fi 14960 fi
11980 14961
11981 ok_so_far=yes 14962 ok_so_far=yes
11982 echo "$as_me:11982: checking for socket" >&5 14963 echo "$as_me:$LINENO: checking for socket" >&5
11983 echo $ECHO_N "checking for socket... $ECHO_C" >&6 14964 echo $ECHO_N "checking for socket... $ECHO_C" >&6
11984 if test "${ac_cv_func_socket+set}" = set; then 14965 if test "${ac_cv_func_socket+set}" = set; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6 14966 echo $ECHO_N "(cached) $ECHO_C" >&6
11986 else 14967 else
11987 cat >conftest.$ac_ext <<_ACEOF 14968 cat >conftest.$ac_ext <<_ACEOF
11988 #line 11988 "configure" 14969 #line $LINENO "configure"
11989 #include "confdefs.h" 14970 #include "confdefs.h"
11990 /* System header to define __stub macros and hopefully few prototypes, 14971 /* System header to define __stub macros and hopefully few prototypes,
11991 which can conflict with char socket (); below. */ 14972 which can conflict with char socket (); below. */
11992 #include <assert.h> 14973 #include <assert.h>
11993 /* Override any gcc2 internal prototype to avoid an error. */ 14974 /* Override any gcc2 internal prototype to avoid an error. */
11997 /* We use char because int might match the return type of a gcc2 14978 /* We use char because int might match the return type of a gcc2
11998 builtin and then its argument prototype would still apply. */ 14979 builtin and then its argument prototype would still apply. */
11999 char socket (); 14980 char socket ();
12000 char (*f) (); 14981 char (*f) ();
12001 14982
14983 #ifdef F77_DUMMY_MAIN
14984 # ifdef __cplusplus
14985 extern "C"
14986 # endif
14987 int F77_DUMMY_MAIN() { return 1; }
14988 #endif
12002 int 14989 int
12003 main () 14990 main ()
12004 { 14991 {
12005 /* The GNU C library defines this for functions which it implements 14992 /* The GNU C library defines this for functions which it implements
12006 to always fail with ENOSYS. Some functions are actually named 14993 to always fail with ENOSYS. Some functions are actually named
12014 ; 15001 ;
12015 return 0; 15002 return 0;
12016 } 15003 }
12017 _ACEOF 15004 _ACEOF
12018 rm -f conftest.$ac_objext conftest$ac_exeext 15005 rm -f conftest.$ac_objext conftest$ac_exeext
12019 if { (eval echo "$as_me:12019: \"$ac_link\"") >&5 15006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12020 (eval $ac_link) 2>&5 15007 (eval $ac_link) 2>&5
12021 ac_status=$? 15008 ac_status=$?
12022 echo "$as_me:12022: \$? = $ac_status" >&5 15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); } && 15010 (exit $ac_status); } &&
12024 { ac_try='test -s conftest$ac_exeext' 15011 { ac_try='test -s conftest$ac_exeext'
12025 { (eval echo "$as_me:12025: \"$ac_try\"") >&5 15012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12026 (eval $ac_try) 2>&5 15013 (eval $ac_try) 2>&5
12027 ac_status=$? 15014 ac_status=$?
12028 echo "$as_me:12028: \$? = $ac_status" >&5 15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); }; }; then 15016 (exit $ac_status); }; }; then
12030 ac_cv_func_socket=yes 15017 ac_cv_func_socket=yes
12031 else 15018 else
12032 echo "$as_me: failed program was:" >&5 15019 echo "$as_me: failed program was:" >&5
12033 cat conftest.$ac_ext >&5 15020 cat conftest.$ac_ext >&5
12034 ac_cv_func_socket=no 15021 ac_cv_func_socket=no
12035 fi 15022 fi
12036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12037 fi 15024 fi
12038 echo "$as_me:12038: result: $ac_cv_func_socket" >&5 15025 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
12039 echo "${ECHO_T}$ac_cv_func_socket" >&6 15026 echo "${ECHO_T}$ac_cv_func_socket" >&6
12040 if test $ac_cv_func_socket = yes; then 15027 if test $ac_cv_func_socket = yes; then
12041 : 15028 :
12042 else 15029 else
12043 ok_so_far=no 15030 ok_so_far=no
12044 fi 15031 fi
12045 15032
12046 if test $ok_so_far = yes; then 15033 if test $ok_so_far = yes; then
12047 echo "$as_me:12047: checking for netinet/in.h" >&5 15034 if test "${ac_cv_header_netinet_in_h+set}" = set; then
15035 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
12048 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 15036 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
12049 if test "${ac_cv_header_netinet_in_h+set}" = set; then 15037 if test "${ac_cv_header_netinet_in_h+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6 15038 echo $ECHO_N "(cached) $ECHO_C" >&6
12051 else 15039 fi
12052 cat >conftest.$ac_ext <<_ACEOF 15040 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
12053 #line 12053 "configure" 15041 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
12054 #include "confdefs.h" 15042 else
15043 # Is the header compilable?
15044 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
15045 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
15046 cat >conftest.$ac_ext <<_ACEOF
15047 #line $LINENO "configure"
15048 #include "confdefs.h"
15049 $ac_includes_default
12055 #include <netinet/in.h> 15050 #include <netinet/in.h>
12056 _ACEOF 15051 _ACEOF
12057 if { (eval echo "$as_me:12057: \"$ac_cpp conftest.$ac_ext\"") >&5 15052 rm -f conftest.$ac_objext
15053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15054 (eval $ac_compile) 2>&5
15055 ac_status=$?
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } &&
15058 { ac_try='test -s conftest.$ac_objext'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15061 ac_status=$?
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; }; then
15064 ac_header_compiler=yes
15065 else
15066 echo "$as_me: failed program was:" >&5
15067 cat conftest.$ac_ext >&5
15068 ac_header_compiler=no
15069 fi
15070 rm -f conftest.$ac_objext conftest.$ac_ext
15071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15072 echo "${ECHO_T}$ac_header_compiler" >&6
15073
15074 # Is the header present?
15075 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
15076 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
15077 cat >conftest.$ac_ext <<_ACEOF
15078 #line $LINENO "configure"
15079 #include "confdefs.h"
15080 #include <netinet/in.h>
15081 _ACEOF
15082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12059 ac_status=$? 15084 ac_status=$?
12060 egrep -v '^ *\+' conftest.er1 >conftest.err 15085 egrep -v '^ *\+' conftest.er1 >conftest.err
12061 rm -f conftest.er1 15086 rm -f conftest.er1
12062 cat conftest.err >&5 15087 cat conftest.err >&5
12063 echo "$as_me:12063: \$? = $ac_status" >&5 15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); } >/dev/null; then 15089 (exit $ac_status); } >/dev/null; then
12065 if test -s conftest.err; then 15090 if test -s conftest.err; then
12066 ac_cpp_err=$ac_c_preproc_warn_flag 15091 ac_cpp_err=$ac_c_preproc_warn_flag
12067 else 15092 else
12068 ac_cpp_err= 15093 ac_cpp_err=
12069 fi 15094 fi
12070 else 15095 else
12071 ac_cpp_err=yes 15096 ac_cpp_err=yes
12072 fi 15097 fi
12073 if test -z "$ac_cpp_err"; then 15098 if test -z "$ac_cpp_err"; then
12074 ac_cv_header_netinet_in_h=yes 15099 ac_header_preproc=yes
12075 else 15100 else
12076 echo "$as_me: failed program was:" >&5 15101 echo "$as_me: failed program was:" >&5
12077 cat conftest.$ac_ext >&5 15102 cat conftest.$ac_ext >&5
12078 ac_cv_header_netinet_in_h=no 15103 ac_header_preproc=no
12079 fi 15104 fi
12080 rm -f conftest.err conftest.$ac_ext 15105 rm -f conftest.err conftest.$ac_ext
12081 fi 15106 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12082 echo "$as_me:12082: result: $ac_cv_header_netinet_in_h" >&5 15107 echo "${ECHO_T}$ac_header_preproc" >&6
15108
15109 # So? What about this header?
15110 case $ac_header_compiler:$ac_header_preproc in
15111 yes:no )
15112 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
15113 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15114 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
15115 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};;
15116 no:yes )
15117 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
15118 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
15119 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
15120 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
15121 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
15122 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};;
15123 esac
15124 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
15125 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
15126 if test "${ac_cv_header_netinet_in_h+set}" = set; then
15127 echo $ECHO_N "(cached) $ECHO_C" >&6
15128 else
15129 ac_cv_header_netinet_in_h=$ac_header_preproc
15130 fi
15131 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
12083 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 15132 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
15133
15134 fi
12084 if test $ac_cv_header_netinet_in_h = yes; then 15135 if test $ac_cv_header_netinet_in_h = yes; then
12085 : 15136 :
12086 else 15137 else
12087 ok_so_far=no 15138 ok_so_far=no
12088 fi 15139 fi
12089 15140
15141
12090 fi 15142 fi
12091 if test $ok_so_far = yes; then 15143 if test $ok_so_far = yes; then
12092 echo "$as_me:12092: checking for arpa/inet.h" >&5 15144 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
15145 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
12093 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 15146 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
12094 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 15147 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
12095 echo $ECHO_N "(cached) $ECHO_C" >&6 15148 echo $ECHO_N "(cached) $ECHO_C" >&6
12096 else 15149 fi
12097 cat >conftest.$ac_ext <<_ACEOF 15150 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
12098 #line 12098 "configure" 15151 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
12099 #include "confdefs.h" 15152 else
15153 # Is the header compilable?
15154 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
15155 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
15156 cat >conftest.$ac_ext <<_ACEOF
15157 #line $LINENO "configure"
15158 #include "confdefs.h"
15159 $ac_includes_default
12100 #include <arpa/inet.h> 15160 #include <arpa/inet.h>
12101 _ACEOF 15161 _ACEOF
12102 if { (eval echo "$as_me:12102: \"$ac_cpp conftest.$ac_ext\"") >&5 15162 rm -f conftest.$ac_objext
15163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164 (eval $ac_compile) 2>&5
15165 ac_status=$?
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } &&
15168 { ac_try='test -s conftest.$ac_objext'
15169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15170 (eval $ac_try) 2>&5
15171 ac_status=$?
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); }; }; then
15174 ac_header_compiler=yes
15175 else
15176 echo "$as_me: failed program was:" >&5
15177 cat conftest.$ac_ext >&5
15178 ac_header_compiler=no
15179 fi
15180 rm -f conftest.$ac_objext conftest.$ac_ext
15181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15182 echo "${ECHO_T}$ac_header_compiler" >&6
15183
15184 # Is the header present?
15185 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
15186 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
15187 cat >conftest.$ac_ext <<_ACEOF
15188 #line $LINENO "configure"
15189 #include "confdefs.h"
15190 #include <arpa/inet.h>
15191 _ACEOF
15192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12104 ac_status=$? 15194 ac_status=$?
12105 egrep -v '^ *\+' conftest.er1 >conftest.err 15195 egrep -v '^ *\+' conftest.er1 >conftest.err
12106 rm -f conftest.er1 15196 rm -f conftest.er1
12107 cat conftest.err >&5 15197 cat conftest.err >&5
12108 echo "$as_me:12108: \$? = $ac_status" >&5 15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } >/dev/null; then 15199 (exit $ac_status); } >/dev/null; then
12110 if test -s conftest.err; then 15200 if test -s conftest.err; then
12111 ac_cpp_err=$ac_c_preproc_warn_flag 15201 ac_cpp_err=$ac_c_preproc_warn_flag
12112 else 15202 else
12113 ac_cpp_err= 15203 ac_cpp_err=
12114 fi 15204 fi
12115 else 15205 else
12116 ac_cpp_err=yes 15206 ac_cpp_err=yes
12117 fi 15207 fi
12118 if test -z "$ac_cpp_err"; then 15208 if test -z "$ac_cpp_err"; then
12119 ac_cv_header_arpa_inet_h=yes 15209 ac_header_preproc=yes
12120 else 15210 else
12121 echo "$as_me: failed program was:" >&5 15211 echo "$as_me: failed program was:" >&5
12122 cat conftest.$ac_ext >&5 15212 cat conftest.$ac_ext >&5
12123 ac_cv_header_arpa_inet_h=no 15213 ac_header_preproc=no
12124 fi 15214 fi
12125 rm -f conftest.err conftest.$ac_ext 15215 rm -f conftest.err conftest.$ac_ext
12126 fi 15216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12127 echo "$as_me:12127: result: $ac_cv_header_arpa_inet_h" >&5 15217 echo "${ECHO_T}$ac_header_preproc" >&6
15218
15219 # So? What about this header?
15220 case $ac_header_compiler:$ac_header_preproc in
15221 yes:no )
15222 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
15223 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15224 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
15225 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};;
15226 no:yes )
15227 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
15228 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
15229 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
15230 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
15231 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
15232 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};;
15233 esac
15234 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
15235 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
15236 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
15237 echo $ECHO_N "(cached) $ECHO_C" >&6
15238 else
15239 ac_cv_header_arpa_inet_h=$ac_header_preproc
15240 fi
15241 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
12128 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 15242 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
15243
15244 fi
12129 if test $ac_cv_header_arpa_inet_h = yes; then 15245 if test $ac_cv_header_arpa_inet_h = yes; then
12130 : 15246 :
12131 else 15247 else
12132 ok_so_far=no 15248 ok_so_far=no
12133 fi 15249 fi
12134 15250
15251
12135 fi 15252 fi
12136 if test $ok_so_far = yes; then 15253 if test $ok_so_far = yes; then
12137 15254
12138 cat >>confdefs.h <<\EOF 15255 cat >>confdefs.h <<\_ACEOF
12139 #define HAVE_INET_SOCKETS 1 15256 #define HAVE_INET_SOCKETS 1
12140 EOF 15257 _ACEOF
12141 15258
12142 fi 15259 fi
12143 15260
12144 if test -f /usr/lpp/X11/bin/smt.exp; then 15261 if test -f /usr/lpp/X11/bin/smt.exp; then
12145 15262
12146 cat >>confdefs.h <<\EOF 15263 cat >>confdefs.h <<\_ACEOF
12147 #define HAVE_AIX_SMT_EXP 1 15264 #define HAVE_AIX_SMT_EXP 1
12148 EOF 15265 _ACEOF
12149 15266
12150 fi 15267 fi
12151 15268
12152 echo "$as_me:12152: checking whether system supports dynamic ptys" >&5 15269 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
12153 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 15270 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
12154 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 15271 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
12155 echo "$as_me:12155: result: yes" >&5 15272 echo "$as_me:$LINENO: result: yes" >&5
12156 echo "${ECHO_T}yes" >&6 15273 echo "${ECHO_T}yes" >&6
12157 15274
12158 cat >>confdefs.h <<\EOF 15275 cat >>confdefs.h <<\_ACEOF
12159 #define HAVE_DEV_PTMX 1 15276 #define HAVE_DEV_PTMX 1
12160 EOF 15277 _ACEOF
12161 15278
12162 else 15279 else
12163 echo "$as_me:12163: result: no" >&5 15280 echo "$as_me:$LINENO: result: no" >&5
12164 echo "${ECHO_T}no" >&6 15281 echo "${ECHO_T}no" >&6
12165 fi 15282 fi
12166 15283
12167 echo "$as_me:12167: checking for pid_t" >&5 15284 echo "$as_me:$LINENO: checking for pid_t" >&5
12168 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 15285 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12169 if test "${ac_cv_type_pid_t+set}" = set; then 15286 if test "${ac_cv_type_pid_t+set}" = set; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6 15287 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 else 15288 else
12172 cat >conftest.$ac_ext <<_ACEOF 15289 cat >conftest.$ac_ext <<_ACEOF
12173 #line 12173 "configure" 15290 #line $LINENO "configure"
12174 #include "confdefs.h" 15291 #include "confdefs.h"
12175 $ac_includes_default 15292 $ac_includes_default
15293 #ifdef F77_DUMMY_MAIN
15294 # ifdef __cplusplus
15295 extern "C"
15296 # endif
15297 int F77_DUMMY_MAIN() { return 1; }
15298 #endif
12176 int 15299 int
12177 main () 15300 main ()
12178 { 15301 {
12179 if ((pid_t *) 0) 15302 if ((pid_t *) 0)
12180 return 0; 15303 return 0;
12183 ; 15306 ;
12184 return 0; 15307 return 0;
12185 } 15308 }
12186 _ACEOF 15309 _ACEOF
12187 rm -f conftest.$ac_objext 15310 rm -f conftest.$ac_objext
12188 if { (eval echo "$as_me:12188: \"$ac_compile\"") >&5 15311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12189 (eval $ac_compile) 2>&5 15312 (eval $ac_compile) 2>&5
12190 ac_status=$? 15313 ac_status=$?
12191 echo "$as_me:12191: \$? = $ac_status" >&5 15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); } && 15315 (exit $ac_status); } &&
12193 { ac_try='test -s conftest.$ac_objext' 15316 { ac_try='test -s conftest.$ac_objext'
12194 { (eval echo "$as_me:12194: \"$ac_try\"") >&5 15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5 15318 (eval $ac_try) 2>&5
12196 ac_status=$? 15319 ac_status=$?
12197 echo "$as_me:12197: \$? = $ac_status" >&5 15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; }; then 15321 (exit $ac_status); }; }; then
12199 ac_cv_type_pid_t=yes 15322 ac_cv_type_pid_t=yes
12200 else 15323 else
12201 echo "$as_me: failed program was:" >&5 15324 echo "$as_me: failed program was:" >&5
12202 cat conftest.$ac_ext >&5 15325 cat conftest.$ac_ext >&5
12203 ac_cv_type_pid_t=no 15326 ac_cv_type_pid_t=no
12204 fi 15327 fi
12205 rm -f conftest.$ac_objext conftest.$ac_ext 15328 rm -f conftest.$ac_objext conftest.$ac_ext
12206 fi 15329 fi
12207 echo "$as_me:12207: result: $ac_cv_type_pid_t" >&5 15330 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12208 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 15331 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12209 if test $ac_cv_type_pid_t = yes; then 15332 if test $ac_cv_type_pid_t = yes; then
12210 : 15333 :
12211 else 15334 else
12212 15335
12213 cat >>confdefs.h <<EOF 15336 cat >>confdefs.h <<_ACEOF
12214 #define pid_t int 15337 #define pid_t int
12215 EOF 15338 _ACEOF
12216 15339
12217 fi 15340 fi
15341
15342
12218 15343
12219 for ac_header in unistd.h vfork.h 15344 for ac_header in unistd.h vfork.h
12220 do 15345 do
12221 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12222 echo "$as_me:12222: checking for $ac_header" >&5 15347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15348 echo "$as_me:$LINENO: checking for $ac_header" >&5
12223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 15349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12224 if eval "test \"\${$as_ac_Header+set}\" = set"; then 15350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12225 echo $ECHO_N "(cached) $ECHO_C" >&6 15351 echo $ECHO_N "(cached) $ECHO_C" >&6
12226 else 15352 fi
12227 cat >conftest.$ac_ext <<_ACEOF 15353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12228 #line 12228 "configure" 15354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12229 #include "confdefs.h" 15355 else
15356 # Is the header compilable?
15357 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15358 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15359 cat >conftest.$ac_ext <<_ACEOF
15360 #line $LINENO "configure"
15361 #include "confdefs.h"
15362 $ac_includes_default
12230 #include <$ac_header> 15363 #include <$ac_header>
12231 _ACEOF 15364 _ACEOF
12232 if { (eval echo "$as_me:12232: \"$ac_cpp conftest.$ac_ext\"") >&5 15365 rm -f conftest.$ac_objext
15366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15367 (eval $ac_compile) 2>&5
15368 ac_status=$?
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); } &&
15371 { ac_try='test -s conftest.$ac_objext'
15372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15373 (eval $ac_try) 2>&5
15374 ac_status=$?
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); }; }; then
15377 ac_header_compiler=yes
15378 else
15379 echo "$as_me: failed program was:" >&5
15380 cat conftest.$ac_ext >&5
15381 ac_header_compiler=no
15382 fi
15383 rm -f conftest.$ac_objext conftest.$ac_ext
15384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15385 echo "${ECHO_T}$ac_header_compiler" >&6
15386
15387 # Is the header present?
15388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15390 cat >conftest.$ac_ext <<_ACEOF
15391 #line $LINENO "configure"
15392 #include "confdefs.h"
15393 #include <$ac_header>
15394 _ACEOF
15395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12234 ac_status=$? 15397 ac_status=$?
12235 egrep -v '^ *\+' conftest.er1 >conftest.err 15398 egrep -v '^ *\+' conftest.er1 >conftest.err
12236 rm -f conftest.er1 15399 rm -f conftest.er1
12237 cat conftest.err >&5 15400 cat conftest.err >&5
12238 echo "$as_me:12238: \$? = $ac_status" >&5 15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); } >/dev/null; then 15402 (exit $ac_status); } >/dev/null; then
12240 if test -s conftest.err; then 15403 if test -s conftest.err; then
12241 ac_cpp_err=$ac_c_preproc_warn_flag 15404 ac_cpp_err=$ac_c_preproc_warn_flag
12242 else 15405 else
12243 ac_cpp_err= 15406 ac_cpp_err=
12244 fi 15407 fi
12245 else 15408 else
12246 ac_cpp_err=yes 15409 ac_cpp_err=yes
12247 fi 15410 fi
12248 if test -z "$ac_cpp_err"; then 15411 if test -z "$ac_cpp_err"; then
12249 eval "$as_ac_Header=yes" 15412 ac_header_preproc=yes
12250 else 15413 else
12251 echo "$as_me: failed program was:" >&5 15414 echo "$as_me: failed program was:" >&5
12252 cat conftest.$ac_ext >&5 15415 cat conftest.$ac_ext >&5
12253 eval "$as_ac_Header=no" 15416 ac_header_preproc=no
12254 fi 15417 fi
12255 rm -f conftest.err conftest.$ac_ext 15418 rm -f conftest.err conftest.$ac_ext
12256 fi 15419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12257 echo "$as_me:12257: result: `eval echo '${'$as_ac_Header'}'`" >&5 15420 echo "${ECHO_T}$ac_header_preproc" >&6
15421
15422 # So? What about this header?
15423 case $ac_header_compiler:$ac_header_preproc in
15424 yes:no )
15425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15429 no:yes )
15430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15436 esac
15437 echo "$as_me:$LINENO: checking for $ac_header" >&5
15438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15440 echo $ECHO_N "(cached) $ECHO_C" >&6
15441 else
15442 eval "$as_ac_Header=$ac_header_preproc"
15443 fi
15444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 15445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15446
15447 fi
12259 if test `eval echo '${'$as_ac_Header'}'` = yes; then 15448 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12260 cat >>confdefs.h <<EOF 15449 cat >>confdefs.h <<_ACEOF
12261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 15450 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12262 EOF 15451 _ACEOF
12263 15452
12264 fi 15453 fi
15454
12265 done 15455 done
15456
15457
12266 15458
12267 for ac_func in fork vfork 15459 for ac_func in fork vfork
12268 do 15460 do
12269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12270 echo "$as_me:12270: checking for $ac_func" >&5 15462 echo "$as_me:$LINENO: checking for $ac_func" >&5
12271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 15463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12272 if eval "test \"\${$as_ac_var+set}\" = set"; then 15464 if eval "test \"\${$as_ac_var+set}\" = set"; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6 15465 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 else 15466 else
12275 cat >conftest.$ac_ext <<_ACEOF 15467 cat >conftest.$ac_ext <<_ACEOF
12276 #line 12276 "configure" 15468 #line $LINENO "configure"
12277 #include "confdefs.h" 15469 #include "confdefs.h"
12278 /* System header to define __stub macros and hopefully few prototypes, 15470 /* System header to define __stub macros and hopefully few prototypes,
12279 which can conflict with char $ac_func (); below. */ 15471 which can conflict with char $ac_func (); below. */
12280 #include <assert.h> 15472 #include <assert.h>
12281 /* Override any gcc2 internal prototype to avoid an error. */ 15473 /* Override any gcc2 internal prototype to avoid an error. */
12285 /* We use char because int might match the return type of a gcc2 15477 /* We use char because int might match the return type of a gcc2
12286 builtin and then its argument prototype would still apply. */ 15478 builtin and then its argument prototype would still apply. */
12287 char $ac_func (); 15479 char $ac_func ();
12288 char (*f) (); 15480 char (*f) ();
12289 15481
15482 #ifdef F77_DUMMY_MAIN
15483 # ifdef __cplusplus
15484 extern "C"
15485 # endif
15486 int F77_DUMMY_MAIN() { return 1; }
15487 #endif
12290 int 15488 int
12291 main () 15489 main ()
12292 { 15490 {
12293 /* The GNU C library defines this for functions which it implements 15491 /* The GNU C library defines this for functions which it implements
12294 to always fail with ENOSYS. Some functions are actually named 15492 to always fail with ENOSYS. Some functions are actually named
12302 ; 15500 ;
12303 return 0; 15501 return 0;
12304 } 15502 }
12305 _ACEOF 15503 _ACEOF
12306 rm -f conftest.$ac_objext conftest$ac_exeext 15504 rm -f conftest.$ac_objext conftest$ac_exeext
12307 if { (eval echo "$as_me:12307: \"$ac_link\"") >&5 15505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12308 (eval $ac_link) 2>&5 15506 (eval $ac_link) 2>&5
12309 ac_status=$? 15507 ac_status=$?
12310 echo "$as_me:12310: \$? = $ac_status" >&5 15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } && 15509 (exit $ac_status); } &&
12312 { ac_try='test -s conftest$ac_exeext' 15510 { ac_try='test -s conftest$ac_exeext'
12313 { (eval echo "$as_me:12313: \"$ac_try\"") >&5 15511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5 15512 (eval $ac_try) 2>&5
12315 ac_status=$? 15513 ac_status=$?
12316 echo "$as_me:12316: \$? = $ac_status" >&5 15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then 15515 (exit $ac_status); }; }; then
12318 eval "$as_ac_var=yes" 15516 eval "$as_ac_var=yes"
12319 else 15517 else
12320 echo "$as_me: failed program was:" >&5 15518 echo "$as_me: failed program was:" >&5
12321 cat conftest.$ac_ext >&5 15519 cat conftest.$ac_ext >&5
12322 eval "$as_ac_var=no" 15520 eval "$as_ac_var=no"
12323 fi 15521 fi
12324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12325 fi 15523 fi
12326 echo "$as_me:12326: result: `eval echo '${'$as_ac_var'}'`" >&5 15524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 15525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12328 if test `eval echo '${'$as_ac_var'}'` = yes; then 15526 if test `eval echo '${'$as_ac_var'}'` = yes; then
12329 cat >>confdefs.h <<EOF 15527 cat >>confdefs.h <<_ACEOF
12330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12331 EOF 15529 _ACEOF
12332 15530
12333 fi 15531 fi
12334 done 15532 done
12335 15533
12336 ac_cv_func_fork_works=$ac_cv_func_fork 15534 ac_cv_func_fork_works=$ac_cv_func_fork
12337 if test "x$ac_cv_func_fork" = xyes; then 15535 if test "x$ac_cv_func_fork" = xyes; then
12338 echo "$as_me:12338: checking for working fork" >&5 15536 echo "$as_me:$LINENO: checking for working fork" >&5
12339 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 15537 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
12340 if test "${ac_cv_func_fork_works+set}" = set; then 15538 if test "${ac_cv_func_fork_works+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6 15539 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 else 15540 else
12343 if test "$cross_compiling" = yes; then 15541 if test "$cross_compiling" = yes; then
12344 ac_cv_func_fork_works=cross 15542 ac_cv_func_fork_works=cross
12345 else 15543 else
12346 cat >conftest.$ac_ext <<_ACEOF 15544 cat >conftest.$ac_ext <<_ACEOF
12347 /* By Rüdiger Kuhlmann. */ 15545 /* By Ruediger Kuhlmann. */
12348 #include <sys/types.h> 15546 #include <sys/types.h>
12349 #if HAVE_UNISTD_H 15547 #if HAVE_UNISTD_H
12350 # include <unistd.h> 15548 # include <unistd.h>
12351 #endif 15549 #endif
12352 /* Some systems only have a dummy stub for fork() */ 15550 /* Some systems only have a dummy stub for fork() */
12356 exit (1); 15554 exit (1);
12357 exit (0); 15555 exit (0);
12358 } 15556 }
12359 _ACEOF 15557 _ACEOF
12360 rm -f conftest$ac_exeext 15558 rm -f conftest$ac_exeext
12361 if { (eval echo "$as_me:12361: \"$ac_link\"") >&5 15559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12362 (eval $ac_link) 2>&5 15560 (eval $ac_link) 2>&5
12363 ac_status=$? 15561 ac_status=$?
12364 echo "$as_me:12364: \$? = $ac_status" >&5 15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15563 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12366 { (eval echo "$as_me:12366: \"$ac_try\"") >&5 15564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5 15565 (eval $ac_try) 2>&5
12368 ac_status=$? 15566 ac_status=$?
12369 echo "$as_me:12369: \$? = $ac_status" >&5 15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; }; then 15568 (exit $ac_status); }; }; then
12371 ac_cv_func_fork_works=yes 15569 ac_cv_func_fork_works=yes
12372 else 15570 else
12373 echo "$as_me: program exited with status $ac_status" >&5 15571 echo "$as_me: program exited with status $ac_status" >&5
12374 echo "$as_me: failed program was:" >&5 15572 echo "$as_me: failed program was:" >&5
12375 cat conftest.$ac_ext >&5 15573 cat conftest.$ac_ext >&5
15574 ( exit $ac_status )
12376 ac_cv_func_fork_works=no 15575 ac_cv_func_fork_works=no
12377 fi 15576 fi
12378 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15577 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12379 fi 15578 fi
12380 fi 15579 fi
12381 echo "$as_me:12381: result: $ac_cv_func_fork_works" >&5 15580 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
12382 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 15581 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
12383 15582
12384 fi 15583 fi
12385 if test "x$ac_cv_func_fork_works" = xcross; then 15584 if test "x$ac_cv_func_fork_works" = xcross; then
12386 case $host in 15585 case $host in
12390 ;; 15589 ;;
12391 *) 15590 *)
12392 ac_cv_func_fork_works=yes 15591 ac_cv_func_fork_works=yes
12393 ;; 15592 ;;
12394 esac 15593 esac
12395 { echo "$as_me:12395: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 15594 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
12396 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 15595 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
12397 fi 15596 fi
12398 ac_cv_func_vfork_works=$ac_cv_func_vfork 15597 ac_cv_func_vfork_works=$ac_cv_func_vfork
12399 if test "x$ac_cv_func_vfork" = xyes; then 15598 if test "x$ac_cv_func_vfork" = xyes; then
12400 echo "$as_me:12400: checking for working vfork" >&5 15599 echo "$as_me:$LINENO: checking for working vfork" >&5
12401 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 15600 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12402 if test "${ac_cv_func_vfork_works+set}" = set; then 15601 if test "${ac_cv_func_vfork_works+set}" = set; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6 15602 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 else 15603 else
12405 if test "$cross_compiling" = yes; then 15604 if test "$cross_compiling" = yes; then
12406 ac_cv_func_vfork_works=cross 15605 ac_cv_func_vfork_works=cross
12407 else 15606 else
12408 cat >conftest.$ac_ext <<_ACEOF 15607 cat >conftest.$ac_ext <<_ACEOF
12409 #line 12409 "configure" 15608 #line $LINENO "configure"
12410 #include "confdefs.h" 15609 #include "confdefs.h"
12411 /* Thanks to Paul Eggert for this test. */ 15610 /* Thanks to Paul Eggert for this test. */
12412 #include <stdio.h> 15611 #include <stdio.h>
12413 #include <sys/types.h> 15612 #include <sys/types.h>
12414 #include <sys/stat.h> 15613 #include <sys/stat.h>
12501 ); 15700 );
12502 } 15701 }
12503 } 15702 }
12504 _ACEOF 15703 _ACEOF
12505 rm -f conftest$ac_exeext 15704 rm -f conftest$ac_exeext
12506 if { (eval echo "$as_me:12506: \"$ac_link\"") >&5 15705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12507 (eval $ac_link) 2>&5 15706 (eval $ac_link) 2>&5
12508 ac_status=$? 15707 ac_status=$?
12509 echo "$as_me:12509: \$? = $ac_status" >&5 15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15709 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12511 { (eval echo "$as_me:12511: \"$ac_try\"") >&5 15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5 15711 (eval $ac_try) 2>&5
12513 ac_status=$? 15712 ac_status=$?
12514 echo "$as_me:12514: \$? = $ac_status" >&5 15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; }; then 15714 (exit $ac_status); }; }; then
12516 ac_cv_func_vfork_works=yes 15715 ac_cv_func_vfork_works=yes
12517 else 15716 else
12518 echo "$as_me: program exited with status $ac_status" >&5 15717 echo "$as_me: program exited with status $ac_status" >&5
12519 echo "$as_me: failed program was:" >&5 15718 echo "$as_me: failed program was:" >&5
12520 cat conftest.$ac_ext >&5 15719 cat conftest.$ac_ext >&5
15720 ( exit $ac_status )
12521 ac_cv_func_vfork_works=no 15721 ac_cv_func_vfork_works=no
12522 fi 15722 fi
12523 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15723 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12524 fi 15724 fi
12525 fi 15725 fi
12526 echo "$as_me:12526: result: $ac_cv_func_vfork_works" >&5 15726 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
12527 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 15727 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12528 15728
12529 fi; 15729 fi;
12530 if test "x$ac_cv_func_fork_works" = xcross; then 15730 if test "x$ac_cv_func_fork_works" = xcross; then
12531 ac_cv_func_vfork_works=ac_cv_func_vfork 15731 ac_cv_func_vfork_works=ac_cv_func_vfork
12532 { echo "$as_me:12532: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 15732 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
12533 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 15733 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
12534 fi 15734 fi
12535 15735
12536 if test "x$ac_cv_func_vfork_works" = xyes; then 15736 if test "x$ac_cv_func_vfork_works" = xyes; then
12537 15737
12538 cat >>confdefs.h <<\EOF 15738 cat >>confdefs.h <<\_ACEOF
12539 #define HAVE_WORKING_VFORK 1 15739 #define HAVE_WORKING_VFORK 1
12540 EOF 15740 _ACEOF
12541 15741
12542 else 15742 else
12543 15743
12544 cat >>confdefs.h <<\EOF 15744 cat >>confdefs.h <<\_ACEOF
12545 #define vfork fork 15745 #define vfork fork
12546 EOF 15746 _ACEOF
12547 15747
12548 fi 15748 fi
12549 if test "x$ac_cv_func_fork_works" = xyes; then 15749 if test "x$ac_cv_func_fork_works" = xyes; then
12550 15750
12551 cat >>confdefs.h <<\EOF 15751 cat >>confdefs.h <<\_ACEOF
12552 #define HAVE_WORKING_FORK 1 15752 #define HAVE_WORKING_FORK 1
12553 EOF 15753 _ACEOF
12554 15754
12555 fi 15755 fi
12556 15756
12557 # Fixme: This should be replaced when we have autoconf 2.14. 15757
12558 echo "$as_me:12558: checking for size_t" >&5 15758 echo "$as_me:$LINENO: checking for size_t" >&5
12559 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 15759 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12560 if test "${ac_cv_type_size_t+set}" = set; then 15760 if test "${ac_cv_type_size_t+set}" = set; then
12561 echo $ECHO_N "(cached) $ECHO_C" >&6 15761 echo $ECHO_N "(cached) $ECHO_C" >&6
12562 else 15762 else
12563 cat >conftest.$ac_ext <<_ACEOF 15763 cat >conftest.$ac_ext <<_ACEOF
12564 #line 12564 "configure" 15764 #line $LINENO "configure"
12565 #include "confdefs.h" 15765 #include "confdefs.h"
12566 $ac_includes_default 15766 $ac_includes_default
15767 #ifdef F77_DUMMY_MAIN
15768 # ifdef __cplusplus
15769 extern "C"
15770 # endif
15771 int F77_DUMMY_MAIN() { return 1; }
15772 #endif
12567 int 15773 int
12568 main () 15774 main ()
12569 { 15775 {
12570 if ((size_t *) 0) 15776 if ((size_t *) 0)
12571 return 0; 15777 return 0;
12574 ; 15780 ;
12575 return 0; 15781 return 0;
12576 } 15782 }
12577 _ACEOF 15783 _ACEOF
12578 rm -f conftest.$ac_objext 15784 rm -f conftest.$ac_objext
12579 if { (eval echo "$as_me:12579: \"$ac_compile\"") >&5 15785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12580 (eval $ac_compile) 2>&5 15786 (eval $ac_compile) 2>&5
12581 ac_status=$? 15787 ac_status=$?
12582 echo "$as_me:12582: \$? = $ac_status" >&5 15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); } && 15789 (exit $ac_status); } &&
12584 { ac_try='test -s conftest.$ac_objext' 15790 { ac_try='test -s conftest.$ac_objext'
12585 { (eval echo "$as_me:12585: \"$ac_try\"") >&5 15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12586 (eval $ac_try) 2>&5 15792 (eval $ac_try) 2>&5
12587 ac_status=$? 15793 ac_status=$?
12588 echo "$as_me:12588: \$? = $ac_status" >&5 15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); }; }; then 15795 (exit $ac_status); }; }; then
12590 ac_cv_type_size_t=yes 15796 ac_cv_type_size_t=yes
12591 else 15797 else
12592 echo "$as_me: failed program was:" >&5 15798 echo "$as_me: failed program was:" >&5
12593 cat conftest.$ac_ext >&5 15799 cat conftest.$ac_ext >&5
12594 ac_cv_type_size_t=no 15800 ac_cv_type_size_t=no
12595 fi 15801 fi
12596 rm -f conftest.$ac_objext conftest.$ac_ext 15802 rm -f conftest.$ac_objext conftest.$ac_ext
12597 fi 15803 fi
12598 echo "$as_me:12598: result: $ac_cv_type_size_t" >&5 15804 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12599 echo "${ECHO_T}$ac_cv_type_size_t" >&6 15805 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12600 if test $ac_cv_type_size_t = yes; then 15806 if test $ac_cv_type_size_t = yes; then
12601 : 15807
12602 else 15808 cat >>confdefs.h <<_ACEOF
12603 15809 #define HAVE_SIZE_T 1
12604 cat >>confdefs.h <<EOF 15810 _ACEOF
12605 #define size_t unsigned 15811
12606 EOF 15812
12607 15813 fi
12608 fi 15814
12609 15815
12610 # Set up the CFLAGS for real compilation, so we can substitute it. 15816 # Set up the CFLAGS for real compilation, so we can substitute it.
12611 CFLAGS="$REAL_CFLAGS" 15817 CFLAGS="$REAL_CFLAGS"
12612 CPPFLAGS="$REAL_CPPFLAGS" 15818 CPPFLAGS="$REAL_CPPFLAGS"
12613 15819
12614 #### Find out which version of Emacs this is. 15820 #### Find out which version of Emacs this is.
12615 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 15821 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
12616 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 15822 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12617 if test x"${version}" = x; then 15823 if test x"${version}" = x; then
12618 { { echo "$as_me:12618: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 15824 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12619 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 15825 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12620 { (exit 1); exit 1; }; } 15826 { (exit 1); exit 1; }; }
12621 fi 15827 fi
12622 15828
12623 ### Specify what sort of things we'll be editing into Makefile and config.h. 15829 ### Specify what sort of things we'll be editing into Makefile and config.h.
12624 ### Use configuration here uncanonicalized to avoid exceeding size limits. 15830 ### Use configuration here uncanonicalized to avoid exceeding size limits.
12625 15831
12626 cat >>confdefs.h <<EOF 15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865 cat >>confdefs.h <<_ACEOF
12627 #define EMACS_CONFIGURATION "${canonical}" 15866 #define EMACS_CONFIGURATION "${canonical}"
12628 EOF 15867 _ACEOF
12629 15868
12630 cat >>confdefs.h <<EOF 15869
15870 cat >>confdefs.h <<_ACEOF
12631 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}" 15871 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
12632 EOF 15872 _ACEOF
12633 15873
12634 cat >>confdefs.h <<EOF 15874
15875 cat >>confdefs.h <<_ACEOF
12635 #define config_machfile "${machfile}" 15876 #define config_machfile "${machfile}"
12636 EOF 15877 _ACEOF
12637 15878
12638 cat >>confdefs.h <<EOF 15879
15880 cat >>confdefs.h <<_ACEOF
12639 #define config_opsysfile "${opsysfile}" 15881 #define config_opsysfile "${opsysfile}"
12640 EOF 15882 _ACEOF
12641 15883
12642 cat >>confdefs.h <<EOF 15884
15885 cat >>confdefs.h <<_ACEOF
12643 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE} 15886 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
12644 EOF 15887 _ACEOF
12645 15888
12646 cat >>confdefs.h <<EOF 15889
15890 cat >>confdefs.h <<_ACEOF
12647 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX} 15891 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
12648 EOF 15892 _ACEOF
12649 15893
12650 cat >>confdefs.h <<EOF 15894
15895 cat >>confdefs.h <<_ACEOF
12651 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE} 15896 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
12652 EOF 15897 _ACEOF
12653 15898
12654 cat >>confdefs.h <<EOF 15899
15900 cat >>confdefs.h <<_ACEOF
12655 #define UNEXEC_SRC ${UNEXEC_SRC} 15901 #define UNEXEC_SRC ${UNEXEC_SRC}
12656 EOF 15902 _ACEOF
15903
12657 15904
12658 if test "${HAVE_X_WINDOWS}" = "yes" ; then 15905 if test "${HAVE_X_WINDOWS}" = "yes" ; then
12659 15906
12660 cat >>confdefs.h <<\EOF 15907 cat >>confdefs.h <<\_ACEOF
12661 #define HAVE_X_WINDOWS 1 15908 #define HAVE_X_WINDOWS 1
12662 EOF 15909 _ACEOF
12663 15910
12664 fi 15911 fi
12665 if test "${USE_X_TOOLKIT}" != "none" ; then 15912 if test "${USE_X_TOOLKIT}" != "none" ; then
12666 15913
12667 cat >>confdefs.h <<\EOF 15914 cat >>confdefs.h <<\_ACEOF
12668 #define USE_X_TOOLKIT 1 15915 #define USE_X_TOOLKIT 1
12669 EOF 15916 _ACEOF
12670 15917
12671 fi 15918 fi
12672 if test "${HAVE_X11}" = "yes" ; then 15919 if test "${HAVE_X11}" = "yes" ; then
12673 15920
12674 cat >>confdefs.h <<\EOF 15921 cat >>confdefs.h <<\_ACEOF
12675 #define HAVE_X11 1 15922 #define HAVE_X11 1
12676 EOF 15923 _ACEOF
12677 15924
12678 fi 15925 fi
12679 if test "${HAVE_XFREE386}" = "yes" ; then 15926 if test "${HAVE_XFREE386}" = "yes" ; then
12680 15927
12681 cat >>confdefs.h <<\EOF 15928 cat >>confdefs.h <<\_ACEOF
12682 #define HAVE_XFREE386 1 15929 #define HAVE_XFREE386 1
12683 EOF 15930 _ACEOF
12684 15931
12685 fi 15932 fi
12686 if test "${HAVE_MENUS}" = "yes" ; then 15933 if test "${HAVE_MENUS}" = "yes" ; then
12687 15934
12688 cat >>confdefs.h <<\EOF 15935 cat >>confdefs.h <<\_ACEOF
12689 #define HAVE_MENUS 1 15936 #define HAVE_MENUS 1
12690 EOF 15937 _ACEOF
12691 15938
12692 fi 15939 fi
12693 if test "${GNU_MALLOC}" = "yes" ; then 15940 if test "${GNU_MALLOC}" = "yes" ; then
12694 15941
12695 cat >>confdefs.h <<\EOF 15942 cat >>confdefs.h <<\_ACEOF
12696 #define GNU_MALLOC 1 15943 #define GNU_MALLOC 1
12697 EOF 15944 _ACEOF
12698 15945
12699 fi 15946 fi
12700 if test "${REL_ALLOC}" = "yes" ; then 15947 if test "${REL_ALLOC}" = "yes" ; then
12701 15948
12702 cat >>confdefs.h <<\EOF 15949 cat >>confdefs.h <<\_ACEOF
12703 #define REL_ALLOC 1 15950 #define REL_ALLOC 1
12704 EOF 15951 _ACEOF
12705 15952
12706 fi 15953 fi
15954
12707 15955
12708 for ac_header in nlist.h 15956 for ac_header in nlist.h
12709 do 15957 do
12710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12711 echo "$as_me:12711: checking for $ac_header" >&5 15959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15960 echo "$as_me:$LINENO: checking for $ac_header" >&5
12712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 15961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12713 if eval "test \"\${$as_ac_Header+set}\" = set"; then 15962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6 15963 echo $ECHO_N "(cached) $ECHO_C" >&6
12715 else 15964 fi
12716 cat >conftest.$ac_ext <<_ACEOF 15965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12717 #line 12717 "configure" 15966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12718 #include "confdefs.h" 15967 else
15968 # Is the header compilable?
15969 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15971 cat >conftest.$ac_ext <<_ACEOF
15972 #line $LINENO "configure"
15973 #include "confdefs.h"
15974 $ac_includes_default
12719 #include <$ac_header> 15975 #include <$ac_header>
12720 _ACEOF 15976 _ACEOF
12721 if { (eval echo "$as_me:12721: \"$ac_cpp conftest.$ac_ext\"") >&5 15977 rm -f conftest.$ac_objext
15978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15979 (eval $ac_compile) 2>&5
15980 ac_status=$?
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } &&
15983 { ac_try='test -s conftest.$ac_objext'
15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15985 (eval $ac_try) 2>&5
15986 ac_status=$?
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; }; then
15989 ac_header_compiler=yes
15990 else
15991 echo "$as_me: failed program was:" >&5
15992 cat conftest.$ac_ext >&5
15993 ac_header_compiler=no
15994 fi
15995 rm -f conftest.$ac_objext conftest.$ac_ext
15996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15997 echo "${ECHO_T}$ac_header_compiler" >&6
15998
15999 # Is the header present?
16000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16002 cat >conftest.$ac_ext <<_ACEOF
16003 #line $LINENO "configure"
16004 #include "confdefs.h"
16005 #include <$ac_header>
16006 _ACEOF
16007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 16008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12723 ac_status=$? 16009 ac_status=$?
12724 egrep -v '^ *\+' conftest.er1 >conftest.err 16010 egrep -v '^ *\+' conftest.er1 >conftest.err
12725 rm -f conftest.er1 16011 rm -f conftest.er1
12726 cat conftest.err >&5 16012 cat conftest.err >&5
12727 echo "$as_me:12727: \$? = $ac_status" >&5 16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); } >/dev/null; then 16014 (exit $ac_status); } >/dev/null; then
12729 if test -s conftest.err; then 16015 if test -s conftest.err; then
12730 ac_cpp_err=$ac_c_preproc_warn_flag 16016 ac_cpp_err=$ac_c_preproc_warn_flag
12731 else 16017 else
12732 ac_cpp_err= 16018 ac_cpp_err=
12733 fi 16019 fi
12734 else 16020 else
12735 ac_cpp_err=yes 16021 ac_cpp_err=yes
12736 fi 16022 fi
12737 if test -z "$ac_cpp_err"; then 16023 if test -z "$ac_cpp_err"; then
12738 eval "$as_ac_Header=yes" 16024 ac_header_preproc=yes
12739 else 16025 else
12740 echo "$as_me: failed program was:" >&5 16026 echo "$as_me: failed program was:" >&5
12741 cat conftest.$ac_ext >&5 16027 cat conftest.$ac_ext >&5
12742 eval "$as_ac_Header=no" 16028 ac_header_preproc=no
12743 fi 16029 fi
12744 rm -f conftest.err conftest.$ac_ext 16030 rm -f conftest.err conftest.$ac_ext
12745 fi 16031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12746 echo "$as_me:12746: result: `eval echo '${'$as_ac_Header'}'`" >&5 16032 echo "${ECHO_T}$ac_header_preproc" >&6
16033
16034 # So? What about this header?
16035 case $ac_header_compiler:$ac_header_preproc in
16036 yes:no )
16037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
16041 no:yes )
16042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
16048 esac
16049 echo "$as_me:$LINENO: checking for $ac_header" >&5
16050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16053 else
16054 eval "$as_ac_Header=$ac_header_preproc"
16055 fi
16056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 16057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16058
16059 fi
12748 if test `eval echo '${'$as_ac_Header'}'` = yes; then 16060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12749 cat >>confdefs.h <<EOF 16061 cat >>confdefs.h <<_ACEOF
12750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12751 EOF 16063 _ACEOF
12752 16064
12753 cat >>confdefs.h <<\EOF 16065 cat >>confdefs.h <<\_ACEOF
12754 #define NLIST_STRUCT 1 16066 #define NLIST_STRUCT 1
12755 EOF 16067 _ACEOF
12756 16068
12757 fi 16069 fi
16070
12758 done 16071 done
16072
16073
16074
16075
16076
12759 16077
12760 #### Report on what we decided to do. 16078 #### Report on what we decided to do.
12761 echo " 16079 echo "
12762 Configured for \`${canonical}'. 16080 Configured for \`${canonical}'.
12763 16081
12801 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile 16119 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
12802 ## from Makefile.c can correctly provide the arg `-traditional' to the 16120 ## from Makefile.c can correctly provide the arg `-traditional' to the
12803 ## C preprocessor. 16121 ## C preprocessor.
12804 16122
12805 cat >conftest.$ac_ext <<_ACEOF 16123 cat >conftest.$ac_ext <<_ACEOF
12806 #line 12806 "configure" 16124 #line $LINENO "configure"
12807 #include "confdefs.h" 16125 #include "confdefs.h"
12808 yes..yes 16126 yes..yes
12809 _ACEOF 16127 _ACEOF
12810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 16128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12811 egrep "yes..yes" >/dev/null 2>&1; then 16129 egrep "yes..yes" >/dev/null 2>&1; then
12812 CPP_NEED_TRADITIONAL=no 16130 CPP_NEED_TRADITIONAL=no
12813 else 16131 else
12814 CPP_NEED_TRADITIONAL=yes 16132 CPP_NEED_TRADITIONAL=yes
12815 fi 16133 fi
12816 rm -f conftest* 16134 rm -f conftest*
16135
12817 16136
12818 ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile" 16137 ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile"
12819 ac_config_commands="$ac_config_commands default" 16138 ac_config_commands="$ac_config_commands default"
12820 cat >confcache <<\_ACEOF 16139 cat >confcache <<\_ACEOF
12821 # This file is a shell script that caches the results of configure 16140 # This file is a shell script that caches the results of configure
12891 }' 16210 }'
12892 fi 16211 fi
12893 16212
12894 DEFS=-DHAVE_CONFIG_H 16213 DEFS=-DHAVE_CONFIG_H
12895 16214
16215
12896 : ${CONFIG_STATUS=./config.status} 16216 : ${CONFIG_STATUS=./config.status}
12897 ac_clean_files_save=$ac_clean_files 16217 ac_clean_files_save=$ac_clean_files
12898 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16218 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12899 { echo "$as_me:12899: creating $CONFIG_STATUS" >&5 16219 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12900 echo "$as_me: creating $CONFIG_STATUS" >&6;} 16220 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12901 cat >$CONFIG_STATUS <<_ACEOF 16221 cat >$CONFIG_STATUS <<_ACEOF
12902 #! $SHELL 16222 #! $SHELL
12903 # Generated automatically by configure. 16223 # Generated by $as_me.
12904 # Run this file to recreate the current configuration. 16224 # Run this file to recreate the current configuration.
12905 # Compiler output produced by configure, useful for debugging 16225 # Compiler output produced by configure, useful for debugging
12906 # configure, is in config.log if it exists. 16226 # configure, is in config.log if it exists.
12907 16227
12908 debug=false 16228 debug=false
12909 SHELL=\${CONFIG_SHELL-$SHELL} 16229 SHELL=\${CONFIG_SHELL-$SHELL}
12910 ac_cs_invocation="\$0 \$@"
12911
12912 _ACEOF 16230 _ACEOF
12913 16231
12914 cat >>$CONFIG_STATUS <<\_ACEOF 16232 cat >>$CONFIG_STATUS <<\_ACEOF
16233
16234 ## --------------------- ##
16235 ## M4sh Initialization. ##
16236 ## --------------------- ##
16237
12915 # Be Bourne compatible 16238 # Be Bourne compatible
12916 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12917 emulate sh 16240 emulate sh
12918 NULLCMD=: 16241 NULLCMD=:
12919 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 16242 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12920 set -o posix 16243 set -o posix
12921 fi 16244 fi
12922 16245
16246 # NLS nuisances.
16247 # Support unset when possible.
16248 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
16249 as_unset=unset
16250 else
16251 as_unset=false
16252 fi
16253
16254 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
16255 { $as_unset LANG || test "${LANG+set}" != set; } ||
16256 { LANG=C; export LANG; }
16257 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
16258 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
16259 { LC_ALL=C; export LC_ALL; }
16260 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
16261 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
16262 { LC_TIME=C; export LC_TIME; }
16263 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
16264 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
16265 { LC_CTYPE=C; export LC_CTYPE; }
16266 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
16267 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
16268 { LANGUAGE=C; export LANGUAGE; }
16269 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
16270 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
16271 { LC_COLLATE=C; export LC_COLLATE; }
16272 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
16273 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
16274 { LC_NUMERIC=C; export LC_NUMERIC; }
16275 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
16276 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
16277 { LC_MESSAGES=C; export LC_MESSAGES; }
16278
16279
12923 # Name of the executable. 16280 # Name of the executable.
12924 as_me=`echo "$0" |sed 's,.*[\\/],,'` 16281 as_me=`(basename "$0") 2>/dev/null ||
16282 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16283 X"$0" : 'X\(//\)$' \| \
16284 X"$0" : 'X\(/\)$' \| \
16285 . : '\(.\)' 2>/dev/null ||
16286 echo X/"$0" |
16287 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16288 /^X\/\(\/\/\)$/{ s//\1/; q; }
16289 /^X\/\(\/\).*/{ s//\1/; q; }
16290 s/.*/./; q'`
16291
16292 # PATH needs CR, and LINENO needs CR and PATH.
16293 # Avoid depending upon Character Ranges.
16294 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16295 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16296 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16297 as_cr_digits='0123456789'
16298 as_cr_alnum=$as_cr_Letters$as_cr_digits
16299
16300 # The user is always right.
16301 if test "${PATH_SEPARATOR+set}" != set; then
16302 echo "#! /bin/sh" >conftest.sh
16303 echo "exit 0" >>conftest.sh
16304 chmod +x conftest.sh
16305 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
16306 PATH_SEPARATOR=';'
16307 else
16308 PATH_SEPARATOR=:
16309 fi
16310 rm -f conftest.sh
16311 fi
16312
16313
16314 as_lineno_1=$LINENO
16315 as_lineno_2=$LINENO
16316 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16317 test "x$as_lineno_1" != "x$as_lineno_2" &&
16318 test "x$as_lineno_3" = "x$as_lineno_2" || {
16319 # Find who we are. Look in the path if we contain no path at all
16320 # relative or not.
16321 case $0 in
16322 *[\\/]* ) as_myself=$0 ;;
16323 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16324 for as_dir in $PATH
16325 do
16326 IFS=$as_save_IFS
16327 test -z "$as_dir" && as_dir=.
16328 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16329 done
16330
16331 ;;
16332 esac
16333 # We did not find ourselves, most probably we were run as `sh COMMAND'
16334 # in which case we are not to be found in the path.
16335 if test "x$as_myself" = x; then
16336 as_myself=$0
16337 fi
16338 if test ! -f "$as_myself"; then
16339 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16340 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16341 { (exit 1); exit 1; }; }
16342 fi
16343 case $CONFIG_SHELL in
16344 '')
16345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16346 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
16347 do
16348 IFS=$as_save_IFS
16349 test -z "$as_dir" && as_dir=.
16350 for as_base in sh bash ksh sh5; do
16351 case $as_dir in
16352 /*)
16353 if ("$as_dir/$as_base" -c '
16354 as_lineno_1=$LINENO
16355 as_lineno_2=$LINENO
16356 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16357 test "x$as_lineno_1" != "x$as_lineno_2" &&
16358 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
16359 CONFIG_SHELL=$as_dir/$as_base
16360 export CONFIG_SHELL
16361 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16362 fi;;
16363 esac
16364 done
16365 done
16366 ;;
16367 esac
16368
16369 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16370 # uniformly replaced by the line number. The first 'sed' inserts a
16371 # line-number line before each line; the second 'sed' does the real
16372 # work. The second script uses 'N' to pair each line-number line
16373 # with the numbered line, and appends trailing '-' during
16374 # substitution so that $LINENO is not a special case at line end.
16375 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16376 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16377 sed '=' <$as_myself |
16378 sed '
16379 N
16380 s,$,-,
16381 : loop
16382 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16383 t loop
16384 s,-$,,
16385 s,^['$as_cr_digits']*\n,,
16386 ' >$as_me.lineno &&
16387 chmod +x $as_me.lineno ||
16388 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16389 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16390 { (exit 1); exit 1; }; }
16391
16392 # Don't try to exec as it changes $[0], causing all sort of problems
16393 # (the dirname of $[0] is not the place where we might find the
16394 # original and so on. Autoconf is especially sensible to this).
16395 . ./$as_me.lineno
16396 # Exit status is that of the last command.
16397 exit
16398 }
16399
16400
16401 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16402 *c*,-n*) ECHO_N= ECHO_C='
16403 ' ECHO_T=' ' ;;
16404 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
16405 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
16406 esac
12925 16407
12926 if expr a : '\(a\)' >/dev/null 2>&1; then 16408 if expr a : '\(a\)' >/dev/null 2>&1; then
12927 as_expr=expr 16409 as_expr=expr
12928 else 16410 else
12929 as_expr=false 16411 as_expr=false
12947 fi 16429 fi
12948 rm -f conf$$ conf$$.exe conf$$.file 16430 rm -f conf$$ conf$$.exe conf$$.file
12949 16431
12950 as_executable_p="test -f" 16432 as_executable_p="test -f"
12951 16433
12952 # Support unset when possible. 16434 # Sed expression to map a string onto a valid CPP name.
12953 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 16435 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
12954 as_unset=unset 16436
12955 else 16437 # Sed expression to map a string onto a valid variable name.
12956 as_unset=false 16438 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
12957 fi 16439
12958
12959 # NLS nuisances.
12960 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
12961 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
12962 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
12963 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
12964 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
12965 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
12966 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
12967 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
12968 16440
12969 # IFS 16441 # IFS
12970 # We need space, tab and new line, in precisely that order. 16442 # We need space, tab and new line, in precisely that order.
12971 as_nl=' 16443 as_nl='
12972 ' 16444 '
12973 IFS=" $as_nl" 16445 IFS=" $as_nl"
12974 16446
12975 # CDPATH. 16447 # CDPATH.
12976 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 16448 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
12977 16449
12978 exec 6>&1 16450 exec 6>&1
12979 16451
16452 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16453 # report actual input values of CONFIG_FILES etc. instead of their
16454 # values after options handling. Logging --version etc. is OK.
16455 exec 5>>config.log
16456 {
16457 echo
16458 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16459 ## Running $as_me. ##
16460 _ASBOX
16461 } >&5
16462 cat >&5 <<_CSEOF
16463
16464 This file was extended by $as_me, which was
16465 generated by GNU Autoconf 2.53. Invocation command line was
16466
16467 CONFIG_FILES = $CONFIG_FILES
16468 CONFIG_HEADERS = $CONFIG_HEADERS
16469 CONFIG_LINKS = $CONFIG_LINKS
16470 CONFIG_COMMANDS = $CONFIG_COMMANDS
16471 $ $0 $@
16472
16473 _CSEOF
16474 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16475 echo >&5
12980 _ACEOF 16476 _ACEOF
12981 16477
12982 # Files that config.status was made for. 16478 # Files that config.status was made for.
12983 if test -n "$ac_config_files"; then 16479 if test -n "$ac_config_files"; then
12984 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 16480 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12994 16490
12995 if test -n "$ac_config_commands"; then 16491 if test -n "$ac_config_commands"; then
12996 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 16492 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12997 fi 16493 fi
12998 16494
12999 cat >>$CONFIG_STATUS <<\EOF 16495 cat >>$CONFIG_STATUS <<\_ACEOF
13000 16496
13001 ac_cs_usage="\ 16497 ac_cs_usage="\
13002 \`$as_me' instantiates files from templates according to the 16498 \`$as_me' instantiates files from templates according to the
13003 current configuration. 16499 current configuration.
13004 16500
13021 16517
13022 Configuration commands: 16518 Configuration commands:
13023 $config_commands 16519 $config_commands
13024 16520
13025 Report bugs to <bug-autoconf@gnu.org>." 16521 Report bugs to <bug-autoconf@gnu.org>."
13026 EOF 16522 _ACEOF
13027 16523
13028 cat >>$CONFIG_STATUS <<EOF 16524 cat >>$CONFIG_STATUS <<_ACEOF
13029 ac_cs_version="\\ 16525 ac_cs_version="\\
13030 config.status 16526 config.status
13031 configured by $0, generated by GNU Autoconf 2.52, 16527 configured by $0, generated by GNU Autoconf 2.53,
13032 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 16528 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13033 16529
13034 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 16530 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
13035 Free Software Foundation, Inc. 16531 Free Software Foundation, Inc.
13036 This config.status script is free software; the Free Software Foundation 16532 This config.status script is free software; the Free Software Foundation
13037 gives unlimited permission to copy, distribute and modify it." 16533 gives unlimited permission to copy, distribute and modify it."
13038 srcdir=$srcdir 16534 srcdir=$srcdir
13039 INSTALL="$INSTALL" 16535 INSTALL="$INSTALL"
13040 EOF 16536 _ACEOF
13041 16537
13042 cat >>$CONFIG_STATUS <<\EOF 16538 cat >>$CONFIG_STATUS <<\_ACEOF
13043 # If no file are specified by the user, then we need to provide default 16539 # If no file are specified by the user, then we need to provide default
13044 # value. By we need to know if files were specified by the user. 16540 # value. By we need to know if files were specified by the user.
13045 ac_need_defaults=: 16541 ac_need_defaults=:
13046 while test $# != 0 16542 while test $# != 0
13047 do 16543 do
13059 ac_need_defaults=false;; 16555 ac_need_defaults=false;;
13060 esac 16556 esac
13061 16557
13062 case $1 in 16558 case $1 in
13063 # Handling of the options. 16559 # Handling of the options.
13064 EOF 16560 _ACEOF
13065 cat >>$CONFIG_STATUS <<EOF 16561 cat >>$CONFIG_STATUS <<_ACEOF
13066 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 16562 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13067 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 16563 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
13068 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 16564 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
13069 EOF 16565 _ACEOF
13070 cat >>$CONFIG_STATUS <<\EOF 16566 cat >>$CONFIG_STATUS <<\_ACEOF
13071 --version | --vers* | -V ) 16567 --version | --vers* | -V )
13072 echo "$ac_cs_version"; exit 0 ;; 16568 echo "$ac_cs_version"; exit 0 ;;
13073 --he | --h) 16569 --he | --h)
13074 # Conflict between --help and --header 16570 # Conflict between --help and --header
13075 { { echo "$as_me:13075: error: ambiguous option: $1 16571 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13076 Try \`$0 --help' for more information." >&5 16572 Try \`$0 --help' for more information." >&5
13077 echo "$as_me: error: ambiguous option: $1 16573 echo "$as_me: error: ambiguous option: $1
13078 Try \`$0 --help' for more information." >&2;} 16574 Try \`$0 --help' for more information." >&2;}
13079 { (exit 1); exit 1; }; };; 16575 { (exit 1); exit 1; }; };;
13080 --help | --hel | -h ) 16576 --help | --hel | -h )
13089 shift 16585 shift
13090 CONFIG_HEADERS="$CONFIG_HEADERS $1" 16586 CONFIG_HEADERS="$CONFIG_HEADERS $1"
13091 ac_need_defaults=false;; 16587 ac_need_defaults=false;;
13092 16588
13093 # This is an error. 16589 # This is an error.
13094 -*) { { echo "$as_me:13094: error: unrecognized option: $1 16590 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13095 Try \`$0 --help' for more information." >&5 16591 Try \`$0 --help' for more information." >&5
13096 echo "$as_me: error: unrecognized option: $1 16592 echo "$as_me: error: unrecognized option: $1
13097 Try \`$0 --help' for more information." >&2;} 16593 Try \`$0 --help' for more information." >&2;}
13098 { (exit 1); exit 1; }; } ;; 16594 { (exit 1); exit 1; }; } ;;
13099 16595
13101 16597
13102 esac 16598 esac
13103 shift 16599 shift
13104 done 16600 done
13105 16601
13106 exec 5>>config.log 16602 _ACEOF
13107 cat >&5 << _ACEOF 16603
13108 16604 cat >>$CONFIG_STATUS <<_ACEOF
13109 ## ----------------------- ##
13110 ## Running config.status. ##
13111 ## ----------------------- ##
13112
13113 This file was extended by $as_me 2.52, executed with
13114 CONFIG_FILES = $CONFIG_FILES
13115 CONFIG_HEADERS = $CONFIG_HEADERS
13116 CONFIG_LINKS = $CONFIG_LINKS
13117 CONFIG_COMMANDS = $CONFIG_COMMANDS
13118 > $ac_cs_invocation
13119 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13120
13121 _ACEOF
13122 EOF
13123
13124 cat >>$CONFIG_STATUS <<EOF
13125 # 16605 #
13126 # INIT-COMMANDS section. 16606 # INIT-COMMANDS section.
13127 # 16607 #
13128 16608
13129 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" 16609 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
13130 16610
13131 EOF 16611 _ACEOF
13132 16612
13133 cat >>$CONFIG_STATUS <<\EOF 16613
16614
16615 cat >>$CONFIG_STATUS <<\_ACEOF
13134 for ac_config_target in $ac_config_targets 16616 for ac_config_target in $ac_config_targets
13135 do 16617 do
13136 case "$ac_config_target" in 16618 case "$ac_config_target" in
13137 # Handling of arguments. 16619 # Handling of arguments.
13138 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 16620 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13145 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; 16627 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
13146 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; 16628 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
13147 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 16629 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
13148 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 16630 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
13149 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 16631 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
13150 *) { { echo "$as_me:13150: error: invalid argument: $ac_config_target" >&5 16632 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13151 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 16633 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13152 { (exit 1); exit 1; }; };; 16634 { (exit 1); exit 1; }; };;
13153 esac 16635 esac
13154 done 16636 done
13155 16637
13183 { 16665 {
13184 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 16666 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
13185 { (exit 1); exit 1; } 16667 { (exit 1); exit 1; }
13186 } 16668 }
13187 16669
13188 EOF 16670 _ACEOF
13189 16671
13190 cat >>$CONFIG_STATUS <<EOF 16672 cat >>$CONFIG_STATUS <<_ACEOF
13191 16673
13192 # 16674 #
13193 # CONFIG_FILES section. 16675 # CONFIG_FILES section.
13194 # 16676 #
13195 16677
13198 if test -n "\$CONFIG_FILES"; then 16680 if test -n "\$CONFIG_FILES"; then
13199 # Protect against being on the right side of a sed subst in config.status. 16681 # Protect against being on the right side of a sed subst in config.status.
13200 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 16682 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13201 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 16683 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13202 s,@SHELL@,$SHELL,;t t 16684 s,@SHELL@,$SHELL,;t t
16685 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16686 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16687 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16688 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16689 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16690 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13203 s,@exec_prefix@,$exec_prefix,;t t 16691 s,@exec_prefix@,$exec_prefix,;t t
13204 s,@prefix@,$prefix,;t t 16692 s,@prefix@,$prefix,;t t
13205 s,@program_transform_name@,$program_transform_name,;t t 16693 s,@program_transform_name@,$program_transform_name,;t t
13206 s,@bindir@,$bindir,;t t 16694 s,@bindir@,$bindir,;t t
13207 s,@sbindir@,$sbindir,;t t 16695 s,@sbindir@,$sbindir,;t t
13213 s,@libdir@,$libdir,;t t 16701 s,@libdir@,$libdir,;t t
13214 s,@includedir@,$includedir,;t t 16702 s,@includedir@,$includedir,;t t
13215 s,@oldincludedir@,$oldincludedir,;t t 16703 s,@oldincludedir@,$oldincludedir,;t t
13216 s,@infodir@,$infodir,;t t 16704 s,@infodir@,$infodir,;t t
13217 s,@mandir@,$mandir,;t t 16705 s,@mandir@,$mandir,;t t
13218 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13219 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13220 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13221 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13222 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13223 s,@build_alias@,$build_alias,;t t 16706 s,@build_alias@,$build_alias,;t t
13224 s,@host_alias@,$host_alias,;t t 16707 s,@host_alias@,$host_alias,;t t
13225 s,@target_alias@,$target_alias,;t t 16708 s,@target_alias@,$target_alias,;t t
16709 s,@DEFS@,$DEFS,;t t
13226 s,@ECHO_C@,$ECHO_C,;t t 16710 s,@ECHO_C@,$ECHO_C,;t t
13227 s,@ECHO_N@,$ECHO_N,;t t 16711 s,@ECHO_N@,$ECHO_N,;t t
13228 s,@ECHO_T@,$ECHO_T,;t t 16712 s,@ECHO_T@,$ECHO_T,;t t
13229 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13230 s,@DEFS@,$DEFS,;t t
13231 s,@LIBS@,$LIBS,;t t 16713 s,@LIBS@,$LIBS,;t t
13232 s,@build@,$build,;t t 16714 s,@build@,$build,;t t
13233 s,@build_cpu@,$build_cpu,;t t 16715 s,@build_cpu@,$build_cpu,;t t
13234 s,@build_vendor@,$build_vendor,;t t 16716 s,@build_vendor@,$build_vendor,;t t
13235 s,@build_os@,$build_os,;t t 16717 s,@build_os@,$build_os,;t t
13247 s,@LN_S@,$LN_S,;t t 16729 s,@LN_S@,$LN_S,;t t
13248 s,@CPP@,$CPP,;t t 16730 s,@CPP@,$CPP,;t t
13249 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 16731 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13250 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 16732 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13251 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 16733 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13252 s,@YACC@,$YACC,;t t
13253 s,@RANLIB@,$RANLIB,;t t 16734 s,@RANLIB@,$RANLIB,;t t
13254 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 16735 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13255 s,@LIBSOUND@,$LIBSOUND,;t t 16736 s,@LIBSOUND@,$LIBSOUND,;t t
13256 s,@SET_MAKE@,$SET_MAKE,;t t 16737 s,@SET_MAKE@,$SET_MAKE,;t t
13257 s,@ALLOCA@,$ALLOCA,;t t 16738 s,@ALLOCA@,$ALLOCA,;t t
13282 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t 16763 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
13283 s,@machfile@,$machfile,;t t 16764 s,@machfile@,$machfile,;t t
13284 s,@opsysfile@,$opsysfile,;t t 16765 s,@opsysfile@,$opsysfile,;t t
13285 CEOF 16766 CEOF
13286 16767
13287 EOF 16768 _ACEOF
13288 16769
13289 cat >>$CONFIG_STATUS <<\EOF 16770 cat >>$CONFIG_STATUS <<\_ACEOF
13290 # Split the substitutions into bite-sized pieces for seds with 16771 # Split the substitutions into bite-sized pieces for seds with
13291 # small command number limits, like on Digital OSF/1 and HP-UX. 16772 # small command number limits, like on Digital OSF/1 and HP-UX.
13292 ac_max_sed_lines=48 16773 ac_max_sed_lines=48
13293 ac_sed_frag=1 # Number of current file. 16774 ac_sed_frag=1 # Number of current file.
13294 ac_beg=1 # First line for current file. 16775 ac_beg=1 # First line for current file.
13323 if test -z "$ac_sed_cmds"; then 16804 if test -z "$ac_sed_cmds"; then
13324 ac_sed_cmds=cat 16805 ac_sed_cmds=cat
13325 fi 16806 fi
13326 fi # test -n "$CONFIG_FILES" 16807 fi # test -n "$CONFIG_FILES"
13327 16808
13328 EOF 16809 _ACEOF
13329 cat >>$CONFIG_STATUS <<\EOF 16810 cat >>$CONFIG_STATUS <<\_ACEOF
13330 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 16811 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13331 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 16812 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13332 case $ac_file in 16813 case $ac_file in
13333 - | *:- | *:-:* ) # input from stdin 16814 - | *:- | *:-:* ) # input from stdin
13334 cat >$tmp/stdin 16815 cat >$tmp/stdin
13338 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 16819 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13339 * ) ac_file_in=$ac_file.in ;; 16820 * ) ac_file_in=$ac_file.in ;;
13340 esac 16821 esac
13341 16822
13342 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 16823 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13343 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16824 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16825 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13344 X"$ac_file" : 'X\(//\)[^/]' \| \ 16826 X"$ac_file" : 'X\(//\)[^/]' \| \
13345 X"$ac_file" : 'X\(//\)$' \| \ 16827 X"$ac_file" : 'X\(//\)$' \| \
13346 X"$ac_file" : 'X\(/\)' \| \ 16828 X"$ac_file" : 'X\(/\)' \| \
13347 . : '\(.\)' 2>/dev/null || 16829 . : '\(.\)' 2>/dev/null ||
13348 echo X"$ac_file" | 16830 echo X"$ac_file" |
13349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 16831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13350 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 16832 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13351 /^X\(\/\/\)$/{ s//\1/; q; } 16833 /^X\(\/\/\)$/{ s//\1/; q; }
13352 /^X\(\/\).*/{ s//\1/; q; } 16834 /^X\(\/\).*/{ s//\1/; q; }
13353 s/.*/./; q'` 16835 s/.*/./; q'`
13354 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 16836 { case "$ac_dir" in
13355 { case "$ac_dir" in
13356 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 16837 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
13357 *) as_incr_dir=.;; 16838 *) as_incr_dir=.;;
13358 esac 16839 esac
13359 as_dummy="$ac_dir" 16840 as_dummy="$ac_dir"
13360 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 16841 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
13361 case $as_mkdir_dir in 16842 case $as_mkdir_dir in
13362 # Skip DOS drivespec 16843 # Skip DOS drivespec
13363 ?:) as_incr_dir=$as_mkdir_dir ;; 16844 ?:) as_incr_dir=$as_mkdir_dir ;;
13364 *) 16845 *)
13365 as_incr_dir=$as_incr_dir/$as_mkdir_dir 16846 as_incr_dir=$as_incr_dir/$as_mkdir_dir
13366 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 16847 test -d "$as_incr_dir" ||
16848 mkdir "$as_incr_dir" ||
16849 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
16850 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
16851 { (exit 1); exit 1; }; }
13367 ;; 16852 ;;
13368 esac 16853 esac
13369 done; } 16854 done; }
13370 16855
13371 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 16856 ac_builddir=.
13372 # A "../" for each directory in $ac_dir_suffix. 16857
13373 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 16858 if test "$ac_dir" != .; then
13374 else 16859 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13375 ac_dir_suffix= ac_dots= 16860 # A "../" for each directory in $ac_dir_suffix.
13376 fi 16861 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13377 16862 else
13378 case $srcdir in 16863 ac_dir_suffix= ac_top_builddir=
13379 .) ac_srcdir=. 16864 fi
13380 if test -z "$ac_dots"; then 16865
13381 ac_top_srcdir=. 16866 case $srcdir in
13382 else 16867 .) # No --srcdir option. We are building in place.
13383 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 16868 ac_srcdir=.
13384 fi ;; 16869 if test -z "$ac_top_builddir"; then
13385 [\\/]* | ?:[\\/]* ) 16870 ac_top_srcdir=.
13386 ac_srcdir=$srcdir$ac_dir_suffix; 16871 else
13387 ac_top_srcdir=$srcdir ;; 16872 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16873 fi ;;
16874 [\\/]* | ?:[\\/]* ) # Absolute path.
16875 ac_srcdir=$srcdir$ac_dir_suffix;
16876 ac_top_srcdir=$srcdir ;;
13388 *) # Relative path. 16877 *) # Relative path.
13389 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 16878 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13390 ac_top_srcdir=$ac_dots$srcdir ;; 16879 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13391 esac 16880 esac
16881 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16882 # absolute.
16883 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16884 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
16885 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16886 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16887
13392 16888
13393 case $INSTALL in 16889 case $INSTALL in
13394 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 16890 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13395 *) ac_INSTALL=$ac_dots$INSTALL ;; 16891 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13396 esac 16892 esac
13397 16893
13398 if test x"$ac_file" != x-; then 16894 if test x"$ac_file" != x-; then
13399 { echo "$as_me:13399: creating $ac_file" >&5 16895 { echo "$as_me:$LINENO: creating $ac_file" >&5
13400 echo "$as_me: creating $ac_file" >&6;} 16896 echo "$as_me: creating $ac_file" >&6;}
13401 rm -f "$ac_file" 16897 rm -f "$ac_file"
13402 fi 16898 fi
13403 # Let's still pretend it is `configure' which instantiates (i.e., don't 16899 # Let's still pretend it is `configure' which instantiates (i.e., don't
13404 # use $as_me), people would be surprised to read: 16900 # use $as_me), people would be surprised to read:
13405 # /* config.h. Generated automatically by config.status. */ 16901 # /* config.h. Generated by config.status. */
13406 configure_input="Generated automatically from `echo $ac_file_in | 16902 if test x"$ac_file" = x-; then
13407 sed 's,.*/,,'` by configure." 16903 configure_input=
16904 else
16905 configure_input="$ac_file. "
16906 fi
16907 configure_input=$configure_input"Generated from `echo $ac_file_in |
16908 sed 's,.*/,,'` by configure."
13408 16909
13409 # First look for the input files in the build tree, otherwise in the 16910 # First look for the input files in the build tree, otherwise in the
13410 # src tree. 16911 # src tree.
13411 ac_file_inputs=`IFS=: 16912 ac_file_inputs=`IFS=:
13412 for f in $ac_file_in; do 16913 for f in $ac_file_in; do
13413 case $f in 16914 case $f in
13414 -) echo $tmp/stdin ;; 16915 -) echo $tmp/stdin ;;
13415 [\\/$]*) 16916 [\\/$]*)
13416 # Absolute (can't be DOS-style, as IFS=:) 16917 # Absolute (can't be DOS-style, as IFS=:)
13417 test -f "$f" || { { echo "$as_me:13417: error: cannot find input file: $f" >&5 16918 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13418 echo "$as_me: error: cannot find input file: $f" >&2;} 16919 echo "$as_me: error: cannot find input file: $f" >&2;}
13419 { (exit 1); exit 1; }; } 16920 { (exit 1); exit 1; }; }
13420 echo $f;; 16921 echo $f;;
13421 *) # Relative 16922 *) # Relative
13422 if test -f "$f"; then 16923 if test -f "$f"; then
13425 elif test -f "$srcdir/$f"; then 16926 elif test -f "$srcdir/$f"; then
13426 # Source tree 16927 # Source tree
13427 echo $srcdir/$f 16928 echo $srcdir/$f
13428 else 16929 else
13429 # /dev/null tree 16930 # /dev/null tree
13430 { { echo "$as_me:13430: error: cannot find input file: $f" >&5 16931 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13431 echo "$as_me: error: cannot find input file: $f" >&2;} 16932 echo "$as_me: error: cannot find input file: $f" >&2;}
13432 { (exit 1); exit 1; }; } 16933 { (exit 1); exit 1; }; }
13433 fi;; 16934 fi;;
13434 esac 16935 esac
13435 done` || { (exit 1); exit 1; } 16936 done` || { (exit 1); exit 1; }
13436 EOF 16937 _ACEOF
13437 cat >>$CONFIG_STATUS <<EOF 16938 cat >>$CONFIG_STATUS <<_ACEOF
13438 sed "$ac_vpsub 16939 sed "$ac_vpsub
13439 $extrasub 16940 $extrasub
13440 EOF 16941 _ACEOF
13441 cat >>$CONFIG_STATUS <<\EOF 16942 cat >>$CONFIG_STATUS <<\_ACEOF
13442 :t 16943 :t
13443 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16944 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13444 s,@configure_input@,$configure_input,;t t 16945 s,@configure_input@,$configure_input,;t t
13445 s,@srcdir@,$ac_srcdir,;t t 16946 s,@srcdir@,$ac_srcdir,;t t
16947 s,@abs_srcdir@,$ac_abs_srcdir,;t t
13446 s,@top_srcdir@,$ac_top_srcdir,;t t 16948 s,@top_srcdir@,$ac_top_srcdir,;t t
16949 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
16950 s,@builddir@,$ac_builddir,;t t
16951 s,@abs_builddir@,$ac_abs_builddir,;t t
16952 s,@top_builddir@,$ac_top_builddir,;t t
16953 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13447 s,@INSTALL@,$ac_INSTALL,;t t 16954 s,@INSTALL@,$ac_INSTALL,;t t
13448 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 16955 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13449 rm -f $tmp/stdin 16956 rm -f $tmp/stdin
13450 if test x"$ac_file" != x-; then 16957 if test x"$ac_file" != x-; then
13451 mv $tmp/out $ac_file 16958 mv $tmp/out $ac_file
13453 cat $tmp/out 16960 cat $tmp/out
13454 rm -f $tmp/out 16961 rm -f $tmp/out
13455 fi 16962 fi
13456 16963
13457 done 16964 done
13458 EOF 16965 _ACEOF
13459 cat >>$CONFIG_STATUS <<\EOF 16966 cat >>$CONFIG_STATUS <<\_ACEOF
13460 16967
13461 # 16968 #
13462 # CONFIG_HEADER section. 16969 # CONFIG_HEADER section.
13463 # 16970 #
13464 16971
13486 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 16993 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13487 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 16994 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13488 * ) ac_file_in=$ac_file.in ;; 16995 * ) ac_file_in=$ac_file.in ;;
13489 esac 16996 esac
13490 16997
13491 test x"$ac_file" != x- && { echo "$as_me:13491: creating $ac_file" >&5 16998 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13492 echo "$as_me: creating $ac_file" >&6;} 16999 echo "$as_me: creating $ac_file" >&6;}
13493 17000
13494 # First look for the input files in the build tree, otherwise in the 17001 # First look for the input files in the build tree, otherwise in the
13495 # src tree. 17002 # src tree.
13496 ac_file_inputs=`IFS=: 17003 ac_file_inputs=`IFS=:
13497 for f in $ac_file_in; do 17004 for f in $ac_file_in; do
13498 case $f in 17005 case $f in
13499 -) echo $tmp/stdin ;; 17006 -) echo $tmp/stdin ;;
13500 [\\/$]*) 17007 [\\/$]*)
13501 # Absolute (can't be DOS-style, as IFS=:) 17008 # Absolute (can't be DOS-style, as IFS=:)
13502 test -f "$f" || { { echo "$as_me:13502: error: cannot find input file: $f" >&5 17009 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13503 echo "$as_me: error: cannot find input file: $f" >&2;} 17010 echo "$as_me: error: cannot find input file: $f" >&2;}
13504 { (exit 1); exit 1; }; } 17011 { (exit 1); exit 1; }; }
13505 echo $f;; 17012 echo $f;;
13506 *) # Relative 17013 *) # Relative
13507 if test -f "$f"; then 17014 if test -f "$f"; then
13510 elif test -f "$srcdir/$f"; then 17017 elif test -f "$srcdir/$f"; then
13511 # Source tree 17018 # Source tree
13512 echo $srcdir/$f 17019 echo $srcdir/$f
13513 else 17020 else
13514 # /dev/null tree 17021 # /dev/null tree
13515 { { echo "$as_me:13515: error: cannot find input file: $f" >&5 17022 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13516 echo "$as_me: error: cannot find input file: $f" >&2;} 17023 echo "$as_me: error: cannot find input file: $f" >&2;}
13517 { (exit 1); exit 1; }; } 17024 { (exit 1); exit 1; }; }
13518 fi;; 17025 fi;;
13519 esac 17026 esac
13520 done` || { (exit 1); exit 1; } 17027 done` || { (exit 1); exit 1; }
13521 # Remove the trailing spaces. 17028 # Remove the trailing spaces.
13522 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 17029 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13523 17030
13524 EOF 17031 _ACEOF
13525 17032
13526 # Transform confdefs.h into two sed scripts, `conftest.defines' and 17033 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13527 # `conftest.undefs', that substitutes the proper values into 17034 # `conftest.undefs', that substitutes the proper values into
13528 # config.h.in to produce config.h. The first handles `#define' 17035 # config.h.in to produce config.h. The first handles `#define'
13529 # templates, and the second `#undef' templates. 17036 # templates, and the second `#undef' templates.
13535 # Putting comments in sed scripts is not portable. 17042 # Putting comments in sed scripts is not portable.
13536 # 17043 #
13537 # `end' is used to avoid that the second main sed command (meant for 17044 # `end' is used to avoid that the second main sed command (meant for
13538 # 0-ary CPP macros) applies to n-ary macro definitions. 17045 # 0-ary CPP macros) applies to n-ary macro definitions.
13539 # See the Autoconf documentation for `clear'. 17046 # See the Autoconf documentation for `clear'.
13540 cat >confdef2sed.sed <<\EOF 17047 cat >confdef2sed.sed <<\_ACEOF
13541 s/[\\&,]/\\&/g 17048 s/[\\&,]/\\&/g
13542 s,[\\$`],\\&,g 17049 s,[\\$`],\\&,g
13543 t clear 17050 t clear
13544 : clear 17051 : clear
13545 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp 17052 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13546 t end 17053 t end
13547 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 17054 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13548 : end 17055 : end
13549 EOF 17056 _ACEOF
13550 # If some macros were called several times there might be several times 17057 # If some macros were called several times there might be several times
13551 # the same #defines, which is useless. Nevertheless, we may not want to 17058 # the same #defines, which is useless. Nevertheless, we may not want to
13552 # sort them, since we want the *last* AC-DEFINE to be honored. 17059 # sort them, since we want the *last* AC-DEFINE to be honored.
13553 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 17060 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13554 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 17061 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13555 rm -f confdef2sed.sed 17062 rm -f confdef2sed.sed
13556 17063
13557 # This sed command replaces #undef with comments. This is necessary, for 17064 # This sed command replaces #undef with comments. This is necessary, for
13558 # example, in the case of _POSIX_SOURCE, which is predefined and required 17065 # example, in the case of _POSIX_SOURCE, which is predefined and required
13559 # on some systems where configure will not decide to define it. 17066 # on some systems where configure will not decide to define it.
13560 cat >>conftest.undefs <<\EOF 17067 cat >>conftest.undefs <<\_ACEOF
13561 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 17068 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13562 EOF 17069 _ACEOF
13563 17070
13564 # Break up conftest.defines because some shells have a limit on the size 17071 # Break up conftest.defines because some shells have a limit on the size
13565 # of here documents, and old seds have small limits too (100 cmds). 17072 # of here documents, and old seds have small limits too (100 cmds).
13566 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 17073 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13567 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 17074 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13614 rm -f conftest.undefs 17121 rm -f conftest.undefs
13615 mv conftest.tail conftest.undefs 17122 mv conftest.tail conftest.undefs
13616 done 17123 done
13617 rm -f conftest.undefs 17124 rm -f conftest.undefs
13618 17125
13619 cat >>$CONFIG_STATUS <<\EOF 17126 cat >>$CONFIG_STATUS <<\_ACEOF
13620 # Let's still pretend it is `configure' which instantiates (i.e., don't 17127 # Let's still pretend it is `configure' which instantiates (i.e., don't
13621 # use $as_me), people would be surprised to read: 17128 # use $as_me), people would be surprised to read:
13622 # /* config.h. Generated automatically by config.status. */ 17129 # /* config.h. Generated by config.status. */
13623 if test x"$ac_file" = x-; then 17130 if test x"$ac_file" = x-; then
13624 echo "/* Generated automatically by configure. */" >$tmp/config.h 17131 echo "/* Generated by configure. */" >$tmp/config.h
13625 else 17132 else
13626 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h 17133 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13627 fi 17134 fi
13628 cat $tmp/in >>$tmp/config.h 17135 cat $tmp/in >>$tmp/config.h
13629 rm -f $tmp/in 17136 rm -f $tmp/in
13630 if test x"$ac_file" != x-; then 17137 if test x"$ac_file" != x-; then
13631 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 17138 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13632 { echo "$as_me:13632: $ac_file is unchanged" >&5 17139 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13633 echo "$as_me: $ac_file is unchanged" >&6;} 17140 echo "$as_me: $ac_file is unchanged" >&6;}
13634 else 17141 else
13635 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17142 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
17143 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13636 X"$ac_file" : 'X\(//\)[^/]' \| \ 17144 X"$ac_file" : 'X\(//\)[^/]' \| \
13637 X"$ac_file" : 'X\(//\)$' \| \ 17145 X"$ac_file" : 'X\(//\)$' \| \
13638 X"$ac_file" : 'X\(/\)' \| \ 17146 X"$ac_file" : 'X\(/\)' \| \
13639 . : '\(.\)' 2>/dev/null || 17147 . : '\(.\)' 2>/dev/null ||
13640 echo X"$ac_file" | 17148 echo X"$ac_file" |
13641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 17149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13642 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 17150 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13643 /^X\(\/\/\)$/{ s//\1/; q; } 17151 /^X\(\/\/\)$/{ s//\1/; q; }
13644 /^X\(\/\).*/{ s//\1/; q; } 17152 /^X\(\/\).*/{ s//\1/; q; }
13645 s/.*/./; q'` 17153 s/.*/./; q'`
13646 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 17154 { case "$ac_dir" in
13647 { case "$ac_dir" in
13648 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 17155 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
13649 *) as_incr_dir=.;; 17156 *) as_incr_dir=.;;
13650 esac 17157 esac
13651 as_dummy="$ac_dir" 17158 as_dummy="$ac_dir"
13652 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 17159 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
13653 case $as_mkdir_dir in 17160 case $as_mkdir_dir in
13654 # Skip DOS drivespec 17161 # Skip DOS drivespec
13655 ?:) as_incr_dir=$as_mkdir_dir ;; 17162 ?:) as_incr_dir=$as_mkdir_dir ;;
13656 *) 17163 *)
13657 as_incr_dir=$as_incr_dir/$as_mkdir_dir 17164 as_incr_dir=$as_incr_dir/$as_mkdir_dir
13658 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 17165 test -d "$as_incr_dir" ||
17166 mkdir "$as_incr_dir" ||
17167 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
17168 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
17169 { (exit 1); exit 1; }; }
13659 ;; 17170 ;;
13660 esac 17171 esac
13661 done; } 17172 done; }
13662 17173
13663 fi
13664 rm -f $ac_file 17174 rm -f $ac_file
13665 mv $tmp/config.h $ac_file 17175 mv $tmp/config.h $ac_file
13666 fi 17176 fi
13667 else 17177 else
13668 cat $tmp/config.h 17178 cat $tmp/config.h
13669 rm -f $tmp/config.h 17179 rm -f $tmp/config.h
13670 fi 17180 fi
13671 done 17181 done
13672 EOF 17182 _ACEOF
13673 cat >>$CONFIG_STATUS <<\EOF 17183 cat >>$CONFIG_STATUS <<\_ACEOF
13674 17184
13675 # 17185 #
13676 # CONFIG_COMMANDS section. 17186 # CONFIG_COMMANDS section.
13677 # 17187 #
13678 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 17188 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13679 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 17189 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13680 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 17190 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13681 17191 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
17192 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17193 X"$ac_dest" : 'X\(//\)[^/]' \| \
17194 X"$ac_dest" : 'X\(//\)$' \| \
17195 X"$ac_dest" : 'X\(/\)' \| \
17196 . : '\(.\)' 2>/dev/null ||
17197 echo X"$ac_dest" |
17198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17200 /^X\(\/\/\)$/{ s//\1/; q; }
17201 /^X\(\/\).*/{ s//\1/; q; }
17202 s/.*/./; q'`
17203 ac_builddir=.
17204
17205 if test "$ac_dir" != .; then
17206 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17207 # A "../" for each directory in $ac_dir_suffix.
17208 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17209 else
17210 ac_dir_suffix= ac_top_builddir=
17211 fi
17212
17213 case $srcdir in
17214 .) # No --srcdir option. We are building in place.
17215 ac_srcdir=.
17216 if test -z "$ac_top_builddir"; then
17217 ac_top_srcdir=.
17218 else
17219 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17220 fi ;;
17221 [\\/]* | ?:[\\/]* ) # Absolute path.
17222 ac_srcdir=$srcdir$ac_dir_suffix;
17223 ac_top_srcdir=$srcdir ;;
17224 *) # Relative path.
17225 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17226 ac_top_srcdir=$ac_top_builddir$srcdir ;;
17227 esac
17228 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17229 # absolute.
17230 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17231 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
17232 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17233 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17234
17235
17236 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17237 echo "$as_me: executing $ac_dest commands" >&6;}
13682 case $ac_dest in 17238 case $ac_dest in
13683 default ) 17239 default )
13684 17240
13685 ### Make the necessary directories, if they don't exist. 17241 ### Make the necessary directories, if they don't exist.
13686 for dir in etc lisp ; do 17242 for dir in etc lisp ; do
13753 touch src/config.stamp 17309 touch src/config.stamp
13754 17310
13755 ;; 17311 ;;
13756 esac 17312 esac
13757 done 17313 done
13758 EOF 17314 _ACEOF
13759 17315
13760 cat >>$CONFIG_STATUS <<\EOF 17316 cat >>$CONFIG_STATUS <<\_ACEOF
13761 17317
13762 { (exit 0); exit 0; } 17318 { (exit 0); exit 0; }
13763 EOF 17319 _ACEOF
13764 chmod +x $CONFIG_STATUS 17320 chmod +x $CONFIG_STATUS
13765 ac_clean_files=$ac_clean_files_save 17321 ac_clean_files=$ac_clean_files_save
17322
13766 17323
13767 # configure is writing to config.log, and then calls config.status. 17324 # configure is writing to config.log, and then calls config.status.
13768 # config.status does its own redirection, appending to config.log. 17325 # config.status does its own redirection, appending to config.log.
13769 # Unfortunately, on DOS this fails, as config.log is still kept open 17326 # Unfortunately, on DOS this fails, as config.log is still kept open
13770 # by configure, so config.status won't be able to write to it; its 17327 # by configure, so config.status won't be able to write to it; its
13780 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17337 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13781 # would make configure fail if this is the last instruction. 17338 # would make configure fail if this is the last instruction.
13782 $ac_cs_success || { (exit 1); exit 1; } 17339 $ac_cs_success || { (exit 1); exit 1; }
13783 fi 17340 fi
13784 17341
17342