Mercurial > emacs
comparison configure @ 45226:77e67c428a9f
Regenerated.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 10 May 2002 08:36:08 +0000 |
parents | 6ff64f2aa959 |
children | f4dd56228521 |
comparison
equal
deleted
inserted
replaced
45225:76c3f51638bd | 45226:77e67c428a9f |
---|---|
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 GNU Autoconf 2.53. | 3 # Generated by Autoconf 2.52. |
4 # | 4 # |
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
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 | 10 # Avoid depending upon Character Ranges. |
11 as_expr=expr | 11 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
12 else | 12 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
13 as_expr=false | 13 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
14 fi | 14 as_cr_digits='0123456789' |
15 | 15 as_cr_alnum=$as_cr_Letters$as_cr_digits |
16 | 16 |
17 ## --------------------- ## | 17 # Sed expression to map a string onto a valid variable name. |
18 ## M4sh Initialization. ## | 18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
19 ## --------------------- ## | 19 |
20 # Sed expression to map a string onto a valid CPP name. | |
21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
20 | 22 |
21 # Be Bourne compatible | 23 # Be Bourne compatible |
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
23 emulate sh | 25 emulate sh |
24 NULLCMD=: | 26 NULLCMD=: |
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
26 set -o posix | 28 set -o posix |
27 fi | 29 fi |
28 | 30 |
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. | 31 # Name of the executable. |
64 as_me=`(basename "$0") 2>/dev/null || | 32 as_me=`echo "$0" |sed 's,.*[\\/],,'` |
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. | |
76 # Avoid depending upon Character Ranges. | |
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
80 as_cr_digits='0123456789' | |
81 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
82 | |
83 # The user is always right. | |
84 if test "${PATH_SEPARATOR+set}" != set; then | |
85 echo "#! /bin/sh" >conftest.sh | |
86 echo "exit 0" >>conftest.sh | |
87 chmod +x conftest.sh | |
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | |
89 PATH_SEPARATOR=';' | |
90 else | |
91 PATH_SEPARATOR=: | |
92 fi | |
93 rm -f conftest.sh | |
94 fi | |
95 | |
96 | |
97 as_lineno_1=$LINENO | |
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 | |
188 | 33 |
189 if expr a : '\(a\)' >/dev/null 2>&1; then | 34 if expr a : '\(a\)' >/dev/null 2>&1; then |
190 as_expr=expr | 35 as_expr=expr |
191 else | 36 else |
192 as_expr=false | 37 as_expr=false |
210 fi | 55 fi |
211 rm -f conf$$ conf$$.exe conf$$.file | 56 rm -f conf$$ conf$$.exe conf$$.file |
212 | 57 |
213 as_executable_p="test -f" | 58 as_executable_p="test -f" |
214 | 59 |
215 # Sed expression to map a string onto a valid CPP name. | 60 # Support unset when possible. |
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
217 | 62 as_unset=unset |
218 # Sed expression to map a string onto a valid variable name. | 63 else |
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 64 as_unset=false |
220 | 65 fi |
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; } | |
221 | 76 |
222 # IFS | 77 # IFS |
223 # We need space, tab and new line, in precisely that order. | 78 # We need space, tab and new line, in precisely that order. |
224 as_nl=' | 79 as_nl=' |
225 ' | 80 ' |
226 IFS=" $as_nl" | 81 IFS=" $as_nl" |
227 | 82 |
228 # CDPATH. | 83 # CDPATH. |
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | 84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
230 | |
231 | 85 |
232 # Name of the host. | 86 # Name of the host. |
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
234 # so uname gets run too. | 88 # so uname gets run too. |
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 89 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
240 # Initializations. | 94 # Initializations. |
241 # | 95 # |
242 ac_default_prefix=/usr/local | 96 ac_default_prefix=/usr/local |
243 cross_compiling=no | 97 cross_compiling=no |
244 subdirs= | 98 subdirs= |
245 MFLAGS= | 99 MFLAGS= MAKEFLAGS= |
246 MAKEFLAGS= | |
247 SHELL=${CONFIG_SHELL-/bin/sh} | 100 SHELL=${CONFIG_SHELL-/bin/sh} |
248 | 101 |
249 # Maximum number of lines to put in a shell here document. | 102 # Maximum number of lines to put in a shell here document. |
250 # This variable seems obsolete. It should probably be removed, and | 103 # This variable seems obsolete. It should probably be removed, and |
251 # only ac_max_sed_lines should be used. | 104 # only ac_max_sed_lines should be used. |
252 : ${ac_max_here_lines=38} | 105 : ${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= | |
260 | 106 |
261 ac_unique_file="src/lisp.h" | 107 ac_unique_file="src/lisp.h" |
262 # Factoring default headers for most tests. | 108 # Factoring default headers for most tests. |
263 ac_includes_default="\ | 109 ac_includes_default="\ |
264 #include <stdio.h> | 110 #include <stdio.h> |
294 #endif | 140 #endif |
295 #if HAVE_UNISTD_H | 141 #if HAVE_UNISTD_H |
296 # include <unistd.h> | 142 # include <unistd.h> |
297 #endif" | 143 #endif" |
298 | 144 |
299 | |
300 # Initialize some variables set by options. | 145 # Initialize some variables set by options. |
301 ac_init_help= | 146 ac_init_help= |
302 ac_init_version=false | 147 ac_init_version=false |
303 # The variables have the same names as the options, with | 148 # The variables have the same names as the options, with |
304 # dashes changed to underlines. | 149 # dashes changed to underlines. |
333 includedir='${prefix}/include' | 178 includedir='${prefix}/include' |
334 oldincludedir='/usr/include' | 179 oldincludedir='/usr/include' |
335 infodir='${prefix}/info' | 180 infodir='${prefix}/info' |
336 mandir='${prefix}/man' | 181 mandir='${prefix}/man' |
337 | 182 |
183 # Identity of this package. | |
184 PACKAGE_NAME= | |
185 PACKAGE_TARNAME= | |
186 PACKAGE_VERSION= | |
187 PACKAGE_STRING= | |
188 PACKAGE_BUGREPORT= | |
189 | |
338 ac_prev= | 190 ac_prev= |
339 for ac_option | 191 for ac_option |
340 do | 192 do |
341 # If the previous option needs an argument, assign it. | 193 # If the previous option needs an argument, assign it. |
342 if test -n "$ac_prev"; then | 194 if test -n "$ac_prev"; then |
465 -nfp | --nfp | --nf) | 317 -nfp | --nfp | --nf) |
466 # Obsolete; use --without-fp. | 318 # Obsolete; use --without-fp. |
467 with_fp=no ;; | 319 with_fp=no ;; |
468 | 320 |
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 321 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
470 | --no-cr | --no-c | -n) | 322 | --no-cr | --no-c) |
471 no_create=yes ;; | 323 no_create=yes ;; |
472 | 324 |
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 325 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 326 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
475 no_recursion=yes ;; | 327 no_recursion=yes ;; |
644 for ac_var in exec_prefix prefix | 496 for ac_var in exec_prefix prefix |
645 do | 497 do |
646 eval ac_val=$`echo $ac_var` | 498 eval ac_val=$`echo $ac_var` |
647 case $ac_val in | 499 case $ac_val in |
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 500 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 501 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
650 { (exit 1); exit 1; }; };; | 502 { (exit 1); exit 1; }; };; |
651 esac | 503 esac |
652 done | 504 done |
653 | 505 |
654 # Be sure to have absolute paths. | 506 # Be sure to have absolute paths. |
656 localstatedir libdir includedir oldincludedir infodir mandir | 508 localstatedir libdir includedir oldincludedir infodir mandir |
657 do | 509 do |
658 eval ac_val=$`echo $ac_var` | 510 eval ac_val=$`echo $ac_var` |
659 case $ac_val in | 511 case $ac_val in |
660 [\\/$]* | ?:[\\/]* ) ;; | 512 [\\/$]* | ?:[\\/]* ) ;; |
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 513 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
662 { (exit 1); exit 1; }; };; | 514 { (exit 1); exit 1; }; };; |
663 esac | 515 esac |
664 done | 516 done |
665 | 517 |
666 # There might be people who depend on the old broken behavior: `$host' | 518 # There might be people who depend on the old broken behavior: `$host' |
667 # used to hold the argument of --host etc. | 519 # used to hold the argument of --host etc. |
668 # FIXME: To remove some day. | |
669 build=$build_alias | 520 build=$build_alias |
670 host=$host_alias | 521 host=$host_alias |
671 target=$target_alias | 522 target=$target_alias |
672 | 523 |
673 # FIXME: To remove some day. | 524 # FIXME: should be removed in autoconf 3.0. |
674 if test "x$host_alias" != x; then | 525 if test "x$host_alias" != x; then |
675 if test "x$build_alias" = x; then | 526 if test "x$build_alias" = x; then |
676 cross_compiling=maybe | 527 cross_compiling=maybe |
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 528 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
678 If a cross compiler is detected then cross compile mode will be used." >&2 | 529 If a cross compiler is detected then cross compile mode will be used." >&2 |
684 ac_tool_prefix= | 535 ac_tool_prefix= |
685 test -n "$host_alias" && ac_tool_prefix=$host_alias- | 536 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
686 | 537 |
687 test "$silent" = yes && exec 6>/dev/null | 538 test "$silent" = yes && exec 6>/dev/null |
688 | 539 |
689 | |
690 # Find the source files, if location was not specified. | 540 # Find the source files, if location was not specified. |
691 if test -z "$srcdir"; then | 541 if test -z "$srcdir"; then |
692 ac_srcdir_defaulted=yes | 542 ac_srcdir_defaulted=yes |
693 # Try the directory containing this script, then its parent. | 543 # Try the directory containing this script, then its parent. |
694 ac_confdir=`(dirname "$0") 2>/dev/null || | 544 ac_prog=$0 |
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 545 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` |
696 X"$0" : 'X\(//\)[^/]' \| \ | 546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
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'` | |
706 srcdir=$ac_confdir | 547 srcdir=$ac_confdir |
707 if test ! -r $srcdir/$ac_unique_file; then | 548 if test ! -r $srcdir/$ac_unique_file; then |
708 srcdir=.. | 549 srcdir=.. |
709 fi | 550 fi |
710 else | 551 else |
711 ac_srcdir_defaulted=no | 552 ac_srcdir_defaulted=no |
712 fi | 553 fi |
713 if test ! -r $srcdir/$ac_unique_file; then | 554 if test ! -r $srcdir/$ac_unique_file; then |
714 if test "$ac_srcdir_defaulted" = yes; then | 555 if test "$ac_srcdir_defaulted" = yes; then |
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 |
716 { (exit 1); exit 1; }; } | 557 { (exit 1); exit 1; }; } |
717 else | 558 else |
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 559 { echo "$as_me: error: cannot find sources in $srcdir" >&2 |
719 { (exit 1); exit 1; }; } | 560 { (exit 1); exit 1; }; } |
720 fi | 561 fi |
721 fi | 562 fi |
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 563 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
723 ac_env_build_alias_set=${build_alias+set} | 564 ac_env_build_alias_set=${build_alias+set} |
757 # Report the --help message. | 598 # Report the --help message. |
758 # | 599 # |
759 if test "$ac_init_help" = "long"; then | 600 if test "$ac_init_help" = "long"; then |
760 # Omit some internal or obsolete options to make the list less imposing. | 601 # Omit some internal or obsolete options to make the list less imposing. |
761 # This message is too long to be a string in the A/UX 3.1 sh. | 602 # This message is too long to be a string in the A/UX 3.1 sh. |
762 cat <<_ACEOF | 603 cat <<EOF |
763 \`configure' configures this package to adapt to many kinds of systems. | 604 \`configure' configures this package to adapt to many kinds of systems. |
764 | 605 |
765 Usage: $0 [OPTION]... [VAR=VALUE]... | 606 Usage: $0 [OPTION]... [VAR=VALUE]... |
766 | 607 |
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as | 608 To assign environment variables (e.g., CC, CFLAGS...), specify them as |
778 --cache-file=FILE cache test results in FILE [disabled] | 619 --cache-file=FILE cache test results in FILE [disabled] |
779 -C, --config-cache alias for \`--cache-file=config.cache' | 620 -C, --config-cache alias for \`--cache-file=config.cache' |
780 -n, --no-create do not create output files | 621 -n, --no-create do not create output files |
781 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 622 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
782 | 623 |
783 _ACEOF | 624 EOF |
784 | 625 |
785 cat <<_ACEOF | 626 cat <<EOF |
786 Installation directories: | 627 Installation directories: |
787 --prefix=PREFIX install architecture-independent files in PREFIX | 628 --prefix=PREFIX install architecture-independent files in PREFIX |
788 [$ac_default_prefix] | 629 [$ac_default_prefix] |
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 630 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
790 [PREFIX] | 631 [PREFIX] |
807 --libdir=DIR object code libraries [EPREFIX/lib] | 648 --libdir=DIR object code libraries [EPREFIX/lib] |
808 --includedir=DIR C header files [PREFIX/include] | 649 --includedir=DIR C header files [PREFIX/include] |
809 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 650 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
810 --infodir=DIR info documentation [PREFIX/info] | 651 --infodir=DIR info documentation [PREFIX/info] |
811 --mandir=DIR man documentation [PREFIX/man] | 652 --mandir=DIR man documentation [PREFIX/man] |
812 _ACEOF | 653 EOF |
813 | 654 |
814 cat <<\_ACEOF | 655 cat <<\EOF |
815 | 656 |
816 Program names: | 657 Program names: |
817 --program-prefix=PREFIX prepend PREFIX to installed program names | 658 --program-prefix=PREFIX prepend PREFIX to installed program names |
818 --program-suffix=SUFFIX append SUFFIX to installed program names | 659 --program-suffix=SUFFIX append SUFFIX to installed program names |
819 --program-transform-name=PROGRAM run sed PROGRAM on installed program names | 660 --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
822 --x-includes=DIR X include files are in DIR | 663 --x-includes=DIR X include files are in DIR |
823 --x-libraries=DIR X library files are in DIR | 664 --x-libraries=DIR X library files are in DIR |
824 | 665 |
825 System types: | 666 System types: |
826 --build=BUILD configure for building on BUILD [guessed] | 667 --build=BUILD configure for building on BUILD [guessed] |
827 --host=HOST cross-compile to build programs to run on HOST [BUILD] | 668 --host=HOST build programs to run on HOST [BUILD] |
828 _ACEOF | 669 EOF |
829 fi | 670 fi |
830 | 671 |
831 if test -n "$ac_init_help"; then | 672 if test -n "$ac_init_help"; then |
832 | 673 |
833 cat <<\_ACEOF | 674 cat <<\EOF |
834 | 675 |
835 Optional Features: | 676 Optional Features: |
836 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 677 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
837 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 678 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
838 --disable-largefile omit support for large files | 679 --disable-largefile omit support for large files |
870 CPP C preprocessor | 711 CPP C preprocessor |
871 | 712 |
872 Use these variables to override the choices made by `configure' or to help | 713 Use these variables to override the choices made by `configure' or to help |
873 it to find libraries and programs with nonstandard names/locations. | 714 it to find libraries and programs with nonstandard names/locations. |
874 | 715 |
875 _ACEOF | 716 EOF |
876 fi | 717 fi |
877 | 718 |
878 if test "$ac_init_help" = "recursive"; then | 719 if test "$ac_init_help" = "recursive"; then |
879 # If there are subdirs, report their specific --help. | 720 # If there are subdirs, report their specific --help. |
880 ac_popdir=`pwd` | 721 ac_popdir=`pwd` |
881 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 722 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue |
882 test -d $ac_dir || continue | 723 cd $ac_subdir |
883 ac_builddir=. | 724 # A "../" for each directory in /$ac_subdir. |
884 | 725 ac_dots=`echo $ac_subdir | |
885 if test "$ac_dir" != .; then | 726 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` |
886 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 727 |
887 # A "../" for each directory in $ac_dir_suffix. | 728 case $srcdir in |
888 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 729 .) # No --srcdir option. We are building in place. |
889 else | 730 ac_sub_srcdir=$srcdir ;; |
890 ac_dir_suffix= ac_top_builddir= | 731 [\\/]* | ?:[\\/]* ) # Absolute path. |
891 fi | 732 ac_sub_srcdir=$srcdir/$ac_subdir ;; |
892 | 733 *) # Relative path. |
893 case $srcdir in | 734 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; |
894 .) # No --srcdir option. We are building in place. | 735 esac |
895 ac_srcdir=. | 736 |
896 if test -z "$ac_top_builddir"; then | |
897 ac_top_srcdir=. | |
898 else | |
899 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
900 fi ;; | |
901 [\\/]* | ?:[\\/]* ) # Absolute path. | |
902 ac_srcdir=$srcdir$ac_dir_suffix; | |
903 ac_top_srcdir=$srcdir ;; | |
904 *) # Relative path. | |
905 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
906 ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
907 esac | |
908 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
909 # absolute. | |
910 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
911 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | |
912 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
913 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
914 | |
915 cd $ac_dir | |
916 # Check for guested configure; otherwise get Cygnus style configure. | 737 # Check for guested configure; otherwise get Cygnus style configure. |
917 if test -f $ac_srcdir/configure.gnu; then | 738 if test -f $ac_sub_srcdir/configure.gnu; then |
918 echo | 739 echo |
919 $SHELL $ac_srcdir/configure.gnu --help=recursive | 740 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive |
920 elif test -f $ac_srcdir/configure; then | 741 elif test -f $ac_sub_srcdir/configure; then |
921 echo | 742 echo |
922 $SHELL $ac_srcdir/configure --help=recursive | 743 $SHELL $ac_sub_srcdir/configure --help=recursive |
923 elif test -f $ac_srcdir/configure.ac || | 744 elif test -f $ac_sub_srcdir/configure.ac || |
924 test -f $ac_srcdir/configure.in; then | 745 test -f $ac_sub_srcdir/configure.in; then |
925 echo | 746 echo |
926 $ac_configure --help | 747 $ac_configure --help |
927 else | 748 else |
928 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 749 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 |
929 fi | 750 fi |
930 cd $ac_popdir | 751 cd $ac_popdir |
931 done | 752 done |
932 fi | 753 fi |
933 | 754 |
934 test -n "$ac_init_help" && exit 0 | 755 test -n "$ac_init_help" && exit 0 |
935 if $ac_init_version; then | 756 if $ac_init_version; then |
936 cat <<\_ACEOF | 757 cat <<\EOF |
937 | 758 |
938 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 759 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
939 Free Software Foundation, Inc. | 760 Free Software Foundation, Inc. |
940 This configure script is free software; the Free Software Foundation | 761 This configure script is free software; the Free Software Foundation |
941 gives unlimited permission to copy, distribute and modify it. | 762 gives unlimited permission to copy, distribute and modify it. |
942 _ACEOF | 763 EOF |
943 exit 0 | 764 exit 0 |
944 fi | 765 fi |
945 exec 5>config.log | 766 exec 5>config.log |
946 cat >&5 <<_ACEOF | 767 cat >&5 <<EOF |
947 This file contains any messages produced by compilers while | 768 This file contains any messages produced by compilers while |
948 running configure, to aid debugging if configure makes a mistake. | 769 running configure, to aid debugging if configure makes a mistake. |
949 | 770 |
950 It was created by $as_me, which was | 771 It was created by $as_me, which was |
951 generated by GNU Autoconf 2.53. Invocation command line was | 772 generated by GNU Autoconf 2.52. Invocation command line was |
952 | 773 |
953 $ $0 $@ | 774 $ $0 $@ |
954 | 775 |
955 _ACEOF | 776 EOF |
956 { | 777 { |
957 cat <<_ASUNAME | 778 cat <<_ASUNAME |
958 ## --------- ## | 779 ## ---------- ## |
959 ## Platform. ## | 780 ## Platform. ## |
960 ## --------- ## | 781 ## ---------- ## |
961 | 782 |
962 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 783 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
963 uname -m = `(uname -m) 2>/dev/null || echo unknown` | 784 uname -m = `(uname -m) 2>/dev/null || echo unknown` |
964 uname -r = `(uname -r) 2>/dev/null || echo unknown` | 785 uname -r = `(uname -r) 2>/dev/null || echo unknown` |
965 uname -s = `(uname -s) 2>/dev/null || echo unknown` | 786 uname -s = `(uname -s) 2>/dev/null || echo unknown` |
974 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | 795 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
975 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | 796 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
976 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 797 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
977 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 798 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
978 | 799 |
800 PATH = $PATH | |
801 | |
979 _ASUNAME | 802 _ASUNAME |
980 | |
981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
982 for as_dir in $PATH | |
983 do | |
984 IFS=$as_save_IFS | |
985 test -z "$as_dir" && as_dir=. | |
986 echo "PATH: $as_dir" | |
987 done | |
988 | |
989 } >&5 | 803 } >&5 |
990 | 804 |
991 cat >&5 <<_ACEOF | 805 cat >&5 <<EOF |
992 | 806 ## ------------ ## |
993 | 807 ## Core tests. ## |
994 ## ----------- ## | 808 ## ------------ ## |
995 ## Core tests. ## | 809 |
996 ## ----------- ## | 810 EOF |
997 | |
998 _ACEOF | |
999 | |
1000 | 811 |
1001 # Keep a trace of the command line. | 812 # Keep a trace of the command line. |
1002 # Strip out --no-create and --no-recursion so they do not pile up. | 813 # Strip out --no-create and --no-recursion so they do not pile up. |
1003 # Also quote any args containing shell meta-characters. | 814 # Also quote any args containing shell meta-characters. |
1004 ac_configure_args= | 815 ac_configure_args= |
1005 ac_sep= | 816 ac_sep= |
1006 for ac_arg | 817 for ac_arg |
1007 do | 818 do |
1008 case $ac_arg in | 819 case $ac_arg in |
1009 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 820 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
1010 | --no-cr | --no-c | -n ) continue ;; | 821 | --no-cr | --no-c) ;; |
1011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 822 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
1012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 823 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
1013 continue ;; | |
1014 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 824 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1015 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 825 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` |
1016 esac | 826 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1017 case " $ac_configure_args " in | 827 ac_sep=" " ;; |
1018 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 828 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" |
1019 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 829 ac_sep=" " ;; |
1020 ac_sep=" " ;; | |
1021 esac | 830 esac |
1022 # Get rid of the leading space. | 831 # Get rid of the leading space. |
1023 done | 832 done |
1024 | 833 |
1025 # When interrupted or exit'd, cleanup temporary files, and complete | 834 # When interrupted or exit'd, cleanup temporary files, and complete |
1026 # config.log. We remove comments because anyway the quotes in there | 835 # config.log. We remove comments because anyway the quotes in there |
1027 # would cause problems or look ugly. | 836 # would cause problems or look ugly. |
1028 # WARNING: Be sure not to use single quotes in there, as some shells, | |
1029 # such as our DU 5.0 friend, will then `close' the trap. | |
1030 trap 'exit_status=$? | 837 trap 'exit_status=$? |
1031 # Save into config.log some information that might help in debugging. | 838 # Save into config.log some information that might help in debugging. |
1032 { | 839 echo >&5 |
1033 echo | 840 echo "## ----------------- ##" >&5 |
1034 cat <<\_ASBOX | 841 echo "## Cache variables. ##" >&5 |
1035 ## ---------------- ## | 842 echo "## ----------------- ##" >&5 |
1036 ## Cache variables. ## | 843 echo >&5 |
1037 ## ---------------- ## | 844 # The following way of writing the cache mishandles newlines in values, |
1038 _ASBOX | |
1039 echo | |
1040 # The following way of writing the cache mishandles newlines in values, | |
1041 { | 845 { |
1042 (set) 2>&1 | | 846 (set) 2>&1 | |
1043 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 847 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1044 *ac_space=\ *) | 848 *ac_space=\ *) |
1045 sed -n \ | 849 sed -n \ |
1049 *) | 853 *) |
1050 sed -n \ | 854 sed -n \ |
1051 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 855 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1052 ;; | 856 ;; |
1053 esac; | 857 esac; |
1054 } | 858 } >&5 |
1055 echo | 859 sed "/^$/d" confdefs.h >conftest.log |
1056 if test -s confdefs.h; then | 860 if test -s conftest.log; then |
1057 cat <<\_ASBOX | 861 echo >&5 |
1058 ## ----------- ## | 862 echo "## ------------ ##" >&5 |
1059 ## confdefs.h. ## | 863 echo "## confdefs.h. ##" >&5 |
1060 ## ----------- ## | 864 echo "## ------------ ##" >&5 |
1061 _ASBOX | 865 echo >&5 |
1062 echo | 866 cat conftest.log >&5 |
1063 sed "/^$/d" confdefs.h | 867 fi |
1064 echo | 868 (echo; echo) >&5 |
1065 fi | 869 test "$ac_signal" != 0 && |
1066 test "$ac_signal" != 0 && | 870 echo "$as_me: caught signal $ac_signal" >&5 |
1067 echo "$as_me: caught signal $ac_signal" | 871 echo "$as_me: exit $exit_status" >&5 |
1068 echo "$as_me: exit $exit_status" | 872 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && |
1069 } >&5 | |
1070 rm -f core core.* *.core && | |
1071 rm -rf conftest* confdefs* conf$$* $ac_clean_files && | |
1072 exit $exit_status | 873 exit $exit_status |
1073 ' 0 | 874 ' 0 |
1074 for ac_signal in 1 2 13 15; do | 875 for ac_signal in 1 2 13 15; do |
1075 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 876 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1076 done | 877 done |
1078 | 879 |
1079 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 880 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1080 rm -rf conftest* confdefs.h | 881 rm -rf conftest* confdefs.h |
1081 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 882 # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1082 echo >confdefs.h | 883 echo >confdefs.h |
1083 | |
1084 # Predefined preprocessor variables. | |
1085 | |
1086 cat >>confdefs.h <<_ACEOF | |
1087 #define PACKAGE_NAME "$PACKAGE_NAME" | |
1088 _ACEOF | |
1089 | |
1090 | |
1091 cat >>confdefs.h <<_ACEOF | |
1092 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1093 _ACEOF | |
1094 | |
1095 | |
1096 cat >>confdefs.h <<_ACEOF | |
1097 #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1098 _ACEOF | |
1099 | |
1100 | |
1101 cat >>confdefs.h <<_ACEOF | |
1102 #define PACKAGE_STRING "$PACKAGE_STRING" | |
1103 _ACEOF | |
1104 | |
1105 | |
1106 cat >>confdefs.h <<_ACEOF | |
1107 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1108 _ACEOF | |
1109 | |
1110 | 884 |
1111 # Let the site file select an alternate cache file if it wants to. | 885 # Let the site file select an alternate cache file if it wants to. |
1112 # Prefer explicitly selected file to automatically selected ones. | 886 # Prefer explicitly selected file to automatically selected ones. |
1113 if test -z "$CONFIG_SITE"; then | 887 if test -z "$CONFIG_SITE"; then |
1114 if test "x$prefix" != xNONE; then | 888 if test "x$prefix" != xNONE; then |
1117 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 891 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1118 fi | 892 fi |
1119 fi | 893 fi |
1120 for ac_site_file in $CONFIG_SITE; do | 894 for ac_site_file in $CONFIG_SITE; do |
1121 if test -r "$ac_site_file"; then | 895 if test -r "$ac_site_file"; then |
1122 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 896 { echo "$as_me:896: loading site script $ac_site_file" >&5 |
1123 echo "$as_me: loading site script $ac_site_file" >&6;} | 897 echo "$as_me: loading site script $ac_site_file" >&6;} |
1124 sed 's/^/| /' "$ac_site_file" >&5 | 898 cat "$ac_site_file" >&5 |
1125 . "$ac_site_file" | 899 . "$ac_site_file" |
1126 fi | 900 fi |
1127 done | 901 done |
1128 | 902 |
1129 if test -r "$cache_file"; then | 903 if test -r "$cache_file"; then |
1130 # Some versions of bash will fail to source /dev/null (special | 904 # Some versions of bash will fail to source /dev/null (special |
1131 # files actually), so we avoid doing that. | 905 # files actually), so we avoid doing that. |
1132 if test -f "$cache_file"; then | 906 if test -f "$cache_file"; then |
1133 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 907 { echo "$as_me:907: loading cache $cache_file" >&5 |
1134 echo "$as_me: loading cache $cache_file" >&6;} | 908 echo "$as_me: loading cache $cache_file" >&6;} |
1135 case $cache_file in | 909 case $cache_file in |
1136 [\\/]* | ?:[\\/]* ) . $cache_file;; | 910 [\\/]* | ?:[\\/]* ) . $cache_file;; |
1137 *) . ./$cache_file;; | 911 *) . ./$cache_file;; |
1138 esac | 912 esac |
1139 fi | 913 fi |
1140 else | 914 else |
1141 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 915 { echo "$as_me:915: creating cache $cache_file" >&5 |
1142 echo "$as_me: creating cache $cache_file" >&6;} | 916 echo "$as_me: creating cache $cache_file" >&6;} |
1143 >$cache_file | 917 >$cache_file |
1144 fi | 918 fi |
1145 | 919 |
1146 # Check that the precious variables saved in the cache have kept the same | 920 # Check that the precious variables saved in the cache have kept the same |
1152 eval ac_new_set=\$ac_env_${ac_var}_set | 926 eval ac_new_set=\$ac_env_${ac_var}_set |
1153 eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 927 eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1154 eval ac_new_val="\$ac_env_${ac_var}_value" | 928 eval ac_new_val="\$ac_env_${ac_var}_value" |
1155 case $ac_old_set,$ac_new_set in | 929 case $ac_old_set,$ac_new_set in |
1156 set,) | 930 set,) |
1157 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 931 { echo "$as_me:931: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1158 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 932 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1159 ac_cache_corrupted=: ;; | 933 ac_cache_corrupted=: ;; |
1160 ,set) | 934 ,set) |
1161 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 935 { echo "$as_me:935: error: \`$ac_var' was not set in the previous run" >&5 |
1162 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 936 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1163 ac_cache_corrupted=: ;; | 937 ac_cache_corrupted=: ;; |
1164 ,);; | 938 ,);; |
1165 *) | 939 *) |
1166 if test "x$ac_old_val" != "x$ac_new_val"; then | 940 if test "x$ac_old_val" != "x$ac_new_val"; then |
1167 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 941 { echo "$as_me:941: error: \`$ac_var' has changed since the previous run:" >&5 |
1168 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 942 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1169 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | 943 { echo "$as_me:943: former value: $ac_old_val" >&5 |
1170 echo "$as_me: former value: $ac_old_val" >&2;} | 944 echo "$as_me: former value: $ac_old_val" >&2;} |
1171 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | 945 { echo "$as_me:945: current value: $ac_new_val" >&5 |
1172 echo "$as_me: current value: $ac_new_val" >&2;} | 946 echo "$as_me: current value: $ac_new_val" >&2;} |
1173 ac_cache_corrupted=: | 947 ac_cache_corrupted=: |
1174 fi;; | 948 fi;; |
1175 esac | 949 esac |
1176 # Pass precious variables to config.status. | 950 # Pass precious variables to config.status. It doesn't matter if |
951 # we pass some twice (in addition to the command line arguments). | |
1177 if test "$ac_new_set" = set; then | 952 if test "$ac_new_set" = set; then |
1178 case $ac_new_val in | 953 case $ac_new_val in |
1179 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 954 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1180 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 955 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` |
1181 *) ac_arg=$ac_var=$ac_new_val ;; | 956 ac_configure_args="$ac_configure_args '$ac_arg'" |
1182 esac | 957 ;; |
1183 case " $ac_configure_args " in | 958 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" |
1184 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 959 ;; |
1185 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
1186 esac | 960 esac |
1187 fi | 961 fi |
1188 done | 962 done |
1189 if $ac_cache_corrupted; then | 963 if $ac_cache_corrupted; then |
1190 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 964 { echo "$as_me:964: error: changes in the environment can compromise the build" >&5 |
1191 echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 965 echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1192 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 966 { { echo "$as_me:966: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1193 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 967 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1194 { (exit 1); exit 1; }; } | 968 { (exit 1); exit 1; }; } |
1195 fi | 969 fi |
1196 | 970 |
1197 ac_ext=c | 971 ac_ext=c |
1198 ac_cpp='$CPP $CPPFLAGS' | 972 ac_cpp='$CPP $CPPFLAGS' |
1199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1201 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 975 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1202 | 976 |
1203 | 977 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
1204 | 978 *c*,-n*) ECHO_N= ECHO_C=' |
1205 | 979 ' ECHO_T=' ' ;; |
1206 | 980 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
1207 | 981 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
1208 | 982 esac |
1209 | 983 echo "#! $SHELL" >conftest.sh |
1210 | 984 echo "exit 0" >>conftest.sh |
1211 | 985 chmod +x conftest.sh |
1212 | 986 if { (echo "$as_me:986: PATH=\".;.\"; conftest.sh") >&5 |
1213 | 987 (PATH=".;."; conftest.sh) 2>&5 |
1214 | 988 ac_status=$? |
1215 | 989 echo "$as_me:989: \$? = $ac_status" >&5 |
1216 | 990 (exit $ac_status); }; then |
1217 | 991 ac_path_separator=';' |
1218 | 992 else |
993 ac_path_separator=: | |
994 fi | |
995 PATH_SEPARATOR="$ac_path_separator" | |
996 rm -f conftest.sh | |
1219 | 997 |
1220 ac_config_headers="$ac_config_headers src/config.h:src/config.in" | 998 ac_config_headers="$ac_config_headers src/config.h:src/config.in" |
1221 | |
1222 | 999 |
1223 test "$program_prefix" != NONE && | 1000 test "$program_prefix" != NONE && |
1224 program_transform_name="s,^,$program_prefix,;$program_transform_name" | 1001 program_transform_name="s,^,$program_prefix,;$program_transform_name" |
1225 # Use a double $ so make ignores it. | 1002 # Use a double $ so make ignores it. |
1226 test "$program_suffix" != NONE && | 1003 test "$program_suffix" != NONE && |
1231 s/[\\$]/&&/g;s/;s,x,x,$// | 1008 s/[\\$]/&&/g;s/;s,x,x,$// |
1232 _ACEOF | 1009 _ACEOF |
1233 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 1010 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1234 rm conftest.sed | 1011 rm conftest.sed |
1235 | 1012 |
1236 | |
1237 lispdir='${datadir}/emacs/${version}/lisp' | 1013 lispdir='${datadir}/emacs/${version}/lisp' |
1238 locallisppath='${datadir}/emacs/${version}/site-lisp:'\ | 1014 locallisppath='${datadir}/emacs/${version}/site-lisp:'\ |
1239 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim' | 1015 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim' |
1240 lisppath='${locallisppath}:${lispdir}' | 1016 lisppath='${locallisppath}:${lispdir}' |
1241 etcdir='${datadir}/emacs/${version}/etc' | 1017 etcdir='${datadir}/emacs/${version}/etc' |
1242 archlibdir='${libexecdir}/emacs/${version}/${configuration}' | 1018 archlibdir='${libexecdir}/emacs/${version}/${configuration}' |
1243 docdir='${datadir}/emacs/${version}/etc' | 1019 docdir='${datadir}/emacs/${version}/etc' |
1244 gamedir=yes | 1020 gamedir=yes |
1245 | 1021 |
1246 | |
1247 # Check whether --with-game-dir or --without-game-dir was given. | 1022 # Check whether --with-game-dir or --without-game-dir was given. |
1248 if test "${with_game_dir+set}" = set; then | 1023 if test "${with_game_dir+set}" = set; then |
1249 withval="$with_game_dir" | 1024 withval="$with_game_dir" |
1250 | 1025 |
1251 gamedir="$withval" | 1026 gamedir="$withval" |
1255 gamedir="${localstatedir}/games/emacs" | 1030 gamedir="${localstatedir}/games/emacs" |
1256 fi | 1031 fi |
1257 eval tgamedir=\"$gamedir\" | 1032 eval tgamedir=\"$gamedir\" |
1258 if test "$gamedir" != no; then | 1033 if test "$gamedir" != no; then |
1259 | 1034 |
1260 cat >>confdefs.h <<_ACEOF | 1035 cat >>confdefs.h <<EOF |
1261 #define HAVE_SHARED_GAME_DIR "$tgamedir" | 1036 #define HAVE_SHARED_GAME_DIR "$tgamedir" |
1262 _ACEOF | 1037 EOF |
1263 | 1038 |
1264 fi | 1039 fi |
1265 | 1040 |
1266 gameuser=games | 1041 gameuser=games |
1267 | 1042 |
1269 if test "${with_game_user+set}" = set; then | 1044 if test "${with_game_user+set}" = set; then |
1270 withval="$with_game_user" | 1045 withval="$with_game_user" |
1271 gameuser="$withval" | 1046 gameuser="$withval" |
1272 fi; | 1047 fi; |
1273 | 1048 |
1274 | |
1275 # Check whether --with-gcc or --without-gcc was given. | 1049 # Check whether --with-gcc or --without-gcc was given. |
1276 if test "${with_gcc+set}" = set; then | 1050 if test "${with_gcc+set}" = set; then |
1277 withval="$with_gcc" | 1051 withval="$with_gcc" |
1278 | 1052 |
1279 fi; | 1053 fi; |
1280 | 1054 |
1281 # Check whether --with-pop or --without-pop was given. | 1055 # Check whether --with-pop or --without-pop was given. |
1282 if test "${with_pop+set}" = set; then | 1056 if test "${with_pop+set}" = set; then |
1283 withval="$with_pop" | 1057 withval="$with_pop" |
1284 if test "$withval" = yes; then | 1058 if test "$withval" = yes; then |
1285 cat >>confdefs.h <<\_ACEOF | 1059 cat >>confdefs.h <<\EOF |
1286 #define MAIL_USE_POP 1 | 1060 #define MAIL_USE_POP 1 |
1287 _ACEOF | 1061 EOF |
1288 | 1062 |
1289 else : | 1063 else : |
1290 fi | 1064 fi |
1291 else | 1065 else |
1292 cat >>confdefs.h <<\_ACEOF | 1066 cat >>confdefs.h <<\EOF |
1293 #define MAIL_USE_POP 1 | 1067 #define MAIL_USE_POP 1 |
1294 _ACEOF | 1068 EOF |
1295 | 1069 |
1296 fi; | 1070 fi; |
1297 | |
1298 | 1071 |
1299 # Check whether --with-kerberos or --without-kerberos was given. | 1072 # Check whether --with-kerberos or --without-kerberos was given. |
1300 if test "${with_kerberos+set}" = set; then | 1073 if test "${with_kerberos+set}" = set; then |
1301 withval="$with_kerberos" | 1074 withval="$with_kerberos" |
1302 cat >>confdefs.h <<\_ACEOF | 1075 cat >>confdefs.h <<\EOF |
1303 #define KERBEROS 1 | 1076 #define KERBEROS 1 |
1304 _ACEOF | 1077 EOF |
1305 | 1078 |
1306 fi; | 1079 fi; |
1307 | |
1308 | 1080 |
1309 # Check whether --with-kerberos5 or --without-kerberos5 was given. | 1081 # Check whether --with-kerberos5 or --without-kerberos5 was given. |
1310 if test "${with_kerberos5+set}" = set; then | 1082 if test "${with_kerberos5+set}" = set; then |
1311 withval="$with_kerberos5" | 1083 withval="$with_kerberos5" |
1312 if test "${with_kerberos5+set}" = set; then | 1084 if test "${with_kerberos5+set}" = set; then |
1313 if test "${with_kerberos+set}" != set; then | 1085 if test "${with_kerberos+set}" != set; then |
1314 with_kerberos=yes | 1086 with_kerberos=yes |
1315 cat >>confdefs.h <<\_ACEOF | 1087 cat >>confdefs.h <<\EOF |
1316 #define KERBEROS 1 | 1088 #define KERBEROS 1 |
1317 _ACEOF | 1089 EOF |
1318 | 1090 |
1319 fi | 1091 fi |
1320 fi | 1092 fi |
1321 | 1093 |
1322 cat >>confdefs.h <<\_ACEOF | 1094 cat >>confdefs.h <<\EOF |
1323 #define KERBEROS5 1 | 1095 #define KERBEROS5 1 |
1324 _ACEOF | 1096 EOF |
1325 | 1097 |
1326 fi; | 1098 fi; |
1327 | 1099 |
1328 # Check whether --with-hesiod or --without-hesiod was given. | 1100 # Check whether --with-hesiod or --without-hesiod was given. |
1329 if test "${with_hesiod+set}" = set; then | 1101 if test "${with_hesiod+set}" = set; then |
1330 withval="$with_hesiod" | 1102 withval="$with_hesiod" |
1331 | 1103 |
1332 cat >>confdefs.h <<\_ACEOF | 1104 cat >>confdefs.h <<\EOF |
1333 #define HESIOD 1 | 1105 #define HESIOD 1 |
1334 _ACEOF | 1106 EOF |
1335 | 1107 |
1336 fi; | 1108 fi; |
1337 | |
1338 | 1109 |
1339 # Check whether --with-sound or --without-sound was given. | 1110 # Check whether --with-sound or --without-sound was given. |
1340 if test "${with_sound+set}" = set; then | 1111 if test "${with_sound+set}" = set; then |
1341 withval="$with_sound" | 1112 withval="$with_sound" |
1342 | 1113 |
1343 fi; | 1114 fi; |
1344 | |
1345 | 1115 |
1346 # Check whether --with-x-toolkit or --without-x-toolkit was given. | 1116 # Check whether --with-x-toolkit or --without-x-toolkit was given. |
1347 if test "${with_x_toolkit+set}" = set; then | 1117 if test "${with_x_toolkit+set}" = set; then |
1348 withval="$with_x_toolkit" | 1118 withval="$with_x_toolkit" |
1349 case "${withval}" in | 1119 case "${withval}" in |
1351 n | no ) val=no ;; | 1121 n | no ) val=no ;; |
1352 l | lu | luc | luci | lucid ) val=lucid ;; | 1122 l | lu | luc | luci | lucid ) val=lucid ;; |
1353 a | at | ath | athe | athen | athena ) val=athena ;; | 1123 a | at | ath | athe | athen | athena ) val=athena ;; |
1354 m | mo | mot | moti | motif ) val=motif ;; | 1124 m | mo | mot | moti | motif ) val=motif ;; |
1355 * ) | 1125 * ) |
1356 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\; | 1126 { { echo "$as_me:1126: error: \`--with-x-toolkit=$withval' is invalid\; |
1357 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. | 1127 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. |
1358 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5 | 1128 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5 |
1359 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\; | 1129 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\; |
1360 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. | 1130 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. |
1361 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;} | 1131 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;} |
1439 esac | 1209 esac |
1440 | 1210 |
1441 #### Check if the source directory already has a configured system in it. | 1211 #### Check if the source directory already has a configured system in it. |
1442 if test `pwd` != `(cd ${srcdir} && pwd)` \ | 1212 if test `pwd` != `(cd ${srcdir} && pwd)` \ |
1443 && test -f "${srcdir}/src/config.h" ; then | 1213 && test -f "${srcdir}/src/config.h" ; then |
1444 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used | 1214 { echo "$as_me:1214: WARNING: The directory tree \`${srcdir}' is being used |
1445 as a build directory right now; it has been configured in its own | 1215 as a build directory right now; it has been configured in its own |
1446 right. To configure in another directory as well, you MUST | 1216 right. To configure in another directory as well, you MUST |
1447 use GNU make. If you do not have GNU make, then you must | 1217 use GNU make. If you do not have GNU make, then you must |
1448 now do \`make distclean' in ${srcdir}, | 1218 now do \`make distclean' in ${srcdir}, |
1449 and then run $0 again." >&5 | 1219 and then run $0 again." >&5 |
1484 ac_install_sh="$ac_aux_dir/shtool install -c" | 1254 ac_install_sh="$ac_aux_dir/shtool install -c" |
1485 break | 1255 break |
1486 fi | 1256 fi |
1487 done | 1257 done |
1488 if test -z "$ac_aux_dir"; then | 1258 if test -z "$ac_aux_dir"; then |
1489 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 1259 { { echo "$as_me:1259: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
1490 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 1260 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1491 { (exit 1); exit 1; }; } | 1261 { (exit 1); exit 1; }; } |
1492 fi | 1262 fi |
1493 ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 1263 ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1494 ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 1264 ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1495 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 1265 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1496 | 1266 |
1497 # Make sure we can run config.sub. | 1267 # Make sure we can run config.sub. |
1498 $ac_config_sub sun4 >/dev/null 2>&1 || | 1268 $ac_config_sub sun4 >/dev/null 2>&1 || |
1499 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 1269 { { echo "$as_me:1269: error: cannot run $ac_config_sub" >&5 |
1500 echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 1270 echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1501 { (exit 1); exit 1; }; } | 1271 { (exit 1); exit 1; }; } |
1502 | 1272 |
1503 echo "$as_me:$LINENO: checking build system type" >&5 | 1273 echo "$as_me:1273: checking build system type" >&5 |
1504 echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 1274 echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1505 if test "${ac_cv_build+set}" = set; then | 1275 if test "${ac_cv_build+set}" = set; then |
1506 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1276 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1507 else | 1277 else |
1508 ac_cv_build_alias=$build_alias | 1278 ac_cv_build_alias=$build_alias |
1509 test -z "$ac_cv_build_alias" && | 1279 test -z "$ac_cv_build_alias" && |
1510 ac_cv_build_alias=`$ac_config_guess` | 1280 ac_cv_build_alias=`$ac_config_guess` |
1511 test -z "$ac_cv_build_alias" && | 1281 test -z "$ac_cv_build_alias" && |
1512 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 1282 { { echo "$as_me:1282: error: cannot guess build type; you must specify one" >&5 |
1513 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 1283 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1514 { (exit 1); exit 1; }; } | 1284 { (exit 1); exit 1; }; } |
1515 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 1285 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
1516 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 1286 { { echo "$as_me:1286: error: $ac_config_sub $ac_cv_build_alias failed." >&5 |
1517 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 1287 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} |
1518 { (exit 1); exit 1; }; } | 1288 { (exit 1); exit 1; }; } |
1519 | 1289 |
1520 fi | 1290 fi |
1521 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 1291 echo "$as_me:1291: result: $ac_cv_build" >&5 |
1522 echo "${ECHO_T}$ac_cv_build" >&6 | 1292 echo "${ECHO_T}$ac_cv_build" >&6 |
1523 build=$ac_cv_build | 1293 build=$ac_cv_build |
1524 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 1294 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1525 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 1295 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1526 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 1296 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1527 | 1297 |
1528 | 1298 echo "$as_me:1298: checking host system type" >&5 |
1529 echo "$as_me:$LINENO: checking host system type" >&5 | |
1530 echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 1299 echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
1531 if test "${ac_cv_host+set}" = set; then | 1300 if test "${ac_cv_host+set}" = set; then |
1532 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1301 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1533 else | 1302 else |
1534 ac_cv_host_alias=$host_alias | 1303 ac_cv_host_alias=$host_alias |
1535 test -z "$ac_cv_host_alias" && | 1304 test -z "$ac_cv_host_alias" && |
1536 ac_cv_host_alias=$ac_cv_build_alias | 1305 ac_cv_host_alias=$ac_cv_build_alias |
1537 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 1306 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
1538 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 1307 { { echo "$as_me:1307: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1539 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 1308 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
1540 { (exit 1); exit 1; }; } | 1309 { (exit 1); exit 1; }; } |
1541 | 1310 |
1542 fi | 1311 fi |
1543 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 1312 echo "$as_me:1312: result: $ac_cv_host" >&5 |
1544 echo "${ECHO_T}$ac_cv_host" >&6 | 1313 echo "${ECHO_T}$ac_cv_host" >&6 |
1545 host=$ac_cv_host | 1314 host=$ac_cv_host |
1546 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 1315 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1547 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 1316 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1548 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 1317 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1549 | 1318 |
1550 | |
1551 canonical=$host | 1319 canonical=$host |
1552 configuration=${host_alias-$host} | 1320 configuration=${host_alias-$host} |
1553 | |
1554 | 1321 |
1555 ### If you add support for a new configuration, add code to this | 1322 ### If you add support for a new configuration, add code to this |
1556 ### switch statement to recognize your configuration name and select | 1323 ### switch statement to recognize your configuration name and select |
1557 ### the appropriate operating system and machine description files. | 1324 ### the appropriate operating system and machine description files. |
1558 | 1325 |
2516 unported=yes | 2283 unported=yes |
2517 ;; | 2284 ;; |
2518 esac | 2285 esac |
2519 fi | 2286 fi |
2520 | 2287 |
2521 | |
2522 if test $unported = yes; then | 2288 if test $unported = yes; then |
2523 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. | 2289 { { echo "$as_me:2289: error: Emacs hasn't been ported to \`${canonical}' systems. |
2524 Check \`etc/MACHINES' for recognized configuration names." >&5 | 2290 Check \`etc/MACHINES' for recognized configuration names." >&5 |
2525 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. | 2291 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. |
2526 Check \`etc/MACHINES' for recognized configuration names." >&2;} | 2292 Check \`etc/MACHINES' for recognized configuration names." >&2;} |
2527 { (exit 1); exit 1; }; } | 2293 { (exit 1); exit 1; }; } |
2528 fi | 2294 fi |
2529 | 2295 |
2530 machfile="m/${machine}.h" | 2296 machfile="m/${machine}.h" |
2531 opsysfile="s/${opsys}.h" | 2297 opsysfile="s/${opsys}.h" |
2532 | |
2533 | 2298 |
2534 #### Choose a compiler. | 2299 #### Choose a compiler. |
2535 test -n "$CC" && cc_specified=yes | 2300 test -n "$CC" && cc_specified=yes |
2536 | 2301 |
2537 # Save the value of CFLAGS that the user specified. | 2302 # Save the value of CFLAGS that the user specified. |
2548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2549 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2314 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2550 if test -n "$ac_tool_prefix"; then | 2315 if test -n "$ac_tool_prefix"; then |
2551 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2316 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2552 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2317 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2553 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2318 echo "$as_me:2318: checking for $ac_word" >&5 |
2554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2555 if test "${ac_cv_prog_CC+set}" = set; then | 2320 if test "${ac_cv_prog_CC+set}" = set; then |
2556 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2321 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2557 else | 2322 else |
2558 if test -n "$CC"; then | 2323 if test -n "$CC"; then |
2559 ac_cv_prog_CC="$CC" # Let the user override the test. | 2324 ac_cv_prog_CC="$CC" # Let the user override the test. |
2560 else | 2325 else |
2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2326 ac_save_IFS=$IFS; IFS=$ac_path_separator |
2562 for as_dir in $PATH | 2327 ac_dummy="$PATH" |
2563 do | 2328 for ac_dir in $ac_dummy; do |
2564 IFS=$as_save_IFS | 2329 IFS=$ac_save_IFS |
2565 test -z "$as_dir" && as_dir=. | 2330 test -z "$ac_dir" && ac_dir=. |
2566 for ac_exec_ext in '' $ac_executable_extensions; do | 2331 $as_executable_p "$ac_dir/$ac_word" || continue |
2567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2332 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2568 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 2333 echo "$as_me:2333: found $ac_dir/$ac_word" >&5 |
2569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2334 break |
2570 break 2 | |
2571 fi | |
2572 done | |
2573 done | 2335 done |
2574 | 2336 |
2575 fi | 2337 fi |
2576 fi | 2338 fi |
2577 CC=$ac_cv_prog_CC | 2339 CC=$ac_cv_prog_CC |
2578 if test -n "$CC"; then | 2340 if test -n "$CC"; then |
2579 echo "$as_me:$LINENO: result: $CC" >&5 | 2341 echo "$as_me:2341: result: $CC" >&5 |
2580 echo "${ECHO_T}$CC" >&6 | 2342 echo "${ECHO_T}$CC" >&6 |
2581 else | 2343 else |
2582 echo "$as_me:$LINENO: result: no" >&5 | 2344 echo "$as_me:2344: result: no" >&5 |
2583 echo "${ECHO_T}no" >&6 | 2345 echo "${ECHO_T}no" >&6 |
2584 fi | 2346 fi |
2585 | 2347 |
2586 fi | 2348 fi |
2587 if test -z "$ac_cv_prog_CC"; then | 2349 if test -z "$ac_cv_prog_CC"; then |
2588 ac_ct_CC=$CC | 2350 ac_ct_CC=$CC |
2589 # Extract the first word of "gcc", so it can be a program name with args. | 2351 # Extract the first word of "gcc", so it can be a program name with args. |
2590 set dummy gcc; ac_word=$2 | 2352 set dummy gcc; ac_word=$2 |
2591 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2353 echo "$as_me:2353: checking for $ac_word" >&5 |
2592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2593 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2355 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2594 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2356 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2595 else | 2357 else |
2596 if test -n "$ac_ct_CC"; then | 2358 if test -n "$ac_ct_CC"; then |
2597 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2359 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2598 else | 2360 else |
2599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2361 ac_save_IFS=$IFS; IFS=$ac_path_separator |
2600 for as_dir in $PATH | 2362 ac_dummy="$PATH" |
2601 do | 2363 for ac_dir in $ac_dummy; do |
2602 IFS=$as_save_IFS | 2364 IFS=$ac_save_IFS |
2603 test -z "$as_dir" && as_dir=. | 2365 test -z "$ac_dir" && ac_dir=. |
2604 for ac_exec_ext in '' $ac_executable_extensions; do | 2366 $as_executable_p "$ac_dir/$ac_word" || continue |
2605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2367 ac_cv_prog_ac_ct_CC="gcc" |
2606 ac_cv_prog_ac_ct_CC="gcc" | 2368 echo "$as_me:2368: found $ac_dir/$ac_word" >&5 |
2607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2369 break |
2608 break 2 | |
2609 fi | |
2610 done | |
2611 done | 2370 done |
2612 | 2371 |
2613 fi | 2372 fi |
2614 fi | 2373 fi |
2615 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2374 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2616 if test -n "$ac_ct_CC"; then | 2375 if test -n "$ac_ct_CC"; then |
2617 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2376 echo "$as_me:2376: result: $ac_ct_CC" >&5 |
2618 echo "${ECHO_T}$ac_ct_CC" >&6 | 2377 echo "${ECHO_T}$ac_ct_CC" >&6 |
2619 else | 2378 else |
2620 echo "$as_me:$LINENO: result: no" >&5 | 2379 echo "$as_me:2379: result: no" >&5 |
2621 echo "${ECHO_T}no" >&6 | 2380 echo "${ECHO_T}no" >&6 |
2622 fi | 2381 fi |
2623 | 2382 |
2624 CC=$ac_ct_CC | 2383 CC=$ac_ct_CC |
2625 else | 2384 else |
2628 | 2387 |
2629 if test -z "$CC"; then | 2388 if test -z "$CC"; then |
2630 if test -n "$ac_tool_prefix"; then | 2389 if test -n "$ac_tool_prefix"; then |
2631 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2390 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2632 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2391 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2633 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2392 echo "$as_me:2392: checking for $ac_word" >&5 |
2634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2635 if test "${ac_cv_prog_CC+set}" = set; then | 2394 if test "${ac_cv_prog_CC+set}" = set; then |
2636 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2395 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2637 else | 2396 else |
2638 if test -n "$CC"; then | 2397 if test -n "$CC"; then |
2639 ac_cv_prog_CC="$CC" # Let the user override the test. | 2398 ac_cv_prog_CC="$CC" # Let the user override the test. |
2640 else | 2399 else |
2641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2400 ac_save_IFS=$IFS; IFS=$ac_path_separator |
2642 for as_dir in $PATH | 2401 ac_dummy="$PATH" |
2643 do | 2402 for ac_dir in $ac_dummy; do |
2644 IFS=$as_save_IFS | 2403 IFS=$ac_save_IFS |
2645 test -z "$as_dir" && as_dir=. | 2404 test -z "$ac_dir" && ac_dir=. |
2646 for ac_exec_ext in '' $ac_executable_extensions; do | 2405 $as_executable_p "$ac_dir/$ac_word" || continue |
2647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2406 ac_cv_prog_CC="${ac_tool_prefix}cc" |
2648 ac_cv_prog_CC="${ac_tool_prefix}cc" | 2407 echo "$as_me:2407: found $ac_dir/$ac_word" >&5 |
2649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2408 break |
2650 break 2 | |
2651 fi | |
2652 done | |
2653 done | 2409 done |
2654 | 2410 |
2655 fi | 2411 fi |
2656 fi | 2412 fi |
2657 CC=$ac_cv_prog_CC | 2413 CC=$ac_cv_prog_CC |
2658 if test -n "$CC"; then | 2414 if test -n "$CC"; then |
2659 echo "$as_me:$LINENO: result: $CC" >&5 | 2415 echo "$as_me:2415: result: $CC" >&5 |
2660 echo "${ECHO_T}$CC" >&6 | 2416 echo "${ECHO_T}$CC" >&6 |
2661 else | 2417 else |
2662 echo "$as_me:$LINENO: result: no" >&5 | 2418 echo "$as_me:2418: result: no" >&5 |
2663 echo "${ECHO_T}no" >&6 | 2419 echo "${ECHO_T}no" >&6 |
2664 fi | 2420 fi |
2665 | 2421 |
2666 fi | 2422 fi |
2667 if test -z "$ac_cv_prog_CC"; then | 2423 if test -z "$ac_cv_prog_CC"; then |
2668 ac_ct_CC=$CC | 2424 ac_ct_CC=$CC |
2669 # Extract the first word of "cc", so it can be a program name with args. | 2425 # Extract the first word of "cc", so it can be a program name with args. |
2670 set dummy cc; ac_word=$2 | 2426 set dummy cc; ac_word=$2 |
2671 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2427 echo "$as_me:2427: checking for $ac_word" >&5 |
2672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2673 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2674 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2430 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2675 else | 2431 else |
2676 if test -n "$ac_ct_CC"; then | 2432 if test -n "$ac_ct_CC"; then |
2677 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2678 else | 2434 else |
2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2435 ac_save_IFS=$IFS; IFS=$ac_path_separator |
2680 for as_dir in $PATH | 2436 ac_dummy="$PATH" |
2681 do | 2437 for ac_dir in $ac_dummy; do |
2682 IFS=$as_save_IFS | 2438 IFS=$ac_save_IFS |
2683 test -z "$as_dir" && as_dir=. | 2439 test -z "$ac_dir" && ac_dir=. |
2684 for ac_exec_ext in '' $ac_executable_extensions; do | 2440 $as_executable_p "$ac_dir/$ac_word" || continue |
2685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2441 ac_cv_prog_ac_ct_CC="cc" |
2686 ac_cv_prog_ac_ct_CC="cc" | 2442 echo "$as_me:2442: found $ac_dir/$ac_word" >&5 |
2687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2443 break |
2688 break 2 | |
2689 fi | |
2690 done | |
2691 done | 2444 done |
2692 | 2445 |
2693 fi | 2446 fi |
2694 fi | 2447 fi |
2695 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2448 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2696 if test -n "$ac_ct_CC"; then | 2449 if test -n "$ac_ct_CC"; then |
2697 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2450 echo "$as_me:2450: result: $ac_ct_CC" >&5 |
2698 echo "${ECHO_T}$ac_ct_CC" >&6 | 2451 echo "${ECHO_T}$ac_ct_CC" >&6 |
2699 else | 2452 else |
2700 echo "$as_me:$LINENO: result: no" >&5 | 2453 echo "$as_me:2453: result: no" >&5 |
2701 echo "${ECHO_T}no" >&6 | 2454 echo "${ECHO_T}no" >&6 |
2702 fi | 2455 fi |
2703 | 2456 |
2704 CC=$ac_ct_CC | 2457 CC=$ac_ct_CC |
2705 else | 2458 else |
2708 | 2461 |
2709 fi | 2462 fi |
2710 if test -z "$CC"; then | 2463 if test -z "$CC"; then |
2711 # Extract the first word of "cc", so it can be a program name with args. | 2464 # Extract the first word of "cc", so it can be a program name with args. |
2712 set dummy cc; ac_word=$2 | 2465 set dummy cc; ac_word=$2 |
2713 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2466 echo "$as_me:2466: checking for $ac_word" >&5 |
2714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2715 if test "${ac_cv_prog_CC+set}" = set; then | 2468 if test "${ac_cv_prog_CC+set}" = set; then |
2716 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2469 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2717 else | 2470 else |
2718 if test -n "$CC"; then | 2471 if test -n "$CC"; then |
2719 ac_cv_prog_CC="$CC" # Let the user override the test. | 2472 ac_cv_prog_CC="$CC" # Let the user override the test. |
2720 else | 2473 else |
2721 ac_prog_rejected=no | 2474 ac_prog_rejected=no |
2722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2475 ac_save_IFS=$IFS; IFS=$ac_path_separator |
2723 for as_dir in $PATH | 2476 ac_dummy="$PATH" |
2724 do | 2477 for ac_dir in $ac_dummy; do |
2725 IFS=$as_save_IFS | 2478 IFS=$ac_save_IFS |
2726 test -z "$as_dir" && as_dir=. | 2479 test -z "$ac_dir" && ac_dir=. |
2727 for ac_exec_ext in '' $ac_executable_extensions; do | 2480 $as_executable_p "$ac_dir/$ac_word" || continue |
2728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2481 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
2729 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 2482 ac_prog_rejected=yes |
2730 ac_prog_rejected=yes | 2483 continue |
2731 continue | 2484 fi |
2732 fi | 2485 ac_cv_prog_CC="cc" |
2733 ac_cv_prog_CC="cc" | 2486 echo "$as_me:2486: found $ac_dir/$ac_word" >&5 |
2734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2487 break |
2735 break 2 | |
2736 fi | |
2737 done | |
2738 done | 2488 done |
2739 | 2489 |
2740 if test $ac_prog_rejected = yes; then | 2490 if test $ac_prog_rejected = yes; then |
2741 # We found a bogon in the path, so make sure we never use it. | 2491 # We found a bogon in the path, so make sure we never use it. |
2742 set dummy $ac_cv_prog_CC | 2492 set dummy $ac_cv_prog_CC |
2744 if test $# != 0; then | 2494 if test $# != 0; then |
2745 # We chose a different compiler from the bogus one. | 2495 # We chose a different compiler from the bogus one. |
2746 # However, it has the same basename, so the bogon will be chosen | 2496 # However, it has the same basename, so the bogon will be chosen |
2747 # first if we set CC to just the basename; use the full file name. | 2497 # first if we set CC to just the basename; use the full file name. |
2748 shift | 2498 shift |
2749 set dummy "$as_dir/$ac_word" ${1+"$@"} | 2499 set dummy "$ac_dir/$ac_word" ${1+"$@"} |
2750 shift | 2500 shift |
2751 ac_cv_prog_CC="$@" | 2501 ac_cv_prog_CC="$@" |
2752 fi | 2502 fi |
2753 fi | 2503 fi |
2754 fi | 2504 fi |
2755 fi | 2505 fi |
2756 CC=$ac_cv_prog_CC | 2506 CC=$ac_cv_prog_CC |
2757 if test -n "$CC"; then | 2507 if test -n "$CC"; then |
2758 echo "$as_me:$LINENO: result: $CC" >&5 | 2508 echo "$as_me:2508: result: $CC" >&5 |
2759 echo "${ECHO_T}$CC" >&6 | 2509 echo "${ECHO_T}$CC" >&6 |
2760 else | 2510 else |
2761 echo "$as_me:$LINENO: result: no" >&5 | 2511 echo "$as_me:2511: result: no" >&5 |
2762 echo "${ECHO_T}no" >&6 | 2512 echo "${ECHO_T}no" >&6 |
2763 fi | 2513 fi |
2764 | 2514 |
2765 fi | 2515 fi |
2766 if test -z "$CC"; then | 2516 if test -z "$CC"; then |
2767 if test -n "$ac_tool_prefix"; then | 2517 if test -n "$ac_tool_prefix"; then |
2768 for ac_prog in cl | 2518 for ac_prog in cl |
2769 do | 2519 do |
2770 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2771 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2521 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2772 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2522 echo "$as_me:2522: checking for $ac_word" >&5 |
2773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2774 if test "${ac_cv_prog_CC+set}" = set; then | 2524 if test "${ac_cv_prog_CC+set}" = set; then |
2775 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2525 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2776 else | 2526 else |
2777 if test -n "$CC"; then | 2527 if test -n "$CC"; then |
2778 ac_cv_prog_CC="$CC" # Let the user override the test. | 2528 ac_cv_prog_CC="$CC" # Let the user override the test. |
2779 else | 2529 else |
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2530 ac_save_IFS=$IFS; IFS=$ac_path_separator |
2781 for as_dir in $PATH | 2531 ac_dummy="$PATH" |
2782 do | 2532 for ac_dir in $ac_dummy; do |
2783 IFS=$as_save_IFS | 2533 IFS=$ac_save_IFS |
2784 test -z "$as_dir" && as_dir=. | 2534 test -z "$ac_dir" && ac_dir=. |
2785 for ac_exec_ext in '' $ac_executable_extensions; do | 2535 $as_executable_p "$ac_dir/$ac_word" || continue |
2786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2536 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2787 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2537 echo "$as_me:2537: found $ac_dir/$ac_word" >&5 |
2788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2538 break |
2789 break 2 | |
2790 fi | |
2791 done | |
2792 done | 2539 done |
2793 | 2540 |
2794 fi | 2541 fi |
2795 fi | 2542 fi |
2796 CC=$ac_cv_prog_CC | 2543 CC=$ac_cv_prog_CC |
2797 if test -n "$CC"; then | 2544 if test -n "$CC"; then |
2798 echo "$as_me:$LINENO: result: $CC" >&5 | 2545 echo "$as_me:2545: result: $CC" >&5 |
2799 echo "${ECHO_T}$CC" >&6 | 2546 echo "${ECHO_T}$CC" >&6 |
2800 else | 2547 else |
2801 echo "$as_me:$LINENO: result: no" >&5 | 2548 echo "$as_me:2548: result: no" >&5 |
2802 echo "${ECHO_T}no" >&6 | 2549 echo "${ECHO_T}no" >&6 |
2803 fi | 2550 fi |
2804 | 2551 |
2805 test -n "$CC" && break | 2552 test -n "$CC" && break |
2806 done | 2553 done |
2809 ac_ct_CC=$CC | 2556 ac_ct_CC=$CC |
2810 for ac_prog in cl | 2557 for ac_prog in cl |
2811 do | 2558 do |
2812 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2559 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2813 set dummy $ac_prog; ac_word=$2 | 2560 set dummy $ac_prog; ac_word=$2 |
2814 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2561 echo "$as_me:2561: checking for $ac_word" >&5 |
2815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2816 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2817 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2564 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2818 else | 2565 else |
2819 if test -n "$ac_ct_CC"; then | 2566 if test -n "$ac_ct_CC"; then |
2820 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2821 else | 2568 else |
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2569 ac_save_IFS=$IFS; IFS=$ac_path_separator |
2823 for as_dir in $PATH | 2570 ac_dummy="$PATH" |
2824 do | 2571 for ac_dir in $ac_dummy; do |
2825 IFS=$as_save_IFS | 2572 IFS=$ac_save_IFS |
2826 test -z "$as_dir" && as_dir=. | 2573 test -z "$ac_dir" && ac_dir=. |
2827 for ac_exec_ext in '' $ac_executable_extensions; do | 2574 $as_executable_p "$ac_dir/$ac_word" || continue |
2828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2575 ac_cv_prog_ac_ct_CC="$ac_prog" |
2829 ac_cv_prog_ac_ct_CC="$ac_prog" | 2576 echo "$as_me:2576: found $ac_dir/$ac_word" >&5 |
2830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2577 break |
2831 break 2 | |
2832 fi | |
2833 done | |
2834 done | 2578 done |
2835 | 2579 |
2836 fi | 2580 fi |
2837 fi | 2581 fi |
2838 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2582 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2839 if test -n "$ac_ct_CC"; then | 2583 if test -n "$ac_ct_CC"; then |
2840 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2584 echo "$as_me:2584: result: $ac_ct_CC" >&5 |
2841 echo "${ECHO_T}$ac_ct_CC" >&6 | 2585 echo "${ECHO_T}$ac_ct_CC" >&6 |
2842 else | 2586 else |
2843 echo "$as_me:$LINENO: result: no" >&5 | 2587 echo "$as_me:2587: result: no" >&5 |
2844 echo "${ECHO_T}no" >&6 | 2588 echo "${ECHO_T}no" >&6 |
2845 fi | 2589 fi |
2846 | 2590 |
2847 test -n "$ac_ct_CC" && break | 2591 test -n "$ac_ct_CC" && break |
2848 done | 2592 done |
2850 CC=$ac_ct_CC | 2594 CC=$ac_ct_CC |
2851 fi | 2595 fi |
2852 | 2596 |
2853 fi | 2597 fi |
2854 | 2598 |
2855 | 2599 test -z "$CC" && { { echo "$as_me:2599: error: no acceptable cc found in \$PATH" >&5 |
2856 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 | 2600 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
2857 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} | |
2858 { (exit 1); exit 1; }; } | 2601 { (exit 1); exit 1; }; } |
2859 | 2602 |
2860 # Provide some information about the compiler. | 2603 # Provide some information about the compiler. |
2861 echo "$as_me:$LINENO:" \ | 2604 echo "$as_me:2604:" \ |
2862 "checking for C compiler version" >&5 | 2605 "checking for C compiler version" >&5 |
2863 ac_compiler=`set X $ac_compile; echo $2` | 2606 ac_compiler=`set X $ac_compile; echo $2` |
2864 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 2607 { (eval echo "$as_me:2607: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2865 (eval $ac_compiler --version </dev/null >&5) 2>&5 | 2608 (eval $ac_compiler --version </dev/null >&5) 2>&5 |
2866 ac_status=$? | 2609 ac_status=$? |
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2610 echo "$as_me:2610: \$? = $ac_status" >&5 |
2868 (exit $ac_status); } | 2611 (exit $ac_status); } |
2869 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 2612 { (eval echo "$as_me:2612: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2870 (eval $ac_compiler -v </dev/null >&5) 2>&5 | 2613 (eval $ac_compiler -v </dev/null >&5) 2>&5 |
2871 ac_status=$? | 2614 ac_status=$? |
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2615 echo "$as_me:2615: \$? = $ac_status" >&5 |
2873 (exit $ac_status); } | 2616 (exit $ac_status); } |
2874 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 2617 { (eval echo "$as_me:2617: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2875 (eval $ac_compiler -V </dev/null >&5) 2>&5 | 2618 (eval $ac_compiler -V </dev/null >&5) 2>&5 |
2876 ac_status=$? | 2619 ac_status=$? |
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2620 echo "$as_me:2620: \$? = $ac_status" >&5 |
2878 (exit $ac_status); } | 2621 (exit $ac_status); } |
2879 | 2622 |
2880 cat >conftest.$ac_ext <<_ACEOF | 2623 cat >conftest.$ac_ext <<_ACEOF |
2881 #line $LINENO "configure" | 2624 #line 2624 "configure" |
2882 #include "confdefs.h" | 2625 #include "confdefs.h" |
2883 | 2626 |
2884 #ifdef F77_DUMMY_MAIN | |
2885 # ifdef __cplusplus | |
2886 extern "C" | |
2887 # endif | |
2888 int F77_DUMMY_MAIN() { return 1; } | |
2889 #endif | |
2890 int | 2627 int |
2891 main () | 2628 main () |
2892 { | 2629 { |
2893 | 2630 |
2894 ; | 2631 ; |
2898 ac_clean_files_save=$ac_clean_files | 2635 ac_clean_files_save=$ac_clean_files |
2899 ac_clean_files="$ac_clean_files a.out a.exe" | 2636 ac_clean_files="$ac_clean_files a.out a.exe" |
2900 # Try to create an executable without -o first, disregard a.out. | 2637 # Try to create an executable without -o first, disregard a.out. |
2901 # It will help us diagnose broken compilers, and finding out an intuition | 2638 # It will help us diagnose broken compilers, and finding out an intuition |
2902 # of exeext. | 2639 # of exeext. |
2903 echo "$as_me:$LINENO: checking for C compiler default output" >&5 | 2640 echo "$as_me:2640: checking for C compiler default output" >&5 |
2904 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | 2641 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2905 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2642 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2906 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 2643 if { (eval echo "$as_me:2643: \"$ac_link_default\"") >&5 |
2907 (eval $ac_link_default) 2>&5 | 2644 (eval $ac_link_default) 2>&5 |
2908 ac_status=$? | 2645 ac_status=$? |
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2646 echo "$as_me:2646: \$? = $ac_status" >&5 |
2910 (exit $ac_status); }; then | 2647 (exit $ac_status); }; then |
2911 # Find the output, starting from the most likely. This scheme is | 2648 # Find the output, starting from the most likely. This scheme is |
2912 # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 2649 # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2913 # resort. | 2650 # resort. |
2914 | 2651 for ac_file in `ls a.exe conftest.exe 2>/dev/null; |
2915 # Be careful to initialize this variable, since it used to be cached. | |
2916 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | |
2917 ac_cv_exeext= | |
2918 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; | |
2919 ls a.out conftest 2>/dev/null; | 2652 ls a.out conftest 2>/dev/null; |
2920 ls a.* conftest.* 2>/dev/null`; do | 2653 ls a.* conftest.* 2>/dev/null`; do |
2921 case $ac_file in | 2654 case $ac_file in |
2922 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; | 2655 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
2923 a.out ) # We found the default executable, but exeext='' is most | 2656 a.out ) # We found the default executable, but exeext='' is most |
2924 # certainly right. | 2657 # certainly right. |
2925 break;; | 2658 break;; |
2926 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2659 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2927 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. | 2660 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
2931 esac | 2664 esac |
2932 done | 2665 done |
2933 else | 2666 else |
2934 echo "$as_me: failed program was:" >&5 | 2667 echo "$as_me: failed program was:" >&5 |
2935 cat conftest.$ac_ext >&5 | 2668 cat conftest.$ac_ext >&5 |
2936 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 | 2669 { { echo "$as_me:2669: error: C compiler cannot create executables" >&5 |
2937 echo "$as_me: error: C compiler cannot create executables" >&2;} | 2670 echo "$as_me: error: C compiler cannot create executables" >&2;} |
2938 { (exit 77); exit 77; }; } | 2671 { (exit 77); exit 77; }; } |
2939 fi | 2672 fi |
2940 | 2673 |
2941 ac_exeext=$ac_cv_exeext | 2674 ac_exeext=$ac_cv_exeext |
2942 echo "$as_me:$LINENO: result: $ac_file" >&5 | 2675 echo "$as_me:2675: result: $ac_file" >&5 |
2943 echo "${ECHO_T}$ac_file" >&6 | 2676 echo "${ECHO_T}$ac_file" >&6 |
2944 | 2677 |
2945 # Check the compiler produces executables we can run. If not, either | 2678 # Check the compiler produces executables we can run. If not, either |
2946 # the compiler is broken, or we cross compile. | 2679 # the compiler is broken, or we cross compile. |
2947 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 2680 echo "$as_me:2680: checking whether the C compiler works" >&5 |
2948 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 2681 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
2949 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 2682 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2950 # If not cross compiling, check that we can run a simple program. | 2683 # If not cross compiling, check that we can run a simple program. |
2951 if test "$cross_compiling" != yes; then | 2684 if test "$cross_compiling" != yes; then |
2952 if { ac_try='./$ac_file' | 2685 if { ac_try='./$ac_file' |
2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2686 { (eval echo "$as_me:2686: \"$ac_try\"") >&5 |
2954 (eval $ac_try) 2>&5 | 2687 (eval $ac_try) 2>&5 |
2955 ac_status=$? | 2688 ac_status=$? |
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2689 echo "$as_me:2689: \$? = $ac_status" >&5 |
2957 (exit $ac_status); }; }; then | 2690 (exit $ac_status); }; }; then |
2958 cross_compiling=no | 2691 cross_compiling=no |
2959 else | 2692 else |
2960 if test "$cross_compiling" = maybe; then | 2693 if test "$cross_compiling" = maybe; then |
2961 cross_compiling=yes | 2694 cross_compiling=yes |
2962 else | 2695 else |
2963 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | 2696 { { echo "$as_me:2696: error: cannot run C compiled programs. |
2964 If you meant to cross compile, use \`--host'." >&5 | 2697 If you meant to cross compile, use \`--host'." >&5 |
2965 echo "$as_me: error: cannot run C compiled programs. | 2698 echo "$as_me: error: cannot run C compiled programs. |
2966 If you meant to cross compile, use \`--host'." >&2;} | 2699 If you meant to cross compile, use \`--host'." >&2;} |
2967 { (exit 1); exit 1; }; } | 2700 { (exit 1); exit 1; }; } |
2968 fi | 2701 fi |
2969 fi | 2702 fi |
2970 fi | 2703 fi |
2971 echo "$as_me:$LINENO: result: yes" >&5 | 2704 echo "$as_me:2704: result: yes" >&5 |
2972 echo "${ECHO_T}yes" >&6 | 2705 echo "${ECHO_T}yes" >&6 |
2973 | 2706 |
2974 rm -f a.out a.exe conftest$ac_cv_exeext | 2707 rm -f a.out a.exe conftest$ac_cv_exeext |
2975 ac_clean_files=$ac_clean_files_save | 2708 ac_clean_files=$ac_clean_files_save |
2976 # Check the compiler produces executables we can run. If not, either | 2709 # Check the compiler produces executables we can run. If not, either |
2977 # the compiler is broken, or we cross compile. | 2710 # the compiler is broken, or we cross compile. |
2978 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 2711 echo "$as_me:2711: checking whether we are cross compiling" >&5 |
2979 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 2712 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
2980 echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 2713 echo "$as_me:2713: result: $cross_compiling" >&5 |
2981 echo "${ECHO_T}$cross_compiling" >&6 | 2714 echo "${ECHO_T}$cross_compiling" >&6 |
2982 | 2715 |
2983 echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 2716 echo "$as_me:2716: checking for executable suffix" >&5 |
2984 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 2717 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
2985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 2718 if { (eval echo "$as_me:2718: \"$ac_link\"") >&5 |
2986 (eval $ac_link) 2>&5 | 2719 (eval $ac_link) 2>&5 |
2987 ac_status=$? | 2720 ac_status=$? |
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2721 echo "$as_me:2721: \$? = $ac_status" >&5 |
2989 (exit $ac_status); }; then | 2722 (exit $ac_status); }; then |
2990 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 2723 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2991 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 2724 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2992 # work properly (i.e., refer to `conftest.exe'), while it won't with | 2725 # work properly (i.e., refer to `conftest.exe'), while it won't with |
2993 # `rm'. | 2726 # `rm'. |
2999 break;; | 2732 break;; |
3000 * ) break;; | 2733 * ) break;; |
3001 esac | 2734 esac |
3002 done | 2735 done |
3003 else | 2736 else |
3004 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 | 2737 { { echo "$as_me:2737: error: cannot compute EXEEXT: cannot compile and link" >&5 |
3005 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} | 2738 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} |
3006 { (exit 1); exit 1; }; } | 2739 { (exit 1); exit 1; }; } |
3007 fi | 2740 fi |
3008 | 2741 |
3009 rm -f conftest$ac_cv_exeext | 2742 rm -f conftest$ac_cv_exeext |
3010 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 2743 echo "$as_me:2743: result: $ac_cv_exeext" >&5 |
3011 echo "${ECHO_T}$ac_cv_exeext" >&6 | 2744 echo "${ECHO_T}$ac_cv_exeext" >&6 |
3012 | 2745 |
3013 rm -f conftest.$ac_ext | 2746 rm -f conftest.$ac_ext |
3014 EXEEXT=$ac_cv_exeext | 2747 EXEEXT=$ac_cv_exeext |
3015 ac_exeext=$EXEEXT | 2748 ac_exeext=$EXEEXT |
3016 echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 2749 echo "$as_me:2749: checking for object suffix" >&5 |
3017 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 2750 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
3018 if test "${ac_cv_objext+set}" = set; then | 2751 if test "${ac_cv_objext+set}" = set; then |
3019 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2752 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3020 else | 2753 else |
3021 cat >conftest.$ac_ext <<_ACEOF | 2754 cat >conftest.$ac_ext <<_ACEOF |
3022 #line $LINENO "configure" | 2755 #line 2755 "configure" |
3023 #include "confdefs.h" | 2756 #include "confdefs.h" |
3024 | 2757 |
3025 #ifdef F77_DUMMY_MAIN | |
3026 # ifdef __cplusplus | |
3027 extern "C" | |
3028 # endif | |
3029 int F77_DUMMY_MAIN() { return 1; } | |
3030 #endif | |
3031 int | 2758 int |
3032 main () | 2759 main () |
3033 { | 2760 { |
3034 | 2761 |
3035 ; | 2762 ; |
3036 return 0; | 2763 return 0; |
3037 } | 2764 } |
3038 _ACEOF | 2765 _ACEOF |
3039 rm -f conftest.o conftest.obj | 2766 rm -f conftest.o conftest.obj |
3040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2767 if { (eval echo "$as_me:2767: \"$ac_compile\"") >&5 |
3041 (eval $ac_compile) 2>&5 | 2768 (eval $ac_compile) 2>&5 |
3042 ac_status=$? | 2769 ac_status=$? |
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2770 echo "$as_me:2770: \$? = $ac_status" >&5 |
3044 (exit $ac_status); }; then | 2771 (exit $ac_status); }; then |
3045 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 2772 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
3046 case $ac_file in | 2773 case $ac_file in |
3047 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | 2774 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
3048 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 2775 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3050 esac | 2777 esac |
3051 done | 2778 done |
3052 else | 2779 else |
3053 echo "$as_me: failed program was:" >&5 | 2780 echo "$as_me: failed program was:" >&5 |
3054 cat conftest.$ac_ext >&5 | 2781 cat conftest.$ac_ext >&5 |
3055 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 | 2782 { { echo "$as_me:2782: error: cannot compute OBJEXT: cannot compile" >&5 |
3056 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} | 2783 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} |
3057 { (exit 1); exit 1; }; } | 2784 { (exit 1); exit 1; }; } |
3058 fi | 2785 fi |
3059 | 2786 |
3060 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2787 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3061 fi | 2788 fi |
3062 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 2789 echo "$as_me:2789: result: $ac_cv_objext" >&5 |
3063 echo "${ECHO_T}$ac_cv_objext" >&6 | 2790 echo "${ECHO_T}$ac_cv_objext" >&6 |
3064 OBJEXT=$ac_cv_objext | 2791 OBJEXT=$ac_cv_objext |
3065 ac_objext=$OBJEXT | 2792 ac_objext=$OBJEXT |
3066 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 2793 echo "$as_me:2793: checking whether we are using the GNU C compiler" >&5 |
3067 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 2794 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
3068 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 2795 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
3069 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2796 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3070 else | 2797 else |
3071 cat >conftest.$ac_ext <<_ACEOF | 2798 cat >conftest.$ac_ext <<_ACEOF |
3072 #line $LINENO "configure" | 2799 #line 2799 "configure" |
3073 #include "confdefs.h" | 2800 #include "confdefs.h" |
3074 | 2801 |
3075 #ifdef F77_DUMMY_MAIN | |
3076 # ifdef __cplusplus | |
3077 extern "C" | |
3078 # endif | |
3079 int F77_DUMMY_MAIN() { return 1; } | |
3080 #endif | |
3081 int | 2802 int |
3082 main () | 2803 main () |
3083 { | 2804 { |
3084 #ifndef __GNUC__ | 2805 #ifndef __GNUC__ |
3085 choke me | 2806 choke me |
3088 ; | 2809 ; |
3089 return 0; | 2810 return 0; |
3090 } | 2811 } |
3091 _ACEOF | 2812 _ACEOF |
3092 rm -f conftest.$ac_objext | 2813 rm -f conftest.$ac_objext |
3093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2814 if { (eval echo "$as_me:2814: \"$ac_compile\"") >&5 |
3094 (eval $ac_compile) 2>&5 | 2815 (eval $ac_compile) 2>&5 |
3095 ac_status=$? | 2816 ac_status=$? |
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2817 echo "$as_me:2817: \$? = $ac_status" >&5 |
3097 (exit $ac_status); } && | 2818 (exit $ac_status); } && |
3098 { ac_try='test -s conftest.$ac_objext' | 2819 { ac_try='test -s conftest.$ac_objext' |
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2820 { (eval echo "$as_me:2820: \"$ac_try\"") >&5 |
3100 (eval $ac_try) 2>&5 | 2821 (eval $ac_try) 2>&5 |
3101 ac_status=$? | 2822 ac_status=$? |
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2823 echo "$as_me:2823: \$? = $ac_status" >&5 |
3103 (exit $ac_status); }; }; then | 2824 (exit $ac_status); }; }; then |
3104 ac_compiler_gnu=yes | 2825 ac_compiler_gnu=yes |
3105 else | 2826 else |
3106 echo "$as_me: failed program was:" >&5 | 2827 echo "$as_me: failed program was:" >&5 |
3107 cat conftest.$ac_ext >&5 | 2828 cat conftest.$ac_ext >&5 |
3109 fi | 2830 fi |
3110 rm -f conftest.$ac_objext conftest.$ac_ext | 2831 rm -f conftest.$ac_objext conftest.$ac_ext |
3111 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 2832 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3112 | 2833 |
3113 fi | 2834 fi |
3114 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 2835 echo "$as_me:2835: result: $ac_cv_c_compiler_gnu" >&5 |
3115 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 2836 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
3116 GCC=`test $ac_compiler_gnu = yes && echo yes` | 2837 GCC=`test $ac_compiler_gnu = yes && echo yes` |
3117 ac_test_CFLAGS=${CFLAGS+set} | 2838 ac_test_CFLAGS=${CFLAGS+set} |
3118 ac_save_CFLAGS=$CFLAGS | 2839 ac_save_CFLAGS=$CFLAGS |
3119 CFLAGS="-g" | 2840 CFLAGS="-g" |
3120 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 2841 echo "$as_me:2841: checking whether $CC accepts -g" >&5 |
3121 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 2842 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
3122 if test "${ac_cv_prog_cc_g+set}" = set; then | 2843 if test "${ac_cv_prog_cc_g+set}" = set; then |
3123 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2844 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3124 else | 2845 else |
3125 cat >conftest.$ac_ext <<_ACEOF | 2846 cat >conftest.$ac_ext <<_ACEOF |
3126 #line $LINENO "configure" | 2847 #line 2847 "configure" |
3127 #include "confdefs.h" | 2848 #include "confdefs.h" |
3128 | 2849 |
3129 #ifdef F77_DUMMY_MAIN | |
3130 # ifdef __cplusplus | |
3131 extern "C" | |
3132 # endif | |
3133 int F77_DUMMY_MAIN() { return 1; } | |
3134 #endif | |
3135 int | 2850 int |
3136 main () | 2851 main () |
3137 { | 2852 { |
3138 | 2853 |
3139 ; | 2854 ; |
3140 return 0; | 2855 return 0; |
3141 } | 2856 } |
3142 _ACEOF | 2857 _ACEOF |
3143 rm -f conftest.$ac_objext | 2858 rm -f conftest.$ac_objext |
3144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2859 if { (eval echo "$as_me:2859: \"$ac_compile\"") >&5 |
3145 (eval $ac_compile) 2>&5 | 2860 (eval $ac_compile) 2>&5 |
3146 ac_status=$? | 2861 ac_status=$? |
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2862 echo "$as_me:2862: \$? = $ac_status" >&5 |
3148 (exit $ac_status); } && | 2863 (exit $ac_status); } && |
3149 { ac_try='test -s conftest.$ac_objext' | 2864 { ac_try='test -s conftest.$ac_objext' |
3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2865 { (eval echo "$as_me:2865: \"$ac_try\"") >&5 |
3151 (eval $ac_try) 2>&5 | 2866 (eval $ac_try) 2>&5 |
3152 ac_status=$? | 2867 ac_status=$? |
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2868 echo "$as_me:2868: \$? = $ac_status" >&5 |
3154 (exit $ac_status); }; }; then | 2869 (exit $ac_status); }; }; then |
3155 ac_cv_prog_cc_g=yes | 2870 ac_cv_prog_cc_g=yes |
3156 else | 2871 else |
3157 echo "$as_me: failed program was:" >&5 | 2872 echo "$as_me: failed program was:" >&5 |
3158 cat conftest.$ac_ext >&5 | 2873 cat conftest.$ac_ext >&5 |
3159 ac_cv_prog_cc_g=no | 2874 ac_cv_prog_cc_g=no |
3160 fi | 2875 fi |
3161 rm -f conftest.$ac_objext conftest.$ac_ext | 2876 rm -f conftest.$ac_objext conftest.$ac_ext |
3162 fi | 2877 fi |
3163 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 2878 echo "$as_me:2878: result: $ac_cv_prog_cc_g" >&5 |
3164 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 2879 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
3165 if test "$ac_test_CFLAGS" = set; then | 2880 if test "$ac_test_CFLAGS" = set; then |
3166 CFLAGS=$ac_save_CFLAGS | 2881 CFLAGS=$ac_save_CFLAGS |
3167 elif test $ac_cv_prog_cc_g = yes; then | 2882 elif test $ac_cv_prog_cc_g = yes; then |
3168 if test "$GCC" = yes; then | 2883 if test "$GCC" = yes; then |
3185 #ifndef __cplusplus | 2900 #ifndef __cplusplus |
3186 choke me | 2901 choke me |
3187 #endif | 2902 #endif |
3188 _ACEOF | 2903 _ACEOF |
3189 rm -f conftest.$ac_objext | 2904 rm -f conftest.$ac_objext |
3190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2905 if { (eval echo "$as_me:2905: \"$ac_compile\"") >&5 |
3191 (eval $ac_compile) 2>&5 | 2906 (eval $ac_compile) 2>&5 |
3192 ac_status=$? | 2907 ac_status=$? |
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2908 echo "$as_me:2908: \$? = $ac_status" >&5 |
3194 (exit $ac_status); } && | 2909 (exit $ac_status); } && |
3195 { ac_try='test -s conftest.$ac_objext' | 2910 { ac_try='test -s conftest.$ac_objext' |
3196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2911 { (eval echo "$as_me:2911: \"$ac_try\"") >&5 |
3197 (eval $ac_try) 2>&5 | 2912 (eval $ac_try) 2>&5 |
3198 ac_status=$? | 2913 ac_status=$? |
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2914 echo "$as_me:2914: \$? = $ac_status" >&5 |
3200 (exit $ac_status); }; }; then | 2915 (exit $ac_status); }; }; then |
3201 for ac_declaration in \ | 2916 for ac_declaration in \ |
3202 ''\ | 2917 ''\ |
3203 '#include <stdlib.h>' \ | 2918 '#include <stdlib.h>' \ |
3204 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 2919 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
3206 'extern "C" void exit (int) throw ();' \ | 2921 'extern "C" void exit (int) throw ();' \ |
3207 'extern "C" void exit (int);' \ | 2922 'extern "C" void exit (int);' \ |
3208 'void exit (int);' | 2923 'void exit (int);' |
3209 do | 2924 do |
3210 cat >conftest.$ac_ext <<_ACEOF | 2925 cat >conftest.$ac_ext <<_ACEOF |
3211 #line $LINENO "configure" | 2926 #line 2926 "configure" |
3212 #include "confdefs.h" | 2927 #include "confdefs.h" |
3213 #include <stdlib.h> | 2928 #include <stdlib.h> |
3214 $ac_declaration | 2929 $ac_declaration |
3215 #ifdef F77_DUMMY_MAIN | |
3216 # ifdef __cplusplus | |
3217 extern "C" | |
3218 # endif | |
3219 int F77_DUMMY_MAIN() { return 1; } | |
3220 #endif | |
3221 int | 2930 int |
3222 main () | 2931 main () |
3223 { | 2932 { |
3224 exit (42); | 2933 exit (42); |
3225 ; | 2934 ; |
3226 return 0; | 2935 return 0; |
3227 } | 2936 } |
3228 _ACEOF | 2937 _ACEOF |
3229 rm -f conftest.$ac_objext | 2938 rm -f conftest.$ac_objext |
3230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2939 if { (eval echo "$as_me:2939: \"$ac_compile\"") >&5 |
3231 (eval $ac_compile) 2>&5 | 2940 (eval $ac_compile) 2>&5 |
3232 ac_status=$? | 2941 ac_status=$? |
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2942 echo "$as_me:2942: \$? = $ac_status" >&5 |
3234 (exit $ac_status); } && | 2943 (exit $ac_status); } && |
3235 { ac_try='test -s conftest.$ac_objext' | 2944 { ac_try='test -s conftest.$ac_objext' |
3236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2945 { (eval echo "$as_me:2945: \"$ac_try\"") >&5 |
3237 (eval $ac_try) 2>&5 | 2946 (eval $ac_try) 2>&5 |
3238 ac_status=$? | 2947 ac_status=$? |
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2948 echo "$as_me:2948: \$? = $ac_status" >&5 |
3240 (exit $ac_status); }; }; then | 2949 (exit $ac_status); }; }; then |
3241 : | 2950 : |
3242 else | 2951 else |
3243 echo "$as_me: failed program was:" >&5 | 2952 echo "$as_me: failed program was:" >&5 |
3244 cat conftest.$ac_ext >&5 | 2953 cat conftest.$ac_ext >&5 |
3245 continue | 2954 continue |
3246 fi | 2955 fi |
3247 rm -f conftest.$ac_objext conftest.$ac_ext | 2956 rm -f conftest.$ac_objext conftest.$ac_ext |
3248 cat >conftest.$ac_ext <<_ACEOF | 2957 cat >conftest.$ac_ext <<_ACEOF |
3249 #line $LINENO "configure" | 2958 #line 2958 "configure" |
3250 #include "confdefs.h" | 2959 #include "confdefs.h" |
3251 $ac_declaration | 2960 $ac_declaration |
3252 #ifdef F77_DUMMY_MAIN | |
3253 # ifdef __cplusplus | |
3254 extern "C" | |
3255 # endif | |
3256 int F77_DUMMY_MAIN() { return 1; } | |
3257 #endif | |
3258 int | 2961 int |
3259 main () | 2962 main () |
3260 { | 2963 { |
3261 exit (42); | 2964 exit (42); |
3262 ; | 2965 ; |
3263 return 0; | 2966 return 0; |
3264 } | 2967 } |
3265 _ACEOF | 2968 _ACEOF |
3266 rm -f conftest.$ac_objext | 2969 rm -f conftest.$ac_objext |
3267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2970 if { (eval echo "$as_me:2970: \"$ac_compile\"") >&5 |
3268 (eval $ac_compile) 2>&5 | 2971 (eval $ac_compile) 2>&5 |
3269 ac_status=$? | 2972 ac_status=$? |
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2973 echo "$as_me:2973: \$? = $ac_status" >&5 |
3271 (exit $ac_status); } && | 2974 (exit $ac_status); } && |
3272 { ac_try='test -s conftest.$ac_objext' | 2975 { ac_try='test -s conftest.$ac_objext' |
3273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2976 { (eval echo "$as_me:2976: \"$ac_try\"") >&5 |
3274 (eval $ac_try) 2>&5 | 2977 (eval $ac_try) 2>&5 |
3275 ac_status=$? | 2978 ac_status=$? |
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2979 echo "$as_me:2979: \$? = $ac_status" >&5 |
3277 (exit $ac_status); }; }; then | 2980 (exit $ac_status); }; }; then |
3278 break | 2981 break |
3279 else | 2982 else |
3280 echo "$as_me: failed program was:" >&5 | 2983 echo "$as_me: failed program was:" >&5 |
3281 cat conftest.$ac_ext >&5 | 2984 cat conftest.$ac_ext >&5 |
3298 ac_cpp='$CPP $CPPFLAGS' | 3001 ac_cpp='$CPP $CPPFLAGS' |
3299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3301 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3004 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3302 | 3005 |
3303 | |
3304 # On Suns, sometimes $CPP names a directory. | 3006 # On Suns, sometimes $CPP names a directory. |
3305 if test -n "$CPP" && test -d "$CPP"; then | 3007 if test -n "$CPP" && test -d "$CPP"; then |
3306 CPP= | 3008 CPP= |
3307 fi | 3009 fi |
3308 | 3010 |
3345 | 3047 |
3346 #### Some other nice autoconf tests. If you add a test here which | 3048 #### Some other nice autoconf tests. If you add a test here which |
3347 #### should make an entry in src/config.h, don't forget to add an | 3049 #### should make an entry in src/config.h, don't forget to add an |
3348 #### #undef clause to src/config.h.in for autoconf to modify. | 3050 #### #undef clause to src/config.h.in for autoconf to modify. |
3349 | 3051 |
3350 echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 3052 echo "$as_me:3052: checking whether ln -s works" >&5 |
3351 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 3053 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
3352 LN_S=$as_ln_s | 3054 LN_S=$as_ln_s |
3353 if test "$LN_S" = "ln -s"; then | 3055 if test "$LN_S" = "ln -s"; then |
3354 echo "$as_me:$LINENO: result: yes" >&5 | 3056 echo "$as_me:3056: result: yes" >&5 |
3355 echo "${ECHO_T}yes" >&6 | 3057 echo "${ECHO_T}yes" >&6 |
3356 else | 3058 else |
3357 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 3059 echo "$as_me:3059: result: no, using $LN_S" >&5 |
3358 echo "${ECHO_T}no, using $LN_S" >&6 | 3060 echo "${ECHO_T}no, using $LN_S" >&6 |
3359 fi | 3061 fi |
3360 | 3062 |
3361 ac_ext=c | 3063 ac_ext=c |
3362 ac_cpp='$CPP $CPPFLAGS' | 3064 ac_cpp='$CPP $CPPFLAGS' |
3363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3365 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3067 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3366 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 3068 echo "$as_me:3068: checking how to run the C preprocessor" >&5 |
3367 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 3069 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
3368 # On Suns, sometimes $CPP names a directory. | 3070 # On Suns, sometimes $CPP names a directory. |
3369 if test -n "$CPP" && test -d "$CPP"; then | 3071 if test -n "$CPP" && test -d "$CPP"; then |
3370 CPP= | 3072 CPP= |
3371 fi | 3073 fi |
3382 # Use a header file that comes with gcc, so configuring glibc | 3084 # Use a header file that comes with gcc, so configuring glibc |
3383 # with a fresh cross-compiler works. | 3085 # with a fresh cross-compiler works. |
3384 # On the NeXT, cc -E runs the code through the compiler's parser, | 3086 # On the NeXT, cc -E runs the code through the compiler's parser, |
3385 # not just through cpp. "Syntax error" is here to catch this case. | 3087 # not just through cpp. "Syntax error" is here to catch this case. |
3386 cat >conftest.$ac_ext <<_ACEOF | 3088 cat >conftest.$ac_ext <<_ACEOF |
3387 #line $LINENO "configure" | 3089 #line 3089 "configure" |
3388 #include "confdefs.h" | 3090 #include "confdefs.h" |
3389 #include <assert.h> | 3091 #include <assert.h> |
3390 Syntax error | 3092 Syntax error |
3391 _ACEOF | 3093 _ACEOF |
3392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3094 if { (eval echo "$as_me:3094: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3394 ac_status=$? | 3096 ac_status=$? |
3395 egrep -v '^ *\+' conftest.er1 >conftest.err | 3097 egrep -v '^ *\+' conftest.er1 >conftest.err |
3396 rm -f conftest.er1 | 3098 rm -f conftest.er1 |
3397 cat conftest.err >&5 | 3099 cat conftest.err >&5 |
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3100 echo "$as_me:3100: \$? = $ac_status" >&5 |
3399 (exit $ac_status); } >/dev/null; then | 3101 (exit $ac_status); } >/dev/null; then |
3400 if test -s conftest.err; then | 3102 if test -s conftest.err; then |
3401 ac_cpp_err=$ac_c_preproc_warn_flag | 3103 ac_cpp_err=$ac_c_preproc_warn_flag |
3402 else | 3104 else |
3403 ac_cpp_err= | 3105 ac_cpp_err= |
3416 rm -f conftest.err conftest.$ac_ext | 3118 rm -f conftest.err conftest.$ac_ext |
3417 | 3119 |
3418 # OK, works on sane cases. Now check whether non-existent headers | 3120 # OK, works on sane cases. Now check whether non-existent headers |
3419 # can be detected and how. | 3121 # can be detected and how. |
3420 cat >conftest.$ac_ext <<_ACEOF | 3122 cat >conftest.$ac_ext <<_ACEOF |
3421 #line $LINENO "configure" | 3123 #line 3123 "configure" |
3422 #include "confdefs.h" | 3124 #include "confdefs.h" |
3423 #include <ac_nonexistent.h> | 3125 #include <ac_nonexistent.h> |
3424 _ACEOF | 3126 _ACEOF |
3425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3127 if { (eval echo "$as_me:3127: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3128 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3427 ac_status=$? | 3129 ac_status=$? |
3428 egrep -v '^ *\+' conftest.er1 >conftest.err | 3130 egrep -v '^ *\+' conftest.er1 >conftest.err |
3429 rm -f conftest.er1 | 3131 rm -f conftest.er1 |
3430 cat conftest.err >&5 | 3132 cat conftest.err >&5 |
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3133 echo "$as_me:3133: \$? = $ac_status" >&5 |
3432 (exit $ac_status); } >/dev/null; then | 3134 (exit $ac_status); } >/dev/null; then |
3433 if test -s conftest.err; then | 3135 if test -s conftest.err; then |
3434 ac_cpp_err=$ac_c_preproc_warn_flag | 3136 ac_cpp_err=$ac_c_preproc_warn_flag |
3435 else | 3137 else |
3436 ac_cpp_err= | 3138 ac_cpp_err= |
3463 fi | 3165 fi |
3464 CPP=$ac_cv_prog_CPP | 3166 CPP=$ac_cv_prog_CPP |
3465 else | 3167 else |
3466 ac_cv_prog_CPP=$CPP | 3168 ac_cv_prog_CPP=$CPP |
3467 fi | 3169 fi |
3468 echo "$as_me:$LINENO: result: $CPP" >&5 | 3170 echo "$as_me:3170: result: $CPP" >&5 |
3469 echo "${ECHO_T}$CPP" >&6 | 3171 echo "${ECHO_T}$CPP" >&6 |
3470 ac_preproc_ok=false | 3172 ac_preproc_ok=false |
3471 for ac_c_preproc_warn_flag in '' yes | 3173 for ac_c_preproc_warn_flag in '' yes |
3472 do | 3174 do |
3473 # Use a header file that comes with gcc, so configuring glibc | 3175 # Use a header file that comes with gcc, so configuring glibc |
3474 # with a fresh cross-compiler works. | 3176 # with a fresh cross-compiler works. |
3475 # On the NeXT, cc -E runs the code through the compiler's parser, | 3177 # On the NeXT, cc -E runs the code through the compiler's parser, |
3476 # not just through cpp. "Syntax error" is here to catch this case. | 3178 # not just through cpp. "Syntax error" is here to catch this case. |
3477 cat >conftest.$ac_ext <<_ACEOF | 3179 cat >conftest.$ac_ext <<_ACEOF |
3478 #line $LINENO "configure" | 3180 #line 3180 "configure" |
3479 #include "confdefs.h" | 3181 #include "confdefs.h" |
3480 #include <assert.h> | 3182 #include <assert.h> |
3481 Syntax error | 3183 Syntax error |
3482 _ACEOF | 3184 _ACEOF |
3483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3185 if { (eval echo "$as_me:3185: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3485 ac_status=$? | 3187 ac_status=$? |
3486 egrep -v '^ *\+' conftest.er1 >conftest.err | 3188 egrep -v '^ *\+' conftest.er1 >conftest.err |
3487 rm -f conftest.er1 | 3189 rm -f conftest.er1 |
3488 cat conftest.err >&5 | 3190 cat conftest.err >&5 |
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3191 echo "$as_me:3191: \$? = $ac_status" >&5 |
3490 (exit $ac_status); } >/dev/null; then | 3192 (exit $ac_status); } >/dev/null; then |
3491 if test -s conftest.err; then | 3193 if test -s conftest.err; then |
3492 ac_cpp_err=$ac_c_preproc_warn_flag | 3194 ac_cpp_err=$ac_c_preproc_warn_flag |
3493 else | 3195 else |
3494 ac_cpp_err= | 3196 ac_cpp_err= |
3507 rm -f conftest.err conftest.$ac_ext | 3209 rm -f conftest.err conftest.$ac_ext |
3508 | 3210 |
3509 # OK, works on sane cases. Now check whether non-existent headers | 3211 # OK, works on sane cases. Now check whether non-existent headers |
3510 # can be detected and how. | 3212 # can be detected and how. |
3511 cat >conftest.$ac_ext <<_ACEOF | 3213 cat >conftest.$ac_ext <<_ACEOF |
3512 #line $LINENO "configure" | 3214 #line 3214 "configure" |
3513 #include "confdefs.h" | 3215 #include "confdefs.h" |
3514 #include <ac_nonexistent.h> | 3216 #include <ac_nonexistent.h> |
3515 _ACEOF | 3217 _ACEOF |
3516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3218 if { (eval echo "$as_me:3218: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3518 ac_status=$? | 3220 ac_status=$? |
3519 egrep -v '^ *\+' conftest.er1 >conftest.err | 3221 egrep -v '^ *\+' conftest.er1 >conftest.err |
3520 rm -f conftest.er1 | 3222 rm -f conftest.er1 |
3521 cat conftest.err >&5 | 3223 cat conftest.err >&5 |
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3224 echo "$as_me:3224: \$? = $ac_status" >&5 |
3523 (exit $ac_status); } >/dev/null; then | 3225 (exit $ac_status); } >/dev/null; then |
3524 if test -s conftest.err; then | 3226 if test -s conftest.err; then |
3525 ac_cpp_err=$ac_c_preproc_warn_flag | 3227 ac_cpp_err=$ac_c_preproc_warn_flag |
3526 else | 3228 else |
3527 ac_cpp_err= | 3229 ac_cpp_err= |
3545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3546 rm -f conftest.err conftest.$ac_ext | 3248 rm -f conftest.err conftest.$ac_ext |
3547 if $ac_preproc_ok; then | 3249 if $ac_preproc_ok; then |
3548 : | 3250 : |
3549 else | 3251 else |
3550 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 | 3252 { { echo "$as_me:3252: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
3551 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | 3253 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
3552 { (exit 1); exit 1; }; } | 3254 { (exit 1); exit 1; }; } |
3553 fi | 3255 fi |
3554 | 3256 |
3555 ac_ext=c | 3257 ac_ext=c |
3568 # AmigaOS /C/install, which installs bootblocks on floppy discs | 3270 # AmigaOS /C/install, which installs bootblocks on floppy discs |
3569 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3271 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3570 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3272 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3571 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3273 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3572 # ./install, which can be erroneously created by make from ./install.sh. | 3274 # ./install, which can be erroneously created by make from ./install.sh. |
3573 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 3275 echo "$as_me:3275: checking for a BSD compatible install" >&5 |
3574 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 3276 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 |
3575 if test -z "$INSTALL"; then | 3277 if test -z "$INSTALL"; then |
3576 if test "${ac_cv_path_install+set}" = set; then | 3278 if test "${ac_cv_path_install+set}" = set; then |
3577 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3279 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3578 else | 3280 else |
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3281 ac_save_IFS=$IFS; IFS=$ac_path_separator |
3580 for as_dir in $PATH | 3282 for ac_dir in $PATH; do |
3581 do | 3283 IFS=$ac_save_IFS |
3582 IFS=$as_save_IFS | 3284 # Account for people who put trailing slashes in PATH elements. |
3583 test -z "$as_dir" && as_dir=. | 3285 case $ac_dir/ in |
3584 # Account for people who put trailing slashes in PATH elements. | 3286 / | ./ | .// | /cC/* \ |
3585 case $as_dir/ in | 3287 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ |
3586 ./ | .// | /cC/* | \ | 3288 | /usr/ucb/* ) ;; |
3587 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 3289 *) |
3588 /usr/ucb/* ) ;; | 3290 # OSF1 and SCO ODT 3.0 have their own names for install. |
3589 *) | 3291 # Don't use installbsd from OSF since it installs stuff as root |
3590 # OSF1 and SCO ODT 3.0 have their own names for install. | 3292 # by default. |
3591 # Don't use installbsd from OSF since it installs stuff as root | 3293 for ac_prog in ginstall scoinst install; do |
3592 # by default. | 3294 if $as_executable_p "$ac_dir/$ac_prog"; then |
3593 for ac_prog in ginstall scoinst install; do | 3295 if test $ac_prog = install && |
3594 for ac_exec_ext in '' $ac_executable_extensions; do | 3296 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
3595 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 3297 # AIX install. It has an incompatible calling convention. |
3596 if test $ac_prog = install && | 3298 : |
3597 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3299 elif test $ac_prog = install && |
3598 # AIX install. It has an incompatible calling convention. | 3300 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
3599 : | 3301 # program-specific install script used by HP pwplus--don't use. |
3600 elif test $ac_prog = install && | 3302 : |
3601 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3303 else |
3602 # program-specific install script used by HP pwplus--don't use. | 3304 ac_cv_path_install="$ac_dir/$ac_prog -c" |
3603 : | 3305 break 2 |
3604 else | 3306 fi |
3605 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 3307 fi |
3606 break 3 | |
3607 fi | |
3608 fi | |
3609 done | 3308 done |
3610 done | 3309 ;; |
3611 ;; | 3310 esac |
3612 esac | 3311 done |
3613 done | |
3614 | |
3615 | 3312 |
3616 fi | 3313 fi |
3617 if test "${ac_cv_path_install+set}" = set; then | 3314 if test "${ac_cv_path_install+set}" = set; then |
3618 INSTALL=$ac_cv_path_install | 3315 INSTALL=$ac_cv_path_install |
3619 else | 3316 else |
3622 # break other packages using the cache if that directory is | 3319 # break other packages using the cache if that directory is |
3623 # removed, or if the path is relative. | 3320 # removed, or if the path is relative. |
3624 INSTALL=$ac_install_sh | 3321 INSTALL=$ac_install_sh |
3625 fi | 3322 fi |
3626 fi | 3323 fi |
3627 echo "$as_me:$LINENO: result: $INSTALL" >&5 | 3324 echo "$as_me:3324: result: $INSTALL" >&5 |
3628 echo "${ECHO_T}$INSTALL" >&6 | 3325 echo "${ECHO_T}$INSTALL" >&6 |
3629 | 3326 |
3630 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3327 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3631 # It thinks the first close brace ends the variable substitution. | 3328 # It thinks the first close brace ends the variable substitution. |
3632 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3329 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3637 | 3334 |
3638 for ac_prog in 'bison -y' byacc | 3335 for ac_prog in 'bison -y' byacc |
3639 do | 3336 do |
3640 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3337 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3641 set dummy $ac_prog; ac_word=$2 | 3338 set dummy $ac_prog; ac_word=$2 |
3642 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3339 echo "$as_me:3339: checking for $ac_word" >&5 |
3643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3644 if test "${ac_cv_prog_YACC+set}" = set; then | 3341 if test "${ac_cv_prog_YACC+set}" = set; then |
3645 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3342 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3646 else | 3343 else |
3647 if test -n "$YACC"; then | 3344 if test -n "$YACC"; then |
3648 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3345 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3649 else | 3346 else |
3650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3347 ac_save_IFS=$IFS; IFS=$ac_path_separator |
3651 for as_dir in $PATH | 3348 ac_dummy="$PATH" |
3652 do | 3349 for ac_dir in $ac_dummy; do |
3653 IFS=$as_save_IFS | 3350 IFS=$ac_save_IFS |
3654 test -z "$as_dir" && as_dir=. | 3351 test -z "$ac_dir" && ac_dir=. |
3655 for ac_exec_ext in '' $ac_executable_extensions; do | 3352 $as_executable_p "$ac_dir/$ac_word" || continue |
3656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3353 ac_cv_prog_YACC="$ac_prog" |
3657 ac_cv_prog_YACC="$ac_prog" | 3354 echo "$as_me:3354: found $ac_dir/$ac_word" >&5 |
3658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3355 break |
3659 break 2 | |
3660 fi | |
3661 done | |
3662 done | 3356 done |
3663 | 3357 |
3664 fi | 3358 fi |
3665 fi | 3359 fi |
3666 YACC=$ac_cv_prog_YACC | 3360 YACC=$ac_cv_prog_YACC |
3667 if test -n "$YACC"; then | 3361 if test -n "$YACC"; then |
3668 echo "$as_me:$LINENO: result: $YACC" >&5 | 3362 echo "$as_me:3362: result: $YACC" >&5 |
3669 echo "${ECHO_T}$YACC" >&6 | 3363 echo "${ECHO_T}$YACC" >&6 |
3670 else | 3364 else |
3671 echo "$as_me:$LINENO: result: no" >&5 | 3365 echo "$as_me:3365: result: no" >&5 |
3672 echo "${ECHO_T}no" >&6 | 3366 echo "${ECHO_T}no" >&6 |
3673 fi | 3367 fi |
3674 | 3368 |
3675 test -n "$YACC" && break | 3369 test -n "$YACC" && break |
3676 done | 3370 done |
3678 | 3372 |
3679 if test "x$RANLIB" = x; then | 3373 if test "x$RANLIB" = x; then |
3680 if test -n "$ac_tool_prefix"; then | 3374 if test -n "$ac_tool_prefix"; then |
3681 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 3375 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
3682 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 3376 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
3683 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3377 echo "$as_me:3377: checking for $ac_word" >&5 |
3684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3685 if test "${ac_cv_prog_RANLIB+set}" = set; then | 3379 if test "${ac_cv_prog_RANLIB+set}" = set; then |
3686 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3380 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3687 else | 3381 else |
3688 if test -n "$RANLIB"; then | 3382 if test -n "$RANLIB"; then |
3689 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3383 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3690 else | 3384 else |
3691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3385 ac_save_IFS=$IFS; IFS=$ac_path_separator |
3692 for as_dir in $PATH | 3386 ac_dummy="$PATH" |
3693 do | 3387 for ac_dir in $ac_dummy; do |
3694 IFS=$as_save_IFS | 3388 IFS=$ac_save_IFS |
3695 test -z "$as_dir" && as_dir=. | 3389 test -z "$ac_dir" && ac_dir=. |
3696 for ac_exec_ext in '' $ac_executable_extensions; do | 3390 $as_executable_p "$ac_dir/$ac_word" || continue |
3697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3391 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3698 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 3392 echo "$as_me:3392: found $ac_dir/$ac_word" >&5 |
3699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3393 break |
3700 break 2 | |
3701 fi | |
3702 done | |
3703 done | 3394 done |
3704 | 3395 |
3705 fi | 3396 fi |
3706 fi | 3397 fi |
3707 RANLIB=$ac_cv_prog_RANLIB | 3398 RANLIB=$ac_cv_prog_RANLIB |
3708 if test -n "$RANLIB"; then | 3399 if test -n "$RANLIB"; then |
3709 echo "$as_me:$LINENO: result: $RANLIB" >&5 | 3400 echo "$as_me:3400: result: $RANLIB" >&5 |
3710 echo "${ECHO_T}$RANLIB" >&6 | 3401 echo "${ECHO_T}$RANLIB" >&6 |
3711 else | 3402 else |
3712 echo "$as_me:$LINENO: result: no" >&5 | 3403 echo "$as_me:3403: result: no" >&5 |
3713 echo "${ECHO_T}no" >&6 | 3404 echo "${ECHO_T}no" >&6 |
3714 fi | 3405 fi |
3715 | 3406 |
3716 fi | 3407 fi |
3717 if test -z "$ac_cv_prog_RANLIB"; then | 3408 if test -z "$ac_cv_prog_RANLIB"; then |
3718 ac_ct_RANLIB=$RANLIB | 3409 ac_ct_RANLIB=$RANLIB |
3719 # Extract the first word of "ranlib", so it can be a program name with args. | 3410 # Extract the first word of "ranlib", so it can be a program name with args. |
3720 set dummy ranlib; ac_word=$2 | 3411 set dummy ranlib; ac_word=$2 |
3721 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3412 echo "$as_me:3412: checking for $ac_word" >&5 |
3722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3723 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 3414 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
3724 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3415 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3725 else | 3416 else |
3726 if test -n "$ac_ct_RANLIB"; then | 3417 if test -n "$ac_ct_RANLIB"; then |
3727 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 3418 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
3728 else | 3419 else |
3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3420 ac_save_IFS=$IFS; IFS=$ac_path_separator |
3730 for as_dir in $PATH | 3421 ac_dummy="$PATH" |
3731 do | 3422 for ac_dir in $ac_dummy; do |
3732 IFS=$as_save_IFS | 3423 IFS=$ac_save_IFS |
3733 test -z "$as_dir" && as_dir=. | 3424 test -z "$ac_dir" && ac_dir=. |
3734 for ac_exec_ext in '' $ac_executable_extensions; do | 3425 $as_executable_p "$ac_dir/$ac_word" || continue |
3735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3426 ac_cv_prog_ac_ct_RANLIB="ranlib" |
3736 ac_cv_prog_ac_ct_RANLIB="ranlib" | 3427 echo "$as_me:3427: found $ac_dir/$ac_word" >&5 |
3737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3428 break |
3738 break 2 | |
3739 fi | |
3740 done | |
3741 done | 3429 done |
3742 | 3430 |
3743 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 3431 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
3744 fi | 3432 fi |
3745 fi | 3433 fi |
3746 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 3434 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3747 if test -n "$ac_ct_RANLIB"; then | 3435 if test -n "$ac_ct_RANLIB"; then |
3748 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 3436 echo "$as_me:3436: result: $ac_ct_RANLIB" >&5 |
3749 echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 3437 echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
3750 else | 3438 else |
3751 echo "$as_me:$LINENO: result: no" >&5 | 3439 echo "$as_me:3439: result: no" >&5 |
3752 echo "${ECHO_T}no" >&6 | 3440 echo "${ECHO_T}no" >&6 |
3753 fi | 3441 fi |
3754 | 3442 |
3755 RANLIB=$ac_ct_RANLIB | 3443 RANLIB=$ac_ct_RANLIB |
3756 else | 3444 else |
3757 RANLIB="$ac_cv_prog_RANLIB" | 3445 RANLIB="$ac_cv_prog_RANLIB" |
3758 fi | 3446 fi |
3759 | 3447 |
3760 fi | 3448 fi |
3761 | 3449 |
3762 | 3450 echo "$as_me:3450: checking for AIX" >&5 |
3763 | |
3764 | |
3765 echo "$as_me:$LINENO: checking for AIX" >&5 | |
3766 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 | 3451 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 |
3767 cat >conftest.$ac_ext <<_ACEOF | 3452 cat >conftest.$ac_ext <<_ACEOF |
3768 #line $LINENO "configure" | 3453 #line 3453 "configure" |
3769 #include "confdefs.h" | 3454 #include "confdefs.h" |
3770 #ifdef _AIX | 3455 #ifdef _AIX |
3771 yes | 3456 yes |
3772 #endif | 3457 #endif |
3773 | 3458 |
3774 _ACEOF | 3459 _ACEOF |
3775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3776 egrep "yes" >/dev/null 2>&1; then | 3461 egrep "yes" >/dev/null 2>&1; then |
3777 echo "$as_me:$LINENO: result: yes" >&5 | 3462 echo "$as_me:3462: result: yes" >&5 |
3778 echo "${ECHO_T}yes" >&6 | 3463 echo "${ECHO_T}yes" >&6 |
3779 cat >>confdefs.h <<\_ACEOF | 3464 cat >>confdefs.h <<\EOF |
3780 #define _ALL_SOURCE 1 | 3465 #define _ALL_SOURCE 1 |
3781 _ACEOF | 3466 EOF |
3782 | 3467 |
3783 else | 3468 else |
3784 echo "$as_me:$LINENO: result: no" >&5 | 3469 echo "$as_me:3469: result: no" >&5 |
3785 echo "${ECHO_T}no" >&6 | 3470 echo "${ECHO_T}no" >&6 |
3786 fi | 3471 fi |
3787 rm -f conftest* | 3472 rm -f conftest* |
3788 | 3473 |
3789 | |
3790 | |
3791 #### Extract some information from the operating system and machine files. | 3474 #### Extract some information from the operating system and machine files. |
3792 | 3475 |
3793 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out | 3476 { echo "$as_me:3476: checking the machine- and system-dependent files to find out |
3794 - which libraries the lib-src programs will want, and | 3477 - which libraries the lib-src programs will want, and |
3795 - whether the GNU malloc routines are usable..." >&5 | 3478 - whether the GNU malloc routines are usable..." >&5 |
3796 echo "$as_me: checking the machine- and system-dependent files to find out | 3479 echo "$as_me: checking the machine- and system-dependent files to find out |
3797 - which libraries the lib-src programs will want, and | 3480 - which libraries the lib-src programs will want, and |
3798 - whether the GNU malloc routines are usable..." >&6;} | 3481 - whether the GNU malloc routines are usable..." >&6;} |
3938 enableval="$enable_largefile" | 3621 enableval="$enable_largefile" |
3939 | 3622 |
3940 fi; | 3623 fi; |
3941 if test "$enable_largefile" != no; then | 3624 if test "$enable_largefile" != no; then |
3942 | 3625 |
3943 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 | 3626 echo "$as_me:3626: checking for special C compiler options needed for large files" >&5 |
3944 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 | 3627 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 |
3945 if test "${ac_cv_sys_largefile_CC+set}" = set; then | 3628 if test "${ac_cv_sys_largefile_CC+set}" = set; then |
3946 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3629 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3947 else | 3630 else |
3948 ac_cv_sys_largefile_CC=no | 3631 ac_cv_sys_largefile_CC=no |
3950 ac_save_CC=$CC | 3633 ac_save_CC=$CC |
3951 while :; do | 3634 while :; do |
3952 # IRIX 6.2 and later do not support large files by default, | 3635 # IRIX 6.2 and later do not support large files by default, |
3953 # so use the C compiler's -n32 option if that helps. | 3636 # so use the C compiler's -n32 option if that helps. |
3954 cat >conftest.$ac_ext <<_ACEOF | 3637 cat >conftest.$ac_ext <<_ACEOF |
3955 #line $LINENO "configure" | 3638 #line 3638 "configure" |
3956 #include "confdefs.h" | 3639 #include "confdefs.h" |
3957 #include <sys/types.h> | 3640 #include <sys/types.h> |
3958 /* Check that off_t can represent 2**63 - 1 correctly. | 3641 /* Check that off_t can represent 2**63 - 1 correctly. |
3959 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 3642 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
3960 since some C++ compilers masquerading as C compilers | 3643 since some C++ compilers masquerading as C compilers |
3961 incorrectly reject 9223372036854775807. */ | 3644 incorrectly reject 9223372036854775807. */ |
3962 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | 3645 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) |
3963 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | 3646 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
3964 && LARGE_OFF_T % 2147483647 == 1) | 3647 && LARGE_OFF_T % 2147483647 == 1) |
3965 ? 1 : -1]; | 3648 ? 1 : -1]; |
3966 #ifdef F77_DUMMY_MAIN | |
3967 # ifdef __cplusplus | |
3968 extern "C" | |
3969 # endif | |
3970 int F77_DUMMY_MAIN() { return 1; } | |
3971 #endif | |
3972 int | 3649 int |
3973 main () | 3650 main () |
3974 { | 3651 { |
3975 | 3652 |
3976 ; | 3653 ; |
3977 return 0; | 3654 return 0; |
3978 } | 3655 } |
3979 _ACEOF | 3656 _ACEOF |
3980 rm -f conftest.$ac_objext | 3657 rm -f conftest.$ac_objext |
3981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3658 if { (eval echo "$as_me:3658: \"$ac_compile\"") >&5 |
3982 (eval $ac_compile) 2>&5 | 3659 (eval $ac_compile) 2>&5 |
3983 ac_status=$? | 3660 ac_status=$? |
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3661 echo "$as_me:3661: \$? = $ac_status" >&5 |
3985 (exit $ac_status); } && | 3662 (exit $ac_status); } && |
3986 { ac_try='test -s conftest.$ac_objext' | 3663 { ac_try='test -s conftest.$ac_objext' |
3987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3664 { (eval echo "$as_me:3664: \"$ac_try\"") >&5 |
3988 (eval $ac_try) 2>&5 | 3665 (eval $ac_try) 2>&5 |
3989 ac_status=$? | 3666 ac_status=$? |
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3667 echo "$as_me:3667: \$? = $ac_status" >&5 |
3991 (exit $ac_status); }; }; then | 3668 (exit $ac_status); }; }; then |
3992 break | 3669 break |
3993 else | 3670 else |
3994 echo "$as_me: failed program was:" >&5 | 3671 echo "$as_me: failed program was:" >&5 |
3995 cat conftest.$ac_ext >&5 | 3672 cat conftest.$ac_ext >&5 |
3996 fi | 3673 fi |
3997 rm -f conftest.$ac_objext | 3674 rm -f conftest.$ac_objext |
3998 CC="$CC -n32" | 3675 CC="$CC -n32" |
3999 rm -f conftest.$ac_objext | 3676 rm -f conftest.$ac_objext |
4000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3677 if { (eval echo "$as_me:3677: \"$ac_compile\"") >&5 |
4001 (eval $ac_compile) 2>&5 | 3678 (eval $ac_compile) 2>&5 |
4002 ac_status=$? | 3679 ac_status=$? |
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3680 echo "$as_me:3680: \$? = $ac_status" >&5 |
4004 (exit $ac_status); } && | 3681 (exit $ac_status); } && |
4005 { ac_try='test -s conftest.$ac_objext' | 3682 { ac_try='test -s conftest.$ac_objext' |
4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3683 { (eval echo "$as_me:3683: \"$ac_try\"") >&5 |
4007 (eval $ac_try) 2>&5 | 3684 (eval $ac_try) 2>&5 |
4008 ac_status=$? | 3685 ac_status=$? |
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3686 echo "$as_me:3686: \$? = $ac_status" >&5 |
4010 (exit $ac_status); }; }; then | 3687 (exit $ac_status); }; }; then |
4011 ac_cv_sys_largefile_CC=' -n32'; break | 3688 ac_cv_sys_largefile_CC=' -n32'; break |
4012 else | 3689 else |
4013 echo "$as_me: failed program was:" >&5 | 3690 echo "$as_me: failed program was:" >&5 |
4014 cat conftest.$ac_ext >&5 | 3691 cat conftest.$ac_ext >&5 |
4018 done | 3695 done |
4019 CC=$ac_save_CC | 3696 CC=$ac_save_CC |
4020 rm -f conftest.$ac_ext | 3697 rm -f conftest.$ac_ext |
4021 fi | 3698 fi |
4022 fi | 3699 fi |
4023 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 | 3700 echo "$as_me:3700: result: $ac_cv_sys_largefile_CC" >&5 |
4024 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 | 3701 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 |
4025 if test "$ac_cv_sys_largefile_CC" != no; then | 3702 if test "$ac_cv_sys_largefile_CC" != no; then |
4026 CC=$CC$ac_cv_sys_largefile_CC | 3703 CC=$CC$ac_cv_sys_largefile_CC |
4027 fi | 3704 fi |
4028 | 3705 |
4029 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 3706 echo "$as_me:3706: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
4030 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 | 3707 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 |
4031 if test "${ac_cv_sys_file_offset_bits+set}" = set; then | 3708 if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
4032 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3709 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4033 else | 3710 else |
4034 while :; do | 3711 while :; do |
4035 ac_cv_sys_file_offset_bits=no | 3712 ac_cv_sys_file_offset_bits=no |
4036 cat >conftest.$ac_ext <<_ACEOF | 3713 cat >conftest.$ac_ext <<_ACEOF |
4037 #line $LINENO "configure" | 3714 #line 3714 "configure" |
4038 #include "confdefs.h" | 3715 #include "confdefs.h" |
4039 #include <sys/types.h> | 3716 #include <sys/types.h> |
4040 /* Check that off_t can represent 2**63 - 1 correctly. | 3717 /* Check that off_t can represent 2**63 - 1 correctly. |
4041 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 3718 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
4042 since some C++ compilers masquerading as C compilers | 3719 since some C++ compilers masquerading as C compilers |
4043 incorrectly reject 9223372036854775807. */ | 3720 incorrectly reject 9223372036854775807. */ |
4044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | 3721 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) |
4045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | 3722 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
4046 && LARGE_OFF_T % 2147483647 == 1) | 3723 && LARGE_OFF_T % 2147483647 == 1) |
4047 ? 1 : -1]; | 3724 ? 1 : -1]; |
4048 #ifdef F77_DUMMY_MAIN | |
4049 # ifdef __cplusplus | |
4050 extern "C" | |
4051 # endif | |
4052 int F77_DUMMY_MAIN() { return 1; } | |
4053 #endif | |
4054 int | 3725 int |
4055 main () | 3726 main () |
4056 { | 3727 { |
4057 | 3728 |
4058 ; | 3729 ; |
4059 return 0; | 3730 return 0; |
4060 } | 3731 } |
4061 _ACEOF | 3732 _ACEOF |
4062 rm -f conftest.$ac_objext | 3733 rm -f conftest.$ac_objext |
4063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3734 if { (eval echo "$as_me:3734: \"$ac_compile\"") >&5 |
4064 (eval $ac_compile) 2>&5 | 3735 (eval $ac_compile) 2>&5 |
4065 ac_status=$? | 3736 ac_status=$? |
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3737 echo "$as_me:3737: \$? = $ac_status" >&5 |
4067 (exit $ac_status); } && | 3738 (exit $ac_status); } && |
4068 { ac_try='test -s conftest.$ac_objext' | 3739 { ac_try='test -s conftest.$ac_objext' |
4069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3740 { (eval echo "$as_me:3740: \"$ac_try\"") >&5 |
4070 (eval $ac_try) 2>&5 | 3741 (eval $ac_try) 2>&5 |
4071 ac_status=$? | 3742 ac_status=$? |
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3743 echo "$as_me:3743: \$? = $ac_status" >&5 |
4073 (exit $ac_status); }; }; then | 3744 (exit $ac_status); }; }; then |
4074 break | 3745 break |
4075 else | 3746 else |
4076 echo "$as_me: failed program was:" >&5 | 3747 echo "$as_me: failed program was:" >&5 |
4077 cat conftest.$ac_ext >&5 | 3748 cat conftest.$ac_ext >&5 |
4078 fi | 3749 fi |
4079 rm -f conftest.$ac_objext conftest.$ac_ext | 3750 rm -f conftest.$ac_objext conftest.$ac_ext |
4080 cat >conftest.$ac_ext <<_ACEOF | 3751 cat >conftest.$ac_ext <<_ACEOF |
4081 #line $LINENO "configure" | 3752 #line 3752 "configure" |
4082 #include "confdefs.h" | 3753 #include "confdefs.h" |
4083 #define _FILE_OFFSET_BITS 64 | 3754 #define _FILE_OFFSET_BITS 64 |
4084 #include <sys/types.h> | 3755 #include <sys/types.h> |
4085 /* Check that off_t can represent 2**63 - 1 correctly. | 3756 /* Check that off_t can represent 2**63 - 1 correctly. |
4086 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 3757 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
4088 incorrectly reject 9223372036854775807. */ | 3759 incorrectly reject 9223372036854775807. */ |
4089 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | 3760 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) |
4090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | 3761 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
4091 && LARGE_OFF_T % 2147483647 == 1) | 3762 && LARGE_OFF_T % 2147483647 == 1) |
4092 ? 1 : -1]; | 3763 ? 1 : -1]; |
4093 #ifdef F77_DUMMY_MAIN | |
4094 # ifdef __cplusplus | |
4095 extern "C" | |
4096 # endif | |
4097 int F77_DUMMY_MAIN() { return 1; } | |
4098 #endif | |
4099 int | 3764 int |
4100 main () | 3765 main () |
4101 { | 3766 { |
4102 | 3767 |
4103 ; | 3768 ; |
4104 return 0; | 3769 return 0; |
4105 } | 3770 } |
4106 _ACEOF | 3771 _ACEOF |
4107 rm -f conftest.$ac_objext | 3772 rm -f conftest.$ac_objext |
4108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3773 if { (eval echo "$as_me:3773: \"$ac_compile\"") >&5 |
4109 (eval $ac_compile) 2>&5 | 3774 (eval $ac_compile) 2>&5 |
4110 ac_status=$? | 3775 ac_status=$? |
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3776 echo "$as_me:3776: \$? = $ac_status" >&5 |
4112 (exit $ac_status); } && | 3777 (exit $ac_status); } && |
4113 { ac_try='test -s conftest.$ac_objext' | 3778 { ac_try='test -s conftest.$ac_objext' |
4114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3779 { (eval echo "$as_me:3779: \"$ac_try\"") >&5 |
4115 (eval $ac_try) 2>&5 | 3780 (eval $ac_try) 2>&5 |
4116 ac_status=$? | 3781 ac_status=$? |
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3782 echo "$as_me:3782: \$? = $ac_status" >&5 |
4118 (exit $ac_status); }; }; then | 3783 (exit $ac_status); }; }; then |
4119 ac_cv_sys_file_offset_bits=64; break | 3784 ac_cv_sys_file_offset_bits=64; break |
4120 else | 3785 else |
4121 echo "$as_me: failed program was:" >&5 | 3786 echo "$as_me: failed program was:" >&5 |
4122 cat conftest.$ac_ext >&5 | 3787 cat conftest.$ac_ext >&5 |
4123 fi | 3788 fi |
4124 rm -f conftest.$ac_objext conftest.$ac_ext | 3789 rm -f conftest.$ac_objext conftest.$ac_ext |
4125 break | 3790 break |
4126 done | 3791 done |
4127 fi | 3792 fi |
4128 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 | 3793 echo "$as_me:3793: result: $ac_cv_sys_file_offset_bits" >&5 |
4129 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 | 3794 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 |
4130 if test "$ac_cv_sys_file_offset_bits" != no; then | 3795 if test "$ac_cv_sys_file_offset_bits" != no; then |
4131 | 3796 |
4132 cat >>confdefs.h <<_ACEOF | 3797 cat >>confdefs.h <<EOF |
4133 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | 3798 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits |
4134 _ACEOF | 3799 EOF |
4135 | 3800 |
4136 fi | 3801 fi |
4137 rm -f conftest* | 3802 rm -f conftest* |
4138 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 | 3803 echo "$as_me:3803: checking for _LARGE_FILES value needed for large files" >&5 |
4139 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 | 3804 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 |
4140 if test "${ac_cv_sys_large_files+set}" = set; then | 3805 if test "${ac_cv_sys_large_files+set}" = set; then |
4141 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3806 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4142 else | 3807 else |
4143 while :; do | 3808 while :; do |
4144 ac_cv_sys_large_files=no | 3809 ac_cv_sys_large_files=no |
4145 cat >conftest.$ac_ext <<_ACEOF | 3810 cat >conftest.$ac_ext <<_ACEOF |
4146 #line $LINENO "configure" | 3811 #line 3811 "configure" |
4147 #include "confdefs.h" | 3812 #include "confdefs.h" |
4148 #include <sys/types.h> | 3813 #include <sys/types.h> |
4149 /* Check that off_t can represent 2**63 - 1 correctly. | 3814 /* Check that off_t can represent 2**63 - 1 correctly. |
4150 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 3815 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
4151 since some C++ compilers masquerading as C compilers | 3816 since some C++ compilers masquerading as C compilers |
4152 incorrectly reject 9223372036854775807. */ | 3817 incorrectly reject 9223372036854775807. */ |
4153 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | 3818 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) |
4154 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | 3819 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
4155 && LARGE_OFF_T % 2147483647 == 1) | 3820 && LARGE_OFF_T % 2147483647 == 1) |
4156 ? 1 : -1]; | 3821 ? 1 : -1]; |
4157 #ifdef F77_DUMMY_MAIN | |
4158 # ifdef __cplusplus | |
4159 extern "C" | |
4160 # endif | |
4161 int F77_DUMMY_MAIN() { return 1; } | |
4162 #endif | |
4163 int | 3822 int |
4164 main () | 3823 main () |
4165 { | 3824 { |
4166 | 3825 |
4167 ; | 3826 ; |
4168 return 0; | 3827 return 0; |
4169 } | 3828 } |
4170 _ACEOF | 3829 _ACEOF |
4171 rm -f conftest.$ac_objext | 3830 rm -f conftest.$ac_objext |
4172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3831 if { (eval echo "$as_me:3831: \"$ac_compile\"") >&5 |
4173 (eval $ac_compile) 2>&5 | 3832 (eval $ac_compile) 2>&5 |
4174 ac_status=$? | 3833 ac_status=$? |
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3834 echo "$as_me:3834: \$? = $ac_status" >&5 |
4176 (exit $ac_status); } && | 3835 (exit $ac_status); } && |
4177 { ac_try='test -s conftest.$ac_objext' | 3836 { ac_try='test -s conftest.$ac_objext' |
4178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3837 { (eval echo "$as_me:3837: \"$ac_try\"") >&5 |
4179 (eval $ac_try) 2>&5 | 3838 (eval $ac_try) 2>&5 |
4180 ac_status=$? | 3839 ac_status=$? |
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3840 echo "$as_me:3840: \$? = $ac_status" >&5 |
4182 (exit $ac_status); }; }; then | 3841 (exit $ac_status); }; }; then |
4183 break | 3842 break |
4184 else | 3843 else |
4185 echo "$as_me: failed program was:" >&5 | 3844 echo "$as_me: failed program was:" >&5 |
4186 cat conftest.$ac_ext >&5 | 3845 cat conftest.$ac_ext >&5 |
4187 fi | 3846 fi |
4188 rm -f conftest.$ac_objext conftest.$ac_ext | 3847 rm -f conftest.$ac_objext conftest.$ac_ext |
4189 cat >conftest.$ac_ext <<_ACEOF | 3848 cat >conftest.$ac_ext <<_ACEOF |
4190 #line $LINENO "configure" | 3849 #line 3849 "configure" |
4191 #include "confdefs.h" | 3850 #include "confdefs.h" |
4192 #define _LARGE_FILES 1 | 3851 #define _LARGE_FILES 1 |
4193 #include <sys/types.h> | 3852 #include <sys/types.h> |
4194 /* Check that off_t can represent 2**63 - 1 correctly. | 3853 /* Check that off_t can represent 2**63 - 1 correctly. |
4195 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 3854 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
4197 incorrectly reject 9223372036854775807. */ | 3856 incorrectly reject 9223372036854775807. */ |
4198 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | 3857 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) |
4199 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | 3858 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
4200 && LARGE_OFF_T % 2147483647 == 1) | 3859 && LARGE_OFF_T % 2147483647 == 1) |
4201 ? 1 : -1]; | 3860 ? 1 : -1]; |
4202 #ifdef F77_DUMMY_MAIN | |
4203 # ifdef __cplusplus | |
4204 extern "C" | |
4205 # endif | |
4206 int F77_DUMMY_MAIN() { return 1; } | |
4207 #endif | |
4208 int | 3861 int |
4209 main () | 3862 main () |
4210 { | 3863 { |
4211 | 3864 |
4212 ; | 3865 ; |
4213 return 0; | 3866 return 0; |
4214 } | 3867 } |
4215 _ACEOF | 3868 _ACEOF |
4216 rm -f conftest.$ac_objext | 3869 rm -f conftest.$ac_objext |
4217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3870 if { (eval echo "$as_me:3870: \"$ac_compile\"") >&5 |
4218 (eval $ac_compile) 2>&5 | 3871 (eval $ac_compile) 2>&5 |
4219 ac_status=$? | 3872 ac_status=$? |
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3873 echo "$as_me:3873: \$? = $ac_status" >&5 |
4221 (exit $ac_status); } && | 3874 (exit $ac_status); } && |
4222 { ac_try='test -s conftest.$ac_objext' | 3875 { ac_try='test -s conftest.$ac_objext' |
4223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3876 { (eval echo "$as_me:3876: \"$ac_try\"") >&5 |
4224 (eval $ac_try) 2>&5 | 3877 (eval $ac_try) 2>&5 |
4225 ac_status=$? | 3878 ac_status=$? |
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3879 echo "$as_me:3879: \$? = $ac_status" >&5 |
4227 (exit $ac_status); }; }; then | 3880 (exit $ac_status); }; }; then |
4228 ac_cv_sys_large_files=1; break | 3881 ac_cv_sys_large_files=1; break |
4229 else | 3882 else |
4230 echo "$as_me: failed program was:" >&5 | 3883 echo "$as_me: failed program was:" >&5 |
4231 cat conftest.$ac_ext >&5 | 3884 cat conftest.$ac_ext >&5 |
4232 fi | 3885 fi |
4233 rm -f conftest.$ac_objext conftest.$ac_ext | 3886 rm -f conftest.$ac_objext conftest.$ac_ext |
4234 break | 3887 break |
4235 done | 3888 done |
4236 fi | 3889 fi |
4237 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 | 3890 echo "$as_me:3890: result: $ac_cv_sys_large_files" >&5 |
4238 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 | 3891 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 |
4239 if test "$ac_cv_sys_large_files" != no; then | 3892 if test "$ac_cv_sys_large_files" != no; then |
4240 | 3893 |
4241 cat >>confdefs.h <<_ACEOF | 3894 cat >>confdefs.h <<EOF |
4242 #define _LARGE_FILES $ac_cv_sys_large_files | 3895 #define _LARGE_FILES $ac_cv_sys_large_files |
4243 _ACEOF | 3896 EOF |
4244 | 3897 |
4245 fi | 3898 fi |
4246 rm -f conftest* | 3899 rm -f conftest* |
4247 fi | 3900 fi |
4248 | |
4249 | 3901 |
4250 if test "${with_sound}" != "no"; then | 3902 if test "${with_sound}" != "no"; then |
4251 # Sound support for GNU/Linux and the free BSDs. | 3903 # Sound support for GNU/Linux and the free BSDs. |
4252 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 3904 |
4253 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 3905 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
4254 if test "${ac_cv_header_stdc+set}" = set; then | 3906 do |
3907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
3908 echo "$as_me:3908: checking for $ac_header" >&5 | |
3909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
3910 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
4255 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3911 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4256 else | 3912 else |
4257 cat >conftest.$ac_ext <<_ACEOF | 3913 cat >conftest.$ac_ext <<_ACEOF |
4258 #line $LINENO "configure" | 3914 #line 3914 "configure" |
4259 #include "confdefs.h" | 3915 #include "confdefs.h" |
4260 #include <stdlib.h> | 3916 #include <$ac_header> |
4261 #include <stdarg.h> | 3917 _ACEOF |
4262 #include <string.h> | 3918 if { (eval echo "$as_me:3918: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4263 #include <float.h> | |
4264 | |
4265 _ACEOF | |
4266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
4267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3919 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4268 ac_status=$? | 3920 ac_status=$? |
4269 egrep -v '^ *\+' conftest.er1 >conftest.err | 3921 egrep -v '^ *\+' conftest.er1 >conftest.err |
4270 rm -f conftest.er1 | 3922 rm -f conftest.er1 |
4271 cat conftest.err >&5 | 3923 cat conftest.err >&5 |
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3924 echo "$as_me:3924: \$? = $ac_status" >&5 |
4273 (exit $ac_status); } >/dev/null; then | 3925 (exit $ac_status); } >/dev/null; then |
4274 if test -s conftest.err; then | 3926 if test -s conftest.err; then |
4275 ac_cpp_err=$ac_c_preproc_warn_flag | 3927 ac_cpp_err=$ac_c_preproc_warn_flag |
4276 else | 3928 else |
4277 ac_cpp_err= | 3929 ac_cpp_err= |
4278 fi | 3930 fi |
4279 else | 3931 else |
4280 ac_cpp_err=yes | 3932 ac_cpp_err=yes |
4281 fi | 3933 fi |
4282 if test -z "$ac_cpp_err"; then | 3934 if test -z "$ac_cpp_err"; then |
3935 eval "$as_ac_Header=yes" | |
3936 else | |
3937 echo "$as_me: failed program was:" >&5 | |
3938 cat conftest.$ac_ext >&5 | |
3939 eval "$as_ac_Header=no" | |
3940 fi | |
3941 rm -f conftest.err conftest.$ac_ext | |
3942 fi | |
3943 echo "$as_me:3943: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
3944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
3945 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
3946 cat >>confdefs.h <<EOF | |
3947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
3948 EOF | |
3949 | |
3950 fi | |
3951 done | |
3952 | |
3953 # Emulation library used on NetBSD. | |
3954 echo "$as_me:3954: checking for _oss_ioctl in -lossaudio" >&5 | |
3955 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 | |
3956 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then | |
3957 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3958 else | |
3959 ac_check_lib_save_LIBS=$LIBS | |
3960 LIBS="-lossaudio $LIBS" | |
3961 cat >conftest.$ac_ext <<_ACEOF | |
3962 #line 3962 "configure" | |
3963 #include "confdefs.h" | |
3964 | |
3965 /* Override any gcc2 internal prototype to avoid an error. */ | |
3966 #ifdef __cplusplus | |
3967 extern "C" | |
3968 #endif | |
3969 /* We use char because int might match the return type of a gcc2 | |
3970 builtin and then its argument prototype would still apply. */ | |
3971 char _oss_ioctl (); | |
3972 int | |
3973 main () | |
3974 { | |
3975 _oss_ioctl (); | |
3976 ; | |
3977 return 0; | |
3978 } | |
3979 _ACEOF | |
3980 rm -f conftest.$ac_objext conftest$ac_exeext | |
3981 if { (eval echo "$as_me:3981: \"$ac_link\"") >&5 | |
3982 (eval $ac_link) 2>&5 | |
3983 ac_status=$? | |
3984 echo "$as_me:3984: \$? = $ac_status" >&5 | |
3985 (exit $ac_status); } && | |
3986 { ac_try='test -s conftest$ac_exeext' | |
3987 { (eval echo "$as_me:3987: \"$ac_try\"") >&5 | |
3988 (eval $ac_try) 2>&5 | |
3989 ac_status=$? | |
3990 echo "$as_me:3990: \$? = $ac_status" >&5 | |
3991 (exit $ac_status); }; }; then | |
3992 ac_cv_lib_ossaudio__oss_ioctl=yes | |
3993 else | |
3994 echo "$as_me: failed program was:" >&5 | |
3995 cat conftest.$ac_ext >&5 | |
3996 ac_cv_lib_ossaudio__oss_ioctl=no | |
3997 fi | |
3998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3999 LIBS=$ac_check_lib_save_LIBS | |
4000 fi | |
4001 echo "$as_me:4001: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | |
4002 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 | |
4003 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then | |
4004 LIBSOUND=-lossaudio | |
4005 else | |
4006 LIBSOUND= | |
4007 fi | |
4008 | |
4009 fi | |
4010 | |
4011 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | |
4012 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | |
4013 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h | |
4014 do | |
4015 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4016 echo "$as_me:4016: checking for $ac_header" >&5 | |
4017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
4018 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
4019 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4020 else | |
4021 cat >conftest.$ac_ext <<_ACEOF | |
4022 #line 4022 "configure" | |
4023 #include "confdefs.h" | |
4024 #include <$ac_header> | |
4025 _ACEOF | |
4026 if { (eval echo "$as_me:4026: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
4027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
4028 ac_status=$? | |
4029 egrep -v '^ *\+' conftest.er1 >conftest.err | |
4030 rm -f conftest.er1 | |
4031 cat conftest.err >&5 | |
4032 echo "$as_me:4032: \$? = $ac_status" >&5 | |
4033 (exit $ac_status); } >/dev/null; then | |
4034 if test -s conftest.err; then | |
4035 ac_cpp_err=$ac_c_preproc_warn_flag | |
4036 else | |
4037 ac_cpp_err= | |
4038 fi | |
4039 else | |
4040 ac_cpp_err=yes | |
4041 fi | |
4042 if test -z "$ac_cpp_err"; then | |
4043 eval "$as_ac_Header=yes" | |
4044 else | |
4045 echo "$as_me: failed program was:" >&5 | |
4046 cat conftest.$ac_ext >&5 | |
4047 eval "$as_ac_Header=no" | |
4048 fi | |
4049 rm -f conftest.err conftest.$ac_ext | |
4050 fi | |
4051 echo "$as_me:4051: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
4052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
4053 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4054 cat >>confdefs.h <<EOF | |
4055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4056 EOF | |
4057 | |
4058 fi | |
4059 done | |
4060 | |
4061 echo "$as_me:4061: checking for ANSI C header files" >&5 | |
4062 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | |
4063 if test "${ac_cv_header_stdc+set}" = set; then | |
4064 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4065 else | |
4066 cat >conftest.$ac_ext <<_ACEOF | |
4067 #line 4067 "configure" | |
4068 #include "confdefs.h" | |
4069 #include <stdlib.h> | |
4070 #include <stdarg.h> | |
4071 #include <string.h> | |
4072 #include <float.h> | |
4073 | |
4074 _ACEOF | |
4075 if { (eval echo "$as_me:4075: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
4076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
4077 ac_status=$? | |
4078 egrep -v '^ *\+' conftest.er1 >conftest.err | |
4079 rm -f conftest.er1 | |
4080 cat conftest.err >&5 | |
4081 echo "$as_me:4081: \$? = $ac_status" >&5 | |
4082 (exit $ac_status); } >/dev/null; then | |
4083 if test -s conftest.err; then | |
4084 ac_cpp_err=$ac_c_preproc_warn_flag | |
4085 else | |
4086 ac_cpp_err= | |
4087 fi | |
4088 else | |
4089 ac_cpp_err=yes | |
4090 fi | |
4091 if test -z "$ac_cpp_err"; then | |
4283 ac_cv_header_stdc=yes | 4092 ac_cv_header_stdc=yes |
4284 else | 4093 else |
4285 echo "$as_me: failed program was:" >&5 | 4094 echo "$as_me: failed program was:" >&5 |
4286 cat conftest.$ac_ext >&5 | 4095 cat conftest.$ac_ext >&5 |
4287 ac_cv_header_stdc=no | 4096 ac_cv_header_stdc=no |
4289 rm -f conftest.err conftest.$ac_ext | 4098 rm -f conftest.err conftest.$ac_ext |
4290 | 4099 |
4291 if test $ac_cv_header_stdc = yes; then | 4100 if test $ac_cv_header_stdc = yes; then |
4292 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4101 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4293 cat >conftest.$ac_ext <<_ACEOF | 4102 cat >conftest.$ac_ext <<_ACEOF |
4294 #line $LINENO "configure" | 4103 #line 4103 "configure" |
4295 #include "confdefs.h" | 4104 #include "confdefs.h" |
4296 #include <string.h> | 4105 #include <string.h> |
4297 | 4106 |
4298 _ACEOF | 4107 _ACEOF |
4299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4307 fi | 4116 fi |
4308 | 4117 |
4309 if test $ac_cv_header_stdc = yes; then | 4118 if test $ac_cv_header_stdc = yes; then |
4310 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4119 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4311 cat >conftest.$ac_ext <<_ACEOF | 4120 cat >conftest.$ac_ext <<_ACEOF |
4312 #line $LINENO "configure" | 4121 #line 4121 "configure" |
4313 #include "confdefs.h" | 4122 #include "confdefs.h" |
4314 #include <stdlib.h> | 4123 #include <stdlib.h> |
4315 | 4124 |
4316 _ACEOF | 4125 _ACEOF |
4317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4328 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4137 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4329 if test "$cross_compiling" = yes; then | 4138 if test "$cross_compiling" = yes; then |
4330 : | 4139 : |
4331 else | 4140 else |
4332 cat >conftest.$ac_ext <<_ACEOF | 4141 cat >conftest.$ac_ext <<_ACEOF |
4333 #line $LINENO "configure" | 4142 #line 4142 "configure" |
4334 #include "confdefs.h" | 4143 #include "confdefs.h" |
4335 #include <ctype.h> | 4144 #include <ctype.h> |
4336 #if ((' ' & 0x0FF) == 0x020) | 4145 #if ((' ' & 0x0FF) == 0x020) |
4337 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 4146 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4338 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 4147 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4354 exit(2); | 4163 exit(2); |
4355 exit (0); | 4164 exit (0); |
4356 } | 4165 } |
4357 _ACEOF | 4166 _ACEOF |
4358 rm -f conftest$ac_exeext | 4167 rm -f conftest$ac_exeext |
4359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4168 if { (eval echo "$as_me:4168: \"$ac_link\"") >&5 |
4360 (eval $ac_link) 2>&5 | 4169 (eval $ac_link) 2>&5 |
4361 ac_status=$? | 4170 ac_status=$? |
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4171 echo "$as_me:4171: \$? = $ac_status" >&5 |
4363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 4172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4173 { (eval echo "$as_me:4173: \"$ac_try\"") >&5 |
4365 (eval $ac_try) 2>&5 | 4174 (eval $ac_try) 2>&5 |
4366 ac_status=$? | 4175 ac_status=$? |
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4176 echo "$as_me:4176: \$? = $ac_status" >&5 |
4368 (exit $ac_status); }; }; then | 4177 (exit $ac_status); }; }; then |
4369 : | 4178 : |
4370 else | 4179 else |
4371 echo "$as_me: program exited with status $ac_status" >&5 | 4180 echo "$as_me: program exited with status $ac_status" >&5 |
4372 echo "$as_me: failed program was:" >&5 | 4181 echo "$as_me: failed program was:" >&5 |
4373 cat conftest.$ac_ext >&5 | 4182 cat conftest.$ac_ext >&5 |
4374 ( exit $ac_status ) | |
4375 ac_cv_header_stdc=no | 4183 ac_cv_header_stdc=no |
4376 fi | 4184 fi |
4377 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 4185 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4378 fi | 4186 fi |
4379 fi | 4187 fi |
4380 fi | 4188 fi |
4381 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 4189 echo "$as_me:4189: result: $ac_cv_header_stdc" >&5 |
4382 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 4190 echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
4383 if test $ac_cv_header_stdc = yes; then | 4191 if test $ac_cv_header_stdc = yes; then |
4384 | 4192 |
4385 cat >>confdefs.h <<\_ACEOF | 4193 cat >>confdefs.h <<\EOF |
4386 #define STDC_HEADERS 1 | 4194 #define STDC_HEADERS 1 |
4387 _ACEOF | 4195 EOF |
4388 | 4196 |
4389 fi | 4197 fi |
4390 | 4198 |
4391 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4199 echo "$as_me:4199: checking whether time.h and sys/time.h may both be included" >&5 |
4392 | |
4393 | |
4394 | |
4395 | |
4396 | |
4397 | |
4398 | |
4399 | |
4400 | |
4401 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
4402 inttypes.h stdint.h unistd.h | |
4403 do | |
4404 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
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 else | |
4410 cat >conftest.$ac_ext <<_ACEOF | |
4411 #line $LINENO "configure" | |
4412 #include "confdefs.h" | |
4413 $ac_includes_default | |
4414 | |
4415 #include <$ac_header> | |
4416 _ACEOF | |
4417 rm -f conftest.$ac_objext | |
4418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
4419 (eval $ac_compile) 2>&5 | |
4420 ac_status=$? | |
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4422 (exit $ac_status); } && | |
4423 { ac_try='test -s conftest.$ac_objext' | |
4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4425 (eval $ac_try) 2>&5 | |
4426 ac_status=$? | |
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4428 (exit $ac_status); }; }; then | |
4429 eval "$as_ac_Header=yes" | |
4430 else | |
4431 echo "$as_me: failed program was:" >&5 | |
4432 cat conftest.$ac_ext >&5 | |
4433 eval "$as_ac_Header=no" | |
4434 fi | |
4435 rm -f conftest.$ac_objext conftest.$ac_ext | |
4436 fi | |
4437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
4438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
4439 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4440 cat >>confdefs.h <<_ACEOF | |
4441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4442 _ACEOF | |
4443 | |
4444 fi | |
4445 | |
4446 done | |
4447 | |
4448 | |
4449 | |
4450 | |
4451 | |
4452 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | |
4453 do | |
4454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4455 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
4456 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
4458 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
4459 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4460 fi | |
4461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
4462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
4463 else | |
4464 # Is the header compilable? | |
4465 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
4467 cat >conftest.$ac_ext <<_ACEOF | |
4468 #line $LINENO "configure" | |
4469 #include "confdefs.h" | |
4470 $ac_includes_default | |
4471 #include <$ac_header> | |
4472 _ACEOF | |
4473 rm -f conftest.$ac_objext | |
4474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
4475 (eval $ac_compile) 2>&5 | |
4476 ac_status=$? | |
4477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4478 (exit $ac_status); } && | |
4479 { ac_try='test -s conftest.$ac_objext' | |
4480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4481 (eval $ac_try) 2>&5 | |
4482 ac_status=$? | |
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4484 (exit $ac_status); }; }; then | |
4485 ac_header_compiler=yes | |
4486 else | |
4487 echo "$as_me: failed program was:" >&5 | |
4488 cat conftest.$ac_ext >&5 | |
4489 ac_header_compiler=no | |
4490 fi | |
4491 rm -f conftest.$ac_objext conftest.$ac_ext | |
4492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4493 echo "${ECHO_T}$ac_header_compiler" >&6 | |
4494 | |
4495 # Is the header present? | |
4496 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
4498 cat >conftest.$ac_ext <<_ACEOF | |
4499 #line $LINENO "configure" | |
4500 #include "confdefs.h" | |
4501 #include <$ac_header> | |
4502 _ACEOF | |
4503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
4504 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
4505 ac_status=$? | |
4506 egrep -v '^ *\+' conftest.er1 >conftest.err | |
4507 rm -f conftest.er1 | |
4508 cat conftest.err >&5 | |
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4510 (exit $ac_status); } >/dev/null; then | |
4511 if test -s conftest.err; then | |
4512 ac_cpp_err=$ac_c_preproc_warn_flag | |
4513 else | |
4514 ac_cpp_err= | |
4515 fi | |
4516 else | |
4517 ac_cpp_err=yes | |
4518 fi | |
4519 if test -z "$ac_cpp_err"; then | |
4520 ac_header_preproc=yes | |
4521 else | |
4522 echo "$as_me: failed program was:" >&5 | |
4523 cat conftest.$ac_ext >&5 | |
4524 ac_header_preproc=no | |
4525 fi | |
4526 rm -f conftest.err conftest.$ac_ext | |
4527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4528 echo "${ECHO_T}$ac_header_preproc" >&6 | |
4529 | |
4530 # So? What about this header? | |
4531 case $ac_header_compiler:$ac_header_preproc in | |
4532 yes:no ) | |
4533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4536 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
4537 no:yes ) | |
4538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
4544 esac | |
4545 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
4547 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
4548 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4549 else | |
4550 eval "$as_ac_Header=$ac_header_preproc" | |
4551 fi | |
4552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
4553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
4554 | |
4555 fi | |
4556 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4557 cat >>confdefs.h <<_ACEOF | |
4558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4559 _ACEOF | |
4560 | |
4561 fi | |
4562 | |
4563 done | |
4564 | |
4565 # Emulation library used on NetBSD. | |
4566 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 | |
4567 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 | |
4568 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then | |
4569 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4570 else | |
4571 ac_check_lib_save_LIBS=$LIBS | |
4572 LIBS="-lossaudio $LIBS" | |
4573 cat >conftest.$ac_ext <<_ACEOF | |
4574 #line $LINENO "configure" | |
4575 #include "confdefs.h" | |
4576 | |
4577 /* Override any gcc2 internal prototype to avoid an error. */ | |
4578 #ifdef __cplusplus | |
4579 extern "C" | |
4580 #endif | |
4581 /* We use char because int might match the return type of a gcc2 | |
4582 builtin and then its argument prototype would still apply. */ | |
4583 char _oss_ioctl (); | |
4584 #ifdef F77_DUMMY_MAIN | |
4585 # ifdef __cplusplus | |
4586 extern "C" | |
4587 # endif | |
4588 int F77_DUMMY_MAIN() { return 1; } | |
4589 #endif | |
4590 int | |
4591 main () | |
4592 { | |
4593 _oss_ioctl (); | |
4594 ; | |
4595 return 0; | |
4596 } | |
4597 _ACEOF | |
4598 rm -f conftest.$ac_objext conftest$ac_exeext | |
4599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
4600 (eval $ac_link) 2>&5 | |
4601 ac_status=$? | |
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4603 (exit $ac_status); } && | |
4604 { ac_try='test -s conftest$ac_exeext' | |
4605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4606 (eval $ac_try) 2>&5 | |
4607 ac_status=$? | |
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4609 (exit $ac_status); }; }; then | |
4610 ac_cv_lib_ossaudio__oss_ioctl=yes | |
4611 else | |
4612 echo "$as_me: failed program was:" >&5 | |
4613 cat conftest.$ac_ext >&5 | |
4614 ac_cv_lib_ossaudio__oss_ioctl=no | |
4615 fi | |
4616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
4617 LIBS=$ac_check_lib_save_LIBS | |
4618 fi | |
4619 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | |
4620 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 | |
4621 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then | |
4622 LIBSOUND=-lossaudio | |
4623 else | |
4624 LIBSOUND= | |
4625 fi | |
4626 | |
4627 | |
4628 fi | |
4629 | |
4630 | |
4631 | |
4632 | |
4633 | |
4634 | |
4635 | |
4636 | |
4637 | |
4638 | |
4639 | |
4640 | |
4641 | |
4642 | |
4643 | |
4644 | |
4645 | |
4646 | |
4647 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | |
4648 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | |
4649 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h | |
4650 do | |
4651 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4652 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
4653 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
4655 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
4656 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4657 fi | |
4658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
4659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
4660 else | |
4661 # Is the header compilable? | |
4662 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4663 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
4664 cat >conftest.$ac_ext <<_ACEOF | |
4665 #line $LINENO "configure" | |
4666 #include "confdefs.h" | |
4667 $ac_includes_default | |
4668 #include <$ac_header> | |
4669 _ACEOF | |
4670 rm -f conftest.$ac_objext | |
4671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
4672 (eval $ac_compile) 2>&5 | |
4673 ac_status=$? | |
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4675 (exit $ac_status); } && | |
4676 { ac_try='test -s conftest.$ac_objext' | |
4677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4678 (eval $ac_try) 2>&5 | |
4679 ac_status=$? | |
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4681 (exit $ac_status); }; }; then | |
4682 ac_header_compiler=yes | |
4683 else | |
4684 echo "$as_me: failed program was:" >&5 | |
4685 cat conftest.$ac_ext >&5 | |
4686 ac_header_compiler=no | |
4687 fi | |
4688 rm -f conftest.$ac_objext conftest.$ac_ext | |
4689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4690 echo "${ECHO_T}$ac_header_compiler" >&6 | |
4691 | |
4692 # Is the header present? | |
4693 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
4695 cat >conftest.$ac_ext <<_ACEOF | |
4696 #line $LINENO "configure" | |
4697 #include "confdefs.h" | |
4698 #include <$ac_header> | |
4699 _ACEOF | |
4700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
4701 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
4702 ac_status=$? | |
4703 egrep -v '^ *\+' conftest.er1 >conftest.err | |
4704 rm -f conftest.er1 | |
4705 cat conftest.err >&5 | |
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4707 (exit $ac_status); } >/dev/null; then | |
4708 if test -s conftest.err; then | |
4709 ac_cpp_err=$ac_c_preproc_warn_flag | |
4710 else | |
4711 ac_cpp_err= | |
4712 fi | |
4713 else | |
4714 ac_cpp_err=yes | |
4715 fi | |
4716 if test -z "$ac_cpp_err"; then | |
4717 ac_header_preproc=yes | |
4718 else | |
4719 echo "$as_me: failed program was:" >&5 | |
4720 cat conftest.$ac_ext >&5 | |
4721 ac_header_preproc=no | |
4722 fi | |
4723 rm -f conftest.err conftest.$ac_ext | |
4724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4725 echo "${ECHO_T}$ac_header_preproc" >&6 | |
4726 | |
4727 # So? What about this header? | |
4728 case $ac_header_compiler:$ac_header_preproc in | |
4729 yes:no ) | |
4730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
4734 no:yes ) | |
4735 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4736 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4737 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4738 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
4741 esac | |
4742 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
4744 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
4745 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4746 else | |
4747 eval "$as_ac_Header=$ac_header_preproc" | |
4748 fi | |
4749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
4750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
4751 | |
4752 fi | |
4753 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4754 cat >>confdefs.h <<_ACEOF | |
4755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4756 _ACEOF | |
4757 | |
4758 fi | |
4759 | |
4760 done | |
4761 | |
4762 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | |
4763 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | |
4764 if test "${ac_cv_header_stdc+set}" = set; then | |
4765 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4766 else | |
4767 cat >conftest.$ac_ext <<_ACEOF | |
4768 #line $LINENO "configure" | |
4769 #include "confdefs.h" | |
4770 #include <stdlib.h> | |
4771 #include <stdarg.h> | |
4772 #include <string.h> | |
4773 #include <float.h> | |
4774 | |
4775 _ACEOF | |
4776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
4777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
4778 ac_status=$? | |
4779 egrep -v '^ *\+' conftest.er1 >conftest.err | |
4780 rm -f conftest.er1 | |
4781 cat conftest.err >&5 | |
4782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4783 (exit $ac_status); } >/dev/null; then | |
4784 if test -s conftest.err; then | |
4785 ac_cpp_err=$ac_c_preproc_warn_flag | |
4786 else | |
4787 ac_cpp_err= | |
4788 fi | |
4789 else | |
4790 ac_cpp_err=yes | |
4791 fi | |
4792 if test -z "$ac_cpp_err"; then | |
4793 ac_cv_header_stdc=yes | |
4794 else | |
4795 echo "$as_me: failed program was:" >&5 | |
4796 cat conftest.$ac_ext >&5 | |
4797 ac_cv_header_stdc=no | |
4798 fi | |
4799 rm -f conftest.err conftest.$ac_ext | |
4800 | |
4801 if test $ac_cv_header_stdc = yes; then | |
4802 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
4803 cat >conftest.$ac_ext <<_ACEOF | |
4804 #line $LINENO "configure" | |
4805 #include "confdefs.h" | |
4806 #include <string.h> | |
4807 | |
4808 _ACEOF | |
4809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4810 egrep "memchr" >/dev/null 2>&1; then | |
4811 : | |
4812 else | |
4813 ac_cv_header_stdc=no | |
4814 fi | |
4815 rm -f conftest* | |
4816 | |
4817 fi | |
4818 | |
4819 if test $ac_cv_header_stdc = yes; then | |
4820 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
4821 cat >conftest.$ac_ext <<_ACEOF | |
4822 #line $LINENO "configure" | |
4823 #include "confdefs.h" | |
4824 #include <stdlib.h> | |
4825 | |
4826 _ACEOF | |
4827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4828 egrep "free" >/dev/null 2>&1; then | |
4829 : | |
4830 else | |
4831 ac_cv_header_stdc=no | |
4832 fi | |
4833 rm -f conftest* | |
4834 | |
4835 fi | |
4836 | |
4837 if test $ac_cv_header_stdc = yes; then | |
4838 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
4839 if test "$cross_compiling" = yes; then | |
4840 : | |
4841 else | |
4842 cat >conftest.$ac_ext <<_ACEOF | |
4843 #line $LINENO "configure" | |
4844 #include "confdefs.h" | |
4845 #include <ctype.h> | |
4846 #if ((' ' & 0x0FF) == 0x020) | |
4847 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
4848 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
4849 #else | |
4850 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | |
4851 || ('j' <= (c) && (c) <= 'r') \ | |
4852 || ('s' <= (c) && (c) <= 'z')) | |
4853 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
4854 #endif | |
4855 | |
4856 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
4857 int | |
4858 main () | |
4859 { | |
4860 int i; | |
4861 for (i = 0; i < 256; i++) | |
4862 if (XOR (islower (i), ISLOWER (i)) | |
4863 || toupper (i) != TOUPPER (i)) | |
4864 exit(2); | |
4865 exit (0); | |
4866 } | |
4867 _ACEOF | |
4868 rm -f conftest$ac_exeext | |
4869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
4870 (eval $ac_link) 2>&5 | |
4871 ac_status=$? | |
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4873 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
4874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4875 (eval $ac_try) 2>&5 | |
4876 ac_status=$? | |
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4878 (exit $ac_status); }; }; then | |
4879 : | |
4880 else | |
4881 echo "$as_me: program exited with status $ac_status" >&5 | |
4882 echo "$as_me: failed program was:" >&5 | |
4883 cat conftest.$ac_ext >&5 | |
4884 ( exit $ac_status ) | |
4885 ac_cv_header_stdc=no | |
4886 fi | |
4887 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
4888 fi | |
4889 fi | |
4890 fi | |
4891 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
4892 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | |
4893 if test $ac_cv_header_stdc = yes; then | |
4894 | |
4895 cat >>confdefs.h <<\_ACEOF | |
4896 #define STDC_HEADERS 1 | |
4897 _ACEOF | |
4898 | |
4899 fi | |
4900 | |
4901 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | |
4902 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 4200 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
4903 if test "${ac_cv_header_time+set}" = set; then | 4201 if test "${ac_cv_header_time+set}" = set; then |
4904 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4202 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4905 else | 4203 else |
4906 cat >conftest.$ac_ext <<_ACEOF | 4204 cat >conftest.$ac_ext <<_ACEOF |
4907 #line $LINENO "configure" | 4205 #line 4205 "configure" |
4908 #include "confdefs.h" | 4206 #include "confdefs.h" |
4909 #include <sys/types.h> | 4207 #include <sys/types.h> |
4910 #include <sys/time.h> | 4208 #include <sys/time.h> |
4911 #include <time.h> | 4209 #include <time.h> |
4912 | 4210 |
4913 #ifdef F77_DUMMY_MAIN | |
4914 # ifdef __cplusplus | |
4915 extern "C" | |
4916 # endif | |
4917 int F77_DUMMY_MAIN() { return 1; } | |
4918 #endif | |
4919 int | 4211 int |
4920 main () | 4212 main () |
4921 { | 4213 { |
4922 if ((struct tm *) 0) | 4214 if ((struct tm *) 0) |
4923 return 0; | 4215 return 0; |
4924 ; | 4216 ; |
4925 return 0; | 4217 return 0; |
4926 } | 4218 } |
4927 _ACEOF | 4219 _ACEOF |
4928 rm -f conftest.$ac_objext | 4220 rm -f conftest.$ac_objext |
4929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4221 if { (eval echo "$as_me:4221: \"$ac_compile\"") >&5 |
4930 (eval $ac_compile) 2>&5 | 4222 (eval $ac_compile) 2>&5 |
4931 ac_status=$? | 4223 ac_status=$? |
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4224 echo "$as_me:4224: \$? = $ac_status" >&5 |
4933 (exit $ac_status); } && | 4225 (exit $ac_status); } && |
4934 { ac_try='test -s conftest.$ac_objext' | 4226 { ac_try='test -s conftest.$ac_objext' |
4935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4227 { (eval echo "$as_me:4227: \"$ac_try\"") >&5 |
4936 (eval $ac_try) 2>&5 | 4228 (eval $ac_try) 2>&5 |
4937 ac_status=$? | 4229 ac_status=$? |
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4230 echo "$as_me:4230: \$? = $ac_status" >&5 |
4939 (exit $ac_status); }; }; then | 4231 (exit $ac_status); }; }; then |
4940 ac_cv_header_time=yes | 4232 ac_cv_header_time=yes |
4941 else | 4233 else |
4942 echo "$as_me: failed program was:" >&5 | 4234 echo "$as_me: failed program was:" >&5 |
4943 cat conftest.$ac_ext >&5 | 4235 cat conftest.$ac_ext >&5 |
4944 ac_cv_header_time=no | 4236 ac_cv_header_time=no |
4945 fi | 4237 fi |
4946 rm -f conftest.$ac_objext conftest.$ac_ext | 4238 rm -f conftest.$ac_objext conftest.$ac_ext |
4947 fi | 4239 fi |
4948 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 4240 echo "$as_me:4240: result: $ac_cv_header_time" >&5 |
4949 echo "${ECHO_T}$ac_cv_header_time" >&6 | 4241 echo "${ECHO_T}$ac_cv_header_time" >&6 |
4950 if test $ac_cv_header_time = yes; then | 4242 if test $ac_cv_header_time = yes; then |
4951 | 4243 |
4952 cat >>confdefs.h <<\_ACEOF | 4244 cat >>confdefs.h <<\EOF |
4953 #define TIME_WITH_SYS_TIME 1 | 4245 #define TIME_WITH_SYS_TIME 1 |
4954 _ACEOF | 4246 EOF |
4955 | 4247 |
4956 fi | 4248 fi |
4957 | 4249 |
4958 echo "$as_me:$LINENO: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 4250 echo "$as_me:4250: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
4959 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 | 4251 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 |
4960 if test "${ac_cv_decl_sys_siglist+set}" = set; then | 4252 if test "${ac_cv_decl_sys_siglist+set}" = set; then |
4961 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4253 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4962 else | 4254 else |
4963 cat >conftest.$ac_ext <<_ACEOF | 4255 cat >conftest.$ac_ext <<_ACEOF |
4964 #line $LINENO "configure" | 4256 #line 4256 "configure" |
4965 #include "confdefs.h" | 4257 #include "confdefs.h" |
4966 #include <sys/types.h> | 4258 #include <sys/types.h> |
4967 #include <signal.h> | 4259 #include <signal.h> |
4968 /* NetBSD declares sys_siglist in unistd.h. */ | 4260 /* NetBSD declares sys_siglist in unistd.h. */ |
4969 #if HAVE_UNISTD_H | 4261 #if HAVE_UNISTD_H |
4970 # include <unistd.h> | 4262 # include <unistd.h> |
4971 #endif | 4263 #endif |
4972 | 4264 |
4973 #ifdef F77_DUMMY_MAIN | |
4974 # ifdef __cplusplus | |
4975 extern "C" | |
4976 # endif | |
4977 int F77_DUMMY_MAIN() { return 1; } | |
4978 #endif | |
4979 int | 4265 int |
4980 main () | 4266 main () |
4981 { | 4267 { |
4982 char *msg = *(sys_siglist + 1); | 4268 char *msg = *(sys_siglist + 1); |
4983 ; | 4269 ; |
4984 return 0; | 4270 return 0; |
4985 } | 4271 } |
4986 _ACEOF | 4272 _ACEOF |
4987 rm -f conftest.$ac_objext | 4273 rm -f conftest.$ac_objext |
4988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4274 if { (eval echo "$as_me:4274: \"$ac_compile\"") >&5 |
4989 (eval $ac_compile) 2>&5 | 4275 (eval $ac_compile) 2>&5 |
4990 ac_status=$? | 4276 ac_status=$? |
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4277 echo "$as_me:4277: \$? = $ac_status" >&5 |
4992 (exit $ac_status); } && | 4278 (exit $ac_status); } && |
4993 { ac_try='test -s conftest.$ac_objext' | 4279 { ac_try='test -s conftest.$ac_objext' |
4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4280 { (eval echo "$as_me:4280: \"$ac_try\"") >&5 |
4995 (eval $ac_try) 2>&5 | 4281 (eval $ac_try) 2>&5 |
4996 ac_status=$? | 4282 ac_status=$? |
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4283 echo "$as_me:4283: \$? = $ac_status" >&5 |
4998 (exit $ac_status); }; }; then | 4284 (exit $ac_status); }; }; then |
4999 ac_cv_decl_sys_siglist=yes | 4285 ac_cv_decl_sys_siglist=yes |
5000 else | 4286 else |
5001 echo "$as_me: failed program was:" >&5 | 4287 echo "$as_me: failed program was:" >&5 |
5002 cat conftest.$ac_ext >&5 | 4288 cat conftest.$ac_ext >&5 |
5003 ac_cv_decl_sys_siglist=no | 4289 ac_cv_decl_sys_siglist=no |
5004 fi | 4290 fi |
5005 rm -f conftest.$ac_objext conftest.$ac_ext | 4291 rm -f conftest.$ac_objext conftest.$ac_ext |
5006 fi | 4292 fi |
5007 echo "$as_me:$LINENO: result: $ac_cv_decl_sys_siglist" >&5 | 4293 echo "$as_me:4293: result: $ac_cv_decl_sys_siglist" >&5 |
5008 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 | 4294 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 |
5009 if test $ac_cv_decl_sys_siglist = yes; then | 4295 if test $ac_cv_decl_sys_siglist = yes; then |
5010 | 4296 |
5011 cat >>confdefs.h <<\_ACEOF | 4297 cat >>confdefs.h <<\EOF |
5012 #define SYS_SIGLIST_DECLARED 1 | 4298 #define SYS_SIGLIST_DECLARED 1 |
5013 _ACEOF | 4299 EOF |
5014 | 4300 |
5015 fi | 4301 fi |
5016 | 4302 |
5017 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 4303 echo "$as_me:4303: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
5018 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 | 4304 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 |
5019 if test "${ac_cv_header_sys_wait_h+set}" = set; then | 4305 if test "${ac_cv_header_sys_wait_h+set}" = set; then |
5020 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4306 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5021 else | 4307 else |
5022 cat >conftest.$ac_ext <<_ACEOF | 4308 cat >conftest.$ac_ext <<_ACEOF |
5023 #line $LINENO "configure" | 4309 #line 4309 "configure" |
5024 #include "confdefs.h" | 4310 #include "confdefs.h" |
5025 #include <sys/types.h> | 4311 #include <sys/types.h> |
5026 #include <sys/wait.h> | 4312 #include <sys/wait.h> |
5027 #ifndef WEXITSTATUS | 4313 #ifndef WEXITSTATUS |
5028 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 4314 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
5029 #endif | 4315 #endif |
5030 #ifndef WIFEXITED | 4316 #ifndef WIFEXITED |
5031 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | 4317 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
5032 #endif | 4318 #endif |
5033 | 4319 |
5034 #ifdef F77_DUMMY_MAIN | |
5035 # ifdef __cplusplus | |
5036 extern "C" | |
5037 # endif | |
5038 int F77_DUMMY_MAIN() { return 1; } | |
5039 #endif | |
5040 int | 4320 int |
5041 main () | 4321 main () |
5042 { | 4322 { |
5043 int s; | 4323 int s; |
5044 wait (&s); | 4324 wait (&s); |
5046 ; | 4326 ; |
5047 return 0; | 4327 return 0; |
5048 } | 4328 } |
5049 _ACEOF | 4329 _ACEOF |
5050 rm -f conftest.$ac_objext | 4330 rm -f conftest.$ac_objext |
5051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4331 if { (eval echo "$as_me:4331: \"$ac_compile\"") >&5 |
5052 (eval $ac_compile) 2>&5 | 4332 (eval $ac_compile) 2>&5 |
5053 ac_status=$? | 4333 ac_status=$? |
5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4334 echo "$as_me:4334: \$? = $ac_status" >&5 |
5055 (exit $ac_status); } && | 4335 (exit $ac_status); } && |
5056 { ac_try='test -s conftest.$ac_objext' | 4336 { ac_try='test -s conftest.$ac_objext' |
5057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4337 { (eval echo "$as_me:4337: \"$ac_try\"") >&5 |
5058 (eval $ac_try) 2>&5 | 4338 (eval $ac_try) 2>&5 |
5059 ac_status=$? | 4339 ac_status=$? |
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4340 echo "$as_me:4340: \$? = $ac_status" >&5 |
5061 (exit $ac_status); }; }; then | 4341 (exit $ac_status); }; }; then |
5062 ac_cv_header_sys_wait_h=yes | 4342 ac_cv_header_sys_wait_h=yes |
5063 else | 4343 else |
5064 echo "$as_me: failed program was:" >&5 | 4344 echo "$as_me: failed program was:" >&5 |
5065 cat conftest.$ac_ext >&5 | 4345 cat conftest.$ac_ext >&5 |
5066 ac_cv_header_sys_wait_h=no | 4346 ac_cv_header_sys_wait_h=no |
5067 fi | 4347 fi |
5068 rm -f conftest.$ac_objext conftest.$ac_ext | 4348 rm -f conftest.$ac_objext conftest.$ac_ext |
5069 fi | 4349 fi |
5070 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | 4350 echo "$as_me:4350: result: $ac_cv_header_sys_wait_h" >&5 |
5071 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 | 4351 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 |
5072 if test $ac_cv_header_sys_wait_h = yes; then | 4352 if test $ac_cv_header_sys_wait_h = yes; then |
5073 | 4353 |
5074 cat >>confdefs.h <<\_ACEOF | 4354 cat >>confdefs.h <<\EOF |
5075 #define HAVE_SYS_WAIT_H 1 | 4355 #define HAVE_SYS_WAIT_H 1 |
5076 _ACEOF | 4356 EOF |
5077 | 4357 |
5078 fi | 4358 fi |
5079 | 4359 |
5080 | 4360 echo "$as_me:4360: checking for struct utimbuf" >&5 |
5081 echo "$as_me:$LINENO: checking for struct utimbuf" >&5 | |
5082 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 | 4361 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 |
5083 if test "${emacs_cv_struct_utimbuf+set}" = set; then | 4362 if test "${emacs_cv_struct_utimbuf+set}" = set; then |
5084 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4363 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5085 else | 4364 else |
5086 cat >conftest.$ac_ext <<_ACEOF | 4365 cat >conftest.$ac_ext <<_ACEOF |
5087 #line $LINENO "configure" | 4366 #line 4366 "configure" |
5088 #include "confdefs.h" | 4367 #include "confdefs.h" |
5089 #ifdef TIME_WITH_SYS_TIME | 4368 #ifdef TIME_WITH_SYS_TIME |
5090 #include <sys/time.h> | 4369 #include <sys/time.h> |
5091 #include <time.h> | 4370 #include <time.h> |
5092 #else | 4371 #else |
5097 #endif | 4376 #endif |
5098 #endif | 4377 #endif |
5099 #ifdef HAVE_UTIME_H | 4378 #ifdef HAVE_UTIME_H |
5100 #include <utime.h> | 4379 #include <utime.h> |
5101 #endif | 4380 #endif |
5102 #ifdef F77_DUMMY_MAIN | |
5103 # ifdef __cplusplus | |
5104 extern "C" | |
5105 # endif | |
5106 int F77_DUMMY_MAIN() { return 1; } | |
5107 #endif | |
5108 int | 4381 int |
5109 main () | 4382 main () |
5110 { | 4383 { |
5111 static struct utimbuf x; x.actime = x.modtime; | 4384 static struct utimbuf x; x.actime = x.modtime; |
5112 ; | 4385 ; |
5113 return 0; | 4386 return 0; |
5114 } | 4387 } |
5115 _ACEOF | 4388 _ACEOF |
5116 rm -f conftest.$ac_objext | 4389 rm -f conftest.$ac_objext |
5117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4390 if { (eval echo "$as_me:4390: \"$ac_compile\"") >&5 |
5118 (eval $ac_compile) 2>&5 | 4391 (eval $ac_compile) 2>&5 |
5119 ac_status=$? | 4392 ac_status=$? |
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4393 echo "$as_me:4393: \$? = $ac_status" >&5 |
5121 (exit $ac_status); } && | 4394 (exit $ac_status); } && |
5122 { ac_try='test -s conftest.$ac_objext' | 4395 { ac_try='test -s conftest.$ac_objext' |
5123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4396 { (eval echo "$as_me:4396: \"$ac_try\"") >&5 |
5124 (eval $ac_try) 2>&5 | 4397 (eval $ac_try) 2>&5 |
5125 ac_status=$? | 4398 ac_status=$? |
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4399 echo "$as_me:4399: \$? = $ac_status" >&5 |
5127 (exit $ac_status); }; }; then | 4400 (exit $ac_status); }; }; then |
5128 emacs_cv_struct_utimbuf=yes | 4401 emacs_cv_struct_utimbuf=yes |
5129 else | 4402 else |
5130 echo "$as_me: failed program was:" >&5 | 4403 echo "$as_me: failed program was:" >&5 |
5131 cat conftest.$ac_ext >&5 | 4404 cat conftest.$ac_ext >&5 |
5132 emacs_cv_struct_utimbuf=no | 4405 emacs_cv_struct_utimbuf=no |
5133 fi | 4406 fi |
5134 rm -f conftest.$ac_objext conftest.$ac_ext | 4407 rm -f conftest.$ac_objext conftest.$ac_ext |
5135 fi | 4408 fi |
5136 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 | 4409 echo "$as_me:4409: result: $emacs_cv_struct_utimbuf" >&5 |
5137 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 | 4410 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 |
5138 if test $emacs_cv_struct_utimbuf = yes; then | 4411 if test $emacs_cv_struct_utimbuf = yes; then |
5139 | 4412 |
5140 cat >>confdefs.h <<\_ACEOF | 4413 cat >>confdefs.h <<\EOF |
5141 #define HAVE_STRUCT_UTIMBUF 1 | 4414 #define HAVE_STRUCT_UTIMBUF 1 |
5142 _ACEOF | 4415 EOF |
5143 | 4416 |
5144 fi | 4417 fi |
5145 | 4418 |
5146 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | 4419 echo "$as_me:4419: checking return type of signal handlers" >&5 |
5147 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 | 4420 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
5148 if test "${ac_cv_type_signal+set}" = set; then | 4421 if test "${ac_cv_type_signal+set}" = set; then |
5149 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4422 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5150 else | 4423 else |
5151 cat >conftest.$ac_ext <<_ACEOF | 4424 cat >conftest.$ac_ext <<_ACEOF |
5152 #line $LINENO "configure" | 4425 #line 4425 "configure" |
5153 #include "confdefs.h" | 4426 #include "confdefs.h" |
5154 #include <sys/types.h> | 4427 #include <sys/types.h> |
5155 #include <signal.h> | 4428 #include <signal.h> |
5156 #ifdef signal | 4429 #ifdef signal |
5157 # undef signal | 4430 # undef signal |
5160 extern "C" void (*signal (int, void (*)(int)))(int); | 4433 extern "C" void (*signal (int, void (*)(int)))(int); |
5161 #else | 4434 #else |
5162 void (*signal ()) (); | 4435 void (*signal ()) (); |
5163 #endif | 4436 #endif |
5164 | 4437 |
5165 #ifdef F77_DUMMY_MAIN | |
5166 # ifdef __cplusplus | |
5167 extern "C" | |
5168 # endif | |
5169 int F77_DUMMY_MAIN() { return 1; } | |
5170 #endif | |
5171 int | 4438 int |
5172 main () | 4439 main () |
5173 { | 4440 { |
5174 int i; | 4441 int i; |
5175 ; | 4442 ; |
5176 return 0; | 4443 return 0; |
5177 } | 4444 } |
5178 _ACEOF | 4445 _ACEOF |
5179 rm -f conftest.$ac_objext | 4446 rm -f conftest.$ac_objext |
5180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4447 if { (eval echo "$as_me:4447: \"$ac_compile\"") >&5 |
5181 (eval $ac_compile) 2>&5 | 4448 (eval $ac_compile) 2>&5 |
5182 ac_status=$? | 4449 ac_status=$? |
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4450 echo "$as_me:4450: \$? = $ac_status" >&5 |
5184 (exit $ac_status); } && | 4451 (exit $ac_status); } && |
5185 { ac_try='test -s conftest.$ac_objext' | 4452 { ac_try='test -s conftest.$ac_objext' |
5186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4453 { (eval echo "$as_me:4453: \"$ac_try\"") >&5 |
5187 (eval $ac_try) 2>&5 | 4454 (eval $ac_try) 2>&5 |
5188 ac_status=$? | 4455 ac_status=$? |
5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4456 echo "$as_me:4456: \$? = $ac_status" >&5 |
5190 (exit $ac_status); }; }; then | 4457 (exit $ac_status); }; }; then |
5191 ac_cv_type_signal=void | 4458 ac_cv_type_signal=void |
5192 else | 4459 else |
5193 echo "$as_me: failed program was:" >&5 | 4460 echo "$as_me: failed program was:" >&5 |
5194 cat conftest.$ac_ext >&5 | 4461 cat conftest.$ac_ext >&5 |
5195 ac_cv_type_signal=int | 4462 ac_cv_type_signal=int |
5196 fi | 4463 fi |
5197 rm -f conftest.$ac_objext conftest.$ac_ext | 4464 rm -f conftest.$ac_objext conftest.$ac_ext |
5198 fi | 4465 fi |
5199 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | 4466 echo "$as_me:4466: result: $ac_cv_type_signal" >&5 |
5200 echo "${ECHO_T}$ac_cv_type_signal" >&6 | 4467 echo "${ECHO_T}$ac_cv_type_signal" >&6 |
5201 | 4468 |
5202 cat >>confdefs.h <<_ACEOF | 4469 cat >>confdefs.h <<EOF |
5203 #define RETSIGTYPE $ac_cv_type_signal | 4470 #define RETSIGTYPE $ac_cv_type_signal |
5204 _ACEOF | 4471 EOF |
5205 | 4472 |
5206 | 4473 echo "$as_me:4473: checking for speed_t" >&5 |
5207 | |
5208 echo "$as_me:$LINENO: checking for speed_t" >&5 | |
5209 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 | 4474 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 |
5210 if test "${emacs_cv_speed_t+set}" = set; then | 4475 if test "${emacs_cv_speed_t+set}" = set; then |
5211 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4476 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5212 else | 4477 else |
5213 cat >conftest.$ac_ext <<_ACEOF | 4478 cat >conftest.$ac_ext <<_ACEOF |
5214 #line $LINENO "configure" | 4479 #line 4479 "configure" |
5215 #include "confdefs.h" | 4480 #include "confdefs.h" |
5216 #include <termios.h> | 4481 #include <termios.h> |
5217 #ifdef F77_DUMMY_MAIN | |
5218 # ifdef __cplusplus | |
5219 extern "C" | |
5220 # endif | |
5221 int F77_DUMMY_MAIN() { return 1; } | |
5222 #endif | |
5223 int | 4482 int |
5224 main () | 4483 main () |
5225 { | 4484 { |
5226 speed_t x = 1; | 4485 speed_t x = 1; |
5227 ; | 4486 ; |
5228 return 0; | 4487 return 0; |
5229 } | 4488 } |
5230 _ACEOF | 4489 _ACEOF |
5231 rm -f conftest.$ac_objext | 4490 rm -f conftest.$ac_objext |
5232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4491 if { (eval echo "$as_me:4491: \"$ac_compile\"") >&5 |
5233 (eval $ac_compile) 2>&5 | 4492 (eval $ac_compile) 2>&5 |
5234 ac_status=$? | 4493 ac_status=$? |
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4494 echo "$as_me:4494: \$? = $ac_status" >&5 |
5236 (exit $ac_status); } && | 4495 (exit $ac_status); } && |
5237 { ac_try='test -s conftest.$ac_objext' | 4496 { ac_try='test -s conftest.$ac_objext' |
5238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4497 { (eval echo "$as_me:4497: \"$ac_try\"") >&5 |
5239 (eval $ac_try) 2>&5 | 4498 (eval $ac_try) 2>&5 |
5240 ac_status=$? | 4499 ac_status=$? |
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4500 echo "$as_me:4500: \$? = $ac_status" >&5 |
5242 (exit $ac_status); }; }; then | 4501 (exit $ac_status); }; }; then |
5243 emacs_cv_speed_t=yes | 4502 emacs_cv_speed_t=yes |
5244 else | 4503 else |
5245 echo "$as_me: failed program was:" >&5 | 4504 echo "$as_me: failed program was:" >&5 |
5246 cat conftest.$ac_ext >&5 | 4505 cat conftest.$ac_ext >&5 |
5247 emacs_cv_speed_t=no | 4506 emacs_cv_speed_t=no |
5248 fi | 4507 fi |
5249 rm -f conftest.$ac_objext conftest.$ac_ext | 4508 rm -f conftest.$ac_objext conftest.$ac_ext |
5250 fi | 4509 fi |
5251 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 | 4510 echo "$as_me:4510: result: $emacs_cv_speed_t" >&5 |
5252 echo "${ECHO_T}$emacs_cv_speed_t" >&6 | 4511 echo "${ECHO_T}$emacs_cv_speed_t" >&6 |
5253 if test $emacs_cv_speed_t = yes; then | 4512 if test $emacs_cv_speed_t = yes; then |
5254 | 4513 |
5255 cat >>confdefs.h <<\_ACEOF | 4514 cat >>confdefs.h <<\EOF |
5256 #define HAVE_SPEED_T 1 | 4515 #define HAVE_SPEED_T 1 |
5257 _ACEOF | 4516 EOF |
5258 | 4517 |
5259 fi | 4518 fi |
5260 | 4519 |
5261 echo "$as_me:$LINENO: checking for struct timeval" >&5 | 4520 echo "$as_me:4520: checking for struct timeval" >&5 |
5262 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 | 4521 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 |
5263 if test "${emacs_cv_struct_timeval+set}" = set; then | 4522 if test "${emacs_cv_struct_timeval+set}" = set; then |
5264 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4523 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5265 else | 4524 else |
5266 cat >conftest.$ac_ext <<_ACEOF | 4525 cat >conftest.$ac_ext <<_ACEOF |
5267 #line $LINENO "configure" | 4526 #line 4526 "configure" |
5268 #include "confdefs.h" | 4527 #include "confdefs.h" |
5269 #ifdef TIME_WITH_SYS_TIME | 4528 #ifdef TIME_WITH_SYS_TIME |
5270 #include <sys/time.h> | 4529 #include <sys/time.h> |
5271 #include <time.h> | 4530 #include <time.h> |
5272 #else | 4531 #else |
5274 #include <sys/time.h> | 4533 #include <sys/time.h> |
5275 #else | 4534 #else |
5276 #include <time.h> | 4535 #include <time.h> |
5277 #endif | 4536 #endif |
5278 #endif | 4537 #endif |
5279 #ifdef F77_DUMMY_MAIN | |
5280 # ifdef __cplusplus | |
5281 extern "C" | |
5282 # endif | |
5283 int F77_DUMMY_MAIN() { return 1; } | |
5284 #endif | |
5285 int | 4538 int |
5286 main () | 4539 main () |
5287 { | 4540 { |
5288 static struct timeval x; x.tv_sec = x.tv_usec; | 4541 static struct timeval x; x.tv_sec = x.tv_usec; |
5289 ; | 4542 ; |
5290 return 0; | 4543 return 0; |
5291 } | 4544 } |
5292 _ACEOF | 4545 _ACEOF |
5293 rm -f conftest.$ac_objext | 4546 rm -f conftest.$ac_objext |
5294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4547 if { (eval echo "$as_me:4547: \"$ac_compile\"") >&5 |
5295 (eval $ac_compile) 2>&5 | 4548 (eval $ac_compile) 2>&5 |
5296 ac_status=$? | 4549 ac_status=$? |
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4550 echo "$as_me:4550: \$? = $ac_status" >&5 |
5298 (exit $ac_status); } && | 4551 (exit $ac_status); } && |
5299 { ac_try='test -s conftest.$ac_objext' | 4552 { ac_try='test -s conftest.$ac_objext' |
5300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4553 { (eval echo "$as_me:4553: \"$ac_try\"") >&5 |
5301 (eval $ac_try) 2>&5 | 4554 (eval $ac_try) 2>&5 |
5302 ac_status=$? | 4555 ac_status=$? |
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4556 echo "$as_me:4556: \$? = $ac_status" >&5 |
5304 (exit $ac_status); }; }; then | 4557 (exit $ac_status); }; }; then |
5305 emacs_cv_struct_timeval=yes | 4558 emacs_cv_struct_timeval=yes |
5306 else | 4559 else |
5307 echo "$as_me: failed program was:" >&5 | 4560 echo "$as_me: failed program was:" >&5 |
5308 cat conftest.$ac_ext >&5 | 4561 cat conftest.$ac_ext >&5 |
5309 emacs_cv_struct_timeval=no | 4562 emacs_cv_struct_timeval=no |
5310 fi | 4563 fi |
5311 rm -f conftest.$ac_objext conftest.$ac_ext | 4564 rm -f conftest.$ac_objext conftest.$ac_ext |
5312 fi | 4565 fi |
5313 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 | 4566 echo "$as_me:4566: result: $emacs_cv_struct_timeval" >&5 |
5314 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 | 4567 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 |
5315 HAVE_TIMEVAL=$emacs_cv_struct_timeval | 4568 HAVE_TIMEVAL=$emacs_cv_struct_timeval |
5316 if test $emacs_cv_struct_timeval = yes; then | 4569 if test $emacs_cv_struct_timeval = yes; then |
5317 | 4570 |
5318 cat >>confdefs.h <<\_ACEOF | 4571 cat >>confdefs.h <<\EOF |
5319 #define HAVE_TIMEVAL 1 | 4572 #define HAVE_TIMEVAL 1 |
5320 _ACEOF | 4573 EOF |
5321 | 4574 |
5322 fi | 4575 fi |
5323 | 4576 |
5324 echo "$as_me:$LINENO: checking for struct exception" >&5 | 4577 echo "$as_me:4577: checking for struct exception" >&5 |
5325 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 | 4578 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 |
5326 if test "${emacs_cv_struct_exception+set}" = set; then | 4579 if test "${emacs_cv_struct_exception+set}" = set; then |
5327 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4580 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5328 else | 4581 else |
5329 cat >conftest.$ac_ext <<_ACEOF | 4582 cat >conftest.$ac_ext <<_ACEOF |
5330 #line $LINENO "configure" | 4583 #line 4583 "configure" |
5331 #include "confdefs.h" | 4584 #include "confdefs.h" |
5332 #include <math.h> | 4585 #include <math.h> |
5333 #ifdef F77_DUMMY_MAIN | |
5334 # ifdef __cplusplus | |
5335 extern "C" | |
5336 # endif | |
5337 int F77_DUMMY_MAIN() { return 1; } | |
5338 #endif | |
5339 int | 4586 int |
5340 main () | 4587 main () |
5341 { | 4588 { |
5342 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | 4589 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; |
5343 ; | 4590 ; |
5344 return 0; | 4591 return 0; |
5345 } | 4592 } |
5346 _ACEOF | 4593 _ACEOF |
5347 rm -f conftest.$ac_objext | 4594 rm -f conftest.$ac_objext |
5348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4595 if { (eval echo "$as_me:4595: \"$ac_compile\"") >&5 |
5349 (eval $ac_compile) 2>&5 | 4596 (eval $ac_compile) 2>&5 |
5350 ac_status=$? | 4597 ac_status=$? |
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4598 echo "$as_me:4598: \$? = $ac_status" >&5 |
5352 (exit $ac_status); } && | 4599 (exit $ac_status); } && |
5353 { ac_try='test -s conftest.$ac_objext' | 4600 { ac_try='test -s conftest.$ac_objext' |
5354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4601 { (eval echo "$as_me:4601: \"$ac_try\"") >&5 |
5355 (eval $ac_try) 2>&5 | 4602 (eval $ac_try) 2>&5 |
5356 ac_status=$? | 4603 ac_status=$? |
5357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4604 echo "$as_me:4604: \$? = $ac_status" >&5 |
5358 (exit $ac_status); }; }; then | 4605 (exit $ac_status); }; }; then |
5359 emacs_cv_struct_exception=yes | 4606 emacs_cv_struct_exception=yes |
5360 else | 4607 else |
5361 echo "$as_me: failed program was:" >&5 | 4608 echo "$as_me: failed program was:" >&5 |
5362 cat conftest.$ac_ext >&5 | 4609 cat conftest.$ac_ext >&5 |
5363 emacs_cv_struct_exception=no | 4610 emacs_cv_struct_exception=no |
5364 fi | 4611 fi |
5365 rm -f conftest.$ac_objext conftest.$ac_ext | 4612 rm -f conftest.$ac_objext conftest.$ac_ext |
5366 fi | 4613 fi |
5367 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 | 4614 echo "$as_me:4614: result: $emacs_cv_struct_exception" >&5 |
5368 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 | 4615 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 |
5369 HAVE_EXCEPTION=$emacs_cv_struct_exception | 4616 HAVE_EXCEPTION=$emacs_cv_struct_exception |
5370 if test $emacs_cv_struct_exception != yes; then | 4617 if test $emacs_cv_struct_exception != yes; then |
5371 | 4618 |
5372 cat >>confdefs.h <<\_ACEOF | 4619 cat >>confdefs.h <<\EOF |
5373 #define NO_MATHERR 1 | 4620 #define NO_MATHERR 1 |
5374 _ACEOF | 4621 EOF |
5375 | 4622 |
5376 fi | 4623 fi |
5377 | 4624 |
5378 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 | 4625 echo "$as_me:4625: checking whether struct tm is in sys/time.h or time.h" >&5 |
5379 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 | 4626 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
5380 if test "${ac_cv_struct_tm+set}" = set; then | 4627 if test "${ac_cv_struct_tm+set}" = set; then |
5381 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4628 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5382 else | 4629 else |
5383 cat >conftest.$ac_ext <<_ACEOF | 4630 cat >conftest.$ac_ext <<_ACEOF |
5384 #line $LINENO "configure" | 4631 #line 4631 "configure" |
5385 #include "confdefs.h" | 4632 #include "confdefs.h" |
5386 #include <sys/types.h> | 4633 #include <sys/types.h> |
5387 #include <time.h> | 4634 #include <time.h> |
5388 | 4635 |
5389 #ifdef F77_DUMMY_MAIN | |
5390 # ifdef __cplusplus | |
5391 extern "C" | |
5392 # endif | |
5393 int F77_DUMMY_MAIN() { return 1; } | |
5394 #endif | |
5395 int | 4636 int |
5396 main () | 4637 main () |
5397 { | 4638 { |
5398 struct tm *tp; tp->tm_sec; | 4639 struct tm *tp; tp->tm_sec; |
5399 ; | 4640 ; |
5400 return 0; | 4641 return 0; |
5401 } | 4642 } |
5402 _ACEOF | 4643 _ACEOF |
5403 rm -f conftest.$ac_objext | 4644 rm -f conftest.$ac_objext |
5404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4645 if { (eval echo "$as_me:4645: \"$ac_compile\"") >&5 |
5405 (eval $ac_compile) 2>&5 | 4646 (eval $ac_compile) 2>&5 |
5406 ac_status=$? | 4647 ac_status=$? |
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4648 echo "$as_me:4648: \$? = $ac_status" >&5 |
5408 (exit $ac_status); } && | 4649 (exit $ac_status); } && |
5409 { ac_try='test -s conftest.$ac_objext' | 4650 { ac_try='test -s conftest.$ac_objext' |
5410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4651 { (eval echo "$as_me:4651: \"$ac_try\"") >&5 |
5411 (eval $ac_try) 2>&5 | 4652 (eval $ac_try) 2>&5 |
5412 ac_status=$? | 4653 ac_status=$? |
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4654 echo "$as_me:4654: \$? = $ac_status" >&5 |
5414 (exit $ac_status); }; }; then | 4655 (exit $ac_status); }; }; then |
5415 ac_cv_struct_tm=time.h | 4656 ac_cv_struct_tm=time.h |
5416 else | 4657 else |
5417 echo "$as_me: failed program was:" >&5 | 4658 echo "$as_me: failed program was:" >&5 |
5418 cat conftest.$ac_ext >&5 | 4659 cat conftest.$ac_ext >&5 |
5419 ac_cv_struct_tm=sys/time.h | 4660 ac_cv_struct_tm=sys/time.h |
5420 fi | 4661 fi |
5421 rm -f conftest.$ac_objext conftest.$ac_ext | 4662 rm -f conftest.$ac_objext conftest.$ac_ext |
5422 fi | 4663 fi |
5423 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 | 4664 echo "$as_me:4664: result: $ac_cv_struct_tm" >&5 |
5424 echo "${ECHO_T}$ac_cv_struct_tm" >&6 | 4665 echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
5425 if test $ac_cv_struct_tm = sys/time.h; then | 4666 if test $ac_cv_struct_tm = sys/time.h; then |
5426 | 4667 |
5427 cat >>confdefs.h <<\_ACEOF | 4668 cat >>confdefs.h <<\EOF |
5428 #define TM_IN_SYS_TIME 1 | 4669 #define TM_IN_SYS_TIME 1 |
5429 _ACEOF | 4670 EOF |
5430 | 4671 |
5431 fi | 4672 fi |
5432 | 4673 |
5433 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 | 4674 echo "$as_me:4674: checking for struct tm.tm_zone" >&5 |
5434 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 | 4675 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 |
5435 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | 4676 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then |
5436 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4677 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5437 else | 4678 else |
5438 cat >conftest.$ac_ext <<_ACEOF | 4679 cat >conftest.$ac_ext <<_ACEOF |
5439 #line $LINENO "configure" | 4680 #line 4680 "configure" |
5440 #include "confdefs.h" | 4681 #include "confdefs.h" |
5441 #include <sys/types.h> | 4682 #include <sys/types.h> |
5442 #include <$ac_cv_struct_tm> | 4683 #include <$ac_cv_struct_tm> |
5443 | 4684 |
5444 | |
5445 #ifdef F77_DUMMY_MAIN | |
5446 # ifdef __cplusplus | |
5447 extern "C" | |
5448 # endif | |
5449 int F77_DUMMY_MAIN() { return 1; } | |
5450 #endif | |
5451 int | 4685 int |
5452 main () | 4686 main () |
5453 { | 4687 { |
5454 static struct tm ac_aggr; | 4688 static struct tm ac_aggr; |
5455 if (ac_aggr.tm_zone) | 4689 if (ac_aggr.tm_zone) |
5457 ; | 4691 ; |
5458 return 0; | 4692 return 0; |
5459 } | 4693 } |
5460 _ACEOF | 4694 _ACEOF |
5461 rm -f conftest.$ac_objext | 4695 rm -f conftest.$ac_objext |
5462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4696 if { (eval echo "$as_me:4696: \"$ac_compile\"") >&5 |
5463 (eval $ac_compile) 2>&5 | 4697 (eval $ac_compile) 2>&5 |
5464 ac_status=$? | 4698 ac_status=$? |
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4699 echo "$as_me:4699: \$? = $ac_status" >&5 |
5466 (exit $ac_status); } && | 4700 (exit $ac_status); } && |
5467 { ac_try='test -s conftest.$ac_objext' | 4701 { ac_try='test -s conftest.$ac_objext' |
5468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4702 { (eval echo "$as_me:4702: \"$ac_try\"") >&5 |
5469 (eval $ac_try) 2>&5 | 4703 (eval $ac_try) 2>&5 |
5470 ac_status=$? | 4704 ac_status=$? |
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4705 echo "$as_me:4705: \$? = $ac_status" >&5 |
5472 (exit $ac_status); }; }; then | 4706 (exit $ac_status); }; }; then |
5473 ac_cv_member_struct_tm_tm_zone=yes | 4707 ac_cv_member_struct_tm_tm_zone=yes |
5474 else | 4708 else |
5475 echo "$as_me: failed program was:" >&5 | 4709 echo "$as_me: failed program was:" >&5 |
5476 cat conftest.$ac_ext >&5 | 4710 cat conftest.$ac_ext >&5 |
5477 ac_cv_member_struct_tm_tm_zone=no | 4711 ac_cv_member_struct_tm_tm_zone=no |
5478 fi | 4712 fi |
5479 rm -f conftest.$ac_objext conftest.$ac_ext | 4713 rm -f conftest.$ac_objext conftest.$ac_ext |
5480 fi | 4714 fi |
5481 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | 4715 echo "$as_me:4715: result: $ac_cv_member_struct_tm_tm_zone" >&5 |
5482 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 | 4716 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 |
5483 if test $ac_cv_member_struct_tm_tm_zone = yes; then | 4717 if test $ac_cv_member_struct_tm_tm_zone = yes; then |
5484 | 4718 |
5485 cat >>confdefs.h <<_ACEOF | 4719 cat >>confdefs.h <<EOF |
5486 #define HAVE_STRUCT_TM_TM_ZONE 1 | 4720 #define HAVE_STRUCT_TM_TM_ZONE 1 |
5487 _ACEOF | 4721 EOF |
5488 | |
5489 | 4722 |
5490 fi | 4723 fi |
5491 | 4724 |
5492 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then | 4725 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then |
5493 | 4726 |
5494 cat >>confdefs.h <<\_ACEOF | 4727 cat >>confdefs.h <<\EOF |
5495 #define HAVE_TM_ZONE 1 | 4728 #define HAVE_TM_ZONE 1 |
5496 _ACEOF | 4729 EOF |
5497 | 4730 |
5498 else | 4731 else |
5499 echo "$as_me:$LINENO: checking for tzname" >&5 | 4732 echo "$as_me:4732: checking for tzname" >&5 |
5500 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 | 4733 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 |
5501 if test "${ac_cv_var_tzname+set}" = set; then | 4734 if test "${ac_cv_var_tzname+set}" = set; then |
5502 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4735 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5503 else | 4736 else |
5504 cat >conftest.$ac_ext <<_ACEOF | 4737 cat >conftest.$ac_ext <<_ACEOF |
5505 #line $LINENO "configure" | 4738 #line 4738 "configure" |
5506 #include "confdefs.h" | 4739 #include "confdefs.h" |
5507 #include <time.h> | 4740 #include <time.h> |
5508 #ifndef tzname /* For SGI. */ | 4741 #ifndef tzname /* For SGI. */ |
5509 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4742 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
5510 #endif | 4743 #endif |
5511 | 4744 |
5512 #ifdef F77_DUMMY_MAIN | |
5513 # ifdef __cplusplus | |
5514 extern "C" | |
5515 # endif | |
5516 int F77_DUMMY_MAIN() { return 1; } | |
5517 #endif | |
5518 int | 4745 int |
5519 main () | 4746 main () |
5520 { | 4747 { |
5521 atoi(*tzname); | 4748 atoi(*tzname); |
5522 ; | 4749 ; |
5523 return 0; | 4750 return 0; |
5524 } | 4751 } |
5525 _ACEOF | 4752 _ACEOF |
5526 rm -f conftest.$ac_objext conftest$ac_exeext | 4753 rm -f conftest.$ac_objext conftest$ac_exeext |
5527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4754 if { (eval echo "$as_me:4754: \"$ac_link\"") >&5 |
5528 (eval $ac_link) 2>&5 | 4755 (eval $ac_link) 2>&5 |
5529 ac_status=$? | 4756 ac_status=$? |
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4757 echo "$as_me:4757: \$? = $ac_status" >&5 |
5531 (exit $ac_status); } && | 4758 (exit $ac_status); } && |
5532 { ac_try='test -s conftest$ac_exeext' | 4759 { ac_try='test -s conftest$ac_exeext' |
5533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4760 { (eval echo "$as_me:4760: \"$ac_try\"") >&5 |
5534 (eval $ac_try) 2>&5 | 4761 (eval $ac_try) 2>&5 |
5535 ac_status=$? | 4762 ac_status=$? |
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4763 echo "$as_me:4763: \$? = $ac_status" >&5 |
5537 (exit $ac_status); }; }; then | 4764 (exit $ac_status); }; }; then |
5538 ac_cv_var_tzname=yes | 4765 ac_cv_var_tzname=yes |
5539 else | 4766 else |
5540 echo "$as_me: failed program was:" >&5 | 4767 echo "$as_me: failed program was:" >&5 |
5541 cat conftest.$ac_ext >&5 | 4768 cat conftest.$ac_ext >&5 |
5542 ac_cv_var_tzname=no | 4769 ac_cv_var_tzname=no |
5543 fi | 4770 fi |
5544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5545 fi | 4772 fi |
5546 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 | 4773 echo "$as_me:4773: result: $ac_cv_var_tzname" >&5 |
5547 echo "${ECHO_T}$ac_cv_var_tzname" >&6 | 4774 echo "${ECHO_T}$ac_cv_var_tzname" >&6 |
5548 if test $ac_cv_var_tzname = yes; then | 4775 if test $ac_cv_var_tzname = yes; then |
5549 | 4776 |
5550 cat >>confdefs.h <<\_ACEOF | 4777 cat >>confdefs.h <<\EOF |
5551 #define HAVE_TZNAME 1 | 4778 #define HAVE_TZNAME 1 |
5552 _ACEOF | 4779 EOF |
5553 | 4780 |
5554 fi | 4781 fi |
5555 fi | 4782 fi |
5556 | 4783 |
5557 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 | 4784 echo "$as_me:4784: checking for struct tm.tm_gmtoff" >&5 |
5558 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 | 4785 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 |
5559 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then | 4786 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then |
5560 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4787 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5561 else | 4788 else |
5562 cat >conftest.$ac_ext <<_ACEOF | 4789 cat >conftest.$ac_ext <<_ACEOF |
5563 #line $LINENO "configure" | 4790 #line 4790 "configure" |
5564 #include "confdefs.h" | 4791 #include "confdefs.h" |
5565 #include <time.h> | 4792 #include <time.h> |
5566 | 4793 |
5567 #ifdef F77_DUMMY_MAIN | |
5568 # ifdef __cplusplus | |
5569 extern "C" | |
5570 # endif | |
5571 int F77_DUMMY_MAIN() { return 1; } | |
5572 #endif | |
5573 int | 4794 int |
5574 main () | 4795 main () |
5575 { | 4796 { |
5576 static struct tm ac_aggr; | 4797 static struct tm ac_aggr; |
5577 if (ac_aggr.tm_gmtoff) | 4798 if (ac_aggr.tm_gmtoff) |
5579 ; | 4800 ; |
5580 return 0; | 4801 return 0; |
5581 } | 4802 } |
5582 _ACEOF | 4803 _ACEOF |
5583 rm -f conftest.$ac_objext | 4804 rm -f conftest.$ac_objext |
5584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4805 if { (eval echo "$as_me:4805: \"$ac_compile\"") >&5 |
5585 (eval $ac_compile) 2>&5 | 4806 (eval $ac_compile) 2>&5 |
5586 ac_status=$? | 4807 ac_status=$? |
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4808 echo "$as_me:4808: \$? = $ac_status" >&5 |
5588 (exit $ac_status); } && | 4809 (exit $ac_status); } && |
5589 { ac_try='test -s conftest.$ac_objext' | 4810 { ac_try='test -s conftest.$ac_objext' |
5590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4811 { (eval echo "$as_me:4811: \"$ac_try\"") >&5 |
5591 (eval $ac_try) 2>&5 | 4812 (eval $ac_try) 2>&5 |
5592 ac_status=$? | 4813 ac_status=$? |
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4814 echo "$as_me:4814: \$? = $ac_status" >&5 |
5594 (exit $ac_status); }; }; then | 4815 (exit $ac_status); }; }; then |
5595 ac_cv_member_struct_tm_tm_gmtoff=yes | 4816 ac_cv_member_struct_tm_tm_gmtoff=yes |
5596 else | 4817 else |
5597 echo "$as_me: failed program was:" >&5 | 4818 echo "$as_me: failed program was:" >&5 |
5598 cat conftest.$ac_ext >&5 | 4819 cat conftest.$ac_ext >&5 |
5599 ac_cv_member_struct_tm_tm_gmtoff=no | 4820 ac_cv_member_struct_tm_tm_gmtoff=no |
5600 fi | 4821 fi |
5601 rm -f conftest.$ac_objext conftest.$ac_ext | 4822 rm -f conftest.$ac_objext conftest.$ac_ext |
5602 fi | 4823 fi |
5603 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 | 4824 echo "$as_me:4824: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 |
5604 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 | 4825 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 |
5605 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then | 4826 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then |
5606 | 4827 |
5607 cat >>confdefs.h <<\_ACEOF | 4828 cat >>confdefs.h <<\EOF |
5608 #define HAVE_TM_GMTOFF 1 | 4829 #define HAVE_TM_GMTOFF 1 |
5609 _ACEOF | 4830 EOF |
5610 | 4831 |
5611 fi | 4832 fi |
5612 | 4833 |
5613 | 4834 echo "$as_me:4834: checking for $CC option to accept ANSI C" >&5 |
5614 | |
5615 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | |
5616 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 4835 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
5617 if test "${ac_cv_prog_cc_stdc+set}" = set; then | 4836 if test "${ac_cv_prog_cc_stdc+set}" = set; then |
5618 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4837 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5619 else | 4838 else |
5620 ac_cv_prog_cc_stdc=no | 4839 ac_cv_prog_cc_stdc=no |
5621 ac_save_CC=$CC | 4840 ac_save_CC=$CC |
5622 cat >conftest.$ac_ext <<_ACEOF | 4841 cat >conftest.$ac_ext <<_ACEOF |
5623 #line $LINENO "configure" | 4842 #line 4842 "configure" |
5624 #include "confdefs.h" | 4843 #include "confdefs.h" |
5625 #include <stdarg.h> | 4844 #include <stdarg.h> |
5626 #include <stdio.h> | 4845 #include <stdio.h> |
5627 #include <sys/types.h> | 4846 #include <sys/types.h> |
5628 #include <sys/stat.h> | 4847 #include <sys/stat.h> |
5648 struct s1 {int (*f) (int a);}; | 4867 struct s1 {int (*f) (int a);}; |
5649 struct s2 {int (*f) (double a);}; | 4868 struct s2 {int (*f) (double a);}; |
5650 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 4869 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
5651 int argc; | 4870 int argc; |
5652 char **argv; | 4871 char **argv; |
5653 #ifdef F77_DUMMY_MAIN | |
5654 # ifdef __cplusplus | |
5655 extern "C" | |
5656 # endif | |
5657 int F77_DUMMY_MAIN() { return 1; } | |
5658 #endif | |
5659 int | 4872 int |
5660 main () | 4873 main () |
5661 { | 4874 { |
5662 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 4875 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
5663 ; | 4876 ; |
5673 # SVR4 -Xc -D__EXTENSIONS__ | 4886 # SVR4 -Xc -D__EXTENSIONS__ |
5674 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 4887 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
5675 do | 4888 do |
5676 CC="$ac_save_CC $ac_arg" | 4889 CC="$ac_save_CC $ac_arg" |
5677 rm -f conftest.$ac_objext | 4890 rm -f conftest.$ac_objext |
5678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4891 if { (eval echo "$as_me:4891: \"$ac_compile\"") >&5 |
5679 (eval $ac_compile) 2>&5 | 4892 (eval $ac_compile) 2>&5 |
5680 ac_status=$? | 4893 ac_status=$? |
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4894 echo "$as_me:4894: \$? = $ac_status" >&5 |
5682 (exit $ac_status); } && | 4895 (exit $ac_status); } && |
5683 { ac_try='test -s conftest.$ac_objext' | 4896 { ac_try='test -s conftest.$ac_objext' |
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4897 { (eval echo "$as_me:4897: \"$ac_try\"") >&5 |
5685 (eval $ac_try) 2>&5 | 4898 (eval $ac_try) 2>&5 |
5686 ac_status=$? | 4899 ac_status=$? |
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4900 echo "$as_me:4900: \$? = $ac_status" >&5 |
5688 (exit $ac_status); }; }; then | 4901 (exit $ac_status); }; }; then |
5689 ac_cv_prog_cc_stdc=$ac_arg | 4902 ac_cv_prog_cc_stdc=$ac_arg |
5690 break | 4903 break |
5691 else | 4904 else |
5692 echo "$as_me: failed program was:" >&5 | 4905 echo "$as_me: failed program was:" >&5 |
5699 | 4912 |
5700 fi | 4913 fi |
5701 | 4914 |
5702 case "x$ac_cv_prog_cc_stdc" in | 4915 case "x$ac_cv_prog_cc_stdc" in |
5703 x|xno) | 4916 x|xno) |
5704 echo "$as_me:$LINENO: result: none needed" >&5 | 4917 echo "$as_me:4917: result: none needed" >&5 |
5705 echo "${ECHO_T}none needed" >&6 ;; | 4918 echo "${ECHO_T}none needed" >&6 ;; |
5706 *) | 4919 *) |
5707 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 4920 echo "$as_me:4920: result: $ac_cv_prog_cc_stdc" >&5 |
5708 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 4921 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
5709 CC="$CC $ac_cv_prog_cc_stdc" ;; | 4922 CC="$CC $ac_cv_prog_cc_stdc" ;; |
5710 esac | 4923 esac |
5711 | 4924 |
5712 echo "$as_me:$LINENO: checking for function prototypes" >&5 | 4925 echo "$as_me:4925: checking for function prototypes" >&5 |
5713 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 | 4926 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 |
5714 if test "$ac_cv_prog_cc_stdc" != no; then | 4927 if test "$ac_cv_prog_cc_stdc" != no; then |
5715 echo "$as_me:$LINENO: result: yes" >&5 | 4928 echo "$as_me:4928: result: yes" >&5 |
5716 echo "${ECHO_T}yes" >&6 | 4929 echo "${ECHO_T}yes" >&6 |
5717 | 4930 |
5718 cat >>confdefs.h <<\_ACEOF | 4931 cat >>confdefs.h <<\EOF |
5719 #define PROTOTYPES 1 | 4932 #define PROTOTYPES 1 |
5720 _ACEOF | 4933 EOF |
5721 | 4934 |
5722 | 4935 else |
5723 cat >>confdefs.h <<\_ACEOF | 4936 echo "$as_me:4936: result: no" >&5 |
5724 #define __PROTOTYPES 1 | |
5725 _ACEOF | |
5726 | |
5727 else | |
5728 echo "$as_me:$LINENO: result: no" >&5 | |
5729 echo "${ECHO_T}no" >&6 | 4937 echo "${ECHO_T}no" >&6 |
5730 fi | 4938 fi |
5731 | 4939 |
5732 echo "$as_me:$LINENO: checking for working volatile" >&5 | 4940 echo "$as_me:4940: checking for working volatile" >&5 |
5733 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 | 4941 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 |
5734 if test "${ac_cv_c_volatile+set}" = set; then | 4942 if test "${ac_cv_c_volatile+set}" = set; then |
5735 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4943 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5736 else | 4944 else |
5737 cat >conftest.$ac_ext <<_ACEOF | 4945 cat >conftest.$ac_ext <<_ACEOF |
5738 #line $LINENO "configure" | 4946 #line 4946 "configure" |
5739 #include "confdefs.h" | 4947 #include "confdefs.h" |
5740 | 4948 |
5741 #ifdef F77_DUMMY_MAIN | |
5742 # ifdef __cplusplus | |
5743 extern "C" | |
5744 # endif | |
5745 int F77_DUMMY_MAIN() { return 1; } | |
5746 #endif | |
5747 int | 4949 int |
5748 main () | 4950 main () |
5749 { | 4951 { |
5750 | 4952 |
5751 volatile int x; | 4953 volatile int x; |
5753 ; | 4955 ; |
5754 return 0; | 4956 return 0; |
5755 } | 4957 } |
5756 _ACEOF | 4958 _ACEOF |
5757 rm -f conftest.$ac_objext | 4959 rm -f conftest.$ac_objext |
5758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4960 if { (eval echo "$as_me:4960: \"$ac_compile\"") >&5 |
5759 (eval $ac_compile) 2>&5 | 4961 (eval $ac_compile) 2>&5 |
5760 ac_status=$? | 4962 ac_status=$? |
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4963 echo "$as_me:4963: \$? = $ac_status" >&5 |
5762 (exit $ac_status); } && | 4964 (exit $ac_status); } && |
5763 { ac_try='test -s conftest.$ac_objext' | 4965 { ac_try='test -s conftest.$ac_objext' |
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4966 { (eval echo "$as_me:4966: \"$ac_try\"") >&5 |
5765 (eval $ac_try) 2>&5 | 4967 (eval $ac_try) 2>&5 |
5766 ac_status=$? | 4968 ac_status=$? |
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4969 echo "$as_me:4969: \$? = $ac_status" >&5 |
5768 (exit $ac_status); }; }; then | 4970 (exit $ac_status); }; }; then |
5769 ac_cv_c_volatile=yes | 4971 ac_cv_c_volatile=yes |
5770 else | 4972 else |
5771 echo "$as_me: failed program was:" >&5 | 4973 echo "$as_me: failed program was:" >&5 |
5772 cat conftest.$ac_ext >&5 | 4974 cat conftest.$ac_ext >&5 |
5773 ac_cv_c_volatile=no | 4975 ac_cv_c_volatile=no |
5774 fi | 4976 fi |
5775 rm -f conftest.$ac_objext conftest.$ac_ext | 4977 rm -f conftest.$ac_objext conftest.$ac_ext |
5776 fi | 4978 fi |
5777 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 | 4979 echo "$as_me:4979: result: $ac_cv_c_volatile" >&5 |
5778 echo "${ECHO_T}$ac_cv_c_volatile" >&6 | 4980 echo "${ECHO_T}$ac_cv_c_volatile" >&6 |
5779 if test $ac_cv_c_volatile = no; then | 4981 if test $ac_cv_c_volatile = no; then |
5780 | 4982 |
5781 cat >>confdefs.h <<\_ACEOF | 4983 cat >>confdefs.h <<\EOF |
5782 #define volatile | 4984 #define volatile |
5783 _ACEOF | 4985 EOF |
5784 | 4986 |
5785 fi | 4987 fi |
5786 | 4988 |
5787 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 4989 echo "$as_me:4989: checking for an ANSI C-conforming const" >&5 |
5788 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 4990 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
5789 if test "${ac_cv_c_const+set}" = set; then | 4991 if test "${ac_cv_c_const+set}" = set; then |
5790 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4992 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5791 else | 4993 else |
5792 cat >conftest.$ac_ext <<_ACEOF | 4994 cat >conftest.$ac_ext <<_ACEOF |
5793 #line $LINENO "configure" | 4995 #line 4995 "configure" |
5794 #include "confdefs.h" | 4996 #include "confdefs.h" |
5795 | 4997 |
5796 #ifdef F77_DUMMY_MAIN | |
5797 # ifdef __cplusplus | |
5798 extern "C" | |
5799 # endif | |
5800 int F77_DUMMY_MAIN() { return 1; } | |
5801 #endif | |
5802 int | 4998 int |
5803 main () | 4999 main () |
5804 { | 5000 { |
5805 /* FIXME: Include the comments suggested by Paul. */ | 5001 /* FIXME: Include the comments suggested by Paul. */ |
5806 #ifndef __cplusplus | 5002 #ifndef __cplusplus |
5852 ; | 5048 ; |
5853 return 0; | 5049 return 0; |
5854 } | 5050 } |
5855 _ACEOF | 5051 _ACEOF |
5856 rm -f conftest.$ac_objext | 5052 rm -f conftest.$ac_objext |
5857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5053 if { (eval echo "$as_me:5053: \"$ac_compile\"") >&5 |
5858 (eval $ac_compile) 2>&5 | 5054 (eval $ac_compile) 2>&5 |
5859 ac_status=$? | 5055 ac_status=$? |
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5056 echo "$as_me:5056: \$? = $ac_status" >&5 |
5861 (exit $ac_status); } && | 5057 (exit $ac_status); } && |
5862 { ac_try='test -s conftest.$ac_objext' | 5058 { ac_try='test -s conftest.$ac_objext' |
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5059 { (eval echo "$as_me:5059: \"$ac_try\"") >&5 |
5864 (eval $ac_try) 2>&5 | 5060 (eval $ac_try) 2>&5 |
5865 ac_status=$? | 5061 ac_status=$? |
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5062 echo "$as_me:5062: \$? = $ac_status" >&5 |
5867 (exit $ac_status); }; }; then | 5063 (exit $ac_status); }; }; then |
5868 ac_cv_c_const=yes | 5064 ac_cv_c_const=yes |
5869 else | 5065 else |
5870 echo "$as_me: failed program was:" >&5 | 5066 echo "$as_me: failed program was:" >&5 |
5871 cat conftest.$ac_ext >&5 | 5067 cat conftest.$ac_ext >&5 |
5872 ac_cv_c_const=no | 5068 ac_cv_c_const=no |
5873 fi | 5069 fi |
5874 rm -f conftest.$ac_objext conftest.$ac_ext | 5070 rm -f conftest.$ac_objext conftest.$ac_ext |
5875 fi | 5071 fi |
5876 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 5072 echo "$as_me:5072: result: $ac_cv_c_const" >&5 |
5877 echo "${ECHO_T}$ac_cv_c_const" >&6 | 5073 echo "${ECHO_T}$ac_cv_c_const" >&6 |
5878 if test $ac_cv_c_const = no; then | 5074 if test $ac_cv_c_const = no; then |
5879 | 5075 |
5880 cat >>confdefs.h <<\_ACEOF | 5076 cat >>confdefs.h <<\EOF |
5881 #define const | 5077 #define const |
5882 _ACEOF | 5078 EOF |
5883 | 5079 |
5884 fi | 5080 fi |
5885 | 5081 |
5886 echo "$as_me:$LINENO: checking for void * support" >&5 | 5082 echo "$as_me:5082: checking for void * support" >&5 |
5887 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 | 5083 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 |
5888 if test "${emacs_cv_void_star+set}" = set; then | 5084 if test "${emacs_cv_void_star+set}" = set; then |
5889 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5085 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5890 else | 5086 else |
5891 cat >conftest.$ac_ext <<_ACEOF | 5087 cat >conftest.$ac_ext <<_ACEOF |
5892 #line $LINENO "configure" | 5088 #line 5088 "configure" |
5893 #include "confdefs.h" | 5089 #include "confdefs.h" |
5894 | 5090 |
5895 #ifdef F77_DUMMY_MAIN | |
5896 # ifdef __cplusplus | |
5897 extern "C" | |
5898 # endif | |
5899 int F77_DUMMY_MAIN() { return 1; } | |
5900 #endif | |
5901 int | 5091 int |
5902 main () | 5092 main () |
5903 { | 5093 { |
5904 void * foo; | 5094 void * foo; |
5905 ; | 5095 ; |
5906 return 0; | 5096 return 0; |
5907 } | 5097 } |
5908 _ACEOF | 5098 _ACEOF |
5909 rm -f conftest.$ac_objext | 5099 rm -f conftest.$ac_objext |
5910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5100 if { (eval echo "$as_me:5100: \"$ac_compile\"") >&5 |
5911 (eval $ac_compile) 2>&5 | 5101 (eval $ac_compile) 2>&5 |
5912 ac_status=$? | 5102 ac_status=$? |
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5103 echo "$as_me:5103: \$? = $ac_status" >&5 |
5914 (exit $ac_status); } && | 5104 (exit $ac_status); } && |
5915 { ac_try='test -s conftest.$ac_objext' | 5105 { ac_try='test -s conftest.$ac_objext' |
5916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5106 { (eval echo "$as_me:5106: \"$ac_try\"") >&5 |
5917 (eval $ac_try) 2>&5 | 5107 (eval $ac_try) 2>&5 |
5918 ac_status=$? | 5108 ac_status=$? |
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5109 echo "$as_me:5109: \$? = $ac_status" >&5 |
5920 (exit $ac_status); }; }; then | 5110 (exit $ac_status); }; }; then |
5921 emacs_cv_void_star=yes | 5111 emacs_cv_void_star=yes |
5922 else | 5112 else |
5923 echo "$as_me: failed program was:" >&5 | 5113 echo "$as_me: failed program was:" >&5 |
5924 cat conftest.$ac_ext >&5 | 5114 cat conftest.$ac_ext >&5 |
5925 emacs_cv_void_star=no | 5115 emacs_cv_void_star=no |
5926 fi | 5116 fi |
5927 rm -f conftest.$ac_objext conftest.$ac_ext | 5117 rm -f conftest.$ac_objext conftest.$ac_ext |
5928 fi | 5118 fi |
5929 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 | 5119 echo "$as_me:5119: result: $emacs_cv_void_star" >&5 |
5930 echo "${ECHO_T}$emacs_cv_void_star" >&6 | 5120 echo "${ECHO_T}$emacs_cv_void_star" >&6 |
5931 if test $emacs_cv_void_star = yes; then | 5121 if test $emacs_cv_void_star = yes; then |
5932 cat >>confdefs.h <<\_ACEOF | 5122 cat >>confdefs.h <<\EOF |
5933 #define POINTER_TYPE void | 5123 #define POINTER_TYPE void |
5934 _ACEOF | 5124 EOF |
5935 | 5125 |
5936 else | 5126 else |
5937 cat >>confdefs.h <<\_ACEOF | 5127 cat >>confdefs.h <<\EOF |
5938 #define POINTER_TYPE char | 5128 #define POINTER_TYPE char |
5939 _ACEOF | 5129 EOF |
5940 | 5130 |
5941 fi | 5131 fi |
5942 | 5132 |
5943 | 5133 echo "$as_me:5133: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
5944 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 | |
5945 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 | 5134 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
5946 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | 5135 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
5947 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 5136 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
5948 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5137 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5949 else | 5138 else |
5950 cat >conftest.make <<\_ACEOF | 5139 cat >conftest.make <<\EOF |
5951 all: | 5140 all: |
5952 @echo 'ac_maketemp="${MAKE}"' | 5141 @echo 'ac_maketemp="${MAKE}"' |
5953 _ACEOF | 5142 EOF |
5954 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 5143 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
5955 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 5144 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
5956 if test -n "$ac_maketemp"; then | 5145 if test -n "$ac_maketemp"; then |
5957 eval ac_cv_prog_make_${ac_make}_set=yes | 5146 eval ac_cv_prog_make_${ac_make}_set=yes |
5958 else | 5147 else |
5959 eval ac_cv_prog_make_${ac_make}_set=no | 5148 eval ac_cv_prog_make_${ac_make}_set=no |
5960 fi | 5149 fi |
5961 rm -f conftest.make | 5150 rm -f conftest.make |
5962 fi | 5151 fi |
5963 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 5152 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
5964 echo "$as_me:$LINENO: result: yes" >&5 | 5153 echo "$as_me:5153: result: yes" >&5 |
5965 echo "${ECHO_T}yes" >&6 | 5154 echo "${ECHO_T}yes" >&6 |
5966 SET_MAKE= | 5155 SET_MAKE= |
5967 else | 5156 else |
5968 echo "$as_me:$LINENO: result: no" >&5 | 5157 echo "$as_me:5157: result: no" >&5 |
5969 echo "${ECHO_T}no" >&6 | 5158 echo "${ECHO_T}no" >&6 |
5970 SET_MAKE="MAKE=${MAKE-make}" | 5159 SET_MAKE="MAKE=${MAKE-make}" |
5971 fi | 5160 fi |
5972 | 5161 |
5973 | 5162 echo "$as_me:5162: checking for long file names" >&5 |
5974 echo "$as_me:$LINENO: checking for long file names" >&5 | |
5975 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 | 5163 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 |
5976 if test "${ac_cv_sys_long_file_names+set}" = set; then | 5164 if test "${ac_cv_sys_long_file_names+set}" = set; then |
5977 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5165 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5978 else | 5166 else |
5979 ac_cv_sys_long_file_names=yes | 5167 ac_cv_sys_long_file_names=yes |
6008 break | 5196 break |
6009 fi | 5197 fi |
6010 rm -rf $ac_xdir 2>/dev/null | 5198 rm -rf $ac_xdir 2>/dev/null |
6011 done | 5199 done |
6012 fi | 5200 fi |
6013 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 | 5201 echo "$as_me:5201: result: $ac_cv_sys_long_file_names" >&5 |
6014 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 | 5202 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 |
6015 if test $ac_cv_sys_long_file_names = yes; then | 5203 if test $ac_cv_sys_long_file_names = yes; then |
6016 | 5204 |
6017 cat >>confdefs.h <<\_ACEOF | 5205 cat >>confdefs.h <<\EOF |
6018 #define HAVE_LONG_FILE_NAMES 1 | 5206 #define HAVE_LONG_FILE_NAMES 1 |
6019 _ACEOF | 5207 EOF |
6020 | 5208 |
6021 fi | 5209 fi |
6022 | |
6023 | 5210 |
6024 #### Choose a window system. | 5211 #### Choose a window system. |
6025 | 5212 |
6026 echo "$as_me:$LINENO: checking for X" >&5 | 5213 echo "$as_me:5213: checking for X" >&5 |
6027 echo $ECHO_N "checking for X... $ECHO_C" >&6 | 5214 echo $ECHO_N "checking for X... $ECHO_C" >&6 |
6028 | |
6029 | 5215 |
6030 # Check whether --with-x or --without-x was given. | 5216 # Check whether --with-x or --without-x was given. |
6031 if test "${with_x+set}" = set; then | 5217 if test "${with_x+set}" = set; then |
6032 withval="$with_x" | 5218 withval="$with_x" |
6033 | 5219 |
6048 ac_x_includes=no ac_x_libraries=no | 5234 ac_x_includes=no ac_x_libraries=no |
6049 rm -fr conftest.dir | 5235 rm -fr conftest.dir |
6050 if mkdir conftest.dir; then | 5236 if mkdir conftest.dir; then |
6051 cd conftest.dir | 5237 cd conftest.dir |
6052 # Make sure to not put "make" in the Imakefile rules, since we grep it out. | 5238 # Make sure to not put "make" in the Imakefile rules, since we grep it out. |
6053 cat >Imakefile <<'_ACEOF' | 5239 cat >Imakefile <<'EOF' |
6054 acfindx: | 5240 acfindx: |
6055 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' | 5241 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
6056 _ACEOF | 5242 EOF |
6057 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then | 5243 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
6058 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 5244 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
6059 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` | 5245 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
6060 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | 5246 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
6061 for ac_extension in a so sl; do | 5247 for ac_extension in a so sl; do |
6119 | 5305 |
6120 if test "$ac_x_includes" = no; then | 5306 if test "$ac_x_includes" = no; then |
6121 # Guess where to find include files, by looking for Intrinsic.h. | 5307 # Guess where to find include files, by looking for Intrinsic.h. |
6122 # First, try using that file with no special directory specified. | 5308 # First, try using that file with no special directory specified. |
6123 cat >conftest.$ac_ext <<_ACEOF | 5309 cat >conftest.$ac_ext <<_ACEOF |
6124 #line $LINENO "configure" | 5310 #line 5310 "configure" |
6125 #include "confdefs.h" | 5311 #include "confdefs.h" |
6126 #include <X11/Intrinsic.h> | 5312 #include <X11/Intrinsic.h> |
6127 _ACEOF | 5313 _ACEOF |
6128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 5314 if { (eval echo "$as_me:5314: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6130 ac_status=$? | 5316 ac_status=$? |
6131 egrep -v '^ *\+' conftest.er1 >conftest.err | 5317 egrep -v '^ *\+' conftest.er1 >conftest.err |
6132 rm -f conftest.er1 | 5318 rm -f conftest.er1 |
6133 cat conftest.err >&5 | 5319 cat conftest.err >&5 |
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5320 echo "$as_me:5320: \$? = $ac_status" >&5 |
6135 (exit $ac_status); } >/dev/null; then | 5321 (exit $ac_status); } >/dev/null; then |
6136 if test -s conftest.err; then | 5322 if test -s conftest.err; then |
6137 ac_cpp_err=$ac_c_preproc_warn_flag | 5323 ac_cpp_err=$ac_c_preproc_warn_flag |
6138 else | 5324 else |
6139 ac_cpp_err= | 5325 ac_cpp_err= |
6162 # See if we find them without any special options. | 5348 # See if we find them without any special options. |
6163 # Don't add to $LIBS permanently. | 5349 # Don't add to $LIBS permanently. |
6164 ac_save_LIBS=$LIBS | 5350 ac_save_LIBS=$LIBS |
6165 LIBS="-lXt $LIBS" | 5351 LIBS="-lXt $LIBS" |
6166 cat >conftest.$ac_ext <<_ACEOF | 5352 cat >conftest.$ac_ext <<_ACEOF |
6167 #line $LINENO "configure" | 5353 #line 5353 "configure" |
6168 #include "confdefs.h" | 5354 #include "confdefs.h" |
6169 #include <X11/Intrinsic.h> | 5355 #include <X11/Intrinsic.h> |
6170 #ifdef F77_DUMMY_MAIN | |
6171 # ifdef __cplusplus | |
6172 extern "C" | |
6173 # endif | |
6174 int F77_DUMMY_MAIN() { return 1; } | |
6175 #endif | |
6176 int | 5356 int |
6177 main () | 5357 main () |
6178 { | 5358 { |
6179 XtMalloc (0) | 5359 XtMalloc (0) |
6180 ; | 5360 ; |
6181 return 0; | 5361 return 0; |
6182 } | 5362 } |
6183 _ACEOF | 5363 _ACEOF |
6184 rm -f conftest.$ac_objext conftest$ac_exeext | 5364 rm -f conftest.$ac_objext conftest$ac_exeext |
6185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5365 if { (eval echo "$as_me:5365: \"$ac_link\"") >&5 |
6186 (eval $ac_link) 2>&5 | 5366 (eval $ac_link) 2>&5 |
6187 ac_status=$? | 5367 ac_status=$? |
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5368 echo "$as_me:5368: \$? = $ac_status" >&5 |
6189 (exit $ac_status); } && | 5369 (exit $ac_status); } && |
6190 { ac_try='test -s conftest$ac_exeext' | 5370 { ac_try='test -s conftest$ac_exeext' |
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5371 { (eval echo "$as_me:5371: \"$ac_try\"") >&5 |
6192 (eval $ac_try) 2>&5 | 5372 (eval $ac_try) 2>&5 |
6193 ac_status=$? | 5373 ac_status=$? |
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5374 echo "$as_me:5374: \$? = $ac_status" >&5 |
6195 (exit $ac_status); }; }; then | 5375 (exit $ac_status); }; }; then |
6196 LIBS=$ac_save_LIBS | 5376 LIBS=$ac_save_LIBS |
6197 # We can link X programs with no special library path. | 5377 # We can link X programs with no special library path. |
6198 ac_x_libraries= | 5378 ac_x_libraries= |
6199 else | 5379 else |
6227 fi | 5407 fi |
6228 eval "$ac_cv_have_x" | 5408 eval "$ac_cv_have_x" |
6229 fi # $with_x != no | 5409 fi # $with_x != no |
6230 | 5410 |
6231 if test "$have_x" != yes; then | 5411 if test "$have_x" != yes; then |
6232 echo "$as_me:$LINENO: result: $have_x" >&5 | 5412 echo "$as_me:5412: result: $have_x" >&5 |
6233 echo "${ECHO_T}$have_x" >&6 | 5413 echo "${ECHO_T}$have_x" >&6 |
6234 no_x=yes | 5414 no_x=yes |
6235 else | 5415 else |
6236 # If each of the values was on the command line, it overrides each guess. | 5416 # If each of the values was on the command line, it overrides each guess. |
6237 test "x$x_includes" = xNONE && x_includes=$ac_x_includes | 5417 test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
6238 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | 5418 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
6239 # Update the cache value to reflect the command line values. | 5419 # Update the cache value to reflect the command line values. |
6240 ac_cv_have_x="have_x=yes \ | 5420 ac_cv_have_x="have_x=yes \ |
6241 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" | 5421 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
6242 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 | 5422 echo "$as_me:5422: result: libraries $x_libraries, headers $x_includes" >&5 |
6243 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 | 5423 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
6244 fi | 5424 fi |
6245 | 5425 |
6246 if test "$no_x" = yes; then | 5426 if test "$no_x" = yes; then |
6247 window_system=none | 5427 window_system=none |
6335 | 5515 |
6336 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 5516 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
6337 # Assume not, until told otherwise. | 5517 # Assume not, until told otherwise. |
6338 GNU_MALLOC=yes | 5518 GNU_MALLOC=yes |
6339 doug_lea_malloc=yes | 5519 doug_lea_malloc=yes |
6340 echo "$as_me:$LINENO: checking for malloc_get_state" >&5 | 5520 echo "$as_me:5520: checking for malloc_get_state" >&5 |
6341 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 | 5521 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 |
6342 if test "${ac_cv_func_malloc_get_state+set}" = set; then | 5522 if test "${ac_cv_func_malloc_get_state+set}" = set; then |
6343 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5523 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6344 else | 5524 else |
6345 cat >conftest.$ac_ext <<_ACEOF | 5525 cat >conftest.$ac_ext <<_ACEOF |
6346 #line $LINENO "configure" | 5526 #line 5526 "configure" |
6347 #include "confdefs.h" | 5527 #include "confdefs.h" |
6348 /* System header to define __stub macros and hopefully few prototypes, | 5528 /* System header to define __stub macros and hopefully few prototypes, |
6349 which can conflict with char malloc_get_state (); below. */ | 5529 which can conflict with char malloc_get_state (); below. */ |
6350 #include <assert.h> | 5530 #include <assert.h> |
6351 /* Override any gcc2 internal prototype to avoid an error. */ | 5531 /* Override any gcc2 internal prototype to avoid an error. */ |
6355 /* We use char because int might match the return type of a gcc2 | 5535 /* We use char because int might match the return type of a gcc2 |
6356 builtin and then its argument prototype would still apply. */ | 5536 builtin and then its argument prototype would still apply. */ |
6357 char malloc_get_state (); | 5537 char malloc_get_state (); |
6358 char (*f) (); | 5538 char (*f) (); |
6359 | 5539 |
6360 #ifdef F77_DUMMY_MAIN | |
6361 # ifdef __cplusplus | |
6362 extern "C" | |
6363 # endif | |
6364 int F77_DUMMY_MAIN() { return 1; } | |
6365 #endif | |
6366 int | 5540 int |
6367 main () | 5541 main () |
6368 { | 5542 { |
6369 /* The GNU C library defines this for functions which it implements | 5543 /* The GNU C library defines this for functions which it implements |
6370 to always fail with ENOSYS. Some functions are actually named | 5544 to always fail with ENOSYS. Some functions are actually named |
6378 ; | 5552 ; |
6379 return 0; | 5553 return 0; |
6380 } | 5554 } |
6381 _ACEOF | 5555 _ACEOF |
6382 rm -f conftest.$ac_objext conftest$ac_exeext | 5556 rm -f conftest.$ac_objext conftest$ac_exeext |
6383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5557 if { (eval echo "$as_me:5557: \"$ac_link\"") >&5 |
6384 (eval $ac_link) 2>&5 | 5558 (eval $ac_link) 2>&5 |
6385 ac_status=$? | 5559 ac_status=$? |
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5560 echo "$as_me:5560: \$? = $ac_status" >&5 |
6387 (exit $ac_status); } && | 5561 (exit $ac_status); } && |
6388 { ac_try='test -s conftest$ac_exeext' | 5562 { ac_try='test -s conftest$ac_exeext' |
6389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5563 { (eval echo "$as_me:5563: \"$ac_try\"") >&5 |
6390 (eval $ac_try) 2>&5 | 5564 (eval $ac_try) 2>&5 |
6391 ac_status=$? | 5565 ac_status=$? |
6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5566 echo "$as_me:5566: \$? = $ac_status" >&5 |
6393 (exit $ac_status); }; }; then | 5567 (exit $ac_status); }; }; then |
6394 ac_cv_func_malloc_get_state=yes | 5568 ac_cv_func_malloc_get_state=yes |
6395 else | 5569 else |
6396 echo "$as_me: failed program was:" >&5 | 5570 echo "$as_me: failed program was:" >&5 |
6397 cat conftest.$ac_ext >&5 | 5571 cat conftest.$ac_ext >&5 |
6398 ac_cv_func_malloc_get_state=no | 5572 ac_cv_func_malloc_get_state=no |
6399 fi | 5573 fi |
6400 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5574 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6401 fi | 5575 fi |
6402 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 | 5576 echo "$as_me:5576: result: $ac_cv_func_malloc_get_state" >&5 |
6403 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 | 5577 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 |
6404 if test $ac_cv_func_malloc_get_state = yes; then | 5578 if test $ac_cv_func_malloc_get_state = yes; then |
6405 : | 5579 : |
6406 else | 5580 else |
6407 doug_lea_malloc=no | 5581 doug_lea_malloc=no |
6408 fi | 5582 fi |
6409 | 5583 |
6410 echo "$as_me:$LINENO: checking for malloc_set_state" >&5 | 5584 echo "$as_me:5584: checking for malloc_set_state" >&5 |
6411 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 | 5585 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 |
6412 if test "${ac_cv_func_malloc_set_state+set}" = set; then | 5586 if test "${ac_cv_func_malloc_set_state+set}" = set; then |
6413 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5587 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6414 else | 5588 else |
6415 cat >conftest.$ac_ext <<_ACEOF | 5589 cat >conftest.$ac_ext <<_ACEOF |
6416 #line $LINENO "configure" | 5590 #line 5590 "configure" |
6417 #include "confdefs.h" | 5591 #include "confdefs.h" |
6418 /* System header to define __stub macros and hopefully few prototypes, | 5592 /* System header to define __stub macros and hopefully few prototypes, |
6419 which can conflict with char malloc_set_state (); below. */ | 5593 which can conflict with char malloc_set_state (); below. */ |
6420 #include <assert.h> | 5594 #include <assert.h> |
6421 /* Override any gcc2 internal prototype to avoid an error. */ | 5595 /* Override any gcc2 internal prototype to avoid an error. */ |
6425 /* We use char because int might match the return type of a gcc2 | 5599 /* We use char because int might match the return type of a gcc2 |
6426 builtin and then its argument prototype would still apply. */ | 5600 builtin and then its argument prototype would still apply. */ |
6427 char malloc_set_state (); | 5601 char malloc_set_state (); |
6428 char (*f) (); | 5602 char (*f) (); |
6429 | 5603 |
6430 #ifdef F77_DUMMY_MAIN | |
6431 # ifdef __cplusplus | |
6432 extern "C" | |
6433 # endif | |
6434 int F77_DUMMY_MAIN() { return 1; } | |
6435 #endif | |
6436 int | 5604 int |
6437 main () | 5605 main () |
6438 { | 5606 { |
6439 /* The GNU C library defines this for functions which it implements | 5607 /* The GNU C library defines this for functions which it implements |
6440 to always fail with ENOSYS. Some functions are actually named | 5608 to always fail with ENOSYS. Some functions are actually named |
6448 ; | 5616 ; |
6449 return 0; | 5617 return 0; |
6450 } | 5618 } |
6451 _ACEOF | 5619 _ACEOF |
6452 rm -f conftest.$ac_objext conftest$ac_exeext | 5620 rm -f conftest.$ac_objext conftest$ac_exeext |
6453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5621 if { (eval echo "$as_me:5621: \"$ac_link\"") >&5 |
6454 (eval $ac_link) 2>&5 | 5622 (eval $ac_link) 2>&5 |
6455 ac_status=$? | 5623 ac_status=$? |
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5624 echo "$as_me:5624: \$? = $ac_status" >&5 |
6457 (exit $ac_status); } && | 5625 (exit $ac_status); } && |
6458 { ac_try='test -s conftest$ac_exeext' | 5626 { ac_try='test -s conftest$ac_exeext' |
6459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5627 { (eval echo "$as_me:5627: \"$ac_try\"") >&5 |
6460 (eval $ac_try) 2>&5 | 5628 (eval $ac_try) 2>&5 |
6461 ac_status=$? | 5629 ac_status=$? |
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5630 echo "$as_me:5630: \$? = $ac_status" >&5 |
6463 (exit $ac_status); }; }; then | 5631 (exit $ac_status); }; }; then |
6464 ac_cv_func_malloc_set_state=yes | 5632 ac_cv_func_malloc_set_state=yes |
6465 else | 5633 else |
6466 echo "$as_me: failed program was:" >&5 | 5634 echo "$as_me: failed program was:" >&5 |
6467 cat conftest.$ac_ext >&5 | 5635 cat conftest.$ac_ext >&5 |
6468 ac_cv_func_malloc_set_state=no | 5636 ac_cv_func_malloc_set_state=no |
6469 fi | 5637 fi |
6470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6471 fi | 5639 fi |
6472 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 | 5640 echo "$as_me:5640: result: $ac_cv_func_malloc_set_state" >&5 |
6473 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 | 5641 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 |
6474 if test $ac_cv_func_malloc_set_state = yes; then | 5642 if test $ac_cv_func_malloc_set_state = yes; then |
6475 : | 5643 : |
6476 else | 5644 else |
6477 doug_lea_malloc=no | 5645 doug_lea_malloc=no |
6478 fi | 5646 fi |
6479 | 5647 |
6480 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 | 5648 echo "$as_me:5648: checking whether __after_morecore_hook exists" >&5 |
6481 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 | 5649 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 |
6482 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then | 5650 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then |
6483 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5651 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6484 else | 5652 else |
6485 cat >conftest.$ac_ext <<_ACEOF | 5653 cat >conftest.$ac_ext <<_ACEOF |
6486 #line $LINENO "configure" | 5654 #line 5654 "configure" |
6487 #include "confdefs.h" | 5655 #include "confdefs.h" |
6488 extern void (* __after_morecore_hook)(); | 5656 extern void (* __after_morecore_hook)(); |
6489 #ifdef F77_DUMMY_MAIN | |
6490 # ifdef __cplusplus | |
6491 extern "C" | |
6492 # endif | |
6493 int F77_DUMMY_MAIN() { return 1; } | |
6494 #endif | |
6495 int | 5657 int |
6496 main () | 5658 main () |
6497 { | 5659 { |
6498 __after_morecore_hook = 0 | 5660 __after_morecore_hook = 0 |
6499 ; | 5661 ; |
6500 return 0; | 5662 return 0; |
6501 } | 5663 } |
6502 _ACEOF | 5664 _ACEOF |
6503 rm -f conftest.$ac_objext conftest$ac_exeext | 5665 rm -f conftest.$ac_objext conftest$ac_exeext |
6504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5666 if { (eval echo "$as_me:5666: \"$ac_link\"") >&5 |
6505 (eval $ac_link) 2>&5 | 5667 (eval $ac_link) 2>&5 |
6506 ac_status=$? | 5668 ac_status=$? |
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5669 echo "$as_me:5669: \$? = $ac_status" >&5 |
6508 (exit $ac_status); } && | 5670 (exit $ac_status); } && |
6509 { ac_try='test -s conftest$ac_exeext' | 5671 { ac_try='test -s conftest$ac_exeext' |
6510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5672 { (eval echo "$as_me:5672: \"$ac_try\"") >&5 |
6511 (eval $ac_try) 2>&5 | 5673 (eval $ac_try) 2>&5 |
6512 ac_status=$? | 5674 ac_status=$? |
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5675 echo "$as_me:5675: \$? = $ac_status" >&5 |
6514 (exit $ac_status); }; }; then | 5676 (exit $ac_status); }; }; then |
6515 emacs_cv_var___after_morecore_hook=yes | 5677 emacs_cv_var___after_morecore_hook=yes |
6516 else | 5678 else |
6517 echo "$as_me: failed program was:" >&5 | 5679 echo "$as_me: failed program was:" >&5 |
6518 cat conftest.$ac_ext >&5 | 5680 cat conftest.$ac_ext >&5 |
6519 emacs_cv_var___after_morecore_hook=no | 5681 emacs_cv_var___after_morecore_hook=no |
6520 fi | 5682 fi |
6521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6522 fi | 5684 fi |
6523 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 | 5685 echo "$as_me:5685: result: $emacs_cv_var___after_morecore_hook" >&5 |
6524 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 | 5686 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 |
6525 if test $emacs_cv_var___after_morecore_hook = no; then | 5687 if test $emacs_cv_var___after_morecore_hook = no; then |
6526 doug_lea_malloc=no | 5688 doug_lea_malloc=no |
6527 fi | 5689 fi |
6528 if test "${system_malloc}" = "yes"; then | 5690 if test "${system_malloc}" = "yes"; then |
6534 if test "$GNU_MALLOC" = yes ; then | 5696 if test "$GNU_MALLOC" = yes ; then |
6535 GNU_MALLOC_reason=" | 5697 GNU_MALLOC_reason=" |
6536 (Using Doug Lea's new malloc from the GNU C Library.)" | 5698 (Using Doug Lea's new malloc from the GNU C Library.)" |
6537 fi | 5699 fi |
6538 | 5700 |
6539 cat >>confdefs.h <<\_ACEOF | 5701 cat >>confdefs.h <<\EOF |
6540 #define DOUG_LEA_MALLOC 1 | 5702 #define DOUG_LEA_MALLOC 1 |
6541 _ACEOF | 5703 EOF |
6542 | 5704 |
6543 fi | 5705 fi |
6544 | 5706 |
6545 if test x"${REL_ALLOC}" = x; then | 5707 if test x"${REL_ALLOC}" = x; then |
6546 REL_ALLOC=${GNU_MALLOC} | 5708 REL_ALLOC=${GNU_MALLOC} |
6547 fi | 5709 fi |
6548 | 5710 |
6549 | 5711 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
6550 | 5712 |
5713 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
5714 inttypes.h stdint.h unistd.h | |
5715 do | |
5716 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
5717 echo "$as_me:5717: checking for $ac_header" >&5 | |
5718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
5719 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
5720 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5721 else | |
5722 cat >conftest.$ac_ext <<_ACEOF | |
5723 #line 5723 "configure" | |
5724 #include "confdefs.h" | |
5725 $ac_includes_default | |
5726 #include <$ac_header> | |
5727 _ACEOF | |
5728 rm -f conftest.$ac_objext | |
5729 if { (eval echo "$as_me:5729: \"$ac_compile\"") >&5 | |
5730 (eval $ac_compile) 2>&5 | |
5731 ac_status=$? | |
5732 echo "$as_me:5732: \$? = $ac_status" >&5 | |
5733 (exit $ac_status); } && | |
5734 { ac_try='test -s conftest.$ac_objext' | |
5735 { (eval echo "$as_me:5735: \"$ac_try\"") >&5 | |
5736 (eval $ac_try) 2>&5 | |
5737 ac_status=$? | |
5738 echo "$as_me:5738: \$? = $ac_status" >&5 | |
5739 (exit $ac_status); }; }; then | |
5740 eval "$as_ac_Header=yes" | |
5741 else | |
5742 echo "$as_me: failed program was:" >&5 | |
5743 cat conftest.$ac_ext >&5 | |
5744 eval "$as_ac_Header=no" | |
5745 fi | |
5746 rm -f conftest.$ac_objext conftest.$ac_ext | |
5747 fi | |
5748 echo "$as_me:5748: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
5749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
5750 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
5751 cat >>confdefs.h <<EOF | |
5752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
5753 EOF | |
5754 | |
5755 fi | |
5756 done | |
6551 | 5757 |
6552 for ac_header in stdlib.h unistd.h | 5758 for ac_header in stdlib.h unistd.h |
6553 do | 5759 do |
6554 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5760 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6555 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 5761 echo "$as_me:5761: checking for $ac_header" >&5 |
6556 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
6557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 5762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6558 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 5763 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6559 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5764 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6560 fi | 5765 else |
6561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 5766 cat >conftest.$ac_ext <<_ACEOF |
6562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 5767 #line 5767 "configure" |
6563 else | 5768 #include "confdefs.h" |
6564 # Is the header compilable? | |
6565 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
6566 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
6567 cat >conftest.$ac_ext <<_ACEOF | |
6568 #line $LINENO "configure" | |
6569 #include "confdefs.h" | |
6570 $ac_includes_default | |
6571 #include <$ac_header> | 5769 #include <$ac_header> |
6572 _ACEOF | 5770 _ACEOF |
6573 rm -f conftest.$ac_objext | 5771 if { (eval echo "$as_me:5771: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
6575 (eval $ac_compile) 2>&5 | |
6576 ac_status=$? | |
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6578 (exit $ac_status); } && | |
6579 { ac_try='test -s conftest.$ac_objext' | |
6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
6581 (eval $ac_try) 2>&5 | |
6582 ac_status=$? | |
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6584 (exit $ac_status); }; }; then | |
6585 ac_header_compiler=yes | |
6586 else | |
6587 echo "$as_me: failed program was:" >&5 | |
6588 cat conftest.$ac_ext >&5 | |
6589 ac_header_compiler=no | |
6590 fi | |
6591 rm -f conftest.$ac_objext conftest.$ac_ext | |
6592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
6593 echo "${ECHO_T}$ac_header_compiler" >&6 | |
6594 | |
6595 # Is the header present? | |
6596 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
6597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
6598 cat >conftest.$ac_ext <<_ACEOF | |
6599 #line $LINENO "configure" | |
6600 #include "confdefs.h" | |
6601 #include <$ac_header> | |
6602 _ACEOF | |
6603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
6604 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6605 ac_status=$? | 5773 ac_status=$? |
6606 egrep -v '^ *\+' conftest.er1 >conftest.err | 5774 egrep -v '^ *\+' conftest.er1 >conftest.err |
6607 rm -f conftest.er1 | 5775 rm -f conftest.er1 |
6608 cat conftest.err >&5 | 5776 cat conftest.err >&5 |
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5777 echo "$as_me:5777: \$? = $ac_status" >&5 |
6610 (exit $ac_status); } >/dev/null; then | 5778 (exit $ac_status); } >/dev/null; then |
6611 if test -s conftest.err; then | 5779 if test -s conftest.err; then |
6612 ac_cpp_err=$ac_c_preproc_warn_flag | 5780 ac_cpp_err=$ac_c_preproc_warn_flag |
6613 else | 5781 else |
6614 ac_cpp_err= | 5782 ac_cpp_err= |
6615 fi | 5783 fi |
6616 else | 5784 else |
6617 ac_cpp_err=yes | 5785 ac_cpp_err=yes |
6618 fi | 5786 fi |
6619 if test -z "$ac_cpp_err"; then | 5787 if test -z "$ac_cpp_err"; then |
6620 ac_header_preproc=yes | 5788 eval "$as_ac_Header=yes" |
6621 else | 5789 else |
6622 echo "$as_me: failed program was:" >&5 | 5790 echo "$as_me: failed program was:" >&5 |
6623 cat conftest.$ac_ext >&5 | 5791 cat conftest.$ac_ext >&5 |
6624 ac_header_preproc=no | 5792 eval "$as_ac_Header=no" |
6625 fi | 5793 fi |
6626 rm -f conftest.err conftest.$ac_ext | 5794 rm -f conftest.err conftest.$ac_ext |
6627 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 5795 fi |
6628 echo "${ECHO_T}$ac_header_preproc" >&6 | 5796 echo "$as_me:5796: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6629 | |
6630 # So? What about this header? | |
6631 case $ac_header_compiler:$ac_header_preproc in | |
6632 yes:no ) | |
6633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
6634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
6635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
6636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
6637 no:yes ) | |
6638 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
6639 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
6640 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
6641 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
6642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
6643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
6644 esac | |
6645 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
6646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
6647 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
6648 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
6649 else | |
6650 eval "$as_ac_Header=$ac_header_preproc" | |
6651 fi | |
6652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
6653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 5797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6654 | |
6655 fi | |
6656 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 5798 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6657 cat >>confdefs.h <<_ACEOF | 5799 cat >>confdefs.h <<EOF |
6658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6659 _ACEOF | 5801 EOF |
6660 | 5802 |
6661 fi | 5803 fi |
6662 | |
6663 done | 5804 done |
6664 | |
6665 | 5805 |
6666 for ac_func in getpagesize | 5806 for ac_func in getpagesize |
6667 do | 5807 do |
6668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 5808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6669 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 5809 echo "$as_me:5809: checking for $ac_func" >&5 |
6670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 5810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6671 if eval "test \"\${$as_ac_var+set}\" = set"; then | 5811 if eval "test \"\${$as_ac_var+set}\" = set"; then |
6672 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5812 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6673 else | 5813 else |
6674 cat >conftest.$ac_ext <<_ACEOF | 5814 cat >conftest.$ac_ext <<_ACEOF |
6675 #line $LINENO "configure" | 5815 #line 5815 "configure" |
6676 #include "confdefs.h" | 5816 #include "confdefs.h" |
6677 /* System header to define __stub macros and hopefully few prototypes, | 5817 /* System header to define __stub macros and hopefully few prototypes, |
6678 which can conflict with char $ac_func (); below. */ | 5818 which can conflict with char $ac_func (); below. */ |
6679 #include <assert.h> | 5819 #include <assert.h> |
6680 /* Override any gcc2 internal prototype to avoid an error. */ | 5820 /* Override any gcc2 internal prototype to avoid an error. */ |
6684 /* We use char because int might match the return type of a gcc2 | 5824 /* We use char because int might match the return type of a gcc2 |
6685 builtin and then its argument prototype would still apply. */ | 5825 builtin and then its argument prototype would still apply. */ |
6686 char $ac_func (); | 5826 char $ac_func (); |
6687 char (*f) (); | 5827 char (*f) (); |
6688 | 5828 |
6689 #ifdef F77_DUMMY_MAIN | |
6690 # ifdef __cplusplus | |
6691 extern "C" | |
6692 # endif | |
6693 int F77_DUMMY_MAIN() { return 1; } | |
6694 #endif | |
6695 int | 5829 int |
6696 main () | 5830 main () |
6697 { | 5831 { |
6698 /* The GNU C library defines this for functions which it implements | 5832 /* The GNU C library defines this for functions which it implements |
6699 to always fail with ENOSYS. Some functions are actually named | 5833 to always fail with ENOSYS. Some functions are actually named |
6707 ; | 5841 ; |
6708 return 0; | 5842 return 0; |
6709 } | 5843 } |
6710 _ACEOF | 5844 _ACEOF |
6711 rm -f conftest.$ac_objext conftest$ac_exeext | 5845 rm -f conftest.$ac_objext conftest$ac_exeext |
6712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5846 if { (eval echo "$as_me:5846: \"$ac_link\"") >&5 |
6713 (eval $ac_link) 2>&5 | 5847 (eval $ac_link) 2>&5 |
6714 ac_status=$? | 5848 ac_status=$? |
6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5849 echo "$as_me:5849: \$? = $ac_status" >&5 |
6716 (exit $ac_status); } && | 5850 (exit $ac_status); } && |
6717 { ac_try='test -s conftest$ac_exeext' | 5851 { ac_try='test -s conftest$ac_exeext' |
6718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5852 { (eval echo "$as_me:5852: \"$ac_try\"") >&5 |
6719 (eval $ac_try) 2>&5 | 5853 (eval $ac_try) 2>&5 |
6720 ac_status=$? | 5854 ac_status=$? |
6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5855 echo "$as_me:5855: \$? = $ac_status" >&5 |
6722 (exit $ac_status); }; }; then | 5856 (exit $ac_status); }; }; then |
6723 eval "$as_ac_var=yes" | 5857 eval "$as_ac_var=yes" |
6724 else | 5858 else |
6725 echo "$as_me: failed program was:" >&5 | 5859 echo "$as_me: failed program was:" >&5 |
6726 cat conftest.$ac_ext >&5 | 5860 cat conftest.$ac_ext >&5 |
6727 eval "$as_ac_var=no" | 5861 eval "$as_ac_var=no" |
6728 fi | 5862 fi |
6729 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5863 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6730 fi | 5864 fi |
6731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 5865 echo "$as_me:5865: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 5866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6733 if test `eval echo '${'$as_ac_var'}'` = yes; then | 5867 if test `eval echo '${'$as_ac_var'}'` = yes; then |
6734 cat >>confdefs.h <<_ACEOF | 5868 cat >>confdefs.h <<EOF |
6735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 5869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6736 _ACEOF | 5870 EOF |
6737 | 5871 |
6738 fi | 5872 fi |
6739 done | 5873 done |
6740 | 5874 |
6741 echo "$as_me:$LINENO: checking for working mmap" >&5 | 5875 echo "$as_me:5875: checking for working mmap" >&5 |
6742 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 | 5876 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 |
6743 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then | 5877 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
6744 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5878 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6745 else | 5879 else |
6746 if test "$cross_compiling" = yes; then | 5880 if test "$cross_compiling" = yes; then |
6747 ac_cv_func_mmap_fixed_mapped=no | 5881 ac_cv_func_mmap_fixed_mapped=no |
6748 else | 5882 else |
6749 cat >conftest.$ac_ext <<_ACEOF | 5883 cat >conftest.$ac_ext <<_ACEOF |
6750 #line $LINENO "configure" | 5884 #line 5884 "configure" |
6751 #include "confdefs.h" | 5885 #include "confdefs.h" |
6752 $ac_includes_default | 5886 $ac_includes_default |
6753 /* malloc might have been renamed as rpl_malloc. */ | |
6754 #undef malloc | |
6755 | |
6756 /* Thanks to Mike Haertel and Jim Avera for this test. | 5887 /* Thanks to Mike Haertel and Jim Avera for this test. |
6757 Here is a matrix of mmap possibilities: | 5888 Here is a matrix of mmap possibilities: |
6758 mmap private not fixed | 5889 mmap private not fixed |
6759 mmap private fixed at somewhere currently unmapped | 5890 mmap private fixed at somewhere currently unmapped |
6760 mmap private fixed at somewhere already mapped | 5891 mmap private fixed at somewhere already mapped |
6766 address. (There have been systems where private was not correctly | 5897 address. (There have been systems where private was not correctly |
6767 implemented like the infamous i386 svr4.0, and systems where the | 5898 implemented like the infamous i386 svr4.0, and systems where the |
6768 VM page cache was not coherent with the file system buffer cache | 5899 VM page cache was not coherent with the file system buffer cache |
6769 like early versions of FreeBSD and possibly contemporary NetBSD.) | 5900 like early versions of FreeBSD and possibly contemporary NetBSD.) |
6770 For shared mappings, we should conversely verify that changes get | 5901 For shared mappings, we should conversely verify that changes get |
6771 propagated back to all the places they're supposed to be. | 5902 propogated back to all the places they're supposed to be. |
6772 | 5903 |
6773 Grep wants private fixed already mapped. | 5904 Grep wants private fixed already mapped. |
6774 The main things grep needs to know about mmap are: | 5905 The main things grep needs to know about mmap are: |
6775 * does it exist and is it safe to write into the mmap'd area | 5906 * does it exist and is it safe to write into the mmap'd area |
6776 * how to use it (BSD variants) */ | 5907 * how to use it (BSD variants) */ |
6875 close (fd); | 6006 close (fd); |
6876 exit (0); | 6007 exit (0); |
6877 } | 6008 } |
6878 _ACEOF | 6009 _ACEOF |
6879 rm -f conftest$ac_exeext | 6010 rm -f conftest$ac_exeext |
6880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6011 if { (eval echo "$as_me:6011: \"$ac_link\"") >&5 |
6881 (eval $ac_link) 2>&5 | 6012 (eval $ac_link) 2>&5 |
6882 ac_status=$? | 6013 ac_status=$? |
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6014 echo "$as_me:6014: \$? = $ac_status" >&5 |
6884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 6015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6016 { (eval echo "$as_me:6016: \"$ac_try\"") >&5 |
6886 (eval $ac_try) 2>&5 | 6017 (eval $ac_try) 2>&5 |
6887 ac_status=$? | 6018 ac_status=$? |
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6019 echo "$as_me:6019: \$? = $ac_status" >&5 |
6889 (exit $ac_status); }; }; then | 6020 (exit $ac_status); }; }; then |
6890 ac_cv_func_mmap_fixed_mapped=yes | 6021 ac_cv_func_mmap_fixed_mapped=yes |
6891 else | 6022 else |
6892 echo "$as_me: program exited with status $ac_status" >&5 | 6023 echo "$as_me: program exited with status $ac_status" >&5 |
6893 echo "$as_me: failed program was:" >&5 | 6024 echo "$as_me: failed program was:" >&5 |
6894 cat conftest.$ac_ext >&5 | 6025 cat conftest.$ac_ext >&5 |
6895 ( exit $ac_status ) | |
6896 ac_cv_func_mmap_fixed_mapped=no | 6026 ac_cv_func_mmap_fixed_mapped=no |
6897 fi | 6027 fi |
6898 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6028 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6899 fi | 6029 fi |
6900 fi | 6030 fi |
6901 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 6031 echo "$as_me:6031: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
6902 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 | 6032 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 |
6903 if test $ac_cv_func_mmap_fixed_mapped = yes; then | 6033 if test $ac_cv_func_mmap_fixed_mapped = yes; then |
6904 | 6034 |
6905 cat >>confdefs.h <<\_ACEOF | 6035 cat >>confdefs.h <<\EOF |
6906 #define HAVE_MMAP 1 | 6036 #define HAVE_MMAP 1 |
6907 _ACEOF | 6037 EOF |
6908 | 6038 |
6909 fi | 6039 fi |
6910 rm -f conftest.mmap | 6040 rm -f conftest.mmap |
6911 | 6041 |
6912 if test $use_mmap_for_buffers = yes; then | 6042 if test $use_mmap_for_buffers = yes; then |
6913 REL_ALLOC=no | 6043 REL_ALLOC=no |
6914 fi | 6044 fi |
6915 | 6045 |
6916 LIBS="$libsrc_libs $LIBS" | 6046 LIBS="$libsrc_libs $LIBS" |
6917 | 6047 |
6918 | 6048 echo "$as_me:6048: checking for dnet_ntoa in -ldnet" >&5 |
6919 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 | |
6920 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 | 6049 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 |
6921 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then | 6050 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
6922 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6051 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6923 else | 6052 else |
6924 ac_check_lib_save_LIBS=$LIBS | 6053 ac_check_lib_save_LIBS=$LIBS |
6925 LIBS="-ldnet $LIBS" | 6054 LIBS="-ldnet $LIBS" |
6926 cat >conftest.$ac_ext <<_ACEOF | 6055 cat >conftest.$ac_ext <<_ACEOF |
6927 #line $LINENO "configure" | 6056 #line 6056 "configure" |
6928 #include "confdefs.h" | 6057 #include "confdefs.h" |
6929 | 6058 |
6930 /* Override any gcc2 internal prototype to avoid an error. */ | 6059 /* Override any gcc2 internal prototype to avoid an error. */ |
6931 #ifdef __cplusplus | 6060 #ifdef __cplusplus |
6932 extern "C" | 6061 extern "C" |
6933 #endif | 6062 #endif |
6934 /* We use char because int might match the return type of a gcc2 | 6063 /* We use char because int might match the return type of a gcc2 |
6935 builtin and then its argument prototype would still apply. */ | 6064 builtin and then its argument prototype would still apply. */ |
6936 char dnet_ntoa (); | 6065 char dnet_ntoa (); |
6937 #ifdef F77_DUMMY_MAIN | |
6938 # ifdef __cplusplus | |
6939 extern "C" | |
6940 # endif | |
6941 int F77_DUMMY_MAIN() { return 1; } | |
6942 #endif | |
6943 int | 6066 int |
6944 main () | 6067 main () |
6945 { | 6068 { |
6946 dnet_ntoa (); | 6069 dnet_ntoa (); |
6947 ; | 6070 ; |
6948 return 0; | 6071 return 0; |
6949 } | 6072 } |
6950 _ACEOF | 6073 _ACEOF |
6951 rm -f conftest.$ac_objext conftest$ac_exeext | 6074 rm -f conftest.$ac_objext conftest$ac_exeext |
6952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6075 if { (eval echo "$as_me:6075: \"$ac_link\"") >&5 |
6953 (eval $ac_link) 2>&5 | 6076 (eval $ac_link) 2>&5 |
6954 ac_status=$? | 6077 ac_status=$? |
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6078 echo "$as_me:6078: \$? = $ac_status" >&5 |
6956 (exit $ac_status); } && | 6079 (exit $ac_status); } && |
6957 { ac_try='test -s conftest$ac_exeext' | 6080 { ac_try='test -s conftest$ac_exeext' |
6958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6081 { (eval echo "$as_me:6081: \"$ac_try\"") >&5 |
6959 (eval $ac_try) 2>&5 | 6082 (eval $ac_try) 2>&5 |
6960 ac_status=$? | 6083 ac_status=$? |
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6084 echo "$as_me:6084: \$? = $ac_status" >&5 |
6962 (exit $ac_status); }; }; then | 6085 (exit $ac_status); }; }; then |
6963 ac_cv_lib_dnet_dnet_ntoa=yes | 6086 ac_cv_lib_dnet_dnet_ntoa=yes |
6964 else | 6087 else |
6965 echo "$as_me: failed program was:" >&5 | 6088 echo "$as_me: failed program was:" >&5 |
6966 cat conftest.$ac_ext >&5 | 6089 cat conftest.$ac_ext >&5 |
6967 ac_cv_lib_dnet_dnet_ntoa=no | 6090 ac_cv_lib_dnet_dnet_ntoa=no |
6968 fi | 6091 fi |
6969 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6970 LIBS=$ac_check_lib_save_LIBS | 6093 LIBS=$ac_check_lib_save_LIBS |
6971 fi | 6094 fi |
6972 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 6095 echo "$as_me:6095: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
6973 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 | 6096 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 |
6974 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then | 6097 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
6975 cat >>confdefs.h <<_ACEOF | 6098 cat >>confdefs.h <<EOF |
6976 #define HAVE_LIBDNET 1 | 6099 #define HAVE_LIBDNET 1 |
6977 _ACEOF | 6100 EOF |
6978 | 6101 |
6979 LIBS="-ldnet $LIBS" | 6102 LIBS="-ldnet $LIBS" |
6980 | 6103 |
6981 fi | 6104 fi |
6982 | 6105 |
6983 | 6106 echo "$as_me:6106: checking for main in -lXbsd" >&5 |
6984 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 | |
6985 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 | 6107 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 |
6986 if test "${ac_cv_lib_Xbsd_main+set}" = set; then | 6108 if test "${ac_cv_lib_Xbsd_main+set}" = set; then |
6987 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6109 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6988 else | 6110 else |
6989 ac_check_lib_save_LIBS=$LIBS | 6111 ac_check_lib_save_LIBS=$LIBS |
6990 LIBS="-lXbsd $LIBS" | 6112 LIBS="-lXbsd $LIBS" |
6991 cat >conftest.$ac_ext <<_ACEOF | 6113 cat >conftest.$ac_ext <<_ACEOF |
6992 #line $LINENO "configure" | 6114 #line 6114 "configure" |
6993 #include "confdefs.h" | 6115 #include "confdefs.h" |
6994 | 6116 |
6995 | |
6996 #ifdef F77_DUMMY_MAIN | |
6997 # ifdef __cplusplus | |
6998 extern "C" | |
6999 # endif | |
7000 int F77_DUMMY_MAIN() { return 1; } | |
7001 #endif | |
7002 int | 6117 int |
7003 main () | 6118 main () |
7004 { | 6119 { |
7005 main (); | 6120 main (); |
7006 ; | 6121 ; |
7007 return 0; | 6122 return 0; |
7008 } | 6123 } |
7009 _ACEOF | 6124 _ACEOF |
7010 rm -f conftest.$ac_objext conftest$ac_exeext | 6125 rm -f conftest.$ac_objext conftest$ac_exeext |
7011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6126 if { (eval echo "$as_me:6126: \"$ac_link\"") >&5 |
7012 (eval $ac_link) 2>&5 | 6127 (eval $ac_link) 2>&5 |
7013 ac_status=$? | 6128 ac_status=$? |
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6129 echo "$as_me:6129: \$? = $ac_status" >&5 |
7015 (exit $ac_status); } && | 6130 (exit $ac_status); } && |
7016 { ac_try='test -s conftest$ac_exeext' | 6131 { ac_try='test -s conftest$ac_exeext' |
7017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6132 { (eval echo "$as_me:6132: \"$ac_try\"") >&5 |
7018 (eval $ac_try) 2>&5 | 6133 (eval $ac_try) 2>&5 |
7019 ac_status=$? | 6134 ac_status=$? |
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6135 echo "$as_me:6135: \$? = $ac_status" >&5 |
7021 (exit $ac_status); }; }; then | 6136 (exit $ac_status); }; }; then |
7022 ac_cv_lib_Xbsd_main=yes | 6137 ac_cv_lib_Xbsd_main=yes |
7023 else | 6138 else |
7024 echo "$as_me: failed program was:" >&5 | 6139 echo "$as_me: failed program was:" >&5 |
7025 cat conftest.$ac_ext >&5 | 6140 cat conftest.$ac_ext >&5 |
7026 ac_cv_lib_Xbsd_main=no | 6141 ac_cv_lib_Xbsd_main=no |
7027 fi | 6142 fi |
7028 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7029 LIBS=$ac_check_lib_save_LIBS | 6144 LIBS=$ac_check_lib_save_LIBS |
7030 fi | 6145 fi |
7031 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 | 6146 echo "$as_me:6146: result: $ac_cv_lib_Xbsd_main" >&5 |
7032 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 | 6147 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 |
7033 if test $ac_cv_lib_Xbsd_main = yes; then | 6148 if test $ac_cv_lib_Xbsd_main = yes; then |
7034 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 6149 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
7035 fi | 6150 fi |
7036 | 6151 |
7037 | 6152 echo "$as_me:6152: checking for cma_open in -lpthreads" >&5 |
7038 | |
7039 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 | |
7040 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 | 6153 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 |
7041 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then | 6154 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then |
7042 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6155 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7043 else | 6156 else |
7044 ac_check_lib_save_LIBS=$LIBS | 6157 ac_check_lib_save_LIBS=$LIBS |
7045 LIBS="-lpthreads $LIBS" | 6158 LIBS="-lpthreads $LIBS" |
7046 cat >conftest.$ac_ext <<_ACEOF | 6159 cat >conftest.$ac_ext <<_ACEOF |
7047 #line $LINENO "configure" | 6160 #line 6160 "configure" |
7048 #include "confdefs.h" | 6161 #include "confdefs.h" |
7049 | 6162 |
7050 /* Override any gcc2 internal prototype to avoid an error. */ | 6163 /* Override any gcc2 internal prototype to avoid an error. */ |
7051 #ifdef __cplusplus | 6164 #ifdef __cplusplus |
7052 extern "C" | 6165 extern "C" |
7053 #endif | 6166 #endif |
7054 /* We use char because int might match the return type of a gcc2 | 6167 /* We use char because int might match the return type of a gcc2 |
7055 builtin and then its argument prototype would still apply. */ | 6168 builtin and then its argument prototype would still apply. */ |
7056 char cma_open (); | 6169 char cma_open (); |
7057 #ifdef F77_DUMMY_MAIN | |
7058 # ifdef __cplusplus | |
7059 extern "C" | |
7060 # endif | |
7061 int F77_DUMMY_MAIN() { return 1; } | |
7062 #endif | |
7063 int | 6170 int |
7064 main () | 6171 main () |
7065 { | 6172 { |
7066 cma_open (); | 6173 cma_open (); |
7067 ; | 6174 ; |
7068 return 0; | 6175 return 0; |
7069 } | 6176 } |
7070 _ACEOF | 6177 _ACEOF |
7071 rm -f conftest.$ac_objext conftest$ac_exeext | 6178 rm -f conftest.$ac_objext conftest$ac_exeext |
7072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6179 if { (eval echo "$as_me:6179: \"$ac_link\"") >&5 |
7073 (eval $ac_link) 2>&5 | 6180 (eval $ac_link) 2>&5 |
7074 ac_status=$? | 6181 ac_status=$? |
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6182 echo "$as_me:6182: \$? = $ac_status" >&5 |
7076 (exit $ac_status); } && | 6183 (exit $ac_status); } && |
7077 { ac_try='test -s conftest$ac_exeext' | 6184 { ac_try='test -s conftest$ac_exeext' |
7078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6185 { (eval echo "$as_me:6185: \"$ac_try\"") >&5 |
7079 (eval $ac_try) 2>&5 | 6186 (eval $ac_try) 2>&5 |
7080 ac_status=$? | 6187 ac_status=$? |
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6188 echo "$as_me:6188: \$? = $ac_status" >&5 |
7082 (exit $ac_status); }; }; then | 6189 (exit $ac_status); }; }; then |
7083 ac_cv_lib_pthreads_cma_open=yes | 6190 ac_cv_lib_pthreads_cma_open=yes |
7084 else | 6191 else |
7085 echo "$as_me: failed program was:" >&5 | 6192 echo "$as_me: failed program was:" >&5 |
7086 cat conftest.$ac_ext >&5 | 6193 cat conftest.$ac_ext >&5 |
7087 ac_cv_lib_pthreads_cma_open=no | 6194 ac_cv_lib_pthreads_cma_open=no |
7088 fi | 6195 fi |
7089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7090 LIBS=$ac_check_lib_save_LIBS | 6197 LIBS=$ac_check_lib_save_LIBS |
7091 fi | 6198 fi |
7092 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 | 6199 echo "$as_me:6199: result: $ac_cv_lib_pthreads_cma_open" >&5 |
7093 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 | 6200 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 |
7094 if test $ac_cv_lib_pthreads_cma_open = yes; then | 6201 if test $ac_cv_lib_pthreads_cma_open = yes; then |
7095 cat >>confdefs.h <<_ACEOF | 6202 cat >>confdefs.h <<EOF |
7096 #define HAVE_LIBPTHREADS 1 | 6203 #define HAVE_LIBPTHREADS 1 |
7097 _ACEOF | 6204 EOF |
7098 | 6205 |
7099 LIBS="-lpthreads $LIBS" | 6206 LIBS="-lpthreads $LIBS" |
7100 | 6207 |
7101 fi | 6208 fi |
7102 | 6209 |
7103 | 6210 echo "$as_me:6210: checking for XFree86 in /usr/X386" >&5 |
7104 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5 | |
7105 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 | 6211 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 |
7106 if test -d /usr/X386/include; then | 6212 if test -d /usr/X386/include; then |
7107 HAVE_XFREE386=yes | 6213 HAVE_XFREE386=yes |
7108 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 6214 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
7109 else | 6215 else |
7110 HAVE_XFREE386=no | 6216 HAVE_XFREE386=no |
7111 fi | 6217 fi |
7112 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5 | 6218 echo "$as_me:6218: result: $HAVE_XFREE386" >&5 |
7113 echo "${ECHO_T}$HAVE_XFREE386" >&6 | 6219 echo "${ECHO_T}$HAVE_XFREE386" >&6 |
7114 | 6220 |
7115 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used | 6221 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used |
7116 # for the tests that follow. We set it back to REAL_CFLAGS later on. | 6222 # for the tests that follow. We set it back to REAL_CFLAGS later on. |
7117 | 6223 |
7132 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH | 6238 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH |
7133 export LD_RUN_PATH | 6239 export LD_RUN_PATH |
7134 fi | 6240 fi |
7135 | 6241 |
7136 if test "${opsys}" = "gnu-linux"; then | 6242 if test "${opsys}" = "gnu-linux"; then |
7137 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 | 6243 echo "$as_me:6243: checking whether X on GNU/Linux needs -b to link" >&5 |
7138 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 | 6244 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 |
7139 cat >conftest.$ac_ext <<_ACEOF | 6245 cat >conftest.$ac_ext <<_ACEOF |
7140 #line $LINENO "configure" | 6246 #line 6246 "configure" |
7141 #include "confdefs.h" | 6247 #include "confdefs.h" |
7142 | 6248 |
7143 #ifdef F77_DUMMY_MAIN | |
7144 # ifdef __cplusplus | |
7145 extern "C" | |
7146 # endif | |
7147 int F77_DUMMY_MAIN() { return 1; } | |
7148 #endif | |
7149 int | 6249 int |
7150 main () | 6250 main () |
7151 { | 6251 { |
7152 XOpenDisplay ("foo"); | 6252 XOpenDisplay ("foo"); |
7153 ; | 6253 ; |
7154 return 0; | 6254 return 0; |
7155 } | 6255 } |
7156 _ACEOF | 6256 _ACEOF |
7157 rm -f conftest.$ac_objext conftest$ac_exeext | 6257 rm -f conftest.$ac_objext conftest$ac_exeext |
7158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6258 if { (eval echo "$as_me:6258: \"$ac_link\"") >&5 |
7159 (eval $ac_link) 2>&5 | 6259 (eval $ac_link) 2>&5 |
7160 ac_status=$? | 6260 ac_status=$? |
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6261 echo "$as_me:6261: \$? = $ac_status" >&5 |
7162 (exit $ac_status); } && | 6262 (exit $ac_status); } && |
7163 { ac_try='test -s conftest$ac_exeext' | 6263 { ac_try='test -s conftest$ac_exeext' |
7164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6264 { (eval echo "$as_me:6264: \"$ac_try\"") >&5 |
7165 (eval $ac_try) 2>&5 | 6265 (eval $ac_try) 2>&5 |
7166 ac_status=$? | 6266 ac_status=$? |
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6267 echo "$as_me:6267: \$? = $ac_status" >&5 |
7168 (exit $ac_status); }; }; then | 6268 (exit $ac_status); }; }; then |
7169 xlinux_first_failure=no | 6269 xlinux_first_failure=no |
7170 else | 6270 else |
7171 echo "$as_me: failed program was:" >&5 | 6271 echo "$as_me: failed program was:" >&5 |
7172 cat conftest.$ac_ext >&5 | 6272 cat conftest.$ac_ext >&5 |
7181 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" | 6281 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" |
7182 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 6282 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
7183 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 6283 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
7184 LIBS="$LIBS -b i486-linuxaout" | 6284 LIBS="$LIBS -b i486-linuxaout" |
7185 cat >conftest.$ac_ext <<_ACEOF | 6285 cat >conftest.$ac_ext <<_ACEOF |
7186 #line $LINENO "configure" | 6286 #line 6286 "configure" |
7187 #include "confdefs.h" | 6287 #include "confdefs.h" |
7188 | 6288 |
7189 #ifdef F77_DUMMY_MAIN | |
7190 # ifdef __cplusplus | |
7191 extern "C" | |
7192 # endif | |
7193 int F77_DUMMY_MAIN() { return 1; } | |
7194 #endif | |
7195 int | 6289 int |
7196 main () | 6290 main () |
7197 { | 6291 { |
7198 XOpenDisplay ("foo"); | 6292 XOpenDisplay ("foo"); |
7199 ; | 6293 ; |
7200 return 0; | 6294 return 0; |
7201 } | 6295 } |
7202 _ACEOF | 6296 _ACEOF |
7203 rm -f conftest.$ac_objext conftest$ac_exeext | 6297 rm -f conftest.$ac_objext conftest$ac_exeext |
7204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6298 if { (eval echo "$as_me:6298: \"$ac_link\"") >&5 |
7205 (eval $ac_link) 2>&5 | 6299 (eval $ac_link) 2>&5 |
7206 ac_status=$? | 6300 ac_status=$? |
7207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6301 echo "$as_me:6301: \$? = $ac_status" >&5 |
7208 (exit $ac_status); } && | 6302 (exit $ac_status); } && |
7209 { ac_try='test -s conftest$ac_exeext' | 6303 { ac_try='test -s conftest$ac_exeext' |
7210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6304 { (eval echo "$as_me:6304: \"$ac_try\"") >&5 |
7211 (eval $ac_try) 2>&5 | 6305 (eval $ac_try) 2>&5 |
7212 ac_status=$? | 6306 ac_status=$? |
7213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6307 echo "$as_me:6307: \$? = $ac_status" >&5 |
7214 (exit $ac_status); }; }; then | 6308 (exit $ac_status); }; }; then |
7215 xlinux_second_failure=no | 6309 xlinux_second_failure=no |
7216 else | 6310 else |
7217 echo "$as_me: failed program was:" >&5 | 6311 echo "$as_me: failed program was:" >&5 |
7218 cat conftest.$ac_ext >&5 | 6312 cat conftest.$ac_ext >&5 |
7224 # So take it out. This plays safe. | 6318 # So take it out. This plays safe. |
7225 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" | 6319 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" |
7226 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" | 6320 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" |
7227 CPPFLAGS="$OLD_CPPFLAGS" | 6321 CPPFLAGS="$OLD_CPPFLAGS" |
7228 LIBS="$OLD_LIBS" | 6322 LIBS="$OLD_LIBS" |
7229 echo "$as_me:$LINENO: result: no" >&5 | 6323 echo "$as_me:6323: result: no" >&5 |
7230 echo "${ECHO_T}no" >&6 | 6324 echo "${ECHO_T}no" >&6 |
7231 else | 6325 else |
7232 echo "$as_me:$LINENO: result: yes" >&5 | 6326 echo "$as_me:6326: result: yes" >&5 |
7233 echo "${ECHO_T}yes" >&6 | 6327 echo "${ECHO_T}yes" >&6 |
7234 fi | 6328 fi |
7235 else | 6329 else |
7236 echo "$as_me:$LINENO: result: no" >&5 | 6330 echo "$as_me:6330: result: no" >&5 |
7237 echo "${ECHO_T}no" >&6 | 6331 echo "${ECHO_T}no" >&6 |
7238 fi | 6332 fi |
7239 fi | 6333 fi |
7240 | 6334 |
7241 # Reportedly, some broken Solaris systems have XKBlib.h but are missing | 6335 # Reportedly, some broken Solaris systems have XKBlib.h but are missing |
7242 # header files included from there. | 6336 # header files included from there. |
7243 echo "$as_me:$LINENO: checking for Xkb" >&5 | 6337 echo "$as_me:6337: checking for Xkb" >&5 |
7244 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 | 6338 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 |
7245 cat >conftest.$ac_ext <<_ACEOF | 6339 cat >conftest.$ac_ext <<_ACEOF |
7246 #line $LINENO "configure" | 6340 #line 6340 "configure" |
7247 #include "confdefs.h" | 6341 #include "confdefs.h" |
7248 #include <X11/Xlib.h> | 6342 #include <X11/Xlib.h> |
7249 #include <X11/XKBlib.h> | 6343 #include <X11/XKBlib.h> |
7250 #ifdef F77_DUMMY_MAIN | |
7251 # ifdef __cplusplus | |
7252 extern "C" | |
7253 # endif | |
7254 int F77_DUMMY_MAIN() { return 1; } | |
7255 #endif | |
7256 int | 6344 int |
7257 main () | 6345 main () |
7258 { | 6346 { |
7259 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); | 6347 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); |
7260 ; | 6348 ; |
7261 return 0; | 6349 return 0; |
7262 } | 6350 } |
7263 _ACEOF | 6351 _ACEOF |
7264 rm -f conftest.$ac_objext conftest$ac_exeext | 6352 rm -f conftest.$ac_objext conftest$ac_exeext |
7265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6353 if { (eval echo "$as_me:6353: \"$ac_link\"") >&5 |
7266 (eval $ac_link) 2>&5 | 6354 (eval $ac_link) 2>&5 |
7267 ac_status=$? | 6355 ac_status=$? |
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6356 echo "$as_me:6356: \$? = $ac_status" >&5 |
7269 (exit $ac_status); } && | 6357 (exit $ac_status); } && |
7270 { ac_try='test -s conftest$ac_exeext' | 6358 { ac_try='test -s conftest$ac_exeext' |
7271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6359 { (eval echo "$as_me:6359: \"$ac_try\"") >&5 |
7272 (eval $ac_try) 2>&5 | 6360 (eval $ac_try) 2>&5 |
7273 ac_status=$? | 6361 ac_status=$? |
7274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6362 echo "$as_me:6362: \$? = $ac_status" >&5 |
7275 (exit $ac_status); }; }; then | 6363 (exit $ac_status); }; }; then |
7276 emacs_xkb=yes | 6364 emacs_xkb=yes |
7277 else | 6365 else |
7278 echo "$as_me: failed program was:" >&5 | 6366 echo "$as_me: failed program was:" >&5 |
7279 cat conftest.$ac_ext >&5 | 6367 cat conftest.$ac_ext >&5 |
7280 emacs_xkb=no | 6368 emacs_xkb=no |
7281 fi | 6369 fi |
7282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7283 echo "$as_me:$LINENO: result: $emacs_xkb" >&5 | 6371 echo "$as_me:6371: result: $emacs_xkb" >&5 |
7284 echo "${ECHO_T}$emacs_xkb" >&6 | 6372 echo "${ECHO_T}$emacs_xkb" >&6 |
7285 if test $emacs_xkb = yes; then | 6373 if test $emacs_xkb = yes; then |
7286 | 6374 |
7287 cat >>confdefs.h <<\_ACEOF | 6375 cat >>confdefs.h <<\EOF |
7288 #define HAVE_XKBGETKEYBOARD 1 | 6376 #define HAVE_XKBGETKEYBOARD 1 |
7289 _ACEOF | 6377 EOF |
7290 | 6378 |
7291 fi | 6379 fi |
7292 | |
7293 | |
7294 | |
7295 | |
7296 | 6380 |
7297 for ac_func in XrmSetDatabase XScreenResourceString \ | 6381 for ac_func in XrmSetDatabase XScreenResourceString \ |
7298 XScreenNumberOfScreen XSetWMProtocols | 6382 XScreenNumberOfScreen XSetWMProtocols |
7299 do | 6383 do |
7300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 6384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7301 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 6385 echo "$as_me:6385: checking for $ac_func" >&5 |
7302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 6386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7303 if eval "test \"\${$as_ac_var+set}\" = set"; then | 6387 if eval "test \"\${$as_ac_var+set}\" = set"; then |
7304 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6388 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7305 else | 6389 else |
7306 cat >conftest.$ac_ext <<_ACEOF | 6390 cat >conftest.$ac_ext <<_ACEOF |
7307 #line $LINENO "configure" | 6391 #line 6391 "configure" |
7308 #include "confdefs.h" | 6392 #include "confdefs.h" |
7309 /* System header to define __stub macros and hopefully few prototypes, | 6393 /* System header to define __stub macros and hopefully few prototypes, |
7310 which can conflict with char $ac_func (); below. */ | 6394 which can conflict with char $ac_func (); below. */ |
7311 #include <assert.h> | 6395 #include <assert.h> |
7312 /* Override any gcc2 internal prototype to avoid an error. */ | 6396 /* Override any gcc2 internal prototype to avoid an error. */ |
7316 /* We use char because int might match the return type of a gcc2 | 6400 /* We use char because int might match the return type of a gcc2 |
7317 builtin and then its argument prototype would still apply. */ | 6401 builtin and then its argument prototype would still apply. */ |
7318 char $ac_func (); | 6402 char $ac_func (); |
7319 char (*f) (); | 6403 char (*f) (); |
7320 | 6404 |
7321 #ifdef F77_DUMMY_MAIN | |
7322 # ifdef __cplusplus | |
7323 extern "C" | |
7324 # endif | |
7325 int F77_DUMMY_MAIN() { return 1; } | |
7326 #endif | |
7327 int | 6405 int |
7328 main () | 6406 main () |
7329 { | 6407 { |
7330 /* The GNU C library defines this for functions which it implements | 6408 /* The GNU C library defines this for functions which it implements |
7331 to always fail with ENOSYS. Some functions are actually named | 6409 to always fail with ENOSYS. Some functions are actually named |
7339 ; | 6417 ; |
7340 return 0; | 6418 return 0; |
7341 } | 6419 } |
7342 _ACEOF | 6420 _ACEOF |
7343 rm -f conftest.$ac_objext conftest$ac_exeext | 6421 rm -f conftest.$ac_objext conftest$ac_exeext |
7344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6422 if { (eval echo "$as_me:6422: \"$ac_link\"") >&5 |
7345 (eval $ac_link) 2>&5 | 6423 (eval $ac_link) 2>&5 |
7346 ac_status=$? | 6424 ac_status=$? |
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6425 echo "$as_me:6425: \$? = $ac_status" >&5 |
7348 (exit $ac_status); } && | 6426 (exit $ac_status); } && |
7349 { ac_try='test -s conftest$ac_exeext' | 6427 { ac_try='test -s conftest$ac_exeext' |
7350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6428 { (eval echo "$as_me:6428: \"$ac_try\"") >&5 |
7351 (eval $ac_try) 2>&5 | 6429 (eval $ac_try) 2>&5 |
7352 ac_status=$? | 6430 ac_status=$? |
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6431 echo "$as_me:6431: \$? = $ac_status" >&5 |
7354 (exit $ac_status); }; }; then | 6432 (exit $ac_status); }; }; then |
7355 eval "$as_ac_var=yes" | 6433 eval "$as_ac_var=yes" |
7356 else | 6434 else |
7357 echo "$as_me: failed program was:" >&5 | 6435 echo "$as_me: failed program was:" >&5 |
7358 cat conftest.$ac_ext >&5 | 6436 cat conftest.$ac_ext >&5 |
7359 eval "$as_ac_var=no" | 6437 eval "$as_ac_var=no" |
7360 fi | 6438 fi |
7361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7362 fi | 6440 fi |
7363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 6441 echo "$as_me:6441: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 6442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7365 if test `eval echo '${'$as_ac_var'}'` = yes; then | 6443 if test `eval echo '${'$as_ac_var'}'` = yes; then |
7366 cat >>confdefs.h <<_ACEOF | 6444 cat >>confdefs.h <<EOF |
7367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 6445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7368 _ACEOF | 6446 EOF |
7369 | 6447 |
7370 fi | 6448 fi |
7371 done | 6449 done |
7372 | 6450 |
7373 fi | 6451 fi |
7374 | 6452 |
7375 if test "${window_system}" = "x11"; then | 6453 if test "${window_system}" = "x11"; then |
7376 echo "$as_me:$LINENO: checking X11 version 6" >&5 | 6454 echo "$as_me:6454: checking X11 version 6" >&5 |
7377 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 | 6455 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 |
7378 if test "${emacs_cv_x11_version_6+set}" = set; then | 6456 if test "${emacs_cv_x11_version_6+set}" = set; then |
7379 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6457 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7380 else | 6458 else |
7381 cat >conftest.$ac_ext <<_ACEOF | 6459 cat >conftest.$ac_ext <<_ACEOF |
7382 #line $LINENO "configure" | 6460 #line 6460 "configure" |
7383 #include "confdefs.h" | 6461 #include "confdefs.h" |
7384 #include <X11/Xlib.h> | 6462 #include <X11/Xlib.h> |
7385 #ifdef F77_DUMMY_MAIN | |
7386 # ifdef __cplusplus | |
7387 extern "C" | |
7388 # endif | |
7389 int F77_DUMMY_MAIN() { return 1; } | |
7390 #endif | |
7391 int | 6463 int |
7392 main () | 6464 main () |
7393 { | 6465 { |
7394 #if XlibSpecificationRelease < 6 | 6466 #if XlibSpecificationRelease < 6 |
7395 fail; | 6467 fail; |
7398 ; | 6470 ; |
7399 return 0; | 6471 return 0; |
7400 } | 6472 } |
7401 _ACEOF | 6473 _ACEOF |
7402 rm -f conftest.$ac_objext conftest$ac_exeext | 6474 rm -f conftest.$ac_objext conftest$ac_exeext |
7403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6475 if { (eval echo "$as_me:6475: \"$ac_link\"") >&5 |
7404 (eval $ac_link) 2>&5 | 6476 (eval $ac_link) 2>&5 |
7405 ac_status=$? | 6477 ac_status=$? |
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6478 echo "$as_me:6478: \$? = $ac_status" >&5 |
7407 (exit $ac_status); } && | 6479 (exit $ac_status); } && |
7408 { ac_try='test -s conftest$ac_exeext' | 6480 { ac_try='test -s conftest$ac_exeext' |
7409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6481 { (eval echo "$as_me:6481: \"$ac_try\"") >&5 |
7410 (eval $ac_try) 2>&5 | 6482 (eval $ac_try) 2>&5 |
7411 ac_status=$? | 6483 ac_status=$? |
7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6484 echo "$as_me:6484: \$? = $ac_status" >&5 |
7413 (exit $ac_status); }; }; then | 6485 (exit $ac_status); }; }; then |
7414 emacs_cv_x11_version_6=yes | 6486 emacs_cv_x11_version_6=yes |
7415 else | 6487 else |
7416 echo "$as_me: failed program was:" >&5 | 6488 echo "$as_me: failed program was:" >&5 |
7417 cat conftest.$ac_ext >&5 | 6489 cat conftest.$ac_ext >&5 |
7419 fi | 6491 fi |
7420 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7421 fi | 6493 fi |
7422 | 6494 |
7423 if test $emacs_cv_x11_version_6 = yes; then | 6495 if test $emacs_cv_x11_version_6 = yes; then |
7424 echo "$as_me:$LINENO: result: 6 or newer" >&5 | 6496 echo "$as_me:6496: result: 6 or newer" >&5 |
7425 echo "${ECHO_T}6 or newer" >&6 | 6497 echo "${ECHO_T}6 or newer" >&6 |
7426 | 6498 |
7427 cat >>confdefs.h <<\_ACEOF | 6499 cat >>confdefs.h <<\EOF |
7428 #define HAVE_X11R6 1 | 6500 #define HAVE_X11R6 1 |
7429 _ACEOF | 6501 EOF |
7430 | 6502 |
7431 else | 6503 else |
7432 echo "$as_me:$LINENO: result: before 6" >&5 | 6504 echo "$as_me:6504: result: before 6" >&5 |
7433 echo "${ECHO_T}before 6" >&6 | 6505 echo "${ECHO_T}before 6" >&6 |
7434 fi | 6506 fi |
7435 fi | 6507 fi |
7436 | 6508 |
7437 if test "${window_system}" = "x11"; then | 6509 if test "${window_system}" = "x11"; then |
7438 echo "$as_me:$LINENO: checking X11 version 5" >&5 | 6510 echo "$as_me:6510: checking X11 version 5" >&5 |
7439 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 | 6511 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 |
7440 if test "${emacs_cv_x11_version_5+set}" = set; then | 6512 if test "${emacs_cv_x11_version_5+set}" = set; then |
7441 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6513 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7442 else | 6514 else |
7443 cat >conftest.$ac_ext <<_ACEOF | 6515 cat >conftest.$ac_ext <<_ACEOF |
7444 #line $LINENO "configure" | 6516 #line 6516 "configure" |
7445 #include "confdefs.h" | 6517 #include "confdefs.h" |
7446 #include <X11/Xlib.h> | 6518 #include <X11/Xlib.h> |
7447 #ifdef F77_DUMMY_MAIN | |
7448 # ifdef __cplusplus | |
7449 extern "C" | |
7450 # endif | |
7451 int F77_DUMMY_MAIN() { return 1; } | |
7452 #endif | |
7453 int | 6519 int |
7454 main () | 6520 main () |
7455 { | 6521 { |
7456 #if XlibSpecificationRelease < 5 | 6522 #if XlibSpecificationRelease < 5 |
7457 fail; | 6523 fail; |
7460 ; | 6526 ; |
7461 return 0; | 6527 return 0; |
7462 } | 6528 } |
7463 _ACEOF | 6529 _ACEOF |
7464 rm -f conftest.$ac_objext conftest$ac_exeext | 6530 rm -f conftest.$ac_objext conftest$ac_exeext |
7465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6531 if { (eval echo "$as_me:6531: \"$ac_link\"") >&5 |
7466 (eval $ac_link) 2>&5 | 6532 (eval $ac_link) 2>&5 |
7467 ac_status=$? | 6533 ac_status=$? |
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6534 echo "$as_me:6534: \$? = $ac_status" >&5 |
7469 (exit $ac_status); } && | 6535 (exit $ac_status); } && |
7470 { ac_try='test -s conftest$ac_exeext' | 6536 { ac_try='test -s conftest$ac_exeext' |
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6537 { (eval echo "$as_me:6537: \"$ac_try\"") >&5 |
7472 (eval $ac_try) 2>&5 | 6538 (eval $ac_try) 2>&5 |
7473 ac_status=$? | 6539 ac_status=$? |
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6540 echo "$as_me:6540: \$? = $ac_status" >&5 |
7475 (exit $ac_status); }; }; then | 6541 (exit $ac_status); }; }; then |
7476 emacs_cv_x11_version_5=yes | 6542 emacs_cv_x11_version_5=yes |
7477 else | 6543 else |
7478 echo "$as_me: failed program was:" >&5 | 6544 echo "$as_me: failed program was:" >&5 |
7479 cat conftest.$ac_ext >&5 | 6545 cat conftest.$ac_ext >&5 |
7481 fi | 6547 fi |
7482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7483 fi | 6549 fi |
7484 | 6550 |
7485 if test $emacs_cv_x11_version_5 = yes; then | 6551 if test $emacs_cv_x11_version_5 = yes; then |
7486 echo "$as_me:$LINENO: result: 5 or newer" >&5 | 6552 echo "$as_me:6552: result: 5 or newer" >&5 |
7487 echo "${ECHO_T}5 or newer" >&6 | 6553 echo "${ECHO_T}5 or newer" >&6 |
7488 HAVE_X11R5=yes | 6554 HAVE_X11R5=yes |
7489 | 6555 |
7490 cat >>confdefs.h <<\_ACEOF | 6556 cat >>confdefs.h <<\EOF |
7491 #define HAVE_X11R5 1 | 6557 #define HAVE_X11R5 1 |
7492 _ACEOF | 6558 EOF |
7493 | 6559 |
7494 else | 6560 else |
7495 HAVE_X11R5=no | 6561 HAVE_X11R5=no |
7496 echo "$as_me:$LINENO: result: before 5" >&5 | 6562 echo "$as_me:6562: result: before 5" >&5 |
7497 echo "${ECHO_T}before 5" >&6 | 6563 echo "${ECHO_T}before 5" >&6 |
7498 fi | 6564 fi |
7499 fi | 6565 fi |
7500 | 6566 |
7501 if test x"${USE_X_TOOLKIT}" = xmaybe; then | 6567 if test x"${USE_X_TOOLKIT}" = xmaybe; then |
7502 if test x"${HAVE_X11R5}" = xyes; then | 6568 if test x"${HAVE_X11R5}" = xyes; then |
7503 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5 | 6569 echo "$as_me:6569: checking X11 version 5 with Xaw" >&5 |
7504 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 | 6570 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 |
7505 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then | 6571 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then |
7506 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6572 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7507 else | 6573 else |
7508 cat >conftest.$ac_ext <<_ACEOF | 6574 cat >conftest.$ac_ext <<_ACEOF |
7509 #line $LINENO "configure" | 6575 #line 6575 "configure" |
7510 #include "confdefs.h" | 6576 #include "confdefs.h" |
7511 | 6577 |
7512 #include <X11/Intrinsic.h> | 6578 #include <X11/Intrinsic.h> |
7513 #include <X11/Xaw/Simple.h> | 6579 #include <X11/Xaw/Simple.h> |
7514 #ifdef F77_DUMMY_MAIN | |
7515 # ifdef __cplusplus | |
7516 extern "C" | |
7517 # endif | |
7518 int F77_DUMMY_MAIN() { return 1; } | |
7519 #endif | |
7520 int | 6580 int |
7521 main () | 6581 main () |
7522 { | 6582 { |
7523 | 6583 |
7524 ; | 6584 ; |
7525 return 0; | 6585 return 0; |
7526 } | 6586 } |
7527 _ACEOF | 6587 _ACEOF |
7528 rm -f conftest.$ac_objext conftest$ac_exeext | 6588 rm -f conftest.$ac_objext conftest$ac_exeext |
7529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6589 if { (eval echo "$as_me:6589: \"$ac_link\"") >&5 |
7530 (eval $ac_link) 2>&5 | 6590 (eval $ac_link) 2>&5 |
7531 ac_status=$? | 6591 ac_status=$? |
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6592 echo "$as_me:6592: \$? = $ac_status" >&5 |
7533 (exit $ac_status); } && | 6593 (exit $ac_status); } && |
7534 { ac_try='test -s conftest$ac_exeext' | 6594 { ac_try='test -s conftest$ac_exeext' |
7535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6595 { (eval echo "$as_me:6595: \"$ac_try\"") >&5 |
7536 (eval $ac_try) 2>&5 | 6596 (eval $ac_try) 2>&5 |
7537 ac_status=$? | 6597 ac_status=$? |
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6598 echo "$as_me:6598: \$? = $ac_status" >&5 |
7539 (exit $ac_status); }; }; then | 6599 (exit $ac_status); }; }; then |
7540 emacs_cv_x11_version_5_with_xaw=yes | 6600 emacs_cv_x11_version_5_with_xaw=yes |
7541 else | 6601 else |
7542 echo "$as_me: failed program was:" >&5 | 6602 echo "$as_me: failed program was:" >&5 |
7543 cat conftest.$ac_ext >&5 | 6603 cat conftest.$ac_ext >&5 |
7545 fi | 6605 fi |
7546 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6606 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7547 fi | 6607 fi |
7548 | 6608 |
7549 if test $emacs_cv_x11_version_5_with_xaw = yes; then | 6609 if test $emacs_cv_x11_version_5_with_xaw = yes; then |
7550 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5 | 6610 echo "$as_me:6610: result: 5 or newer, with Xaw; use toolkit by default" >&5 |
7551 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 | 6611 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 |
7552 USE_X_TOOLKIT=LUCID | 6612 USE_X_TOOLKIT=LUCID |
7553 else | 6613 else |
7554 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5 | 6614 echo "$as_me:6614: result: before 5 or no Xaw; do not use toolkit by default" >&5 |
7555 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 | 6615 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 |
7556 USE_X_TOOLKIT=none | 6616 USE_X_TOOLKIT=none |
7557 fi | 6617 fi |
7558 else | 6618 else |
7559 USE_X_TOOLKIT=none | 6619 USE_X_TOOLKIT=none |
7561 fi | 6621 fi |
7562 | 6622 |
7563 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 6623 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
7564 | 6624 |
7565 if test "${USE_X_TOOLKIT}" != "none"; then | 6625 if test "${USE_X_TOOLKIT}" != "none"; then |
7566 echo "$as_me:$LINENO: checking X11 toolkit version" >&5 | 6626 echo "$as_me:6626: checking X11 toolkit version" >&5 |
7567 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 | 6627 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 |
7568 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then | 6628 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then |
7569 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6629 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7570 else | 6630 else |
7571 cat >conftest.$ac_ext <<_ACEOF | 6631 cat >conftest.$ac_ext <<_ACEOF |
7572 #line $LINENO "configure" | 6632 #line 6632 "configure" |
7573 #include "confdefs.h" | 6633 #include "confdefs.h" |
7574 #include <X11/Intrinsic.h> | 6634 #include <X11/Intrinsic.h> |
7575 #ifdef F77_DUMMY_MAIN | |
7576 # ifdef __cplusplus | |
7577 extern "C" | |
7578 # endif | |
7579 int F77_DUMMY_MAIN() { return 1; } | |
7580 #endif | |
7581 int | 6635 int |
7582 main () | 6636 main () |
7583 { | 6637 { |
7584 #if XtSpecificationRelease < 6 | 6638 #if XtSpecificationRelease < 6 |
7585 fail; | 6639 fail; |
7588 ; | 6642 ; |
7589 return 0; | 6643 return 0; |
7590 } | 6644 } |
7591 _ACEOF | 6645 _ACEOF |
7592 rm -f conftest.$ac_objext conftest$ac_exeext | 6646 rm -f conftest.$ac_objext conftest$ac_exeext |
7593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6647 if { (eval echo "$as_me:6647: \"$ac_link\"") >&5 |
7594 (eval $ac_link) 2>&5 | 6648 (eval $ac_link) 2>&5 |
7595 ac_status=$? | 6649 ac_status=$? |
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6650 echo "$as_me:6650: \$? = $ac_status" >&5 |
7597 (exit $ac_status); } && | 6651 (exit $ac_status); } && |
7598 { ac_try='test -s conftest$ac_exeext' | 6652 { ac_try='test -s conftest$ac_exeext' |
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6653 { (eval echo "$as_me:6653: \"$ac_try\"") >&5 |
7600 (eval $ac_try) 2>&5 | 6654 (eval $ac_try) 2>&5 |
7601 ac_status=$? | 6655 ac_status=$? |
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6656 echo "$as_me:6656: \$? = $ac_status" >&5 |
7603 (exit $ac_status); }; }; then | 6657 (exit $ac_status); }; }; then |
7604 emacs_cv_x11_toolkit_version_6=yes | 6658 emacs_cv_x11_toolkit_version_6=yes |
7605 else | 6659 else |
7606 echo "$as_me: failed program was:" >&5 | 6660 echo "$as_me: failed program was:" >&5 |
7607 cat conftest.$ac_ext >&5 | 6661 cat conftest.$ac_ext >&5 |
7610 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7611 fi | 6665 fi |
7612 | 6666 |
7613 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 | 6667 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 |
7614 if test $emacs_cv_x11_toolkit_version_6 = yes; then | 6668 if test $emacs_cv_x11_toolkit_version_6 = yes; then |
7615 echo "$as_me:$LINENO: result: 6 or newer" >&5 | 6669 echo "$as_me:6669: result: 6 or newer" >&5 |
7616 echo "${ECHO_T}6 or newer" >&6 | 6670 echo "${ECHO_T}6 or newer" >&6 |
7617 | 6671 |
7618 cat >>confdefs.h <<\_ACEOF | 6672 cat >>confdefs.h <<\EOF |
7619 #define HAVE_X11XTR6 1 | 6673 #define HAVE_X11XTR6 1 |
7620 _ACEOF | 6674 EOF |
7621 | 6675 |
7622 else | 6676 else |
7623 echo "$as_me:$LINENO: result: before 6" >&5 | 6677 echo "$as_me:6677: result: before 6" >&5 |
7624 echo "${ECHO_T}before 6" >&6 | 6678 echo "${ECHO_T}before 6" >&6 |
7625 fi | 6679 fi |
7626 | 6680 |
7627 OLDLIBS="$LIBS" | 6681 OLDLIBS="$LIBS" |
7628 if test x$HAVE_X11XTR6 = xyes; then | 6682 if test x$HAVE_X11XTR6 = xyes; then |
7629 LIBS="-lXt -lSM -lICE $LIBS" | 6683 LIBS="-lXt -lSM -lICE $LIBS" |
7630 else | 6684 else |
7631 LIBS="-lXt $LIBS" | 6685 LIBS="-lXt $LIBS" |
7632 fi | 6686 fi |
7633 | 6687 |
7634 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 | 6688 echo "$as_me:6688: checking for XmuConvertStandardSelection in -lXmu" >&5 |
7635 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 | 6689 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 |
7636 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then | 6690 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then |
7637 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6691 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7638 else | 6692 else |
7639 ac_check_lib_save_LIBS=$LIBS | 6693 ac_check_lib_save_LIBS=$LIBS |
7640 LIBS="-lXmu $LIBS" | 6694 LIBS="-lXmu $LIBS" |
7641 cat >conftest.$ac_ext <<_ACEOF | 6695 cat >conftest.$ac_ext <<_ACEOF |
7642 #line $LINENO "configure" | 6696 #line 6696 "configure" |
7643 #include "confdefs.h" | 6697 #include "confdefs.h" |
7644 | 6698 |
7645 /* Override any gcc2 internal prototype to avoid an error. */ | 6699 /* Override any gcc2 internal prototype to avoid an error. */ |
7646 #ifdef __cplusplus | 6700 #ifdef __cplusplus |
7647 extern "C" | 6701 extern "C" |
7648 #endif | 6702 #endif |
7649 /* We use char because int might match the return type of a gcc2 | 6703 /* We use char because int might match the return type of a gcc2 |
7650 builtin and then its argument prototype would still apply. */ | 6704 builtin and then its argument prototype would still apply. */ |
7651 char XmuConvertStandardSelection (); | 6705 char XmuConvertStandardSelection (); |
7652 #ifdef F77_DUMMY_MAIN | |
7653 # ifdef __cplusplus | |
7654 extern "C" | |
7655 # endif | |
7656 int F77_DUMMY_MAIN() { return 1; } | |
7657 #endif | |
7658 int | 6706 int |
7659 main () | 6707 main () |
7660 { | 6708 { |
7661 XmuConvertStandardSelection (); | 6709 XmuConvertStandardSelection (); |
7662 ; | 6710 ; |
7663 return 0; | 6711 return 0; |
7664 } | 6712 } |
7665 _ACEOF | 6713 _ACEOF |
7666 rm -f conftest.$ac_objext conftest$ac_exeext | 6714 rm -f conftest.$ac_objext conftest$ac_exeext |
7667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6715 if { (eval echo "$as_me:6715: \"$ac_link\"") >&5 |
7668 (eval $ac_link) 2>&5 | 6716 (eval $ac_link) 2>&5 |
7669 ac_status=$? | 6717 ac_status=$? |
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6718 echo "$as_me:6718: \$? = $ac_status" >&5 |
7671 (exit $ac_status); } && | 6719 (exit $ac_status); } && |
7672 { ac_try='test -s conftest$ac_exeext' | 6720 { ac_try='test -s conftest$ac_exeext' |
7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6721 { (eval echo "$as_me:6721: \"$ac_try\"") >&5 |
7674 (eval $ac_try) 2>&5 | 6722 (eval $ac_try) 2>&5 |
7675 ac_status=$? | 6723 ac_status=$? |
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6724 echo "$as_me:6724: \$? = $ac_status" >&5 |
7677 (exit $ac_status); }; }; then | 6725 (exit $ac_status); }; }; then |
7678 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes | 6726 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes |
7679 else | 6727 else |
7680 echo "$as_me: failed program was:" >&5 | 6728 echo "$as_me: failed program was:" >&5 |
7681 cat conftest.$ac_ext >&5 | 6729 cat conftest.$ac_ext >&5 |
7682 ac_cv_lib_Xmu_XmuConvertStandardSelection=no | 6730 ac_cv_lib_Xmu_XmuConvertStandardSelection=no |
7683 fi | 6731 fi |
7684 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6732 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7685 LIBS=$ac_check_lib_save_LIBS | 6733 LIBS=$ac_check_lib_save_LIBS |
7686 fi | 6734 fi |
7687 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 6735 echo "$as_me:6735: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
7688 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 | 6736 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 |
7689 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then | 6737 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then |
7690 cat >>confdefs.h <<_ACEOF | 6738 cat >>confdefs.h <<EOF |
7691 #define HAVE_LIBXMU 1 | 6739 #define HAVE_LIBXMU 1 |
7692 _ACEOF | 6740 EOF |
7693 | 6741 |
7694 LIBS="-lXmu $LIBS" | 6742 LIBS="-lXmu $LIBS" |
7695 | 6743 |
7696 fi | 6744 fi |
7697 | 6745 |
7700 | 6748 |
7701 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. | 6749 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. |
7702 if test "${HAVE_X11}" = "yes"; then | 6750 if test "${HAVE_X11}" = "yes"; then |
7703 if test "${USE_X_TOOLKIT}" != "none"; then | 6751 if test "${USE_X_TOOLKIT}" != "none"; then |
7704 | 6752 |
7705 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 | 6753 echo "$as_me:6753: checking for XShapeQueryExtension in -lXext" >&5 |
7706 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 | 6754 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 |
7707 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then | 6755 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
7708 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6756 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7709 else | 6757 else |
7710 ac_check_lib_save_LIBS=$LIBS | 6758 ac_check_lib_save_LIBS=$LIBS |
7711 LIBS="-lXext $LIBS" | 6759 LIBS="-lXext $LIBS" |
7712 cat >conftest.$ac_ext <<_ACEOF | 6760 cat >conftest.$ac_ext <<_ACEOF |
7713 #line $LINENO "configure" | 6761 #line 6761 "configure" |
7714 #include "confdefs.h" | 6762 #include "confdefs.h" |
7715 | 6763 |
7716 /* Override any gcc2 internal prototype to avoid an error. */ | 6764 /* Override any gcc2 internal prototype to avoid an error. */ |
7717 #ifdef __cplusplus | 6765 #ifdef __cplusplus |
7718 extern "C" | 6766 extern "C" |
7719 #endif | 6767 #endif |
7720 /* We use char because int might match the return type of a gcc2 | 6768 /* We use char because int might match the return type of a gcc2 |
7721 builtin and then its argument prototype would still apply. */ | 6769 builtin and then its argument prototype would still apply. */ |
7722 char XShapeQueryExtension (); | 6770 char XShapeQueryExtension (); |
7723 #ifdef F77_DUMMY_MAIN | |
7724 # ifdef __cplusplus | |
7725 extern "C" | |
7726 # endif | |
7727 int F77_DUMMY_MAIN() { return 1; } | |
7728 #endif | |
7729 int | 6771 int |
7730 main () | 6772 main () |
7731 { | 6773 { |
7732 XShapeQueryExtension (); | 6774 XShapeQueryExtension (); |
7733 ; | 6775 ; |
7734 return 0; | 6776 return 0; |
7735 } | 6777 } |
7736 _ACEOF | 6778 _ACEOF |
7737 rm -f conftest.$ac_objext conftest$ac_exeext | 6779 rm -f conftest.$ac_objext conftest$ac_exeext |
7738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6780 if { (eval echo "$as_me:6780: \"$ac_link\"") >&5 |
7739 (eval $ac_link) 2>&5 | 6781 (eval $ac_link) 2>&5 |
7740 ac_status=$? | 6782 ac_status=$? |
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6783 echo "$as_me:6783: \$? = $ac_status" >&5 |
7742 (exit $ac_status); } && | 6784 (exit $ac_status); } && |
7743 { ac_try='test -s conftest$ac_exeext' | 6785 { ac_try='test -s conftest$ac_exeext' |
7744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6786 { (eval echo "$as_me:6786: \"$ac_try\"") >&5 |
7745 (eval $ac_try) 2>&5 | 6787 (eval $ac_try) 2>&5 |
7746 ac_status=$? | 6788 ac_status=$? |
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6789 echo "$as_me:6789: \$? = $ac_status" >&5 |
7748 (exit $ac_status); }; }; then | 6790 (exit $ac_status); }; }; then |
7749 ac_cv_lib_Xext_XShapeQueryExtension=yes | 6791 ac_cv_lib_Xext_XShapeQueryExtension=yes |
7750 else | 6792 else |
7751 echo "$as_me: failed program was:" >&5 | 6793 echo "$as_me: failed program was:" >&5 |
7752 cat conftest.$ac_ext >&5 | 6794 cat conftest.$ac_ext >&5 |
7753 ac_cv_lib_Xext_XShapeQueryExtension=no | 6795 ac_cv_lib_Xext_XShapeQueryExtension=no |
7754 fi | 6796 fi |
7755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7756 LIBS=$ac_check_lib_save_LIBS | 6798 LIBS=$ac_check_lib_save_LIBS |
7757 fi | 6799 fi |
7758 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 6800 echo "$as_me:6800: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
7759 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 | 6801 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 |
7760 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then | 6802 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then |
7761 cat >>confdefs.h <<_ACEOF | 6803 cat >>confdefs.h <<EOF |
7762 #define HAVE_LIBXEXT 1 | 6804 #define HAVE_LIBXEXT 1 |
7763 _ACEOF | 6805 EOF |
7764 | 6806 |
7765 LIBS="-lXext $LIBS" | 6807 LIBS="-lXext $LIBS" |
7766 | 6808 |
7767 fi | 6809 fi |
7768 | 6810 |
7769 fi | 6811 fi |
7770 fi | 6812 fi |
7771 | 6813 |
7772 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 6814 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
7773 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 | 6815 echo "$as_me:6815: checking for Motif version 2.1" >&5 |
7774 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 | 6816 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 |
7775 if test "${emacs_cv_motif_version_2_1+set}" = set; then | 6817 if test "${emacs_cv_motif_version_2_1+set}" = set; then |
7776 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6818 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7777 else | 6819 else |
7778 cat >conftest.$ac_ext <<_ACEOF | 6820 cat >conftest.$ac_ext <<_ACEOF |
7779 #line $LINENO "configure" | 6821 #line 6821 "configure" |
7780 #include "confdefs.h" | 6822 #include "confdefs.h" |
7781 #include <Xm/Xm.h> | 6823 #include <Xm/Xm.h> |
7782 #ifdef F77_DUMMY_MAIN | |
7783 # ifdef __cplusplus | |
7784 extern "C" | |
7785 # endif | |
7786 int F77_DUMMY_MAIN() { return 1; } | |
7787 #endif | |
7788 int | 6824 int |
7789 main () | 6825 main () |
7790 { | 6826 { |
7791 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) | 6827 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) |
7792 int x = 5; | 6828 int x = 5; |
7796 ; | 6832 ; |
7797 return 0; | 6833 return 0; |
7798 } | 6834 } |
7799 _ACEOF | 6835 _ACEOF |
7800 rm -f conftest.$ac_objext | 6836 rm -f conftest.$ac_objext |
7801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6837 if { (eval echo "$as_me:6837: \"$ac_compile\"") >&5 |
7802 (eval $ac_compile) 2>&5 | 6838 (eval $ac_compile) 2>&5 |
7803 ac_status=$? | 6839 ac_status=$? |
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6840 echo "$as_me:6840: \$? = $ac_status" >&5 |
7805 (exit $ac_status); } && | 6841 (exit $ac_status); } && |
7806 { ac_try='test -s conftest.$ac_objext' | 6842 { ac_try='test -s conftest.$ac_objext' |
7807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6843 { (eval echo "$as_me:6843: \"$ac_try\"") >&5 |
7808 (eval $ac_try) 2>&5 | 6844 (eval $ac_try) 2>&5 |
7809 ac_status=$? | 6845 ac_status=$? |
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6846 echo "$as_me:6846: \$? = $ac_status" >&5 |
7811 (exit $ac_status); }; }; then | 6847 (exit $ac_status); }; }; then |
7812 emacs_cv_motif_version_2_1=yes | 6848 emacs_cv_motif_version_2_1=yes |
7813 else | 6849 else |
7814 echo "$as_me: failed program was:" >&5 | 6850 echo "$as_me: failed program was:" >&5 |
7815 cat conftest.$ac_ext >&5 | 6851 cat conftest.$ac_ext >&5 |
7816 emacs_cv_motif_version_2_1=no | 6852 emacs_cv_motif_version_2_1=no |
7817 fi | 6853 fi |
7818 rm -f conftest.$ac_objext conftest.$ac_ext | 6854 rm -f conftest.$ac_objext conftest.$ac_ext |
7819 fi | 6855 fi |
7820 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 | 6856 echo "$as_me:6856: result: $emacs_cv_motif_version_2_1" >&5 |
7821 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 | 6857 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 |
7822 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 | 6858 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 |
7823 if test $emacs_cv_motif_version_2_1 = yes; then | 6859 if test $emacs_cv_motif_version_2_1 = yes; then |
7824 HAVE_LIBXP=no | 6860 HAVE_LIBXP=no |
7825 | 6861 |
7826 cat >>confdefs.h <<\_ACEOF | 6862 cat >>confdefs.h <<\EOF |
7827 #define HAVE_MOTIF_2_1 1 | 6863 #define HAVE_MOTIF_2_1 1 |
7828 _ACEOF | 6864 EOF |
7829 | 6865 |
7830 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 | 6866 echo "$as_me:6866: checking for XpCreateContext in -lXp" >&5 |
7831 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 | 6867 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 |
7832 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then | 6868 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then |
7833 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6869 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7834 else | 6870 else |
7835 ac_check_lib_save_LIBS=$LIBS | 6871 ac_check_lib_save_LIBS=$LIBS |
7836 LIBS="-lXp $LIBS" | 6872 LIBS="-lXp $LIBS" |
7837 cat >conftest.$ac_ext <<_ACEOF | 6873 cat >conftest.$ac_ext <<_ACEOF |
7838 #line $LINENO "configure" | 6874 #line 6874 "configure" |
7839 #include "confdefs.h" | 6875 #include "confdefs.h" |
7840 | 6876 |
7841 /* Override any gcc2 internal prototype to avoid an error. */ | 6877 /* Override any gcc2 internal prototype to avoid an error. */ |
7842 #ifdef __cplusplus | 6878 #ifdef __cplusplus |
7843 extern "C" | 6879 extern "C" |
7844 #endif | 6880 #endif |
7845 /* We use char because int might match the return type of a gcc2 | 6881 /* We use char because int might match the return type of a gcc2 |
7846 builtin and then its argument prototype would still apply. */ | 6882 builtin and then its argument prototype would still apply. */ |
7847 char XpCreateContext (); | 6883 char XpCreateContext (); |
7848 #ifdef F77_DUMMY_MAIN | |
7849 # ifdef __cplusplus | |
7850 extern "C" | |
7851 # endif | |
7852 int F77_DUMMY_MAIN() { return 1; } | |
7853 #endif | |
7854 int | 6884 int |
7855 main () | 6885 main () |
7856 { | 6886 { |
7857 XpCreateContext (); | 6887 XpCreateContext (); |
7858 ; | 6888 ; |
7859 return 0; | 6889 return 0; |
7860 } | 6890 } |
7861 _ACEOF | 6891 _ACEOF |
7862 rm -f conftest.$ac_objext conftest$ac_exeext | 6892 rm -f conftest.$ac_objext conftest$ac_exeext |
7863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6893 if { (eval echo "$as_me:6893: \"$ac_link\"") >&5 |
7864 (eval $ac_link) 2>&5 | 6894 (eval $ac_link) 2>&5 |
7865 ac_status=$? | 6895 ac_status=$? |
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6896 echo "$as_me:6896: \$? = $ac_status" >&5 |
7867 (exit $ac_status); } && | 6897 (exit $ac_status); } && |
7868 { ac_try='test -s conftest$ac_exeext' | 6898 { ac_try='test -s conftest$ac_exeext' |
7869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6899 { (eval echo "$as_me:6899: \"$ac_try\"") >&5 |
7870 (eval $ac_try) 2>&5 | 6900 (eval $ac_try) 2>&5 |
7871 ac_status=$? | 6901 ac_status=$? |
7872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6902 echo "$as_me:6902: \$? = $ac_status" >&5 |
7873 (exit $ac_status); }; }; then | 6903 (exit $ac_status); }; }; then |
7874 ac_cv_lib_Xp_XpCreateContext=yes | 6904 ac_cv_lib_Xp_XpCreateContext=yes |
7875 else | 6905 else |
7876 echo "$as_me: failed program was:" >&5 | 6906 echo "$as_me: failed program was:" >&5 |
7877 cat conftest.$ac_ext >&5 | 6907 cat conftest.$ac_ext >&5 |
7878 ac_cv_lib_Xp_XpCreateContext=no | 6908 ac_cv_lib_Xp_XpCreateContext=no |
7879 fi | 6909 fi |
7880 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6910 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7881 LIBS=$ac_check_lib_save_LIBS | 6911 LIBS=$ac_check_lib_save_LIBS |
7882 fi | 6912 fi |
7883 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 6913 echo "$as_me:6913: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
7884 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 | 6914 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 |
7885 if test $ac_cv_lib_Xp_XpCreateContext = yes; then | 6915 if test $ac_cv_lib_Xp_XpCreateContext = yes; then |
7886 HAVE_LIBXP=yes | 6916 HAVE_LIBXP=yes |
7887 fi | 6917 fi |
7888 | 6918 |
7889 if test ${HAVE_LIBXP} = yes; then | 6919 if test ${HAVE_LIBXP} = yes; then |
7890 | 6920 |
7891 cat >>confdefs.h <<\_ACEOF | 6921 cat >>confdefs.h <<\EOF |
7892 #define HAVE_LIBXP 1 | 6922 #define HAVE_LIBXP 1 |
7893 _ACEOF | 6923 EOF |
7894 | 6924 |
7895 fi | 6925 fi |
7896 fi | 6926 fi |
7897 fi | 6927 fi |
7898 | 6928 |
7899 ### Is -lXaw3d available? | 6929 ### Is -lXaw3d available? |
7900 HAVE_XAW3D=no | 6930 HAVE_XAW3D=no |
7901 if test "${HAVE_X11}" = "yes"; then | 6931 if test "${HAVE_X11}" = "yes"; then |
7902 if test "${USE_X_TOOLKIT}" != "none"; then | 6932 if test "${USE_X_TOOLKIT}" != "none"; then |
7903 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then | 6933 echo "$as_me:6933: checking for X11/Xaw3d/Scrollbar.h" >&5 |
7904 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5 | |
7905 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 | 6934 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 |
7906 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then | 6935 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then |
7907 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6936 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7908 fi | 6937 else |
7909 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 | 6938 cat >conftest.$ac_ext <<_ACEOF |
7910 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 | 6939 #line 6939 "configure" |
7911 else | 6940 #include "confdefs.h" |
7912 # Is the header compilable? | |
7913 echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h usability" >&5 | |
7914 echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h usability... $ECHO_C" >&6 | |
7915 cat >conftest.$ac_ext <<_ACEOF | |
7916 #line $LINENO "configure" | |
7917 #include "confdefs.h" | |
7918 $ac_includes_default | |
7919 #include <X11/Xaw3d/Scrollbar.h> | 6941 #include <X11/Xaw3d/Scrollbar.h> |
7920 _ACEOF | 6942 _ACEOF |
7921 rm -f conftest.$ac_objext | 6943 if { (eval echo "$as_me:6943: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
7923 (eval $ac_compile) 2>&5 | |
7924 ac_status=$? | |
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7926 (exit $ac_status); } && | |
7927 { ac_try='test -s conftest.$ac_objext' | |
7928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
7929 (eval $ac_try) 2>&5 | |
7930 ac_status=$? | |
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7932 (exit $ac_status); }; }; then | |
7933 ac_header_compiler=yes | |
7934 else | |
7935 echo "$as_me: failed program was:" >&5 | |
7936 cat conftest.$ac_ext >&5 | |
7937 ac_header_compiler=no | |
7938 fi | |
7939 rm -f conftest.$ac_objext conftest.$ac_ext | |
7940 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
7941 echo "${ECHO_T}$ac_header_compiler" >&6 | |
7942 | |
7943 # Is the header present? | |
7944 echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h presence" >&5 | |
7945 echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h presence... $ECHO_C" >&6 | |
7946 cat >conftest.$ac_ext <<_ACEOF | |
7947 #line $LINENO "configure" | |
7948 #include "confdefs.h" | |
7949 #include <X11/Xaw3d/Scrollbar.h> | |
7950 _ACEOF | |
7951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
7952 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 6944 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7953 ac_status=$? | 6945 ac_status=$? |
7954 egrep -v '^ *\+' conftest.er1 >conftest.err | 6946 egrep -v '^ *\+' conftest.er1 >conftest.err |
7955 rm -f conftest.er1 | 6947 rm -f conftest.er1 |
7956 cat conftest.err >&5 | 6948 cat conftest.err >&5 |
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6949 echo "$as_me:6949: \$? = $ac_status" >&5 |
7958 (exit $ac_status); } >/dev/null; then | 6950 (exit $ac_status); } >/dev/null; then |
7959 if test -s conftest.err; then | 6951 if test -s conftest.err; then |
7960 ac_cpp_err=$ac_c_preproc_warn_flag | 6952 ac_cpp_err=$ac_c_preproc_warn_flag |
7961 else | 6953 else |
7962 ac_cpp_err= | 6954 ac_cpp_err= |
7963 fi | 6955 fi |
7964 else | 6956 else |
7965 ac_cpp_err=yes | 6957 ac_cpp_err=yes |
7966 fi | 6958 fi |
7967 if test -z "$ac_cpp_err"; then | 6959 if test -z "$ac_cpp_err"; then |
7968 ac_header_preproc=yes | 6960 ac_cv_header_X11_Xaw3d_Scrollbar_h=yes |
7969 else | 6961 else |
7970 echo "$as_me: failed program was:" >&5 | 6962 echo "$as_me: failed program was:" >&5 |
7971 cat conftest.$ac_ext >&5 | 6963 cat conftest.$ac_ext >&5 |
7972 ac_header_preproc=no | 6964 ac_cv_header_X11_Xaw3d_Scrollbar_h=no |
7973 fi | 6965 fi |
7974 rm -f conftest.err conftest.$ac_ext | 6966 rm -f conftest.err conftest.$ac_ext |
7975 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 6967 fi |
7976 echo "${ECHO_T}$ac_header_preproc" >&6 | 6968 echo "$as_me:6968: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 |
7977 | |
7978 # So? What about this header? | |
7979 case $ac_header_compiler:$ac_header_preproc in | |
7980 yes:no ) | |
7981 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
7982 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
7983 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&5 | |
7984 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&2;};; | |
7985 no:yes ) | |
7986 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: present but cannot be compiled" >&5 | |
7987 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: present but cannot be compiled" >&2;} | |
7988 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: check for missing prerequisite headers?" >&5 | |
7989 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: check for missing prerequisite headers?" >&2;} | |
7990 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&5 | |
7991 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&2;};; | |
7992 esac | |
7993 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5 | |
7994 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 | |
7995 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then | |
7996 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
7997 else | |
7998 ac_cv_header_X11_Xaw3d_Scrollbar_h=$ac_header_preproc | |
7999 fi | |
8000 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 | |
8001 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 | 6969 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 |
8002 | |
8003 fi | |
8004 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then | 6970 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then |
8005 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 6971 echo "$as_me:6971: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
8006 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 | 6972 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 |
8007 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then | 6973 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then |
8008 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6974 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8009 else | 6975 else |
8010 ac_check_lib_save_LIBS=$LIBS | 6976 ac_check_lib_save_LIBS=$LIBS |
8011 LIBS="-lXaw3d $LIBS" | 6977 LIBS="-lXaw3d $LIBS" |
8012 cat >conftest.$ac_ext <<_ACEOF | 6978 cat >conftest.$ac_ext <<_ACEOF |
8013 #line $LINENO "configure" | 6979 #line 6979 "configure" |
8014 #include "confdefs.h" | 6980 #include "confdefs.h" |
8015 | 6981 |
8016 /* Override any gcc2 internal prototype to avoid an error. */ | 6982 /* Override any gcc2 internal prototype to avoid an error. */ |
8017 #ifdef __cplusplus | 6983 #ifdef __cplusplus |
8018 extern "C" | 6984 extern "C" |
8019 #endif | 6985 #endif |
8020 /* We use char because int might match the return type of a gcc2 | 6986 /* We use char because int might match the return type of a gcc2 |
8021 builtin and then its argument prototype would still apply. */ | 6987 builtin and then its argument prototype would still apply. */ |
8022 char XawScrollbarSetThumb (); | 6988 char XawScrollbarSetThumb (); |
8023 #ifdef F77_DUMMY_MAIN | |
8024 # ifdef __cplusplus | |
8025 extern "C" | |
8026 # endif | |
8027 int F77_DUMMY_MAIN() { return 1; } | |
8028 #endif | |
8029 int | 6989 int |
8030 main () | 6990 main () |
8031 { | 6991 { |
8032 XawScrollbarSetThumb (); | 6992 XawScrollbarSetThumb (); |
8033 ; | 6993 ; |
8034 return 0; | 6994 return 0; |
8035 } | 6995 } |
8036 _ACEOF | 6996 _ACEOF |
8037 rm -f conftest.$ac_objext conftest$ac_exeext | 6997 rm -f conftest.$ac_objext conftest$ac_exeext |
8038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6998 if { (eval echo "$as_me:6998: \"$ac_link\"") >&5 |
8039 (eval $ac_link) 2>&5 | 6999 (eval $ac_link) 2>&5 |
8040 ac_status=$? | 7000 ac_status=$? |
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7001 echo "$as_me:7001: \$? = $ac_status" >&5 |
8042 (exit $ac_status); } && | 7002 (exit $ac_status); } && |
8043 { ac_try='test -s conftest$ac_exeext' | 7003 { ac_try='test -s conftest$ac_exeext' |
8044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7004 { (eval echo "$as_me:7004: \"$ac_try\"") >&5 |
8045 (eval $ac_try) 2>&5 | 7005 (eval $ac_try) 2>&5 |
8046 ac_status=$? | 7006 ac_status=$? |
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7007 echo "$as_me:7007: \$? = $ac_status" >&5 |
8048 (exit $ac_status); }; }; then | 7008 (exit $ac_status); }; }; then |
8049 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes | 7009 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes |
8050 else | 7010 else |
8051 echo "$as_me: failed program was:" >&5 | 7011 echo "$as_me: failed program was:" >&5 |
8052 cat conftest.$ac_ext >&5 | 7012 cat conftest.$ac_ext >&5 |
8053 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no | 7013 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no |
8054 fi | 7014 fi |
8055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8056 LIBS=$ac_check_lib_save_LIBS | 7016 LIBS=$ac_check_lib_save_LIBS |
8057 fi | 7017 fi |
8058 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 | 7018 echo "$as_me:7018: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 |
8059 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 | 7019 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 |
8060 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then | 7020 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then |
8061 HAVE_XAW3D=yes | 7021 HAVE_XAW3D=yes |
8062 fi | 7022 fi |
8063 | 7023 |
8064 fi | 7024 fi |
8065 | 7025 |
8066 | |
8067 if test "${HAVE_XAW3D}" = "yes"; then | 7026 if test "${HAVE_XAW3D}" = "yes"; then |
8068 | 7027 |
8069 cat >>confdefs.h <<\_ACEOF | 7028 cat >>confdefs.h <<\EOF |
8070 #define HAVE_XAW3D 1 | 7029 #define HAVE_XAW3D 1 |
8071 _ACEOF | 7030 EOF |
8072 | 7031 |
8073 fi | 7032 fi |
8074 fi | 7033 fi |
8075 fi | 7034 fi |
8076 | |
8077 | |
8078 | 7035 |
8079 USE_TOOLKIT_SCROLL_BARS=no | 7036 USE_TOOLKIT_SCROLL_BARS=no |
8080 if test "${with_toolkit_scroll_bars}" != "no"; then | 7037 if test "${with_toolkit_scroll_bars}" != "no"; then |
8081 if test "${USE_X_TOOLKIT}" != "none"; then | 7038 if test "${USE_X_TOOLKIT}" != "none"; then |
8082 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 7039 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
8083 cat >>confdefs.h <<\_ACEOF | 7040 cat >>confdefs.h <<\EOF |
8084 #define USE_TOOLKIT_SCROLL_BARS 1 | 7041 #define USE_TOOLKIT_SCROLL_BARS 1 |
8085 _ACEOF | 7042 EOF |
8086 | 7043 |
8087 HAVE_XAW3D=no | 7044 HAVE_XAW3D=no |
8088 USE_TOOLKIT_SCROLL_BARS=yes | 7045 USE_TOOLKIT_SCROLL_BARS=yes |
8089 elif test "${HAVE_XAW3D}" = "yes"; then | 7046 elif test "${HAVE_XAW3D}" = "yes"; then |
8090 cat >>confdefs.h <<\_ACEOF | 7047 cat >>confdefs.h <<\EOF |
8091 #define USE_TOOLKIT_SCROLL_BARS 1 | 7048 #define USE_TOOLKIT_SCROLL_BARS 1 |
8092 _ACEOF | 7049 EOF |
8093 | 7050 |
8094 USE_TOOLKIT_SCROLL_BARS=yes | 7051 USE_TOOLKIT_SCROLL_BARS=yes |
8095 fi | 7052 fi |
8096 fi | 7053 fi |
8097 fi | 7054 fi |
8098 | 7055 |
8099 | |
8100 if test "${with_xim}" != "no"; then | 7056 if test "${with_xim}" != "no"; then |
8101 | 7057 |
8102 cat >>confdefs.h <<\_ACEOF | 7058 cat >>confdefs.h <<\EOF |
8103 #define USE_XIM 1 | 7059 #define USE_XIM 1 |
8104 _ACEOF | 7060 EOF |
8105 | 7061 |
8106 fi | 7062 fi |
8107 | 7063 |
8108 ### Use -lXpm if available, unless `--with-xpm=no'. | 7064 ### Use -lXpm if available, unless `--with-xpm=no'. |
8109 HAVE_XPM=no | 7065 HAVE_XPM=no |
8110 if test "${HAVE_X11}" = "yes"; then | 7066 if test "${HAVE_X11}" = "yes"; then |
8111 if test "${with_xpm}" != "no"; then | 7067 if test "${with_xpm}" != "no"; then |
8112 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 7068 echo "$as_me:7068: checking for X11/xpm.h" >&5 |
8113 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | |
8114 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 | 7069 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 |
8115 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 7070 if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
8116 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7071 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8117 fi | 7072 else |
8118 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | 7073 cat >conftest.$ac_ext <<_ACEOF |
8119 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 | 7074 #line 7074 "configure" |
8120 else | 7075 #include "confdefs.h" |
8121 # Is the header compilable? | |
8122 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 | |
8123 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6 | |
8124 cat >conftest.$ac_ext <<_ACEOF | |
8125 #line $LINENO "configure" | |
8126 #include "confdefs.h" | |
8127 $ac_includes_default | |
8128 #include <X11/xpm.h> | 7076 #include <X11/xpm.h> |
8129 _ACEOF | 7077 _ACEOF |
8130 rm -f conftest.$ac_objext | 7078 if { (eval echo "$as_me:7078: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
8132 (eval $ac_compile) 2>&5 | |
8133 ac_status=$? | |
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8135 (exit $ac_status); } && | |
8136 { ac_try='test -s conftest.$ac_objext' | |
8137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
8138 (eval $ac_try) 2>&5 | |
8139 ac_status=$? | |
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8141 (exit $ac_status); }; }; then | |
8142 ac_header_compiler=yes | |
8143 else | |
8144 echo "$as_me: failed program was:" >&5 | |
8145 cat conftest.$ac_ext >&5 | |
8146 ac_header_compiler=no | |
8147 fi | |
8148 rm -f conftest.$ac_objext conftest.$ac_ext | |
8149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
8150 echo "${ECHO_T}$ac_header_compiler" >&6 | |
8151 | |
8152 # Is the header present? | |
8153 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 | |
8154 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6 | |
8155 cat >conftest.$ac_ext <<_ACEOF | |
8156 #line $LINENO "configure" | |
8157 #include "confdefs.h" | |
8158 #include <X11/xpm.h> | |
8159 _ACEOF | |
8160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
8161 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7079 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8162 ac_status=$? | 7080 ac_status=$? |
8163 egrep -v '^ *\+' conftest.er1 >conftest.err | 7081 egrep -v '^ *\+' conftest.er1 >conftest.err |
8164 rm -f conftest.er1 | 7082 rm -f conftest.er1 |
8165 cat conftest.err >&5 | 7083 cat conftest.err >&5 |
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7084 echo "$as_me:7084: \$? = $ac_status" >&5 |
8167 (exit $ac_status); } >/dev/null; then | 7085 (exit $ac_status); } >/dev/null; then |
8168 if test -s conftest.err; then | 7086 if test -s conftest.err; then |
8169 ac_cpp_err=$ac_c_preproc_warn_flag | 7087 ac_cpp_err=$ac_c_preproc_warn_flag |
8170 else | 7088 else |
8171 ac_cpp_err= | 7089 ac_cpp_err= |
8172 fi | 7090 fi |
8173 else | 7091 else |
8174 ac_cpp_err=yes | 7092 ac_cpp_err=yes |
8175 fi | 7093 fi |
8176 if test -z "$ac_cpp_err"; then | 7094 if test -z "$ac_cpp_err"; then |
8177 ac_header_preproc=yes | 7095 ac_cv_header_X11_xpm_h=yes |
8178 else | 7096 else |
8179 echo "$as_me: failed program was:" >&5 | 7097 echo "$as_me: failed program was:" >&5 |
8180 cat conftest.$ac_ext >&5 | 7098 cat conftest.$ac_ext >&5 |
8181 ac_header_preproc=no | 7099 ac_cv_header_X11_xpm_h=no |
8182 fi | 7100 fi |
8183 rm -f conftest.err conftest.$ac_ext | 7101 rm -f conftest.err conftest.$ac_ext |
8184 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 7102 fi |
8185 echo "${ECHO_T}$ac_header_preproc" >&6 | 7103 echo "$as_me:7103: result: $ac_cv_header_X11_xpm_h" >&5 |
8186 | |
8187 # So? What about this header? | |
8188 case $ac_header_compiler:$ac_header_preproc in | |
8189 yes:no ) | |
8190 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
8191 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
8192 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 | |
8193 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;};; | |
8194 no:yes ) | |
8195 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5 | |
8196 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;} | |
8197 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5 | |
8198 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;} | |
8199 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 | |
8200 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;};; | |
8201 esac | |
8202 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | |
8203 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 | |
8204 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | |
8205 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8206 else | |
8207 ac_cv_header_X11_xpm_h=$ac_header_preproc | |
8208 fi | |
8209 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | |
8210 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 | 7104 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 |
8211 | |
8212 fi | |
8213 if test $ac_cv_header_X11_xpm_h = yes; then | 7105 if test $ac_cv_header_X11_xpm_h = yes; then |
8214 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 | 7106 echo "$as_me:7106: checking for XpmReadFileToPixmap in -lXpm" >&5 |
8215 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 | 7107 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 |
8216 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then | 7108 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then |
8217 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7109 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8218 else | 7110 else |
8219 ac_check_lib_save_LIBS=$LIBS | 7111 ac_check_lib_save_LIBS=$LIBS |
8220 LIBS="-lXpm -lX11 $LIBS" | 7112 LIBS="-lXpm -lX11 $LIBS" |
8221 cat >conftest.$ac_ext <<_ACEOF | 7113 cat >conftest.$ac_ext <<_ACEOF |
8222 #line $LINENO "configure" | 7114 #line 7114 "configure" |
8223 #include "confdefs.h" | 7115 #include "confdefs.h" |
8224 | 7116 |
8225 /* Override any gcc2 internal prototype to avoid an error. */ | 7117 /* Override any gcc2 internal prototype to avoid an error. */ |
8226 #ifdef __cplusplus | 7118 #ifdef __cplusplus |
8227 extern "C" | 7119 extern "C" |
8228 #endif | 7120 #endif |
8229 /* We use char because int might match the return type of a gcc2 | 7121 /* We use char because int might match the return type of a gcc2 |
8230 builtin and then its argument prototype would still apply. */ | 7122 builtin and then its argument prototype would still apply. */ |
8231 char XpmReadFileToPixmap (); | 7123 char XpmReadFileToPixmap (); |
8232 #ifdef F77_DUMMY_MAIN | |
8233 # ifdef __cplusplus | |
8234 extern "C" | |
8235 # endif | |
8236 int F77_DUMMY_MAIN() { return 1; } | |
8237 #endif | |
8238 int | 7124 int |
8239 main () | 7125 main () |
8240 { | 7126 { |
8241 XpmReadFileToPixmap (); | 7127 XpmReadFileToPixmap (); |
8242 ; | 7128 ; |
8243 return 0; | 7129 return 0; |
8244 } | 7130 } |
8245 _ACEOF | 7131 _ACEOF |
8246 rm -f conftest.$ac_objext conftest$ac_exeext | 7132 rm -f conftest.$ac_objext conftest$ac_exeext |
8247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7133 if { (eval echo "$as_me:7133: \"$ac_link\"") >&5 |
8248 (eval $ac_link) 2>&5 | 7134 (eval $ac_link) 2>&5 |
8249 ac_status=$? | 7135 ac_status=$? |
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7136 echo "$as_me:7136: \$? = $ac_status" >&5 |
8251 (exit $ac_status); } && | 7137 (exit $ac_status); } && |
8252 { ac_try='test -s conftest$ac_exeext' | 7138 { ac_try='test -s conftest$ac_exeext' |
8253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7139 { (eval echo "$as_me:7139: \"$ac_try\"") >&5 |
8254 (eval $ac_try) 2>&5 | 7140 (eval $ac_try) 2>&5 |
8255 ac_status=$? | 7141 ac_status=$? |
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7142 echo "$as_me:7142: \$? = $ac_status" >&5 |
8257 (exit $ac_status); }; }; then | 7143 (exit $ac_status); }; }; then |
8258 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes | 7144 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes |
8259 else | 7145 else |
8260 echo "$as_me: failed program was:" >&5 | 7146 echo "$as_me: failed program was:" >&5 |
8261 cat conftest.$ac_ext >&5 | 7147 cat conftest.$ac_ext >&5 |
8262 ac_cv_lib_Xpm_XpmReadFileToPixmap=no | 7148 ac_cv_lib_Xpm_XpmReadFileToPixmap=no |
8263 fi | 7149 fi |
8264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7150 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8265 LIBS=$ac_check_lib_save_LIBS | 7151 LIBS=$ac_check_lib_save_LIBS |
8266 fi | 7152 fi |
8267 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 7153 echo "$as_me:7153: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
8268 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 | 7154 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 |
8269 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then | 7155 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then |
8270 HAVE_XPM=yes | 7156 HAVE_XPM=yes |
8271 fi | 7157 fi |
8272 | 7158 |
8273 fi | 7159 fi |
8274 | 7160 |
8275 | |
8276 if test "${HAVE_XPM}" = "yes"; then | 7161 if test "${HAVE_XPM}" = "yes"; then |
8277 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 | 7162 echo "$as_me:7162: checking for XpmReturnAllocPixels preprocessor define" >&5 |
8278 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 | 7163 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 |
8279 cat >conftest.$ac_ext <<_ACEOF | 7164 cat >conftest.$ac_ext <<_ACEOF |
8280 #line $LINENO "configure" | 7165 #line 7165 "configure" |
8281 #include "confdefs.h" | 7166 #include "confdefs.h" |
8282 #include "X11/xpm.h" | 7167 #include "X11/xpm.h" |
8283 #ifndef XpmReturnAllocPixels | 7168 #ifndef XpmReturnAllocPixels |
8284 no_return_alloc_pixels | 7169 no_return_alloc_pixels |
8285 #endif | 7170 #endif |
8291 else | 7176 else |
8292 HAVE_XPM=yes | 7177 HAVE_XPM=yes |
8293 fi | 7178 fi |
8294 rm -f conftest* | 7179 rm -f conftest* |
8295 | 7180 |
8296 | |
8297 if test "${HAVE_XPM}" = "yes"; then | 7181 if test "${HAVE_XPM}" = "yes"; then |
8298 echo "$as_me:$LINENO: result: yes" >&5 | 7182 echo "$as_me:7182: result: yes" >&5 |
8299 echo "${ECHO_T}yes" >&6 | 7183 echo "${ECHO_T}yes" >&6 |
8300 else | 7184 else |
8301 echo "$as_me:$LINENO: result: no" >&5 | 7185 echo "$as_me:7185: result: no" >&5 |
8302 echo "${ECHO_T}no" >&6 | 7186 echo "${ECHO_T}no" >&6 |
8303 fi | 7187 fi |
8304 fi | 7188 fi |
8305 fi | 7189 fi |
8306 | 7190 |
8307 if test "${HAVE_XPM}" = "yes"; then | 7191 if test "${HAVE_XPM}" = "yes"; then |
8308 | 7192 |
8309 cat >>confdefs.h <<\_ACEOF | 7193 cat >>confdefs.h <<\EOF |
8310 #define HAVE_XPM 1 | 7194 #define HAVE_XPM 1 |
8311 _ACEOF | 7195 EOF |
8312 | 7196 |
8313 fi | 7197 fi |
8314 fi | 7198 fi |
8315 | 7199 |
8316 ### Use -ljpeg if available, unless `--with-jpeg=no'. | 7200 ### Use -ljpeg if available, unless `--with-jpeg=no'. |
8317 HAVE_JPEG=no | 7201 HAVE_JPEG=no |
8318 if test "${HAVE_X11}" = "yes"; then | 7202 if test "${HAVE_X11}" = "yes"; then |
8319 if test "${with_jpeg}" != "no"; then | 7203 if test "${with_jpeg}" != "no"; then |
8320 if test "${ac_cv_header_jerror_h+set}" = set; then | 7204 echo "$as_me:7204: checking for jerror.h" >&5 |
8321 echo "$as_me:$LINENO: checking for jerror.h" >&5 | |
8322 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 | 7205 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 |
8323 if test "${ac_cv_header_jerror_h+set}" = set; then | 7206 if test "${ac_cv_header_jerror_h+set}" = set; then |
8324 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7207 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8325 fi | 7208 else |
8326 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | 7209 cat >conftest.$ac_ext <<_ACEOF |
8327 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 | 7210 #line 7210 "configure" |
8328 else | 7211 #include "confdefs.h" |
8329 # Is the header compilable? | |
8330 echo "$as_me:$LINENO: checking jerror.h usability" >&5 | |
8331 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6 | |
8332 cat >conftest.$ac_ext <<_ACEOF | |
8333 #line $LINENO "configure" | |
8334 #include "confdefs.h" | |
8335 $ac_includes_default | |
8336 #include <jerror.h> | 7212 #include <jerror.h> |
8337 _ACEOF | 7213 _ACEOF |
8338 rm -f conftest.$ac_objext | 7214 if { (eval echo "$as_me:7214: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
8340 (eval $ac_compile) 2>&5 | |
8341 ac_status=$? | |
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8343 (exit $ac_status); } && | |
8344 { ac_try='test -s conftest.$ac_objext' | |
8345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
8346 (eval $ac_try) 2>&5 | |
8347 ac_status=$? | |
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8349 (exit $ac_status); }; }; then | |
8350 ac_header_compiler=yes | |
8351 else | |
8352 echo "$as_me: failed program was:" >&5 | |
8353 cat conftest.$ac_ext >&5 | |
8354 ac_header_compiler=no | |
8355 fi | |
8356 rm -f conftest.$ac_objext conftest.$ac_ext | |
8357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
8358 echo "${ECHO_T}$ac_header_compiler" >&6 | |
8359 | |
8360 # Is the header present? | |
8361 echo "$as_me:$LINENO: checking jerror.h presence" >&5 | |
8362 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6 | |
8363 cat >conftest.$ac_ext <<_ACEOF | |
8364 #line $LINENO "configure" | |
8365 #include "confdefs.h" | |
8366 #include <jerror.h> | |
8367 _ACEOF | |
8368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
8369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8370 ac_status=$? | 7216 ac_status=$? |
8371 egrep -v '^ *\+' conftest.er1 >conftest.err | 7217 egrep -v '^ *\+' conftest.er1 >conftest.err |
8372 rm -f conftest.er1 | 7218 rm -f conftest.er1 |
8373 cat conftest.err >&5 | 7219 cat conftest.err >&5 |
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7220 echo "$as_me:7220: \$? = $ac_status" >&5 |
8375 (exit $ac_status); } >/dev/null; then | 7221 (exit $ac_status); } >/dev/null; then |
8376 if test -s conftest.err; then | 7222 if test -s conftest.err; then |
8377 ac_cpp_err=$ac_c_preproc_warn_flag | 7223 ac_cpp_err=$ac_c_preproc_warn_flag |
8378 else | 7224 else |
8379 ac_cpp_err= | 7225 ac_cpp_err= |
8380 fi | 7226 fi |
8381 else | 7227 else |
8382 ac_cpp_err=yes | 7228 ac_cpp_err=yes |
8383 fi | 7229 fi |
8384 if test -z "$ac_cpp_err"; then | 7230 if test -z "$ac_cpp_err"; then |
8385 ac_header_preproc=yes | 7231 ac_cv_header_jerror_h=yes |
8386 else | 7232 else |
8387 echo "$as_me: failed program was:" >&5 | 7233 echo "$as_me: failed program was:" >&5 |
8388 cat conftest.$ac_ext >&5 | 7234 cat conftest.$ac_ext >&5 |
8389 ac_header_preproc=no | 7235 ac_cv_header_jerror_h=no |
8390 fi | 7236 fi |
8391 rm -f conftest.err conftest.$ac_ext | 7237 rm -f conftest.err conftest.$ac_ext |
8392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 7238 fi |
8393 echo "${ECHO_T}$ac_header_preproc" >&6 | 7239 echo "$as_me:7239: result: $ac_cv_header_jerror_h" >&5 |
8394 | |
8395 # So? What about this header? | |
8396 case $ac_header_compiler:$ac_header_preproc in | |
8397 yes:no ) | |
8398 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
8399 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
8400 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 | |
8401 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;};; | |
8402 no:yes ) | |
8403 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5 | |
8404 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;} | |
8405 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5 | |
8406 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;} | |
8407 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 | |
8408 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;};; | |
8409 esac | |
8410 echo "$as_me:$LINENO: checking for jerror.h" >&5 | |
8411 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 | |
8412 if test "${ac_cv_header_jerror_h+set}" = set; then | |
8413 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8414 else | |
8415 ac_cv_header_jerror_h=$ac_header_preproc | |
8416 fi | |
8417 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | |
8418 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 | 7240 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 |
8419 | |
8420 fi | |
8421 if test $ac_cv_header_jerror_h = yes; then | 7241 if test $ac_cv_header_jerror_h = yes; then |
8422 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 | 7242 echo "$as_me:7242: checking for jpeg_destroy_compress in -ljpeg" >&5 |
8423 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 | 7243 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 |
8424 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then | 7244 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then |
8425 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7245 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8426 else | 7246 else |
8427 ac_check_lib_save_LIBS=$LIBS | 7247 ac_check_lib_save_LIBS=$LIBS |
8428 LIBS="-ljpeg $LIBS" | 7248 LIBS="-ljpeg $LIBS" |
8429 cat >conftest.$ac_ext <<_ACEOF | 7249 cat >conftest.$ac_ext <<_ACEOF |
8430 #line $LINENO "configure" | 7250 #line 7250 "configure" |
8431 #include "confdefs.h" | 7251 #include "confdefs.h" |
8432 | 7252 |
8433 /* Override any gcc2 internal prototype to avoid an error. */ | 7253 /* Override any gcc2 internal prototype to avoid an error. */ |
8434 #ifdef __cplusplus | 7254 #ifdef __cplusplus |
8435 extern "C" | 7255 extern "C" |
8436 #endif | 7256 #endif |
8437 /* We use char because int might match the return type of a gcc2 | 7257 /* We use char because int might match the return type of a gcc2 |
8438 builtin and then its argument prototype would still apply. */ | 7258 builtin and then its argument prototype would still apply. */ |
8439 char jpeg_destroy_compress (); | 7259 char jpeg_destroy_compress (); |
8440 #ifdef F77_DUMMY_MAIN | |
8441 # ifdef __cplusplus | |
8442 extern "C" | |
8443 # endif | |
8444 int F77_DUMMY_MAIN() { return 1; } | |
8445 #endif | |
8446 int | 7260 int |
8447 main () | 7261 main () |
8448 { | 7262 { |
8449 jpeg_destroy_compress (); | 7263 jpeg_destroy_compress (); |
8450 ; | 7264 ; |
8451 return 0; | 7265 return 0; |
8452 } | 7266 } |
8453 _ACEOF | 7267 _ACEOF |
8454 rm -f conftest.$ac_objext conftest$ac_exeext | 7268 rm -f conftest.$ac_objext conftest$ac_exeext |
8455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7269 if { (eval echo "$as_me:7269: \"$ac_link\"") >&5 |
8456 (eval $ac_link) 2>&5 | 7270 (eval $ac_link) 2>&5 |
8457 ac_status=$? | 7271 ac_status=$? |
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7272 echo "$as_me:7272: \$? = $ac_status" >&5 |
8459 (exit $ac_status); } && | 7273 (exit $ac_status); } && |
8460 { ac_try='test -s conftest$ac_exeext' | 7274 { ac_try='test -s conftest$ac_exeext' |
8461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7275 { (eval echo "$as_me:7275: \"$ac_try\"") >&5 |
8462 (eval $ac_try) 2>&5 | 7276 (eval $ac_try) 2>&5 |
8463 ac_status=$? | 7277 ac_status=$? |
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7278 echo "$as_me:7278: \$? = $ac_status" >&5 |
8465 (exit $ac_status); }; }; then | 7279 (exit $ac_status); }; }; then |
8466 ac_cv_lib_jpeg_jpeg_destroy_compress=yes | 7280 ac_cv_lib_jpeg_jpeg_destroy_compress=yes |
8467 else | 7281 else |
8468 echo "$as_me: failed program was:" >&5 | 7282 echo "$as_me: failed program was:" >&5 |
8469 cat conftest.$ac_ext >&5 | 7283 cat conftest.$ac_ext >&5 |
8470 ac_cv_lib_jpeg_jpeg_destroy_compress=no | 7284 ac_cv_lib_jpeg_jpeg_destroy_compress=no |
8471 fi | 7285 fi |
8472 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8473 LIBS=$ac_check_lib_save_LIBS | 7287 LIBS=$ac_check_lib_save_LIBS |
8474 fi | 7288 fi |
8475 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 7289 echo "$as_me:7289: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
8476 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 | 7290 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 |
8477 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then | 7291 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then |
8478 HAVE_JPEG=yes | 7292 HAVE_JPEG=yes |
8479 fi | 7293 fi |
8480 | 7294 |
8481 fi | 7295 fi |
8482 | 7296 |
8483 | |
8484 fi | 7297 fi |
8485 | 7298 |
8486 | |
8487 if test "${HAVE_JPEG}" = "yes"; then | 7299 if test "${HAVE_JPEG}" = "yes"; then |
8488 cat >>confdefs.h <<\_ACEOF | 7300 cat >>confdefs.h <<\EOF |
8489 #define HAVE_JPEG 1 | 7301 #define HAVE_JPEG 1 |
8490 _ACEOF | 7302 EOF |
8491 | 7303 |
8492 cat >conftest.$ac_ext <<_ACEOF | 7304 cat >conftest.$ac_ext <<_ACEOF |
8493 #line $LINENO "configure" | 7305 #line 7305 "configure" |
8494 #include "confdefs.h" | 7306 #include "confdefs.h" |
8495 #include <jpeglib.h> | 7307 #include <jpeglib.h> |
8496 version=JPEG_LIB_VERSION | 7308 version=JPEG_LIB_VERSION |
8497 | 7309 |
8498 _ACEOF | 7310 _ACEOF |
8499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
8500 egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then | 7312 egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then |
8501 cat >>confdefs.h <<\_ACEOF | 7313 cat >>confdefs.h <<\EOF |
8502 #define HAVE_JPEG 1 | 7314 #define HAVE_JPEG 1 |
8503 _ACEOF | 7315 EOF |
8504 | 7316 |
8505 else | 7317 else |
8506 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 | 7318 { echo "$as_me:7318: WARNING: libjpeg found, but not version 6b or later" >&5 |
8507 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} | 7319 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} |
8508 HAVE_JPEG=no | 7320 HAVE_JPEG=no |
8509 fi | 7321 fi |
8510 rm -f conftest* | 7322 rm -f conftest* |
8511 | 7323 |
8514 | 7326 |
8515 ### Use -lpng if available, unless `--with-png=no'. | 7327 ### Use -lpng if available, unless `--with-png=no'. |
8516 HAVE_PNG=no | 7328 HAVE_PNG=no |
8517 if test "${HAVE_X11}" = "yes"; then | 7329 if test "${HAVE_X11}" = "yes"; then |
8518 if test "${with_png}" != "no"; then | 7330 if test "${with_png}" != "no"; then |
8519 if test "${ac_cv_header_png_h+set}" = set; then | 7331 echo "$as_me:7331: checking for png.h" >&5 |
8520 echo "$as_me:$LINENO: checking for png.h" >&5 | |
8521 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 | 7332 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 |
8522 if test "${ac_cv_header_png_h+set}" = set; then | 7333 if test "${ac_cv_header_png_h+set}" = set; then |
8523 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7334 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8524 fi | 7335 else |
8525 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5 | 7336 cat >conftest.$ac_ext <<_ACEOF |
8526 echo "${ECHO_T}$ac_cv_header_png_h" >&6 | 7337 #line 7337 "configure" |
8527 else | 7338 #include "confdefs.h" |
8528 # Is the header compilable? | |
8529 echo "$as_me:$LINENO: checking png.h usability" >&5 | |
8530 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6 | |
8531 cat >conftest.$ac_ext <<_ACEOF | |
8532 #line $LINENO "configure" | |
8533 #include "confdefs.h" | |
8534 $ac_includes_default | |
8535 #include <png.h> | 7339 #include <png.h> |
8536 _ACEOF | 7340 _ACEOF |
8537 rm -f conftest.$ac_objext | 7341 if { (eval echo "$as_me:7341: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
8539 (eval $ac_compile) 2>&5 | |
8540 ac_status=$? | |
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8542 (exit $ac_status); } && | |
8543 { ac_try='test -s conftest.$ac_objext' | |
8544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
8545 (eval $ac_try) 2>&5 | |
8546 ac_status=$? | |
8547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8548 (exit $ac_status); }; }; then | |
8549 ac_header_compiler=yes | |
8550 else | |
8551 echo "$as_me: failed program was:" >&5 | |
8552 cat conftest.$ac_ext >&5 | |
8553 ac_header_compiler=no | |
8554 fi | |
8555 rm -f conftest.$ac_objext conftest.$ac_ext | |
8556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
8557 echo "${ECHO_T}$ac_header_compiler" >&6 | |
8558 | |
8559 # Is the header present? | |
8560 echo "$as_me:$LINENO: checking png.h presence" >&5 | |
8561 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6 | |
8562 cat >conftest.$ac_ext <<_ACEOF | |
8563 #line $LINENO "configure" | |
8564 #include "confdefs.h" | |
8565 #include <png.h> | |
8566 _ACEOF | |
8567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
8568 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8569 ac_status=$? | 7343 ac_status=$? |
8570 egrep -v '^ *\+' conftest.er1 >conftest.err | 7344 egrep -v '^ *\+' conftest.er1 >conftest.err |
8571 rm -f conftest.er1 | 7345 rm -f conftest.er1 |
8572 cat conftest.err >&5 | 7346 cat conftest.err >&5 |
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7347 echo "$as_me:7347: \$? = $ac_status" >&5 |
8574 (exit $ac_status); } >/dev/null; then | 7348 (exit $ac_status); } >/dev/null; then |
8575 if test -s conftest.err; then | 7349 if test -s conftest.err; then |
8576 ac_cpp_err=$ac_c_preproc_warn_flag | 7350 ac_cpp_err=$ac_c_preproc_warn_flag |
8577 else | 7351 else |
8578 ac_cpp_err= | 7352 ac_cpp_err= |
8579 fi | 7353 fi |
8580 else | 7354 else |
8581 ac_cpp_err=yes | 7355 ac_cpp_err=yes |
8582 fi | 7356 fi |
8583 if test -z "$ac_cpp_err"; then | 7357 if test -z "$ac_cpp_err"; then |
8584 ac_header_preproc=yes | 7358 ac_cv_header_png_h=yes |
8585 else | 7359 else |
8586 echo "$as_me: failed program was:" >&5 | 7360 echo "$as_me: failed program was:" >&5 |
8587 cat conftest.$ac_ext >&5 | 7361 cat conftest.$ac_ext >&5 |
8588 ac_header_preproc=no | 7362 ac_cv_header_png_h=no |
8589 fi | 7363 fi |
8590 rm -f conftest.err conftest.$ac_ext | 7364 rm -f conftest.err conftest.$ac_ext |
8591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 7365 fi |
8592 echo "${ECHO_T}$ac_header_preproc" >&6 | 7366 echo "$as_me:7366: result: $ac_cv_header_png_h" >&5 |
8593 | |
8594 # So? What about this header? | |
8595 case $ac_header_compiler:$ac_header_preproc in | |
8596 yes:no ) | |
8597 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
8598 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
8599 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5 | |
8600 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;};; | |
8601 no:yes ) | |
8602 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5 | |
8603 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;} | |
8604 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5 | |
8605 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;} | |
8606 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5 | |
8607 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;};; | |
8608 esac | |
8609 echo "$as_me:$LINENO: checking for png.h" >&5 | |
8610 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 | |
8611 if test "${ac_cv_header_png_h+set}" = set; then | |
8612 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8613 else | |
8614 ac_cv_header_png_h=$ac_header_preproc | |
8615 fi | |
8616 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5 | |
8617 echo "${ECHO_T}$ac_cv_header_png_h" >&6 | 7367 echo "${ECHO_T}$ac_cv_header_png_h" >&6 |
8618 | |
8619 fi | |
8620 if test $ac_cv_header_png_h = yes; then | 7368 if test $ac_cv_header_png_h = yes; then |
8621 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 | 7369 echo "$as_me:7369: checking for png_get_channels in -lpng" >&5 |
8622 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 | 7370 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 |
8623 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then | 7371 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then |
8624 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7372 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8625 else | 7373 else |
8626 ac_check_lib_save_LIBS=$LIBS | 7374 ac_check_lib_save_LIBS=$LIBS |
8627 LIBS="-lpng -lz -lm $LIBS" | 7375 LIBS="-lpng -lz -lm $LIBS" |
8628 cat >conftest.$ac_ext <<_ACEOF | 7376 cat >conftest.$ac_ext <<_ACEOF |
8629 #line $LINENO "configure" | 7377 #line 7377 "configure" |
8630 #include "confdefs.h" | 7378 #include "confdefs.h" |
8631 | 7379 |
8632 /* Override any gcc2 internal prototype to avoid an error. */ | 7380 /* Override any gcc2 internal prototype to avoid an error. */ |
8633 #ifdef __cplusplus | 7381 #ifdef __cplusplus |
8634 extern "C" | 7382 extern "C" |
8635 #endif | 7383 #endif |
8636 /* We use char because int might match the return type of a gcc2 | 7384 /* We use char because int might match the return type of a gcc2 |
8637 builtin and then its argument prototype would still apply. */ | 7385 builtin and then its argument prototype would still apply. */ |
8638 char png_get_channels (); | 7386 char png_get_channels (); |
8639 #ifdef F77_DUMMY_MAIN | |
8640 # ifdef __cplusplus | |
8641 extern "C" | |
8642 # endif | |
8643 int F77_DUMMY_MAIN() { return 1; } | |
8644 #endif | |
8645 int | 7387 int |
8646 main () | 7388 main () |
8647 { | 7389 { |
8648 png_get_channels (); | 7390 png_get_channels (); |
8649 ; | 7391 ; |
8650 return 0; | 7392 return 0; |
8651 } | 7393 } |
8652 _ACEOF | 7394 _ACEOF |
8653 rm -f conftest.$ac_objext conftest$ac_exeext | 7395 rm -f conftest.$ac_objext conftest$ac_exeext |
8654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7396 if { (eval echo "$as_me:7396: \"$ac_link\"") >&5 |
8655 (eval $ac_link) 2>&5 | 7397 (eval $ac_link) 2>&5 |
8656 ac_status=$? | 7398 ac_status=$? |
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7399 echo "$as_me:7399: \$? = $ac_status" >&5 |
8658 (exit $ac_status); } && | 7400 (exit $ac_status); } && |
8659 { ac_try='test -s conftest$ac_exeext' | 7401 { ac_try='test -s conftest$ac_exeext' |
8660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7402 { (eval echo "$as_me:7402: \"$ac_try\"") >&5 |
8661 (eval $ac_try) 2>&5 | 7403 (eval $ac_try) 2>&5 |
8662 ac_status=$? | 7404 ac_status=$? |
8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7405 echo "$as_me:7405: \$? = $ac_status" >&5 |
8664 (exit $ac_status); }; }; then | 7406 (exit $ac_status); }; }; then |
8665 ac_cv_lib_png_png_get_channels=yes | 7407 ac_cv_lib_png_png_get_channels=yes |
8666 else | 7408 else |
8667 echo "$as_me: failed program was:" >&5 | 7409 echo "$as_me: failed program was:" >&5 |
8668 cat conftest.$ac_ext >&5 | 7410 cat conftest.$ac_ext >&5 |
8669 ac_cv_lib_png_png_get_channels=no | 7411 ac_cv_lib_png_png_get_channels=no |
8670 fi | 7412 fi |
8671 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8672 LIBS=$ac_check_lib_save_LIBS | 7414 LIBS=$ac_check_lib_save_LIBS |
8673 fi | 7415 fi |
8674 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 | 7416 echo "$as_me:7416: result: $ac_cv_lib_png_png_get_channels" >&5 |
8675 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 | 7417 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 |
8676 if test $ac_cv_lib_png_png_get_channels = yes; then | 7418 if test $ac_cv_lib_png_png_get_channels = yes; then |
8677 HAVE_PNG=yes | 7419 HAVE_PNG=yes |
8678 fi | 7420 fi |
8679 | 7421 |
8680 fi | 7422 fi |
8681 | 7423 |
8682 | |
8683 fi | 7424 fi |
8684 | 7425 |
8685 if test "${HAVE_PNG}" = "yes"; then | 7426 if test "${HAVE_PNG}" = "yes"; then |
8686 | 7427 |
8687 cat >>confdefs.h <<\_ACEOF | 7428 cat >>confdefs.h <<\EOF |
8688 #define HAVE_PNG 1 | 7429 #define HAVE_PNG 1 |
8689 _ACEOF | 7430 EOF |
8690 | 7431 |
8691 fi | 7432 fi |
8692 fi | 7433 fi |
8693 | 7434 |
8694 ### Use -ltiff if available, unless `--with-tiff=no'. | 7435 ### Use -ltiff if available, unless `--with-tiff=no'. |
8695 HAVE_TIFF=no | 7436 HAVE_TIFF=no |
8696 if test "${HAVE_X11}" = "yes"; then | 7437 if test "${HAVE_X11}" = "yes"; then |
8697 if test "${with_tiff}" != "no"; then | 7438 if test "${with_tiff}" != "no"; then |
8698 if test "${ac_cv_header_tiffio_h+set}" = set; then | 7439 echo "$as_me:7439: checking for tiffio.h" >&5 |
8699 echo "$as_me:$LINENO: checking for tiffio.h" >&5 | |
8700 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 | 7440 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 |
8701 if test "${ac_cv_header_tiffio_h+set}" = set; then | 7441 if test "${ac_cv_header_tiffio_h+set}" = set; then |
8702 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7442 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8703 fi | 7443 else |
8704 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | 7444 cat >conftest.$ac_ext <<_ACEOF |
8705 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 | 7445 #line 7445 "configure" |
8706 else | 7446 #include "confdefs.h" |
8707 # Is the header compilable? | |
8708 echo "$as_me:$LINENO: checking tiffio.h usability" >&5 | |
8709 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6 | |
8710 cat >conftest.$ac_ext <<_ACEOF | |
8711 #line $LINENO "configure" | |
8712 #include "confdefs.h" | |
8713 $ac_includes_default | |
8714 #include <tiffio.h> | 7447 #include <tiffio.h> |
8715 _ACEOF | 7448 _ACEOF |
8716 rm -f conftest.$ac_objext | 7449 if { (eval echo "$as_me:7449: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
8718 (eval $ac_compile) 2>&5 | |
8719 ac_status=$? | |
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8721 (exit $ac_status); } && | |
8722 { ac_try='test -s conftest.$ac_objext' | |
8723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
8724 (eval $ac_try) 2>&5 | |
8725 ac_status=$? | |
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8727 (exit $ac_status); }; }; then | |
8728 ac_header_compiler=yes | |
8729 else | |
8730 echo "$as_me: failed program was:" >&5 | |
8731 cat conftest.$ac_ext >&5 | |
8732 ac_header_compiler=no | |
8733 fi | |
8734 rm -f conftest.$ac_objext conftest.$ac_ext | |
8735 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
8736 echo "${ECHO_T}$ac_header_compiler" >&6 | |
8737 | |
8738 # Is the header present? | |
8739 echo "$as_me:$LINENO: checking tiffio.h presence" >&5 | |
8740 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6 | |
8741 cat >conftest.$ac_ext <<_ACEOF | |
8742 #line $LINENO "configure" | |
8743 #include "confdefs.h" | |
8744 #include <tiffio.h> | |
8745 _ACEOF | |
8746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
8747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7450 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8748 ac_status=$? | 7451 ac_status=$? |
8749 egrep -v '^ *\+' conftest.er1 >conftest.err | 7452 egrep -v '^ *\+' conftest.er1 >conftest.err |
8750 rm -f conftest.er1 | 7453 rm -f conftest.er1 |
8751 cat conftest.err >&5 | 7454 cat conftest.err >&5 |
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7455 echo "$as_me:7455: \$? = $ac_status" >&5 |
8753 (exit $ac_status); } >/dev/null; then | 7456 (exit $ac_status); } >/dev/null; then |
8754 if test -s conftest.err; then | 7457 if test -s conftest.err; then |
8755 ac_cpp_err=$ac_c_preproc_warn_flag | 7458 ac_cpp_err=$ac_c_preproc_warn_flag |
8756 else | 7459 else |
8757 ac_cpp_err= | 7460 ac_cpp_err= |
8758 fi | 7461 fi |
8759 else | 7462 else |
8760 ac_cpp_err=yes | 7463 ac_cpp_err=yes |
8761 fi | 7464 fi |
8762 if test -z "$ac_cpp_err"; then | 7465 if test -z "$ac_cpp_err"; then |
8763 ac_header_preproc=yes | 7466 ac_cv_header_tiffio_h=yes |
8764 else | 7467 else |
8765 echo "$as_me: failed program was:" >&5 | 7468 echo "$as_me: failed program was:" >&5 |
8766 cat conftest.$ac_ext >&5 | 7469 cat conftest.$ac_ext >&5 |
8767 ac_header_preproc=no | 7470 ac_cv_header_tiffio_h=no |
8768 fi | 7471 fi |
8769 rm -f conftest.err conftest.$ac_ext | 7472 rm -f conftest.err conftest.$ac_ext |
8770 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 7473 fi |
8771 echo "${ECHO_T}$ac_header_preproc" >&6 | 7474 echo "$as_me:7474: result: $ac_cv_header_tiffio_h" >&5 |
8772 | |
8773 # So? What about this header? | |
8774 case $ac_header_compiler:$ac_header_preproc in | |
8775 yes:no ) | |
8776 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
8777 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
8778 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 | |
8779 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};; | |
8780 no:yes ) | |
8781 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 | |
8782 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} | |
8783 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 | |
8784 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} | |
8785 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 | |
8786 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};; | |
8787 esac | |
8788 echo "$as_me:$LINENO: checking for tiffio.h" >&5 | |
8789 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 | |
8790 if test "${ac_cv_header_tiffio_h+set}" = set; then | |
8791 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8792 else | |
8793 ac_cv_header_tiffio_h=$ac_header_preproc | |
8794 fi | |
8795 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | |
8796 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 | 7475 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 |
8797 | |
8798 fi | |
8799 if test $ac_cv_header_tiffio_h = yes; then | 7476 if test $ac_cv_header_tiffio_h = yes; then |
8800 tifflibs="-lz -lm" | 7477 tifflibs="-lz -lm" |
8801 # At least one tiff package requires the jpeg library. | 7478 # At least one tiff package requires the jpeg library. |
8802 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 7479 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
8803 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 | 7480 echo "$as_me:7480: checking for TIFFGetVersion in -ltiff" >&5 |
8804 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 | 7481 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 |
8805 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then | 7482 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then |
8806 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7483 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8807 else | 7484 else |
8808 ac_check_lib_save_LIBS=$LIBS | 7485 ac_check_lib_save_LIBS=$LIBS |
8809 LIBS="-ltiff $tifflibs $LIBS" | 7486 LIBS="-ltiff $tifflibs $LIBS" |
8810 cat >conftest.$ac_ext <<_ACEOF | 7487 cat >conftest.$ac_ext <<_ACEOF |
8811 #line $LINENO "configure" | 7488 #line 7488 "configure" |
8812 #include "confdefs.h" | 7489 #include "confdefs.h" |
8813 | 7490 |
8814 /* Override any gcc2 internal prototype to avoid an error. */ | 7491 /* Override any gcc2 internal prototype to avoid an error. */ |
8815 #ifdef __cplusplus | 7492 #ifdef __cplusplus |
8816 extern "C" | 7493 extern "C" |
8817 #endif | 7494 #endif |
8818 /* We use char because int might match the return type of a gcc2 | 7495 /* We use char because int might match the return type of a gcc2 |
8819 builtin and then its argument prototype would still apply. */ | 7496 builtin and then its argument prototype would still apply. */ |
8820 char TIFFGetVersion (); | 7497 char TIFFGetVersion (); |
8821 #ifdef F77_DUMMY_MAIN | |
8822 # ifdef __cplusplus | |
8823 extern "C" | |
8824 # endif | |
8825 int F77_DUMMY_MAIN() { return 1; } | |
8826 #endif | |
8827 int | 7498 int |
8828 main () | 7499 main () |
8829 { | 7500 { |
8830 TIFFGetVersion (); | 7501 TIFFGetVersion (); |
8831 ; | 7502 ; |
8832 return 0; | 7503 return 0; |
8833 } | 7504 } |
8834 _ACEOF | 7505 _ACEOF |
8835 rm -f conftest.$ac_objext conftest$ac_exeext | 7506 rm -f conftest.$ac_objext conftest$ac_exeext |
8836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7507 if { (eval echo "$as_me:7507: \"$ac_link\"") >&5 |
8837 (eval $ac_link) 2>&5 | 7508 (eval $ac_link) 2>&5 |
8838 ac_status=$? | 7509 ac_status=$? |
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7510 echo "$as_me:7510: \$? = $ac_status" >&5 |
8840 (exit $ac_status); } && | 7511 (exit $ac_status); } && |
8841 { ac_try='test -s conftest$ac_exeext' | 7512 { ac_try='test -s conftest$ac_exeext' |
8842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7513 { (eval echo "$as_me:7513: \"$ac_try\"") >&5 |
8843 (eval $ac_try) 2>&5 | 7514 (eval $ac_try) 2>&5 |
8844 ac_status=$? | 7515 ac_status=$? |
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7516 echo "$as_me:7516: \$? = $ac_status" >&5 |
8846 (exit $ac_status); }; }; then | 7517 (exit $ac_status); }; }; then |
8847 ac_cv_lib_tiff_TIFFGetVersion=yes | 7518 ac_cv_lib_tiff_TIFFGetVersion=yes |
8848 else | 7519 else |
8849 echo "$as_me: failed program was:" >&5 | 7520 echo "$as_me: failed program was:" >&5 |
8850 cat conftest.$ac_ext >&5 | 7521 cat conftest.$ac_ext >&5 |
8851 ac_cv_lib_tiff_TIFFGetVersion=no | 7522 ac_cv_lib_tiff_TIFFGetVersion=no |
8852 fi | 7523 fi |
8853 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8854 LIBS=$ac_check_lib_save_LIBS | 7525 LIBS=$ac_check_lib_save_LIBS |
8855 fi | 7526 fi |
8856 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 7527 echo "$as_me:7527: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
8857 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 | 7528 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 |
8858 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then | 7529 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then |
8859 HAVE_TIFF=yes | 7530 HAVE_TIFF=yes |
8860 fi | 7531 fi |
8861 | 7532 |
8862 fi | 7533 fi |
8863 | 7534 |
8864 | |
8865 fi | 7535 fi |
8866 | 7536 |
8867 if test "${HAVE_TIFF}" = "yes"; then | 7537 if test "${HAVE_TIFF}" = "yes"; then |
8868 | 7538 |
8869 cat >>confdefs.h <<\_ACEOF | 7539 cat >>confdefs.h <<\EOF |
8870 #define HAVE_TIFF 1 | 7540 #define HAVE_TIFF 1 |
8871 _ACEOF | 7541 EOF |
8872 | 7542 |
8873 fi | 7543 fi |
8874 fi | 7544 fi |
8875 | 7545 |
8876 ### Use -lgif if available, unless `--with-gif=no'. | 7546 ### Use -lgif if available, unless `--with-gif=no'. |
8877 HAVE_GIF=no | 7547 HAVE_GIF=no |
8878 if test "${HAVE_X11}" = "yes"; then | 7548 if test "${HAVE_X11}" = "yes"; then |
8879 if test "${with_gif}" != "no"; then | 7549 if test "${with_gif}" != "no"; then |
8880 if test "${ac_cv_header_gif_lib_h+set}" = set; then | 7550 echo "$as_me:7550: checking for gif_lib.h" >&5 |
8881 echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | |
8882 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 | 7551 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 |
8883 if test "${ac_cv_header_gif_lib_h+set}" = set; then | 7552 if test "${ac_cv_header_gif_lib_h+set}" = set; then |
8884 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7553 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8885 fi | 7554 else |
8886 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | 7555 cat >conftest.$ac_ext <<_ACEOF |
8887 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 | 7556 #line 7556 "configure" |
8888 else | 7557 #include "confdefs.h" |
8889 # Is the header compilable? | |
8890 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 | |
8891 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6 | |
8892 cat >conftest.$ac_ext <<_ACEOF | |
8893 #line $LINENO "configure" | |
8894 #include "confdefs.h" | |
8895 $ac_includes_default | |
8896 #include <gif_lib.h> | 7558 #include <gif_lib.h> |
8897 _ACEOF | 7559 _ACEOF |
8898 rm -f conftest.$ac_objext | 7560 if { (eval echo "$as_me:7560: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
8900 (eval $ac_compile) 2>&5 | |
8901 ac_status=$? | |
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8903 (exit $ac_status); } && | |
8904 { ac_try='test -s conftest.$ac_objext' | |
8905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
8906 (eval $ac_try) 2>&5 | |
8907 ac_status=$? | |
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8909 (exit $ac_status); }; }; then | |
8910 ac_header_compiler=yes | |
8911 else | |
8912 echo "$as_me: failed program was:" >&5 | |
8913 cat conftest.$ac_ext >&5 | |
8914 ac_header_compiler=no | |
8915 fi | |
8916 rm -f conftest.$ac_objext conftest.$ac_ext | |
8917 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
8918 echo "${ECHO_T}$ac_header_compiler" >&6 | |
8919 | |
8920 # Is the header present? | |
8921 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 | |
8922 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6 | |
8923 cat >conftest.$ac_ext <<_ACEOF | |
8924 #line $LINENO "configure" | |
8925 #include "confdefs.h" | |
8926 #include <gif_lib.h> | |
8927 _ACEOF | |
8928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
8929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8930 ac_status=$? | 7562 ac_status=$? |
8931 egrep -v '^ *\+' conftest.er1 >conftest.err | 7563 egrep -v '^ *\+' conftest.er1 >conftest.err |
8932 rm -f conftest.er1 | 7564 rm -f conftest.er1 |
8933 cat conftest.err >&5 | 7565 cat conftest.err >&5 |
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7566 echo "$as_me:7566: \$? = $ac_status" >&5 |
8935 (exit $ac_status); } >/dev/null; then | 7567 (exit $ac_status); } >/dev/null; then |
8936 if test -s conftest.err; then | 7568 if test -s conftest.err; then |
8937 ac_cpp_err=$ac_c_preproc_warn_flag | 7569 ac_cpp_err=$ac_c_preproc_warn_flag |
8938 else | 7570 else |
8939 ac_cpp_err= | 7571 ac_cpp_err= |
8940 fi | 7572 fi |
8941 else | 7573 else |
8942 ac_cpp_err=yes | 7574 ac_cpp_err=yes |
8943 fi | 7575 fi |
8944 if test -z "$ac_cpp_err"; then | 7576 if test -z "$ac_cpp_err"; then |
8945 ac_header_preproc=yes | 7577 ac_cv_header_gif_lib_h=yes |
8946 else | 7578 else |
8947 echo "$as_me: failed program was:" >&5 | 7579 echo "$as_me: failed program was:" >&5 |
8948 cat conftest.$ac_ext >&5 | 7580 cat conftest.$ac_ext >&5 |
8949 ac_header_preproc=no | 7581 ac_cv_header_gif_lib_h=no |
8950 fi | 7582 fi |
8951 rm -f conftest.err conftest.$ac_ext | 7583 rm -f conftest.err conftest.$ac_ext |
8952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 7584 fi |
8953 echo "${ECHO_T}$ac_header_preproc" >&6 | 7585 echo "$as_me:7585: result: $ac_cv_header_gif_lib_h" >&5 |
8954 | |
8955 # So? What about this header? | |
8956 case $ac_header_compiler:$ac_header_preproc in | |
8957 yes:no ) | |
8958 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
8959 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
8960 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 | |
8961 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;};; | |
8962 no:yes ) | |
8963 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5 | |
8964 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;} | |
8965 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5 | |
8966 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;} | |
8967 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 | |
8968 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;};; | |
8969 esac | |
8970 echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | |
8971 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 | |
8972 if test "${ac_cv_header_gif_lib_h+set}" = set; then | |
8973 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8974 else | |
8975 ac_cv_header_gif_lib_h=$ac_header_preproc | |
8976 fi | |
8977 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | |
8978 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 | 7586 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 |
8979 | |
8980 fi | |
8981 if test $ac_cv_header_gif_lib_h = yes; then | 7587 if test $ac_cv_header_gif_lib_h = yes; then |
8982 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 7588 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
8983 # Earlier versions can crash Emacs. | 7589 # Earlier versions can crash Emacs. |
8984 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 | 7590 echo "$as_me:7590: checking for EGifPutExtensionLast in -lungif" >&5 |
8985 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 | 7591 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 |
8986 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then | 7592 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then |
8987 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7593 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8988 else | 7594 else |
8989 ac_check_lib_save_LIBS=$LIBS | 7595 ac_check_lib_save_LIBS=$LIBS |
8990 LIBS="-lungif $LIBS" | 7596 LIBS="-lungif $LIBS" |
8991 cat >conftest.$ac_ext <<_ACEOF | 7597 cat >conftest.$ac_ext <<_ACEOF |
8992 #line $LINENO "configure" | 7598 #line 7598 "configure" |
8993 #include "confdefs.h" | 7599 #include "confdefs.h" |
8994 | 7600 |
8995 /* Override any gcc2 internal prototype to avoid an error. */ | 7601 /* Override any gcc2 internal prototype to avoid an error. */ |
8996 #ifdef __cplusplus | 7602 #ifdef __cplusplus |
8997 extern "C" | 7603 extern "C" |
8998 #endif | 7604 #endif |
8999 /* We use char because int might match the return type of a gcc2 | 7605 /* We use char because int might match the return type of a gcc2 |
9000 builtin and then its argument prototype would still apply. */ | 7606 builtin and then its argument prototype would still apply. */ |
9001 char EGifPutExtensionLast (); | 7607 char EGifPutExtensionLast (); |
9002 #ifdef F77_DUMMY_MAIN | |
9003 # ifdef __cplusplus | |
9004 extern "C" | |
9005 # endif | |
9006 int F77_DUMMY_MAIN() { return 1; } | |
9007 #endif | |
9008 int | 7608 int |
9009 main () | 7609 main () |
9010 { | 7610 { |
9011 EGifPutExtensionLast (); | 7611 EGifPutExtensionLast (); |
9012 ; | 7612 ; |
9013 return 0; | 7613 return 0; |
9014 } | 7614 } |
9015 _ACEOF | 7615 _ACEOF |
9016 rm -f conftest.$ac_objext conftest$ac_exeext | 7616 rm -f conftest.$ac_objext conftest$ac_exeext |
9017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7617 if { (eval echo "$as_me:7617: \"$ac_link\"") >&5 |
9018 (eval $ac_link) 2>&5 | 7618 (eval $ac_link) 2>&5 |
9019 ac_status=$? | 7619 ac_status=$? |
9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7620 echo "$as_me:7620: \$? = $ac_status" >&5 |
9021 (exit $ac_status); } && | 7621 (exit $ac_status); } && |
9022 { ac_try='test -s conftest$ac_exeext' | 7622 { ac_try='test -s conftest$ac_exeext' |
9023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7623 { (eval echo "$as_me:7623: \"$ac_try\"") >&5 |
9024 (eval $ac_try) 2>&5 | 7624 (eval $ac_try) 2>&5 |
9025 ac_status=$? | 7625 ac_status=$? |
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7626 echo "$as_me:7626: \$? = $ac_status" >&5 |
9027 (exit $ac_status); }; }; then | 7627 (exit $ac_status); }; }; then |
9028 ac_cv_lib_ungif_EGifPutExtensionLast=yes | 7628 ac_cv_lib_ungif_EGifPutExtensionLast=yes |
9029 else | 7629 else |
9030 echo "$as_me: failed program was:" >&5 | 7630 echo "$as_me: failed program was:" >&5 |
9031 cat conftest.$ac_ext >&5 | 7631 cat conftest.$ac_ext >&5 |
9032 ac_cv_lib_ungif_EGifPutExtensionLast=no | 7632 ac_cv_lib_ungif_EGifPutExtensionLast=no |
9033 fi | 7633 fi |
9034 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9035 LIBS=$ac_check_lib_save_LIBS | 7635 LIBS=$ac_check_lib_save_LIBS |
9036 fi | 7636 fi |
9037 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 7637 echo "$as_me:7637: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
9038 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 | 7638 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 |
9039 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then | 7639 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
9040 HAVE_GIF=yes | 7640 HAVE_GIF=yes |
9041 fi | 7641 fi |
9042 | 7642 |
9043 fi | 7643 fi |
9044 | 7644 |
9045 | |
9046 fi | 7645 fi |
9047 | 7646 |
9048 if test "${HAVE_GIF}" = "yes"; then | 7647 if test "${HAVE_GIF}" = "yes"; then |
9049 | 7648 |
9050 cat >>confdefs.h <<\_ACEOF | 7649 cat >>confdefs.h <<\EOF |
9051 #define HAVE_GIF 1 | 7650 #define HAVE_GIF 1 |
9052 _ACEOF | 7651 EOF |
9053 | 7652 |
9054 fi | 7653 fi |
9055 fi | 7654 fi |
9056 | 7655 |
9057 ### Use Mac OS X Carbon API to implement GUI. | 7656 ### Use Mac OS X Carbon API to implement GUI. |
9058 HAVE_CARBON=no | 7657 HAVE_CARBON=no |
9059 if test "${with_carbon}" != "no"; then | 7658 if test "${with_carbon}" != "no"; then |
9060 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then | 7659 echo "$as_me:7659: checking for Carbon/Carbon.h" >&5 |
9061 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 | |
9062 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 | 7660 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 |
9063 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then | 7661 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
9064 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7662 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9065 fi | 7663 else |
9066 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 | 7664 cat >conftest.$ac_ext <<_ACEOF |
9067 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 | 7665 #line 7665 "configure" |
9068 else | 7666 #include "confdefs.h" |
9069 # Is the header compilable? | |
9070 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5 | |
9071 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6 | |
9072 cat >conftest.$ac_ext <<_ACEOF | |
9073 #line $LINENO "configure" | |
9074 #include "confdefs.h" | |
9075 $ac_includes_default | |
9076 #include <Carbon/Carbon.h> | 7667 #include <Carbon/Carbon.h> |
9077 _ACEOF | 7668 _ACEOF |
9078 rm -f conftest.$ac_objext | 7669 if { (eval echo "$as_me:7669: \"$ac_cpp conftest.$ac_ext\"") >&5 |
9079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
9080 (eval $ac_compile) 2>&5 | |
9081 ac_status=$? | |
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9083 (exit $ac_status); } && | |
9084 { ac_try='test -s conftest.$ac_objext' | |
9085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
9086 (eval $ac_try) 2>&5 | |
9087 ac_status=$? | |
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9089 (exit $ac_status); }; }; then | |
9090 ac_header_compiler=yes | |
9091 else | |
9092 echo "$as_me: failed program was:" >&5 | |
9093 cat conftest.$ac_ext >&5 | |
9094 ac_header_compiler=no | |
9095 fi | |
9096 rm -f conftest.$ac_objext conftest.$ac_ext | |
9097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
9098 echo "${ECHO_T}$ac_header_compiler" >&6 | |
9099 | |
9100 # Is the header present? | |
9101 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5 | |
9102 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6 | |
9103 cat >conftest.$ac_ext <<_ACEOF | |
9104 #line $LINENO "configure" | |
9105 #include "confdefs.h" | |
9106 #include <Carbon/Carbon.h> | |
9107 _ACEOF | |
9108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
9109 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
9110 ac_status=$? | 7671 ac_status=$? |
9111 egrep -v '^ *\+' conftest.er1 >conftest.err | 7672 egrep -v '^ *\+' conftest.er1 >conftest.err |
9112 rm -f conftest.er1 | 7673 rm -f conftest.er1 |
9113 cat conftest.err >&5 | 7674 cat conftest.err >&5 |
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7675 echo "$as_me:7675: \$? = $ac_status" >&5 |
9115 (exit $ac_status); } >/dev/null; then | 7676 (exit $ac_status); } >/dev/null; then |
9116 if test -s conftest.err; then | 7677 if test -s conftest.err; then |
9117 ac_cpp_err=$ac_c_preproc_warn_flag | 7678 ac_cpp_err=$ac_c_preproc_warn_flag |
9118 else | 7679 else |
9119 ac_cpp_err= | 7680 ac_cpp_err= |
9120 fi | 7681 fi |
9121 else | 7682 else |
9122 ac_cpp_err=yes | 7683 ac_cpp_err=yes |
9123 fi | 7684 fi |
9124 if test -z "$ac_cpp_err"; then | 7685 if test -z "$ac_cpp_err"; then |
9125 ac_header_preproc=yes | 7686 ac_cv_header_Carbon_Carbon_h=yes |
9126 else | 7687 else |
9127 echo "$as_me: failed program was:" >&5 | 7688 echo "$as_me: failed program was:" >&5 |
9128 cat conftest.$ac_ext >&5 | 7689 cat conftest.$ac_ext >&5 |
9129 ac_header_preproc=no | 7690 ac_cv_header_Carbon_Carbon_h=no |
9130 fi | 7691 fi |
9131 rm -f conftest.err conftest.$ac_ext | 7692 rm -f conftest.err conftest.$ac_ext |
9132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 7693 fi |
9133 echo "${ECHO_T}$ac_header_preproc" >&6 | 7694 echo "$as_me:7694: result: $ac_cv_header_Carbon_Carbon_h" >&5 |
9134 | |
9135 # So? What about this header? | |
9136 case $ac_header_compiler:$ac_header_preproc in | |
9137 yes:no ) | |
9138 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
9139 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
9140 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5 | |
9141 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;};; | |
9142 no:yes ) | |
9143 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5 | |
9144 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;} | |
9145 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5 | |
9146 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;} | |
9147 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5 | |
9148 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;};; | |
9149 esac | |
9150 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 | |
9151 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 | |
9152 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then | |
9153 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9154 else | |
9155 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc | |
9156 fi | |
9157 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 | |
9158 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 | 7695 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 |
9159 | |
9160 fi | |
9161 if test $ac_cv_header_Carbon_Carbon_h = yes; then | 7696 if test $ac_cv_header_Carbon_Carbon_h = yes; then |
9162 HAVE_CARBON=yes | 7697 HAVE_CARBON=yes |
9163 fi | 7698 fi |
9164 | 7699 |
9165 | |
9166 fi | 7700 fi |
9167 | 7701 |
9168 if test "${HAVE_CARBON}" = "yes"; then | 7702 if test "${HAVE_CARBON}" = "yes"; then |
9169 | 7703 |
9170 cat >>confdefs.h <<\_ACEOF | 7704 cat >>confdefs.h <<\EOF |
9171 #define HAVE_CARBON 1 | 7705 #define HAVE_CARBON 1 |
9172 _ACEOF | 7706 EOF |
9173 | 7707 |
9174 fi | 7708 fi |
9175 | 7709 |
9176 ### Use session management (-lSM -lICE) if available | 7710 ### Use session management (-lSM -lICE) if available |
9177 HAVE_X_SM=no | 7711 HAVE_X_SM=no |
9178 if test "${HAVE_X11}" = "yes"; then | 7712 if test "${HAVE_X11}" = "yes"; then |
9179 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 7713 echo "$as_me:7713: checking for X11/SM/SMlib.h" >&5 |
9180 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | |
9181 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 | 7714 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 |
9182 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 7715 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
9183 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7716 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9184 fi | 7717 else |
9185 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | 7718 cat >conftest.$ac_ext <<_ACEOF |
9186 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 | 7719 #line 7719 "configure" |
9187 else | 7720 #include "confdefs.h" |
9188 # Is the header compilable? | |
9189 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 | |
9190 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6 | |
9191 cat >conftest.$ac_ext <<_ACEOF | |
9192 #line $LINENO "configure" | |
9193 #include "confdefs.h" | |
9194 $ac_includes_default | |
9195 #include <X11/SM/SMlib.h> | 7721 #include <X11/SM/SMlib.h> |
9196 _ACEOF | 7722 _ACEOF |
9197 rm -f conftest.$ac_objext | 7723 if { (eval echo "$as_me:7723: \"$ac_cpp conftest.$ac_ext\"") >&5 |
9198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
9199 (eval $ac_compile) 2>&5 | |
9200 ac_status=$? | |
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9202 (exit $ac_status); } && | |
9203 { ac_try='test -s conftest.$ac_objext' | |
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
9205 (eval $ac_try) 2>&5 | |
9206 ac_status=$? | |
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9208 (exit $ac_status); }; }; then | |
9209 ac_header_compiler=yes | |
9210 else | |
9211 echo "$as_me: failed program was:" >&5 | |
9212 cat conftest.$ac_ext >&5 | |
9213 ac_header_compiler=no | |
9214 fi | |
9215 rm -f conftest.$ac_objext conftest.$ac_ext | |
9216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
9217 echo "${ECHO_T}$ac_header_compiler" >&6 | |
9218 | |
9219 # Is the header present? | |
9220 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 | |
9221 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6 | |
9222 cat >conftest.$ac_ext <<_ACEOF | |
9223 #line $LINENO "configure" | |
9224 #include "confdefs.h" | |
9225 #include <X11/SM/SMlib.h> | |
9226 _ACEOF | |
9227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
9228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
9229 ac_status=$? | 7725 ac_status=$? |
9230 egrep -v '^ *\+' conftest.er1 >conftest.err | 7726 egrep -v '^ *\+' conftest.er1 >conftest.err |
9231 rm -f conftest.er1 | 7727 rm -f conftest.er1 |
9232 cat conftest.err >&5 | 7728 cat conftest.err >&5 |
9233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7729 echo "$as_me:7729: \$? = $ac_status" >&5 |
9234 (exit $ac_status); } >/dev/null; then | 7730 (exit $ac_status); } >/dev/null; then |
9235 if test -s conftest.err; then | 7731 if test -s conftest.err; then |
9236 ac_cpp_err=$ac_c_preproc_warn_flag | 7732 ac_cpp_err=$ac_c_preproc_warn_flag |
9237 else | 7733 else |
9238 ac_cpp_err= | 7734 ac_cpp_err= |
9239 fi | 7735 fi |
9240 else | 7736 else |
9241 ac_cpp_err=yes | 7737 ac_cpp_err=yes |
9242 fi | 7738 fi |
9243 if test -z "$ac_cpp_err"; then | 7739 if test -z "$ac_cpp_err"; then |
9244 ac_header_preproc=yes | 7740 ac_cv_header_X11_SM_SMlib_h=yes |
9245 else | 7741 else |
9246 echo "$as_me: failed program was:" >&5 | 7742 echo "$as_me: failed program was:" >&5 |
9247 cat conftest.$ac_ext >&5 | 7743 cat conftest.$ac_ext >&5 |
9248 ac_header_preproc=no | 7744 ac_cv_header_X11_SM_SMlib_h=no |
9249 fi | 7745 fi |
9250 rm -f conftest.err conftest.$ac_ext | 7746 rm -f conftest.err conftest.$ac_ext |
9251 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 7747 fi |
9252 echo "${ECHO_T}$ac_header_preproc" >&6 | 7748 echo "$as_me:7748: result: $ac_cv_header_X11_SM_SMlib_h" >&5 |
9253 | |
9254 # So? What about this header? | |
9255 case $ac_header_compiler:$ac_header_preproc in | |
9256 yes:no ) | |
9257 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
9258 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
9259 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 | |
9260 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;};; | |
9261 no:yes ) | |
9262 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5 | |
9263 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;} | |
9264 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5 | |
9265 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;} | |
9266 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 | |
9267 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;};; | |
9268 esac | |
9269 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | |
9270 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 | |
9271 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | |
9272 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9273 else | |
9274 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc | |
9275 fi | |
9276 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | |
9277 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 | 7749 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 |
9278 | |
9279 fi | |
9280 if test $ac_cv_header_X11_SM_SMlib_h = yes; then | 7750 if test $ac_cv_header_X11_SM_SMlib_h = yes; then |
9281 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 | 7751 echo "$as_me:7751: checking for SmcOpenConnection in -lSM" >&5 |
9282 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 | 7752 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 |
9283 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then | 7753 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then |
9284 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7754 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9285 else | 7755 else |
9286 ac_check_lib_save_LIBS=$LIBS | 7756 ac_check_lib_save_LIBS=$LIBS |
9287 LIBS="-lSM $LIBS" | 7757 LIBS="-lSM $LIBS" |
9288 cat >conftest.$ac_ext <<_ACEOF | 7758 cat >conftest.$ac_ext <<_ACEOF |
9289 #line $LINENO "configure" | 7759 #line 7759 "configure" |
9290 #include "confdefs.h" | 7760 #include "confdefs.h" |
9291 | 7761 |
9292 /* Override any gcc2 internal prototype to avoid an error. */ | 7762 /* Override any gcc2 internal prototype to avoid an error. */ |
9293 #ifdef __cplusplus | 7763 #ifdef __cplusplus |
9294 extern "C" | 7764 extern "C" |
9295 #endif | 7765 #endif |
9296 /* We use char because int might match the return type of a gcc2 | 7766 /* We use char because int might match the return type of a gcc2 |
9297 builtin and then its argument prototype would still apply. */ | 7767 builtin and then its argument prototype would still apply. */ |
9298 char SmcOpenConnection (); | 7768 char SmcOpenConnection (); |
9299 #ifdef F77_DUMMY_MAIN | |
9300 # ifdef __cplusplus | |
9301 extern "C" | |
9302 # endif | |
9303 int F77_DUMMY_MAIN() { return 1; } | |
9304 #endif | |
9305 int | 7769 int |
9306 main () | 7770 main () |
9307 { | 7771 { |
9308 SmcOpenConnection (); | 7772 SmcOpenConnection (); |
9309 ; | 7773 ; |
9310 return 0; | 7774 return 0; |
9311 } | 7775 } |
9312 _ACEOF | 7776 _ACEOF |
9313 rm -f conftest.$ac_objext conftest$ac_exeext | 7777 rm -f conftest.$ac_objext conftest$ac_exeext |
9314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7778 if { (eval echo "$as_me:7778: \"$ac_link\"") >&5 |
9315 (eval $ac_link) 2>&5 | 7779 (eval $ac_link) 2>&5 |
9316 ac_status=$? | 7780 ac_status=$? |
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7781 echo "$as_me:7781: \$? = $ac_status" >&5 |
9318 (exit $ac_status); } && | 7782 (exit $ac_status); } && |
9319 { ac_try='test -s conftest$ac_exeext' | 7783 { ac_try='test -s conftest$ac_exeext' |
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7784 { (eval echo "$as_me:7784: \"$ac_try\"") >&5 |
9321 (eval $ac_try) 2>&5 | 7785 (eval $ac_try) 2>&5 |
9322 ac_status=$? | 7786 ac_status=$? |
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7787 echo "$as_me:7787: \$? = $ac_status" >&5 |
9324 (exit $ac_status); }; }; then | 7788 (exit $ac_status); }; }; then |
9325 ac_cv_lib_SM_SmcOpenConnection=yes | 7789 ac_cv_lib_SM_SmcOpenConnection=yes |
9326 else | 7790 else |
9327 echo "$as_me: failed program was:" >&5 | 7791 echo "$as_me: failed program was:" >&5 |
9328 cat conftest.$ac_ext >&5 | 7792 cat conftest.$ac_ext >&5 |
9329 ac_cv_lib_SM_SmcOpenConnection=no | 7793 ac_cv_lib_SM_SmcOpenConnection=no |
9330 fi | 7794 fi |
9331 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9332 LIBS=$ac_check_lib_save_LIBS | 7796 LIBS=$ac_check_lib_save_LIBS |
9333 fi | 7797 fi |
9334 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 | 7798 echo "$as_me:7798: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 |
9335 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 | 7799 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 |
9336 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then | 7800 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then |
9337 HAVE_X_SM=yes | 7801 HAVE_X_SM=yes |
9338 else | 7802 else |
9339 -lICE | 7803 -lICE |
9340 fi | 7804 fi |
9341 | 7805 |
9342 fi | 7806 fi |
9343 | 7807 |
9344 | |
9345 | |
9346 if test "${HAVE_X_SM}" = "yes"; then | 7808 if test "${HAVE_X_SM}" = "yes"; then |
9347 | 7809 |
9348 cat >>confdefs.h <<\_ACEOF | 7810 cat >>confdefs.h <<\EOF |
9349 #define HAVE_X_SM 1 | 7811 #define HAVE_X_SM 1 |
9350 _ACEOF | 7812 EOF |
9351 | 7813 |
9352 case "$LIBS" in | 7814 case "$LIBS" in |
9353 *-lSM*) ;; | 7815 *-lSM*) ;; |
9354 *) LIBS="-lSM -lICE $LIBS" ;; | 7816 *) LIBS="-lSM -lICE $LIBS" ;; |
9355 esac | 7817 esac |
9356 fi | 7818 fi |
9357 fi | 7819 fi |
9358 | 7820 |
9359 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 7821 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
9360 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 | 7822 echo "$as_me:7822: checking whether netdb declares h_errno" >&5 |
9361 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 | 7823 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 |
9362 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then | 7824 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then |
9363 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7825 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9364 else | 7826 else |
9365 cat >conftest.$ac_ext <<_ACEOF | 7827 cat >conftest.$ac_ext <<_ACEOF |
9366 #line $LINENO "configure" | 7828 #line 7828 "configure" |
9367 #include "confdefs.h" | 7829 #include "confdefs.h" |
9368 #include <netdb.h> | 7830 #include <netdb.h> |
9369 #ifdef F77_DUMMY_MAIN | |
9370 # ifdef __cplusplus | |
9371 extern "C" | |
9372 # endif | |
9373 int F77_DUMMY_MAIN() { return 1; } | |
9374 #endif | |
9375 int | 7831 int |
9376 main () | 7832 main () |
9377 { | 7833 { |
9378 return h_errno; | 7834 return h_errno; |
9379 ; | 7835 ; |
9380 return 0; | 7836 return 0; |
9381 } | 7837 } |
9382 _ACEOF | 7838 _ACEOF |
9383 rm -f conftest.$ac_objext conftest$ac_exeext | 7839 rm -f conftest.$ac_objext conftest$ac_exeext |
9384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7840 if { (eval echo "$as_me:7840: \"$ac_link\"") >&5 |
9385 (eval $ac_link) 2>&5 | 7841 (eval $ac_link) 2>&5 |
9386 ac_status=$? | 7842 ac_status=$? |
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7843 echo "$as_me:7843: \$? = $ac_status" >&5 |
9388 (exit $ac_status); } && | 7844 (exit $ac_status); } && |
9389 { ac_try='test -s conftest$ac_exeext' | 7845 { ac_try='test -s conftest$ac_exeext' |
9390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7846 { (eval echo "$as_me:7846: \"$ac_try\"") >&5 |
9391 (eval $ac_try) 2>&5 | 7847 (eval $ac_try) 2>&5 |
9392 ac_status=$? | 7848 ac_status=$? |
9393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7849 echo "$as_me:7849: \$? = $ac_status" >&5 |
9394 (exit $ac_status); }; }; then | 7850 (exit $ac_status); }; }; then |
9395 emacs_cv_netdb_declares_h_errno=yes | 7851 emacs_cv_netdb_declares_h_errno=yes |
9396 else | 7852 else |
9397 echo "$as_me: failed program was:" >&5 | 7853 echo "$as_me: failed program was:" >&5 |
9398 cat conftest.$ac_ext >&5 | 7854 cat conftest.$ac_ext >&5 |
9399 emacs_cv_netdb_declares_h_errno=no | 7855 emacs_cv_netdb_declares_h_errno=no |
9400 fi | 7856 fi |
9401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7857 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9402 fi | 7858 fi |
9403 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 | 7859 echo "$as_me:7859: result: $emacs_cv_netdb_declares_h_errno" >&5 |
9404 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 | 7860 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 |
9405 if test $emacs_cv_netdb_declares_h_errno = yes; then | 7861 if test $emacs_cv_netdb_declares_h_errno = yes; then |
9406 | 7862 |
9407 cat >>confdefs.h <<\_ACEOF | 7863 cat >>confdefs.h <<\EOF |
9408 #define HAVE_H_ERRNO 1 | 7864 #define HAVE_H_ERRNO 1 |
9409 _ACEOF | 7865 EOF |
9410 | 7866 |
9411 fi | 7867 fi |
9412 | 7868 |
9413 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7869 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
9414 # for constant arguments. Useless! | 7870 # for constant arguments. Useless! |
9415 echo "$as_me:$LINENO: checking for working alloca.h" >&5 | 7871 echo "$as_me:7871: checking for working alloca.h" >&5 |
9416 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 | 7872 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
9417 if test "${ac_cv_working_alloca_h+set}" = set; then | 7873 if test "${ac_cv_working_alloca_h+set}" = set; then |
9418 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7874 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9419 else | 7875 else |
9420 cat >conftest.$ac_ext <<_ACEOF | 7876 cat >conftest.$ac_ext <<_ACEOF |
9421 #line $LINENO "configure" | 7877 #line 7877 "configure" |
9422 #include "confdefs.h" | 7878 #include "confdefs.h" |
9423 #include <alloca.h> | 7879 #include <alloca.h> |
9424 #ifdef F77_DUMMY_MAIN | |
9425 # ifdef __cplusplus | |
9426 extern "C" | |
9427 # endif | |
9428 int F77_DUMMY_MAIN() { return 1; } | |
9429 #endif | |
9430 int | 7880 int |
9431 main () | 7881 main () |
9432 { | 7882 { |
9433 char *p = (char *) alloca (2 * sizeof (int)); | 7883 char *p = (char *) alloca (2 * sizeof (int)); |
9434 ; | 7884 ; |
9435 return 0; | 7885 return 0; |
9436 } | 7886 } |
9437 _ACEOF | 7887 _ACEOF |
9438 rm -f conftest.$ac_objext conftest$ac_exeext | 7888 rm -f conftest.$ac_objext conftest$ac_exeext |
9439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7889 if { (eval echo "$as_me:7889: \"$ac_link\"") >&5 |
9440 (eval $ac_link) 2>&5 | 7890 (eval $ac_link) 2>&5 |
9441 ac_status=$? | 7891 ac_status=$? |
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7892 echo "$as_me:7892: \$? = $ac_status" >&5 |
9443 (exit $ac_status); } && | 7893 (exit $ac_status); } && |
9444 { ac_try='test -s conftest$ac_exeext' | 7894 { ac_try='test -s conftest$ac_exeext' |
9445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7895 { (eval echo "$as_me:7895: \"$ac_try\"") >&5 |
9446 (eval $ac_try) 2>&5 | 7896 (eval $ac_try) 2>&5 |
9447 ac_status=$? | 7897 ac_status=$? |
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7898 echo "$as_me:7898: \$? = $ac_status" >&5 |
9449 (exit $ac_status); }; }; then | 7899 (exit $ac_status); }; }; then |
9450 ac_cv_working_alloca_h=yes | 7900 ac_cv_working_alloca_h=yes |
9451 else | 7901 else |
9452 echo "$as_me: failed program was:" >&5 | 7902 echo "$as_me: failed program was:" >&5 |
9453 cat conftest.$ac_ext >&5 | 7903 cat conftest.$ac_ext >&5 |
9454 ac_cv_working_alloca_h=no | 7904 ac_cv_working_alloca_h=no |
9455 fi | 7905 fi |
9456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9457 fi | 7907 fi |
9458 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 | 7908 echo "$as_me:7908: result: $ac_cv_working_alloca_h" >&5 |
9459 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 | 7909 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
9460 if test $ac_cv_working_alloca_h = yes; then | 7910 if test $ac_cv_working_alloca_h = yes; then |
9461 | 7911 |
9462 cat >>confdefs.h <<\_ACEOF | 7912 cat >>confdefs.h <<\EOF |
9463 #define HAVE_ALLOCA_H 1 | 7913 #define HAVE_ALLOCA_H 1 |
9464 _ACEOF | 7914 EOF |
9465 | 7915 |
9466 fi | 7916 fi |
9467 | 7917 |
9468 echo "$as_me:$LINENO: checking for alloca" >&5 | 7918 echo "$as_me:7918: checking for alloca" >&5 |
9469 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 | 7919 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
9470 if test "${ac_cv_func_alloca_works+set}" = set; then | 7920 if test "${ac_cv_func_alloca_works+set}" = set; then |
9471 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7921 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9472 else | 7922 else |
9473 cat >conftest.$ac_ext <<_ACEOF | 7923 cat >conftest.$ac_ext <<_ACEOF |
9474 #line $LINENO "configure" | 7924 #line 7924 "configure" |
9475 #include "confdefs.h" | 7925 #include "confdefs.h" |
9476 #ifdef __GNUC__ | 7926 #ifdef __GNUC__ |
9477 # define alloca __builtin_alloca | 7927 # define alloca __builtin_alloca |
9478 #else | 7928 #else |
9479 # ifdef _MSC_VER | 7929 # ifdef _MSC_VER |
9492 # endif | 7942 # endif |
9493 # endif | 7943 # endif |
9494 # endif | 7944 # endif |
9495 #endif | 7945 #endif |
9496 | 7946 |
9497 #ifdef F77_DUMMY_MAIN | |
9498 # ifdef __cplusplus | |
9499 extern "C" | |
9500 # endif | |
9501 int F77_DUMMY_MAIN() { return 1; } | |
9502 #endif | |
9503 int | 7947 int |
9504 main () | 7948 main () |
9505 { | 7949 { |
9506 char *p = (char *) alloca (1); | 7950 char *p = (char *) alloca (1); |
9507 ; | 7951 ; |
9508 return 0; | 7952 return 0; |
9509 } | 7953 } |
9510 _ACEOF | 7954 _ACEOF |
9511 rm -f conftest.$ac_objext conftest$ac_exeext | 7955 rm -f conftest.$ac_objext conftest$ac_exeext |
9512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7956 if { (eval echo "$as_me:7956: \"$ac_link\"") >&5 |
9513 (eval $ac_link) 2>&5 | 7957 (eval $ac_link) 2>&5 |
9514 ac_status=$? | 7958 ac_status=$? |
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7959 echo "$as_me:7959: \$? = $ac_status" >&5 |
9516 (exit $ac_status); } && | 7960 (exit $ac_status); } && |
9517 { ac_try='test -s conftest$ac_exeext' | 7961 { ac_try='test -s conftest$ac_exeext' |
9518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7962 { (eval echo "$as_me:7962: \"$ac_try\"") >&5 |
9519 (eval $ac_try) 2>&5 | 7963 (eval $ac_try) 2>&5 |
9520 ac_status=$? | 7964 ac_status=$? |
9521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7965 echo "$as_me:7965: \$? = $ac_status" >&5 |
9522 (exit $ac_status); }; }; then | 7966 (exit $ac_status); }; }; then |
9523 ac_cv_func_alloca_works=yes | 7967 ac_cv_func_alloca_works=yes |
9524 else | 7968 else |
9525 echo "$as_me: failed program was:" >&5 | 7969 echo "$as_me: failed program was:" >&5 |
9526 cat conftest.$ac_ext >&5 | 7970 cat conftest.$ac_ext >&5 |
9527 ac_cv_func_alloca_works=no | 7971 ac_cv_func_alloca_works=no |
9528 fi | 7972 fi |
9529 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9530 fi | 7974 fi |
9531 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 | 7975 echo "$as_me:7975: result: $ac_cv_func_alloca_works" >&5 |
9532 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 | 7976 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
9533 | 7977 |
9534 if test $ac_cv_func_alloca_works = yes; then | 7978 if test $ac_cv_func_alloca_works = yes; then |
9535 | 7979 |
9536 cat >>confdefs.h <<\_ACEOF | 7980 cat >>confdefs.h <<\EOF |
9537 #define HAVE_ALLOCA 1 | 7981 #define HAVE_ALLOCA 1 |
9538 _ACEOF | 7982 EOF |
9539 | 7983 |
9540 else | 7984 else |
9541 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 7985 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
9542 # that cause trouble. Some versions do not even contain alloca or | 7986 # that cause trouble. Some versions do not even contain alloca or |
9543 # contain a buggy version. If you still want to use their alloca, | 7987 # contain a buggy version. If you still want to use their alloca, |
9544 # use ar to extract alloca.o from them instead of compiling alloca.c. | 7988 # use ar to extract alloca.o from them instead of compiling alloca.c. |
9545 | 7989 |
9546 ALLOCA=alloca.$ac_objext | 7990 ALLOCA=alloca.$ac_objext |
9547 | 7991 |
9548 cat >>confdefs.h <<\_ACEOF | 7992 cat >>confdefs.h <<\EOF |
9549 #define C_ALLOCA 1 | 7993 #define C_ALLOCA 1 |
9550 _ACEOF | 7994 EOF |
9551 | 7995 |
9552 | 7996 echo "$as_me:7996: checking whether \`alloca.c' needs Cray hooks" >&5 |
9553 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | |
9554 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 | 7997 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
9555 if test "${ac_cv_os_cray+set}" = set; then | 7998 if test "${ac_cv_os_cray+set}" = set; then |
9556 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7999 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9557 else | 8000 else |
9558 cat >conftest.$ac_ext <<_ACEOF | 8001 cat >conftest.$ac_ext <<_ACEOF |
9559 #line $LINENO "configure" | 8002 #line 8002 "configure" |
9560 #include "confdefs.h" | 8003 #include "confdefs.h" |
9561 #if defined(CRAY) && ! defined(CRAY2) | 8004 #if defined(CRAY) && ! defined(CRAY2) |
9562 webecray | 8005 webecray |
9563 #else | 8006 #else |
9564 wenotbecray | 8007 wenotbecray |
9572 ac_cv_os_cray=no | 8015 ac_cv_os_cray=no |
9573 fi | 8016 fi |
9574 rm -f conftest* | 8017 rm -f conftest* |
9575 | 8018 |
9576 fi | 8019 fi |
9577 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 | 8020 echo "$as_me:8020: result: $ac_cv_os_cray" >&5 |
9578 echo "${ECHO_T}$ac_cv_os_cray" >&6 | 8021 echo "${ECHO_T}$ac_cv_os_cray" >&6 |
9579 if test $ac_cv_os_cray = yes; then | 8022 if test $ac_cv_os_cray = yes; then |
9580 for ac_func in _getb67 GETB67 getb67; do | 8023 for ac_func in _getb67 GETB67 getb67; do |
9581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9582 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 8025 echo "$as_me:8025: checking for $ac_func" >&5 |
9583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9584 if eval "test \"\${$as_ac_var+set}\" = set"; then | 8027 if eval "test \"\${$as_ac_var+set}\" = set"; then |
9585 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8028 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9586 else | 8029 else |
9587 cat >conftest.$ac_ext <<_ACEOF | 8030 cat >conftest.$ac_ext <<_ACEOF |
9588 #line $LINENO "configure" | 8031 #line 8031 "configure" |
9589 #include "confdefs.h" | 8032 #include "confdefs.h" |
9590 /* System header to define __stub macros and hopefully few prototypes, | 8033 /* System header to define __stub macros and hopefully few prototypes, |
9591 which can conflict with char $ac_func (); below. */ | 8034 which can conflict with char $ac_func (); below. */ |
9592 #include <assert.h> | 8035 #include <assert.h> |
9593 /* Override any gcc2 internal prototype to avoid an error. */ | 8036 /* Override any gcc2 internal prototype to avoid an error. */ |
9597 /* We use char because int might match the return type of a gcc2 | 8040 /* We use char because int might match the return type of a gcc2 |
9598 builtin and then its argument prototype would still apply. */ | 8041 builtin and then its argument prototype would still apply. */ |
9599 char $ac_func (); | 8042 char $ac_func (); |
9600 char (*f) (); | 8043 char (*f) (); |
9601 | 8044 |
9602 #ifdef F77_DUMMY_MAIN | |
9603 # ifdef __cplusplus | |
9604 extern "C" | |
9605 # endif | |
9606 int F77_DUMMY_MAIN() { return 1; } | |
9607 #endif | |
9608 int | 8045 int |
9609 main () | 8046 main () |
9610 { | 8047 { |
9611 /* The GNU C library defines this for functions which it implements | 8048 /* The GNU C library defines this for functions which it implements |
9612 to always fail with ENOSYS. Some functions are actually named | 8049 to always fail with ENOSYS. Some functions are actually named |
9620 ; | 8057 ; |
9621 return 0; | 8058 return 0; |
9622 } | 8059 } |
9623 _ACEOF | 8060 _ACEOF |
9624 rm -f conftest.$ac_objext conftest$ac_exeext | 8061 rm -f conftest.$ac_objext conftest$ac_exeext |
9625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8062 if { (eval echo "$as_me:8062: \"$ac_link\"") >&5 |
9626 (eval $ac_link) 2>&5 | 8063 (eval $ac_link) 2>&5 |
9627 ac_status=$? | 8064 ac_status=$? |
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8065 echo "$as_me:8065: \$? = $ac_status" >&5 |
9629 (exit $ac_status); } && | 8066 (exit $ac_status); } && |
9630 { ac_try='test -s conftest$ac_exeext' | 8067 { ac_try='test -s conftest$ac_exeext' |
9631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8068 { (eval echo "$as_me:8068: \"$ac_try\"") >&5 |
9632 (eval $ac_try) 2>&5 | 8069 (eval $ac_try) 2>&5 |
9633 ac_status=$? | 8070 ac_status=$? |
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8071 echo "$as_me:8071: \$? = $ac_status" >&5 |
9635 (exit $ac_status); }; }; then | 8072 (exit $ac_status); }; }; then |
9636 eval "$as_ac_var=yes" | 8073 eval "$as_ac_var=yes" |
9637 else | 8074 else |
9638 echo "$as_me: failed program was:" >&5 | 8075 echo "$as_me: failed program was:" >&5 |
9639 cat conftest.$ac_ext >&5 | 8076 cat conftest.$ac_ext >&5 |
9640 eval "$as_ac_var=no" | 8077 eval "$as_ac_var=no" |
9641 fi | 8078 fi |
9642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9643 fi | 8080 fi |
9644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8081 echo "$as_me:8081: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9646 if test `eval echo '${'$as_ac_var'}'` = yes; then | 8083 if test `eval echo '${'$as_ac_var'}'` = yes; then |
9647 | 8084 |
9648 cat >>confdefs.h <<_ACEOF | 8085 cat >>confdefs.h <<EOF |
9649 #define CRAY_STACKSEG_END $ac_func | 8086 #define CRAY_STACKSEG_END $ac_func |
9650 _ACEOF | 8087 EOF |
9651 | 8088 |
9652 break | 8089 break |
9653 fi | 8090 fi |
9654 | 8091 |
9655 done | 8092 done |
9656 fi | 8093 fi |
9657 | 8094 |
9658 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 | 8095 echo "$as_me:8095: checking stack direction for C alloca" >&5 |
9659 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 | 8096 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
9660 if test "${ac_cv_c_stack_direction+set}" = set; then | 8097 if test "${ac_cv_c_stack_direction+set}" = set; then |
9661 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8098 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9662 else | 8099 else |
9663 if test "$cross_compiling" = yes; then | 8100 if test "$cross_compiling" = yes; then |
9664 ac_cv_c_stack_direction=0 | 8101 ac_cv_c_stack_direction=0 |
9665 else | 8102 else |
9666 cat >conftest.$ac_ext <<_ACEOF | 8103 cat >conftest.$ac_ext <<_ACEOF |
9667 #line $LINENO "configure" | 8104 #line 8104 "configure" |
9668 #include "confdefs.h" | 8105 #include "confdefs.h" |
9669 int | 8106 int |
9670 find_stack_direction () | 8107 find_stack_direction () |
9671 { | 8108 { |
9672 static char *addr = 0; | 8109 static char *addr = 0; |
9685 { | 8122 { |
9686 exit (find_stack_direction () < 0); | 8123 exit (find_stack_direction () < 0); |
9687 } | 8124 } |
9688 _ACEOF | 8125 _ACEOF |
9689 rm -f conftest$ac_exeext | 8126 rm -f conftest$ac_exeext |
9690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8127 if { (eval echo "$as_me:8127: \"$ac_link\"") >&5 |
9691 (eval $ac_link) 2>&5 | 8128 (eval $ac_link) 2>&5 |
9692 ac_status=$? | 8129 ac_status=$? |
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8130 echo "$as_me:8130: \$? = $ac_status" >&5 |
9694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 8131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8132 { (eval echo "$as_me:8132: \"$ac_try\"") >&5 |
9696 (eval $ac_try) 2>&5 | 8133 (eval $ac_try) 2>&5 |
9697 ac_status=$? | 8134 ac_status=$? |
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8135 echo "$as_me:8135: \$? = $ac_status" >&5 |
9699 (exit $ac_status); }; }; then | 8136 (exit $ac_status); }; }; then |
9700 ac_cv_c_stack_direction=1 | 8137 ac_cv_c_stack_direction=1 |
9701 else | 8138 else |
9702 echo "$as_me: program exited with status $ac_status" >&5 | 8139 echo "$as_me: program exited with status $ac_status" >&5 |
9703 echo "$as_me: failed program was:" >&5 | 8140 echo "$as_me: failed program was:" >&5 |
9704 cat conftest.$ac_ext >&5 | 8141 cat conftest.$ac_ext >&5 |
9705 ( exit $ac_status ) | |
9706 ac_cv_c_stack_direction=-1 | 8142 ac_cv_c_stack_direction=-1 |
9707 fi | 8143 fi |
9708 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8144 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9709 fi | 8145 fi |
9710 fi | 8146 fi |
9711 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | 8147 echo "$as_me:8147: result: $ac_cv_c_stack_direction" >&5 |
9712 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 | 8148 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
9713 | 8149 |
9714 cat >>confdefs.h <<_ACEOF | 8150 cat >>confdefs.h <<EOF |
9715 #define STACK_DIRECTION $ac_cv_c_stack_direction | 8151 #define STACK_DIRECTION $ac_cv_c_stack_direction |
9716 _ACEOF | 8152 EOF |
9717 | 8153 |
9718 | 8154 fi |
9719 fi | |
9720 | |
9721 | 8155 |
9722 # fmod, logb, and frexp are found in -lm on most systems. | 8156 # fmod, logb, and frexp are found in -lm on most systems. |
9723 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 8157 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
9724 | 8158 |
9725 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 | 8159 echo "$as_me:8159: checking for sqrt in -lm" >&5 |
9726 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 | 8160 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 |
9727 if test "${ac_cv_lib_m_sqrt+set}" = set; then | 8161 if test "${ac_cv_lib_m_sqrt+set}" = set; then |
9728 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8162 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9729 else | 8163 else |
9730 ac_check_lib_save_LIBS=$LIBS | 8164 ac_check_lib_save_LIBS=$LIBS |
9731 LIBS="-lm $LIBS" | 8165 LIBS="-lm $LIBS" |
9732 cat >conftest.$ac_ext <<_ACEOF | 8166 cat >conftest.$ac_ext <<_ACEOF |
9733 #line $LINENO "configure" | 8167 #line 8167 "configure" |
9734 #include "confdefs.h" | 8168 #include "confdefs.h" |
9735 | 8169 |
9736 /* Override any gcc2 internal prototype to avoid an error. */ | 8170 /* Override any gcc2 internal prototype to avoid an error. */ |
9737 #ifdef __cplusplus | 8171 #ifdef __cplusplus |
9738 extern "C" | 8172 extern "C" |
9739 #endif | 8173 #endif |
9740 /* We use char because int might match the return type of a gcc2 | 8174 /* We use char because int might match the return type of a gcc2 |
9741 builtin and then its argument prototype would still apply. */ | 8175 builtin and then its argument prototype would still apply. */ |
9742 char sqrt (); | 8176 char sqrt (); |
9743 #ifdef F77_DUMMY_MAIN | |
9744 # ifdef __cplusplus | |
9745 extern "C" | |
9746 # endif | |
9747 int F77_DUMMY_MAIN() { return 1; } | |
9748 #endif | |
9749 int | 8177 int |
9750 main () | 8178 main () |
9751 { | 8179 { |
9752 sqrt (); | 8180 sqrt (); |
9753 ; | 8181 ; |
9754 return 0; | 8182 return 0; |
9755 } | 8183 } |
9756 _ACEOF | 8184 _ACEOF |
9757 rm -f conftest.$ac_objext conftest$ac_exeext | 8185 rm -f conftest.$ac_objext conftest$ac_exeext |
9758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8186 if { (eval echo "$as_me:8186: \"$ac_link\"") >&5 |
9759 (eval $ac_link) 2>&5 | 8187 (eval $ac_link) 2>&5 |
9760 ac_status=$? | 8188 ac_status=$? |
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8189 echo "$as_me:8189: \$? = $ac_status" >&5 |
9762 (exit $ac_status); } && | 8190 (exit $ac_status); } && |
9763 { ac_try='test -s conftest$ac_exeext' | 8191 { ac_try='test -s conftest$ac_exeext' |
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8192 { (eval echo "$as_me:8192: \"$ac_try\"") >&5 |
9765 (eval $ac_try) 2>&5 | 8193 (eval $ac_try) 2>&5 |
9766 ac_status=$? | 8194 ac_status=$? |
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8195 echo "$as_me:8195: \$? = $ac_status" >&5 |
9768 (exit $ac_status); }; }; then | 8196 (exit $ac_status); }; }; then |
9769 ac_cv_lib_m_sqrt=yes | 8197 ac_cv_lib_m_sqrt=yes |
9770 else | 8198 else |
9771 echo "$as_me: failed program was:" >&5 | 8199 echo "$as_me: failed program was:" >&5 |
9772 cat conftest.$ac_ext >&5 | 8200 cat conftest.$ac_ext >&5 |
9773 ac_cv_lib_m_sqrt=no | 8201 ac_cv_lib_m_sqrt=no |
9774 fi | 8202 fi |
9775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8203 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9776 LIBS=$ac_check_lib_save_LIBS | 8204 LIBS=$ac_check_lib_save_LIBS |
9777 fi | 8205 fi |
9778 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 | 8206 echo "$as_me:8206: result: $ac_cv_lib_m_sqrt" >&5 |
9779 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 | 8207 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 |
9780 if test $ac_cv_lib_m_sqrt = yes; then | 8208 if test $ac_cv_lib_m_sqrt = yes; then |
9781 cat >>confdefs.h <<_ACEOF | 8209 cat >>confdefs.h <<EOF |
9782 #define HAVE_LIBM 1 | 8210 #define HAVE_LIBM 1 |
9783 _ACEOF | 8211 EOF |
9784 | 8212 |
9785 LIBS="-lm $LIBS" | 8213 LIBS="-lm $LIBS" |
9786 | 8214 |
9787 fi | 8215 fi |
9788 | 8216 |
9789 | |
9790 # Check for mail-locking functions in a "mail" library | 8217 # Check for mail-locking functions in a "mail" library |
9791 | 8218 |
9792 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 | 8219 echo "$as_me:8219: checking for maillock in -lmail" >&5 |
9793 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 | 8220 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 |
9794 if test "${ac_cv_lib_mail_maillock+set}" = set; then | 8221 if test "${ac_cv_lib_mail_maillock+set}" = set; then |
9795 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8222 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9796 else | 8223 else |
9797 ac_check_lib_save_LIBS=$LIBS | 8224 ac_check_lib_save_LIBS=$LIBS |
9798 LIBS="-lmail $LIBS" | 8225 LIBS="-lmail $LIBS" |
9799 cat >conftest.$ac_ext <<_ACEOF | 8226 cat >conftest.$ac_ext <<_ACEOF |
9800 #line $LINENO "configure" | 8227 #line 8227 "configure" |
9801 #include "confdefs.h" | 8228 #include "confdefs.h" |
9802 | 8229 |
9803 /* Override any gcc2 internal prototype to avoid an error. */ | 8230 /* Override any gcc2 internal prototype to avoid an error. */ |
9804 #ifdef __cplusplus | 8231 #ifdef __cplusplus |
9805 extern "C" | 8232 extern "C" |
9806 #endif | 8233 #endif |
9807 /* We use char because int might match the return type of a gcc2 | 8234 /* We use char because int might match the return type of a gcc2 |
9808 builtin and then its argument prototype would still apply. */ | 8235 builtin and then its argument prototype would still apply. */ |
9809 char maillock (); | 8236 char maillock (); |
9810 #ifdef F77_DUMMY_MAIN | |
9811 # ifdef __cplusplus | |
9812 extern "C" | |
9813 # endif | |
9814 int F77_DUMMY_MAIN() { return 1; } | |
9815 #endif | |
9816 int | 8237 int |
9817 main () | 8238 main () |
9818 { | 8239 { |
9819 maillock (); | 8240 maillock (); |
9820 ; | 8241 ; |
9821 return 0; | 8242 return 0; |
9822 } | 8243 } |
9823 _ACEOF | 8244 _ACEOF |
9824 rm -f conftest.$ac_objext conftest$ac_exeext | 8245 rm -f conftest.$ac_objext conftest$ac_exeext |
9825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8246 if { (eval echo "$as_me:8246: \"$ac_link\"") >&5 |
9826 (eval $ac_link) 2>&5 | 8247 (eval $ac_link) 2>&5 |
9827 ac_status=$? | 8248 ac_status=$? |
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8249 echo "$as_me:8249: \$? = $ac_status" >&5 |
9829 (exit $ac_status); } && | 8250 (exit $ac_status); } && |
9830 { ac_try='test -s conftest$ac_exeext' | 8251 { ac_try='test -s conftest$ac_exeext' |
9831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8252 { (eval echo "$as_me:8252: \"$ac_try\"") >&5 |
9832 (eval $ac_try) 2>&5 | 8253 (eval $ac_try) 2>&5 |
9833 ac_status=$? | 8254 ac_status=$? |
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8255 echo "$as_me:8255: \$? = $ac_status" >&5 |
9835 (exit $ac_status); }; }; then | 8256 (exit $ac_status); }; }; then |
9836 ac_cv_lib_mail_maillock=yes | 8257 ac_cv_lib_mail_maillock=yes |
9837 else | 8258 else |
9838 echo "$as_me: failed program was:" >&5 | 8259 echo "$as_me: failed program was:" >&5 |
9839 cat conftest.$ac_ext >&5 | 8260 cat conftest.$ac_ext >&5 |
9840 ac_cv_lib_mail_maillock=no | 8261 ac_cv_lib_mail_maillock=no |
9841 fi | 8262 fi |
9842 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8263 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9843 LIBS=$ac_check_lib_save_LIBS | 8264 LIBS=$ac_check_lib_save_LIBS |
9844 fi | 8265 fi |
9845 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 | 8266 echo "$as_me:8266: result: $ac_cv_lib_mail_maillock" >&5 |
9846 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 | 8267 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 |
9847 if test $ac_cv_lib_mail_maillock = yes; then | 8268 if test $ac_cv_lib_mail_maillock = yes; then |
9848 cat >>confdefs.h <<_ACEOF | 8269 cat >>confdefs.h <<EOF |
9849 #define HAVE_LIBMAIL 1 | 8270 #define HAVE_LIBMAIL 1 |
9850 _ACEOF | 8271 EOF |
9851 | 8272 |
9852 LIBS="-lmail $LIBS" | 8273 LIBS="-lmail $LIBS" |
9853 | 8274 |
9854 fi | 8275 fi |
9855 | 8276 |
9856 | 8277 echo "$as_me:8277: checking for maillock in -llockfile" >&5 |
9857 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 | |
9858 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 | 8278 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 |
9859 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then | 8279 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then |
9860 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8280 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9861 else | 8281 else |
9862 ac_check_lib_save_LIBS=$LIBS | 8282 ac_check_lib_save_LIBS=$LIBS |
9863 LIBS="-llockfile $LIBS" | 8283 LIBS="-llockfile $LIBS" |
9864 cat >conftest.$ac_ext <<_ACEOF | 8284 cat >conftest.$ac_ext <<_ACEOF |
9865 #line $LINENO "configure" | 8285 #line 8285 "configure" |
9866 #include "confdefs.h" | 8286 #include "confdefs.h" |
9867 | 8287 |
9868 /* Override any gcc2 internal prototype to avoid an error. */ | 8288 /* Override any gcc2 internal prototype to avoid an error. */ |
9869 #ifdef __cplusplus | 8289 #ifdef __cplusplus |
9870 extern "C" | 8290 extern "C" |
9871 #endif | 8291 #endif |
9872 /* We use char because int might match the return type of a gcc2 | 8292 /* We use char because int might match the return type of a gcc2 |
9873 builtin and then its argument prototype would still apply. */ | 8293 builtin and then its argument prototype would still apply. */ |
9874 char maillock (); | 8294 char maillock (); |
9875 #ifdef F77_DUMMY_MAIN | |
9876 # ifdef __cplusplus | |
9877 extern "C" | |
9878 # endif | |
9879 int F77_DUMMY_MAIN() { return 1; } | |
9880 #endif | |
9881 int | 8295 int |
9882 main () | 8296 main () |
9883 { | 8297 { |
9884 maillock (); | 8298 maillock (); |
9885 ; | 8299 ; |
9886 return 0; | 8300 return 0; |
9887 } | 8301 } |
9888 _ACEOF | 8302 _ACEOF |
9889 rm -f conftest.$ac_objext conftest$ac_exeext | 8303 rm -f conftest.$ac_objext conftest$ac_exeext |
9890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8304 if { (eval echo "$as_me:8304: \"$ac_link\"") >&5 |
9891 (eval $ac_link) 2>&5 | 8305 (eval $ac_link) 2>&5 |
9892 ac_status=$? | 8306 ac_status=$? |
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8307 echo "$as_me:8307: \$? = $ac_status" >&5 |
9894 (exit $ac_status); } && | 8308 (exit $ac_status); } && |
9895 { ac_try='test -s conftest$ac_exeext' | 8309 { ac_try='test -s conftest$ac_exeext' |
9896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8310 { (eval echo "$as_me:8310: \"$ac_try\"") >&5 |
9897 (eval $ac_try) 2>&5 | 8311 (eval $ac_try) 2>&5 |
9898 ac_status=$? | 8312 ac_status=$? |
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8313 echo "$as_me:8313: \$? = $ac_status" >&5 |
9900 (exit $ac_status); }; }; then | 8314 (exit $ac_status); }; }; then |
9901 ac_cv_lib_lockfile_maillock=yes | 8315 ac_cv_lib_lockfile_maillock=yes |
9902 else | 8316 else |
9903 echo "$as_me: failed program was:" >&5 | 8317 echo "$as_me: failed program was:" >&5 |
9904 cat conftest.$ac_ext >&5 | 8318 cat conftest.$ac_ext >&5 |
9905 ac_cv_lib_lockfile_maillock=no | 8319 ac_cv_lib_lockfile_maillock=no |
9906 fi | 8320 fi |
9907 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9908 LIBS=$ac_check_lib_save_LIBS | 8322 LIBS=$ac_check_lib_save_LIBS |
9909 fi | 8323 fi |
9910 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 | 8324 echo "$as_me:8324: result: $ac_cv_lib_lockfile_maillock" >&5 |
9911 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 | 8325 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 |
9912 if test $ac_cv_lib_lockfile_maillock = yes; then | 8326 if test $ac_cv_lib_lockfile_maillock = yes; then |
9913 cat >>confdefs.h <<_ACEOF | 8327 cat >>confdefs.h <<EOF |
9914 #define HAVE_LIBLOCKFILE 1 | 8328 #define HAVE_LIBLOCKFILE 1 |
9915 _ACEOF | 8329 EOF |
9916 | 8330 |
9917 LIBS="-llockfile $LIBS" | 8331 LIBS="-llockfile $LIBS" |
9918 | 8332 |
9919 fi | 8333 fi |
9920 | 8334 |
9922 # locking (e.g. Debian). If we couldn't link against liblockfile | 8336 # locking (e.g. Debian). If we couldn't link against liblockfile |
9923 # (no liblockfile.a installed), ensure that we don't need to. | 8337 # (no liblockfile.a installed), ensure that we don't need to. |
9924 if test "$ac_cv_lib_lockfile_maillock" = no; then | 8338 if test "$ac_cv_lib_lockfile_maillock" = no; then |
9925 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 8339 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
9926 set dummy liblockfile.so; ac_word=$2 | 8340 set dummy liblockfile.so; ac_word=$2 |
9927 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 8341 echo "$as_me:8341: checking for $ac_word" >&5 |
9928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 8342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
9929 if test "${ac_cv_prog_liblockfile+set}" = set; then | 8343 if test "${ac_cv_prog_liblockfile+set}" = set; then |
9930 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8344 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9931 else | 8345 else |
9932 if test -n "$liblockfile"; then | 8346 if test -n "$liblockfile"; then |
9933 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 8347 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
9934 else | 8348 else |
9935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8349 ac_save_IFS=$IFS; IFS=$ac_path_separator |
9936 for as_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH | 8350 ac_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH" |
9937 do | 8351 for ac_dir in $ac_dummy; do |
9938 IFS=$as_save_IFS | 8352 IFS=$ac_save_IFS |
9939 test -z "$as_dir" && as_dir=. | 8353 test -z "$ac_dir" && ac_dir=. |
9940 for ac_exec_ext in '' $ac_executable_extensions; do | 8354 $as_executable_p "$ac_dir/$ac_word" || continue |
9941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 8355 ac_cv_prog_liblockfile="yes" |
9942 ac_cv_prog_liblockfile="yes" | 8356 echo "$as_me:8356: found $ac_dir/$ac_word" >&5 |
9943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8357 break |
9944 break 2 | |
9945 fi | |
9946 done | |
9947 done | 8358 done |
9948 | 8359 |
9949 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" | 8360 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" |
9950 fi | 8361 fi |
9951 fi | 8362 fi |
9952 liblockfile=$ac_cv_prog_liblockfile | 8363 liblockfile=$ac_cv_prog_liblockfile |
9953 if test -n "$liblockfile"; then | 8364 if test -n "$liblockfile"; then |
9954 echo "$as_me:$LINENO: result: $liblockfile" >&5 | 8365 echo "$as_me:8365: result: $liblockfile" >&5 |
9955 echo "${ECHO_T}$liblockfile" >&6 | 8366 echo "${ECHO_T}$liblockfile" >&6 |
9956 else | 8367 else |
9957 echo "$as_me:$LINENO: result: no" >&5 | 8368 echo "$as_me:8368: result: no" >&5 |
9958 echo "${ECHO_T}no" >&6 | 8369 echo "${ECHO_T}no" >&6 |
9959 fi | 8370 fi |
9960 | 8371 |
9961 if test $ac_cv_prog_liblockfile = yes; then | 8372 if test $ac_cv_prog_liblockfile = yes; then |
9962 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. | 8373 { { echo "$as_me:8373: error: Shared liblockfile found but can't link against it. |
9963 This probably means that movemail could lose mail. | 8374 This probably means that movemail could lose mail. |
9964 There may be a \`development' package to install containing liblockfile." >&5 | 8375 There may be a \`development' package to install containing liblockfile." >&5 |
9965 echo "$as_me: error: Shared liblockfile found but can't link against it. | 8376 echo "$as_me: error: Shared liblockfile found but can't link against it. |
9966 This probably means that movemail could lose mail. | 8377 This probably means that movemail could lose mail. |
9967 There may be a \`development' package to install containing liblockfile." >&2;} | 8378 There may be a \`development' package to install containing liblockfile." >&2;} |
9968 { (exit 1); exit 1; }; } | 8379 { (exit 1); exit 1; }; } |
9969 else | 8380 else |
9970 cat >>confdefs.h <<\_ACEOF | 8381 cat >>confdefs.h <<\EOF |
9971 #define LIBMAIL -llockfile | 8382 #define LIBMAIL -llockfile |
9972 _ACEOF | 8383 EOF |
9973 | 8384 |
9974 fi | 8385 fi |
9975 else : | 8386 else : |
9976 fi | 8387 fi |
9977 | 8388 |
9978 for ac_func in touchlock | 8389 for ac_func in touchlock |
9979 do | 8390 do |
9980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9981 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 8392 echo "$as_me:8392: checking for $ac_func" >&5 |
9982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9983 if eval "test \"\${$as_ac_var+set}\" = set"; then | 8394 if eval "test \"\${$as_ac_var+set}\" = set"; then |
9984 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8395 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9985 else | 8396 else |
9986 cat >conftest.$ac_ext <<_ACEOF | 8397 cat >conftest.$ac_ext <<_ACEOF |
9987 #line $LINENO "configure" | 8398 #line 8398 "configure" |
9988 #include "confdefs.h" | 8399 #include "confdefs.h" |
9989 /* System header to define __stub macros and hopefully few prototypes, | 8400 /* System header to define __stub macros and hopefully few prototypes, |
9990 which can conflict with char $ac_func (); below. */ | 8401 which can conflict with char $ac_func (); below. */ |
9991 #include <assert.h> | 8402 #include <assert.h> |
9992 /* Override any gcc2 internal prototype to avoid an error. */ | 8403 /* Override any gcc2 internal prototype to avoid an error. */ |
9996 /* We use char because int might match the return type of a gcc2 | 8407 /* We use char because int might match the return type of a gcc2 |
9997 builtin and then its argument prototype would still apply. */ | 8408 builtin and then its argument prototype would still apply. */ |
9998 char $ac_func (); | 8409 char $ac_func (); |
9999 char (*f) (); | 8410 char (*f) (); |
10000 | 8411 |
10001 #ifdef F77_DUMMY_MAIN | |
10002 # ifdef __cplusplus | |
10003 extern "C" | |
10004 # endif | |
10005 int F77_DUMMY_MAIN() { return 1; } | |
10006 #endif | |
10007 int | 8412 int |
10008 main () | 8413 main () |
10009 { | 8414 { |
10010 /* The GNU C library defines this for functions which it implements | 8415 /* The GNU C library defines this for functions which it implements |
10011 to always fail with ENOSYS. Some functions are actually named | 8416 to always fail with ENOSYS. Some functions are actually named |
10019 ; | 8424 ; |
10020 return 0; | 8425 return 0; |
10021 } | 8426 } |
10022 _ACEOF | 8427 _ACEOF |
10023 rm -f conftest.$ac_objext conftest$ac_exeext | 8428 rm -f conftest.$ac_objext conftest$ac_exeext |
10024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8429 if { (eval echo "$as_me:8429: \"$ac_link\"") >&5 |
10025 (eval $ac_link) 2>&5 | 8430 (eval $ac_link) 2>&5 |
10026 ac_status=$? | 8431 ac_status=$? |
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8432 echo "$as_me:8432: \$? = $ac_status" >&5 |
10028 (exit $ac_status); } && | 8433 (exit $ac_status); } && |
10029 { ac_try='test -s conftest$ac_exeext' | 8434 { ac_try='test -s conftest$ac_exeext' |
10030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8435 { (eval echo "$as_me:8435: \"$ac_try\"") >&5 |
10031 (eval $ac_try) 2>&5 | 8436 (eval $ac_try) 2>&5 |
10032 ac_status=$? | 8437 ac_status=$? |
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8438 echo "$as_me:8438: \$? = $ac_status" >&5 |
10034 (exit $ac_status); }; }; then | 8439 (exit $ac_status); }; }; then |
10035 eval "$as_ac_var=yes" | 8440 eval "$as_ac_var=yes" |
10036 else | 8441 else |
10037 echo "$as_me: failed program was:" >&5 | 8442 echo "$as_me: failed program was:" >&5 |
10038 cat conftest.$ac_ext >&5 | 8443 cat conftest.$ac_ext >&5 |
10039 eval "$as_ac_var=no" | 8444 eval "$as_ac_var=no" |
10040 fi | 8445 fi |
10041 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10042 fi | 8447 fi |
10043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8448 echo "$as_me:8448: result: `eval echo '${'$as_ac_var'}'`" >&5 |
10044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
10045 if test `eval echo '${'$as_ac_var'}'` = yes; then | 8450 if test `eval echo '${'$as_ac_var'}'` = yes; then |
10046 cat >>confdefs.h <<_ACEOF | 8451 cat >>confdefs.h <<EOF |
10047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10048 _ACEOF | 8453 EOF |
10049 | 8454 |
10050 fi | 8455 fi |
10051 done | 8456 done |
10052 | |
10053 | 8457 |
10054 for ac_header in maillock.h | 8458 for ac_header in maillock.h |
10055 do | 8459 do |
10056 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 8460 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10057 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 8461 echo "$as_me:8461: checking for $ac_header" >&5 |
10058 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
10059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 8462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10060 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 8463 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10061 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8464 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10062 fi | 8465 else |
10063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 8466 cat >conftest.$ac_ext <<_ACEOF |
10064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 8467 #line 8467 "configure" |
10065 else | 8468 #include "confdefs.h" |
10066 # Is the header compilable? | |
10067 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
10068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
10069 cat >conftest.$ac_ext <<_ACEOF | |
10070 #line $LINENO "configure" | |
10071 #include "confdefs.h" | |
10072 $ac_includes_default | |
10073 #include <$ac_header> | 8469 #include <$ac_header> |
10074 _ACEOF | 8470 _ACEOF |
10075 rm -f conftest.$ac_objext | 8471 if { (eval echo "$as_me:8471: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
10077 (eval $ac_compile) 2>&5 | |
10078 ac_status=$? | |
10079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10080 (exit $ac_status); } && | |
10081 { ac_try='test -s conftest.$ac_objext' | |
10082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
10083 (eval $ac_try) 2>&5 | |
10084 ac_status=$? | |
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10086 (exit $ac_status); }; }; then | |
10087 ac_header_compiler=yes | |
10088 else | |
10089 echo "$as_me: failed program was:" >&5 | |
10090 cat conftest.$ac_ext >&5 | |
10091 ac_header_compiler=no | |
10092 fi | |
10093 rm -f conftest.$ac_objext conftest.$ac_ext | |
10094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
10095 echo "${ECHO_T}$ac_header_compiler" >&6 | |
10096 | |
10097 # Is the header present? | |
10098 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
10099 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
10100 cat >conftest.$ac_ext <<_ACEOF | |
10101 #line $LINENO "configure" | |
10102 #include "confdefs.h" | |
10103 #include <$ac_header> | |
10104 _ACEOF | |
10105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
10106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 8472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10107 ac_status=$? | 8473 ac_status=$? |
10108 egrep -v '^ *\+' conftest.er1 >conftest.err | 8474 egrep -v '^ *\+' conftest.er1 >conftest.err |
10109 rm -f conftest.er1 | 8475 rm -f conftest.er1 |
10110 cat conftest.err >&5 | 8476 cat conftest.err >&5 |
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8477 echo "$as_me:8477: \$? = $ac_status" >&5 |
10112 (exit $ac_status); } >/dev/null; then | 8478 (exit $ac_status); } >/dev/null; then |
10113 if test -s conftest.err; then | 8479 if test -s conftest.err; then |
10114 ac_cpp_err=$ac_c_preproc_warn_flag | 8480 ac_cpp_err=$ac_c_preproc_warn_flag |
10115 else | 8481 else |
10116 ac_cpp_err= | 8482 ac_cpp_err= |
10117 fi | 8483 fi |
10118 else | 8484 else |
10119 ac_cpp_err=yes | 8485 ac_cpp_err=yes |
10120 fi | 8486 fi |
10121 if test -z "$ac_cpp_err"; then | 8487 if test -z "$ac_cpp_err"; then |
10122 ac_header_preproc=yes | 8488 eval "$as_ac_Header=yes" |
10123 else | 8489 else |
10124 echo "$as_me: failed program was:" >&5 | 8490 echo "$as_me: failed program was:" >&5 |
10125 cat conftest.$ac_ext >&5 | 8491 cat conftest.$ac_ext >&5 |
10126 ac_header_preproc=no | 8492 eval "$as_ac_Header=no" |
10127 fi | 8493 fi |
10128 rm -f conftest.err conftest.$ac_ext | 8494 rm -f conftest.err conftest.$ac_ext |
10129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 8495 fi |
10130 echo "${ECHO_T}$ac_header_preproc" >&6 | 8496 echo "$as_me:8496: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10131 | |
10132 # So? What about this header? | |
10133 case $ac_header_compiler:$ac_header_preproc in | |
10134 yes:no ) | |
10135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
10136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
10137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
10138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
10139 no:yes ) | |
10140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
10141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
10142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
10143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
10144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
10145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
10146 esac | |
10147 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
10148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
10149 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
10150 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10151 else | |
10152 eval "$as_ac_Header=$ac_header_preproc" | |
10153 fi | |
10154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
10155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 8497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10156 | |
10157 fi | |
10158 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 8498 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10159 cat >>confdefs.h <<_ACEOF | 8499 cat >>confdefs.h <<EOF |
10160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 8500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10161 _ACEOF | 8501 EOF |
10162 | 8502 |
10163 fi | 8503 fi |
10164 | |
10165 done | 8504 done |
10166 | |
10167 | |
10168 | |
10169 | |
10170 | |
10171 | |
10172 | |
10173 | |
10174 | |
10175 | |
10176 | |
10177 | |
10178 | |
10179 | |
10180 | |
10181 | |
10182 | |
10183 | |
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 | 8505 |
10223 for ac_func in gethostname getdomainname dup2 \ | 8506 for ac_func in gethostname getdomainname dup2 \ |
10224 rename closedir mkdir rmdir sysinfo \ | 8507 rename closedir mkdir rmdir sysinfo \ |
10225 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ | 8508 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ |
10226 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 8509 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
10228 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ | 8511 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ |
10229 sendto recvfrom getsockopt setsockopt getsockname getpeername \ | 8512 sendto recvfrom getsockopt setsockopt getsockname getpeername \ |
10230 gai_strerror mkstemp getline getdelim | 8513 gai_strerror mkstemp getline getdelim |
10231 do | 8514 do |
10232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10233 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 8516 echo "$as_me:8516: checking for $ac_func" >&5 |
10234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
10235 if eval "test \"\${$as_ac_var+set}\" = set"; then | 8518 if eval "test \"\${$as_ac_var+set}\" = set"; then |
10236 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8519 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10237 else | 8520 else |
10238 cat >conftest.$ac_ext <<_ACEOF | 8521 cat >conftest.$ac_ext <<_ACEOF |
10239 #line $LINENO "configure" | 8522 #line 8522 "configure" |
10240 #include "confdefs.h" | 8523 #include "confdefs.h" |
10241 /* System header to define __stub macros and hopefully few prototypes, | 8524 /* System header to define __stub macros and hopefully few prototypes, |
10242 which can conflict with char $ac_func (); below. */ | 8525 which can conflict with char $ac_func (); below. */ |
10243 #include <assert.h> | 8526 #include <assert.h> |
10244 /* Override any gcc2 internal prototype to avoid an error. */ | 8527 /* Override any gcc2 internal prototype to avoid an error. */ |
10248 /* We use char because int might match the return type of a gcc2 | 8531 /* We use char because int might match the return type of a gcc2 |
10249 builtin and then its argument prototype would still apply. */ | 8532 builtin and then its argument prototype would still apply. */ |
10250 char $ac_func (); | 8533 char $ac_func (); |
10251 char (*f) (); | 8534 char (*f) (); |
10252 | 8535 |
10253 #ifdef F77_DUMMY_MAIN | |
10254 # ifdef __cplusplus | |
10255 extern "C" | |
10256 # endif | |
10257 int F77_DUMMY_MAIN() { return 1; } | |
10258 #endif | |
10259 int | 8536 int |
10260 main () | 8537 main () |
10261 { | 8538 { |
10262 /* The GNU C library defines this for functions which it implements | 8539 /* The GNU C library defines this for functions which it implements |
10263 to always fail with ENOSYS. Some functions are actually named | 8540 to always fail with ENOSYS. Some functions are actually named |
10271 ; | 8548 ; |
10272 return 0; | 8549 return 0; |
10273 } | 8550 } |
10274 _ACEOF | 8551 _ACEOF |
10275 rm -f conftest.$ac_objext conftest$ac_exeext | 8552 rm -f conftest.$ac_objext conftest$ac_exeext |
10276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8553 if { (eval echo "$as_me:8553: \"$ac_link\"") >&5 |
10277 (eval $ac_link) 2>&5 | 8554 (eval $ac_link) 2>&5 |
10278 ac_status=$? | 8555 ac_status=$? |
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8556 echo "$as_me:8556: \$? = $ac_status" >&5 |
10280 (exit $ac_status); } && | 8557 (exit $ac_status); } && |
10281 { ac_try='test -s conftest$ac_exeext' | 8558 { ac_try='test -s conftest$ac_exeext' |
10282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8559 { (eval echo "$as_me:8559: \"$ac_try\"") >&5 |
10283 (eval $ac_try) 2>&5 | 8560 (eval $ac_try) 2>&5 |
10284 ac_status=$? | 8561 ac_status=$? |
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8562 echo "$as_me:8562: \$? = $ac_status" >&5 |
10286 (exit $ac_status); }; }; then | 8563 (exit $ac_status); }; }; then |
10287 eval "$as_ac_var=yes" | 8564 eval "$as_ac_var=yes" |
10288 else | 8565 else |
10289 echo "$as_me: failed program was:" >&5 | 8566 echo "$as_me: failed program was:" >&5 |
10290 cat conftest.$ac_ext >&5 | 8567 cat conftest.$ac_ext >&5 |
10291 eval "$as_ac_var=no" | 8568 eval "$as_ac_var=no" |
10292 fi | 8569 fi |
10293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10294 fi | 8571 fi |
10295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8572 echo "$as_me:8572: result: `eval echo '${'$as_ac_var'}'`" >&5 |
10296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
10297 if test `eval echo '${'$as_ac_var'}'` = yes; then | 8574 if test `eval echo '${'$as_ac_var'}'` = yes; then |
10298 cat >>confdefs.h <<_ACEOF | 8575 cat >>confdefs.h <<EOF |
10299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10300 _ACEOF | 8577 EOF |
10301 | 8578 |
10302 fi | 8579 fi |
10303 done | 8580 done |
10304 | |
10305 | |
10306 | 8581 |
10307 for ac_header in sys/un.h | 8582 for ac_header in sys/un.h |
10308 do | 8583 do |
10309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 8584 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10310 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 8585 echo "$as_me:8585: checking for $ac_header" >&5 |
10311 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
10312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 8586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10313 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 8587 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10314 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8588 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10315 fi | 8589 else |
10316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 8590 cat >conftest.$ac_ext <<_ACEOF |
10317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 8591 #line 8591 "configure" |
10318 else | 8592 #include "confdefs.h" |
10319 # Is the header compilable? | |
10320 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
10321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
10322 cat >conftest.$ac_ext <<_ACEOF | |
10323 #line $LINENO "configure" | |
10324 #include "confdefs.h" | |
10325 $ac_includes_default | |
10326 #include <$ac_header> | 8593 #include <$ac_header> |
10327 _ACEOF | 8594 _ACEOF |
10328 rm -f conftest.$ac_objext | 8595 if { (eval echo "$as_me:8595: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
10330 (eval $ac_compile) 2>&5 | |
10331 ac_status=$? | |
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10333 (exit $ac_status); } && | |
10334 { ac_try='test -s conftest.$ac_objext' | |
10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
10336 (eval $ac_try) 2>&5 | |
10337 ac_status=$? | |
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10339 (exit $ac_status); }; }; then | |
10340 ac_header_compiler=yes | |
10341 else | |
10342 echo "$as_me: failed program was:" >&5 | |
10343 cat conftest.$ac_ext >&5 | |
10344 ac_header_compiler=no | |
10345 fi | |
10346 rm -f conftest.$ac_objext conftest.$ac_ext | |
10347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
10348 echo "${ECHO_T}$ac_header_compiler" >&6 | |
10349 | |
10350 # Is the header present? | |
10351 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
10352 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
10353 cat >conftest.$ac_ext <<_ACEOF | |
10354 #line $LINENO "configure" | |
10355 #include "confdefs.h" | |
10356 #include <$ac_header> | |
10357 _ACEOF | |
10358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
10359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 8596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10360 ac_status=$? | 8597 ac_status=$? |
10361 egrep -v '^ *\+' conftest.er1 >conftest.err | 8598 egrep -v '^ *\+' conftest.er1 >conftest.err |
10362 rm -f conftest.er1 | 8599 rm -f conftest.er1 |
10363 cat conftest.err >&5 | 8600 cat conftest.err >&5 |
10364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8601 echo "$as_me:8601: \$? = $ac_status" >&5 |
10365 (exit $ac_status); } >/dev/null; then | 8602 (exit $ac_status); } >/dev/null; then |
10366 if test -s conftest.err; then | 8603 if test -s conftest.err; then |
10367 ac_cpp_err=$ac_c_preproc_warn_flag | 8604 ac_cpp_err=$ac_c_preproc_warn_flag |
10368 else | 8605 else |
10369 ac_cpp_err= | 8606 ac_cpp_err= |
10370 fi | 8607 fi |
10371 else | 8608 else |
10372 ac_cpp_err=yes | 8609 ac_cpp_err=yes |
10373 fi | 8610 fi |
10374 if test -z "$ac_cpp_err"; then | 8611 if test -z "$ac_cpp_err"; then |
10375 ac_header_preproc=yes | 8612 eval "$as_ac_Header=yes" |
10376 else | 8613 else |
10377 echo "$as_me: failed program was:" >&5 | 8614 echo "$as_me: failed program was:" >&5 |
10378 cat conftest.$ac_ext >&5 | 8615 cat conftest.$ac_ext >&5 |
10379 ac_header_preproc=no | 8616 eval "$as_ac_Header=no" |
10380 fi | 8617 fi |
10381 rm -f conftest.err conftest.$ac_ext | 8618 rm -f conftest.err conftest.$ac_ext |
10382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 8619 fi |
10383 echo "${ECHO_T}$ac_header_preproc" >&6 | 8620 echo "$as_me:8620: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10384 | |
10385 # So? What about this header? | |
10386 case $ac_header_compiler:$ac_header_preproc in | |
10387 yes:no ) | |
10388 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
10389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
10390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
10391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
10392 no:yes ) | |
10393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
10394 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
10395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
10396 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
10397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
10398 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
10399 esac | |
10400 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
10401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
10402 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
10403 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10404 else | |
10405 eval "$as_ac_Header=$ac_header_preproc" | |
10406 fi | |
10407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
10408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 8621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10409 | |
10410 fi | |
10411 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 8622 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10412 cat >>confdefs.h <<_ACEOF | 8623 cat >>confdefs.h <<EOF |
10413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 8624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10414 _ACEOF | 8625 EOF |
10415 | 8626 |
10416 fi | 8627 fi |
10417 | |
10418 done | 8628 done |
10419 | |
10420 | |
10421 | |
10422 | 8629 |
10423 for ac_header in sys/time.h unistd.h | 8630 for ac_header in sys/time.h unistd.h |
10424 do | 8631 do |
10425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 8632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10426 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 8633 echo "$as_me:8633: checking for $ac_header" >&5 |
10427 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
10428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 8634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10429 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 8635 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10430 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8636 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10431 fi | 8637 else |
10432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 8638 cat >conftest.$ac_ext <<_ACEOF |
10433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 8639 #line 8639 "configure" |
10434 else | 8640 #include "confdefs.h" |
10435 # Is the header compilable? | |
10436 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
10437 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
10438 cat >conftest.$ac_ext <<_ACEOF | |
10439 #line $LINENO "configure" | |
10440 #include "confdefs.h" | |
10441 $ac_includes_default | |
10442 #include <$ac_header> | 8641 #include <$ac_header> |
10443 _ACEOF | 8642 _ACEOF |
10444 rm -f conftest.$ac_objext | 8643 if { (eval echo "$as_me:8643: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
10446 (eval $ac_compile) 2>&5 | |
10447 ac_status=$? | |
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10449 (exit $ac_status); } && | |
10450 { ac_try='test -s conftest.$ac_objext' | |
10451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
10452 (eval $ac_try) 2>&5 | |
10453 ac_status=$? | |
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10455 (exit $ac_status); }; }; then | |
10456 ac_header_compiler=yes | |
10457 else | |
10458 echo "$as_me: failed program was:" >&5 | |
10459 cat conftest.$ac_ext >&5 | |
10460 ac_header_compiler=no | |
10461 fi | |
10462 rm -f conftest.$ac_objext conftest.$ac_ext | |
10463 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
10464 echo "${ECHO_T}$ac_header_compiler" >&6 | |
10465 | |
10466 # Is the header present? | |
10467 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
10468 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
10469 cat >conftest.$ac_ext <<_ACEOF | |
10470 #line $LINENO "configure" | |
10471 #include "confdefs.h" | |
10472 #include <$ac_header> | |
10473 _ACEOF | |
10474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
10475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 8644 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10476 ac_status=$? | 8645 ac_status=$? |
10477 egrep -v '^ *\+' conftest.er1 >conftest.err | 8646 egrep -v '^ *\+' conftest.er1 >conftest.err |
10478 rm -f conftest.er1 | 8647 rm -f conftest.er1 |
10479 cat conftest.err >&5 | 8648 cat conftest.err >&5 |
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8649 echo "$as_me:8649: \$? = $ac_status" >&5 |
10481 (exit $ac_status); } >/dev/null; then | 8650 (exit $ac_status); } >/dev/null; then |
10482 if test -s conftest.err; then | 8651 if test -s conftest.err; then |
10483 ac_cpp_err=$ac_c_preproc_warn_flag | 8652 ac_cpp_err=$ac_c_preproc_warn_flag |
10484 else | 8653 else |
10485 ac_cpp_err= | 8654 ac_cpp_err= |
10486 fi | 8655 fi |
10487 else | 8656 else |
10488 ac_cpp_err=yes | 8657 ac_cpp_err=yes |
10489 fi | 8658 fi |
10490 if test -z "$ac_cpp_err"; then | 8659 if test -z "$ac_cpp_err"; then |
10491 ac_header_preproc=yes | 8660 eval "$as_ac_Header=yes" |
10492 else | 8661 else |
10493 echo "$as_me: failed program was:" >&5 | 8662 echo "$as_me: failed program was:" >&5 |
10494 cat conftest.$ac_ext >&5 | 8663 cat conftest.$ac_ext >&5 |
10495 ac_header_preproc=no | 8664 eval "$as_ac_Header=no" |
10496 fi | 8665 fi |
10497 rm -f conftest.err conftest.$ac_ext | 8666 rm -f conftest.err conftest.$ac_ext |
10498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 8667 fi |
10499 echo "${ECHO_T}$ac_header_preproc" >&6 | 8668 echo "$as_me:8668: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10500 | |
10501 # So? What about this header? | |
10502 case $ac_header_compiler:$ac_header_preproc in | |
10503 yes:no ) | |
10504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
10505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
10506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
10507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
10508 no:yes ) | |
10509 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
10510 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
10511 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
10512 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
10513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
10514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
10515 esac | |
10516 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
10517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
10518 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
10519 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10520 else | |
10521 eval "$as_ac_Header=$ac_header_preproc" | |
10522 fi | |
10523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
10524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 8669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10525 | |
10526 fi | |
10527 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 8670 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10528 cat >>confdefs.h <<_ACEOF | 8671 cat >>confdefs.h <<EOF |
10529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 8672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10530 _ACEOF | 8673 EOF |
10531 | 8674 |
10532 fi | 8675 fi |
10533 | |
10534 done | 8676 done |
10535 | |
10536 | 8677 |
10537 for ac_func in alarm | 8678 for ac_func in alarm |
10538 do | 8679 do |
10539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10540 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 8681 echo "$as_me:8681: checking for $ac_func" >&5 |
10541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
10542 if eval "test \"\${$as_ac_var+set}\" = set"; then | 8683 if eval "test \"\${$as_ac_var+set}\" = set"; then |
10543 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8684 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10544 else | 8685 else |
10545 cat >conftest.$ac_ext <<_ACEOF | 8686 cat >conftest.$ac_ext <<_ACEOF |
10546 #line $LINENO "configure" | 8687 #line 8687 "configure" |
10547 #include "confdefs.h" | 8688 #include "confdefs.h" |
10548 /* System header to define __stub macros and hopefully few prototypes, | 8689 /* System header to define __stub macros and hopefully few prototypes, |
10549 which can conflict with char $ac_func (); below. */ | 8690 which can conflict with char $ac_func (); below. */ |
10550 #include <assert.h> | 8691 #include <assert.h> |
10551 /* Override any gcc2 internal prototype to avoid an error. */ | 8692 /* Override any gcc2 internal prototype to avoid an error. */ |
10555 /* We use char because int might match the return type of a gcc2 | 8696 /* We use char because int might match the return type of a gcc2 |
10556 builtin and then its argument prototype would still apply. */ | 8697 builtin and then its argument prototype would still apply. */ |
10557 char $ac_func (); | 8698 char $ac_func (); |
10558 char (*f) (); | 8699 char (*f) (); |
10559 | 8700 |
10560 #ifdef F77_DUMMY_MAIN | |
10561 # ifdef __cplusplus | |
10562 extern "C" | |
10563 # endif | |
10564 int F77_DUMMY_MAIN() { return 1; } | |
10565 #endif | |
10566 int | 8701 int |
10567 main () | 8702 main () |
10568 { | 8703 { |
10569 /* The GNU C library defines this for functions which it implements | 8704 /* The GNU C library defines this for functions which it implements |
10570 to always fail with ENOSYS. Some functions are actually named | 8705 to always fail with ENOSYS. Some functions are actually named |
10578 ; | 8713 ; |
10579 return 0; | 8714 return 0; |
10580 } | 8715 } |
10581 _ACEOF | 8716 _ACEOF |
10582 rm -f conftest.$ac_objext conftest$ac_exeext | 8717 rm -f conftest.$ac_objext conftest$ac_exeext |
10583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8718 if { (eval echo "$as_me:8718: \"$ac_link\"") >&5 |
10584 (eval $ac_link) 2>&5 | 8719 (eval $ac_link) 2>&5 |
10585 ac_status=$? | 8720 ac_status=$? |
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8721 echo "$as_me:8721: \$? = $ac_status" >&5 |
10587 (exit $ac_status); } && | 8722 (exit $ac_status); } && |
10588 { ac_try='test -s conftest$ac_exeext' | 8723 { ac_try='test -s conftest$ac_exeext' |
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8724 { (eval echo "$as_me:8724: \"$ac_try\"") >&5 |
10590 (eval $ac_try) 2>&5 | 8725 (eval $ac_try) 2>&5 |
10591 ac_status=$? | 8726 ac_status=$? |
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8727 echo "$as_me:8727: \$? = $ac_status" >&5 |
10593 (exit $ac_status); }; }; then | 8728 (exit $ac_status); }; }; then |
10594 eval "$as_ac_var=yes" | 8729 eval "$as_ac_var=yes" |
10595 else | 8730 else |
10596 echo "$as_me: failed program was:" >&5 | 8731 echo "$as_me: failed program was:" >&5 |
10597 cat conftest.$ac_ext >&5 | 8732 cat conftest.$ac_ext >&5 |
10598 eval "$as_ac_var=no" | 8733 eval "$as_ac_var=no" |
10599 fi | 8734 fi |
10600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10601 fi | 8736 fi |
10602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8737 echo "$as_me:8737: result: `eval echo '${'$as_ac_var'}'`" >&5 |
10603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
10604 if test `eval echo '${'$as_ac_var'}'` = yes; then | 8739 if test `eval echo '${'$as_ac_var'}'` = yes; then |
10605 cat >>confdefs.h <<_ACEOF | 8740 cat >>confdefs.h <<EOF |
10606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10607 _ACEOF | 8742 EOF |
10608 | 8743 |
10609 fi | 8744 fi |
10610 done | 8745 done |
10611 | 8746 |
10612 echo "$as_me:$LINENO: checking for working mktime" >&5 | 8747 echo "$as_me:8747: checking for working mktime" >&5 |
10613 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 | 8748 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 |
10614 if test "${ac_cv_func_working_mktime+set}" = set; then | 8749 if test "${ac_cv_func_working_mktime+set}" = set; then |
10615 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8750 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10616 else | 8751 else |
10617 if test "$cross_compiling" = yes; then | 8752 if test "$cross_compiling" = yes; then |
10618 ac_cv_func_working_mktime=no | 8753 ac_cv_func_working_mktime=no |
10619 else | 8754 else |
10620 cat >conftest.$ac_ext <<_ACEOF | 8755 cat >conftest.$ac_ext <<_ACEOF |
10621 #line $LINENO "configure" | 8756 #line 8756 "configure" |
10622 #include "confdefs.h" | 8757 #include "confdefs.h" |
10623 /* Test program from Paul Eggert and Tony Leneis. */ | 8758 /* Test program from Paul Eggert and Tony Leneis. */ |
10624 #if TIME_WITH_SYS_TIME | 8759 #if TIME_WITH_SYS_TIME |
10625 # include <sys/time.h> | 8760 # include <sys/time.h> |
10626 # include <time.h> | 8761 # include <time.h> |
10765 spring_forward_gap (); | 8900 spring_forward_gap (); |
10766 exit (0); | 8901 exit (0); |
10767 } | 8902 } |
10768 _ACEOF | 8903 _ACEOF |
10769 rm -f conftest$ac_exeext | 8904 rm -f conftest$ac_exeext |
10770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8905 if { (eval echo "$as_me:8905: \"$ac_link\"") >&5 |
10771 (eval $ac_link) 2>&5 | 8906 (eval $ac_link) 2>&5 |
10772 ac_status=$? | 8907 ac_status=$? |
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8908 echo "$as_me:8908: \$? = $ac_status" >&5 |
10774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 8909 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8910 { (eval echo "$as_me:8910: \"$ac_try\"") >&5 |
10776 (eval $ac_try) 2>&5 | 8911 (eval $ac_try) 2>&5 |
10777 ac_status=$? | 8912 ac_status=$? |
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8913 echo "$as_me:8913: \$? = $ac_status" >&5 |
10779 (exit $ac_status); }; }; then | 8914 (exit $ac_status); }; }; then |
10780 ac_cv_func_working_mktime=yes | 8915 ac_cv_func_working_mktime=yes |
10781 else | 8916 else |
10782 echo "$as_me: program exited with status $ac_status" >&5 | 8917 echo "$as_me: program exited with status $ac_status" >&5 |
10783 echo "$as_me: failed program was:" >&5 | 8918 echo "$as_me: failed program was:" >&5 |
10784 cat conftest.$ac_ext >&5 | 8919 cat conftest.$ac_ext >&5 |
10785 ( exit $ac_status ) | |
10786 ac_cv_func_working_mktime=no | 8920 ac_cv_func_working_mktime=no |
10787 fi | 8921 fi |
10788 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8922 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10789 fi | 8923 fi |
10790 fi | 8924 fi |
10791 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 | 8925 echo "$as_me:8925: result: $ac_cv_func_working_mktime" >&5 |
10792 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 | 8926 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 |
10793 if test $ac_cv_func_working_mktime = no; then | 8927 if test $ac_cv_func_working_mktime = no; then |
10794 LIBOBJS="$LIBOBJS mktime.$ac_objext" | 8928 LIBOBJS="$LIBOBJS mktime.$ac_objext" |
10795 fi | 8929 fi |
10796 | 8930 |
10797 if test "$ac_cv_func_working_mktime" = no; then | 8931 if test "$ac_cv_func_working_mktime" = no; then |
10798 | 8932 |
10799 cat >>confdefs.h <<\_ACEOF | 8933 cat >>confdefs.h <<\EOF |
10800 #define BROKEN_MKTIME 1 | 8934 #define BROKEN_MKTIME 1 |
10801 _ACEOF | 8935 EOF |
10802 | 8936 |
10803 fi | 8937 fi |
10804 | 8938 |
10805 ac_have_func=no # yes means we've found a way to get the load average. | 8939 ac_have_func=no # yes means we've found a way to get the load average. |
10806 | 8940 |
10807 ac_save_LIBS=$LIBS | 8941 ac_save_LIBS=$LIBS |
10808 | 8942 |
10809 # Check for getloadavg, but be sure not to touch the cache variable. | 8943 # Check for getloadavg, but be sure not to touch the cache variable. |
10810 (echo "$as_me:$LINENO: checking for getloadavg" >&5 | 8944 (echo "$as_me:8944: checking for getloadavg" >&5 |
10811 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 | 8945 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 |
10812 if test "${ac_cv_func_getloadavg+set}" = set; then | 8946 if test "${ac_cv_func_getloadavg+set}" = set; then |
10813 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8947 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10814 else | 8948 else |
10815 cat >conftest.$ac_ext <<_ACEOF | 8949 cat >conftest.$ac_ext <<_ACEOF |
10816 #line $LINENO "configure" | 8950 #line 8950 "configure" |
10817 #include "confdefs.h" | 8951 #include "confdefs.h" |
10818 /* System header to define __stub macros and hopefully few prototypes, | 8952 /* System header to define __stub macros and hopefully few prototypes, |
10819 which can conflict with char getloadavg (); below. */ | 8953 which can conflict with char getloadavg (); below. */ |
10820 #include <assert.h> | 8954 #include <assert.h> |
10821 /* Override any gcc2 internal prototype to avoid an error. */ | 8955 /* Override any gcc2 internal prototype to avoid an error. */ |
10825 /* We use char because int might match the return type of a gcc2 | 8959 /* We use char because int might match the return type of a gcc2 |
10826 builtin and then its argument prototype would still apply. */ | 8960 builtin and then its argument prototype would still apply. */ |
10827 char getloadavg (); | 8961 char getloadavg (); |
10828 char (*f) (); | 8962 char (*f) (); |
10829 | 8963 |
10830 #ifdef F77_DUMMY_MAIN | |
10831 # ifdef __cplusplus | |
10832 extern "C" | |
10833 # endif | |
10834 int F77_DUMMY_MAIN() { return 1; } | |
10835 #endif | |
10836 int | 8964 int |
10837 main () | 8965 main () |
10838 { | 8966 { |
10839 /* The GNU C library defines this for functions which it implements | 8967 /* The GNU C library defines this for functions which it implements |
10840 to always fail with ENOSYS. Some functions are actually named | 8968 to always fail with ENOSYS. Some functions are actually named |
10848 ; | 8976 ; |
10849 return 0; | 8977 return 0; |
10850 } | 8978 } |
10851 _ACEOF | 8979 _ACEOF |
10852 rm -f conftest.$ac_objext conftest$ac_exeext | 8980 rm -f conftest.$ac_objext conftest$ac_exeext |
10853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8981 if { (eval echo "$as_me:8981: \"$ac_link\"") >&5 |
10854 (eval $ac_link) 2>&5 | 8982 (eval $ac_link) 2>&5 |
10855 ac_status=$? | 8983 ac_status=$? |
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8984 echo "$as_me:8984: \$? = $ac_status" >&5 |
10857 (exit $ac_status); } && | 8985 (exit $ac_status); } && |
10858 { ac_try='test -s conftest$ac_exeext' | 8986 { ac_try='test -s conftest$ac_exeext' |
10859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8987 { (eval echo "$as_me:8987: \"$ac_try\"") >&5 |
10860 (eval $ac_try) 2>&5 | 8988 (eval $ac_try) 2>&5 |
10861 ac_status=$? | 8989 ac_status=$? |
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8990 echo "$as_me:8990: \$? = $ac_status" >&5 |
10863 (exit $ac_status); }; }; then | 8991 (exit $ac_status); }; }; then |
10864 ac_cv_func_getloadavg=yes | 8992 ac_cv_func_getloadavg=yes |
10865 else | 8993 else |
10866 echo "$as_me: failed program was:" >&5 | 8994 echo "$as_me: failed program was:" >&5 |
10867 cat conftest.$ac_ext >&5 | 8995 cat conftest.$ac_ext >&5 |
10868 ac_cv_func_getloadavg=no | 8996 ac_cv_func_getloadavg=no |
10869 fi | 8997 fi |
10870 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10871 fi | 8999 fi |
10872 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 | 9000 echo "$as_me:9000: result: $ac_cv_func_getloadavg" >&5 |
10873 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 | 9001 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 |
10874 if test $ac_cv_func_getloadavg = yes; then | 9002 if test $ac_cv_func_getloadavg = yes; then |
10875 exit 0 | 9003 exit 0 |
10876 else | 9004 else |
10877 exit 1 | 9005 exit 1 |
10881 # On HPUX9, an unprivileged user can get load averages through this function. | 9009 # On HPUX9, an unprivileged user can get load averages through this function. |
10882 | 9010 |
10883 for ac_func in pstat_getdynamic | 9011 for ac_func in pstat_getdynamic |
10884 do | 9012 do |
10885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10886 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 9014 echo "$as_me:9014: checking for $ac_func" >&5 |
10887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 9015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
10888 if eval "test \"\${$as_ac_var+set}\" = set"; then | 9016 if eval "test \"\${$as_ac_var+set}\" = set"; then |
10889 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9017 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10890 else | 9018 else |
10891 cat >conftest.$ac_ext <<_ACEOF | 9019 cat >conftest.$ac_ext <<_ACEOF |
10892 #line $LINENO "configure" | 9020 #line 9020 "configure" |
10893 #include "confdefs.h" | 9021 #include "confdefs.h" |
10894 /* System header to define __stub macros and hopefully few prototypes, | 9022 /* System header to define __stub macros and hopefully few prototypes, |
10895 which can conflict with char $ac_func (); below. */ | 9023 which can conflict with char $ac_func (); below. */ |
10896 #include <assert.h> | 9024 #include <assert.h> |
10897 /* Override any gcc2 internal prototype to avoid an error. */ | 9025 /* Override any gcc2 internal prototype to avoid an error. */ |
10901 /* We use char because int might match the return type of a gcc2 | 9029 /* We use char because int might match the return type of a gcc2 |
10902 builtin and then its argument prototype would still apply. */ | 9030 builtin and then its argument prototype would still apply. */ |
10903 char $ac_func (); | 9031 char $ac_func (); |
10904 char (*f) (); | 9032 char (*f) (); |
10905 | 9033 |
10906 #ifdef F77_DUMMY_MAIN | |
10907 # ifdef __cplusplus | |
10908 extern "C" | |
10909 # endif | |
10910 int F77_DUMMY_MAIN() { return 1; } | |
10911 #endif | |
10912 int | 9034 int |
10913 main () | 9035 main () |
10914 { | 9036 { |
10915 /* The GNU C library defines this for functions which it implements | 9037 /* The GNU C library defines this for functions which it implements |
10916 to always fail with ENOSYS. Some functions are actually named | 9038 to always fail with ENOSYS. Some functions are actually named |
10924 ; | 9046 ; |
10925 return 0; | 9047 return 0; |
10926 } | 9048 } |
10927 _ACEOF | 9049 _ACEOF |
10928 rm -f conftest.$ac_objext conftest$ac_exeext | 9050 rm -f conftest.$ac_objext conftest$ac_exeext |
10929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9051 if { (eval echo "$as_me:9051: \"$ac_link\"") >&5 |
10930 (eval $ac_link) 2>&5 | 9052 (eval $ac_link) 2>&5 |
10931 ac_status=$? | 9053 ac_status=$? |
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9054 echo "$as_me:9054: \$? = $ac_status" >&5 |
10933 (exit $ac_status); } && | 9055 (exit $ac_status); } && |
10934 { ac_try='test -s conftest$ac_exeext' | 9056 { ac_try='test -s conftest$ac_exeext' |
10935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9057 { (eval echo "$as_me:9057: \"$ac_try\"") >&5 |
10936 (eval $ac_try) 2>&5 | 9058 (eval $ac_try) 2>&5 |
10937 ac_status=$? | 9059 ac_status=$? |
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9060 echo "$as_me:9060: \$? = $ac_status" >&5 |
10939 (exit $ac_status); }; }; then | 9061 (exit $ac_status); }; }; then |
10940 eval "$as_ac_var=yes" | 9062 eval "$as_ac_var=yes" |
10941 else | 9063 else |
10942 echo "$as_me: failed program was:" >&5 | 9064 echo "$as_me: failed program was:" >&5 |
10943 cat conftest.$ac_ext >&5 | 9065 cat conftest.$ac_ext >&5 |
10944 eval "$as_ac_var=no" | 9066 eval "$as_ac_var=no" |
10945 fi | 9067 fi |
10946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9068 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10947 fi | 9069 fi |
10948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 9070 echo "$as_me:9070: result: `eval echo '${'$as_ac_var'}'`" >&5 |
10949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 9071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
10950 if test `eval echo '${'$as_ac_var'}'` = yes; then | 9072 if test `eval echo '${'$as_ac_var'}'` = yes; then |
10951 cat >>confdefs.h <<_ACEOF | 9073 cat >>confdefs.h <<EOF |
10952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10953 _ACEOF | 9075 EOF |
10954 | 9076 |
10955 fi | 9077 fi |
10956 done | 9078 done |
10957 | 9079 |
10958 | |
10959 # Solaris has libkstat which does not require root. | 9080 # Solaris has libkstat which does not require root. |
10960 | 9081 |
10961 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 | 9082 echo "$as_me:9082: checking for kstat_open in -lkstat" >&5 |
10962 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 | 9083 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 |
10963 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then | 9084 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then |
10964 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9085 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10965 else | 9086 else |
10966 ac_check_lib_save_LIBS=$LIBS | 9087 ac_check_lib_save_LIBS=$LIBS |
10967 LIBS="-lkstat $LIBS" | 9088 LIBS="-lkstat $LIBS" |
10968 cat >conftest.$ac_ext <<_ACEOF | 9089 cat >conftest.$ac_ext <<_ACEOF |
10969 #line $LINENO "configure" | 9090 #line 9090 "configure" |
10970 #include "confdefs.h" | 9091 #include "confdefs.h" |
10971 | 9092 |
10972 /* Override any gcc2 internal prototype to avoid an error. */ | 9093 /* Override any gcc2 internal prototype to avoid an error. */ |
10973 #ifdef __cplusplus | 9094 #ifdef __cplusplus |
10974 extern "C" | 9095 extern "C" |
10975 #endif | 9096 #endif |
10976 /* We use char because int might match the return type of a gcc2 | 9097 /* We use char because int might match the return type of a gcc2 |
10977 builtin and then its argument prototype would still apply. */ | 9098 builtin and then its argument prototype would still apply. */ |
10978 char kstat_open (); | 9099 char kstat_open (); |
10979 #ifdef F77_DUMMY_MAIN | |
10980 # ifdef __cplusplus | |
10981 extern "C" | |
10982 # endif | |
10983 int F77_DUMMY_MAIN() { return 1; } | |
10984 #endif | |
10985 int | 9100 int |
10986 main () | 9101 main () |
10987 { | 9102 { |
10988 kstat_open (); | 9103 kstat_open (); |
10989 ; | 9104 ; |
10990 return 0; | 9105 return 0; |
10991 } | 9106 } |
10992 _ACEOF | 9107 _ACEOF |
10993 rm -f conftest.$ac_objext conftest$ac_exeext | 9108 rm -f conftest.$ac_objext conftest$ac_exeext |
10994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9109 if { (eval echo "$as_me:9109: \"$ac_link\"") >&5 |
10995 (eval $ac_link) 2>&5 | 9110 (eval $ac_link) 2>&5 |
10996 ac_status=$? | 9111 ac_status=$? |
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9112 echo "$as_me:9112: \$? = $ac_status" >&5 |
10998 (exit $ac_status); } && | 9113 (exit $ac_status); } && |
10999 { ac_try='test -s conftest$ac_exeext' | 9114 { ac_try='test -s conftest$ac_exeext' |
11000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9115 { (eval echo "$as_me:9115: \"$ac_try\"") >&5 |
11001 (eval $ac_try) 2>&5 | 9116 (eval $ac_try) 2>&5 |
11002 ac_status=$? | 9117 ac_status=$? |
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9118 echo "$as_me:9118: \$? = $ac_status" >&5 |
11004 (exit $ac_status); }; }; then | 9119 (exit $ac_status); }; }; then |
11005 ac_cv_lib_kstat_kstat_open=yes | 9120 ac_cv_lib_kstat_kstat_open=yes |
11006 else | 9121 else |
11007 echo "$as_me: failed program was:" >&5 | 9122 echo "$as_me: failed program was:" >&5 |
11008 cat conftest.$ac_ext >&5 | 9123 cat conftest.$ac_ext >&5 |
11009 ac_cv_lib_kstat_kstat_open=no | 9124 ac_cv_lib_kstat_kstat_open=no |
11010 fi | 9125 fi |
11011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11012 LIBS=$ac_check_lib_save_LIBS | 9127 LIBS=$ac_check_lib_save_LIBS |
11013 fi | 9128 fi |
11014 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 | 9129 echo "$as_me:9129: result: $ac_cv_lib_kstat_kstat_open" >&5 |
11015 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 | 9130 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 |
11016 if test $ac_cv_lib_kstat_kstat_open = yes; then | 9131 if test $ac_cv_lib_kstat_kstat_open = yes; then |
11017 cat >>confdefs.h <<_ACEOF | 9132 cat >>confdefs.h <<EOF |
11018 #define HAVE_LIBKSTAT 1 | 9133 #define HAVE_LIBKSTAT 1 |
11019 _ACEOF | 9134 EOF |
11020 | 9135 |
11021 LIBS="-lkstat $LIBS" | 9136 LIBS="-lkstat $LIBS" |
11022 | 9137 |
11023 fi | 9138 fi |
11024 | 9139 |
11027 # Some systems with -lutil have (and need) -lkvm as well, some do not. | 9142 # Some systems with -lutil have (and need) -lkvm as well, some do not. |
11028 # On Solaris, -lkvm requires nlist from -lelf, so check that first | 9143 # On Solaris, -lkvm requires nlist from -lelf, so check that first |
11029 # to get the right answer into the cache. | 9144 # to get the right answer into the cache. |
11030 # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 9145 # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
11031 if test $ac_have_func = no; then | 9146 if test $ac_have_func = no; then |
11032 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 | 9147 echo "$as_me:9147: checking for elf_begin in -lelf" >&5 |
11033 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 | 9148 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 |
11034 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | 9149 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then |
11035 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9150 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11036 else | 9151 else |
11037 ac_check_lib_save_LIBS=$LIBS | 9152 ac_check_lib_save_LIBS=$LIBS |
11038 LIBS="-lelf $LIBS" | 9153 LIBS="-lelf $LIBS" |
11039 cat >conftest.$ac_ext <<_ACEOF | 9154 cat >conftest.$ac_ext <<_ACEOF |
11040 #line $LINENO "configure" | 9155 #line 9155 "configure" |
11041 #include "confdefs.h" | 9156 #include "confdefs.h" |
11042 | 9157 |
11043 /* Override any gcc2 internal prototype to avoid an error. */ | 9158 /* Override any gcc2 internal prototype to avoid an error. */ |
11044 #ifdef __cplusplus | 9159 #ifdef __cplusplus |
11045 extern "C" | 9160 extern "C" |
11046 #endif | 9161 #endif |
11047 /* We use char because int might match the return type of a gcc2 | 9162 /* We use char because int might match the return type of a gcc2 |
11048 builtin and then its argument prototype would still apply. */ | 9163 builtin and then its argument prototype would still apply. */ |
11049 char elf_begin (); | 9164 char elf_begin (); |
11050 #ifdef F77_DUMMY_MAIN | |
11051 # ifdef __cplusplus | |
11052 extern "C" | |
11053 # endif | |
11054 int F77_DUMMY_MAIN() { return 1; } | |
11055 #endif | |
11056 int | 9165 int |
11057 main () | 9166 main () |
11058 { | 9167 { |
11059 elf_begin (); | 9168 elf_begin (); |
11060 ; | 9169 ; |
11061 return 0; | 9170 return 0; |
11062 } | 9171 } |
11063 _ACEOF | 9172 _ACEOF |
11064 rm -f conftest.$ac_objext conftest$ac_exeext | 9173 rm -f conftest.$ac_objext conftest$ac_exeext |
11065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9174 if { (eval echo "$as_me:9174: \"$ac_link\"") >&5 |
11066 (eval $ac_link) 2>&5 | 9175 (eval $ac_link) 2>&5 |
11067 ac_status=$? | 9176 ac_status=$? |
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9177 echo "$as_me:9177: \$? = $ac_status" >&5 |
11069 (exit $ac_status); } && | 9178 (exit $ac_status); } && |
11070 { ac_try='test -s conftest$ac_exeext' | 9179 { ac_try='test -s conftest$ac_exeext' |
11071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9180 { (eval echo "$as_me:9180: \"$ac_try\"") >&5 |
11072 (eval $ac_try) 2>&5 | 9181 (eval $ac_try) 2>&5 |
11073 ac_status=$? | 9182 ac_status=$? |
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9183 echo "$as_me:9183: \$? = $ac_status" >&5 |
11075 (exit $ac_status); }; }; then | 9184 (exit $ac_status); }; }; then |
11076 ac_cv_lib_elf_elf_begin=yes | 9185 ac_cv_lib_elf_elf_begin=yes |
11077 else | 9186 else |
11078 echo "$as_me: failed program was:" >&5 | 9187 echo "$as_me: failed program was:" >&5 |
11079 cat conftest.$ac_ext >&5 | 9188 cat conftest.$ac_ext >&5 |
11080 ac_cv_lib_elf_elf_begin=no | 9189 ac_cv_lib_elf_elf_begin=no |
11081 fi | 9190 fi |
11082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11083 LIBS=$ac_check_lib_save_LIBS | 9192 LIBS=$ac_check_lib_save_LIBS |
11084 fi | 9193 fi |
11085 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 | 9194 echo "$as_me:9194: result: $ac_cv_lib_elf_elf_begin" >&5 |
11086 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 | 9195 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 |
11087 if test $ac_cv_lib_elf_elf_begin = yes; then | 9196 if test $ac_cv_lib_elf_elf_begin = yes; then |
11088 LIBS="-lelf $LIBS" | 9197 LIBS="-lelf $LIBS" |
11089 fi | 9198 fi |
11090 | 9199 |
11091 fi | 9200 fi |
11092 if test $ac_have_func = no; then | 9201 if test $ac_have_func = no; then |
11093 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 | 9202 echo "$as_me:9202: checking for kvm_open in -lkvm" >&5 |
11094 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 | 9203 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 |
11095 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then | 9204 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then |
11096 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9205 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11097 else | 9206 else |
11098 ac_check_lib_save_LIBS=$LIBS | 9207 ac_check_lib_save_LIBS=$LIBS |
11099 LIBS="-lkvm $LIBS" | 9208 LIBS="-lkvm $LIBS" |
11100 cat >conftest.$ac_ext <<_ACEOF | 9209 cat >conftest.$ac_ext <<_ACEOF |
11101 #line $LINENO "configure" | 9210 #line 9210 "configure" |
11102 #include "confdefs.h" | 9211 #include "confdefs.h" |
11103 | 9212 |
11104 /* Override any gcc2 internal prototype to avoid an error. */ | 9213 /* Override any gcc2 internal prototype to avoid an error. */ |
11105 #ifdef __cplusplus | 9214 #ifdef __cplusplus |
11106 extern "C" | 9215 extern "C" |
11107 #endif | 9216 #endif |
11108 /* We use char because int might match the return type of a gcc2 | 9217 /* We use char because int might match the return type of a gcc2 |
11109 builtin and then its argument prototype would still apply. */ | 9218 builtin and then its argument prototype would still apply. */ |
11110 char kvm_open (); | 9219 char kvm_open (); |
11111 #ifdef F77_DUMMY_MAIN | |
11112 # ifdef __cplusplus | |
11113 extern "C" | |
11114 # endif | |
11115 int F77_DUMMY_MAIN() { return 1; } | |
11116 #endif | |
11117 int | 9220 int |
11118 main () | 9221 main () |
11119 { | 9222 { |
11120 kvm_open (); | 9223 kvm_open (); |
11121 ; | 9224 ; |
11122 return 0; | 9225 return 0; |
11123 } | 9226 } |
11124 _ACEOF | 9227 _ACEOF |
11125 rm -f conftest.$ac_objext conftest$ac_exeext | 9228 rm -f conftest.$ac_objext conftest$ac_exeext |
11126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9229 if { (eval echo "$as_me:9229: \"$ac_link\"") >&5 |
11127 (eval $ac_link) 2>&5 | 9230 (eval $ac_link) 2>&5 |
11128 ac_status=$? | 9231 ac_status=$? |
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9232 echo "$as_me:9232: \$? = $ac_status" >&5 |
11130 (exit $ac_status); } && | 9233 (exit $ac_status); } && |
11131 { ac_try='test -s conftest$ac_exeext' | 9234 { ac_try='test -s conftest$ac_exeext' |
11132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9235 { (eval echo "$as_me:9235: \"$ac_try\"") >&5 |
11133 (eval $ac_try) 2>&5 | 9236 (eval $ac_try) 2>&5 |
11134 ac_status=$? | 9237 ac_status=$? |
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9238 echo "$as_me:9238: \$? = $ac_status" >&5 |
11136 (exit $ac_status); }; }; then | 9239 (exit $ac_status); }; }; then |
11137 ac_cv_lib_kvm_kvm_open=yes | 9240 ac_cv_lib_kvm_kvm_open=yes |
11138 else | 9241 else |
11139 echo "$as_me: failed program was:" >&5 | 9242 echo "$as_me: failed program was:" >&5 |
11140 cat conftest.$ac_ext >&5 | 9243 cat conftest.$ac_ext >&5 |
11141 ac_cv_lib_kvm_kvm_open=no | 9244 ac_cv_lib_kvm_kvm_open=no |
11142 fi | 9245 fi |
11143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11144 LIBS=$ac_check_lib_save_LIBS | 9247 LIBS=$ac_check_lib_save_LIBS |
11145 fi | 9248 fi |
11146 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 | 9249 echo "$as_me:9249: result: $ac_cv_lib_kvm_kvm_open" >&5 |
11147 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 | 9250 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 |
11148 if test $ac_cv_lib_kvm_kvm_open = yes; then | 9251 if test $ac_cv_lib_kvm_kvm_open = yes; then |
11149 LIBS="-lkvm $LIBS" | 9252 LIBS="-lkvm $LIBS" |
11150 fi | 9253 fi |
11151 | 9254 |
11152 # Check for the 4.4BSD definition of getloadavg. | 9255 # Check for the 4.4BSD definition of getloadavg. |
11153 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 | 9256 echo "$as_me:9256: checking for getloadavg in -lutil" >&5 |
11154 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 | 9257 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 |
11155 if test "${ac_cv_lib_util_getloadavg+set}" = set; then | 9258 if test "${ac_cv_lib_util_getloadavg+set}" = set; then |
11156 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9259 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11157 else | 9260 else |
11158 ac_check_lib_save_LIBS=$LIBS | 9261 ac_check_lib_save_LIBS=$LIBS |
11159 LIBS="-lutil $LIBS" | 9262 LIBS="-lutil $LIBS" |
11160 cat >conftest.$ac_ext <<_ACEOF | 9263 cat >conftest.$ac_ext <<_ACEOF |
11161 #line $LINENO "configure" | 9264 #line 9264 "configure" |
11162 #include "confdefs.h" | 9265 #include "confdefs.h" |
11163 | 9266 |
11164 /* Override any gcc2 internal prototype to avoid an error. */ | 9267 /* Override any gcc2 internal prototype to avoid an error. */ |
11165 #ifdef __cplusplus | 9268 #ifdef __cplusplus |
11166 extern "C" | 9269 extern "C" |
11167 #endif | 9270 #endif |
11168 /* We use char because int might match the return type of a gcc2 | 9271 /* We use char because int might match the return type of a gcc2 |
11169 builtin and then its argument prototype would still apply. */ | 9272 builtin and then its argument prototype would still apply. */ |
11170 char getloadavg (); | 9273 char getloadavg (); |
11171 #ifdef F77_DUMMY_MAIN | |
11172 # ifdef __cplusplus | |
11173 extern "C" | |
11174 # endif | |
11175 int F77_DUMMY_MAIN() { return 1; } | |
11176 #endif | |
11177 int | 9274 int |
11178 main () | 9275 main () |
11179 { | 9276 { |
11180 getloadavg (); | 9277 getloadavg (); |
11181 ; | 9278 ; |
11182 return 0; | 9279 return 0; |
11183 } | 9280 } |
11184 _ACEOF | 9281 _ACEOF |
11185 rm -f conftest.$ac_objext conftest$ac_exeext | 9282 rm -f conftest.$ac_objext conftest$ac_exeext |
11186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9283 if { (eval echo "$as_me:9283: \"$ac_link\"") >&5 |
11187 (eval $ac_link) 2>&5 | 9284 (eval $ac_link) 2>&5 |
11188 ac_status=$? | 9285 ac_status=$? |
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9286 echo "$as_me:9286: \$? = $ac_status" >&5 |
11190 (exit $ac_status); } && | 9287 (exit $ac_status); } && |
11191 { ac_try='test -s conftest$ac_exeext' | 9288 { ac_try='test -s conftest$ac_exeext' |
11192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9289 { (eval echo "$as_me:9289: \"$ac_try\"") >&5 |
11193 (eval $ac_try) 2>&5 | 9290 (eval $ac_try) 2>&5 |
11194 ac_status=$? | 9291 ac_status=$? |
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9292 echo "$as_me:9292: \$? = $ac_status" >&5 |
11196 (exit $ac_status); }; }; then | 9293 (exit $ac_status); }; }; then |
11197 ac_cv_lib_util_getloadavg=yes | 9294 ac_cv_lib_util_getloadavg=yes |
11198 else | 9295 else |
11199 echo "$as_me: failed program was:" >&5 | 9296 echo "$as_me: failed program was:" >&5 |
11200 cat conftest.$ac_ext >&5 | 9297 cat conftest.$ac_ext >&5 |
11201 ac_cv_lib_util_getloadavg=no | 9298 ac_cv_lib_util_getloadavg=no |
11202 fi | 9299 fi |
11203 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9300 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11204 LIBS=$ac_check_lib_save_LIBS | 9301 LIBS=$ac_check_lib_save_LIBS |
11205 fi | 9302 fi |
11206 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 | 9303 echo "$as_me:9303: result: $ac_cv_lib_util_getloadavg" >&5 |
11207 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 | 9304 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 |
11208 if test $ac_cv_lib_util_getloadavg = yes; then | 9305 if test $ac_cv_lib_util_getloadavg = yes; then |
11209 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 9306 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
11210 fi | 9307 fi |
11211 | 9308 |
11214 if test $ac_have_func = no; then | 9311 if test $ac_have_func = no; then |
11215 # There is a commonly available library for RS/6000 AIX. | 9312 # There is a commonly available library for RS/6000 AIX. |
11216 # Since it is not a standard part of AIX, it might be installed locally. | 9313 # Since it is not a standard part of AIX, it might be installed locally. |
11217 ac_getloadavg_LIBS=$LIBS | 9314 ac_getloadavg_LIBS=$LIBS |
11218 LIBS="-L/usr/local/lib $LIBS" | 9315 LIBS="-L/usr/local/lib $LIBS" |
11219 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 | 9316 echo "$as_me:9316: checking for getloadavg in -lgetloadavg" >&5 |
11220 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 | 9317 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 |
11221 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then | 9318 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then |
11222 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9319 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11223 else | 9320 else |
11224 ac_check_lib_save_LIBS=$LIBS | 9321 ac_check_lib_save_LIBS=$LIBS |
11225 LIBS="-lgetloadavg $LIBS" | 9322 LIBS="-lgetloadavg $LIBS" |
11226 cat >conftest.$ac_ext <<_ACEOF | 9323 cat >conftest.$ac_ext <<_ACEOF |
11227 #line $LINENO "configure" | 9324 #line 9324 "configure" |
11228 #include "confdefs.h" | 9325 #include "confdefs.h" |
11229 | 9326 |
11230 /* Override any gcc2 internal prototype to avoid an error. */ | 9327 /* Override any gcc2 internal prototype to avoid an error. */ |
11231 #ifdef __cplusplus | 9328 #ifdef __cplusplus |
11232 extern "C" | 9329 extern "C" |
11233 #endif | 9330 #endif |
11234 /* We use char because int might match the return type of a gcc2 | 9331 /* We use char because int might match the return type of a gcc2 |
11235 builtin and then its argument prototype would still apply. */ | 9332 builtin and then its argument prototype would still apply. */ |
11236 char getloadavg (); | 9333 char getloadavg (); |
11237 #ifdef F77_DUMMY_MAIN | |
11238 # ifdef __cplusplus | |
11239 extern "C" | |
11240 # endif | |
11241 int F77_DUMMY_MAIN() { return 1; } | |
11242 #endif | |
11243 int | 9334 int |
11244 main () | 9335 main () |
11245 { | 9336 { |
11246 getloadavg (); | 9337 getloadavg (); |
11247 ; | 9338 ; |
11248 return 0; | 9339 return 0; |
11249 } | 9340 } |
11250 _ACEOF | 9341 _ACEOF |
11251 rm -f conftest.$ac_objext conftest$ac_exeext | 9342 rm -f conftest.$ac_objext conftest$ac_exeext |
11252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9343 if { (eval echo "$as_me:9343: \"$ac_link\"") >&5 |
11253 (eval $ac_link) 2>&5 | 9344 (eval $ac_link) 2>&5 |
11254 ac_status=$? | 9345 ac_status=$? |
11255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9346 echo "$as_me:9346: \$? = $ac_status" >&5 |
11256 (exit $ac_status); } && | 9347 (exit $ac_status); } && |
11257 { ac_try='test -s conftest$ac_exeext' | 9348 { ac_try='test -s conftest$ac_exeext' |
11258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9349 { (eval echo "$as_me:9349: \"$ac_try\"") >&5 |
11259 (eval $ac_try) 2>&5 | 9350 (eval $ac_try) 2>&5 |
11260 ac_status=$? | 9351 ac_status=$? |
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9352 echo "$as_me:9352: \$? = $ac_status" >&5 |
11262 (exit $ac_status); }; }; then | 9353 (exit $ac_status); }; }; then |
11263 ac_cv_lib_getloadavg_getloadavg=yes | 9354 ac_cv_lib_getloadavg_getloadavg=yes |
11264 else | 9355 else |
11265 echo "$as_me: failed program was:" >&5 | 9356 echo "$as_me: failed program was:" >&5 |
11266 cat conftest.$ac_ext >&5 | 9357 cat conftest.$ac_ext >&5 |
11267 ac_cv_lib_getloadavg_getloadavg=no | 9358 ac_cv_lib_getloadavg_getloadavg=no |
11268 fi | 9359 fi |
11269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9360 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11270 LIBS=$ac_check_lib_save_LIBS | 9361 LIBS=$ac_check_lib_save_LIBS |
11271 fi | 9362 fi |
11272 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 9363 echo "$as_me:9363: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
11273 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 | 9364 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 |
11274 if test $ac_cv_lib_getloadavg_getloadavg = yes; then | 9365 if test $ac_cv_lib_getloadavg_getloadavg = yes; then |
11275 LIBS="-lgetloadavg $LIBS" | 9366 LIBS="-lgetloadavg $LIBS" |
11276 else | 9367 else |
11277 LIBS=$ac_getloadavg_LIBS | 9368 LIBS=$ac_getloadavg_LIBS |
11283 # otherwise set up the replacement function. | 9374 # otherwise set up the replacement function. |
11284 | 9375 |
11285 for ac_func in getloadavg | 9376 for ac_func in getloadavg |
11286 do | 9377 do |
11287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11288 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 9379 echo "$as_me:9379: checking for $ac_func" >&5 |
11289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 9380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
11290 if eval "test \"\${$as_ac_var+set}\" = set"; then | 9381 if eval "test \"\${$as_ac_var+set}\" = set"; then |
11291 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9382 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11292 else | 9383 else |
11293 cat >conftest.$ac_ext <<_ACEOF | 9384 cat >conftest.$ac_ext <<_ACEOF |
11294 #line $LINENO "configure" | 9385 #line 9385 "configure" |
11295 #include "confdefs.h" | 9386 #include "confdefs.h" |
11296 /* System header to define __stub macros and hopefully few prototypes, | 9387 /* System header to define __stub macros and hopefully few prototypes, |
11297 which can conflict with char $ac_func (); below. */ | 9388 which can conflict with char $ac_func (); below. */ |
11298 #include <assert.h> | 9389 #include <assert.h> |
11299 /* Override any gcc2 internal prototype to avoid an error. */ | 9390 /* Override any gcc2 internal prototype to avoid an error. */ |
11303 /* We use char because int might match the return type of a gcc2 | 9394 /* We use char because int might match the return type of a gcc2 |
11304 builtin and then its argument prototype would still apply. */ | 9395 builtin and then its argument prototype would still apply. */ |
11305 char $ac_func (); | 9396 char $ac_func (); |
11306 char (*f) (); | 9397 char (*f) (); |
11307 | 9398 |
11308 #ifdef F77_DUMMY_MAIN | |
11309 # ifdef __cplusplus | |
11310 extern "C" | |
11311 # endif | |
11312 int F77_DUMMY_MAIN() { return 1; } | |
11313 #endif | |
11314 int | 9399 int |
11315 main () | 9400 main () |
11316 { | 9401 { |
11317 /* The GNU C library defines this for functions which it implements | 9402 /* The GNU C library defines this for functions which it implements |
11318 to always fail with ENOSYS. Some functions are actually named | 9403 to always fail with ENOSYS. Some functions are actually named |
11326 ; | 9411 ; |
11327 return 0; | 9412 return 0; |
11328 } | 9413 } |
11329 _ACEOF | 9414 _ACEOF |
11330 rm -f conftest.$ac_objext conftest$ac_exeext | 9415 rm -f conftest.$ac_objext conftest$ac_exeext |
11331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9416 if { (eval echo "$as_me:9416: \"$ac_link\"") >&5 |
11332 (eval $ac_link) 2>&5 | 9417 (eval $ac_link) 2>&5 |
11333 ac_status=$? | 9418 ac_status=$? |
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9419 echo "$as_me:9419: \$? = $ac_status" >&5 |
11335 (exit $ac_status); } && | 9420 (exit $ac_status); } && |
11336 { ac_try='test -s conftest$ac_exeext' | 9421 { ac_try='test -s conftest$ac_exeext' |
11337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9422 { (eval echo "$as_me:9422: \"$ac_try\"") >&5 |
11338 (eval $ac_try) 2>&5 | 9423 (eval $ac_try) 2>&5 |
11339 ac_status=$? | 9424 ac_status=$? |
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9425 echo "$as_me:9425: \$? = $ac_status" >&5 |
11341 (exit $ac_status); }; }; then | 9426 (exit $ac_status); }; }; then |
11342 eval "$as_ac_var=yes" | 9427 eval "$as_ac_var=yes" |
11343 else | 9428 else |
11344 echo "$as_me: failed program was:" >&5 | 9429 echo "$as_me: failed program was:" >&5 |
11345 cat conftest.$ac_ext >&5 | 9430 cat conftest.$ac_ext >&5 |
11346 eval "$as_ac_var=no" | 9431 eval "$as_ac_var=no" |
11347 fi | 9432 fi |
11348 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9433 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11349 fi | 9434 fi |
11350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 9435 echo "$as_me:9435: result: `eval echo '${'$as_ac_var'}'`" >&5 |
11351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 9436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
11352 if test `eval echo '${'$as_ac_var'}'` = yes; then | 9437 if test `eval echo '${'$as_ac_var'}'` = yes; then |
11353 cat >>confdefs.h <<_ACEOF | 9438 cat >>confdefs.h <<EOF |
11354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11355 _ACEOF | 9440 EOF |
11356 | 9441 |
11357 else | 9442 else |
11358 LIBOBJS="$LIBOBJS getloadavg.$ac_objext" | 9443 LIBOBJS="$LIBOBJS getloadavg.$ac_objext" |
11359 | 9444 |
11360 cat >>confdefs.h <<\_ACEOF | 9445 cat >>confdefs.h <<\EOF |
11361 #define C_GETLOADAVG 1 | 9446 #define C_GETLOADAVG 1 |
11362 _ACEOF | 9447 EOF |
11363 | 9448 |
11364 # Figure out what our getloadavg.c needs. | 9449 # Figure out what our getloadavg.c needs. |
11365 ac_have_func=no | 9450 ac_have_func=no |
11366 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 9451 echo "$as_me:9451: checking for sys/dg_sys_info.h" >&5 |
11367 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | |
11368 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 | 9452 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 |
11369 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 9453 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
11370 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9454 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11371 fi | 9455 else |
11372 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | 9456 cat >conftest.$ac_ext <<_ACEOF |
11373 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 | 9457 #line 9457 "configure" |
11374 else | 9458 #include "confdefs.h" |
11375 # Is the header compilable? | |
11376 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 | |
11377 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6 | |
11378 cat >conftest.$ac_ext <<_ACEOF | |
11379 #line $LINENO "configure" | |
11380 #include "confdefs.h" | |
11381 $ac_includes_default | |
11382 #include <sys/dg_sys_info.h> | 9459 #include <sys/dg_sys_info.h> |
11383 _ACEOF | 9460 _ACEOF |
11384 rm -f conftest.$ac_objext | 9461 if { (eval echo "$as_me:9461: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
11386 (eval $ac_compile) 2>&5 | |
11387 ac_status=$? | |
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11389 (exit $ac_status); } && | |
11390 { ac_try='test -s conftest.$ac_objext' | |
11391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11392 (eval $ac_try) 2>&5 | |
11393 ac_status=$? | |
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11395 (exit $ac_status); }; }; then | |
11396 ac_header_compiler=yes | |
11397 else | |
11398 echo "$as_me: failed program was:" >&5 | |
11399 cat conftest.$ac_ext >&5 | |
11400 ac_header_compiler=no | |
11401 fi | |
11402 rm -f conftest.$ac_objext conftest.$ac_ext | |
11403 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
11404 echo "${ECHO_T}$ac_header_compiler" >&6 | |
11405 | |
11406 # Is the header present? | |
11407 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 | |
11408 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6 | |
11409 cat >conftest.$ac_ext <<_ACEOF | |
11410 #line $LINENO "configure" | |
11411 #include "confdefs.h" | |
11412 #include <sys/dg_sys_info.h> | |
11413 _ACEOF | |
11414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
11415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11416 ac_status=$? | 9463 ac_status=$? |
11417 egrep -v '^ *\+' conftest.er1 >conftest.err | 9464 egrep -v '^ *\+' conftest.er1 >conftest.err |
11418 rm -f conftest.er1 | 9465 rm -f conftest.er1 |
11419 cat conftest.err >&5 | 9466 cat conftest.err >&5 |
11420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9467 echo "$as_me:9467: \$? = $ac_status" >&5 |
11421 (exit $ac_status); } >/dev/null; then | 9468 (exit $ac_status); } >/dev/null; then |
11422 if test -s conftest.err; then | 9469 if test -s conftest.err; then |
11423 ac_cpp_err=$ac_c_preproc_warn_flag | 9470 ac_cpp_err=$ac_c_preproc_warn_flag |
11424 else | 9471 else |
11425 ac_cpp_err= | 9472 ac_cpp_err= |
11426 fi | 9473 fi |
11427 else | 9474 else |
11428 ac_cpp_err=yes | 9475 ac_cpp_err=yes |
11429 fi | 9476 fi |
11430 if test -z "$ac_cpp_err"; then | 9477 if test -z "$ac_cpp_err"; then |
11431 ac_header_preproc=yes | 9478 ac_cv_header_sys_dg_sys_info_h=yes |
11432 else | 9479 else |
11433 echo "$as_me: failed program was:" >&5 | 9480 echo "$as_me: failed program was:" >&5 |
11434 cat conftest.$ac_ext >&5 | 9481 cat conftest.$ac_ext >&5 |
11435 ac_header_preproc=no | 9482 ac_cv_header_sys_dg_sys_info_h=no |
11436 fi | 9483 fi |
11437 rm -f conftest.err conftest.$ac_ext | 9484 rm -f conftest.err conftest.$ac_ext |
11438 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 9485 fi |
11439 echo "${ECHO_T}$ac_header_preproc" >&6 | 9486 echo "$as_me:9486: result: $ac_cv_header_sys_dg_sys_info_h" >&5 |
11440 | |
11441 # So? What about this header? | |
11442 case $ac_header_compiler:$ac_header_preproc in | |
11443 yes:no ) | |
11444 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
11445 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
11446 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 | |
11447 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};; | |
11448 no:yes ) | |
11449 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5 | |
11450 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;} | |
11451 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5 | |
11452 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;} | |
11453 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 | |
11454 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};; | |
11455 esac | |
11456 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | |
11457 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 | |
11458 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | |
11459 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11460 else | |
11461 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc | |
11462 fi | |
11463 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | |
11464 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 | 9487 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 |
11465 | |
11466 fi | |
11467 if test $ac_cv_header_sys_dg_sys_info_h = yes; then | 9488 if test $ac_cv_header_sys_dg_sys_info_h = yes; then |
11468 ac_have_func=yes | 9489 ac_have_func=yes |
11469 | 9490 |
11470 cat >>confdefs.h <<\_ACEOF | 9491 cat >>confdefs.h <<\EOF |
11471 #define DGUX 1 | 9492 #define DGUX 1 |
11472 _ACEOF | 9493 EOF |
11473 | 9494 |
11474 | 9495 echo "$as_me:9495: checking for dg_sys_info in -ldgc" >&5 |
11475 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 | |
11476 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 | 9496 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 |
11477 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then | 9497 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then |
11478 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9498 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11479 else | 9499 else |
11480 ac_check_lib_save_LIBS=$LIBS | 9500 ac_check_lib_save_LIBS=$LIBS |
11481 LIBS="-ldgc $LIBS" | 9501 LIBS="-ldgc $LIBS" |
11482 cat >conftest.$ac_ext <<_ACEOF | 9502 cat >conftest.$ac_ext <<_ACEOF |
11483 #line $LINENO "configure" | 9503 #line 9503 "configure" |
11484 #include "confdefs.h" | 9504 #include "confdefs.h" |
11485 | 9505 |
11486 /* Override any gcc2 internal prototype to avoid an error. */ | 9506 /* Override any gcc2 internal prototype to avoid an error. */ |
11487 #ifdef __cplusplus | 9507 #ifdef __cplusplus |
11488 extern "C" | 9508 extern "C" |
11489 #endif | 9509 #endif |
11490 /* We use char because int might match the return type of a gcc2 | 9510 /* We use char because int might match the return type of a gcc2 |
11491 builtin and then its argument prototype would still apply. */ | 9511 builtin and then its argument prototype would still apply. */ |
11492 char dg_sys_info (); | 9512 char dg_sys_info (); |
11493 #ifdef F77_DUMMY_MAIN | |
11494 # ifdef __cplusplus | |
11495 extern "C" | |
11496 # endif | |
11497 int F77_DUMMY_MAIN() { return 1; } | |
11498 #endif | |
11499 int | 9513 int |
11500 main () | 9514 main () |
11501 { | 9515 { |
11502 dg_sys_info (); | 9516 dg_sys_info (); |
11503 ; | 9517 ; |
11504 return 0; | 9518 return 0; |
11505 } | 9519 } |
11506 _ACEOF | 9520 _ACEOF |
11507 rm -f conftest.$ac_objext conftest$ac_exeext | 9521 rm -f conftest.$ac_objext conftest$ac_exeext |
11508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9522 if { (eval echo "$as_me:9522: \"$ac_link\"") >&5 |
11509 (eval $ac_link) 2>&5 | 9523 (eval $ac_link) 2>&5 |
11510 ac_status=$? | 9524 ac_status=$? |
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9525 echo "$as_me:9525: \$? = $ac_status" >&5 |
11512 (exit $ac_status); } && | 9526 (exit $ac_status); } && |
11513 { ac_try='test -s conftest$ac_exeext' | 9527 { ac_try='test -s conftest$ac_exeext' |
11514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9528 { (eval echo "$as_me:9528: \"$ac_try\"") >&5 |
11515 (eval $ac_try) 2>&5 | 9529 (eval $ac_try) 2>&5 |
11516 ac_status=$? | 9530 ac_status=$? |
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9531 echo "$as_me:9531: \$? = $ac_status" >&5 |
11518 (exit $ac_status); }; }; then | 9532 (exit $ac_status); }; }; then |
11519 ac_cv_lib_dgc_dg_sys_info=yes | 9533 ac_cv_lib_dgc_dg_sys_info=yes |
11520 else | 9534 else |
11521 echo "$as_me: failed program was:" >&5 | 9535 echo "$as_me: failed program was:" >&5 |
11522 cat conftest.$ac_ext >&5 | 9536 cat conftest.$ac_ext >&5 |
11523 ac_cv_lib_dgc_dg_sys_info=no | 9537 ac_cv_lib_dgc_dg_sys_info=no |
11524 fi | 9538 fi |
11525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11526 LIBS=$ac_check_lib_save_LIBS | 9540 LIBS=$ac_check_lib_save_LIBS |
11527 fi | 9541 fi |
11528 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 9542 echo "$as_me:9542: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
11529 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 | 9543 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 |
11530 if test $ac_cv_lib_dgc_dg_sys_info = yes; then | 9544 if test $ac_cv_lib_dgc_dg_sys_info = yes; then |
11531 cat >>confdefs.h <<_ACEOF | 9545 cat >>confdefs.h <<EOF |
11532 #define HAVE_LIBDGC 1 | 9546 #define HAVE_LIBDGC 1 |
11533 _ACEOF | 9547 EOF |
11534 | 9548 |
11535 LIBS="-ldgc $LIBS" | 9549 LIBS="-ldgc $LIBS" |
11536 | 9550 |
11537 fi | 9551 fi |
11538 | 9552 |
11539 fi | 9553 fi |
11540 | 9554 |
11541 | 9555 echo "$as_me:9555: checking for locale.h" >&5 |
11542 | |
11543 if test "${ac_cv_header_locale_h+set}" = set; then | |
11544 echo "$as_me:$LINENO: checking for locale.h" >&5 | |
11545 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 | 9556 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 |
11546 if test "${ac_cv_header_locale_h+set}" = set; then | 9557 if test "${ac_cv_header_locale_h+set}" = set; then |
11547 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9558 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11548 fi | 9559 else |
11549 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | 9560 cat >conftest.$ac_ext <<_ACEOF |
11550 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 | 9561 #line 9561 "configure" |
11551 else | 9562 #include "confdefs.h" |
11552 # Is the header compilable? | |
11553 echo "$as_me:$LINENO: checking locale.h usability" >&5 | |
11554 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6 | |
11555 cat >conftest.$ac_ext <<_ACEOF | |
11556 #line $LINENO "configure" | |
11557 #include "confdefs.h" | |
11558 $ac_includes_default | |
11559 #include <locale.h> | 9563 #include <locale.h> |
11560 _ACEOF | 9564 _ACEOF |
11561 rm -f conftest.$ac_objext | 9565 if { (eval echo "$as_me:9565: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
11563 (eval $ac_compile) 2>&5 | |
11564 ac_status=$? | |
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11566 (exit $ac_status); } && | |
11567 { ac_try='test -s conftest.$ac_objext' | |
11568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11569 (eval $ac_try) 2>&5 | |
11570 ac_status=$? | |
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11572 (exit $ac_status); }; }; then | |
11573 ac_header_compiler=yes | |
11574 else | |
11575 echo "$as_me: failed program was:" >&5 | |
11576 cat conftest.$ac_ext >&5 | |
11577 ac_header_compiler=no | |
11578 fi | |
11579 rm -f conftest.$ac_objext conftest.$ac_ext | |
11580 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
11581 echo "${ECHO_T}$ac_header_compiler" >&6 | |
11582 | |
11583 # Is the header present? | |
11584 echo "$as_me:$LINENO: checking locale.h presence" >&5 | |
11585 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6 | |
11586 cat >conftest.$ac_ext <<_ACEOF | |
11587 #line $LINENO "configure" | |
11588 #include "confdefs.h" | |
11589 #include <locale.h> | |
11590 _ACEOF | |
11591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
11592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11593 ac_status=$? | 9567 ac_status=$? |
11594 egrep -v '^ *\+' conftest.er1 >conftest.err | 9568 egrep -v '^ *\+' conftest.er1 >conftest.err |
11595 rm -f conftest.er1 | 9569 rm -f conftest.er1 |
11596 cat conftest.err >&5 | 9570 cat conftest.err >&5 |
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9571 echo "$as_me:9571: \$? = $ac_status" >&5 |
11598 (exit $ac_status); } >/dev/null; then | 9572 (exit $ac_status); } >/dev/null; then |
11599 if test -s conftest.err; then | 9573 if test -s conftest.err; then |
11600 ac_cpp_err=$ac_c_preproc_warn_flag | 9574 ac_cpp_err=$ac_c_preproc_warn_flag |
11601 else | 9575 else |
11602 ac_cpp_err= | 9576 ac_cpp_err= |
11603 fi | 9577 fi |
11604 else | 9578 else |
11605 ac_cpp_err=yes | 9579 ac_cpp_err=yes |
11606 fi | 9580 fi |
11607 if test -z "$ac_cpp_err"; then | 9581 if test -z "$ac_cpp_err"; then |
11608 ac_header_preproc=yes | 9582 ac_cv_header_locale_h=yes |
11609 else | 9583 else |
11610 echo "$as_me: failed program was:" >&5 | 9584 echo "$as_me: failed program was:" >&5 |
11611 cat conftest.$ac_ext >&5 | 9585 cat conftest.$ac_ext >&5 |
11612 ac_header_preproc=no | 9586 ac_cv_header_locale_h=no |
11613 fi | 9587 fi |
11614 rm -f conftest.err conftest.$ac_ext | 9588 rm -f conftest.err conftest.$ac_ext |
11615 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 9589 fi |
11616 echo "${ECHO_T}$ac_header_preproc" >&6 | 9590 echo "$as_me:9590: result: $ac_cv_header_locale_h" >&5 |
11617 | |
11618 # So? What about this header? | |
11619 case $ac_header_compiler:$ac_header_preproc in | |
11620 yes:no ) | |
11621 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
11622 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
11623 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 | |
11624 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};; | |
11625 no:yes ) | |
11626 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 | |
11627 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} | |
11628 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 | |
11629 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} | |
11630 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 | |
11631 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};; | |
11632 esac | |
11633 echo "$as_me:$LINENO: checking for locale.h" >&5 | |
11634 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 | |
11635 if test "${ac_cv_header_locale_h+set}" = set; then | |
11636 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11637 else | |
11638 ac_cv_header_locale_h=$ac_header_preproc | |
11639 fi | |
11640 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | |
11641 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 | 9591 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 |
11642 | |
11643 fi | |
11644 | |
11645 | |
11646 | 9592 |
11647 for ac_func in setlocale | 9593 for ac_func in setlocale |
11648 do | 9594 do |
11649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11650 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 9596 echo "$as_me:9596: checking for $ac_func" >&5 |
11651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 9597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
11652 if eval "test \"\${$as_ac_var+set}\" = set"; then | 9598 if eval "test \"\${$as_ac_var+set}\" = set"; then |
11653 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9599 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11654 else | 9600 else |
11655 cat >conftest.$ac_ext <<_ACEOF | 9601 cat >conftest.$ac_ext <<_ACEOF |
11656 #line $LINENO "configure" | 9602 #line 9602 "configure" |
11657 #include "confdefs.h" | 9603 #include "confdefs.h" |
11658 /* System header to define __stub macros and hopefully few prototypes, | 9604 /* System header to define __stub macros and hopefully few prototypes, |
11659 which can conflict with char $ac_func (); below. */ | 9605 which can conflict with char $ac_func (); below. */ |
11660 #include <assert.h> | 9606 #include <assert.h> |
11661 /* Override any gcc2 internal prototype to avoid an error. */ | 9607 /* Override any gcc2 internal prototype to avoid an error. */ |
11665 /* We use char because int might match the return type of a gcc2 | 9611 /* We use char because int might match the return type of a gcc2 |
11666 builtin and then its argument prototype would still apply. */ | 9612 builtin and then its argument prototype would still apply. */ |
11667 char $ac_func (); | 9613 char $ac_func (); |
11668 char (*f) (); | 9614 char (*f) (); |
11669 | 9615 |
11670 #ifdef F77_DUMMY_MAIN | |
11671 # ifdef __cplusplus | |
11672 extern "C" | |
11673 # endif | |
11674 int F77_DUMMY_MAIN() { return 1; } | |
11675 #endif | |
11676 int | 9616 int |
11677 main () | 9617 main () |
11678 { | 9618 { |
11679 /* The GNU C library defines this for functions which it implements | 9619 /* The GNU C library defines this for functions which it implements |
11680 to always fail with ENOSYS. Some functions are actually named | 9620 to always fail with ENOSYS. Some functions are actually named |
11688 ; | 9628 ; |
11689 return 0; | 9629 return 0; |
11690 } | 9630 } |
11691 _ACEOF | 9631 _ACEOF |
11692 rm -f conftest.$ac_objext conftest$ac_exeext | 9632 rm -f conftest.$ac_objext conftest$ac_exeext |
11693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9633 if { (eval echo "$as_me:9633: \"$ac_link\"") >&5 |
11694 (eval $ac_link) 2>&5 | 9634 (eval $ac_link) 2>&5 |
11695 ac_status=$? | 9635 ac_status=$? |
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9636 echo "$as_me:9636: \$? = $ac_status" >&5 |
11697 (exit $ac_status); } && | 9637 (exit $ac_status); } && |
11698 { ac_try='test -s conftest$ac_exeext' | 9638 { ac_try='test -s conftest$ac_exeext' |
11699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9639 { (eval echo "$as_me:9639: \"$ac_try\"") >&5 |
11700 (eval $ac_try) 2>&5 | 9640 (eval $ac_try) 2>&5 |
11701 ac_status=$? | 9641 ac_status=$? |
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9642 echo "$as_me:9642: \$? = $ac_status" >&5 |
11703 (exit $ac_status); }; }; then | 9643 (exit $ac_status); }; }; then |
11704 eval "$as_ac_var=yes" | 9644 eval "$as_ac_var=yes" |
11705 else | 9645 else |
11706 echo "$as_me: failed program was:" >&5 | 9646 echo "$as_me: failed program was:" >&5 |
11707 cat conftest.$ac_ext >&5 | 9647 cat conftest.$ac_ext >&5 |
11708 eval "$as_ac_var=no" | 9648 eval "$as_ac_var=no" |
11709 fi | 9649 fi |
11710 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9650 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11711 fi | 9651 fi |
11712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 9652 echo "$as_me:9652: result: `eval echo '${'$as_ac_var'}'`" >&5 |
11713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 9653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
11714 if test `eval echo '${'$as_ac_var'}'` = yes; then | 9654 if test `eval echo '${'$as_ac_var'}'` = yes; then |
11715 cat >>confdefs.h <<_ACEOF | 9655 cat >>confdefs.h <<EOF |
11716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11717 _ACEOF | 9657 EOF |
11718 | 9658 |
11719 fi | 9659 fi |
11720 done | 9660 done |
11721 | |
11722 | 9661 |
11723 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it | 9662 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it |
11724 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because | 9663 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because |
11725 # Irix 4.0.5F has the header but not the library. | 9664 # Irix 4.0.5F has the header but not the library. |
11726 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then | 9665 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then |
11727 ac_have_func=yes | 9666 ac_have_func=yes |
11728 | 9667 |
11729 cat >>confdefs.h <<\_ACEOF | 9668 cat >>confdefs.h <<\EOF |
11730 #define SVR4 1 | 9669 #define SVR4 1 |
11731 _ACEOF | 9670 EOF |
11732 | 9671 |
11733 fi | 9672 fi |
11734 | 9673 |
11735 if test $ac_have_func = no; then | 9674 if test $ac_have_func = no; then |
11736 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 9675 echo "$as_me:9675: checking for inq_stats/cpustats.h" >&5 |
11737 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | |
11738 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 | 9676 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 |
11739 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 9677 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
11740 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9678 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11741 fi | 9679 else |
11742 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | 9680 cat >conftest.$ac_ext <<_ACEOF |
11743 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 | 9681 #line 9681 "configure" |
11744 else | 9682 #include "confdefs.h" |
11745 # Is the header compilable? | |
11746 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 | |
11747 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6 | |
11748 cat >conftest.$ac_ext <<_ACEOF | |
11749 #line $LINENO "configure" | |
11750 #include "confdefs.h" | |
11751 $ac_includes_default | |
11752 #include <inq_stats/cpustats.h> | 9683 #include <inq_stats/cpustats.h> |
11753 _ACEOF | 9684 _ACEOF |
11754 rm -f conftest.$ac_objext | 9685 if { (eval echo "$as_me:9685: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
11756 (eval $ac_compile) 2>&5 | |
11757 ac_status=$? | |
11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11759 (exit $ac_status); } && | |
11760 { ac_try='test -s conftest.$ac_objext' | |
11761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11762 (eval $ac_try) 2>&5 | |
11763 ac_status=$? | |
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11765 (exit $ac_status); }; }; then | |
11766 ac_header_compiler=yes | |
11767 else | |
11768 echo "$as_me: failed program was:" >&5 | |
11769 cat conftest.$ac_ext >&5 | |
11770 ac_header_compiler=no | |
11771 fi | |
11772 rm -f conftest.$ac_objext conftest.$ac_ext | |
11773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
11774 echo "${ECHO_T}$ac_header_compiler" >&6 | |
11775 | |
11776 # Is the header present? | |
11777 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 | |
11778 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6 | |
11779 cat >conftest.$ac_ext <<_ACEOF | |
11780 #line $LINENO "configure" | |
11781 #include "confdefs.h" | |
11782 #include <inq_stats/cpustats.h> | |
11783 _ACEOF | |
11784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
11785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11786 ac_status=$? | 9687 ac_status=$? |
11787 egrep -v '^ *\+' conftest.er1 >conftest.err | 9688 egrep -v '^ *\+' conftest.er1 >conftest.err |
11788 rm -f conftest.er1 | 9689 rm -f conftest.er1 |
11789 cat conftest.err >&5 | 9690 cat conftest.err >&5 |
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9691 echo "$as_me:9691: \$? = $ac_status" >&5 |
11791 (exit $ac_status); } >/dev/null; then | 9692 (exit $ac_status); } >/dev/null; then |
11792 if test -s conftest.err; then | 9693 if test -s conftest.err; then |
11793 ac_cpp_err=$ac_c_preproc_warn_flag | 9694 ac_cpp_err=$ac_c_preproc_warn_flag |
11794 else | 9695 else |
11795 ac_cpp_err= | 9696 ac_cpp_err= |
11796 fi | 9697 fi |
11797 else | 9698 else |
11798 ac_cpp_err=yes | 9699 ac_cpp_err=yes |
11799 fi | 9700 fi |
11800 if test -z "$ac_cpp_err"; then | 9701 if test -z "$ac_cpp_err"; then |
11801 ac_header_preproc=yes | 9702 ac_cv_header_inq_stats_cpustats_h=yes |
11802 else | 9703 else |
11803 echo "$as_me: failed program was:" >&5 | 9704 echo "$as_me: failed program was:" >&5 |
11804 cat conftest.$ac_ext >&5 | 9705 cat conftest.$ac_ext >&5 |
11805 ac_header_preproc=no | 9706 ac_cv_header_inq_stats_cpustats_h=no |
11806 fi | 9707 fi |
11807 rm -f conftest.err conftest.$ac_ext | 9708 rm -f conftest.err conftest.$ac_ext |
11808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 9709 fi |
11809 echo "${ECHO_T}$ac_header_preproc" >&6 | 9710 echo "$as_me:9710: result: $ac_cv_header_inq_stats_cpustats_h" >&5 |
11810 | |
11811 # So? What about this header? | |
11812 case $ac_header_compiler:$ac_header_preproc in | |
11813 yes:no ) | |
11814 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
11815 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
11816 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 | |
11817 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};; | |
11818 no:yes ) | |
11819 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5 | |
11820 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;} | |
11821 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5 | |
11822 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;} | |
11823 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 | |
11824 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};; | |
11825 esac | |
11826 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | |
11827 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 | |
11828 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | |
11829 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11830 else | |
11831 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc | |
11832 fi | |
11833 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | |
11834 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 | 9711 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 |
11835 | |
11836 fi | |
11837 if test $ac_cv_header_inq_stats_cpustats_h = yes; then | 9712 if test $ac_cv_header_inq_stats_cpustats_h = yes; then |
11838 ac_have_func=yes | 9713 ac_have_func=yes |
11839 | 9714 |
11840 cat >>confdefs.h <<\_ACEOF | 9715 cat >>confdefs.h <<\EOF |
11841 #define UMAX 1 | 9716 #define UMAX 1 |
11842 _ACEOF | 9717 EOF |
11843 | 9718 |
11844 | 9719 cat >>confdefs.h <<\EOF |
11845 cat >>confdefs.h <<\_ACEOF | |
11846 #define UMAX4_3 1 | 9720 #define UMAX4_3 1 |
11847 _ACEOF | 9721 EOF |
11848 | 9722 |
11849 fi | 9723 fi |
11850 | |
11851 | 9724 |
11852 fi | 9725 fi |
11853 | 9726 |
11854 if test $ac_have_func = no; then | 9727 if test $ac_have_func = no; then |
11855 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 9728 echo "$as_me:9728: checking for sys/cpustats.h" >&5 |
11856 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | |
11857 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 | 9729 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 |
11858 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 9730 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
11859 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9731 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11860 fi | 9732 else |
11861 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | 9733 cat >conftest.$ac_ext <<_ACEOF |
11862 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 | 9734 #line 9734 "configure" |
11863 else | 9735 #include "confdefs.h" |
11864 # Is the header compilable? | |
11865 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 | |
11866 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6 | |
11867 cat >conftest.$ac_ext <<_ACEOF | |
11868 #line $LINENO "configure" | |
11869 #include "confdefs.h" | |
11870 $ac_includes_default | |
11871 #include <sys/cpustats.h> | 9736 #include <sys/cpustats.h> |
11872 _ACEOF | 9737 _ACEOF |
11873 rm -f conftest.$ac_objext | 9738 if { (eval echo "$as_me:9738: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
11875 (eval $ac_compile) 2>&5 | |
11876 ac_status=$? | |
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11878 (exit $ac_status); } && | |
11879 { ac_try='test -s conftest.$ac_objext' | |
11880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11881 (eval $ac_try) 2>&5 | |
11882 ac_status=$? | |
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11884 (exit $ac_status); }; }; then | |
11885 ac_header_compiler=yes | |
11886 else | |
11887 echo "$as_me: failed program was:" >&5 | |
11888 cat conftest.$ac_ext >&5 | |
11889 ac_header_compiler=no | |
11890 fi | |
11891 rm -f conftest.$ac_objext conftest.$ac_ext | |
11892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
11893 echo "${ECHO_T}$ac_header_compiler" >&6 | |
11894 | |
11895 # Is the header present? | |
11896 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 | |
11897 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6 | |
11898 cat >conftest.$ac_ext <<_ACEOF | |
11899 #line $LINENO "configure" | |
11900 #include "confdefs.h" | |
11901 #include <sys/cpustats.h> | |
11902 _ACEOF | |
11903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
11904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11905 ac_status=$? | 9740 ac_status=$? |
11906 egrep -v '^ *\+' conftest.er1 >conftest.err | 9741 egrep -v '^ *\+' conftest.er1 >conftest.err |
11907 rm -f conftest.er1 | 9742 rm -f conftest.er1 |
11908 cat conftest.err >&5 | 9743 cat conftest.err >&5 |
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9744 echo "$as_me:9744: \$? = $ac_status" >&5 |
11910 (exit $ac_status); } >/dev/null; then | 9745 (exit $ac_status); } >/dev/null; then |
11911 if test -s conftest.err; then | 9746 if test -s conftest.err; then |
11912 ac_cpp_err=$ac_c_preproc_warn_flag | 9747 ac_cpp_err=$ac_c_preproc_warn_flag |
11913 else | 9748 else |
11914 ac_cpp_err= | 9749 ac_cpp_err= |
11915 fi | 9750 fi |
11916 else | 9751 else |
11917 ac_cpp_err=yes | 9752 ac_cpp_err=yes |
11918 fi | 9753 fi |
11919 if test -z "$ac_cpp_err"; then | 9754 if test -z "$ac_cpp_err"; then |
11920 ac_header_preproc=yes | 9755 ac_cv_header_sys_cpustats_h=yes |
11921 else | 9756 else |
11922 echo "$as_me: failed program was:" >&5 | 9757 echo "$as_me: failed program was:" >&5 |
11923 cat conftest.$ac_ext >&5 | 9758 cat conftest.$ac_ext >&5 |
11924 ac_header_preproc=no | 9759 ac_cv_header_sys_cpustats_h=no |
11925 fi | 9760 fi |
11926 rm -f conftest.err conftest.$ac_ext | 9761 rm -f conftest.err conftest.$ac_ext |
11927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 9762 fi |
11928 echo "${ECHO_T}$ac_header_preproc" >&6 | 9763 echo "$as_me:9763: result: $ac_cv_header_sys_cpustats_h" >&5 |
11929 | |
11930 # So? What about this header? | |
11931 case $ac_header_compiler:$ac_header_preproc in | |
11932 yes:no ) | |
11933 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
11934 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
11935 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 | |
11936 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};; | |
11937 no:yes ) | |
11938 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5 | |
11939 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;} | |
11940 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5 | |
11941 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;} | |
11942 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 | |
11943 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};; | |
11944 esac | |
11945 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | |
11946 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 | |
11947 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | |
11948 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11949 else | |
11950 ac_cv_header_sys_cpustats_h=$ac_header_preproc | |
11951 fi | |
11952 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | |
11953 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 | 9764 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 |
11954 | |
11955 fi | |
11956 if test $ac_cv_header_sys_cpustats_h = yes; then | 9765 if test $ac_cv_header_sys_cpustats_h = yes; then |
11957 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF | 9766 ac_have_func=yes; cat >>confdefs.h <<\EOF |
11958 #define UMAX 1 | 9767 #define UMAX 1 |
11959 _ACEOF | 9768 EOF |
11960 | 9769 |
11961 fi | 9770 fi |
11962 | |
11963 | 9771 |
11964 fi | 9772 fi |
11965 | 9773 |
11966 if test $ac_have_func = no; then | 9774 if test $ac_have_func = no; then |
11967 | 9775 |
11968 for ac_header in mach/mach.h | 9776 for ac_header in mach/mach.h |
11969 do | 9777 do |
11970 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 9778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11971 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9779 echo "$as_me:9779: checking for $ac_header" >&5 |
11972 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
11973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 9780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11974 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9781 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11975 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9782 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11976 fi | 9783 else |
11977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 9784 cat >conftest.$ac_ext <<_ACEOF |
11978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 9785 #line 9785 "configure" |
11979 else | 9786 #include "confdefs.h" |
11980 # Is the header compilable? | |
11981 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
11982 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
11983 cat >conftest.$ac_ext <<_ACEOF | |
11984 #line $LINENO "configure" | |
11985 #include "confdefs.h" | |
11986 $ac_includes_default | |
11987 #include <$ac_header> | 9787 #include <$ac_header> |
11988 _ACEOF | 9788 _ACEOF |
11989 rm -f conftest.$ac_objext | 9789 if { (eval echo "$as_me:9789: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
11991 (eval $ac_compile) 2>&5 | |
11992 ac_status=$? | |
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11994 (exit $ac_status); } && | |
11995 { ac_try='test -s conftest.$ac_objext' | |
11996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11997 (eval $ac_try) 2>&5 | |
11998 ac_status=$? | |
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12000 (exit $ac_status); }; }; then | |
12001 ac_header_compiler=yes | |
12002 else | |
12003 echo "$as_me: failed program was:" >&5 | |
12004 cat conftest.$ac_ext >&5 | |
12005 ac_header_compiler=no | |
12006 fi | |
12007 rm -f conftest.$ac_objext conftest.$ac_ext | |
12008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
12009 echo "${ECHO_T}$ac_header_compiler" >&6 | |
12010 | |
12011 # Is the header present? | |
12012 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
12013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
12014 cat >conftest.$ac_ext <<_ACEOF | |
12015 #line $LINENO "configure" | |
12016 #include "confdefs.h" | |
12017 #include <$ac_header> | |
12018 _ACEOF | |
12019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
12020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
12021 ac_status=$? | 9791 ac_status=$? |
12022 egrep -v '^ *\+' conftest.er1 >conftest.err | 9792 egrep -v '^ *\+' conftest.er1 >conftest.err |
12023 rm -f conftest.er1 | 9793 rm -f conftest.er1 |
12024 cat conftest.err >&5 | 9794 cat conftest.err >&5 |
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9795 echo "$as_me:9795: \$? = $ac_status" >&5 |
12026 (exit $ac_status); } >/dev/null; then | 9796 (exit $ac_status); } >/dev/null; then |
12027 if test -s conftest.err; then | 9797 if test -s conftest.err; then |
12028 ac_cpp_err=$ac_c_preproc_warn_flag | 9798 ac_cpp_err=$ac_c_preproc_warn_flag |
12029 else | 9799 else |
12030 ac_cpp_err= | 9800 ac_cpp_err= |
12031 fi | 9801 fi |
12032 else | 9802 else |
12033 ac_cpp_err=yes | 9803 ac_cpp_err=yes |
12034 fi | 9804 fi |
12035 if test -z "$ac_cpp_err"; then | 9805 if test -z "$ac_cpp_err"; then |
12036 ac_header_preproc=yes | 9806 eval "$as_ac_Header=yes" |
12037 else | 9807 else |
12038 echo "$as_me: failed program was:" >&5 | 9808 echo "$as_me: failed program was:" >&5 |
12039 cat conftest.$ac_ext >&5 | 9809 cat conftest.$ac_ext >&5 |
12040 ac_header_preproc=no | 9810 eval "$as_ac_Header=no" |
12041 fi | 9811 fi |
12042 rm -f conftest.err conftest.$ac_ext | 9812 rm -f conftest.err conftest.$ac_ext |
12043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 9813 fi |
12044 echo "${ECHO_T}$ac_header_preproc" >&6 | 9814 echo "$as_me:9814: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12045 | |
12046 # So? What about this header? | |
12047 case $ac_header_compiler:$ac_header_preproc in | |
12048 yes:no ) | |
12049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
12050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
12051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
12053 no:yes ) | |
12054 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
12055 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
12056 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
12057 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
12058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
12060 esac | |
12061 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12063 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12064 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12065 else | |
12066 eval "$as_ac_Header=$ac_header_preproc" | |
12067 fi | |
12068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 9815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
12070 | |
12071 fi | |
12072 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 9816 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12073 cat >>confdefs.h <<_ACEOF | 9817 cat >>confdefs.h <<EOF |
12074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 9818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12075 _ACEOF | 9819 EOF |
12076 | 9820 |
12077 fi | 9821 fi |
12078 | |
12079 done | 9822 done |
12080 | 9823 |
12081 fi | 9824 fi |
12082 | |
12083 | 9825 |
12084 for ac_header in nlist.h | 9826 for ac_header in nlist.h |
12085 do | 9827 do |
12086 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 9828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12087 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9829 echo "$as_me:9829: checking for $ac_header" >&5 |
12088 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 9830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
12090 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9831 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12091 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9832 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12092 fi | 9833 else |
12093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 9834 cat >conftest.$ac_ext <<_ACEOF |
12094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 9835 #line 9835 "configure" |
12095 else | 9836 #include "confdefs.h" |
12096 # Is the header compilable? | |
12097 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
12098 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
12099 cat >conftest.$ac_ext <<_ACEOF | |
12100 #line $LINENO "configure" | |
12101 #include "confdefs.h" | |
12102 $ac_includes_default | |
12103 #include <$ac_header> | 9837 #include <$ac_header> |
12104 _ACEOF | 9838 _ACEOF |
12105 rm -f conftest.$ac_objext | 9839 if { (eval echo "$as_me:9839: \"$ac_cpp conftest.$ac_ext\"") >&5 |
12106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
12107 (eval $ac_compile) 2>&5 | |
12108 ac_status=$? | |
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12110 (exit $ac_status); } && | |
12111 { ac_try='test -s conftest.$ac_objext' | |
12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
12113 (eval $ac_try) 2>&5 | |
12114 ac_status=$? | |
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12116 (exit $ac_status); }; }; then | |
12117 ac_header_compiler=yes | |
12118 else | |
12119 echo "$as_me: failed program was:" >&5 | |
12120 cat conftest.$ac_ext >&5 | |
12121 ac_header_compiler=no | |
12122 fi | |
12123 rm -f conftest.$ac_objext conftest.$ac_ext | |
12124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
12125 echo "${ECHO_T}$ac_header_compiler" >&6 | |
12126 | |
12127 # Is the header present? | |
12128 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
12129 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
12130 cat >conftest.$ac_ext <<_ACEOF | |
12131 #line $LINENO "configure" | |
12132 #include "confdefs.h" | |
12133 #include <$ac_header> | |
12134 _ACEOF | |
12135 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
12136 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
12137 ac_status=$? | 9841 ac_status=$? |
12138 egrep -v '^ *\+' conftest.er1 >conftest.err | 9842 egrep -v '^ *\+' conftest.er1 >conftest.err |
12139 rm -f conftest.er1 | 9843 rm -f conftest.er1 |
12140 cat conftest.err >&5 | 9844 cat conftest.err >&5 |
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9845 echo "$as_me:9845: \$? = $ac_status" >&5 |
12142 (exit $ac_status); } >/dev/null; then | 9846 (exit $ac_status); } >/dev/null; then |
12143 if test -s conftest.err; then | 9847 if test -s conftest.err; then |
12144 ac_cpp_err=$ac_c_preproc_warn_flag | 9848 ac_cpp_err=$ac_c_preproc_warn_flag |
12145 else | 9849 else |
12146 ac_cpp_err= | 9850 ac_cpp_err= |
12147 fi | 9851 fi |
12148 else | 9852 else |
12149 ac_cpp_err=yes | 9853 ac_cpp_err=yes |
12150 fi | 9854 fi |
12151 if test -z "$ac_cpp_err"; then | 9855 if test -z "$ac_cpp_err"; then |
12152 ac_header_preproc=yes | 9856 eval "$as_ac_Header=yes" |
12153 else | 9857 else |
12154 echo "$as_me: failed program was:" >&5 | 9858 echo "$as_me: failed program was:" >&5 |
12155 cat conftest.$ac_ext >&5 | 9859 cat conftest.$ac_ext >&5 |
12156 ac_header_preproc=no | 9860 eval "$as_ac_Header=no" |
12157 fi | 9861 fi |
12158 rm -f conftest.err conftest.$ac_ext | 9862 rm -f conftest.err conftest.$ac_ext |
12159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 9863 fi |
12160 echo "${ECHO_T}$ac_header_preproc" >&6 | 9864 echo "$as_me:9864: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12161 | |
12162 # So? What about this header? | |
12163 case $ac_header_compiler:$ac_header_preproc in | |
12164 yes:no ) | |
12165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
12166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
12167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
12169 no:yes ) | |
12170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
12171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
12172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
12173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
12174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
12176 esac | |
12177 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
12179 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
12180 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12181 else | |
12182 eval "$as_ac_Header=$ac_header_preproc" | |
12183 fi | |
12184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
12185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 9865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
12186 | |
12187 fi | |
12188 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 9866 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12189 cat >>confdefs.h <<_ACEOF | 9867 cat >>confdefs.h <<EOF |
12190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 9868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12191 _ACEOF | 9869 EOF |
12192 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 | 9870 echo "$as_me:9870: checking for struct nlist.n_un.n_name" >&5 |
12193 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 | 9871 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 |
12194 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then | 9872 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then |
12195 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9873 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12196 else | 9874 else |
12197 cat >conftest.$ac_ext <<_ACEOF | 9875 cat >conftest.$ac_ext <<_ACEOF |
12198 #line $LINENO "configure" | 9876 #line 9876 "configure" |
12199 #include "confdefs.h" | 9877 #include "confdefs.h" |
12200 #include <nlist.h> | 9878 #include <nlist.h> |
12201 | 9879 |
12202 #ifdef F77_DUMMY_MAIN | |
12203 # ifdef __cplusplus | |
12204 extern "C" | |
12205 # endif | |
12206 int F77_DUMMY_MAIN() { return 1; } | |
12207 #endif | |
12208 int | 9880 int |
12209 main () | 9881 main () |
12210 { | 9882 { |
12211 static struct nlist ac_aggr; | 9883 static struct nlist ac_aggr; |
12212 if (ac_aggr.n_un.n_name) | 9884 if (ac_aggr.n_un.n_name) |
12214 ; | 9886 ; |
12215 return 0; | 9887 return 0; |
12216 } | 9888 } |
12217 _ACEOF | 9889 _ACEOF |
12218 rm -f conftest.$ac_objext | 9890 rm -f conftest.$ac_objext |
12219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9891 if { (eval echo "$as_me:9891: \"$ac_compile\"") >&5 |
12220 (eval $ac_compile) 2>&5 | 9892 (eval $ac_compile) 2>&5 |
12221 ac_status=$? | 9893 ac_status=$? |
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9894 echo "$as_me:9894: \$? = $ac_status" >&5 |
12223 (exit $ac_status); } && | 9895 (exit $ac_status); } && |
12224 { ac_try='test -s conftest.$ac_objext' | 9896 { ac_try='test -s conftest.$ac_objext' |
12225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9897 { (eval echo "$as_me:9897: \"$ac_try\"") >&5 |
12226 (eval $ac_try) 2>&5 | 9898 (eval $ac_try) 2>&5 |
12227 ac_status=$? | 9899 ac_status=$? |
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9900 echo "$as_me:9900: \$? = $ac_status" >&5 |
12229 (exit $ac_status); }; }; then | 9901 (exit $ac_status); }; }; then |
12230 ac_cv_member_struct_nlist_n_un_n_name=yes | 9902 ac_cv_member_struct_nlist_n_un_n_name=yes |
12231 else | 9903 else |
12232 echo "$as_me: failed program was:" >&5 | 9904 echo "$as_me: failed program was:" >&5 |
12233 cat conftest.$ac_ext >&5 | 9905 cat conftest.$ac_ext >&5 |
12234 ac_cv_member_struct_nlist_n_un_n_name=no | 9906 ac_cv_member_struct_nlist_n_un_n_name=no |
12235 fi | 9907 fi |
12236 rm -f conftest.$ac_objext conftest.$ac_ext | 9908 rm -f conftest.$ac_objext conftest.$ac_ext |
12237 fi | 9909 fi |
12238 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | 9910 echo "$as_me:9910: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 |
12239 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 | 9911 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 |
12240 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then | 9912 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then |
12241 | 9913 |
12242 cat >>confdefs.h <<_ACEOF | 9914 cat >>confdefs.h <<EOF |
12243 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | 9915 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 |
12244 _ACEOF | 9916 EOF |
12245 | 9917 |
12246 | 9918 cat >>confdefs.h <<\EOF |
12247 cat >>confdefs.h <<\_ACEOF | |
12248 #define NLIST_NAME_UNION 1 | 9919 #define NLIST_NAME_UNION 1 |
12249 _ACEOF | 9920 EOF |
12250 | 9921 |
12251 fi | 9922 fi |
12252 | 9923 |
12253 | 9924 fi |
12254 fi | |
12255 | |
12256 done | 9925 done |
12257 | 9926 |
12258 fi | 9927 fi |
12259 done | 9928 done |
12260 | 9929 |
12261 | |
12262 # Some definitions of getloadavg require that the program be installed setgid. | 9930 # Some definitions of getloadavg require that the program be installed setgid. |
12263 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 | 9931 echo "$as_me:9931: checking whether getloadavg requires setgid" >&5 |
12264 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 | 9932 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 |
12265 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then | 9933 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then |
12266 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9934 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12267 else | 9935 else |
12268 cat >conftest.$ac_ext <<_ACEOF | 9936 cat >conftest.$ac_ext <<_ACEOF |
12269 #line $LINENO "configure" | 9937 #line 9937 "configure" |
12270 #include "confdefs.h" | 9938 #include "confdefs.h" |
12271 #include "$srcdir/getloadavg.c" | 9939 #include "$srcdir/getloadavg.c" |
12272 #ifdef LDAV_PRIVILEGED | 9940 #ifdef LDAV_PRIVILEGED |
12273 Yowza Am I SETGID yet | 9941 Yowza Am I SETGID yet |
12274 #endif | 9942 #endif |
12280 ac_cv_func_getloadavg_setgid=no | 9948 ac_cv_func_getloadavg_setgid=no |
12281 fi | 9949 fi |
12282 rm -f conftest* | 9950 rm -f conftest* |
12283 | 9951 |
12284 fi | 9952 fi |
12285 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 | 9953 echo "$as_me:9953: result: $ac_cv_func_getloadavg_setgid" >&5 |
12286 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 | 9954 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 |
12287 if test $ac_cv_func_getloadavg_setgid = yes; then | 9955 if test $ac_cv_func_getloadavg_setgid = yes; then |
12288 NEED_SETGID=true | 9956 NEED_SETGID=true |
12289 | 9957 |
12290 cat >>confdefs.h <<\_ACEOF | 9958 cat >>confdefs.h <<\EOF |
12291 #define GETLOADAVG_PRIVILEGED 1 | 9959 #define GETLOADAVG_PRIVILEGED 1 |
12292 _ACEOF | 9960 EOF |
12293 | 9961 |
12294 else | 9962 else |
12295 NEED_SETGID=false | 9963 NEED_SETGID=false |
12296 fi | 9964 fi |
12297 | 9965 |
12298 if test $ac_cv_func_getloadavg_setgid = yes; then | 9966 if test $ac_cv_func_getloadavg_setgid = yes; then |
12299 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 | 9967 echo "$as_me:9967: checking group of /dev/kmem" >&5 |
12300 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 | 9968 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 |
12301 if test "${ac_cv_group_kmem+set}" = set; then | 9969 if test "${ac_cv_group_kmem+set}" = set; then |
12302 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9970 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12303 else | 9971 else |
12304 # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 9972 # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
12309 | sed -ne 's/[ ][ ]*/ /g; | 9977 | sed -ne 's/[ ][ ]*/ /g; |
12310 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; | 9978 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; |
12311 / /s/.* //;p;'` | 9979 / /s/.* //;p;'` |
12312 | 9980 |
12313 fi | 9981 fi |
12314 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 | 9982 echo "$as_me:9982: result: $ac_cv_group_kmem" >&5 |
12315 echo "${ECHO_T}$ac_cv_group_kmem" >&6 | 9983 echo "${ECHO_T}$ac_cv_group_kmem" >&6 |
12316 KMEM_GROUP=$ac_cv_group_kmem | 9984 KMEM_GROUP=$ac_cv_group_kmem |
12317 fi | 9985 fi |
12318 if test "x$ac_save_LIBS" = x; then | 9986 if test "x$ac_save_LIBS" = x; then |
12319 GETLOADAVG_LIBS=$LIBS | 9987 GETLOADAVG_LIBS=$LIBS |
12320 else | 9988 else |
12321 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` | 9989 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` |
12322 fi | 9990 fi |
12323 LIBS=$ac_save_LIBS | 9991 LIBS=$ac_save_LIBS |
12324 | 9992 |
12325 | 9993 echo "$as_me:9993: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
12326 | |
12327 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | |
12328 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 | 9994 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 |
12329 if test "${ac_cv_sys_largefile_source+set}" = set; then | 9995 if test "${ac_cv_sys_largefile_source+set}" = set; then |
12330 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9996 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12331 else | 9997 else |
12332 while :; do | 9998 while :; do |
12333 ac_cv_sys_largefile_source=no | 9999 ac_cv_sys_largefile_source=no |
12334 cat >conftest.$ac_ext <<_ACEOF | 10000 cat >conftest.$ac_ext <<_ACEOF |
12335 #line $LINENO "configure" | 10001 #line 10001 "configure" |
12336 #include "confdefs.h" | 10002 #include "confdefs.h" |
12337 #include <stdio.h> | 10003 #include <stdio.h> |
12338 #ifdef F77_DUMMY_MAIN | |
12339 # ifdef __cplusplus | |
12340 extern "C" | |
12341 # endif | |
12342 int F77_DUMMY_MAIN() { return 1; } | |
12343 #endif | |
12344 int | 10004 int |
12345 main () | 10005 main () |
12346 { | 10006 { |
12347 return !fseeko; | 10007 return !fseeko; |
12348 ; | 10008 ; |
12349 return 0; | 10009 return 0; |
12350 } | 10010 } |
12351 _ACEOF | 10011 _ACEOF |
12352 rm -f conftest.$ac_objext | 10012 rm -f conftest.$ac_objext |
12353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10013 if { (eval echo "$as_me:10013: \"$ac_compile\"") >&5 |
12354 (eval $ac_compile) 2>&5 | 10014 (eval $ac_compile) 2>&5 |
12355 ac_status=$? | 10015 ac_status=$? |
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10016 echo "$as_me:10016: \$? = $ac_status" >&5 |
12357 (exit $ac_status); } && | 10017 (exit $ac_status); } && |
12358 { ac_try='test -s conftest.$ac_objext' | 10018 { ac_try='test -s conftest.$ac_objext' |
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10019 { (eval echo "$as_me:10019: \"$ac_try\"") >&5 |
12360 (eval $ac_try) 2>&5 | 10020 (eval $ac_try) 2>&5 |
12361 ac_status=$? | 10021 ac_status=$? |
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10022 echo "$as_me:10022: \$? = $ac_status" >&5 |
12363 (exit $ac_status); }; }; then | 10023 (exit $ac_status); }; }; then |
12364 break | 10024 break |
12365 else | 10025 else |
12366 echo "$as_me: failed program was:" >&5 | 10026 echo "$as_me: failed program was:" >&5 |
12367 cat conftest.$ac_ext >&5 | 10027 cat conftest.$ac_ext >&5 |
12368 fi | 10028 fi |
12369 rm -f conftest.$ac_objext conftest.$ac_ext | 10029 rm -f conftest.$ac_objext conftest.$ac_ext |
12370 cat >conftest.$ac_ext <<_ACEOF | 10030 cat >conftest.$ac_ext <<_ACEOF |
12371 #line $LINENO "configure" | 10031 #line 10031 "configure" |
12372 #include "confdefs.h" | 10032 #include "confdefs.h" |
12373 #define _LARGEFILE_SOURCE 1 | 10033 #define _LARGEFILE_SOURCE 1 |
12374 #include <stdio.h> | 10034 #include <stdio.h> |
12375 #ifdef F77_DUMMY_MAIN | |
12376 # ifdef __cplusplus | |
12377 extern "C" | |
12378 # endif | |
12379 int F77_DUMMY_MAIN() { return 1; } | |
12380 #endif | |
12381 int | 10035 int |
12382 main () | 10036 main () |
12383 { | 10037 { |
12384 return !fseeko; | 10038 return !fseeko; |
12385 ; | 10039 ; |
12386 return 0; | 10040 return 0; |
12387 } | 10041 } |
12388 _ACEOF | 10042 _ACEOF |
12389 rm -f conftest.$ac_objext | 10043 rm -f conftest.$ac_objext |
12390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10044 if { (eval echo "$as_me:10044: \"$ac_compile\"") >&5 |
12391 (eval $ac_compile) 2>&5 | 10045 (eval $ac_compile) 2>&5 |
12392 ac_status=$? | 10046 ac_status=$? |
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10047 echo "$as_me:10047: \$? = $ac_status" >&5 |
12394 (exit $ac_status); } && | 10048 (exit $ac_status); } && |
12395 { ac_try='test -s conftest.$ac_objext' | 10049 { ac_try='test -s conftest.$ac_objext' |
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10050 { (eval echo "$as_me:10050: \"$ac_try\"") >&5 |
12397 (eval $ac_try) 2>&5 | 10051 (eval $ac_try) 2>&5 |
12398 ac_status=$? | 10052 ac_status=$? |
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10053 echo "$as_me:10053: \$? = $ac_status" >&5 |
12400 (exit $ac_status); }; }; then | 10054 (exit $ac_status); }; }; then |
12401 ac_cv_sys_largefile_source=1; break | 10055 ac_cv_sys_largefile_source=1; break |
12402 else | 10056 else |
12403 echo "$as_me: failed program was:" >&5 | 10057 echo "$as_me: failed program was:" >&5 |
12404 cat conftest.$ac_ext >&5 | 10058 cat conftest.$ac_ext >&5 |
12405 fi | 10059 fi |
12406 rm -f conftest.$ac_objext conftest.$ac_ext | 10060 rm -f conftest.$ac_objext conftest.$ac_ext |
12407 break | 10061 break |
12408 done | 10062 done |
12409 fi | 10063 fi |
12410 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 | 10064 echo "$as_me:10064: result: $ac_cv_sys_largefile_source" >&5 |
12411 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 | 10065 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 |
12412 if test "$ac_cv_sys_largefile_source" != no; then | 10066 if test "$ac_cv_sys_largefile_source" != no; then |
12413 | 10067 |
12414 cat >>confdefs.h <<_ACEOF | 10068 cat >>confdefs.h <<EOF |
12415 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source | 10069 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source |
12416 _ACEOF | 10070 EOF |
12417 | 10071 |
12418 fi | 10072 fi |
12419 rm -f conftest* | 10073 rm -f conftest* |
12420 | 10074 |
12421 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug | 10075 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug |
12422 # in glibc 2.1.3, but that breaks too many other things. | 10076 # in glibc 2.1.3, but that breaks too many other things. |
12423 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 10077 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
12424 echo "$as_me:$LINENO: checking for fseeko" >&5 | 10078 echo "$as_me:10078: checking for fseeko" >&5 |
12425 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 | 10079 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 |
12426 if test "${ac_cv_func_fseeko+set}" = set; then | 10080 if test "${ac_cv_func_fseeko+set}" = set; then |
12427 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10081 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12428 else | 10082 else |
12429 cat >conftest.$ac_ext <<_ACEOF | 10083 cat >conftest.$ac_ext <<_ACEOF |
12430 #line $LINENO "configure" | 10084 #line 10084 "configure" |
12431 #include "confdefs.h" | 10085 #include "confdefs.h" |
12432 #include <stdio.h> | 10086 #include <stdio.h> |
12433 #ifdef F77_DUMMY_MAIN | |
12434 # ifdef __cplusplus | |
12435 extern "C" | |
12436 # endif | |
12437 int F77_DUMMY_MAIN() { return 1; } | |
12438 #endif | |
12439 int | 10087 int |
12440 main () | 10088 main () |
12441 { | 10089 { |
12442 return fseeko && fseeko (stdin, 0, 0); | 10090 return fseeko && fseeko (stdin, 0, 0); |
12443 ; | 10091 ; |
12444 return 0; | 10092 return 0; |
12445 } | 10093 } |
12446 _ACEOF | 10094 _ACEOF |
12447 rm -f conftest.$ac_objext conftest$ac_exeext | 10095 rm -f conftest.$ac_objext conftest$ac_exeext |
12448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10096 if { (eval echo "$as_me:10096: \"$ac_link\"") >&5 |
12449 (eval $ac_link) 2>&5 | 10097 (eval $ac_link) 2>&5 |
12450 ac_status=$? | 10098 ac_status=$? |
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10099 echo "$as_me:10099: \$? = $ac_status" >&5 |
12452 (exit $ac_status); } && | 10100 (exit $ac_status); } && |
12453 { ac_try='test -s conftest$ac_exeext' | 10101 { ac_try='test -s conftest$ac_exeext' |
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10102 { (eval echo "$as_me:10102: \"$ac_try\"") >&5 |
12455 (eval $ac_try) 2>&5 | 10103 (eval $ac_try) 2>&5 |
12456 ac_status=$? | 10104 ac_status=$? |
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10105 echo "$as_me:10105: \$? = $ac_status" >&5 |
12458 (exit $ac_status); }; }; then | 10106 (exit $ac_status); }; }; then |
12459 ac_cv_func_fseeko=yes | 10107 ac_cv_func_fseeko=yes |
12460 else | 10108 else |
12461 echo "$as_me: failed program was:" >&5 | 10109 echo "$as_me: failed program was:" >&5 |
12462 cat conftest.$ac_ext >&5 | 10110 cat conftest.$ac_ext >&5 |
12463 ac_cv_func_fseeko=no | 10111 ac_cv_func_fseeko=no |
12464 fi | 10112 fi |
12465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10113 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12466 fi | 10114 fi |
12467 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5 | 10115 echo "$as_me:10115: result: $ac_cv_func_fseeko" >&5 |
12468 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 | 10116 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 |
12469 if test $ac_cv_func_fseeko = yes; then | 10117 if test $ac_cv_func_fseeko = yes; then |
12470 | 10118 |
12471 cat >>confdefs.h <<\_ACEOF | 10119 cat >>confdefs.h <<\EOF |
12472 #define HAVE_FSEEKO 1 | 10120 #define HAVE_FSEEKO 1 |
12473 _ACEOF | 10121 EOF |
12474 | 10122 |
12475 fi | 10123 fi |
12476 | |
12477 | 10124 |
12478 # UNIX98 PTYs. | 10125 # UNIX98 PTYs. |
12479 | 10126 |
12480 for ac_func in grantpt | 10127 for ac_func in grantpt |
12481 do | 10128 do |
12482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12483 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10130 echo "$as_me:10130: checking for $ac_func" >&5 |
12484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 10131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
12485 if eval "test \"\${$as_ac_var+set}\" = set"; then | 10132 if eval "test \"\${$as_ac_var+set}\" = set"; then |
12486 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10133 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12487 else | 10134 else |
12488 cat >conftest.$ac_ext <<_ACEOF | 10135 cat >conftest.$ac_ext <<_ACEOF |
12489 #line $LINENO "configure" | 10136 #line 10136 "configure" |
12490 #include "confdefs.h" | 10137 #include "confdefs.h" |
12491 /* System header to define __stub macros and hopefully few prototypes, | 10138 /* System header to define __stub macros and hopefully few prototypes, |
12492 which can conflict with char $ac_func (); below. */ | 10139 which can conflict with char $ac_func (); below. */ |
12493 #include <assert.h> | 10140 #include <assert.h> |
12494 /* Override any gcc2 internal prototype to avoid an error. */ | 10141 /* Override any gcc2 internal prototype to avoid an error. */ |
12498 /* We use char because int might match the return type of a gcc2 | 10145 /* We use char because int might match the return type of a gcc2 |
12499 builtin and then its argument prototype would still apply. */ | 10146 builtin and then its argument prototype would still apply. */ |
12500 char $ac_func (); | 10147 char $ac_func (); |
12501 char (*f) (); | 10148 char (*f) (); |
12502 | 10149 |
12503 #ifdef F77_DUMMY_MAIN | |
12504 # ifdef __cplusplus | |
12505 extern "C" | |
12506 # endif | |
12507 int F77_DUMMY_MAIN() { return 1; } | |
12508 #endif | |
12509 int | 10150 int |
12510 main () | 10151 main () |
12511 { | 10152 { |
12512 /* The GNU C library defines this for functions which it implements | 10153 /* The GNU C library defines this for functions which it implements |
12513 to always fail with ENOSYS. Some functions are actually named | 10154 to always fail with ENOSYS. Some functions are actually named |
12521 ; | 10162 ; |
12522 return 0; | 10163 return 0; |
12523 } | 10164 } |
12524 _ACEOF | 10165 _ACEOF |
12525 rm -f conftest.$ac_objext conftest$ac_exeext | 10166 rm -f conftest.$ac_objext conftest$ac_exeext |
12526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10167 if { (eval echo "$as_me:10167: \"$ac_link\"") >&5 |
12527 (eval $ac_link) 2>&5 | 10168 (eval $ac_link) 2>&5 |
12528 ac_status=$? | 10169 ac_status=$? |
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10170 echo "$as_me:10170: \$? = $ac_status" >&5 |
12530 (exit $ac_status); } && | 10171 (exit $ac_status); } && |
12531 { ac_try='test -s conftest$ac_exeext' | 10172 { ac_try='test -s conftest$ac_exeext' |
12532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10173 { (eval echo "$as_me:10173: \"$ac_try\"") >&5 |
12533 (eval $ac_try) 2>&5 | 10174 (eval $ac_try) 2>&5 |
12534 ac_status=$? | 10175 ac_status=$? |
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10176 echo "$as_me:10176: \$? = $ac_status" >&5 |
12536 (exit $ac_status); }; }; then | 10177 (exit $ac_status); }; }; then |
12537 eval "$as_ac_var=yes" | 10178 eval "$as_ac_var=yes" |
12538 else | 10179 else |
12539 echo "$as_me: failed program was:" >&5 | 10180 echo "$as_me: failed program was:" >&5 |
12540 cat conftest.$ac_ext >&5 | 10181 cat conftest.$ac_ext >&5 |
12541 eval "$as_ac_var=no" | 10182 eval "$as_ac_var=no" |
12542 fi | 10183 fi |
12543 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10184 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12544 fi | 10185 fi |
12545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 10186 echo "$as_me:10186: result: `eval echo '${'$as_ac_var'}'`" >&5 |
12546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 10187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
12547 if test `eval echo '${'$as_ac_var'}'` = yes; then | 10188 if test `eval echo '${'$as_ac_var'}'` = yes; then |
12548 cat >>confdefs.h <<_ACEOF | 10189 cat >>confdefs.h <<EOF |
12549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12550 _ACEOF | 10191 EOF |
12551 | 10192 |
12552 fi | 10193 fi |
12553 done | 10194 done |
12554 | |
12555 | 10195 |
12556 # PTY-related GNU extensions. | 10196 # PTY-related GNU extensions. |
12557 | 10197 |
12558 for ac_func in getpt | 10198 for ac_func in getpt |
12559 do | 10199 do |
12560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12561 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10201 echo "$as_me:10201: checking for $ac_func" >&5 |
12562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 10202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
12563 if eval "test \"\${$as_ac_var+set}\" = set"; then | 10203 if eval "test \"\${$as_ac_var+set}\" = set"; then |
12564 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10204 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12565 else | 10205 else |
12566 cat >conftest.$ac_ext <<_ACEOF | 10206 cat >conftest.$ac_ext <<_ACEOF |
12567 #line $LINENO "configure" | 10207 #line 10207 "configure" |
12568 #include "confdefs.h" | 10208 #include "confdefs.h" |
12569 /* System header to define __stub macros and hopefully few prototypes, | 10209 /* System header to define __stub macros and hopefully few prototypes, |
12570 which can conflict with char $ac_func (); below. */ | 10210 which can conflict with char $ac_func (); below. */ |
12571 #include <assert.h> | 10211 #include <assert.h> |
12572 /* Override any gcc2 internal prototype to avoid an error. */ | 10212 /* Override any gcc2 internal prototype to avoid an error. */ |
12576 /* We use char because int might match the return type of a gcc2 | 10216 /* We use char because int might match the return type of a gcc2 |
12577 builtin and then its argument prototype would still apply. */ | 10217 builtin and then its argument prototype would still apply. */ |
12578 char $ac_func (); | 10218 char $ac_func (); |
12579 char (*f) (); | 10219 char (*f) (); |
12580 | 10220 |
12581 #ifdef F77_DUMMY_MAIN | |
12582 # ifdef __cplusplus | |
12583 extern "C" | |
12584 # endif | |
12585 int F77_DUMMY_MAIN() { return 1; } | |
12586 #endif | |
12587 int | 10221 int |
12588 main () | 10222 main () |
12589 { | 10223 { |
12590 /* The GNU C library defines this for functions which it implements | 10224 /* The GNU C library defines this for functions which it implements |
12591 to always fail with ENOSYS. Some functions are actually named | 10225 to always fail with ENOSYS. Some functions are actually named |
12599 ; | 10233 ; |
12600 return 0; | 10234 return 0; |
12601 } | 10235 } |
12602 _ACEOF | 10236 _ACEOF |
12603 rm -f conftest.$ac_objext conftest$ac_exeext | 10237 rm -f conftest.$ac_objext conftest$ac_exeext |
12604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10238 if { (eval echo "$as_me:10238: \"$ac_link\"") >&5 |
12605 (eval $ac_link) 2>&5 | 10239 (eval $ac_link) 2>&5 |
12606 ac_status=$? | 10240 ac_status=$? |
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10241 echo "$as_me:10241: \$? = $ac_status" >&5 |
12608 (exit $ac_status); } && | 10242 (exit $ac_status); } && |
12609 { ac_try='test -s conftest$ac_exeext' | 10243 { ac_try='test -s conftest$ac_exeext' |
12610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10244 { (eval echo "$as_me:10244: \"$ac_try\"") >&5 |
12611 (eval $ac_try) 2>&5 | 10245 (eval $ac_try) 2>&5 |
12612 ac_status=$? | 10246 ac_status=$? |
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10247 echo "$as_me:10247: \$? = $ac_status" >&5 |
12614 (exit $ac_status); }; }; then | 10248 (exit $ac_status); }; }; then |
12615 eval "$as_ac_var=yes" | 10249 eval "$as_ac_var=yes" |
12616 else | 10250 else |
12617 echo "$as_me: failed program was:" >&5 | 10251 echo "$as_me: failed program was:" >&5 |
12618 cat conftest.$ac_ext >&5 | 10252 cat conftest.$ac_ext >&5 |
12619 eval "$as_ac_var=no" | 10253 eval "$as_ac_var=no" |
12620 fi | 10254 fi |
12621 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12622 fi | 10256 fi |
12623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 10257 echo "$as_me:10257: result: `eval echo '${'$as_ac_var'}'`" >&5 |
12624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 10258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
12625 if test `eval echo '${'$as_ac_var'}'` = yes; then | 10259 if test `eval echo '${'$as_ac_var'}'` = yes; then |
12626 cat >>confdefs.h <<_ACEOF | 10260 cat >>confdefs.h <<EOF |
12627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12628 _ACEOF | 10262 EOF |
12629 | 10263 |
12630 fi | 10264 fi |
12631 done | 10265 done |
12632 | |
12633 | 10266 |
12634 # Check this now, so that we will NOT find the above functions in ncurses. | 10267 # Check this now, so that we will NOT find the above functions in ncurses. |
12635 # That is because we have not set up to link ncurses in lib-src. | 10268 # That is because we have not set up to link ncurses in lib-src. |
12636 # It's better to believe a function is not available | 10269 # It's better to believe a function is not available |
12637 # than to expect to find it in ncurses. | 10270 # than to expect to find it in ncurses. |
12638 | 10271 |
12639 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 | 10272 echo "$as_me:10272: checking for tparm in -lncurses" >&5 |
12640 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 | 10273 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 |
12641 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then | 10274 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then |
12642 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10275 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12643 else | 10276 else |
12644 ac_check_lib_save_LIBS=$LIBS | 10277 ac_check_lib_save_LIBS=$LIBS |
12645 LIBS="-lncurses $LIBS" | 10278 LIBS="-lncurses $LIBS" |
12646 cat >conftest.$ac_ext <<_ACEOF | 10279 cat >conftest.$ac_ext <<_ACEOF |
12647 #line $LINENO "configure" | 10280 #line 10280 "configure" |
12648 #include "confdefs.h" | 10281 #include "confdefs.h" |
12649 | 10282 |
12650 /* Override any gcc2 internal prototype to avoid an error. */ | 10283 /* Override any gcc2 internal prototype to avoid an error. */ |
12651 #ifdef __cplusplus | 10284 #ifdef __cplusplus |
12652 extern "C" | 10285 extern "C" |
12653 #endif | 10286 #endif |
12654 /* We use char because int might match the return type of a gcc2 | 10287 /* We use char because int might match the return type of a gcc2 |
12655 builtin and then its argument prototype would still apply. */ | 10288 builtin and then its argument prototype would still apply. */ |
12656 char tparm (); | 10289 char tparm (); |
12657 #ifdef F77_DUMMY_MAIN | |
12658 # ifdef __cplusplus | |
12659 extern "C" | |
12660 # endif | |
12661 int F77_DUMMY_MAIN() { return 1; } | |
12662 #endif | |
12663 int | 10290 int |
12664 main () | 10291 main () |
12665 { | 10292 { |
12666 tparm (); | 10293 tparm (); |
12667 ; | 10294 ; |
12668 return 0; | 10295 return 0; |
12669 } | 10296 } |
12670 _ACEOF | 10297 _ACEOF |
12671 rm -f conftest.$ac_objext conftest$ac_exeext | 10298 rm -f conftest.$ac_objext conftest$ac_exeext |
12672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10299 if { (eval echo "$as_me:10299: \"$ac_link\"") >&5 |
12673 (eval $ac_link) 2>&5 | 10300 (eval $ac_link) 2>&5 |
12674 ac_status=$? | 10301 ac_status=$? |
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10302 echo "$as_me:10302: \$? = $ac_status" >&5 |
12676 (exit $ac_status); } && | 10303 (exit $ac_status); } && |
12677 { ac_try='test -s conftest$ac_exeext' | 10304 { ac_try='test -s conftest$ac_exeext' |
12678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10305 { (eval echo "$as_me:10305: \"$ac_try\"") >&5 |
12679 (eval $ac_try) 2>&5 | 10306 (eval $ac_try) 2>&5 |
12680 ac_status=$? | 10307 ac_status=$? |
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10308 echo "$as_me:10308: \$? = $ac_status" >&5 |
12682 (exit $ac_status); }; }; then | 10309 (exit $ac_status); }; }; then |
12683 ac_cv_lib_ncurses_tparm=yes | 10310 ac_cv_lib_ncurses_tparm=yes |
12684 else | 10311 else |
12685 echo "$as_me: failed program was:" >&5 | 10312 echo "$as_me: failed program was:" >&5 |
12686 cat conftest.$ac_ext >&5 | 10313 cat conftest.$ac_ext >&5 |
12687 ac_cv_lib_ncurses_tparm=no | 10314 ac_cv_lib_ncurses_tparm=no |
12688 fi | 10315 fi |
12689 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12690 LIBS=$ac_check_lib_save_LIBS | 10317 LIBS=$ac_check_lib_save_LIBS |
12691 fi | 10318 fi |
12692 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 | 10319 echo "$as_me:10319: result: $ac_cv_lib_ncurses_tparm" >&5 |
12693 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 | 10320 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 |
12694 if test $ac_cv_lib_ncurses_tparm = yes; then | 10321 if test $ac_cv_lib_ncurses_tparm = yes; then |
12695 cat >>confdefs.h <<_ACEOF | 10322 cat >>confdefs.h <<EOF |
12696 #define HAVE_LIBNCURSES 1 | 10323 #define HAVE_LIBNCURSES 1 |
12697 _ACEOF | 10324 EOF |
12698 | 10325 |
12699 LIBS="-lncurses $LIBS" | 10326 LIBS="-lncurses $LIBS" |
12700 | 10327 |
12701 fi | 10328 fi |
12702 | |
12703 | 10329 |
12704 # Do we need the Hesiod library to provide the support routines? | 10330 # Do we need the Hesiod library to provide the support routines? |
12705 if test "$with_hesiod" = yes ; then | 10331 if test "$with_hesiod" = yes ; then |
12706 # Don't set $LIBS here -- see comments above. | 10332 # Don't set $LIBS here -- see comments above. |
12707 resolv=no | 10333 resolv=no |
12708 echo "$as_me:$LINENO: checking for res_send" >&5 | 10334 echo "$as_me:10334: checking for res_send" >&5 |
12709 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 | 10335 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 |
12710 if test "${ac_cv_func_res_send+set}" = set; then | 10336 if test "${ac_cv_func_res_send+set}" = set; then |
12711 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10337 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12712 else | 10338 else |
12713 cat >conftest.$ac_ext <<_ACEOF | 10339 cat >conftest.$ac_ext <<_ACEOF |
12714 #line $LINENO "configure" | 10340 #line 10340 "configure" |
12715 #include "confdefs.h" | 10341 #include "confdefs.h" |
12716 /* System header to define __stub macros and hopefully few prototypes, | 10342 /* System header to define __stub macros and hopefully few prototypes, |
12717 which can conflict with char res_send (); below. */ | 10343 which can conflict with char res_send (); below. */ |
12718 #include <assert.h> | 10344 #include <assert.h> |
12719 /* Override any gcc2 internal prototype to avoid an error. */ | 10345 /* Override any gcc2 internal prototype to avoid an error. */ |
12723 /* We use char because int might match the return type of a gcc2 | 10349 /* We use char because int might match the return type of a gcc2 |
12724 builtin and then its argument prototype would still apply. */ | 10350 builtin and then its argument prototype would still apply. */ |
12725 char res_send (); | 10351 char res_send (); |
12726 char (*f) (); | 10352 char (*f) (); |
12727 | 10353 |
12728 #ifdef F77_DUMMY_MAIN | |
12729 # ifdef __cplusplus | |
12730 extern "C" | |
12731 # endif | |
12732 int F77_DUMMY_MAIN() { return 1; } | |
12733 #endif | |
12734 int | 10354 int |
12735 main () | 10355 main () |
12736 { | 10356 { |
12737 /* The GNU C library defines this for functions which it implements | 10357 /* The GNU C library defines this for functions which it implements |
12738 to always fail with ENOSYS. Some functions are actually named | 10358 to always fail with ENOSYS. Some functions are actually named |
12746 ; | 10366 ; |
12747 return 0; | 10367 return 0; |
12748 } | 10368 } |
12749 _ACEOF | 10369 _ACEOF |
12750 rm -f conftest.$ac_objext conftest$ac_exeext | 10370 rm -f conftest.$ac_objext conftest$ac_exeext |
12751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10371 if { (eval echo "$as_me:10371: \"$ac_link\"") >&5 |
12752 (eval $ac_link) 2>&5 | 10372 (eval $ac_link) 2>&5 |
12753 ac_status=$? | 10373 ac_status=$? |
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10374 echo "$as_me:10374: \$? = $ac_status" >&5 |
12755 (exit $ac_status); } && | 10375 (exit $ac_status); } && |
12756 { ac_try='test -s conftest$ac_exeext' | 10376 { ac_try='test -s conftest$ac_exeext' |
12757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10377 { (eval echo "$as_me:10377: \"$ac_try\"") >&5 |
12758 (eval $ac_try) 2>&5 | 10378 (eval $ac_try) 2>&5 |
12759 ac_status=$? | 10379 ac_status=$? |
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10380 echo "$as_me:10380: \$? = $ac_status" >&5 |
12761 (exit $ac_status); }; }; then | 10381 (exit $ac_status); }; }; then |
12762 ac_cv_func_res_send=yes | 10382 ac_cv_func_res_send=yes |
12763 else | 10383 else |
12764 echo "$as_me: failed program was:" >&5 | 10384 echo "$as_me: failed program was:" >&5 |
12765 cat conftest.$ac_ext >&5 | 10385 cat conftest.$ac_ext >&5 |
12766 ac_cv_func_res_send=no | 10386 ac_cv_func_res_send=no |
12767 fi | 10387 fi |
12768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12769 fi | 10389 fi |
12770 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 | 10390 echo "$as_me:10390: result: $ac_cv_func_res_send" >&5 |
12771 echo "${ECHO_T}$ac_cv_func_res_send" >&6 | 10391 echo "${ECHO_T}$ac_cv_func_res_send" >&6 |
12772 if test $ac_cv_func_res_send = yes; then | 10392 if test $ac_cv_func_res_send = yes; then |
12773 : | 10393 : |
12774 else | 10394 else |
12775 echo "$as_me:$LINENO: checking for __res_send" >&5 | 10395 echo "$as_me:10395: checking for __res_send" >&5 |
12776 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 | 10396 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 |
12777 if test "${ac_cv_func___res_send+set}" = set; then | 10397 if test "${ac_cv_func___res_send+set}" = set; then |
12778 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10398 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12779 else | 10399 else |
12780 cat >conftest.$ac_ext <<_ACEOF | 10400 cat >conftest.$ac_ext <<_ACEOF |
12781 #line $LINENO "configure" | 10401 #line 10401 "configure" |
12782 #include "confdefs.h" | 10402 #include "confdefs.h" |
12783 /* System header to define __stub macros and hopefully few prototypes, | 10403 /* System header to define __stub macros and hopefully few prototypes, |
12784 which can conflict with char __res_send (); below. */ | 10404 which can conflict with char __res_send (); below. */ |
12785 #include <assert.h> | 10405 #include <assert.h> |
12786 /* Override any gcc2 internal prototype to avoid an error. */ | 10406 /* Override any gcc2 internal prototype to avoid an error. */ |
12790 /* We use char because int might match the return type of a gcc2 | 10410 /* We use char because int might match the return type of a gcc2 |
12791 builtin and then its argument prototype would still apply. */ | 10411 builtin and then its argument prototype would still apply. */ |
12792 char __res_send (); | 10412 char __res_send (); |
12793 char (*f) (); | 10413 char (*f) (); |
12794 | 10414 |
12795 #ifdef F77_DUMMY_MAIN | |
12796 # ifdef __cplusplus | |
12797 extern "C" | |
12798 # endif | |
12799 int F77_DUMMY_MAIN() { return 1; } | |
12800 #endif | |
12801 int | 10415 int |
12802 main () | 10416 main () |
12803 { | 10417 { |
12804 /* The GNU C library defines this for functions which it implements | 10418 /* The GNU C library defines this for functions which it implements |
12805 to always fail with ENOSYS. Some functions are actually named | 10419 to always fail with ENOSYS. Some functions are actually named |
12813 ; | 10427 ; |
12814 return 0; | 10428 return 0; |
12815 } | 10429 } |
12816 _ACEOF | 10430 _ACEOF |
12817 rm -f conftest.$ac_objext conftest$ac_exeext | 10431 rm -f conftest.$ac_objext conftest$ac_exeext |
12818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10432 if { (eval echo "$as_me:10432: \"$ac_link\"") >&5 |
12819 (eval $ac_link) 2>&5 | 10433 (eval $ac_link) 2>&5 |
12820 ac_status=$? | 10434 ac_status=$? |
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10435 echo "$as_me:10435: \$? = $ac_status" >&5 |
12822 (exit $ac_status); } && | 10436 (exit $ac_status); } && |
12823 { ac_try='test -s conftest$ac_exeext' | 10437 { ac_try='test -s conftest$ac_exeext' |
12824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10438 { (eval echo "$as_me:10438: \"$ac_try\"") >&5 |
12825 (eval $ac_try) 2>&5 | 10439 (eval $ac_try) 2>&5 |
12826 ac_status=$? | 10440 ac_status=$? |
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10441 echo "$as_me:10441: \$? = $ac_status" >&5 |
12828 (exit $ac_status); }; }; then | 10442 (exit $ac_status); }; }; then |
12829 ac_cv_func___res_send=yes | 10443 ac_cv_func___res_send=yes |
12830 else | 10444 else |
12831 echo "$as_me: failed program was:" >&5 | 10445 echo "$as_me: failed program was:" >&5 |
12832 cat conftest.$ac_ext >&5 | 10446 cat conftest.$ac_ext >&5 |
12833 ac_cv_func___res_send=no | 10447 ac_cv_func___res_send=no |
12834 fi | 10448 fi |
12835 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12836 fi | 10450 fi |
12837 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 | 10451 echo "$as_me:10451: result: $ac_cv_func___res_send" >&5 |
12838 echo "${ECHO_T}$ac_cv_func___res_send" >&6 | 10452 echo "${ECHO_T}$ac_cv_func___res_send" >&6 |
12839 if test $ac_cv_func___res_send = yes; then | 10453 if test $ac_cv_func___res_send = yes; then |
12840 : | 10454 : |
12841 else | 10455 else |
12842 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 | 10456 echo "$as_me:10456: checking for res_send in -lresolv" >&5 |
12843 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 | 10457 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 |
12844 if test "${ac_cv_lib_resolv_res_send+set}" = set; then | 10458 if test "${ac_cv_lib_resolv_res_send+set}" = set; then |
12845 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10459 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12846 else | 10460 else |
12847 ac_check_lib_save_LIBS=$LIBS | 10461 ac_check_lib_save_LIBS=$LIBS |
12848 LIBS="-lresolv $LIBS" | 10462 LIBS="-lresolv $LIBS" |
12849 cat >conftest.$ac_ext <<_ACEOF | 10463 cat >conftest.$ac_ext <<_ACEOF |
12850 #line $LINENO "configure" | 10464 #line 10464 "configure" |
12851 #include "confdefs.h" | 10465 #include "confdefs.h" |
12852 | 10466 |
12853 /* Override any gcc2 internal prototype to avoid an error. */ | 10467 /* Override any gcc2 internal prototype to avoid an error. */ |
12854 #ifdef __cplusplus | 10468 #ifdef __cplusplus |
12855 extern "C" | 10469 extern "C" |
12856 #endif | 10470 #endif |
12857 /* We use char because int might match the return type of a gcc2 | 10471 /* We use char because int might match the return type of a gcc2 |
12858 builtin and then its argument prototype would still apply. */ | 10472 builtin and then its argument prototype would still apply. */ |
12859 char res_send (); | 10473 char res_send (); |
12860 #ifdef F77_DUMMY_MAIN | |
12861 # ifdef __cplusplus | |
12862 extern "C" | |
12863 # endif | |
12864 int F77_DUMMY_MAIN() { return 1; } | |
12865 #endif | |
12866 int | 10474 int |
12867 main () | 10475 main () |
12868 { | 10476 { |
12869 res_send (); | 10477 res_send (); |
12870 ; | 10478 ; |
12871 return 0; | 10479 return 0; |
12872 } | 10480 } |
12873 _ACEOF | 10481 _ACEOF |
12874 rm -f conftest.$ac_objext conftest$ac_exeext | 10482 rm -f conftest.$ac_objext conftest$ac_exeext |
12875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10483 if { (eval echo "$as_me:10483: \"$ac_link\"") >&5 |
12876 (eval $ac_link) 2>&5 | 10484 (eval $ac_link) 2>&5 |
12877 ac_status=$? | 10485 ac_status=$? |
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10486 echo "$as_me:10486: \$? = $ac_status" >&5 |
12879 (exit $ac_status); } && | 10487 (exit $ac_status); } && |
12880 { ac_try='test -s conftest$ac_exeext' | 10488 { ac_try='test -s conftest$ac_exeext' |
12881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10489 { (eval echo "$as_me:10489: \"$ac_try\"") >&5 |
12882 (eval $ac_try) 2>&5 | 10490 (eval $ac_try) 2>&5 |
12883 ac_status=$? | 10491 ac_status=$? |
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10492 echo "$as_me:10492: \$? = $ac_status" >&5 |
12885 (exit $ac_status); }; }; then | 10493 (exit $ac_status); }; }; then |
12886 ac_cv_lib_resolv_res_send=yes | 10494 ac_cv_lib_resolv_res_send=yes |
12887 else | 10495 else |
12888 echo "$as_me: failed program was:" >&5 | 10496 echo "$as_me: failed program was:" >&5 |
12889 cat conftest.$ac_ext >&5 | 10497 cat conftest.$ac_ext >&5 |
12890 ac_cv_lib_resolv_res_send=no | 10498 ac_cv_lib_resolv_res_send=no |
12891 fi | 10499 fi |
12892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10500 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12893 LIBS=$ac_check_lib_save_LIBS | 10501 LIBS=$ac_check_lib_save_LIBS |
12894 fi | 10502 fi |
12895 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 | 10503 echo "$as_me:10503: result: $ac_cv_lib_resolv_res_send" >&5 |
12896 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 | 10504 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 |
12897 if test $ac_cv_lib_resolv_res_send = yes; then | 10505 if test $ac_cv_lib_resolv_res_send = yes; then |
12898 resolv=yes | 10506 resolv=yes |
12899 else | 10507 else |
12900 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 | 10508 echo "$as_me:10508: checking for __res_send in -lresolv" >&5 |
12901 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 | 10509 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 |
12902 if test "${ac_cv_lib_resolv___res_send+set}" = set; then | 10510 if test "${ac_cv_lib_resolv___res_send+set}" = set; then |
12903 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10511 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12904 else | 10512 else |
12905 ac_check_lib_save_LIBS=$LIBS | 10513 ac_check_lib_save_LIBS=$LIBS |
12906 LIBS="-lresolv $LIBS" | 10514 LIBS="-lresolv $LIBS" |
12907 cat >conftest.$ac_ext <<_ACEOF | 10515 cat >conftest.$ac_ext <<_ACEOF |
12908 #line $LINENO "configure" | 10516 #line 10516 "configure" |
12909 #include "confdefs.h" | 10517 #include "confdefs.h" |
12910 | 10518 |
12911 /* Override any gcc2 internal prototype to avoid an error. */ | 10519 /* Override any gcc2 internal prototype to avoid an error. */ |
12912 #ifdef __cplusplus | 10520 #ifdef __cplusplus |
12913 extern "C" | 10521 extern "C" |
12914 #endif | 10522 #endif |
12915 /* We use char because int might match the return type of a gcc2 | 10523 /* We use char because int might match the return type of a gcc2 |
12916 builtin and then its argument prototype would still apply. */ | 10524 builtin and then its argument prototype would still apply. */ |
12917 char __res_send (); | 10525 char __res_send (); |
12918 #ifdef F77_DUMMY_MAIN | |
12919 # ifdef __cplusplus | |
12920 extern "C" | |
12921 # endif | |
12922 int F77_DUMMY_MAIN() { return 1; } | |
12923 #endif | |
12924 int | 10526 int |
12925 main () | 10527 main () |
12926 { | 10528 { |
12927 __res_send (); | 10529 __res_send (); |
12928 ; | 10530 ; |
12929 return 0; | 10531 return 0; |
12930 } | 10532 } |
12931 _ACEOF | 10533 _ACEOF |
12932 rm -f conftest.$ac_objext conftest$ac_exeext | 10534 rm -f conftest.$ac_objext conftest$ac_exeext |
12933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10535 if { (eval echo "$as_me:10535: \"$ac_link\"") >&5 |
12934 (eval $ac_link) 2>&5 | 10536 (eval $ac_link) 2>&5 |
12935 ac_status=$? | 10537 ac_status=$? |
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10538 echo "$as_me:10538: \$? = $ac_status" >&5 |
12937 (exit $ac_status); } && | 10539 (exit $ac_status); } && |
12938 { ac_try='test -s conftest$ac_exeext' | 10540 { ac_try='test -s conftest$ac_exeext' |
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10541 { (eval echo "$as_me:10541: \"$ac_try\"") >&5 |
12940 (eval $ac_try) 2>&5 | 10542 (eval $ac_try) 2>&5 |
12941 ac_status=$? | 10543 ac_status=$? |
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10544 echo "$as_me:10544: \$? = $ac_status" >&5 |
12943 (exit $ac_status); }; }; then | 10545 (exit $ac_status); }; }; then |
12944 ac_cv_lib_resolv___res_send=yes | 10546 ac_cv_lib_resolv___res_send=yes |
12945 else | 10547 else |
12946 echo "$as_me: failed program was:" >&5 | 10548 echo "$as_me: failed program was:" >&5 |
12947 cat conftest.$ac_ext >&5 | 10549 cat conftest.$ac_ext >&5 |
12948 ac_cv_lib_resolv___res_send=no | 10550 ac_cv_lib_resolv___res_send=no |
12949 fi | 10551 fi |
12950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12951 LIBS=$ac_check_lib_save_LIBS | 10553 LIBS=$ac_check_lib_save_LIBS |
12952 fi | 10554 fi |
12953 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 | 10555 echo "$as_me:10555: result: $ac_cv_lib_resolv___res_send" >&5 |
12954 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 | 10556 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 |
12955 if test $ac_cv_lib_resolv___res_send = yes; then | 10557 if test $ac_cv_lib_resolv___res_send = yes; then |
12956 resolv=yes | 10558 resolv=yes |
12957 fi | 10559 fi |
12958 | 10560 |
12963 fi | 10565 fi |
12964 | 10566 |
12965 if test "$resolv" = yes ; then | 10567 if test "$resolv" = yes ; then |
12966 RESOLVLIB=-lresolv | 10568 RESOLVLIB=-lresolv |
12967 | 10569 |
12968 cat >>confdefs.h <<\_ACEOF | 10570 cat >>confdefs.h <<\EOF |
12969 #define HAVE_LIBRESOLV 1 | 10571 #define HAVE_LIBRESOLV 1 |
12970 _ACEOF | 10572 EOF |
12971 | 10573 |
12972 else | 10574 else |
12973 RESOLVLIB= | 10575 RESOLVLIB= |
12974 fi | 10576 fi |
12975 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 | 10577 echo "$as_me:10577: checking for hes_getmailhost" >&5 |
12976 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 | 10578 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 |
12977 if test "${ac_cv_func_hes_getmailhost+set}" = set; then | 10579 if test "${ac_cv_func_hes_getmailhost+set}" = set; then |
12978 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10580 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12979 else | 10581 else |
12980 cat >conftest.$ac_ext <<_ACEOF | 10582 cat >conftest.$ac_ext <<_ACEOF |
12981 #line $LINENO "configure" | 10583 #line 10583 "configure" |
12982 #include "confdefs.h" | 10584 #include "confdefs.h" |
12983 /* System header to define __stub macros and hopefully few prototypes, | 10585 /* System header to define __stub macros and hopefully few prototypes, |
12984 which can conflict with char hes_getmailhost (); below. */ | 10586 which can conflict with char hes_getmailhost (); below. */ |
12985 #include <assert.h> | 10587 #include <assert.h> |
12986 /* Override any gcc2 internal prototype to avoid an error. */ | 10588 /* Override any gcc2 internal prototype to avoid an error. */ |
12990 /* We use char because int might match the return type of a gcc2 | 10592 /* We use char because int might match the return type of a gcc2 |
12991 builtin and then its argument prototype would still apply. */ | 10593 builtin and then its argument prototype would still apply. */ |
12992 char hes_getmailhost (); | 10594 char hes_getmailhost (); |
12993 char (*f) (); | 10595 char (*f) (); |
12994 | 10596 |
12995 #ifdef F77_DUMMY_MAIN | |
12996 # ifdef __cplusplus | |
12997 extern "C" | |
12998 # endif | |
12999 int F77_DUMMY_MAIN() { return 1; } | |
13000 #endif | |
13001 int | 10597 int |
13002 main () | 10598 main () |
13003 { | 10599 { |
13004 /* The GNU C library defines this for functions which it implements | 10600 /* The GNU C library defines this for functions which it implements |
13005 to always fail with ENOSYS. Some functions are actually named | 10601 to always fail with ENOSYS. Some functions are actually named |
13013 ; | 10609 ; |
13014 return 0; | 10610 return 0; |
13015 } | 10611 } |
13016 _ACEOF | 10612 _ACEOF |
13017 rm -f conftest.$ac_objext conftest$ac_exeext | 10613 rm -f conftest.$ac_objext conftest$ac_exeext |
13018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10614 if { (eval echo "$as_me:10614: \"$ac_link\"") >&5 |
13019 (eval $ac_link) 2>&5 | 10615 (eval $ac_link) 2>&5 |
13020 ac_status=$? | 10616 ac_status=$? |
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10617 echo "$as_me:10617: \$? = $ac_status" >&5 |
13022 (exit $ac_status); } && | 10618 (exit $ac_status); } && |
13023 { ac_try='test -s conftest$ac_exeext' | 10619 { ac_try='test -s conftest$ac_exeext' |
13024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10620 { (eval echo "$as_me:10620: \"$ac_try\"") >&5 |
13025 (eval $ac_try) 2>&5 | 10621 (eval $ac_try) 2>&5 |
13026 ac_status=$? | 10622 ac_status=$? |
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10623 echo "$as_me:10623: \$? = $ac_status" >&5 |
13028 (exit $ac_status); }; }; then | 10624 (exit $ac_status); }; }; then |
13029 ac_cv_func_hes_getmailhost=yes | 10625 ac_cv_func_hes_getmailhost=yes |
13030 else | 10626 else |
13031 echo "$as_me: failed program was:" >&5 | 10627 echo "$as_me: failed program was:" >&5 |
13032 cat conftest.$ac_ext >&5 | 10628 cat conftest.$ac_ext >&5 |
13033 ac_cv_func_hes_getmailhost=no | 10629 ac_cv_func_hes_getmailhost=no |
13034 fi | 10630 fi |
13035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13036 fi | 10632 fi |
13037 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 | 10633 echo "$as_me:10633: result: $ac_cv_func_hes_getmailhost" >&5 |
13038 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 | 10634 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 |
13039 if test $ac_cv_func_hes_getmailhost = yes; then | 10635 if test $ac_cv_func_hes_getmailhost = yes; then |
13040 : | 10636 : |
13041 else | 10637 else |
13042 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 | 10638 echo "$as_me:10638: checking for hes_getmailhost in -lhesiod" >&5 |
13043 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 | 10639 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 |
13044 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then | 10640 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then |
13045 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10641 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13046 else | 10642 else |
13047 ac_check_lib_save_LIBS=$LIBS | 10643 ac_check_lib_save_LIBS=$LIBS |
13048 LIBS="-lhesiod $RESOLVLIB $LIBS" | 10644 LIBS="-lhesiod $RESOLVLIB $LIBS" |
13049 cat >conftest.$ac_ext <<_ACEOF | 10645 cat >conftest.$ac_ext <<_ACEOF |
13050 #line $LINENO "configure" | 10646 #line 10646 "configure" |
13051 #include "confdefs.h" | 10647 #include "confdefs.h" |
13052 | 10648 |
13053 /* Override any gcc2 internal prototype to avoid an error. */ | 10649 /* Override any gcc2 internal prototype to avoid an error. */ |
13054 #ifdef __cplusplus | 10650 #ifdef __cplusplus |
13055 extern "C" | 10651 extern "C" |
13056 #endif | 10652 #endif |
13057 /* We use char because int might match the return type of a gcc2 | 10653 /* We use char because int might match the return type of a gcc2 |
13058 builtin and then its argument prototype would still apply. */ | 10654 builtin and then its argument prototype would still apply. */ |
13059 char hes_getmailhost (); | 10655 char hes_getmailhost (); |
13060 #ifdef F77_DUMMY_MAIN | |
13061 # ifdef __cplusplus | |
13062 extern "C" | |
13063 # endif | |
13064 int F77_DUMMY_MAIN() { return 1; } | |
13065 #endif | |
13066 int | 10656 int |
13067 main () | 10657 main () |
13068 { | 10658 { |
13069 hes_getmailhost (); | 10659 hes_getmailhost (); |
13070 ; | 10660 ; |
13071 return 0; | 10661 return 0; |
13072 } | 10662 } |
13073 _ACEOF | 10663 _ACEOF |
13074 rm -f conftest.$ac_objext conftest$ac_exeext | 10664 rm -f conftest.$ac_objext conftest$ac_exeext |
13075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10665 if { (eval echo "$as_me:10665: \"$ac_link\"") >&5 |
13076 (eval $ac_link) 2>&5 | 10666 (eval $ac_link) 2>&5 |
13077 ac_status=$? | 10667 ac_status=$? |
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10668 echo "$as_me:10668: \$? = $ac_status" >&5 |
13079 (exit $ac_status); } && | 10669 (exit $ac_status); } && |
13080 { ac_try='test -s conftest$ac_exeext' | 10670 { ac_try='test -s conftest$ac_exeext' |
13081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10671 { (eval echo "$as_me:10671: \"$ac_try\"") >&5 |
13082 (eval $ac_try) 2>&5 | 10672 (eval $ac_try) 2>&5 |
13083 ac_status=$? | 10673 ac_status=$? |
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10674 echo "$as_me:10674: \$? = $ac_status" >&5 |
13085 (exit $ac_status); }; }; then | 10675 (exit $ac_status); }; }; then |
13086 ac_cv_lib_hesiod_hes_getmailhost=yes | 10676 ac_cv_lib_hesiod_hes_getmailhost=yes |
13087 else | 10677 else |
13088 echo "$as_me: failed program was:" >&5 | 10678 echo "$as_me: failed program was:" >&5 |
13089 cat conftest.$ac_ext >&5 | 10679 cat conftest.$ac_ext >&5 |
13090 ac_cv_lib_hesiod_hes_getmailhost=no | 10680 ac_cv_lib_hesiod_hes_getmailhost=no |
13091 fi | 10681 fi |
13092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13093 LIBS=$ac_check_lib_save_LIBS | 10683 LIBS=$ac_check_lib_save_LIBS |
13094 fi | 10684 fi |
13095 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 10685 echo "$as_me:10685: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
13096 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 | 10686 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 |
13097 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then | 10687 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then |
13098 | 10688 |
13099 cat >>confdefs.h <<\_ACEOF | 10689 cat >>confdefs.h <<\EOF |
13100 #define HAVE_LIBHESIOD 1 | 10690 #define HAVE_LIBHESIOD 1 |
13101 _ACEOF | 10691 EOF |
13102 | 10692 |
13103 else | 10693 else |
13104 : | 10694 : |
13105 fi | 10695 fi |
13106 | 10696 |
13109 fi | 10699 fi |
13110 | 10700 |
13111 # These tell us which Kerberos-related libraries to use. | 10701 # These tell us which Kerberos-related libraries to use. |
13112 if test "${with_kerberos+set}" = set; then | 10702 if test "${with_kerberos+set}" = set; then |
13113 | 10703 |
13114 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 | 10704 echo "$as_me:10704: checking for com_err in -lcom_err" >&5 |
13115 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 | 10705 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 |
13116 if test "${ac_cv_lib_com_err_com_err+set}" = set; then | 10706 if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
13117 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10707 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13118 else | 10708 else |
13119 ac_check_lib_save_LIBS=$LIBS | 10709 ac_check_lib_save_LIBS=$LIBS |
13120 LIBS="-lcom_err $LIBS" | 10710 LIBS="-lcom_err $LIBS" |
13121 cat >conftest.$ac_ext <<_ACEOF | 10711 cat >conftest.$ac_ext <<_ACEOF |
13122 #line $LINENO "configure" | 10712 #line 10712 "configure" |
13123 #include "confdefs.h" | 10713 #include "confdefs.h" |
13124 | 10714 |
13125 /* Override any gcc2 internal prototype to avoid an error. */ | 10715 /* Override any gcc2 internal prototype to avoid an error. */ |
13126 #ifdef __cplusplus | 10716 #ifdef __cplusplus |
13127 extern "C" | 10717 extern "C" |
13128 #endif | 10718 #endif |
13129 /* We use char because int might match the return type of a gcc2 | 10719 /* We use char because int might match the return type of a gcc2 |
13130 builtin and then its argument prototype would still apply. */ | 10720 builtin and then its argument prototype would still apply. */ |
13131 char com_err (); | 10721 char com_err (); |
13132 #ifdef F77_DUMMY_MAIN | |
13133 # ifdef __cplusplus | |
13134 extern "C" | |
13135 # endif | |
13136 int F77_DUMMY_MAIN() { return 1; } | |
13137 #endif | |
13138 int | 10722 int |
13139 main () | 10723 main () |
13140 { | 10724 { |
13141 com_err (); | 10725 com_err (); |
13142 ; | 10726 ; |
13143 return 0; | 10727 return 0; |
13144 } | 10728 } |
13145 _ACEOF | 10729 _ACEOF |
13146 rm -f conftest.$ac_objext conftest$ac_exeext | 10730 rm -f conftest.$ac_objext conftest$ac_exeext |
13147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10731 if { (eval echo "$as_me:10731: \"$ac_link\"") >&5 |
13148 (eval $ac_link) 2>&5 | 10732 (eval $ac_link) 2>&5 |
13149 ac_status=$? | 10733 ac_status=$? |
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10734 echo "$as_me:10734: \$? = $ac_status" >&5 |
13151 (exit $ac_status); } && | 10735 (exit $ac_status); } && |
13152 { ac_try='test -s conftest$ac_exeext' | 10736 { ac_try='test -s conftest$ac_exeext' |
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10737 { (eval echo "$as_me:10737: \"$ac_try\"") >&5 |
13154 (eval $ac_try) 2>&5 | 10738 (eval $ac_try) 2>&5 |
13155 ac_status=$? | 10739 ac_status=$? |
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10740 echo "$as_me:10740: \$? = $ac_status" >&5 |
13157 (exit $ac_status); }; }; then | 10741 (exit $ac_status); }; }; then |
13158 ac_cv_lib_com_err_com_err=yes | 10742 ac_cv_lib_com_err_com_err=yes |
13159 else | 10743 else |
13160 echo "$as_me: failed program was:" >&5 | 10744 echo "$as_me: failed program was:" >&5 |
13161 cat conftest.$ac_ext >&5 | 10745 cat conftest.$ac_ext >&5 |
13162 ac_cv_lib_com_err_com_err=no | 10746 ac_cv_lib_com_err_com_err=no |
13163 fi | 10747 fi |
13164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10748 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13165 LIBS=$ac_check_lib_save_LIBS | 10749 LIBS=$ac_check_lib_save_LIBS |
13166 fi | 10750 fi |
13167 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 | 10751 echo "$as_me:10751: result: $ac_cv_lib_com_err_com_err" >&5 |
13168 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 | 10752 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 |
13169 if test $ac_cv_lib_com_err_com_err = yes; then | 10753 if test $ac_cv_lib_com_err_com_err = yes; then |
13170 cat >>confdefs.h <<_ACEOF | 10754 cat >>confdefs.h <<EOF |
13171 #define HAVE_LIBCOM_ERR 1 | 10755 #define HAVE_LIBCOM_ERR 1 |
13172 _ACEOF | 10756 EOF |
13173 | 10757 |
13174 LIBS="-lcom_err $LIBS" | 10758 LIBS="-lcom_err $LIBS" |
13175 | 10759 |
13176 fi | 10760 fi |
13177 | 10761 |
13178 | 10762 echo "$as_me:10762: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
13179 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | |
13180 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 | 10763 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 |
13181 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then | 10764 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then |
13182 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10765 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13183 else | 10766 else |
13184 ac_check_lib_save_LIBS=$LIBS | 10767 ac_check_lib_save_LIBS=$LIBS |
13185 LIBS="-lk5crypto $LIBS" | 10768 LIBS="-lk5crypto $LIBS" |
13186 cat >conftest.$ac_ext <<_ACEOF | 10769 cat >conftest.$ac_ext <<_ACEOF |
13187 #line $LINENO "configure" | 10770 #line 10770 "configure" |
13188 #include "confdefs.h" | 10771 #include "confdefs.h" |
13189 | 10772 |
13190 /* Override any gcc2 internal prototype to avoid an error. */ | 10773 /* Override any gcc2 internal prototype to avoid an error. */ |
13191 #ifdef __cplusplus | 10774 #ifdef __cplusplus |
13192 extern "C" | 10775 extern "C" |
13193 #endif | 10776 #endif |
13194 /* We use char because int might match the return type of a gcc2 | 10777 /* We use char because int might match the return type of a gcc2 |
13195 builtin and then its argument prototype would still apply. */ | 10778 builtin and then its argument prototype would still apply. */ |
13196 char mit_des_cbc_encrypt (); | 10779 char mit_des_cbc_encrypt (); |
13197 #ifdef F77_DUMMY_MAIN | |
13198 # ifdef __cplusplus | |
13199 extern "C" | |
13200 # endif | |
13201 int F77_DUMMY_MAIN() { return 1; } | |
13202 #endif | |
13203 int | 10780 int |
13204 main () | 10781 main () |
13205 { | 10782 { |
13206 mit_des_cbc_encrypt (); | 10783 mit_des_cbc_encrypt (); |
13207 ; | 10784 ; |
13208 return 0; | 10785 return 0; |
13209 } | 10786 } |
13210 _ACEOF | 10787 _ACEOF |
13211 rm -f conftest.$ac_objext conftest$ac_exeext | 10788 rm -f conftest.$ac_objext conftest$ac_exeext |
13212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10789 if { (eval echo "$as_me:10789: \"$ac_link\"") >&5 |
13213 (eval $ac_link) 2>&5 | 10790 (eval $ac_link) 2>&5 |
13214 ac_status=$? | 10791 ac_status=$? |
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10792 echo "$as_me:10792: \$? = $ac_status" >&5 |
13216 (exit $ac_status); } && | 10793 (exit $ac_status); } && |
13217 { ac_try='test -s conftest$ac_exeext' | 10794 { ac_try='test -s conftest$ac_exeext' |
13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10795 { (eval echo "$as_me:10795: \"$ac_try\"") >&5 |
13219 (eval $ac_try) 2>&5 | 10796 (eval $ac_try) 2>&5 |
13220 ac_status=$? | 10797 ac_status=$? |
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10798 echo "$as_me:10798: \$? = $ac_status" >&5 |
13222 (exit $ac_status); }; }; then | 10799 (exit $ac_status); }; }; then |
13223 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 10800 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
13224 else | 10801 else |
13225 echo "$as_me: failed program was:" >&5 | 10802 echo "$as_me: failed program was:" >&5 |
13226 cat conftest.$ac_ext >&5 | 10803 cat conftest.$ac_ext >&5 |
13227 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | 10804 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no |
13228 fi | 10805 fi |
13229 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13230 LIBS=$ac_check_lib_save_LIBS | 10807 LIBS=$ac_check_lib_save_LIBS |
13231 fi | 10808 fi |
13232 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 10809 echo "$as_me:10809: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
13233 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 | 10810 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 |
13234 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then | 10811 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then |
13235 cat >>confdefs.h <<_ACEOF | 10812 cat >>confdefs.h <<EOF |
13236 #define HAVE_LIBK5CRYPTO 1 | 10813 #define HAVE_LIBK5CRYPTO 1 |
13237 _ACEOF | 10814 EOF |
13238 | 10815 |
13239 LIBS="-lk5crypto $LIBS" | 10816 LIBS="-lk5crypto $LIBS" |
13240 | 10817 |
13241 fi | 10818 fi |
13242 | 10819 |
13243 | 10820 echo "$as_me:10820: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
13244 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | |
13245 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 | 10821 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 |
13246 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then | 10822 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then |
13247 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10823 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13248 else | 10824 else |
13249 ac_check_lib_save_LIBS=$LIBS | 10825 ac_check_lib_save_LIBS=$LIBS |
13250 LIBS="-lcrypto $LIBS" | 10826 LIBS="-lcrypto $LIBS" |
13251 cat >conftest.$ac_ext <<_ACEOF | 10827 cat >conftest.$ac_ext <<_ACEOF |
13252 #line $LINENO "configure" | 10828 #line 10828 "configure" |
13253 #include "confdefs.h" | 10829 #include "confdefs.h" |
13254 | 10830 |
13255 /* Override any gcc2 internal prototype to avoid an error. */ | 10831 /* Override any gcc2 internal prototype to avoid an error. */ |
13256 #ifdef __cplusplus | 10832 #ifdef __cplusplus |
13257 extern "C" | 10833 extern "C" |
13258 #endif | 10834 #endif |
13259 /* We use char because int might match the return type of a gcc2 | 10835 /* We use char because int might match the return type of a gcc2 |
13260 builtin and then its argument prototype would still apply. */ | 10836 builtin and then its argument prototype would still apply. */ |
13261 char mit_des_cbc_encrypt (); | 10837 char mit_des_cbc_encrypt (); |
13262 #ifdef F77_DUMMY_MAIN | |
13263 # ifdef __cplusplus | |
13264 extern "C" | |
13265 # endif | |
13266 int F77_DUMMY_MAIN() { return 1; } | |
13267 #endif | |
13268 int | 10838 int |
13269 main () | 10839 main () |
13270 { | 10840 { |
13271 mit_des_cbc_encrypt (); | 10841 mit_des_cbc_encrypt (); |
13272 ; | 10842 ; |
13273 return 0; | 10843 return 0; |
13274 } | 10844 } |
13275 _ACEOF | 10845 _ACEOF |
13276 rm -f conftest.$ac_objext conftest$ac_exeext | 10846 rm -f conftest.$ac_objext conftest$ac_exeext |
13277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10847 if { (eval echo "$as_me:10847: \"$ac_link\"") >&5 |
13278 (eval $ac_link) 2>&5 | 10848 (eval $ac_link) 2>&5 |
13279 ac_status=$? | 10849 ac_status=$? |
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10850 echo "$as_me:10850: \$? = $ac_status" >&5 |
13281 (exit $ac_status); } && | 10851 (exit $ac_status); } && |
13282 { ac_try='test -s conftest$ac_exeext' | 10852 { ac_try='test -s conftest$ac_exeext' |
13283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10853 { (eval echo "$as_me:10853: \"$ac_try\"") >&5 |
13284 (eval $ac_try) 2>&5 | 10854 (eval $ac_try) 2>&5 |
13285 ac_status=$? | 10855 ac_status=$? |
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10856 echo "$as_me:10856: \$? = $ac_status" >&5 |
13287 (exit $ac_status); }; }; then | 10857 (exit $ac_status); }; }; then |
13288 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 10858 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
13289 else | 10859 else |
13290 echo "$as_me: failed program was:" >&5 | 10860 echo "$as_me: failed program was:" >&5 |
13291 cat conftest.$ac_ext >&5 | 10861 cat conftest.$ac_ext >&5 |
13292 ac_cv_lib_crypto_mit_des_cbc_encrypt=no | 10862 ac_cv_lib_crypto_mit_des_cbc_encrypt=no |
13293 fi | 10863 fi |
13294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10864 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13295 LIBS=$ac_check_lib_save_LIBS | 10865 LIBS=$ac_check_lib_save_LIBS |
13296 fi | 10866 fi |
13297 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 10867 echo "$as_me:10867: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
13298 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 | 10868 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 |
13299 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then | 10869 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then |
13300 cat >>confdefs.h <<_ACEOF | 10870 cat >>confdefs.h <<EOF |
13301 #define HAVE_LIBCRYPTO 1 | 10871 #define HAVE_LIBCRYPTO 1 |
13302 _ACEOF | 10872 EOF |
13303 | 10873 |
13304 LIBS="-lcrypto $LIBS" | 10874 LIBS="-lcrypto $LIBS" |
13305 | 10875 |
13306 fi | 10876 fi |
13307 | 10877 |
13308 | 10878 echo "$as_me:10878: checking for krb5_init_context in -lkrb5" >&5 |
13309 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 | |
13310 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 | 10879 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 |
13311 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then | 10880 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then |
13312 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10881 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13313 else | 10882 else |
13314 ac_check_lib_save_LIBS=$LIBS | 10883 ac_check_lib_save_LIBS=$LIBS |
13315 LIBS="-lkrb5 $LIBS" | 10884 LIBS="-lkrb5 $LIBS" |
13316 cat >conftest.$ac_ext <<_ACEOF | 10885 cat >conftest.$ac_ext <<_ACEOF |
13317 #line $LINENO "configure" | 10886 #line 10886 "configure" |
13318 #include "confdefs.h" | 10887 #include "confdefs.h" |
13319 | 10888 |
13320 /* Override any gcc2 internal prototype to avoid an error. */ | 10889 /* Override any gcc2 internal prototype to avoid an error. */ |
13321 #ifdef __cplusplus | 10890 #ifdef __cplusplus |
13322 extern "C" | 10891 extern "C" |
13323 #endif | 10892 #endif |
13324 /* We use char because int might match the return type of a gcc2 | 10893 /* We use char because int might match the return type of a gcc2 |
13325 builtin and then its argument prototype would still apply. */ | 10894 builtin and then its argument prototype would still apply. */ |
13326 char krb5_init_context (); | 10895 char krb5_init_context (); |
13327 #ifdef F77_DUMMY_MAIN | |
13328 # ifdef __cplusplus | |
13329 extern "C" | |
13330 # endif | |
13331 int F77_DUMMY_MAIN() { return 1; } | |
13332 #endif | |
13333 int | 10896 int |
13334 main () | 10897 main () |
13335 { | 10898 { |
13336 krb5_init_context (); | 10899 krb5_init_context (); |
13337 ; | 10900 ; |
13338 return 0; | 10901 return 0; |
13339 } | 10902 } |
13340 _ACEOF | 10903 _ACEOF |
13341 rm -f conftest.$ac_objext conftest$ac_exeext | 10904 rm -f conftest.$ac_objext conftest$ac_exeext |
13342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10905 if { (eval echo "$as_me:10905: \"$ac_link\"") >&5 |
13343 (eval $ac_link) 2>&5 | 10906 (eval $ac_link) 2>&5 |
13344 ac_status=$? | 10907 ac_status=$? |
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10908 echo "$as_me:10908: \$? = $ac_status" >&5 |
13346 (exit $ac_status); } && | 10909 (exit $ac_status); } && |
13347 { ac_try='test -s conftest$ac_exeext' | 10910 { ac_try='test -s conftest$ac_exeext' |
13348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10911 { (eval echo "$as_me:10911: \"$ac_try\"") >&5 |
13349 (eval $ac_try) 2>&5 | 10912 (eval $ac_try) 2>&5 |
13350 ac_status=$? | 10913 ac_status=$? |
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10914 echo "$as_me:10914: \$? = $ac_status" >&5 |
13352 (exit $ac_status); }; }; then | 10915 (exit $ac_status); }; }; then |
13353 ac_cv_lib_krb5_krb5_init_context=yes | 10916 ac_cv_lib_krb5_krb5_init_context=yes |
13354 else | 10917 else |
13355 echo "$as_me: failed program was:" >&5 | 10918 echo "$as_me: failed program was:" >&5 |
13356 cat conftest.$ac_ext >&5 | 10919 cat conftest.$ac_ext >&5 |
13357 ac_cv_lib_krb5_krb5_init_context=no | 10920 ac_cv_lib_krb5_krb5_init_context=no |
13358 fi | 10921 fi |
13359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13360 LIBS=$ac_check_lib_save_LIBS | 10923 LIBS=$ac_check_lib_save_LIBS |
13361 fi | 10924 fi |
13362 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 10925 echo "$as_me:10925: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
13363 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 | 10926 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 |
13364 if test $ac_cv_lib_krb5_krb5_init_context = yes; then | 10927 if test $ac_cv_lib_krb5_krb5_init_context = yes; then |
13365 cat >>confdefs.h <<_ACEOF | 10928 cat >>confdefs.h <<EOF |
13366 #define HAVE_LIBKRB5 1 | 10929 #define HAVE_LIBKRB5 1 |
13367 _ACEOF | 10930 EOF |
13368 | 10931 |
13369 LIBS="-lkrb5 $LIBS" | 10932 LIBS="-lkrb5 $LIBS" |
13370 | 10933 |
13371 fi | 10934 fi |
13372 | 10935 |
13373 if test "${with_kerberos5+set}" != set; then | 10936 if test "${with_kerberos5+set}" != set; then |
13374 | 10937 |
13375 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 | 10938 echo "$as_me:10938: checking for des_cbc_encrypt in -ldes425" >&5 |
13376 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 | 10939 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 |
13377 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then | 10940 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
13378 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10941 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13379 else | 10942 else |
13380 ac_check_lib_save_LIBS=$LIBS | 10943 ac_check_lib_save_LIBS=$LIBS |
13381 LIBS="-ldes425 $LIBS" | 10944 LIBS="-ldes425 $LIBS" |
13382 cat >conftest.$ac_ext <<_ACEOF | 10945 cat >conftest.$ac_ext <<_ACEOF |
13383 #line $LINENO "configure" | 10946 #line 10946 "configure" |
13384 #include "confdefs.h" | 10947 #include "confdefs.h" |
13385 | 10948 |
13386 /* Override any gcc2 internal prototype to avoid an error. */ | 10949 /* Override any gcc2 internal prototype to avoid an error. */ |
13387 #ifdef __cplusplus | 10950 #ifdef __cplusplus |
13388 extern "C" | 10951 extern "C" |
13389 #endif | 10952 #endif |
13390 /* We use char because int might match the return type of a gcc2 | 10953 /* We use char because int might match the return type of a gcc2 |
13391 builtin and then its argument prototype would still apply. */ | 10954 builtin and then its argument prototype would still apply. */ |
13392 char des_cbc_encrypt (); | 10955 char des_cbc_encrypt (); |
13393 #ifdef F77_DUMMY_MAIN | |
13394 # ifdef __cplusplus | |
13395 extern "C" | |
13396 # endif | |
13397 int F77_DUMMY_MAIN() { return 1; } | |
13398 #endif | |
13399 int | 10956 int |
13400 main () | 10957 main () |
13401 { | 10958 { |
13402 des_cbc_encrypt (); | 10959 des_cbc_encrypt (); |
13403 ; | 10960 ; |
13404 return 0; | 10961 return 0; |
13405 } | 10962 } |
13406 _ACEOF | 10963 _ACEOF |
13407 rm -f conftest.$ac_objext conftest$ac_exeext | 10964 rm -f conftest.$ac_objext conftest$ac_exeext |
13408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10965 if { (eval echo "$as_me:10965: \"$ac_link\"") >&5 |
13409 (eval $ac_link) 2>&5 | 10966 (eval $ac_link) 2>&5 |
13410 ac_status=$? | 10967 ac_status=$? |
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10968 echo "$as_me:10968: \$? = $ac_status" >&5 |
13412 (exit $ac_status); } && | 10969 (exit $ac_status); } && |
13413 { ac_try='test -s conftest$ac_exeext' | 10970 { ac_try='test -s conftest$ac_exeext' |
13414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10971 { (eval echo "$as_me:10971: \"$ac_try\"") >&5 |
13415 (eval $ac_try) 2>&5 | 10972 (eval $ac_try) 2>&5 |
13416 ac_status=$? | 10973 ac_status=$? |
13417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10974 echo "$as_me:10974: \$? = $ac_status" >&5 |
13418 (exit $ac_status); }; }; then | 10975 (exit $ac_status); }; }; then |
13419 ac_cv_lib_des425_des_cbc_encrypt=yes | 10976 ac_cv_lib_des425_des_cbc_encrypt=yes |
13420 else | 10977 else |
13421 echo "$as_me: failed program was:" >&5 | 10978 echo "$as_me: failed program was:" >&5 |
13422 cat conftest.$ac_ext >&5 | 10979 cat conftest.$ac_ext >&5 |
13423 ac_cv_lib_des425_des_cbc_encrypt=no | 10980 ac_cv_lib_des425_des_cbc_encrypt=no |
13424 fi | 10981 fi |
13425 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10982 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13426 LIBS=$ac_check_lib_save_LIBS | 10983 LIBS=$ac_check_lib_save_LIBS |
13427 fi | 10984 fi |
13428 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 10985 echo "$as_me:10985: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
13429 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 | 10986 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 |
13430 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then | 10987 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
13431 cat >>confdefs.h <<_ACEOF | 10988 cat >>confdefs.h <<EOF |
13432 #define HAVE_LIBDES425 1 | 10989 #define HAVE_LIBDES425 1 |
13433 _ACEOF | 10990 EOF |
13434 | 10991 |
13435 LIBS="-ldes425 $LIBS" | 10992 LIBS="-ldes425 $LIBS" |
13436 | 10993 |
13437 else | 10994 else |
13438 | 10995 |
13439 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 | 10996 echo "$as_me:10996: checking for des_cbc_encrypt in -ldes" >&5 |
13440 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 | 10997 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 |
13441 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then | 10998 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
13442 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10999 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13443 else | 11000 else |
13444 ac_check_lib_save_LIBS=$LIBS | 11001 ac_check_lib_save_LIBS=$LIBS |
13445 LIBS="-ldes $LIBS" | 11002 LIBS="-ldes $LIBS" |
13446 cat >conftest.$ac_ext <<_ACEOF | 11003 cat >conftest.$ac_ext <<_ACEOF |
13447 #line $LINENO "configure" | 11004 #line 11004 "configure" |
13448 #include "confdefs.h" | 11005 #include "confdefs.h" |
13449 | 11006 |
13450 /* Override any gcc2 internal prototype to avoid an error. */ | 11007 /* Override any gcc2 internal prototype to avoid an error. */ |
13451 #ifdef __cplusplus | 11008 #ifdef __cplusplus |
13452 extern "C" | 11009 extern "C" |
13453 #endif | 11010 #endif |
13454 /* We use char because int might match the return type of a gcc2 | 11011 /* We use char because int might match the return type of a gcc2 |
13455 builtin and then its argument prototype would still apply. */ | 11012 builtin and then its argument prototype would still apply. */ |
13456 char des_cbc_encrypt (); | 11013 char des_cbc_encrypt (); |
13457 #ifdef F77_DUMMY_MAIN | |
13458 # ifdef __cplusplus | |
13459 extern "C" | |
13460 # endif | |
13461 int F77_DUMMY_MAIN() { return 1; } | |
13462 #endif | |
13463 int | 11014 int |
13464 main () | 11015 main () |
13465 { | 11016 { |
13466 des_cbc_encrypt (); | 11017 des_cbc_encrypt (); |
13467 ; | 11018 ; |
13468 return 0; | 11019 return 0; |
13469 } | 11020 } |
13470 _ACEOF | 11021 _ACEOF |
13471 rm -f conftest.$ac_objext conftest$ac_exeext | 11022 rm -f conftest.$ac_objext conftest$ac_exeext |
13472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11023 if { (eval echo "$as_me:11023: \"$ac_link\"") >&5 |
13473 (eval $ac_link) 2>&5 | 11024 (eval $ac_link) 2>&5 |
13474 ac_status=$? | 11025 ac_status=$? |
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11026 echo "$as_me:11026: \$? = $ac_status" >&5 |
13476 (exit $ac_status); } && | 11027 (exit $ac_status); } && |
13477 { ac_try='test -s conftest$ac_exeext' | 11028 { ac_try='test -s conftest$ac_exeext' |
13478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11029 { (eval echo "$as_me:11029: \"$ac_try\"") >&5 |
13479 (eval $ac_try) 2>&5 | 11030 (eval $ac_try) 2>&5 |
13480 ac_status=$? | 11031 ac_status=$? |
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11032 echo "$as_me:11032: \$? = $ac_status" >&5 |
13482 (exit $ac_status); }; }; then | 11033 (exit $ac_status); }; }; then |
13483 ac_cv_lib_des_des_cbc_encrypt=yes | 11034 ac_cv_lib_des_des_cbc_encrypt=yes |
13484 else | 11035 else |
13485 echo "$as_me: failed program was:" >&5 | 11036 echo "$as_me: failed program was:" >&5 |
13486 cat conftest.$ac_ext >&5 | 11037 cat conftest.$ac_ext >&5 |
13487 ac_cv_lib_des_des_cbc_encrypt=no | 11038 ac_cv_lib_des_des_cbc_encrypt=no |
13488 fi | 11039 fi |
13489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13490 LIBS=$ac_check_lib_save_LIBS | 11041 LIBS=$ac_check_lib_save_LIBS |
13491 fi | 11042 fi |
13492 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 11043 echo "$as_me:11043: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
13493 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 | 11044 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 |
13494 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then | 11045 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
13495 cat >>confdefs.h <<_ACEOF | 11046 cat >>confdefs.h <<EOF |
13496 #define HAVE_LIBDES 1 | 11047 #define HAVE_LIBDES 1 |
13497 _ACEOF | 11048 EOF |
13498 | 11049 |
13499 LIBS="-ldes $LIBS" | 11050 LIBS="-ldes $LIBS" |
13500 | 11051 |
13501 fi | 11052 fi |
13502 | 11053 |
13503 fi | 11054 fi |
13504 | 11055 |
13505 | 11056 echo "$as_me:11056: checking for krb_get_cred in -lkrb4" >&5 |
13506 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 | |
13507 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 | 11057 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 |
13508 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then | 11058 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then |
13509 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11059 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13510 else | 11060 else |
13511 ac_check_lib_save_LIBS=$LIBS | 11061 ac_check_lib_save_LIBS=$LIBS |
13512 LIBS="-lkrb4 $LIBS" | 11062 LIBS="-lkrb4 $LIBS" |
13513 cat >conftest.$ac_ext <<_ACEOF | 11063 cat >conftest.$ac_ext <<_ACEOF |
13514 #line $LINENO "configure" | 11064 #line 11064 "configure" |
13515 #include "confdefs.h" | 11065 #include "confdefs.h" |
13516 | 11066 |
13517 /* Override any gcc2 internal prototype to avoid an error. */ | 11067 /* Override any gcc2 internal prototype to avoid an error. */ |
13518 #ifdef __cplusplus | 11068 #ifdef __cplusplus |
13519 extern "C" | 11069 extern "C" |
13520 #endif | 11070 #endif |
13521 /* We use char because int might match the return type of a gcc2 | 11071 /* We use char because int might match the return type of a gcc2 |
13522 builtin and then its argument prototype would still apply. */ | 11072 builtin and then its argument prototype would still apply. */ |
13523 char krb_get_cred (); | 11073 char krb_get_cred (); |
13524 #ifdef F77_DUMMY_MAIN | |
13525 # ifdef __cplusplus | |
13526 extern "C" | |
13527 # endif | |
13528 int F77_DUMMY_MAIN() { return 1; } | |
13529 #endif | |
13530 int | 11074 int |
13531 main () | 11075 main () |
13532 { | 11076 { |
13533 krb_get_cred (); | 11077 krb_get_cred (); |
13534 ; | 11078 ; |
13535 return 0; | 11079 return 0; |
13536 } | 11080 } |
13537 _ACEOF | 11081 _ACEOF |
13538 rm -f conftest.$ac_objext conftest$ac_exeext | 11082 rm -f conftest.$ac_objext conftest$ac_exeext |
13539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11083 if { (eval echo "$as_me:11083: \"$ac_link\"") >&5 |
13540 (eval $ac_link) 2>&5 | 11084 (eval $ac_link) 2>&5 |
13541 ac_status=$? | 11085 ac_status=$? |
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11086 echo "$as_me:11086: \$? = $ac_status" >&5 |
13543 (exit $ac_status); } && | 11087 (exit $ac_status); } && |
13544 { ac_try='test -s conftest$ac_exeext' | 11088 { ac_try='test -s conftest$ac_exeext' |
13545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11089 { (eval echo "$as_me:11089: \"$ac_try\"") >&5 |
13546 (eval $ac_try) 2>&5 | 11090 (eval $ac_try) 2>&5 |
13547 ac_status=$? | 11091 ac_status=$? |
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11092 echo "$as_me:11092: \$? = $ac_status" >&5 |
13549 (exit $ac_status); }; }; then | 11093 (exit $ac_status); }; }; then |
13550 ac_cv_lib_krb4_krb_get_cred=yes | 11094 ac_cv_lib_krb4_krb_get_cred=yes |
13551 else | 11095 else |
13552 echo "$as_me: failed program was:" >&5 | 11096 echo "$as_me: failed program was:" >&5 |
13553 cat conftest.$ac_ext >&5 | 11097 cat conftest.$ac_ext >&5 |
13554 ac_cv_lib_krb4_krb_get_cred=no | 11098 ac_cv_lib_krb4_krb_get_cred=no |
13555 fi | 11099 fi |
13556 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13557 LIBS=$ac_check_lib_save_LIBS | 11101 LIBS=$ac_check_lib_save_LIBS |
13558 fi | 11102 fi |
13559 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 11103 echo "$as_me:11103: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
13560 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 | 11104 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 |
13561 if test $ac_cv_lib_krb4_krb_get_cred = yes; then | 11105 if test $ac_cv_lib_krb4_krb_get_cred = yes; then |
13562 cat >>confdefs.h <<_ACEOF | 11106 cat >>confdefs.h <<EOF |
13563 #define HAVE_LIBKRB4 1 | 11107 #define HAVE_LIBKRB4 1 |
13564 _ACEOF | 11108 EOF |
13565 | 11109 |
13566 LIBS="-lkrb4 $LIBS" | 11110 LIBS="-lkrb4 $LIBS" |
13567 | 11111 |
13568 else | 11112 else |
13569 | 11113 |
13570 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 | 11114 echo "$as_me:11114: checking for krb_get_cred in -lkrb" >&5 |
13571 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 | 11115 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 |
13572 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then | 11116 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then |
13573 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11117 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13574 else | 11118 else |
13575 ac_check_lib_save_LIBS=$LIBS | 11119 ac_check_lib_save_LIBS=$LIBS |
13576 LIBS="-lkrb $LIBS" | 11120 LIBS="-lkrb $LIBS" |
13577 cat >conftest.$ac_ext <<_ACEOF | 11121 cat >conftest.$ac_ext <<_ACEOF |
13578 #line $LINENO "configure" | 11122 #line 11122 "configure" |
13579 #include "confdefs.h" | 11123 #include "confdefs.h" |
13580 | 11124 |
13581 /* Override any gcc2 internal prototype to avoid an error. */ | 11125 /* Override any gcc2 internal prototype to avoid an error. */ |
13582 #ifdef __cplusplus | 11126 #ifdef __cplusplus |
13583 extern "C" | 11127 extern "C" |
13584 #endif | 11128 #endif |
13585 /* We use char because int might match the return type of a gcc2 | 11129 /* We use char because int might match the return type of a gcc2 |
13586 builtin and then its argument prototype would still apply. */ | 11130 builtin and then its argument prototype would still apply. */ |
13587 char krb_get_cred (); | 11131 char krb_get_cred (); |
13588 #ifdef F77_DUMMY_MAIN | |
13589 # ifdef __cplusplus | |
13590 extern "C" | |
13591 # endif | |
13592 int F77_DUMMY_MAIN() { return 1; } | |
13593 #endif | |
13594 int | 11132 int |
13595 main () | 11133 main () |
13596 { | 11134 { |
13597 krb_get_cred (); | 11135 krb_get_cred (); |
13598 ; | 11136 ; |
13599 return 0; | 11137 return 0; |
13600 } | 11138 } |
13601 _ACEOF | 11139 _ACEOF |
13602 rm -f conftest.$ac_objext conftest$ac_exeext | 11140 rm -f conftest.$ac_objext conftest$ac_exeext |
13603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11141 if { (eval echo "$as_me:11141: \"$ac_link\"") >&5 |
13604 (eval $ac_link) 2>&5 | 11142 (eval $ac_link) 2>&5 |
13605 ac_status=$? | 11143 ac_status=$? |
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11144 echo "$as_me:11144: \$? = $ac_status" >&5 |
13607 (exit $ac_status); } && | 11145 (exit $ac_status); } && |
13608 { ac_try='test -s conftest$ac_exeext' | 11146 { ac_try='test -s conftest$ac_exeext' |
13609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11147 { (eval echo "$as_me:11147: \"$ac_try\"") >&5 |
13610 (eval $ac_try) 2>&5 | 11148 (eval $ac_try) 2>&5 |
13611 ac_status=$? | 11149 ac_status=$? |
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11150 echo "$as_me:11150: \$? = $ac_status" >&5 |
13613 (exit $ac_status); }; }; then | 11151 (exit $ac_status); }; }; then |
13614 ac_cv_lib_krb_krb_get_cred=yes | 11152 ac_cv_lib_krb_krb_get_cred=yes |
13615 else | 11153 else |
13616 echo "$as_me: failed program was:" >&5 | 11154 echo "$as_me: failed program was:" >&5 |
13617 cat conftest.$ac_ext >&5 | 11155 cat conftest.$ac_ext >&5 |
13618 ac_cv_lib_krb_krb_get_cred=no | 11156 ac_cv_lib_krb_krb_get_cred=no |
13619 fi | 11157 fi |
13620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11158 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13621 LIBS=$ac_check_lib_save_LIBS | 11159 LIBS=$ac_check_lib_save_LIBS |
13622 fi | 11160 fi |
13623 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 11161 echo "$as_me:11161: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
13624 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 | 11162 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 |
13625 if test $ac_cv_lib_krb_krb_get_cred = yes; then | 11163 if test $ac_cv_lib_krb_krb_get_cred = yes; then |
13626 cat >>confdefs.h <<_ACEOF | 11164 cat >>confdefs.h <<EOF |
13627 #define HAVE_LIBKRB 1 | 11165 #define HAVE_LIBKRB 1 |
13628 _ACEOF | 11166 EOF |
13629 | 11167 |
13630 LIBS="-lkrb $LIBS" | 11168 LIBS="-lkrb $LIBS" |
13631 | 11169 |
13632 fi | 11170 fi |
13633 | 11171 |
13638 if test "${with_kerberos5+set}" = set; then | 11176 if test "${with_kerberos5+set}" = set; then |
13639 | 11177 |
13640 for ac_header in krb5.h | 11178 for ac_header in krb5.h |
13641 do | 11179 do |
13642 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11180 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13643 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11181 echo "$as_me:11181: checking for $ac_header" >&5 |
13644 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
13646 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11183 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
13647 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11184 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13648 fi | 11185 else |
13649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11186 cat >conftest.$ac_ext <<_ACEOF |
13650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11187 #line 11187 "configure" |
13651 else | 11188 #include "confdefs.h" |
13652 # Is the header compilable? | |
13653 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
13654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
13655 cat >conftest.$ac_ext <<_ACEOF | |
13656 #line $LINENO "configure" | |
13657 #include "confdefs.h" | |
13658 $ac_includes_default | |
13659 #include <$ac_header> | 11189 #include <$ac_header> |
13660 _ACEOF | 11190 _ACEOF |
13661 rm -f conftest.$ac_objext | 11191 if { (eval echo "$as_me:11191: \"$ac_cpp conftest.$ac_ext\"") >&5 |
13662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13663 (eval $ac_compile) 2>&5 | |
13664 ac_status=$? | |
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13666 (exit $ac_status); } && | |
13667 { ac_try='test -s conftest.$ac_objext' | |
13668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13669 (eval $ac_try) 2>&5 | |
13670 ac_status=$? | |
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13672 (exit $ac_status); }; }; then | |
13673 ac_header_compiler=yes | |
13674 else | |
13675 echo "$as_me: failed program was:" >&5 | |
13676 cat conftest.$ac_ext >&5 | |
13677 ac_header_compiler=no | |
13678 fi | |
13679 rm -f conftest.$ac_objext conftest.$ac_ext | |
13680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
13681 echo "${ECHO_T}$ac_header_compiler" >&6 | |
13682 | |
13683 # Is the header present? | |
13684 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
13685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
13686 cat >conftest.$ac_ext <<_ACEOF | |
13687 #line $LINENO "configure" | |
13688 #include "confdefs.h" | |
13689 #include <$ac_header> | |
13690 _ACEOF | |
13691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
13692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
13693 ac_status=$? | 11193 ac_status=$? |
13694 egrep -v '^ *\+' conftest.er1 >conftest.err | 11194 egrep -v '^ *\+' conftest.er1 >conftest.err |
13695 rm -f conftest.er1 | 11195 rm -f conftest.er1 |
13696 cat conftest.err >&5 | 11196 cat conftest.err >&5 |
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11197 echo "$as_me:11197: \$? = $ac_status" >&5 |
13698 (exit $ac_status); } >/dev/null; then | 11198 (exit $ac_status); } >/dev/null; then |
13699 if test -s conftest.err; then | 11199 if test -s conftest.err; then |
13700 ac_cpp_err=$ac_c_preproc_warn_flag | 11200 ac_cpp_err=$ac_c_preproc_warn_flag |
13701 else | 11201 else |
13702 ac_cpp_err= | 11202 ac_cpp_err= |
13703 fi | 11203 fi |
13704 else | 11204 else |
13705 ac_cpp_err=yes | 11205 ac_cpp_err=yes |
13706 fi | 11206 fi |
13707 if test -z "$ac_cpp_err"; then | 11207 if test -z "$ac_cpp_err"; then |
13708 ac_header_preproc=yes | 11208 eval "$as_ac_Header=yes" |
13709 else | 11209 else |
13710 echo "$as_me: failed program was:" >&5 | 11210 echo "$as_me: failed program was:" >&5 |
13711 cat conftest.$ac_ext >&5 | 11211 cat conftest.$ac_ext >&5 |
13712 ac_header_preproc=no | 11212 eval "$as_ac_Header=no" |
13713 fi | 11213 fi |
13714 rm -f conftest.err conftest.$ac_ext | 11214 rm -f conftest.err conftest.$ac_ext |
13715 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 11215 fi |
13716 echo "${ECHO_T}$ac_header_preproc" >&6 | 11216 echo "$as_me:11216: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
13717 | |
13718 # So? What about this header? | |
13719 case $ac_header_compiler:$ac_header_preproc in | |
13720 yes:no ) | |
13721 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
13722 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
13723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
13724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
13725 no:yes ) | |
13726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
13727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
13728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
13729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
13730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
13731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
13732 esac | |
13733 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
13735 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
13736 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13737 else | |
13738 eval "$as_ac_Header=$ac_header_preproc" | |
13739 fi | |
13740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
13741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
13742 | |
13743 fi | |
13744 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11218 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
13745 cat >>confdefs.h <<_ACEOF | 11219 cat >>confdefs.h <<EOF |
13746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13747 _ACEOF | 11221 EOF |
13748 | 11222 |
13749 fi | 11223 fi |
13750 | |
13751 done | 11224 done |
13752 | 11225 |
13753 else | 11226 else |
13754 | 11227 |
13755 for ac_header in des.h | 11228 for ac_header in des.h |
13756 do | 11229 do |
13757 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13758 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11231 echo "$as_me:11231: checking for $ac_header" >&5 |
13759 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
13761 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11233 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
13762 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11234 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13763 fi | 11235 else |
13764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11236 cat >conftest.$ac_ext <<_ACEOF |
13765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11237 #line 11237 "configure" |
13766 else | 11238 #include "confdefs.h" |
13767 # Is the header compilable? | |
13768 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
13769 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
13770 cat >conftest.$ac_ext <<_ACEOF | |
13771 #line $LINENO "configure" | |
13772 #include "confdefs.h" | |
13773 $ac_includes_default | |
13774 #include <$ac_header> | 11239 #include <$ac_header> |
13775 _ACEOF | 11240 _ACEOF |
13776 rm -f conftest.$ac_objext | 11241 if { (eval echo "$as_me:11241: \"$ac_cpp conftest.$ac_ext\"") >&5 |
13777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13778 (eval $ac_compile) 2>&5 | |
13779 ac_status=$? | |
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13781 (exit $ac_status); } && | |
13782 { ac_try='test -s conftest.$ac_objext' | |
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13784 (eval $ac_try) 2>&5 | |
13785 ac_status=$? | |
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13787 (exit $ac_status); }; }; then | |
13788 ac_header_compiler=yes | |
13789 else | |
13790 echo "$as_me: failed program was:" >&5 | |
13791 cat conftest.$ac_ext >&5 | |
13792 ac_header_compiler=no | |
13793 fi | |
13794 rm -f conftest.$ac_objext conftest.$ac_ext | |
13795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
13796 echo "${ECHO_T}$ac_header_compiler" >&6 | |
13797 | |
13798 # Is the header present? | |
13799 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
13800 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
13801 cat >conftest.$ac_ext <<_ACEOF | |
13802 #line $LINENO "configure" | |
13803 #include "confdefs.h" | |
13804 #include <$ac_header> | |
13805 _ACEOF | |
13806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
13807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
13808 ac_status=$? | 11243 ac_status=$? |
13809 egrep -v '^ *\+' conftest.er1 >conftest.err | 11244 egrep -v '^ *\+' conftest.er1 >conftest.err |
13810 rm -f conftest.er1 | 11245 rm -f conftest.er1 |
13811 cat conftest.err >&5 | 11246 cat conftest.err >&5 |
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11247 echo "$as_me:11247: \$? = $ac_status" >&5 |
13813 (exit $ac_status); } >/dev/null; then | 11248 (exit $ac_status); } >/dev/null; then |
13814 if test -s conftest.err; then | 11249 if test -s conftest.err; then |
13815 ac_cpp_err=$ac_c_preproc_warn_flag | 11250 ac_cpp_err=$ac_c_preproc_warn_flag |
13816 else | 11251 else |
13817 ac_cpp_err= | 11252 ac_cpp_err= |
13818 fi | 11253 fi |
13819 else | 11254 else |
13820 ac_cpp_err=yes | 11255 ac_cpp_err=yes |
13821 fi | 11256 fi |
13822 if test -z "$ac_cpp_err"; then | 11257 if test -z "$ac_cpp_err"; then |
13823 ac_header_preproc=yes | 11258 eval "$as_ac_Header=yes" |
13824 else | 11259 else |
13825 echo "$as_me: failed program was:" >&5 | 11260 echo "$as_me: failed program was:" >&5 |
13826 cat conftest.$ac_ext >&5 | 11261 cat conftest.$ac_ext >&5 |
13827 ac_header_preproc=no | 11262 eval "$as_ac_Header=no" |
13828 fi | 11263 fi |
13829 rm -f conftest.err conftest.$ac_ext | 11264 rm -f conftest.err conftest.$ac_ext |
13830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 11265 fi |
13831 echo "${ECHO_T}$ac_header_preproc" >&6 | 11266 echo "$as_me:11266: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
13832 | |
13833 # So? What about this header? | |
13834 case $ac_header_compiler:$ac_header_preproc in | |
13835 yes:no ) | |
13836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
13837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
13838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
13839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
13840 no:yes ) | |
13841 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
13842 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
13843 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
13844 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
13845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
13846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
13847 esac | |
13848 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
13850 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
13851 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13852 else | |
13853 eval "$as_ac_Header=$ac_header_preproc" | |
13854 fi | |
13855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
13856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
13857 | |
13858 fi | |
13859 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11268 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
13860 cat >>confdefs.h <<_ACEOF | 11269 cat >>confdefs.h <<EOF |
13861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13862 _ACEOF | 11271 EOF |
13863 | 11272 |
13864 else | 11273 else |
13865 | 11274 |
13866 for ac_header in kerberosIV/des.h | 11275 for ac_header in kerberosIV/des.h |
13867 do | 11276 do |
13868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11277 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13869 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11278 echo "$as_me:11278: checking for $ac_header" >&5 |
13870 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
13872 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11280 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
13873 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11281 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13874 fi | 11282 else |
13875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11283 cat >conftest.$ac_ext <<_ACEOF |
13876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11284 #line 11284 "configure" |
13877 else | 11285 #include "confdefs.h" |
13878 # Is the header compilable? | |
13879 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
13880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
13881 cat >conftest.$ac_ext <<_ACEOF | |
13882 #line $LINENO "configure" | |
13883 #include "confdefs.h" | |
13884 $ac_includes_default | |
13885 #include <$ac_header> | 11286 #include <$ac_header> |
13886 _ACEOF | 11287 _ACEOF |
13887 rm -f conftest.$ac_objext | 11288 if { (eval echo "$as_me:11288: \"$ac_cpp conftest.$ac_ext\"") >&5 |
13888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
13889 (eval $ac_compile) 2>&5 | |
13890 ac_status=$? | |
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13892 (exit $ac_status); } && | |
13893 { ac_try='test -s conftest.$ac_objext' | |
13894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
13895 (eval $ac_try) 2>&5 | |
13896 ac_status=$? | |
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13898 (exit $ac_status); }; }; then | |
13899 ac_header_compiler=yes | |
13900 else | |
13901 echo "$as_me: failed program was:" >&5 | |
13902 cat conftest.$ac_ext >&5 | |
13903 ac_header_compiler=no | |
13904 fi | |
13905 rm -f conftest.$ac_objext conftest.$ac_ext | |
13906 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
13907 echo "${ECHO_T}$ac_header_compiler" >&6 | |
13908 | |
13909 # Is the header present? | |
13910 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
13911 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
13912 cat >conftest.$ac_ext <<_ACEOF | |
13913 #line $LINENO "configure" | |
13914 #include "confdefs.h" | |
13915 #include <$ac_header> | |
13916 _ACEOF | |
13917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
13918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
13919 ac_status=$? | 11290 ac_status=$? |
13920 egrep -v '^ *\+' conftest.er1 >conftest.err | 11291 egrep -v '^ *\+' conftest.er1 >conftest.err |
13921 rm -f conftest.er1 | 11292 rm -f conftest.er1 |
13922 cat conftest.err >&5 | 11293 cat conftest.err >&5 |
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11294 echo "$as_me:11294: \$? = $ac_status" >&5 |
13924 (exit $ac_status); } >/dev/null; then | 11295 (exit $ac_status); } >/dev/null; then |
13925 if test -s conftest.err; then | 11296 if test -s conftest.err; then |
13926 ac_cpp_err=$ac_c_preproc_warn_flag | 11297 ac_cpp_err=$ac_c_preproc_warn_flag |
13927 else | 11298 else |
13928 ac_cpp_err= | 11299 ac_cpp_err= |
13929 fi | 11300 fi |
13930 else | 11301 else |
13931 ac_cpp_err=yes | 11302 ac_cpp_err=yes |
13932 fi | 11303 fi |
13933 if test -z "$ac_cpp_err"; then | 11304 if test -z "$ac_cpp_err"; then |
13934 ac_header_preproc=yes | 11305 eval "$as_ac_Header=yes" |
13935 else | 11306 else |
13936 echo "$as_me: failed program was:" >&5 | 11307 echo "$as_me: failed program was:" >&5 |
13937 cat conftest.$ac_ext >&5 | 11308 cat conftest.$ac_ext >&5 |
13938 ac_header_preproc=no | 11309 eval "$as_ac_Header=no" |
13939 fi | 11310 fi |
13940 rm -f conftest.err conftest.$ac_ext | 11311 rm -f conftest.err conftest.$ac_ext |
13941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 11312 fi |
13942 echo "${ECHO_T}$ac_header_preproc" >&6 | 11313 echo "$as_me:11313: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
13943 | |
13944 # So? What about this header? | |
13945 case $ac_header_compiler:$ac_header_preproc in | |
13946 yes:no ) | |
13947 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
13948 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
13950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
13951 no:yes ) | |
13952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
13953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
13954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
13955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
13956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
13957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
13958 esac | |
13959 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
13961 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
13962 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13963 else | |
13964 eval "$as_ac_Header=$ac_header_preproc" | |
13965 fi | |
13966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
13967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
13968 | |
13969 fi | |
13970 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11315 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
13971 cat >>confdefs.h <<_ACEOF | 11316 cat >>confdefs.h <<EOF |
13972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13973 _ACEOF | 11318 EOF |
13974 | 11319 |
13975 else | 11320 else |
13976 | 11321 |
13977 for ac_header in kerberos/des.h | 11322 for ac_header in kerberos/des.h |
13978 do | 11323 do |
13979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13980 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11325 echo "$as_me:11325: checking for $ac_header" >&5 |
13981 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
13982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
13983 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11327 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
13984 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11328 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13985 fi | 11329 else |
13986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11330 cat >conftest.$ac_ext <<_ACEOF |
13987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11331 #line 11331 "configure" |
13988 else | 11332 #include "confdefs.h" |
13989 # Is the header compilable? | |
13990 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
13991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
13992 cat >conftest.$ac_ext <<_ACEOF | |
13993 #line $LINENO "configure" | |
13994 #include "confdefs.h" | |
13995 $ac_includes_default | |
13996 #include <$ac_header> | 11333 #include <$ac_header> |
13997 _ACEOF | 11334 _ACEOF |
13998 rm -f conftest.$ac_objext | 11335 if { (eval echo "$as_me:11335: \"$ac_cpp conftest.$ac_ext\"") >&5 |
13999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14000 (eval $ac_compile) 2>&5 | |
14001 ac_status=$? | |
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14003 (exit $ac_status); } && | |
14004 { ac_try='test -s conftest.$ac_objext' | |
14005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14006 (eval $ac_try) 2>&5 | |
14007 ac_status=$? | |
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14009 (exit $ac_status); }; }; then | |
14010 ac_header_compiler=yes | |
14011 else | |
14012 echo "$as_me: failed program was:" >&5 | |
14013 cat conftest.$ac_ext >&5 | |
14014 ac_header_compiler=no | |
14015 fi | |
14016 rm -f conftest.$ac_objext conftest.$ac_ext | |
14017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
14018 echo "${ECHO_T}$ac_header_compiler" >&6 | |
14019 | |
14020 # Is the header present? | |
14021 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
14022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
14023 cat >conftest.$ac_ext <<_ACEOF | |
14024 #line $LINENO "configure" | |
14025 #include "confdefs.h" | |
14026 #include <$ac_header> | |
14027 _ACEOF | |
14028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
14029 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
14030 ac_status=$? | 11337 ac_status=$? |
14031 egrep -v '^ *\+' conftest.er1 >conftest.err | 11338 egrep -v '^ *\+' conftest.er1 >conftest.err |
14032 rm -f conftest.er1 | 11339 rm -f conftest.er1 |
14033 cat conftest.err >&5 | 11340 cat conftest.err >&5 |
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11341 echo "$as_me:11341: \$? = $ac_status" >&5 |
14035 (exit $ac_status); } >/dev/null; then | 11342 (exit $ac_status); } >/dev/null; then |
14036 if test -s conftest.err; then | 11343 if test -s conftest.err; then |
14037 ac_cpp_err=$ac_c_preproc_warn_flag | 11344 ac_cpp_err=$ac_c_preproc_warn_flag |
14038 else | 11345 else |
14039 ac_cpp_err= | 11346 ac_cpp_err= |
14040 fi | 11347 fi |
14041 else | 11348 else |
14042 ac_cpp_err=yes | 11349 ac_cpp_err=yes |
14043 fi | 11350 fi |
14044 if test -z "$ac_cpp_err"; then | 11351 if test -z "$ac_cpp_err"; then |
14045 ac_header_preproc=yes | 11352 eval "$as_ac_Header=yes" |
14046 else | 11353 else |
14047 echo "$as_me: failed program was:" >&5 | 11354 echo "$as_me: failed program was:" >&5 |
14048 cat conftest.$ac_ext >&5 | 11355 cat conftest.$ac_ext >&5 |
14049 ac_header_preproc=no | 11356 eval "$as_ac_Header=no" |
14050 fi | 11357 fi |
14051 rm -f conftest.err conftest.$ac_ext | 11358 rm -f conftest.err conftest.$ac_ext |
14052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 11359 fi |
14053 echo "${ECHO_T}$ac_header_preproc" >&6 | 11360 echo "$as_me:11360: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
14054 | |
14055 # So? What about this header? | |
14056 case $ac_header_compiler:$ac_header_preproc in | |
14057 yes:no ) | |
14058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
14059 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
14060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
14061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
14062 no:yes ) | |
14063 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
14064 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
14065 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
14066 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
14067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
14068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
14069 esac | |
14070 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
14071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
14072 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
14073 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
14074 else | |
14075 eval "$as_ac_Header=$ac_header_preproc" | |
14076 fi | |
14077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
14078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
14079 | |
14080 fi | |
14081 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11362 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14082 cat >>confdefs.h <<_ACEOF | 11363 cat >>confdefs.h <<EOF |
14083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14084 _ACEOF | 11365 EOF |
14085 | 11366 |
14086 fi | 11367 fi |
14087 | |
14088 done | 11368 done |
14089 | 11369 |
14090 fi | 11370 fi |
14091 | |
14092 done | 11371 done |
14093 | 11372 |
14094 fi | 11373 fi |
14095 | |
14096 done | 11374 done |
14097 | |
14098 | 11375 |
14099 for ac_header in krb.h | 11376 for ac_header in krb.h |
14100 do | 11377 do |
14101 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14102 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11379 echo "$as_me:11379: checking for $ac_header" >&5 |
14103 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
14104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
14105 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11381 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
14106 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11382 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14107 fi | 11383 else |
14108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11384 cat >conftest.$ac_ext <<_ACEOF |
14109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11385 #line 11385 "configure" |
14110 else | 11386 #include "confdefs.h" |
14111 # Is the header compilable? | |
14112 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
14113 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
14114 cat >conftest.$ac_ext <<_ACEOF | |
14115 #line $LINENO "configure" | |
14116 #include "confdefs.h" | |
14117 $ac_includes_default | |
14118 #include <$ac_header> | 11387 #include <$ac_header> |
14119 _ACEOF | 11388 _ACEOF |
14120 rm -f conftest.$ac_objext | 11389 if { (eval echo "$as_me:11389: \"$ac_cpp conftest.$ac_ext\"") >&5 |
14121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14122 (eval $ac_compile) 2>&5 | |
14123 ac_status=$? | |
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14125 (exit $ac_status); } && | |
14126 { ac_try='test -s conftest.$ac_objext' | |
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14128 (eval $ac_try) 2>&5 | |
14129 ac_status=$? | |
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14131 (exit $ac_status); }; }; then | |
14132 ac_header_compiler=yes | |
14133 else | |
14134 echo "$as_me: failed program was:" >&5 | |
14135 cat conftest.$ac_ext >&5 | |
14136 ac_header_compiler=no | |
14137 fi | |
14138 rm -f conftest.$ac_objext conftest.$ac_ext | |
14139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
14140 echo "${ECHO_T}$ac_header_compiler" >&6 | |
14141 | |
14142 # Is the header present? | |
14143 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
14144 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
14145 cat >conftest.$ac_ext <<_ACEOF | |
14146 #line $LINENO "configure" | |
14147 #include "confdefs.h" | |
14148 #include <$ac_header> | |
14149 _ACEOF | |
14150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
14151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
14152 ac_status=$? | 11391 ac_status=$? |
14153 egrep -v '^ *\+' conftest.er1 >conftest.err | 11392 egrep -v '^ *\+' conftest.er1 >conftest.err |
14154 rm -f conftest.er1 | 11393 rm -f conftest.er1 |
14155 cat conftest.err >&5 | 11394 cat conftest.err >&5 |
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11395 echo "$as_me:11395: \$? = $ac_status" >&5 |
14157 (exit $ac_status); } >/dev/null; then | 11396 (exit $ac_status); } >/dev/null; then |
14158 if test -s conftest.err; then | 11397 if test -s conftest.err; then |
14159 ac_cpp_err=$ac_c_preproc_warn_flag | 11398 ac_cpp_err=$ac_c_preproc_warn_flag |
14160 else | 11399 else |
14161 ac_cpp_err= | 11400 ac_cpp_err= |
14162 fi | 11401 fi |
14163 else | 11402 else |
14164 ac_cpp_err=yes | 11403 ac_cpp_err=yes |
14165 fi | 11404 fi |
14166 if test -z "$ac_cpp_err"; then | 11405 if test -z "$ac_cpp_err"; then |
14167 ac_header_preproc=yes | 11406 eval "$as_ac_Header=yes" |
14168 else | 11407 else |
14169 echo "$as_me: failed program was:" >&5 | 11408 echo "$as_me: failed program was:" >&5 |
14170 cat conftest.$ac_ext >&5 | 11409 cat conftest.$ac_ext >&5 |
14171 ac_header_preproc=no | 11410 eval "$as_ac_Header=no" |
14172 fi | 11411 fi |
14173 rm -f conftest.err conftest.$ac_ext | 11412 rm -f conftest.err conftest.$ac_ext |
14174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 11413 fi |
14175 echo "${ECHO_T}$ac_header_preproc" >&6 | 11414 echo "$as_me:11414: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
14176 | |
14177 # So? What about this header? | |
14178 case $ac_header_compiler:$ac_header_preproc in | |
14179 yes:no ) | |
14180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
14181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
14182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
14183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
14184 no:yes ) | |
14185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
14186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
14187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
14188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
14189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
14190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
14191 esac | |
14192 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
14193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
14194 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
14195 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
14196 else | |
14197 eval "$as_ac_Header=$ac_header_preproc" | |
14198 fi | |
14199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
14200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
14201 | |
14202 fi | |
14203 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11416 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14204 cat >>confdefs.h <<_ACEOF | 11417 cat >>confdefs.h <<EOF |
14205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14206 _ACEOF | 11419 EOF |
14207 | 11420 |
14208 else | 11421 else |
14209 | 11422 |
14210 for ac_header in kerberosIV/krb.h | 11423 for ac_header in kerberosIV/krb.h |
14211 do | 11424 do |
14212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14213 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11426 echo "$as_me:11426: checking for $ac_header" >&5 |
14214 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
14215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
14216 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11428 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
14217 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11429 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14218 fi | 11430 else |
14219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11431 cat >conftest.$ac_ext <<_ACEOF |
14220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11432 #line 11432 "configure" |
14221 else | 11433 #include "confdefs.h" |
14222 # Is the header compilable? | |
14223 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
14224 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
14225 cat >conftest.$ac_ext <<_ACEOF | |
14226 #line $LINENO "configure" | |
14227 #include "confdefs.h" | |
14228 $ac_includes_default | |
14229 #include <$ac_header> | 11434 #include <$ac_header> |
14230 _ACEOF | 11435 _ACEOF |
14231 rm -f conftest.$ac_objext | 11436 if { (eval echo "$as_me:11436: \"$ac_cpp conftest.$ac_ext\"") >&5 |
14232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14233 (eval $ac_compile) 2>&5 | |
14234 ac_status=$? | |
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14236 (exit $ac_status); } && | |
14237 { ac_try='test -s conftest.$ac_objext' | |
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14239 (eval $ac_try) 2>&5 | |
14240 ac_status=$? | |
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14242 (exit $ac_status); }; }; then | |
14243 ac_header_compiler=yes | |
14244 else | |
14245 echo "$as_me: failed program was:" >&5 | |
14246 cat conftest.$ac_ext >&5 | |
14247 ac_header_compiler=no | |
14248 fi | |
14249 rm -f conftest.$ac_objext conftest.$ac_ext | |
14250 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
14251 echo "${ECHO_T}$ac_header_compiler" >&6 | |
14252 | |
14253 # Is the header present? | |
14254 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
14255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
14256 cat >conftest.$ac_ext <<_ACEOF | |
14257 #line $LINENO "configure" | |
14258 #include "confdefs.h" | |
14259 #include <$ac_header> | |
14260 _ACEOF | |
14261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
14262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
14263 ac_status=$? | 11438 ac_status=$? |
14264 egrep -v '^ *\+' conftest.er1 >conftest.err | 11439 egrep -v '^ *\+' conftest.er1 >conftest.err |
14265 rm -f conftest.er1 | 11440 rm -f conftest.er1 |
14266 cat conftest.err >&5 | 11441 cat conftest.err >&5 |
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11442 echo "$as_me:11442: \$? = $ac_status" >&5 |
14268 (exit $ac_status); } >/dev/null; then | 11443 (exit $ac_status); } >/dev/null; then |
14269 if test -s conftest.err; then | 11444 if test -s conftest.err; then |
14270 ac_cpp_err=$ac_c_preproc_warn_flag | 11445 ac_cpp_err=$ac_c_preproc_warn_flag |
14271 else | 11446 else |
14272 ac_cpp_err= | 11447 ac_cpp_err= |
14273 fi | 11448 fi |
14274 else | 11449 else |
14275 ac_cpp_err=yes | 11450 ac_cpp_err=yes |
14276 fi | 11451 fi |
14277 if test -z "$ac_cpp_err"; then | 11452 if test -z "$ac_cpp_err"; then |
14278 ac_header_preproc=yes | 11453 eval "$as_ac_Header=yes" |
14279 else | 11454 else |
14280 echo "$as_me: failed program was:" >&5 | 11455 echo "$as_me: failed program was:" >&5 |
14281 cat conftest.$ac_ext >&5 | 11456 cat conftest.$ac_ext >&5 |
14282 ac_header_preproc=no | 11457 eval "$as_ac_Header=no" |
14283 fi | 11458 fi |
14284 rm -f conftest.err conftest.$ac_ext | 11459 rm -f conftest.err conftest.$ac_ext |
14285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 11460 fi |
14286 echo "${ECHO_T}$ac_header_preproc" >&6 | 11461 echo "$as_me:11461: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
14287 | |
14288 # So? What about this header? | |
14289 case $ac_header_compiler:$ac_header_preproc in | |
14290 yes:no ) | |
14291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
14292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
14293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
14294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
14295 no:yes ) | |
14296 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
14297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
14298 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
14299 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
14300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
14301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
14302 esac | |
14303 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
14304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
14305 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
14306 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
14307 else | |
14308 eval "$as_ac_Header=$ac_header_preproc" | |
14309 fi | |
14310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
14311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
14312 | |
14313 fi | |
14314 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11463 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14315 cat >>confdefs.h <<_ACEOF | 11464 cat >>confdefs.h <<EOF |
14316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14317 _ACEOF | 11466 EOF |
14318 | 11467 |
14319 else | 11468 else |
14320 | 11469 |
14321 for ac_header in kerberos/krb.h | 11470 for ac_header in kerberos/krb.h |
14322 do | 11471 do |
14323 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11472 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14324 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11473 echo "$as_me:11473: checking for $ac_header" >&5 |
14325 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
14326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
14327 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11475 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
14328 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11476 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14329 fi | 11477 else |
14330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11478 cat >conftest.$ac_ext <<_ACEOF |
14331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11479 #line 11479 "configure" |
14332 else | 11480 #include "confdefs.h" |
14333 # Is the header compilable? | |
14334 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
14335 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
14336 cat >conftest.$ac_ext <<_ACEOF | |
14337 #line $LINENO "configure" | |
14338 #include "confdefs.h" | |
14339 $ac_includes_default | |
14340 #include <$ac_header> | 11481 #include <$ac_header> |
14341 _ACEOF | 11482 _ACEOF |
14342 rm -f conftest.$ac_objext | 11483 if { (eval echo "$as_me:11483: \"$ac_cpp conftest.$ac_ext\"") >&5 |
14343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14344 (eval $ac_compile) 2>&5 | |
14345 ac_status=$? | |
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14347 (exit $ac_status); } && | |
14348 { ac_try='test -s conftest.$ac_objext' | |
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14350 (eval $ac_try) 2>&5 | |
14351 ac_status=$? | |
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14353 (exit $ac_status); }; }; then | |
14354 ac_header_compiler=yes | |
14355 else | |
14356 echo "$as_me: failed program was:" >&5 | |
14357 cat conftest.$ac_ext >&5 | |
14358 ac_header_compiler=no | |
14359 fi | |
14360 rm -f conftest.$ac_objext conftest.$ac_ext | |
14361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
14362 echo "${ECHO_T}$ac_header_compiler" >&6 | |
14363 | |
14364 # Is the header present? | |
14365 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
14366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
14367 cat >conftest.$ac_ext <<_ACEOF | |
14368 #line $LINENO "configure" | |
14369 #include "confdefs.h" | |
14370 #include <$ac_header> | |
14371 _ACEOF | |
14372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
14373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
14374 ac_status=$? | 11485 ac_status=$? |
14375 egrep -v '^ *\+' conftest.er1 >conftest.err | 11486 egrep -v '^ *\+' conftest.er1 >conftest.err |
14376 rm -f conftest.er1 | 11487 rm -f conftest.er1 |
14377 cat conftest.err >&5 | 11488 cat conftest.err >&5 |
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11489 echo "$as_me:11489: \$? = $ac_status" >&5 |
14379 (exit $ac_status); } >/dev/null; then | 11490 (exit $ac_status); } >/dev/null; then |
14380 if test -s conftest.err; then | 11491 if test -s conftest.err; then |
14381 ac_cpp_err=$ac_c_preproc_warn_flag | 11492 ac_cpp_err=$ac_c_preproc_warn_flag |
14382 else | 11493 else |
14383 ac_cpp_err= | 11494 ac_cpp_err= |
14384 fi | 11495 fi |
14385 else | 11496 else |
14386 ac_cpp_err=yes | 11497 ac_cpp_err=yes |
14387 fi | 11498 fi |
14388 if test -z "$ac_cpp_err"; then | 11499 if test -z "$ac_cpp_err"; then |
14389 ac_header_preproc=yes | 11500 eval "$as_ac_Header=yes" |
14390 else | 11501 else |
14391 echo "$as_me: failed program was:" >&5 | 11502 echo "$as_me: failed program was:" >&5 |
14392 cat conftest.$ac_ext >&5 | 11503 cat conftest.$ac_ext >&5 |
14393 ac_header_preproc=no | 11504 eval "$as_ac_Header=no" |
14394 fi | 11505 fi |
14395 rm -f conftest.err conftest.$ac_ext | 11506 rm -f conftest.err conftest.$ac_ext |
14396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 11507 fi |
14397 echo "${ECHO_T}$ac_header_preproc" >&6 | 11508 echo "$as_me:11508: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
14398 | |
14399 # So? What about this header? | |
14400 case $ac_header_compiler:$ac_header_preproc in | |
14401 yes:no ) | |
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
14403 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
14404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
14405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
14406 no:yes ) | |
14407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
14408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
14409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
14410 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
14411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
14412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
14413 esac | |
14414 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
14415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
14416 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
14417 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
14418 else | |
14419 eval "$as_ac_Header=$ac_header_preproc" | |
14420 fi | |
14421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
14422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
14423 | |
14424 fi | |
14425 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11510 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14426 cat >>confdefs.h <<_ACEOF | 11511 cat >>confdefs.h <<EOF |
14427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14428 _ACEOF | 11513 EOF |
14429 | 11514 |
14430 fi | 11515 fi |
14431 | |
14432 done | 11516 done |
14433 | 11517 |
14434 fi | 11518 fi |
14435 | |
14436 done | 11519 done |
14437 | 11520 |
14438 fi | 11521 fi |
14439 | |
14440 done | 11522 done |
14441 | 11523 |
14442 fi | 11524 fi |
14443 | 11525 |
14444 for ac_header in com_err.h | 11526 for ac_header in com_err.h |
14445 do | 11527 do |
14446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14447 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11529 echo "$as_me:11529: checking for $ac_header" >&5 |
14448 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
14449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
14450 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11531 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
14451 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11532 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14452 fi | 11533 else |
14453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11534 cat >conftest.$ac_ext <<_ACEOF |
14454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11535 #line 11535 "configure" |
14455 else | 11536 #include "confdefs.h" |
14456 # Is the header compilable? | |
14457 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
14458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
14459 cat >conftest.$ac_ext <<_ACEOF | |
14460 #line $LINENO "configure" | |
14461 #include "confdefs.h" | |
14462 $ac_includes_default | |
14463 #include <$ac_header> | 11537 #include <$ac_header> |
14464 _ACEOF | 11538 _ACEOF |
14465 rm -f conftest.$ac_objext | 11539 if { (eval echo "$as_me:11539: \"$ac_cpp conftest.$ac_ext\"") >&5 |
14466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
14467 (eval $ac_compile) 2>&5 | |
14468 ac_status=$? | |
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14470 (exit $ac_status); } && | |
14471 { ac_try='test -s conftest.$ac_objext' | |
14472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
14473 (eval $ac_try) 2>&5 | |
14474 ac_status=$? | |
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14476 (exit $ac_status); }; }; then | |
14477 ac_header_compiler=yes | |
14478 else | |
14479 echo "$as_me: failed program was:" >&5 | |
14480 cat conftest.$ac_ext >&5 | |
14481 ac_header_compiler=no | |
14482 fi | |
14483 rm -f conftest.$ac_objext conftest.$ac_ext | |
14484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
14485 echo "${ECHO_T}$ac_header_compiler" >&6 | |
14486 | |
14487 # Is the header present? | |
14488 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
14489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
14490 cat >conftest.$ac_ext <<_ACEOF | |
14491 #line $LINENO "configure" | |
14492 #include "confdefs.h" | |
14493 #include <$ac_header> | |
14494 _ACEOF | |
14495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
14496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
14497 ac_status=$? | 11541 ac_status=$? |
14498 egrep -v '^ *\+' conftest.er1 >conftest.err | 11542 egrep -v '^ *\+' conftest.er1 >conftest.err |
14499 rm -f conftest.er1 | 11543 rm -f conftest.er1 |
14500 cat conftest.err >&5 | 11544 cat conftest.err >&5 |
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11545 echo "$as_me:11545: \$? = $ac_status" >&5 |
14502 (exit $ac_status); } >/dev/null; then | 11546 (exit $ac_status); } >/dev/null; then |
14503 if test -s conftest.err; then | 11547 if test -s conftest.err; then |
14504 ac_cpp_err=$ac_c_preproc_warn_flag | 11548 ac_cpp_err=$ac_c_preproc_warn_flag |
14505 else | 11549 else |
14506 ac_cpp_err= | 11550 ac_cpp_err= |
14507 fi | 11551 fi |
14508 else | 11552 else |
14509 ac_cpp_err=yes | 11553 ac_cpp_err=yes |
14510 fi | 11554 fi |
14511 if test -z "$ac_cpp_err"; then | 11555 if test -z "$ac_cpp_err"; then |
14512 ac_header_preproc=yes | 11556 eval "$as_ac_Header=yes" |
14513 else | 11557 else |
14514 echo "$as_me: failed program was:" >&5 | 11558 echo "$as_me: failed program was:" >&5 |
14515 cat conftest.$ac_ext >&5 | 11559 cat conftest.$ac_ext >&5 |
14516 ac_header_preproc=no | 11560 eval "$as_ac_Header=no" |
14517 fi | 11561 fi |
14518 rm -f conftest.err conftest.$ac_ext | 11562 rm -f conftest.err conftest.$ac_ext |
14519 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 11563 fi |
14520 echo "${ECHO_T}$ac_header_preproc" >&6 | 11564 echo "$as_me:11564: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
14521 | |
14522 # So? What about this header? | |
14523 case $ac_header_compiler:$ac_header_preproc in | |
14524 yes:no ) | |
14525 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
14526 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
14527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
14528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
14529 no:yes ) | |
14530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
14531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
14532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
14533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
14534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
14535 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
14536 esac | |
14537 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
14538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
14539 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
14540 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
14541 else | |
14542 eval "$as_ac_Header=$ac_header_preproc" | |
14543 fi | |
14544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
14545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
14546 | |
14547 fi | |
14548 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11566 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14549 cat >>confdefs.h <<_ACEOF | 11567 cat >>confdefs.h <<EOF |
14550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14551 _ACEOF | 11569 EOF |
14552 | 11570 |
14553 fi | 11571 fi |
14554 | |
14555 done | 11572 done |
14556 | 11573 |
14557 fi | 11574 fi |
14558 | 11575 |
14559 # Solaris requires -lintl if you want strerror (which calls dgettext) | 11576 # Solaris requires -lintl if you want strerror (which calls dgettext) |
14560 # to return localized messages. | 11577 # to return localized messages. |
14561 | 11578 |
14562 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 | 11579 echo "$as_me:11579: checking for dgettext in -lintl" >&5 |
14563 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 | 11580 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 |
14564 if test "${ac_cv_lib_intl_dgettext+set}" = set; then | 11581 if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
14565 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11582 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14566 else | 11583 else |
14567 ac_check_lib_save_LIBS=$LIBS | 11584 ac_check_lib_save_LIBS=$LIBS |
14568 LIBS="-lintl $LIBS" | 11585 LIBS="-lintl $LIBS" |
14569 cat >conftest.$ac_ext <<_ACEOF | 11586 cat >conftest.$ac_ext <<_ACEOF |
14570 #line $LINENO "configure" | 11587 #line 11587 "configure" |
14571 #include "confdefs.h" | 11588 #include "confdefs.h" |
14572 | 11589 |
14573 /* Override any gcc2 internal prototype to avoid an error. */ | 11590 /* Override any gcc2 internal prototype to avoid an error. */ |
14574 #ifdef __cplusplus | 11591 #ifdef __cplusplus |
14575 extern "C" | 11592 extern "C" |
14576 #endif | 11593 #endif |
14577 /* We use char because int might match the return type of a gcc2 | 11594 /* We use char because int might match the return type of a gcc2 |
14578 builtin and then its argument prototype would still apply. */ | 11595 builtin and then its argument prototype would still apply. */ |
14579 char dgettext (); | 11596 char dgettext (); |
14580 #ifdef F77_DUMMY_MAIN | |
14581 # ifdef __cplusplus | |
14582 extern "C" | |
14583 # endif | |
14584 int F77_DUMMY_MAIN() { return 1; } | |
14585 #endif | |
14586 int | 11597 int |
14587 main () | 11598 main () |
14588 { | 11599 { |
14589 dgettext (); | 11600 dgettext (); |
14590 ; | 11601 ; |
14591 return 0; | 11602 return 0; |
14592 } | 11603 } |
14593 _ACEOF | 11604 _ACEOF |
14594 rm -f conftest.$ac_objext conftest$ac_exeext | 11605 rm -f conftest.$ac_objext conftest$ac_exeext |
14595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11606 if { (eval echo "$as_me:11606: \"$ac_link\"") >&5 |
14596 (eval $ac_link) 2>&5 | 11607 (eval $ac_link) 2>&5 |
14597 ac_status=$? | 11608 ac_status=$? |
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11609 echo "$as_me:11609: \$? = $ac_status" >&5 |
14599 (exit $ac_status); } && | 11610 (exit $ac_status); } && |
14600 { ac_try='test -s conftest$ac_exeext' | 11611 { ac_try='test -s conftest$ac_exeext' |
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11612 { (eval echo "$as_me:11612: \"$ac_try\"") >&5 |
14602 (eval $ac_try) 2>&5 | 11613 (eval $ac_try) 2>&5 |
14603 ac_status=$? | 11614 ac_status=$? |
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11615 echo "$as_me:11615: \$? = $ac_status" >&5 |
14605 (exit $ac_status); }; }; then | 11616 (exit $ac_status); }; }; then |
14606 ac_cv_lib_intl_dgettext=yes | 11617 ac_cv_lib_intl_dgettext=yes |
14607 else | 11618 else |
14608 echo "$as_me: failed program was:" >&5 | 11619 echo "$as_me: failed program was:" >&5 |
14609 cat conftest.$ac_ext >&5 | 11620 cat conftest.$ac_ext >&5 |
14610 ac_cv_lib_intl_dgettext=no | 11621 ac_cv_lib_intl_dgettext=no |
14611 fi | 11622 fi |
14612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14613 LIBS=$ac_check_lib_save_LIBS | 11624 LIBS=$ac_check_lib_save_LIBS |
14614 fi | 11625 fi |
14615 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 | 11626 echo "$as_me:11626: result: $ac_cv_lib_intl_dgettext" >&5 |
14616 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 | 11627 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 |
14617 if test $ac_cv_lib_intl_dgettext = yes; then | 11628 if test $ac_cv_lib_intl_dgettext = yes; then |
14618 cat >>confdefs.h <<_ACEOF | 11629 cat >>confdefs.h <<EOF |
14619 #define HAVE_LIBINTL 1 | 11630 #define HAVE_LIBINTL 1 |
14620 _ACEOF | 11631 EOF |
14621 | 11632 |
14622 LIBS="-lintl $LIBS" | 11633 LIBS="-lintl $LIBS" |
14623 | 11634 |
14624 fi | 11635 fi |
14625 | 11636 |
14626 | 11637 echo "$as_me:11637: checking whether localtime caches TZ" >&5 |
14627 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 | |
14628 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 | 11638 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 |
14629 if test "${emacs_cv_localtime_cache+set}" = set; then | 11639 if test "${emacs_cv_localtime_cache+set}" = set; then |
14630 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11640 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14631 else | 11641 else |
14632 if test x$ac_cv_func_tzset = xyes; then | 11642 if test x$ac_cv_func_tzset = xyes; then |
14633 if test "$cross_compiling" = yes; then | 11643 if test "$cross_compiling" = yes; then |
14634 # If we have tzset, assume the worst when cross-compiling. | 11644 # If we have tzset, assume the worst when cross-compiling. |
14635 emacs_cv_localtime_cache=yes | 11645 emacs_cv_localtime_cache=yes |
14636 else | 11646 else |
14637 cat >conftest.$ac_ext <<_ACEOF | 11647 cat >conftest.$ac_ext <<_ACEOF |
14638 #line $LINENO "configure" | 11648 #line 11648 "configure" |
14639 #include "confdefs.h" | 11649 #include "confdefs.h" |
14640 #include <time.h> | 11650 #include <time.h> |
14641 extern char **environ; | 11651 extern char **environ; |
14642 unset_TZ () | 11652 unset_TZ () |
14643 { | 11653 { |
14666 exit (1); | 11676 exit (1); |
14667 exit (0); | 11677 exit (0); |
14668 } | 11678 } |
14669 _ACEOF | 11679 _ACEOF |
14670 rm -f conftest$ac_exeext | 11680 rm -f conftest$ac_exeext |
14671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11681 if { (eval echo "$as_me:11681: \"$ac_link\"") >&5 |
14672 (eval $ac_link) 2>&5 | 11682 (eval $ac_link) 2>&5 |
14673 ac_status=$? | 11683 ac_status=$? |
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11684 echo "$as_me:11684: \$? = $ac_status" >&5 |
14675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11685 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11686 { (eval echo "$as_me:11686: \"$ac_try\"") >&5 |
14677 (eval $ac_try) 2>&5 | 11687 (eval $ac_try) 2>&5 |
14678 ac_status=$? | 11688 ac_status=$? |
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11689 echo "$as_me:11689: \$? = $ac_status" >&5 |
14680 (exit $ac_status); }; }; then | 11690 (exit $ac_status); }; }; then |
14681 emacs_cv_localtime_cache=no | 11691 emacs_cv_localtime_cache=no |
14682 else | 11692 else |
14683 echo "$as_me: program exited with status $ac_status" >&5 | 11693 echo "$as_me: program exited with status $ac_status" >&5 |
14684 echo "$as_me: failed program was:" >&5 | 11694 echo "$as_me: failed program was:" >&5 |
14685 cat conftest.$ac_ext >&5 | 11695 cat conftest.$ac_ext >&5 |
14686 ( exit $ac_status ) | |
14687 emacs_cv_localtime_cache=yes | 11696 emacs_cv_localtime_cache=yes |
14688 fi | 11697 fi |
14689 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11698 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14690 fi | 11699 fi |
14691 else | 11700 else |
14692 # If we lack tzset, report that localtime does not cache TZ, | 11701 # If we lack tzset, report that localtime does not cache TZ, |
14693 # since we can't invalidate the cache if we don't have tzset. | 11702 # since we can't invalidate the cache if we don't have tzset. |
14694 emacs_cv_localtime_cache=no | 11703 emacs_cv_localtime_cache=no |
14695 fi | 11704 fi |
14696 fi | 11705 fi |
14697 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 | 11706 echo "$as_me:11706: result: $emacs_cv_localtime_cache" >&5 |
14698 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 | 11707 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 |
14699 if test $emacs_cv_localtime_cache = yes; then | 11708 if test $emacs_cv_localtime_cache = yes; then |
14700 | 11709 |
14701 cat >>confdefs.h <<\_ACEOF | 11710 cat >>confdefs.h <<\EOF |
14702 #define LOCALTIME_CACHE 1 | 11711 #define LOCALTIME_CACHE 1 |
14703 _ACEOF | 11712 EOF |
14704 | 11713 |
14705 fi | 11714 fi |
14706 | 11715 |
14707 if test "x$HAVE_TIMEVAL" = xyes; then | 11716 if test "x$HAVE_TIMEVAL" = xyes; then |
14708 | 11717 |
14709 for ac_func in gettimeofday | 11718 for ac_func in gettimeofday |
14710 do | 11719 do |
14711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14712 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11721 echo "$as_me:11721: checking for $ac_func" >&5 |
14713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 11722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
14714 if eval "test \"\${$as_ac_var+set}\" = set"; then | 11723 if eval "test \"\${$as_ac_var+set}\" = set"; then |
14715 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11724 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14716 else | 11725 else |
14717 cat >conftest.$ac_ext <<_ACEOF | 11726 cat >conftest.$ac_ext <<_ACEOF |
14718 #line $LINENO "configure" | 11727 #line 11727 "configure" |
14719 #include "confdefs.h" | 11728 #include "confdefs.h" |
14720 /* System header to define __stub macros and hopefully few prototypes, | 11729 /* System header to define __stub macros and hopefully few prototypes, |
14721 which can conflict with char $ac_func (); below. */ | 11730 which can conflict with char $ac_func (); below. */ |
14722 #include <assert.h> | 11731 #include <assert.h> |
14723 /* Override any gcc2 internal prototype to avoid an error. */ | 11732 /* Override any gcc2 internal prototype to avoid an error. */ |
14727 /* We use char because int might match the return type of a gcc2 | 11736 /* We use char because int might match the return type of a gcc2 |
14728 builtin and then its argument prototype would still apply. */ | 11737 builtin and then its argument prototype would still apply. */ |
14729 char $ac_func (); | 11738 char $ac_func (); |
14730 char (*f) (); | 11739 char (*f) (); |
14731 | 11740 |
14732 #ifdef F77_DUMMY_MAIN | |
14733 # ifdef __cplusplus | |
14734 extern "C" | |
14735 # endif | |
14736 int F77_DUMMY_MAIN() { return 1; } | |
14737 #endif | |
14738 int | 11741 int |
14739 main () | 11742 main () |
14740 { | 11743 { |
14741 /* The GNU C library defines this for functions which it implements | 11744 /* The GNU C library defines this for functions which it implements |
14742 to always fail with ENOSYS. Some functions are actually named | 11745 to always fail with ENOSYS. Some functions are actually named |
14750 ; | 11753 ; |
14751 return 0; | 11754 return 0; |
14752 } | 11755 } |
14753 _ACEOF | 11756 _ACEOF |
14754 rm -f conftest.$ac_objext conftest$ac_exeext | 11757 rm -f conftest.$ac_objext conftest$ac_exeext |
14755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11758 if { (eval echo "$as_me:11758: \"$ac_link\"") >&5 |
14756 (eval $ac_link) 2>&5 | 11759 (eval $ac_link) 2>&5 |
14757 ac_status=$? | 11760 ac_status=$? |
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11761 echo "$as_me:11761: \$? = $ac_status" >&5 |
14759 (exit $ac_status); } && | 11762 (exit $ac_status); } && |
14760 { ac_try='test -s conftest$ac_exeext' | 11763 { ac_try='test -s conftest$ac_exeext' |
14761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11764 { (eval echo "$as_me:11764: \"$ac_try\"") >&5 |
14762 (eval $ac_try) 2>&5 | 11765 (eval $ac_try) 2>&5 |
14763 ac_status=$? | 11766 ac_status=$? |
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11767 echo "$as_me:11767: \$? = $ac_status" >&5 |
14765 (exit $ac_status); }; }; then | 11768 (exit $ac_status); }; }; then |
14766 eval "$as_ac_var=yes" | 11769 eval "$as_ac_var=yes" |
14767 else | 11770 else |
14768 echo "$as_me: failed program was:" >&5 | 11771 echo "$as_me: failed program was:" >&5 |
14769 cat conftest.$ac_ext >&5 | 11772 cat conftest.$ac_ext >&5 |
14770 eval "$as_ac_var=no" | 11773 eval "$as_ac_var=no" |
14771 fi | 11774 fi |
14772 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14773 fi | 11776 fi |
14774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 11777 echo "$as_me:11777: result: `eval echo '${'$as_ac_var'}'`" >&5 |
14775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 11778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
14776 if test `eval echo '${'$as_ac_var'}'` = yes; then | 11779 if test `eval echo '${'$as_ac_var'}'` = yes; then |
14777 cat >>confdefs.h <<_ACEOF | 11780 cat >>confdefs.h <<EOF |
14778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
14779 _ACEOF | 11782 EOF |
14780 | 11783 |
14781 fi | 11784 fi |
14782 done | 11785 done |
14783 | 11786 |
14784 if test $ac_cv_func_gettimeofday = yes; then | 11787 if test $ac_cv_func_gettimeofday = yes; then |
14785 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 | 11788 echo "$as_me:11788: checking whether gettimeofday can accept two arguments" >&5 |
14786 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 | 11789 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 |
14787 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then | 11790 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then |
14788 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11791 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14789 else | 11792 else |
14790 cat >conftest.$ac_ext <<_ACEOF | 11793 cat >conftest.$ac_ext <<_ACEOF |
14791 #line $LINENO "configure" | 11794 #line 11794 "configure" |
14792 #include "confdefs.h" | 11795 #include "confdefs.h" |
14793 | 11796 |
14794 #ifdef TIME_WITH_SYS_TIME | 11797 #ifdef TIME_WITH_SYS_TIME |
14795 #include <sys/time.h> | 11798 #include <sys/time.h> |
14796 #include <time.h> | 11799 #include <time.h> |
14799 #include <sys/time.h> | 11802 #include <sys/time.h> |
14800 #else | 11803 #else |
14801 #include <time.h> | 11804 #include <time.h> |
14802 #endif | 11805 #endif |
14803 #endif | 11806 #endif |
14804 #ifdef F77_DUMMY_MAIN | |
14805 # ifdef __cplusplus | |
14806 extern "C" | |
14807 # endif | |
14808 int F77_DUMMY_MAIN() { return 1; } | |
14809 #endif | |
14810 int | 11807 int |
14811 main () | 11808 main () |
14812 { | 11809 { |
14813 struct timeval time; | 11810 struct timeval time; |
14814 gettimeofday (&time, 0); | 11811 gettimeofday (&time, 0); |
14815 ; | 11812 ; |
14816 return 0; | 11813 return 0; |
14817 } | 11814 } |
14818 _ACEOF | 11815 _ACEOF |
14819 rm -f conftest.$ac_objext | 11816 rm -f conftest.$ac_objext |
14820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11817 if { (eval echo "$as_me:11817: \"$ac_compile\"") >&5 |
14821 (eval $ac_compile) 2>&5 | 11818 (eval $ac_compile) 2>&5 |
14822 ac_status=$? | 11819 ac_status=$? |
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11820 echo "$as_me:11820: \$? = $ac_status" >&5 |
14824 (exit $ac_status); } && | 11821 (exit $ac_status); } && |
14825 { ac_try='test -s conftest.$ac_objext' | 11822 { ac_try='test -s conftest.$ac_objext' |
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11823 { (eval echo "$as_me:11823: \"$ac_try\"") >&5 |
14827 (eval $ac_try) 2>&5 | 11824 (eval $ac_try) 2>&5 |
14828 ac_status=$? | 11825 ac_status=$? |
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11826 echo "$as_me:11826: \$? = $ac_status" >&5 |
14830 (exit $ac_status); }; }; then | 11827 (exit $ac_status); }; }; then |
14831 emacs_cv_gettimeofday_two_arguments=yes | 11828 emacs_cv_gettimeofday_two_arguments=yes |
14832 else | 11829 else |
14833 echo "$as_me: failed program was:" >&5 | 11830 echo "$as_me: failed program was:" >&5 |
14834 cat conftest.$ac_ext >&5 | 11831 cat conftest.$ac_ext >&5 |
14835 emacs_cv_gettimeofday_two_arguments=no | 11832 emacs_cv_gettimeofday_two_arguments=no |
14836 fi | 11833 fi |
14837 rm -f conftest.$ac_objext conftest.$ac_ext | 11834 rm -f conftest.$ac_objext conftest.$ac_ext |
14838 fi | 11835 fi |
14839 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 11836 echo "$as_me:11836: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
14840 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 | 11837 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 |
14841 if test $emacs_cv_gettimeofday_two_arguments = no; then | 11838 if test $emacs_cv_gettimeofday_two_arguments = no; then |
14842 | 11839 |
14843 cat >>confdefs.h <<\_ACEOF | 11840 cat >>confdefs.h <<\EOF |
14844 #define GETTIMEOFDAY_ONE_ARGUMENT 1 | 11841 #define GETTIMEOFDAY_ONE_ARGUMENT 1 |
14845 _ACEOF | 11842 EOF |
14846 | 11843 |
14847 fi | 11844 fi |
14848 fi | 11845 fi |
14849 fi | 11846 fi |
14850 | 11847 |
14851 if test "$ac_cv_func_gettimeofday" = yes; then | 11848 if test "$ac_cv_func_gettimeofday" = yes; then |
14852 echo "$as_me:$LINENO: checking for struct timezone" >&5 | 11849 echo "$as_me:11849: checking for struct timezone" >&5 |
14853 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 | 11850 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 |
14854 if test "${emacs_cv_struct_timezone+set}" = set; then | 11851 if test "${emacs_cv_struct_timezone+set}" = set; then |
14855 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11852 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14856 else | 11853 else |
14857 cat >conftest.$ac_ext <<_ACEOF | 11854 cat >conftest.$ac_ext <<_ACEOF |
14858 #line $LINENO "configure" | 11855 #line 11855 "configure" |
14859 #include "confdefs.h" | 11856 #include "confdefs.h" |
14860 #include <sys/time.h> | 11857 #include <sys/time.h> |
14861 #ifdef F77_DUMMY_MAIN | |
14862 # ifdef __cplusplus | |
14863 extern "C" | |
14864 # endif | |
14865 int F77_DUMMY_MAIN() { return 1; } | |
14866 #endif | |
14867 int | 11858 int |
14868 main () | 11859 main () |
14869 { | 11860 { |
14870 struct timezone tz; | 11861 struct timezone tz; |
14871 ; | 11862 ; |
14872 return 0; | 11863 return 0; |
14873 } | 11864 } |
14874 _ACEOF | 11865 _ACEOF |
14875 rm -f conftest.$ac_objext | 11866 rm -f conftest.$ac_objext |
14876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11867 if { (eval echo "$as_me:11867: \"$ac_compile\"") >&5 |
14877 (eval $ac_compile) 2>&5 | 11868 (eval $ac_compile) 2>&5 |
14878 ac_status=$? | 11869 ac_status=$? |
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11870 echo "$as_me:11870: \$? = $ac_status" >&5 |
14880 (exit $ac_status); } && | 11871 (exit $ac_status); } && |
14881 { ac_try='test -s conftest.$ac_objext' | 11872 { ac_try='test -s conftest.$ac_objext' |
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11873 { (eval echo "$as_me:11873: \"$ac_try\"") >&5 |
14883 (eval $ac_try) 2>&5 | 11874 (eval $ac_try) 2>&5 |
14884 ac_status=$? | 11875 ac_status=$? |
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11876 echo "$as_me:11876: \$? = $ac_status" >&5 |
14886 (exit $ac_status); }; }; then | 11877 (exit $ac_status); }; }; then |
14887 if test "$cross_compiling" = yes; then | 11878 if test "$cross_compiling" = yes; then |
14888 emacs_cv_struct_timezone=yes | 11879 emacs_cv_struct_timezone=yes |
14889 else | 11880 else |
14890 cat >conftest.$ac_ext <<_ACEOF | 11881 cat >conftest.$ac_ext <<_ACEOF |
14891 #line $LINENO "configure" | 11882 #line 11882 "configure" |
14892 #include "confdefs.h" | 11883 #include "confdefs.h" |
14893 | 11884 |
14894 #ifdef TIME_WITH_SYS_TIME | 11885 #ifdef TIME_WITH_SYS_TIME |
14895 #include <sys/time.h> | 11886 #include <sys/time.h> |
14896 #include <time.h> | 11887 #include <time.h> |
14906 struct timezone dummy; | 11897 struct timezone dummy; |
14907 exit (gettimeofday (&time, &dummy)); | 11898 exit (gettimeofday (&time, &dummy)); |
14908 } | 11899 } |
14909 _ACEOF | 11900 _ACEOF |
14910 rm -f conftest$ac_exeext | 11901 rm -f conftest$ac_exeext |
14911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11902 if { (eval echo "$as_me:11902: \"$ac_link\"") >&5 |
14912 (eval $ac_link) 2>&5 | 11903 (eval $ac_link) 2>&5 |
14913 ac_status=$? | 11904 ac_status=$? |
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11905 echo "$as_me:11905: \$? = $ac_status" >&5 |
14915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11906 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11907 { (eval echo "$as_me:11907: \"$ac_try\"") >&5 |
14917 (eval $ac_try) 2>&5 | 11908 (eval $ac_try) 2>&5 |
14918 ac_status=$? | 11909 ac_status=$? |
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11910 echo "$as_me:11910: \$? = $ac_status" >&5 |
14920 (exit $ac_status); }; }; then | 11911 (exit $ac_status); }; }; then |
14921 emacs_cv_struct_timezone=yes | 11912 emacs_cv_struct_timezone=yes |
14922 else | 11913 else |
14923 echo "$as_me: program exited with status $ac_status" >&5 | 11914 echo "$as_me: program exited with status $ac_status" >&5 |
14924 echo "$as_me: failed program was:" >&5 | 11915 echo "$as_me: failed program was:" >&5 |
14925 cat conftest.$ac_ext >&5 | 11916 cat conftest.$ac_ext >&5 |
14926 ( exit $ac_status ) | |
14927 emacs_cv_struct_timezone=no | 11917 emacs_cv_struct_timezone=no |
14928 fi | 11918 fi |
14929 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11919 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14930 fi | 11920 fi |
14931 else | 11921 else |
14933 cat conftest.$ac_ext >&5 | 11923 cat conftest.$ac_ext >&5 |
14934 emacs_cv_struct_timezone=no | 11924 emacs_cv_struct_timezone=no |
14935 fi | 11925 fi |
14936 rm -f conftest.$ac_objext conftest.$ac_ext | 11926 rm -f conftest.$ac_objext conftest.$ac_ext |
14937 fi | 11927 fi |
14938 echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5 | 11928 echo "$as_me:11928: result: $emacs_cv_struct_timezone" >&5 |
14939 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 | 11929 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 |
14940 fi | 11930 fi |
14941 | 11931 |
14942 ok_so_far=yes | 11932 ok_so_far=yes |
14943 echo "$as_me:$LINENO: checking for socket" >&5 | 11933 echo "$as_me:11933: checking for socket" >&5 |
14944 echo $ECHO_N "checking for socket... $ECHO_C" >&6 | 11934 echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
14945 if test "${ac_cv_func_socket+set}" = set; then | 11935 if test "${ac_cv_func_socket+set}" = set; then |
14946 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11936 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14947 else | 11937 else |
14948 cat >conftest.$ac_ext <<_ACEOF | 11938 cat >conftest.$ac_ext <<_ACEOF |
14949 #line $LINENO "configure" | 11939 #line 11939 "configure" |
14950 #include "confdefs.h" | 11940 #include "confdefs.h" |
14951 /* System header to define __stub macros and hopefully few prototypes, | 11941 /* System header to define __stub macros and hopefully few prototypes, |
14952 which can conflict with char socket (); below. */ | 11942 which can conflict with char socket (); below. */ |
14953 #include <assert.h> | 11943 #include <assert.h> |
14954 /* Override any gcc2 internal prototype to avoid an error. */ | 11944 /* Override any gcc2 internal prototype to avoid an error. */ |
14958 /* We use char because int might match the return type of a gcc2 | 11948 /* We use char because int might match the return type of a gcc2 |
14959 builtin and then its argument prototype would still apply. */ | 11949 builtin and then its argument prototype would still apply. */ |
14960 char socket (); | 11950 char socket (); |
14961 char (*f) (); | 11951 char (*f) (); |
14962 | 11952 |
14963 #ifdef F77_DUMMY_MAIN | |
14964 # ifdef __cplusplus | |
14965 extern "C" | |
14966 # endif | |
14967 int F77_DUMMY_MAIN() { return 1; } | |
14968 #endif | |
14969 int | 11953 int |
14970 main () | 11954 main () |
14971 { | 11955 { |
14972 /* The GNU C library defines this for functions which it implements | 11956 /* The GNU C library defines this for functions which it implements |
14973 to always fail with ENOSYS. Some functions are actually named | 11957 to always fail with ENOSYS. Some functions are actually named |
14981 ; | 11965 ; |
14982 return 0; | 11966 return 0; |
14983 } | 11967 } |
14984 _ACEOF | 11968 _ACEOF |
14985 rm -f conftest.$ac_objext conftest$ac_exeext | 11969 rm -f conftest.$ac_objext conftest$ac_exeext |
14986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11970 if { (eval echo "$as_me:11970: \"$ac_link\"") >&5 |
14987 (eval $ac_link) 2>&5 | 11971 (eval $ac_link) 2>&5 |
14988 ac_status=$? | 11972 ac_status=$? |
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11973 echo "$as_me:11973: \$? = $ac_status" >&5 |
14990 (exit $ac_status); } && | 11974 (exit $ac_status); } && |
14991 { ac_try='test -s conftest$ac_exeext' | 11975 { ac_try='test -s conftest$ac_exeext' |
14992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11976 { (eval echo "$as_me:11976: \"$ac_try\"") >&5 |
14993 (eval $ac_try) 2>&5 | 11977 (eval $ac_try) 2>&5 |
14994 ac_status=$? | 11978 ac_status=$? |
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11979 echo "$as_me:11979: \$? = $ac_status" >&5 |
14996 (exit $ac_status); }; }; then | 11980 (exit $ac_status); }; }; then |
14997 ac_cv_func_socket=yes | 11981 ac_cv_func_socket=yes |
14998 else | 11982 else |
14999 echo "$as_me: failed program was:" >&5 | 11983 echo "$as_me: failed program was:" >&5 |
15000 cat conftest.$ac_ext >&5 | 11984 cat conftest.$ac_ext >&5 |
15001 ac_cv_func_socket=no | 11985 ac_cv_func_socket=no |
15002 fi | 11986 fi |
15003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15004 fi | 11988 fi |
15005 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 | 11989 echo "$as_me:11989: result: $ac_cv_func_socket" >&5 |
15006 echo "${ECHO_T}$ac_cv_func_socket" >&6 | 11990 echo "${ECHO_T}$ac_cv_func_socket" >&6 |
15007 if test $ac_cv_func_socket = yes; then | 11991 if test $ac_cv_func_socket = yes; then |
15008 : | 11992 : |
15009 else | 11993 else |
15010 ok_so_far=no | 11994 ok_so_far=no |
15011 fi | 11995 fi |
15012 | 11996 |
15013 if test $ok_so_far = yes; then | 11997 if test $ok_so_far = yes; then |
15014 if test "${ac_cv_header_netinet_in_h+set}" = set; then | 11998 echo "$as_me:11998: checking for netinet/in.h" >&5 |
15015 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | |
15016 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 | 11999 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 |
15017 if test "${ac_cv_header_netinet_in_h+set}" = set; then | 12000 if test "${ac_cv_header_netinet_in_h+set}" = set; then |
15018 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12001 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15019 fi | 12002 else |
15020 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | 12003 cat >conftest.$ac_ext <<_ACEOF |
15021 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 | 12004 #line 12004 "configure" |
15022 else | 12005 #include "confdefs.h" |
15023 # Is the header compilable? | |
15024 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 | |
15025 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 | |
15026 cat >conftest.$ac_ext <<_ACEOF | |
15027 #line $LINENO "configure" | |
15028 #include "confdefs.h" | |
15029 $ac_includes_default | |
15030 #include <netinet/in.h> | 12006 #include <netinet/in.h> |
15031 _ACEOF | 12007 _ACEOF |
15032 rm -f conftest.$ac_objext | 12008 if { (eval echo "$as_me:12008: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15034 (eval $ac_compile) 2>&5 | |
15035 ac_status=$? | |
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15037 (exit $ac_status); } && | |
15038 { ac_try='test -s conftest.$ac_objext' | |
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15040 (eval $ac_try) 2>&5 | |
15041 ac_status=$? | |
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15043 (exit $ac_status); }; }; then | |
15044 ac_header_compiler=yes | |
15045 else | |
15046 echo "$as_me: failed program was:" >&5 | |
15047 cat conftest.$ac_ext >&5 | |
15048 ac_header_compiler=no | |
15049 fi | |
15050 rm -f conftest.$ac_objext conftest.$ac_ext | |
15051 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
15052 echo "${ECHO_T}$ac_header_compiler" >&6 | |
15053 | |
15054 # Is the header present? | |
15055 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 | |
15056 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 | |
15057 cat >conftest.$ac_ext <<_ACEOF | |
15058 #line $LINENO "configure" | |
15059 #include "confdefs.h" | |
15060 #include <netinet/in.h> | |
15061 _ACEOF | |
15062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
15063 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 12009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15064 ac_status=$? | 12010 ac_status=$? |
15065 egrep -v '^ *\+' conftest.er1 >conftest.err | 12011 egrep -v '^ *\+' conftest.er1 >conftest.err |
15066 rm -f conftest.er1 | 12012 rm -f conftest.er1 |
15067 cat conftest.err >&5 | 12013 cat conftest.err >&5 |
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12014 echo "$as_me:12014: \$? = $ac_status" >&5 |
15069 (exit $ac_status); } >/dev/null; then | 12015 (exit $ac_status); } >/dev/null; then |
15070 if test -s conftest.err; then | 12016 if test -s conftest.err; then |
15071 ac_cpp_err=$ac_c_preproc_warn_flag | 12017 ac_cpp_err=$ac_c_preproc_warn_flag |
15072 else | 12018 else |
15073 ac_cpp_err= | 12019 ac_cpp_err= |
15074 fi | 12020 fi |
15075 else | 12021 else |
15076 ac_cpp_err=yes | 12022 ac_cpp_err=yes |
15077 fi | 12023 fi |
15078 if test -z "$ac_cpp_err"; then | 12024 if test -z "$ac_cpp_err"; then |
15079 ac_header_preproc=yes | 12025 ac_cv_header_netinet_in_h=yes |
15080 else | 12026 else |
15081 echo "$as_me: failed program was:" >&5 | 12027 echo "$as_me: failed program was:" >&5 |
15082 cat conftest.$ac_ext >&5 | 12028 cat conftest.$ac_ext >&5 |
15083 ac_header_preproc=no | 12029 ac_cv_header_netinet_in_h=no |
15084 fi | 12030 fi |
15085 rm -f conftest.err conftest.$ac_ext | 12031 rm -f conftest.err conftest.$ac_ext |
15086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12032 fi |
15087 echo "${ECHO_T}$ac_header_preproc" >&6 | 12033 echo "$as_me:12033: result: $ac_cv_header_netinet_in_h" >&5 |
15088 | |
15089 # So? What about this header? | |
15090 case $ac_header_compiler:$ac_header_preproc in | |
15091 yes:no ) | |
15092 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
15093 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
15094 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 | |
15095 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};; | |
15096 no:yes ) | |
15097 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 | |
15098 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} | |
15099 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 | |
15100 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} | |
15101 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 | |
15102 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};; | |
15103 esac | |
15104 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | |
15105 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 | |
15106 if test "${ac_cv_header_netinet_in_h+set}" = set; then | |
15107 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
15108 else | |
15109 ac_cv_header_netinet_in_h=$ac_header_preproc | |
15110 fi | |
15111 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | |
15112 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 | 12034 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 |
15113 | |
15114 fi | |
15115 if test $ac_cv_header_netinet_in_h = yes; then | 12035 if test $ac_cv_header_netinet_in_h = yes; then |
15116 : | 12036 : |
15117 else | 12037 else |
15118 ok_so_far=no | 12038 ok_so_far=no |
15119 fi | 12039 fi |
15120 | 12040 |
15121 | |
15122 fi | 12041 fi |
15123 if test $ok_so_far = yes; then | 12042 if test $ok_so_far = yes; then |
15124 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 12043 echo "$as_me:12043: checking for arpa/inet.h" >&5 |
15125 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | |
15126 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 | 12044 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 |
15127 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 12045 if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
15128 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12046 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15129 fi | 12047 else |
15130 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | 12048 cat >conftest.$ac_ext <<_ACEOF |
15131 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 | 12049 #line 12049 "configure" |
15132 else | 12050 #include "confdefs.h" |
15133 # Is the header compilable? | |
15134 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 | |
15135 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 | |
15136 cat >conftest.$ac_ext <<_ACEOF | |
15137 #line $LINENO "configure" | |
15138 #include "confdefs.h" | |
15139 $ac_includes_default | |
15140 #include <arpa/inet.h> | 12051 #include <arpa/inet.h> |
15141 _ACEOF | 12052 _ACEOF |
15142 rm -f conftest.$ac_objext | 12053 if { (eval echo "$as_me:12053: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15144 (eval $ac_compile) 2>&5 | |
15145 ac_status=$? | |
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15147 (exit $ac_status); } && | |
15148 { ac_try='test -s conftest.$ac_objext' | |
15149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15150 (eval $ac_try) 2>&5 | |
15151 ac_status=$? | |
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15153 (exit $ac_status); }; }; then | |
15154 ac_header_compiler=yes | |
15155 else | |
15156 echo "$as_me: failed program was:" >&5 | |
15157 cat conftest.$ac_ext >&5 | |
15158 ac_header_compiler=no | |
15159 fi | |
15160 rm -f conftest.$ac_objext conftest.$ac_ext | |
15161 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
15162 echo "${ECHO_T}$ac_header_compiler" >&6 | |
15163 | |
15164 # Is the header present? | |
15165 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 | |
15166 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 | |
15167 cat >conftest.$ac_ext <<_ACEOF | |
15168 #line $LINENO "configure" | |
15169 #include "confdefs.h" | |
15170 #include <arpa/inet.h> | |
15171 _ACEOF | |
15172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
15173 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 12054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15174 ac_status=$? | 12055 ac_status=$? |
15175 egrep -v '^ *\+' conftest.er1 >conftest.err | 12056 egrep -v '^ *\+' conftest.er1 >conftest.err |
15176 rm -f conftest.er1 | 12057 rm -f conftest.er1 |
15177 cat conftest.err >&5 | 12058 cat conftest.err >&5 |
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12059 echo "$as_me:12059: \$? = $ac_status" >&5 |
15179 (exit $ac_status); } >/dev/null; then | 12060 (exit $ac_status); } >/dev/null; then |
15180 if test -s conftest.err; then | 12061 if test -s conftest.err; then |
15181 ac_cpp_err=$ac_c_preproc_warn_flag | 12062 ac_cpp_err=$ac_c_preproc_warn_flag |
15182 else | 12063 else |
15183 ac_cpp_err= | 12064 ac_cpp_err= |
15184 fi | 12065 fi |
15185 else | 12066 else |
15186 ac_cpp_err=yes | 12067 ac_cpp_err=yes |
15187 fi | 12068 fi |
15188 if test -z "$ac_cpp_err"; then | 12069 if test -z "$ac_cpp_err"; then |
15189 ac_header_preproc=yes | 12070 ac_cv_header_arpa_inet_h=yes |
15190 else | 12071 else |
15191 echo "$as_me: failed program was:" >&5 | 12072 echo "$as_me: failed program was:" >&5 |
15192 cat conftest.$ac_ext >&5 | 12073 cat conftest.$ac_ext >&5 |
15193 ac_header_preproc=no | 12074 ac_cv_header_arpa_inet_h=no |
15194 fi | 12075 fi |
15195 rm -f conftest.err conftest.$ac_ext | 12076 rm -f conftest.err conftest.$ac_ext |
15196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12077 fi |
15197 echo "${ECHO_T}$ac_header_preproc" >&6 | 12078 echo "$as_me:12078: result: $ac_cv_header_arpa_inet_h" >&5 |
15198 | |
15199 # So? What about this header? | |
15200 case $ac_header_compiler:$ac_header_preproc in | |
15201 yes:no ) | |
15202 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
15203 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
15204 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 | |
15205 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};; | |
15206 no:yes ) | |
15207 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 | |
15208 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} | |
15209 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 | |
15210 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} | |
15211 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 | |
15212 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};; | |
15213 esac | |
15214 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | |
15215 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 | |
15216 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | |
15217 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
15218 else | |
15219 ac_cv_header_arpa_inet_h=$ac_header_preproc | |
15220 fi | |
15221 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | |
15222 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 | 12079 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 |
15223 | |
15224 fi | |
15225 if test $ac_cv_header_arpa_inet_h = yes; then | 12080 if test $ac_cv_header_arpa_inet_h = yes; then |
15226 : | 12081 : |
15227 else | 12082 else |
15228 ok_so_far=no | 12083 ok_so_far=no |
15229 fi | 12084 fi |
15230 | 12085 |
15231 | |
15232 fi | 12086 fi |
15233 if test $ok_so_far = yes; then | 12087 if test $ok_so_far = yes; then |
15234 | 12088 |
15235 cat >>confdefs.h <<\_ACEOF | 12089 cat >>confdefs.h <<\EOF |
15236 #define HAVE_INET_SOCKETS 1 | 12090 #define HAVE_INET_SOCKETS 1 |
15237 _ACEOF | 12091 EOF |
15238 | 12092 |
15239 fi | 12093 fi |
15240 | 12094 |
15241 if test -f /usr/lpp/X11/bin/smt.exp; then | 12095 if test -f /usr/lpp/X11/bin/smt.exp; then |
15242 | 12096 |
15243 cat >>confdefs.h <<\_ACEOF | 12097 cat >>confdefs.h <<\EOF |
15244 #define HAVE_AIX_SMT_EXP 1 | 12098 #define HAVE_AIX_SMT_EXP 1 |
15245 _ACEOF | 12099 EOF |
15246 | 12100 |
15247 fi | 12101 fi |
15248 | 12102 |
15249 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 | 12103 echo "$as_me:12103: checking whether system supports dynamic ptys" >&5 |
15250 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 | 12104 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 |
15251 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 12105 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
15252 echo "$as_me:$LINENO: result: yes" >&5 | 12106 echo "$as_me:12106: result: yes" >&5 |
15253 echo "${ECHO_T}yes" >&6 | 12107 echo "${ECHO_T}yes" >&6 |
15254 | 12108 |
15255 cat >>confdefs.h <<\_ACEOF | 12109 cat >>confdefs.h <<\EOF |
15256 #define HAVE_DEV_PTMX 1 | 12110 #define HAVE_DEV_PTMX 1 |
15257 _ACEOF | 12111 EOF |
15258 | 12112 |
15259 else | 12113 else |
15260 echo "$as_me:$LINENO: result: no" >&5 | 12114 echo "$as_me:12114: result: no" >&5 |
15261 echo "${ECHO_T}no" >&6 | 12115 echo "${ECHO_T}no" >&6 |
15262 fi | 12116 fi |
15263 | 12117 |
15264 echo "$as_me:$LINENO: checking for pid_t" >&5 | 12118 echo "$as_me:12118: checking for pid_t" >&5 |
15265 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 12119 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
15266 if test "${ac_cv_type_pid_t+set}" = set; then | 12120 if test "${ac_cv_type_pid_t+set}" = set; then |
15267 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12121 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15268 else | 12122 else |
15269 cat >conftest.$ac_ext <<_ACEOF | 12123 cat >conftest.$ac_ext <<_ACEOF |
15270 #line $LINENO "configure" | 12124 #line 12124 "configure" |
15271 #include "confdefs.h" | 12125 #include "confdefs.h" |
15272 $ac_includes_default | 12126 $ac_includes_default |
15273 #ifdef F77_DUMMY_MAIN | |
15274 # ifdef __cplusplus | |
15275 extern "C" | |
15276 # endif | |
15277 int F77_DUMMY_MAIN() { return 1; } | |
15278 #endif | |
15279 int | 12127 int |
15280 main () | 12128 main () |
15281 { | 12129 { |
15282 if ((pid_t *) 0) | 12130 if ((pid_t *) 0) |
15283 return 0; | 12131 return 0; |
15286 ; | 12134 ; |
15287 return 0; | 12135 return 0; |
15288 } | 12136 } |
15289 _ACEOF | 12137 _ACEOF |
15290 rm -f conftest.$ac_objext | 12138 rm -f conftest.$ac_objext |
15291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12139 if { (eval echo "$as_me:12139: \"$ac_compile\"") >&5 |
15292 (eval $ac_compile) 2>&5 | 12140 (eval $ac_compile) 2>&5 |
15293 ac_status=$? | 12141 ac_status=$? |
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12142 echo "$as_me:12142: \$? = $ac_status" >&5 |
15295 (exit $ac_status); } && | 12143 (exit $ac_status); } && |
15296 { ac_try='test -s conftest.$ac_objext' | 12144 { ac_try='test -s conftest.$ac_objext' |
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12145 { (eval echo "$as_me:12145: \"$ac_try\"") >&5 |
15298 (eval $ac_try) 2>&5 | 12146 (eval $ac_try) 2>&5 |
15299 ac_status=$? | 12147 ac_status=$? |
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12148 echo "$as_me:12148: \$? = $ac_status" >&5 |
15301 (exit $ac_status); }; }; then | 12149 (exit $ac_status); }; }; then |
15302 ac_cv_type_pid_t=yes | 12150 ac_cv_type_pid_t=yes |
15303 else | 12151 else |
15304 echo "$as_me: failed program was:" >&5 | 12152 echo "$as_me: failed program was:" >&5 |
15305 cat conftest.$ac_ext >&5 | 12153 cat conftest.$ac_ext >&5 |
15306 ac_cv_type_pid_t=no | 12154 ac_cv_type_pid_t=no |
15307 fi | 12155 fi |
15308 rm -f conftest.$ac_objext conftest.$ac_ext | 12156 rm -f conftest.$ac_objext conftest.$ac_ext |
15309 fi | 12157 fi |
15310 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | 12158 echo "$as_me:12158: result: $ac_cv_type_pid_t" >&5 |
15311 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 | 12159 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
15312 if test $ac_cv_type_pid_t = yes; then | 12160 if test $ac_cv_type_pid_t = yes; then |
15313 : | 12161 : |
15314 else | 12162 else |
15315 | 12163 |
15316 cat >>confdefs.h <<_ACEOF | 12164 cat >>confdefs.h <<EOF |
15317 #define pid_t int | 12165 #define pid_t int |
15318 _ACEOF | 12166 EOF |
15319 | 12167 |
15320 fi | 12168 fi |
15321 | |
15322 | |
15323 | 12169 |
15324 for ac_header in unistd.h vfork.h | 12170 for ac_header in unistd.h vfork.h |
15325 do | 12171 do |
15326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12172 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
15327 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 12173 echo "$as_me:12173: checking for $ac_header" >&5 |
15328 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
15329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 12174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
15330 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 12175 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
15331 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12176 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15332 fi | 12177 else |
15333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 12178 cat >conftest.$ac_ext <<_ACEOF |
15334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 12179 #line 12179 "configure" |
15335 else | 12180 #include "confdefs.h" |
15336 # Is the header compilable? | |
15337 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
15338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
15339 cat >conftest.$ac_ext <<_ACEOF | |
15340 #line $LINENO "configure" | |
15341 #include "confdefs.h" | |
15342 $ac_includes_default | |
15343 #include <$ac_header> | 12181 #include <$ac_header> |
15344 _ACEOF | 12182 _ACEOF |
15345 rm -f conftest.$ac_objext | 12183 if { (eval echo "$as_me:12183: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15347 (eval $ac_compile) 2>&5 | |
15348 ac_status=$? | |
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15350 (exit $ac_status); } && | |
15351 { ac_try='test -s conftest.$ac_objext' | |
15352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15353 (eval $ac_try) 2>&5 | |
15354 ac_status=$? | |
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15356 (exit $ac_status); }; }; then | |
15357 ac_header_compiler=yes | |
15358 else | |
15359 echo "$as_me: failed program was:" >&5 | |
15360 cat conftest.$ac_ext >&5 | |
15361 ac_header_compiler=no | |
15362 fi | |
15363 rm -f conftest.$ac_objext conftest.$ac_ext | |
15364 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
15365 echo "${ECHO_T}$ac_header_compiler" >&6 | |
15366 | |
15367 # Is the header present? | |
15368 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
15369 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
15370 cat >conftest.$ac_ext <<_ACEOF | |
15371 #line $LINENO "configure" | |
15372 #include "confdefs.h" | |
15373 #include <$ac_header> | |
15374 _ACEOF | |
15375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
15376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 12184 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15377 ac_status=$? | 12185 ac_status=$? |
15378 egrep -v '^ *\+' conftest.er1 >conftest.err | 12186 egrep -v '^ *\+' conftest.er1 >conftest.err |
15379 rm -f conftest.er1 | 12187 rm -f conftest.er1 |
15380 cat conftest.err >&5 | 12188 cat conftest.err >&5 |
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12189 echo "$as_me:12189: \$? = $ac_status" >&5 |
15382 (exit $ac_status); } >/dev/null; then | 12190 (exit $ac_status); } >/dev/null; then |
15383 if test -s conftest.err; then | 12191 if test -s conftest.err; then |
15384 ac_cpp_err=$ac_c_preproc_warn_flag | 12192 ac_cpp_err=$ac_c_preproc_warn_flag |
15385 else | 12193 else |
15386 ac_cpp_err= | 12194 ac_cpp_err= |
15387 fi | 12195 fi |
15388 else | 12196 else |
15389 ac_cpp_err=yes | 12197 ac_cpp_err=yes |
15390 fi | 12198 fi |
15391 if test -z "$ac_cpp_err"; then | 12199 if test -z "$ac_cpp_err"; then |
15392 ac_header_preproc=yes | 12200 eval "$as_ac_Header=yes" |
15393 else | 12201 else |
15394 echo "$as_me: failed program was:" >&5 | 12202 echo "$as_me: failed program was:" >&5 |
15395 cat conftest.$ac_ext >&5 | 12203 cat conftest.$ac_ext >&5 |
15396 ac_header_preproc=no | 12204 eval "$as_ac_Header=no" |
15397 fi | 12205 fi |
15398 rm -f conftest.err conftest.$ac_ext | 12206 rm -f conftest.err conftest.$ac_ext |
15399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12207 fi |
15400 echo "${ECHO_T}$ac_header_preproc" >&6 | 12208 echo "$as_me:12208: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
15401 | |
15402 # So? What about this header? | |
15403 case $ac_header_compiler:$ac_header_preproc in | |
15404 yes:no ) | |
15405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
15406 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
15407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
15408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
15409 no:yes ) | |
15410 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
15411 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
15412 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
15413 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
15414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
15415 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
15416 esac | |
15417 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
15418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
15419 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
15420 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
15421 else | |
15422 eval "$as_ac_Header=$ac_header_preproc" | |
15423 fi | |
15424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
15425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 12209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
15426 | |
15427 fi | |
15428 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 12210 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
15429 cat >>confdefs.h <<_ACEOF | 12211 cat >>confdefs.h <<EOF |
15430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
15431 _ACEOF | 12213 EOF |
15432 | 12214 |
15433 fi | 12215 fi |
15434 | |
15435 done | 12216 done |
15436 | |
15437 | |
15438 | 12217 |
15439 for ac_func in fork vfork | 12218 for ac_func in fork vfork |
15440 do | 12219 do |
15441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
15442 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12221 echo "$as_me:12221: checking for $ac_func" >&5 |
15443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 12222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
15444 if eval "test \"\${$as_ac_var+set}\" = set"; then | 12223 if eval "test \"\${$as_ac_var+set}\" = set"; then |
15445 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12224 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15446 else | 12225 else |
15447 cat >conftest.$ac_ext <<_ACEOF | 12226 cat >conftest.$ac_ext <<_ACEOF |
15448 #line $LINENO "configure" | 12227 #line 12227 "configure" |
15449 #include "confdefs.h" | 12228 #include "confdefs.h" |
15450 /* System header to define __stub macros and hopefully few prototypes, | 12229 /* System header to define __stub macros and hopefully few prototypes, |
15451 which can conflict with char $ac_func (); below. */ | 12230 which can conflict with char $ac_func (); below. */ |
15452 #include <assert.h> | 12231 #include <assert.h> |
15453 /* Override any gcc2 internal prototype to avoid an error. */ | 12232 /* Override any gcc2 internal prototype to avoid an error. */ |
15457 /* We use char because int might match the return type of a gcc2 | 12236 /* We use char because int might match the return type of a gcc2 |
15458 builtin and then its argument prototype would still apply. */ | 12237 builtin and then its argument prototype would still apply. */ |
15459 char $ac_func (); | 12238 char $ac_func (); |
15460 char (*f) (); | 12239 char (*f) (); |
15461 | 12240 |
15462 #ifdef F77_DUMMY_MAIN | |
15463 # ifdef __cplusplus | |
15464 extern "C" | |
15465 # endif | |
15466 int F77_DUMMY_MAIN() { return 1; } | |
15467 #endif | |
15468 int | 12241 int |
15469 main () | 12242 main () |
15470 { | 12243 { |
15471 /* The GNU C library defines this for functions which it implements | 12244 /* The GNU C library defines this for functions which it implements |
15472 to always fail with ENOSYS. Some functions are actually named | 12245 to always fail with ENOSYS. Some functions are actually named |
15480 ; | 12253 ; |
15481 return 0; | 12254 return 0; |
15482 } | 12255 } |
15483 _ACEOF | 12256 _ACEOF |
15484 rm -f conftest.$ac_objext conftest$ac_exeext | 12257 rm -f conftest.$ac_objext conftest$ac_exeext |
15485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12258 if { (eval echo "$as_me:12258: \"$ac_link\"") >&5 |
15486 (eval $ac_link) 2>&5 | 12259 (eval $ac_link) 2>&5 |
15487 ac_status=$? | 12260 ac_status=$? |
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12261 echo "$as_me:12261: \$? = $ac_status" >&5 |
15489 (exit $ac_status); } && | 12262 (exit $ac_status); } && |
15490 { ac_try='test -s conftest$ac_exeext' | 12263 { ac_try='test -s conftest$ac_exeext' |
15491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12264 { (eval echo "$as_me:12264: \"$ac_try\"") >&5 |
15492 (eval $ac_try) 2>&5 | 12265 (eval $ac_try) 2>&5 |
15493 ac_status=$? | 12266 ac_status=$? |
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12267 echo "$as_me:12267: \$? = $ac_status" >&5 |
15495 (exit $ac_status); }; }; then | 12268 (exit $ac_status); }; }; then |
15496 eval "$as_ac_var=yes" | 12269 eval "$as_ac_var=yes" |
15497 else | 12270 else |
15498 echo "$as_me: failed program was:" >&5 | 12271 echo "$as_me: failed program was:" >&5 |
15499 cat conftest.$ac_ext >&5 | 12272 cat conftest.$ac_ext >&5 |
15500 eval "$as_ac_var=no" | 12273 eval "$as_ac_var=no" |
15501 fi | 12274 fi |
15502 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 12275 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15503 fi | 12276 fi |
15504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 12277 echo "$as_me:12277: result: `eval echo '${'$as_ac_var'}'`" >&5 |
15505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 12278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
15506 if test `eval echo '${'$as_ac_var'}'` = yes; then | 12279 if test `eval echo '${'$as_ac_var'}'` = yes; then |
15507 cat >>confdefs.h <<_ACEOF | 12280 cat >>confdefs.h <<EOF |
15508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
15509 _ACEOF | 12282 EOF |
15510 | 12283 |
15511 fi | 12284 fi |
15512 done | 12285 done |
15513 | 12286 |
15514 ac_cv_func_fork_works=$ac_cv_func_fork | 12287 ac_cv_func_fork_works=$ac_cv_func_fork |
15515 if test "x$ac_cv_func_fork" = xyes; then | 12288 if test "x$ac_cv_func_fork" = xyes; then |
15516 echo "$as_me:$LINENO: checking for working fork" >&5 | 12289 echo "$as_me:12289: checking for working fork" >&5 |
15517 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 | 12290 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 |
15518 if test "${ac_cv_func_fork_works+set}" = set; then | 12291 if test "${ac_cv_func_fork_works+set}" = set; then |
15519 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12292 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15520 else | 12293 else |
15521 if test "$cross_compiling" = yes; then | 12294 if test "$cross_compiling" = yes; then |
15522 ac_cv_func_fork_works=cross | 12295 ac_cv_func_fork_works=cross |
15523 else | 12296 else |
15524 cat >conftest.$ac_ext <<_ACEOF | 12297 cat >conftest.$ac_ext <<_ACEOF |
15525 /* By Ruediger Kuhlmann. */ | 12298 /* By Rüdiger Kuhlmann. */ |
15526 #include <sys/types.h> | 12299 #include <sys/types.h> |
15527 #if HAVE_UNISTD_H | 12300 #if HAVE_UNISTD_H |
15528 # include <unistd.h> | 12301 # include <unistd.h> |
15529 #endif | 12302 #endif |
15530 /* Some systems only have a dummy stub for fork() */ | 12303 /* Some systems only have a dummy stub for fork() */ |
15534 exit (1); | 12307 exit (1); |
15535 exit (0); | 12308 exit (0); |
15536 } | 12309 } |
15537 _ACEOF | 12310 _ACEOF |
15538 rm -f conftest$ac_exeext | 12311 rm -f conftest$ac_exeext |
15539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12312 if { (eval echo "$as_me:12312: \"$ac_link\"") >&5 |
15540 (eval $ac_link) 2>&5 | 12313 (eval $ac_link) 2>&5 |
15541 ac_status=$? | 12314 ac_status=$? |
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12315 echo "$as_me:12315: \$? = $ac_status" >&5 |
15543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 12316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12317 { (eval echo "$as_me:12317: \"$ac_try\"") >&5 |
15545 (eval $ac_try) 2>&5 | 12318 (eval $ac_try) 2>&5 |
15546 ac_status=$? | 12319 ac_status=$? |
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12320 echo "$as_me:12320: \$? = $ac_status" >&5 |
15548 (exit $ac_status); }; }; then | 12321 (exit $ac_status); }; }; then |
15549 ac_cv_func_fork_works=yes | 12322 ac_cv_func_fork_works=yes |
15550 else | 12323 else |
15551 echo "$as_me: program exited with status $ac_status" >&5 | 12324 echo "$as_me: program exited with status $ac_status" >&5 |
15552 echo "$as_me: failed program was:" >&5 | 12325 echo "$as_me: failed program was:" >&5 |
15553 cat conftest.$ac_ext >&5 | 12326 cat conftest.$ac_ext >&5 |
15554 ( exit $ac_status ) | |
15555 ac_cv_func_fork_works=no | 12327 ac_cv_func_fork_works=no |
15556 fi | 12328 fi |
15557 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12329 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15558 fi | 12330 fi |
15559 fi | 12331 fi |
15560 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 | 12332 echo "$as_me:12332: result: $ac_cv_func_fork_works" >&5 |
15561 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 | 12333 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 |
15562 | 12334 |
15563 fi | 12335 fi |
15564 if test "x$ac_cv_func_fork_works" = xcross; then | 12336 if test "x$ac_cv_func_fork_works" = xcross; then |
15565 case $host in | 12337 case $host in |
15569 ;; | 12341 ;; |
15570 *) | 12342 *) |
15571 ac_cv_func_fork_works=yes | 12343 ac_cv_func_fork_works=yes |
15572 ;; | 12344 ;; |
15573 esac | 12345 esac |
15574 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 | 12346 { echo "$as_me:12346: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 |
15575 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} | 12347 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} |
15576 fi | 12348 fi |
15577 ac_cv_func_vfork_works=$ac_cv_func_vfork | 12349 ac_cv_func_vfork_works=$ac_cv_func_vfork |
15578 if test "x$ac_cv_func_vfork" = xyes; then | 12350 if test "x$ac_cv_func_vfork" = xyes; then |
15579 echo "$as_me:$LINENO: checking for working vfork" >&5 | 12351 echo "$as_me:12351: checking for working vfork" >&5 |
15580 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 | 12352 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 |
15581 if test "${ac_cv_func_vfork_works+set}" = set; then | 12353 if test "${ac_cv_func_vfork_works+set}" = set; then |
15582 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12354 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15583 else | 12355 else |
15584 if test "$cross_compiling" = yes; then | 12356 if test "$cross_compiling" = yes; then |
15585 ac_cv_func_vfork_works=cross | 12357 ac_cv_func_vfork_works=cross |
15586 else | 12358 else |
15587 cat >conftest.$ac_ext <<_ACEOF | 12359 cat >conftest.$ac_ext <<_ACEOF |
15588 #line $LINENO "configure" | 12360 #line 12360 "configure" |
15589 #include "confdefs.h" | 12361 #include "confdefs.h" |
15590 /* Thanks to Paul Eggert for this test. */ | 12362 /* Thanks to Paul Eggert for this test. */ |
15591 #include <stdio.h> | 12363 #include <stdio.h> |
15592 #include <sys/types.h> | 12364 #include <sys/types.h> |
15593 #include <sys/stat.h> | 12365 #include <sys/stat.h> |
15680 ); | 12452 ); |
15681 } | 12453 } |
15682 } | 12454 } |
15683 _ACEOF | 12455 _ACEOF |
15684 rm -f conftest$ac_exeext | 12456 rm -f conftest$ac_exeext |
15685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12457 if { (eval echo "$as_me:12457: \"$ac_link\"") >&5 |
15686 (eval $ac_link) 2>&5 | 12458 (eval $ac_link) 2>&5 |
15687 ac_status=$? | 12459 ac_status=$? |
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12460 echo "$as_me:12460: \$? = $ac_status" >&5 |
15689 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 12461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12462 { (eval echo "$as_me:12462: \"$ac_try\"") >&5 |
15691 (eval $ac_try) 2>&5 | 12463 (eval $ac_try) 2>&5 |
15692 ac_status=$? | 12464 ac_status=$? |
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12465 echo "$as_me:12465: \$? = $ac_status" >&5 |
15694 (exit $ac_status); }; }; then | 12466 (exit $ac_status); }; }; then |
15695 ac_cv_func_vfork_works=yes | 12467 ac_cv_func_vfork_works=yes |
15696 else | 12468 else |
15697 echo "$as_me: program exited with status $ac_status" >&5 | 12469 echo "$as_me: program exited with status $ac_status" >&5 |
15698 echo "$as_me: failed program was:" >&5 | 12470 echo "$as_me: failed program was:" >&5 |
15699 cat conftest.$ac_ext >&5 | 12471 cat conftest.$ac_ext >&5 |
15700 ( exit $ac_status ) | |
15701 ac_cv_func_vfork_works=no | 12472 ac_cv_func_vfork_works=no |
15702 fi | 12473 fi |
15703 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12474 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15704 fi | 12475 fi |
15705 fi | 12476 fi |
15706 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 | 12477 echo "$as_me:12477: result: $ac_cv_func_vfork_works" >&5 |
15707 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 | 12478 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 |
15708 | 12479 |
15709 fi; | 12480 fi; |
15710 if test "x$ac_cv_func_fork_works" = xcross; then | 12481 if test "x$ac_cv_func_fork_works" = xcross; then |
15711 ac_cv_func_vfork_works=ac_cv_func_vfork | 12482 ac_cv_func_vfork_works=ac_cv_func_vfork |
15712 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 | 12483 { echo "$as_me:12483: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 |
15713 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} | 12484 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} |
15714 fi | 12485 fi |
15715 | 12486 |
15716 if test "x$ac_cv_func_vfork_works" = xyes; then | 12487 if test "x$ac_cv_func_vfork_works" = xyes; then |
15717 | 12488 |
15718 cat >>confdefs.h <<\_ACEOF | 12489 cat >>confdefs.h <<\EOF |
15719 #define HAVE_WORKING_VFORK 1 | 12490 #define HAVE_WORKING_VFORK 1 |
15720 _ACEOF | 12491 EOF |
15721 | 12492 |
15722 else | 12493 else |
15723 | 12494 |
15724 cat >>confdefs.h <<\_ACEOF | 12495 cat >>confdefs.h <<\EOF |
15725 #define vfork fork | 12496 #define vfork fork |
15726 _ACEOF | 12497 EOF |
15727 | 12498 |
15728 fi | 12499 fi |
15729 if test "x$ac_cv_func_fork_works" = xyes; then | 12500 if test "x$ac_cv_func_fork_works" = xyes; then |
15730 | 12501 |
15731 cat >>confdefs.h <<\_ACEOF | 12502 cat >>confdefs.h <<\EOF |
15732 #define HAVE_WORKING_FORK 1 | 12503 #define HAVE_WORKING_FORK 1 |
15733 _ACEOF | 12504 EOF |
15734 | 12505 |
15735 fi | 12506 fi |
15736 | |
15737 | 12507 |
15738 # Fixme: This should be replaced when we have autoconf 2.14. | 12508 # Fixme: This should be replaced when we have autoconf 2.14. |
15739 echo "$as_me:$LINENO: checking for size_t" >&5 | 12509 echo "$as_me:12509: checking for size_t" >&5 |
15740 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 12510 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
15741 if test "${ac_cv_type_size_t+set}" = set; then | 12511 if test "${ac_cv_type_size_t+set}" = set; then |
15742 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12512 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15743 else | 12513 else |
15744 cat >conftest.$ac_ext <<_ACEOF | 12514 cat >conftest.$ac_ext <<_ACEOF |
15745 #line $LINENO "configure" | 12515 #line 12515 "configure" |
15746 #include "confdefs.h" | 12516 #include "confdefs.h" |
15747 $ac_includes_default | 12517 $ac_includes_default |
15748 #ifdef F77_DUMMY_MAIN | |
15749 # ifdef __cplusplus | |
15750 extern "C" | |
15751 # endif | |
15752 int F77_DUMMY_MAIN() { return 1; } | |
15753 #endif | |
15754 int | 12518 int |
15755 main () | 12519 main () |
15756 { | 12520 { |
15757 if ((size_t *) 0) | 12521 if ((size_t *) 0) |
15758 return 0; | 12522 return 0; |
15761 ; | 12525 ; |
15762 return 0; | 12526 return 0; |
15763 } | 12527 } |
15764 _ACEOF | 12528 _ACEOF |
15765 rm -f conftest.$ac_objext | 12529 rm -f conftest.$ac_objext |
15766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12530 if { (eval echo "$as_me:12530: \"$ac_compile\"") >&5 |
15767 (eval $ac_compile) 2>&5 | 12531 (eval $ac_compile) 2>&5 |
15768 ac_status=$? | 12532 ac_status=$? |
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12533 echo "$as_me:12533: \$? = $ac_status" >&5 |
15770 (exit $ac_status); } && | 12534 (exit $ac_status); } && |
15771 { ac_try='test -s conftest.$ac_objext' | 12535 { ac_try='test -s conftest.$ac_objext' |
15772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12536 { (eval echo "$as_me:12536: \"$ac_try\"") >&5 |
15773 (eval $ac_try) 2>&5 | 12537 (eval $ac_try) 2>&5 |
15774 ac_status=$? | 12538 ac_status=$? |
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12539 echo "$as_me:12539: \$? = $ac_status" >&5 |
15776 (exit $ac_status); }; }; then | 12540 (exit $ac_status); }; }; then |
15777 ac_cv_type_size_t=yes | 12541 ac_cv_type_size_t=yes |
15778 else | 12542 else |
15779 echo "$as_me: failed program was:" >&5 | 12543 echo "$as_me: failed program was:" >&5 |
15780 cat conftest.$ac_ext >&5 | 12544 cat conftest.$ac_ext >&5 |
15781 ac_cv_type_size_t=no | 12545 ac_cv_type_size_t=no |
15782 fi | 12546 fi |
15783 rm -f conftest.$ac_objext conftest.$ac_ext | 12547 rm -f conftest.$ac_objext conftest.$ac_ext |
15784 fi | 12548 fi |
15785 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | 12549 echo "$as_me:12549: result: $ac_cv_type_size_t" >&5 |
15786 echo "${ECHO_T}$ac_cv_type_size_t" >&6 | 12550 echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
15787 if test $ac_cv_type_size_t = yes; then | 12551 if test $ac_cv_type_size_t = yes; then |
15788 : | 12552 : |
15789 else | 12553 else |
15790 | 12554 |
15791 cat >>confdefs.h <<_ACEOF | 12555 cat >>confdefs.h <<EOF |
15792 #define size_t unsigned | 12556 #define size_t unsigned |
15793 _ACEOF | 12557 EOF |
15794 | 12558 |
15795 fi | 12559 fi |
15796 | |
15797 | 12560 |
15798 # Set up the CFLAGS for real compilation, so we can substitute it. | 12561 # Set up the CFLAGS for real compilation, so we can substitute it. |
15799 CFLAGS="$REAL_CFLAGS" | 12562 CFLAGS="$REAL_CFLAGS" |
15800 CPPFLAGS="$REAL_CPPFLAGS" | 12563 CPPFLAGS="$REAL_CPPFLAGS" |
15801 | 12564 |
15802 #### Find out which version of Emacs this is. | 12565 #### Find out which version of Emacs this is. |
15803 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | 12566 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ |
15804 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 12567 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
15805 if test x"${version}" = x; then | 12568 if test x"${version}" = x; then |
15806 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 | 12569 { { echo "$as_me:12569: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 |
15807 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} | 12570 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} |
15808 { (exit 1); exit 1; }; } | 12571 { (exit 1); exit 1; }; } |
15809 fi | 12572 fi |
15810 | 12573 |
15811 ### Specify what sort of things we'll be editing into Makefile and config.h. | 12574 ### Specify what sort of things we'll be editing into Makefile and config.h. |
15812 ### Use configuration here uncanonicalized to avoid exceeding size limits. | 12575 ### Use configuration here uncanonicalized to avoid exceeding size limits. |
15813 | 12576 |
15814 | 12577 cat >>confdefs.h <<EOF |
15815 | |
15816 | |
15817 | |
15818 | |
15819 | |
15820 | |
15821 | |
15822 | |
15823 | |
15824 | |
15825 | |
15826 | |
15827 | |
15828 | |
15829 | |
15830 | |
15831 | |
15832 | |
15833 | |
15834 | |
15835 | |
15836 | |
15837 | |
15838 | |
15839 | |
15840 | |
15841 | |
15842 | |
15843 | |
15844 | |
15845 | |
15846 | |
15847 cat >>confdefs.h <<_ACEOF | |
15848 #define EMACS_CONFIGURATION "${canonical}" | 12578 #define EMACS_CONFIGURATION "${canonical}" |
15849 _ACEOF | 12579 EOF |
15850 | 12580 |
15851 | 12581 cat >>confdefs.h <<EOF |
15852 cat >>confdefs.h <<_ACEOF | |
15853 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}" | 12582 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}" |
15854 _ACEOF | 12583 EOF |
15855 | 12584 |
15856 | 12585 cat >>confdefs.h <<EOF |
15857 cat >>confdefs.h <<_ACEOF | |
15858 #define config_machfile "${machfile}" | 12586 #define config_machfile "${machfile}" |
15859 _ACEOF | 12587 EOF |
15860 | 12588 |
15861 | 12589 cat >>confdefs.h <<EOF |
15862 cat >>confdefs.h <<_ACEOF | |
15863 #define config_opsysfile "${opsysfile}" | 12590 #define config_opsysfile "${opsysfile}" |
15864 _ACEOF | 12591 EOF |
15865 | 12592 |
15866 | 12593 cat >>confdefs.h <<EOF |
15867 cat >>confdefs.h <<_ACEOF | |
15868 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE} | 12594 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE} |
15869 _ACEOF | 12595 EOF |
15870 | 12596 |
15871 | 12597 cat >>confdefs.h <<EOF |
15872 cat >>confdefs.h <<_ACEOF | |
15873 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX} | 12598 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX} |
15874 _ACEOF | 12599 EOF |
15875 | 12600 |
15876 | 12601 cat >>confdefs.h <<EOF |
15877 cat >>confdefs.h <<_ACEOF | |
15878 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE} | 12602 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE} |
15879 _ACEOF | 12603 EOF |
15880 | 12604 |
15881 | 12605 cat >>confdefs.h <<EOF |
15882 cat >>confdefs.h <<_ACEOF | |
15883 #define UNEXEC_SRC ${UNEXEC_SRC} | 12606 #define UNEXEC_SRC ${UNEXEC_SRC} |
15884 _ACEOF | 12607 EOF |
15885 | |
15886 | 12608 |
15887 if test "${HAVE_X_WINDOWS}" = "yes" ; then | 12609 if test "${HAVE_X_WINDOWS}" = "yes" ; then |
15888 | 12610 |
15889 cat >>confdefs.h <<\_ACEOF | 12611 cat >>confdefs.h <<\EOF |
15890 #define HAVE_X_WINDOWS 1 | 12612 #define HAVE_X_WINDOWS 1 |
15891 _ACEOF | 12613 EOF |
15892 | 12614 |
15893 fi | 12615 fi |
15894 if test "${USE_X_TOOLKIT}" != "none" ; then | 12616 if test "${USE_X_TOOLKIT}" != "none" ; then |
15895 | 12617 |
15896 cat >>confdefs.h <<\_ACEOF | 12618 cat >>confdefs.h <<\EOF |
15897 #define USE_X_TOOLKIT 1 | 12619 #define USE_X_TOOLKIT 1 |
15898 _ACEOF | 12620 EOF |
15899 | 12621 |
15900 fi | 12622 fi |
15901 if test "${HAVE_X11}" = "yes" ; then | 12623 if test "${HAVE_X11}" = "yes" ; then |
15902 | 12624 |
15903 cat >>confdefs.h <<\_ACEOF | 12625 cat >>confdefs.h <<\EOF |
15904 #define HAVE_X11 1 | 12626 #define HAVE_X11 1 |
15905 _ACEOF | 12627 EOF |
15906 | 12628 |
15907 fi | 12629 fi |
15908 if test "${HAVE_XFREE386}" = "yes" ; then | 12630 if test "${HAVE_XFREE386}" = "yes" ; then |
15909 | 12631 |
15910 cat >>confdefs.h <<\_ACEOF | 12632 cat >>confdefs.h <<\EOF |
15911 #define HAVE_XFREE386 1 | 12633 #define HAVE_XFREE386 1 |
15912 _ACEOF | 12634 EOF |
15913 | 12635 |
15914 fi | 12636 fi |
15915 if test "${HAVE_MENUS}" = "yes" ; then | 12637 if test "${HAVE_MENUS}" = "yes" ; then |
15916 | 12638 |
15917 cat >>confdefs.h <<\_ACEOF | 12639 cat >>confdefs.h <<\EOF |
15918 #define HAVE_MENUS 1 | 12640 #define HAVE_MENUS 1 |
15919 _ACEOF | 12641 EOF |
15920 | 12642 |
15921 fi | 12643 fi |
15922 if test "${GNU_MALLOC}" = "yes" ; then | 12644 if test "${GNU_MALLOC}" = "yes" ; then |
15923 | 12645 |
15924 cat >>confdefs.h <<\_ACEOF | 12646 cat >>confdefs.h <<\EOF |
15925 #define GNU_MALLOC 1 | 12647 #define GNU_MALLOC 1 |
15926 _ACEOF | 12648 EOF |
15927 | 12649 |
15928 fi | 12650 fi |
15929 if test "${REL_ALLOC}" = "yes" ; then | 12651 if test "${REL_ALLOC}" = "yes" ; then |
15930 | 12652 |
15931 cat >>confdefs.h <<\_ACEOF | 12653 cat >>confdefs.h <<\EOF |
15932 #define REL_ALLOC 1 | 12654 #define REL_ALLOC 1 |
15933 _ACEOF | 12655 EOF |
15934 | 12656 |
15935 fi | 12657 fi |
15936 | |
15937 | 12658 |
15938 for ac_header in nlist.h | 12659 for ac_header in nlist.h |
15939 do | 12660 do |
15940 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
15941 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 12662 echo "$as_me:12662: checking for $ac_header" >&5 |
15942 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
15943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 12663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
15944 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 12664 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
15945 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12665 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15946 fi | 12666 else |
15947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 12667 cat >conftest.$ac_ext <<_ACEOF |
15948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 12668 #line 12668 "configure" |
15949 else | 12669 #include "confdefs.h" |
15950 # Is the header compilable? | |
15951 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
15952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
15953 cat >conftest.$ac_ext <<_ACEOF | |
15954 #line $LINENO "configure" | |
15955 #include "confdefs.h" | |
15956 $ac_includes_default | |
15957 #include <$ac_header> | 12670 #include <$ac_header> |
15958 _ACEOF | 12671 _ACEOF |
15959 rm -f conftest.$ac_objext | 12672 if { (eval echo "$as_me:12672: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
15961 (eval $ac_compile) 2>&5 | |
15962 ac_status=$? | |
15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15964 (exit $ac_status); } && | |
15965 { ac_try='test -s conftest.$ac_objext' | |
15966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
15967 (eval $ac_try) 2>&5 | |
15968 ac_status=$? | |
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15970 (exit $ac_status); }; }; then | |
15971 ac_header_compiler=yes | |
15972 else | |
15973 echo "$as_me: failed program was:" >&5 | |
15974 cat conftest.$ac_ext >&5 | |
15975 ac_header_compiler=no | |
15976 fi | |
15977 rm -f conftest.$ac_objext conftest.$ac_ext | |
15978 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
15979 echo "${ECHO_T}$ac_header_compiler" >&6 | |
15980 | |
15981 # Is the header present? | |
15982 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
15983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
15984 cat >conftest.$ac_ext <<_ACEOF | |
15985 #line $LINENO "configure" | |
15986 #include "confdefs.h" | |
15987 #include <$ac_header> | |
15988 _ACEOF | |
15989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
15990 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 12673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15991 ac_status=$? | 12674 ac_status=$? |
15992 egrep -v '^ *\+' conftest.er1 >conftest.err | 12675 egrep -v '^ *\+' conftest.er1 >conftest.err |
15993 rm -f conftest.er1 | 12676 rm -f conftest.er1 |
15994 cat conftest.err >&5 | 12677 cat conftest.err >&5 |
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12678 echo "$as_me:12678: \$? = $ac_status" >&5 |
15996 (exit $ac_status); } >/dev/null; then | 12679 (exit $ac_status); } >/dev/null; then |
15997 if test -s conftest.err; then | 12680 if test -s conftest.err; then |
15998 ac_cpp_err=$ac_c_preproc_warn_flag | 12681 ac_cpp_err=$ac_c_preproc_warn_flag |
15999 else | 12682 else |
16000 ac_cpp_err= | 12683 ac_cpp_err= |
16001 fi | 12684 fi |
16002 else | 12685 else |
16003 ac_cpp_err=yes | 12686 ac_cpp_err=yes |
16004 fi | 12687 fi |
16005 if test -z "$ac_cpp_err"; then | 12688 if test -z "$ac_cpp_err"; then |
16006 ac_header_preproc=yes | 12689 eval "$as_ac_Header=yes" |
16007 else | 12690 else |
16008 echo "$as_me: failed program was:" >&5 | 12691 echo "$as_me: failed program was:" >&5 |
16009 cat conftest.$ac_ext >&5 | 12692 cat conftest.$ac_ext >&5 |
16010 ac_header_preproc=no | 12693 eval "$as_ac_Header=no" |
16011 fi | 12694 fi |
16012 rm -f conftest.err conftest.$ac_ext | 12695 rm -f conftest.err conftest.$ac_ext |
16013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12696 fi |
16014 echo "${ECHO_T}$ac_header_preproc" >&6 | 12697 echo "$as_me:12697: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
16015 | |
16016 # So? What about this header? | |
16017 case $ac_header_compiler:$ac_header_preproc in | |
16018 yes:no ) | |
16019 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
16020 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
16021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
16022 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
16023 no:yes ) | |
16024 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
16025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
16026 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
16027 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
16028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
16029 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | |
16030 esac | |
16031 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
16032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
16033 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
16034 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16035 else | |
16036 eval "$as_ac_Header=$ac_header_preproc" | |
16037 fi | |
16038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
16039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 12698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
16040 | |
16041 fi | |
16042 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 12699 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
16043 cat >>confdefs.h <<_ACEOF | 12700 cat >>confdefs.h <<EOF |
16044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
16045 _ACEOF | 12702 EOF |
16046 | 12703 |
16047 cat >>confdefs.h <<\_ACEOF | 12704 cat >>confdefs.h <<\EOF |
16048 #define NLIST_STRUCT 1 | 12705 #define NLIST_STRUCT 1 |
16049 _ACEOF | 12706 EOF |
16050 | 12707 |
16051 fi | 12708 fi |
16052 | |
16053 done | 12709 done |
16054 | |
16055 | |
16056 | |
16057 | |
16058 | |
16059 | 12710 |
16060 #### Report on what we decided to do. | 12711 #### Report on what we decided to do. |
16061 echo " | 12712 echo " |
16062 Configured for \`${canonical}'. | 12713 Configured for \`${canonical}'. |
16063 | 12714 |
16102 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile | 12753 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile |
16103 ## from Makefile.c can correctly provide the arg `-traditional' to the | 12754 ## from Makefile.c can correctly provide the arg `-traditional' to the |
16104 ## C preprocessor. | 12755 ## C preprocessor. |
16105 | 12756 |
16106 cat >conftest.$ac_ext <<_ACEOF | 12757 cat >conftest.$ac_ext <<_ACEOF |
16107 #line $LINENO "configure" | 12758 #line 12758 "configure" |
16108 #include "confdefs.h" | 12759 #include "confdefs.h" |
16109 yes..yes | 12760 yes..yes |
16110 _ACEOF | 12761 _ACEOF |
16111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
16112 egrep "yes..yes" >/dev/null 2>&1; then | 12763 egrep "yes..yes" >/dev/null 2>&1; then |
16113 CPP_NEED_TRADITIONAL=no | 12764 CPP_NEED_TRADITIONAL=no |
16114 else | 12765 else |
16115 CPP_NEED_TRADITIONAL=yes | 12766 CPP_NEED_TRADITIONAL=yes |
16116 fi | 12767 fi |
16117 rm -f conftest* | 12768 rm -f conftest* |
16118 | |
16119 | 12769 |
16120 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" | 12770 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" |
16121 ac_config_commands="$ac_config_commands default" | 12771 ac_config_commands="$ac_config_commands default" |
16122 cat >confcache <<\_ACEOF | 12772 cat >confcache <<\_ACEOF |
16123 # This file is a shell script that caches the results of configure | 12773 # This file is a shell script that caches the results of configure |
16193 }' | 12843 }' |
16194 fi | 12844 fi |
16195 | 12845 |
16196 DEFS=-DHAVE_CONFIG_H | 12846 DEFS=-DHAVE_CONFIG_H |
16197 | 12847 |
16198 | |
16199 : ${CONFIG_STATUS=./config.status} | 12848 : ${CONFIG_STATUS=./config.status} |
16200 ac_clean_files_save=$ac_clean_files | 12849 ac_clean_files_save=$ac_clean_files |
16201 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 12850 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
16202 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 12851 { echo "$as_me:12851: creating $CONFIG_STATUS" >&5 |
16203 echo "$as_me: creating $CONFIG_STATUS" >&6;} | 12852 echo "$as_me: creating $CONFIG_STATUS" >&6;} |
16204 cat >$CONFIG_STATUS <<_ACEOF | 12853 cat >$CONFIG_STATUS <<_ACEOF |
16205 #! $SHELL | 12854 #! $SHELL |
16206 # Generated by $as_me. | 12855 # Generated automatically by configure. |
16207 # Run this file to recreate the current configuration. | 12856 # Run this file to recreate the current configuration. |
16208 # Compiler output produced by configure, useful for debugging | 12857 # Compiler output produced by configure, useful for debugging |
16209 # configure, is in config.log if it exists. | 12858 # configure, is in config.log if it exists. |
16210 | 12859 |
16211 debug=false | 12860 debug=false |
16212 SHELL=\${CONFIG_SHELL-$SHELL} | 12861 SHELL=\${CONFIG_SHELL-$SHELL} |
12862 ac_cs_invocation="\$0 \$@" | |
12863 | |
16213 _ACEOF | 12864 _ACEOF |
16214 | 12865 |
16215 cat >>$CONFIG_STATUS <<\_ACEOF | 12866 cat >>$CONFIG_STATUS <<\_ACEOF |
16216 | |
16217 ## --------------------- ## | |
16218 ## M4sh Initialization. ## | |
16219 ## --------------------- ## | |
16220 | |
16221 # Be Bourne compatible | 12867 # Be Bourne compatible |
16222 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 12868 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
16223 emulate sh | 12869 emulate sh |
16224 NULLCMD=: | 12870 NULLCMD=: |
16225 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 12871 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
16226 set -o posix | 12872 set -o posix |
16227 fi | 12873 fi |
16228 | 12874 |
16229 # NLS nuisances. | |
16230 # Support unset when possible. | |
16231 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | |
16232 as_unset=unset | |
16233 else | |
16234 as_unset=false | |
16235 fi | |
16236 | |
16237 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | |
16238 { $as_unset LANG || test "${LANG+set}" != set; } || | |
16239 { LANG=C; export LANG; } | |
16240 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | |
16241 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | |
16242 { LC_ALL=C; export LC_ALL; } | |
16243 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | |
16244 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | |
16245 { LC_TIME=C; export LC_TIME; } | |
16246 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | |
16247 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | |
16248 { LC_CTYPE=C; export LC_CTYPE; } | |
16249 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | |
16250 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | |
16251 { LANGUAGE=C; export LANGUAGE; } | |
16252 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | |
16253 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | |
16254 { LC_COLLATE=C; export LC_COLLATE; } | |
16255 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | |
16256 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | |
16257 { LC_NUMERIC=C; export LC_NUMERIC; } | |
16258 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | |
16259 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | |
16260 { LC_MESSAGES=C; export LC_MESSAGES; } | |
16261 | |
16262 | |
16263 # Name of the executable. | 12875 # Name of the executable. |
16264 as_me=`(basename "$0") 2>/dev/null || | 12876 as_me=`echo "$0" |sed 's,.*[\\/],,'` |
16265 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
16266 X"$0" : 'X\(//\)$' \| \ | |
16267 X"$0" : 'X\(/\)$' \| \ | |
16268 . : '\(.\)' 2>/dev/null || | |
16269 echo X/"$0" | | |
16270 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
16271 /^X\/\(\/\/\)$/{ s//\1/; q; } | |
16272 /^X\/\(\/\).*/{ s//\1/; q; } | |
16273 s/.*/./; q'` | |
16274 | |
16275 # PATH needs CR, and LINENO needs CR and PATH. | |
16276 # Avoid depending upon Character Ranges. | |
16277 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
16278 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
16279 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
16280 as_cr_digits='0123456789' | |
16281 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
16282 | |
16283 # The user is always right. | |
16284 if test "${PATH_SEPARATOR+set}" != set; then | |
16285 echo "#! /bin/sh" >conftest.sh | |
16286 echo "exit 0" >>conftest.sh | |
16287 chmod +x conftest.sh | |
16288 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | |
16289 PATH_SEPARATOR=';' | |
16290 else | |
16291 PATH_SEPARATOR=: | |
16292 fi | |
16293 rm -f conftest.sh | |
16294 fi | |
16295 | |
16296 | |
16297 as_lineno_1=$LINENO | |
16298 as_lineno_2=$LINENO | |
16299 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
16300 test "x$as_lineno_1" != "x$as_lineno_2" && | |
16301 test "x$as_lineno_3" = "x$as_lineno_2" || { | |
16302 # Find who we are. Look in the path if we contain no path at all | |
16303 # relative or not. | |
16304 case $0 in | |
16305 *[\\/]* ) as_myself=$0 ;; | |
16306 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
16307 for as_dir in $PATH | |
16308 do | |
16309 IFS=$as_save_IFS | |
16310 test -z "$as_dir" && as_dir=. | |
16311 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
16312 done | |
16313 | |
16314 ;; | |
16315 esac | |
16316 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
16317 # in which case we are not to be found in the path. | |
16318 if test "x$as_myself" = x; then | |
16319 as_myself=$0 | |
16320 fi | |
16321 if test ! -f "$as_myself"; then | |
16322 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | |
16323 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | |
16324 { (exit 1); exit 1; }; } | |
16325 fi | |
16326 case $CONFIG_SHELL in | |
16327 '') | |
16328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
16329 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
16330 do | |
16331 IFS=$as_save_IFS | |
16332 test -z "$as_dir" && as_dir=. | |
16333 for as_base in sh bash ksh sh5; do | |
16334 case $as_dir in | |
16335 /*) | |
16336 if ("$as_dir/$as_base" -c ' | |
16337 as_lineno_1=$LINENO | |
16338 as_lineno_2=$LINENO | |
16339 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
16340 test "x$as_lineno_1" != "x$as_lineno_2" && | |
16341 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | |
16342 CONFIG_SHELL=$as_dir/$as_base | |
16343 export CONFIG_SHELL | |
16344 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
16345 fi;; | |
16346 esac | |
16347 done | |
16348 done | |
16349 ;; | |
16350 esac | |
16351 | |
16352 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
16353 # uniformly replaced by the line number. The first 'sed' inserts a | |
16354 # line-number line before each line; the second 'sed' does the real | |
16355 # work. The second script uses 'N' to pair each line-number line | |
16356 # with the numbered line, and appends trailing '-' during | |
16357 # substitution so that $LINENO is not a special case at line end. | |
16358 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
16359 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | |
16360 sed '=' <$as_myself | | |
16361 sed ' | |
16362 N | |
16363 s,$,-, | |
16364 : loop | |
16365 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
16366 t loop | |
16367 s,-$,, | |
16368 s,^['$as_cr_digits']*\n,, | |
16369 ' >$as_me.lineno && | |
16370 chmod +x $as_me.lineno || | |
16371 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | |
16372 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | |
16373 { (exit 1); exit 1; }; } | |
16374 | |
16375 # Don't try to exec as it changes $[0], causing all sort of problems | |
16376 # (the dirname of $[0] is not the place where we might find the | |
16377 # original and so on. Autoconf is especially sensible to this). | |
16378 . ./$as_me.lineno | |
16379 # Exit status is that of the last command. | |
16380 exit | |
16381 } | |
16382 | |
16383 | |
16384 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | |
16385 *c*,-n*) ECHO_N= ECHO_C=' | |
16386 ' ECHO_T=' ' ;; | |
16387 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | |
16388 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | |
16389 esac | |
16390 | 12877 |
16391 if expr a : '\(a\)' >/dev/null 2>&1; then | 12878 if expr a : '\(a\)' >/dev/null 2>&1; then |
16392 as_expr=expr | 12879 as_expr=expr |
16393 else | 12880 else |
16394 as_expr=false | 12881 as_expr=false |
16412 fi | 12899 fi |
16413 rm -f conf$$ conf$$.exe conf$$.file | 12900 rm -f conf$$ conf$$.exe conf$$.file |
16414 | 12901 |
16415 as_executable_p="test -f" | 12902 as_executable_p="test -f" |
16416 | 12903 |
16417 # Sed expression to map a string onto a valid CPP name. | 12904 # Support unset when possible. |
16418 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 12905 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
16419 | 12906 as_unset=unset |
16420 # Sed expression to map a string onto a valid variable name. | 12907 else |
16421 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 12908 as_unset=false |
16422 | 12909 fi |
12910 | |
12911 # NLS nuisances. | |
12912 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } | |
12913 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } | |
12914 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } | |
12915 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } | |
12916 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } | |
12917 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } | |
12918 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } | |
12919 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } | |
16423 | 12920 |
16424 # IFS | 12921 # IFS |
16425 # We need space, tab and new line, in precisely that order. | 12922 # We need space, tab and new line, in precisely that order. |
16426 as_nl=' | 12923 as_nl=' |
16427 ' | 12924 ' |
16428 IFS=" $as_nl" | 12925 IFS=" $as_nl" |
16429 | 12926 |
16430 # CDPATH. | 12927 # CDPATH. |
16431 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | 12928 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
16432 | 12929 |
16433 exec 6>&1 | 12930 exec 6>&1 |
16434 | 12931 |
16435 # Open the log real soon, to keep \$[0] and so on meaningful, and to | |
16436 # report actual input values of CONFIG_FILES etc. instead of their | |
16437 # values after options handling. Logging --version etc. is OK. | |
16438 exec 5>>config.log | |
16439 { | |
16440 echo | |
16441 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
16442 ## Running $as_me. ## | |
16443 _ASBOX | |
16444 } >&5 | |
16445 cat >&5 <<_CSEOF | |
16446 | |
16447 This file was extended by $as_me, which was | |
16448 generated by GNU Autoconf 2.53. Invocation command line was | |
16449 | |
16450 CONFIG_FILES = $CONFIG_FILES | |
16451 CONFIG_HEADERS = $CONFIG_HEADERS | |
16452 CONFIG_LINKS = $CONFIG_LINKS | |
16453 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
16454 $ $0 $@ | |
16455 | |
16456 _CSEOF | |
16457 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | |
16458 echo >&5 | |
16459 _ACEOF | 12932 _ACEOF |
16460 | 12933 |
16461 # Files that config.status was made for. | 12934 # Files that config.status was made for. |
16462 if test -n "$ac_config_files"; then | 12935 if test -n "$ac_config_files"; then |
16463 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 12936 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
16473 | 12946 |
16474 if test -n "$ac_config_commands"; then | 12947 if test -n "$ac_config_commands"; then |
16475 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 12948 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
16476 fi | 12949 fi |
16477 | 12950 |
16478 cat >>$CONFIG_STATUS <<\_ACEOF | 12951 cat >>$CONFIG_STATUS <<\EOF |
16479 | 12952 |
16480 ac_cs_usage="\ | 12953 ac_cs_usage="\ |
16481 \`$as_me' instantiates files from templates according to the | 12954 \`$as_me' instantiates files from templates according to the |
16482 current configuration. | 12955 current configuration. |
16483 | 12956 |
16500 | 12973 |
16501 Configuration commands: | 12974 Configuration commands: |
16502 $config_commands | 12975 $config_commands |
16503 | 12976 |
16504 Report bugs to <bug-autoconf@gnu.org>." | 12977 Report bugs to <bug-autoconf@gnu.org>." |
16505 _ACEOF | 12978 EOF |
16506 | 12979 |
16507 cat >>$CONFIG_STATUS <<_ACEOF | 12980 cat >>$CONFIG_STATUS <<EOF |
16508 ac_cs_version="\\ | 12981 ac_cs_version="\\ |
16509 config.status | 12982 config.status |
16510 configured by $0, generated by GNU Autoconf 2.53, | 12983 configured by $0, generated by GNU Autoconf 2.52, |
16511 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 12984 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
16512 | 12985 |
16513 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 12986 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
16514 Free Software Foundation, Inc. | 12987 Free Software Foundation, Inc. |
16515 This config.status script is free software; the Free Software Foundation | 12988 This config.status script is free software; the Free Software Foundation |
16516 gives unlimited permission to copy, distribute and modify it." | 12989 gives unlimited permission to copy, distribute and modify it." |
16517 srcdir=$srcdir | 12990 srcdir=$srcdir |
16518 INSTALL="$INSTALL" | 12991 INSTALL="$INSTALL" |
16519 _ACEOF | 12992 EOF |
16520 | 12993 |
16521 cat >>$CONFIG_STATUS <<\_ACEOF | 12994 cat >>$CONFIG_STATUS <<\EOF |
16522 # If no file are specified by the user, then we need to provide default | 12995 # If no file are specified by the user, then we need to provide default |
16523 # value. By we need to know if files were specified by the user. | 12996 # value. By we need to know if files were specified by the user. |
16524 ac_need_defaults=: | 12997 ac_need_defaults=: |
16525 while test $# != 0 | 12998 while test $# != 0 |
16526 do | 12999 do |
16538 ac_need_defaults=false;; | 13011 ac_need_defaults=false;; |
16539 esac | 13012 esac |
16540 | 13013 |
16541 case $1 in | 13014 case $1 in |
16542 # Handling of the options. | 13015 # Handling of the options. |
16543 _ACEOF | 13016 EOF |
16544 cat >>$CONFIG_STATUS <<_ACEOF | 13017 cat >>$CONFIG_STATUS <<EOF |
16545 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 13018 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
16546 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | 13019 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
16547 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | 13020 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
16548 _ACEOF | 13021 EOF |
16549 cat >>$CONFIG_STATUS <<\_ACEOF | 13022 cat >>$CONFIG_STATUS <<\EOF |
16550 --version | --vers* | -V ) | 13023 --version | --vers* | -V ) |
16551 echo "$ac_cs_version"; exit 0 ;; | 13024 echo "$ac_cs_version"; exit 0 ;; |
16552 --he | --h) | 13025 --he | --h) |
16553 # Conflict between --help and --header | 13026 # Conflict between --help and --header |
16554 { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 13027 { { echo "$as_me:13027: error: ambiguous option: $1 |
16555 Try \`$0 --help' for more information." >&5 | 13028 Try \`$0 --help' for more information." >&5 |
16556 echo "$as_me: error: ambiguous option: $1 | 13029 echo "$as_me: error: ambiguous option: $1 |
16557 Try \`$0 --help' for more information." >&2;} | 13030 Try \`$0 --help' for more information." >&2;} |
16558 { (exit 1); exit 1; }; };; | 13031 { (exit 1); exit 1; }; };; |
16559 --help | --hel | -h ) | 13032 --help | --hel | -h ) |
16568 shift | 13041 shift |
16569 CONFIG_HEADERS="$CONFIG_HEADERS $1" | 13042 CONFIG_HEADERS="$CONFIG_HEADERS $1" |
16570 ac_need_defaults=false;; | 13043 ac_need_defaults=false;; |
16571 | 13044 |
16572 # This is an error. | 13045 # This is an error. |
16573 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 13046 -*) { { echo "$as_me:13046: error: unrecognized option: $1 |
16574 Try \`$0 --help' for more information." >&5 | 13047 Try \`$0 --help' for more information." >&5 |
16575 echo "$as_me: error: unrecognized option: $1 | 13048 echo "$as_me: error: unrecognized option: $1 |
16576 Try \`$0 --help' for more information." >&2;} | 13049 Try \`$0 --help' for more information." >&2;} |
16577 { (exit 1); exit 1; }; } ;; | 13050 { (exit 1); exit 1; }; } ;; |
16578 | 13051 |
16580 | 13053 |
16581 esac | 13054 esac |
16582 shift | 13055 shift |
16583 done | 13056 done |
16584 | 13057 |
16585 _ACEOF | 13058 exec 5>>config.log |
16586 | 13059 cat >&5 << _ACEOF |
16587 cat >>$CONFIG_STATUS <<_ACEOF | 13060 |
13061 ## ----------------------- ## | |
13062 ## Running config.status. ## | |
13063 ## ----------------------- ## | |
13064 | |
13065 This file was extended by $as_me 2.52, executed with | |
13066 CONFIG_FILES = $CONFIG_FILES | |
13067 CONFIG_HEADERS = $CONFIG_HEADERS | |
13068 CONFIG_LINKS = $CONFIG_LINKS | |
13069 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
13070 > $ac_cs_invocation | |
13071 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
13072 | |
13073 _ACEOF | |
13074 EOF | |
13075 | |
13076 cat >>$CONFIG_STATUS <<EOF | |
16588 # | 13077 # |
16589 # INIT-COMMANDS section. | 13078 # INIT-COMMANDS section. |
16590 # | 13079 # |
16591 | 13080 |
16592 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" | 13081 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" |
16593 | 13082 |
16594 _ACEOF | 13083 EOF |
16595 | 13084 |
16596 | 13085 cat >>$CONFIG_STATUS <<\EOF |
16597 | |
16598 cat >>$CONFIG_STATUS <<\_ACEOF | |
16599 for ac_config_target in $ac_config_targets | 13086 for ac_config_target in $ac_config_targets |
16600 do | 13087 do |
16601 case "$ac_config_target" in | 13088 case "$ac_config_target" in |
16602 # Handling of arguments. | 13089 # Handling of arguments. |
16603 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 13090 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
16610 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; | 13097 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; |
16611 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; | 13098 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; |
16612 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 13099 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
16613 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 13100 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
16614 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; | 13101 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; |
16615 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 13102 *) { { echo "$as_me:13102: error: invalid argument: $ac_config_target" >&5 |
16616 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 13103 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
16617 { (exit 1); exit 1; }; };; | 13104 { (exit 1); exit 1; }; };; |
16618 esac | 13105 esac |
16619 done | 13106 done |
16620 | 13107 |
16648 { | 13135 { |
16649 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | 13136 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
16650 { (exit 1); exit 1; } | 13137 { (exit 1); exit 1; } |
16651 } | 13138 } |
16652 | 13139 |
16653 _ACEOF | 13140 EOF |
16654 | 13141 |
16655 cat >>$CONFIG_STATUS <<_ACEOF | 13142 cat >>$CONFIG_STATUS <<EOF |
16656 | 13143 |
16657 # | 13144 # |
16658 # CONFIG_FILES section. | 13145 # CONFIG_FILES section. |
16659 # | 13146 # |
16660 | 13147 |
16663 if test -n "\$CONFIG_FILES"; then | 13150 if test -n "\$CONFIG_FILES"; then |
16664 # Protect against being on the right side of a sed subst in config.status. | 13151 # Protect against being on the right side of a sed subst in config.status. |
16665 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 13152 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
16666 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 13153 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
16667 s,@SHELL@,$SHELL,;t t | 13154 s,@SHELL@,$SHELL,;t t |
16668 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | |
16669 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | |
16670 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | |
16671 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | |
16672 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | |
16673 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | |
16674 s,@exec_prefix@,$exec_prefix,;t t | 13155 s,@exec_prefix@,$exec_prefix,;t t |
16675 s,@prefix@,$prefix,;t t | 13156 s,@prefix@,$prefix,;t t |
16676 s,@program_transform_name@,$program_transform_name,;t t | 13157 s,@program_transform_name@,$program_transform_name,;t t |
16677 s,@bindir@,$bindir,;t t | 13158 s,@bindir@,$bindir,;t t |
16678 s,@sbindir@,$sbindir,;t t | 13159 s,@sbindir@,$sbindir,;t t |
16684 s,@libdir@,$libdir,;t t | 13165 s,@libdir@,$libdir,;t t |
16685 s,@includedir@,$includedir,;t t | 13166 s,@includedir@,$includedir,;t t |
16686 s,@oldincludedir@,$oldincludedir,;t t | 13167 s,@oldincludedir@,$oldincludedir,;t t |
16687 s,@infodir@,$infodir,;t t | 13168 s,@infodir@,$infodir,;t t |
16688 s,@mandir@,$mandir,;t t | 13169 s,@mandir@,$mandir,;t t |
13170 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | |
13171 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | |
13172 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | |
13173 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | |
13174 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | |
16689 s,@build_alias@,$build_alias,;t t | 13175 s,@build_alias@,$build_alias,;t t |
16690 s,@host_alias@,$host_alias,;t t | 13176 s,@host_alias@,$host_alias,;t t |
16691 s,@target_alias@,$target_alias,;t t | 13177 s,@target_alias@,$target_alias,;t t |
16692 s,@DEFS@,$DEFS,;t t | |
16693 s,@ECHO_C@,$ECHO_C,;t t | 13178 s,@ECHO_C@,$ECHO_C,;t t |
16694 s,@ECHO_N@,$ECHO_N,;t t | 13179 s,@ECHO_N@,$ECHO_N,;t t |
16695 s,@ECHO_T@,$ECHO_T,;t t | 13180 s,@ECHO_T@,$ECHO_T,;t t |
13181 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | |
13182 s,@DEFS@,$DEFS,;t t | |
16696 s,@LIBS@,$LIBS,;t t | 13183 s,@LIBS@,$LIBS,;t t |
16697 s,@build@,$build,;t t | 13184 s,@build@,$build,;t t |
16698 s,@build_cpu@,$build_cpu,;t t | 13185 s,@build_cpu@,$build_cpu,;t t |
16699 s,@build_vendor@,$build_vendor,;t t | 13186 s,@build_vendor@,$build_vendor,;t t |
16700 s,@build_os@,$build_os,;t t | 13187 s,@build_os@,$build_os,;t t |
16747 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t | 13234 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t |
16748 s,@machfile@,$machfile,;t t | 13235 s,@machfile@,$machfile,;t t |
16749 s,@opsysfile@,$opsysfile,;t t | 13236 s,@opsysfile@,$opsysfile,;t t |
16750 CEOF | 13237 CEOF |
16751 | 13238 |
16752 _ACEOF | 13239 EOF |
16753 | 13240 |
16754 cat >>$CONFIG_STATUS <<\_ACEOF | 13241 cat >>$CONFIG_STATUS <<\EOF |
16755 # Split the substitutions into bite-sized pieces for seds with | 13242 # Split the substitutions into bite-sized pieces for seds with |
16756 # small command number limits, like on Digital OSF/1 and HP-UX. | 13243 # small command number limits, like on Digital OSF/1 and HP-UX. |
16757 ac_max_sed_lines=48 | 13244 ac_max_sed_lines=48 |
16758 ac_sed_frag=1 # Number of current file. | 13245 ac_sed_frag=1 # Number of current file. |
16759 ac_beg=1 # First line for current file. | 13246 ac_beg=1 # First line for current file. |
16788 if test -z "$ac_sed_cmds"; then | 13275 if test -z "$ac_sed_cmds"; then |
16789 ac_sed_cmds=cat | 13276 ac_sed_cmds=cat |
16790 fi | 13277 fi |
16791 fi # test -n "$CONFIG_FILES" | 13278 fi # test -n "$CONFIG_FILES" |
16792 | 13279 |
16793 _ACEOF | 13280 EOF |
16794 cat >>$CONFIG_STATUS <<\_ACEOF | 13281 cat >>$CONFIG_STATUS <<\EOF |
16795 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 13282 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
16796 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 13283 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
16797 case $ac_file in | 13284 case $ac_file in |
16798 - | *:- | *:-:* ) # input from stdin | 13285 - | *:- | *:-:* ) # input from stdin |
16799 cat >$tmp/stdin | 13286 cat >$tmp/stdin |
16803 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 13290 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
16804 * ) ac_file_in=$ac_file.in ;; | 13291 * ) ac_file_in=$ac_file.in ;; |
16805 esac | 13292 esac |
16806 | 13293 |
16807 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 13294 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
16808 ac_dir=`(dirname "$ac_file") 2>/dev/null || | 13295 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
16809 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
16810 X"$ac_file" : 'X\(//\)[^/]' \| \ | 13296 X"$ac_file" : 'X\(//\)[^/]' \| \ |
16811 X"$ac_file" : 'X\(//\)$' \| \ | 13297 X"$ac_file" : 'X\(//\)$' \| \ |
16812 X"$ac_file" : 'X\(/\)' \| \ | 13298 X"$ac_file" : 'X\(/\)' \| \ |
16813 . : '\(.\)' 2>/dev/null || | 13299 . : '\(.\)' 2>/dev/null || |
16814 echo X"$ac_file" | | 13300 echo X"$ac_file" | |
16815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 13301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
16816 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 13302 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
16817 /^X\(\/\/\)$/{ s//\1/; q; } | 13303 /^X\(\/\/\)$/{ s//\1/; q; } |
16818 /^X\(\/\).*/{ s//\1/; q; } | 13304 /^X\(\/\).*/{ s//\1/; q; } |
16819 s/.*/./; q'` | 13305 s/.*/./; q'` |
16820 { case "$ac_dir" in | 13306 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
13307 { case "$ac_dir" in | |
16821 [\\/]* | ?:[\\/]* ) as_incr_dir=;; | 13308 [\\/]* | ?:[\\/]* ) as_incr_dir=;; |
16822 *) as_incr_dir=.;; | 13309 *) as_incr_dir=.;; |
16823 esac | 13310 esac |
16824 as_dummy="$ac_dir" | 13311 as_dummy="$ac_dir" |
16825 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | 13312 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
16826 case $as_mkdir_dir in | 13313 case $as_mkdir_dir in |
16827 # Skip DOS drivespec | 13314 # Skip DOS drivespec |
16828 ?:) as_incr_dir=$as_mkdir_dir ;; | 13315 ?:) as_incr_dir=$as_mkdir_dir ;; |
16829 *) | 13316 *) |
16830 as_incr_dir=$as_incr_dir/$as_mkdir_dir | 13317 as_incr_dir=$as_incr_dir/$as_mkdir_dir |
16831 test -d "$as_incr_dir" || | 13318 test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
16832 mkdir "$as_incr_dir" || | |
16833 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 | |
16834 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | |
16835 { (exit 1); exit 1; }; } | |
16836 ;; | 13319 ;; |
16837 esac | 13320 esac |
16838 done; } | 13321 done; } |
16839 | 13322 |
16840 ac_builddir=. | 13323 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" |
16841 | 13324 # A "../" for each directory in $ac_dir_suffix. |
16842 if test "$ac_dir" != .; then | 13325 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` |
16843 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 13326 else |
16844 # A "../" for each directory in $ac_dir_suffix. | 13327 ac_dir_suffix= ac_dots= |
16845 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 13328 fi |
16846 else | 13329 |
16847 ac_dir_suffix= ac_top_builddir= | 13330 case $srcdir in |
16848 fi | 13331 .) ac_srcdir=. |
16849 | 13332 if test -z "$ac_dots"; then |
16850 case $srcdir in | 13333 ac_top_srcdir=. |
16851 .) # No --srcdir option. We are building in place. | 13334 else |
16852 ac_srcdir=. | 13335 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` |
16853 if test -z "$ac_top_builddir"; then | 13336 fi ;; |
16854 ac_top_srcdir=. | 13337 [\\/]* | ?:[\\/]* ) |
16855 else | 13338 ac_srcdir=$srcdir$ac_dir_suffix; |
16856 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 13339 ac_top_srcdir=$srcdir ;; |
16857 fi ;; | |
16858 [\\/]* | ?:[\\/]* ) # Absolute path. | |
16859 ac_srcdir=$srcdir$ac_dir_suffix; | |
16860 ac_top_srcdir=$srcdir ;; | |
16861 *) # Relative path. | 13340 *) # Relative path. |
16862 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 13341 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix |
16863 ac_top_srcdir=$ac_top_builddir$srcdir ;; | 13342 ac_top_srcdir=$ac_dots$srcdir ;; |
16864 esac | 13343 esac |
16865 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
16866 # absolute. | |
16867 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
16868 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | |
16869 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
16870 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
16871 | |
16872 | 13344 |
16873 case $INSTALL in | 13345 case $INSTALL in |
16874 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 13346 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
16875 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 13347 *) ac_INSTALL=$ac_dots$INSTALL ;; |
16876 esac | 13348 esac |
16877 | 13349 |
16878 if test x"$ac_file" != x-; then | 13350 if test x"$ac_file" != x-; then |
16879 { echo "$as_me:$LINENO: creating $ac_file" >&5 | 13351 { echo "$as_me:13351: creating $ac_file" >&5 |
16880 echo "$as_me: creating $ac_file" >&6;} | 13352 echo "$as_me: creating $ac_file" >&6;} |
16881 rm -f "$ac_file" | 13353 rm -f "$ac_file" |
16882 fi | 13354 fi |
16883 # Let's still pretend it is `configure' which instantiates (i.e., don't | 13355 # Let's still pretend it is `configure' which instantiates (i.e., don't |
16884 # use $as_me), people would be surprised to read: | 13356 # use $as_me), people would be surprised to read: |
16885 # /* config.h. Generated by config.status. */ | 13357 # /* config.h. Generated automatically by config.status. */ |
16886 if test x"$ac_file" = x-; then | 13358 configure_input="Generated automatically from `echo $ac_file_in | |
16887 configure_input= | 13359 sed 's,.*/,,'` by configure." |
16888 else | |
16889 configure_input="$ac_file. " | |
16890 fi | |
16891 configure_input=$configure_input"Generated from `echo $ac_file_in | | |
16892 sed 's,.*/,,'` by configure." | |
16893 | 13360 |
16894 # First look for the input files in the build tree, otherwise in the | 13361 # First look for the input files in the build tree, otherwise in the |
16895 # src tree. | 13362 # src tree. |
16896 ac_file_inputs=`IFS=: | 13363 ac_file_inputs=`IFS=: |
16897 for f in $ac_file_in; do | 13364 for f in $ac_file_in; do |
16898 case $f in | 13365 case $f in |
16899 -) echo $tmp/stdin ;; | 13366 -) echo $tmp/stdin ;; |
16900 [\\/$]*) | 13367 [\\/$]*) |
16901 # Absolute (can't be DOS-style, as IFS=:) | 13368 # Absolute (can't be DOS-style, as IFS=:) |
16902 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 13369 test -f "$f" || { { echo "$as_me:13369: error: cannot find input file: $f" >&5 |
16903 echo "$as_me: error: cannot find input file: $f" >&2;} | 13370 echo "$as_me: error: cannot find input file: $f" >&2;} |
16904 { (exit 1); exit 1; }; } | 13371 { (exit 1); exit 1; }; } |
16905 echo $f;; | 13372 echo $f;; |
16906 *) # Relative | 13373 *) # Relative |
16907 if test -f "$f"; then | 13374 if test -f "$f"; then |
16910 elif test -f "$srcdir/$f"; then | 13377 elif test -f "$srcdir/$f"; then |
16911 # Source tree | 13378 # Source tree |
16912 echo $srcdir/$f | 13379 echo $srcdir/$f |
16913 else | 13380 else |
16914 # /dev/null tree | 13381 # /dev/null tree |
16915 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 13382 { { echo "$as_me:13382: error: cannot find input file: $f" >&5 |
16916 echo "$as_me: error: cannot find input file: $f" >&2;} | 13383 echo "$as_me: error: cannot find input file: $f" >&2;} |
16917 { (exit 1); exit 1; }; } | 13384 { (exit 1); exit 1; }; } |
16918 fi;; | 13385 fi;; |
16919 esac | 13386 esac |
16920 done` || { (exit 1); exit 1; } | 13387 done` || { (exit 1); exit 1; } |
16921 _ACEOF | 13388 EOF |
16922 cat >>$CONFIG_STATUS <<_ACEOF | 13389 cat >>$CONFIG_STATUS <<EOF |
16923 sed "$ac_vpsub | 13390 sed "$ac_vpsub |
16924 $extrasub | 13391 $extrasub |
16925 _ACEOF | 13392 EOF |
16926 cat >>$CONFIG_STATUS <<\_ACEOF | 13393 cat >>$CONFIG_STATUS <<\EOF |
16927 :t | 13394 :t |
16928 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 13395 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
16929 s,@configure_input@,$configure_input,;t t | 13396 s,@configure_input@,$configure_input,;t t |
16930 s,@srcdir@,$ac_srcdir,;t t | 13397 s,@srcdir@,$ac_srcdir,;t t |
16931 s,@abs_srcdir@,$ac_abs_srcdir,;t t | |
16932 s,@top_srcdir@,$ac_top_srcdir,;t t | 13398 s,@top_srcdir@,$ac_top_srcdir,;t t |
16933 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | |
16934 s,@builddir@,$ac_builddir,;t t | |
16935 s,@abs_builddir@,$ac_abs_builddir,;t t | |
16936 s,@top_builddir@,$ac_top_builddir,;t t | |
16937 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | |
16938 s,@INSTALL@,$ac_INSTALL,;t t | 13399 s,@INSTALL@,$ac_INSTALL,;t t |
16939 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 13400 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
16940 rm -f $tmp/stdin | 13401 rm -f $tmp/stdin |
16941 if test x"$ac_file" != x-; then | 13402 if test x"$ac_file" != x-; then |
16942 mv $tmp/out $ac_file | 13403 mv $tmp/out $ac_file |
16944 cat $tmp/out | 13405 cat $tmp/out |
16945 rm -f $tmp/out | 13406 rm -f $tmp/out |
16946 fi | 13407 fi |
16947 | 13408 |
16948 done | 13409 done |
16949 _ACEOF | 13410 EOF |
16950 cat >>$CONFIG_STATUS <<\_ACEOF | 13411 cat >>$CONFIG_STATUS <<\EOF |
16951 | 13412 |
16952 # | 13413 # |
16953 # CONFIG_HEADER section. | 13414 # CONFIG_HEADER section. |
16954 # | 13415 # |
16955 | 13416 |
16977 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 13438 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
16978 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 13439 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
16979 * ) ac_file_in=$ac_file.in ;; | 13440 * ) ac_file_in=$ac_file.in ;; |
16980 esac | 13441 esac |
16981 | 13442 |
16982 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 13443 test x"$ac_file" != x- && { echo "$as_me:13443: creating $ac_file" >&5 |
16983 echo "$as_me: creating $ac_file" >&6;} | 13444 echo "$as_me: creating $ac_file" >&6;} |
16984 | 13445 |
16985 # First look for the input files in the build tree, otherwise in the | 13446 # First look for the input files in the build tree, otherwise in the |
16986 # src tree. | 13447 # src tree. |
16987 ac_file_inputs=`IFS=: | 13448 ac_file_inputs=`IFS=: |
16988 for f in $ac_file_in; do | 13449 for f in $ac_file_in; do |
16989 case $f in | 13450 case $f in |
16990 -) echo $tmp/stdin ;; | 13451 -) echo $tmp/stdin ;; |
16991 [\\/$]*) | 13452 [\\/$]*) |
16992 # Absolute (can't be DOS-style, as IFS=:) | 13453 # Absolute (can't be DOS-style, as IFS=:) |
16993 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 13454 test -f "$f" || { { echo "$as_me:13454: error: cannot find input file: $f" >&5 |
16994 echo "$as_me: error: cannot find input file: $f" >&2;} | 13455 echo "$as_me: error: cannot find input file: $f" >&2;} |
16995 { (exit 1); exit 1; }; } | 13456 { (exit 1); exit 1; }; } |
16996 echo $f;; | 13457 echo $f;; |
16997 *) # Relative | 13458 *) # Relative |
16998 if test -f "$f"; then | 13459 if test -f "$f"; then |
17001 elif test -f "$srcdir/$f"; then | 13462 elif test -f "$srcdir/$f"; then |
17002 # Source tree | 13463 # Source tree |
17003 echo $srcdir/$f | 13464 echo $srcdir/$f |
17004 else | 13465 else |
17005 # /dev/null tree | 13466 # /dev/null tree |
17006 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 13467 { { echo "$as_me:13467: error: cannot find input file: $f" >&5 |
17007 echo "$as_me: error: cannot find input file: $f" >&2;} | 13468 echo "$as_me: error: cannot find input file: $f" >&2;} |
17008 { (exit 1); exit 1; }; } | 13469 { (exit 1); exit 1; }; } |
17009 fi;; | 13470 fi;; |
17010 esac | 13471 esac |
17011 done` || { (exit 1); exit 1; } | 13472 done` || { (exit 1); exit 1; } |
17012 # Remove the trailing spaces. | 13473 # Remove the trailing spaces. |
17013 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | 13474 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
17014 | 13475 |
17015 _ACEOF | 13476 EOF |
17016 | 13477 |
17017 # Transform confdefs.h into two sed scripts, `conftest.defines' and | 13478 # Transform confdefs.h into two sed scripts, `conftest.defines' and |
17018 # `conftest.undefs', that substitutes the proper values into | 13479 # `conftest.undefs', that substitutes the proper values into |
17019 # config.h.in to produce config.h. The first handles `#define' | 13480 # config.h.in to produce config.h. The first handles `#define' |
17020 # templates, and the second `#undef' templates. | 13481 # templates, and the second `#undef' templates. |
17026 # Putting comments in sed scripts is not portable. | 13487 # Putting comments in sed scripts is not portable. |
17027 # | 13488 # |
17028 # `end' is used to avoid that the second main sed command (meant for | 13489 # `end' is used to avoid that the second main sed command (meant for |
17029 # 0-ary CPP macros) applies to n-ary macro definitions. | 13490 # 0-ary CPP macros) applies to n-ary macro definitions. |
17030 # See the Autoconf documentation for `clear'. | 13491 # See the Autoconf documentation for `clear'. |
17031 cat >confdef2sed.sed <<\_ACEOF | 13492 cat >confdef2sed.sed <<\EOF |
17032 s/[\\&,]/\\&/g | 13493 s/[\\&,]/\\&/g |
17033 s,[\\$`],\\&,g | 13494 s,[\\$`],\\&,g |
17034 t clear | 13495 t clear |
17035 : clear | 13496 : clear |
17036 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 13497 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp |
17037 t end | 13498 t end |
17038 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 13499 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
17039 : end | 13500 : end |
17040 _ACEOF | 13501 EOF |
17041 # If some macros were called several times there might be several times | 13502 # If some macros were called several times there might be several times |
17042 # the same #defines, which is useless. Nevertheless, we may not want to | 13503 # the same #defines, which is useless. Nevertheless, we may not want to |
17043 # sort them, since we want the *last* AC-DEFINE to be honored. | 13504 # sort them, since we want the *last* AC-DEFINE to be honored. |
17044 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 13505 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
17045 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 13506 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
17046 rm -f confdef2sed.sed | 13507 rm -f confdef2sed.sed |
17047 | 13508 |
17048 # This sed command replaces #undef with comments. This is necessary, for | 13509 # This sed command replaces #undef with comments. This is necessary, for |
17049 # example, in the case of _POSIX_SOURCE, which is predefined and required | 13510 # example, in the case of _POSIX_SOURCE, which is predefined and required |
17050 # on some systems where configure will not decide to define it. | 13511 # on some systems where configure will not decide to define it. |
17051 cat >>conftest.undefs <<\_ACEOF | 13512 cat >>conftest.undefs <<\EOF |
17052 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 13513 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
17053 _ACEOF | 13514 EOF |
17054 | 13515 |
17055 # Break up conftest.defines because some shells have a limit on the size | 13516 # Break up conftest.defines because some shells have a limit on the size |
17056 # of here documents, and old seds have small limits too (100 cmds). | 13517 # of here documents, and old seds have small limits too (100 cmds). |
17057 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 13518 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
17058 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 13519 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
17105 rm -f conftest.undefs | 13566 rm -f conftest.undefs |
17106 mv conftest.tail conftest.undefs | 13567 mv conftest.tail conftest.undefs |
17107 done | 13568 done |
17108 rm -f conftest.undefs | 13569 rm -f conftest.undefs |
17109 | 13570 |
17110 cat >>$CONFIG_STATUS <<\_ACEOF | 13571 cat >>$CONFIG_STATUS <<\EOF |
17111 # Let's still pretend it is `configure' which instantiates (i.e., don't | 13572 # Let's still pretend it is `configure' which instantiates (i.e., don't |
17112 # use $as_me), people would be surprised to read: | 13573 # use $as_me), people would be surprised to read: |
17113 # /* config.h. Generated by config.status. */ | 13574 # /* config.h. Generated automatically by config.status. */ |
17114 if test x"$ac_file" = x-; then | 13575 if test x"$ac_file" = x-; then |
17115 echo "/* Generated by configure. */" >$tmp/config.h | 13576 echo "/* Generated automatically by configure. */" >$tmp/config.h |
17116 else | 13577 else |
17117 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h | 13578 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h |
17118 fi | 13579 fi |
17119 cat $tmp/in >>$tmp/config.h | 13580 cat $tmp/in >>$tmp/config.h |
17120 rm -f $tmp/in | 13581 rm -f $tmp/in |
17121 if test x"$ac_file" != x-; then | 13582 if test x"$ac_file" != x-; then |
17122 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | 13583 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
17123 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 13584 { echo "$as_me:13584: $ac_file is unchanged" >&5 |
17124 echo "$as_me: $ac_file is unchanged" >&6;} | 13585 echo "$as_me: $ac_file is unchanged" >&6;} |
17125 else | 13586 else |
17126 ac_dir=`(dirname "$ac_file") 2>/dev/null || | 13587 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
17127 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
17128 X"$ac_file" : 'X\(//\)[^/]' \| \ | 13588 X"$ac_file" : 'X\(//\)[^/]' \| \ |
17129 X"$ac_file" : 'X\(//\)$' \| \ | 13589 X"$ac_file" : 'X\(//\)$' \| \ |
17130 X"$ac_file" : 'X\(/\)' \| \ | 13590 X"$ac_file" : 'X\(/\)' \| \ |
17131 . : '\(.\)' 2>/dev/null || | 13591 . : '\(.\)' 2>/dev/null || |
17132 echo X"$ac_file" | | 13592 echo X"$ac_file" | |
17133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 13593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
17134 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 13594 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
17135 /^X\(\/\/\)$/{ s//\1/; q; } | 13595 /^X\(\/\/\)$/{ s//\1/; q; } |
17136 /^X\(\/\).*/{ s//\1/; q; } | 13596 /^X\(\/\).*/{ s//\1/; q; } |
17137 s/.*/./; q'` | 13597 s/.*/./; q'` |
17138 { case "$ac_dir" in | 13598 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
13599 { case "$ac_dir" in | |
17139 [\\/]* | ?:[\\/]* ) as_incr_dir=;; | 13600 [\\/]* | ?:[\\/]* ) as_incr_dir=;; |
17140 *) as_incr_dir=.;; | 13601 *) as_incr_dir=.;; |
17141 esac | 13602 esac |
17142 as_dummy="$ac_dir" | 13603 as_dummy="$ac_dir" |
17143 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | 13604 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
17144 case $as_mkdir_dir in | 13605 case $as_mkdir_dir in |
17145 # Skip DOS drivespec | 13606 # Skip DOS drivespec |
17146 ?:) as_incr_dir=$as_mkdir_dir ;; | 13607 ?:) as_incr_dir=$as_mkdir_dir ;; |
17147 *) | 13608 *) |
17148 as_incr_dir=$as_incr_dir/$as_mkdir_dir | 13609 as_incr_dir=$as_incr_dir/$as_mkdir_dir |
17149 test -d "$as_incr_dir" || | 13610 test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
17150 mkdir "$as_incr_dir" || | |
17151 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 | |
17152 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | |
17153 { (exit 1); exit 1; }; } | |
17154 ;; | 13611 ;; |
17155 esac | 13612 esac |
17156 done; } | 13613 done; } |
17157 | 13614 |
13615 fi | |
17158 rm -f $ac_file | 13616 rm -f $ac_file |
17159 mv $tmp/config.h $ac_file | 13617 mv $tmp/config.h $ac_file |
17160 fi | 13618 fi |
17161 else | 13619 else |
17162 cat $tmp/config.h | 13620 cat $tmp/config.h |
17163 rm -f $tmp/config.h | 13621 rm -f $tmp/config.h |
17164 fi | 13622 fi |
17165 done | 13623 done |
17166 _ACEOF | 13624 EOF |
17167 cat >>$CONFIG_STATUS <<\_ACEOF | 13625 cat >>$CONFIG_STATUS <<\EOF |
17168 | 13626 |
17169 # | 13627 # |
17170 # CONFIG_COMMANDS section. | 13628 # CONFIG_COMMANDS section. |
17171 # | 13629 # |
17172 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 13630 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
17173 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 13631 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
17174 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 13632 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
17175 ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 13633 |
17176 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
17177 X"$ac_dest" : 'X\(//\)[^/]' \| \ | |
17178 X"$ac_dest" : 'X\(//\)$' \| \ | |
17179 X"$ac_dest" : 'X\(/\)' \| \ | |
17180 . : '\(.\)' 2>/dev/null || | |
17181 echo X"$ac_dest" | | |
17182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
17183 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
17184 /^X\(\/\/\)$/{ s//\1/; q; } | |
17185 /^X\(\/\).*/{ s//\1/; q; } | |
17186 s/.*/./; q'` | |
17187 ac_builddir=. | |
17188 | |
17189 if test "$ac_dir" != .; then | |
17190 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
17191 # A "../" for each directory in $ac_dir_suffix. | |
17192 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
17193 else | |
17194 ac_dir_suffix= ac_top_builddir= | |
17195 fi | |
17196 | |
17197 case $srcdir in | |
17198 .) # No --srcdir option. We are building in place. | |
17199 ac_srcdir=. | |
17200 if test -z "$ac_top_builddir"; then | |
17201 ac_top_srcdir=. | |
17202 else | |
17203 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
17204 fi ;; | |
17205 [\\/]* | ?:[\\/]* ) # Absolute path. | |
17206 ac_srcdir=$srcdir$ac_dir_suffix; | |
17207 ac_top_srcdir=$srcdir ;; | |
17208 *) # Relative path. | |
17209 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
17210 ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
17211 esac | |
17212 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
17213 # absolute. | |
17214 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
17215 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | |
17216 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
17217 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
17218 | |
17219 | |
17220 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | |
17221 echo "$as_me: executing $ac_dest commands" >&6;} | |
17222 case $ac_dest in | 13634 case $ac_dest in |
17223 default ) | 13635 default ) |
17224 | 13636 |
17225 ### Make the necessary directories, if they don't exist. | 13637 ### Make the necessary directories, if they don't exist. |
17226 for dir in etc lisp ; do | 13638 for dir in etc lisp ; do |
17293 touch src/config.stamp | 13705 touch src/config.stamp |
17294 | 13706 |
17295 ;; | 13707 ;; |
17296 esac | 13708 esac |
17297 done | 13709 done |
17298 _ACEOF | 13710 EOF |
17299 | 13711 |
17300 cat >>$CONFIG_STATUS <<\_ACEOF | 13712 cat >>$CONFIG_STATUS <<\EOF |
17301 | 13713 |
17302 { (exit 0); exit 0; } | 13714 { (exit 0); exit 0; } |
17303 _ACEOF | 13715 EOF |
17304 chmod +x $CONFIG_STATUS | 13716 chmod +x $CONFIG_STATUS |
17305 ac_clean_files=$ac_clean_files_save | 13717 ac_clean_files=$ac_clean_files_save |
17306 | |
17307 | 13718 |
17308 # configure is writing to config.log, and then calls config.status. | 13719 # configure is writing to config.log, and then calls config.status. |
17309 # config.status does its own redirection, appending to config.log. | 13720 # config.status does its own redirection, appending to config.log. |
17310 # Unfortunately, on DOS this fails, as config.log is still kept open | 13721 # Unfortunately, on DOS this fails, as config.log is still kept open |
17311 # by configure, so config.status won't be able to write to it; its | 13722 # by configure, so config.status won't be able to write to it; its |
17321 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 13732 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
17322 # would make configure fail if this is the last instruction. | 13733 # would make configure fail if this is the last instruction. |
17323 $ac_cs_success || { (exit 1); exit 1; } | 13734 $ac_cs_success || { (exit 1); exit 1; } |
17324 fi | 13735 fi |
17325 | 13736 |
17326 |